Skip to content

Commit fbceaaf

Browse files
authored
Merge pull request #45 from apideck-libraries/speakeasy-sdk-regen-1748001150
chore: 🐝 Update SDK - Generate 0.16.0
2 parents 18eb40e + 8de3ca2 commit fbceaaf

File tree

14 files changed

+7509
-3936
lines changed

14 files changed

+7509
-3936
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 8 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: 5c155d8c878d41beb57c645e6058d9ff
5-
docVersion: 10.16.7
6-
speakeasyVersion: 1.548.4
7-
generationVersion: 2.605.6
8-
releaseVersion: 0.15.2
9-
configChecksum: f666d6819950c16ae44bdb4b026f5e6a
4+
docChecksum: 64a383944bb263c4a6c78359831d313b
5+
docVersion: 10.16.8
6+
speakeasyVersion: 1.551.0
7+
generationVersion: 2.610.0
8+
releaseVersion: 0.16.0
9+
configChecksum: 3e1f4a692ad1509c14161abe537fcbb0
1010
repoURL: https://github.com/apideck-libraries/sdk-python.git
1111
installationURL: https://github.com/apideck-libraries/sdk-python.git
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
acceptHeaders: 3.0.0
1616
additionalDependencies: 1.0.0
1717
constsAndDefaults: 1.0.5
18-
core: 5.18.1
18+
core: 5.19.0
1919
deepObjectParams: 0.1.0
2020
defaultEnabledRetries: 0.2.0
2121
deprecations: 3.0.2
@@ -840,6 +840,7 @@ generatedFiles:
840840
- docs/models/ecommerceorder.md
841841
- docs/models/ecommerceorderlineitem.md
842842
- docs/models/ecommerceorderpaymentstatus.md
843+
- docs/models/ecommerceorderrefund.md
843844
- docs/models/ecommerceordersallglobals.md
844845
- docs/models/ecommerceordersallrequest.md
845846
- docs/models/ecommerceordersallresponse.md
@@ -2203,6 +2204,7 @@ generatedFiles:
22032204
- src/apideck_unify/models/ecommercediscount.py
22042205
- src/apideck_unify/models/ecommerceorder.py
22052206
- src/apideck_unify/models/ecommerceorderlineitem.py
2207+
- src/apideck_unify/models/ecommerceorderrefund.py
22062208
- src/apideck_unify/models/ecommerceordersfilter.py
22072209
- src/apideck_unify/models/ecommerceorderstatus.py
22082210
- src/apideck_unify/models/ecommerceproduct.py
@@ -7002,7 +7004,7 @@ examples:
70027004
x-apideck-service-id: "salesforce"
70037005
responses:
70047006
"200":
7005-
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"}, {"code": "SUMMER20", "amount": "5.99", "percentage": "0.1"}, {"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": "[email protected]", "type": "primary"}, {"id": "123", "email": "[email protected]", "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"}, {"provider": "UPS", "number": "1Z9999999999999999", "url": "https://www.ups.com/track?tracknum=1Z9999999999999999", "updated_at": "2020-09-30T07:43:32.000Z"}, {"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"}, {"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", "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}}
7007+
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"}, {"code": "SUMMER20", "amount": "5.99", "percentage": "0.1"}, {"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": "[email protected]", "type": "primary"}, {"id": "123", "email": "[email protected]", "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"}, {"provider": "UPS", "number": "1Z9999999999999999", "url": "https://www.ups.com/track?tracknum=1Z9999999999999999", "updated_at": "2020-09-30T07:43:32.000Z"}, {"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"}, {"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"}, {"id": "12345", "amount": "100", "currency": "USD", "reason": "Customer requested a refund", "created_at": "2020-09-30T07:43:32.000Z"}, {"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"}}
70067008
"400":
70077009
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"}
70087010
"401":

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ generation:
1919
oAuth2ClientCredentialsEnabled: true
2020
oAuth2PasswordEnabled: true
2121
python:
22-
version: 0.15.2
22+
version: 0.16.0
2323
additionalDependencies:
2424
dev: {}
2525
main: {}

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.548.4
1+
speakeasyVersion: 1.551.0
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:2ce7ed6b9a5b92dcd1be2bbe0783a095b389df53ae58abaf42b194b606988be0
6-
sourceBlobDigest: sha256:1621aeff3c31574f6f1380d06b2594609dab16b8d622bcbc810fe7abe1d82fa2
5+
sourceRevisionDigest: sha256:66035b985e79c233cdc563cc19576e206c86dcd7f2df3f2e366ded9106c09b76
6+
sourceBlobDigest: sha256:92b6ccb235d96541b5e8d94b7061b9aa95336ad74a6e66d8491e0700347e5ead
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747735046
10-
- 10.16.7
9+
- speakeasy-sdk-regen-1748001150
10+
- 10.16.8
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:2ce7ed6b9a5b92dcd1be2bbe0783a095b389df53ae58abaf42b194b606988be0
16-
sourceBlobDigest: sha256:1621aeff3c31574f6f1380d06b2594609dab16b8d622bcbc810fe7abe1d82fa2
15+
sourceRevisionDigest: sha256:66035b985e79c233cdc563cc19576e206c86dcd7f2df3f2e366ded9106c09b76
16+
sourceBlobDigest: sha256:92b6ccb235d96541b5e8d94b7061b9aa95336ad74a6e66d8491e0700347e5ead
1717
codeSamplesNamespace: apideck-python-code-samples
18-
codeSamplesRevisionDigest: sha256:749c6d66857d9bde9573c29b71a1ae81eb934020192aefb24a4e3dcc5f020604
18+
codeSamplesRevisionDigest: sha256:b27236acac71502f26f04c5acdc5c950ab81caef607720636fe2ad46b8a4e875
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
@@ -258,4 +258,14 @@ Based on:
258258
### Generated
259259
- [python v0.15.2] .
260260
### Releases
261-
- [PyPI v0.15.2] https://pypi.org/project/apideck-unify/0.15.2 - .
261+
- [PyPI v0.15.2] https://pypi.org/project/apideck-unify/0.15.2 - .
262+
263+
## 2025-05-26 05:02:44
264+
### Changes
265+
Based on:
266+
- OpenAPI Doc
267+
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
268+
### Generated
269+
- [python v0.16.0] .
270+
### Releases
271+
- [PyPI v0.16.0] https://pypi.org/project/apideck-unify/0.16.0 - .

