vercel-api-js 1.24.6 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{components-ox62i5m3.js → components-f8ixt8jx.js} +429 -1
- package/dist/{components-cctg7q5n.cjs → components-mk3ipkl1.cjs} +443 -0
- package/dist/components.cjs +16 -1
- package/dist/components.d.mts +342 -1
- package/dist/components.d.mts.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/effect.cjs +1 -1
- package/dist/effect.d.mts +33 -1
- package/dist/effect.d.mts.map +1 -1
- package/dist/effect.mjs +1 -1
- package/dist/index.cjs +262 -2
- package/dist/index.d.ts +1571 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{schemas-ezecif8d.js → schemas-j0tvrdtp.js} +577 -1
- package/dist/{schemas-j70lfer0.cjs → schemas-k0nevqqe.cjs} +824 -0
- package/dist/schemas.cjs +249 -1
- package/dist/schemas.d.mts +319 -5
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +99 -0
- package/dist/types.d.mts +897 -2
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +88 -1
- package/package.json +1 -1
|
@@ -7852,6 +7852,381 @@ const resolveUrl = (url, queryParams = {})=>{
|
|
|
7852
7852
|
});
|
|
7853
7853
|
return data;
|
|
7854
7854
|
}
|
|
7855
|
+
/**
|
|
7856
|
+
* @summary List invocations for a team, optionally filtered by repository and invocation metadata
|
|
7857
|
+
* @description List Invocations
|
|
7858
|
+
* @link /v2/vercel-ci/invocations
|
|
7859
|
+
*/ async function listVercelCiInvocations({ queryParams, config } = {}) {
|
|
7860
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7861
|
+
const data = await request({
|
|
7862
|
+
method: "GET",
|
|
7863
|
+
url: `/v2/vercel-ci/invocations`,
|
|
7864
|
+
queryParams,
|
|
7865
|
+
...requestConfig,
|
|
7866
|
+
headers: {
|
|
7867
|
+
...requestConfig.headers
|
|
7868
|
+
}
|
|
7869
|
+
});
|
|
7870
|
+
return data;
|
|
7871
|
+
}
|
|
7872
|
+
/**
|
|
7873
|
+
* @summary List all attempts for an invocation
|
|
7874
|
+
* @description List Invocation Attempts
|
|
7875
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts
|
|
7876
|
+
*/ async function listVercelCiInvocationAttempts({ pathParams, queryParams, config } = {}) {
|
|
7877
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7878
|
+
if (!pathParams.invocationId) {
|
|
7879
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
7880
|
+
}
|
|
7881
|
+
const data = await request({
|
|
7882
|
+
method: "GET",
|
|
7883
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts`,
|
|
7884
|
+
queryParams,
|
|
7885
|
+
...requestConfig,
|
|
7886
|
+
headers: {
|
|
7887
|
+
...requestConfig.headers
|
|
7888
|
+
}
|
|
7889
|
+
});
|
|
7890
|
+
return data;
|
|
7891
|
+
}
|
|
7892
|
+
/**
|
|
7893
|
+
* @summary Get an invocation with its jobs and tasks
|
|
7894
|
+
* @description Returns an invocation attempt together with every job definition, its latest job run, and the task definitions and active task runs of that job run. Defaults to the latest attempt when `attempt` is omitted. With `follow=1` the response is a newline-delimited JSON stream: a `{"type":"tree", ...}` event with the full tree is sent immediately and again whenever it changes, and a final `{"type":"end","reason":...}` event is sent when the attempt finishes (`completed`) or the stream reaches its maximum duration (`timeout`), after which clients should reconnect.
|
|
7895
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/tree
|
|
7896
|
+
*/ async function getVercelCiInvocationTree({ pathParams, queryParams, config } = {}) {
|
|
7897
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7898
|
+
if (!pathParams.invocationId) {
|
|
7899
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
7900
|
+
}
|
|
7901
|
+
const data = await request({
|
|
7902
|
+
method: "GET",
|
|
7903
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/tree`,
|
|
7904
|
+
queryParams,
|
|
7905
|
+
...requestConfig,
|
|
7906
|
+
headers: {
|
|
7907
|
+
...requestConfig.headers
|
|
7908
|
+
}
|
|
7909
|
+
});
|
|
7910
|
+
return data;
|
|
7911
|
+
}
|
|
7912
|
+
/**
|
|
7913
|
+
* @summary Get a specific invocation attempt
|
|
7914
|
+
* @description Get Invocation
|
|
7915
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}
|
|
7916
|
+
*/ async function getVercelCiInvocation({ pathParams, queryParams, config } = {}) {
|
|
7917
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7918
|
+
if (!pathParams.invocationId) {
|
|
7919
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
7920
|
+
}
|
|
7921
|
+
if (!pathParams.attempt) {
|
|
7922
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
7923
|
+
}
|
|
7924
|
+
const data = await request({
|
|
7925
|
+
method: "GET",
|
|
7926
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}`,
|
|
7927
|
+
queryParams,
|
|
7928
|
+
...requestConfig,
|
|
7929
|
+
headers: {
|
|
7930
|
+
...requestConfig.headers
|
|
7931
|
+
}
|
|
7932
|
+
});
|
|
7933
|
+
return data;
|
|
7934
|
+
}
|
|
7935
|
+
/**
|
|
7936
|
+
* @summary Retry a terminal Vercel CI invocation attempt
|
|
7937
|
+
* @description Retry Invocation
|
|
7938
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/retry
|
|
7939
|
+
*/ async function retryVercelCiInvocation({ pathParams, queryParams, config } = {}) {
|
|
7940
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7941
|
+
if (!pathParams.invocationId) {
|
|
7942
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
7943
|
+
}
|
|
7944
|
+
if (!pathParams.attempt) {
|
|
7945
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
7946
|
+
}
|
|
7947
|
+
const data = await request({
|
|
7948
|
+
method: "POST",
|
|
7949
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/retry`,
|
|
7950
|
+
queryParams,
|
|
7951
|
+
...requestConfig,
|
|
7952
|
+
headers: {
|
|
7953
|
+
...requestConfig.headers
|
|
7954
|
+
}
|
|
7955
|
+
});
|
|
7956
|
+
return data;
|
|
7957
|
+
}
|
|
7958
|
+
/**
|
|
7959
|
+
* @summary List job definitions for an invocation attempt
|
|
7960
|
+
* @description List Job Definitions
|
|
7961
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions
|
|
7962
|
+
*/ async function listVercelCiJobDefinitions({ pathParams, queryParams, config } = {}) {
|
|
7963
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7964
|
+
if (!pathParams.invocationId) {
|
|
7965
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
7966
|
+
}
|
|
7967
|
+
if (!pathParams.attempt) {
|
|
7968
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
7969
|
+
}
|
|
7970
|
+
const data = await request({
|
|
7971
|
+
method: "GET",
|
|
7972
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions`,
|
|
7973
|
+
queryParams,
|
|
7974
|
+
...requestConfig,
|
|
7975
|
+
headers: {
|
|
7976
|
+
...requestConfig.headers
|
|
7977
|
+
}
|
|
7978
|
+
});
|
|
7979
|
+
return data;
|
|
7980
|
+
}
|
|
7981
|
+
/**
|
|
7982
|
+
* @summary Get a specific job definition
|
|
7983
|
+
* @description Get Job Definition
|
|
7984
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}
|
|
7985
|
+
*/ async function getVercelCiJobDefinition({ pathParams, queryParams, config } = {}) {
|
|
7986
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
7987
|
+
if (!pathParams.invocationId) {
|
|
7988
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
7989
|
+
}
|
|
7990
|
+
if (!pathParams.attempt) {
|
|
7991
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
7992
|
+
}
|
|
7993
|
+
if (!pathParams.jobDefinitionId) {
|
|
7994
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
7995
|
+
}
|
|
7996
|
+
const data = await request({
|
|
7997
|
+
method: "GET",
|
|
7998
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}`,
|
|
7999
|
+
queryParams,
|
|
8000
|
+
...requestConfig,
|
|
8001
|
+
headers: {
|
|
8002
|
+
...requestConfig.headers
|
|
8003
|
+
}
|
|
8004
|
+
});
|
|
8005
|
+
return data;
|
|
8006
|
+
}
|
|
8007
|
+
/**
|
|
8008
|
+
* @summary List all runs for a job definition
|
|
8009
|
+
* @description List Job Runs
|
|
8010
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs
|
|
8011
|
+
*/ async function listVercelCiJobRuns({ pathParams, queryParams, config } = {}) {
|
|
8012
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8013
|
+
if (!pathParams.invocationId) {
|
|
8014
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8015
|
+
}
|
|
8016
|
+
if (!pathParams.attempt) {
|
|
8017
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8018
|
+
}
|
|
8019
|
+
if (!pathParams.jobDefinitionId) {
|
|
8020
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8021
|
+
}
|
|
8022
|
+
const data = await request({
|
|
8023
|
+
method: "GET",
|
|
8024
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs`,
|
|
8025
|
+
queryParams,
|
|
8026
|
+
...requestConfig,
|
|
8027
|
+
headers: {
|
|
8028
|
+
...requestConfig.headers
|
|
8029
|
+
}
|
|
8030
|
+
});
|
|
8031
|
+
return data;
|
|
8032
|
+
}
|
|
8033
|
+
/**
|
|
8034
|
+
* @summary Get a specific job run attempt
|
|
8035
|
+
* @description Get Job Run
|
|
8036
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}
|
|
8037
|
+
*/ async function getVercelCiJobRun({ pathParams, queryParams, config } = {}) {
|
|
8038
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8039
|
+
if (!pathParams.invocationId) {
|
|
8040
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8041
|
+
}
|
|
8042
|
+
if (!pathParams.attempt) {
|
|
8043
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8044
|
+
}
|
|
8045
|
+
if (!pathParams.jobDefinitionId) {
|
|
8046
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8047
|
+
}
|
|
8048
|
+
if (!pathParams.runAttempt) {
|
|
8049
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8050
|
+
}
|
|
8051
|
+
const data = await request({
|
|
8052
|
+
method: "GET",
|
|
8053
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs/${pathParams.runAttempt}`,
|
|
8054
|
+
queryParams,
|
|
8055
|
+
...requestConfig,
|
|
8056
|
+
headers: {
|
|
8057
|
+
...requestConfig.headers
|
|
8058
|
+
}
|
|
8059
|
+
});
|
|
8060
|
+
return data;
|
|
8061
|
+
}
|
|
8062
|
+
/**
|
|
8063
|
+
* @summary List all task definitions for a job run
|
|
8064
|
+
* @description List Task Definitions
|
|
8065
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions
|
|
8066
|
+
*/ async function listVercelCiTaskDefinitions({ pathParams, queryParams, config } = {}) {
|
|
8067
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8068
|
+
if (!pathParams.invocationId) {
|
|
8069
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8070
|
+
}
|
|
8071
|
+
if (!pathParams.attempt) {
|
|
8072
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8073
|
+
}
|
|
8074
|
+
if (!pathParams.jobDefinitionId) {
|
|
8075
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8076
|
+
}
|
|
8077
|
+
if (!pathParams.runAttempt) {
|
|
8078
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8079
|
+
}
|
|
8080
|
+
const data = await request({
|
|
8081
|
+
method: "GET",
|
|
8082
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs/${pathParams.runAttempt}/task-definitions`,
|
|
8083
|
+
queryParams,
|
|
8084
|
+
...requestConfig,
|
|
8085
|
+
headers: {
|
|
8086
|
+
...requestConfig.headers
|
|
8087
|
+
}
|
|
8088
|
+
});
|
|
8089
|
+
return data;
|
|
8090
|
+
}
|
|
8091
|
+
/**
|
|
8092
|
+
* @summary List task runs for a job run
|
|
8093
|
+
* @description List Task Runs
|
|
8094
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-runs
|
|
8095
|
+
*/ async function listVercelCiTaskRuns({ pathParams, queryParams, config } = {}) {
|
|
8096
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8097
|
+
if (!pathParams.invocationId) {
|
|
8098
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8099
|
+
}
|
|
8100
|
+
if (!pathParams.attempt) {
|
|
8101
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8102
|
+
}
|
|
8103
|
+
if (!pathParams.jobDefinitionId) {
|
|
8104
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8105
|
+
}
|
|
8106
|
+
if (!pathParams.runAttempt) {
|
|
8107
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8108
|
+
}
|
|
8109
|
+
const data = await request({
|
|
8110
|
+
method: "GET",
|
|
8111
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs/${pathParams.runAttempt}/task-runs`,
|
|
8112
|
+
queryParams,
|
|
8113
|
+
...requestConfig,
|
|
8114
|
+
headers: {
|
|
8115
|
+
...requestConfig.headers
|
|
8116
|
+
}
|
|
8117
|
+
});
|
|
8118
|
+
return data;
|
|
8119
|
+
}
|
|
8120
|
+
/**
|
|
8121
|
+
* @summary Get log lines for an invocation attempt
|
|
8122
|
+
* @description Get Invocation Logs
|
|
8123
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs
|
|
8124
|
+
*/ async function getVercelCiInvocationLogs({ pathParams, queryParams, config } = {}) {
|
|
8125
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8126
|
+
if (!pathParams.invocationId) {
|
|
8127
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8128
|
+
}
|
|
8129
|
+
if (!pathParams.attempt) {
|
|
8130
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8131
|
+
}
|
|
8132
|
+
const data = await request({
|
|
8133
|
+
method: "GET",
|
|
8134
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/logs`,
|
|
8135
|
+
queryParams,
|
|
8136
|
+
...requestConfig,
|
|
8137
|
+
headers: {
|
|
8138
|
+
...requestConfig.headers
|
|
8139
|
+
}
|
|
8140
|
+
});
|
|
8141
|
+
return data;
|
|
8142
|
+
}
|
|
8143
|
+
/**
|
|
8144
|
+
* @summary Get log lines for the tasks of an invocation attempt
|
|
8145
|
+
* @description Returns log lines for the tasks of an invocation attempt in a single request, grouped by task. Tasks can be narrowed by name and by conclusion, for example `conclusion=failed` to fetch only the logs of failed tasks.
|
|
8146
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/task-logs
|
|
8147
|
+
*/ async function getVercelCiTaskLogs({ pathParams, queryParams, config } = {}) {
|
|
8148
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8149
|
+
if (!pathParams.invocationId) {
|
|
8150
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8151
|
+
}
|
|
8152
|
+
if (!pathParams.attempt) {
|
|
8153
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8154
|
+
}
|
|
8155
|
+
const data = await request({
|
|
8156
|
+
method: "GET",
|
|
8157
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/task-logs`,
|
|
8158
|
+
queryParams,
|
|
8159
|
+
...requestConfig,
|
|
8160
|
+
headers: {
|
|
8161
|
+
...requestConfig.headers
|
|
8162
|
+
}
|
|
8163
|
+
});
|
|
8164
|
+
return data;
|
|
8165
|
+
}
|
|
8166
|
+
/**
|
|
8167
|
+
* @summary Get log lines for a specific job run attempt
|
|
8168
|
+
* @description Get Job Run Logs
|
|
8169
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/logs
|
|
8170
|
+
*/ async function getVercelCiJobRunLogs({ pathParams, queryParams, config } = {}) {
|
|
8171
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8172
|
+
if (!pathParams.invocationId) {
|
|
8173
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8174
|
+
}
|
|
8175
|
+
if (!pathParams.attempt) {
|
|
8176
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8177
|
+
}
|
|
8178
|
+
if (!pathParams.jobDefinitionId) {
|
|
8179
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8180
|
+
}
|
|
8181
|
+
if (!pathParams.runAttempt) {
|
|
8182
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8183
|
+
}
|
|
8184
|
+
const data = await request({
|
|
8185
|
+
method: "GET",
|
|
8186
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs/${pathParams.runAttempt}/logs`,
|
|
8187
|
+
queryParams,
|
|
8188
|
+
...requestConfig,
|
|
8189
|
+
headers: {
|
|
8190
|
+
...requestConfig.headers
|
|
8191
|
+
}
|
|
8192
|
+
});
|
|
8193
|
+
return data;
|
|
8194
|
+
}
|
|
8195
|
+
/**
|
|
8196
|
+
* @summary Get log lines for a specific task run attempt
|
|
8197
|
+
* @description Get Task Run Logs With `follow=1` the response is a newline-delimited JSON stream of log lines that ends once the task run has finished and its logs are flushed, or when the stream reaches its maximum duration.
|
|
8198
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions/{taskDefinitionId}/runs/{taskRunAttempt}/logs
|
|
8199
|
+
*/ async function getVercelCiTaskRunLogs({ pathParams, queryParams, config } = {}) {
|
|
8200
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8201
|
+
if (!pathParams.invocationId) {
|
|
8202
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8203
|
+
}
|
|
8204
|
+
if (!pathParams.attempt) {
|
|
8205
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8206
|
+
}
|
|
8207
|
+
if (!pathParams.jobDefinitionId) {
|
|
8208
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8209
|
+
}
|
|
8210
|
+
if (!pathParams.runAttempt) {
|
|
8211
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8212
|
+
}
|
|
8213
|
+
if (!pathParams.taskDefinitionId) {
|
|
8214
|
+
throw new Error(`Missing required path parameter: taskDefinitionId`);
|
|
8215
|
+
}
|
|
8216
|
+
if (!pathParams.taskRunAttempt) {
|
|
8217
|
+
throw new Error(`Missing required path parameter: taskRunAttempt`);
|
|
8218
|
+
}
|
|
8219
|
+
const data = await request({
|
|
8220
|
+
method: "GET",
|
|
8221
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs/${pathParams.runAttempt}/task-definitions/${pathParams.taskDefinitionId}/runs/${pathParams.taskRunAttempt}/logs`,
|
|
8222
|
+
queryParams,
|
|
8223
|
+
...requestConfig,
|
|
8224
|
+
headers: {
|
|
8225
|
+
...requestConfig.headers
|
|
8226
|
+
}
|
|
8227
|
+
});
|
|
8228
|
+
return data;
|
|
8229
|
+
}
|
|
7855
8230
|
/**
|
|
7856
8231
|
* @link /web/insights/toggle
|
|
7857
8232
|
*/ async function createWebInsightsToggle({ queryParams, config } = {}) {
|
|
@@ -8689,6 +9064,21 @@ const operationsByPath = {
|
|
|
8689
9064
|
"GET /v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}": getByTeamSlugByProjectSlugByRepositoryNameManifestsByReference,
|
|
8690
9065
|
"DELETE /v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}": deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference,
|
|
8691
9066
|
"GET /v2/{teamSlug}/{projectSlug}/{repositoryName}/tags/list": getByTeamSlugByProjectSlugByRepositoryNameTagsList,
|
|
9067
|
+
"GET /v2/vercel-ci/invocations": listVercelCiInvocations,
|
|
9068
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts": listVercelCiInvocationAttempts,
|
|
9069
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/tree": getVercelCiInvocationTree,
|
|
9070
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}": getVercelCiInvocation,
|
|
9071
|
+
"POST /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/retry": retryVercelCiInvocation,
|
|
9072
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions": listVercelCiJobDefinitions,
|
|
9073
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}": getVercelCiJobDefinition,
|
|
9074
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs": listVercelCiJobRuns,
|
|
9075
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}": getVercelCiJobRun,
|
|
9076
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions": listVercelCiTaskDefinitions,
|
|
9077
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-runs": listVercelCiTaskRuns,
|
|
9078
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs": getVercelCiInvocationLogs,
|
|
9079
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/task-logs": getVercelCiTaskLogs,
|
|
9080
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/logs": getVercelCiJobRunLogs,
|
|
9081
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions/{taskDefinitionId}/runs/{taskRunAttempt}/logs": getVercelCiTaskRunLogs,
|
|
8692
9082
|
"POST /web/insights/toggle": createWebInsightsToggle,
|
|
8693
9083
|
"GET /v1/query/web-analytics/visits/aggregate": aggregatePageviews,
|
|
8694
9084
|
"GET /v1/query/web-analytics/events/aggregate": aggregateEvents,
|
|
@@ -9182,6 +9572,23 @@ const operationsByTag = {
|
|
|
9182
9572
|
deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference,
|
|
9183
9573
|
getByTeamSlugByProjectSlugByRepositoryNameTagsList
|
|
9184
9574
|
},
|
|
9575
|
+
vercelCi: {
|
|
9576
|
+
listVercelCiInvocations,
|
|
9577
|
+
listVercelCiInvocationAttempts,
|
|
9578
|
+
getVercelCiInvocationTree,
|
|
9579
|
+
getVercelCiInvocation,
|
|
9580
|
+
retryVercelCiInvocation,
|
|
9581
|
+
listVercelCiJobDefinitions,
|
|
9582
|
+
getVercelCiJobDefinition,
|
|
9583
|
+
listVercelCiJobRuns,
|
|
9584
|
+
getVercelCiJobRun,
|
|
9585
|
+
listVercelCiTaskDefinitions,
|
|
9586
|
+
listVercelCiTaskRuns,
|
|
9587
|
+
getVercelCiInvocationLogs,
|
|
9588
|
+
getVercelCiTaskLogs,
|
|
9589
|
+
getVercelCiJobRunLogs,
|
|
9590
|
+
getVercelCiTaskRunLogs
|
|
9591
|
+
},
|
|
9185
9592
|
webAnalytics: {
|
|
9186
9593
|
aggregatePageviews,
|
|
9187
9594
|
aggregateEvents,
|
|
@@ -9950,6 +10357,27 @@ const tagDictionary = {
|
|
|
9950
10357
|
"replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference"
|
|
9951
10358
|
]
|
|
9952
10359
|
},
|
|
10360
|
+
vercelCi: {
|
|
10361
|
+
GET: [
|
|
10362
|
+
"listVercelCiInvocations",
|
|
10363
|
+
"listVercelCiInvocationAttempts",
|
|
10364
|
+
"getVercelCiInvocationTree",
|
|
10365
|
+
"getVercelCiInvocation",
|
|
10366
|
+
"listVercelCiJobDefinitions",
|
|
10367
|
+
"getVercelCiJobDefinition",
|
|
10368
|
+
"listVercelCiJobRuns",
|
|
10369
|
+
"getVercelCiJobRun",
|
|
10370
|
+
"listVercelCiTaskDefinitions",
|
|
10371
|
+
"listVercelCiTaskRuns",
|
|
10372
|
+
"getVercelCiInvocationLogs",
|
|
10373
|
+
"getVercelCiTaskLogs",
|
|
10374
|
+
"getVercelCiJobRunLogs",
|
|
10375
|
+
"getVercelCiTaskRunLogs"
|
|
10376
|
+
],
|
|
10377
|
+
POST: [
|
|
10378
|
+
"retryVercelCiInvocation"
|
|
10379
|
+
]
|
|
10380
|
+
},
|
|
9953
10381
|
webAnalytics: {
|
|
9954
10382
|
GET: [
|
|
9955
10383
|
"aggregatePageviews",
|
|
@@ -10257,6 +10685,14 @@ exports.getTeamMembers = getTeamMembers;
|
|
|
10257
10685
|
exports.getTeams = getTeams;
|
|
10258
10686
|
exports.getTld = getTld;
|
|
10259
10687
|
exports.getTldPrice = getTldPrice;
|
|
10688
|
+
exports.getVercelCiInvocation = getVercelCiInvocation;
|
|
10689
|
+
exports.getVercelCiInvocationLogs = getVercelCiInvocationLogs;
|
|
10690
|
+
exports.getVercelCiInvocationTree = getVercelCiInvocationTree;
|
|
10691
|
+
exports.getVercelCiJobDefinition = getVercelCiJobDefinition;
|
|
10692
|
+
exports.getVercelCiJobRun = getVercelCiJobRun;
|
|
10693
|
+
exports.getVercelCiJobRunLogs = getVercelCiJobRunLogs;
|
|
10694
|
+
exports.getVercelCiTaskLogs = getVercelCiTaskLogs;
|
|
10695
|
+
exports.getVercelCiTaskRunLogs = getVercelCiTaskRunLogs;
|
|
10260
10696
|
exports.getVersions = getVersions;
|
|
10261
10697
|
exports.getWebhook = getWebhook;
|
|
10262
10698
|
exports.getWebhooks = getWebhooks;
|
|
@@ -10308,6 +10744,12 @@ exports.listTeamFlagSettings = listTeamFlagSettings;
|
|
|
10308
10744
|
exports.listTeamFlags = listTeamFlags;
|
|
10309
10745
|
exports.listTeamFlagsV2 = listTeamFlagsV2;
|
|
10310
10746
|
exports.listUserEvents = listUserEvents;
|
|
10747
|
+
exports.listVercelCiInvocationAttempts = listVercelCiInvocationAttempts;
|
|
10748
|
+
exports.listVercelCiInvocations = listVercelCiInvocations;
|
|
10749
|
+
exports.listVercelCiJobDefinitions = listVercelCiJobDefinitions;
|
|
10750
|
+
exports.listVercelCiJobRuns = listVercelCiJobRuns;
|
|
10751
|
+
exports.listVercelCiTaskDefinitions = listVercelCiTaskDefinitions;
|
|
10752
|
+
exports.listVercelCiTaskRuns = listVercelCiTaskRuns;
|
|
10311
10753
|
exports.moveProjectDomain = moveProjectDomain;
|
|
10312
10754
|
exports.operationsByPath = operationsByPath;
|
|
10313
10755
|
exports.operationsByTag = operationsByTag;
|
|
@@ -10347,6 +10789,7 @@ exports.requestRollback = requestRollback;
|
|
|
10347
10789
|
exports.rerequestCheck = rerequestCheck;
|
|
10348
10790
|
exports.restoreEdgeConfigBackup = restoreEdgeConfigBackup;
|
|
10349
10791
|
exports.restoreRedirects = restoreRedirects;
|
|
10792
|
+
exports.retryVercelCiInvocation = retryVercelCiInvocation;
|
|
10350
10793
|
exports.revokeInstallationCredential = revokeInstallationCredential;
|
|
10351
10794
|
exports.revokeKmsSigningKey = revokeKmsSigningKey;
|
|
10352
10795
|
exports.rotateInstallationCredential = rotateInstallationCredential;
|
package/dist/components.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var components = require('./components-
|
|
3
|
+
var components = require('./components-mk3ipkl1.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -257,6 +257,14 @@ exports.getTeamMembers = components.getTeamMembers;
|
|
|
257
257
|
exports.getTeams = components.getTeams;
|
|
258
258
|
exports.getTld = components.getTld;
|
|
259
259
|
exports.getTldPrice = components.getTldPrice;
|
|
260
|
+
exports.getVercelCiInvocation = components.getVercelCiInvocation;
|
|
261
|
+
exports.getVercelCiInvocationLogs = components.getVercelCiInvocationLogs;
|
|
262
|
+
exports.getVercelCiInvocationTree = components.getVercelCiInvocationTree;
|
|
263
|
+
exports.getVercelCiJobDefinition = components.getVercelCiJobDefinition;
|
|
264
|
+
exports.getVercelCiJobRun = components.getVercelCiJobRun;
|
|
265
|
+
exports.getVercelCiJobRunLogs = components.getVercelCiJobRunLogs;
|
|
266
|
+
exports.getVercelCiTaskLogs = components.getVercelCiTaskLogs;
|
|
267
|
+
exports.getVercelCiTaskRunLogs = components.getVercelCiTaskRunLogs;
|
|
260
268
|
exports.getVersions = components.getVersions;
|
|
261
269
|
exports.getWebhook = components.getWebhook;
|
|
262
270
|
exports.getWebhooks = components.getWebhooks;
|
|
@@ -308,6 +316,12 @@ exports.listTeamFlagSettings = components.listTeamFlagSettings;
|
|
|
308
316
|
exports.listTeamFlags = components.listTeamFlags;
|
|
309
317
|
exports.listTeamFlagsV2 = components.listTeamFlagsV2;
|
|
310
318
|
exports.listUserEvents = components.listUserEvents;
|
|
319
|
+
exports.listVercelCiInvocationAttempts = components.listVercelCiInvocationAttempts;
|
|
320
|
+
exports.listVercelCiInvocations = components.listVercelCiInvocations;
|
|
321
|
+
exports.listVercelCiJobDefinitions = components.listVercelCiJobDefinitions;
|
|
322
|
+
exports.listVercelCiJobRuns = components.listVercelCiJobRuns;
|
|
323
|
+
exports.listVercelCiTaskDefinitions = components.listVercelCiTaskDefinitions;
|
|
324
|
+
exports.listVercelCiTaskRuns = components.listVercelCiTaskRuns;
|
|
311
325
|
exports.moveProjectDomain = components.moveProjectDomain;
|
|
312
326
|
exports.operationsByPath = components.operationsByPath;
|
|
313
327
|
exports.operationsByTag = components.operationsByTag;
|
|
@@ -347,6 +361,7 @@ exports.requestRollback = components.requestRollback;
|
|
|
347
361
|
exports.rerequestCheck = components.rerequestCheck;
|
|
348
362
|
exports.restoreEdgeConfigBackup = components.restoreEdgeConfigBackup;
|
|
349
363
|
exports.restoreRedirects = components.restoreRedirects;
|
|
364
|
+
exports.retryVercelCiInvocation = components.retryVercelCiInvocation;
|
|
350
365
|
exports.revokeInstallationCredential = components.revokeInstallationCredential;
|
|
351
366
|
exports.revokeKmsSigningKey = components.revokeKmsSigningKey;
|
|
352
367
|
exports.rotateInstallationCredential = components.rotateInstallationCredential;
|