cuenca-validations 2.1.4.dev0__py3-none-any.whl → 2.1.5.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cuenca_validations/types/__init__.py +0 -2
- cuenca_validations/types/enums.py +0 -3
- cuenca_validations/types/identities.py +0 -16
- cuenca_validations/types/requests.py +5 -6
- cuenca_validations/version.py +1 -1
- {cuenca_validations-2.1.4.dev0.dist-info → cuenca_validations-2.1.5.dev0.dist-info}/METADATA +1 -1
- {cuenca_validations-2.1.4.dev0.dist-info → cuenca_validations-2.1.5.dev0.dist-info}/RECORD +10 -10
- {cuenca_validations-2.1.4.dev0.dist-info → cuenca_validations-2.1.5.dev0.dist-info}/LICENSE +0 -0
- {cuenca_validations-2.1.4.dev0.dist-info → cuenca_validations-2.1.5.dev0.dist-info}/WHEEL +0 -0
- {cuenca_validations-2.1.4.dev0.dist-info → cuenca_validations-2.1.5.dev0.dist-info}/top_level.txt +0 -0
|
@@ -73,7 +73,6 @@ __all__ = [
|
|
|
73
73
|
'StrictPositiveInt',
|
|
74
74
|
'StrictTransferRequest',
|
|
75
75
|
'TermsOfService',
|
|
76
|
-
'TOSAgreement',
|
|
77
76
|
'TOSRequest',
|
|
78
77
|
'TrackDataMethod',
|
|
79
78
|
'TransactionQuery',
|
|
@@ -167,7 +166,6 @@ from .identities import (
|
|
|
167
166
|
KYCFile,
|
|
168
167
|
PhoneNumber,
|
|
169
168
|
Rfc,
|
|
170
|
-
TOSAgreement,
|
|
171
169
|
VerificationErrors,
|
|
172
170
|
)
|
|
173
171
|
from .queries import (
|
|
@@ -12,7 +12,6 @@ from pydantic import (
|
|
|
12
12
|
from pydantic_extra_types.phone_numbers import PhoneNumber
|
|
13
13
|
|
|
14
14
|
from .enums import Country, KYCFileType, State, VerificationStatus
|
|
15
|
-
from .general import SerializableIPvAnyAddress
|
|
16
15
|
|
|
17
16
|
Password = Annotated[
|
|
18
17
|
SecretStr,
|
|
@@ -161,18 +160,3 @@ class KYCFile(BaseModel):
|
|
|
161
160
|
}
|
|
162
161
|
},
|
|
163
162
|
)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
class TOSAgreement(BaseModel):
|
|
167
|
-
version: str
|
|
168
|
-
ip: SerializableIPvAnyAddress
|
|
169
|
-
location: Optional[str] = None
|
|
170
|
-
model_config = ConfigDict(
|
|
171
|
-
json_schema_extra={
|
|
172
|
-
"example": {
|
|
173
|
-
"version": "2022-01-01",
|
|
174
|
-
"ip": "192.168.0.1",
|
|
175
|
-
"location": "19.427224, -99.168082",
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
)
|
|
@@ -28,7 +28,6 @@ from ..types.enums import (
|
|
|
28
28
|
Gender,
|
|
29
29
|
IssuerNetwork,
|
|
30
30
|
KYCFileType,
|
|
31
|
-
KYCValidationType,
|
|
32
31
|
PlatformType,
|
|
33
32
|
PosCapability,
|
|
34
33
|
SavingCategory,
|
|
@@ -70,7 +69,6 @@ from .identities import (
|
|
|
70
69
|
Password,
|
|
71
70
|
PhoneNumber,
|
|
72
71
|
Rfc,
|
|
73
|
-
TOSAgreement,
|
|
74
72
|
)
|
|
75
73
|
from .morals import (
|
|
76
74
|
AuditDetails,
|
|
@@ -398,7 +396,7 @@ class CurpValidationRequest(BaseModel):
|
|
|
398
396
|
|
|
399
397
|
class TOSRequest(BaseModel):
|
|
400
398
|
type: TermsOfService
|
|
401
|
-
|
|
399
|
+
tos_id: str
|
|
402
400
|
location: Optional[str] = None
|
|
403
401
|
ip: Optional[SerializableIPvAnyAddress] = None
|
|
404
402
|
|
|
@@ -423,7 +421,7 @@ class UserRequest(BaseModel):
|
|
|
423
421
|
description='Status that the user will have when created. '
|
|
424
422
|
'Defined by platform',
|
|
425
423
|
)
|
|
426
|
-
required_level: Optional[Annotated[int, Field(ge=-1, le=
|
|
424
|
+
required_level: Optional[Annotated[int, Field(ge=-1, le=4)]] = Field(
|
|
427
425
|
None,
|
|
428
426
|
description='Maximum level a User can reach. ' 'Defined by platform',
|
|
429
427
|
)
|
|
@@ -485,7 +483,6 @@ class UserUpdateRequest(BaseModel):
|
|
|
485
483
|
signature: Optional[KYCFile] = None
|
|
486
484
|
status: Optional[UserStatus] = None
|
|
487
485
|
terms_of_service: Optional[TOSRequest] = None
|
|
488
|
-
platform_terms_of_service: Optional[TOSAgreement] = None
|
|
489
486
|
curp_document_uri: Optional[SerializableHttpUrl] = None
|
|
490
487
|
|
|
491
488
|
@field_validator('beneficiaries')
|
|
@@ -598,6 +595,9 @@ class LimitedWalletRequest(BaseRequest):
|
|
|
598
595
|
allowed_rfc: Optional[Rfc] = None
|
|
599
596
|
|
|
600
597
|
|
|
598
|
+
class KYCVerificationUpdateRequest(BaseRequest):
|
|
599
|
+
curp: Curp
|
|
600
|
+
|
|
601
601
|
|
|
602
602
|
class PlatformRequest(BaseModel):
|
|
603
603
|
name: str
|
|
@@ -620,7 +620,6 @@ class WebhookRequest(BaseModel):
|
|
|
620
620
|
|
|
621
621
|
class KYCValidationRequest(BaseRequest):
|
|
622
622
|
user_id: str
|
|
623
|
-
validation_type: KYCValidationType
|
|
624
623
|
force: bool = False
|
|
625
624
|
documents: list[KYCFile] = []
|
|
626
625
|
|
cuenca_validations/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.1.
|
|
1
|
+
__version__ = '2.1.5.dev0'
|
|
@@ -4,25 +4,25 @@ cuenca_validations/errors.py,sha256=OtM8EgiKqYdz9Hn66AbBO96orL1or7efkyt0vh0Zxbs,
|
|
|
4
4
|
cuenca_validations/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
cuenca_validations/typing.py,sha256=1QCu81IbVZZpyInjyeAuO-nF36gpT5Gi4o6V9PozuOU,204
|
|
6
6
|
cuenca_validations/validators.py,sha256=wzwLnJ4wHggZvqp3mearbFkzvDERGeTNvJkuofQnuMc,1484
|
|
7
|
-
cuenca_validations/version.py,sha256=
|
|
8
|
-
cuenca_validations/types/__init__.py,sha256=
|
|
7
|
+
cuenca_validations/version.py,sha256=r48XPoawa2ieaTjn_i42iQ3-Wqyxzn3hkeivOEcwlg0,27
|
|
8
|
+
cuenca_validations/types/__init__.py,sha256=dzcr0BNTR-b4v04SnxUamKO0pgIkj-nc1BVDGVMu6fk,4745
|
|
9
9
|
cuenca_validations/types/card.py,sha256=UGzz8NTFAverUmdUKAK1oGHnOnjSNTpIRUm93vKSSGY,1295
|
|
10
|
-
cuenca_validations/types/enums.py,sha256=
|
|
10
|
+
cuenca_validations/types/enums.py,sha256=sK9ayp8wuu4D5-hjkFTV_-h9xdeVHFj_cZkGjLAzPGI,18853
|
|
11
11
|
cuenca_validations/types/files.py,sha256=2CszbwF9ytXV9suFFwyDjYG4XxY8UhCjRw3HttVXXNw,269
|
|
12
12
|
cuenca_validations/types/general.py,sha256=vJmQBD_Iv_hsxD8x3_Bip-NlYAiE2rmXSPQKj4kTtto,2621
|
|
13
13
|
cuenca_validations/types/helpers.py,sha256=6rHUhwoQ7jJZtGcW3LX-W5ZDl42PWE1RoBpGme7KCkk,610
|
|
14
|
-
cuenca_validations/types/identities.py,sha256
|
|
14
|
+
cuenca_validations/types/identities.py,sha256=xpwJdqkBjA9RVrl7WQAr_lTxwtZL3WZ_NXm6d2WY_UI,4545
|
|
15
15
|
cuenca_validations/types/morals.py,sha256=m8kAedevmwfSPTA9GYe03l7pkgipynwYgKfejyVtnuI,1813
|
|
16
16
|
cuenca_validations/types/queries.py,sha256=KCRx0sPzWDtDDbZysmFGVgANgfqil17EITWaG7tGQ-A,4700
|
|
17
|
-
cuenca_validations/types/requests.py,sha256=
|
|
17
|
+
cuenca_validations/types/requests.py,sha256=KTwvOSX3KM0LGTg1yQMEcBhuqAzuED-JxvzhEWY9bUU,21162
|
|
18
18
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
tests/test_card.py,sha256=QAfRz7e11gWICPnFJZ2tiYgUsFV3C9TwzJXrDnDNXFw,1202
|
|
20
20
|
tests/test_errors.py,sha256=ixiIgEuBuzfsL5p4uCFdF32XqFRtTPF6EVhGJ0keOrI,930
|
|
21
21
|
tests/test_helpers.py,sha256=ubzpi1UXCryLQdgsT_Zm2IX-XE_4L0dnHnhLwH06xK8,748
|
|
22
22
|
tests/test_statement.py,sha256=IOE0rRRBgBZSJv_FLaETEyn5NzzXKMNTqgjv99GX-68,1436
|
|
23
23
|
tests/test_types.py,sha256=K_YNFz0Kac3k8fJNeXuYGkL1hjXDQu084jCX6xEMEE4,19348
|
|
24
|
-
cuenca_validations-2.1.
|
|
25
|
-
cuenca_validations-2.1.
|
|
26
|
-
cuenca_validations-2.1.
|
|
27
|
-
cuenca_validations-2.1.
|
|
28
|
-
cuenca_validations-2.1.
|
|
24
|
+
cuenca_validations-2.1.5.dev0.dist-info/LICENSE,sha256=wR76FmxBbfnQpwELkkE5iMF8sFIafEMgXLTE4N4WPTc,1063
|
|
25
|
+
cuenca_validations-2.1.5.dev0.dist-info/METADATA,sha256=sidLmKGGFN4uv_9nfAhnj41_cobNp3BU1dn3Akp5pHM,1577
|
|
26
|
+
cuenca_validations-2.1.5.dev0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
27
|
+
cuenca_validations-2.1.5.dev0.dist-info/top_level.txt,sha256=4233xdOs2HtuT-GFRjcDcwK0IwdwvWdczOtk0fPB6Gw,25
|
|
28
|
+
cuenca_validations-2.1.5.dev0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{cuenca_validations-2.1.4.dev0.dist-info → cuenca_validations-2.1.5.dev0.dist-info}/top_level.txt
RENAMED
|
File without changes
|