From 3b01ef5aff77ab5e69e1d290d57e4c950af66214 Mon Sep 17 00:00:00 2001 From: Andres Hernandez Date: Tue, 5 Jul 2022 17:10:13 -0400 Subject: [PATCH 1/2] TransferRequest with platform_id --- cuenca_validations/types/requests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cuenca_validations/types/requests.py b/cuenca_validations/types/requests.py index add18b42..2ab7610d 100644 --- a/cuenca_validations/types/requests.py +++ b/cuenca_validations/types/requests.py @@ -77,6 +77,7 @@ class TransferRequest(BaseRequest): descriptor: StrictStr idempotency_key: str user_id: Optional[str] + platform_id: Optional[str] class Config: fields = { @@ -91,6 +92,7 @@ class Config: 'description': 'Custom Id, must be unique for each transfer' }, 'user_id': {'description': 'source user to take the funds'}, + 'platform_id': {'description': 'platform id to take the funds'}, } schema_extra = { 'example': { @@ -100,6 +102,7 @@ class Config: 'descriptor': 'Mezcal, pulque y tequila', 'idempotency_key': 'UNIQUE-KEY-003', 'user_id': 'USWqY5cvkISJOxHyEKjAKf8w', + 'platform_id': 'PTZbBlk__kQt-wfwzP5nwA9A', } } From 91fc04a00ab9d1dbe19f116294505ae27242f870 Mon Sep 17 00:00:00 2001 From: Andres Hernandez Date: Thu, 7 Jul 2022 13:50:34 -0400 Subject: [PATCH 2/2] version --- cuenca_validations/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuenca_validations/version.py b/cuenca_validations/version.py index cccbdda0..39bbd0bf 100644 --- a/cuenca_validations/version.py +++ b/cuenca_validations/version.py @@ -1 +1 @@ -__version__ = '0.10.23' +__version__ = '0.10.24.dev0'