Skip to content

Commit 608f1c8

Browse files
authored
Merge pull request #49 from apideck-libraries/speakeasy-sdk-regen-1748001147
chore: 🐝 Update SDK - Generate 0.23.4
2 parents 500c54e + e11b4e8 commit 608f1c8

File tree

19 files changed

+320
-31
lines changed

19 files changed

+320
-31
lines changed

.speakeasy/gen.lock

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 7bffa198-5d29-4efa-9942-d549cc832085
33
management:
4-
docChecksum: 73457f557ac055c92e02d0d6ff516221
5-
docVersion: 10.16.7
6-
speakeasyVersion: 1.548.4
7-
generationVersion: 2.605.6
8-
releaseVersion: 0.23.3
9-
configChecksum: 15353ecb8051f5e87ae14ab842ba2c32
4+
docChecksum: f6e72d58840c76168b88550d7b91da4f
5+
docVersion: 10.16.8
6+
speakeasyVersion: 1.551.0
7+
generationVersion: 2.610.0
8+
releaseVersion: 0.23.4
9+
configChecksum: 4ee39c77a4f86e6798bc4a11be552d7c
1010
repoURL: https://github.com/apideck-libraries/sdk-typescript.git
1111
installationURL: https://github.com/apideck-libraries/sdk-typescript
1212
published: true
@@ -334,6 +334,7 @@ generatedFiles:
334334
- docs/models/components/ecommerceorder.md
335335
- docs/models/components/ecommerceorderlineitem.md
336336
- docs/models/components/ecommerceorderpaymentstatus.md
337+
- docs/models/components/ecommerceorderrefund.md
337338
- docs/models/components/ecommerceordersfilter.md
338339
- docs/models/components/ecommerceorderstatus.md
339340
- docs/models/components/ecommerceproduct.md
@@ -2220,6 +2221,7 @@ generatedFiles:
22202221
- src/__tests__/mockserver/internal/sdk/models/components/ecommercediscount.go
22212222
- src/__tests__/mockserver/internal/sdk/models/components/ecommerceorder.go
22222223
- src/__tests__/mockserver/internal/sdk/models/components/ecommerceorderlineitem.go
2224+
- src/__tests__/mockserver/internal/sdk/models/components/ecommerceorderrefund.go
22232225
- src/__tests__/mockserver/internal/sdk/models/components/ecommerceordersfilter.go
22242226
- src/__tests__/mockserver/internal/sdk/models/components/ecommerceorderstatus.go
22252227
- src/__tests__/mockserver/internal/sdk/models/components/ecommerceproduct.go
@@ -3364,6 +3366,7 @@ generatedFiles:
33643366
- src/models/components/ecommercediscount.ts
33653367
- src/models/components/ecommerceorder.ts
33663368
- src/models/components/ecommerceorderlineitem.ts
3369+
- src/models/components/ecommerceorderrefund.ts
33673370
- src/models/components/ecommerceordersfilter.ts
33683371
- src/models/components/ecommerceorderstatus.ts
33693372
- src/models/components/ecommerceproduct.ts
@@ -8076,7 +8079,7 @@ examples:
80768079
x-apideck-service-id: "salesforce"
80778080
responses:
80788081
"200":
8079-
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"}, {"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"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"}], "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"}, {"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"}}
8082+
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"}, {"id": "12345", "country_code": "1", "area_code": "323", "number": "111-111-1111", "extension": "105", "type": "primary"}], "emails": [{"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"}], "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"}, {"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"}}
80808083
"400":
80818084
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"}
80828085
"401":

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: true
2323
skipResponseBodyAssertions: false
2424
typescript:
25-
version: 0.23.3
25+
version: 0.23.4
2626
additionalDependencies:
2727
dependencies: {}
2828
devDependencies: {}

