Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.0 (#193)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Dec 6, 2024
1 parent 4aa5beb commit 616c022
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/react-query
/__tests__
/funcs
/core.*
Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
**/*
!/FUNCTIONS.md
!/RUNTIMES.md
!/REACT_QUERY.md
!/**/*.ts
!/**/*.js
!/**/*.map
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
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
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
Expand Down Expand Up @@ -754,7 +754,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "inviteCode": "<value>", "plan": "business extra", "stripeId": "<value>", "billingCycleStart": "900.65", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "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": "<value>", "conversionEnabled": true, "dotLinkClaimed": true, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>", "bankAccountName": "<value>", "partialAccountNumber": "<value>", "routingNumber": "<value>", "bankAccountVerified": false}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "inviteCode": "<value>", "plan": "business extra", "stripeId": "<value>", "billingCycleStart": "900.65", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "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": "<value>", "users": [], "domains": [], "publishableKey": "<value>", "bankAccountName": "<value>", "partialAccountNumber": "<value>", "routingNumber": "<value>", "bankAccountVerified": false}
"400":
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found."}}
"401":
Expand All @@ -780,7 +780,7 @@ examples:
idOrSlug: "<value>"
responses:
"200":
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<value>", "billingCycleStart": "245.55", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "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": "<value>", "conversionEnabled": true, "dotLinkClaimed": false, "createdAt": "<value>", "users": [], "domains": [], "publishableKey": "<value>", "bankAccountName": "<value>", "partialAccountNumber": "<value>", "routingNumber": "<value>", "bankAccountVerified": false}
application/json: {"id": "<id>", "name": "<value>", "slug": "<value>", "inviteCode": "<value>", "plan": "enterprise", "stripeId": "<value>", "billingCycleStart": "245.55", "paymentFailedAt": "<value>", "stripeConnectId": "<value>", "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": "<value>", "users": [], "domains": [], "publishableKey": "<value>", "bankAccountName": "<value>", "partialAccountNumber": "<value>", "routingNumber": "<value>", "bankAccountVerified": false}
"400":
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found."}}
"401":
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
typescript:
version: 0.46.2
version: 0.46.3
additionalDependencies:
dependencies: {}
devDependencies:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
2 changes: 0 additions & 2 deletions docs/models/components/workspaceschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ let value: WorkspaceSchema = {
usersLimit: 4608.03,
aiUsage: 1296.19,
aiLimit: 47.87,
referralLinkId: "<id>",
conversionEnabled: false,
dotLinkClaimed: false,
createdAt: "<value>",
Expand Down Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dub",
"version": "0.46.2",
"version": "0.46.3",
"author": "Dub",
"tshy": {
"exports": {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
7 changes: 0 additions & 7 deletions src/models/components/workspaceschema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down Expand Up @@ -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(),
Expand Down Expand Up @@ -398,7 +393,6 @@ export type WorkspaceSchema$Outbound = {
usersLimit: number;
aiUsage: number;
aiLimit: number;
referralLinkId: string | null;
conversionEnabled: boolean;
dotLinkClaimed: boolean;
createdAt: string;
Expand Down Expand Up @@ -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(),
Expand Down
4 changes: 2 additions & 2 deletions src/models/errors/badrequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ErrorT, SDKValidationError> {
return safeParse(
Expand Down

0 comments on commit 616c022

Please sign in to comment.