From 616c022882843b1f2a06dc21d51924438c5ac4bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:55:45 +0530 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.0 (#193) Co-authored-by: speakeasybot --- .gitignore | 1 + .npmignore | 3 +++ .speakeasy/gen.lock | 16 ++++++++-------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +++++++------- RELEASES.md | 12 +++++++++++- docs/models/components/workspaceschema.md | 2 -- jsr.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/lib/config.ts | 6 +++--- src/models/components/workspaceschema.ts | 7 ------- src/models/errors/badrequest.ts | 4 ++-- 13 files changed, 40 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 09c4b62a..eac2b13c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/react-query /__tests__ /funcs /core.* diff --git a/.npmignore b/.npmignore index 06cd8abf..9ad259ee 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,7 @@ **/* +!/FUNCTIONS.md +!/RUNTIMES.md +!/REACT_QUERY.md !/**/*.ts !/**/*.js !/**/*.map diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 618b9e24..0f0d6321 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: f28179cc-ef59-426d-9e85-60cec22fc642 management: - docChecksum: ebeafbab98f36580b94fa4a78ab949c3 + docChecksum: da455826be171d9d1ff0d376f0695b24 docVersion: 0.0.1 - speakeasyVersion: 1.448.2 - generationVersion: 2.467.4 - releaseVersion: 0.46.2 - configChecksum: e3ec9cdd0d8766ae4c420fb230b55155 + speakeasyVersion: 1.453.0 + generationVersion: 2.472.1 + releaseVersion: 0.46.3 + configChecksum: f06a0395aa1a194340018baa670344a5 repoURL: https://github.com/dubinc/dub-ts.git installationURL: https://github.com/dubinc/dub-ts published: true @@ -14,7 +14,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.11 - core: 3.18.7 + core: 3.18.8 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 enumUnions: 0.1.0 @@ -754,7 +754,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "paymentFailedAt": "", "stripeConnectId": "", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": [], "publishableKey": "", "bankAccountName": "", "partialAccountNumber": "", "routingNumber": "", "bankAccountVerified": false} + application/json: {"id": "", "name": "", "slug": "", "inviteCode": "", "plan": "business extra", "stripeId": "", "billingCycleStart": "900.65", "paymentFailedAt": "", "stripeConnectId": "", "usage": "5588.34", "usageLimit": "8441.99", "linksUsage": "5442.21", "linksLimit": "8306.36", "salesUsage": "5212.35", "salesLimit": "785.92", "domainsLimit": "9699.61", "tagsLimit": "8661.61", "usersLimit": "4580.49", "aiUsage": "7352.87", "aiLimit": "4508.24", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "", "users": [], "domains": [], "publishableKey": "", "bankAccountName": "", "partialAccountNumber": "", "routingNumber": "", "bankAccountVerified": false} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found."}} "401": @@ -780,7 +780,7 @@ examples: idOrSlug: "" responses: "200": - application/json: {"id": "", "name": "", "slug": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "paymentFailedAt": "", "stripeConnectId": "", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "referralLinkId": "", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": [], "publishableKey": "", "bankAccountName": "", "partialAccountNumber": "", "routingNumber": "", "bankAccountVerified": false} + application/json: {"id": "", "name": "", "slug": "", "inviteCode": "", "plan": "enterprise", "stripeId": "", "billingCycleStart": "245.55", "paymentFailedAt": "", "stripeConnectId": "", "usage": "5971.29", "usageLimit": "156.52", "linksUsage": "3446.2", "linksLimit": "7084.55", "salesUsage": "9914.64", "salesLimit": "2703.24", "domainsLimit": "6276.9", "tagsLimit": "6841.99", "usersLimit": "4888.52", "aiUsage": "4430.76", "aiLimit": "9840.08", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "", "users": [], "domains": [], "publishableKey": "", "bankAccountName": "", "partialAccountNumber": "", "routingNumber": "", "bankAccountVerified": false} "400": application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found."}} "401": diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index dd741b3a..7d3ae9a5 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false typescript: - version: 0.46.2 + version: 0.46.3 additionalDependencies: dependencies: {} devDependencies: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 9f28c8c6..eec1a5df 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.448.2 +speakeasyVersion: 1.453.0 sources: my-first-source: sourceNamespace: my-first-source - sourceRevisionDigest: sha256:2dcbb6c6cd406c63593288e6a93789158b95694b30cffd075f2ab5a4ad9a1331 - sourceBlobDigest: sha256:05e717ca7c8803f62c2536db9ec23d6f5c6ba9c19970b944c6500f280753d820 + sourceRevisionDigest: sha256:1e290a058dc306a54194ba37f7887e8152783c40262f559199f78f910e60fcb0 + sourceBlobDigest: sha256:98d898001f0ef6455618c09c8c6a368877c2fc520cb3d1ed70a17728d4775a9e tags: - latest - - speakeasy-sdk-regen-1732926441 + - speakeasy-sdk-regen-1733444909 - 0.0.1 targets: my-first-target: source: my-first-source sourceNamespace: my-first-source - sourceRevisionDigest: sha256:2dcbb6c6cd406c63593288e6a93789158b95694b30cffd075f2ab5a4ad9a1331 - sourceBlobDigest: sha256:05e717ca7c8803f62c2536db9ec23d6f5c6ba9c19970b944c6500f280753d820 + sourceRevisionDigest: sha256:1e290a058dc306a54194ba37f7887e8152783c40262f559199f78f910e60fcb0 + sourceBlobDigest: sha256:98d898001f0ef6455618c09c8c6a368877c2fc520cb3d1ed70a17728d4775a9e codeSamplesNamespace: code-samples-typescript-my-first-target - codeSamplesRevisionDigest: sha256:299243859813575d4e698f188c3d0068541f4600d5cc3d3066afd3090606979a + codeSamplesRevisionDigest: sha256:788cbe07d97ab9a801722c5787311e5fe7ff5097d9d022cfc06b2389ffe53ab4 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 26b3bd57..8801caa9 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1026,4 +1026,14 @@ Based on: ### Generated - [typescript v0.46.2] . ### Releases -- [NPM v0.46.2] https://www.npmjs.com/package/dub/v/0.46.2 - . \ No newline at end of file +- [NPM v0.46.2] https://www.npmjs.com/package/dub/v/0.46.2 - . + +## 2024-12-06 00:28:26 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.453.0 (2.472.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.46.3] . +### Releases +- [NPM v0.46.3] https://www.npmjs.com/package/dub/v/0.46.3 - . \ No newline at end of file diff --git a/docs/models/components/workspaceschema.md b/docs/models/components/workspaceschema.md index ce209167..ad46e8be 100644 --- a/docs/models/components/workspaceschema.md +++ b/docs/models/components/workspaceschema.md @@ -26,7 +26,6 @@ let value: WorkspaceSchema = { usersLimit: 4608.03, aiUsage: 1296.19, aiLimit: 47.87, - referralLinkId: "", conversionEnabled: false, dotLinkClaimed: false, createdAt: "", @@ -73,7 +72,6 @@ let value: WorkspaceSchema = { | `usersLimit` | *number* | :heavy_check_mark: | The users limit of the workspace. | | `aiUsage` | *number* | :heavy_check_mark: | The AI usage of the workspace. | | `aiLimit` | *number* | :heavy_check_mark: | The AI limit of the workspace. | -| `referralLinkId` | *string* | :heavy_check_mark: | The ID of the referral link of the workspace. | | `conversionEnabled` | *boolean* | :heavy_check_mark: | Whether the workspace has conversion tracking enabled (d.to/conversions). | | `dotLinkClaimed` | *boolean* | :heavy_check_mark: | Whether the workspace has claimed a free .link domain. (dub.link/free) | | `createdAt` | *string* | :heavy_check_mark: | The date and time when the workspace was created. | diff --git a/jsr.json b/jsr.json index 6057f172..45a00b65 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "dub", - "version": "0.46.2", + "version": "0.46.3", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index a7938a4f..d63d8773 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dub", - "version": "0.46.2", + "version": "0.46.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dub", - "version": "0.46.2", + "version": "0.46.3", "devDependencies": { "@types/node": "^20.12.7", "@typescript-eslint/eslint-plugin": "^7.7.1", diff --git a/package.json b/package.json index 144658c3..3a941dc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dub", - "version": "0.46.2", + "version": "0.46.3", "author": "Dub", "tshy": { "exports": { diff --git a/src/lib/config.ts b/src/lib/config.ts index 68189394..02ac9ff1 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -57,7 +57,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "0.46.2", - genVersion: "2.467.4", - userAgent: "speakeasy-sdk/typescript 0.46.2 2.467.4 0.0.1 dub", + sdkVersion: "0.46.3", + genVersion: "2.472.1", + userAgent: "speakeasy-sdk/typescript 0.46.3 2.472.1 0.0.1 dub", } as const; diff --git a/src/models/components/workspaceschema.ts b/src/models/components/workspaceschema.ts index 324f08d6..37a79749 100644 --- a/src/models/components/workspaceschema.ts +++ b/src/models/components/workspaceschema.ts @@ -144,10 +144,6 @@ export type WorkspaceSchema = { * The AI limit of the workspace. */ aiLimit: number; - /** - * The ID of the referral link of the workspace. - */ - referralLinkId: string | null; /** * Whether the workspace has conversion tracking enabled (d.to/conversions). */ @@ -361,7 +357,6 @@ export const WorkspaceSchema$inboundSchema: z.ZodType< usersLimit: z.number(), aiUsage: z.number(), aiLimit: z.number(), - referralLinkId: z.nullable(z.string()), conversionEnabled: z.boolean(), dotLinkClaimed: z.boolean(), createdAt: z.string(), @@ -398,7 +393,6 @@ export type WorkspaceSchema$Outbound = { usersLimit: number; aiUsage: number; aiLimit: number; - referralLinkId: string | null; conversionEnabled: boolean; dotLinkClaimed: boolean; createdAt: string; @@ -439,7 +433,6 @@ export const WorkspaceSchema$outboundSchema: z.ZodType< usersLimit: z.number(), aiUsage: z.number(), aiLimit: z.number(), - referralLinkId: z.nullable(z.string()), conversionEnabled: z.boolean(), dotLinkClaimed: z.boolean(), createdAt: z.string(), diff --git a/src/models/errors/badrequest.ts b/src/models/errors/badrequest.ts index c06116fd..a3d0615d 100644 --- a/src/models/errors/badrequest.ts +++ b/src/models/errors/badrequest.ts @@ -129,11 +129,11 @@ export namespace ErrorT$ { export type Outbound = ErrorT$Outbound; } -export function errorTToJSON(errorT: ErrorT): string { +export function errorToJSON(errorT: ErrorT): string { return JSON.stringify(ErrorT$outboundSchema.parse(errorT)); } -export function errorTFromJSON( +export function errorFromJSON( jsonString: string, ): SafeParseResult { return safeParse(