Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Commit fd63c3f

Browse files
authored
Merge pull request #16 from apideck-libraries/speakeasy-sdk-regen-1748995520
chore: 🐝 Update SDK - Generate 0.16.2
2 parents d5ceaa5 + 3f2b267 commit fd63c3f

File tree

47 files changed

+629
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+629
-342
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.555.0
1+
speakeasyVersion: 1.558.1
22
sources:
33
accounting:
44
sourceNamespace: apideck-accounting-only-oas
5-
sourceRevisionDigest: sha256:b944eb0582b04e721539272323eaa52e06f45821795a0e2dfc339192d8dd9942
6-
sourceBlobDigest: sha256:72650e96f5675586bc5b9980f08e48745f4adb4e6caa616c7ab8f4a6fb80d706
5+
sourceRevisionDigest: sha256:4d288d6c243540f2cd61d82b999554c93274913c1aa8808f8bd2190e70c9a367
6+
sourceBlobDigest: sha256:cde3d8c9f67427b0093bc5b73ccb87f9aec60fe4143777d5a4e8c5717bb1cb7f
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748649912
9+
- speakeasy-sdk-regen-1748995520
1010
- 10.17.2
1111
lending:
1212
sourceNamespace: lending
@@ -19,10 +19,10 @@ targets:
1919
accounting-py:
2020
source: accounting
2121
sourceNamespace: apideck-accounting-only-oas
22-
sourceRevisionDigest: sha256:b944eb0582b04e721539272323eaa52e06f45821795a0e2dfc339192d8dd9942
23-
sourceBlobDigest: sha256:72650e96f5675586bc5b9980f08e48745f4adb4e6caa616c7ab8f4a6fb80d706
22+
sourceRevisionDigest: sha256:4d288d6c243540f2cd61d82b999554c93274913c1aa8808f8bd2190e70c9a367
23+
sourceBlobDigest: sha256:cde3d8c9f67427b0093bc5b73ccb87f9aec60fe4143777d5a4e8c5717bb1cb7f
2424
codeSamplesNamespace: apideck-accounting-only-oas-python-code-samples
25-
codeSamplesRevisionDigest: sha256:d8a89398fd6bb045bb24d356f1ec9ab48fab3ba8699f1abb368f8e4d285dc258
25+
codeSamplesRevisionDigest: sha256:9bc5600b8f3a0d9039038ee2b79eac9c452656fc537f1703526be2bdae661593
2626
accounting-ts:
2727
source: accounting
2828
sourceNamespace: accounting

accounting/.speakeasy/gen.lock

Lines changed: 277 additions & 6 deletions
Large diffs are not rendered by default.

accounting/.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ generation:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: true
2222
python:
23-
version: 0.16.1
23+
version: 0.16.2
2424
additionalDependencies:
2525
dev: {}
2626
main: {}
2727
authors:
2828
- Speakeasy
29+
baseErrorName: ApideckError
2930
clientServerStatusCodesAsErrors: true
3031
defaultErrorName: APIError
3132
description: Python Client SDK Generated by Speakeasy.

accounting/README-PYPI.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ import os
120120

121121

122122
with Apideck(
123-
api_key=os.getenv("APIDECK_API_KEY", ""),
124123
consumer_id="test-consumer",
125124
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
125+
api_key=os.getenv("APIDECK_API_KEY", ""),
126126
) as apideck:
127127

128-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
128+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
129129
"assets": True,
130130
"equity": True,
131131
"expenses": True,
@@ -153,12 +153,12 @@ import os
153153
async def main():
154154

155155
async with Apideck(
156-
api_key=os.getenv("APIDECK_API_KEY", ""),
157156
consumer_id="test-consumer",
158157
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
158+
api_key=os.getenv("APIDECK_API_KEY", ""),
159159
) as apideck:
160160