docs/models/ecommerceorder.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
| `tracking` | List[[models.TrackingItem](../models/trackingitem.md)] | :heavy_minus_sign: | N/A | |
2727
| `line_items` | List[[models.EcommerceOrderLineItem](../models/ecommerceorderlineitem.md)] | :heavy_minus_sign: | N/A | |
2828
| `note` | *OptionalNullable[str]* | :heavy_minus_sign: | Note for the order. | Special instructions for delivery |
29+
| `refunds` | List[[models.EcommerceOrderRefund](../models/ecommerceorderrefund.md)] | :heavy_minus_sign: | N/A | |
2930
| `custom_mappings` | Dict[str, *Any*] | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | |
3031
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z |
3132
| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was last updated. | 2020-09-30T07:43:32.000Z |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EcommerceOrderRefund
2+
3+
A refund for an ecommerce order.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
10+
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | A unique identifier for an object. | 12345 |
11+
| `amount` | *Optional[str]* | :heavy_minus_sign: | The amount of the refund. | 100 |
12+
| `currency` | [OptionalNullable[models.Currency]](../models/currency.md) | :heavy_minus_sign: | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | USD |
13+
| `reason` | *Optional[str]* | :heavy_minus_sign: | The reason for the refund. | Customer requested a refund |
14+
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "apideck-unify"
3-
version = "0.15.2"
3+
version = "0.16.0"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"

src/apideck_unify/_version.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "apideck-unify"
6-
__version__: str = "0.15.2"
7-
__openapi_doc_version__: str = "10.16.7"
8-
__gen_version__: str = "2.605.6"
9-
__user_agent__: str = "speakeasy-sdk/python 0.15.2 2.605.6 10.16.7 apideck-unify"
6+
__version__: str = "0.16.0"
7+
__openapi_doc_version__: str = "10.16.8"
8+
__gen_version__: str = "2.610.0"
9+
__user_agent__: str = "speakeasy-sdk/python 0.16.0 2.610.0 10.16.8 apideck-unify"
1010

1111
try:
1212
if __package__ is not None:

0 commit comments

Comments
 (0)