.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-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:2dbdea459d67cc2e9cfbadafb31b242384d7be797366a1a4c0e412f472af80d3
6-
sourceBlobDigest: sha256:99438fd8db4f61ee04ce7a3fad4d41ca1a661ef889efd39354a3f69845dd7b18
5+
sourceRevisionDigest: sha256:49a08a7cf21f31387aa26a5186179cb69c7803a37a4b674a077687bd4b12e269
6+
sourceBlobDigest: sha256:3cbbb31a42959d93e751e0fc92f3eb94d13ce4ec7159483a6d9aafea210079ed
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747324047
10-
- 10.16.7
9+
- speakeasy-sdk-regen-1748001147
10+
- 10.16.8
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:2dbdea459d67cc2e9cfbadafb31b242384d7be797366a1a4c0e412f472af80d3
16-
sourceBlobDigest: sha256:99438fd8db4f61ee04ce7a3fad4d41ca1a661ef889efd39354a3f69845dd7b18
15+
sourceRevisionDigest: sha256:49a08a7cf21f31387aa26a5186179cb69c7803a37a4b674a077687bd4b12e269
16+
sourceBlobDigest: sha256:3cbbb31a42959d93e751e0fc92f3eb94d13ce4ec7159483a6d9aafea210079ed
1717
codeSamplesNamespace: apideck-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:a33872bd1b03c84db5f17de5527e82f169e1bfd6a54b77e91e1bb84069b83181
18+
codeSamplesRevisionDigest: sha256:3114114401f7c20e8412ee2ef6ae4c40edbf9e0da7348ecd0c3389038018690a
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
@@ -278,4 +278,14 @@ Based on:
278278
### Generated
279279
- [typescript v0.23.3] .
280280
### Releases
281-
- [NPM v0.23.3] https://www.npmjs.com/package/@apideck/unify/v/0.23.3 - .
281+
- [NPM v0.23.3] https://www.npmjs.com/package/@apideck/unify/v/0.23.3 - .
282+
283+
## 2025-05-26 05:02:42
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc
287+
- Speakeasy CLI 1.551.0 (2.610.0) https://github.com/speakeasy-api/speakeasy
288+
### Generated
289+
- [typescript v0.23.4] .
290+
### Releases
291+
- [NPM v0.23.4] https://www.npmjs.com/package/@apideck/unify/v/0.23.4 - .

docs/models/components/ecommerceorder.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@ let value: EcommerceOrder = {
112112
},
113113
],
114114
note: "Special instructions for delivery",
115+
refunds: [
116+
{
117+
id: "12345",
118+
amount: "100",
119+
currency: "USD",
120+
reason: "Customer requested a refund",
121+
createdAt: new Date("2020-09-30T07:43:32.000Z"),
122+
},
123+
],
115124
createdAt: new Date("2020-09-30T07:43:32.000Z"),
116125
updatedAt: new Date("2020-09-30T07:43:32.000Z"),
117126
};
@@ -142,6 +151,7 @@ let value: EcommerceOrder = {
142151
| `tracking` | [components.TrackingItem](../../models/components/trackingitem.md)[] | :heavy_minus_sign: | N/A | |
143152
| `lineItems` | [components.EcommerceOrderLineItem](../../models/components/ecommerceorderlineitem.md)[] | :heavy_minus_sign: | N/A | |
144153
| `note` | *string* | :heavy_minus_sign: | Note for the order. | Special instructions for delivery |
154+
| `refunds` | [components.EcommerceOrderRefund](../../models/components/ecommerceorderrefund.md)[] | :heavy_minus_sign: | N/A | |
145155
| `customMappings` | Record<string, *any*> | :heavy_minus_sign: | When custom mappings are configured on the resource, the result is included here. | |
146156
| `createdAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date and time when the object was created. | 2020-09-30T07:43:32.000Z |
147157
| `updatedAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date and time when the object was last updated. | 2020-09-30T07:43:32.000Z |

0 commit comments

Comments
 (0)