cuenca 2.1.20.dev1__py3-none-any.whl → 2.1.20.dev2__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/http/client.py CHANGED
@@ -18,7 +18,7 @@ from ..jwt import Jwt
18
18
  from ..version import API_VERSION, CLIENT_VERSION
19
19
 
20
20
  API_HOST = 'api.cuenca.com'
21
- SANDBOX_HOST = 'api.cuenca.com'
21
+ SANDBOX_HOST = 'sandbox.cuenca.com'
22
22
 
23
23
 
24
24
  class Session:
@@ -7,10 +7,10 @@ from pydantic import ConfigDict
7
7
  from pydantic_extra_types.coordinate import Coordinate
8
8
 
9
9
  from ..http import Session, session as global_session
10
- from .base import Creatable, Queryable, Retrievable
10
+ from .base import Creatable
11
11
 
12
12
 
13
- class PasswordReset(Creatable, Retrievable, Queryable):
13
+ class PasswordReset(Creatable):
14
14
  _resource: ClassVar = 'password_resets'
15
15
 
16
16
  platform_id: str
cuenca/version.py CHANGED
@@ -1,3 +1,3 @@
1
- __version__ = '2.1.20.dev1'
1
+ __version__ = '2.1.20.dev2'
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.dev1
3
+ Version: 2.1.20.dev2
4
4
  Summary: Cuenca API Client
5
5
  Home-page: https://github.com/cuenca-mx/cuenca-python
6
6
  Author: Cuenca
@@ -2,9 +2,9 @@ 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=KQpXUMRBGt1idQZSQ_J9rS8srdZcGwfcIhtcTbclFIY,84
5
+ cuenca/version.py,sha256=Oj3L6MxWTcjdTVZ-uY9Vp_xjkIL54j74lYRYSYKynJo,84
6
6
  cuenca/http/__init__.py,sha256=V5TG6Ro9d3VY7umzcbtanmvHlGkv-k71H0tqrdMyH-s,49
7
- cuenca/http/client.py,sha256=_kZ74egXibXX0nPbbl13YPubZezV5zEGixfhwmdWiDI,4164
7
+ cuenca/http/client.py,sha256=psXJiSgd3SUSJ5jwvhdBWsVMNadenG353BNVXdh7HMY,4168
8
8
  cuenca/resources/__init__.py,sha256=zbHBUgSJ4AR9i33k6NI9R2eFeXD-UwVCG0trGgU40U4,3535
9
9
  cuenca/resources/accounts.py,sha256=5yfNxAHpxWFosoR4WrPrDGpBCRkaQk98V-w0wCPPXqU,345
10
10
  cuenca/resources/api_keys.py,sha256=p65ZUiAu51JhEL_fZDc7_DTR0PMcSa-YQeK9gRFY82s,2618
@@ -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=sebg1_jxaQ4YZAsxWdqiRDOhuPMw3AhUCKcJqjLe034,1592
35
+ cuenca/resources/password_resets.py,sha256=8uLzkfcVFNTwjln0UBXX06LoXlfEHjXpjfdEIcZCvFA,1544
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.dev1.dist-info/licenses/LICENSE,sha256=aWv5PmUiAcNENEAdghcVQSeU56pXJHWexJYgklK9XLg,1063
57
+ cuenca-2.1.20.dev2.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=kV7yTzlt90CZ6ScmY3_P7os4zMMLx_2gOw6QmKW26IM,702
91
+ tests/resources/test_password_resets.py,sha256=X3CbdVXj-sGJop82_9z4hz4n6aMB92NBBVDIXDiEP-0,408
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.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,,
112
+ cuenca-2.1.20.dev2.dist-info/METADATA,sha256=H1wCdrBRXqDnYRDjiz8P_Y89OIJOQsoUO8rdPl0CeH8,4990
113
+ cuenca-2.1.20.dev2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
114
+ cuenca-2.1.20.dev2.dist-info/top_level.txt,sha256=5h3K7XJTmJniDloPq4sIJHni_xLw-Uoc6ZJ5mcw_lZY,13
115
+ cuenca-2.1.20.dev2.dist-info/RECORD,,
@@ -13,16 +13,3 @@ def test_password_resets_create() -> None:
13
13
  ),
14
14
  )
15
15
  assert password_reset.id.startswith('PR')
16
-
17
-
18
- @pytest.mark.vcr
19
- def test_password_resets_retrieve() -> None:
20
- password_reset = PasswordReset.retrieve('PRFOO')
21
- assert password_reset.id
22
- assert password_reset.flow_id
23
-
24
-
25
- @pytest.mark.vcr
26
- def test_password_resets_all() -> None:
27
- items = list(PasswordReset.all())
28
- assert items