From 21a4540918d6bb3376927a3e2b009751c2177c51 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 12 Dec 2024 00:31:04 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2 --- .gitignore | 1 + .speakeasy/gen.lock | 15 ++++++++++++--- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++++++------- .speakeasy/workflow.yaml | 2 +- RELEASES.md | 12 +++++++++++- docs/models/components/carriersenum.md | 3 +-- jsr.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/lib/config.ts | 4 ++-- src/models/components/carriersenum.ts | 3 --- 12 files changed, 40 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 13f590ed..423c2b5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/react-query /funcs /core.* /__tests__ diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index ccdadab5..c6669be6 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 4f7e8ab5-4c00-496a-9710-e7c707e4ee78 management: - docChecksum: 256e7d68eaf807fc9ef86f8311e8a13f + docChecksum: f5fb49c650f0b24e378f83b41c734d6d docVersion: "2018-02-08" speakeasyVersion: 1.401.2 generationVersion: 2.421.3 - releaseVersion: 2.14.1 - configChecksum: bcfebe2c39e567249ac9def567cd98fe + releaseVersion: 2.15.1 + configChecksum: 51f62e1615f7e1ca224f8e13bcc1ecef repoURL: https://github.com/goshippo/shippo-javascript-sdk.git installationURL: https://github.com/goshippo/shippo-javascript-sdk published: true @@ -1525,4 +1525,13 @@ examples: parameters: path: webhookId: "" + batch: {} + track: + speakeasy-default-track: + requestBody: + application/json: {"data": {"address_from": {"city": "Las Vegas", "country": "US", "state": "NV", "zip": "89101"}, "address_to": {"city": "Las Vegas", "country": "US", "state": "NV", "zip": "89101"}, "carrier": "usps", "messages": [""], "metadata": "Order 000123", "original_eta": "2021-07-23T00:00:00Z", "servicelevel": {"name": "Priority Mail Express", "token": "usps_priority_express", "parent_servicelevel": {"name": "Priority Mail Express", "token": "usps_priority_express"}}, "tracking_history": [{"location": {"city": "Las Vegas", "country": "US", "state": "NV", "zip": "89101"}, "object_created": "2023-07-25T17:47:12.180Z", "object_id": "", "object_updated": "2023-02-21T22:35:19.645Z", "status": "DELIVERED", "substatus": {"code": "information_received", "text": "Information about the package received.", "action_required": true}, "status_date": "2016-07-23T00:00:00Z", "status_details": "Your shipment has been delivered at the destination mailbox."}], "tracking_number": "9205590164917312751089", "tracking_status": {"location": {"city": "Las Vegas", "country": "US", "state": "NV", "zip": "89101"}, "object_created": "2024-05-20T11:37:56.914Z", "object_id": "", "object_updated": "2023-06-07T16:48:30.895Z", "status": "DELIVERED", "substatus": {"code": "information_received", "text": "Information about the package received.", "action_required": true}, "status_date": "2016-07-23T00:00:00Z", "status_details": "Your shipment has been delivered at the destination mailbox."}}} + transaction: + speakeasy-default-transaction: + requestBody: + application/json: {"data": {"created_by": {"first_name": "Shwan", "last_name": "Ippotle", "username": "shippotle@shippo.com"}, "label_file_type": "PDF_4x6", "label_url": "https://shippo-delivery.s3.amazonaws.com/70ae8117ee1749e393f249d5b77c45e0.pdf?Signature=vDw1ltcyGveVR1OQoUDdzC43BY8%3D&Expires=1437093830&AWSAccessKeyId=AKIAJTHP3LLFMYAWALIA", "messages": [], "object_id": "915d94940ea54c3a80cbfa328722f5a1", "object_owner": "shippotle@shippo.com", "parcel": "e94c7fdfdc7b495dbb390a28d929d90a", "qr_code_url": "https://shippo-delivery.s3.amazonaws.com/96_qr_code.pdf?Signature=PEdWrp0mFWAGwJp7FW3b%2FeA2eyY%3D&Expires=1385930652&AWSAccessKeyId=AKIAJTHP3LLFMYAWALIA", "rate": {"amount": "5.5", "amount_local": "5.5", "currency": "USD", "currency_local": "USD", "object_id": "adcfdddf8ec64b84ad22772bce3ea37a", "provider": "USPS", "carrier_account": "078870331023437cb917f5187429b093", "servicelevel_name": "Priority Mail", "servicelevel_token": "fedex_ground"}, "status": "SUCCESS", "tracking_number": "9499907123456123456781", "tracking_status": "DELIVERED", "tracking_url_provider": "https://tools.usps.com/go/TrackConfirmAction_input?origTrackNum=9499907123456123456781"}} generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index dcb6e41a..3e3b8e72 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true typescript: - version: 2.14.1 + version: 2.15.1 additionalDependencies: dependencies: {} devDependencies: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 19faa948..d45073da 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.401.2 sources: openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:67380a5740d2ebf50c6b5d4ecd48d398c184e281c8302c0d0306220da7535048 - sourceBlobDigest: sha256:d1d1d6dbb27ba9c1d86549fa879da10167c9890d2d3443c087c7b8555971a12c + sourceRevisionDigest: sha256:70ed91d8816a1820edbc19c2d334c1798da5738d8abee8c1566d12aa0d8981b0 + sourceBlobDigest: sha256:1fc427670fc4b3b04f137a7f6d999c0ff5d256d2b812231590e0a01e70a799e7 tags: - latest - main @@ -11,10 +11,10 @@ targets: first-target: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:67380a5740d2ebf50c6b5d4ecd48d398c184e281c8302c0d0306220da7535048 - sourceBlobDigest: sha256:d1d1d6dbb27ba9c1d86549fa879da10167c9890d2d3443c087c7b8555971a12c - codeSamplesNamespace: openapi-code-samples - codeSamplesRevisionDigest: sha256:df1a9ca170bc417e1e111efbc10b1f07765943764cb1cbd046d9b6efc18cfc43 + sourceRevisionDigest: sha256:70ed91d8816a1820edbc19c2d334c1798da5738d8abee8c1566d12aa0d8981b0 + sourceBlobDigest: sha256:1fc427670fc4b3b04f137a7f6d999c0ff5d256d2b812231590e0a01e70a799e7 + codeSamplesNamespace: openapi-typescript-code-samples + codeSamplesRevisionDigest: sha256:66a0aa0fda6d7f0ffbf8dd8f62a24f767431cef3d783741123c441a2de4bdc06 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -34,4 +34,4 @@ workflow: codeSamples: output: "" registry: - location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples + location: registry.speakeasyapi.dev/shippo/shippo/openapi-typescript-code-samples diff --git a/.speakeasy/workflow.yaml b/.speakeasy/workflow.yaml index c0ab4da1..eaca99d0 100644 --- a/.speakeasy/workflow.yaml +++ b/.speakeasy/workflow.yaml @@ -15,5 +15,5 @@ targets: token: $npm_token codeSamples: registry: - location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples + location: registry.speakeasyapi.dev/shippo/shippo/openapi-typescript-code-samples blocking: false diff --git a/RELEASES.md b/RELEASES.md index 2295c885..f57cf51d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -336,4 +336,14 @@ Based on: ### Generated - [typescript v2.14.1] . ### Releases -- [NPM v2.14.1] https://www.npmjs.com/package/shippo/v/2.14.1 - . \ No newline at end of file +- [NPM v2.14.1] https://www.npmjs.com/package/shippo/v/2.14.1 - . + +## 2024-12-12 00:29:21 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v2.15.1] . +### Releases +- [NPM v2.15.1] https://www.npmjs.com/package/shippo/v/2.15.1 - . \ No newline at end of file diff --git a/docs/models/components/carriersenum.md b/docs/models/components/carriersenum.md index 41533361..3c75e288 100644 --- a/docs/models/components/carriersenum.md +++ b/docs/models/components/carriersenum.md @@ -45,7 +45,6 @@ | new_zealand_post | New Zealand Post (also used for Pace and CourierPost)| | nippon_express | Nippon Express| | ontrac | OnTrac| -| orangeds | OrangeDS| | parcelforce | Parcelforce| | passport | Passport| | pcf | PCF| @@ -76,5 +75,5 @@ let value: CarriersEnum = "rr_donnelley"; ## Values ```typescript -"airterra" | "apc_postal" | "apg" | "aramex" | "asendia_us" | "australia_post" | "axlehire" | "better_trucks" | "borderguru" | "boxberry" | "bring" | "canada_post" | "cdl" | "chronopost" | "collect_plus" | "correios_br" | "correos_espana" | "couriersplease" | "colissimo" | "deutsche_post" | "dhl_benelux" | "dhl_ecommerce" | "dhl_express" | "dhl_germany_c2c" | "dhl_germany" | "dpd_de" | "dpd_uk" | "estafeta" | "fastway_australia" | "fedex" | "globegistics" | "gls_us" | "gophr" | "gso" | "hermes_germany_b2c" | "hermes_uk" | "hongkong_post" | "lasership" | "lso" | "mondial_relay" | "new_zealand_post" | "nippon_express" | "ontrac" | "orangeds" | "parcelforce" | "passport" | "pcf" | "poste_italiane" | "posti" | "purolator" | "royal_mail" | "rr_donnelley" | "russian_post" | "sendle" | "skypostal" | "stuart" | "swyft" | "uds" | "ups" | "usps" | "veho" +"airterra" | "apc_postal" | "apg" | "aramex" | "asendia_us" | "australia_post" | "axlehire" | "better_trucks" | "borderguru" | "boxberry" | "bring" | "canada_post" | "cdl" | "chronopost" | "collect_plus" | "correios_br" | "correos_espana" | "couriersplease" | "colissimo" | "deutsche_post" | "dhl_benelux" | "dhl_ecommerce" | "dhl_express" | "dhl_germany_c2c" | "dhl_germany" | "dpd_de" | "dpd_uk" | "estafeta" | "fastway_australia" | "fedex" | "globegistics" | "gls_us" | "gophr" | "gso" | "hermes_germany_b2c" | "hermes_uk" | "hongkong_post" | "lasership" | "lso" | "mondial_relay" | "new_zealand_post" | "nippon_express" | "ontrac" | "parcelforce" | "passport" | "pcf" | "poste_italiane" | "posti" | "purolator" | "royal_mail" | "rr_donnelley" | "russian_post" | "sendle" | "skypostal" | "stuart" | "swyft" | "uds" | "ups" | "usps" | "veho" ``` \ No newline at end of file diff --git a/jsr.json b/jsr.json index 17ec9a11..09e0d8ac 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "shippo", - "version": "2.14.1", + "version": "2.15.1", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index 35f3a5a7..c0096f88 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "shippo", - "version": "2.14.1", + "version": "2.15.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "shippo", - "version": "2.14.1", + "version": "2.15.1", "license": "MIT", "devDependencies": { "@types/chai": "^4.3.14", diff --git a/package.json b/package.json index afa3c81b..49cfda62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shippo", - "version": "2.14.1", + "version": "2.15.1", "author": "Shippo", "license": "MIT", "main": "./index.js", diff --git a/src/lib/config.ts b/src/lib/config.ts index 8a72cb78..fa4cdf14 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -59,7 +59,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "2018-02-08", - sdkVersion: "2.14.1", + sdkVersion: "2.15.1", genVersion: "2.421.3", - userAgent: "speakeasy-sdk/typescript 2.14.1 2.421.3 2018-02-08 shippo", + userAgent: "speakeasy-sdk/typescript 2.15.1 2.421.3 2018-02-08 shippo", } as const; diff --git a/src/models/components/carriersenum.ts b/src/models/components/carriersenum.ts index f98befdf..1e5d37c4 100644 --- a/src/models/components/carriersenum.ts +++ b/src/models/components/carriersenum.ts @@ -53,7 +53,6 @@ import { ClosedEnum } from "../../types/enums.js"; * | new_zealand_post | New Zealand Post (also used for Pace and CourierPost)| * | nippon_express | Nippon Express| * | ontrac | OnTrac| - * | orangeds | OrangeDS| * | parcelforce | Parcelforce| * | passport | Passport| * | pcf | PCF| @@ -116,7 +115,6 @@ export const CarriersEnum = { NewZealandPost: "new_zealand_post", NipponExpress: "nippon_express", Ontrac: "ontrac", - Orangeds: "orangeds", Parcelforce: "parcelforce", Passport: "passport", Pcf: "pcf", @@ -183,7 +181,6 @@ export const CarriersEnum = { * | new_zealand_post | New Zealand Post (also used for Pace and CourierPost)| * | nippon_express | Nippon Express| * | ontrac | OnTrac| - * | orangeds | OrangeDS| * | parcelforce | Parcelforce| * | passport | Passport| * | pcf | PCF|