Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
265 changes: 132 additions & 133 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: true
typescript:
version: 1.28.69
version: 1.28.70
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.812.1
speakeasyVersion: 1.813.0
sources:
vercel-OAS:
sourceNamespace: vercel-oas
sourceRevisionDigest: sha256:82acef85c6a16d6b2497421e3d10905ce1778e97d0db4e961293dd32ccefc392
sourceBlobDigest: sha256:ea6a2b32d4e03a2b854719580bbbb1d02a91ef3a81662cb71d182ff7e9a19c28
sourceRevisionDigest: sha256:6edc7b04853e5ee76ad06b75cc7056725c91b46cfff1548b1c407e6d1fedf68a
sourceBlobDigest: sha256:9ad99708e691d66c6af0e71d838077873c3d3b9167ef112c30cee2a310541422
tags:
- latest
- 0.0.1
targets:
vercel:
source: vercel-OAS
sourceNamespace: vercel-oas
sourceRevisionDigest: sha256:82acef85c6a16d6b2497421e3d10905ce1778e97d0db4e961293dd32ccefc392
sourceBlobDigest: sha256:ea6a2b32d4e03a2b854719580bbbb1d02a91ef3a81662cb71d182ff7e9a19c28
sourceRevisionDigest: sha256:6edc7b04853e5ee76ad06b75cc7056725c91b46cfff1548b1c407e6d1fedf68a
sourceBlobDigest: sha256:9ad99708e691d66c6af0e71d838077873c3d3b9167ef112c30cee2a310541422
codeSamplesNamespace: vercel-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:c6693165c0b00c12d5dfdb5a050e80ad9299a34507415a9aebdb6f4b93d6a1c6
codeSamplesRevisionDigest: sha256:2fb771b313ac64938c0bfcca872063c0757c3fd378854250e4eb688c876aef5f
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 @@ -2158,4 +2158,14 @@ Based on:
### Generated
- [typescript v1.28.69] .
### Releases
- [NPM v1.28.69] https://www.npmjs.com/package/@vercel/sdk/v/1.28.69 - .
- [NPM v1.28.69] https://www.npmjs.com/package/@vercel/sdk/v/1.28.69 - .

## 2026-11-29 00:08:51
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.813.0 (2.969.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.28.70] .
### Releases
- [NPM v1.28.70] https://www.npmjs.com/package/@vercel/sdk/v/1.28.70 - .
8 changes: 4 additions & 4 deletions docs/models/createprojecttransferrequestresponsebody.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The project transfer request has been initiated successfully.
import { CreateProjectTransferRequestResponseBody } from "@vercel/sdk/models/createprojecttransferrequestop.js";

