@boboddy/sdk 0.2.14-alpha → 0.3.1
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 +53 -53
- package/dist/defaults/auth-file.d.ts +29 -0
- package/dist/defaults/index.d.ts +1 -1
- package/dist/defaults/index.js +47 -15
- package/dist/definitions/pipelines/index.js +53 -53
- package/dist/definitions/steps/index.js +53 -53
- package/dist/generated/sdk.gen.d.ts +11 -11
- package/dist/generated/types.gen.d.ts +1448 -1407
- package/dist/index.js +53 -53
- package/dist/push/index.js +53 -53
- package/dist/step-execution-plane-client.d.ts +6 -6
- package/package.json +1 -1
|
@@ -49,13 +49,16 @@ export type TraceApiAuth__Data = {
|
|
|
49
49
|
query?: never;
|
|
50
50
|
url: '/api/auth/*';
|
|
51
51
|
};
|
|
52
|
-
export type
|
|
52
|
+
export type GetApiProjectsResolveData = {
|
|
53
53
|
body?: never;
|
|
54
54
|
path?: never;
|
|
55
|
-
query
|
|
56
|
-
|
|
55
|
+
query: {
|
|
56
|
+
username: string;
|
|
57
|
+
slug: string;
|
|
58
|
+
};
|
|
59
|
+
url: '/api/projects/resolve';
|
|
57
60
|
};
|
|
58
|
-
export type
|
|
61
|
+
export type GetApiProjectsResolveErrors = {
|
|
59
62
|
/**
|
|
60
63
|
* Response for status 401
|
|
61
64
|
*/
|
|
@@ -72,6 +75,54 @@ export type GetApiProjectsErrors = {
|
|
|
72
75
|
summary?: string;
|
|
73
76
|
}>;
|
|
74
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* Response for status 403
|
|
80
|
+
*/
|
|
81
|
+
403: {
|
|
82
|
+
type: string;
|
|
83
|
+
title: string;
|
|
84
|
+
status: number;
|
|
85
|
+
detail?: string;
|
|
86
|
+
instance?: string;
|
|
87
|
+
code?: string;
|
|
88
|
+
errors?: Array<{
|
|
89
|
+
path: string;
|
|
90
|
+
message: string;
|
|
91
|
+
summary?: string;
|
|
92
|
+
}>;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Response for status 404
|
|
96
|
+
*/
|
|
97
|
+
404: {
|
|
98
|
+
type: string;
|
|
99
|
+
title: string;
|
|
100
|
+
status: number;
|
|
101
|
+
detail?: string;
|
|
102
|
+
instance?: string;
|
|
103
|
+
code?: string;
|
|
104
|
+
errors?: Array<{
|
|
105
|
+
path: string;
|
|
106
|
+
message: string;
|
|
107
|
+
summary?: string;
|
|
108
|
+
}>;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Response for status 422
|
|
112
|
+
*/
|
|
113
|
+
422: {
|
|
114
|
+
type: string;
|
|
115
|
+
title: string;
|
|
116
|
+
status: number;
|
|
117
|
+
detail?: string;
|
|
118
|
+
instance?: string;
|
|
119
|
+
code?: string;
|
|
120
|
+
errors?: Array<{
|
|
121
|
+
path: string;
|
|
122
|
+
message: string;
|
|
123
|
+
summary?: string;
|
|
124
|
+
}>;
|
|
125
|
+
};
|
|
75
126
|
/**
|
|
76
127
|
* Response for status 500
|
|
77
128
|
*/
|
|
@@ -89,12 +140,12 @@ export type GetApiProjectsErrors = {
|
|
|
89
140
|
}>;
|
|
90
141
|
};
|
|
91
142
|
};
|
|
92
|
-
export type
|
|
93
|
-
export type
|
|
143
|
+
export type GetApiProjectsResolveError = GetApiProjectsResolveErrors[keyof GetApiProjectsResolveErrors];
|
|
144
|
+
export type GetApiProjectsResolveResponses = {
|
|
94
145
|
/**
|
|
95
146
|
* Response for status 200
|
|
96
147
|
*/
|
|
97
|
-
200:
|
|
148
|
+
200: {
|
|
98
149
|
id: string;
|
|
99
150
|
name: string;
|
|
100
151
|
slug: string;
|
|
@@ -161,26 +212,33 @@ export type GetApiProjectsResponses = {
|
|
|
161
212
|
} | unknown;
|
|
162
213
|
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
163
214
|
} | unknown;
|
|
215
|
+
visibility: 'private' | 'public';
|
|
164
216
|
createdAt: string;
|
|
165
217
|
updatedAt: string;
|
|
166
|
-
}
|
|
218
|
+
};
|
|
167
219
|
};
|
|
168
|
-
export type
|
|
169
|
-
export type
|
|
170
|
-
body
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
gitUrl: string;
|
|
220
|
+
export type GetApiProjectsResolveResponse = GetApiProjectsResolveResponses[keyof GetApiProjectsResolveResponses];
|
|
221
|
+
export type GetApiProjectsByProjectIdWorkItemsData = {
|
|
222
|
+
body?: never;
|
|
223
|
+
path: {
|
|
224
|
+
projectId: string;
|
|
174
225
|
};
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
226
|
+
query?: {
|
|
227
|
+
q?: string;
|
|
228
|
+
page?: number;
|
|
229
|
+
pageSize?: number;
|
|
230
|
+
sortPipelineId?: string;
|
|
231
|
+
sortStepKey?: string;
|
|
232
|
+
sortSignalKey?: string;
|
|
233
|
+
sortDirection?: 'asc' | 'desc';
|
|
234
|
+
};
|
|
235
|
+
url: '/api/projects/{projectId}/work-items';
|
|
178
236
|
};
|
|
179
|
-
export type
|
|
237
|
+
export type GetApiProjectsByProjectIdWorkItemsErrors = {
|
|
180
238
|
/**
|
|
181
|
-
* Response for status
|
|
239
|
+
* Response for status 401
|
|
182
240
|
*/
|
|
183
|
-
|
|
241
|
+
401: {
|
|
184
242
|
type: string;
|
|
185
243
|
title: string;
|
|
186
244
|
status: number;
|
|
@@ -194,9 +252,9 @@ export type PostApiProjectsErrors = {
|
|
|
194
252
|
}>;
|
|
195
253
|
};
|
|
196
254
|
/**
|
|
197
|
-
* Response for status
|
|
255
|
+
* Response for status 403
|
|
198
256
|
*/
|
|
199
|
-
|
|
257
|
+
403: {
|
|
200
258
|
type: string;
|
|
201
259
|
title: string;
|
|
202
260
|
status: number;
|
|
@@ -210,9 +268,9 @@ export type PostApiProjectsErrors = {
|
|
|
210
268
|
}>;
|
|
211
269
|
};
|
|
212
270
|
/**
|
|
213
|
-
* Response for status
|
|
271
|
+
* Response for status 404
|
|
214
272
|
*/
|
|
215
|
-
|
|
273
|
+
404: {
|
|
216
274
|
type: string;
|
|
217
275
|
title: string;
|
|
218
276
|
status: number;
|
|
@@ -258,93 +316,48 @@ export type PostApiProjectsErrors = {
|
|
|
258
316
|
}>;
|
|
259
317
|
};
|
|
260
318
|
};
|
|
261
|
-
export type
|
|
262
|
-
export type
|
|
319
|
+
export type GetApiProjectsByProjectIdWorkItemsError = GetApiProjectsByProjectIdWorkItemsErrors[keyof GetApiProjectsByProjectIdWorkItemsErrors];
|
|
320
|
+
export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
263
321
|
/**
|
|
264
322
|
* Response for status 200
|
|
265
323
|
*/
|
|
266
324
|
200: {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
325
|
+
items: Array<{
|
|
326
|
+
id: string;
|
|
327
|
+
projectId: string;
|
|
328
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
329
|
+
platformId?: string | unknown;
|
|
330
|
+
platformKey: string;
|
|
331
|
+
url?: string | unknown;
|
|
332
|
+
title: string;
|
|
333
|
+
description: string;
|
|
334
|
+
sourceCreatedAt: string | unknown;
|
|
335
|
+
sourceUpdatedAt: string | unknown;
|
|
336
|
+
fields: unknown;
|
|
337
|
+
createdByUsername: string | unknown;
|
|
338
|
+
createdByImage: string | unknown;
|
|
278
339
|
createdAt: string;
|
|
279
340
|
updatedAt: string;
|
|
341
|
+
signalScore: number | unknown;
|
|
342
|
+
latestExecutionStatus: string | unknown;
|
|
280
343
|
}>;
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
[key: string]: unknown;
|
|
287
|
-
};
|
|
288
|
-
event: {
|
|
289
|
-
type: string;
|
|
290
|
-
params?: {
|
|
291
|
-
[key: string]: unknown;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
name?: string;
|
|
295
|
-
priority?: number;
|
|
296
|
-
[key: string]: unknown | {
|
|
297
|
-
[key: string]: unknown;
|
|
298
|
-
} | {
|
|
299
|
-
type: string;
|
|
300
|
-
params?: {
|
|
301
|
-
[key: string]: unknown;
|
|
302
|
-
};
|
|
303
|
-
} | string | number | undefined;
|
|
304
|
-
}>;
|
|
305
|
-
[key: string]: unknown | Array<{
|
|
306
|
-
conditions: {
|
|
307
|
-
[key: string]: unknown;
|
|
308
|
-
};
|
|
309
|
-
event: {
|
|
310
|
-
type: string;
|
|
311
|
-
params?: {
|
|
312
|
-
[key: string]: unknown;
|
|
313
|
-
};
|
|
314
|
-
};
|
|
315
|
-
name?: string;
|
|
316
|
-
priority?: number;
|
|
317
|
-
[key: string]: unknown | {
|
|
318
|
-
[key: string]: unknown;
|
|
319
|
-
} | {
|
|
320
|
-
type: string;
|
|
321
|
-
params?: {
|
|
322
|
-
[key: string]: unknown;
|
|
323
|
-
};
|
|
324
|
-
} | string | number | undefined;
|
|
325
|
-
}>;
|
|
326
|
-
};
|
|
327
|
-
defaultEventType: 'assign' | 'skip';
|
|
328
|
-
defaultEventParamsJson: {
|
|
329
|
-
[key: string]: unknown;
|
|
330
|
-
} | unknown;
|
|
331
|
-
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
332
|
-
} | unknown;
|
|
333
|
-
createdAt: string;
|
|
334
|
-
updatedAt: string;
|
|
344
|
+
pagination: {
|
|
345
|
+
page: number;
|
|
346
|
+
pageSize: number;
|
|
347
|
+
total: number;
|
|
348
|
+
};
|
|
335
349
|
};
|
|
336
350
|
};
|
|
337
|
-
export type
|
|
338
|
-
export type
|
|
351
|
+
export type GetApiProjectsByProjectIdWorkItemsResponse = GetApiProjectsByProjectIdWorkItemsResponses[keyof GetApiProjectsByProjectIdWorkItemsResponses];
|
|
352
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsData = {
|
|
339
353
|
body?: never;
|
|
340
|
-
path
|
|
341
|
-
|
|
342
|
-
username: string;
|
|
343
|
-
slug: string;
|
|
354
|
+
path: {
|
|
355
|
+
projectId: string;
|
|
344
356
|
};
|
|
345
|
-
|
|
357
|
+
query?: never;
|
|
358
|
+
url: '/api/projects/{projectId}/work-item-field-options';
|
|
346
359
|
};
|
|
347
|
-
export type
|
|
360
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsErrors = {
|
|
348
361
|
/**
|
|
349
362
|
* Response for status 401
|
|
350
363
|
*/
|
|
@@ -426,100 +439,27 @@ export type GetApiProjectsResolveErrors = {
|
|
|
426
439
|
}>;
|
|
427
440
|
};
|
|
428
441
|
};
|
|
429
|
-
export type
|
|
430
|
-
export type
|
|
442
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsError = GetApiProjectsByProjectIdWorkItemFieldOptionsErrors[keyof GetApiProjectsByProjectIdWorkItemFieldOptionsErrors];
|
|
443
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsResponses = {
|
|
431
444
|
/**
|
|
432
445
|
* Response for status 200
|
|
433
446
|
*/
|
|
434
|
-
200: {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
gitUrl: string;
|
|
440
|
-
createdByUserId: string;
|
|
441
|
-
orgId: string;
|
|
442
|
-
ownerUsername: string | unknown;
|
|
443
|
-
memberships: Array<{
|
|
444
|
-
userId: string;
|
|
445
|
-
permissions: Array<string>;
|
|
446
|
-
createdAt: string;
|
|
447
|
-
updatedAt: string;
|
|
448
|
-
}>;
|
|
449
|
-
defaultPipelineAssignment: {
|
|
450
|
-
linearPipelineDefinitionId: string;
|
|
451
|
-
rulesJson: {
|
|
452
|
-
rules: Array<{
|
|
453
|
-
conditions: {
|
|
454
|
-
[key: string]: unknown;
|
|
455
|
-
};
|
|
456
|
-
event: {
|
|
457
|
-
type: string;
|
|
458
|
-
params?: {
|
|
459
|
-
[key: string]: unknown;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
name?: string;
|
|
463
|
-
priority?: number;
|
|
464
|
-
[key: string]: unknown | {
|
|
465
|
-
[key: string]: unknown;
|
|
466
|
-
} | {
|
|
467
|
-
type: string;
|
|
468
|
-
params?: {
|
|
469
|
-
[key: string]: unknown;
|
|
470
|
-
};
|
|
471
|
-
} | string | number | undefined;
|
|
472
|
-
}>;
|
|
473
|
-
[key: string]: unknown | Array<{
|
|
474
|
-
conditions: {
|
|
475
|
-
[key: string]: unknown;
|
|
476
|
-
};
|
|
477
|
-
event: {
|
|
478
|
-
type: string;
|
|
479
|
-
params?: {
|
|
480
|
-
[key: string]: unknown;
|
|
481
|
-
};
|
|
482
|
-
};
|
|
483
|
-
name?: string;
|
|
484
|
-
priority?: number;
|
|
485
|
-
[key: string]: unknown | {
|
|
486
|
-
[key: string]: unknown;
|
|
487
|
-
} | {
|
|
488
|
-
type: string;
|
|
489
|
-
params?: {
|
|
490
|
-
[key: string]: unknown;
|
|
491
|
-
};
|
|
492
|
-
} | string | number | undefined;
|
|
493
|
-
}>;
|
|
494
|
-
};
|
|
495
|
-
defaultEventType: 'assign' | 'skip';
|
|
496
|
-
defaultEventParamsJson: {
|
|
497
|
-
[key: string]: unknown;
|
|
498
|
-
} | unknown;
|
|
499
|
-
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
500
|
-
} | unknown;
|
|
501
|
-
createdAt: string;
|
|
502
|
-
updatedAt: string;
|
|
503
|
-
};
|
|
447
|
+
200: Array<{
|
|
448
|
+
key: string;
|
|
449
|
+
values: Array<string>;
|
|
450
|
+
truncated: boolean;
|
|
451
|
+
}>;
|
|
504
452
|
};
|
|
505
|
-
export type
|
|
506
|
-
export type
|
|
453
|
+
export type GetApiProjectsByProjectIdWorkItemFieldOptionsResponse = GetApiProjectsByProjectIdWorkItemFieldOptionsResponses[keyof GetApiProjectsByProjectIdWorkItemFieldOptionsResponses];
|
|
454
|
+
export type GetApiProjectsByProjectIdData = {
|
|
507
455
|
body?: never;
|
|
508
456
|
path: {
|
|
509
457
|
projectId: string;
|
|
510
458
|
};
|
|
511
|
-
query?:
|
|
512
|
-
|
|
513
|
-
page?: number;
|
|
514
|
-
pageSize?: number;
|
|
515
|
-
sortPipelineId?: string;
|
|
516
|
-
sortStepKey?: string;
|
|
517
|
-
sortSignalKey?: string;
|
|
518
|
-
sortDirection?: 'asc' | 'desc';
|
|
519
|
-
};
|
|
520
|
-
url: '/api/projects/{projectId}/work-items';
|
|
459
|
+
query?: never;
|
|
460
|
+
url: '/api/projects/{projectId}';
|
|
521
461
|
};
|
|
522
|
-
export type
|
|
462
|
+
export type GetApiProjectsByProjectIdErrors = {
|
|
523
463
|
/**
|
|
524
464
|
* Response for status 401
|
|
525
465
|
*/
|
|
@@ -601,47 +541,91 @@ export type GetApiProjectsByProjectIdWorkItemsErrors = {
|
|
|
601
541
|
}>;
|
|
602
542
|
};
|
|
603
543
|
};
|
|
604
|
-
export type
|
|
605
|
-
export type
|
|
544
|
+
export type GetApiProjectsByProjectIdError = GetApiProjectsByProjectIdErrors[keyof GetApiProjectsByProjectIdErrors];
|
|
545
|
+
export type GetApiProjectsByProjectIdResponses = {
|
|
606
546
|
/**
|
|
607
547
|
* Response for status 200
|
|
608
548
|
*/
|
|
609
549
|
200: {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
fields: unknown;
|
|
622
|
-
createdByUsername: string | unknown;
|
|
623
|
-
createdByImage: string | unknown;
|
|
550
|
+
id: string;
|
|
551
|
+
name: string;
|
|
552
|
+
slug: string;
|
|
553
|
+
description: string | unknown;
|
|
554
|
+
gitUrl: string;
|
|
555
|
+
createdByUserId: string;
|
|
556
|
+
orgId: string;
|
|
557
|
+
ownerUsername: string | unknown;
|
|
558
|
+
memberships: Array<{
|
|
559
|
+
userId: string;
|
|
560
|
+
permissions: Array<string>;
|
|
624
561
|
createdAt: string;
|
|
625
562
|
updatedAt: string;
|
|
626
|
-
signalScore: number | unknown;
|
|
627
563
|
}>;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
564
|
+
defaultPipelineAssignment: {
|
|
565
|
+
linearPipelineDefinitionId: string;
|
|
566
|
+
rulesJson: {
|
|
567
|
+
rules: Array<{
|
|
568
|
+
conditions: {
|
|
569
|
+
[key: string]: unknown;
|
|
570
|
+
};
|
|
571
|
+
event: {
|
|
572
|
+
type: string;
|
|
573
|
+
params?: {
|
|
574
|
+
[key: string]: unknown;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
name?: string;
|
|
578
|
+
priority?: number;
|
|
579
|
+
[key: string]: unknown | {
|
|
580
|
+
[key: string]: unknown;
|
|
581
|
+
} | {
|
|
582
|
+
type: string;
|
|
583
|
+
params?: {
|
|
584
|
+
[key: string]: unknown;
|
|
585
|
+
};
|
|
586
|
+
} | string | number | undefined;
|
|
587
|
+
}>;
|
|
588
|
+
[key: string]: unknown | Array<{
|
|
589
|
+
conditions: {
|
|
590
|
+
[key: string]: unknown;
|
|
591
|
+
};
|
|
592
|
+
event: {
|
|
593
|
+
type: string;
|
|
594
|
+
params?: {
|
|
595
|
+
[key: string]: unknown;
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
name?: string;
|
|
599
|
+
priority?: number;
|
|
600
|
+
[key: string]: unknown | {
|
|
601
|
+
[key: string]: unknown;
|
|
602
|
+
} | {
|
|
603
|
+
type: string;
|
|
604
|
+
params?: {
|
|
605
|
+
[key: string]: unknown;
|
|
606
|
+
};
|
|
607
|
+
} | string | number | undefined;
|
|
608
|
+
}>;
|
|
609
|
+
};
|
|
610
|
+
defaultEventType: 'assign' | 'skip';
|
|
611
|
+
defaultEventParamsJson: {
|
|
612
|
+
[key: string]: unknown;
|
|
613
|
+
} | unknown;
|
|
614
|
+
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
615
|
+
} | unknown;
|
|
616
|
+
visibility: 'private' | 'public';
|
|
617
|
+
createdAt: string;
|
|
618
|
+
updatedAt: string;
|
|
633
619
|
};
|
|
634
620
|
};
|
|
635
|
-
export type
|
|
636
|
-
export type
|
|
621
|
+
export type GetApiProjectsByProjectIdResponse = GetApiProjectsByProjectIdResponses[keyof GetApiProjectsByProjectIdResponses];
|
|
622
|
+
export type GetApiProjectsData = {
|
|
637
623
|
body?: never;
|
|
638
|
-
path
|
|
639
|
-
projectId: string;
|
|
640
|
-
};
|
|
624
|
+
path?: never;
|
|
641
625
|
query?: never;
|
|
642
|
-
url: '/api/projects
|
|
626
|
+
url: '/api/projects';
|
|
643
627
|
};
|
|
644
|
-
export type
|
|
628
|
+
export type GetApiProjectsErrors = {
|
|
645
629
|
/**
|
|
646
630
|
* Response for status 401
|
|
647
631
|
*/
|
|
@@ -658,54 +642,6 @@ export type GetApiProjectsByProjectIdWorkItemFieldOptionsErrors = {
|
|
|
658
642
|
summary?: string;
|
|
659
643
|
}>;
|
|
660
644
|
};
|
|
661
|
-
/**
|
|
662
|
-
* Response for status 403
|
|
663
|
-
*/
|
|
664
|
-
403: {
|
|
665
|
-
type: string;
|
|
666
|
-
title: string;
|
|
667
|
-
status: number;
|
|
668
|
-
detail?: string;
|
|
669
|
-
instance?: string;
|
|
670
|
-
code?: string;
|
|
671
|
-
errors?: Array<{
|
|
672
|
-
path: string;
|
|
673
|
-
message: string;
|
|
674
|
-
summary?: string;
|
|
675
|
-
}>;
|
|
676
|
-
};
|
|
677
|
-
/**
|
|
678
|
-
* Response for status 404
|
|
679
|
-
*/
|
|
680
|
-
404: {
|
|
681
|
-
type: string;
|
|
682
|
-
title: string;
|
|
683
|
-
status: number;
|
|
684
|
-
detail?: string;
|
|
685
|
-
instance?: string;
|
|
686
|
-
code?: string;
|
|
687
|
-
errors?: Array<{
|
|
688
|
-
path: string;
|
|
689
|
-
message: string;
|
|
690
|
-
summary?: string;
|
|
691
|
-
}>;
|
|
692
|
-
};
|
|
693
|
-
/**
|
|
694
|
-
* Response for status 422
|
|
695
|
-
*/
|
|
696
|
-
422: {
|
|
697
|
-
type: string;
|
|
698
|
-
title: string;
|
|
699
|
-
status: number;
|
|
700
|
-
detail?: string;
|
|
701
|
-
instance?: string;
|
|
702
|
-
code?: string;
|
|
703
|
-
errors?: Array<{
|
|
704
|
-
path: string;
|
|
705
|
-
message: string;
|
|
706
|
-
summary?: string;
|
|
707
|
-
}>;
|
|
708
|
-
};
|
|
709
645
|
/**
|
|
710
646
|
* Response for status 500
|
|
711
647
|
*/
|
|
@@ -723,31 +659,99 @@ export type GetApiProjectsByProjectIdWorkItemFieldOptionsErrors = {
|
|
|
723
659
|
}>;
|
|
724
660
|
};
|
|
725
661
|
};
|
|
726
|
-
export type
|
|
727
|
-
export type
|
|
662
|
+
export type GetApiProjectsError = GetApiProjectsErrors[keyof GetApiProjectsErrors];
|
|
663
|
+
export type GetApiProjectsResponses = {
|
|
728
664
|
/**
|
|
729
665
|
* Response for status 200
|
|
730
666
|
*/
|
|
731
667
|
200: Array<{
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
668
|
+
id: string;
|
|
669
|
+
name: string;
|
|
670
|
+
slug: string;
|
|
671
|
+
description: string | unknown;
|
|
672
|
+
gitUrl: string;
|
|
673
|
+
createdByUserId: string;
|
|
674
|
+
orgId: string;
|
|
675
|
+
ownerUsername: string | unknown;
|
|
676
|
+
memberships: Array<{
|
|
677
|
+
userId: string;
|
|
678
|
+
permissions: Array<string>;
|
|
679
|
+
createdAt: string;
|
|
680
|
+
updatedAt: string;
|
|
681
|
+
}>;
|
|
682
|
+
defaultPipelineAssignment: {
|
|
683
|
+
linearPipelineDefinitionId: string;
|
|
684
|
+
rulesJson: {
|
|
685
|
+
rules: Array<{
|
|
686
|
+
conditions: {
|
|
687
|
+
[key: string]: unknown;
|
|
688
|
+
};
|
|
689
|
+
event: {
|
|
690
|
+
type: string;
|
|
691
|
+
params?: {
|
|
692
|
+
[key: string]: unknown;
|
|
693
|
+
};
|
|
694
|
+
};
|
|
695
|
+
name?: string;
|
|
696
|
+
priority?: number;
|
|
697
|
+
[key: string]: unknown | {
|
|
698
|
+
[key: string]: unknown;
|
|
699
|
+
} | {
|
|
700
|
+
type: string;
|
|
701
|
+
params?: {
|
|
702
|
+
[key: string]: unknown;
|
|
703
|
+
};
|
|
704
|
+
} | string | number | undefined;
|
|
705
|
+
}>;
|
|
706
|
+
[key: string]: unknown | Array<{
|
|
707
|
+
conditions: {
|
|
708
|
+
[key: string]: unknown;
|
|
709
|
+
};
|
|
710
|
+
event: {
|
|
711
|
+
type: string;
|
|
712
|
+
params?: {
|
|
713
|
+
[key: string]: unknown;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
name?: string;
|
|
717
|
+
priority?: number;
|
|
718
|
+
[key: string]: unknown | {
|
|
719
|
+
[key: string]: unknown;
|
|
720
|
+
} | {
|
|
721
|
+
type: string;
|
|
722
|
+
params?: {
|
|
723
|
+
[key: string]: unknown;
|
|
724
|
+
};
|
|
725
|
+
} | string | number | undefined;
|
|
726
|
+
}>;
|
|
727
|
+
};
|
|
728
|
+
defaultEventType: 'assign' | 'skip';
|
|
729
|
+
defaultEventParamsJson: {
|
|
730
|
+
[key: string]: unknown;
|
|
731
|
+
} | unknown;
|
|
732
|
+
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
733
|
+
} | unknown;
|
|
734
|
+
visibility: 'private' | 'public';
|
|
735
|
+
createdAt: string;
|
|
736
|
+
updatedAt: string;
|
|
735
737
|
}>;
|
|
736
|
-
};
|
|
737
|
-
export type
|
|
738
|
-
export type
|
|
739
|
-
body
|
|
740
|
-
|
|
741
|
-
|
|
738
|
+
};
|
|
739
|
+
export type GetApiProjectsResponse = GetApiProjectsResponses[keyof GetApiProjectsResponses];
|
|
740
|
+
export type PostApiProjectsData = {
|
|
741
|
+
body: {
|
|
742
|
+
name: string;
|
|
743
|
+
description: string | unknown;
|
|
744
|
+
gitUrl: string;
|
|
742
745
|
};
|
|
746
|
+
path?: never;
|
|
743
747
|
query?: never;
|
|
744
|
-
url: '/api/projects
|
|
748
|
+
url: '/api/projects';
|
|
745
749
|
};
|
|
746
|
-
export type
|
|
750
|
+
export type PostApiProjectsErrors = {
|
|
747
751
|
/**
|
|
748
|
-
* Response for status
|
|
752
|
+
* Response for status 400
|
|
749
753
|
*/
|
|
750
|
-
|
|
754
|
+
400: {
|
|
751
755
|
type: string;
|
|
752
756
|
title: string;
|
|
753
757
|
status: number;
|
|
@@ -761,9 +765,9 @@ export type GetApiProjectsByProjectIdErrors = {
|
|
|
761
765
|
}>;
|
|
762
766
|
};
|
|
763
767
|
/**
|
|
764
|
-
* Response for status
|
|
768
|
+
* Response for status 401
|
|
765
769
|
*/
|
|
766
|
-
|
|
770
|
+
401: {
|
|
767
771
|
type: string;
|
|
768
772
|
title: string;
|
|
769
773
|
status: number;
|
|
@@ -777,9 +781,9 @@ export type GetApiProjectsByProjectIdErrors = {
|
|
|
777
781
|
}>;
|
|
778
782
|
};
|
|
779
783
|
/**
|
|
780
|
-
* Response for status
|
|
784
|
+
* Response for status 403
|
|
781
785
|
*/
|
|
782
|
-
|
|
786
|
+
403: {
|
|
783
787
|
type: string;
|
|
784
788
|
title: string;
|
|
785
789
|
status: number;
|
|
@@ -825,8 +829,8 @@ export type GetApiProjectsByProjectIdErrors = {
|
|
|
825
829
|
}>;
|
|
826
830
|
};
|
|
827
831
|
};
|
|
828
|
-
export type
|
|
829
|
-
export type
|
|
832
|
+
export type PostApiProjectsError = PostApiProjectsErrors[keyof PostApiProjectsErrors];
|
|
833
|
+
export type PostApiProjectsResponses = {
|
|
830
834
|
/**
|
|
831
835
|
* Response for status 200
|
|
832
836
|
*/
|
|
@@ -897,11 +901,12 @@ export type GetApiProjectsByProjectIdResponses = {
|
|
|
897
901
|
} | unknown;
|
|
898
902
|
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
899
903
|
} | unknown;
|
|
904
|
+
visibility: 'private' | 'public';
|
|
900
905
|
createdAt: string;
|
|
901
906
|
updatedAt: string;
|
|
902
907
|
};
|
|
903
908
|
};
|
|
904
|
-
export type
|
|
909
|
+
export type PostApiProjectsResponse = PostApiProjectsResponses[keyof PostApiProjectsResponses];
|
|
905
910
|
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentData = {
|
|
906
911
|
body: {
|
|
907
912
|
defaultPipelineAssignment: {
|
|
@@ -1117,6 +1122,7 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
|
|
|
1117
1122
|
} | unknown;
|
|
1118
1123
|
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
1119
1124
|
} | unknown;
|
|
1125
|
+
visibility: 'private' | 'public';
|
|
1120
1126
|
createdAt: string;
|
|
1121
1127
|
updatedAt: string;
|
|
1122
1128
|
};
|
|
@@ -1285,6 +1291,7 @@ export type PutApiProjectsByProjectIdMembersByUserIdPermissionsResponses = {
|
|
|
1285
1291
|
} | unknown;
|
|
1286
1292
|
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
1287
1293
|
} | unknown;
|
|
1294
|
+
visibility: 'private' | 'public';
|
|
1288
1295
|
createdAt: string;
|
|
1289
1296
|
updatedAt: string;
|
|
1290
1297
|
};
|
|
@@ -2221,19 +2228,35 @@ export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponses = {
|
|
|
2221
2228
|
};
|
|
2222
2229
|
};
|
|
2223
2230
|
export type PutApiStepDefinitionsByStepDefinitionIdArchiveResponse = PutApiStepDefinitionsByStepDefinitionIdArchiveResponses[keyof PutApiStepDefinitionsByStepDefinitionIdArchiveResponses];
|
|
2224
|
-
export type
|
|
2231
|
+
export type PostApiStepExecutionsClaimsData = {
|
|
2225
2232
|
body: {
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
stepExecutionId: string;
|
|
2233
|
+
projectId: string;
|
|
2234
|
+
workerId: string;
|
|
2235
|
+
batchSize: number;
|
|
2236
|
+
leaseDurationSeconds: number;
|
|
2237
|
+
workItemId?: string;
|
|
2232
2238
|
};
|
|
2239
|
+
path?: never;
|
|
2233
2240
|
query?: never;
|
|
2234
|
-
url: '/api/step-executions/
|
|
2241
|
+
url: '/api/step-executions/claims';
|
|
2235
2242
|
};
|
|
2236
|
-
export type
|
|
2243
|
+
export type PostApiStepExecutionsClaimsErrors = {
|
|
2244
|
+
/**
|
|
2245
|
+
* Response for status 400
|
|
2246
|
+
*/
|
|
2247
|
+
400: {
|
|
2248
|
+
type: string;
|
|
2249
|
+
title: string;
|
|
2250
|
+
status: number;
|
|
2251
|
+
detail?: string;
|
|
2252
|
+
instance?: string;
|
|
2253
|
+
code?: string;
|
|
2254
|
+
errors?: Array<{
|
|
2255
|
+
path: string;
|
|
2256
|
+
message: string;
|
|
2257
|
+
summary?: string;
|
|
2258
|
+
}>;
|
|
2259
|
+
};
|
|
2237
2260
|
/**
|
|
2238
2261
|
* Response for status 401
|
|
2239
2262
|
*/
|
|
@@ -2267,9 +2290,9 @@ export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors = {
|
|
|
2267
2290
|
}>;
|
|
2268
2291
|
};
|
|
2269
2292
|
/**
|
|
2270
|
-
* Response for status
|
|
2293
|
+
* Response for status 422
|
|
2271
2294
|
*/
|
|
2272
|
-
|
|
2295
|
+
422: {
|
|
2273
2296
|
type: string;
|
|
2274
2297
|
title: string;
|
|
2275
2298
|
status: number;
|
|
@@ -2283,9 +2306,98 @@ export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors = {
|
|
|
2283
2306
|
}>;
|
|
2284
2307
|
};
|
|
2285
2308
|
/**
|
|
2286
|
-
* Response for status
|
|
2309
|
+
* Response for status 500
|
|
2287
2310
|
*/
|
|
2288
|
-
|
|
2311
|
+
500: {
|
|
2312
|
+
type: string;
|
|
2313
|
+
title: string;
|
|
2314
|
+
status: number;
|
|
2315
|
+
detail?: string;
|
|
2316
|
+
instance?: string;
|
|
2317
|
+
code?: string;
|
|
2318
|
+
errors?: Array<{
|
|
2319
|
+
path: string;
|
|
2320
|
+
message: string;
|
|
2321
|
+
summary?: string;
|
|
2322
|
+
}>;
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2325
|
+
export type PostApiStepExecutionsClaimsError = PostApiStepExecutionsClaimsErrors[keyof PostApiStepExecutionsClaimsErrors];
|
|
2326
|
+
export type PostApiStepExecutionsClaimsResponses = {
|
|
2327
|
+
/**
|
|
2328
|
+
* Response for status 200
|
|
2329
|
+
*/
|
|
2330
|
+
200: Array<{
|
|
2331
|
+
stepExecution: {
|
|
2332
|
+
id: string;
|
|
2333
|
+
projectId: string;
|
|
2334
|
+
stepDefinitionId: string;
|
|
2335
|
+
stepDefinitionVersion: number;
|
|
2336
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2337
|
+
inputJson: unknown;
|
|
2338
|
+
claimedBy: string | unknown;
|
|
2339
|
+
claimedAt: string | unknown;
|
|
2340
|
+
lastHeartbeatAt: string | unknown;
|
|
2341
|
+
leaseExpiresAt: string | unknown;
|
|
2342
|
+
executionTimeoutSeconds: number | unknown;
|
|
2343
|
+
executionDeadlineAt: string | unknown;
|
|
2344
|
+
startedAt: string | unknown;
|
|
2345
|
+
completedAt: string | unknown;
|
|
2346
|
+
result: {
|
|
2347
|
+
id: string;
|
|
2348
|
+
stepExecutionId: string;
|
|
2349
|
+
status: 'succeeded' | 'failed';
|
|
2350
|
+
resultJson: unknown;
|
|
2351
|
+
errorJson: unknown;
|
|
2352
|
+
signals: Array<{
|
|
2353
|
+
id: string;
|
|
2354
|
+
stepExecutionResultId: string;
|
|
2355
|
+
key: string;
|
|
2356
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2357
|
+
source: 'extracted' | 'computed';
|
|
2358
|
+
valueJson: unknown;
|
|
2359
|
+
sourcePath: string | unknown;
|
|
2360
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2361
|
+
createdAt: string;
|
|
2362
|
+
}>;
|
|
2363
|
+
createdAt: string;
|
|
2364
|
+
} | unknown;
|
|
2365
|
+
createdAt: string;
|
|
2366
|
+
updatedAt: string;
|
|
2367
|
+
};
|
|
2368
|
+
claimToken: string;
|
|
2369
|
+
}>;
|
|
2370
|
+
};
|
|
2371
|
+
export type PostApiStepExecutionsClaimsResponse = PostApiStepExecutionsClaimsResponses[keyof PostApiStepExecutionsClaimsResponses];
|
|
2372
|
+
export type GetApiStepExecutionsData = {
|
|
2373
|
+
body?: never;
|
|
2374
|
+
path?: never;
|
|
2375
|
+
query: {
|
|
2376
|
+
projectId: string;
|
|
2377
|
+
};
|
|
2378
|
+
url: '/api/step-executions';
|
|
2379
|
+
};
|
|
2380
|
+
export type GetApiStepExecutionsErrors = {
|
|
2381
|
+
/**
|
|
2382
|
+
* Response for status 401
|
|
2383
|
+
*/
|
|
2384
|
+
401: {
|
|
2385
|
+
type: string;
|
|
2386
|
+
title: string;
|
|
2387
|
+
status: number;
|
|
2388
|
+
detail?: string;
|
|
2389
|
+
instance?: string;
|
|
2390
|
+
code?: string;
|
|
2391
|
+
errors?: Array<{
|
|
2392
|
+
path: string;
|
|
2393
|
+
message: string;
|
|
2394
|
+
summary?: string;
|
|
2395
|
+
}>;
|
|
2396
|
+
};
|
|
2397
|
+
/**
|
|
2398
|
+
* Response for status 403
|
|
2399
|
+
*/
|
|
2400
|
+
403: {
|
|
2289
2401
|
type: string;
|
|
2290
2402
|
title: string;
|
|
2291
2403
|
status: number;
|
|
@@ -2331,32 +2443,100 @@ export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors = {
|
|
|
2331
2443
|
}>;
|
|
2332
2444
|
};
|
|
2333
2445
|
};
|
|
2334
|
-
export type
|
|
2335
|
-
export type
|
|
2446
|
+
export type GetApiStepExecutionsError = GetApiStepExecutionsErrors[keyof GetApiStepExecutionsErrors];
|
|
2447
|
+
export type GetApiStepExecutionsResponses = {
|
|
2336
2448
|
/**
|
|
2337
2449
|
* Response for status 200
|
|
2338
2450
|
*/
|
|
2339
|
-
200: {
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2451
|
+
200: Array<{
|
|
2452
|
+
id: string;
|
|
2453
|
+
projectId: string;
|
|
2454
|
+
stepDefinitionId: string;
|
|
2455
|
+
stepDefinitionVersion: number;
|
|
2456
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2457
|
+
inputJson: unknown;
|
|
2458
|
+
claimedBy: string | unknown;
|
|
2459
|
+
claimedAt: string | unknown;
|
|
2460
|
+
lastHeartbeatAt: string | unknown;
|
|
2461
|
+
leaseExpiresAt: string | unknown;
|
|
2462
|
+
executionTimeoutSeconds: number | unknown;
|
|
2463
|
+
executionDeadlineAt: string | unknown;
|
|
2464
|
+
startedAt: string | unknown;
|
|
2465
|
+
completedAt: string | unknown;
|
|
2466
|
+
result: {
|
|
2467
|
+
id: string;
|
|
2468
|
+
stepExecutionId: string;
|
|
2469
|
+
status: 'succeeded' | 'failed';
|
|
2470
|
+
resultJson: unknown;
|
|
2471
|
+
errorJson: unknown;
|
|
2472
|
+
signals: Array<{
|
|
2473
|
+
id: string;
|
|
2474
|
+
stepExecutionResultId: string;
|
|
2475
|
+
key: string;
|
|
2476
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2477
|
+
source: 'extracted' | 'computed';
|
|
2478
|
+
valueJson: unknown;
|
|
2479
|
+
sourcePath: string | unknown;
|
|
2480
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2481
|
+
createdAt: string;
|
|
2482
|
+
}>;
|
|
2483
|
+
createdAt: string;
|
|
2484
|
+
} | unknown;
|
|
2485
|
+
createdAt: string;
|
|
2486
|
+
updatedAt: string;
|
|
2487
|
+
}>;
|
|
2345
2488
|
};
|
|
2346
|
-
export type
|
|
2347
|
-
export type
|
|
2348
|
-
body
|
|
2349
|
-
|
|
2350
|
-
|
|
2489
|
+
export type GetApiStepExecutionsResponse = GetApiStepExecutionsResponses[keyof GetApiStepExecutionsResponses];
|
|
2490
|
+
export type PostApiStepExecutionsData = {
|
|
2491
|
+
body: {
|
|
2492
|
+
projectId: string;
|
|
2493
|
+
stepDefinitionId: string;
|
|
2494
|
+
stepDefinitionVersion: number;
|
|
2495
|
+
status?: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2496
|
+
inputJson?: unknown;
|
|
2497
|
+
executionTimeoutSeconds?: number | unknown;
|
|
2351
2498
|
};
|
|
2499
|
+
path?: never;
|
|
2352
2500
|
query?: never;
|
|
2353
|
-
url: '/api/step-executions
|
|
2501
|
+
url: '/api/step-executions';
|
|
2354
2502
|
};
|
|
2355
|
-
export type
|
|
2503
|
+
export type PostApiStepExecutionsErrors = {
|
|
2504
|
+
/**
|
|
2505
|
+
* Response for status 400
|
|
2506
|
+
*/
|
|
2507
|
+
400: {
|
|
2508
|
+
type: string;
|
|
2509
|
+
title: string;
|
|
2510
|
+
status: number;
|
|
2511
|
+
detail?: string;
|
|
2512
|
+
instance?: string;
|
|
2513
|
+
code?: string;
|
|
2514
|
+
errors?: Array<{
|
|
2515
|
+
path: string;
|
|
2516
|
+
message: string;
|
|
2517
|
+
summary?: string;
|
|
2518
|
+
}>;
|
|
2519
|
+
};
|
|
2520
|
+
/**
|
|
2521
|
+
* Response for status 401
|
|
2522
|
+
*/
|
|
2523
|
+
401: {
|
|
2524
|
+
type: string;
|
|
2525
|
+
title: string;
|
|
2526
|
+
status: number;
|
|
2527
|
+
detail?: string;
|
|
2528
|
+
instance?: string;
|
|
2529
|
+
code?: string;
|
|
2530
|
+
errors?: Array<{
|
|
2531
|
+
path: string;
|
|
2532
|
+
message: string;
|
|
2533
|
+
summary?: string;
|
|
2534
|
+
}>;
|
|
2535
|
+
};
|
|
2356
2536
|
/**
|
|
2357
|
-
* Response for status
|
|
2537
|
+
* Response for status 403
|
|
2358
2538
|
*/
|
|
2359
|
-
|
|
2539
|
+
403: {
|
|
2360
2540
|
type: string;
|
|
2361
2541
|
title: string;
|
|
2362
2542
|
status: number;
|
|
@@ -2370,9 +2550,9 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
|
2370
2550
|
}>;
|
|
2371
2551
|
};
|
|
2372
2552
|
/**
|
|
2373
|
-
* Response for status
|
|
2553
|
+
* Response for status 404
|
|
2374
2554
|
*/
|
|
2375
|
-
|
|
2555
|
+
404: {
|
|
2376
2556
|
type: string;
|
|
2377
2557
|
title: string;
|
|
2378
2558
|
status: number;
|
|
@@ -2386,9 +2566,9 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
|
2386
2566
|
}>;
|
|
2387
2567
|
};
|
|
2388
2568
|
/**
|
|
2389
|
-
* Response for status
|
|
2569
|
+
* Response for status 409
|
|
2390
2570
|
*/
|
|
2391
|
-
|
|
2571
|
+
409: {
|
|
2392
2572
|
type: string;
|
|
2393
2573
|
title: string;
|
|
2394
2574
|
status: number;
|
|
@@ -2434,40 +2614,62 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
|
2434
2614
|
}>;
|
|
2435
2615
|
};
|
|
2436
2616
|
};
|
|
2437
|
-
export type
|
|
2438
|
-
export type
|
|
2617
|
+
export type PostApiStepExecutionsError = PostApiStepExecutionsErrors[keyof PostApiStepExecutionsErrors];
|
|
2618
|
+
export type PostApiStepExecutionsResponses = {
|
|
2439
2619
|
/**
|
|
2440
2620
|
* Response for status 200
|
|
2441
2621
|
*/
|
|
2442
|
-
200:
|
|
2622
|
+
200: {
|
|
2443
2623
|
id: string;
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2624
|
+
projectId: string;
|
|
2625
|
+
stepDefinitionId: string;
|
|
2626
|
+
stepDefinitionVersion: number;
|
|
2627
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2628
|
+
inputJson: unknown;
|
|
2629
|
+
claimedBy: string | unknown;
|
|
2630
|
+
claimedAt: string | unknown;
|
|
2631
|
+
lastHeartbeatAt: string | unknown;
|
|
2632
|
+
leaseExpiresAt: string | unknown;
|
|
2633
|
+
executionTimeoutSeconds: number | unknown;
|
|
2634
|
+
executionDeadlineAt: string | unknown;
|
|
2635
|
+
startedAt: string | unknown;
|
|
2636
|
+
completedAt: string | unknown;
|
|
2637
|
+
result: {
|
|
2638
|
+
id: string;
|
|
2639
|
+
stepExecutionId: string;
|
|
2640
|
+
status: 'succeeded' | 'failed';
|
|
2641
|
+
resultJson: unknown;
|
|
2642
|
+
errorJson: unknown;
|
|
2643
|
+
signals: Array<{
|
|
2644
|
+
id: string;
|
|
2645
|
+
stepExecutionResultId: string;
|
|
2646
|
+
key: string;
|
|
2647
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2648
|
+
source: 'extracted' | 'computed';
|
|
2649
|
+
valueJson: unknown;
|
|
2650
|
+
sourcePath: string | unknown;
|
|
2651
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2652
|
+
createdAt: string;
|
|
2653
|
+
}>;
|
|
2654
|
+
createdAt: string;
|
|
2655
|
+
} | unknown;
|
|
2451
2656
|
createdAt: string;
|
|
2452
|
-
|
|
2657
|
+
updatedAt: string;
|
|
2658
|
+
};
|
|
2453
2659
|
};
|
|
2454
|
-
export type
|
|
2455
|
-
export type
|
|
2660
|
+
export type PostApiStepExecutionsResponse = PostApiStepExecutionsResponses[keyof PostApiStepExecutionsResponses];
|
|
2661
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatData = {
|
|
2456
2662
|
body: {
|
|
2457
2663
|
claimToken: string;
|
|
2458
|
-
|
|
2459
|
-
relativeStorePath: string;
|
|
2460
|
-
sizeBytes: number;
|
|
2461
|
-
contentType?: string;
|
|
2462
|
-
kind?: 'generic' | 'playwright-trace';
|
|
2664
|
+
leaseDurationSeconds: number;
|
|
2463
2665
|
};
|
|
2464
2666
|
path: {
|
|
2465
2667
|
stepExecutionId: string;
|
|
2466
2668
|
};
|
|
2467
2669
|
query?: never;
|
|
2468
|
-
url: '/api/step-executions/{stepExecutionId}/
|
|
2670
|
+
url: '/api/step-executions/{stepExecutionId}/heartbeat';
|
|
2469
2671
|
};
|
|
2470
|
-
export type
|
|
2672
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
2471
2673
|
/**
|
|
2472
2674
|
* Response for status 401
|
|
2473
2675
|
*/
|
|
@@ -2565,34 +2767,61 @@ export type PostApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
|
2565
2767
|
}>;
|
|
2566
2768
|
};
|
|
2567
2769
|
};
|
|
2568
|
-
export type
|
|
2569
|
-
export type
|
|
2770
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatError = PutApiStepExecutionsByStepExecutionIdHeartbeatErrors[keyof PutApiStepExecutionsByStepExecutionIdHeartbeatErrors];
|
|
2771
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatResponses = {
|
|
2570
2772
|
/**
|
|
2571
2773
|
* Response for status 200
|
|
2572
2774
|
*/
|
|
2573
2775
|
200: {
|
|
2574
2776
|
id: string;
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2777
|
+
projectId: string;
|
|
2778
|
+
stepDefinitionId: string;
|
|
2779
|
+
stepDefinitionVersion: number;
|
|
2780
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2781
|
+
inputJson: unknown;
|
|
2782
|
+
claimedBy: string | unknown;
|
|
2783
|
+
claimedAt: string | unknown;
|
|
2784
|
+
lastHeartbeatAt: string | unknown;
|
|
2785
|
+
leaseExpiresAt: string | unknown;
|
|
2786
|
+
executionTimeoutSeconds: number | unknown;
|
|
2787
|
+
executionDeadlineAt: string | unknown;
|
|
2788
|
+
startedAt: string | unknown;
|
|
2789
|
+
completedAt: string | unknown;
|
|
2790
|
+
result: {
|
|
2791
|
+
id: string;
|
|
2792
|
+
stepExecutionId: string;
|
|
2793
|
+
status: 'succeeded' | 'failed';
|
|
2794
|
+
resultJson: unknown;
|
|
2795
|
+
errorJson: unknown;
|
|
2796
|
+
signals: Array<{
|
|
2797
|
+
id: string;
|
|
2798
|
+
stepExecutionResultId: string;
|
|
2799
|
+
key: string;
|
|
2800
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2801
|
+
source: 'extracted' | 'computed';
|
|
2802
|
+
valueJson: unknown;
|
|
2803
|
+
sourcePath: string | unknown;
|
|
2804
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2805
|
+
createdAt: string;
|
|
2806
|
+
}>;
|
|
2807
|
+
createdAt: string;
|
|
2808
|
+
} | unknown;
|
|
2582
2809
|
createdAt: string;
|
|
2810
|
+
updatedAt: string;
|
|
2583
2811
|
};
|
|
2584
2812
|
};
|
|
2585
|
-
export type
|
|
2586
|
-
export type
|
|
2587
|
-
body
|
|
2813
|
+
export type PutApiStepExecutionsByStepExecutionIdHeartbeatResponse = PutApiStepExecutionsByStepExecutionIdHeartbeatResponses[keyof PutApiStepExecutionsByStepExecutionIdHeartbeatResponses];
|
|
2814
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextData = {
|
|
2815
|
+
body: {
|
|
2816
|
+
claimToken: string;
|
|
2817
|
+
};
|
|
2588
2818
|
path: {
|
|
2589
2819
|
stepExecutionId: string;
|
|
2590
|
-
artifactId: string;
|
|
2591
2820
|
};
|
|
2592
2821
|
query?: never;
|
|
2593
|
-
url: '/api/step-executions/{stepExecutionId}/
|
|
2822
|
+
url: '/api/step-executions/{stepExecutionId}/worker-context';
|
|
2594
2823
|
};
|
|
2595
|
-
export type
|
|
2824
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextErrors = {
|
|
2596
2825
|
/**
|
|
2597
2826
|
* Response for status 401
|
|
2598
2827
|
*/
|
|
@@ -2610,9 +2839,9 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUr
|
|
|
2610
2839
|
}>;
|
|
2611
2840
|
};
|
|
2612
2841
|
/**
|
|
2613
|
-
* Response for status
|
|
2842
|
+
* Response for status 403
|
|
2614
2843
|
*/
|
|
2615
|
-
|
|
2844
|
+
403: {
|
|
2616
2845
|
type: string;
|
|
2617
2846
|
title: string;
|
|
2618
2847
|
status: number;
|
|
@@ -2626,9 +2855,9 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUr
|
|
|
2626
2855
|
}>;
|
|
2627
2856
|
};
|
|
2628
2857
|
/**
|
|
2629
|
-
* Response for status
|
|
2858
|
+
* Response for status 404
|
|
2630
2859
|
*/
|
|
2631
|
-
|
|
2860
|
+
404: {
|
|
2632
2861
|
type: string;
|
|
2633
2862
|
title: string;
|
|
2634
2863
|
status: number;
|
|
@@ -2642,9 +2871,9 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUr
|
|
|
2642
2871
|
}>;
|
|
2643
2872
|
};
|
|
2644
2873
|
/**
|
|
2645
|
-
* Response for status
|
|
2874
|
+
* Response for status 409
|
|
2646
2875
|
*/
|
|
2647
|
-
|
|
2876
|
+
409: {
|
|
2648
2877
|
type: string;
|
|
2649
2878
|
title: string;
|
|
2650
2879
|
status: number;
|
|
@@ -2690,36 +2919,118 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUr
|
|
|
2690
2919
|
}>;
|
|
2691
2920
|
};
|
|
2692
2921
|
};
|
|
2693
|
-
export type
|
|
2694
|
-
export type
|
|
2922
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextError = PostApiStepExecutionsByStepExecutionIdWorkerContextErrors[keyof PostApiStepExecutionsByStepExecutionIdWorkerContextErrors];
|
|
2923
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponses = {
|
|
2695
2924
|
/**
|
|
2696
2925
|
* Response for status 200
|
|
2697
2926
|
*/
|
|
2698
2927
|
200: {
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2928
|
+
projectId: string;
|
|
2929
|
+
gitUrl: string;
|
|
2930
|
+
baseWorkBranch: string | unknown;
|
|
2931
|
+
projectOpencodeConfig: {
|
|
2932
|
+
relativePath: string;
|
|
2933
|
+
present: boolean;
|
|
2934
|
+
commands: Array<{
|
|
2935
|
+
name: string;
|
|
2936
|
+
description: string;
|
|
2937
|
+
run: string;
|
|
2938
|
+
cwd: string | unknown;
|
|
2939
|
+
}>;
|
|
2940
|
+
services: Array<{
|
|
2941
|
+
name: string;
|
|
2942
|
+
description: string;
|
|
2943
|
+
run: string;
|
|
2944
|
+
cwd: string | unknown;
|
|
2945
|
+
dependsOn: Array<string>;
|
|
2946
|
+
expose: {
|
|
2947
|
+
targetPort: number;
|
|
2948
|
+
protocol: 'tcp' | 'http';
|
|
2949
|
+
};
|
|
2950
|
+
}>;
|
|
2951
|
+
};
|
|
2952
|
+
stepExecution: {
|
|
2953
|
+
id: string;
|
|
2954
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
2955
|
+
inputJson: unknown;
|
|
2956
|
+
executionTimeoutSeconds: number | unknown;
|
|
2957
|
+
};
|
|
2958
|
+
stepDefinition: {
|
|
2959
|
+
id: string;
|
|
2960
|
+
key: string;
|
|
2961
|
+
name: string;
|
|
2962
|
+
prompt: string;
|
|
2963
|
+
executionMode: 'workspace' | 'no_workspace';
|
|
2964
|
+
resultSchemaJson: {
|
|
2965
|
+
[key: string]: unknown;
|
|
2966
|
+
} | unknown;
|
|
2967
|
+
opencodeMcpJson: {
|
|
2968
|
+
[key: string]: {
|
|
2969
|
+
type: string;
|
|
2970
|
+
command: Array<string>;
|
|
2971
|
+
environment?: {
|
|
2972
|
+
[key: string]: string;
|
|
2973
|
+
};
|
|
2974
|
+
enabled?: boolean;
|
|
2975
|
+
timeout?: number;
|
|
2976
|
+
} | {
|
|
2977
|
+
type: string;
|
|
2978
|
+
url: string;
|
|
2979
|
+
enabled?: boolean;
|
|
2980
|
+
headers?: {
|
|
2981
|
+
[key: string]: string;
|
|
2982
|
+
};
|
|
2983
|
+
oauth?: {
|
|
2984
|
+
clientId?: string;
|
|
2985
|
+
clientSecret?: string;
|
|
2986
|
+
scope?: string;
|
|
2987
|
+
redirectUri?: string;
|
|
2988
|
+
} | boolean;
|
|
2989
|
+
timeout?: number;
|
|
2990
|
+
} | {
|
|
2991
|
+
enabled: boolean;
|
|
2992
|
+
};
|
|
2993
|
+
} | unknown;
|
|
2994
|
+
opencodePluginJson: Array<string | Array<unknown>> | unknown;
|
|
2995
|
+
healthChecksJson: Array<{
|
|
2996
|
+
tool: string;
|
|
2997
|
+
mcp?: string;
|
|
2998
|
+
name?: string;
|
|
2999
|
+
args?: {
|
|
3000
|
+
[key: string]: unknown;
|
|
3001
|
+
};
|
|
3002
|
+
severity: 'required' | 'warn';
|
|
3003
|
+
timeoutMs: number;
|
|
3004
|
+
}> | unknown;
|
|
3005
|
+
};
|
|
3006
|
+
agentPrompt: {
|
|
3007
|
+
sessionTitle: string;
|
|
3008
|
+
promptText: string;
|
|
3009
|
+
stepInstructionsPlaceholder: string;
|
|
3010
|
+
};
|
|
2703
3011
|
};
|
|
2704
3012
|
};
|
|
2705
|
-
export type
|
|
2706
|
-
export type
|
|
3013
|
+
export type PostApiStepExecutionsByStepExecutionIdWorkerContextResponse = PostApiStepExecutionsByStepExecutionIdWorkerContextResponses[keyof PostApiStepExecutionsByStepExecutionIdWorkerContextResponses];
|
|
3014
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsData = {
|
|
2707
3015
|
body: {
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
3016
|
+
claimToken: string;
|
|
3017
|
+
status: 'succeeded' | 'failed';
|
|
3018
|
+
resultJson: unknown;
|
|
3019
|
+
errorJson: unknown;
|
|
3020
|
+
workBranch?: string | unknown;
|
|
3021
|
+
createdFromBranch?: string | unknown;
|
|
3022
|
+
};
|
|
3023
|
+
path: {
|
|
3024
|
+
stepExecutionId: string;
|
|
2713
3025
|
};
|
|
2714
|
-
path?: never;
|
|
2715
3026
|
query?: never;
|
|
2716
|
-
url: '/api/step-executions/
|
|
3027
|
+
url: '/api/step-executions/{stepExecutionId}/completions';
|
|
2717
3028
|
};
|
|
2718
|
-
export type
|
|
3029
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsErrors = {
|
|
2719
3030
|
/**
|
|
2720
|
-
* Response for status
|
|
3031
|
+
* Response for status 401
|
|
2721
3032
|
*/
|
|
2722
|
-
|
|
3033
|
+
401: {
|
|
2723
3034
|
type: string;
|
|
2724
3035
|
title: string;
|
|
2725
3036
|
status: number;
|
|
@@ -2733,9 +3044,9 @@ export type PostApiStepExecutionsClaimsErrors = {
|
|
|
2733
3044
|
}>;
|
|
2734
3045
|
};
|
|
2735
3046
|
/**
|
|
2736
|
-
* Response for status
|
|
3047
|
+
* Response for status 403
|
|
2737
3048
|
*/
|
|
2738
|
-
|
|
3049
|
+
403: {
|
|
2739
3050
|
type: string;
|
|
2740
3051
|
title: string;
|
|
2741
3052
|
status: number;
|
|
@@ -2749,9 +3060,25 @@ export type PostApiStepExecutionsClaimsErrors = {
|
|
|
2749
3060
|
}>;
|
|
2750
3061
|
};
|
|
2751
3062
|
/**
|
|
2752
|
-
* Response for status
|
|
3063
|
+
* Response for status 404
|
|
2753
3064
|
*/
|
|
2754
|
-
|
|
3065
|
+
404: {
|
|
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 409
|
|
3080
|
+
*/
|
|
3081
|
+
409: {
|
|
2755
3082
|
type: string;
|
|
2756
3083
|
title: string;
|
|
2757
3084
|
status: number;
|
|
@@ -2797,62 +3124,59 @@ export type PostApiStepExecutionsClaimsErrors = {
|
|
|
2797
3124
|
}>;
|
|
2798
3125
|
};
|
|
2799
3126
|
};
|
|
2800
|
-
export type
|
|
2801
|
-
export type
|
|
3127
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsError = PostApiStepExecutionsByStepExecutionIdCompletionsErrors[keyof PostApiStepExecutionsByStepExecutionIdCompletionsErrors];
|
|
3128
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsResponses = {
|
|
2802
3129
|
/**
|
|
2803
3130
|
* Response for status 200
|
|
2804
3131
|
*/
|
|
2805
|
-
200:
|
|
2806
|
-
|
|
3132
|
+
200: {
|
|
3133
|
+
id: string;
|
|
3134
|
+
projectId: string;
|
|
3135
|
+
stepDefinitionId: string;
|
|
3136
|
+
stepDefinitionVersion: number;
|
|
3137
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
3138
|
+
inputJson: unknown;
|
|
3139
|
+
claimedBy: string | unknown;
|
|
3140
|
+
claimedAt: string | unknown;
|
|
3141
|
+
lastHeartbeatAt: string | unknown;
|
|
3142
|
+
leaseExpiresAt: string | unknown;
|
|
3143
|
+
executionTimeoutSeconds: number | unknown;
|
|
3144
|
+
executionDeadlineAt: string | unknown;
|
|
3145
|
+
startedAt: string | unknown;
|
|
3146
|
+
completedAt: string | unknown;
|
|
3147
|
+
result: {
|
|
2807
3148
|
id: string;
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
claimedBy: string | unknown;
|
|
2814
|
-
claimedAt: string | unknown;
|
|
2815
|
-
lastHeartbeatAt: string | unknown;
|
|
2816
|
-
leaseExpiresAt: string | unknown;
|
|
2817
|
-
executionTimeoutSeconds: number | unknown;
|
|
2818
|
-
executionDeadlineAt: string | unknown;
|
|
2819
|
-
startedAt: string | unknown;
|
|
2820
|
-
completedAt: string | unknown;
|
|
2821
|
-
result: {
|
|
3149
|
+
stepExecutionId: string;
|
|
3150
|
+
status: 'succeeded' | 'failed';
|
|
3151
|
+
resultJson: unknown;
|
|
3152
|
+
errorJson: unknown;
|
|
3153
|
+
signals: Array<{
|
|
2822
3154
|
id: string;
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
key: string;
|
|
2831
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
2832
|
-
source: 'extracted' | 'computed';
|
|
2833
|
-
valueJson: unknown;
|
|
2834
|
-
sourcePath: string | unknown;
|
|
2835
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
2836
|
-
createdAt: string;
|
|
2837
|
-
}>;
|
|
3155
|
+
stepExecutionResultId: string;
|
|
3156
|
+
key: string;
|
|
3157
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3158
|
+
source: 'extracted' | 'computed';
|
|
3159
|
+
valueJson: unknown;
|
|
3160
|
+
sourcePath: string | unknown;
|
|
3161
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
2838
3162
|
createdAt: string;
|
|
2839
|
-
}
|
|
3163
|
+
}>;
|
|
2840
3164
|
createdAt: string;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
}
|
|
3165
|
+
} | unknown;
|
|
3166
|
+
createdAt: string;
|
|
3167
|
+
updatedAt: string;
|
|
3168
|
+
};
|
|
2845
3169
|
};
|
|
2846
|
-
export type
|
|
2847
|
-
export type
|
|
3170
|
+
export type PostApiStepExecutionsByStepExecutionIdCompletionsResponse = PostApiStepExecutionsByStepExecutionIdCompletionsResponses[keyof PostApiStepExecutionsByStepExecutionIdCompletionsResponses];
|
|
3171
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningData = {
|
|
2848
3172
|
body?: never;
|
|
2849
|
-
path
|
|
2850
|
-
|
|
2851
|
-
projectId: string;
|
|
3173
|
+
path: {
|
|
3174
|
+
stepExecutionId: string;
|
|
2852
3175
|
};
|
|
2853
|
-
|
|
3176
|
+
query?: never;
|
|
3177
|
+
url: '/api/step-executions/{stepExecutionId}/running';
|
|
2854
3178
|
};
|
|
2855
|
-
export type
|
|
3179
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningErrors = {
|
|
2856
3180
|
/**
|
|
2857
3181
|
* Response for status 401
|
|
2858
3182
|
*/
|
|
@@ -2885,6 +3209,22 @@ export type GetApiStepExecutionsErrors = {
|
|
|
2885
3209
|
summary?: string;
|
|
2886
3210
|
}>;
|
|
2887
3211
|
};
|
|
3212
|
+
/**
|
|
3213
|
+
* Response for status 404
|
|
3214
|
+
*/
|
|
3215
|
+
404: {
|
|
3216
|
+
type: string;
|
|
3217
|
+
title: string;
|
|
3218
|
+
status: number;
|
|
3219
|
+
detail?: string;
|
|
3220
|
+
instance?: string;
|
|
3221
|
+
code?: string;
|
|
3222
|
+
errors?: Array<{
|
|
3223
|
+
path: string;
|
|
3224
|
+
message: string;
|
|
3225
|
+
summary?: string;
|
|
3226
|
+
}>;
|
|
3227
|
+
};
|
|
2888
3228
|
/**
|
|
2889
3229
|
* Response for status 422
|
|
2890
3230
|
*/
|
|
@@ -2918,12 +3258,12 @@ export type GetApiStepExecutionsErrors = {
|
|
|
2918
3258
|
}>;
|
|
2919
3259
|
};
|
|
2920
3260
|
};
|
|
2921
|
-
export type
|
|
2922
|
-
export type
|
|
3261
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningError = PutApiStepExecutionsByStepExecutionIdRunningErrors[keyof PutApiStepExecutionsByStepExecutionIdRunningErrors];
|
|
3262
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningResponses = {
|
|
2923
3263
|
/**
|
|
2924
3264
|
* Response for status 200
|
|
2925
3265
|
*/
|
|
2926
|
-
200:
|
|
3266
|
+
200: {
|
|
2927
3267
|
id: string;
|
|
2928
3268
|
projectId: string;
|
|
2929
3269
|
stepDefinitionId: string;
|
|
@@ -2959,39 +3299,21 @@ export type GetApiStepExecutionsResponses = {
|
|
|
2959
3299
|
} | unknown;
|
|
2960
3300
|
createdAt: string;
|
|
2961
3301
|
updatedAt: string;
|
|
2962
|
-
}
|
|
3302
|
+
};
|
|
2963
3303
|
};
|
|
2964
|
-
export type
|
|
2965
|
-
export type
|
|
3304
|
+
export type PutApiStepExecutionsByStepExecutionIdRunningResponse = PutApiStepExecutionsByStepExecutionIdRunningResponses[keyof PutApiStepExecutionsByStepExecutionIdRunningResponses];
|
|
3305
|
+
export type PostApiStepExecutionResultsData = {
|
|
2966
3306
|
body: {
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
inputJson?: unknown;
|
|
2972
|
-
executionTimeoutSeconds?: number | unknown;
|
|
3307
|
+
stepExecutionId: string;
|
|
3308
|
+
status: 'succeeded' | 'failed';
|
|
3309
|
+
resultJson: unknown;
|
|
3310
|
+
errorJson: unknown;
|
|
2973
3311
|
};
|
|
2974
3312
|
path?: never;
|
|
2975
3313
|
query?: never;
|
|
2976
|
-
url: '/api/step-
|
|
3314
|
+
url: '/api/step-execution-results';
|
|
2977
3315
|
};
|
|
2978
|
-
export type
|
|
2979
|
-
/**
|
|
2980
|
-
* Response for status 400
|
|
2981
|
-
*/
|
|
2982
|
-
400: {
|
|
2983
|
-
type: string;
|
|
2984
|
-
title: string;
|
|
2985
|
-
status: number;
|
|
2986
|
-
detail?: string;
|
|
2987
|
-
instance?: string;
|
|
2988
|
-
code?: string;
|
|
2989
|
-
errors?: Array<{
|
|
2990
|
-
path: string;
|
|
2991
|
-
message: string;
|
|
2992
|
-
summary?: string;
|
|
2993
|
-
}>;
|
|
2994
|
-
};
|
|
3316
|
+
export type PostApiStepExecutionResultsErrors = {
|
|
2995
3317
|
/**
|
|
2996
3318
|
* Response for status 401
|
|
2997
3319
|
*/
|
|
@@ -3089,82 +3411,45 @@ export type PostApiStepExecutionsErrors = {
|
|
|
3089
3411
|
}>;
|
|
3090
3412
|
};
|
|
3091
3413
|
};
|
|
3092
|
-
export type
|
|
3093
|
-
export type
|
|
3414
|
+
export type PostApiStepExecutionResultsError = PostApiStepExecutionResultsErrors[keyof PostApiStepExecutionResultsErrors];
|
|
3415
|
+
export type PostApiStepExecutionResultsResponses = {
|
|
3094
3416
|
/**
|
|
3095
3417
|
* Response for status 200
|
|
3096
3418
|
*/
|
|
3097
3419
|
200: {
|
|
3098
3420
|
id: string;
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
claimedBy: string | unknown;
|
|
3105
|
-
claimedAt: string | unknown;
|
|
3106
|
-
lastHeartbeatAt: string | unknown;
|
|
3107
|
-
leaseExpiresAt: string | unknown;
|
|
3108
|
-
executionTimeoutSeconds: number | unknown;
|
|
3109
|
-
executionDeadlineAt: string | unknown;
|
|
3110
|
-
startedAt: string | unknown;
|
|
3111
|
-
completedAt: string | unknown;
|
|
3112
|
-
result: {
|
|
3421
|
+
stepExecutionId: string;
|
|
3422
|
+
status: 'succeeded' | 'failed';
|
|
3423
|
+
resultJson: unknown;
|
|
3424
|
+
errorJson: unknown;
|
|
3425
|
+
signals: Array<{
|
|
3113
3426
|
id: string;
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
key: string;
|
|
3122
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3123
|
-
source: 'extracted' | 'computed';
|
|
3124
|
-
valueJson: unknown;
|
|
3125
|
-
sourcePath: string | unknown;
|
|
3126
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3127
|
-
createdAt: string;
|
|
3128
|
-
}>;
|
|
3427
|
+
stepExecutionResultId: string;
|
|
3428
|
+
key: string;
|
|
3429
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3430
|
+
source: 'extracted' | 'computed';
|
|
3431
|
+
valueJson: unknown;
|
|
3432
|
+
sourcePath: string | unknown;
|
|
3433
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
3129
3434
|
createdAt: string;
|
|
3130
|
-
}
|
|
3435
|
+
}>;
|
|
3131
3436
|
createdAt: string;
|
|
3132
|
-
updatedAt: string;
|
|
3133
3437
|
};
|
|
3134
3438
|
};
|
|
3135
|
-
export type
|
|
3136
|
-
export type
|
|
3137
|
-
body
|
|
3138
|
-
claimToken: string;
|
|
3139
|
-
leaseDurationSeconds: number;
|
|
3140
|
-
};
|
|
3439
|
+
export type PostApiStepExecutionResultsResponse = PostApiStepExecutionResultsResponses[keyof PostApiStepExecutionResultsResponses];
|
|
3440
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractData = {
|
|
3441
|
+
body?: never;
|
|
3141
3442
|
path: {
|
|
3142
|
-
|
|
3443
|
+
stepExecutionResultId: string;
|
|
3143
3444
|
};
|
|
3144
3445
|
query?: never;
|
|
3145
|
-
url: '/api/step-
|
|
3446
|
+
url: '/api/step-execution-results/{stepExecutionResultId}/signals/extract';
|
|
3146
3447
|
};
|
|
3147
|
-
export type
|
|
3148
|
-
/**
|
|
3149
|
-
* Response for status 401
|
|
3150
|
-
*/
|
|
3151
|
-
401: {
|
|
3152
|
-
type: string;
|
|
3153
|
-
title: string;
|
|
3154
|
-
status: number;
|
|
3155
|
-
detail?: string;
|
|
3156
|
-
instance?: string;
|
|
3157
|
-
code?: string;
|
|
3158
|
-
errors?: Array<{
|
|
3159
|
-
path: string;
|
|
3160
|
-
message: string;
|
|
3161
|
-
summary?: string;
|
|
3162
|
-
}>;
|
|
3163
|
-
};
|
|
3448
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors = {
|
|
3164
3449
|
/**
|
|
3165
|
-
* Response for status
|
|
3450
|
+
* Response for status 401
|
|
3166
3451
|
*/
|
|
3167
|
-
|
|
3452
|
+
401: {
|
|
3168
3453
|
type: string;
|
|
3169
3454
|
title: string;
|
|
3170
3455
|
status: number;
|
|
@@ -3178,9 +3463,9 @@ export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
|
3178
3463
|
}>;
|
|
3179
3464
|
};
|
|
3180
3465
|
/**
|
|
3181
|
-
* Response for status
|
|
3466
|
+
* Response for status 403
|
|
3182
3467
|
*/
|
|
3183
|
-
|
|
3468
|
+
403: {
|
|
3184
3469
|
type: string;
|
|
3185
3470
|
title: string;
|
|
3186
3471
|
status: number;
|
|
@@ -3194,9 +3479,9 @@ export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
|
3194
3479
|
}>;
|
|
3195
3480
|
};
|
|
3196
3481
|
/**
|
|
3197
|
-
* Response for status
|
|
3482
|
+
* Response for status 404
|
|
3198
3483
|
*/
|
|
3199
|
-
|
|
3484
|
+
404: {
|
|
3200
3485
|
type: string;
|
|
3201
3486
|
title: string;
|
|
3202
3487
|
status: number;
|
|
@@ -3242,61 +3527,36 @@ export type PutApiStepExecutionsByStepExecutionIdHeartbeatErrors = {
|
|
|
3242
3527
|
}>;
|
|
3243
3528
|
};
|
|
3244
3529
|
};
|
|
3245
|
-
export type
|
|
3246
|
-
export type
|
|
3530
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractError = PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors[keyof PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors];
|
|
3531
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses = {
|
|
3247
3532
|
/**
|
|
3248
3533
|
* Response for status 200
|
|
3249
3534
|
*/
|
|
3250
|
-
200: {
|
|
3535
|
+
200: Array<{
|
|
3251
3536
|
id: string;
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
lastHeartbeatAt: string | unknown;
|
|
3260
|
-
leaseExpiresAt: string | unknown;
|
|
3261
|
-
executionTimeoutSeconds: number | unknown;
|
|
3262
|
-
executionDeadlineAt: string | unknown;
|
|
3263
|
-
startedAt: string | unknown;
|
|
3264
|
-
completedAt: string | unknown;
|
|
3265
|
-
result: {
|
|
3266
|
-
id: string;
|
|
3267
|
-
stepExecutionId: string;
|
|
3268
|
-
status: 'succeeded' | 'failed';
|
|
3269
|
-
resultJson: unknown;
|
|
3270
|
-
errorJson: unknown;
|
|
3271
|
-
signals: Array<{
|
|
3272
|
-
id: string;
|
|
3273
|
-
stepExecutionResultId: string;
|
|
3274
|
-
key: string;
|
|
3275
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3276
|
-
source: 'extracted' | 'computed';
|
|
3277
|
-
valueJson: unknown;
|
|
3278
|
-
sourcePath: string | unknown;
|
|
3279
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3280
|
-
createdAt: string;
|
|
3281
|
-
}>;
|
|
3282
|
-
createdAt: string;
|
|
3283
|
-
} | unknown;
|
|
3537
|
+
stepExecutionResultId: string;
|
|
3538
|
+
key: string;
|
|
3539
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3540
|
+
source: 'extracted' | 'computed';
|
|
3541
|
+
valueJson: unknown;
|
|
3542
|
+
sourcePath: string | unknown;
|
|
3543
|
+
computedFromSignalKeys: Array<string> | unknown;
|
|
3284
3544
|
createdAt: string;
|
|
3285
|
-
|
|
3286
|
-
};
|
|
3545
|
+
}>;
|
|
3287
3546
|
};
|
|
3288
|
-
export type
|
|
3289
|
-
export type
|
|
3290
|
-
body
|
|
3291
|
-
claimToken: string;
|
|
3292
|
-
};
|
|
3547
|
+
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponse = PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses[keyof PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses];
|
|
3548
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsData = {
|
|
3549
|
+
body?: never;
|
|
3293
3550
|
path: {
|
|
3294
3551
|
stepExecutionId: string;
|
|
3295
3552
|
};
|
|
3296
|
-
query
|
|
3297
|
-
|
|
3553
|
+
query: {
|
|
3554
|
+
from: number;
|
|
3555
|
+
limit: number;
|
|
3556
|
+
};
|
|
3557
|
+
url: '/api/step-executions/{stepExecutionId}/logs';
|
|
3298
3558
|
};
|
|
3299
|
-
export type
|
|
3559
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsErrors = {
|
|
3300
3560
|
/**
|
|
3301
3561
|
* Response for status 401
|
|
3302
3562
|
*/
|
|
@@ -3345,22 +3605,6 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextErrors = {
|
|
|
3345
3605
|
summary?: string;
|
|
3346
3606
|
}>;
|
|
3347
3607
|
};
|
|
3348
|
-
/**
|
|
3349
|
-
* Response for status 409
|
|
3350
|
-
*/
|
|
3351
|
-
409: {
|
|
3352
|
-
type: string;
|
|
3353
|
-
title: string;
|
|
3354
|
-
status: number;
|
|
3355
|
-
detail?: string;
|
|
3356
|
-
instance?: string;
|
|
3357
|
-
code?: string;
|
|
3358
|
-
errors?: Array<{
|
|
3359
|
-
path: string;
|
|
3360
|
-
message: string;
|
|
3361
|
-
summary?: string;
|
|
3362
|
-
}>;
|
|
3363
|
-
};
|
|
3364
3608
|
/**
|
|
3365
3609
|
* Response for status 422
|
|
3366
3610
|
*/
|
|
@@ -3394,114 +3638,42 @@ export type PostApiStepExecutionsByStepExecutionIdWorkerContextErrors = {
|
|
|
3394
3638
|
}>;
|
|
3395
3639
|
};
|
|
3396
3640
|
};
|
|
3397
|
-
export type
|
|
3398
|
-
export type
|
|
3641
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsError = GetApiStepExecutionsByStepExecutionIdLogsErrors[keyof GetApiStepExecutionsByStepExecutionIdLogsErrors];
|
|
3642
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsResponses = {
|
|
3399
3643
|
/**
|
|
3400
3644
|
* Response for status 200
|
|
3401
3645
|
*/
|
|
3402
3646
|
200: {
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
run: string;
|
|
3413
|
-
cwd: string | unknown;
|
|
3414
|
-
}>;
|
|
3415
|
-
services: Array<{
|
|
3416
|
-
name: string;
|
|
3417
|
-
description: string;
|
|
3418
|
-
run: string;
|
|
3419
|
-
cwd: string | unknown;
|
|
3420
|
-
dependsOn: Array<string>;
|
|
3421
|
-
expose: {
|
|
3422
|
-
targetPort: number;
|
|
3423
|
-
protocol: 'tcp' | 'http';
|
|
3424
|
-
};
|
|
3425
|
-
}>;
|
|
3426
|
-
};
|
|
3427
|
-
stepExecution: {
|
|
3428
|
-
id: string;
|
|
3429
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
3430
|
-
inputJson: unknown;
|
|
3431
|
-
executionTimeoutSeconds: number | unknown;
|
|
3432
|
-
};
|
|
3433
|
-
stepDefinition: {
|
|
3434
|
-
id: string;
|
|
3435
|
-
key: string;
|
|
3436
|
-
name: string;
|
|
3437
|
-
prompt: string;
|
|
3438
|
-
executionMode: 'workspace' | 'no_workspace';
|
|
3439
|
-
resultSchemaJson: {
|
|
3440
|
-
[key: string]: unknown;
|
|
3441
|
-
} | unknown;
|
|
3442
|
-
opencodeMcpJson: {
|
|
3443
|
-
[key: string]: {
|
|
3444
|
-
type: string;
|
|
3445
|
-
command: Array<string>;
|
|
3446
|
-
environment?: {
|
|
3447
|
-
[key: string]: string;
|
|
3448
|
-
};
|
|
3449
|
-
enabled?: boolean;
|
|
3450
|
-
timeout?: number;
|
|
3451
|
-
} | {
|
|
3452
|
-
type: string;
|
|
3453
|
-
url: string;
|
|
3454
|
-
enabled?: boolean;
|
|
3455
|
-
headers?: {
|
|
3456
|
-
[key: string]: string;
|
|
3457
|
-
};
|
|
3458
|
-
oauth?: {
|
|
3459
|
-
clientId?: string;
|
|
3460
|
-
clientSecret?: string;
|
|
3461
|
-
scope?: string;
|
|
3462
|
-
redirectUri?: string;
|
|
3463
|
-
} | boolean;
|
|
3464
|
-
timeout?: number;
|
|
3465
|
-
} | {
|
|
3466
|
-
enabled: boolean;
|
|
3467
|
-
};
|
|
3468
|
-
} | unknown;
|
|
3469
|
-
opencodePluginJson: Array<string | Array<unknown>> | unknown;
|
|
3470
|
-
healthChecksJson: Array<{
|
|
3471
|
-
tool: string;
|
|
3472
|
-
mcp?: string;
|
|
3473
|
-
name?: string;
|
|
3474
|
-
args?: {
|
|
3475
|
-
[key: string]: unknown;
|
|
3476
|
-
};
|
|
3477
|
-
severity: 'required' | 'warn';
|
|
3478
|
-
timeoutMs: number;
|
|
3479
|
-
}> | unknown;
|
|
3480
|
-
};
|
|
3481
|
-
agentPrompt: {
|
|
3482
|
-
sessionTitle: string;
|
|
3483
|
-
promptText: string;
|
|
3484
|
-
stepInstructionsPlaceholder: string;
|
|
3485
|
-
};
|
|
3647
|
+
lines: Array<{
|
|
3648
|
+
seq: number;
|
|
3649
|
+
stream: 'worker' | 'ai-server' | 'conversation';
|
|
3650
|
+
ts: string;
|
|
3651
|
+
content: string;
|
|
3652
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
3653
|
+
}>;
|
|
3654
|
+
nextOffset: number;
|
|
3655
|
+
complete: boolean;
|
|
3486
3656
|
};
|
|
3487
3657
|
};
|
|
3488
|
-
export type
|
|
3489
|
-
export type
|
|
3658
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsResponse = GetApiStepExecutionsByStepExecutionIdLogsResponses[keyof GetApiStepExecutionsByStepExecutionIdLogsResponses];
|
|
3659
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsData = {
|
|
3490
3660
|
body: {
|
|
3491
3661
|
claimToken: string;
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3662
|
+
lines: Array<{
|
|
3663
|
+
seq: number;
|
|
3664
|
+
stream: 'worker' | 'ai-server' | 'conversation';
|
|
3665
|
+
ts: string;
|
|
3666
|
+
content: string;
|
|
3667
|
+
level: 'debug' | 'info' | 'warn' | 'error';
|
|
3668
|
+
}>;
|
|
3497
3669
|
};
|
|
3498
3670
|
path: {
|
|
3499
3671
|
stepExecutionId: string;
|
|
3500
3672
|
};
|
|
3501
3673
|
query?: never;
|
|
3502
|
-
url: '/api/step-executions/{stepExecutionId}/
|
|
3674
|
+
url: '/api/step-executions/{stepExecutionId}/logs';
|
|
3503
3675
|
};
|
|
3504
|
-
export type
|
|
3676
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsErrors = {
|
|
3505
3677
|
/**
|
|
3506
3678
|
* Response for status 401
|
|
3507
3679
|
*/
|
|
@@ -3593,65 +3765,31 @@ export type PostApiStepExecutionsByStepExecutionIdCompletionsErrors = {
|
|
|
3593
3765
|
instance?: string;
|
|
3594
3766
|
code?: string;
|
|
3595
3767
|
errors?: Array<{
|
|
3596
|
-
path: string;
|
|
3597
|
-
message: string;
|
|
3598
|
-
summary?: string;
|
|
3599
|
-
}>;
|
|
3600
|
-
};
|
|
3601
|
-
};
|
|
3602
|
-
export type PostApiStepExecutionsByStepExecutionIdCompletionsError = PostApiStepExecutionsByStepExecutionIdCompletionsErrors[keyof PostApiStepExecutionsByStepExecutionIdCompletionsErrors];
|
|
3603
|
-
export type PostApiStepExecutionsByStepExecutionIdCompletionsResponses = {
|
|
3604
|
-
/**
|
|
3605
|
-
* Response for status 200
|
|
3606
|
-
*/
|
|
3607
|
-
200: {
|
|
3608
|
-
id: string;
|
|
3609
|
-
projectId: string;
|
|
3610
|
-
stepDefinitionId: string;
|
|
3611
|
-
stepDefinitionVersion: number;
|
|
3612
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
3613
|
-
inputJson: unknown;
|
|
3614
|
-
claimedBy: string | unknown;
|
|
3615
|
-
claimedAt: string | unknown;
|
|
3616
|
-
lastHeartbeatAt: string | unknown;
|
|
3617
|
-
leaseExpiresAt: string | unknown;
|
|
3618
|
-
executionTimeoutSeconds: number | unknown;
|
|
3619
|
-
executionDeadlineAt: string | unknown;
|
|
3620
|
-
startedAt: string | unknown;
|
|
3621
|
-
completedAt: string | unknown;
|
|
3622
|
-
result: {
|
|
3623
|
-
id: string;
|
|
3624
|
-
stepExecutionId: string;
|
|
3625
|
-
status: 'succeeded' | 'failed';
|
|
3626
|
-
resultJson: unknown;
|
|
3627
|
-
errorJson: unknown;
|
|
3628
|
-
signals: Array<{
|
|
3629
|
-
id: string;
|
|
3630
|
-
stepExecutionResultId: string;
|
|
3631
|
-
key: string;
|
|
3632
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3633
|
-
source: 'extracted' | 'computed';
|
|
3634
|
-
valueJson: unknown;
|
|
3635
|
-
sourcePath: string | unknown;
|
|
3636
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3637
|
-
createdAt: string;
|
|
3638
|
-
}>;
|
|
3639
|
-
createdAt: string;
|
|
3640
|
-
} | unknown;
|
|
3641
|
-
createdAt: string;
|
|
3642
|
-
updatedAt: string;
|
|
3768
|
+
path: string;
|
|
3769
|
+
message: string;
|
|
3770
|
+
summary?: string;
|
|
3771
|
+
}>;
|
|
3643
3772
|
};
|
|
3644
3773
|
};
|
|
3645
|
-
export type
|
|
3646
|
-
export type
|
|
3774
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsError = PostApiStepExecutionsByStepExecutionIdLogsErrors[keyof PostApiStepExecutionsByStepExecutionIdLogsErrors];
|
|
3775
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsResponses = {
|
|
3776
|
+
/**
|
|
3777
|
+
* Response for status 200
|
|
3778
|
+
*/
|
|
3779
|
+
200: {
|
|
3780
|
+
nextOffset: number;
|
|
3781
|
+
};
|
|
3782
|
+
};
|
|
3783
|
+
export type PostApiStepExecutionsByStepExecutionIdLogsResponse = PostApiStepExecutionsByStepExecutionIdLogsResponses[keyof PostApiStepExecutionsByStepExecutionIdLogsResponses];
|
|
3784
|
+
export type GetApiStepExecutionsByStepExecutionIdData = {
|
|
3647
3785
|
body?: never;
|
|
3648
3786
|
path: {
|
|
3649
3787
|
stepExecutionId: string;
|
|
3650
3788
|
};
|
|
3651
3789
|
query?: never;
|
|
3652
|
-
url: '/api/step-executions/{stepExecutionId}
|
|
3790
|
+
url: '/api/step-executions/{stepExecutionId}';
|
|
3653
3791
|
};
|
|
3654
|
-
export type
|
|
3792
|
+
export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
3655
3793
|
/**
|
|
3656
3794
|
* Response for status 401
|
|
3657
3795
|
*/
|
|
@@ -3733,8 +3871,8 @@ export type PutApiStepExecutionsByStepExecutionIdRunningErrors = {
|
|
|
3733
3871
|
}>;
|
|
3734
3872
|
};
|
|
3735
3873
|
};
|
|
3736
|
-
export type
|
|
3737
|
-
export type
|
|
3874
|
+
export type GetApiStepExecutionsByStepExecutionIdError = GetApiStepExecutionsByStepExecutionIdErrors[keyof GetApiStepExecutionsByStepExecutionIdErrors];
|
|
3875
|
+
export type GetApiStepExecutionsByStepExecutionIdResponses = {
|
|
3738
3876
|
/**
|
|
3739
3877
|
* Response for status 200
|
|
3740
3878
|
*/
|
|
@@ -3776,19 +3914,16 @@ export type PutApiStepExecutionsByStepExecutionIdRunningResponses = {
|
|
|
3776
3914
|
updatedAt: string;
|
|
3777
3915
|
};
|
|
3778
3916
|
};
|
|
3779
|
-
export type
|
|
3780
|
-
export type
|
|
3781
|
-
body
|
|
3917
|
+
export type GetApiStepExecutionsByStepExecutionIdResponse = GetApiStepExecutionsByStepExecutionIdResponses[keyof GetApiStepExecutionsByStepExecutionIdResponses];
|
|
3918
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveData = {
|
|
3919
|
+
body?: never;
|
|
3920
|
+
path: {
|
|
3782
3921
|
stepExecutionId: string;
|
|
3783
|
-
status: 'succeeded' | 'failed';
|
|
3784
|
-
resultJson: unknown;
|
|
3785
|
-
errorJson: unknown;
|
|
3786
3922
|
};
|
|
3787
|
-
path?: never;
|
|
3788
3923
|
query?: never;
|
|
3789
|
-
url: '/api/step-
|
|
3924
|
+
url: '/api/step-executions/{stepExecutionId}/logs/archive';
|
|
3790
3925
|
};
|
|
3791
|
-
export type
|
|
3926
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors = {
|
|
3792
3927
|
/**
|
|
3793
3928
|
* Response for status 401
|
|
3794
3929
|
*/
|
|
@@ -3806,9 +3941,9 @@ export type PostApiStepExecutionResultsErrors = {
|
|
|
3806
3941
|
}>;
|
|
3807
3942
|
};
|
|
3808
3943
|
/**
|
|
3809
|
-
* Response for status
|
|
3944
|
+
* Response for status 402
|
|
3810
3945
|
*/
|
|
3811
|
-
|
|
3946
|
+
402: {
|
|
3812
3947
|
type: string;
|
|
3813
3948
|
title: string;
|
|
3814
3949
|
status: number;
|
|
@@ -3822,9 +3957,9 @@ export type PostApiStepExecutionResultsErrors = {
|
|
|
3822
3957
|
}>;
|
|
3823
3958
|
};
|
|
3824
3959
|
/**
|
|
3825
|
-
* Response for status
|
|
3960
|
+
* Response for status 403
|
|
3826
3961
|
*/
|
|
3827
|
-
|
|
3962
|
+
403: {
|
|
3828
3963
|
type: string;
|
|
3829
3964
|
title: string;
|
|
3830
3965
|
status: number;
|
|
@@ -3838,9 +3973,9 @@ export type PostApiStepExecutionResultsErrors = {
|
|
|
3838
3973
|
}>;
|
|
3839
3974
|
};
|
|
3840
3975
|
/**
|
|
3841
|
-
* Response for status
|
|
3976
|
+
* Response for status 404
|
|
3842
3977
|
*/
|
|
3843
|
-
|
|
3978
|
+
404: {
|
|
3844
3979
|
type: string;
|
|
3845
3980
|
title: string;
|
|
3846
3981
|
status: number;
|
|
@@ -3886,41 +4021,31 @@ export type PostApiStepExecutionResultsErrors = {
|
|
|
3886
4021
|
}>;
|
|
3887
4022
|
};
|
|
3888
4023
|
};
|
|
3889
|
-
export type
|
|
3890
|
-
export type
|
|
4024
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveError = GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors[keyof GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors];
|
|
4025
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses = {
|
|
3891
4026
|
/**
|
|
3892
4027
|
* Response for status 200
|
|
3893
4028
|
*/
|
|
3894
4029
|
200: {
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
status: 'succeeded' | 'failed';
|
|
3898
|
-
resultJson: unknown;
|
|
3899
|
-
errorJson: unknown;
|
|
3900
|
-
signals: Array<{
|
|
3901
|
-
id: string;
|
|
3902
|
-
stepExecutionResultId: string;
|
|
3903
|
-
key: string;
|
|
3904
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
3905
|
-
source: 'extracted' | 'computed';
|
|
3906
|
-
valueJson: unknown;
|
|
3907
|
-
sourcePath: string | unknown;
|
|
3908
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
3909
|
-
createdAt: string;
|
|
3910
|
-
}>;
|
|
3911
|
-
createdAt: string;
|
|
4030
|
+
url: string | unknown;
|
|
4031
|
+
sizeBytes: number;
|
|
3912
4032
|
};
|
|
3913
4033
|
};
|
|
3914
|
-
export type
|
|
3915
|
-
export type
|
|
3916
|
-
body
|
|
4034
|
+
export type GetApiStepExecutionsByStepExecutionIdLogsArchiveResponse = GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses[keyof GetApiStepExecutionsByStepExecutionIdLogsArchiveResponses];
|
|
4035
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlData = {
|
|
4036
|
+
body: {
|
|
4037
|
+
claimToken: string;
|
|
4038
|
+
relativeStorePath: string;
|
|
4039
|
+
contentType?: string;
|
|
4040
|
+
sizeBytes?: number;
|
|
4041
|
+
};
|
|
3917
4042
|
path: {
|
|
3918
|
-
|
|
4043
|
+
stepExecutionId: string;
|
|
3919
4044
|
};
|
|
3920
4045
|
query?: never;
|
|
3921
|
-
url: '/api/step-
|
|
4046
|
+
url: '/api/step-executions/{stepExecutionId}/artifact-upload-url';
|
|
3922
4047
|
};
|
|
3923
|
-
export type
|
|
4048
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors = {
|
|
3924
4049
|
/**
|
|
3925
4050
|
* Response for status 401
|
|
3926
4051
|
*/
|
|
@@ -3938,57 +4063,9 @@ export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErro
|
|
|
3938
4063
|
}>;
|
|
3939
4064
|
};
|
|
3940
4065
|
/**
|
|
3941
|
-
* Response for status
|
|
3942
|
-
*/
|
|
3943
|
-
403: {
|
|
3944
|
-
type: string;
|
|
3945
|
-
title: string;
|
|
3946
|
-
status: number;
|
|
3947
|
-
detail?: string;
|
|
3948
|
-
instance?: string;
|
|
3949
|
-
code?: string;
|
|
3950
|
-
errors?: Array<{
|
|
3951
|
-
path: string;
|
|
3952
|
-
message: string;
|
|
3953
|
-
summary?: string;
|
|
3954
|
-
}>;
|
|
3955
|
-
};
|
|
3956
|
-
/**
|
|
3957
|
-
* Response for status 404
|
|
3958
|
-
*/
|
|
3959
|
-
404: {
|
|
3960
|
-
type: string;
|
|
3961
|
-
title: string;
|
|
3962
|
-
status: number;
|
|
3963
|
-
detail?: string;
|
|
3964
|
-
instance?: string;
|
|
3965
|
-
code?: string;
|
|
3966
|
-
errors?: Array<{
|
|
3967
|
-
path: string;
|
|
3968
|
-
message: string;
|
|
3969
|
-
summary?: string;
|
|
3970
|
-
}>;
|
|
3971
|
-
};
|
|
3972
|
-
/**
|
|
3973
|
-
* Response for status 422
|
|
3974
|
-
*/
|
|
3975
|
-
422: {
|
|
3976
|
-
type: string;
|
|
3977
|
-
title: string;
|
|
3978
|
-
status: number;
|
|
3979
|
-
detail?: string;
|
|
3980
|
-
instance?: string;
|
|
3981
|
-
code?: string;
|
|
3982
|
-
errors?: Array<{
|
|
3983
|
-
path: string;
|
|
3984
|
-
message: string;
|
|
3985
|
-
summary?: string;
|
|
3986
|
-
}>;
|
|
3987
|
-
};
|
|
3988
|
-
/**
|
|
3989
|
-
* Response for status 500
|
|
4066
|
+
* Response for status 402
|
|
3990
4067
|
*/
|
|
3991
|
-
|
|
4068
|
+
402: {
|
|
3992
4069
|
type: string;
|
|
3993
4070
|
title: string;
|
|
3994
4071
|
status: number;
|
|
@@ -4001,38 +4078,10 @@ export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErro
|
|
|
4001
4078
|
summary?: string;
|
|
4002
4079
|
}>;
|
|
4003
4080
|
};
|
|
4004
|
-
};
|
|
4005
|
-
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractError = PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors[keyof PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractErrors];
|
|
4006
|
-
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses = {
|
|
4007
|
-
/**
|
|
4008
|
-
* Response for status 200
|
|
4009
|
-
*/
|
|
4010
|
-
200: Array<{
|
|
4011
|
-
id: string;
|
|
4012
|
-
stepExecutionResultId: string;
|
|
4013
|
-
key: string;
|
|
4014
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
4015
|
-
source: 'extracted' | 'computed';
|
|
4016
|
-
valueJson: unknown;
|
|
4017
|
-
sourcePath: string | unknown;
|
|
4018
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
4019
|
-
createdAt: string;
|
|
4020
|
-
}>;
|
|
4021
|
-
};
|
|
4022
|
-
export type PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponse = PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses[keyof PostApiStepExecutionResultsByStepExecutionResultIdSignalsExtractResponses];
|
|
4023
|
-
export type GetApiStepExecutionsByStepExecutionIdData = {
|
|
4024
|
-
body?: never;
|
|
4025
|
-
path: {
|
|
4026
|
-
stepExecutionId: string;
|
|
4027
|
-
};
|
|
4028
|
-
query?: never;
|
|
4029
|
-
url: '/api/step-executions/{stepExecutionId}';
|
|
4030
|
-
};
|
|
4031
|
-
export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
4032
4081
|
/**
|
|
4033
|
-
* Response for status
|
|
4082
|
+
* Response for status 403
|
|
4034
4083
|
*/
|
|
4035
|
-
|
|
4084
|
+
403: {
|
|
4036
4085
|
type: string;
|
|
4037
4086
|
title: string;
|
|
4038
4087
|
status: number;
|
|
@@ -4046,9 +4095,9 @@ export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
|
4046
4095
|
}>;
|
|
4047
4096
|
};
|
|
4048
4097
|
/**
|
|
4049
|
-
* Response for status
|
|
4098
|
+
* Response for status 404
|
|
4050
4099
|
*/
|
|
4051
|
-
|
|
4100
|
+
404: {
|
|
4052
4101
|
type: string;
|
|
4053
4102
|
title: string;
|
|
4054
4103
|
status: number;
|
|
@@ -4062,9 +4111,9 @@ export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
|
4062
4111
|
}>;
|
|
4063
4112
|
};
|
|
4064
4113
|
/**
|
|
4065
|
-
* Response for status
|
|
4114
|
+
* Response for status 409
|
|
4066
4115
|
*/
|
|
4067
|
-
|
|
4116
|
+
409: {
|
|
4068
4117
|
type: string;
|
|
4069
4118
|
title: string;
|
|
4070
4119
|
status: number;
|
|
@@ -4110,62 +4159,28 @@ export type GetApiStepExecutionsByStepExecutionIdErrors = {
|
|
|
4110
4159
|
}>;
|
|
4111
4160
|
};
|
|
4112
4161
|
};
|
|
4113
|
-
export type
|
|
4114
|
-
export type
|
|
4162
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlError = PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors[keyof PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlErrors];
|
|
4163
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses = {
|
|
4115
4164
|
/**
|
|
4116
4165
|
* Response for status 200
|
|
4117
4166
|
*/
|
|
4118
4167
|
200: {
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'cancelled' | 'skipped';
|
|
4124
|
-
inputJson: unknown;
|
|
4125
|
-
claimedBy: string | unknown;
|
|
4126
|
-
claimedAt: string | unknown;
|
|
4127
|
-
lastHeartbeatAt: string | unknown;
|
|
4128
|
-
leaseExpiresAt: string | unknown;
|
|
4129
|
-
executionTimeoutSeconds: number | unknown;
|
|
4130
|
-
executionDeadlineAt: string | unknown;
|
|
4131
|
-
startedAt: string | unknown;
|
|
4132
|
-
completedAt: string | unknown;
|
|
4133
|
-
result: {
|
|
4134
|
-
id: string;
|
|
4135
|
-
stepExecutionId: string;
|
|
4136
|
-
status: 'succeeded' | 'failed';
|
|
4137
|
-
resultJson: unknown;
|
|
4138
|
-
errorJson: unknown;
|
|
4139
|
-
signals: Array<{
|
|
4140
|
-
id: string;
|
|
4141
|
-
stepExecutionResultId: string;
|
|
4142
|
-
key: string;
|
|
4143
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
4144
|
-
source: 'extracted' | 'computed';
|
|
4145
|
-
valueJson: unknown;
|
|
4146
|
-
sourcePath: string | unknown;
|
|
4147
|
-
computedFromSignalKeys: Array<string> | unknown;
|
|
4148
|
-
createdAt: string;
|
|
4149
|
-
}>;
|
|
4150
|
-
createdAt: string;
|
|
4151
|
-
} | unknown;
|
|
4152
|
-
createdAt: string;
|
|
4153
|
-
updatedAt: string;
|
|
4168
|
+
uploadUrl: string;
|
|
4169
|
+
storeRef: string;
|
|
4170
|
+
objectKey: string;
|
|
4171
|
+
expiresInSeconds: number;
|
|
4154
4172
|
};
|
|
4155
4173
|
};
|
|
4156
|
-
export type
|
|
4157
|
-
export type
|
|
4174
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponse = PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses[keyof PostApiStepExecutionsByStepExecutionIdArtifactUploadUrlResponses];
|
|
4175
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsData = {
|
|
4158
4176
|
body?: never;
|
|
4159
4177
|
path: {
|
|
4160
4178
|
stepExecutionId: string;
|
|
4161
4179
|
};
|
|
4162
|
-
query
|
|
4163
|
-
|
|
4164
|
-
limit: number;
|
|
4165
|
-
};
|
|
4166
|
-
url: '/api/step-executions/{stepExecutionId}/logs';
|
|
4180
|
+
query?: never;
|
|
4181
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts';
|
|
4167
4182
|
};
|
|
4168
|
-
export type
|
|
4183
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
4169
4184
|
/**
|
|
4170
4185
|
* Response for status 401
|
|
4171
4186
|
*/
|
|
@@ -4247,42 +4262,40 @@ export type GetApiStepExecutionsByStepExecutionIdLogsErrors = {
|
|
|
4247
4262
|
}>;
|
|
4248
4263
|
};
|
|
4249
4264
|
};
|
|
4250
|
-
export type
|
|
4251
|
-
export type
|
|
4252
|
-
/**
|
|
4253
|
-
* Response for status 200
|
|
4254
|
-
*/
|
|
4255
|
-
200: {
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
}
|
|
4266
|
-
};
|
|
4267
|
-
export type
|
|
4268
|
-
export type
|
|
4265
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsError = GetApiStepExecutionsByStepExecutionIdArtifactsErrors[keyof GetApiStepExecutionsByStepExecutionIdArtifactsErrors];
|
|
4266
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsResponses = {
|
|
4267
|
+
/**
|
|
4268
|
+
* Response for status 200
|
|
4269
|
+
*/
|
|
4270
|
+
200: Array<{
|
|
4271
|
+
id: string;
|
|
4272
|
+
stepExecutionId: string;
|
|
4273
|
+
relativeStorePath: string;
|
|
4274
|
+
storeRef: string | unknown;
|
|
4275
|
+
objectKey: string | unknown;
|
|
4276
|
+
sizeBytes: number | unknown;
|
|
4277
|
+
contentType: string | unknown;
|
|
4278
|
+
kind: 'generic' | 'playwright-trace';
|
|
4279
|
+
createdAt: string;
|
|
4280
|
+
}>;
|
|
4281
|
+
};
|
|
4282
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsResponse = GetApiStepExecutionsByStepExecutionIdArtifactsResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsResponses];
|
|
4283
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsData = {
|
|
4269
4284
|
body: {
|
|
4270
4285
|
claimToken: string;
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
level: 'debug' | 'info' | 'warn' | 'error';
|
|
4277
|
-
}>;
|
|
4286
|
+
objectKey: string;
|
|
4287
|
+
relativeStorePath: string;
|
|
4288
|
+
sizeBytes: number;
|
|
4289
|
+
contentType?: string;
|
|
4290
|
+
kind?: 'generic' | 'playwright-trace';
|
|
4278
4291
|
};
|
|
4279
4292
|
path: {
|
|
4280
4293
|
stepExecutionId: string;
|
|
4281
4294
|
};
|
|
4282
4295
|
query?: never;
|
|
4283
|
-
url: '/api/step-executions/{stepExecutionId}/
|
|
4296
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts';
|
|
4284
4297
|
};
|
|
4285
|
-
export type
|
|
4298
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsErrors = {
|
|
4286
4299
|
/**
|
|
4287
4300
|
* Response for status 401
|
|
4288
4301
|
*/
|
|
@@ -4380,25 +4393,34 @@ export type PostApiStepExecutionsByStepExecutionIdLogsErrors = {
|
|
|
4380
4393
|
}>;
|
|
4381
4394
|
};
|
|
4382
4395
|
};
|
|
4383
|
-
export type
|
|
4384
|
-
export type
|
|
4396
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsError = PostApiStepExecutionsByStepExecutionIdArtifactsErrors[keyof PostApiStepExecutionsByStepExecutionIdArtifactsErrors];
|
|
4397
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsResponses = {
|
|
4385
4398
|
/**
|
|
4386
4399
|
* Response for status 200
|
|
4387
4400
|
*/
|
|
4388
4401
|
200: {
|
|
4389
|
-
|
|
4402
|
+
id: string;
|
|
4403
|
+
stepExecutionId: string;
|
|
4404
|
+
relativeStorePath: string;
|
|
4405
|
+
storeRef: string | unknown;
|
|
4406
|
+
objectKey: string | unknown;
|
|
4407
|
+
sizeBytes: number | unknown;
|
|
4408
|
+
contentType: string | unknown;
|
|
4409
|
+
kind: 'generic' | 'playwright-trace';
|
|
4410
|
+
createdAt: string;
|
|
4390
4411
|
};
|
|
4391
4412
|
};
|
|
4392
|
-
export type
|
|
4393
|
-
export type
|
|
4413
|
+
export type PostApiStepExecutionsByStepExecutionIdArtifactsResponse = PostApiStepExecutionsByStepExecutionIdArtifactsResponses[keyof PostApiStepExecutionsByStepExecutionIdArtifactsResponses];
|
|
4414
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlData = {
|
|
4394
4415
|
body?: never;
|
|
4395
4416
|
path: {
|
|
4396
4417
|
stepExecutionId: string;
|
|
4418
|
+
artifactId: string;
|
|
4397
4419
|
};
|
|
4398
4420
|
query?: never;
|
|
4399
|
-
url: '/api/step-executions/{stepExecutionId}/
|
|
4421
|
+
url: '/api/step-executions/{stepExecutionId}/artifacts/{artifactId}/download-url';
|
|
4400
4422
|
};
|
|
4401
|
-
export type
|
|
4423
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors = {
|
|
4402
4424
|
/**
|
|
4403
4425
|
* Response for status 401
|
|
4404
4426
|
*/
|
|
@@ -4463,6 +4485,22 @@ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors = {
|
|
|
4463
4485
|
summary?: string;
|
|
4464
4486
|
}>;
|
|
4465
4487
|
};
|
|
4488
|
+
/**
|
|
4489
|
+
* Response for status 410
|
|
4490
|
+
*/
|
|
4491
|
+
410: {
|
|
4492
|
+
type: string;
|
|
4493
|
+
title: string;
|
|
4494
|
+
status: number;
|
|
4495
|
+
detail?: string;
|
|
4496
|
+
instance?: string;
|
|
4497
|
+
code?: string;
|
|
4498
|
+
errors?: Array<{
|
|
4499
|
+
path: string;
|
|
4500
|
+
message: string;
|
|
4501
|
+
summary?: string;
|
|
4502
|
+
}>;
|
|
4503
|
+
};
|
|
4466
4504
|
/**
|
|
4467
4505
|
* Response for status 422
|
|
4468
4506
|
*/
|
|
@@ -4496,17 +4534,19 @@ export type GetApiStepExecutionsByStepExecutionIdLogsArchiveErrors = {
|
|
|
4496
4534
|
}>;
|
|
4497
4535
|
};
|
|
4498
4536
|
};
|
|
4499
|
-
export type
|
|
4500
|
-
export type
|
|
4537
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlError = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlErrors];
|
|
4538
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses = {
|
|
4501
4539
|
/**
|
|
4502
4540
|
* Response for status 200
|
|
4503
4541
|
*/
|
|
4504
4542
|
200: {
|
|
4505
4543
|
url: string | unknown;
|
|
4506
4544
|
sizeBytes: number;
|
|
4545
|
+
contentType: string | unknown;
|
|
4546
|
+
relativeStorePath: string;
|
|
4507
4547
|
};
|
|
4508
4548
|
};
|
|
4509
|
-
export type
|
|
4549
|
+
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponse = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses];
|
|
4510
4550
|
export type PostApiLinearPipelineDefinitionsData = {
|
|
4511
4551
|
body: {
|
|
4512
4552
|
projectId: string;
|
|
@@ -5117,31 +5157,15 @@ export type PutApiLinearPipelineDefinitionsResponses = {
|
|
|
5117
5157
|
};
|
|
5118
5158
|
};
|
|
5119
5159
|
export type PutApiLinearPipelineDefinitionsResponse = PutApiLinearPipelineDefinitionsResponses[keyof PutApiLinearPipelineDefinitionsResponses];
|
|
5120
|
-
export type
|
|
5160
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveData = {
|
|
5121
5161
|
body?: never;
|
|
5122
5162
|
path: {
|
|
5123
5163
|
linearPipelineDefinitionId: string;
|
|
5124
5164
|
};
|
|
5125
5165
|
query?: never;
|
|
5126
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}';
|
|
5166
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/archive';
|
|
5127
5167
|
};
|
|
5128
|
-
export type
|
|
5129
|
-
/**
|
|
5130
|
-
* Response for status 400
|
|
5131
|
-
*/
|
|
5132
|
-
400: {
|
|
5133
|
-
type: string;
|
|
5134
|
-
title: string;
|
|
5135
|
-
status: number;
|
|
5136
|
-
detail?: string;
|
|
5137
|
-
instance?: string;
|
|
5138
|
-
code?: string;
|
|
5139
|
-
errors?: Array<{
|
|
5140
|
-
path: string;
|
|
5141
|
-
message: string;
|
|
5142
|
-
summary?: string;
|
|
5143
|
-
}>;
|
|
5144
|
-
};
|
|
5168
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveErrors = {
|
|
5145
5169
|
/**
|
|
5146
5170
|
* Response for status 401
|
|
5147
5171
|
*/
|
|
@@ -5223,8 +5247,8 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdErrors =
|
|
|
5223
5247
|
}>;
|
|
5224
5248
|
};
|
|
5225
5249
|
};
|
|
5226
|
-
export type
|
|
5227
|
-
export type
|
|
5250
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveErrors];
|
|
5251
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses = {
|
|
5228
5252
|
/**
|
|
5229
5253
|
* Response for status 200
|
|
5230
5254
|
*/
|
|
@@ -5338,16 +5362,16 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses
|
|
|
5338
5362
|
updatedAt: string;
|
|
5339
5363
|
};
|
|
5340
5364
|
};
|
|
5341
|
-
export type
|
|
5342
|
-
export type
|
|
5365
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses];
|
|
5366
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveData = {
|
|
5343
5367
|
body?: never;
|
|
5344
5368
|
path: {
|
|
5345
|
-
|
|
5369
|
+
linearPipelineDefinitionId: string;
|
|
5346
5370
|
};
|
|
5347
5371
|
query?: never;
|
|
5348
|
-
url: '/api/
|
|
5372
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/unarchive';
|
|
5349
5373
|
};
|
|
5350
|
-
export type
|
|
5374
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors = {
|
|
5351
5375
|
/**
|
|
5352
5376
|
* Response for status 401
|
|
5353
5377
|
*/
|
|
@@ -5380,6 +5404,22 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsErrors = {
|
|
|
5380
5404
|
summary?: string;
|
|
5381
5405
|
}>;
|
|
5382
5406
|
};
|
|
5407
|
+
/**
|
|
5408
|
+
* Response for status 404
|
|
5409
|
+
*/
|
|
5410
|
+
404: {
|
|
5411
|
+
type: string;
|
|
5412
|
+
title: string;
|
|
5413
|
+
status: number;
|
|
5414
|
+
detail?: string;
|
|
5415
|
+
instance?: string;
|
|
5416
|
+
code?: string;
|
|
5417
|
+
errors?: Array<{
|
|
5418
|
+
path: string;
|
|
5419
|
+
message: string;
|
|
5420
|
+
summary?: string;
|
|
5421
|
+
}>;
|
|
5422
|
+
};
|
|
5383
5423
|
/**
|
|
5384
5424
|
* Response for status 422
|
|
5385
5425
|
*/
|
|
@@ -5413,12 +5453,12 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsErrors = {
|
|
|
5413
5453
|
}>;
|
|
5414
5454
|
};
|
|
5415
5455
|
};
|
|
5416
|
-
export type
|
|
5417
|
-
export type
|
|
5456
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors];
|
|
5457
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses = {
|
|
5418
5458
|
/**
|
|
5419
5459
|
* Response for status 200
|
|
5420
5460
|
*/
|
|
5421
|
-
200:
|
|
5461
|
+
200: {
|
|
5422
5462
|
id: string;
|
|
5423
5463
|
projectId: string;
|
|
5424
5464
|
key: string;
|
|
@@ -5526,18 +5566,109 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses = {
|
|
|
5526
5566
|
}>;
|
|
5527
5567
|
createdAt: string;
|
|
5528
5568
|
updatedAt: string;
|
|
5529
|
-
}
|
|
5569
|
+
};
|
|
5530
5570
|
};
|
|
5531
|
-
export type
|
|
5532
|
-
export type
|
|
5533
|
-
body
|
|
5571
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses];
|
|
5572
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsData = {
|
|
5573
|
+
body: {
|
|
5574
|
+
stepDefinitionId: string;
|
|
5575
|
+
stepDefinitionVersion: number;
|
|
5576
|
+
key: string;
|
|
5577
|
+
name: string;
|
|
5578
|
+
description: string | unknown;
|
|
5579
|
+
position: number;
|
|
5580
|
+
inputBindingsJson: {
|
|
5581
|
+
[key: string]: {
|
|
5582
|
+
source: string;
|
|
5583
|
+
path: string | unknown;
|
|
5584
|
+
} | {
|
|
5585
|
+
source: string;
|
|
5586
|
+
field: string;
|
|
5587
|
+
} | {
|
|
5588
|
+
source: string;
|
|
5589
|
+
stepKey: string;
|
|
5590
|
+
path: string | unknown;
|
|
5591
|
+
} | {
|
|
5592
|
+
source: string;
|
|
5593
|
+
stepKey: string;
|
|
5594
|
+
signalKey: string;
|
|
5595
|
+
} | {
|
|
5596
|
+
source: string;
|
|
5597
|
+
value: unknown;
|
|
5598
|
+
};
|
|
5599
|
+
} | unknown;
|
|
5600
|
+
timeoutSeconds: number | unknown;
|
|
5601
|
+
retryPolicyJson: {
|
|
5602
|
+
[key: string]: unknown;
|
|
5603
|
+
} | unknown;
|
|
5604
|
+
advancementPolicyDefinition: {
|
|
5605
|
+
rulesJson: {
|
|
5606
|
+
rules: Array<{
|
|
5607
|
+
conditions: {
|
|
5608
|
+
[key: string]: unknown;
|
|
5609
|
+
};
|
|
5610
|
+
event: {
|
|
5611
|
+
type: string;
|
|
5612
|
+
params?: {
|
|
5613
|
+
[key: string]: unknown;
|
|
5614
|
+
};
|
|
5615
|
+
};
|
|
5616
|
+
name?: string;
|
|
5617
|
+
priority?: number;
|
|
5618
|
+
[key: string]: unknown | {
|
|
5619
|
+
[key: string]: unknown;
|
|
5620
|
+
} | {
|
|
5621
|
+
type: string;
|
|
5622
|
+
params?: {
|
|
5623
|
+
[key: string]: unknown;
|
|
5624
|
+
};
|
|
5625
|
+
} | string | number | undefined;
|
|
5626
|
+
}>;
|
|
5627
|
+
[key: string]: unknown | Array<{
|
|
5628
|
+
conditions: {
|
|
5629
|
+
[key: string]: unknown;
|
|
5630
|
+
};
|
|
5631
|
+
event: {
|
|
5632
|
+
type: string;
|
|
5633
|
+
params?: {
|
|
5634
|
+
[key: string]: unknown;
|
|
5635
|
+
};
|
|
5636
|
+
};
|
|
5637
|
+
name?: string;
|
|
5638
|
+
priority?: number;
|
|
5639
|
+
[key: string]: unknown | {
|
|
5640
|
+
[key: string]: unknown;
|
|
5641
|
+
} | {
|
|
5642
|
+
type: string;
|
|
5643
|
+
params?: {
|
|
5644
|
+
[key: string]: unknown;
|
|
5645
|
+
};
|
|
5646
|
+
} | string | number | undefined;
|
|
5647
|
+
}>;
|
|
5648
|
+
};
|
|
5649
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
5650
|
+
defaultEventParamsJson: {
|
|
5651
|
+
[key: string]: unknown;
|
|
5652
|
+
} | unknown;
|
|
5653
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
5654
|
+
};
|
|
5655
|
+
computedSignalDefinitions: Array<{
|
|
5656
|
+
key: string;
|
|
5657
|
+
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
5658
|
+
inputSignalKeys: Array<string>;
|
|
5659
|
+
configJson: {
|
|
5660
|
+
[key: string]: unknown;
|
|
5661
|
+
} | unknown;
|
|
5662
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
5663
|
+
}>;
|
|
5664
|
+
};
|
|
5534
5665
|
path: {
|
|
5535
5666
|
linearPipelineDefinitionId: string;
|
|
5536
5667
|
};
|
|
5537
5668
|
query?: never;
|
|
5538
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/
|
|
5669
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps';
|
|
5539
5670
|
};
|
|
5540
|
-
export type
|
|
5671
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErrors = {
|
|
5541
5672
|
/**
|
|
5542
5673
|
* Response for status 401
|
|
5543
5674
|
*/
|
|
@@ -5619,8 +5750,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveEr
|
|
|
5619
5750
|
}>;
|
|
5620
5751
|
};
|
|
5621
5752
|
};
|
|
5622
|
-
export type
|
|
5623
|
-
export type
|
|
5753
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsError = PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErrors[keyof PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErrors];
|
|
5754
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponses = {
|
|
5624
5755
|
/**
|
|
5625
5756
|
* Response for status 200
|
|
5626
5757
|
*/
|
|
@@ -5734,16 +5865,17 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
5734
5865
|
updatedAt: string;
|
|
5735
5866
|
};
|
|
5736
5867
|
};
|
|
5737
|
-
export type
|
|
5738
|
-
export type
|
|
5868
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponse = PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponses[keyof PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponses];
|
|
5869
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdData = {
|
|
5739
5870
|
body?: never;
|
|
5740
5871
|
path: {
|
|
5741
5872
|
linearPipelineDefinitionId: string;
|
|
5873
|
+
linearPipelineStepDefinitionId: string;
|
|
5742
5874
|
};
|
|
5743
5875
|
query?: never;
|
|
5744
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/
|
|
5876
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}';
|
|
5745
5877
|
};
|
|
5746
|
-
export type
|
|
5878
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors = {
|
|
5747
5879
|
/**
|
|
5748
5880
|
* Response for status 401
|
|
5749
5881
|
*/
|
|
@@ -5825,8 +5957,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchive
|
|
|
5825
5957
|
}>;
|
|
5826
5958
|
};
|
|
5827
5959
|
};
|
|
5828
|
-
export type
|
|
5829
|
-
export type
|
|
5960
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdError = DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors[keyof DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors];
|
|
5961
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses = {
|
|
5830
5962
|
/**
|
|
5831
5963
|
* Response for status 200
|
|
5832
5964
|
*/
|
|
@@ -5940,8 +6072,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchive
|
|
|
5940
6072
|
updatedAt: string;
|
|
5941
6073
|
};
|
|
5942
6074
|
};
|
|
5943
|
-
export type
|
|
5944
|
-
export type
|
|
6075
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponse = DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses[keyof DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses];
|
|
6076
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdData = {
|
|
5945
6077
|
body: {
|
|
5946
6078
|
stepDefinitionId: string;
|
|
5947
6079
|
stepDefinitionVersion: number;
|
|
@@ -6036,11 +6168,12 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsDat
|
|
|
6036
6168
|
};
|
|
6037
6169
|
path: {
|
|
6038
6170
|
linearPipelineDefinitionId: string;
|
|
6171
|
+
linearPipelineStepDefinitionId: string;
|
|
6039
6172
|
};
|
|
6040
6173
|
query?: never;
|
|
6041
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps';
|
|
6174
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}';
|
|
6042
6175
|
};
|
|
6043
|
-
export type
|
|
6176
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors = {
|
|
6044
6177
|
/**
|
|
6045
6178
|
* Response for status 401
|
|
6046
6179
|
*/
|
|
@@ -6122,8 +6255,8 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErr
|
|
|
6122
6255
|
}>;
|
|
6123
6256
|
};
|
|
6124
6257
|
};
|
|
6125
|
-
export type
|
|
6126
|
-
export type
|
|
6258
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors];
|
|
6259
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses = {
|
|
6127
6260
|
/**
|
|
6128
6261
|
* Response for status 200
|
|
6129
6262
|
*/
|
|
@@ -6237,17 +6370,65 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
6237
6370
|
updatedAt: string;
|
|
6238
6371
|
};
|
|
6239
6372
|
};
|
|
6240
|
-
export type
|
|
6241
|
-
export type
|
|
6242
|
-
body
|
|
6373
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses];
|
|
6374
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyData = {
|
|
6375
|
+
body: {
|
|
6376
|
+
rulesJson: {
|
|
6377
|
+
rules: Array<{
|
|
6378
|
+
conditions: {
|
|
6379
|
+
[key: string]: unknown;
|
|
6380
|
+
};
|
|
6381
|
+
event: {
|
|
6382
|
+
type: string;
|
|
6383
|
+
params?: {
|
|
6384
|
+
[key: string]: unknown;
|
|
6385
|
+
};
|
|
6386
|
+
};
|
|
6387
|
+
name?: string;
|
|
6388
|
+
priority?: number;
|
|
6389
|
+
[key: string]: unknown | {
|
|
6390
|
+
[key: string]: unknown;
|
|
6391
|
+
} | {
|
|
6392
|
+
type: string;
|
|
6393
|
+
params?: {
|
|
6394
|
+
[key: string]: unknown;
|
|
6395
|
+
};
|
|
6396
|
+
} | string | number | undefined;
|
|
6397
|
+
}>;
|
|
6398
|
+
[key: string]: unknown | Array<{
|
|
6399
|
+
conditions: {
|
|
6400
|
+
[key: string]: unknown;
|
|
6401
|
+
};
|
|
6402
|
+
event: {
|
|
6403
|
+
type: string;
|
|
6404
|
+
params?: {
|
|
6405
|
+
[key: string]: unknown;
|
|
6406
|
+
};
|
|
6407
|
+
};
|
|
6408
|
+
name?: string;
|
|
6409
|
+
priority?: number;
|
|
6410
|
+
[key: string]: unknown | {
|
|
6411
|
+
[key: string]: unknown;
|
|
6412
|
+
} | {
|
|
6413
|
+
type: string;
|
|
6414
|
+
params?: {
|
|
6415
|
+
[key: string]: unknown;
|
|
6416
|
+
};
|
|
6417
|
+
} | string | number | undefined;
|
|
6418
|
+
}>;
|
|
6419
|
+
};
|
|
6420
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
6421
|
+
defaultEventParamsJson: unknown;
|
|
6422
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
6423
|
+
};
|
|
6243
6424
|
path: {
|
|
6244
6425
|
linearPipelineDefinitionId: string;
|
|
6245
6426
|
linearPipelineStepDefinitionId: string;
|
|
6246
6427
|
};
|
|
6247
6428
|
query?: never;
|
|
6248
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}';
|
|
6429
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}/advancement-policy';
|
|
6249
6430
|
};
|
|
6250
|
-
export type
|
|
6431
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyErrors = {
|
|
6251
6432
|
/**
|
|
6252
6433
|
* Response for status 401
|
|
6253
6434
|
*/
|
|
@@ -6329,8 +6510,8 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
6329
6510
|
}>;
|
|
6330
6511
|
};
|
|
6331
6512
|
};
|
|
6332
|
-
export type
|
|
6333
|
-
export type
|
|
6513
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyErrors];
|
|
6514
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponses = {
|
|
6334
6515
|
/**
|
|
6335
6516
|
* Response for status 200
|
|
6336
6517
|
*/
|
|
@@ -6444,108 +6625,32 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
6444
6625
|
updatedAt: string;
|
|
6445
6626
|
};
|
|
6446
6627
|
};
|
|
6447
|
-
export type
|
|
6448
|
-
export type
|
|
6449
|
-
body
|
|
6450
|
-
stepDefinitionId: string;
|
|
6451
|
-
stepDefinitionVersion: number;
|
|
6452
|
-
key: string;
|
|
6453
|
-
name: string;
|
|
6454
|
-
description: string | unknown;
|
|
6455
|
-
position: number;
|
|
6456
|
-
inputBindingsJson: {
|
|
6457
|
-
[key: string]: {
|
|
6458
|
-
source: string;
|
|
6459
|
-
path: string | unknown;
|
|
6460
|
-
} | {
|
|
6461
|
-
source: string;
|
|
6462
|
-
field: string;
|
|
6463
|
-
} | {
|
|
6464
|
-
source: string;
|
|
6465
|
-
stepKey: string;
|
|
6466
|
-
path: string | unknown;
|
|
6467
|
-
} | {
|
|
6468
|
-
source: string;
|
|
6469
|
-
stepKey: string;
|
|
6470
|
-
signalKey: string;
|
|
6471
|
-
} | {
|
|
6472
|
-
source: string;
|
|
6473
|
-
value: unknown;
|
|
6474
|
-
};
|
|
6475
|
-
} | unknown;
|
|
6476
|
-
timeoutSeconds: number | unknown;
|
|
6477
|
-
retryPolicyJson: {
|
|
6478
|
-
[key: string]: unknown;
|
|
6479
|
-
} | unknown;
|
|
6480
|
-
advancementPolicyDefinition: {
|
|
6481
|
-
rulesJson: {
|
|
6482
|
-
rules: Array<{
|
|
6483
|
-
conditions: {
|
|
6484
|
-
[key: string]: unknown;
|
|
6485
|
-
};
|
|
6486
|
-
event: {
|
|
6487
|
-
type: string;
|
|
6488
|
-
params?: {
|
|
6489
|
-
[key: string]: unknown;
|
|
6490
|
-
};
|
|
6491
|
-
};
|
|
6492
|
-
name?: string;
|
|
6493
|
-
priority?: number;
|
|
6494
|
-
[key: string]: unknown | {
|
|
6495
|
-
[key: string]: unknown;
|
|
6496
|
-
} | {
|
|
6497
|
-
type: string;
|
|
6498
|
-
params?: {
|
|
6499
|
-
[key: string]: unknown;
|
|
6500
|
-
};
|
|
6501
|
-
} | string | number | undefined;
|
|
6502
|
-
}>;
|
|
6503
|
-
[key: string]: unknown | Array<{
|
|
6504
|
-
conditions: {
|
|
6505
|
-
[key: string]: unknown;
|
|
6506
|
-
};
|
|
6507
|
-
event: {
|
|
6508
|
-
type: string;
|
|
6509
|
-
params?: {
|
|
6510
|
-
[key: string]: unknown;
|
|
6511
|
-
};
|
|
6512
|
-
};
|
|
6513
|
-
name?: string;
|
|
6514
|
-
priority?: number;
|
|
6515
|
-
[key: string]: unknown | {
|
|
6516
|
-
[key: string]: unknown;
|
|
6517
|
-
} | {
|
|
6518
|
-
type: string;
|
|
6519
|
-
params?: {
|
|
6520
|
-
[key: string]: unknown;
|
|
6521
|
-
};
|
|
6522
|
-
} | string | number | undefined;
|
|
6523
|
-
}>;
|
|
6524
|
-
};
|
|
6525
|
-
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
6526
|
-
defaultEventParamsJson: {
|
|
6527
|
-
[key: string]: unknown;
|
|
6528
|
-
} | unknown;
|
|
6529
|
-
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
6530
|
-
};
|
|
6531
|
-
computedSignalDefinitions: Array<{
|
|
6532
|
-
key: string;
|
|
6533
|
-
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
6534
|
-
inputSignalKeys: Array<string>;
|
|
6535
|
-
configJson: {
|
|
6536
|
-
[key: string]: unknown;
|
|
6537
|
-
} | unknown;
|
|
6538
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
6539
|
-
}>;
|
|
6540
|
-
};
|
|
6628
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponses];
|
|
6629
|
+
export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdData = {
|
|
6630
|
+
body?: never;
|
|
6541
6631
|
path: {
|
|
6542
6632
|
linearPipelineDefinitionId: string;
|
|
6543
|
-
linearPipelineStepDefinitionId: string;
|
|
6544
6633
|
};
|
|
6545
6634
|
query?: never;
|
|
6546
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}
|
|
6635
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}';
|
|
6547
6636
|
};
|
|
6548
|
-
export type
|
|
6637
|
+
export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdErrors = {
|
|
6638
|
+
/**
|
|
6639
|
+
* Response for status 400
|
|
6640
|
+
*/
|
|
6641
|
+
400: {
|
|
6642
|
+
type: string;
|
|
6643
|
+
title: string;
|
|
6644
|
+
status: number;
|
|
6645
|
+
detail?: string;
|
|
6646
|
+
instance?: string;
|
|
6647
|
+
code?: string;
|
|
6648
|
+
errors?: Array<{
|
|
6649
|
+
path: string;
|
|
6650
|
+
message: string;
|
|
6651
|
+
summary?: string;
|
|
6652
|
+
}>;
|
|
6653
|
+
};
|
|
6549
6654
|
/**
|
|
6550
6655
|
* Response for status 401
|
|
6551
6656
|
*/
|
|
@@ -6627,8 +6732,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6627
6732
|
}>;
|
|
6628
6733
|
};
|
|
6629
6734
|
};
|
|
6630
|
-
export type
|
|
6631
|
-
export type
|
|
6735
|
+
export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdError = GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdErrors];
|
|
6736
|
+
export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses = {
|
|
6632
6737
|
/**
|
|
6633
6738
|
* Response for status 200
|
|
6634
6739
|
*/
|
|
@@ -6728,79 +6833,30 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6728
6833
|
computedSignalDefinitions: Array<{
|
|
6729
6834
|
id: string;
|
|
6730
6835
|
key: string;
|
|
6731
|
-
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
6732
|
-
inputSignalKeys: Array<string>;
|
|
6733
|
-
configJson: unknown;
|
|
6734
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
6735
|
-
createdAt: string;
|
|
6736
|
-
updatedAt: string;
|
|
6737
|
-
}>;
|
|
6738
|
-
createdAt: string;
|
|
6739
|
-
updatedAt: string;
|
|
6740
|
-
}>;
|
|
6741
|
-
createdAt: string;
|
|
6742
|
-
updatedAt: string;
|
|
6743
|
-
};
|
|
6744
|
-
};
|
|
6745
|
-
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses];
|
|
6746
|
-
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyData = {
|
|
6747
|
-
body: {
|
|
6748
|
-
rulesJson: {
|
|
6749
|
-
rules: Array<{
|
|
6750
|
-
conditions: {
|
|
6751
|
-
[key: string]: unknown;
|
|
6752
|
-
};
|
|
6753
|
-
event: {
|
|
6754
|
-
type: string;
|
|
6755
|
-
params?: {
|
|
6756
|
-
[key: string]: unknown;
|
|
6757
|
-
};
|
|
6758
|
-
};
|
|
6759
|
-
name?: string;
|
|
6760
|
-
priority?: number;
|
|
6761
|
-
[key: string]: unknown | {
|
|
6762
|
-
[key: string]: unknown;
|
|
6763
|
-
} | {
|
|
6764
|
-
type: string;
|
|
6765
|
-
params?: {
|
|
6766
|
-
[key: string]: unknown;
|
|
6767
|
-
};
|
|
6768
|
-
} | string | number | undefined;
|
|
6769
|
-
}>;
|
|
6770
|
-
[key: string]: unknown | Array<{
|
|
6771
|
-
conditions: {
|
|
6772
|
-
[key: string]: unknown;
|
|
6773
|
-
};
|
|
6774
|
-
event: {
|
|
6775
|
-
type: string;
|
|
6776
|
-
params?: {
|
|
6777
|
-
[key: string]: unknown;
|
|
6778
|
-
};
|
|
6779
|
-
};
|
|
6780
|
-
name?: string;
|
|
6781
|
-
priority?: number;
|
|
6782
|
-
[key: string]: unknown | {
|
|
6783
|
-
[key: string]: unknown;
|
|
6784
|
-
} | {
|
|
6785
|
-
type: string;
|
|
6786
|
-
params?: {
|
|
6787
|
-
[key: string]: unknown;
|
|
6788
|
-
};
|
|
6789
|
-
} | string | number | undefined;
|
|
6836
|
+
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
6837
|
+
inputSignalKeys: Array<string>;
|
|
6838
|
+
configJson: unknown;
|
|
6839
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
6840
|
+
createdAt: string;
|
|
6841
|
+
updatedAt: string;
|
|
6790
6842
|
}>;
|
|
6791
|
-
|
|
6792
|
-
|
|
6793
|
-
|
|
6794
|
-
|
|
6843
|
+
createdAt: string;
|
|
6844
|
+
updatedAt: string;
|
|
6845
|
+
}>;
|
|
6846
|
+
createdAt: string;
|
|
6847
|
+
updatedAt: string;
|
|
6795
6848
|
};
|
|
6849
|
+
};
|
|
6850
|
+
export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses];
|
|
6851
|
+
export type GetApiProjectsByProjectIdLinearPipelineDefinitionsData = {
|
|
6852
|
+
body?: never;
|
|
6796
6853
|
path: {
|
|
6797
|
-
|
|
6798
|
-
linearPipelineStepDefinitionId: string;
|
|
6854
|
+
projectId: string;
|
|
6799
6855
|
};
|
|
6800
6856
|
query?: never;
|
|
6801
|
-
url: '/api/linear-pipeline-definitions
|
|
6857
|
+
url: '/api/projects/{projectId}/linear-pipeline-definitions';
|
|
6802
6858
|
};
|
|
6803
|
-
export type
|
|
6859
|
+
export type GetApiProjectsByProjectIdLinearPipelineDefinitionsErrors = {
|
|
6804
6860
|
/**
|
|
6805
6861
|
* Response for status 401
|
|
6806
6862
|
*/
|
|
@@ -6833,22 +6889,6 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6833
6889
|
summary?: string;
|
|
6834
6890
|
}>;
|
|
6835
6891
|
};
|
|
6836
|
-
/**
|
|
6837
|
-
* Response for status 404
|
|
6838
|
-
*/
|
|
6839
|
-
404: {
|
|
6840
|
-
type: string;
|
|
6841
|
-
title: string;
|
|
6842
|
-
status: number;
|
|
6843
|
-
detail?: string;
|
|
6844
|
-
instance?: string;
|
|
6845
|
-
code?: string;
|
|
6846
|
-
errors?: Array<{
|
|
6847
|
-
path: string;
|
|
6848
|
-
message: string;
|
|
6849
|
-
summary?: string;
|
|
6850
|
-
}>;
|
|
6851
|
-
};
|
|
6852
6892
|
/**
|
|
6853
6893
|
* Response for status 422
|
|
6854
6894
|
*/
|
|
@@ -6882,12 +6922,12 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6882
6922
|
}>;
|
|
6883
6923
|
};
|
|
6884
6924
|
};
|
|
6885
|
-
export type
|
|
6886
|
-
export type
|
|
6925
|
+
export type GetApiProjectsByProjectIdLinearPipelineDefinitionsError = GetApiProjectsByProjectIdLinearPipelineDefinitionsErrors[keyof GetApiProjectsByProjectIdLinearPipelineDefinitionsErrors];
|
|
6926
|
+
export type GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses = {
|
|
6887
6927
|
/**
|
|
6888
6928
|
* Response for status 200
|
|
6889
6929
|
*/
|
|
6890
|
-
200: {
|
|
6930
|
+
200: Array<{
|
|
6891
6931
|
id: string;
|
|
6892
6932
|
projectId: string;
|
|
6893
6933
|
key: string;
|
|
@@ -6995,9 +7035,9 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6995
7035
|
}>;
|
|
6996
7036
|
createdAt: string;
|
|
6997
7037
|
updatedAt: string;
|
|
6998
|
-
}
|
|
7038
|
+
}>;
|
|
6999
7039
|
};
|
|
7000
|
-
export type
|
|
7040
|
+
export type GetApiProjectsByProjectIdLinearPipelineDefinitionsResponse = GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses[keyof GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses];
|
|
7001
7041
|
export type GetApiLinearPipelineExecutionsData = {
|
|
7002
7042
|
body?: never;
|
|
7003
7043
|
path?: never;
|
|
@@ -8897,18 +8937,221 @@ export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelin
|
|
|
8897
8937
|
} | unknown;
|
|
8898
8938
|
}>;
|
|
8899
8939
|
};
|
|
8900
|
-
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
8901
|
-
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdData = {
|
|
8940
|
+
export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
8941
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdData = {
|
|
8942
|
+
body?: never;
|
|
8943
|
+
path: {
|
|
8944
|
+
linearPipelineDefinitionId: string;
|
|
8945
|
+
};
|
|
8946
|
+
query: {
|
|
8947
|
+
linearPipelineStepDefinitionId: string;
|
|
8948
|
+
};
|
|
8949
|
+
url: '/api/linear-pipeline-executions/step-runs/by-definition/{linearPipelineDefinitionId}';
|
|
8950
|
+
};
|
|
8951
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors = {
|
|
8952
|
+
/**
|
|
8953
|
+
* Response for status 401
|
|
8954
|
+
*/
|
|
8955
|
+
401: {
|
|
8956
|
+
type: string;
|
|
8957
|
+
title: string;
|
|
8958
|
+
status: number;
|
|
8959
|
+
detail?: string;
|
|
8960
|
+
instance?: string;
|
|
8961
|
+
code?: string;
|
|
8962
|
+
errors?: Array<{
|
|
8963
|
+
path: string;
|
|
8964
|
+
message: string;
|
|
8965
|
+
summary?: string;
|
|
8966
|
+
}>;
|
|
8967
|
+
};
|
|
8968
|
+
/**
|
|
8969
|
+
* Response for status 403
|
|
8970
|
+
*/
|
|
8971
|
+
403: {
|
|
8972
|
+
type: string;
|
|
8973
|
+
title: string;
|
|
8974
|
+
status: number;
|
|
8975
|
+
detail?: string;
|
|
8976
|
+
instance?: string;
|
|
8977
|
+
code?: string;
|
|
8978
|
+
errors?: Array<{
|
|
8979
|
+
path: string;
|
|
8980
|
+
message: string;
|
|
8981
|
+
summary?: string;
|
|
8982
|
+
}>;
|
|
8983
|
+
};
|
|
8984
|
+
/**
|
|
8985
|
+
* Response for status 404
|
|
8986
|
+
*/
|
|
8987
|
+
404: {
|
|
8988
|
+
type: string;
|
|
8989
|
+
title: string;
|
|
8990
|
+
status: number;
|
|
8991
|
+
detail?: string;
|
|
8992
|
+
instance?: string;
|
|
8993
|
+
code?: string;
|
|
8994
|
+
errors?: Array<{
|
|
8995
|
+
path: string;
|
|
8996
|
+
message: string;
|
|
8997
|
+
summary?: string;
|
|
8998
|
+
}>;
|
|
8999
|
+
};
|
|
9000
|
+
/**
|
|
9001
|
+
* Response for status 422
|
|
9002
|
+
*/
|
|
9003
|
+
422: {
|
|
9004
|
+
type: string;
|
|
9005
|
+
title: string;
|
|
9006
|
+
status: number;
|
|
9007
|
+
detail?: string;
|
|
9008
|
+
instance?: string;
|
|
9009
|
+
code?: string;
|
|
9010
|
+
errors?: Array<{
|
|
9011
|
+
path: string;
|
|
9012
|
+
message: string;
|
|
9013
|
+
summary?: string;
|
|
9014
|
+
}>;
|
|
9015
|
+
};
|
|
9016
|
+
/**
|
|
9017
|
+
* Response for status 500
|
|
9018
|
+
*/
|
|
9019
|
+
500: {
|
|
9020
|
+
type: string;
|
|
9021
|
+
title: string;
|
|
9022
|
+
status: number;
|
|
9023
|
+
detail?: string;
|
|
9024
|
+
instance?: string;
|
|
9025
|
+
code?: string;
|
|
9026
|
+
errors?: Array<{
|
|
9027
|
+
path: string;
|
|
9028
|
+
message: string;
|
|
9029
|
+
summary?: string;
|
|
9030
|
+
}>;
|
|
9031
|
+
};
|
|
9032
|
+
};
|
|
9033
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
9034
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
9035
|
+
/**
|
|
9036
|
+
* Response for status 200
|
|
9037
|
+
*/
|
|
9038
|
+
200: Array<{
|
|
9039
|
+
linearPipelineStepRunId: string;
|
|
9040
|
+
linearPipelineExecutionId: string;
|
|
9041
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
9042
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
9043
|
+
evaluationFinalAction: 'continue' | 'block' | 'complete' | 'route' | unknown;
|
|
9044
|
+
createdAt: string;
|
|
9045
|
+
}>;
|
|
9046
|
+
};
|
|
9047
|
+
export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
9048
|
+
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
9049
|
+
body?: never;
|
|
9050
|
+
path: {
|
|
9051
|
+
workItemId: string;
|
|
9052
|
+
};
|
|
9053
|
+
query?: never;
|
|
9054
|
+
url: '/api/work-items/{workItemId}';
|
|
9055
|
+
};
|
|
9056
|
+
export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
9057
|
+
/**
|
|
9058
|
+
* Response for status 401
|
|
9059
|
+
*/
|
|
9060
|
+
401: {
|
|
9061
|
+
type: string;
|
|
9062
|
+
title: string;
|
|
9063
|
+
status: number;
|
|
9064
|
+
detail?: string;
|
|
9065
|
+
instance?: string;
|
|
9066
|
+
code?: string;
|
|
9067
|
+
errors?: Array<{
|
|
9068
|
+
path: string;
|
|
9069
|
+
message: string;
|
|
9070
|
+
summary?: string;
|
|
9071
|
+
}>;
|
|
9072
|
+
};
|
|
9073
|
+
/**
|
|
9074
|
+
* Response for status 403
|
|
9075
|
+
*/
|
|
9076
|
+
403: {
|
|
9077
|
+
type: string;
|
|
9078
|
+
title: string;
|
|
9079
|
+
status: number;
|
|
9080
|
+
detail?: string;
|
|
9081
|
+
instance?: string;
|
|
9082
|
+
code?: string;
|
|
9083
|
+
errors?: Array<{
|
|
9084
|
+
path: string;
|
|
9085
|
+
message: string;
|
|
9086
|
+
summary?: string;
|
|
9087
|
+
}>;
|
|
9088
|
+
};
|
|
9089
|
+
/**
|
|
9090
|
+
* Response for status 404
|
|
9091
|
+
*/
|
|
9092
|
+
404: {
|
|
9093
|
+
type: string;
|
|
9094
|
+
title: string;
|
|
9095
|
+
status: number;
|
|
9096
|
+
detail?: string;
|
|
9097
|
+
instance?: string;
|
|
9098
|
+
code?: string;
|
|
9099
|
+
errors?: Array<{
|
|
9100
|
+
path: string;
|
|
9101
|
+
message: string;
|
|
9102
|
+
summary?: string;
|
|
9103
|
+
}>;
|
|
9104
|
+
};
|
|
9105
|
+
/**
|
|
9106
|
+
* Response for status 422
|
|
9107
|
+
*/
|
|
9108
|
+
422: {
|
|
9109
|
+
type: string;
|
|
9110
|
+
title: string;
|
|
9111
|
+
status: number;
|
|
9112
|
+
detail?: string;
|
|
9113
|
+
instance?: string;
|
|
9114
|
+
code?: string;
|
|
9115
|
+
errors?: Array<{
|
|
9116
|
+
path: string;
|
|
9117
|
+
message: string;
|
|
9118
|
+
summary?: string;
|
|
9119
|
+
}>;
|
|
9120
|
+
};
|
|
9121
|
+
/**
|
|
9122
|
+
* Response for status 500
|
|
9123
|
+
*/
|
|
9124
|
+
500: {
|
|
9125
|
+
type: string;
|
|
9126
|
+
title: string;
|
|
9127
|
+
status: number;
|
|
9128
|
+
detail?: string;
|
|
9129
|
+
instance?: string;
|
|
9130
|
+
code?: string;
|
|
9131
|
+
errors?: Array<{
|
|
9132
|
+
path: string;
|
|
9133
|
+
message: string;
|
|
9134
|
+
summary?: string;
|
|
9135
|
+
}>;
|
|
9136
|
+
};
|
|
9137
|
+
};
|
|
9138
|
+
export type DeleteApiWorkItemsByWorkItemIdError = DeleteApiWorkItemsByWorkItemIdErrors[keyof DeleteApiWorkItemsByWorkItemIdErrors];
|
|
9139
|
+
export type DeleteApiWorkItemsByWorkItemIdResponses = {
|
|
9140
|
+
/**
|
|
9141
|
+
* Response for status 200
|
|
9142
|
+
*/
|
|
9143
|
+
200: number;
|
|
9144
|
+
};
|
|
9145
|
+
export type DeleteApiWorkItemsByWorkItemIdResponse = DeleteApiWorkItemsByWorkItemIdResponses[keyof DeleteApiWorkItemsByWorkItemIdResponses];
|
|
9146
|
+
export type GetApiWorkItemsByWorkItemIdData = {
|
|
8902
9147
|
body?: never;
|
|
8903
9148
|
path: {
|
|
8904
|
-
|
|
8905
|
-
};
|
|
8906
|
-
query: {
|
|
8907
|
-
linearPipelineStepDefinitionId: string;
|
|
9149
|
+
workItemId: string;
|
|
8908
9150
|
};
|
|
8909
|
-
|
|
9151
|
+
query?: never;
|
|
9152
|
+
url: '/api/work-items/{workItemId}';
|
|
8910
9153
|
};
|
|
8911
|
-
export type
|
|
9154
|
+
export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
8912
9155
|
/**
|
|
8913
9156
|
* Response for status 401
|
|
8914
9157
|
*/
|
|
@@ -8990,21 +9233,30 @@ export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDe
|
|
|
8990
9233
|
}>;
|
|
8991
9234
|
};
|
|
8992
9235
|
};
|
|
8993
|
-
export type
|
|
8994
|
-
export type
|
|
9236
|
+
export type GetApiWorkItemsByWorkItemIdError = GetApiWorkItemsByWorkItemIdErrors[keyof GetApiWorkItemsByWorkItemIdErrors];
|
|
9237
|
+
export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
8995
9238
|
/**
|
|
8996
9239
|
* Response for status 200
|
|
8997
9240
|
*/
|
|
8998
|
-
200:
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9241
|
+
200: {
|
|
9242
|
+
id: string;
|
|
9243
|
+
projectId: string;
|
|
9244
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9245
|
+
platformId?: string | unknown;
|
|
9246
|
+
platformKey: string;
|
|
9247
|
+
url?: string | unknown;
|
|
9248
|
+
title: string;
|
|
9249
|
+
description: string;
|
|
9250
|
+
sourceCreatedAt: string | unknown;
|
|
9251
|
+
sourceUpdatedAt: string | unknown;
|
|
9252
|
+
fields: unknown;
|
|
9253
|
+
createdByUsername: string | unknown;
|
|
9254
|
+
createdByImage: string | unknown;
|
|
9004
9255
|
createdAt: string;
|
|
9005
|
-
|
|
9256
|
+
updatedAt: string;
|
|
9257
|
+
};
|
|
9006
9258
|
};
|
|
9007
|
-
export type
|
|
9259
|
+
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
9008
9260
|
export type PostApiWorkItemsData = {
|
|
9009
9261
|
body: {
|
|
9010
9262
|
projectId: string;
|
|
@@ -9691,218 +9943,6 @@ export type PutApiWorkItemsBatchResponses = {
|
|
|
9691
9943
|
}>;
|
|
9692
9944
|
};
|
|
9693
9945
|
export type PutApiWorkItemsBatchResponse = PutApiWorkItemsBatchResponses[keyof PutApiWorkItemsBatchResponses];
|
|
9694
|
-
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
9695
|
-
body?: never;
|
|
9696
|
-
path: {
|
|
9697
|
-
workItemId: string;
|
|
9698
|
-
};
|
|
9699
|
-
query?: never;
|
|
9700
|
-
url: '/api/work-items/{workItemId}';
|
|
9701
|
-
};
|
|
9702
|
-
export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
9703
|
-
/**
|
|
9704
|
-
* Response for status 401
|
|
9705
|
-
*/
|
|
9706
|
-
401: {
|
|
9707
|
-
type: string;
|
|
9708
|
-
title: string;
|
|
9709
|
-
status: number;
|
|
9710
|
-
detail?: string;
|
|
9711
|
-
instance?: string;
|
|
9712
|
-
code?: string;
|
|
9713
|
-
errors?: Array<{
|
|
9714
|
-
path: string;
|
|
9715
|
-
message: string;
|
|
9716
|
-
summary?: string;
|
|
9717
|
-
}>;
|
|
9718
|
-
};
|
|
9719
|
-
/**
|
|
9720
|
-
* Response for status 403
|
|
9721
|
-
*/
|
|
9722
|
-
403: {
|
|
9723
|
-
type: string;
|
|
9724
|
-
title: string;
|
|
9725
|
-
status: number;
|
|
9726
|
-
detail?: string;
|
|
9727
|
-
instance?: string;
|
|
9728
|
-
code?: string;
|
|
9729
|
-
errors?: Array<{
|
|
9730
|
-
path: string;
|
|
9731
|
-
message: string;
|
|
9732
|
-
summary?: string;
|
|
9733
|
-
}>;
|
|
9734
|
-
};
|
|
9735
|
-
/**
|
|
9736
|
-
* Response for status 404
|
|
9737
|
-
*/
|
|
9738
|
-
404: {
|
|
9739
|
-
type: string;
|
|
9740
|
-
title: string;
|
|
9741
|
-
status: number;
|
|
9742
|
-
detail?: string;
|
|
9743
|
-
instance?: string;
|
|
9744
|
-
code?: string;
|
|
9745
|
-
errors?: Array<{
|
|
9746
|
-
path: string;
|
|
9747
|
-
message: string;
|
|
9748
|
-
summary?: string;
|
|
9749
|
-
}>;
|
|
9750
|
-
};
|
|
9751
|
-
/**
|
|
9752
|
-
* Response for status 422
|
|
9753
|
-
*/
|
|
9754
|
-
422: {
|
|
9755
|
-
type: string;
|
|
9756
|
-
title: string;
|
|
9757
|
-
status: number;
|
|
9758
|
-
detail?: string;
|
|
9759
|
-
instance?: string;
|
|
9760
|
-
code?: string;
|
|
9761
|
-
errors?: Array<{
|
|
9762
|
-
path: string;
|
|
9763
|
-
message: string;
|
|
9764
|
-
summary?: string;
|
|
9765
|
-
}>;
|
|
9766
|
-
};
|
|
9767
|
-
/**
|
|
9768
|
-
* Response for status 500
|
|
9769
|
-
*/
|
|
9770
|
-
500: {
|
|
9771
|
-
type: string;
|
|
9772
|
-
title: string;
|
|
9773
|
-
status: number;
|
|
9774
|
-
detail?: string;
|
|
9775
|
-
instance?: string;
|
|
9776
|
-
code?: string;
|
|
9777
|
-
errors?: Array<{
|
|
9778
|
-
path: string;
|
|
9779
|
-
message: string;
|
|
9780
|
-
summary?: string;
|
|
9781
|
-
}>;
|
|
9782
|
-
};
|
|
9783
|
-
};
|
|
9784
|
-
export type DeleteApiWorkItemsByWorkItemIdError = DeleteApiWorkItemsByWorkItemIdErrors[keyof DeleteApiWorkItemsByWorkItemIdErrors];
|
|
9785
|
-
export type DeleteApiWorkItemsByWorkItemIdResponses = {
|
|
9786
|
-
/**
|
|
9787
|
-
* Response for status 200
|
|
9788
|
-
*/
|
|
9789
|
-
200: number;
|
|
9790
|
-
};
|
|
9791
|
-
export type DeleteApiWorkItemsByWorkItemIdResponse = DeleteApiWorkItemsByWorkItemIdResponses[keyof DeleteApiWorkItemsByWorkItemIdResponses];
|
|
9792
|
-
export type GetApiWorkItemsByWorkItemIdData = {
|
|
9793
|
-
body?: never;
|
|
9794
|
-
path: {
|
|
9795
|
-
workItemId: string;
|
|
9796
|
-
};
|
|
9797
|
-
query?: never;
|
|
9798
|
-
url: '/api/work-items/{workItemId}';
|
|
9799
|
-
};
|
|
9800
|
-
export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
9801
|
-
/**
|
|
9802
|
-
* Response for status 401
|
|
9803
|
-
*/
|
|
9804
|
-
401: {
|
|
9805
|
-
type: string;
|
|
9806
|
-
title: string;
|
|
9807
|
-
status: number;
|
|
9808
|
-
detail?: string;
|
|
9809
|
-
instance?: string;
|
|
9810
|
-
code?: string;
|
|
9811
|
-
errors?: Array<{
|
|
9812
|
-
path: string;
|
|
9813
|
-
message: string;
|
|
9814
|
-
summary?: string;
|
|
9815
|
-
}>;
|
|
9816
|
-
};
|
|
9817
|
-
/**
|
|
9818
|
-
* Response for status 403
|
|
9819
|
-
*/
|
|
9820
|
-
403: {
|
|
9821
|
-
type: string;
|
|
9822
|
-
title: string;
|
|
9823
|
-
status: number;
|
|
9824
|
-
detail?: string;
|
|
9825
|
-
instance?: string;
|
|
9826
|
-
code?: string;
|
|
9827
|
-
errors?: Array<{
|
|
9828
|
-
path: string;
|
|
9829
|
-
message: string;
|
|
9830
|
-
summary?: string;
|
|
9831
|
-
}>;
|
|
9832
|
-
};
|
|
9833
|
-
/**
|
|
9834
|
-
* Response for status 404
|
|
9835
|
-
*/
|
|
9836
|
-
404: {
|
|
9837
|
-
type: string;
|
|
9838
|
-
title: string;
|
|
9839
|
-
status: number;
|
|
9840
|
-
detail?: string;
|
|
9841
|
-
instance?: string;
|
|
9842
|
-
code?: string;
|
|
9843
|
-
errors?: Array<{
|
|
9844
|
-
path: string;
|
|
9845
|
-
message: string;
|
|
9846
|
-
summary?: string;
|
|
9847
|
-
}>;
|
|
9848
|
-
};
|
|
9849
|
-
/**
|
|
9850
|
-
* Response for status 422
|
|
9851
|
-
*/
|
|
9852
|
-
422: {
|
|
9853
|
-
type: string;
|
|
9854
|
-
title: string;
|
|
9855
|
-
status: number;
|
|
9856
|
-
detail?: string;
|
|
9857
|
-
instance?: string;
|
|
9858
|
-
code?: string;
|
|
9859
|
-
errors?: Array<{
|
|
9860
|
-
path: string;
|
|
9861
|
-
message: string;
|
|
9862
|
-
summary?: string;
|
|
9863
|
-
}>;
|
|
9864
|
-
};
|
|
9865
|
-
/**
|
|
9866
|
-
* Response for status 500
|
|
9867
|
-
*/
|
|
9868
|
-
500: {
|
|
9869
|
-
type: string;
|
|
9870
|
-
title: string;
|
|
9871
|
-
status: number;
|
|
9872
|
-
detail?: string;
|
|
9873
|
-
instance?: string;
|
|
9874
|
-
code?: string;
|
|
9875
|
-
errors?: Array<{
|
|
9876
|
-
path: string;
|
|
9877
|
-
message: string;
|
|
9878
|
-
summary?: string;
|
|
9879
|
-
}>;
|
|
9880
|
-
};
|
|
9881
|
-
};
|
|
9882
|
-
export type GetApiWorkItemsByWorkItemIdError = GetApiWorkItemsByWorkItemIdErrors[keyof GetApiWorkItemsByWorkItemIdErrors];
|
|
9883
|
-
export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
9884
|
-
/**
|
|
9885
|
-
* Response for status 200
|
|
9886
|
-
*/
|
|
9887
|
-
200: {
|
|
9888
|
-
id: string;
|
|
9889
|
-
projectId: string;
|
|
9890
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9891
|
-
platformId?: string | unknown;
|
|
9892
|
-
platformKey: string;
|
|
9893
|
-
url?: string | unknown;
|
|
9894
|
-
title: string;
|
|
9895
|
-
description: string;
|
|
9896
|
-
sourceCreatedAt: string | unknown;
|
|
9897
|
-
sourceUpdatedAt: string | unknown;
|
|
9898
|
-
fields: unknown;
|
|
9899
|
-
createdByUsername: string | unknown;
|
|
9900
|
-
createdByImage: string | unknown;
|
|
9901
|
-
createdAt: string;
|
|
9902
|
-
updatedAt: string;
|
|
9903
|
-
};
|
|
9904
|
-
};
|
|
9905
|
-
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
9906
9946
|
export type GetApiWorkItemCommentsData = {
|
|
9907
9947
|
body?: never;
|
|
9908
9948
|
path?: never;
|
|
@@ -12831,6 +12871,7 @@ export type PostApiProjectsFromGithubResponses = {
|
|
|
12831
12871
|
} | unknown;
|
|
12832
12872
|
allowedEventTypes: Array<'assign' | 'skip'>;
|
|
12833
12873
|
} | unknown;
|
|
12874
|
+
visibility: 'private' | 'public';
|
|
12834
12875
|
createdAt: string;
|
|
12835
12876
|
updatedAt: string;
|
|
12836
12877
|
initialSyncFailed: boolean;
|