Skip to content

Commit 0052f9a

Browse files
## Typescript SDK Changes Detected: (#134)
* `vercel.marketplace.updateInvoice()`: * `request.requestBody` **Changed** **Breaking** ⚠️ * `error.status[409]` **Added** * `vercel.integrations.getConfigurationProducts()`: `response.products.[].metadataSchema.properties.{}` **Changed** **Breaking** ⚠️ * `vercel.user.listUserEvents()`: `response.events.[].payload` **Changed** **Breaking** ⚠️ * `vercel.deployments.getDeployment()`: `response.[1]` **Changed** * `vercel.projects.getProjects()`: * `request.sortByElasticConcurrency` **Added** * `vercel.domains.checkDomainPrice()`: `error.status[500]` **Added** * `vercel.deployments.createDeployment()`: `response` **Changed** * `vercel.deployments.cancelDeployment()`: `response` **Changed** * `vercel.integrations.connectIntegrationResourceToProject()`: **Added** * `vercel.integrations.createIntegrationStoreDirect()`: **Added** * `vercel.projects.acceptProjectTransferRequest()`: * `request.requestBody.acceptedPolicies` **Added** * `vercel.marketplace.submitInvoice()`: `error.status[409]` **Added** * `vercel.get/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans()`: **Added** * `vercel.marketplace.exchangeSsoToken()`: `error.status[403]` **Added** * `vercel.authentication.exchangeSsoToken()`: `error.status[403]` **Added** * `vercel.teams.getTeamMembers()`: `response.emailinvitecodes.[]` **Changed** * `vercel.teams.getTeam()`: `response` **Changed** * `vercel.teams.patchTeam()`: * `request.requestBody.defaultExpirationSettings` **Added** * `response` **Changed** * `vercel.teams.getTeams()`: `response.teams.[].[team]` **Changed** Co-authored-by: speakeasybot <[email protected]>
1 parent a7e3194 commit 0052f9a

File tree

631 files changed

+64630
-12289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

631 files changed

+64630
-12289
lines changed

.speakeasy/gen.lock

Lines changed: 356 additions & 42 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: true
2525
skipResponseBodyAssertions: false
2626
typescript:
27-
version: 1.10.6
27+
version: 1.10.7
2828
additionalDependencies:
2929
dependencies: {}
3030
devDependencies: {}

