@boboddy/sdk 0.1.45-alpha → 0.2.3-alpha
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/client.js +101 -0
- package/dist/defaults/index.js +3 -3
- package/dist/definitions/pipelines/builder-helpers.d.ts +69 -0
- package/dist/definitions/pipelines/builder.d.ts +4 -57
- package/dist/definitions/pipelines/index.js +137 -84
- package/dist/definitions/steps/index.js +88 -27
- package/dist/definitions/steps/step-features.d.ts +3 -3
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +13 -1
- package/dist/generated/types.gen.d.ts +1364 -411
- package/dist/index.js +220 -109
- package/dist/opencode-mcp.js +2 -2
- package/dist/opencode-plugin.js +2 -2
- package/dist/push/index.js +178 -111
- package/dist/step-execution-plane-client.d.ts +49 -0
- package/package.json +1 -1
|
@@ -100,6 +100,7 @@ export type GetApiProjectsResponses = {
|
|
|
100
100
|
description: string | unknown;
|
|
101
101
|
gitUrl: string;
|
|
102
102
|
createdByUserId: string;
|
|
103
|
+
orgId: string;
|
|
103
104
|
memberships: Array<{
|
|
104
105
|
userId: string;
|
|
105
106
|
permissions: Array<string>;
|
|
@@ -266,6 +267,7 @@ export type PostApiProjectsResponses = {
|
|
|
266
267
|
description: string | unknown;
|
|
267
268
|
gitUrl: string;
|
|
268
269
|
createdByUserId: string;
|
|
270
|
+
orgId: string;
|
|
269
271
|
memberships: Array<{
|
|
270
272
|
userId: string;
|
|
271
273
|
permissions: Array<string>;
|
|
@@ -542,6 +544,7 @@ export type GetApiProjectsByProjectIdResponses = {
|
|
|
542
544
|
description: string | unknown;
|
|
543
545
|
gitUrl: string;
|
|
544
546
|
createdByUserId: string;
|
|
547
|
+
orgId: string;
|
|
545
548
|
memberships: Array<{
|
|
546
549
|
userId: string;
|
|
547
550
|
permissions: Array<string>;
|
|
@@ -848,6 +851,7 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
|
|
|
848
851
|
description: string | unknown;
|
|
849
852
|
gitUrl: string;
|
|
850
853
|
createdByUserId: string;
|
|
854
|
+
orgId: string;
|
|
851
855
|
memberships: Array<{
|
|
852
856
|
userId: string;
|
|
853
857
|
permissions: Array<string>;
|
|
@@ -1013,6 +1017,7 @@ export type PutApiProjectsByProjectIdMembersByUserIdPermissionsResponses = {
|
|
|
1013
1017
|
description: string | unknown;
|
|
1014
1018
|
gitUrl: string;
|
|
1015
1019
|
createdByUserId: string;
|
|
1020
|
+
orgId: string;
|
|
1016
1021
|
memberships: Array<{
|
|
1017
1022
|
userId: string;
|
|
1018
1023
|
permissions: Array<string>;
|
|
@@ -1930,23 +1935,103 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
1930
1935
|
};
|
|
1931
1936
|
};
|
|
1932
1937
|
export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponse = PutApiStepDefinitionsByStepDefinitionIdArchiveResponses[keyof PutApiStepDefinitionsByStepDefinitionIdArchiveResponses];
|
|
1933
|
-
export type
|
|
1938
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlData = {
|
|
1934
1939
|
body: {
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
+
claimToken: string;
|
|
1941
|
+
relativeStorePath: string;
|
|
1942
|
+
contentType?: string;
|
|
1943
|
+
};
|
|
1944
|
+
path: {
|
|
1945
|
+
stepExecutionId: string;
|
|
1940
1946
|
};
|
|
1941
|
-
path?: never;
|
|
1942
1947
|
query?: never;
|
|
1943
|
-
url: '/api/step-executions/
|
|
1948
|
+
url: '/api/step-executions/{stepExecutionId}/artifact-upload-url';
|
|
1944
1949
|
};
|
|
1945
|
-
export type
|
|
1950
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors = {
|
|
1946
1951
|
/**
|
|
1947
|
-
* Response for status
|
|
1952
|
+
* Response for status 401
|
|
1948
1953
|
*/
|
|
1949
|
-
|
|
1954
|
+
401: {
|
|
1955
|
+
type: string;
|
|
1956
|
+
title: string;
|
|
1957
|
+
status: number;
|
|
1958
|
+
detail?: string;
|
|
1959
|
+
instance?: string;
|
|
1960
|
+
code?: string;
|
|
1961
|
+
errors?: Array<{
|
|
1962
|
+
path: string;
|
|
1963
|
+
message: string;
|
|
1964
|
+
summary?: string;
|
|
1965
|
+
}>;
|
|
1966
|
+
};
|
|
1967
|
+
/**
|
|
1968
|
+
* Response for status 403
|
|
1969
|
+
*/
|
|
1970
|
+
403: {
|
|
1971
|
+
type: string;
|
|
1972
|
+
title: string;
|
|
1973
|
+
status: number;
|
|
1974
|
+
detail?: string;
|
|
1975
|
+
instance?: string;
|
|
1976
|
+
code?: string;
|
|
1977
|
+
errors?: Array<{
|
|
1978
|
+
path: string;
|
|
1979
|
+
message: string;
|
|
1980
|
+
summary?: string;
|
|
1981
|
+
}>;
|
|
1982
|
+
};
|
|
1983
|
+
/**
|
|
1984
|
+
* Response for status 404
|
|
1985
|
+
*/
|
|
1986
|
+
404: {
|
|
1987
|
+
type: string;
|
|
1988
|
+
title: string;
|
|
1989
|
+
status: number;
|
|
1990
|
+
detail?: string;
|
|
1991
|
+
instance?: string;
|
|
1992
|
+
code?: string;
|
|
1993
|
+
errors?: Array<{
|
|
1994
|
+
path: string;
|
|
1995
|
+
message: string;
|
|
1996
|
+
summary?: string;
|
|
1997
|
+
}>;
|
|
1998
|
+
};
|
|
1999
|
+
/**
|
|
2000
|
+
* Response for status 409
|
|
2001
|
+
*/
|
|
2002
|
+
409: {
|
|
2003
|
+
type: string;
|
|
2004
|
+
title: string;
|
|
2005
|
+
status: number;
|
|
2006
|
+
detail?: string;
|
|
2007
|
+
instance?: string;
|
|
2008
|
+
code?: string;
|
|
2009
|
+
errors?: Array<{
|
|
2010
|
+
path: string;
|
|
2011
|
+
message: string;
|
|
2012
|
+
summary?: string;
|
|
2013
|
+
}>;
|
|
2014
|
+
};
|
|
2015
|
+
/**
|
|
2016
|
+
* Response for status 422
|
|
2017
|
+
*/
|
|
2018
|
+
422: {
|
|
2019
|
+
type: string;
|
|
2020
|
+
title: string;
|
|
2021
|
+
status: number;
|
|
2022
|
+
detail?: string;
|
|
2023
|
+
instance?: string;
|
|
2024
|
+
code?: string;
|
|
2025
|
+
errors?: Array<{
|
|
2026
|
+
path: string;
|
|
2027
|
+
message: string;
|
|
2028
|
+
summary?: string;
|
|
2029
|
+
}>;
|
|
2030
|
+
};
|
|
2031
|
+
/**
|
|
2032
|
+
* Response for status 500
|
|
2033
|
+
*/
|
|
2034
|
+
500: {
|
|
1950
2035
|
type: string;
|
|
1951
2036
|
title: string;
|
|
1952
2037
|
status: number;
|
|
@@ -1959,6 +2044,29 @@ export type PostApiStepExecutionsClaimsErrors = {
|
|
|
1959
2044
|
summary?: string;
|
|
1960
2045
|
}>;
|
|
1961
2046
|
};
|
|
2047
|
+
};
|
|
2048
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlError = PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors[keyof PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors];
|
|
2049
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses = {
|
|
2050
|
+
/**
|
|
2051
|
+
* Response for status 200
|
|
2052
|
+
*/
|
|
2053
|
+
200: {
|
|
2054
|
+
uploadUrl: string;
|
|
2055
|
+
storeRef: string;
|
|
2056
|
+
objectKey: string;
|
|
2057
|
+
expiresInSeconds: number;
|
|
2058
|
+
};
|
|
2059
|
+
};
|
|
2060
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponse = PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses[keyof PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses];
|
|
2061
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsData = {
|
|
2062
|
+
body?: never;
|
|
2063
|
+
path: {
|
|
2064
|
+
stepExecutionId: string;
|
|
2065
|
+
};
|
|
2066
|
+
query?: never;
|
|
2067
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts';
|
|
2068
|
+
};
|
|
2069
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
1962
2070
|
/**
|
|
1963
2071
|
* Response for status 401
|
|
1964
2072
|
*/
|
|
@@ -1991,6 +2099,22 @@ export type PostApiStepExecutionsClaimsErrors = {
|
|
|
1991
2099
|
summary?: string;
|
|
1992
2100
|
}>;
|
|
1993
2101
|
};
|
|
2102
|
+
/**
|
|
2103
|
+
* Response for status 404
|
|
2104
|
+
*/
|
|
2105
|
+
404: {
|
|
2106
|
+
type: string;
|
|
2107
|
+
title: string;
|
|
2108
|
+
status: number;
|
|
2109
|
+
detail?: string;
|
|
2110
|
+
instance?: string;
|
|
2111
|
+
code?: string;
|
|
2112
|
+
errors?: Array<{
|
|
2113
|
+
path: string;
|
|
2114
|
+
message: string;
|
|
2115
|
+
summary?: string;
|
|
2116
|
+
}>;
|
|
2117
|
+
};
|
|
1994
2118
|
/**
|
|
1995
2119
|
* Response for status 422
|
|
1996
2120
|
*/
|
|
@@ -2024,62 +2148,40 @@ export type PostApiStepExecutionsClaimsErrors = {
|
|
|
2024
2148
|
}>;
|
|
2025
2149
|
};
|
|
2026
2150
|
};
|
|
2027
|
-
export type
|
|
2028
|
-
export type
|
|
2151
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsError = GetApiStepExecutionsByStepExecutionIdArtifactsErrors[keyof GetApiStepExecutionsByStepExecutionIdArtifactsErrors];
|
|
2152
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsResponses = {
|
|
2029
2153
|
/**
|
|
2030
2154
|
* Response for status 200
|
|
2031
2155
|
*/
|
|
2032
2156
|
200: Array<{
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
lastHeartbeatAt: string | unknown;
|
|
2043
|
-
leaseExpiresAt: string | unknown;
|
|
2044
|
-
executionTimeoutSeconds: number | unknown;
|
|
2045
|
-
executionDeadlineAt: string | unknown;
|
|
2046
|
-
startedAt: string | unknown;
|
|
2047
|
-
completedAt: string | unknown;
|
|
2048
|
-
result: {
|
|
2049
|
-
id: string;
|
|
2050
|
-
stepExecutionId: string;
|
|
2051
|
-
status: 'succeeded' | 'failed';
|
|
2052
|
-
resultJson: unknown;
|
|
2053
|
-
errorJson: unknown;
|
|
2054
|
-
signals: Array<{
|
|
2055
|
-
id: string;
|
|
2056
|
-
stepExecutionResultId: string;
|
|
2057
|
-
key: string;
|
|
2058
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2059
|
-
source: 'extracted' | 'computed';
|
|
2060
|
-
valueJson: unknown;
|
|
2061
|
-
sourcePath: string | unknown;
|
|
2062
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
2063
|
-
createdAt: string;
|
|
2064
|
-
}>;
|
|
2065
|
-
createdAt: string;
|
|
2066
|
-
} | unknown;
|
|
2067
|
-
createdAt: string;
|
|
2068
|
-
updatedAt: string;
|
|
2069
|
-
};
|
|
2070
|
-
claimToken: string;
|
|
2157
|
+
id: string;
|
|
2158
|
+
stepExecutionId: string;
|
|
2159
|
+
relativeStorePath: string;
|
|
2160
|
+
storeRef: string;
|
|
2161
|
+
objectKey: string;
|
|
2162
|
+
sizeBytes: number;
|
|
2163
|
+
contentType: string | unknown;
|
|
2164
|
+
kind: 'generic' | 'playwright-trace';
|
|
2165
|
+
createdAt: string;
|
|
2071
2166
|
}>;
|
|
2072
2167
|
};
|
|
2073
|
-
export type
|
|
2074
|
-
export type
|
|
2075
|
-
body
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2168
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsResponse = GetApiStepExecutionsByStepExecutionIdArtifactsResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsResponses];
|
|
2169
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsData = {
|
|
2170
|
+
body: {
|
|
2171
|
+
claimToken: string;
|
|
2172
|
+
objectKey: string;
|
|
2173
|
+
relativeStorePath: string;
|
|
2174
|
+
sizeBytes: number;
|
|
2175
|
+
contentType?: string;
|
|
2176
|
+
kind?: 'generic' | 'playwright-trace';
|
|
2079
2177
|
};
|
|
2080
|
-
|
|
2178
|
+
path: {
|
|
2179
|
+
stepExecutionId: string;
|
|
2180
|
+
};
|
|
2181
|
+
query?: never;
|
|
2182
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts';
|
|
2081
2183
|
};
|
|
2082
|
-
export type
|
|
2184
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
2083
2185
|
/**
|
|
2084
2186
|
* Response for status 401
|
|
2085
2187
|
*/
|
|
@@ -2112,6 +2214,38 @@ export type GetApiStepExecutionsErrors = {
|
|
|
2112
2214
|
summary?: string;
|
|
2113
2215
|
}>;
|
|
2114
2216
|
};
|
|
2217
|
+
/**
|
|
2218
|
+
* Response for status 404
|
|
2219
|
+
*/
|
|
2220
|
+
404: {
|
|
2221
|
+
type: string;
|
|
2222
|
+
title: string;
|
|
2223
|
+
status: number;
|
|
2224
|
+
detail?: string;
|
|
2225
|
+
instance?: string;
|
|
2226
|
+
code?: string;
|
|
2227
|
+
errors?: Array<{
|
|
2228
|
+
path: string;
|
|
2229
|
+
message: string;
|
|
2230
|
+
summary?: string;
|
|
2231
|
+
}>;
|
|
2232
|
+
};
|
|
2233
|
+
/**
|
|
2234
|
+
* Response for status 409
|
|
2235
|
+
*/
|
|
2236
|
+
409: {
|
|
2237
|
+
type: string;
|
|
2238
|
+
title: string;
|
|
2239
|
+
status: number;
|
|
2240
|
+
detail?: string;
|
|
2241
|
+
instance?: string;
|
|
2242
|
+
code?: string;
|
|
2243
|
+
errors?: Array<{
|
|
2244
|
+
path: string;
|
|
2245
|
+
message: string;
|
|
2246
|
+
summary?: string;
|
|
2247
|
+
}>;
|
|
2248
|
+
};
|
|
2115
2249
|
/**
|
|
2116
2250
|
* Response for status 422
|
|
2117
2251
|
*/
|
|
@@ -2145,80 +2279,935 @@ export type GetApiStepExecutionsErrors = {
|
|
|
2145
2279
|
}>;
|
|
2146
2280
|
};
|
|
2147
2281
|
};
|
|
2148
|
-
export type
|
|
2149
|
-
export type
|
|
2282
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsError = PostApiStepExecutionsByStepExecutionIdArtifactsErrors[keyof PostApiStepExecutionsByStepExecutionIdArtifactsErrors];
|
|
2283
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsResponses = {
|
|
2150
2284
|
/**
|
|
2151
2285
|
* Response for status 200
|
|
2152
2286
|
*/
|
|
2153
|
-
200:
|
|
2287
|
+
200: {
|
|
2154
2288
|
id: string;
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
lastHeartbeatAt: string | unknown;
|
|
2163
|
-
leaseExpiresAt: string | unknown;
|
|
2164
|
-
executionTimeoutSeconds: number | unknown;
|
|
2165
|
-
executionDeadlineAt: string | unknown;
|
|
2166
|
-
startedAt: string | unknown;
|
|
2167
|
-
completedAt: string | unknown;
|
|
2168
|
-
result: {
|
|
2169
|
-
id: string;
|
|
2170
|
-
stepExecutionId: string;
|
|
2171
|
-
status: 'succeeded' | 'failed';
|
|
2172
|
-
resultJson: unknown;
|
|
2173
|
-
errorJson: unknown;
|
|
2174
|
-
signals: Array<{
|
|
2175
|
-
id: string;
|
|
2176
|
-
stepExecutionResultId: string;
|
|
2177
|
-
key: string;
|
|
2178
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2179
|
-
source: 'extracted' | 'computed';
|
|
2180
|
-
valueJson: unknown;
|
|
2181
|
-
sourcePath: string | unknown;
|
|
2182
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
2183
|
-
createdAt: string;
|
|
2184
|
-
}>;
|
|
2185
|
-
createdAt: string;
|
|
2186
|
-
} | unknown;
|
|
2289
|
+
stepExecutionId: string;
|
|
2290
|
+
relativeStorePath: string;
|
|
2291
|
+
storeRef: string;
|
|
2292
|
+
objectKey: string;
|
|
2293
|
+
sizeBytes: number;
|
|
2294
|
+
contentType: string | unknown;
|
|
2295
|
+
kind: 'generic' | 'playwright-trace';
|
|
2187
2296
|
createdAt: string;
|
|
2188
|
-
|
|
2189
|
-
}>;
|
|
2297
|
+
};
|
|
2190
2298
|
};
|
|
2191
|
-
export type
|
|
2299
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsResponse = PostApiStepExecutionsByStepExecutionIdArtifactsResponses[keyof PostApiStepExecutionsByStepExecutionIdArtifactsResponses];
|
|
2300
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlData = {
|
|
2301
|
+
body?: never;
|
|
2302
|
+
path: {
|
|
2303
|
+
stepExecutionId: string;
|
|
2304
|
+
artifactId: string;
|
|
2305
|
+
};
|
|
2306
|
+
query?: never;
|
|
2307
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts/{artifactId}/download-url';
|
|
2308
|
+
};
|
|
2309
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors = {
|
|
2310
|
+
/**
|
|
2311
|
+
* Response for status 401
|
|
2312
|
+
*/
|
|
2313
|
+
401: {
|
|
2314
|
+
type: string;
|
|
2315
|
+
title: string;
|
|
2316
|
+
status: number;
|
|
2317
|
+
detail?: string;
|
|
2318
|
+
instance?: string;
|
|
2319
|
+
code?: string;
|
|
2320
|
+
errors?: Array<{
|
|
2321
|
+
path: string;
|
|
2322
|
+
message: string;
|
|
2323
|
+
summary?: string;
|
|
2324
|
+
}>;
|
|
2325
|
+
};
|
|
2326
|
+
/**
|
|
2327
|
+
* Response for status 402
|
|
2328
|
+
*/
|
|
2329
|
+
402: {
|
|
2330
|
+
type: string;
|
|
2331
|
+
title: string;
|
|
2332
|
+
status: number;
|
|
2333
|
+
detail?: string;
|
|
2334
|
+
instance?: string;
|
|
2335
|
+
code?: string;
|
|
2336
|
+
errors?: Array<{
|
|
2337
|
+
path: string;
|
|
2338
|
+
message: string;
|
|
2339
|
+
summary?: string;
|
|
2340
|
+
}>;
|
|
2341
|
+
};
|
|
2342
|
+
/**
|
|
2343
|
+
* Response for status 403
|
|
2344
|
+
*/
|
|
2345
|
+
403: {
|
|
2346
|
+
type: string;
|
|
2347
|
+
title: string;
|
|
2348
|
+
status: number;
|
|
2349
|
+
detail?: string;
|
|
2350
|
+
instance?: string;
|
|
2351
|
+
code?: string;
|
|
2352
|
+
errors?: Array<{
|
|
2353
|
+
path: string;
|
|
2354
|
+
message: string;
|
|
2355
|
+
summary?: string;
|
|
2356
|
+
}>;
|
|
2357
|
+
};
|
|
2358
|
+
/**
|
|
2359
|
+
* Response for status 404
|
|
2360
|
+
*/
|
|
2361
|
+
404: {
|
|
2362
|
+
type: string;
|
|
2363
|
+
title: string;
|
|
2364
|
+
status: number;
|
|
2365
|
+
detail?: string;
|
|
2366
|
+
instance?: string;
|
|
2367
|
+
code?: string;
|
|
2368
|
+
errors?: Array<{
|
|
2369
|
+
path: string;
|
|
2370
|
+
message: string;
|
|
2371
|
+
summary?: string;
|
|
2372
|
+
}>;
|
|
2373
|
+
};
|
|
2374
|
+
/**
|
|
2375
|
+
* Response for status 422
|
|
2376
|
+
*/
|
|
2377
|
+
422: {
|
|
2378
|
+
type: string;
|
|
2379
|
+
title: string;
|
|
2380
|
+
status: number;
|
|
2381
|
+
detail?: string;
|
|
2382
|
+
instance?: string;
|
|
2383
|
+
code?: string;
|
|
2384
|
+
errors?: Array<{
|
|
2385
|
+
path: string;
|
|
2386
|
+
message: string;
|
|
2387
|
+
summary?: string;
|
|
2388
|
+
}>;
|
|
2389
|
+
};
|
|
2390
|
+
/**
|
|
2391
|
+
* Response for status 500
|
|
2392
|
+
*/
|
|
2393
|
+
500: {
|
|
2394
|
+
type: string;
|
|
2395
|
+
title: string;
|
|
2396
|
+
status: number;
|
|
2397
|
+
detail?: string;
|
|
2398
|
+
instance?: string;
|
|
2399
|
+
code?: string;
|
|
2400
|
+
errors?: Array<{
|
|
2401
|
+
path: string;
|
|
2402
|
+
message: string;
|
|
2403
|
+
summary?: string;
|
|
2404
|
+
}>;
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlError = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors];
|
|
2408
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses = {
|
|
2409
|
+
/**
|
|
2410
|
+
* Response for status 200
|
|
2411
|
+
*/
|
|
2412
|
+
200: {
|
|
2413
|
+
url: string | unknown;
|
|
2414
|
+
sizeBytes: number;
|
|
2415
|
+
contentType: string | unknown;
|
|
2416
|
+
relativeStorePath: string;
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponse = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses];
|
|
2420
|
+
export type PostApiStepExecutionsClaimsData = {
|
|
2421
|
+
body: {
|
|
2422
|
+
projectId: string;
|
|
2423
|
+
workerId: string;
|
|
2424
|
+
batchSize: number;
|
|
2425
|
+
leaseDurationSeconds: number;
|
|
2426
|
+
workItemId?: string;
|
|
2427
|
+
};
|
|
2428
|
+
path?: never;
|
|
2429
|
+
query?: never;
|
|
2430
|
+
url: '/api/step-executions/claims';
|
|
2431
|
+
};
|
|
2432
|
+
export type PostApiStepExecutionsClaimsErrors = {
|
|
2433
|
+
/**
|
|
2434
|
+
* Response for status 400
|
|
2435
|
+
*/
|
|
2436
|
+
400: {
|
|
2437
|
+
type: string;
|
|
2438
|
+
title: string;
|
|
2439
|
+
status: number;
|
|
2440
|
+
detail?: string;
|
|
2441
|
+
instance?: string;
|
|
2442
|
+
code?: string;
|
|
2443
|
+
errors?: Array<{
|
|
2444
|
+
path: string;
|
|
2445
|
+
message: string;
|
|
2446
|
+
summary?: string;
|
|
2447
|
+
}>;
|
|
2448
|
+
};
|
|
2449
|
+
/**
|
|
2450
|
+
* Response for status 401
|
|
2451
|
+
*/
|
|
2452
|
+
401: {
|
|
2453
|
+
type: string;
|
|
2454
|
+
title: string;
|
|
2455
|
+
status: number;
|
|
2456
|
+
detail?: string;
|
|
2457
|
+
instance?: string;
|
|
2458
|
+
code?: string;
|
|
2459
|
+
errors?: Array<{
|
|
2460
|
+
path: string;
|
|
2461
|
+
message: string;
|
|
2462
|
+
summary?: string;
|
|
2463
|
+
}>;
|
|
2464
|
+
};
|
|
2465
|
+
/**
|
|
2466
|
+
* Response for status 403
|
|
2467
|
+
*/
|
|
2468
|
+
403: {
|
|
2469
|
+
type: string;
|
|
2470
|
+
title: string;
|
|
2471
|
+
status: number;
|
|
2472
|
+
detail?: string;
|
|
2473
|
+
instance?: string;
|
|
2474
|
+
code?: string;
|
|
2475
|
+
errors?: Array<{
|
|
2476
|
+
path: string;
|
|
2477
|
+
message: string;
|
|
2478
|
+
summary?: string;
|
|
2479
|
+
}>;
|
|
2480
|
+
};
|
|
2481
|
+
/**
|
|
2482
|
+
* Response for status 422
|
|
2483
|
+
*/
|
|
2484
|
+
422: {
|
|
2485
|
+
type: string;
|
|
2486
|
+
title: string;
|
|
2487
|
+
status: number;
|
|
2488
|
+
detail?: string;
|
|
2489
|
+
instance?: string;
|
|
2490
|
+
code?: string;
|
|
2491
|
+
errors?: Array<{
|
|
2492
|
+
path: string;
|
|
2493
|
+
message: string;
|
|
2494
|
+
summary?: string;
|
|
2495
|
+
}>;
|
|
2496
|
+
};
|
|
2497
|
+
/**
|
|
2498
|
+
* Response for status 500
|
|
2499
|
+
*/
|
|
2500
|
+
500: {
|
|
2501
|
+
type: string;
|
|
2502
|
+
title: string;
|
|
2503
|
+
status: number;
|
|
2504
|
+
detail?: string;
|
|
2505
|
+
instance?: string;
|
|
2506
|
+
code?: string;
|
|
2507
|
+
errors?: Array<{
|
|
2508
|
+
path: string;
|
|
2509
|
+
message: string;
|
|
2510
|
+
summary?: string;
|
|
2511
|
+
}>;
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2514
|
+
export type PostApiStepExecutionsClaimsError = PostApiStepExecutionsClaimsErrors[keyof PostApiStepExecutionsClaimsErrors];
|
|
2515
|
+
export type PostApiStepExecutionsClaimsResponses = {
|
|
2516
|
+
/**
|
|
2517
|
+
* Response for status 200
|
|
2518
|
+
*/
|
|
2519
|
+
200: Array<{
|
|
2520
|
+
stepExecution: {
|
|
2521
|
+
id: string;
|
|
2522
|
+
projectId: string;
|
|
2523
|
+
stepDefinitionId: string;
|
|
2524
|
+
stepDefinitionVersion: number;
|
|
2525
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2526
|
+
inputJson: unknown;
|
|
2527
|
+
claimedBy: string | unknown;
|
|
2528
|
+
claimedAt: string | unknown;
|
|
2529
|
+
lastHeartbeatAt: string | unknown;
|
|
2530
|
+
leaseExpiresAt: string | unknown;
|
|
2531
|
+
executionTimeoutSeconds: number | unknown;
|
|
2532
|
+
executionDeadlineAt: string | unknown;
|
|
2533
|
+
startedAt: string | unknown;
|
|
2534
|
+
completedAt: string | unknown;
|
|
2535
|
+
result: {
|
|
2536
|
+
id: string;
|
|
2537
|
+
stepExecutionId: string;
|
|
2538
|
+
status: 'succeeded' | 'failed';
|
|
2539
|
+
resultJson: unknown;
|
|
2540
|
+
errorJson: unknown;
|
|
2541
|
+
signals: Array<{
|
|
2542
|
+
id: string;
|
|
2543
|
+
stepExecutionResultId: string;
|
|
2544
|
+
key: string;
|
|
2545
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2546
|
+
source: 'extracted' | 'computed';
|
|
2547
|
+
valueJson: unknown;
|
|
2548
|
+
sourcePath: string | unknown;
|
|
2549
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2550
|
+
createdAt: string;
|
|
2551
|
+
}>;
|
|
2552
|
+
createdAt: string;
|
|
2553
|
+
} | unknown;
|
|
2554
|
+
createdAt: string;
|
|
2555
|
+
updatedAt: string;
|
|
2556
|
+
};
|
|
2557
|
+
claimToken: string;
|
|
2558
|
+
}>;
|
|
2559
|
+
};
|
|
2560
|
+
export type PostApiStepExecutionsClaimsResponse = PostApiStepExecutionsClaimsResponses[keyof PostApiStepExecutionsClaimsResponses];
|
|
2561
|
+
export type GetApiStepExecutionsData = {
|
|
2562
|
+
body?: never;
|
|
2563
|
+
path?: never;
|
|
2564
|
+
query: {
|
|
2565
|
+
projectId: string;
|
|
2566
|
+
};
|
|
2567
|
+
url: '/api/step-executions';
|
|
2568
|
+
};
|
|
2569
|
+
export type GetApiStepExecutionsErrors = {
|
|
2570
|
+
/**
|
|
2571
|
+
* Response for status 401
|
|
2572
|
+
*/
|
|
2573
|
+
401: {
|
|
2574
|
+
type: string;
|
|
2575
|
+
title: string;
|
|
2576
|
+
status: number;
|
|
2577
|
+
detail?: string;
|
|
2578
|
+
instance?: string;
|
|
2579
|
+
code?: string;
|
|
2580
|
+
errors?: Array<{
|
|
2581
|
+
path: string;
|
|
2582
|
+
message: string;
|
|
2583
|
+
summary?: string;
|
|
2584
|
+
}>;
|
|
2585
|
+
};
|
|
2586
|
+
/**
|
|
2587
|
+
* Response for status 403
|
|
2588
|
+
*/
|
|
2589
|
+
403: {
|
|
2590
|
+
type: string;
|
|
2591
|
+
title: string;
|
|
2592
|
+
status: number;
|
|
2593
|
+
detail?: string;
|
|
2594
|
+
instance?: string;
|
|
2595
|
+
code?: string;
|
|
2596
|
+
errors?: Array<{
|
|
2597
|
+
path: string;
|
|
2598
|
+
message: string;
|
|
2599
|
+
summary?: string;
|
|
2600
|
+
}>;
|
|
2601
|
+
};
|
|
2602
|
+
/**
|
|
2603
|
+
* Response for status 422
|
|
2604
|
+
*/
|
|
2605
|
+
422: {
|
|
2606
|
+
type: string;
|
|
2607
|
+
title: string;
|
|
2608
|
+
status: number;
|
|
2609
|
+
detail?: string;
|
|
2610
|
+
instance?: string;
|
|
2611
|
+
code?: string;
|
|
2612
|
+
errors?: Array<{
|
|
2613
|
+
path: string;
|
|
2614
|
+
message: string;
|
|
2615
|
+
summary?: string;
|
|
2616
|
+
}>;
|
|
2617
|
+
};
|
|
2618
|
+
/**
|
|
2619
|
+
* Response for status 500
|
|
2620
|
+
*/
|
|
2621
|
+
500: {
|
|
2622
|
+
type: string;
|
|
2623
|
+
title: string;
|
|
2624
|
+
status: number;
|
|
2625
|
+
detail?: string;
|
|
2626
|
+
instance?: string;
|
|
2627
|
+
code?: string;
|
|
2628
|
+
errors?: Array<{
|
|
2629
|
+
path: string;
|
|
2630
|
+
message: string;
|
|
2631
|
+
summary?: string;
|
|
2632
|
+
}>;
|
|
2633
|
+
};
|
|
2634
|
+
};
|
|
2635
|
+
export type GetApiStepExecutionsError = GetApiStepExecutionsErrors[keyof GetApiStepExecutionsErrors];
|
|
2636
|
+
export type GetApiStepExecutionsResponses = {
|
|
2637
|
+
/**
|
|
2638
|
+
* Response for status 200
|
|
2639
|
+
*/
|
|
2640
|
+
200: Array<{
|
|
2641
|
+
id: string;
|
|
2642
|
+
projectId: string;
|
|
2643
|
+
stepDefinitionId: string;
|
|
2644
|
+
stepDefinitionVersion: number;
|
|
2645
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2646
|
+
inputJson: unknown;
|
|
2647
|
+
claimedBy: string | unknown;
|
|
2648
|
+
claimedAt: string | unknown;
|
|
2649
|
+
lastHeartbeatAt: string | unknown;
|
|
2650
|
+
leaseExpiresAt: string | unknown;
|
|
2651
|
+
executionTimeoutSeconds: number | unknown;
|
|
2652
|
+
executionDeadlineAt: string | unknown;
|
|
2653
|
+
startedAt: string | unknown;
|
|
2654
|
+
completedAt: string | unknown;
|
|
2655
|
+
result: {
|
|
2656
|
+
id: string;
|
|
2657
|
+
stepExecutionId: string;
|
|
2658
|
+
status: 'succeeded' | 'failed';
|
|
2659
|
+
resultJson: unknown;
|
|
2660
|
+
errorJson: unknown;
|
|
2661
|
+
signals: Array<{
|
|
2662
|
+
id: string;
|
|
2663
|
+
stepExecutionResultId: string;
|
|
2664
|
+
key: string;
|
|
2665
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2666
|
+
source: 'extracted' | 'computed';
|
|
2667
|
+
valueJson: unknown;
|
|
2668
|
+
sourcePath: string | unknown;
|
|
2669
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2670
|
+
createdAt: string;
|
|
2671
|
+
}>;
|
|
2672
|
+
createdAt: string;
|
|
2673
|
+
} | unknown;
|
|
2674
|
+
createdAt: string;
|
|
2675
|
+
updatedAt: string;
|
|
2676
|
+
}>;
|
|
2677
|
+
};
|
|
2678
|
+
export type GetApiStepExecutionsResponse = GetApiStepExecutionsResponses[keyof GetApiStepExecutionsResponses];
|
|
2192
2679
|
export type PostApiStepExecutionsData = {
|
|
2193
2680
|
body: {
|
|
2194
2681
|
projectId: string;
|
|
2195
2682
|
stepDefinitionId: string;
|
|
2196
2683
|
stepDefinitionVersion: number;
|
|
2197
|
-
status?: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2198
|
-
inputJson?: unknown;
|
|
2199
|
-
executionTimeoutSeconds?: number | unknown;
|
|
2684
|
+
status?: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2685
|
+
inputJson?: unknown;
|
|
2686
|
+
executionTimeoutSeconds?: number | unknown;
|
|
2687
|
+
};
|
|
2688
|
+
path?: never;
|
|
2689
|
+
query?: never;
|
|
2690
|
+
url: '/api/step-executions';
|
|
2691
|
+
};
|
|
2692
|
+
export type PostApiStepExecutionsErrors = {
|
|
2693
|
+
/**
|
|
2694
|
+
* Response for status 400
|
|
2695
|
+
*/
|
|
2696
|
+
400: {
|
|
2697
|
+
type: string;
|
|
2698
|
+
title: string;
|
|
2699
|
+
status: number;
|
|
2700
|
+
detail?: string;
|
|
2701
|
+
instance?: string;
|
|
2702
|
+
code?: string;
|
|
2703
|
+
errors?: Array<{
|
|
2704
|
+
path: string;
|
|
2705
|
+
message: string;
|
|
2706
|
+
summary?: string;
|
|
2707
|
+
}>;
|
|
2708
|
+
};
|
|
2709
|
+
/**
|
|
2710
|
+
* Response for status 401
|
|
2711
|
+
*/
|
|
2712
|
+
401: {
|
|
2713
|
+
type: string;
|
|
2714
|
+
title: string;
|
|
2715
|
+
status: number;
|
|
2716
|
+
detail?: string;
|
|
2717
|
+
instance?: string;
|
|
2718
|
+
code?: string;
|
|
2719
|
+
errors?: Array<{
|
|
2720
|
+
path: string;
|
|
2721
|
+
message: string;
|
|
2722
|
+
summary?: string;
|
|
2723
|
+
}>;
|
|
2724
|
+
};
|
|
2725
|
+
/**
|
|
2726
|
+
* Response for status 403
|
|
2727
|
+
*/
|
|
2728
|
+
403: {
|
|
2729
|
+
type: string;
|
|
2730
|
+
title: string;
|
|
2731
|
+
status: number;
|
|
2732
|
+
detail?: string;
|
|
2733
|
+
instance?: string;
|
|
2734
|
+
code?: string;
|
|
2735
|
+
errors?: Array<{
|
|
2736
|
+
path: string;
|
|
2737
|
+
message: string;
|
|
2738
|
+
summary?: string;
|
|
2739
|
+
}>;
|
|
2740
|
+
};
|
|
2741
|
+
/**
|
|
2742
|
+
* Response for status 404
|
|
2743
|
+
*/
|
|
2744
|
+
404: {
|
|
2745
|
+
type: string;
|
|
2746
|
+
title: string;
|
|
2747
|
+
status: number;
|
|
2748
|
+
detail?: string;
|
|
2749
|
+
instance?: string;
|
|
2750
|
+
code?: string;
|
|
2751
|
+
errors?: Array<{
|
|
2752
|
+
path: string;
|
|
2753
|
+
message: string;
|
|
2754
|
+
summary?: string;
|
|
2755
|
+
}>;
|
|
2756
|
+
};
|
|
2757
|
+
/**
|
|
2758
|
+
* Response for status 409
|
|
2759
|
+
*/
|
|
2760
|
+
409: {
|
|
2761
|
+
type: string;
|
|
2762
|
+
title: string;
|
|
2763
|
+
status: number;
|
|
2764
|
+
detail?: string;
|
|
2765
|
+
instance?: string;
|
|
2766
|
+
code?: string;
|
|
2767
|
+
errors?: Array<{
|
|
2768
|
+
path: string;
|
|
2769
|
+
message: string;
|
|
2770
|
+
summary?: string;
|
|
2771
|
+
}>;
|
|
2772
|
+
};
|
|
2773
|
+
/**
|
|
2774
|
+
* Response for status 422
|
|
2775
|
+
*/
|
|
2776
|
+
422: {
|
|
2777
|
+
type: string;
|
|
2778
|
+
title: string;
|
|
2779
|
+
status: number;
|
|
2780
|
+
detail?: string;
|
|
2781
|
+
instance?: string;
|
|
2782
|
+
code?: string;
|
|
2783
|
+
errors?: Array<{
|
|
2784
|
+
path: string;
|
|
2785
|
+
message: string;
|
|
2786
|
+
summary?: string;
|
|
2787
|
+
}>;
|
|
2788
|
+
};
|
|
2789
|
+
/**
|
|
2790
|
+
* Response for status 500
|
|
2791
|
+
*/
|
|
2792
|
+
500: {
|
|
2793
|
+
type: string;
|
|
2794
|
+
title: string;
|
|
2795
|
+
status: number;
|
|
2796
|
+
detail?: string;
|
|
2797
|
+
instance?: string;
|
|
2798
|
+
code?: string;
|
|
2799
|
+
errors?: Array<{
|
|
2800
|
+
path: string;
|
|
2801
|
+
message: string;
|
|
2802
|
+
summary?: string;
|
|
2803
|
+
}>;
|
|
2804
|
+
};
|
|
2805
|
+
};
|
|
2806
|
+
export type PostApiStepExecutionsError = PostApiStepExecutionsErrors[keyof PostApiStepExecutionsErrors];
|
|
2807
|
+
export type PostApiStepExecutionsResponses = {
|
|
2808
|
+
/**
|
|
2809
|
+
* Response for status 200
|
|
2810
|
+
*/
|
|
2811
|
+
200: {
|
|
2812
|
+
id: string;
|
|
2813
|
+
projectId: string;
|
|
2814
|
+
stepDefinitionId: string;
|
|
2815
|
+
stepDefinitionVersion: number;
|
|
2816
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2817
|
+
inputJson: unknown;
|
|
2818
|
+
claimedBy: string | unknown;
|
|
2819
|
+
claimedAt: string | unknown;
|
|
2820
|
+
lastHeartbeatAt: string | unknown;
|
|
2821
|
+
leaseExpiresAt: string | unknown;
|
|
2822
|
+
executionTimeoutSeconds: number | unknown;
|
|
2823
|
+
executionDeadlineAt: string | unknown;
|
|
2824
|
+
startedAt: string | unknown;
|
|
2825
|
+
completedAt: string | unknown;
|
|
2826
|
+
result: {
|
|
2827
|
+
id: string;
|
|
2828
|
+
stepExecutionId: string;
|
|
2829
|
+
status: 'succeeded' | 'failed';
|
|
2830
|
+
resultJson: unknown;
|
|
2831
|
+
errorJson: unknown;
|
|
2832
|
+
signals: Array<{
|
|
2833
|
+
id: string;
|
|
2834
|
+
stepExecutionResultId: string;
|
|
2835
|
+
key: string;
|
|
2836
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2837
|
+
source: 'extracted' | 'computed';
|
|
2838
|
+
valueJson: unknown;
|
|
2839
|
+
sourcePath: string | unknown;
|
|
2840
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2841
|
+
createdAt: string;
|
|
2842
|
+
}>;
|
|
2843
|
+
createdAt: string;
|
|
2844
|
+
} | unknown;
|
|
2845
|
+
createdAt: string;
|
|
2846
|
+
updatedAt: string;
|
|
2847
|
+
};
|
|
2848
|
+
};
|
|
2849
|
+
export type PostApiStepExecutionsResponse = PostApiStepExecutionsResponses[keyof PostApiStepExecutionsResponses];
|
|
2850
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatData = {
|
|
2851
|
+
body: {
|
|
2852
|
+
claimToken: string;
|
|
2853
|
+
leaseDurationSeconds: number;
|
|
2854
|
+
};
|
|
2855
|
+
path: {
|
|
2856
|
+
stepExecutionId: string;
|
|
2857
|
+
};
|
|
2858
|
+
query?: never;
|
|
2859
|
+
url: '/api/step-executions/{stepExecutionId}/heartbeat';
|
|
2860
|
+
};
|
|
2861
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
2862
|
+
/**
|
|
2863
|
+
* Response for status 401
|
|
2864
|
+
*/
|
|
2865
|
+
401: {
|
|
2866
|
+
type: string;
|
|
2867
|
+
title: string;
|
|
2868
|
+
status: number;
|
|
2869
|
+
detail?: string;
|
|
2870
|
+
instance?: string;
|
|
2871
|
+
code?: string;
|
|
2872
|
+
errors?: Array<{
|
|
2873
|
+
path: string;
|
|
2874
|
+
message: string;
|
|
2875
|
+
summary?: string;
|
|
2876
|
+
}>;
|
|
2877
|
+
};
|
|
2878
|
+
/**
|
|
2879
|
+
* Response for status 403
|
|
2880
|
+
*/
|
|
2881
|
+
403: {
|
|
2882
|
+
type: string;
|
|
2883
|
+
title: string;
|
|
2884
|
+
status: number;
|
|
2885
|
+
detail?: string;
|
|
2886
|
+
instance?: string;
|
|
2887
|
+
code?: string;
|
|
2888
|
+
errors?: Array<{
|
|
2889
|
+
path: string;
|
|
2890
|
+
message: string;
|
|
2891
|
+
summary?: string;
|
|
2892
|
+
}>;
|
|
2893
|
+
};
|
|
2894
|
+
/**
|
|
2895
|
+
* Response for status 404
|
|
2896
|
+
*/
|
|
2897
|
+
404: {
|
|
2898
|
+
type: string;
|
|
2899
|
+
title: string;
|
|
2900
|
+
status: number;
|
|
2901
|
+
detail?: string;
|
|
2902
|
+
instance?: string;
|
|
2903
|
+
code?: string;
|
|
2904
|
+
errors?: Array<{
|
|
2905
|
+
path: string;
|
|
2906
|
+
message: string;
|
|
2907
|
+
summary?: string;
|
|
2908
|
+
}>;
|
|
2909
|
+
};
|
|
2910
|
+
/**
|
|
2911
|
+
* Response for status 409
|
|
2912
|
+
*/
|
|
2913
|
+
409: {
|
|
2914
|
+
type: string;
|
|
2915
|
+
title: string;
|
|
2916
|
+
status: number;
|
|
2917
|
+
detail?: string;
|
|
2918
|
+
instance?: string;
|
|
2919
|
+
code?: string;
|
|
2920
|
+
errors?: Array<{
|
|
2921
|
+
path: string;
|
|
2922
|
+
message: string;
|
|
2923
|
+
summary?: string;
|
|
2924
|
+
}>;
|
|
2925
|
+
};
|
|
2926
|
+
/**
|
|
2927
|
+
* Response for status 422
|
|
2928
|
+
*/
|
|
2929
|
+
422: {
|
|
2930
|
+
type: string;
|
|
2931
|
+
title: string;
|
|
2932
|
+
status: number;
|
|
2933
|
+
detail?: string;
|
|
2934
|
+
instance?: string;
|
|
2935
|
+
code?: string;
|
|
2936
|
+
errors?: Array<{
|
|
2937
|
+
path: string;
|
|
2938
|
+
message: string;
|
|
2939
|
+
summary?: string;
|
|
2940
|
+
}>;
|
|
2941
|
+
};
|
|
2942
|
+
/**
|
|
2943
|
+
* Response for status 500
|
|
2944
|
+
*/
|
|
2945
|
+
500: {
|
|
2946
|
+
type: string;
|
|
2947
|
+
title: string;
|
|
2948
|
+
status: number;
|
|
2949
|
+
detail?: string;
|
|
2950
|
+
instance?: string;
|
|
2951
|
+
code?: string;
|
|
2952
|
+
errors?: Array<{
|
|
2953
|
+
path: string;
|
|
2954
|
+
message: string;
|
|
2955
|
+
summary?: string;
|
|
2956
|
+
}>;
|
|
2957
|
+
};
|
|
2958
|
+
};
|
|
2959
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatError = PutApiStepExecutionsByStepExecutionIdHeartbeatErrors[keyof PutApiStepExecutionsByStepExecutionIdHeartbeatErrors];
|
|
2960
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatResponses = {
|
|
2961
|
+
/**
|
|
2962
|
+
* Response for status 200
|
|
2963
|
+
*/
|
|
2964
|
+
200: {
|
|
2965
|
+
id: string;
|
|
2966
|
+
projectId: string;
|
|
2967
|
+
stepDefinitionId: string;
|
|
2968
|
+
stepDefinitionVersion: number;
|
|
2969
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2970
|
+
inputJson: unknown;
|
|
2971
|
+
claimedBy: string | unknown;
|
|
2972
|
+
claimedAt: string | unknown;
|
|
2973
|
+
lastHeartbeatAt: string | unknown;
|
|
2974
|
+
leaseExpiresAt: string | unknown;
|
|
2975
|
+
executionTimeoutSeconds: number | unknown;
|
|
2976
|
+
executionDeadlineAt: string | unknown;
|
|
2977
|
+
startedAt: string | unknown;
|
|
2978
|
+
completedAt: string | unknown;
|
|
2979
|
+
result: {
|
|
2980
|
+
id: string;
|
|
2981
|
+
stepExecutionId: string;
|
|
2982
|
+
status: 'succeeded' | 'failed';
|
|
2983
|
+
resultJson: unknown;
|
|
2984
|
+
errorJson: unknown;
|
|
2985
|
+
signals: Array<{
|
|
2986
|
+
id: string;
|
|
2987
|
+
stepExecutionResultId: string;
|
|
2988
|
+
key: string;
|
|
2989
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2990
|
+
source: 'extracted' | 'computed';
|
|
2991
|
+
valueJson: unknown;
|
|
2992
|
+
sourcePath: string | unknown;
|
|
2993
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2994
|
+
createdAt: string;
|
|
2995
|
+
}>;
|
|
2996
|
+
createdAt: string;
|
|
2997
|
+
} | unknown;
|
|
2998
|
+
createdAt: string;
|
|
2999
|
+
updatedAt: string;
|
|
3000
|
+
};
|
|
3001
|
+
};
|
|
3002
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatResponse = PutApiStepExecutionsByStepExecutionIdHeartbeatResponses[keyof PutApiStepExecutionsByStepExecutionIdHeartbeatResponses];
|
|
3003
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextData = {
|
|
3004
|
+
body: {
|
|
3005
|
+
claimToken: string;
|
|
3006
|
+
};
|
|
3007
|
+
path: {
|
|
3008
|
+
stepExecutionId: string;
|
|
3009
|
+
};
|
|
3010
|
+
query?: never;
|
|
3011
|
+
url: '/api/step-executions/{stepExecutionId}/worker-context';
|
|
3012
|
+
};
|
|
3013
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextErrors = {
|
|
3014
|
+
/**
|
|
3015
|
+
* Response for status 401
|
|
3016
|
+
*/
|
|
3017
|
+
401: {
|
|
3018
|
+
type: string;
|
|
3019
|
+
title: string;
|
|
3020
|
+
status: number;
|
|
3021
|
+
detail?: string;
|
|
3022
|
+
instance?: string;
|
|
3023
|
+
code?: string;
|
|
3024
|
+
errors?: Array<{
|
|
3025
|
+
path: string;
|
|
3026
|
+
message: string;
|
|
3027
|
+
summary?: string;
|
|
3028
|
+
}>;
|
|
3029
|
+
};
|
|
3030
|
+
/**
|
|
3031
|
+
* Response for status 403
|
|
3032
|
+
*/
|
|
3033
|
+
403: {
|
|
3034
|
+
type: string;
|
|
3035
|
+
title: string;
|
|
3036
|
+
status: number;
|
|
3037
|
+
detail?: string;
|
|
3038
|
+
instance?: string;
|
|
3039
|
+
code?: string;
|
|
3040
|
+
errors?: Array<{
|
|
3041
|
+
path: string;
|
|
3042
|
+
message: string;
|
|
3043
|
+
summary?: string;
|
|
3044
|
+
}>;
|
|
3045
|
+
};
|
|
3046
|
+
/**
|
|
3047
|
+
* Response for status 404
|
|
3048
|
+
*/
|
|
3049
|
+
404: {
|
|
3050
|
+
type: string;
|
|
3051
|
+
title: string;
|
|
3052
|
+
status: number;
|
|
3053
|
+
detail?: string;
|
|
3054
|
+
instance?: string;
|
|
3055
|
+
code?: string;
|
|
3056
|
+
errors?: Array<{
|
|
3057
|
+
path: string;
|
|
3058
|
+
message: string;
|
|
3059
|
+
summary?: string;
|
|
3060
|
+
}>;
|
|
3061
|
+
};
|
|
3062
|
+
/**
|
|
3063
|
+
* Response for status 409
|
|
3064
|
+
*/
|
|
3065
|
+
409: {
|
|
3066
|
+
type: string;
|
|
3067
|
+
title: string;
|
|
3068
|
+
status: number;
|
|
3069
|
+
detail?: string;
|
|
3070
|
+
instance?: string;
|
|
3071
|
+
code?: string;
|
|
3072
|
+
errors?: Array<{
|
|
3073
|
+
path: string;
|
|
3074
|
+
message: string;
|
|
3075
|
+
summary?: string;
|
|
3076
|
+
}>;
|
|
3077
|
+
};
|
|
3078
|
+
/**
|
|
3079
|
+
* Response for status 422
|
|
3080
|
+
*/
|
|
3081
|
+
422: {
|
|
3082
|
+
type: string;
|
|
3083
|
+
title: string;
|
|
3084
|
+
status: number;
|
|
3085
|
+
detail?: string;
|
|
3086
|
+
instance?: string;
|
|
3087
|
+
code?: string;
|
|
3088
|
+
errors?: Array<{
|
|
3089
|
+
path: string;
|
|
3090
|
+
message: string;
|
|
3091
|
+
summary?: string;
|
|
3092
|
+
}>;
|
|
3093
|
+
};
|
|
3094
|
+
/**
|
|
3095
|
+
* Response for status 500
|
|
3096
|
+
*/
|
|
3097
|
+
500: {
|
|
3098
|
+
type: string;
|
|
3099
|
+
title: string;
|
|
3100
|
+
status: number;
|
|
3101
|
+
detail?: string;
|
|
3102
|
+
instance?: string;
|
|
3103
|
+
code?: string;
|
|
3104
|
+
errors?: Array<{
|
|
3105
|
+
path: string;
|
|
3106
|
+
message: string;
|
|
3107
|
+
summary?: string;
|
|
3108
|
+
}>;
|
|
3109
|
+
};
|
|
3110
|
+
};
|
|
3111
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextError = PostApiStepExecutionsByStepExecutionIdWorkerContextErrors[keyof PostApiStepExecutionsByStepExecutionIdWorkerContextErrors];
|
|
3112
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
3113
|
+
/**
|
|
3114
|
+
* Response for status 200
|
|
3115
|
+
*/
|
|
3116
|
+
200: {
|
|
3117
|
+
projectId: string;
|
|
3118
|
+
gitUrl: string;
|
|
3119
|
+
requestedBranch: string | unknown;
|
|
3120
|
+
projectOpencodeConfig: {
|
|
3121
|
+
relativePath: string;
|
|
3122
|
+
present: boolean;
|
|
3123
|
+
commands: Array<{
|
|
3124
|
+
name: string;
|
|
3125
|
+
description: string;
|
|
3126
|
+
run: string;
|
|
3127
|
+
cwd: string | unknown;
|
|
3128
|
+
}>;
|
|
3129
|
+
services: Array<{
|
|
3130
|
+
name: string;
|
|
3131
|
+
description: string;
|
|
3132
|
+
run: string;
|
|
3133
|
+
cwd: string | unknown;
|
|
3134
|
+
dependsOn: Array<string>;
|
|
3135
|
+
expose: {
|
|
3136
|
+
targetPort: number;
|
|
3137
|
+
protocol: 'tcp' | 'http';
|
|
3138
|
+
};
|
|
3139
|
+
healthcheck: {
|
|
3140
|
+
protocol: 'tcp' | 'http';
|
|
3141
|
+
path: string | unknown;
|
|
3142
|
+
expectedStatus: number | unknown;
|
|
3143
|
+
};
|
|
3144
|
+
}>;
|
|
3145
|
+
};
|
|
3146
|
+
stepExecution: {
|
|
3147
|
+
id: string;
|
|
3148
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
3149
|
+
inputJson: unknown;
|
|
3150
|
+
executionTimeoutSeconds: number | unknown;
|
|
3151
|
+
};
|
|
3152
|
+
stepDefinition: {
|
|
3153
|
+
id: string;
|
|
3154
|
+
key: string;
|
|
3155
|
+
name: string;
|
|
3156
|
+
prompt: string;
|
|
3157
|
+
resultSchemaJson: {
|
|
3158
|
+
[key: string]: unknown;
|
|
3159
|
+
} | unknown;
|
|
3160
|
+
opencodeMcpJson: {
|
|
3161
|
+
[key: string]: {
|
|
3162
|
+
type: string;
|
|
3163
|
+
command: Array<string>;
|
|
3164
|
+
environment?: {
|
|
3165
|
+
[key: string]: string;
|
|
3166
|
+
};
|
|
3167
|
+
enabled?: boolean;
|
|
3168
|
+
timeout?: number;
|
|
3169
|
+
} | {
|
|
3170
|
+
type: string;
|
|
3171
|
+
url: string;
|
|
3172
|
+
enabled?: boolean;
|
|
3173
|
+
headers?: {
|
|
3174
|
+
[key: string]: string;
|
|
3175
|
+
};
|
|
3176
|
+
oauth?: {
|
|
3177
|
+
clientId?: string;
|
|
3178
|
+
clientSecret?: string;
|
|
3179
|
+
scope?: string;
|
|
3180
|
+
redirectUri?: string;
|
|
3181
|
+
} | boolean;
|
|
3182
|
+
timeout?: number;
|
|
3183
|
+
} | {
|
|
3184
|
+
enabled: boolean;
|
|
3185
|
+
};
|
|
3186
|
+
} | unknown;
|
|
3187
|
+
opencodePluginJson: Array<string | Array<unknown>> | unknown;
|
|
3188
|
+
};
|
|
3189
|
+
agentPrompt: {
|
|
3190
|
+
sessionTitle: string;
|
|
3191
|
+
promptText: string;
|
|
3192
|
+
stepInstructionsPlaceholder: string;
|
|
3193
|
+
};
|
|
3194
|
+
};
|
|
3195
|
+
};
|
|
3196
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponse = PostApiStepExecutionsByStepExecutionIdWorkerContextResponses[keyof PostApiStepExecutionsByStepExecutionIdWorkerContextResponses];
|
|
3197
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsData = {
|
|
3198
|
+
body: {
|
|
3199
|
+
claimToken: string;
|
|
3200
|
+
status: 'succeeded' | 'failed';
|
|
3201
|
+
resultJson: unknown;
|
|
3202
|
+
errorJson: unknown;
|
|
3203
|
+
};
|
|
3204
|
+
path: {
|
|
3205
|
+
stepExecutionId: string;
|
|
2200
3206
|
};
|
|
2201
|
-
path?: never;
|
|
2202
3207
|
query?: never;
|
|
2203
|
-
url: '/api/step-executions';
|
|
3208
|
+
url: '/api/step-executions/{stepExecutionId}/completions';
|
|
2204
3209
|
};
|
|
2205
|
-
export type
|
|
2206
|
-
/**
|
|
2207
|
-
* Response for status 400
|
|
2208
|
-
*/
|
|
2209
|
-
400: {
|
|
2210
|
-
type: string;
|
|
2211
|
-
title: string;
|
|
2212
|
-
status: number;
|
|
2213
|
-
detail?: string;
|
|
2214
|
-
instance?: string;
|
|
2215
|
-
code?: string;
|
|
2216
|
-
errors?: Array<{
|
|
2217
|
-
path: string;
|
|
2218
|
-
message: string;
|
|
2219
|
-
summary?: string;
|
|
2220
|
-
}>;
|
|
2221
|
-
};
|
|
3210
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsErrors = {
|
|
2222
3211
|
/**
|
|
2223
3212
|
* Response for status 401
|
|
2224
3213
|
*/
|
|
@@ -2316,8 +3305,8 @@ export type PostApiStepExecutionsErrors = {
|
|
|
2316
3305
|
}>;
|
|
2317
3306
|
};
|
|
2318
3307
|
};
|
|
2319
|
-
export type
|
|
2320
|
-
export type
|
|
3308
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsError = PostApiStepExecutionsByStepExecutionIdCompletionsErrors[keyof PostApiStepExecutionsByStepExecutionIdCompletionsErrors];
|
|
3309
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsResponses = {
|
|
2321
3310
|
/**
|
|
2322
3311
|
* Response for status 200
|
|
2323
3312
|
*/
|
|
@@ -2359,19 +3348,16 @@ export type PostApiStepExecutionsResponses = {
|
|
|
2359
3348
|
updatedAt: string;
|
|
2360
3349
|
};
|
|
2361
3350
|
};
|
|
2362
|
-
export type
|
|
2363
|
-
export type
|
|
2364
|
-
body
|
|
2365
|
-
claimToken: string;
|
|
2366
|
-
leaseDurationSeconds: number;
|
|
2367
|
-
};
|
|
3351
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsResponse = PostApiStepExecutionsByStepExecutionIdCompletionsResponses[keyof PostApiStepExecutionsByStepExecutionIdCompletionsResponses];
|
|
3352
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningData = {
|
|
3353
|
+
body?: never;
|
|
2368
3354
|
path: {
|
|
2369
3355
|
stepExecutionId: string;
|
|
2370
3356
|
};
|
|
2371
3357
|
query?: never;
|
|
2372
|
-
url: '/api/step-executions/{stepExecutionId}/
|
|
3358
|
+
url: '/api/step-executions/{stepExecutionId}/running';
|
|
2373
3359
|
};
|
|
2374
|
-
export type
|
|
3360
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningErrors = {
|
|
2375
3361
|
/**
|
|
2376
3362
|
* Response for status 401
|
|
2377
3363
|
*/
|
|
@@ -2420,22 +3406,6 @@ export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
|
2420
3406
|
summary?: string;
|
|
2421
3407
|
}>;
|
|
2422
3408
|
};
|
|
2423
|
-
/**
|
|
2424
|
-
* Response for status 409
|
|
2425
|
-
*/
|
|
2426
|
-
409: {
|
|
2427
|
-
type: string;
|
|
2428
|
-
title: string;
|
|
2429
|
-
status: number;
|
|
2430
|
-
detail?: string;
|
|
2431
|
-
instance?: string;
|
|
2432
|
-
code?: string;
|
|
2433
|
-
errors?: Array<{
|
|
2434
|
-
path: string;
|
|
2435
|
-
message: string;
|
|
2436
|
-
summary?: string;
|
|
2437
|
-
}>;
|
|
2438
|
-
};
|
|
2439
3409
|
/**
|
|
2440
3410
|
* Response for status 422
|
|
2441
3411
|
*/
|
|
@@ -2469,8 +3439,8 @@ export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
|
2469
3439
|
}>;
|
|
2470
3440
|
};
|
|
2471
3441
|
};
|
|
2472
|
-
export type
|
|
2473
|
-
export type
|
|
3442
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningError = PutApiStepExecutionsByStepExecutionIdRunningErrors[keyof PutApiStepExecutionsByStepExecutionIdRunningErrors];
|
|
3443
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningResponses = {
|
|
2474
3444
|
/**
|
|
2475
3445
|
* Response for status 200
|
|
2476
3446
|
*/
|
|
@@ -2512,18 +3482,19 @@ export type PutApiStepExecutionsByStepExecutionIdHeartbeatResponses = {
|
|
|
2512
3482
|
updatedAt: string;
|
|
2513
3483
|
};
|
|
2514
3484
|
};
|
|
2515
|
-
export type
|
|
2516
|
-
export type
|
|
3485
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningResponse = PutApiStepExecutionsByStepExecutionIdRunningResponses[keyof PutApiStepExecutionsByStepExecutionIdRunningResponses];
|
|
3486
|
+
export type PostApiStepExecutionResultsData = {
|
|
2517
3487
|
body: {
|
|
2518
|
-
claimToken: string;
|
|
2519
|
-
};
|
|
2520
|
-
path: {
|
|
2521
3488
|
stepExecutionId: string;
|
|
3489
|
+
status: 'succeeded' | 'failed';
|
|
3490
|
+
resultJson: unknown;
|
|
3491
|
+
errorJson: unknown;
|
|
2522
3492
|
};
|
|
3493
|
+
path?: never;
|
|
2523
3494
|
query?: never;
|
|
2524
|
-
url: '/api/step-
|
|
3495
|
+
url: '/api/step-execution-results';
|
|
2525
3496
|
};
|
|
2526
|
-
export type
|
|
3497
|
+
export type PostApiStepExecutionResultsErrors = {
|
|
2527
3498
|
/**
|
|
2528
3499
|
* Response for status 401
|
|
2529
3500
|
*/
|
|
@@ -2621,106 +3592,41 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextErrors = {
|
|
|
2621
3592
|
}>;
|
|
2622
3593
|
};
|
|
2623
3594
|
};
|
|
2624
|
-
export type
|
|
2625
|
-
export type
|
|
3595
|
+
export type PostApiStepExecutionResultsError = PostApiStepExecutionResultsErrors[keyof PostApiStepExecutionResultsErrors];
|
|
3596
|
+
export type PostApiStepExecutionResultsResponses = {
|
|
2626
3597
|
/**
|
|
2627
3598
|
* Response for status 200
|
|
2628
3599
|
*/
|
|
2629
3600
|
200: {
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
requestedBranch: string | unknown;
|
|
2633
|
-
projectOpencodeConfig: {
|
|
2634
|
-
relativePath: string;
|
|
2635
|
-
present: boolean;
|
|
2636
|
-
commands: Array<{
|
|
2637
|
-
name: string;
|
|
2638
|
-
description: string;
|
|
2639
|
-
run: string;
|
|
2640
|
-
cwd: string | unknown;
|
|
2641
|
-
}>;
|
|
2642
|
-
services: Array<{
|
|
2643
|
-
name: string;
|
|
2644
|
-
description: string;
|
|
2645
|
-
run: string;
|
|
2646
|
-
cwd: string | unknown;
|
|
2647
|
-
dependsOn: Array<string>;
|
|
2648
|
-
expose: {
|
|
2649
|
-
targetPort: number;
|
|
2650
|
-
protocol: 'tcp' | 'http';
|
|
2651
|
-
};
|
|
2652
|
-
healthcheck: {
|
|
2653
|
-
protocol: 'tcp' | 'http';
|
|
2654
|
-
path: string | unknown;
|
|
2655
|
-
expectedStatus: number | unknown;
|
|
2656
|
-
};
|
|
2657
|
-
}>;
|
|
2658
|
-
};
|
|
2659
|
-
stepExecution: {
|
|
2660
|
-
id: string;
|
|
2661
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2662
|
-
inputJson: unknown;
|
|
2663
|
-
executionTimeoutSeconds: number | unknown;
|
|
2664
|
-
};
|
|
2665
|
-
stepDefinition: {
|
|
2666
|
-
id: string;
|
|
2667
|
-
key: string;
|
|
2668
|
-
name: string;
|
|
2669
|
-
prompt: string;
|
|
2670
|
-
resultSchemaJson: {
|
|
2671
|
-
[key: string]: unknown;
|
|
2672
|
-
} | unknown;
|
|
2673
|
-
opencodeMcpJson: {
|
|
2674
|
-
[key: string]: {
|
|
2675
|
-
type: string;
|
|
2676
|
-
command: Array<string>;
|
|
2677
|
-
environment?: {
|
|
2678
|
-
[key: string]: string;
|
|
2679
|
-
};
|
|
2680
|
-
enabled?: boolean;
|
|
2681
|
-
timeout?: number;
|
|
2682
|
-
} | {
|
|
2683
|
-
type: string;
|
|
2684
|
-
url: string;
|
|
2685
|
-
enabled?: boolean;
|
|
2686
|
-
headers?: {
|
|
2687
|
-
[key: string]: string;
|
|
2688
|
-
};
|
|
2689
|
-
oauth?: {
|
|
2690
|
-
clientId?: string;
|
|
2691
|
-
clientSecret?: string;
|
|
2692
|
-
scope?: string;
|
|
2693
|
-
redirectUri?: string;
|
|
2694
|
-
} | boolean;
|
|
2695
|
-
timeout?: number;
|
|
2696
|
-
} | {
|
|
2697
|
-
enabled: boolean;
|
|
2698
|
-
};
|
|
2699
|
-
} | unknown;
|
|
2700
|
-
opencodePluginJson: Array<string | Array<unknown>> | unknown;
|
|
2701
|
-
};
|
|
2702
|
-
agentPrompt: {
|
|
2703
|
-
sessionTitle: string;
|
|
2704
|
-
promptText: string;
|
|
2705
|
-
stepInstructionsPlaceholder: string;
|
|
2706
|
-
};
|
|
2707
|
-
};
|
|
2708
|
-
};
|
|
2709
|
-
export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponse = PostApiStepExecutionsByStepExecutionIdWorkerContextResponses[keyof PostApiStepExecutionsByStepExecutionIdWorkerContextResponses];
|
|
2710
|
-
export type PostApiStepExecutionsByStepExecutionIdCompletionsData = {
|
|
2711
|
-
body: {
|
|
2712
|
-
claimToken: string;
|
|
3601
|
+
id: string;
|
|
3602
|
+
stepExecutionId: string;
|
|
2713
3603
|
status: 'succeeded' | 'failed';
|
|
2714
3604
|
resultJson: unknown;
|
|
2715
3605
|
errorJson: unknown;
|
|
3606
|
+
signals: Array<{
|
|
3607
|
+
id: string;
|
|
3608
|
+
stepExecutionResultId: string;
|
|
3609
|
+
key: string;
|
|
3610
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3611
|
+
source: 'extracted' | 'computed';
|
|
3612
|
+
valueJson: unknown;
|
|
3613
|
+
sourcePath: string | unknown;
|
|
3614
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
3615
|
+
createdAt: string;
|
|
3616
|
+
}>;
|
|
3617
|
+
createdAt: string;
|
|
2716
3618
|
};
|
|
3619
|
+
};
|
|
3620
|
+
export type PostApiStepExecutionResultsResponse = PostApiStepExecutionResultsResponses[keyof PostApiStepExecutionResultsResponses];
|
|
3621
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractData = {
|
|
3622
|
+
body?: never;
|
|
2717
3623
|
path: {
|
|
2718
|
-
|
|
3624
|
+
stepExecutionResultId: string;
|
|
2719
3625
|
};
|
|
2720
3626
|
query?: never;
|
|
2721
|
-
url: '/api/step-
|
|
3627
|
+
url: '/api/step-execution-results/{stepExecutionResultId}/signals/extract';
|
|
2722
3628
|
};
|
|
2723
|
-
export type
|
|
3629
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors = {
|
|
2724
3630
|
/**
|
|
2725
3631
|
* Response for status 401
|
|
2726
3632
|
*/
|
|
@@ -2769,22 +3675,6 @@ export type PostApiStepExecutionsByStepExecutionIdCompletionsErrors = {
|
|
|
2769
3675
|
summary?: string;
|
|
2770
3676
|
}>;
|
|
2771
3677
|
};
|
|
2772
|
-
/**
|
|
2773
|
-
* Response for status 409
|
|
2774
|
-
*/
|
|
2775
|
-
409: {
|
|
2776
|
-
type: string;
|
|
2777
|
-
title: string;
|
|
2778
|
-
status: number;
|
|
2779
|
-
detail?: string;
|
|
2780
|
-
instance?: string;
|
|
2781
|
-
code?: string;
|
|
2782
|
-
errors?: Array<{
|
|
2783
|
-
path: string;
|
|
2784
|
-
message: string;
|
|
2785
|
-
summary?: string;
|
|
2786
|
-
}>;
|
|
2787
|
-
};
|
|
2788
3678
|
/**
|
|
2789
3679
|
* Response for status 422
|
|
2790
3680
|
*/
|
|
@@ -2818,59 +3708,33 @@ export type PostApiStepExecutionsByStepExecutionIdCompletionsErrors = {
|
|
|
2818
3708
|
}>;
|
|
2819
3709
|
};
|
|
2820
3710
|
};
|
|
2821
|
-
export type
|
|
2822
|
-
export type
|
|
3711
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractError = PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors[keyof PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors];
|
|
3712
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses = {
|
|
2823
3713
|
/**
|
|
2824
3714
|
* Response for status 200
|
|
2825
3715
|
*/
|
|
2826
|
-
200: {
|
|
3716
|
+
200: Array<{
|
|
2827
3717
|
id: string;
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
executionTimeoutSeconds: number | unknown;
|
|
2838
|
-
executionDeadlineAt: string | unknown;
|
|
2839
|
-
startedAt: string | unknown;
|
|
2840
|
-
completedAt: string | unknown;
|
|
2841
|
-
result: {
|
|
2842
|
-
id: string;
|
|
2843
|
-
stepExecutionId: string;
|
|
2844
|
-
status: 'succeeded' | 'failed';
|
|
2845
|
-
resultJson: unknown;
|
|
2846
|
-
errorJson: unknown;
|
|
2847
|
-
signals: Array<{
|
|
2848
|
-
id: string;
|
|
2849
|
-
stepExecutionResultId: string;
|
|
2850
|
-
key: string;
|
|
2851
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2852
|
-
source: 'extracted' | 'computed';
|
|
2853
|
-
valueJson: unknown;
|
|
2854
|
-
sourcePath: string | unknown;
|
|
2855
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
2856
|
-
createdAt: string;
|
|
2857
|
-
}>;
|
|
2858
|
-
createdAt: string;
|
|
2859
|
-
} | unknown;
|
|
2860
|
-
createdAt: string;
|
|
2861
|
-
updatedAt: string;
|
|
2862
|
-
};
|
|
3718
|
+
stepExecutionResultId: string;
|
|
3719
|
+
key: string;
|
|
3720
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3721
|
+
source: 'extracted' | 'computed';
|
|
3722
|
+
valueJson: unknown;
|
|
3723
|
+
sourcePath: string | unknown;
|
|
3724
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
3725
|
+
createdAt: string;
|
|
3726
|
+
}>;
|
|
2863
3727
|
};
|
|
2864
|
-
export type
|
|
2865
|
-
export type
|
|
3728
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponse = PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses[keyof PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses];
|
|
3729
|
+
export type GetApiStepExecutionsByStepExecutionIdData = {
|
|
2866
3730
|
body?: never;
|
|
2867
3731
|
path: {
|
|
2868
3732
|
stepExecutionId: string;
|
|
2869
3733
|
};
|
|
2870
3734
|
query?: never;
|
|
2871
|
-
url: '/api/step-executions/{stepExecutionId}
|
|
3735
|
+
url: '/api/step-executions/{stepExecutionId}';
|
|
2872
3736
|
};
|
|
2873
|
-
export type
|
|
3737
|
+
export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
2874
3738
|
/**
|
|
2875
3739
|
* Response for status 401
|
|
2876
3740
|
*/
|
|
@@ -2952,8 +3816,8 @@ export type PutApiStepExecutionsByStepExecutionIdRunningErrors = {
|
|
|
2952
3816
|
}>;
|
|
2953
3817
|
};
|
|
2954
3818
|
};
|
|
2955
|
-
export type
|
|
2956
|
-
export type
|
|
3819
|
+
export type GetApiStepExecutionsByStepExecutionIdError = GetApiStepExecutionsByStepExecutionIdErrors[keyof GetApiStepExecutionsByStepExecutionIdErrors];
|
|
3820
|
+
export type GetApiStepExecutionsByStepExecutionIdResponses = {
|
|
2957
3821
|
/**
|
|
2958
3822
|
* Response for status 200
|
|
2959
3823
|
*/
|
|
@@ -2995,19 +3859,19 @@ export type PutApiStepExecutionsByStepExecutionIdRunningResponses = {
|
|
|
2995
3859
|
updatedAt: string;
|
|
2996
3860
|
};
|
|
2997
3861
|
};
|
|
2998
|
-
export type
|
|
2999
|
-
export type
|
|
3000
|
-
body
|
|
3862
|
+
export type GetApiStepExecutionsByStepExecutionIdResponse = GetApiStepExecutionsByStepExecutionIdResponses[keyof GetApiStepExecutionsByStepExecutionIdResponses];
|
|
3863
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsData = {
|
|
3864
|
+
body?: never;
|
|
3865
|
+
path: {
|
|
3001
3866
|
stepExecutionId: string;
|
|
3002
|
-
status: 'succeeded' | 'failed';
|
|
3003
|
-
resultJson: unknown;
|
|
3004
|
-
errorJson: unknown;
|
|
3005
3867
|
};
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3868
|
+
query: {
|
|
3869
|
+
from: number;
|
|
3870
|
+
limit: number;
|
|
3871
|
+
};
|
|
3872
|
+
url: '/api/step-executions/{stepExecutionId}/logs';
|
|
3009
3873
|
};
|
|
3010
|
-
export type
|
|
3874
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsErrors = {
|
|
3011
3875
|
/**
|
|
3012
3876
|
* Response for status 401
|
|
3013
3877
|
*/
|
|
@@ -3056,22 +3920,6 @@ export type PostApiStepExecutionResultsErrors = {
|
|
|
3056
3920
|
summary?: string;
|
|
3057
3921
|
}>;
|
|
3058
3922
|
};
|
|
3059
|
-
/**
|
|
3060
|
-
* Response for status 409
|
|
3061
|
-
*/
|
|
3062
|
-
409: {
|
|
3063
|
-
type: string;
|
|
3064
|
-
title: string;
|
|
3065
|
-
status: number;
|
|
3066
|
-
detail?: string;
|
|
3067
|
-
instance?: string;
|
|
3068
|
-
code?: string;
|
|
3069
|
-
errors?: Array<{
|
|
3070
|
-
path: string;
|
|
3071
|
-
message: string;
|
|
3072
|
-
summary?: string;
|
|
3073
|
-
}>;
|
|
3074
|
-
};
|
|
3075
3923
|
/**
|
|
3076
3924
|
* Response for status 422
|
|
3077
3925
|
*/
|
|
@@ -3105,41 +3953,42 @@ export type PostApiStepExecutionResultsErrors = {
|
|
|
3105
3953
|
}>;
|
|
3106
3954
|
};
|
|
3107
3955
|
};
|
|
3108
|
-
export type
|
|
3109
|
-
export type
|
|
3956
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsError = GetApiStepExecutionsByStepExecutionIdLogsErrors[keyof GetApiStepExecutionsByStepExecutionIdLogsErrors];
|
|
3957
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsResponses = {
|
|
3110
3958
|
/**
|
|
3111
3959
|
* Response for status 200
|
|
3112
3960
|
*/
|
|
3113
3961
|
200: {
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
id: string;
|
|
3121
|
-
stepExecutionResultId: string;
|
|
3122
|
-
key: string;
|
|
3123
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3124
|
-
source: 'extracted' | 'computed';
|
|
3125
|
-
valueJson: unknown;
|
|
3126
|
-
sourcePath: string | unknown;
|
|
3127
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3128
|
-
createdAt: string;
|
|
3962
|
+
lines: Array<{
|
|
3963
|
+
seq: number;
|
|
3964
|
+
stream: 'worker' | 'ai-server' | 'conversation';
|
|
3965
|
+
ts: string;
|
|
3966
|
+
content: string;
|
|
3967
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
3129
3968
|
}>;
|
|
3130
|
-
|
|
3969
|
+
nextOffset: number;
|
|
3970
|
+
complete: boolean;
|
|
3131
3971
|
};
|
|
3132
3972
|
};
|
|
3133
|
-
export type
|
|
3134
|
-
export type
|
|
3135
|
-
body
|
|
3973
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsResponse = GetApiStepExecutionsByStepExecutionIdLogsResponses[keyof GetApiStepExecutionsByStepExecutionIdLogsResponses];
|
|
3974
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsData = {
|
|
3975
|
+
body: {
|
|
3976
|
+
claimToken: string;
|
|
3977
|
+
lines: Array<{
|
|
3978
|
+
seq: number;
|
|
3979
|
+
stream: 'worker' | 'ai-server' | 'conversation';
|
|
3980
|
+
ts: string;
|
|
3981
|
+
content: string;
|
|
3982
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
3983
|
+
}>;
|
|
3984
|
+
};
|
|
3136
3985
|
path: {
|
|
3137
|
-
|
|
3986
|
+
stepExecutionId: string;
|
|
3138
3987
|
};
|
|
3139
3988
|
query?: never;
|
|
3140
|
-
url: '/api/step-
|
|
3989
|
+
url: '/api/step-executions/{stepExecutionId}/logs';
|
|
3141
3990
|
};
|
|
3142
|
-
export type
|
|
3991
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsErrors = {
|
|
3143
3992
|
/**
|
|
3144
3993
|
* Response for status 401
|
|
3145
3994
|
*/
|
|
@@ -3188,6 +4037,22 @@ export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErro
|
|
|
3188
4037
|
summary?: string;
|
|
3189
4038
|
}>;
|
|
3190
4039
|
};
|
|
4040
|
+
/**
|
|
4041
|
+
* Response for status 409
|
|
4042
|
+
*/
|
|
4043
|
+
409: {
|
|
4044
|
+
type: string;
|
|
4045
|
+
title: string;
|
|
4046
|
+
status: number;
|
|
4047
|
+
detail?: string;
|
|
4048
|
+
instance?: string;
|
|
4049
|
+
code?: string;
|
|
4050
|
+
errors?: Array<{
|
|
4051
|
+
path: string;
|
|
4052
|
+
message: string;
|
|
4053
|
+
summary?: string;
|
|
4054
|
+
}>;
|
|
4055
|
+
};
|
|
3191
4056
|
/**
|
|
3192
4057
|
* Response for status 422
|
|
3193
4058
|
*/
|
|
@@ -3221,33 +4086,25 @@ export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErro
|
|
|
3221
4086
|
}>;
|
|
3222
4087
|
};
|
|
3223
4088
|
};
|
|
3224
|
-
export type
|
|
3225
|
-
export type
|
|
4089
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsError = PostApiStepExecutionsByStepExecutionIdLogsErrors[keyof PostApiStepExecutionsByStepExecutionIdLogsErrors];
|
|
4090
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsResponses = {
|
|
3226
4091
|
/**
|
|
3227
4092
|
* Response for status 200
|
|
3228
4093
|
*/
|
|
3229
|
-
200:
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
key: string;
|
|
3233
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3234
|
-
source: 'extracted' | 'computed';
|
|
3235
|
-
valueJson: unknown;
|
|
3236
|
-
sourcePath: string | unknown;
|
|
3237
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3238
|
-
createdAt: string;
|
|
3239
|
-
}>;
|
|
4094
|
+
200: {
|
|
4095
|
+
nextOffset: number;
|
|
4096
|
+
};
|
|
3240
4097
|
};
|
|
3241
|
-
export type
|
|
3242
|
-
export type
|
|
4098
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsResponse = PostApiStepExecutionsByStepExecutionIdLogsResponses[keyof PostApiStepExecutionsByStepExecutionIdLogsResponses];
|
|
4099
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveData = {
|
|
3243
4100
|
body?: never;
|
|
3244
4101
|
path: {
|
|
3245
4102
|
stepExecutionId: string;
|
|
3246
4103
|
};
|
|
3247
4104
|
query?: never;
|
|
3248
|
-
url: '/api/step-executions/{stepExecutionId}';
|
|
4105
|
+
url: '/api/step-executions/{stepExecutionId}/logs/archive';
|
|
3249
4106
|
};
|
|
3250
|
-
export type
|
|
4107
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors = {
|
|
3251
4108
|
/**
|
|
3252
4109
|
* Response for status 401
|
|
3253
4110
|
*/
|
|
@@ -3264,6 +4121,22 @@ export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
|
3264
4121
|
summary?: string;
|
|
3265
4122
|
}>;
|
|
3266
4123
|
};
|
|
4124
|
+
/**
|
|
4125
|
+
* Response for status 402
|
|
4126
|
+
*/
|
|
4127
|
+
402: {
|
|
4128
|
+
type: string;
|
|
4129
|
+
title: string;
|
|
4130
|
+
status: number;
|
|
4131
|
+
detail?: string;
|
|
4132
|
+
instance?: string;
|
|
4133
|
+
code?: string;
|
|
4134
|
+
errors?: Array<{
|
|
4135
|
+
path: string;
|
|
4136
|
+
message: string;
|
|
4137
|
+
summary?: string;
|
|
4138
|
+
}>;
|
|
4139
|
+
};
|
|
3267
4140
|
/**
|
|
3268
4141
|
* Response for status 403
|
|
3269
4142
|
*/
|
|
@@ -3329,50 +4202,17 @@ export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
|
3329
4202
|
}>;
|
|
3330
4203
|
};
|
|
3331
4204
|
};
|
|
3332
|
-
export type
|
|
3333
|
-
export type
|
|
4205
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveError = GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors[keyof GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors];
|
|
4206
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses = {
|
|
3334
4207
|
/**
|
|
3335
4208
|
* Response for status 200
|
|
3336
4209
|
*/
|
|
3337
4210
|
200: {
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
stepDefinitionId: string;
|
|
3341
|
-
stepDefinitionVersion: number;
|
|
3342
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
3343
|
-
inputJson: unknown;
|
|
3344
|
-
claimedBy: string | unknown;
|
|
3345
|
-
claimedAt: string | unknown;
|
|
3346
|
-
lastHeartbeatAt: string | unknown;
|
|
3347
|
-
leaseExpiresAt: string | unknown;
|
|
3348
|
-
executionTimeoutSeconds: number | unknown;
|
|
3349
|
-
executionDeadlineAt: string | unknown;
|
|
3350
|
-
startedAt: string | unknown;
|
|
3351
|
-
completedAt: string | unknown;
|
|
3352
|
-
result: {
|
|
3353
|
-
id: string;
|
|
3354
|
-
stepExecutionId: string;
|
|
3355
|
-
status: 'succeeded' | 'failed';
|
|
3356
|
-
resultJson: unknown;
|
|
3357
|
-
errorJson: unknown;
|
|
3358
|
-
signals: Array<{
|
|
3359
|
-
id: string;
|
|
3360
|
-
stepExecutionResultId: string;
|
|
3361
|
-
key: string;
|
|
3362
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3363
|
-
source: 'extracted' | 'computed';
|
|
3364
|
-
valueJson: unknown;
|
|
3365
|
-
sourcePath: string | unknown;
|
|
3366
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3367
|
-
createdAt: string;
|
|
3368
|
-
}>;
|
|
3369
|
-
createdAt: string;
|
|
3370
|
-
} | unknown;
|
|
3371
|
-
createdAt: string;
|
|
3372
|
-
updatedAt: string;
|
|
4211
|
+
url: string | unknown;
|
|
4212
|
+
sizeBytes: number;
|
|
3373
4213
|
};
|
|
3374
4214
|
};
|
|
3375
|
-
export type
|
|
4215
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveResponse = GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses[keyof GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses];
|
|
3376
4216
|
export type PostApiLinearPipelineDefinitionsData = {
|
|
3377
4217
|
body: {
|
|
3378
4218
|
projectId: string;
|
|
@@ -9322,7 +10162,7 @@ export type GetApiProjectsByProjectIdNotificationsByNotificationIdResponses = {
|
|
|
9322
10162
|
deliveries: Array<{
|
|
9323
10163
|
id: string;
|
|
9324
10164
|
notificationId: string;
|
|
9325
|
-
channel: 'in_app' | '
|
|
10165
|
+
channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
|
|
9326
10166
|
status: 'pending' | 'sent' | 'failed' | 'suppressed';
|
|
9327
10167
|
suppressionReason: string | unknown;
|
|
9328
10168
|
externalUrl: string | unknown;
|
|
@@ -9649,7 +10489,7 @@ export type GetApiProjectsByProjectIdNotificationRulesResponses = {
|
|
|
9649
10489
|
id: string;
|
|
9650
10490
|
projectId: string;
|
|
9651
10491
|
kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
|
|
9652
|
-
channel: 'in_app' | '
|
|
10492
|
+
channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
|
|
9653
10493
|
enabled: boolean;
|
|
9654
10494
|
minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
|
|
9655
10495
|
conditionsJson: unknown;
|
|
@@ -9661,7 +10501,7 @@ export type GetApiProjectsByProjectIdNotificationRulesResponse = GetApiProjectsB
|
|
|
9661
10501
|
export type PutApiProjectsByProjectIdNotificationRulesData = {
|
|
9662
10502
|
body: {
|
|
9663
10503
|
kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
|
|
9664
|
-
channel: 'in_app' | '
|
|
10504
|
+
channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
|
|
9665
10505
|
enabled: boolean;
|
|
9666
10506
|
minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
|
|
9667
10507
|
conditionsJson: unknown;
|
|
@@ -9763,7 +10603,7 @@ export type PutApiProjectsByProjectIdNotificationRulesResponses = {
|
|
|
9763
10603
|
id: string;
|
|
9764
10604
|
projectId: string;
|
|
9765
10605
|
kind: 'feedback_request' | 'status_update' | 'blocked' | 'result_ready' | 'warning';
|
|
9766
|
-
channel: 'in_app' | '
|
|
10606
|
+
channel: 'in_app' | 'work_item_platform_comment' | 'email' | 'slack';
|
|
9767
10607
|
enabled: boolean;
|
|
9768
10608
|
minPriority: 'low' | 'normal' | 'high' | 'urgent' | unknown;
|
|
9769
10609
|
conditionsJson: unknown;
|
|
@@ -11265,3 +12105,116 @@ export type PostApiProjectInvitesByTokenAcceptResponses = {
|
|
|
11265
12105
|
};
|
|
11266
12106
|
};
|
|
11267
12107
|
export type PostApiProjectInvitesByTokenAcceptResponse = PostApiProjectInvitesByTokenAcceptResponses[keyof PostApiProjectInvitesByTokenAcceptResponses];
|
|
12108
|
+
export type GetApiOrgsByOrgIdUsageData = {
|
|
12109
|
+
body?: never;
|
|
12110
|
+
path: {
|
|
12111
|
+
orgId: string;
|
|
12112
|
+
};
|
|
12113
|
+
query?: never;
|
|
12114
|
+
url: '/api/orgs/{orgId}/usage';
|
|
12115
|
+
};
|
|
12116
|
+
export type GetApiOrgsByOrgIdUsageErrors = {
|
|
12117
|
+
/**
|
|
12118
|
+
* Response for status 401
|
|
12119
|
+
*/
|
|
12120
|
+
401: {
|
|
12121
|
+
type: string;
|
|
12122
|
+
title: string;
|
|
12123
|
+
status: number;
|
|
12124
|
+
detail?: string;
|
|
12125
|
+
instance?: string;
|
|
12126
|
+
code?: string;
|
|
12127
|
+
errors?: Array<{
|
|
12128
|
+
path: string;
|
|
12129
|
+
message: string;
|
|
12130
|
+
summary?: string;
|
|
12131
|
+
}>;
|
|
12132
|
+
};
|
|
12133
|
+
/**
|
|
12134
|
+
* Response for status 403
|
|
12135
|
+
*/
|
|
12136
|
+
403: {
|
|
12137
|
+
type: string;
|
|
12138
|
+
title: string;
|
|
12139
|
+
status: number;
|
|
12140
|
+
detail?: string;
|
|
12141
|
+
instance?: string;
|
|
12142
|
+
code?: string;
|
|
12143
|
+
errors?: Array<{
|
|
12144
|
+
path: string;
|
|
12145
|
+
message: string;
|
|
12146
|
+
summary?: string;
|
|
12147
|
+
}>;
|
|
12148
|
+
};
|
|
12149
|
+
/**
|
|
12150
|
+
* Response for status 404
|
|
12151
|
+
*/
|
|
12152
|
+
404: {
|
|
12153
|
+
type: string;
|
|
12154
|
+
title: string;
|
|
12155
|
+
status: number;
|
|
12156
|
+
detail?: string;
|
|
12157
|
+
instance?: string;
|
|
12158
|
+
code?: string;
|
|
12159
|
+
errors?: Array<{
|
|
12160
|
+
path: string;
|
|
12161
|
+
message: string;
|
|
12162
|
+
summary?: string;
|
|
12163
|
+
}>;
|
|
12164
|
+
};
|
|
12165
|
+
/**
|
|
12166
|
+
* Response for status 422
|
|
12167
|
+
*/
|
|
12168
|
+
422: {
|
|
12169
|
+
type: string;
|
|
12170
|
+
title: string;
|
|
12171
|
+
status: number;
|
|
12172
|
+
detail?: string;
|
|
12173
|
+
instance?: string;
|
|
12174
|
+
code?: string;
|
|
12175
|
+
errors?: Array<{
|
|
12176
|
+
path: string;
|
|
12177
|
+
message: string;
|
|
12178
|
+
summary?: string;
|
|
12179
|
+
}>;
|
|
12180
|
+
};
|
|
12181
|
+
/**
|
|
12182
|
+
* Response for status 500
|
|
12183
|
+
*/
|
|
12184
|
+
500: {
|
|
12185
|
+
type: string;
|
|
12186
|
+
title: string;
|
|
12187
|
+
status: number;
|
|
12188
|
+
detail?: string;
|
|
12189
|
+
instance?: string;
|
|
12190
|
+
code?: string;
|
|
12191
|
+
errors?: Array<{
|
|
12192
|
+
path: string;
|
|
12193
|
+
message: string;
|
|
12194
|
+
summary?: string;
|
|
12195
|
+
}>;
|
|
12196
|
+
};
|
|
12197
|
+
};
|
|
12198
|
+
export type GetApiOrgsByOrgIdUsageError = GetApiOrgsByOrgIdUsageErrors[keyof GetApiOrgsByOrgIdUsageErrors];
|
|
12199
|
+
export type GetApiOrgsByOrgIdUsageResponses = {
|
|
12200
|
+
/**
|
|
12201
|
+
* Response for status 200
|
|
12202
|
+
*/
|
|
12203
|
+
200: {
|
|
12204
|
+
orgId: string;
|
|
12205
|
+
period: string;
|
|
12206
|
+
planId: 'free';
|
|
12207
|
+
writes: number;
|
|
12208
|
+
reads: number;
|
|
12209
|
+
storageBytes: number;
|
|
12210
|
+
limits: {
|
|
12211
|
+
maxWritesPerMonth: number;
|
|
12212
|
+
maxReadsPerMonth: number;
|
|
12213
|
+
maxStorageBytes: number;
|
|
12214
|
+
};
|
|
12215
|
+
resetsAt: string;
|
|
12216
|
+
createdAt: string;
|
|
12217
|
+
updatedAt: string;
|
|
12218
|
+
};
|
|
12219
|
+
};
|
|
12220
|
+
export type GetApiOrgsByOrgIdUsageResponse = GetApiOrgsByOrgIdUsageResponses[keyof GetApiOrgsByOrgIdUsageResponses];
|