Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.460.6 (#18)
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 Jan 3, 2025
1 parent b0e0dc4 commit 8bcd4e5
Show file tree
Hide file tree
Showing 977 changed files with 5,967 additions and 2,824 deletions.
641 changes: 553 additions & 88 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 @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
typescript:
version: 1.2.0
version: 1.2.1
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.456.0
speakeasyVersion: 1.460.6
sources:
vercel-OAS:
sourceNamespace: vercel-oas
sourceRevisionDigest: sha256:c7348ff56305ab2f7e9365158f186a14d9d38df3069bf7fb3f272ed2338452ff
sourceBlobDigest: sha256:8e5405c9babf34e8d5d5af47d77d0531db9a7706e7ce134ef7066c1211646721
sourceRevisionDigest: sha256:89f884ef6b932849af515bfc581a672a28baedb345e2dca3997cbf590d8cddba
sourceBlobDigest: sha256:ed2afad145ab2f50fd92a3192cfea740dd9da08a0ace088fb94a93eb916bf1f6
tags:
- latest
- speakeasy-sdk-regen-1734555116
- speakeasy-sdk-regen-1735916911
- 0.0.1
targets:
vercel:
source: vercel-OAS
sourceNamespace: vercel-oas
sourceRevisionDigest: sha256:c7348ff56305ab2f7e9365158f186a14d9d38df3069bf7fb3f272ed2338452ff
sourceBlobDigest: sha256:8e5405c9babf34e8d5d5af47d77d0531db9a7706e7ce134ef7066c1211646721
sourceRevisionDigest: sha256:89f884ef6b932849af515bfc581a672a28baedb345e2dca3997cbf590d8cddba
sourceBlobDigest: sha256:ed2afad145ab2f50fd92a3192cfea740dd9da08a0ace088fb94a93eb916bf1f6
codeSamplesNamespace: vercel-oas-typescript-code-samples
codeSamplesRevisionDigest: sha256:e0836b9c86412a333a623eb30ba145ae8a0aa0b243ab4d314a3f4caf4591bc30
codeSamplesRevisionDigest: sha256:a70eefb65a4b023e978de963f4752c02924820e3514f3d3a0f89ab45a717c429
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 2 additions & 0 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const vercel = new VercelCore({
async function run() {
const res = await projectsUpdateProject(vercel, {
idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: {
name: "a-project-name",
},
Expand Down
26 changes: 21 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ const vercel = new Vercel({

async function run() {
const result = await vercel.accessGroups.readAccessGroup({
idOrName: "<value>",
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});

// Handle the result
Expand Down Expand Up @@ -154,6 +156,8 @@ async function run() {
since: 1540095775941,
until: 1540095775951,
state: "BUILDING,READY",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});

// Handle the result
Expand All @@ -178,6 +182,8 @@ const vercel = new Vercel({
async function run() {
const result = await vercel.projects.updateProject({
idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: {
name: "a-project-name",
},
Expand Down Expand Up @@ -592,6 +598,8 @@ async function run() {
xArtifactClientInteractive: 0,
xArtifactTag: "Tc0BmHvJYMIYJ62/zx87YqO0Flxk+5Ovip25NY825CQ=",
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: await openAsBlob("example.file"),
});

Expand Down Expand Up @@ -619,7 +627,9 @@ const vercel = new Vercel({

async function run() {
const result = await vercel.accessGroups.readAccessGroup({
idOrName: "<value>",
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
}, {
retries: {
strategy: "backoff",
Expand Down Expand Up @@ -661,7 +671,9 @@ const vercel = new Vercel({

async function run() {
const result = await vercel.accessGroups.readAccessGroup({
idOrName: "<value>",
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});

// Handle the result
Expand Down Expand Up @@ -702,7 +714,9 @@ async function run() {
let result;
try {
result = await vercel.accessGroups.readAccessGroup({
idOrName: "<value>",
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});

// Handle the result
Expand Down Expand Up @@ -773,7 +787,9 @@ const vercel = new Vercel({

async function run() {
const result = await vercel.accessGroups.readAccessGroup({
idOrName: "<value>",
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});

// Handle the result
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,14 @@ Based on:
### Generated
- [typescript v1.2.0] .
### Releases
- [NPM v1.2.0] https://www.npmjs.com/package/@vercel/sdk/v/1.2.0 - .
- [NPM v1.2.0] https://www.npmjs.com/package/@vercel/sdk/v/1.2.0 - .

## 2025-01-03 15:08:26
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.460.6 (2.484.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.2.1] .
### Releases
- [NPM v1.2.1] https://www.npmjs.com/package/@vercel/sdk/v/1.2.1 - .
28 changes: 27 additions & 1 deletion RUNTIMES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Supported JavaScript runtimes

This SDK is intended to be used in JavaScript runtimes that support the following features:
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:

* [Web Fetch API][web-fetch]
* [Web Streams API][web-streams] and in particular `ReadableStream`
Expand All @@ -20,3 +20,29 @@ Runtime environments that are explicitly supported are:
- Note that Deno does not currently have native support for streaming file uploads backed by the filesystem ([issue link][deno-file-streaming])

[deno-file-streaming]: https://github.com/denoland/deno/issues/11018

## Recommended TypeScript compiler options

The following `tsconfig.json` options are recommended for projects using this
SDK in order to get static type support for features like async iterables,
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
so on):

[for-await-of]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
[abort-signal]: https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal
[request]: https://developer.mozilla.org/en-US/docs/Web/API/Request
[response]: https://developer.mozilla.org/en-US/docs/Web/API/Response

```jsonc
{
"compilerOptions": {
"target": "es2020", // or higher
"lib": ["es2020", "dom", "dom.iterable"],
}
}
```

While `target` can be set to older ECMAScript versions, it may result in extra,
unnecessary compatibility code being generated if you are not targeting old
runtimes.
4 changes: 4 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ async function run() {
since: 1540095775941,
until: 1540095775951,
state: "BUILDING,READY",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
});

// Handle the result
Expand All @@ -46,6 +48,8 @@ const vercel = new Vercel({
async function run() {
const result = await vercel.projects.updateProject({
idOrName: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: {
name: "a-project-name",
},
Expand Down
2 changes: 1 addition & 1 deletion docs/models/access.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { Access } from "@vercel/sdk/models/getaliasop.js";

let value: Access = "granted";
let value: Access = "requested";
```

## Values
Expand Down
26 changes: 13 additions & 13 deletions docs/models/active.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,41 @@ let value: Active = {
ownerId: "<id>",
projectKey: "<value>",
id: "<id>",
version: 8948.70,
updatedAt: "<value>",
version: 1902.61,
updatedAt: "1735916182190",
firewallEnabled: false,
crs: {
sd: {
active: false,
action: "deny",
action: "log",
},
ma: {
active: false,
action: "deny",
action: "log",
},
lfi: {
active: false,
action: "log",
action: "deny",
},
rfi: {
active: false,
action: "deny",
},
rce: {
active: false,
action: "deny",
action: "log",
},
php: {
active: false,
action: "log",
action: "deny",
},
gen: {
active: false,
action: "log",
action: "deny",
},
xss: {
active: false,
action: "deny",
action: "log",
},
sqli: {
active: false,
Expand All @@ -67,8 +67,8 @@ let value: Active = {
{
conditions: [
{
type: "target_path",
op: "gte",
type: "header",
op: "inc",
},
],
},
Expand All @@ -79,8 +79,8 @@ let value: Active = {
ips: [
{
id: "<id>",
hostname: "outlying-tennis.com",
ip: "b07f:af97:ccfb:e92c:d9eb:dcc2:f5fb:a5f2",
hostname: "intent-cd.com",
ip: "123.64.224.83",
action: "bypass",
},
],
Expand Down
14 changes: 8 additions & 6 deletions docs/models/addprojectdomainrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { AddProjectDomainRequest } from "@vercel/sdk/models/addprojectdomainop.j

let value: AddProjectDomainRequest = {
idOrName: "<value>",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: {
name: "www.example.com",
gitBranch: null,
Expand All @@ -18,9 +20,9 @@ let value: AddProjectDomainRequest = {

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name |
| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. |
| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. |
| `requestBody` | [models.AddProjectDomainRequestBody](../models/addprojectdomainrequestbody.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | |
| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l |
| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug |
| `requestBody` | [models.AddProjectDomainRequestBody](../models/addprojectdomainrequestbody.md) | :heavy_check_mark: | N/A | |
2 changes: 1 addition & 1 deletion docs/models/addprojectdomainverification.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { AddProjectDomainVerification } from "@vercel/sdk/models/addprojectdomai

let value: AddProjectDomainVerification = {
type: "<value>",
domain: "dependent-yeast.com",
domain: "gullible-disclosure.biz",
value: "<value>",
reason: "<value>",
};
Expand Down
6 changes: 4 additions & 2 deletions docs/models/addprojectmemberrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { AddProjectMemberRequest } from "@vercel/sdk/models/addprojectmemberop.j

let value: AddProjectMemberRequest = {
idOrName: "prj_pavWOn1iLObbXLRiwVvzmPrTWyTf",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
requestBody: {
uid: "ndlgr43fadlPyCtREAqxxdyFK",
username: "example",
Expand All @@ -21,6 +23,6 @@ let value: AddProjectMemberRequest = {
| Field | Type | Required | Description | Example |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `idOrName` | *string* | :heavy_check_mark: | The ID or name of the Project. | prj_pavWOn1iLObbXLRiwVvzmPrTWyTf |
| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | |
| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | |
| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l |
| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug |
| `requestBody` | *models.AddProjectMemberRequestBody* | :heavy_check_mark: | N/A | |
2 changes: 1 addition & 1 deletion docs/models/algo.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { Algo } from "@vercel/sdk/models/putfirewallconfigop.js";

let value: Algo = "token_bucket";
let value: Algo = "fixed_window";
```

## Values
Expand Down
2 changes: 1 addition & 1 deletion docs/models/aliasassigned.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### `number`

```typescript
const value: number = 1354.74;
const value: number = 4314.18;
```

### `boolean`
Expand Down
2 changes: 1 addition & 1 deletion docs/models/aliasassignedat.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### `number`

```typescript
const value: number = 1523.64;
const value: number = 2942.66;
```

### `boolean`
Expand Down
4 changes: 2 additions & 2 deletions docs/models/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { Analytics } from "@vercel/sdk/models/updateprojectdatacacheop.js";

let value: Analytics = {
id: "<id>",
disabledAt: 7252.54,
enabledAt: 5013.24,
disabledAt: 3015.75,
enabledAt: 6601.74,
};
```

Expand Down
6 changes: 4 additions & 2 deletions docs/models/artifactexistsrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import { ArtifactExistsRequest } from "@vercel/sdk/models/artifactexistsop.js";

let value: ArtifactExistsRequest = {
hash: "12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
slug: "my-team-url-slug",
};
```

Expand All @@ -15,5 +17,5 @@ let value: ArtifactExistsRequest = {
| Field | Type | Required | Description | Example |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `hash` | *string* | :heavy_check_mark: | The artifact hash | 12HKQaOmR5t5Uy6vdcQsNIiZgHGB |
| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | |
| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | |
| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l |
| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug |
Loading

0 comments on commit 8bcd4e5

Please sign in to comment.