.speakeasy/tests.arazzo.yaml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6296,3 +6296,99 @@ workflows:
62966296
type: simple
62976297
x-speakeasy-test-group: integrations
62986298
x-speakeasy-test-rebuild: true
6299+
- workflowId: get_/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans
6300+
steps:
6301+
- stepId: test
6302+
operationId: get_/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans
6303+
parameters:
6304+
- name: integrationIdOrSlug
6305+
in: path
6306+
value: <value>
6307+
- name: productIdOrSlug
6308+
in: path
6309+
value: <value>
6310+
successCriteria:
6311+
- condition: $statusCode == 200
6312+
- condition: $response.header.Content-Type == application/json
6313+
- context: $response.body
6314+
condition: |
6315+
{
6316+
"plans": [
6317+
{
6318+
"type": "prepayment",
6319+
"id": "\u003cid\u003e",
6320+
"name": "\u003cvalue\u003e",
6321+
"scope": "resource",
6322+
"description": "cope unless hierarchy versus ouch more regarding tabulate",
6323+
"paymentMethodRequired": false
6324+
}
6325+
]
6326+
}
6327+
type: simple
6328+
x-speakeasy-test-group: Vercel
6329+
x-speakeasy-test-rebuild: true
6330+
- workflowId: createIntegrationStoreDirect
6331+
steps:
6332+
- stepId: test
6333+
operationId: createIntegrationStoreDirect
6334+
parameters:
6335+
- name: teamId
6336+
in: query
6337+
value: team_1a2b3c4d5e6f7g8h9i0j1k2l
6338+
- name: slug
6339+
in: query
6340+
value: my-team-url-slug
6341+
requestBody:
6342+
contentType: application/json
6343+
payload:
6344+
billingPlanId: bp_abc123def456
6345+
externalId: dev-db-001
6346+
integrationConfigurationId: icfg_cuwj0AdCdH3BwWT4LPijCC7t
6347+
integrationProductIdOrSlug: iap_postgres_db
6348+
metadata:
6349+
environment: development
6350+
project: my-app
6351+
tags:
6352+
- database
6353+
- postgres
6354+
name: my-dev-database
6355+
paymentMethodId: pm_1AbcDefGhiJklMno
6356+
prepaymentAmountCents: 5000
6357+
protocolSettings:
6358+
experimentation:
6359+
edgeConfigSyncingEnabled: true
6360+
source: api
6361+
successCriteria:
6362+
- condition: $statusCode == 200
6363+
- condition: $response.header.Content-Type == application/json
6364+
- context: $response.body
6365+
condition: |
6366+
{
6367+
"store": {
6368+
"projectsMetadata": [
6369+
{
6370+
"id": "\u003cid\u003e",
6371+
"projectId": "\u003cid\u003e",
6372+
"name": "\u003cvalue\u003e",
6373+
"environments": [],
6374+
"envVarPrefix": "\u003cvalue\u003e",
6375+
"environmentVariables": [
6376+
"\u003cvalue 1\u003e",
6377+
"\u003cvalue 2\u003e"
6378+
]
6379+
}
6380+
],
6381+
"usageQuotaExceeded": true,
6382+
"status": "available",
6383+
"externalResourceId": "\u003cid\u003e",
6384+
"product": {
6385+
"value": {
6386+
"__@BRAND@7822": {}
6387+
}
6388+
},
6389+
"secrets": []
6390+
}
6391+
}
6392+
type: simple
6393+
x-speakeasy-test-group: integrations
6394+
x-speakeasy-test-rebuild: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.606.3
1+
speakeasyVersion: 1.609.0
22
sources:
33
vercel-OAS:
44
sourceNamespace: vercel-oas
5-
sourceRevisionDigest: sha256:262c42fd38ac0c6bc1257cac0868585776324bca611424aad7d10ee9c48b488e
6-
sourceBlobDigest: sha256:efe36ab1258fc06ae255530750f948652c36774e9bac9ca4b1216ad3116f91f1
5+
sourceRevisionDigest: sha256:863c453ea7e270c6702f66a8bb0efabc4a124931a789ac0a0db09eb08fc5a3b7
6+
sourceBlobDigest: sha256:e6b3f049c2eaacc334c581863343420a97a0e0ef9a9987c40417339658a030b4
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1755907635
9+
- speakeasy-sdk-regen-1756917845
1010
- 0.0.1
1111
targets:
1212
vercel:
1313
source: vercel-OAS
1414
sourceNamespace: vercel-oas
15-
sourceRevisionDigest: sha256:262c42fd38ac0c6bc1257cac0868585776324bca611424aad7d10ee9c48b488e
16-
sourceBlobDigest: sha256:efe36ab1258fc06ae255530750f948652c36774e9bac9ca4b1216ad3116f91f1
15+
sourceRevisionDigest: sha256:863c453ea7e270c6702f66a8bb0efabc4a124931a789ac0a0db09eb08fc5a3b7
16+
sourceBlobDigest: sha256:e6b3f049c2eaacc334c581863343420a97a0e0ef9a9987c40417339658a030b4
1717
codeSamplesNamespace: vercel-oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:500af4532c8a6ea5ebb2f1e744ebd83023c173477daad578cdd5532fef623654
18+
codeSamplesRevisionDigest: sha256:2c3a2906b6aac9ee2807d438bebc972bb81a151e70cf7fadf633f252aab53787
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 58 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,13 @@ const vercel = new Vercel({
198198
});
199199

200200
async function run() {
201-
const result = await vercel.accessGroups.readAccessGroup({
202-
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
203-
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
204-
slug: "my-team-url-slug",
205-
});
201+
const result = await vercel
202+
.getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(
203+
{
204+
integrationIdOrSlug: "<value>",
205+
productIdOrSlug: "<value>",
206+
},
207+
);
206208

207209
console.log(result);
208210
}
@@ -403,10 +405,12 @@ run();
403405
### [integrations](docs/sdks/integrations/README.md)
404406

