cuenca 2.1.20.dev0__py3-none-any.whl → 2.1.20.dev1__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.
@@ -14,7 +14,6 @@ class PasswordReset(Creatable, Retrievable, Queryable):
14
14
  _resource: ClassVar = 'password_resets'
15
15
 
16
16
  platform_id: str
17
- verification_id: str
18
17
  flow_id: str
19
18
  status: VerificationStatus = VerificationStatus.created
20
19
  mati_verification_id: Optional[str] = None
@@ -29,7 +28,6 @@ class PasswordReset(Creatable, Retrievable, Queryable):
29
28
  'example': {
30
29
  'id': 'PRNEUInh69SuKXXmK95sROwQ',
31
30
  'platform_id': 'PT-1234567890',
32
- 'verification_id': 'VENEUInh69SuKXXmK95sROwQ',
33
31
  'flow_id': '123e4567-e89b-12d3-a456-426614174000',
34
32
  'status': 'created',
35
33
  'mati_verification_id': 'metamap-verification-id',
@@ -42,13 +40,9 @@ class PasswordReset(Creatable, Retrievable, Queryable):
42
40
  @classmethod
43
41
  def create(
44
42
  cls,
45
- verification_id: str,
46
43
  location: Coordinate,
47
44
  *,
48
45
  session: Session = global_session,
49
46
  ) -> 'PasswordReset':
50
- req = PasswordResetRequest(
51
- verification_id=verification_id,
52
- location=location,
53
- )
47
+ req = PasswordResetRequest(location=location)
54
48
  return cls._create(session=session, **req.model_dump())
cuenca/version.py CHANGED
@@ -1,3 +1,3 @@
1
- __version__ = '2.1.20.dev0'
1
+ __version__ = '2.1.20.dev1'
2
2
  CLIENT_VERSION = __version__
3
3
  API_VERSION = '2020-03-19'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cuenca
3
- Version: 2.1.20.dev0
3
+ Version: 2.1.20.dev1
4
4
  Summary: Cuenca API Client
5
5
  Home-page: https://github.com/cuenca-mx/cuenca-python
6
6
  Author: Cuenca
@@ -2,7 +2,7 @@ cuenca/__init__.py,sha256=iRradQitV5UJnzDfw-ktkFFNIdpJq3NVcokoWASFm7Y,2018
2
2
  cuenca/exc.py,sha256=r_lL03-JS0AsXw71wuNbiwNYLHNDagM56tRxpYyK6Lw,601
3
3
  cuenca/jwt.py,sha256=plB2ttHPZnL0xq3gqubw_Jjtj1QYG2E5bk99N3cn5zg,1502
4
4
  cuenca/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- cuenca/version.py,sha256=dHyeZolVPhfhCPQ9ivyrs8MNsLbxrhheESD33QDAEOM,84
5
+ cuenca/version.py,sha256=KQpXUMRBGt1idQZSQ_J9rS8srdZcGwfcIhtcTbclFIY,84
6
6
  cuenca/http/__init__.py,sha256=V5TG6Ro9d3VY7umzcbtanmvHlGkv-k71H0tqrdMyH-s,49
7
7
  cuenca/http/client.py,sha256=_kZ74egXibXX0nPbbl13YPubZezV5zEGixfhwmdWiDI,4164
8
8
  cuenca/resources/__init__.py,sha256=zbHBUgSJ4AR9i33k6NI9R2eFeXD-UwVCG0trGgU40U4,3535
@@ -32,7 +32,7 @@ cuenca/resources/kyc_validations.py,sha256=Omu4qaP0AFa6PDoU5V9gUQmiY8sxOzEuC7qS0
32
32
  cuenca/resources/limited_wallets.py,sha256=Z3pKMRmMFTAaCw-KdzGSWfYFHCpy-ZrBwOmalVfSdRU,1049
33
33
  cuenca/resources/login_tokens.py,sha256=vxRWqQznxdEUK0R80k0qC0BkTSZwZgUsC2neX8TTd8Q,799
34
34
  cuenca/resources/otps.py,sha256=dZEwns98N8uUtRBFCu6Qs6ySHARU9v3zTF6T5rpF43M,711
35
- cuenca/resources/password_resets.py,sha256=Iq-lHbxEbx_x0ssr9RVGeo2BAi8iJNDtF4UgmYxfJrU,1778
35
+ cuenca/resources/password_resets.py,sha256=sebg1_jxaQ4YZAsxWdqiRDOhuPMw3AhUCKcJqjLe034,1592
36
36
  cuenca/resources/phone_verification_associations.py,sha256=JydlFi57kVH-3qdCRMfj67tZSz6N--ZX5ULBe9Owu0Q,720
37
37
  cuenca/resources/platforms.py,sha256=ztGcI-cNnushMRqKqjPaZg_ioS1bpR4vR88osHAyYXw,2560
38
38
  cuenca/resources/postal_codes.py,sha256=FOC9P4nZCQVRHMGeG8wHiRtsD083EdHtcKGPuJKj8b8,467
@@ -54,7 +54,7 @@ cuenca/resources/verifications.py,sha256=c90Pyd20EXLA5Wy0C1RABxjjivMB--q6yu6uK-R
54
54
  cuenca/resources/wallet_transactions.py,sha256=8ePZI3-GaEd658GPYizAfHK9GVwlkt1r95-mEb7T3Jg,1030
55
55
  cuenca/resources/webhooks.py,sha256=bGjuvkSP3GXo4Q6v8iZ40Md8xc4AQrEmAD3r40VJqxM,392
56
56
  cuenca/resources/whatsapp_transfers.py,sha256=YSL606FBOMGKjhyKK5TiF0di96zdDKoiVtjiz_Zl_ZI,902
57
- cuenca-2.1.20.dev0.dist-info/licenses/LICENSE,sha256=aWv5PmUiAcNENEAdghcVQSeU56pXJHWexJYgklK9XLg,1063
57
+ cuenca-2.1.20.dev1.dist-info/licenses/LICENSE,sha256=aWv5PmUiAcNENEAdghcVQSeU56pXJHWexJYgklK9XLg,1063
58
58
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
59
  tests/conftest.py,sha256=0tgOjjZOitOvFcYU6GRJ29ySdFmDAM3FX8ZGKjJj3Ac,1828
60
60
  tests/test_cuenca.py,sha256=aeha_utz9YiHQg6eJK2PB7g66pVUYFi9U6pYMGXDKvk,1628
@@ -88,7 +88,7 @@ tests/resources/test_kyc_validations.py,sha256=Cn_aiGUNSWFrptTQtgS8HhbK-50QEq_Qo
88
88
  tests/resources/test_limited_wallets.py,sha256=c0zDDOip3lJk8chbcGr_nWCdkO9yuL_HbD1IikR5jH4,527
89
89
  tests/resources/test_login_tokens.py,sha256=kn0gXFOanIXjgKjbeOzfNyKsGAUkc2iKnuVmzIRaMD8,572
90
90
  tests/resources/test_otps.py,sha256=IpCczDNRL_WaWwc1rYbSRmtWMR7GMa-Pfbq2TZcZQDw,616
91
- tests/resources/test_password_resets.py,sha256=CpCi9pbSSYGeudn3rFN05ZuAxRNLWTv4gn5mmtEcLLc,762
91
+ tests/resources/test_password_resets.py,sha256=kV7yTzlt90CZ6ScmY3_P7os4zMMLx_2gOw6QmKW26IM,702
92
92
  tests/resources/test_phone_verification_association.py,sha256=ZYzXYJbYVjlb2KqeE6vDhmkrbYO3aq07gl5nvpdcA_0,375
93
93
  tests/resources/test_platforms.py,sha256=5b6-XC3uAz8GARFkFoanH62jxE1uJIMXcdpeUhmI8Kg,211
94
94
  tests/resources/test_postal_codes.py,sha256=LnP_6wRxlpsl3zmWoyCmqyA7Wa5pUxNgSyfP1rmwSiY,408
@@ -109,7 +109,7 @@ tests/resources/test_verifications.py,sha256=bBXR-pkmrs-_MekKo9iJS4TDkSyqZ65crsr
109
109
  tests/resources/test_wallet_transactions.py,sha256=_L2hjPHT4FwwhxksUoaoVHwFFYOGWfF4ScCbk0kb7Hw,3945
110
110
  tests/resources/test_webhooks.py,sha256=nYCqAnlNJcMJKRHhgoHOWTQnFLWQHHvFyY8GVCxGTD8,328
111
111
  tests/resources/test_whatsapp_transfers.py,sha256=4Dmrsbytx7LRrLQo9M8TAL7cGKJufPStkp51UdRCnYU,1030
112
- cuenca-2.1.20.dev0.dist-info/METADATA,sha256=jqobTcqxGRKc6DrVgUSl8c8TSS5SoYroMm3_4cffgug,4990
113
- cuenca-2.1.20.dev0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
114
- cuenca-2.1.20.dev0.dist-info/top_level.txt,sha256=5h3K7XJTmJniDloPq4sIJHni_xLw-Uoc6ZJ5mcw_lZY,13
115
- cuenca-2.1.20.dev0.dist-info/RECORD,,
112
+ cuenca-2.1.20.dev1.dist-info/METADATA,sha256=Tw-pZNx1r_hFYCuue6B8rHzS11auzTIlTPO7AOBvS2U,4990
113
+ cuenca-2.1.20.dev1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
114
+ cuenca-2.1.20.dev1.dist-info/top_level.txt,sha256=5h3K7XJTmJniDloPq4sIJHni_xLw-Uoc6ZJ5mcw_lZY,13
115
+ cuenca-2.1.20.dev1.dist-info/RECORD,,
@@ -7,7 +7,6 @@ from cuenca import PasswordReset
7
7
  @pytest.mark.vcr
8
8
  def test_password_resets_create() -> None:
9
9
  password_reset = PasswordReset.create(
10
- verification_id='VEze_Bh1zhROKehtBOS7EHlw',
11
10
  location=Coordinate(
12
11
  latitude=Latitude(19.432608),
13
12
  longitude=Longitude(-99.133209),
@@ -20,7 +19,7 @@ def test_password_resets_create() -> None:
20
19
  def test_password_resets_retrieve() -> None:
21
20
  password_reset = PasswordReset.retrieve('PRFOO')
22
21
  assert password_reset.id
23
- assert password_reset.verification_id
22
+ assert password_reset.flow_id
24
23
 
25
24
 
26
25
  @pytest.mark.vcr