gr4vy 1.4.4__py3-none-any.whl → 1.5.1__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.
- gr4vy/_version.py +3 -3
- gr4vy/executions.py +24 -0
- gr4vy/models/__init__.py +8 -0
- gr4vy/models/create_report_execution_urlop.py +16 -1
- gr4vy/models/reportexecutionurlgenerate.py +16 -0
- {gr4vy-1.4.4.dist-info → gr4vy-1.5.1.dist-info}/METADATA +1 -1
- {gr4vy-1.4.4.dist-info → gr4vy-1.5.1.dist-info}/RECORD +8 -7
- {gr4vy-1.4.4.dist-info → gr4vy-1.5.1.dist-info}/WHEEL +0 -0
gr4vy/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "gr4vy"
|
|
6
|
-
__version__: str = "1.
|
|
6
|
+
__version__: str = "1.5.1"
|
|
7
7
|
__openapi_doc_version__: str = "1.0.0"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 1.
|
|
8
|
+
__gen_version__: str = "2.721.3"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.5.1 2.721.3 1.0.0 gr4vy"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
gr4vy/executions.py
CHANGED
|
@@ -367,6 +367,7 @@ class Executions(BaseSDK):
|
|
|
367
367
|
report_id: str,
|
|
368
368
|
report_execution_id: str,
|
|
369
369
|
merchant_account_id: Optional[str] = None,
|
|
370
|
+
expires_in: Optional[int] = 5,
|
|
370
371
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
371
372
|
server_url: Optional[str] = None,
|
|
372
373
|
timeout_ms: Optional[int] = None,
|
|
@@ -379,6 +380,7 @@ class Executions(BaseSDK):
|
|
|
379
380
|
:param report_id: The ID of the report to retrieve a URL for.
|
|
380
381
|
:param report_execution_id: The ID of the execution of a report to retrieve a URL for.
|
|
381
382
|
:param merchant_account_id: The ID of the merchant account to use for this request.
|
|
383
|
+
:param expires_in: The URL expiration time, in minutes.
|
|
382
384
|
:param retries: Override the default retry configuration for this method
|
|
383
385
|
:param server_url: Override the default server URL for this method
|
|
384
386
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -398,6 +400,9 @@ class Executions(BaseSDK):
|
|
|
398
400
|
report_id=report_id,
|
|
399
401
|
report_execution_id=report_execution_id,
|
|
400
402
|
merchant_account_id=merchant_account_id,
|
|
403
|
+
report_execution_url_generate=models.ReportExecutionURLGenerate(
|
|
404
|
+
expires_in=expires_in,
|
|
405
|
+
),
|
|
401
406
|
)
|
|
402
407
|
|
|
403
408
|
req = self._build_request(
|
|
@@ -416,6 +421,13 @@ class Executions(BaseSDK):
|
|
|
416
421
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
417
422
|
),
|
|
418
423
|
security=self.sdk_configuration.security,
|
|
424
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
425
|
+
request.report_execution_url_generate,
|
|
426
|
+
False,
|
|
427
|
+
True,
|
|
428
|
+
"json",
|
|
429
|
+
Optional[models.ReportExecutionURLGenerate],
|
|
430
|
+
),
|
|
419
431
|
timeout_ms=timeout_ms,
|
|
420
432
|
)
|
|
421
433
|
|
|
@@ -513,6 +525,7 @@ class Executions(BaseSDK):
|
|
|
513
525
|
report_id: str,
|
|
514
526
|
report_execution_id: str,
|
|
515
527
|
merchant_account_id: Optional[str] = None,
|
|
528
|
+
expires_in: Optional[int] = 5,
|
|
516
529
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
517
530
|
server_url: Optional[str] = None,
|
|
518
531
|
timeout_ms: Optional[int] = None,
|
|
@@ -525,6 +538,7 @@ class Executions(BaseSDK):
|
|
|
525
538
|
:param report_id: The ID of the report to retrieve a URL for.
|
|
526
539
|
:param report_execution_id: The ID of the execution of a report to retrieve a URL for.
|
|
527
540
|
:param merchant_account_id: The ID of the merchant account to use for this request.
|
|
541
|
+
:param expires_in: The URL expiration time, in minutes.
|
|
528
542
|
:param retries: Override the default retry configuration for this method
|
|
529
543
|
:param server_url: Override the default server URL for this method
|
|
530
544
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -544,6 +558,9 @@ class Executions(BaseSDK):
|
|
|
544
558
|
report_id=report_id,
|
|
545
559
|
report_execution_id=report_execution_id,
|
|
546
560
|
merchant_account_id=merchant_account_id,
|
|
561
|
+
report_execution_url_generate=models.ReportExecutionURLGenerate(
|
|
562
|
+
expires_in=expires_in,
|
|
563
|
+
),
|
|
547
564
|
)
|
|
548
565
|
|
|
549
566
|
req = self._build_request_async(
|
|
@@ -562,6 +579,13 @@ class Executions(BaseSDK):
|
|
|
562
579
|
merchant_account_id=self.sdk_configuration.globals.merchant_account_id,
|
|
563
580
|
),
|
|
564
581
|
security=self.sdk_configuration.security,
|
|
582
|
+
get_serialized_body=lambda: utils.serialize_request_body(
|
|
583
|
+
request.report_execution_url_generate,
|
|
584
|
+
False,
|
|
585
|
+
True,
|
|
586
|
+
"json",
|
|
587
|
+
Optional[models.ReportExecutionURLGenerate],
|
|
588
|
+
),
|
|
565
589
|
timeout_ms=timeout_ms,
|
|
566
590
|
)
|
|
567
591
|
|
gr4vy/models/__init__.py
CHANGED
|
@@ -934,6 +934,10 @@ if TYPE_CHECKING:
|
|
|
934
934
|
ReportExecutionSummaryTypedDict,
|
|
935
935
|
)
|
|
936
936
|
from .reportexecutionurl import ReportExecutionURL, ReportExecutionURLTypedDict
|
|
937
|
+
from .reportexecutionurlgenerate import (
|
|
938
|
+
ReportExecutionURLGenerate,
|
|
939
|
+
ReportExecutionURLGenerateTypedDict,
|
|
940
|
+
)
|
|
937
941
|
from .reports import Reports, ReportsTypedDict
|
|
938
942
|
from .reportschedule import ReportSchedule
|
|
939
943
|
from .reportspec import ReportSpec, ReportSpecTypedDict
|
|
@@ -1855,6 +1859,8 @@ __all__ = [
|
|
|
1855
1859
|
"ReportExecutionSummaryTypedDict",
|
|
1856
1860
|
"ReportExecutionTypedDict",
|
|
1857
1861
|
"ReportExecutionURL",
|
|
1862
|
+
"ReportExecutionURLGenerate",
|
|
1863
|
+
"ReportExecutionURLGenerateTypedDict",
|
|
1858
1864
|
"ReportExecutionURLTypedDict",
|
|
1859
1865
|
"ReportExecutions",
|
|
1860
1866
|
"ReportExecutionsTypedDict",
|
|
@@ -2770,6 +2776,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
2770
2776
|
"ReportExecutionSummaryTypedDict": ".reportexecutionsummary",
|
|
2771
2777
|
"ReportExecutionURL": ".reportexecutionurl",
|
|
2772
2778
|
"ReportExecutionURLTypedDict": ".reportexecutionurl",
|
|
2779
|
+
"ReportExecutionURLGenerate": ".reportexecutionurlgenerate",
|
|
2780
|
+
"ReportExecutionURLGenerateTypedDict": ".reportexecutionurlgenerate",
|
|
2773
2781
|
"Reports": ".reports",
|
|
2774
2782
|
"ReportsTypedDict": ".reports",
|
|
2775
2783
|
"ReportSchedule": ".reportschedule",
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .reportexecutionurlgenerate import (
|
|
5
|
+
ReportExecutionURLGenerate,
|
|
6
|
+
ReportExecutionURLGenerateTypedDict,
|
|
7
|
+
)
|
|
4
8
|
from gr4vy.types import BaseModel
|
|
5
|
-
from gr4vy.utils import
|
|
9
|
+
from gr4vy.utils import (
|
|
10
|
+
FieldMetadata,
|
|
11
|
+
HeaderMetadata,
|
|
12
|
+
PathParamMetadata,
|
|
13
|
+
RequestMetadata,
|
|
14
|
+
)
|
|
6
15
|
import pydantic
|
|
7
16
|
from typing import Optional
|
|
8
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -29,6 +38,7 @@ class CreateReportExecutionURLRequestTypedDict(TypedDict):
|
|
|
29
38
|
r"""The ID of the execution of a report to retrieve a URL for."""
|
|
30
39
|
merchant_account_id: NotRequired[str]
|
|
31
40
|
r"""The ID of the merchant account to use for this request."""
|
|
41
|
+
report_execution_url_generate: NotRequired[ReportExecutionURLGenerateTypedDict]
|
|
32
42
|
|
|
33
43
|
|
|
34
44
|
class CreateReportExecutionURLRequest(BaseModel):
|
|
@@ -48,3 +58,8 @@ class CreateReportExecutionURLRequest(BaseModel):
|
|
|
48
58
|
FieldMetadata(header=HeaderMetadata(style="simple", explode=False)),
|
|
49
59
|
] = None
|
|
50
60
|
r"""The ID of the merchant account to use for this request."""
|
|
61
|
+
|
|
62
|
+
report_execution_url_generate: Annotated[
|
|
63
|
+
Optional[ReportExecutionURLGenerate],
|
|
64
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
65
|
+
] = None
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from gr4vy.types import BaseModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ReportExecutionURLGenerateTypedDict(TypedDict):
|
|
10
|
+
expires_in: NotRequired[int]
|
|
11
|
+
r"""The URL expiration time, in minutes."""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ReportExecutionURLGenerate(BaseModel):
|
|
15
|
+
expires_in: Optional[int] = 5
|
|
16
|
+
r"""The URL expiration time, in minutes."""
|
|
@@ -2,7 +2,7 @@ gr4vy/__init__.py,sha256=w2u919V3Tzv4zEPQ-OYJ79gQ_4_SyW7GOFFoHtqXDFA,401
|
|
|
2
2
|
gr4vy/_hooks/__init__.py,sha256=p5J13DeYuISQyQWirjJAObHIf2VtIlOtFqnIpvjjVwk,118
|
|
3
3
|
gr4vy/_hooks/sdkhooks.py,sha256=3jKTs2B1lcAxBMJge9C-qL0RGbKGLcrHvikzi67Tbdo,2493
|
|
4
4
|
gr4vy/_hooks/types.py,sha256=0O7dbbolkiFAnHkNULvwoLsiXJu0_Wmhev163bvZbW8,3039
|
|
5
|
-
gr4vy/_version.py,sha256=
|
|
5
|
+
gr4vy/_version.py,sha256=IMMbBnuIKe8-EKh09dPAnVkozvj8PmbcgSItPuoEt8w,452
|
|
6
6
|
gr4vy/account_updater.py,sha256=mmTd25Oap80PBqQ3p4MvZ_buT5VS0zWc8s8cqfI7iyA,607
|
|
7
7
|
gr4vy/all.py,sha256=WwnLoNn3RgXNpf4Xoz12ct94JD7NMpLz-kzesHHh4m8,15172
|
|
8
8
|
gr4vy/audit_logs.py,sha256=duh_c9mO8vIcpCnB-c77EYn1tkuCp1cRT6a7l0VdZqc,17083
|
|
@@ -35,12 +35,12 @@ gr4vy/errors/httpvalidationerror.py,sha256=ao6pi3D1dqaSuRHNWFL4hus1UzTs2a38ZnYh0
|
|
|
35
35
|
gr4vy/errors/no_response_error.py,sha256=Kb7hmMtDo72KrLSjUEDNeQxvzZiVxUjOZym8TPdZp5Y,462
|
|
36
36
|
gr4vy/errors/responsevalidationerror.py,sha256=qPWwBjicfLUExXdnpczJtnM0dxvIypEz2xoIF3SWlPM,740
|
|
37
37
|
gr4vy/events.py,sha256=BIMBWIzunyVMD86pj2zzWaUd_o5WY1MQZN77uxHe7es,14735
|
|
38
|
-
gr4vy/executions.py,sha256=
|
|
38
|
+
gr4vy/executions.py,sha256=L2ObNQgdN1w4T1cJOxNivweCOpK3jKRXhfuFsH4ED_Q,44136
|
|
39
39
|
gr4vy/gift_cards_sdk.py,sha256=vAyP-0LNSYKvgLQ0k6QQ-cj-cW2NN7cu2ekj5b3zJkI,57411
|
|
40
40
|
gr4vy/httpclient.py,sha256=dqTPONDBpRn4ktXfcetQiRXnG93f0pJkFhqsYFhLUac,3945
|
|
41
41
|
gr4vy/jobs.py,sha256=WHx0epnlxOMHFSXTJPwuI5dhOO_acGTX72Lbz6fvD8A,14565
|
|
42
42
|
gr4vy/merchant_accounts_sdk.py,sha256=itqNYsJi_j9qGVSRvfbP1gYjbLbOIpy-6qRWhrqofOk,82247
|
|
43
|
-
gr4vy/models/__init__.py,sha256=
|
|
43
|
+
gr4vy/models/__init__.py,sha256=SZtqLajC_Le9oZtpyx2PMpMNI0HUT6kPqcHVI7hKn6E,133002
|
|
44
44
|
gr4vy/models/accountsreceivablesreportspec.py,sha256=X4YKJ5TII4KFi1I47BYt1Egxsfs84EaqXsb7g90IpLw,1012
|
|
45
45
|
gr4vy/models/accountupdaterinquirysummary.py,sha256=rOJn5uG7cNFUkd6BbsAve6ueUlAJzU5_d_zeDu6RBTg,1097
|
|
46
46
|
gr4vy/models/accountupdaterjob.py,sha256=JKuRwrc5yYSAQ9lD5Ta4MALtfXBF7tn_37lllQsH2B0,1972
|
|
@@ -118,7 +118,7 @@ gr4vy/models/create_payment_service_definition_sessionop.py,sha256=3eabWTaVZUihn
|
|
|
118
118
|
gr4vy/models/create_payment_service_sessionop.py,sha256=MxkcRuCzwso_Z-i5iFht0d5HNRSJULdf0worMFyUfpc,1788
|
|
119
119
|
gr4vy/models/create_payment_serviceop.py,sha256=GXk91h_GkGn4XrTDX-xn2wjUVLDHcWTgcKkVB5Hw4u8,1876
|
|
120
120
|
gr4vy/models/create_payoutop.py,sha256=cDhOsKE4pv5RQOQhEBB33uCe4swqPgD_7Q7D_V67vSY,1512
|
|
121
|
-
gr4vy/models/create_report_execution_urlop.py,sha256=
|
|
121
|
+
gr4vy/models/create_report_execution_urlop.py,sha256=XM-gwYQ1MT6oi8mMMoApyvCOLztdFXiRSy29SrmBTmk,2283
|
|
122
122
|
gr4vy/models/create_transaction_refundop.py,sha256=kw0bUw1bBJ3j8Xi4-Twofii6XBu8AoIdq7V9JDJisQE,1906
|
|
123
123
|
gr4vy/models/create_transactionop.py,sha256=yhv2B7gUax4hg-bZgbMn4ulq999kl1pRmcrkKqXmwOk,3957
|
|
124
124
|
gr4vy/models/createsession.py,sha256=mvinnfvkcaulzDkdXYTqQ60P9vptb75_dbGVGxL5I6s,2980
|
|
@@ -315,6 +315,7 @@ gr4vy/models/reportexecutions.py,sha256=W7LsMW1YXp9aJrvJQpqZ7EGDvod8E91JoFRZYhao
|
|
|
315
315
|
gr4vy/models/reportexecutionstatus.py,sha256=N4-Q5fM1ywBq6aV76SO_uOapu7btz2j6IUSolgWrESk,360
|
|
316
316
|
gr4vy/models/reportexecutionsummary.py,sha256=UZfLP9AC0yOnpjfm3dIps1lfomRIttpTDkQSVorWaNQ,1681
|
|
317
317
|
gr4vy/models/reportexecutionurl.py,sha256=xk0SGFrEom7YeXB-5N2w72u_ltJnrCHlLCV7sBlzFO4,622
|
|
318
|
+
gr4vy/models/reportexecutionurlgenerate.py,sha256=jq3Cm5Wb1I6k1qzkhFpikXZ-Xsclyyr5fL2QemRLoGM,489
|
|
318
319
|
gr4vy/models/reports.py,sha256=dH6thbDy67qsFR3xPqaEjGvOm2SNV5TvbeUi8VWoA8I,2140
|
|
319
320
|
gr4vy/models/reportschedule.py,sha256=SHx6WYk1aTx1Qfm6eYGTnJjJVfv_cBpuAa4REyqC8m4,321
|
|
320
321
|
gr4vy/models/reportspec.py,sha256=97G_hLWPYKmdQfIlUKqTlg4oB4gdG_j0xPUHiCj73TU,698
|
|
@@ -432,6 +433,6 @@ gr4vy/utils/unmarshal_json_response.py,sha256=H7jxugtMDuagdBXdpGiPf0Vr5-PWLETp8B
|
|
|
432
433
|
gr4vy/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
433
434
|
gr4vy/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
434
435
|
gr4vy/webhooks.py,sha256=2L-ZhdK-XU2X0AkVqgZvhfRqDCKUVs7R4UNCmZJR78w,1359
|
|
435
|
-
gr4vy-1.
|
|
436
|
-
gr4vy-1.
|
|
437
|
-
gr4vy-1.
|
|
436
|
+
gr4vy-1.5.1.dist-info/METADATA,sha256=i9V4L_K79V4vizOxlgBDSAXfjrWY0hWXHGLkJUp--EE,44202
|
|
437
|
+
gr4vy-1.5.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
438
|
+
gr4vy-1.5.1.dist-info/RECORD,,
|
|
File without changes
|