405407
* [updateIntegrationDeploymentAction](docs/sdks/integrations/README.md#updateintegrationdeploymentaction) - Update deployment integration action
408+
* [connectIntegrationResourceToProject](docs/sdks/integrations/README.md#connectintegrationresourcetoproject) - Connect integration resource to project
406409
* [getConfigurations](docs/sdks/integrations/README.md#getconfigurations) - Get configurations for the authenticated user or team
407410
* [getConfiguration](docs/sdks/integrations/README.md#getconfiguration) - Retrieve an integration configuration
408411
* [deleteConfiguration](docs/sdks/integrations/README.md#deleteconfiguration) - Delete an integration configuration
409412
* [getConfigurationProducts](docs/sdks/integrations/README.md#getconfigurationproducts) - List products for integration configuration
413+
* [createIntegrationStoreDirect](docs/sdks/integrations/README.md#createintegrationstoredirect) - Create integration store (free and paid plans)
410414

411415
### [logDrains](docs/sdks/logdrains/README.md)
412416

@@ -517,6 +521,9 @@ run();
517521
* [getAuthUser](docs/sdks/user/README.md#getauthuser) - Get the User
518522
* [requestDelete](docs/sdks/user/README.md#requestdelete) - Delete User Account
519523

524+
### [Vercel SDK](docs/sdks/vercel/README.md)
525+
526+
* [getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans](docs/sdks/vercel/README.md#getv1integrationsintegrationintegrationidorslugproductsproductidorslugplans)
520527

521528
### [webhooks](docs/sdks/webhooks/README.md)
522529

@@ -626,6 +633,9 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
626633
- [`environmentGetV9ProjectsIdOrNameCustomEnvironments`](docs/sdks/environment/README.md#getv9projectsidornamecustomenvironments) - Retrieve custom environments
627634
- [`environmentRemoveCustomEnvironment`](docs/sdks/environment/README.md#removecustomenvironment) - Remove a custom environment
628635
- [`environmentUpdateCustomEnvironment`](docs/sdks/environment/README.md#updatecustomenvironment) - Update a custom environment
636+
- [`getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans`](docs/sdks/vercel/README.md#getv1integrationsintegrationintegrationidorslugproductsproductidorslugplans)
637+
- [`integrationsConnectIntegrationResourceToProject`](docs/sdks/integrations/README.md#connectintegrationresourcetoproject) - Connect integration resource to project
638+
- [`integrationsCreateIntegrationStoreDirect`](docs/sdks/integrations/README.md#createintegrationstoredirect) - Create integration store (free and paid plans)
629639
- [`integrationsDeleteConfiguration`](docs/sdks/integrations/README.md#deleteconfiguration) - Delete an integration configuration
630640
- [`integrationsGetConfiguration`](docs/sdks/integrations/README.md#getconfiguration) - Retrieve an integration configuration
631641
- [`integrationsGetConfigurationProducts`](docs/sdks/integrations/README.md#getconfigurationproducts) - List products for integration configuration
@@ -773,27 +783,28 @@ To change the default retry strategy for a single API call, simply provide a ret
773783
```typescript
774784
import { Vercel } from "@vercel/sdk";
775785

776-
const vercel = new Vercel({
777-
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
778-
});
786+
const vercel = new Vercel();
779787

780788
async function run() {
781-
const result = await vercel.accessGroups.readAccessGroup({
782-
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
783-
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
784-
slug: "my-team-url-slug",
785-
}, {
786-
retries: {
787-
strategy: "backoff",
788-
backoff: {
789-
initialInterval: 1,
790-
maxInterval: 50,
791-
exponent: 1.1,
792-
maxElapsedTime: 100,
789+
const result = await vercel
790+
.getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(
791+
{
792+
integrationIdOrSlug: "<value>",
793+
productIdOrSlug: "<value>",
793794
},
794-
retryConnectionErrors: false,
795-
},
796-
});
795+
{
796+
retries: {
797+
strategy: "backoff",
798+
backoff: {
799+
initialInterval: 1,
800+
maxInterval: 50,
801+
exponent: 1.1,
802+
maxElapsedTime: 100,
803+
},
804+
retryConnectionErrors: false,
805+
},
806+
},
807+
);
797808

798809
console.log(result);
799810
}
@@ -817,15 +828,16 @@ const vercel = new Vercel({
817828
},
818829
retryConnectionErrors: false,
819830
},
820-
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
821831
});
822832

823833
async function run() {
824-
const result = await vercel.accessGroups.readAccessGroup({
825-
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
826-
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
827-
slug: "my-team-url-slug",
828-
});
834+
const result = await vercel
835+
.getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(
836+
{
837+
integrationIdOrSlug: "<value>",
838+
productIdOrSlug: "<value>",
839+
},
840+
);
829841

830842
console.log(result);
831843
}
@@ -855,17 +867,17 @@ import { Vercel } from "@vercel/sdk";
855867
import { VercelBadRequestError } from "@vercel/sdk/models/vercelbadrequesterror.js";
856868
import { VercelError } from "@vercel/sdk/models/vercelerror.js.js";
857869

858-
const vercel = new Vercel({
859-
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
860-
});
870+
const vercel = new Vercel();
861871

862872
async function run() {
863873
try {
864-
const result = await vercel.accessGroups.readAccessGroup({
865-
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
866-
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
867-
slug: "my-team-url-slug",
868-
});
874+
const result = await vercel
875+
.getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(
876+
{
877+
integrationIdOrSlug: "<value>",
878+
productIdOrSlug: "<value>",
879+
},
880+
);
869881

870882
console.log(result);
871883
} catch (error) {
@@ -907,8 +919,8 @@ run();
907919

908920

909921
**Inherit from [`VercelError`](./src/models/vercelerror.ts)**:
910-
* [`VercelNotFoundError`](./src/models/vercelnotfounderror.ts): Status code `404`. Applicable to 106 of 174 methods.*
911-
* [`VercelRateLimitError`](./src/models/vercelratelimiterror.ts): . Status code `429`. Applicable to 4 of 174 methods.*
922+
* [`VercelNotFoundError`](./src/models/vercelnotfounderror.ts): Status code `404`. Applicable to 109 of 177 methods.*
923+
* [`VercelRateLimitError`](./src/models/vercelratelimiterror.ts): . Status code `429`. Applicable to 5 of 177 methods.*
912924
* [`ResponseValidationError`](./src/models/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
913925

914926
</details>
@@ -927,15 +939,16 @@ import { Vercel } from "@vercel/sdk";
927939

928940
const vercel = new Vercel({
929941
serverURL: "https://api.vercel.com",
930-
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
931942
});
932943

933944
async function run() {
934-
const result = await vercel.accessGroups.readAccessGroup({
935-
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
936-
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
937-
slug: "my-team-url-slug",
938-
});
945+
const result = await vercel
946+
.getV1IntegrationsIntegrationIntegrationIdOrSlugProductsProductIdOrSlugPlans(
947+
{
948+
integrationIdOrSlug: "<value>",
949+
productIdOrSlug: "<value>",
950+
},
951+
);
939952

940953
console.log(result);
941954
}

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,4 +508,14 @@ Based on:
508508
### Generated
509509
- [typescript v1.10.6] .
510510
### Releases
511-
- [NPM v1.10.6] https://www.npmjs.com/package/@vercel/sdk/v/1.10.6 - .
511+
- [NPM v1.10.6] https://www.npmjs.com/package/@vercel/sdk/v/1.10.6 - .
512+
513+
## 2025-09-03 16:43:39
514+
### Changes
515+
Based on:
516+
- OpenAPI Doc
517+
- Speakeasy CLI 1.609.0 (2.692.0) https://github.com/speakeasy-api/speakeasy
518+
### Generated
519+
- [typescript v1.10.7] .
520+
### Releases
521+
- [NPM v1.10.7] https://www.npmjs.com/package/@vercel/sdk/v/1.10.7 - .

docs/models/acceptedpolicies.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# AcceptedPolicies
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { AcceptedPolicies } from "@vercel/sdk/models/acceptprojecttransferrequestop.js";
7+
8+
let value: AcceptedPolicies = {
9+
eula: new Date("2024-03-17T08:03:51.448Z"),
10+
privacy: new Date("2025-01-02T10:20:13.120Z"),
11+
};
12+
```
13+
14+
## Fields
15+
16+
| Field | Type | Required | Description |
17+
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
18+
| `eula` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A |
19+
| `privacy` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A |
20+
| `additionalProperties` | Record<string, [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)> | :heavy_minus_sign: | N/A |

docs/models/acceptprojecttransferrequestrequestbody.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ let value: AcceptProjectTransferRequestRequestBody = {
1212

1313
## Fields
1414

15-
| Field | Type | Required | Description | Example |
16-
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
17-
| `newProjectName` | *string* | :heavy_minus_sign: | The desired name for the project | a-project-name |
18-
| `paidFeatures` | [models.PaidFeatures](../models/paidfeatures.md) | :heavy_minus_sign: | N/A | |
15+
| Field | Type | Required | Description | Example |
16+
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
17+
| `newProjectName` | *string* | :heavy_minus_sign: | The desired name for the project | a-project-name |
18+
| `paidFeatures` | [models.PaidFeatures](../models/paidfeatures.md) | :heavy_minus_sign: | N/A | |
19+
| `acceptedPolicies` | Record<string, [models.AcceptedPolicies](../models/acceptedpolicies.md)> | :heavy_minus_sign: | N/A | |

0 commit comments

Comments
 (0)