Skip to content

Commit ad5ac88

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.31.22 (#171)
* ## Python SDK Changes Detected: * `apideck.ecommerce.orders.list()`: `response.data.[].tax_inclusive` **Added** * `apideck.ecommerce.orders.get()`: `response.data.tax_inclusive` **Added** * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 59b4e51 commit ad5ac88

8 files changed

Lines changed: 46 additions & 23 deletions

File tree

.speakeasy/gen.lock

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: fca0ac3a-5f4e-452c-bbc7-2311afa8da40
33
management:
4-
docChecksum: 88bcca733d56e1093033c5324bfa6dde
5-
docVersion: 10.24.43
4+
docChecksum: d111feee7a9d9653c4712b066d7078a5
5+
docVersion: 10.24.44
66
speakeasyVersion: 1.656.1
77
generationVersion: 2.753.1
8-
releaseVersion: 0.31.21
9-
configChecksum: 1710ebfe117ceb5f13a55d0403e79891
8+
releaseVersion: 0.31.22
9+
configChecksum: 6339de90d574da6758cde8dbaa723194
1010
repoURL: https://github.com/apideck-libraries/sdk-python.git
1111
installationURL: https://github.com/apideck-libraries/sdk-python.git
1212
published: true
@@ -11837,7 +11837,7 @@ examples:
1183711837
x-apideck-service-id: "salesforce"
1183811838
responses:
1183911839
"200":
11840-
application/json: {"status_code": 200, "status": "OK", "service": "shopify", "resource": "orders", "operation": "one", "data": {"id": "12345", "order_number": "123456789", "currency": "USD", "discounts": [{"code": "SUMMER20", "amount": "5.99", "percentage": "0.1"}], "sub_total": "45.17", "shipping_cost": "5.17", "coupon_discount": "5.5", "total_discount": "5.5", "total_tax": "5.16", "total_amount": "50.17", "refunded_amount": "5.5", "status": "active", "payment_status": "paid", "fulfillment_status": "shipped", "payment_method": "credit_card", "customer": {"id": "12345", "name": "John Doe", "first_name": "John", "last_name": "Doe", "company_name": "Acme Inc.", "phone_numbers": [{"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"id": "123", "email": "elon@musk.com", "type": "primary"}]}, "billing_address": {"line1": "123 Main Street", "line2": "Apt 1", "company_name": "Acme Inc.", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US"}, "shipping_address": {"line1": "123 Main Street", "line2": "Apt 1", "company_name": "Acme Inc.", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US"}, "tracking": [{"provider": "UPS", "number": "1Z9999999999999999", "url": "https://www.ups.com/track?tracknum=1Z9999999999999999", "updated_at": "2020-09-30T07:43:32.000Z"}], "line_items": [{"id": "12345", "product_id": "def456", "variant_id": "ghi789", "sku": "MBP123-16GB-SILVER-13", "name": "Midnight 16inch MacBook Pro", "description": "Powerful and portable, the MacBook Pro is perfect for professionals and creatives.", "options": [{"id": "jkl012", "name": "Color", "value": "Silver"}], "quantity": "2", "unit_price": "19.99", "tax_rate": "0.08", "tax_amount": "1.6", "is_refunded": false, "refunded_amount": "0", "refunded_quantity": "0", "sub_total": "43.18", "total_amount": "43.18", "discounts": [{"code": "SUMMER20", "amount": "5.99", "percentage": "0.1"}]}], "note": "Special instructions for delivery", "refunds": [{"id": "12345", "amount": "100", "currency": "USD", "reason": "Customer requested a refund", "created_at": "2020-09-30T07:43:32.000Z"}], "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}}
11840+
application/json: {"status_code": 200, "status": "OK", "service": "shopify", "resource": "orders", "operation": "one", "data": {"id": "12345", "order_number": "123456789", "currency": "USD", "discounts": [{"code": "SUMMER20", "amount": "5.99", "percentage": "0.1"}], "sub_total": "45.17", "shipping_cost": "5.17", "coupon_discount": "5.5", "total_discount": "5.5", "total_tax": "5.16", "total_amount": "50.17", "refunded_amount": "5.5", "tax_inclusive": true, "status": "active", "payment_status": "paid", "fulfillment_status": "shipped", "payment_method": "credit_card", "customer": {"id": "12345", "name": "John Doe", "first_name": "John", "last_name": "Doe", "company_name": "Acme Inc.", "phone_numbers": [{"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"id": "123", "email": "elon@musk.com", "type": "primary"}]}, "billing_address": {"line1": "123 Main Street", "line2": "Apt 1", "company_name": "Acme Inc.", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US"}, "shipping_address": {"line1": "123 Main Street", "line2": "Apt 1", "company_name": "Acme Inc.", "city": "New York", "state": "NY", "postal_code": "10001", "country": "US"}, "tracking": [{"provider": "UPS", "number": "1Z9999999999999999", "url": "https://www.ups.com/track?tracknum=1Z9999999999999999", "updated_at": "2020-09-30T07:43:32.000Z"}], "line_items": [{"id": "12345", "product_id": "def456", "variant_id": "ghi789", "sku": "MBP123-16GB-SILVER-13", "name": "Midnight 16inch MacBook Pro", "description": "Powerful and portable, the MacBook Pro is perfect for professionals and creatives.", "options": [{"id": "jkl012", "name": "Color", "value": "Silver"}], "quantity": "2", "unit_price": "19.99", "tax_rate": "0.08", "tax_amount": "1.6", "is_refunded": false, "refunded_amount": "0", "refunded_quantity": "0", "sub_total": "43.18", "total_amount": "43.18", "discounts": [{"code": "SUMMER20", "amount": "5.99", "percentage": "0.1"}]}], "note": "Special instructions for delivery", "refunds": [{"id": "12345", "amount": "100", "currency": "USD", "reason": "Customer requested a refund", "created_at": "2020-09-30T07:43:32.000Z"}], "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}}
1184111841
"400":
1184211842
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": "Missing property foobar", "ref": "https://developers.apideck.com/errors#requestvalidationerror", "downstream_errors": [{"message": "Account code '100' has been archived or deleted", "detail": "Each line item must reference a valid account", "code": "VALIDATION_ERROR"}]}
1184311843
"401":
@@ -19749,7 +19749,10 @@ examples:
1974919749
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
1975019750
examplesVersion: 1.0.2
1975119751
generatedTests: {}
19752-
releaseNotes: "## Python SDK Changes Detected:\n* `apideck.accounting.tax_rates.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.bills.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.invoices.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.ledger_accounts.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.invoice_items.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.credit_notes.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.customers.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.suppliers.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.payments.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.refunds.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.companies.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.journal_entries.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.general_ledger_transactions.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.purchase_orders.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.subsidiaries.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.locations.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.departments.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.attachments.list()`: \n * `request.reference_type` **Changed**\n * `response.meta.total_count` **Added**\n* `apideck.accounting.attachments.upload()`: `request.reference_type` **Changed**\n* `apideck.accounting.attachments.get()`: `request.reference_type` **Changed**\n* `apideck.accounting.attachments.delete()`: `request.reference_type` **Changed**\n* `apideck.accounting.attachments.download()`: `request.reference_type` **Changed**\n* `apideck.accounting.bank_accounts.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.tracking_categories.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.bill_payments.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.expenses.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.bank_feed_accounts.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.bank_feed_statements.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.categories.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.quotes.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.projects.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.employees.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.expense_categories.list()`: `response.meta.total_count` **Added**\n* `apideck.accounting.expense_reports.list()`: `response.meta.total_count` **Added**\n* `apideck.ats.jobs.list()`: `response.meta.total_count` **Added**\n* `apideck.ats.applicants.list()`: `response.meta.total_count` **Added**\n* `apideck.ats.applications.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.companies.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.contacts.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.opportunities.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.leads.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.pipelines.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.notes.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.users.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.activities.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.custom_object_schemas.list()`: `response.meta.total_count` **Added**\n* `apideck.crm.custom_objects.list()`: `response.meta.total_count` **Added**\n* `apideck.ecommerce.orders.list()`: `response.meta.total_count` **Added**\n* `apideck.ecommerce.products.list()`: `response.meta.total_count` **Added**\n* `apideck.ecommerce.customers.list()`: `response.meta.total_count` **Added**\n* `apideck.file_storage.files.list()`: `response.meta.total_count` **Added**\n* `apideck.file_storage.files.search()`: `response.meta.total_count` **Added**\n* `apideck.file_storage.shared_links.list()`: `response.meta.total_count` **Added**\n* `apideck.file_storage.drives.list()`: `response.meta.total_count` **Added**\n* `apideck.file_storage.drive_groups.list()`: `response.meta.total_count` **Added**\n* `apideck.hris.employees.list()`: `response.meta.total_count` **Added**\n* `apideck.hris.companies.list()`: `response.meta.total_count` **Added**\n* `apideck.hris.departments.list()`: `response.meta.total_count` **Added**\n* `apideck.hris.time_off_requests.list()`: `response.meta.total_count` **Added**\n* `apideck.sms.messages.list()`: `response.meta.total_count` **Added**\n* `apideck.issue_tracking.collections.list()`: `response.meta.total_count` **Added**\n* `apideck.issue_tracking.collection_tickets.list()`: `response.meta.total_count` **Added**\n* `apideck.issue_tracking.collection_ticket_comments.list()`: `response.meta.total_count` **Added**\n* `apideck.issue_tracking.collection_users.list()`: `response.meta.total_count` **Added**\n* `apideck.issue_tracking.collection_tags.list()`: `response.meta.total_count` **Added**\n* `apideck.connector.connectors.list()`: `response.meta.total_count` **Added**\n* `apideck.connector.connectors.get()`: `response.meta.total_count` **Added**\n* `apideck.connector.connector_resources.get()`: `response.meta.total_count` **Added**\n* `apideck.connector.apis.list()`: `response.meta.total_count` **Added**\n* `apideck.connector.apis.get()`: `response.meta.total_count` **Added**\n* `apideck.connector.api_resources.get()`: `response.meta.total_count` **Added**\n* `apideck.connector.api_resource_coverage.get()`: `response.meta.total_count` **Added**\n* `apideck.vault.consumers.list()`: `response.meta.total_count` **Added**\n* `apideck.vault.logs.list()`: `response.meta.total_count` **Added**\n* `apideck.webhook.webhooks.list()`: `response.meta.total_count` **Added**\n* `apideck.webhook.event_logs.list()`: `response.meta.total_count` **Added**\n"
19752+
releaseNotes: |
19753+
## Python SDK Changes Detected:
19754+
* `apideck.ecommerce.orders.list()`: `response.data.[].tax_inclusive` **Added**
19755+
* `apideck.ecommerce.orders.get()`: `response.data.tax_inclusive` **Added**
1975319756
trackedFiles:
1975419757
.devcontainer/README.md:
1975519758
last_write_checksum: sha1:07adb0c0c051a9be4d479ea06461f3a9b3bbeb2f
@@ -21818,7 +21821,7 @@ trackedFiles:
2181821821
docs/models/ecommercediscount.md:
2181921822
last_write_checksum: sha1:90214858d852dd6f9a04d246315e3f91011846d7
2182021823
docs/models/ecommerceorder.md:
21821-
last_write_checksum: sha1:cda9ef060d8bf9f1bba9392da68e6b8ade057975
21824+
last_write_checksum: sha1:2f77223a98bcc7a49ccf23c5d94e6580451275be
2182221825
docs/models/ecommerceorderlineitem.md:
2182321826
last_write_checksum: sha1:8fed0b8db7fae5d0469cc590ce49a5db1302c02b
2182421827
docs/models/ecommerceorderpaymentstatus.md:
@@ -24004,7 +24007,7 @@ trackedFiles:
2400424007
src/apideck_unify/_hooks/types.py:
2400524008
last_write_checksum: sha1:4b923d3d84d979af6169a9db6b81bfc373079a25
2400624009
src/apideck_unify/_version.py:
24007-
last_write_checksum: sha1:262b29869988c2d22efa7fc2c79e09fafdd3720f
24010+
last_write_checksum: sha1:4a254a38c0e140dd61e6b892d46c88cedbb95c47
2400824011
src/apideck_unify/accounting.py:
2400924012
last_write_checksum: sha1:63ea555e29266c0cbe993e2bddf21ffecd9b02b9
2401024013
src/apideck_unify/activities.py:
@@ -25094,7 +25097,7 @@ trackedFiles:
2509425097
src/apideck_unify/models/ecommercediscount.py:
2509525098
last_write_checksum: sha1:031869169e100ad5d1f36e2865cee802fce3d1b9
2509625099
src/apideck_unify/models/ecommerceorder.py:
25097-
last_write_checksum: sha1:c79bdf04cce76dcca22d7219c0639a0412c42fee
25100+
last_write_checksum: sha1:0c89683d4b84e3de849c1cdeaf115136bb00ed65
2509825101
src/apideck_unify/models/ecommerceorderlineitem.py:
2509925102
last_write_checksum: sha1:0dbac612a03b29769519c7b41f308d35ca00478c
2510025103
src/apideck_unify/models/ecommerceorderrefund.py:
@@ -26236,7 +26239,7 @@ trackedFiles:
2623626239
src/apideck_unify/utils/requestbodies.py:
2623726240
last_write_checksum: sha1:e1fef575283b7fe7fe2ad392dbbb3fb105309124
2623826241
src/apideck_unify/utils/retries.py:
26239-
last_write_checksum: sha1:471372f5c5d1dd5583239c9cf3c75f1b636e5d87
26242+
last_write_checksum: sha1:3585b891142f30a597fbf7a2f0340700babef8e4
2624026243
src/apideck_unify/utils/security.py:
2624126244
last_write_checksum: sha1:8fa29426fabb7f0a04e5adf11966681ab88900f8
2624226245
src/apideck_unify/utils/serializers.py:

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
persistentEdits: {}
3333
versioningStrategy: automatic
3434
python:
35-
version: 0.31.21
35+
version: 0.31.22
3636
additionalDependencies:
3737
dev: {}
3838
main: {}
@@ -51,6 +51,7 @@ python:
5151
enableCustomCodeRegions: false
5252
enumFormat: enum
5353
envVarPrefix: APIDECK
54+
errorSchemaValidation: true
5455
eventStreamClassNames:
5556
async: EventStreamAsync
5657
sync: EventStream
@@ -89,6 +90,7 @@ python:
8990
pytestTimeout: 0
9091
rawResponseHelpers: false
9192
responseFormat: envelope-http
93+
responseSchemaValidation: true
9294
sseFlatResponse: false
9395
templateVersion: v2
9496
useAsyncHooks: false

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ speakeasyVersion: 1.656.1
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:6c0cd76f493d4a23a2d2dc4db5edc2a012fb5a474e68fd5e5136e9eb0839417d
6-
sourceBlobDigest: sha256:d3c6c9af0eb0891376b2e6fe2fdbdd7358e2e8f1b63a0870655aac74149177bf
5+
sourceRevisionDigest: sha256:85b7c2c63bab9070a2977378ca7b3cf290ce1207cd2e32b31d7640743ac1b1bb
6+
sourceBlobDigest: sha256:7a4c898a969ad8f17a6d904249d3d5b56026daafcadad00d26eef249822f2838
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1781503204
10-
- 10.24.43
9+
- speakeasy-sdk-regen-1781761850
10+
- 10.24.44
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:6c0cd76f493d4a23a2d2dc4db5edc2a012fb5a474e68fd5e5136e9eb0839417d
16-
sourceBlobDigest: sha256:d3c6c9af0eb0891376b2e6fe2fdbdd7358e2e8f1b63a0870655aac74149177bf
15+
sourceRevisionDigest: sha256:85b7c2c63bab9070a2977378ca7b3cf290ce1207cd2e32b31d7640743ac1b1bb
16+
sourceBlobDigest: sha256:7a4c898a969ad8f17a6d904249d3d5b56026daafcadad00d26eef249822f2838
1717
codeSamplesNamespace: apideck-python-code-samples
18-
codeSamplesRevisionDigest: sha256:8b68884b618fd28daf8d8356e858908f16a5e4a468e05e46e2c20968c8f45b92
18+
codeSamplesRevisionDigest: sha256:f5d53f36bba6ff1bb5a625fad3f7bf120eaa6fc0388988dc990626c0f9e79a03
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,4 +1278,14 @@ Based on:
12781278
### Generated
12791279
- [python v0.31.21] .
12801280
### Releases
1281-
- [PyPI v0.31.21] https://pypi.org/project/apideck-unify/0.31.21 - .
1281+
- [PyPI v0.31.21] https://pypi.org/project/apideck-unify/0.31.21 - .
1282+
1283+
## 2026-06-18 10:57:57
1284+
### Changes
1285+
Based on:
1286+
- OpenAPI Doc
1287+
- Speakeasy CLI 1.656.1 (2.753.1) https://github.com/speakeasy-api/speakeasy
1288+
### Generated
1289+
- [python v0.31.22] .
1290+
### Releases
1291+
- [PyPI v0.31.22] https://pypi.org/project/apideck-unify/0.31.22 - .

0 commit comments

Comments
 (0)