csc-cia-stne 0.0.93__py3-none-any.whl → 0.0.95__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.
- csc_cia_stne/stne_admin.py +3 -3
- {csc_cia_stne-0.0.93.dist-info → csc_cia_stne-0.0.95.dist-info}/METADATA +1 -1
- {csc_cia_stne-0.0.93.dist-info → csc_cia_stne-0.0.95.dist-info}/RECORD +6 -6
- {csc_cia_stne-0.0.93.dist-info → csc_cia_stne-0.0.95.dist-info}/WHEEL +0 -0
- {csc_cia_stne-0.0.93.dist-info → csc_cia_stne-0.0.95.dist-info}/licenses/LICENCE +0 -0
- {csc_cia_stne-0.0.93.dist-info → csc_cia_stne-0.0.95.dist-info}/top_level.txt +0 -0
csc_cia_stne/stne_admin.py
CHANGED
@@ -297,7 +297,7 @@ class StoneAdmin:
|
|
297
297
|
try:
|
298
298
|
|
299
299
|
# Verificando se existe cliente com esse documento, com a conta ativa
|
300
|
-
response = requests.get(f"{self.base_url}/accounts", params=params_conta_ativa, headers=self.authenticated_header, timeout=
|
300
|
+
response = requests.get(f"{self.base_url}/accounts", params=params_conta_ativa, headers=self.authenticated_header, timeout=120)
|
301
301
|
|
302
302
|
# Retorno esperado pela API Stone Admin - consulta cliente ativo
|
303
303
|
if response.status_code == 200:
|
@@ -307,7 +307,7 @@ class StoneAdmin:
|
|
307
307
|
|
308
308
|
# Verificando se existe cliente com esse documento, com a conta inativa
|
309
309
|
encontrado = False
|
310
|
-
response = requests.get(f"{self.base_url}/accounts", params=params_conta_inativa, headers=self.authenticated_header, timeout=
|
310
|
+
response = requests.get(f"{self.base_url}/accounts", params=params_conta_inativa, headers=self.authenticated_header, timeout=120)
|
311
311
|
|
312
312
|
# Retorno esperado pela API Stone Admin - consulta cliente inativo
|
313
313
|
if response.status_code == 200:
|
@@ -543,7 +543,7 @@ class StoneAdmin:
|
|
543
543
|
|
544
544
|
if async_mode:
|
545
545
|
|
546
|
-
response = requests.get(f"{self.base_url}/exports/accounts/{account_id}/statement?start_date={data_inicio}&end_date={data_fim}&format=pdf&async=true", headers=self.authenticated_header, timeout=
|
546
|
+
response = requests.get(f"{self.base_url}/exports/accounts/{account_id}/statement?start_date={data_inicio}&end_date={data_fim}&format=pdf&async=true", headers=self.authenticated_header, timeout=120)
|
547
547
|
|
548
548
|
else:
|
549
549
|
|
@@ -11,7 +11,7 @@ csc_cia_stne/logger_rich.py,sha256=fklgkBb4rblKQd7YZ3q-eWfhGg9eflO2k2-z4pGh_yo,5
|
|
11
11
|
csc_cia_stne/provio.py,sha256=G-pDnHYLSp97joc7S7dvwjNvl3omnTmvdi3rOPQf5GA,3987
|
12
12
|
csc_cia_stne/servicenow.py,sha256=cJtNtLZ8glWfs3OAzl78ZFlPyPz39CSBxHqpTdUU7i0,32136
|
13
13
|
csc_cia_stne/slack.py,sha256=sPLeaQh_JewLcrBDjjwUgbjtC7d1Np03OTy06JimMV4,8117
|
14
|
-
csc_cia_stne/stne_admin.py,sha256=
|
14
|
+
csc_cia_stne/stne_admin.py,sha256=4v_BVQAwZeWmxvjDOkwFAl9yIxJ3r54BY7pRgAgSXEM,24220
|
15
15
|
csc_cia_stne/wacess.py,sha256=g-bWZNpm_tU7UsW1G_rqh_2fW2KShvxZHGOerX8DuQw,26768
|
16
16
|
csc_cia_stne/web.py,sha256=_pc6BzPy2x0RvqtZsByjtKcSuUqlVTevfmmmKbVWLhA,15417
|
17
17
|
csc_cia_stne/utilitarios/__init__.py,sha256=rBGAmW0WcZnwTfVNuikNuJ1RBs6o7aw4xrV2QSsF9Bs,389
|
@@ -31,8 +31,8 @@ csc_cia_stne/utilitarios/validations/__init__.py,sha256=O_qyEU2ji3u6LHUXZCXvUFsM
|
|
31
31
|
csc_cia_stne/utilitarios/validations/gcp_bucket.py,sha256=vqj70jBAkazydUCPXIdE3zzgoz8Te2cCJNX_rICX1aM,6096
|
32
32
|
csc_cia_stne/utilitarios/validations/waccess.py,sha256=8yfOrmIPUSLzbCt6P0F6vj3FkSgU_RgrJpJlRhlLyV0,7352
|
33
33
|
csc_cia_stne/utilitarios/validations/web_validator.py,sha256=HYKYSpDv1RvRjZIuwTPt-AbEz-9392MxM_O329iYuSA,5722
|
34
|
-
csc_cia_stne-0.0.
|
35
|
-
csc_cia_stne-0.0.
|
36
|
-
csc_cia_stne-0.0.
|
37
|
-
csc_cia_stne-0.0.
|
38
|
-
csc_cia_stne-0.0.
|
34
|
+
csc_cia_stne-0.0.95.dist-info/licenses/LICENCE,sha256=LPGMtgKki2C3KEZP7hDhA1HBrlq5JCHkIeStUCLEMx4,1073
|
35
|
+
csc_cia_stne-0.0.95.dist-info/METADATA,sha256=PpaU_qsVyDDtN1Qtg5rsl6mzntgfphmAK0GoCBE1-9Q,1422
|
36
|
+
csc_cia_stne-0.0.95.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
37
|
+
csc_cia_stne-0.0.95.dist-info/top_level.txt,sha256=ldo7GVv3tQx5KJvwBzdZzzQmjPys2NDVVn1rv0BOF2Q,13
|
38
|
+
csc_cia_stne-0.0.95.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|