161-
res = await apideck.accounting.tax_rates.list_async(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
161+
res = await apideck.accounting.tax_rates.list_async(raw=False, service_id="salesforce", limit=20, filter_={
162162
"assets": True,
163163
"equity": True,
164164
"expenses": True,
@@ -200,7 +200,7 @@ with Apideck(
200200
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
201201
) as apideck:
202202

203-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
203+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
204204
"assets": True,
205205
"equity": True,
206206
"expenses": True,
@@ -482,12 +482,12 @@ import os
482482

483483

484484
with Apideck(
485-
api_key=os.getenv("APIDECK_API_KEY", ""),
486485
consumer_id="test-consumer",
487486
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
487+
api_key=os.getenv("APIDECK_API_KEY", ""),
488488
) as apideck:
489489

490-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
490+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
491491
"assets": True,
492492
"equity": True,
493493
"expenses": True,
@@ -522,12 +522,12 @@ import os
522522

523523

524524
with Apideck(
525-
api_key=os.getenv("APIDECK_API_KEY", ""),
526525
consumer_id="test-consumer",
527526
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
527+
api_key=os.getenv("APIDECK_API_KEY", ""),
528528
) as apideck:
529529

530-
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce")
530+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), raw=False, x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", service_id="salesforce")
531531

532532
assert res.create_attachment_response is not None
533533

@@ -550,12 +550,12 @@ import os
550550

551551

552552
with Apideck(
553-
api_key=os.getenv("APIDECK_API_KEY", ""),
554553
consumer_id="test-consumer",
555554
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
555+
api_key=os.getenv("APIDECK_API_KEY", ""),
556556
) as apideck:
557557

558-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
558+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
559559
"assets": True,
560560
"equity": True,
561561
"expenses": True,
@@ -582,12 +582,12 @@ import os
582582

583583
with Apideck(
584584
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
585-
api_key=os.getenv("APIDECK_API_KEY", ""),
586585
consumer_id="test-consumer",
587586
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
587+
api_key=os.getenv("APIDECK_API_KEY", ""),
588588
) as apideck:
589589

590-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
590+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
591591
"assets": True,
592592
"equity": True,
593593
"expenses": True,
@@ -638,14 +638,14 @@ import os
638638

639639

640640
with Apideck(
641-
api_key=os.getenv("APIDECK_API_KEY", ""),
642641
consumer_id="test-consumer",
643642
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
643+
api_key=os.getenv("APIDECK_API_KEY", ""),
644644
) as apideck:
645645
res = None
646646
try:
647647

648-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
648+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
649649
"assets": True,
650650
"equity": True,
651651
"expenses": True,
@@ -694,12 +694,12 @@ import os
694694

695695
with Apideck(
696696
server_url="https://unify.apideck.com",
697-
api_key=os.getenv("APIDECK_API_KEY", ""),
698697
consumer_id="test-consumer",
699698
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
699+
api_key=os.getenv("APIDECK_API_KEY", ""),
700700
) as apideck:
701701

702-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
702+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
703703
"assets": True,
704704
"equity": True,
705705
"expenses": True,
@@ -726,12 +726,12 @@ import os
726726

727727

728728
with Apideck(
729-
api_key=os.getenv("APIDECK_API_KEY", ""),
730729
consumer_id="test-consumer",
731730
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
731+
api_key=os.getenv("APIDECK_API_KEY", ""),
732732
) as apideck:
733733

734-
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", server_url="https://upload.apideck.com")
734+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), raw=False, x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", service_id="salesforce", server_url="https://upload.apideck.com")
735735

736736
assert res.create_attachment_response is not None
737737

@@ -835,9 +835,9 @@ import os
835835
def main():
836836

837837
with Apideck(
838-
api_key=os.getenv("APIDECK_API_KEY", ""),
839838
consumer_id="test-consumer",
840839
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
840+
api_key=os.getenv("APIDECK_API_KEY", ""),
841841
) as apideck:
842842
# Rest of application here...
843843

@@ -846,9 +846,9 @@ def main():
846846
async def amain():
847847

848848
async with Apideck(
849-
api_key=os.getenv("APIDECK_API_KEY", ""),
850849
consumer_id="test-consumer",
851850
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
851+
api_key=os.getenv("APIDECK_API_KEY", ""),
852852
) as apideck:
853853
# Rest of application here...
854854
```

accounting/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ import os
120120

121121

122122
with Apideck(
123-
api_key=os.getenv("APIDECK_API_KEY", ""),
124123
consumer_id="test-consumer",
125124
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
125+
api_key=os.getenv("APIDECK_API_KEY", ""),
126126
) as apideck:
127127

128-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
128+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
129129
"assets": True,
130130
"equity": True,
131131
"expenses": True,
@@ -153,12 +153,12 @@ import os
153153
async def main():
154154

155155
async with Apideck(
156-
api_key=os.getenv("APIDECK_API_KEY", ""),
157156
consumer_id="test-consumer",
158157
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
158+
api_key=os.getenv("APIDECK_API_KEY", ""),
159159
) as apideck:
160160

161-
res = await apideck.accounting.tax_rates.list_async(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
161+
res = await apideck.accounting.tax_rates.list_async(raw=False, service_id="salesforce", limit=20, filter_={
162162
"assets": True,
163163
"equity": True,
164164
"expenses": True,
@@ -200,7 +200,7 @@ with Apideck(
200200
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
201201
) as apideck:
202202

203-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
203+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
204204
"assets": True,
205205
"equity": True,
206206
"expenses": True,
@@ -482,12 +482,12 @@ import os
482482

483483

484484
with Apideck(
485-
api_key=os.getenv("APIDECK_API_KEY", ""),
486485
consumer_id="test-consumer",
487486
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
487+
api_key=os.getenv("APIDECK_API_KEY", ""),
488488
) as apideck:
489489

490-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
490+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
491491
"assets": True,
492492
"equity": True,
493493
"expenses": True,
@@ -522,12 +522,12 @@ import os
522522

523523

524524
with Apideck(
525-
api_key=os.getenv("APIDECK_API_KEY", ""),
526525
consumer_id="test-consumer",
527526
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
527+
api_key=os.getenv("APIDECK_API_KEY", ""),
528528
) as apideck:
529529

530-
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce")
530+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), raw=False, x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", service_id="salesforce")
531531

532532
assert res.create_attachment_response is not None
533533

@@ -550,12 +550,12 @@ import os
550550

551551

552552
with Apideck(
553-
api_key=os.getenv("APIDECK_API_KEY", ""),
554553
consumer_id="test-consumer",
555554
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
555+
api_key=os.getenv("APIDECK_API_KEY", ""),
556556
) as apideck:
557557

558-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
558+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
559559
"assets": True,
560560
"equity": True,
561561
"expenses": True,
@@ -582,12 +582,12 @@ import os
582582

583583
with Apideck(
584584
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
585-
api_key=os.getenv("APIDECK_API_KEY", ""),
586585
consumer_id="test-consumer",
587586
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
587+
api_key=os.getenv("APIDECK_API_KEY", ""),
588588
) as apideck:
589589

590-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
590+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
591591
"assets": True,
592592
"equity": True,
593593
"expenses": True,
@@ -638,14 +638,14 @@ import os
638638

639639

640640
with Apideck(
641-
api_key=os.getenv("APIDECK_API_KEY", ""),
642641
consumer_id="test-consumer",
643642
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
643+
api_key=os.getenv("APIDECK_API_KEY", ""),
644644
) as apideck:
645645
res = None
646646
try:
647647

648-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
648+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
649649
"assets": True,
650650
"equity": True,
651651
"expenses": True,
@@ -694,12 +694,12 @@ import os
694694

695695
with Apideck(
696696
server_url="https://unify.apideck.com",
697-
api_key=os.getenv("APIDECK_API_KEY", ""),
698697
consumer_id="test-consumer",
699698
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
699+
api_key=os.getenv("APIDECK_API_KEY", ""),
700700
) as apideck:
701701

702-
res = apideck.accounting.tax_rates.list(consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", filter_={
702+
res = apideck.accounting.tax_rates.list(raw=False, service_id="salesforce", limit=20, filter_={
703703
"assets": True,
704704
"equity": True,
705705
"expenses": True,
@@ -726,12 +726,12 @@ import os
726726

727727

728728
with Apideck(
729-
api_key=os.getenv("APIDECK_API_KEY", ""),
730729
consumer_id="test-consumer",
731730
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
731+
api_key=os.getenv("APIDECK_API_KEY", ""),
732732
) as apideck:
733733

734-
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", consumer_id="test-consumer", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX", service_id="salesforce", server_url="https://upload.apideck.com")
734+
res = apideck.accounting.attachments.upload(reference_type=apideck_accounting_unify.AttachmentReferenceType.INVOICE, reference_id="123456", request_body=open("example.file", "rb"), raw=False, x_apideck_metadata="{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}", service_id="salesforce", server_url="https://upload.apideck.com")
735735

736736
assert res.create_attachment_response is not None
737737

@@ -835,9 +835,9 @@ import os
835835
def main():
836836

837837
with Apideck(
838-
api_key=os.getenv("APIDECK_API_KEY", ""),
839838
consumer_id="test-consumer",
840839
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
840+
api_key=os.getenv("APIDECK_API_KEY", ""),
841841
) as apideck:
842842
# Rest of application here...
843843

@@ -846,9 +846,9 @@ def main():
846846
async def amain():
847847

848848
async with Apideck(
849-
api_key=os.getenv("APIDECK_API_KEY", ""),
850849
consumer_id="test-consumer",
851850
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
851+
api_key=os.getenv("APIDECK_API_KEY", ""),
852852
) as apideck:
853853
# Rest of application here...
854854
```

accounting/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,14 @@ Based on:
108108
### Generated
109109
- [python v0.16.1] accounting
110110
### Releases
111-
- [PyPI v0.16.1] https://pypi.org/project/apideck-accounting-unify/0.16.1 - accounting
111+
- [PyPI v0.16.1] https://pypi.org/project/apideck-accounting-unify/0.16.1 - accounting
112+
113+
## 2025-06-10 00:05:08
114+
### Changes
115+
Based on:
116+
- OpenAPI Doc
117+
- Speakeasy CLI 1.558.1 (2.623.4) https://github.com/speakeasy-api/speakeasy
118+
### Generated
119+
- [python v0.16.2] accounting
120+
### Releases
121+
- [PyPI v0.16.2] https://pypi.org/project/apideck-accounting-unify/0.16.2 - accounting

0 commit comments

Comments
 (0)