let value: CreateProjectTransferRequestResponseBody = {
code: "<value>",
code: "f99cc49a-602e-4786-a748-762dfb205880",
};
```

## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `code` | *string* | :heavy_check_mark: | N/A |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
| `code` | *string* | :heavy_check_mark: | Code that can be used to accept the project transfer request. | f99cc49a-602e-4786-a748-762dfb205880 |
2 changes: 1 addition & 1 deletion docs/sdks/teams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ run();

## updateTeamMember

Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. Organization-directory-managed team access and roles must be changed through the organization's identity provider. Unsupported changes return `organization_directory_managed`; supported local assignments remain editable. The authenticated user must be an `OWNER` of the Team. An update that would leave the Team's organization without an organization admin is refused.
Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. Organization-directory-managed team access and roles must be changed through the organization's identity provider. Unsupported changes return `organization_directory_managed`; supported local assignments remain editable. A pending membership superseded by Directory Sync cannot receive direct v0 roles. The authenticated user must be an `OWNER` of the Team. An update that would leave the Team's organization without an organization admin is refused.

### Example Usage

Expand Down
2 changes: 1 addition & 1 deletion examples/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 jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@vercel/sdk",
"version": "1.28.69",
"version": "1.28.70",
"exports": {
".": "./src/index.ts",
"./node": "./src/node.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": "@vercel/sdk",
"version": "1.28.69",
"version": "1.28.70",
"author": "Speakeasy",
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/teamsUpdateTeamMember.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
* Update a Team Member
*
* @remarks
* Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. Organization-directory-managed team access and roles must be changed through the organization's identity provider. Unsupported changes return `organization_directory_managed`; supported local assignments remain editable. The authenticated user must be an `OWNER` of the Team. An update that would leave the Team's organization without an organization admin is refused.
* Update the membership of a Team Member on the Team specified by `teamId`, such as changing the _role_ of the member, or confirming a request to join the Team for an unconfirmed member. Organization-directory-managed team access and roles must be changed through the organization's identity provider. Unsupported changes return `organization_directory_managed`; supported local assignments remain editable. A pending membership superseded by Directory Sync cannot receive direct v0 roles. The authenticated user must be an `OWNER` of the Team. An update that would leave the Team's organization without an organization admin is refused.
*
* If set, this operation will use {@link Security.bearerToken} from the global security.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.0.1",
sdkVersion: "1.28.69",
genVersion: "2.968.17",
userAgent: "speakeasy-sdk/typescript 1.28.69 2.968.17 0.0.1 @vercel/sdk",
sdkVersion: "1.28.70",
genVersion: "2.969.4",
userAgent: "speakeasy-sdk/typescript 1.28.70 2.969.4 0.0.1 @vercel/sdk",
} as const;
10 changes: 6 additions & 4 deletions src/models/additionalcontactinforequired.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ export const AdditionalContactInfoRequired$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new AdditionalContactInfoRequired(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new AdditionalContactInfoRequired(data, {
request: request$,
response: response$,
body: body$,
});
})
);
10 changes: 6 additions & 4 deletions src/models/badrequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ export const BadRequest$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new BadRequest(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new BadRequest(data, {
request: request$,
response: response$,
body: body$,
});
})
);
10 changes: 6 additions & 4 deletions src/models/boughttoorecently.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,12 @@ export const BoughtTooRecently$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new BoughtTooRecently(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new BoughtTooRecently(data, {
request: request$,
response: response$,
body: body$,
});
})
);
10 changes: 6 additions & 4 deletions src/models/connecterror.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ export const ConnectError$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new ConnectError(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new ConnectError(data, {
request: request$,
response: response$,
body: body$,
});
})
);
40 changes: 24 additions & 16 deletions src/models/createapikeysop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,12 @@ export const CreateApiKeysResponse500ResponseBody$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new CreateApiKeysResponse500ResponseBody(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new CreateApiKeysResponse500ResponseBody(data, {
request: request$,
response: response$,
body: body$,
});
})
);
Expand Down Expand Up @@ -365,10 +367,12 @@ export const CreateApiKeysResponse429ResponseBody$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new CreateApiKeysResponse429ResponseBody(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new CreateApiKeysResponse429ResponseBody(data, {
request: request$,
response: response$,
body: body$,
});
})
);
Expand Down Expand Up @@ -408,10 +412,12 @@ export const CreateApiKeysResponse403ResponseBody$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new CreateApiKeysResponse403ResponseBody(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new CreateApiKeysResponse403ResponseBody(data, {
request: request$,
response: response$,
body: body$,
});
})
);
Expand Down Expand Up @@ -451,10 +457,12 @@ export const CreateApiKeysResponseResponseBody$inboundSchema: z.ZodType<
body$: z.string(),
})
.transform((v) => {
return new CreateApiKeysResponseResponseBody(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new CreateApiKeysResponseResponseBody(data, {
request: request$,
response: response$,
body: body$,
});
})
);
Expand Down
3 changes: 3 additions & 0 deletions src/models/createprojecttransferrequestop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export type CreateProjectTransferRequestRequest = {
* The project transfer request has been initiated successfully.
*/
export type CreateProjectTransferRequestResponseBody = {
/**
* Code that can be used to accept the project transfer request.
*/
code: string;
};

Expand Down
33 changes: 20 additions & 13 deletions src/models/createvercelcitaskanalysisop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,11 @@ export const CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody$inboundSc
body$: z.string(),
})
.transform((v) => {
const { request$, response$, body$, ...data } = v;

return new CreateVercelCiTaskAnalysisVercelCiResponse500ResponseBody(
v,
{ request: v.request$, response: v.response$, body: v.body$ },
data,
{ request: request$, response: response$, body: body$ },
);
})
);
Expand Down Expand Up @@ -346,9 +348,11 @@ export const CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody$inboundSc
body$: z.string(),
})
.transform((v) => {
const { request$, response$, body$, ...data } = v;

return new CreateVercelCiTaskAnalysisVercelCiResponse429ResponseBody(
v,
{ request: v.request$, response: v.response$, body: v.body$ },
data,
{ request: request$, response: response$, body: body$ },
);
})
);
Expand Down Expand Up @@ -397,11 +401,12 @@ export const CreateVercelCiTaskAnalysisVercelCiResponseResponseBody$inboundSchem
body$: z.string(),
})
.transform((v) => {
return new CreateVercelCiTaskAnalysisVercelCiResponseResponseBody(v, {
request: v.request$,
response: v.response$,
body: v.body$,
});
const { request$, response$, body$, ...data } = v;

return new CreateVercelCiTaskAnalysisVercelCiResponseResponseBody(
data,
{ request: request$, response: response$, body: body$ },
);
})
);

Expand Down Expand Up @@ -441,10 +446,12 @@ export const CreateVercelCiTaskAnalysisVercelCiResponseBody$inboundSchema:
body$: z.string(),
})
.transform((v) => {
return new CreateVercelCiTaskAnalysisVercelCiResponseBody(v, {
request: v.request$,
response: v.response$,
body: v.body$,
const { request$, response$, body$, ...data } = v;

return new CreateVercelCiTaskAnalysisVercelCiResponseBody(data, {
request: request$,
response: response$,
body: body$,
});
})
);
Expand Down
Loading