vercel-api-js 1.24.6 → 1.26.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-cctg7q5n.cjs → components-lk8rhlal.cjs} +464 -0
- package/dist/{components-ox62i5m3.js → components-n3skrp7b.js} +449 -1
- package/dist/components.cjs +17 -1
- package/dist/components.d.mts +362 -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 +35 -1
- package/dist/effect.d.mts.map +1 -1
- package/dist/effect.mjs +1 -1
- package/dist/index.cjs +287 -4
- package/dist/index.d.ts +1768 -30
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{schemas-j70lfer0.cjs → schemas-abrukyyd.cjs} +929 -13
- package/dist/{schemas-ezecif8d.js → schemas-ha4u4km9.js} +658 -12
- package/dist/schemas.cjs +273 -3
- package/dist/schemas.d.mts +371 -15
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +112 -0
- package/dist/types.d.mts +1021 -16
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +100 -1
- package/package.json +1 -1
|
@@ -7852,6 +7852,398 @@ 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. With `search`, every matching task is searched at once and only tasks with matching lines are returned.
|
|
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 Search the task logs of several invocation attempts
|
|
8168
|
+
* @description Searches the task logs of up to 50 invocation attempts at once, for example the most recent runs of a branch from `GET /v2/vercel-ci/invocations`. Only invocations and tasks with matching lines are returned. When more than 1000 lines match, the newest are kept.
|
|
8169
|
+
* @link /v1/vercel-ci/log-search
|
|
8170
|
+
*/ async function searchVercelCiLogs({ queryParams, config } = {}) {
|
|
8171
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8172
|
+
const data = await request({
|
|
8173
|
+
method: "GET",
|
|
8174
|
+
url: `/v1/vercel-ci/log-search`,
|
|
8175
|
+
queryParams,
|
|
8176
|
+
...requestConfig,
|
|
8177
|
+
headers: {
|
|
8178
|
+
...requestConfig.headers
|
|
8179
|
+
}
|
|
8180
|
+
});
|
|
8181
|
+
return data;
|
|
8182
|
+
}
|
|
8183
|
+
/**
|
|
8184
|
+
* @summary Get log lines for a specific job run attempt
|
|
8185
|
+
* @description Get Job Run Logs
|
|
8186
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/logs
|
|
8187
|
+
*/ async function getVercelCiJobRunLogs({ pathParams, queryParams, config } = {}) {
|
|
8188
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8189
|
+
if (!pathParams.invocationId) {
|
|
8190
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8191
|
+
}
|
|
8192
|
+
if (!pathParams.attempt) {
|
|
8193
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8194
|
+
}
|
|
8195
|
+
if (!pathParams.jobDefinitionId) {
|
|
8196
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8197
|
+
}
|
|
8198
|
+
if (!pathParams.runAttempt) {
|
|
8199
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8200
|
+
}
|
|
8201
|
+
const data = await request({
|
|
8202
|
+
method: "GET",
|
|
8203
|
+
url: `/v1/vercel-ci/invocations/${pathParams.invocationId}/attempts/${pathParams.attempt}/job-definitions/${pathParams.jobDefinitionId}/runs/${pathParams.runAttempt}/logs`,
|
|
8204
|
+
queryParams,
|
|
8205
|
+
...requestConfig,
|
|
8206
|
+
headers: {
|
|
8207
|
+
...requestConfig.headers
|
|
8208
|
+
}
|
|
8209
|
+
});
|
|
8210
|
+
return data;
|
|
8211
|
+
}
|
|
8212
|
+
/**
|
|
8213
|
+
* @summary Get log lines for a specific task run attempt
|
|
8214
|
+
* @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.
|
|
8215
|
+
* @link /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions/{taskDefinitionId}/runs/{taskRunAttempt}/logs
|
|
8216
|
+
*/ async function getVercelCiTaskRunLogs({ pathParams, queryParams, config } = {}) {
|
|
8217
|
+
const { client: request = client, ...requestConfig } = config ?? {};
|
|
8218
|
+
if (!pathParams.invocationId) {
|
|
8219
|
+
throw new Error(`Missing required path parameter: invocationId`);
|
|
8220
|
+
}
|
|
8221
|
+
if (!pathParams.attempt) {
|
|
8222
|
+
throw new Error(`Missing required path parameter: attempt`);
|
|
8223
|
+
}
|
|
8224
|
+
if (!pathParams.jobDefinitionId) {
|
|
8225
|
+
throw new Error(`Missing required path parameter: jobDefinitionId`);
|
|
8226
|
+
}
|
|
8227
|
+
if (!pathParams.runAttempt) {
|
|
8228
|
+
throw new Error(`Missing required path parameter: runAttempt`);
|
|
8229
|
+
}
|
|
8230
|
+
if (!pathParams.taskDefinitionId) {
|
|
8231
|
+
throw new Error(`Missing required path parameter: taskDefinitionId`);
|
|
8232
|
+
}
|
|
8233
|
+
if (!pathParams.taskRunAttempt) {
|
|
8234
|
+
throw new Error(`Missing required path parameter: taskRunAttempt`);
|
|
8235
|
+
}
|
|
8236
|
+
const data = await request({
|
|
8237
|
+
method: "GET",
|
|
8238
|
+
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`,
|
|
8239
|
+
queryParams,
|
|
8240
|
+
...requestConfig,
|
|
8241
|
+
headers: {
|
|
8242
|
+
...requestConfig.headers
|
|
8243
|
+
}
|
|
8244
|
+
});
|
|
8245
|
+
return data;
|
|
8246
|
+
}
|
|
7855
8247
|
/**
|
|
7856
8248
|
* @link /web/insights/toggle
|
|
7857
8249
|
*/ async function createWebInsightsToggle({ queryParams, config } = {}) {
|
|
@@ -8689,6 +9081,22 @@ const operationsByPath = {
|
|
|
8689
9081
|
"GET /v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}": getByTeamSlugByProjectSlugByRepositoryNameManifestsByReference,
|
|
8690
9082
|
"DELETE /v2/{teamSlug}/{projectSlug}/{repositoryName}/manifests/{reference}": deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference,
|
|
8691
9083
|
"GET /v2/{teamSlug}/{projectSlug}/{repositoryName}/tags/list": getByTeamSlugByProjectSlugByRepositoryNameTagsList,
|
|
9084
|
+
"GET /v2/vercel-ci/invocations": listVercelCiInvocations,
|
|
9085
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts": listVercelCiInvocationAttempts,
|
|
9086
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/tree": getVercelCiInvocationTree,
|
|
9087
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}": getVercelCiInvocation,
|
|
9088
|
+
"POST /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/retry": retryVercelCiInvocation,
|
|
9089
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions": listVercelCiJobDefinitions,
|
|
9090
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}": getVercelCiJobDefinition,
|
|
9091
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs": listVercelCiJobRuns,
|
|
9092
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}": getVercelCiJobRun,
|
|
9093
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions": listVercelCiTaskDefinitions,
|
|
9094
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-runs": listVercelCiTaskRuns,
|
|
9095
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/logs": getVercelCiInvocationLogs,
|
|
9096
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/task-logs": getVercelCiTaskLogs,
|
|
9097
|
+
"GET /v1/vercel-ci/log-search": searchVercelCiLogs,
|
|
9098
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/logs": getVercelCiJobRunLogs,
|
|
9099
|
+
"GET /v1/vercel-ci/invocations/{invocationId}/attempts/{attempt}/job-definitions/{jobDefinitionId}/runs/{runAttempt}/task-definitions/{taskDefinitionId}/runs/{taskRunAttempt}/logs": getVercelCiTaskRunLogs,
|
|
8692
9100
|
"POST /web/insights/toggle": createWebInsightsToggle,
|
|
8693
9101
|
"GET /v1/query/web-analytics/visits/aggregate": aggregatePageviews,
|
|
8694
9102
|
"GET /v1/query/web-analytics/events/aggregate": aggregateEvents,
|
|
@@ -9182,6 +9590,24 @@ const operationsByTag = {
|
|
|
9182
9590
|
deleteByTeamSlugByProjectSlugByRepositoryNameManifestsByReference,
|
|
9183
9591
|
getByTeamSlugByProjectSlugByRepositoryNameTagsList
|
|
9184
9592
|
},
|
|
9593
|
+
vercelCi: {
|
|
9594
|
+
listVercelCiInvocations,
|
|
9595
|
+
listVercelCiInvocationAttempts,
|
|
9596
|
+
getVercelCiInvocationTree,
|
|
9597
|
+
getVercelCiInvocation,
|
|
9598
|
+
retryVercelCiInvocation,
|
|
9599
|
+
listVercelCiJobDefinitions,
|
|
9600
|
+
getVercelCiJobDefinition,
|
|
9601
|
+
listVercelCiJobRuns,
|
|
9602
|
+
getVercelCiJobRun,
|
|
9603
|
+
listVercelCiTaskDefinitions,
|
|
9604
|
+
listVercelCiTaskRuns,
|
|
9605
|
+
getVercelCiInvocationLogs,
|
|
9606
|
+
getVercelCiTaskLogs,
|
|
9607
|
+
searchVercelCiLogs,
|
|
9608
|
+
getVercelCiJobRunLogs,
|
|
9609
|
+
getVercelCiTaskRunLogs
|
|
9610
|
+
},
|
|
9185
9611
|
webAnalytics: {
|
|
9186
9612
|
aggregatePageviews,
|
|
9187
9613
|
aggregateEvents,
|
|
@@ -9950,6 +10376,28 @@ const tagDictionary = {
|
|
|
9950
10376
|
"replaceByTeamSlugByProjectSlugByRepositoryNameManifestsByReference"
|
|
9951
10377
|
]
|
|
9952
10378
|
},
|
|
10379
|
+
vercelCi: {
|
|
10380
|
+
GET: [
|
|
10381
|
+
"listVercelCiInvocations",
|
|
10382
|
+
"listVercelCiInvocationAttempts",
|
|
10383
|
+
"getVercelCiInvocationTree",
|
|
10384
|
+
"getVercelCiInvocation",
|
|
10385
|
+
"listVercelCiJobDefinitions",
|
|
10386
|
+
"getVercelCiJobDefinition",
|
|
10387
|
+
"listVercelCiJobRuns",
|
|
10388
|
+
"getVercelCiJobRun",
|
|
10389
|
+
"listVercelCiTaskDefinitions",
|
|
10390
|
+
"listVercelCiTaskRuns",
|
|
10391
|
+
"getVercelCiInvocationLogs",
|
|
10392
|
+
"getVercelCiTaskLogs",
|
|
10393
|
+
"searchVercelCiLogs",
|
|
10394
|
+
"getVercelCiJobRunLogs",
|
|
10395
|
+
"getVercelCiTaskRunLogs"
|
|
10396
|
+
],
|
|
10397
|
+
POST: [
|
|
10398
|
+
"retryVercelCiInvocation"
|
|
10399
|
+
]
|
|
10400
|
+
},
|
|
9953
10401
|
webAnalytics: {
|
|
9954
10402
|
GET: [
|
|
9955
10403
|
"aggregatePageviews",
|
|
@@ -10257,6 +10705,14 @@ exports.getTeamMembers = getTeamMembers;
|
|
|
10257
10705
|
exports.getTeams = getTeams;
|
|
10258
10706
|
exports.getTld = getTld;
|
|
10259
10707
|
exports.getTldPrice = getTldPrice;
|
|
10708
|
+
exports.getVercelCiInvocation = getVercelCiInvocation;
|
|
10709
|
+
exports.getVercelCiInvocationLogs = getVercelCiInvocationLogs;
|
|
10710
|
+
exports.getVercelCiInvocationTree = getVercelCiInvocationTree;
|
|
10711
|
+
exports.getVercelCiJobDefinition = getVercelCiJobDefinition;
|
|
10712
|
+
exports.getVercelCiJobRun = getVercelCiJobRun;
|
|
10713
|
+
exports.getVercelCiJobRunLogs = getVercelCiJobRunLogs;
|
|
10714
|
+
exports.getVercelCiTaskLogs = getVercelCiTaskLogs;
|
|
10715
|
+
exports.getVercelCiTaskRunLogs = getVercelCiTaskRunLogs;
|
|
10260
10716
|
exports.getVersions = getVersions;
|
|
10261
10717
|
exports.getWebhook = getWebhook;
|
|
10262
10718
|
exports.getWebhooks = getWebhooks;
|
|
@@ -10308,6 +10764,12 @@ exports.listTeamFlagSettings = listTeamFlagSettings;
|
|
|
10308
10764
|
exports.listTeamFlags = listTeamFlags;
|
|
10309
10765
|
exports.listTeamFlagsV2 = listTeamFlagsV2;
|
|
10310
10766
|
exports.listUserEvents = listUserEvents;
|
|
10767
|
+
exports.listVercelCiInvocationAttempts = listVercelCiInvocationAttempts;
|
|
10768
|
+
exports.listVercelCiInvocations = listVercelCiInvocations;
|
|
10769
|
+
exports.listVercelCiJobDefinitions = listVercelCiJobDefinitions;
|
|
10770
|
+
exports.listVercelCiJobRuns = listVercelCiJobRuns;
|
|
10771
|
+
exports.listVercelCiTaskDefinitions = listVercelCiTaskDefinitions;
|
|
10772
|
+
exports.listVercelCiTaskRuns = listVercelCiTaskRuns;
|
|
10311
10773
|
exports.moveProjectDomain = moveProjectDomain;
|
|
10312
10774
|
exports.operationsByPath = operationsByPath;
|
|
10313
10775
|
exports.operationsByTag = operationsByTag;
|
|
@@ -10347,12 +10809,14 @@ exports.requestRollback = requestRollback;
|
|
|
10347
10809
|
exports.rerequestCheck = rerequestCheck;
|
|
10348
10810
|
exports.restoreEdgeConfigBackup = restoreEdgeConfigBackup;
|
|
10349
10811
|
exports.restoreRedirects = restoreRedirects;
|
|
10812
|
+
exports.retryVercelCiInvocation = retryVercelCiInvocation;
|
|
10350
10813
|
exports.revokeInstallationCredential = revokeInstallationCredential;
|
|
10351
10814
|
exports.revokeKmsSigningKey = revokeKmsSigningKey;
|
|
10352
10815
|
exports.rotateInstallationCredential = rotateInstallationCredential;
|
|
10353
10816
|
exports.runSessionCommand = runSessionCommand;
|
|
10354
10817
|
exports.searchDomains = searchDomains;
|
|
10355
10818
|
exports.searchRepo = searchRepo;
|
|
10819
|
+
exports.searchVercelCiLogs = searchVercelCiLogs;
|
|
10356
10820
|
exports.signKmsMessage = signKmsMessage;
|
|
10357
10821
|
exports.signKmsToken = signKmsToken;
|
|
10358
10822
|
exports.stageRedirects = stageRedirects;
|