@boboddy/sdk 0.3.1 → 0.4.2
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 +93 -23
- package/dist/definitions/advancement-policies/cohort-advancement-policy.d.ts +117 -0
- package/dist/definitions/advancement-policies/cohort-fluent-rules.d.ts +126 -0
- package/dist/definitions/advancement-policies/index.d.ts +2 -0
- package/dist/definitions/advancement-policies/index.js +242 -0
- package/dist/definitions/pipelines/builder-helpers.d.ts +39 -8
- package/dist/definitions/pipelines/builder.d.ts +50 -44
- package/dist/definitions/pipelines/chain-graph.d.ts +19 -0
- package/dist/definitions/pipelines/define-default-pipeline-assignment.d.ts +7 -7
- package/dist/definitions/pipelines/define-pipeline.d.ts +106 -13
- package/dist/definitions/pipelines/fan-out-builder.d.ts +66 -0
- package/dist/definitions/pipelines/index.js +566 -125
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +6 -6
- package/dist/definitions/steps/define-step.d.ts +7 -3
- package/dist/definitions/steps/index.js +92 -23
- package/dist/definitions/validation/index.js +91 -22
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +40 -24
- package/dist/generated/types.gen.d.ts +1793 -542
- package/dist/index.js +567 -125
- package/dist/push/index.js +603 -153
- package/package.json +1 -1
|
@@ -161,7 +161,7 @@ export type GetApiProjectsResolveResponses = {
|
|
|
161
161
|
updatedAt: string;
|
|
162
162
|
}>;
|
|
163
163
|
defaultPipelineAssignment: {
|
|
164
|
-
|
|
164
|
+
pipelineDefinitionId: string;
|
|
165
165
|
rulesJson: {
|
|
166
166
|
rules: Array<{
|
|
167
167
|
conditions: {
|
|
@@ -334,8 +334,10 @@ export type GetApiProjectsByProjectIdWorkItemsResponses = {
|
|
|
334
334
|
sourceCreatedAt: string | unknown;
|
|
335
335
|
sourceUpdatedAt: string | unknown;
|
|
336
336
|
fields: unknown;
|
|
337
|
+
createdByUserId: string | unknown;
|
|
337
338
|
createdByUsername: string | unknown;
|
|
338
339
|
createdByImage: string | unknown;
|
|
340
|
+
parentWorkItemId: string | unknown;
|
|
339
341
|
createdAt: string;
|
|
340
342
|
updatedAt: string;
|
|
341
343
|
signalScore: number | unknown;
|
|
@@ -562,7 +564,7 @@ export type GetApiProjectsByProjectIdResponses = {
|
|
|
562
564
|
updatedAt: string;
|
|
563
565
|
}>;
|
|
564
566
|
defaultPipelineAssignment: {
|
|
565
|
-
|
|
567
|
+
pipelineDefinitionId: string;
|
|
566
568
|
rulesJson: {
|
|
567
569
|
rules: Array<{
|
|
568
570
|
conditions: {
|
|
@@ -680,7 +682,7 @@ export type GetApiProjectsResponses = {
|
|
|
680
682
|
updatedAt: string;
|
|
681
683
|
}>;
|
|
682
684
|
defaultPipelineAssignment: {
|
|
683
|
-
|
|
685
|
+
pipelineDefinitionId: string;
|
|
684
686
|
rulesJson: {
|
|
685
687
|
rules: Array<{
|
|
686
688
|
conditions: {
|
|
@@ -850,7 +852,7 @@ export type PostApiProjectsResponses = {
|
|
|
850
852
|
updatedAt: string;
|
|
851
853
|
}>;
|
|
852
854
|
defaultPipelineAssignment: {
|
|
853
|
-
|
|
855
|
+
pipelineDefinitionId: string;
|
|
854
856
|
rulesJson: {
|
|
855
857
|
rules: Array<{
|
|
856
858
|
conditions: {
|
|
@@ -910,7 +912,7 @@ export type PostApiProjectsResponse = PostApiProjectsResponses[keyof PostApiProj
|
|
|
910
912
|
export type PutApiProjectsByProjectIdDefaultPipelineAssignmentData = {
|
|
911
913
|
body: {
|
|
912
914
|
defaultPipelineAssignment: {
|
|
913
|
-
|
|
915
|
+
pipelineDefinitionId: string;
|
|
914
916
|
rulesJson: {
|
|
915
917
|
rules: Array<{
|
|
916
918
|
conditions: {
|
|
@@ -1071,7 +1073,7 @@ export type PutApiProjectsByProjectIdDefaultPipelineAssignmentResponses = {
|
|
|
1071
1073
|
updatedAt: string;
|
|
1072
1074
|
}>;
|
|
1073
1075
|
defaultPipelineAssignment: {
|
|
1074
|
-
|
|
1076
|
+
pipelineDefinitionId: string;
|
|
1075
1077
|
rulesJson: {
|
|
1076
1078
|
rules: Array<{
|
|
1077
1079
|
conditions: {
|
|
@@ -1240,7 +1242,7 @@ export type PutApiProjectsByProjectIdMembersByUserIdPermissionsResponses = {
|
|
|
1240
1242
|
updatedAt: string;
|
|
1241
1243
|
}>;
|
|
1242
1244
|
defaultPipelineAssignment: {
|
|
1243
|
-
|
|
1245
|
+
pipelineDefinitionId: string;
|
|
1244
1246
|
rulesJson: {
|
|
1245
1247
|
rules: Array<{
|
|
1246
1248
|
conditions: {
|
|
@@ -4547,7 +4549,7 @@ export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUr
|
|
|
4547
4549
|
};
|
|
4548
4550
|
};
|
|
4549
4551
|
export type GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponse = GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses[keyof GetApiStepExecutionsByStepExecutionIdArtifactsByArtifactIdDownloadUrlResponses];
|
|
4550
|
-
export type
|
|
4552
|
+
export type PostApiPipelineDefinitionsData = {
|
|
4551
4553
|
body: {
|
|
4552
4554
|
projectId: string;
|
|
4553
4555
|
key: string;
|
|
@@ -4644,9 +4646,9 @@ export type PostApiLinearPipelineDefinitionsData = {
|
|
|
4644
4646
|
};
|
|
4645
4647
|
path?: never;
|
|
4646
4648
|
query?: never;
|
|
4647
|
-
url: '/api/
|
|
4649
|
+
url: '/api/pipeline-definitions';
|
|
4648
4650
|
};
|
|
4649
|
-
export type
|
|
4651
|
+
export type PostApiPipelineDefinitionsErrors = {
|
|
4650
4652
|
/**
|
|
4651
4653
|
* Response for status 400
|
|
4652
4654
|
*/
|
|
@@ -4760,8 +4762,8 @@ export type PostApiLinearPipelineDefinitionsErrors = {
|
|
|
4760
4762
|
}>;
|
|
4761
4763
|
};
|
|
4762
4764
|
};
|
|
4763
|
-
export type
|
|
4764
|
-
export type
|
|
4765
|
+
export type PostApiPipelineDefinitionsError = PostApiPipelineDefinitionsErrors[keyof PostApiPipelineDefinitionsErrors];
|
|
4766
|
+
export type PostApiPipelineDefinitionsResponses = {
|
|
4765
4767
|
/**
|
|
4766
4768
|
* Response for status 200
|
|
4767
4769
|
*/
|
|
@@ -4776,7 +4778,7 @@ export type PostApiLinearPipelineDefinitionsResponses = {
|
|
|
4776
4778
|
inputSchemaJson: unknown;
|
|
4777
4779
|
stepDefinitions: Array<{
|
|
4778
4780
|
id: string;
|
|
4779
|
-
|
|
4781
|
+
pipelineDefinitionId: string;
|
|
4780
4782
|
stepDefinitionId: string;
|
|
4781
4783
|
stepDefinitionVersion: number;
|
|
4782
4784
|
key: string;
|
|
@@ -4807,7 +4809,7 @@ export type PostApiLinearPipelineDefinitionsResponses = {
|
|
|
4807
4809
|
retryPolicyJson: unknown;
|
|
4808
4810
|
advancementPolicyDefinition: {
|
|
4809
4811
|
id: string;
|
|
4810
|
-
|
|
4812
|
+
pipelineStepDefinitionId: string;
|
|
4811
4813
|
rulesJson: {
|
|
4812
4814
|
rules: Array<{
|
|
4813
4815
|
conditions: {
|
|
@@ -4875,8 +4877,8 @@ export type PostApiLinearPipelineDefinitionsResponses = {
|
|
|
4875
4877
|
updatedAt: string;
|
|
4876
4878
|
};
|
|
4877
4879
|
};
|
|
4878
|
-
export type
|
|
4879
|
-
export type
|
|
4880
|
+
export type PostApiPipelineDefinitionsResponse = PostApiPipelineDefinitionsResponses[keyof PostApiPipelineDefinitionsResponses];
|
|
4881
|
+
export type PutApiPipelineDefinitionsData = {
|
|
4880
4882
|
body: {
|
|
4881
4883
|
projectId: string;
|
|
4882
4884
|
key: string;
|
|
@@ -4973,9 +4975,9 @@ export type PutApiLinearPipelineDefinitionsData = {
|
|
|
4973
4975
|
};
|
|
4974
4976
|
path?: never;
|
|
4975
4977
|
query?: never;
|
|
4976
|
-
url: '/api/
|
|
4978
|
+
url: '/api/pipeline-definitions';
|
|
4977
4979
|
};
|
|
4978
|
-
export type
|
|
4980
|
+
export type PutApiPipelineDefinitionsErrors = {
|
|
4979
4981
|
/**
|
|
4980
4982
|
* Response for status 401
|
|
4981
4983
|
*/
|
|
@@ -5041,8 +5043,8 @@ export type PutApiLinearPipelineDefinitionsErrors = {
|
|
|
5041
5043
|
}>;
|
|
5042
5044
|
};
|
|
5043
5045
|
};
|
|
5044
|
-
export type
|
|
5045
|
-
export type
|
|
5046
|
+
export type PutApiPipelineDefinitionsError = PutApiPipelineDefinitionsErrors[keyof PutApiPipelineDefinitionsErrors];
|
|
5047
|
+
export type PutApiPipelineDefinitionsResponses = {
|
|
5046
5048
|
/**
|
|
5047
5049
|
* Response for status 200
|
|
5048
5050
|
*/
|
|
@@ -5057,7 +5059,7 @@ export type PutApiLinearPipelineDefinitionsResponses = {
|
|
|
5057
5059
|
inputSchemaJson: unknown;
|
|
5058
5060
|
stepDefinitions: Array<{
|
|
5059
5061
|
id: string;
|
|
5060
|
-
|
|
5062
|
+
pipelineDefinitionId: string;
|
|
5061
5063
|
stepDefinitionId: string;
|
|
5062
5064
|
stepDefinitionVersion: number;
|
|
5063
5065
|
key: string;
|
|
@@ -5088,7 +5090,7 @@ export type PutApiLinearPipelineDefinitionsResponses = {
|
|
|
5088
5090
|
retryPolicyJson: unknown;
|
|
5089
5091
|
advancementPolicyDefinition: {
|
|
5090
5092
|
id: string;
|
|
5091
|
-
|
|
5093
|
+
pipelineStepDefinitionId: string;
|
|
5092
5094
|
rulesJson: {
|
|
5093
5095
|
rules: Array<{
|
|
5094
5096
|
conditions: {
|
|
@@ -5156,16 +5158,16 @@ export type PutApiLinearPipelineDefinitionsResponses = {
|
|
|
5156
5158
|
updatedAt: string;
|
|
5157
5159
|
};
|
|
5158
5160
|
};
|
|
5159
|
-
export type
|
|
5160
|
-
export type
|
|
5161
|
+
export type PutApiPipelineDefinitionsResponse = PutApiPipelineDefinitionsResponses[keyof PutApiPipelineDefinitionsResponses];
|
|
5162
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveData = {
|
|
5161
5163
|
body?: never;
|
|
5162
5164
|
path: {
|
|
5163
|
-
|
|
5165
|
+
pipelineDefinitionId: string;
|
|
5164
5166
|
};
|
|
5165
5167
|
query?: never;
|
|
5166
|
-
url: '/api/
|
|
5168
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}/archive';
|
|
5167
5169
|
};
|
|
5168
|
-
export type
|
|
5170
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveErrors = {
|
|
5169
5171
|
/**
|
|
5170
5172
|
* Response for status 401
|
|
5171
5173
|
*/
|
|
@@ -5247,8 +5249,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveEr
|
|
|
5247
5249
|
}>;
|
|
5248
5250
|
};
|
|
5249
5251
|
};
|
|
5250
|
-
export type
|
|
5251
|
-
export type
|
|
5252
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveError = PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveErrors[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveErrors];
|
|
5253
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveResponses = {
|
|
5252
5254
|
/**
|
|
5253
5255
|
* Response for status 200
|
|
5254
5256
|
*/
|
|
@@ -5263,7 +5265,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
5263
5265
|
inputSchemaJson: unknown;
|
|
5264
5266
|
stepDefinitions: Array<{
|
|
5265
5267
|
id: string;
|
|
5266
|
-
|
|
5268
|
+
pipelineDefinitionId: string;
|
|
5267
5269
|
stepDefinitionId: string;
|
|
5268
5270
|
stepDefinitionVersion: number;
|
|
5269
5271
|
key: string;
|
|
@@ -5294,7 +5296,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
5294
5296
|
retryPolicyJson: unknown;
|
|
5295
5297
|
advancementPolicyDefinition: {
|
|
5296
5298
|
id: string;
|
|
5297
|
-
|
|
5299
|
+
pipelineStepDefinitionId: string;
|
|
5298
5300
|
rulesJson: {
|
|
5299
5301
|
rules: Array<{
|
|
5300
5302
|
conditions: {
|
|
@@ -5362,16 +5364,16 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
5362
5364
|
updatedAt: string;
|
|
5363
5365
|
};
|
|
5364
5366
|
};
|
|
5365
|
-
export type
|
|
5366
|
-
export type
|
|
5367
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveResponse = PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveResponses[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdArchiveResponses];
|
|
5368
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveData = {
|
|
5367
5369
|
body?: never;
|
|
5368
5370
|
path: {
|
|
5369
|
-
|
|
5371
|
+
pipelineDefinitionId: string;
|
|
5370
5372
|
};
|
|
5371
5373
|
query?: never;
|
|
5372
|
-
url: '/api/
|
|
5374
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}/unarchive';
|
|
5373
5375
|
};
|
|
5374
|
-
export type
|
|
5376
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveErrors = {
|
|
5375
5377
|
/**
|
|
5376
5378
|
* Response for status 401
|
|
5377
5379
|
*/
|
|
@@ -5453,8 +5455,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchive
|
|
|
5453
5455
|
}>;
|
|
5454
5456
|
};
|
|
5455
5457
|
};
|
|
5456
|
-
export type
|
|
5457
|
-
export type
|
|
5458
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveError = PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveErrors[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveErrors];
|
|
5459
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveResponses = {
|
|
5458
5460
|
/**
|
|
5459
5461
|
* Response for status 200
|
|
5460
5462
|
*/
|
|
@@ -5469,7 +5471,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchive
|
|
|
5469
5471
|
inputSchemaJson: unknown;
|
|
5470
5472
|
stepDefinitions: Array<{
|
|
5471
5473
|
id: string;
|
|
5472
|
-
|
|
5474
|
+
pipelineDefinitionId: string;
|
|
5473
5475
|
stepDefinitionId: string;
|
|
5474
5476
|
stepDefinitionVersion: number;
|
|
5475
5477
|
key: string;
|
|
@@ -5500,7 +5502,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchive
|
|
|
5500
5502
|
retryPolicyJson: unknown;
|
|
5501
5503
|
advancementPolicyDefinition: {
|
|
5502
5504
|
id: string;
|
|
5503
|
-
|
|
5505
|
+
pipelineStepDefinitionId: string;
|
|
5504
5506
|
rulesJson: {
|
|
5505
5507
|
rules: Array<{
|
|
5506
5508
|
conditions: {
|
|
@@ -5568,8 +5570,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchive
|
|
|
5568
5570
|
updatedAt: string;
|
|
5569
5571
|
};
|
|
5570
5572
|
};
|
|
5571
|
-
export type
|
|
5572
|
-
export type
|
|
5573
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveResponse = PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveResponses[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdUnarchiveResponses];
|
|
5574
|
+
export type PostApiPipelineDefinitionsByPipelineDefinitionIdStepsData = {
|
|
5573
5575
|
body: {
|
|
5574
5576
|
stepDefinitionId: string;
|
|
5575
5577
|
stepDefinitionVersion: number;
|
|
@@ -5663,12 +5665,12 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsDat
|
|
|
5663
5665
|
}>;
|
|
5664
5666
|
};
|
|
5665
5667
|
path: {
|
|
5666
|
-
|
|
5668
|
+
pipelineDefinitionId: string;
|
|
5667
5669
|
};
|
|
5668
5670
|
query?: never;
|
|
5669
|
-
url: '/api/
|
|
5671
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}/steps';
|
|
5670
5672
|
};
|
|
5671
|
-
export type
|
|
5673
|
+
export type PostApiPipelineDefinitionsByPipelineDefinitionIdStepsErrors = {
|
|
5672
5674
|
/**
|
|
5673
5675
|
* Response for status 401
|
|
5674
5676
|
*/
|
|
@@ -5750,8 +5752,8 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErr
|
|
|
5750
5752
|
}>;
|
|
5751
5753
|
};
|
|
5752
5754
|
};
|
|
5753
|
-
export type
|
|
5754
|
-
export type
|
|
5755
|
+
export type PostApiPipelineDefinitionsByPipelineDefinitionIdStepsError = PostApiPipelineDefinitionsByPipelineDefinitionIdStepsErrors[keyof PostApiPipelineDefinitionsByPipelineDefinitionIdStepsErrors];
|
|
5756
|
+
export type PostApiPipelineDefinitionsByPipelineDefinitionIdStepsResponses = {
|
|
5755
5757
|
/**
|
|
5756
5758
|
* Response for status 200
|
|
5757
5759
|
*/
|
|
@@ -5766,7 +5768,7 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
5766
5768
|
inputSchemaJson: unknown;
|
|
5767
5769
|
stepDefinitions: Array<{
|
|
5768
5770
|
id: string;
|
|
5769
|
-
|
|
5771
|
+
pipelineDefinitionId: string;
|
|
5770
5772
|
stepDefinitionId: string;
|
|
5771
5773
|
stepDefinitionVersion: number;
|
|
5772
5774
|
key: string;
|
|
@@ -5797,7 +5799,7 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
5797
5799
|
retryPolicyJson: unknown;
|
|
5798
5800
|
advancementPolicyDefinition: {
|
|
5799
5801
|
id: string;
|
|
5800
|
-
|
|
5802
|
+
pipelineStepDefinitionId: string;
|
|
5801
5803
|
rulesJson: {
|
|
5802
5804
|
rules: Array<{
|
|
5803
5805
|
conditions: {
|
|
@@ -5865,17 +5867,17 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
5865
5867
|
updatedAt: string;
|
|
5866
5868
|
};
|
|
5867
5869
|
};
|
|
5868
|
-
export type
|
|
5869
|
-
export type
|
|
5870
|
+
export type PostApiPipelineDefinitionsByPipelineDefinitionIdStepsResponse = PostApiPipelineDefinitionsByPipelineDefinitionIdStepsResponses[keyof PostApiPipelineDefinitionsByPipelineDefinitionIdStepsResponses];
|
|
5871
|
+
export type DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdData = {
|
|
5870
5872
|
body?: never;
|
|
5871
5873
|
path: {
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
+
pipelineDefinitionId: string;
|
|
5875
|
+
pipelineStepDefinitionId: string;
|
|
5874
5876
|
};
|
|
5875
5877
|
query?: never;
|
|
5876
|
-
url: '/api/
|
|
5878
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}/steps/{pipelineStepDefinitionId}';
|
|
5877
5879
|
};
|
|
5878
|
-
export type
|
|
5880
|
+
export type DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdErrors = {
|
|
5879
5881
|
/**
|
|
5880
5882
|
* Response for status 401
|
|
5881
5883
|
*/
|
|
@@ -5957,8 +5959,8 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
5957
5959
|
}>;
|
|
5958
5960
|
};
|
|
5959
5961
|
};
|
|
5960
|
-
export type
|
|
5961
|
-
export type
|
|
5962
|
+
export type DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdError = DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdErrors[keyof DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdErrors];
|
|
5963
|
+
export type DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponses = {
|
|
5962
5964
|
/**
|
|
5963
5965
|
* Response for status 200
|
|
5964
5966
|
*/
|
|
@@ -5973,7 +5975,7 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
5973
5975
|
inputSchemaJson: unknown;
|
|
5974
5976
|
stepDefinitions: Array<{
|
|
5975
5977
|
id: string;
|
|
5976
|
-
|
|
5978
|
+
pipelineDefinitionId: string;
|
|
5977
5979
|
stepDefinitionId: string;
|
|
5978
5980
|
stepDefinitionVersion: number;
|
|
5979
5981
|
key: string;
|
|
@@ -6004,7 +6006,7 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
6004
6006
|
retryPolicyJson: unknown;
|
|
6005
6007
|
advancementPolicyDefinition: {
|
|
6006
6008
|
id: string;
|
|
6007
|
-
|
|
6009
|
+
pipelineStepDefinitionId: string;
|
|
6008
6010
|
rulesJson: {
|
|
6009
6011
|
rules: Array<{
|
|
6010
6012
|
conditions: {
|
|
@@ -6072,8 +6074,8 @@ export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsB
|
|
|
6072
6074
|
updatedAt: string;
|
|
6073
6075
|
};
|
|
6074
6076
|
};
|
|
6075
|
-
export type
|
|
6076
|
-
export type
|
|
6077
|
+
export type DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponse = DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponses[keyof DeleteApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponses];
|
|
6078
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdData = {
|
|
6077
6079
|
body: {
|
|
6078
6080
|
stepDefinitionId: string;
|
|
6079
6081
|
stepDefinitionVersion: number;
|
|
@@ -6167,13 +6169,13 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6167
6169
|
}>;
|
|
6168
6170
|
};
|
|
6169
6171
|
path: {
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
+
pipelineDefinitionId: string;
|
|
6173
|
+
pipelineStepDefinitionId: string;
|
|
6172
6174
|
};
|
|
6173
6175
|
query?: never;
|
|
6174
|
-
url: '/api/
|
|
6176
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}/steps/{pipelineStepDefinitionId}';
|
|
6175
6177
|
};
|
|
6176
|
-
export type
|
|
6178
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdErrors = {
|
|
6177
6179
|
/**
|
|
6178
6180
|
* Response for status 401
|
|
6179
6181
|
*/
|
|
@@ -6255,8 +6257,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6255
6257
|
}>;
|
|
6256
6258
|
};
|
|
6257
6259
|
};
|
|
6258
|
-
export type
|
|
6259
|
-
export type
|
|
6260
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdError = PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdErrors[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdErrors];
|
|
6261
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponses = {
|
|
6260
6262
|
/**
|
|
6261
6263
|
* Response for status 200
|
|
6262
6264
|
*/
|
|
@@ -6271,7 +6273,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6271
6273
|
inputSchemaJson: unknown;
|
|
6272
6274
|
stepDefinitions: Array<{
|
|
6273
6275
|
id: string;
|
|
6274
|
-
|
|
6276
|
+
pipelineDefinitionId: string;
|
|
6275
6277
|
stepDefinitionId: string;
|
|
6276
6278
|
stepDefinitionVersion: number;
|
|
6277
6279
|
key: string;
|
|
@@ -6302,7 +6304,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6302
6304
|
retryPolicyJson: unknown;
|
|
6303
6305
|
advancementPolicyDefinition: {
|
|
6304
6306
|
id: string;
|
|
6305
|
-
|
|
6307
|
+
pipelineStepDefinitionId: string;
|
|
6306
6308
|
rulesJson: {
|
|
6307
6309
|
rules: Array<{
|
|
6308
6310
|
conditions: {
|
|
@@ -6370,8 +6372,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6370
6372
|
updatedAt: string;
|
|
6371
6373
|
};
|
|
6372
6374
|
};
|
|
6373
|
-
export type
|
|
6374
|
-
export type
|
|
6375
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponse = PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponses[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdResponses];
|
|
6376
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyData = {
|
|
6375
6377
|
body: {
|
|
6376
6378
|
rulesJson: {
|
|
6377
6379
|
rules: Array<{
|
|
@@ -6422,13 +6424,13 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6422
6424
|
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
6423
6425
|
};
|
|
6424
6426
|
path: {
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
+
pipelineDefinitionId: string;
|
|
6428
|
+
pipelineStepDefinitionId: string;
|
|
6427
6429
|
};
|
|
6428
6430
|
query?: never;
|
|
6429
|
-
url: '/api/
|
|
6431
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}/steps/{pipelineStepDefinitionId}/advancement-policy';
|
|
6430
6432
|
};
|
|
6431
|
-
export type
|
|
6433
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyErrors = {
|
|
6432
6434
|
/**
|
|
6433
6435
|
* Response for status 401
|
|
6434
6436
|
*/
|
|
@@ -6510,8 +6512,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6510
6512
|
}>;
|
|
6511
6513
|
};
|
|
6512
6514
|
};
|
|
6513
|
-
export type
|
|
6514
|
-
export type
|
|
6515
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyError = PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyErrors[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyErrors];
|
|
6516
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyResponses = {
|
|
6515
6517
|
/**
|
|
6516
6518
|
* Response for status 200
|
|
6517
6519
|
*/
|
|
@@ -6526,7 +6528,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6526
6528
|
inputSchemaJson: unknown;
|
|
6527
6529
|
stepDefinitions: Array<{
|
|
6528
6530
|
id: string;
|
|
6529
|
-
|
|
6531
|
+
pipelineDefinitionId: string;
|
|
6530
6532
|
stepDefinitionId: string;
|
|
6531
6533
|
stepDefinitionVersion: number;
|
|
6532
6534
|
key: string;
|
|
@@ -6557,7 +6559,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6557
6559
|
retryPolicyJson: unknown;
|
|
6558
6560
|
advancementPolicyDefinition: {
|
|
6559
6561
|
id: string;
|
|
6560
|
-
|
|
6562
|
+
pipelineStepDefinitionId: string;
|
|
6561
6563
|
rulesJson: {
|
|
6562
6564
|
rules: Array<{
|
|
6563
6565
|
conditions: {
|
|
@@ -6625,16 +6627,16 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
6625
6627
|
updatedAt: string;
|
|
6626
6628
|
};
|
|
6627
6629
|
};
|
|
6628
|
-
export type
|
|
6629
|
-
export type
|
|
6630
|
+
export type PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyResponse = PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyResponses[keyof PutApiPipelineDefinitionsByPipelineDefinitionIdStepsByPipelineStepDefinitionIdAdvancementPolicyResponses];
|
|
6631
|
+
export type GetApiPipelineDefinitionsByPipelineDefinitionIdData = {
|
|
6630
6632
|
body?: never;
|
|
6631
6633
|
path: {
|
|
6632
|
-
|
|
6634
|
+
pipelineDefinitionId: string;
|
|
6633
6635
|
};
|
|
6634
6636
|
query?: never;
|
|
6635
|
-
url: '/api/
|
|
6637
|
+
url: '/api/pipeline-definitions/{pipelineDefinitionId}';
|
|
6636
6638
|
};
|
|
6637
|
-
export type
|
|
6639
|
+
export type GetApiPipelineDefinitionsByPipelineDefinitionIdErrors = {
|
|
6638
6640
|
/**
|
|
6639
6641
|
* Response for status 400
|
|
6640
6642
|
*/
|
|
@@ -6732,8 +6734,8 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdErrors =
|
|
|
6732
6734
|
}>;
|
|
6733
6735
|
};
|
|
6734
6736
|
};
|
|
6735
|
-
export type
|
|
6736
|
-
export type
|
|
6737
|
+
export type GetApiPipelineDefinitionsByPipelineDefinitionIdError = GetApiPipelineDefinitionsByPipelineDefinitionIdErrors[keyof GetApiPipelineDefinitionsByPipelineDefinitionIdErrors];
|
|
6738
|
+
export type GetApiPipelineDefinitionsByPipelineDefinitionIdResponses = {
|
|
6737
6739
|
/**
|
|
6738
6740
|
* Response for status 200
|
|
6739
6741
|
*/
|
|
@@ -6748,7 +6750,7 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses
|
|
|
6748
6750
|
inputSchemaJson: unknown;
|
|
6749
6751
|
stepDefinitions: Array<{
|
|
6750
6752
|
id: string;
|
|
6751
|
-
|
|
6753
|
+
pipelineDefinitionId: string;
|
|
6752
6754
|
stepDefinitionId: string;
|
|
6753
6755
|
stepDefinitionVersion: number;
|
|
6754
6756
|
key: string;
|
|
@@ -6779,7 +6781,7 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses
|
|
|
6779
6781
|
retryPolicyJson: unknown;
|
|
6780
6782
|
advancementPolicyDefinition: {
|
|
6781
6783
|
id: string;
|
|
6782
|
-
|
|
6784
|
+
pipelineStepDefinitionId: string;
|
|
6783
6785
|
rulesJson: {
|
|
6784
6786
|
rules: Array<{
|
|
6785
6787
|
conditions: {
|
|
@@ -6847,16 +6849,16 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses
|
|
|
6847
6849
|
updatedAt: string;
|
|
6848
6850
|
};
|
|
6849
6851
|
};
|
|
6850
|
-
export type
|
|
6851
|
-
export type
|
|
6852
|
+
export type GetApiPipelineDefinitionsByPipelineDefinitionIdResponse = GetApiPipelineDefinitionsByPipelineDefinitionIdResponses[keyof GetApiPipelineDefinitionsByPipelineDefinitionIdResponses];
|
|
6853
|
+
export type GetApiProjectsByProjectIdPipelineDefinitionsData = {
|
|
6852
6854
|
body?: never;
|
|
6853
6855
|
path: {
|
|
6854
6856
|
projectId: string;
|
|
6855
6857
|
};
|
|
6856
6858
|
query?: never;
|
|
6857
|
-
url: '/api/projects/{projectId}/
|
|
6859
|
+
url: '/api/projects/{projectId}/pipeline-definitions';
|
|
6858
6860
|
};
|
|
6859
|
-
export type
|
|
6861
|
+
export type GetApiProjectsByProjectIdPipelineDefinitionsErrors = {
|
|
6860
6862
|
/**
|
|
6861
6863
|
* Response for status 401
|
|
6862
6864
|
*/
|
|
@@ -6922,8 +6924,8 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsErrors = {
|
|
|
6922
6924
|
}>;
|
|
6923
6925
|
};
|
|
6924
6926
|
};
|
|
6925
|
-
export type
|
|
6926
|
-
export type
|
|
6927
|
+
export type GetApiProjectsByProjectIdPipelineDefinitionsError = GetApiProjectsByProjectIdPipelineDefinitionsErrors[keyof GetApiProjectsByProjectIdPipelineDefinitionsErrors];
|
|
6928
|
+
export type GetApiProjectsByProjectIdPipelineDefinitionsResponses = {
|
|
6927
6929
|
/**
|
|
6928
6930
|
* Response for status 200
|
|
6929
6931
|
*/
|
|
@@ -6938,7 +6940,7 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses = {
|
|
|
6938
6940
|
inputSchemaJson: unknown;
|
|
6939
6941
|
stepDefinitions: Array<{
|
|
6940
6942
|
id: string;
|
|
6941
|
-
|
|
6943
|
+
pipelineDefinitionId: string;
|
|
6942
6944
|
stepDefinitionId: string;
|
|
6943
6945
|
stepDefinitionVersion: number;
|
|
6944
6946
|
key: string;
|
|
@@ -6969,7 +6971,7 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses = {
|
|
|
6969
6971
|
retryPolicyJson: unknown;
|
|
6970
6972
|
advancementPolicyDefinition: {
|
|
6971
6973
|
id: string;
|
|
6972
|
-
|
|
6974
|
+
pipelineStepDefinitionId: string;
|
|
6973
6975
|
rulesJson: {
|
|
6974
6976
|
rules: Array<{
|
|
6975
6977
|
conditions: {
|
|
@@ -7037,8 +7039,8 @@ export type GetApiProjectsByProjectIdLinearPipelineDefinitionsResponses = {
|
|
|
7037
7039
|
updatedAt: string;
|
|
7038
7040
|
}>;
|
|
7039
7041
|
};
|
|
7040
|
-
export type
|
|
7041
|
-
export type
|
|
7042
|
+
export type GetApiProjectsByProjectIdPipelineDefinitionsResponse = GetApiProjectsByProjectIdPipelineDefinitionsResponses[keyof GetApiProjectsByProjectIdPipelineDefinitionsResponses];
|
|
7043
|
+
export type GetApiPipelineExecutionsData = {
|
|
7042
7044
|
body?: never;
|
|
7043
7045
|
path?: never;
|
|
7044
7046
|
query: {
|
|
@@ -7050,9 +7052,9 @@ export type GetApiLinearPipelineExecutionsData = {
|
|
|
7050
7052
|
page?: number;
|
|
7051
7053
|
pageSize?: number;
|
|
7052
7054
|
};
|
|
7053
|
-
url: '/api/
|
|
7055
|
+
url: '/api/pipeline-executions';
|
|
7054
7056
|
};
|
|
7055
|
-
export type
|
|
7057
|
+
export type GetApiPipelineExecutionsErrors = {
|
|
7056
7058
|
/**
|
|
7057
7059
|
* Response for status 401
|
|
7058
7060
|
*/
|
|
@@ -7118,8 +7120,8 @@ export type GetApiLinearPipelineExecutionsErrors = {
|
|
|
7118
7120
|
}>;
|
|
7119
7121
|
};
|
|
7120
7122
|
};
|
|
7121
|
-
export type
|
|
7122
|
-
export type
|
|
7123
|
+
export type GetApiPipelineExecutionsError = GetApiPipelineExecutionsErrors[keyof GetApiPipelineExecutionsErrors];
|
|
7124
|
+
export type GetApiPipelineExecutionsResponses = {
|
|
7123
7125
|
/**
|
|
7124
7126
|
* Response for status 200
|
|
7125
7127
|
*/
|
|
@@ -7129,8 +7131,8 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
7129
7131
|
projectId: string;
|
|
7130
7132
|
workItemId: string;
|
|
7131
7133
|
workItemTitle: string;
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
+
pipelineDefinitionId: string;
|
|
7135
|
+
pipelineDefinitionVersionId: string;
|
|
7134
7136
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7135
7137
|
attemptCount: number;
|
|
7136
7138
|
latestAttempt: {
|
|
@@ -7151,19 +7153,19 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
7151
7153
|
};
|
|
7152
7154
|
};
|
|
7153
7155
|
};
|
|
7154
|
-
export type
|
|
7155
|
-
export type
|
|
7156
|
+
export type GetApiPipelineExecutionsResponse = GetApiPipelineExecutionsResponses[keyof GetApiPipelineExecutionsResponses];
|
|
7157
|
+
export type PostApiPipelineExecutionsData = {
|
|
7156
7158
|
body: {
|
|
7157
7159
|
projectId: string;
|
|
7158
7160
|
workItemId: string;
|
|
7159
|
-
|
|
7161
|
+
pipelineDefinitionId: string;
|
|
7160
7162
|
inputJson?: unknown;
|
|
7161
7163
|
};
|
|
7162
7164
|
path?: never;
|
|
7163
7165
|
query?: never;
|
|
7164
|
-
url: '/api/
|
|
7166
|
+
url: '/api/pipeline-executions';
|
|
7165
7167
|
};
|
|
7166
|
-
export type
|
|
7168
|
+
export type PostApiPipelineExecutionsErrors = {
|
|
7167
7169
|
/**
|
|
7168
7170
|
* Response for status 400
|
|
7169
7171
|
*/
|
|
@@ -7277,8 +7279,8 @@ export type PostApiLinearPipelineExecutionsErrors = {
|
|
|
7277
7279
|
}>;
|
|
7278
7280
|
};
|
|
7279
7281
|
};
|
|
7280
|
-
export type
|
|
7281
|
-
export type
|
|
7282
|
+
export type PostApiPipelineExecutionsError = PostApiPipelineExecutionsErrors[keyof PostApiPipelineExecutionsErrors];
|
|
7283
|
+
export type PostApiPipelineExecutionsResponses = {
|
|
7282
7284
|
/**
|
|
7283
7285
|
* Response for status 200
|
|
7284
7286
|
*/
|
|
@@ -7287,14 +7289,14 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7287
7289
|
projectId: string;
|
|
7288
7290
|
workItemId: string;
|
|
7289
7291
|
workItemTitle: string;
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
+
pipelineDefinitionId: string;
|
|
7293
|
+
pipelineDefinitionVersionId: string;
|
|
7292
7294
|
definitionStepCount: number;
|
|
7293
7295
|
inputJson: unknown;
|
|
7294
7296
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7295
7297
|
attempts: Array<{
|
|
7296
7298
|
id: string;
|
|
7297
|
-
|
|
7299
|
+
pipelineExecutionId: string;
|
|
7298
7300
|
attemptNumber: number;
|
|
7299
7301
|
currentStepKey: string | unknown;
|
|
7300
7302
|
startedAt: string | unknown;
|
|
@@ -7303,8 +7305,8 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7303
7305
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7304
7306
|
stepRuns: Array<{
|
|
7305
7307
|
id: string;
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
+
pipelineExecutionAttemptId: string;
|
|
7309
|
+
pipelineStepDefinitionId: string;
|
|
7308
7310
|
stepDefinitionId: string;
|
|
7309
7311
|
stepDefinitionVersion: number;
|
|
7310
7312
|
stepKey: string;
|
|
@@ -7321,12 +7323,15 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7321
7323
|
outputJson: unknown;
|
|
7322
7324
|
evaluation: {
|
|
7323
7325
|
id: string;
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
+
pipelineExecutionAttemptId: string;
|
|
7327
|
+
pipelineStepRunId: string;
|
|
7326
7328
|
stepExecutionId: string;
|
|
7327
7329
|
stepExecutionResultId: string;
|
|
7328
7330
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
7329
|
-
|
|
7331
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
7332
|
+
policySnapshotJson: {
|
|
7333
|
+
[key: string]: unknown;
|
|
7334
|
+
} | unknown;
|
|
7330
7335
|
factsSnapshotJson: {
|
|
7331
7336
|
[key: string]: unknown;
|
|
7332
7337
|
};
|
|
@@ -7343,7 +7348,7 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7343
7348
|
}>;
|
|
7344
7349
|
events: Array<{
|
|
7345
7350
|
id: string;
|
|
7346
|
-
|
|
7351
|
+
pipelineExecutionAttemptId: string;
|
|
7347
7352
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
7348
7353
|
payloadJson: {
|
|
7349
7354
|
[key: string]: unknown;
|
|
@@ -7357,16 +7362,16 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
7357
7362
|
updatedAt: string;
|
|
7358
7363
|
};
|
|
7359
7364
|
};
|
|
7360
|
-
export type
|
|
7361
|
-
export type
|
|
7365
|
+
export type PostApiPipelineExecutionsResponse = PostApiPipelineExecutionsResponses[keyof PostApiPipelineExecutionsResponses];
|
|
7366
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStartData = {
|
|
7362
7367
|
body?: never;
|
|
7363
7368
|
path: {
|
|
7364
|
-
|
|
7369
|
+
pipelineExecutionId: string;
|
|
7365
7370
|
};
|
|
7366
7371
|
query?: never;
|
|
7367
|
-
url: '/api/
|
|
7372
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/start';
|
|
7368
7373
|
};
|
|
7369
|
-
export type
|
|
7374
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStartErrors = {
|
|
7370
7375
|
/**
|
|
7371
7376
|
* Response for status 401
|
|
7372
7377
|
*/
|
|
@@ -7448,8 +7453,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartErrors
|
|
|
7448
7453
|
}>;
|
|
7449
7454
|
};
|
|
7450
7455
|
};
|
|
7451
|
-
export type
|
|
7452
|
-
export type
|
|
7456
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStartError = PutApiPipelineExecutionsByPipelineExecutionIdStartErrors[keyof PutApiPipelineExecutionsByPipelineExecutionIdStartErrors];
|
|
7457
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStartResponses = {
|
|
7453
7458
|
/**
|
|
7454
7459
|
* Response for status 200
|
|
7455
7460
|
*/
|
|
@@ -7458,14 +7463,14 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7458
7463
|
projectId: string;
|
|
7459
7464
|
workItemId: string;
|
|
7460
7465
|
workItemTitle: string;
|
|
7461
|
-
|
|
7462
|
-
|
|
7466
|
+
pipelineDefinitionId: string;
|
|
7467
|
+
pipelineDefinitionVersionId: string;
|
|
7463
7468
|
definitionStepCount: number;
|
|
7464
7469
|
inputJson: unknown;
|
|
7465
7470
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7466
7471
|
attempts: Array<{
|
|
7467
7472
|
id: string;
|
|
7468
|
-
|
|
7473
|
+
pipelineExecutionId: string;
|
|
7469
7474
|
attemptNumber: number;
|
|
7470
7475
|
currentStepKey: string | unknown;
|
|
7471
7476
|
startedAt: string | unknown;
|
|
@@ -7474,8 +7479,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7474
7479
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7475
7480
|
stepRuns: Array<{
|
|
7476
7481
|
id: string;
|
|
7477
|
-
|
|
7478
|
-
|
|
7482
|
+
pipelineExecutionAttemptId: string;
|
|
7483
|
+
pipelineStepDefinitionId: string;
|
|
7479
7484
|
stepDefinitionId: string;
|
|
7480
7485
|
stepDefinitionVersion: number;
|
|
7481
7486
|
stepKey: string;
|
|
@@ -7492,12 +7497,15 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7492
7497
|
outputJson: unknown;
|
|
7493
7498
|
evaluation: {
|
|
7494
7499
|
id: string;
|
|
7495
|
-
|
|
7496
|
-
|
|
7500
|
+
pipelineExecutionAttemptId: string;
|
|
7501
|
+
pipelineStepRunId: string;
|
|
7497
7502
|
stepExecutionId: string;
|
|
7498
7503
|
stepExecutionResultId: string;
|
|
7499
7504
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
7500
|
-
|
|
7505
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
7506
|
+
policySnapshotJson: {
|
|
7507
|
+
[key: string]: unknown;
|
|
7508
|
+
} | unknown;
|
|
7501
7509
|
factsSnapshotJson: {
|
|
7502
7510
|
[key: string]: unknown;
|
|
7503
7511
|
};
|
|
@@ -7514,7 +7522,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7514
7522
|
}>;
|
|
7515
7523
|
events: Array<{
|
|
7516
7524
|
id: string;
|
|
7517
|
-
|
|
7525
|
+
pipelineExecutionAttemptId: string;
|
|
7518
7526
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
7519
7527
|
payloadJson: {
|
|
7520
7528
|
[key: string]: unknown;
|
|
@@ -7528,16 +7536,16 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
7528
7536
|
updatedAt: string;
|
|
7529
7537
|
};
|
|
7530
7538
|
};
|
|
7531
|
-
export type
|
|
7532
|
-
export type
|
|
7539
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStartResponse = PutApiPipelineExecutionsByPipelineExecutionIdStartResponses[keyof PutApiPipelineExecutionsByPipelineExecutionIdStartResponses];
|
|
7540
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstData = {
|
|
7533
7541
|
body?: never;
|
|
7534
7542
|
path: {
|
|
7535
|
-
|
|
7543
|
+
pipelineExecutionId: string;
|
|
7536
7544
|
};
|
|
7537
7545
|
query?: never;
|
|
7538
|
-
url: '/api/
|
|
7546
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/step-runs/first';
|
|
7539
7547
|
};
|
|
7540
|
-
export type
|
|
7548
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstErrors = {
|
|
7541
7549
|
/**
|
|
7542
7550
|
* Response for status 401
|
|
7543
7551
|
*/
|
|
@@ -7619,8 +7627,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7619
7627
|
}>;
|
|
7620
7628
|
};
|
|
7621
7629
|
};
|
|
7622
|
-
export type
|
|
7623
|
-
export type
|
|
7630
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstError = PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstErrors[keyof PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstErrors];
|
|
7631
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstResponses = {
|
|
7624
7632
|
/**
|
|
7625
7633
|
* Response for status 200
|
|
7626
7634
|
*/
|
|
@@ -7629,14 +7637,14 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7629
7637
|
projectId: string;
|
|
7630
7638
|
workItemId: string;
|
|
7631
7639
|
workItemTitle: string;
|
|
7632
|
-
|
|
7633
|
-
|
|
7640
|
+
pipelineDefinitionId: string;
|
|
7641
|
+
pipelineDefinitionVersionId: string;
|
|
7634
7642
|
definitionStepCount: number;
|
|
7635
7643
|
inputJson: unknown;
|
|
7636
7644
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7637
7645
|
attempts: Array<{
|
|
7638
7646
|
id: string;
|
|
7639
|
-
|
|
7647
|
+
pipelineExecutionId: string;
|
|
7640
7648
|
attemptNumber: number;
|
|
7641
7649
|
currentStepKey: string | unknown;
|
|
7642
7650
|
startedAt: string | unknown;
|
|
@@ -7645,8 +7653,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7645
7653
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7646
7654
|
stepRuns: Array<{
|
|
7647
7655
|
id: string;
|
|
7648
|
-
|
|
7649
|
-
|
|
7656
|
+
pipelineExecutionAttemptId: string;
|
|
7657
|
+
pipelineStepDefinitionId: string;
|
|
7650
7658
|
stepDefinitionId: string;
|
|
7651
7659
|
stepDefinitionVersion: number;
|
|
7652
7660
|
stepKey: string;
|
|
@@ -7663,12 +7671,15 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7663
7671
|
outputJson: unknown;
|
|
7664
7672
|
evaluation: {
|
|
7665
7673
|
id: string;
|
|
7666
|
-
|
|
7667
|
-
|
|
7674
|
+
pipelineExecutionAttemptId: string;
|
|
7675
|
+
pipelineStepRunId: string;
|
|
7668
7676
|
stepExecutionId: string;
|
|
7669
7677
|
stepExecutionResultId: string;
|
|
7670
7678
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
7671
|
-
|
|
7679
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
7680
|
+
policySnapshotJson: {
|
|
7681
|
+
[key: string]: unknown;
|
|
7682
|
+
} | unknown;
|
|
7672
7683
|
factsSnapshotJson: {
|
|
7673
7684
|
[key: string]: unknown;
|
|
7674
7685
|
};
|
|
@@ -7685,7 +7696,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7685
7696
|
}>;
|
|
7686
7697
|
events: Array<{
|
|
7687
7698
|
id: string;
|
|
7688
|
-
|
|
7699
|
+
pipelineExecutionAttemptId: string;
|
|
7689
7700
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
7690
7701
|
payloadJson: {
|
|
7691
7702
|
[key: string]: unknown;
|
|
@@ -7699,17 +7710,17 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
7699
7710
|
updatedAt: string;
|
|
7700
7711
|
};
|
|
7701
7712
|
};
|
|
7702
|
-
export type
|
|
7703
|
-
export type
|
|
7713
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstResponse = PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstResponses[keyof PostApiPipelineExecutionsByPipelineExecutionIdStepRunsFirstResponses];
|
|
7714
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningData = {
|
|
7704
7715
|
body?: never;
|
|
7705
7716
|
path: {
|
|
7706
|
-
|
|
7707
|
-
|
|
7717
|
+
pipelineExecutionId: string;
|
|
7718
|
+
pipelineStepRunId: string;
|
|
7708
7719
|
};
|
|
7709
7720
|
query?: never;
|
|
7710
|
-
url: '/api/
|
|
7721
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/step-runs/{pipelineStepRunId}/running';
|
|
7711
7722
|
};
|
|
7712
|
-
export type
|
|
7723
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningErrors = {
|
|
7713
7724
|
/**
|
|
7714
7725
|
* Response for status 401
|
|
7715
7726
|
*/
|
|
@@ -7791,8 +7802,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7791
7802
|
}>;
|
|
7792
7803
|
};
|
|
7793
7804
|
};
|
|
7794
|
-
export type
|
|
7795
|
-
export type
|
|
7805
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningError = PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningErrors[keyof PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningErrors];
|
|
7806
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningResponses = {
|
|
7796
7807
|
/**
|
|
7797
7808
|
* Response for status 200
|
|
7798
7809
|
*/
|
|
@@ -7801,14 +7812,14 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7801
7812
|
projectId: string;
|
|
7802
7813
|
workItemId: string;
|
|
7803
7814
|
workItemTitle: string;
|
|
7804
|
-
|
|
7805
|
-
|
|
7815
|
+
pipelineDefinitionId: string;
|
|
7816
|
+
pipelineDefinitionVersionId: string;
|
|
7806
7817
|
definitionStepCount: number;
|
|
7807
7818
|
inputJson: unknown;
|
|
7808
7819
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7809
7820
|
attempts: Array<{
|
|
7810
7821
|
id: string;
|
|
7811
|
-
|
|
7822
|
+
pipelineExecutionId: string;
|
|
7812
7823
|
attemptNumber: number;
|
|
7813
7824
|
currentStepKey: string | unknown;
|
|
7814
7825
|
startedAt: string | unknown;
|
|
@@ -7817,8 +7828,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7817
7828
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7818
7829
|
stepRuns: Array<{
|
|
7819
7830
|
id: string;
|
|
7820
|
-
|
|
7821
|
-
|
|
7831
|
+
pipelineExecutionAttemptId: string;
|
|
7832
|
+
pipelineStepDefinitionId: string;
|
|
7822
7833
|
stepDefinitionId: string;
|
|
7823
7834
|
stepDefinitionVersion: number;
|
|
7824
7835
|
stepKey: string;
|
|
@@ -7835,12 +7846,15 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7835
7846
|
outputJson: unknown;
|
|
7836
7847
|
evaluation: {
|
|
7837
7848
|
id: string;
|
|
7838
|
-
|
|
7839
|
-
|
|
7849
|
+
pipelineExecutionAttemptId: string;
|
|
7850
|
+
pipelineStepRunId: string;
|
|
7840
7851
|
stepExecutionId: string;
|
|
7841
7852
|
stepExecutionResultId: string;
|
|
7842
7853
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
7843
|
-
|
|
7854
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
7855
|
+
policySnapshotJson: {
|
|
7856
|
+
[key: string]: unknown;
|
|
7857
|
+
} | unknown;
|
|
7844
7858
|
factsSnapshotJson: {
|
|
7845
7859
|
[key: string]: unknown;
|
|
7846
7860
|
};
|
|
@@ -7857,7 +7871,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7857
7871
|
}>;
|
|
7858
7872
|
events: Array<{
|
|
7859
7873
|
id: string;
|
|
7860
|
-
|
|
7874
|
+
pipelineExecutionAttemptId: string;
|
|
7861
7875
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
7862
7876
|
payloadJson: {
|
|
7863
7877
|
[key: string]: unknown;
|
|
@@ -7871,8 +7885,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
7871
7885
|
updatedAt: string;
|
|
7872
7886
|
};
|
|
7873
7887
|
};
|
|
7874
|
-
export type
|
|
7875
|
-
export type
|
|
7888
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningResponse = PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningResponses[keyof PutApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdRunningResponses];
|
|
7889
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsData = {
|
|
7876
7890
|
body: {
|
|
7877
7891
|
status: 'succeeded' | 'failed';
|
|
7878
7892
|
resultJson: unknown;
|
|
@@ -7881,13 +7895,13 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7881
7895
|
createdFromBranch?: string | unknown;
|
|
7882
7896
|
};
|
|
7883
7897
|
path: {
|
|
7884
|
-
|
|
7885
|
-
|
|
7898
|
+
pipelineExecutionId: string;
|
|
7899
|
+
pipelineStepRunId: string;
|
|
7886
7900
|
};
|
|
7887
7901
|
query?: never;
|
|
7888
|
-
url: '/api/
|
|
7902
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/step-runs/{pipelineStepRunId}/results';
|
|
7889
7903
|
};
|
|
7890
|
-
export type
|
|
7904
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsErrors = {
|
|
7891
7905
|
/**
|
|
7892
7906
|
* Response for status 401
|
|
7893
7907
|
*/
|
|
@@ -7969,8 +7983,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7969
7983
|
}>;
|
|
7970
7984
|
};
|
|
7971
7985
|
};
|
|
7972
|
-
export type
|
|
7973
|
-
export type
|
|
7986
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsError = PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsErrors[keyof PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsErrors];
|
|
7987
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsResponses = {
|
|
7974
7988
|
/**
|
|
7975
7989
|
* Response for status 200
|
|
7976
7990
|
*/
|
|
@@ -7979,14 +7993,14 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7979
7993
|
projectId: string;
|
|
7980
7994
|
workItemId: string;
|
|
7981
7995
|
workItemTitle: string;
|
|
7982
|
-
|
|
7983
|
-
|
|
7996
|
+
pipelineDefinitionId: string;
|
|
7997
|
+
pipelineDefinitionVersionId: string;
|
|
7984
7998
|
definitionStepCount: number;
|
|
7985
7999
|
inputJson: unknown;
|
|
7986
8000
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7987
8001
|
attempts: Array<{
|
|
7988
8002
|
id: string;
|
|
7989
|
-
|
|
8003
|
+
pipelineExecutionId: string;
|
|
7990
8004
|
attemptNumber: number;
|
|
7991
8005
|
currentStepKey: string | unknown;
|
|
7992
8006
|
startedAt: string | unknown;
|
|
@@ -7995,8 +8009,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
7995
8009
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
7996
8010
|
stepRuns: Array<{
|
|
7997
8011
|
id: string;
|
|
7998
|
-
|
|
7999
|
-
|
|
8012
|
+
pipelineExecutionAttemptId: string;
|
|
8013
|
+
pipelineStepDefinitionId: string;
|
|
8000
8014
|
stepDefinitionId: string;
|
|
8001
8015
|
stepDefinitionVersion: number;
|
|
8002
8016
|
stepKey: string;
|
|
@@ -8013,12 +8027,15 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8013
8027
|
outputJson: unknown;
|
|
8014
8028
|
evaluation: {
|
|
8015
8029
|
id: string;
|
|
8016
|
-
|
|
8017
|
-
|
|
8030
|
+
pipelineExecutionAttemptId: string;
|
|
8031
|
+
pipelineStepRunId: string;
|
|
8018
8032
|
stepExecutionId: string;
|
|
8019
8033
|
stepExecutionResultId: string;
|
|
8020
8034
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8021
|
-
|
|
8035
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
8036
|
+
policySnapshotJson: {
|
|
8037
|
+
[key: string]: unknown;
|
|
8038
|
+
} | unknown;
|
|
8022
8039
|
factsSnapshotJson: {
|
|
8023
8040
|
[key: string]: unknown;
|
|
8024
8041
|
};
|
|
@@ -8035,7 +8052,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8035
8052
|
}>;
|
|
8036
8053
|
events: Array<{
|
|
8037
8054
|
id: string;
|
|
8038
|
-
|
|
8055
|
+
pipelineExecutionAttemptId: string;
|
|
8039
8056
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
8040
8057
|
payloadJson: {
|
|
8041
8058
|
[key: string]: unknown;
|
|
@@ -8049,8 +8066,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8049
8066
|
updatedAt: string;
|
|
8050
8067
|
};
|
|
8051
8068
|
};
|
|
8052
|
-
export type
|
|
8053
|
-
export type
|
|
8069
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsResponse = PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsResponses[keyof PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdResultsResponses];
|
|
8070
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptData = {
|
|
8054
8071
|
body: {
|
|
8055
8072
|
projectId: string;
|
|
8056
8073
|
stepExecutionId: string;
|
|
@@ -8059,13 +8076,13 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8059
8076
|
acceptanceReason: string;
|
|
8060
8077
|
};
|
|
8061
8078
|
path: {
|
|
8062
|
-
|
|
8063
|
-
|
|
8079
|
+
pipelineExecutionId: string;
|
|
8080
|
+
pipelineStepRunId: string;
|
|
8064
8081
|
};
|
|
8065
8082
|
query?: never;
|
|
8066
|
-
url: '/api/
|
|
8083
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/step-runs/{pipelineStepRunId}/accept';
|
|
8067
8084
|
};
|
|
8068
|
-
export type
|
|
8085
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptErrors = {
|
|
8069
8086
|
/**
|
|
8070
8087
|
* Response for status 401
|
|
8071
8088
|
*/
|
|
@@ -8147,8 +8164,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8147
8164
|
}>;
|
|
8148
8165
|
};
|
|
8149
8166
|
};
|
|
8150
|
-
export type
|
|
8151
|
-
export type
|
|
8167
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptError = PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptErrors[keyof PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptErrors];
|
|
8168
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptResponses = {
|
|
8152
8169
|
/**
|
|
8153
8170
|
* Response for status 200
|
|
8154
8171
|
*/
|
|
@@ -8157,14 +8174,14 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8157
8174
|
projectId: string;
|
|
8158
8175
|
workItemId: string;
|
|
8159
8176
|
workItemTitle: string;
|
|
8160
|
-
|
|
8161
|
-
|
|
8177
|
+
pipelineDefinitionId: string;
|
|
8178
|
+
pipelineDefinitionVersionId: string;
|
|
8162
8179
|
definitionStepCount: number;
|
|
8163
8180
|
inputJson: unknown;
|
|
8164
8181
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8165
8182
|
attempts: Array<{
|
|
8166
8183
|
id: string;
|
|
8167
|
-
|
|
8184
|
+
pipelineExecutionId: string;
|
|
8168
8185
|
attemptNumber: number;
|
|
8169
8186
|
currentStepKey: string | unknown;
|
|
8170
8187
|
startedAt: string | unknown;
|
|
@@ -8173,8 +8190,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8173
8190
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8174
8191
|
stepRuns: Array<{
|
|
8175
8192
|
id: string;
|
|
8176
|
-
|
|
8177
|
-
|
|
8193
|
+
pipelineExecutionAttemptId: string;
|
|
8194
|
+
pipelineStepDefinitionId: string;
|
|
8178
8195
|
stepDefinitionId: string;
|
|
8179
8196
|
stepDefinitionVersion: number;
|
|
8180
8197
|
stepKey: string;
|
|
@@ -8191,12 +8208,15 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8191
8208
|
outputJson: unknown;
|
|
8192
8209
|
evaluation: {
|
|
8193
8210
|
id: string;
|
|
8194
|
-
|
|
8195
|
-
|
|
8211
|
+
pipelineExecutionAttemptId: string;
|
|
8212
|
+
pipelineStepRunId: string;
|
|
8196
8213
|
stepExecutionId: string;
|
|
8197
8214
|
stepExecutionResultId: string;
|
|
8198
8215
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8199
|
-
|
|
8216
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
8217
|
+
policySnapshotJson: {
|
|
8218
|
+
[key: string]: unknown;
|
|
8219
|
+
} | unknown;
|
|
8200
8220
|
factsSnapshotJson: {
|
|
8201
8221
|
[key: string]: unknown;
|
|
8202
8222
|
};
|
|
@@ -8213,7 +8233,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8213
8233
|
}>;
|
|
8214
8234
|
events: Array<{
|
|
8215
8235
|
id: string;
|
|
8216
|
-
|
|
8236
|
+
pipelineExecutionAttemptId: string;
|
|
8217
8237
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
8218
8238
|
payloadJson: {
|
|
8219
8239
|
[key: string]: unknown;
|
|
@@ -8227,19 +8247,20 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
8227
8247
|
updatedAt: string;
|
|
8228
8248
|
};
|
|
8229
8249
|
};
|
|
8230
|
-
export type
|
|
8231
|
-
export type
|
|
8250
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptResponse = PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptResponses[keyof PostApiPipelineExecutionsByPipelineExecutionIdStepRunsByPipelineStepRunIdAcceptResponses];
|
|
8251
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptData = {
|
|
8232
8252
|
body: {
|
|
8233
|
-
|
|
8234
|
-
|
|
8253
|
+
acceptedByUserId: string;
|
|
8254
|
+
acceptanceReason: string;
|
|
8235
8255
|
};
|
|
8236
8256
|
path: {
|
|
8237
|
-
|
|
8257
|
+
pipelineExecutionId: string;
|
|
8258
|
+
originNodeDefinitionId: string;
|
|
8238
8259
|
};
|
|
8239
8260
|
query?: never;
|
|
8240
|
-
url: '/api/
|
|
8261
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/cohorts/{originNodeDefinitionId}/accept';
|
|
8241
8262
|
};
|
|
8242
|
-
export type
|
|
8263
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptErrors = {
|
|
8243
8264
|
/**
|
|
8244
8265
|
* Response for status 401
|
|
8245
8266
|
*/
|
|
@@ -8321,8 +8342,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunError
|
|
|
8321
8342
|
}>;
|
|
8322
8343
|
};
|
|
8323
8344
|
};
|
|
8324
|
-
export type
|
|
8325
|
-
export type
|
|
8345
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptError = PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptErrors[keyof PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptErrors];
|
|
8346
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptResponses = {
|
|
8326
8347
|
/**
|
|
8327
8348
|
* Response for status 200
|
|
8328
8349
|
*/
|
|
@@ -8331,14 +8352,14 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8331
8352
|
projectId: string;
|
|
8332
8353
|
workItemId: string;
|
|
8333
8354
|
workItemTitle: string;
|
|
8334
|
-
|
|
8335
|
-
|
|
8355
|
+
pipelineDefinitionId: string;
|
|
8356
|
+
pipelineDefinitionVersionId: string;
|
|
8336
8357
|
definitionStepCount: number;
|
|
8337
8358
|
inputJson: unknown;
|
|
8338
8359
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8339
8360
|
attempts: Array<{
|
|
8340
8361
|
id: string;
|
|
8341
|
-
|
|
8362
|
+
pipelineExecutionId: string;
|
|
8342
8363
|
attemptNumber: number;
|
|
8343
8364
|
currentStepKey: string | unknown;
|
|
8344
8365
|
startedAt: string | unknown;
|
|
@@ -8347,8 +8368,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8347
8368
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8348
8369
|
stepRuns: Array<{
|
|
8349
8370
|
id: string;
|
|
8350
|
-
|
|
8351
|
-
|
|
8371
|
+
pipelineExecutionAttemptId: string;
|
|
8372
|
+
pipelineStepDefinitionId: string;
|
|
8352
8373
|
stepDefinitionId: string;
|
|
8353
8374
|
stepDefinitionVersion: number;
|
|
8354
8375
|
stepKey: string;
|
|
@@ -8365,12 +8386,15 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8365
8386
|
outputJson: unknown;
|
|
8366
8387
|
evaluation: {
|
|
8367
8388
|
id: string;
|
|
8368
|
-
|
|
8369
|
-
|
|
8389
|
+
pipelineExecutionAttemptId: string;
|
|
8390
|
+
pipelineStepRunId: string;
|
|
8370
8391
|
stepExecutionId: string;
|
|
8371
8392
|
stepExecutionResultId: string;
|
|
8372
8393
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8373
|
-
|
|
8394
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
8395
|
+
policySnapshotJson: {
|
|
8396
|
+
[key: string]: unknown;
|
|
8397
|
+
} | unknown;
|
|
8374
8398
|
factsSnapshotJson: {
|
|
8375
8399
|
[key: string]: unknown;
|
|
8376
8400
|
};
|
|
@@ -8387,7 +8411,7 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8387
8411
|
}>;
|
|
8388
8412
|
events: Array<{
|
|
8389
8413
|
id: string;
|
|
8390
|
-
|
|
8414
|
+
pipelineExecutionAttemptId: string;
|
|
8391
8415
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
8392
8416
|
payloadJson: {
|
|
8393
8417
|
[key: string]: unknown;
|
|
@@ -8401,16 +8425,19 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
8401
8425
|
updatedAt: string;
|
|
8402
8426
|
};
|
|
8403
8427
|
};
|
|
8404
|
-
export type
|
|
8405
|
-
export type
|
|
8406
|
-
body
|
|
8428
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptResponse = PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptResponses[keyof PostApiPipelineExecutionsByPipelineExecutionIdCohortsByOriginNodeDefinitionIdAcceptResponses];
|
|
8429
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdRerunData = {
|
|
8430
|
+
body: {
|
|
8431
|
+
mode?: 'all' | 'failed';
|
|
8432
|
+
fromStepKey?: string;
|
|
8433
|
+
};
|
|
8407
8434
|
path: {
|
|
8408
|
-
|
|
8435
|
+
pipelineExecutionId: string;
|
|
8409
8436
|
};
|
|
8410
8437
|
query?: never;
|
|
8411
|
-
url: '/api/
|
|
8438
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/rerun';
|
|
8412
8439
|
};
|
|
8413
|
-
export type
|
|
8440
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdRerunErrors = {
|
|
8414
8441
|
/**
|
|
8415
8442
|
* Response for status 401
|
|
8416
8443
|
*/
|
|
@@ -8492,8 +8519,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelError
|
|
|
8492
8519
|
}>;
|
|
8493
8520
|
};
|
|
8494
8521
|
};
|
|
8495
|
-
export type
|
|
8496
|
-
export type
|
|
8522
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdRerunError = PostApiPipelineExecutionsByPipelineExecutionIdRerunErrors[keyof PostApiPipelineExecutionsByPipelineExecutionIdRerunErrors];
|
|
8523
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdRerunResponses = {
|
|
8497
8524
|
/**
|
|
8498
8525
|
* Response for status 200
|
|
8499
8526
|
*/
|
|
@@ -8502,14 +8529,14 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8502
8529
|
projectId: string;
|
|
8503
8530
|
workItemId: string;
|
|
8504
8531
|
workItemTitle: string;
|
|
8505
|
-
|
|
8506
|
-
|
|
8532
|
+
pipelineDefinitionId: string;
|
|
8533
|
+
pipelineDefinitionVersionId: string;
|
|
8507
8534
|
definitionStepCount: number;
|
|
8508
8535
|
inputJson: unknown;
|
|
8509
8536
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8510
8537
|
attempts: Array<{
|
|
8511
8538
|
id: string;
|
|
8512
|
-
|
|
8539
|
+
pipelineExecutionId: string;
|
|
8513
8540
|
attemptNumber: number;
|
|
8514
8541
|
currentStepKey: string | unknown;
|
|
8515
8542
|
startedAt: string | unknown;
|
|
@@ -8518,8 +8545,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8518
8545
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8519
8546
|
stepRuns: Array<{
|
|
8520
8547
|
id: string;
|
|
8521
|
-
|
|
8522
|
-
|
|
8548
|
+
pipelineExecutionAttemptId: string;
|
|
8549
|
+
pipelineStepDefinitionId: string;
|
|
8523
8550
|
stepDefinitionId: string;
|
|
8524
8551
|
stepDefinitionVersion: number;
|
|
8525
8552
|
stepKey: string;
|
|
@@ -8536,12 +8563,15 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8536
8563
|
outputJson: unknown;
|
|
8537
8564
|
evaluation: {
|
|
8538
8565
|
id: string;
|
|
8539
|
-
|
|
8540
|
-
|
|
8566
|
+
pipelineExecutionAttemptId: string;
|
|
8567
|
+
pipelineStepRunId: string;
|
|
8541
8568
|
stepExecutionId: string;
|
|
8542
8569
|
stepExecutionResultId: string;
|
|
8543
8570
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8544
|
-
|
|
8571
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
8572
|
+
policySnapshotJson: {
|
|
8573
|
+
[key: string]: unknown;
|
|
8574
|
+
} | unknown;
|
|
8545
8575
|
factsSnapshotJson: {
|
|
8546
8576
|
[key: string]: unknown;
|
|
8547
8577
|
};
|
|
@@ -8558,7 +8588,7 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8558
8588
|
}>;
|
|
8559
8589
|
events: Array<{
|
|
8560
8590
|
id: string;
|
|
8561
|
-
|
|
8591
|
+
pipelineExecutionAttemptId: string;
|
|
8562
8592
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
8563
8593
|
payloadJson: {
|
|
8564
8594
|
[key: string]: unknown;
|
|
@@ -8572,16 +8602,16 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelRespo
|
|
|
8572
8602
|
updatedAt: string;
|
|
8573
8603
|
};
|
|
8574
8604
|
};
|
|
8575
|
-
export type
|
|
8576
|
-
export type
|
|
8605
|
+
export type PostApiPipelineExecutionsByPipelineExecutionIdRerunResponse = PostApiPipelineExecutionsByPipelineExecutionIdRerunResponses[keyof PostApiPipelineExecutionsByPipelineExecutionIdRerunResponses];
|
|
8606
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdCancelData = {
|
|
8577
8607
|
body?: never;
|
|
8578
8608
|
path: {
|
|
8579
|
-
|
|
8609
|
+
pipelineExecutionId: string;
|
|
8580
8610
|
};
|
|
8581
8611
|
query?: never;
|
|
8582
|
-
url: '/api/
|
|
8612
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/cancel';
|
|
8583
8613
|
};
|
|
8584
|
-
export type
|
|
8614
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdCancelErrors = {
|
|
8585
8615
|
/**
|
|
8586
8616
|
* Response for status 401
|
|
8587
8617
|
*/
|
|
@@ -8663,8 +8693,8 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdErrors = {
|
|
|
8663
8693
|
}>;
|
|
8664
8694
|
};
|
|
8665
8695
|
};
|
|
8666
|
-
export type
|
|
8667
|
-
export type
|
|
8696
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdCancelError = PutApiPipelineExecutionsByPipelineExecutionIdCancelErrors[keyof PutApiPipelineExecutionsByPipelineExecutionIdCancelErrors];
|
|
8697
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdCancelResponses = {
|
|
8668
8698
|
/**
|
|
8669
8699
|
* Response for status 200
|
|
8670
8700
|
*/
|
|
@@ -8673,14 +8703,14 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8673
8703
|
projectId: string;
|
|
8674
8704
|
workItemId: string;
|
|
8675
8705
|
workItemTitle: string;
|
|
8676
|
-
|
|
8677
|
-
|
|
8706
|
+
pipelineDefinitionId: string;
|
|
8707
|
+
pipelineDefinitionVersionId: string;
|
|
8678
8708
|
definitionStepCount: number;
|
|
8679
8709
|
inputJson: unknown;
|
|
8680
8710
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8681
8711
|
attempts: Array<{
|
|
8682
8712
|
id: string;
|
|
8683
|
-
|
|
8713
|
+
pipelineExecutionId: string;
|
|
8684
8714
|
attemptNumber: number;
|
|
8685
8715
|
currentStepKey: string | unknown;
|
|
8686
8716
|
startedAt: string | unknown;
|
|
@@ -8689,8 +8719,8 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8689
8719
|
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8690
8720
|
stepRuns: Array<{
|
|
8691
8721
|
id: string;
|
|
8692
|
-
|
|
8693
|
-
|
|
8722
|
+
pipelineExecutionAttemptId: string;
|
|
8723
|
+
pipelineStepDefinitionId: string;
|
|
8694
8724
|
stepDefinitionId: string;
|
|
8695
8725
|
stepDefinitionVersion: number;
|
|
8696
8726
|
stepKey: string;
|
|
@@ -8707,12 +8737,15 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8707
8737
|
outputJson: unknown;
|
|
8708
8738
|
evaluation: {
|
|
8709
8739
|
id: string;
|
|
8710
|
-
|
|
8711
|
-
|
|
8740
|
+
pipelineExecutionAttemptId: string;
|
|
8741
|
+
pipelineStepRunId: string;
|
|
8712
8742
|
stepExecutionId: string;
|
|
8713
8743
|
stepExecutionResultId: string;
|
|
8714
8744
|
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
8715
|
-
|
|
8745
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
8746
|
+
policySnapshotJson: {
|
|
8747
|
+
[key: string]: unknown;
|
|
8748
|
+
} | unknown;
|
|
8716
8749
|
factsSnapshotJson: {
|
|
8717
8750
|
[key: string]: unknown;
|
|
8718
8751
|
};
|
|
@@ -8729,7 +8762,7 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8729
8762
|
}>;
|
|
8730
8763
|
events: Array<{
|
|
8731
8764
|
id: string;
|
|
8732
|
-
|
|
8765
|
+
pipelineExecutionAttemptId: string;
|
|
8733
8766
|
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
8734
8767
|
payloadJson: {
|
|
8735
8768
|
[key: string]: unknown;
|
|
@@ -8743,16 +8776,16 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses =
|
|
|
8743
8776
|
updatedAt: string;
|
|
8744
8777
|
};
|
|
8745
8778
|
};
|
|
8746
|
-
export type
|
|
8747
|
-
export type
|
|
8748
|
-
body
|
|
8749
|
-
|
|
8750
|
-
query: {
|
|
8751
|
-
projectId: string;
|
|
8779
|
+
export type PutApiPipelineExecutionsByPipelineExecutionIdCancelResponse = PutApiPipelineExecutionsByPipelineExecutionIdCancelResponses[keyof PutApiPipelineExecutionsByPipelineExecutionIdCancelResponses];
|
|
8780
|
+
export type PutApiPipelineExecutionsBatchCancelData = {
|
|
8781
|
+
body: {
|
|
8782
|
+
input: Array<string>;
|
|
8752
8783
|
};
|
|
8753
|
-
|
|
8784
|
+
path?: never;
|
|
8785
|
+
query?: never;
|
|
8786
|
+
url: '/api/pipeline-executions/batch/cancel';
|
|
8754
8787
|
};
|
|
8755
|
-
export type
|
|
8788
|
+
export type PutApiPipelineExecutionsBatchCancelErrors = {
|
|
8756
8789
|
/**
|
|
8757
8790
|
* Response for status 401
|
|
8758
8791
|
*/
|
|
@@ -8785,6 +8818,22 @@ export type GetApiLinearPipelineExecutionsCountsByPipelineErrors = {
|
|
|
8785
8818
|
summary?: string;
|
|
8786
8819
|
}>;
|
|
8787
8820
|
};
|
|
8821
|
+
/**
|
|
8822
|
+
* Response for status 404
|
|
8823
|
+
*/
|
|
8824
|
+
404: {
|
|
8825
|
+
type: string;
|
|
8826
|
+
title: string;
|
|
8827
|
+
status: number;
|
|
8828
|
+
detail?: string;
|
|
8829
|
+
instance?: string;
|
|
8830
|
+
code?: string;
|
|
8831
|
+
errors?: Array<{
|
|
8832
|
+
path: string;
|
|
8833
|
+
message: string;
|
|
8834
|
+
summary?: string;
|
|
8835
|
+
}>;
|
|
8836
|
+
};
|
|
8788
8837
|
/**
|
|
8789
8838
|
* Response for status 422
|
|
8790
8839
|
*/
|
|
@@ -8818,26 +8867,26 @@ export type GetApiLinearPipelineExecutionsCountsByPipelineErrors = {
|
|
|
8818
8867
|
}>;
|
|
8819
8868
|
};
|
|
8820
8869
|
};
|
|
8821
|
-
export type
|
|
8822
|
-
export type
|
|
8870
|
+
export type PutApiPipelineExecutionsBatchCancelError = PutApiPipelineExecutionsBatchCancelErrors[keyof PutApiPipelineExecutionsBatchCancelErrors];
|
|
8871
|
+
export type PutApiPipelineExecutionsBatchCancelResponses = {
|
|
8823
8872
|
/**
|
|
8824
8873
|
* Response for status 200
|
|
8825
8874
|
*/
|
|
8826
|
-
200:
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
}
|
|
8875
|
+
200: {
|
|
8876
|
+
cancelledIds: Array<string>;
|
|
8877
|
+
skippedIds: Array<string>;
|
|
8878
|
+
};
|
|
8830
8879
|
};
|
|
8831
|
-
export type
|
|
8832
|
-
export type
|
|
8880
|
+
export type PutApiPipelineExecutionsBatchCancelResponse = PutApiPipelineExecutionsBatchCancelResponses[keyof PutApiPipelineExecutionsBatchCancelResponses];
|
|
8881
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdData = {
|
|
8833
8882
|
body?: never;
|
|
8834
8883
|
path: {
|
|
8835
|
-
|
|
8884
|
+
pipelineExecutionId: string;
|
|
8836
8885
|
};
|
|
8837
8886
|
query?: never;
|
|
8838
|
-
url: '/api/
|
|
8887
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}';
|
|
8839
8888
|
};
|
|
8840
|
-
export type
|
|
8889
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdErrors = {
|
|
8841
8890
|
/**
|
|
8842
8891
|
* Response for status 401
|
|
8843
8892
|
*/
|
|
@@ -8919,36 +8968,99 @@ export type GetApiLinearPipelineExecutionsStepRollupsByDefinitionByLinearPipelin
|
|
|
8919
8968
|
}>;
|
|
8920
8969
|
};
|
|
8921
8970
|
};
|
|
8922
|
-
export type
|
|
8923
|
-
export type
|
|
8971
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdError = GetApiPipelineExecutionsByPipelineExecutionIdErrors[keyof GetApiPipelineExecutionsByPipelineExecutionIdErrors];
|
|
8972
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdResponses = {
|
|
8924
8973
|
/**
|
|
8925
8974
|
* Response for status 200
|
|
8926
8975
|
*/
|
|
8927
|
-
200:
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8976
|
+
200: {
|
|
8977
|
+
id: string;
|
|
8978
|
+
projectId: string;
|
|
8979
|
+
workItemId: string;
|
|
8980
|
+
workItemTitle: string;
|
|
8981
|
+
pipelineDefinitionId: string;
|
|
8982
|
+
pipelineDefinitionVersionId: string;
|
|
8983
|
+
definitionStepCount: number;
|
|
8984
|
+
inputJson: unknown;
|
|
8985
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8986
|
+
attempts: Array<{
|
|
8987
|
+
id: string;
|
|
8988
|
+
pipelineExecutionId: string;
|
|
8989
|
+
attemptNumber: number;
|
|
8990
|
+
currentStepKey: string | unknown;
|
|
8991
|
+
startedAt: string | unknown;
|
|
8992
|
+
completedAt: string | unknown;
|
|
8993
|
+
routedToPipelineExecutionId: string | unknown;
|
|
8994
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
8995
|
+
stepRuns: Array<{
|
|
8996
|
+
id: string;
|
|
8997
|
+
pipelineExecutionAttemptId: string;
|
|
8998
|
+
pipelineStepDefinitionId: string;
|
|
8999
|
+
stepDefinitionId: string;
|
|
9000
|
+
stepDefinitionVersion: number;
|
|
9001
|
+
stepKey: string;
|
|
9002
|
+
position: number;
|
|
9003
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
9004
|
+
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
9005
|
+
stepExecutionId: string;
|
|
9006
|
+
stepExecutionResultId: string | unknown;
|
|
9007
|
+
inheritedFromStepRunId: string | unknown;
|
|
9008
|
+
acceptedByUserId: string | unknown;
|
|
9009
|
+
acceptedAt: string | unknown;
|
|
9010
|
+
acceptanceReason: string | unknown;
|
|
9011
|
+
workBranch: string | unknown;
|
|
9012
|
+
outputJson: unknown;
|
|
9013
|
+
evaluation: {
|
|
9014
|
+
id: string;
|
|
9015
|
+
pipelineExecutionAttemptId: string;
|
|
9016
|
+
pipelineStepRunId: string;
|
|
9017
|
+
stepExecutionId: string;
|
|
9018
|
+
stepExecutionResultId: string;
|
|
9019
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
9020
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
9021
|
+
policySnapshotJson: {
|
|
9022
|
+
[key: string]: unknown;
|
|
9023
|
+
} | unknown;
|
|
9024
|
+
factsSnapshotJson: {
|
|
9025
|
+
[key: string]: unknown;
|
|
9026
|
+
};
|
|
9027
|
+
ruleResultsJson: unknown;
|
|
9028
|
+
finalStatus: 'pass' | 'fail';
|
|
9029
|
+
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
9030
|
+
finalPayloadJson: {
|
|
9031
|
+
[key: string]: unknown;
|
|
9032
|
+
} | unknown;
|
|
9033
|
+
createdAt: string;
|
|
9034
|
+
} | unknown;
|
|
9035
|
+
createdAt: string;
|
|
9036
|
+
updatedAt: string;
|
|
9037
|
+
}>;
|
|
9038
|
+
events: Array<{
|
|
9039
|
+
id: string;
|
|
9040
|
+
pipelineExecutionAttemptId: string;
|
|
9041
|
+
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
9042
|
+
payloadJson: {
|
|
9043
|
+
[key: string]: unknown;
|
|
9044
|
+
} | unknown;
|
|
9045
|
+
createdAt: string;
|
|
9046
|
+
}>;
|
|
8936
9047
|
createdAt: string;
|
|
8937
|
-
|
|
8938
|
-
|
|
9048
|
+
updatedAt: string;
|
|
9049
|
+
}>;
|
|
9050
|
+
createdAt: string;
|
|
9051
|
+
updatedAt: string;
|
|
9052
|
+
};
|
|
8939
9053
|
};
|
|
8940
|
-
export type
|
|
8941
|
-
export type
|
|
9054
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdResponse = GetApiPipelineExecutionsByPipelineExecutionIdResponses[keyof GetApiPipelineExecutionsByPipelineExecutionIdResponses];
|
|
9055
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainData = {
|
|
8942
9056
|
body?: never;
|
|
8943
9057
|
path: {
|
|
8944
|
-
|
|
8945
|
-
};
|
|
8946
|
-
query: {
|
|
8947
|
-
linearPipelineStepDefinitionId: string;
|
|
9058
|
+
pipelineExecutionId: string;
|
|
8948
9059
|
};
|
|
8949
|
-
|
|
9060
|
+
query?: never;
|
|
9061
|
+
url: '/api/pipeline-executions/{pipelineExecutionId}/routed-chain';
|
|
8950
9062
|
};
|
|
8951
|
-
export type
|
|
9063
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainErrors = {
|
|
8952
9064
|
/**
|
|
8953
9065
|
* Response for status 401
|
|
8954
9066
|
*/
|
|
@@ -9030,30 +9142,102 @@ export type GetApiLinearPipelineExecutionsStepRunsByDefinitionByLinearPipelineDe
|
|
|
9030
9142
|
}>;
|
|
9031
9143
|
};
|
|
9032
9144
|
};
|
|
9033
|
-
export type
|
|
9034
|
-
export type
|
|
9145
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainError = GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainErrors[keyof GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainErrors];
|
|
9146
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainResponses = {
|
|
9035
9147
|
/**
|
|
9036
9148
|
* Response for status 200
|
|
9037
9149
|
*/
|
|
9038
|
-
200:
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9150
|
+
200: {
|
|
9151
|
+
executions: Array<{
|
|
9152
|
+
id: string;
|
|
9153
|
+
projectId: string;
|
|
9154
|
+
workItemId: string;
|
|
9155
|
+
workItemTitle: string;
|
|
9156
|
+
pipelineDefinitionId: string;
|
|
9157
|
+
pipelineDefinitionVersionId: string;
|
|
9158
|
+
definitionStepCount: number;
|
|
9159
|
+
inputJson: unknown;
|
|
9160
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
9161
|
+
attempts: Array<{
|
|
9162
|
+
id: string;
|
|
9163
|
+
pipelineExecutionId: string;
|
|
9164
|
+
attemptNumber: number;
|
|
9165
|
+
currentStepKey: string | unknown;
|
|
9166
|
+
startedAt: string | unknown;
|
|
9167
|
+
completedAt: string | unknown;
|
|
9168
|
+
routedToPipelineExecutionId: string | unknown;
|
|
9169
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
9170
|
+
stepRuns: Array<{
|
|
9171
|
+
id: string;
|
|
9172
|
+
pipelineExecutionAttemptId: string;
|
|
9173
|
+
pipelineStepDefinitionId: string;
|
|
9174
|
+
stepDefinitionId: string;
|
|
9175
|
+
stepDefinitionVersion: number;
|
|
9176
|
+
stepKey: string;
|
|
9177
|
+
position: number;
|
|
9178
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
9179
|
+
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
9180
|
+
stepExecutionId: string;
|
|
9181
|
+
stepExecutionResultId: string | unknown;
|
|
9182
|
+
inheritedFromStepRunId: string | unknown;
|
|
9183
|
+
acceptedByUserId: string | unknown;
|
|
9184
|
+
acceptedAt: string | unknown;
|
|
9185
|
+
acceptanceReason: string | unknown;
|
|
9186
|
+
workBranch: string | unknown;
|
|
9187
|
+
outputJson: unknown;
|
|
9188
|
+
evaluation: {
|
|
9189
|
+
id: string;
|
|
9190
|
+
pipelineExecutionAttemptId: string;
|
|
9191
|
+
pipelineStepRunId: string;
|
|
9192
|
+
stepExecutionId: string;
|
|
9193
|
+
stepExecutionResultId: string;
|
|
9194
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
9195
|
+
pipelineStepAdvancementPolicyDefinitionId: string | unknown;
|
|
9196
|
+
policySnapshotJson: {
|
|
9197
|
+
[key: string]: unknown;
|
|
9198
|
+
} | unknown;
|
|
9199
|
+
factsSnapshotJson: {
|
|
9200
|
+
[key: string]: unknown;
|
|
9201
|
+
};
|
|
9202
|
+
ruleResultsJson: unknown;
|
|
9203
|
+
finalStatus: 'pass' | 'fail';
|
|
9204
|
+
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
9205
|
+
finalPayloadJson: {
|
|
9206
|
+
[key: string]: unknown;
|
|
9207
|
+
} | unknown;
|
|
9208
|
+
createdAt: string;
|
|
9209
|
+
} | unknown;
|
|
9210
|
+
createdAt: string;
|
|
9211
|
+
updatedAt: string;
|
|
9212
|
+
}>;
|
|
9213
|
+
events: Array<{
|
|
9214
|
+
id: string;
|
|
9215
|
+
pipelineExecutionAttemptId: string;
|
|
9216
|
+
type: 'pipeline_queued' | 'pipeline_started' | 'step_run_created' | 'step_attempt_queued' | 'step_attempt_started' | 'step_attempt_succeeded' | 'step_attempt_failed' | 'step_evaluated' | 'step_satisfied_by_policy' | 'step_satisfied_by_user' | 'step_unsatisfied_by_policy' | 'step_retriggered' | 'step_blocked' | 'step_routed' | 'pipeline_succeeded' | 'pipeline_failed' | 'pipeline_blocked' | 'pipeline_routed' | 'pipeline_cancelled';
|
|
9217
|
+
payloadJson: {
|
|
9218
|
+
[key: string]: unknown;
|
|
9219
|
+
} | unknown;
|
|
9220
|
+
createdAt: string;
|
|
9221
|
+
}>;
|
|
9222
|
+
createdAt: string;
|
|
9223
|
+
updatedAt: string;
|
|
9224
|
+
}>;
|
|
9225
|
+
createdAt: string;
|
|
9226
|
+
updatedAt: string;
|
|
9227
|
+
}>;
|
|
9228
|
+
rollupStatus: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
9229
|
+
};
|
|
9046
9230
|
};
|
|
9047
|
-
export type
|
|
9048
|
-
export type
|
|
9231
|
+
export type GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainResponse = GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainResponses[keyof GetApiPipelineExecutionsByPipelineExecutionIdRoutedChainResponses];
|
|
9232
|
+
export type GetApiPipelineExecutionsCountsByPipelineData = {
|
|
9049
9233
|
body?: never;
|
|
9050
|
-
path
|
|
9051
|
-
|
|
9234
|
+
path?: never;
|
|
9235
|
+
query: {
|
|
9236
|
+
projectId: string;
|
|
9052
9237
|
};
|
|
9053
|
-
|
|
9054
|
-
url: '/api/work-items/{workItemId}';
|
|
9238
|
+
url: '/api/pipeline-executions/counts/by-pipeline';
|
|
9055
9239
|
};
|
|
9056
|
-
export type
|
|
9240
|
+
export type GetApiPipelineExecutionsCountsByPipelineErrors = {
|
|
9057
9241
|
/**
|
|
9058
9242
|
* Response for status 401
|
|
9059
9243
|
*/
|
|
@@ -9086,22 +9270,6 @@ export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
|
9086
9270
|
summary?: string;
|
|
9087
9271
|
}>;
|
|
9088
9272
|
};
|
|
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
9273
|
/**
|
|
9106
9274
|
* Response for status 422
|
|
9107
9275
|
*/
|
|
@@ -9135,23 +9303,26 @@ export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
|
9135
9303
|
}>;
|
|
9136
9304
|
};
|
|
9137
9305
|
};
|
|
9138
|
-
export type
|
|
9139
|
-
export type
|
|
9306
|
+
export type GetApiPipelineExecutionsCountsByPipelineError = GetApiPipelineExecutionsCountsByPipelineErrors[keyof GetApiPipelineExecutionsCountsByPipelineErrors];
|
|
9307
|
+
export type GetApiPipelineExecutionsCountsByPipelineResponses = {
|
|
9140
9308
|
/**
|
|
9141
9309
|
* Response for status 200
|
|
9142
9310
|
*/
|
|
9143
|
-
200:
|
|
9311
|
+
200: Array<{
|
|
9312
|
+
pipelineDefinitionId: string;
|
|
9313
|
+
count: number;
|
|
9314
|
+
}>;
|
|
9144
9315
|
};
|
|
9145
|
-
export type
|
|
9146
|
-
export type
|
|
9316
|
+
export type GetApiPipelineExecutionsCountsByPipelineResponse = GetApiPipelineExecutionsCountsByPipelineResponses[keyof GetApiPipelineExecutionsCountsByPipelineResponses];
|
|
9317
|
+
export type GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdData = {
|
|
9147
9318
|
body?: never;
|
|
9148
9319
|
path: {
|
|
9149
|
-
|
|
9320
|
+
pipelineDefinitionId: string;
|
|
9150
9321
|
};
|
|
9151
9322
|
query?: never;
|
|
9152
|
-
url: '/api/
|
|
9323
|
+
url: '/api/pipeline-executions/step-rollups/by-definition/{pipelineDefinitionId}';
|
|
9153
9324
|
};
|
|
9154
|
-
export type
|
|
9325
|
+
export type GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdErrors = {
|
|
9155
9326
|
/**
|
|
9156
9327
|
* Response for status 401
|
|
9157
9328
|
*/
|
|
@@ -9233,48 +9404,1011 @@ export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
|
9233
9404
|
}>;
|
|
9234
9405
|
};
|
|
9235
9406
|
};
|
|
9236
|
-
export type
|
|
9237
|
-
export type
|
|
9407
|
+
export type GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdError = GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdErrors[keyof GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdErrors];
|
|
9408
|
+
export type GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdResponses = {
|
|
9238
9409
|
/**
|
|
9239
9410
|
* Response for status 200
|
|
9240
9411
|
*/
|
|
9241
|
-
200: {
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9412
|
+
200: Array<{
|
|
9413
|
+
pipelineStepDefinitionId: string;
|
|
9414
|
+
totalRunCount: number;
|
|
9415
|
+
latestRun: {
|
|
9416
|
+
pipelineStepRunId: string;
|
|
9417
|
+
pipelineExecutionId: string;
|
|
9418
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
9419
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
9420
|
+
evaluationFinalAction: 'continue' | 'block' | 'complete' | 'route' | unknown;
|
|
9421
|
+
createdAt: string;
|
|
9422
|
+
} | unknown;
|
|
9423
|
+
}>;
|
|
9424
|
+
};
|
|
9425
|
+
export type GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdResponse = GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdResponses[keyof GetApiPipelineExecutionsStepRollupsByDefinitionByPipelineDefinitionIdResponses];
|
|
9426
|
+
export type GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdData = {
|
|
9427
|
+
body?: never;
|
|
9428
|
+
path: {
|
|
9429
|
+
pipelineDefinitionId: string;
|
|
9257
9430
|
};
|
|
9431
|
+
query: {
|
|
9432
|
+
pipelineStepDefinitionId: string;
|
|
9433
|
+
};
|
|
9434
|
+
url: '/api/pipeline-executions/step-runs/by-definition/{pipelineDefinitionId}';
|
|
9258
9435
|
};
|
|
9259
|
-
export type
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
|
|
9264
|
-
|
|
9265
|
-
platformKey: string;
|
|
9266
|
-
url?: string | unknown;
|
|
9436
|
+
export type GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdErrors = {
|
|
9437
|
+
/**
|
|
9438
|
+
* Response for status 401
|
|
9439
|
+
*/
|
|
9440
|
+
401: {
|
|
9441
|
+
type: string;
|
|
9267
9442
|
title: string;
|
|
9268
|
-
|
|
9443
|
+
status: number;
|
|
9444
|
+
detail?: string;
|
|
9445
|
+
instance?: string;
|
|
9446
|
+
code?: string;
|
|
9447
|
+
errors?: Array<{
|
|
9448
|
+
path: string;
|
|
9449
|
+
message: string;
|
|
9450
|
+
summary?: string;
|
|
9451
|
+
}>;
|
|
9452
|
+
};
|
|
9453
|
+
/**
|
|
9454
|
+
* Response for status 403
|
|
9455
|
+
*/
|
|
9456
|
+
403: {
|
|
9457
|
+
type: string;
|
|
9458
|
+
title: string;
|
|
9459
|
+
status: number;
|
|
9460
|
+
detail?: string;
|
|
9461
|
+
instance?: string;
|
|
9462
|
+
code?: string;
|
|
9463
|
+
errors?: Array<{
|
|
9464
|
+
path: string;
|
|
9465
|
+
message: string;
|
|
9466
|
+
summary?: string;
|
|
9467
|
+
}>;
|
|
9468
|
+
};
|
|
9469
|
+
/**
|
|
9470
|
+
* Response for status 404
|
|
9471
|
+
*/
|
|
9472
|
+
404: {
|
|
9473
|
+
type: string;
|
|
9474
|
+
title: string;
|
|
9475
|
+
status: number;
|
|
9476
|
+
detail?: string;
|
|
9477
|
+
instance?: string;
|
|
9478
|
+
code?: string;
|
|
9479
|
+
errors?: Array<{
|
|
9480
|
+
path: string;
|
|
9481
|
+
message: string;
|
|
9482
|
+
summary?: string;
|
|
9483
|
+
}>;
|
|
9484
|
+
};
|
|
9485
|
+
/**
|
|
9486
|
+
* Response for status 422
|
|
9487
|
+
*/
|
|
9488
|
+
422: {
|
|
9489
|
+
type: string;
|
|
9490
|
+
title: string;
|
|
9491
|
+
status: number;
|
|
9492
|
+
detail?: string;
|
|
9493
|
+
instance?: string;
|
|
9494
|
+
code?: string;
|
|
9495
|
+
errors?: Array<{
|
|
9496
|
+
path: string;
|
|
9497
|
+
message: string;
|
|
9498
|
+
summary?: string;
|
|
9499
|
+
}>;
|
|
9500
|
+
};
|
|
9501
|
+
/**
|
|
9502
|
+
* Response for status 500
|
|
9503
|
+
*/
|
|
9504
|
+
500: {
|
|
9505
|
+
type: string;
|
|
9506
|
+
title: string;
|
|
9507
|
+
status: number;
|
|
9508
|
+
detail?: string;
|
|
9509
|
+
instance?: string;
|
|
9510
|
+
code?: string;
|
|
9511
|
+
errors?: Array<{
|
|
9512
|
+
path: string;
|
|
9513
|
+
message: string;
|
|
9514
|
+
summary?: string;
|
|
9515
|
+
}>;
|
|
9516
|
+
};
|
|
9517
|
+
};
|
|
9518
|
+
export type GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdError = GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdErrors[keyof GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdErrors];
|
|
9519
|
+
export type GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdResponses = {
|
|
9520
|
+
/**
|
|
9521
|
+
* Response for status 200
|
|
9522
|
+
*/
|
|
9523
|
+
200: Array<{
|
|
9524
|
+
pipelineStepRunId: string;
|
|
9525
|
+
pipelineExecutionId: string;
|
|
9526
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled' | 'abandoned' | 'timeout';
|
|
9527
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
9528
|
+
evaluationFinalAction: 'continue' | 'block' | 'complete' | 'route' | unknown;
|
|
9529
|
+
createdAt: string;
|
|
9530
|
+
}>;
|
|
9531
|
+
};
|
|
9532
|
+
export type GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdResponse = GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdResponses[keyof GetApiPipelineExecutionsStepRunsByDefinitionByPipelineDefinitionIdResponses];
|
|
9533
|
+
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
9534
|
+
body?: never;
|
|
9535
|
+
path: {
|
|
9536
|
+
workItemId: string;
|
|
9537
|
+
};
|
|
9538
|
+
query?: never;
|
|
9539
|
+
url: '/api/work-items/{workItemId}';
|
|
9540
|
+
};
|
|
9541
|
+
export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
9542
|
+
/**
|
|
9543
|
+
* Response for status 401
|
|
9544
|
+
*/
|
|
9545
|
+
401: {
|
|
9546
|
+
type: string;
|
|
9547
|
+
title: string;
|
|
9548
|
+
status: number;
|
|
9549
|
+
detail?: string;
|
|
9550
|
+
instance?: string;
|
|
9551
|
+
code?: string;
|
|
9552
|
+
errors?: Array<{
|
|
9553
|
+
path: string;
|
|
9554
|
+
message: string;
|
|
9555
|
+
summary?: string;
|
|
9556
|
+
}>;
|
|
9557
|
+
};
|
|
9558
|
+
/**
|
|
9559
|
+
* Response for status 403
|
|
9560
|
+
*/
|
|
9561
|
+
403: {
|
|
9562
|
+
type: string;
|
|
9563
|
+
title: string;
|
|
9564
|
+
status: number;
|
|
9565
|
+
detail?: string;
|
|
9566
|
+
instance?: string;
|
|
9567
|
+
code?: string;
|
|
9568
|
+
errors?: Array<{
|
|
9569
|
+
path: string;
|
|
9570
|
+
message: string;
|
|
9571
|
+
summary?: string;
|
|
9572
|
+
}>;
|
|
9573
|
+
};
|
|
9574
|
+
/**
|
|
9575
|
+
* Response for status 404
|
|
9576
|
+
*/
|
|
9577
|
+
404: {
|
|
9578
|
+
type: string;
|
|
9579
|
+
title: string;
|
|
9580
|
+
status: number;
|
|
9581
|
+
detail?: string;
|
|
9582
|
+
instance?: string;
|
|
9583
|
+
code?: string;
|
|
9584
|
+
errors?: Array<{
|
|
9585
|
+
path: string;
|
|
9586
|
+
message: string;
|
|
9587
|
+
summary?: string;
|
|
9588
|
+
}>;
|
|
9589
|
+
};
|
|
9590
|
+
/**
|
|
9591
|
+
* Response for status 422
|
|
9592
|
+
*/
|
|
9593
|
+
422: {
|
|
9594
|
+
type: string;
|
|
9595
|
+
title: string;
|
|
9596
|
+
status: number;
|
|
9597
|
+
detail?: string;
|
|
9598
|
+
instance?: string;
|
|
9599
|
+
code?: string;
|
|
9600
|
+
errors?: Array<{
|
|
9601
|
+
path: string;
|
|
9602
|
+
message: string;
|
|
9603
|
+
summary?: string;
|
|
9604
|
+
}>;
|
|
9605
|
+
};
|
|
9606
|
+
/**
|
|
9607
|
+
* Response for status 500
|
|
9608
|
+
*/
|
|
9609
|
+
500: {
|
|
9610
|
+
type: string;
|
|
9611
|
+
title: string;
|
|
9612
|
+
status: number;
|
|
9613
|
+
detail?: string;
|
|
9614
|
+
instance?: string;
|
|
9615
|
+
code?: string;
|
|
9616
|
+
errors?: Array<{
|
|
9617
|
+
path: string;
|
|
9618
|
+
message: string;
|
|
9619
|
+
summary?: string;
|
|
9620
|
+
}>;
|
|
9621
|
+
};
|
|
9622
|
+
};
|
|
9623
|
+
export type DeleteApiWorkItemsByWorkItemIdError = DeleteApiWorkItemsByWorkItemIdErrors[keyof DeleteApiWorkItemsByWorkItemIdErrors];
|
|
9624
|
+
export type DeleteApiWorkItemsByWorkItemIdResponses = {
|
|
9625
|
+
/**
|
|
9626
|
+
* Response for status 200
|
|
9627
|
+
*/
|
|
9628
|
+
200: number;
|
|
9629
|
+
};
|
|
9630
|
+
export type DeleteApiWorkItemsByWorkItemIdResponse = DeleteApiWorkItemsByWorkItemIdResponses[keyof DeleteApiWorkItemsByWorkItemIdResponses];
|
|
9631
|
+
export type GetApiWorkItemsByWorkItemIdData = {
|
|
9632
|
+
body?: never;
|
|
9633
|
+
path: {
|
|
9634
|
+
workItemId: string;
|
|
9635
|
+
};
|
|
9636
|
+
query?: never;
|
|
9637
|
+
url: '/api/work-items/{workItemId}';
|
|
9638
|
+
};
|
|
9639
|
+
export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
9640
|
+
/**
|
|
9641
|
+
* Response for status 401
|
|
9642
|
+
*/
|
|
9643
|
+
401: {
|
|
9644
|
+
type: string;
|
|
9645
|
+
title: string;
|
|
9646
|
+
status: number;
|
|
9647
|
+
detail?: string;
|
|
9648
|
+
instance?: string;
|
|
9649
|
+
code?: string;
|
|
9650
|
+
errors?: Array<{
|
|
9651
|
+
path: string;
|
|
9652
|
+
message: string;
|
|
9653
|
+
summary?: string;
|
|
9654
|
+
}>;
|
|
9655
|
+
};
|
|
9656
|
+
/**
|
|
9657
|
+
* Response for status 403
|
|
9658
|
+
*/
|
|
9659
|
+
403: {
|
|
9660
|
+
type: string;
|
|
9661
|
+
title: string;
|
|
9662
|
+
status: number;
|
|
9663
|
+
detail?: string;
|
|
9664
|
+
instance?: string;
|
|
9665
|
+
code?: string;
|
|
9666
|
+
errors?: Array<{
|
|
9667
|
+
path: string;
|
|
9668
|
+
message: string;
|
|
9669
|
+
summary?: string;
|
|
9670
|
+
}>;
|
|
9671
|
+
};
|
|
9672
|
+
/**
|
|
9673
|
+
* Response for status 404
|
|
9674
|
+
*/
|
|
9675
|
+
404: {
|
|
9676
|
+
type: string;
|
|
9677
|
+
title: string;
|
|
9678
|
+
status: number;
|
|
9679
|
+
detail?: string;
|
|
9680
|
+
instance?: string;
|
|
9681
|
+
code?: string;
|
|
9682
|
+
errors?: Array<{
|
|
9683
|
+
path: string;
|
|
9684
|
+
message: string;
|
|
9685
|
+
summary?: string;
|
|
9686
|
+
}>;
|
|
9687
|
+
};
|
|
9688
|
+
/**
|
|
9689
|
+
* Response for status 422
|
|
9690
|
+
*/
|
|
9691
|
+
422: {
|
|
9692
|
+
type: string;
|
|
9693
|
+
title: string;
|
|
9694
|
+
status: number;
|
|
9695
|
+
detail?: string;
|
|
9696
|
+
instance?: string;
|
|
9697
|
+
code?: string;
|
|
9698
|
+
errors?: Array<{
|
|
9699
|
+
path: string;
|
|
9700
|
+
message: string;
|
|
9701
|
+
summary?: string;
|
|
9702
|
+
}>;
|
|
9703
|
+
};
|
|
9704
|
+
/**
|
|
9705
|
+
* Response for status 500
|
|
9706
|
+
*/
|
|
9707
|
+
500: {
|
|
9708
|
+
type: string;
|
|
9709
|
+
title: string;
|
|
9710
|
+
status: number;
|
|
9711
|
+
detail?: string;
|
|
9712
|
+
instance?: string;
|
|
9713
|
+
code?: string;
|
|
9714
|
+
errors?: Array<{
|
|
9715
|
+
path: string;
|
|
9716
|
+
message: string;
|
|
9717
|
+
summary?: string;
|
|
9718
|
+
}>;
|
|
9719
|
+
};
|
|
9720
|
+
};
|
|
9721
|
+
export type GetApiWorkItemsByWorkItemIdError = GetApiWorkItemsByWorkItemIdErrors[keyof GetApiWorkItemsByWorkItemIdErrors];
|
|
9722
|
+
export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
9723
|
+
/**
|
|
9724
|
+
* Response for status 200
|
|
9725
|
+
*/
|
|
9726
|
+
200: {
|
|
9727
|
+
id: string;
|
|
9728
|
+
projectId: string;
|
|
9729
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9730
|
+
platformId?: string | unknown;
|
|
9731
|
+
platformKey: string;
|
|
9732
|
+
url?: string | unknown;
|
|
9733
|
+
title: string;
|
|
9734
|
+
description: string;
|
|
9735
|
+
sourceCreatedAt: string | unknown;
|
|
9736
|
+
sourceUpdatedAt: string | unknown;
|
|
9737
|
+
fields: unknown;
|
|
9738
|
+
createdByUserId: string | unknown;
|
|
9739
|
+
createdByUsername: string | unknown;
|
|
9740
|
+
createdByImage: string | unknown;
|
|
9741
|
+
parentWorkItemId: string | unknown;
|
|
9742
|
+
createdAt: string;
|
|
9743
|
+
updatedAt: string;
|
|
9744
|
+
};
|
|
9745
|
+
};
|
|
9746
|
+
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
9747
|
+
export type PatchApiWorkItemsByWorkItemIdData = {
|
|
9748
|
+
body: {
|
|
9749
|
+
title: string;
|
|
9750
|
+
description: string;
|
|
9751
|
+
};
|
|
9752
|
+
path: {
|
|
9753
|
+
workItemId: string;
|
|
9754
|
+
};
|
|
9755
|
+
query?: never;
|
|
9756
|
+
url: '/api/work-items/{workItemId}';
|
|
9757
|
+
};
|
|
9758
|
+
export type PatchApiWorkItemsByWorkItemIdErrors = {
|
|
9759
|
+
/**
|
|
9760
|
+
* Response for status 400
|
|
9761
|
+
*/
|
|
9762
|
+
400: {
|
|
9763
|
+
type: string;
|
|
9764
|
+
title: string;
|
|
9765
|
+
status: number;
|
|
9766
|
+
detail?: string;
|
|
9767
|
+
instance?: string;
|
|
9768
|
+
code?: string;
|
|
9769
|
+
errors?: Array<{
|
|
9770
|
+
path: string;
|
|
9771
|
+
message: string;
|
|
9772
|
+
summary?: string;
|
|
9773
|
+
}>;
|
|
9774
|
+
};
|
|
9775
|
+
/**
|
|
9776
|
+
* Response for status 401
|
|
9777
|
+
*/
|
|
9778
|
+
401: {
|
|
9779
|
+
type: string;
|
|
9780
|
+
title: string;
|
|
9781
|
+
status: number;
|
|
9782
|
+
detail?: string;
|
|
9783
|
+
instance?: string;
|
|
9784
|
+
code?: string;
|
|
9785
|
+
errors?: Array<{
|
|
9786
|
+
path: string;
|
|
9787
|
+
message: string;
|
|
9788
|
+
summary?: string;
|
|
9789
|
+
}>;
|
|
9790
|
+
};
|
|
9791
|
+
/**
|
|
9792
|
+
* Response for status 403
|
|
9793
|
+
*/
|
|
9794
|
+
403: {
|
|
9795
|
+
type: string;
|
|
9796
|
+
title: string;
|
|
9797
|
+
status: number;
|
|
9798
|
+
detail?: string;
|
|
9799
|
+
instance?: string;
|
|
9800
|
+
code?: string;
|
|
9801
|
+
errors?: Array<{
|
|
9802
|
+
path: string;
|
|
9803
|
+
message: string;
|
|
9804
|
+
summary?: string;
|
|
9805
|
+
}>;
|
|
9806
|
+
};
|
|
9807
|
+
/**
|
|
9808
|
+
* Response for status 404
|
|
9809
|
+
*/
|
|
9810
|
+
404: {
|
|
9811
|
+
type: string;
|
|
9812
|
+
title: string;
|
|
9813
|
+
status: number;
|
|
9814
|
+
detail?: string;
|
|
9815
|
+
instance?: string;
|
|
9816
|
+
code?: string;
|
|
9817
|
+
errors?: Array<{
|
|
9818
|
+
path: string;
|
|
9819
|
+
message: string;
|
|
9820
|
+
summary?: string;
|
|
9821
|
+
}>;
|
|
9822
|
+
};
|
|
9823
|
+
/**
|
|
9824
|
+
* Response for status 422
|
|
9825
|
+
*/
|
|
9826
|
+
422: {
|
|
9827
|
+
type: string;
|
|
9828
|
+
title: string;
|
|
9829
|
+
status: number;
|
|
9830
|
+
detail?: string;
|
|
9831
|
+
instance?: string;
|
|
9832
|
+
code?: string;
|
|
9833
|
+
errors?: Array<{
|
|
9834
|
+
path: string;
|
|
9835
|
+
message: string;
|
|
9836
|
+
summary?: string;
|
|
9837
|
+
}>;
|
|
9838
|
+
};
|
|
9839
|
+
/**
|
|
9840
|
+
* Response for status 500
|
|
9841
|
+
*/
|
|
9842
|
+
500: {
|
|
9843
|
+
type: string;
|
|
9844
|
+
title: string;
|
|
9845
|
+
status: number;
|
|
9846
|
+
detail?: string;
|
|
9847
|
+
instance?: string;
|
|
9848
|
+
code?: string;
|
|
9849
|
+
errors?: Array<{
|
|
9850
|
+
path: string;
|
|
9851
|
+
message: string;
|
|
9852
|
+
summary?: string;
|
|
9853
|
+
}>;
|
|
9854
|
+
};
|
|
9855
|
+
};
|
|
9856
|
+
export type PatchApiWorkItemsByWorkItemIdError = PatchApiWorkItemsByWorkItemIdErrors[keyof PatchApiWorkItemsByWorkItemIdErrors];
|
|
9857
|
+
export type PatchApiWorkItemsByWorkItemIdResponses = {
|
|
9858
|
+
/**
|
|
9859
|
+
* Response for status 200
|
|
9860
|
+
*/
|
|
9861
|
+
200: {
|
|
9862
|
+
id: string;
|
|
9863
|
+
projectId: string;
|
|
9864
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9865
|
+
platformId?: string | unknown;
|
|
9866
|
+
platformKey: string;
|
|
9867
|
+
url?: string | unknown;
|
|
9868
|
+
title: string;
|
|
9869
|
+
description: string;
|
|
9870
|
+
sourceCreatedAt: string | unknown;
|
|
9871
|
+
sourceUpdatedAt: string | unknown;
|
|
9872
|
+
fields: unknown;
|
|
9873
|
+
createdByUserId: string | unknown;
|
|
9874
|
+
createdByUsername: string | unknown;
|
|
9875
|
+
createdByImage: string | unknown;
|
|
9876
|
+
parentWorkItemId: string | unknown;
|
|
9877
|
+
createdAt: string;
|
|
9878
|
+
updatedAt: string;
|
|
9879
|
+
};
|
|
9880
|
+
};
|
|
9881
|
+
export type PatchApiWorkItemsByWorkItemIdResponse = PatchApiWorkItemsByWorkItemIdResponses[keyof PatchApiWorkItemsByWorkItemIdResponses];
|
|
9882
|
+
export type GetApiWorkItemsByWorkItemIdChildrenData = {
|
|
9883
|
+
body?: never;
|
|
9884
|
+
path: {
|
|
9885
|
+
workItemId: string;
|
|
9886
|
+
};
|
|
9887
|
+
query?: never;
|
|
9888
|
+
url: '/api/work-items/{workItemId}/children';
|
|
9889
|
+
};
|
|
9890
|
+
export type GetApiWorkItemsByWorkItemIdChildrenErrors = {
|
|
9891
|
+
/**
|
|
9892
|
+
* Response for status 401
|
|
9893
|
+
*/
|
|
9894
|
+
401: {
|
|
9895
|
+
type: string;
|
|
9896
|
+
title: string;
|
|
9897
|
+
status: number;
|
|
9898
|
+
detail?: string;
|
|
9899
|
+
instance?: string;
|
|
9900
|
+
code?: string;
|
|
9901
|
+
errors?: Array<{
|
|
9902
|
+
path: string;
|
|
9903
|
+
message: string;
|
|
9904
|
+
summary?: string;
|
|
9905
|
+
}>;
|
|
9906
|
+
};
|
|
9907
|
+
/**
|
|
9908
|
+
* Response for status 403
|
|
9909
|
+
*/
|
|
9910
|
+
403: {
|
|
9911
|
+
type: string;
|
|
9912
|
+
title: string;
|
|
9913
|
+
status: number;
|
|
9914
|
+
detail?: string;
|
|
9915
|
+
instance?: string;
|
|
9916
|
+
code?: string;
|
|
9917
|
+
errors?: Array<{
|
|
9918
|
+
path: string;
|
|
9919
|
+
message: string;
|
|
9920
|
+
summary?: string;
|
|
9921
|
+
}>;
|
|
9922
|
+
};
|
|
9923
|
+
/**
|
|
9924
|
+
* Response for status 404
|
|
9925
|
+
*/
|
|
9926
|
+
404: {
|
|
9927
|
+
type: string;
|
|
9928
|
+
title: string;
|
|
9929
|
+
status: number;
|
|
9930
|
+
detail?: string;
|
|
9931
|
+
instance?: string;
|
|
9932
|
+
code?: string;
|
|
9933
|
+
errors?: Array<{
|
|
9934
|
+
path: string;
|
|
9935
|
+
message: string;
|
|
9936
|
+
summary?: string;
|
|
9937
|
+
}>;
|
|
9938
|
+
};
|
|
9939
|
+
/**
|
|
9940
|
+
* Response for status 422
|
|
9941
|
+
*/
|
|
9942
|
+
422: {
|
|
9943
|
+
type: string;
|
|
9944
|
+
title: string;
|
|
9945
|
+
status: number;
|
|
9946
|
+
detail?: string;
|
|
9947
|
+
instance?: string;
|
|
9948
|
+
code?: string;
|
|
9949
|
+
errors?: Array<{
|
|
9950
|
+
path: string;
|
|
9951
|
+
message: string;
|
|
9952
|
+
summary?: string;
|
|
9953
|
+
}>;
|
|
9954
|
+
};
|
|
9955
|
+
/**
|
|
9956
|
+
* Response for status 500
|
|
9957
|
+
*/
|
|
9958
|
+
500: {
|
|
9959
|
+
type: string;
|
|
9960
|
+
title: string;
|
|
9961
|
+
status: number;
|
|
9962
|
+
detail?: string;
|
|
9963
|
+
instance?: string;
|
|
9964
|
+
code?: string;
|
|
9965
|
+
errors?: Array<{
|
|
9966
|
+
path: string;
|
|
9967
|
+
message: string;
|
|
9968
|
+
summary?: string;
|
|
9969
|
+
}>;
|
|
9970
|
+
};
|
|
9971
|
+
};
|
|
9972
|
+
export type GetApiWorkItemsByWorkItemIdChildrenError = GetApiWorkItemsByWorkItemIdChildrenErrors[keyof GetApiWorkItemsByWorkItemIdChildrenErrors];
|
|
9973
|
+
export type GetApiWorkItemsByWorkItemIdChildrenResponses = {
|
|
9974
|
+
/**
|
|
9975
|
+
* Response for status 200
|
|
9976
|
+
*/
|
|
9977
|
+
200: Array<{
|
|
9978
|
+
id: string;
|
|
9979
|
+
projectId: string;
|
|
9980
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9981
|
+
platformId?: string | unknown;
|
|
9982
|
+
platformKey: string;
|
|
9983
|
+
url?: string | unknown;
|
|
9984
|
+
title: string;
|
|
9985
|
+
description: string;
|
|
9986
|
+
sourceCreatedAt: string | unknown;
|
|
9987
|
+
sourceUpdatedAt: string | unknown;
|
|
9988
|
+
fields: unknown;
|
|
9989
|
+
createdByUserId: string | unknown;
|
|
9990
|
+
createdByUsername: string | unknown;
|
|
9991
|
+
createdByImage: string | unknown;
|
|
9992
|
+
parentWorkItemId: string | unknown;
|
|
9993
|
+
createdAt: string;
|
|
9994
|
+
updatedAt: string;
|
|
9995
|
+
}>;
|
|
9996
|
+
};
|
|
9997
|
+
export type GetApiWorkItemsByWorkItemIdChildrenResponse = GetApiWorkItemsByWorkItemIdChildrenResponses[keyof GetApiWorkItemsByWorkItemIdChildrenResponses];
|
|
9998
|
+
export type PostApiWorkItemsData = {
|
|
9999
|
+
body: {
|
|
10000
|
+
projectId: string;
|
|
10001
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10002
|
+
platformId?: string | unknown;
|
|
10003
|
+
platformKey: string;
|
|
10004
|
+
url?: string | unknown;
|
|
10005
|
+
title: string;
|
|
10006
|
+
description: string;
|
|
10007
|
+
sourceCreatedAt: string | unknown;
|
|
10008
|
+
sourceUpdatedAt: string | unknown;
|
|
10009
|
+
fields: unknown;
|
|
10010
|
+
};
|
|
10011
|
+
path?: never;
|
|
10012
|
+
query?: never;
|
|
10013
|
+
url: '/api/work-items';
|
|
10014
|
+
};
|
|
10015
|
+
export type PostApiWorkItemsErrors = {
|
|
10016
|
+
/**
|
|
10017
|
+
* Response for status 400
|
|
10018
|
+
*/
|
|
10019
|
+
400: {
|
|
10020
|
+
type: string;
|
|
10021
|
+
title: string;
|
|
10022
|
+
status: number;
|
|
10023
|
+
detail?: string;
|
|
10024
|
+
instance?: string;
|
|
10025
|
+
code?: string;
|
|
10026
|
+
errors?: Array<{
|
|
10027
|
+
path: string;
|
|
10028
|
+
message: string;
|
|
10029
|
+
summary?: string;
|
|
10030
|
+
}>;
|
|
10031
|
+
};
|
|
10032
|
+
/**
|
|
10033
|
+
* Response for status 401
|
|
10034
|
+
*/
|
|
10035
|
+
401: {
|
|
10036
|
+
type: string;
|
|
10037
|
+
title: string;
|
|
10038
|
+
status: number;
|
|
10039
|
+
detail?: string;
|
|
10040
|
+
instance?: string;
|
|
10041
|
+
code?: string;
|
|
10042
|
+
errors?: Array<{
|
|
10043
|
+
path: string;
|
|
10044
|
+
message: string;
|
|
10045
|
+
summary?: string;
|
|
10046
|
+
}>;
|
|
10047
|
+
};
|
|
10048
|
+
/**
|
|
10049
|
+
* Response for status 403
|
|
10050
|
+
*/
|
|
10051
|
+
403: {
|
|
10052
|
+
type: string;
|
|
10053
|
+
title: string;
|
|
10054
|
+
status: number;
|
|
10055
|
+
detail?: string;
|
|
10056
|
+
instance?: string;
|
|
10057
|
+
code?: string;
|
|
10058
|
+
errors?: Array<{
|
|
10059
|
+
path: string;
|
|
10060
|
+
message: string;
|
|
10061
|
+
summary?: string;
|
|
10062
|
+
}>;
|
|
10063
|
+
};
|
|
10064
|
+
/**
|
|
10065
|
+
* Response for status 404
|
|
10066
|
+
*/
|
|
10067
|
+
404: {
|
|
10068
|
+
type: string;
|
|
10069
|
+
title: string;
|
|
10070
|
+
status: number;
|
|
10071
|
+
detail?: string;
|
|
10072
|
+
instance?: string;
|
|
10073
|
+
code?: string;
|
|
10074
|
+
errors?: Array<{
|
|
10075
|
+
path: string;
|
|
10076
|
+
message: string;
|
|
10077
|
+
summary?: string;
|
|
10078
|
+
}>;
|
|
10079
|
+
};
|
|
10080
|
+
/**
|
|
10081
|
+
* Response for status 409
|
|
10082
|
+
*/
|
|
10083
|
+
409: {
|
|
10084
|
+
type: string;
|
|
10085
|
+
title: string;
|
|
10086
|
+
status: number;
|
|
10087
|
+
detail?: string;
|
|
10088
|
+
instance?: string;
|
|
10089
|
+
code?: string;
|
|
10090
|
+
errors?: Array<{
|
|
10091
|
+
path: string;
|
|
10092
|
+
message: string;
|
|
10093
|
+
summary?: string;
|
|
10094
|
+
}>;
|
|
10095
|
+
};
|
|
10096
|
+
/**
|
|
10097
|
+
* Response for status 422
|
|
10098
|
+
*/
|
|
10099
|
+
422: {
|
|
10100
|
+
type: string;
|
|
10101
|
+
title: string;
|
|
10102
|
+
status: number;
|
|
10103
|
+
detail?: string;
|
|
10104
|
+
instance?: string;
|
|
10105
|
+
code?: string;
|
|
10106
|
+
errors?: Array<{
|
|
10107
|
+
path: string;
|
|
10108
|
+
message: string;
|
|
10109
|
+
summary?: string;
|
|
10110
|
+
}>;
|
|
10111
|
+
};
|
|
10112
|
+
/**
|
|
10113
|
+
* Response for status 500
|
|
10114
|
+
*/
|
|
10115
|
+
500: {
|
|
10116
|
+
type: string;
|
|
10117
|
+
title: string;
|
|
10118
|
+
status: number;
|
|
10119
|
+
detail?: string;
|
|
10120
|
+
instance?: string;
|
|
10121
|
+
code?: string;
|
|
10122
|
+
errors?: Array<{
|
|
10123
|
+
path: string;
|
|
10124
|
+
message: string;
|
|
10125
|
+
summary?: string;
|
|
10126
|
+
}>;
|
|
10127
|
+
};
|
|
10128
|
+
};
|
|
10129
|
+
export type PostApiWorkItemsError = PostApiWorkItemsErrors[keyof PostApiWorkItemsErrors];
|
|
10130
|
+
export type PostApiWorkItemsResponses = {
|
|
10131
|
+
/**
|
|
10132
|
+
* Response for status 200
|
|
10133
|
+
*/
|
|
10134
|
+
200: {
|
|
10135
|
+
id: string;
|
|
10136
|
+
projectId: string;
|
|
10137
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10138
|
+
platformId?: string | unknown;
|
|
10139
|
+
platformKey: string;
|
|
10140
|
+
url?: string | unknown;
|
|
10141
|
+
title: string;
|
|
10142
|
+
description: string;
|
|
10143
|
+
sourceCreatedAt: string | unknown;
|
|
10144
|
+
sourceUpdatedAt: string | unknown;
|
|
10145
|
+
fields: unknown;
|
|
10146
|
+
createdByUserId: string | unknown;
|
|
10147
|
+
createdByUsername: string | unknown;
|
|
10148
|
+
createdByImage: string | unknown;
|
|
10149
|
+
parentWorkItemId: string | unknown;
|
|
10150
|
+
createdAt: string;
|
|
10151
|
+
updatedAt: string;
|
|
10152
|
+
};
|
|
10153
|
+
};
|
|
10154
|
+
export type PostApiWorkItemsResponse = PostApiWorkItemsResponses[keyof PostApiWorkItemsResponses];
|
|
10155
|
+
export type PutApiWorkItemsData = {
|
|
10156
|
+
body: {
|
|
10157
|
+
projectId: string;
|
|
10158
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10159
|
+
platformId?: string | unknown;
|
|
10160
|
+
platformKey: string;
|
|
10161
|
+
url?: string | unknown;
|
|
10162
|
+
title: string;
|
|
10163
|
+
description: string;
|
|
10164
|
+
sourceCreatedAt: string | unknown;
|
|
10165
|
+
sourceUpdatedAt: string | unknown;
|
|
10166
|
+
fields: unknown;
|
|
10167
|
+
};
|
|
10168
|
+
path?: never;
|
|
10169
|
+
query?: never;
|
|
10170
|
+
url: '/api/work-items';
|
|
10171
|
+
};
|
|
10172
|
+
export type PutApiWorkItemsErrors = {
|
|
10173
|
+
/**
|
|
10174
|
+
* Response for status 400
|
|
10175
|
+
*/
|
|
10176
|
+
400: {
|
|
10177
|
+
type: string;
|
|
10178
|
+
title: string;
|
|
10179
|
+
status: number;
|
|
10180
|
+
detail?: string;
|
|
10181
|
+
instance?: string;
|
|
10182
|
+
code?: string;
|
|
10183
|
+
errors?: Array<{
|
|
10184
|
+
path: string;
|
|
10185
|
+
message: string;
|
|
10186
|
+
summary?: string;
|
|
10187
|
+
}>;
|
|
10188
|
+
};
|
|
10189
|
+
/**
|
|
10190
|
+
* Response for status 401
|
|
10191
|
+
*/
|
|
10192
|
+
401: {
|
|
10193
|
+
type: string;
|
|
10194
|
+
title: string;
|
|
10195
|
+
status: number;
|
|
10196
|
+
detail?: string;
|
|
10197
|
+
instance?: string;
|
|
10198
|
+
code?: string;
|
|
10199
|
+
errors?: Array<{
|
|
10200
|
+
path: string;
|
|
10201
|
+
message: string;
|
|
10202
|
+
summary?: string;
|
|
10203
|
+
}>;
|
|
10204
|
+
};
|
|
10205
|
+
/**
|
|
10206
|
+
* Response for status 403
|
|
10207
|
+
*/
|
|
10208
|
+
403: {
|
|
10209
|
+
type: string;
|
|
10210
|
+
title: string;
|
|
10211
|
+
status: number;
|
|
10212
|
+
detail?: string;
|
|
10213
|
+
instance?: string;
|
|
10214
|
+
code?: string;
|
|
10215
|
+
errors?: Array<{
|
|
10216
|
+
path: string;
|
|
10217
|
+
message: string;
|
|
10218
|
+
summary?: string;
|
|
10219
|
+
}>;
|
|
10220
|
+
};
|
|
10221
|
+
/**
|
|
10222
|
+
* Response for status 404
|
|
10223
|
+
*/
|
|
10224
|
+
404: {
|
|
10225
|
+
type: string;
|
|
10226
|
+
title: string;
|
|
10227
|
+
status: number;
|
|
10228
|
+
detail?: string;
|
|
10229
|
+
instance?: string;
|
|
10230
|
+
code?: string;
|
|
10231
|
+
errors?: Array<{
|
|
10232
|
+
path: string;
|
|
10233
|
+
message: string;
|
|
10234
|
+
summary?: string;
|
|
10235
|
+
}>;
|
|
10236
|
+
};
|
|
10237
|
+
/**
|
|
10238
|
+
* Response for status 422
|
|
10239
|
+
*/
|
|
10240
|
+
422: {
|
|
10241
|
+
type: string;
|
|
10242
|
+
title: string;
|
|
10243
|
+
status: number;
|
|
10244
|
+
detail?: string;
|
|
10245
|
+
instance?: string;
|
|
10246
|
+
code?: string;
|
|
10247
|
+
errors?: Array<{
|
|
10248
|
+
path: string;
|
|
10249
|
+
message: string;
|
|
10250
|
+
summary?: string;
|
|
10251
|
+
}>;
|
|
10252
|
+
};
|
|
10253
|
+
/**
|
|
10254
|
+
* Response for status 500
|
|
10255
|
+
*/
|
|
10256
|
+
500: {
|
|
10257
|
+
type: string;
|
|
10258
|
+
title: string;
|
|
10259
|
+
status: number;
|
|
10260
|
+
detail?: string;
|
|
10261
|
+
instance?: string;
|
|
10262
|
+
code?: string;
|
|
10263
|
+
errors?: Array<{
|
|
10264
|
+
path: string;
|
|
10265
|
+
message: string;
|
|
10266
|
+
summary?: string;
|
|
10267
|
+
}>;
|
|
10268
|
+
};
|
|
10269
|
+
};
|
|
10270
|
+
export type PutApiWorkItemsError = PutApiWorkItemsErrors[keyof PutApiWorkItemsErrors];
|
|
10271
|
+
export type PutApiWorkItemsResponses = {
|
|
10272
|
+
/**
|
|
10273
|
+
* Response for status 200
|
|
10274
|
+
*/
|
|
10275
|
+
200: {
|
|
10276
|
+
id: string;
|
|
10277
|
+
projectId: string;
|
|
10278
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10279
|
+
platformId?: string | unknown;
|
|
10280
|
+
platformKey: string;
|
|
10281
|
+
url?: string | unknown;
|
|
10282
|
+
title: string;
|
|
10283
|
+
description: string;
|
|
10284
|
+
sourceCreatedAt: string | unknown;
|
|
10285
|
+
sourceUpdatedAt: string | unknown;
|
|
10286
|
+
fields: unknown;
|
|
10287
|
+
createdByUserId: string | unknown;
|
|
10288
|
+
createdByUsername: string | unknown;
|
|
10289
|
+
createdByImage: string | unknown;
|
|
10290
|
+
parentWorkItemId: string | unknown;
|
|
10291
|
+
createdAt: string;
|
|
10292
|
+
updatedAt: string;
|
|
10293
|
+
};
|
|
10294
|
+
};
|
|
10295
|
+
export type PutApiWorkItemsResponse = PutApiWorkItemsResponses[keyof PutApiWorkItemsResponses];
|
|
10296
|
+
export type DeleteApiWorkItemsBatchData = {
|
|
10297
|
+
body: {
|
|
10298
|
+
input: Array<string>;
|
|
10299
|
+
};
|
|
10300
|
+
path?: never;
|
|
10301
|
+
query?: never;
|
|
10302
|
+
url: '/api/work-items/batch';
|
|
10303
|
+
};
|
|
10304
|
+
export type DeleteApiWorkItemsBatchErrors = {
|
|
10305
|
+
/**
|
|
10306
|
+
* Response for status 401
|
|
10307
|
+
*/
|
|
10308
|
+
401: {
|
|
10309
|
+
type: string;
|
|
10310
|
+
title: string;
|
|
10311
|
+
status: number;
|
|
10312
|
+
detail?: string;
|
|
10313
|
+
instance?: string;
|
|
10314
|
+
code?: string;
|
|
10315
|
+
errors?: Array<{
|
|
10316
|
+
path: string;
|
|
10317
|
+
message: string;
|
|
10318
|
+
summary?: string;
|
|
10319
|
+
}>;
|
|
10320
|
+
};
|
|
10321
|
+
/**
|
|
10322
|
+
* Response for status 403
|
|
10323
|
+
*/
|
|
10324
|
+
403: {
|
|
10325
|
+
type: string;
|
|
10326
|
+
title: string;
|
|
10327
|
+
status: number;
|
|
10328
|
+
detail?: string;
|
|
10329
|
+
instance?: string;
|
|
10330
|
+
code?: string;
|
|
10331
|
+
errors?: Array<{
|
|
10332
|
+
path: string;
|
|
10333
|
+
message: string;
|
|
10334
|
+
summary?: string;
|
|
10335
|
+
}>;
|
|
10336
|
+
};
|
|
10337
|
+
/**
|
|
10338
|
+
* Response for status 404
|
|
10339
|
+
*/
|
|
10340
|
+
404: {
|
|
10341
|
+
type: string;
|
|
10342
|
+
title: string;
|
|
10343
|
+
status: number;
|
|
10344
|
+
detail?: string;
|
|
10345
|
+
instance?: string;
|
|
10346
|
+
code?: string;
|
|
10347
|
+
errors?: Array<{
|
|
10348
|
+
path: string;
|
|
10349
|
+
message: string;
|
|
10350
|
+
summary?: string;
|
|
10351
|
+
}>;
|
|
10352
|
+
};
|
|
10353
|
+
/**
|
|
10354
|
+
* Response for status 422
|
|
10355
|
+
*/
|
|
10356
|
+
422: {
|
|
10357
|
+
type: string;
|
|
10358
|
+
title: string;
|
|
10359
|
+
status: number;
|
|
10360
|
+
detail?: string;
|
|
10361
|
+
instance?: string;
|
|
10362
|
+
code?: string;
|
|
10363
|
+
errors?: Array<{
|
|
10364
|
+
path: string;
|
|
10365
|
+
message: string;
|
|
10366
|
+
summary?: string;
|
|
10367
|
+
}>;
|
|
10368
|
+
};
|
|
10369
|
+
/**
|
|
10370
|
+
* Response for status 500
|
|
10371
|
+
*/
|
|
10372
|
+
500: {
|
|
10373
|
+
type: string;
|
|
10374
|
+
title: string;
|
|
10375
|
+
status: number;
|
|
10376
|
+
detail?: string;
|
|
10377
|
+
instance?: string;
|
|
10378
|
+
code?: string;
|
|
10379
|
+
errors?: Array<{
|
|
10380
|
+
path: string;
|
|
10381
|
+
message: string;
|
|
10382
|
+
summary?: string;
|
|
10383
|
+
}>;
|
|
10384
|
+
};
|
|
10385
|
+
};
|
|
10386
|
+
export type DeleteApiWorkItemsBatchError = DeleteApiWorkItemsBatchErrors[keyof DeleteApiWorkItemsBatchErrors];
|
|
10387
|
+
export type DeleteApiWorkItemsBatchResponses = {
|
|
10388
|
+
/**
|
|
10389
|
+
* Response for status 200
|
|
10390
|
+
*/
|
|
10391
|
+
200: number;
|
|
10392
|
+
};
|
|
10393
|
+
export type DeleteApiWorkItemsBatchResponse = DeleteApiWorkItemsBatchResponses[keyof DeleteApiWorkItemsBatchResponses];
|
|
10394
|
+
export type PostApiWorkItemsBatchData = {
|
|
10395
|
+
body: Array<{
|
|
10396
|
+
projectId: string;
|
|
10397
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10398
|
+
platformId?: string | unknown;
|
|
10399
|
+
platformKey: string;
|
|
10400
|
+
url?: string | unknown;
|
|
10401
|
+
title: string;
|
|
10402
|
+
description: string;
|
|
9269
10403
|
sourceCreatedAt: string | unknown;
|
|
9270
10404
|
sourceUpdatedAt: string | unknown;
|
|
9271
10405
|
fields: unknown;
|
|
9272
|
-
}
|
|
10406
|
+
}>;
|
|
9273
10407
|
path?: never;
|
|
9274
10408
|
query?: never;
|
|
9275
|
-
url: '/api/work-items';
|
|
10409
|
+
url: '/api/work-items/batch';
|
|
9276
10410
|
};
|
|
9277
|
-
export type
|
|
10411
|
+
export type PostApiWorkItemsBatchErrors = {
|
|
9278
10412
|
/**
|
|
9279
10413
|
* Response for status 400
|
|
9280
10414
|
*/
|
|
@@ -9388,12 +10522,12 @@ export type PostApiWorkItemsErrors = {
|
|
|
9388
10522
|
}>;
|
|
9389
10523
|
};
|
|
9390
10524
|
};
|
|
9391
|
-
export type
|
|
9392
|
-
export type
|
|
10525
|
+
export type PostApiWorkItemsBatchError = PostApiWorkItemsBatchErrors[keyof PostApiWorkItemsBatchErrors];
|
|
10526
|
+
export type PostApiWorkItemsBatchResponses = {
|
|
9393
10527
|
/**
|
|
9394
10528
|
* Response for status 200
|
|
9395
10529
|
*/
|
|
9396
|
-
200: {
|
|
10530
|
+
200: Array<{
|
|
9397
10531
|
id: string;
|
|
9398
10532
|
projectId: string;
|
|
9399
10533
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -9405,15 +10539,137 @@ export type PostApiWorkItemsResponses = {
|
|
|
9405
10539
|
sourceCreatedAt: string | unknown;
|
|
9406
10540
|
sourceUpdatedAt: string | unknown;
|
|
9407
10541
|
fields: unknown;
|
|
10542
|
+
createdByUserId: string | unknown;
|
|
9408
10543
|
createdByUsername: string | unknown;
|
|
9409
10544
|
createdByImage: string | unknown;
|
|
10545
|
+
parentWorkItemId: string | unknown;
|
|
9410
10546
|
createdAt: string;
|
|
9411
10547
|
updatedAt: string;
|
|
10548
|
+
}>;
|
|
10549
|
+
};
|
|
10550
|
+
export type PostApiWorkItemsBatchResponse = PostApiWorkItemsBatchResponses[keyof PostApiWorkItemsBatchResponses];
|
|
10551
|
+
export type PutApiWorkItemsBatchData = {
|
|
10552
|
+
body: Array<{
|
|
10553
|
+
projectId: string;
|
|
10554
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
10555
|
+
platformId?: string | unknown;
|
|
10556
|
+
platformKey: string;
|
|
10557
|
+
url?: string | unknown;
|
|
10558
|
+
title: string;
|
|
10559
|
+
description: string;
|
|
10560
|
+
sourceCreatedAt: string | unknown;
|
|
10561
|
+
sourceUpdatedAt: string | unknown;
|
|
10562
|
+
fields: unknown;
|
|
10563
|
+
}>;
|
|
10564
|
+
path?: never;
|
|
10565
|
+
query?: never;
|
|
10566
|
+
url: '/api/work-items/batch';
|
|
10567
|
+
};
|
|
10568
|
+
export type PutApiWorkItemsBatchErrors = {
|
|
10569
|
+
/**
|
|
10570
|
+
* Response for status 400
|
|
10571
|
+
*/
|
|
10572
|
+
400: {
|
|
10573
|
+
type: string;
|
|
10574
|
+
title: string;
|
|
10575
|
+
status: number;
|
|
10576
|
+
detail?: string;
|
|
10577
|
+
instance?: string;
|
|
10578
|
+
code?: string;
|
|
10579
|
+
errors?: Array<{
|
|
10580
|
+
path: string;
|
|
10581
|
+
message: string;
|
|
10582
|
+
summary?: string;
|
|
10583
|
+
}>;
|
|
10584
|
+
};
|
|
10585
|
+
/**
|
|
10586
|
+
* Response for status 401
|
|
10587
|
+
*/
|
|
10588
|
+
401: {
|
|
10589
|
+
type: string;
|
|
10590
|
+
title: string;
|
|
10591
|
+
status: number;
|
|
10592
|
+
detail?: string;
|
|
10593
|
+
instance?: string;
|
|
10594
|
+
code?: string;
|
|
10595
|
+
errors?: Array<{
|
|
10596
|
+
path: string;
|
|
10597
|
+
message: string;
|
|
10598
|
+
summary?: string;
|
|
10599
|
+
}>;
|
|
10600
|
+
};
|
|
10601
|
+
/**
|
|
10602
|
+
* Response for status 403
|
|
10603
|
+
*/
|
|
10604
|
+
403: {
|
|
10605
|
+
type: string;
|
|
10606
|
+
title: string;
|
|
10607
|
+
status: number;
|
|
10608
|
+
detail?: string;
|
|
10609
|
+
instance?: string;
|
|
10610
|
+
code?: string;
|
|
10611
|
+
errors?: Array<{
|
|
10612
|
+
path: string;
|
|
10613
|
+
message: string;
|
|
10614
|
+
summary?: string;
|
|
10615
|
+
}>;
|
|
10616
|
+
};
|
|
10617
|
+
/**
|
|
10618
|
+
* Response for status 404
|
|
10619
|
+
*/
|
|
10620
|
+
404: {
|
|
10621
|
+
type: string;
|
|
10622
|
+
title: string;
|
|
10623
|
+
status: number;
|
|
10624
|
+
detail?: string;
|
|
10625
|
+
instance?: string;
|
|
10626
|
+
code?: string;
|
|
10627
|
+
errors?: Array<{
|
|
10628
|
+
path: string;
|
|
10629
|
+
message: string;
|
|
10630
|
+
summary?: string;
|
|
10631
|
+
}>;
|
|
10632
|
+
};
|
|
10633
|
+
/**
|
|
10634
|
+
* Response for status 422
|
|
10635
|
+
*/
|
|
10636
|
+
422: {
|
|
10637
|
+
type: string;
|
|
10638
|
+
title: string;
|
|
10639
|
+
status: number;
|
|
10640
|
+
detail?: string;
|
|
10641
|
+
instance?: string;
|
|
10642
|
+
code?: string;
|
|
10643
|
+
errors?: Array<{
|
|
10644
|
+
path: string;
|
|
10645
|
+
message: string;
|
|
10646
|
+
summary?: string;
|
|
10647
|
+
}>;
|
|
10648
|
+
};
|
|
10649
|
+
/**
|
|
10650
|
+
* Response for status 500
|
|
10651
|
+
*/
|
|
10652
|
+
500: {
|
|
10653
|
+
type: string;
|
|
10654
|
+
title: string;
|
|
10655
|
+
status: number;
|
|
10656
|
+
detail?: string;
|
|
10657
|
+
instance?: string;
|
|
10658
|
+
code?: string;
|
|
10659
|
+
errors?: Array<{
|
|
10660
|
+
path: string;
|
|
10661
|
+
message: string;
|
|
10662
|
+
summary?: string;
|
|
10663
|
+
}>;
|
|
9412
10664
|
};
|
|
9413
10665
|
};
|
|
9414
|
-
export type
|
|
9415
|
-
export type
|
|
9416
|
-
|
|
10666
|
+
export type PutApiWorkItemsBatchError = PutApiWorkItemsBatchErrors[keyof PutApiWorkItemsBatchErrors];
|
|
10667
|
+
export type PutApiWorkItemsBatchResponses = {
|
|
10668
|
+
/**
|
|
10669
|
+
* Response for status 200
|
|
10670
|
+
*/
|
|
10671
|
+
200: Array<{
|
|
10672
|
+
id: string;
|
|
9417
10673
|
projectId: string;
|
|
9418
10674
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9419
10675
|
platformId?: string | unknown;
|
|
@@ -9424,12 +10680,26 @@ export type PutApiWorkItemsData = {
|
|
|
9424
10680
|
sourceCreatedAt: string | unknown;
|
|
9425
10681
|
sourceUpdatedAt: string | unknown;
|
|
9426
10682
|
fields: unknown;
|
|
10683
|
+
createdByUserId: string | unknown;
|
|
10684
|
+
createdByUsername: string | unknown;
|
|
10685
|
+
createdByImage: string | unknown;
|
|
10686
|
+
parentWorkItemId: string | unknown;
|
|
10687
|
+
createdAt: string;
|
|
10688
|
+
updatedAt: string;
|
|
10689
|
+
}>;
|
|
10690
|
+
};
|
|
10691
|
+
export type PutApiWorkItemsBatchResponse = PutApiWorkItemsBatchResponses[keyof PutApiWorkItemsBatchResponses];
|
|
10692
|
+
export type PatchApiWorkItemsByWorkItemIdParentData = {
|
|
10693
|
+
body: {
|
|
10694
|
+
parentWorkItemId: string | unknown;
|
|
10695
|
+
};
|
|
10696
|
+
path: {
|
|
10697
|
+
workItemId: string;
|
|
9427
10698
|
};
|
|
9428
|
-
path?: never;
|
|
9429
10699
|
query?: never;
|
|
9430
|
-
url: '/api/work-items';
|
|
10700
|
+
url: '/api/work-items/{workItemId}/parent';
|
|
9431
10701
|
};
|
|
9432
|
-
export type
|
|
10702
|
+
export type PatchApiWorkItemsByWorkItemIdParentErrors = {
|
|
9433
10703
|
/**
|
|
9434
10704
|
* Response for status 400
|
|
9435
10705
|
*/
|
|
@@ -9527,8 +10797,8 @@ export type PutApiWorkItemsErrors = {
|
|
|
9527
10797
|
}>;
|
|
9528
10798
|
};
|
|
9529
10799
|
};
|
|
9530
|
-
export type
|
|
9531
|
-
export type
|
|
10800
|
+
export type PatchApiWorkItemsByWorkItemIdParentError = PatchApiWorkItemsByWorkItemIdParentErrors[keyof PatchApiWorkItemsByWorkItemIdParentErrors];
|
|
10801
|
+
export type PatchApiWorkItemsByWorkItemIdParentResponses = {
|
|
9532
10802
|
/**
|
|
9533
10803
|
* Response for status 200
|
|
9534
10804
|
*/
|
|
@@ -9544,22 +10814,40 @@ export type PutApiWorkItemsResponses = {
|
|
|
9544
10814
|
sourceCreatedAt: string | unknown;
|
|
9545
10815
|
sourceUpdatedAt: string | unknown;
|
|
9546
10816
|
fields: unknown;
|
|
10817
|
+
createdByUserId: string | unknown;
|
|
9547
10818
|
createdByUsername: string | unknown;
|
|
9548
10819
|
createdByImage: string | unknown;
|
|
10820
|
+
parentWorkItemId: string | unknown;
|
|
9549
10821
|
createdAt: string;
|
|
9550
10822
|
updatedAt: string;
|
|
9551
10823
|
};
|
|
9552
10824
|
};
|
|
9553
|
-
export type
|
|
9554
|
-
export type
|
|
9555
|
-
body
|
|
9556
|
-
|
|
10825
|
+
export type PatchApiWorkItemsByWorkItemIdParentResponse = PatchApiWorkItemsByWorkItemIdParentResponses[keyof PatchApiWorkItemsByWorkItemIdParentResponses];
|
|
10826
|
+
export type GetApiWorkItemCommentsData = {
|
|
10827
|
+
body?: never;
|
|
10828
|
+
path?: never;
|
|
10829
|
+
query: {
|
|
10830
|
+
workItemId: string;
|
|
10831
|
+
};
|
|
10832
|
+
url: '/api/work-item-comments';
|
|
10833
|
+
};
|
|
10834
|
+
export type GetApiWorkItemCommentsErrors = {
|
|
10835
|
+
/**
|
|
10836
|
+
* Response for status 400
|
|
10837
|
+
*/
|
|
10838
|
+
400: {
|
|
10839
|
+
type: string;
|
|
10840
|
+
title: string;
|
|
10841
|
+
status: number;
|
|
10842
|
+
detail?: string;
|
|
10843
|
+
instance?: string;
|
|
10844
|
+
code?: string;
|
|
10845
|
+
errors?: Array<{
|
|
10846
|
+
path: string;
|
|
10847
|
+
message: string;
|
|
10848
|
+
summary?: string;
|
|
10849
|
+
}>;
|
|
9557
10850
|
};
|
|
9558
|
-
path?: never;
|
|
9559
|
-
query?: never;
|
|
9560
|
-
url: '/api/work-items/batch';
|
|
9561
|
-
};
|
|
9562
|
-
export type DeleteApiWorkItemsBatchErrors = {
|
|
9563
10851
|
/**
|
|
9564
10852
|
* Response for status 401
|
|
9565
10853
|
*/
|
|
@@ -9641,32 +10929,35 @@ export type DeleteApiWorkItemsBatchErrors = {
|
|
|
9641
10929
|
}>;
|
|
9642
10930
|
};
|
|
9643
10931
|
};
|
|
9644
|
-
export type
|
|
9645
|
-
export type
|
|
10932
|
+
export type GetApiWorkItemCommentsError = GetApiWorkItemCommentsErrors[keyof GetApiWorkItemCommentsErrors];
|
|
10933
|
+
export type GetApiWorkItemCommentsResponses = {
|
|
9646
10934
|
/**
|
|
9647
10935
|
* Response for status 200
|
|
9648
10936
|
*/
|
|
9649
|
-
200:
|
|
9650
|
-
|
|
9651
|
-
export type DeleteApiWorkItemsBatchResponse = DeleteApiWorkItemsBatchResponses[keyof DeleteApiWorkItemsBatchResponses];
|
|
9652
|
-
export type PostApiWorkItemsBatchData = {
|
|
9653
|
-
body: Array<{
|
|
10937
|
+
200: Array<{
|
|
10938
|
+
id: string;
|
|
9654
10939
|
projectId: string;
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
fields: unknown;
|
|
10940
|
+
workItemId: string;
|
|
10941
|
+
authorUserId: string;
|
|
10942
|
+
authorUsername: string | unknown;
|
|
10943
|
+
authorImage: string | unknown;
|
|
10944
|
+
body: string;
|
|
10945
|
+
isPinned: boolean;
|
|
10946
|
+
createdAt: string;
|
|
10947
|
+
updatedAt: string;
|
|
9664
10948
|
}>;
|
|
10949
|
+
};
|
|
10950
|
+
export type GetApiWorkItemCommentsResponse = GetApiWorkItemCommentsResponses[keyof GetApiWorkItemCommentsResponses];
|
|
10951
|
+
export type PostApiWorkItemCommentsData = {
|
|
10952
|
+
body: {
|
|
10953
|
+
workItemId: string;
|
|
10954
|
+
body: string;
|
|
10955
|
+
};
|
|
9665
10956
|
path?: never;
|
|
9666
10957
|
query?: never;
|
|
9667
|
-
url: '/api/work-
|
|
10958
|
+
url: '/api/work-item-comments';
|
|
9668
10959
|
};
|
|
9669
|
-
export type
|
|
10960
|
+
export type PostApiWorkItemCommentsErrors = {
|
|
9670
10961
|
/**
|
|
9671
10962
|
* Response for status 400
|
|
9672
10963
|
*/
|
|
@@ -9731,22 +11022,6 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
9731
11022
|
summary?: string;
|
|
9732
11023
|
}>;
|
|
9733
11024
|
};
|
|
9734
|
-
/**
|
|
9735
|
-
* Response for status 409
|
|
9736
|
-
*/
|
|
9737
|
-
409: {
|
|
9738
|
-
type: string;
|
|
9739
|
-
title: string;
|
|
9740
|
-
status: number;
|
|
9741
|
-
detail?: string;
|
|
9742
|
-
instance?: string;
|
|
9743
|
-
code?: string;
|
|
9744
|
-
errors?: Array<{
|
|
9745
|
-
path: string;
|
|
9746
|
-
message: string;
|
|
9747
|
-
summary?: string;
|
|
9748
|
-
}>;
|
|
9749
|
-
};
|
|
9750
11025
|
/**
|
|
9751
11026
|
* Response for status 422
|
|
9752
11027
|
*/
|
|
@@ -9780,48 +11055,34 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
9780
11055
|
}>;
|
|
9781
11056
|
};
|
|
9782
11057
|
};
|
|
9783
|
-
export type
|
|
9784
|
-
export type
|
|
11058
|
+
export type PostApiWorkItemCommentsError = PostApiWorkItemCommentsErrors[keyof PostApiWorkItemCommentsErrors];
|
|
11059
|
+
export type PostApiWorkItemCommentsResponses = {
|
|
9785
11060
|
/**
|
|
9786
11061
|
* Response for status 200
|
|
9787
11062
|
*/
|
|
9788
|
-
200:
|
|
11063
|
+
200: {
|
|
9789
11064
|
id: string;
|
|
9790
11065
|
projectId: string;
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
sourceCreatedAt: string | unknown;
|
|
9798
|
-
sourceUpdatedAt: string | unknown;
|
|
9799
|
-
fields: unknown;
|
|
9800
|
-
createdByUsername: string | unknown;
|
|
9801
|
-
createdByImage: string | unknown;
|
|
11066
|
+
workItemId: string;
|
|
11067
|
+
authorUserId: string;
|
|
11068
|
+
authorUsername: string | unknown;
|
|
11069
|
+
authorImage: string | unknown;
|
|
11070
|
+
body: string;
|
|
11071
|
+
isPinned: boolean;
|
|
9802
11072
|
createdAt: string;
|
|
9803
11073
|
updatedAt: string;
|
|
9804
|
-
}
|
|
11074
|
+
};
|
|
9805
11075
|
};
|
|
9806
|
-
export type
|
|
9807
|
-
export type
|
|
9808
|
-
body
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
platformKey: string;
|
|
9813
|
-
url?: string | unknown;
|
|
9814
|
-
title: string;
|
|
9815
|
-
description: string;
|
|
9816
|
-
sourceCreatedAt: string | unknown;
|
|
9817
|
-
sourceUpdatedAt: string | unknown;
|
|
9818
|
-
fields: unknown;
|
|
9819
|
-
}>;
|
|
9820
|
-
path?: never;
|
|
11076
|
+
export type PostApiWorkItemCommentsResponse = PostApiWorkItemCommentsResponses[keyof PostApiWorkItemCommentsResponses];
|
|
11077
|
+
export type DeleteApiWorkItemCommentsByCommentIdData = {
|
|
11078
|
+
body?: never;
|
|
11079
|
+
path: {
|
|
11080
|
+
commentId: string;
|
|
11081
|
+
};
|
|
9821
11082
|
query?: never;
|
|
9822
|
-
url: '/api/work-
|
|
11083
|
+
url: '/api/work-item-comments/{commentId}';
|
|
9823
11084
|
};
|
|
9824
|
-
export type
|
|
11085
|
+
export type DeleteApiWorkItemCommentsByCommentIdErrors = {
|
|
9825
11086
|
/**
|
|
9826
11087
|
* Response for status 400
|
|
9827
11088
|
*/
|
|
@@ -9919,39 +11180,25 @@ export type PutApiWorkItemsBatchErrors = {
|
|
|
9919
11180
|
}>;
|
|
9920
11181
|
};
|
|
9921
11182
|
};
|
|
9922
|
-
export type
|
|
9923
|
-
export type
|
|
11183
|
+
export type DeleteApiWorkItemCommentsByCommentIdError = DeleteApiWorkItemCommentsByCommentIdErrors[keyof DeleteApiWorkItemCommentsByCommentIdErrors];
|
|
11184
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponses = {
|
|
9924
11185
|
/**
|
|
9925
11186
|
* Response for status 200
|
|
9926
11187
|
*/
|
|
9927
|
-
200:
|
|
9928
|
-
id: string;
|
|
9929
|
-
projectId: string;
|
|
9930
|
-
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9931
|
-
platformId?: string | unknown;
|
|
9932
|
-
platformKey: string;
|
|
9933
|
-
url?: string | unknown;
|
|
9934
|
-
title: string;
|
|
9935
|
-
description: string;
|
|
9936
|
-
sourceCreatedAt: string | unknown;
|
|
9937
|
-
sourceUpdatedAt: string | unknown;
|
|
9938
|
-
fields: unknown;
|
|
9939
|
-
createdByUsername: string | unknown;
|
|
9940
|
-
createdByImage: string | unknown;
|
|
9941
|
-
createdAt: string;
|
|
9942
|
-
updatedAt: string;
|
|
9943
|
-
}>;
|
|
11188
|
+
200: number;
|
|
9944
11189
|
};
|
|
9945
|
-
export type
|
|
9946
|
-
export type
|
|
9947
|
-
body
|
|
9948
|
-
|
|
9949
|
-
query: {
|
|
9950
|
-
workItemId: string;
|
|
11190
|
+
export type DeleteApiWorkItemCommentsByCommentIdResponse = DeleteApiWorkItemCommentsByCommentIdResponses[keyof DeleteApiWorkItemCommentsByCommentIdResponses];
|
|
11191
|
+
export type PatchApiWorkItemCommentsByCommentIdData = {
|
|
11192
|
+
body: {
|
|
11193
|
+
body: string;
|
|
9951
11194
|
};
|
|
9952
|
-
|
|
11195
|
+
path: {
|
|
11196
|
+
commentId: string;
|
|
11197
|
+
};
|
|
11198
|
+
query?: never;
|
|
11199
|
+
url: '/api/work-item-comments/{commentId}';
|
|
9953
11200
|
};
|
|
9954
|
-
export type
|
|
11201
|
+
export type PatchApiWorkItemCommentsByCommentIdErrors = {
|
|
9955
11202
|
/**
|
|
9956
11203
|
* Response for status 400
|
|
9957
11204
|
*/
|
|
@@ -10049,12 +11296,12 @@ export type GetApiWorkItemCommentsErrors = {
|
|
|
10049
11296
|
}>;
|
|
10050
11297
|
};
|
|
10051
11298
|
};
|
|
10052
|
-
export type
|
|
10053
|
-
export type
|
|
11299
|
+
export type PatchApiWorkItemCommentsByCommentIdError = PatchApiWorkItemCommentsByCommentIdErrors[keyof PatchApiWorkItemCommentsByCommentIdErrors];
|
|
11300
|
+
export type PatchApiWorkItemCommentsByCommentIdResponses = {
|
|
10054
11301
|
/**
|
|
10055
11302
|
* Response for status 200
|
|
10056
11303
|
*/
|
|
10057
|
-
200:
|
|
11304
|
+
200: {
|
|
10058
11305
|
id: string;
|
|
10059
11306
|
projectId: string;
|
|
10060
11307
|
workItemId: string;
|
|
@@ -10065,19 +11312,20 @@ export type GetApiWorkItemCommentsResponses = {
|
|
|
10065
11312
|
isPinned: boolean;
|
|
10066
11313
|
createdAt: string;
|
|
10067
11314
|
updatedAt: string;
|
|
10068
|
-
}
|
|
11315
|
+
};
|
|
10069
11316
|
};
|
|
10070
|
-
export type
|
|
10071
|
-
export type
|
|
11317
|
+
export type PatchApiWorkItemCommentsByCommentIdResponse = PatchApiWorkItemCommentsByCommentIdResponses[keyof PatchApiWorkItemCommentsByCommentIdResponses];
|
|
11318
|
+
export type PostApiWorkItemCommentsByCommentIdPinData = {
|
|
10072
11319
|
body: {
|
|
10073
|
-
|
|
10074
|
-
|
|
11320
|
+
isPinned: boolean;
|
|
11321
|
+
};
|
|
11322
|
+
path: {
|
|
11323
|
+
commentId: string;
|
|
10075
11324
|
};
|
|
10076
|
-
path?: never;
|
|
10077
11325
|
query?: never;
|
|
10078
|
-
url: '/api/work-item-comments';
|
|
11326
|
+
url: '/api/work-item-comments/{commentId}/pin';
|
|
10079
11327
|
};
|
|
10080
|
-
export type
|
|
11328
|
+
export type PostApiWorkItemCommentsByCommentIdPinErrors = {
|
|
10081
11329
|
/**
|
|
10082
11330
|
* Response for status 400
|
|
10083
11331
|
*/
|
|
@@ -10175,8 +11423,8 @@ export type PostApiWorkItemCommentsErrors = {
|
|
|
10175
11423
|
}>;
|
|
10176
11424
|
};
|
|
10177
11425
|
};
|
|
10178
|
-
export type
|
|
10179
|
-
export type
|
|
11426
|
+
export type PostApiWorkItemCommentsByCommentIdPinError = PostApiWorkItemCommentsByCommentIdPinErrors[keyof PostApiWorkItemCommentsByCommentIdPinErrors];
|
|
11427
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponses = {
|
|
10180
11428
|
/**
|
|
10181
11429
|
* Response for status 200
|
|
10182
11430
|
*/
|
|
@@ -10193,16 +11441,16 @@ export type PostApiWorkItemCommentsResponses = {
|
|
|
10193
11441
|
updatedAt: string;
|
|
10194
11442
|
};
|
|
10195
11443
|
};
|
|
10196
|
-
export type
|
|
10197
|
-
export type
|
|
11444
|
+
export type PostApiWorkItemCommentsByCommentIdPinResponse = PostApiWorkItemCommentsByCommentIdPinResponses[keyof PostApiWorkItemCommentsByCommentIdPinResponses];
|
|
11445
|
+
export type GetApiWorkItemBlocksData = {
|
|
10198
11446
|
body?: never;
|
|
10199
|
-
path
|
|
10200
|
-
|
|
11447
|
+
path?: never;
|
|
11448
|
+
query: {
|
|
11449
|
+
workItemId: string;
|
|
10201
11450
|
};
|
|
10202
|
-
|
|
10203
|
-
url: '/api/work-item-comments/{commentId}';
|
|
11451
|
+
url: '/api/work-item-blocks';
|
|
10204
11452
|
};
|
|
10205
|
-
export type
|
|
11453
|
+
export type GetApiWorkItemBlocksErrors = {
|
|
10206
11454
|
/**
|
|
10207
11455
|
* Response for status 400
|
|
10208
11456
|
*/
|
|
@@ -10300,25 +11548,41 @@ export type DeleteApiWorkItemCommentsByCommentIdErrors = {
|
|
|
10300
11548
|
}>;
|
|
10301
11549
|
};
|
|
10302
11550
|
};
|
|
10303
|
-
export type
|
|
10304
|
-
export type
|
|
11551
|
+
export type GetApiWorkItemBlocksError = GetApiWorkItemBlocksErrors[keyof GetApiWorkItemBlocksErrors];
|
|
11552
|
+
export type GetApiWorkItemBlocksResponses = {
|
|
10305
11553
|
/**
|
|
10306
11554
|
* Response for status 200
|
|
10307
11555
|
*/
|
|
10308
|
-
200:
|
|
11556
|
+
200: {
|
|
11557
|
+
blockedBy: Array<{
|
|
11558
|
+
id: string;
|
|
11559
|
+
projectId: string;
|
|
11560
|
+
blockedWorkItemId: string;
|
|
11561
|
+
blockingWorkItemId: string;
|
|
11562
|
+
createdByUserId: string | unknown;
|
|
11563
|
+
createdAt: string;
|
|
11564
|
+
}>;
|
|
11565
|
+
blocking: Array<{
|
|
11566
|
+
id: string;
|
|
11567
|
+
projectId: string;
|
|
11568
|
+
blockedWorkItemId: string;
|
|
11569
|
+
blockingWorkItemId: string;
|
|
11570
|
+
createdByUserId: string | unknown;
|
|
11571
|
+
createdAt: string;
|
|
11572
|
+
}>;
|
|
11573
|
+
};
|
|
10309
11574
|
};
|
|
10310
|
-
export type
|
|
10311
|
-
export type
|
|
11575
|
+
export type GetApiWorkItemBlocksResponse = GetApiWorkItemBlocksResponses[keyof GetApiWorkItemBlocksResponses];
|
|
11576
|
+
export type PostApiWorkItemBlocksData = {
|
|
10312
11577
|
body: {
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
path: {
|
|
10316
|
-
commentId: string;
|
|
11578
|
+
blockedWorkItemId: string;
|
|
11579
|
+
blockingWorkItemId: string;
|
|
10317
11580
|
};
|
|
11581
|
+
path?: never;
|
|
10318
11582
|
query?: never;
|
|
10319
|
-
url: '/api/work-item-
|
|
11583
|
+
url: '/api/work-item-blocks';
|
|
10320
11584
|
};
|
|
10321
|
-
export type
|
|
11585
|
+
export type PostApiWorkItemBlocksErrors = {
|
|
10322
11586
|
/**
|
|
10323
11587
|
* Response for status 400
|
|
10324
11588
|
*/
|
|
@@ -10416,36 +11680,30 @@ export type PatchApiWorkItemCommentsByCommentIdErrors = {
|
|
|
10416
11680
|
}>;
|
|
10417
11681
|
};
|
|
10418
11682
|
};
|
|
10419
|
-
export type
|
|
10420
|
-
export type
|
|
11683
|
+
export type PostApiWorkItemBlocksError = PostApiWorkItemBlocksErrors[keyof PostApiWorkItemBlocksErrors];
|
|
11684
|
+
export type PostApiWorkItemBlocksResponses = {
|
|
10421
11685
|
/**
|
|
10422
11686
|
* Response for status 200
|
|
10423
11687
|
*/
|
|
10424
11688
|
200: {
|
|
10425
11689
|
id: string;
|
|
10426
11690
|
projectId: string;
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
authorImage: string | unknown;
|
|
10431
|
-
body: string;
|
|
10432
|
-
isPinned: boolean;
|
|
11691
|
+
blockedWorkItemId: string;
|
|
11692
|
+
blockingWorkItemId: string;
|
|
11693
|
+
createdByUserId: string | unknown;
|
|
10433
11694
|
createdAt: string;
|
|
10434
|
-
updatedAt: string;
|
|
10435
11695
|
};
|
|
10436
11696
|
};
|
|
10437
|
-
export type
|
|
10438
|
-
export type
|
|
10439
|
-
body
|
|
10440
|
-
isPinned: boolean;
|
|
10441
|
-
};
|
|
11697
|
+
export type PostApiWorkItemBlocksResponse = PostApiWorkItemBlocksResponses[keyof PostApiWorkItemBlocksResponses];
|
|
11698
|
+
export type DeleteApiWorkItemBlocksByBlockIdData = {
|
|
11699
|
+
body?: never;
|
|
10442
11700
|
path: {
|
|
10443
|
-
|
|
11701
|
+
blockId: string;
|
|
10444
11702
|
};
|
|
10445
11703
|
query?: never;
|
|
10446
|
-
url: '/api/work-item-
|
|
11704
|
+
url: '/api/work-item-blocks/{blockId}';
|
|
10447
11705
|
};
|
|
10448
|
-
export type
|
|
11706
|
+
export type DeleteApiWorkItemBlocksByBlockIdErrors = {
|
|
10449
11707
|
/**
|
|
10450
11708
|
* Response for status 400
|
|
10451
11709
|
*/
|
|
@@ -10543,25 +11801,14 @@ export type PostApiWorkItemCommentsByCommentIdPinErrors = {
|
|
|
10543
11801
|
}>;
|
|
10544
11802
|
};
|
|
10545
11803
|
};
|
|
10546
|
-
export type
|
|
10547
|
-
export type
|
|
11804
|
+
export type DeleteApiWorkItemBlocksByBlockIdError = DeleteApiWorkItemBlocksByBlockIdErrors[keyof DeleteApiWorkItemBlocksByBlockIdErrors];
|
|
11805
|
+
export type DeleteApiWorkItemBlocksByBlockIdResponses = {
|
|
10548
11806
|
/**
|
|
10549
11807
|
* Response for status 200
|
|
10550
11808
|
*/
|
|
10551
|
-
200:
|
|
10552
|
-
id: string;
|
|
10553
|
-
projectId: string;
|
|
10554
|
-
workItemId: string;
|
|
10555
|
-
authorUserId: string;
|
|
10556
|
-
authorUsername: string | unknown;
|
|
10557
|
-
authorImage: string | unknown;
|
|
10558
|
-
body: string;
|
|
10559
|
-
isPinned: boolean;
|
|
10560
|
-
createdAt: string;
|
|
10561
|
-
updatedAt: string;
|
|
10562
|
-
};
|
|
11809
|
+
200: number;
|
|
10563
11810
|
};
|
|
10564
|
-
export type
|
|
11811
|
+
export type DeleteApiWorkItemBlocksByBlockIdResponse = DeleteApiWorkItemBlocksByBlockIdResponses[keyof DeleteApiWorkItemBlocksByBlockIdResponses];
|
|
10565
11812
|
export type GetApiProjectsByProjectIdContextEntriesData = {
|
|
10566
11813
|
body?: never;
|
|
10567
11814
|
path: {
|
|
@@ -12424,6 +13671,10 @@ export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses =
|
|
|
12424
13671
|
totalSeen: number;
|
|
12425
13672
|
totalUpserted: number;
|
|
12426
13673
|
}>;
|
|
13674
|
+
parentLinksApplied?: number;
|
|
13675
|
+
parentLinksSkipped?: number;
|
|
13676
|
+
blocksCreated?: number;
|
|
13677
|
+
blocksSkipped?: number;
|
|
12427
13678
|
};
|
|
12428
13679
|
};
|
|
12429
13680
|
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponse = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses];
|
|
@@ -12820,7 +14071,7 @@ export type PostApiProjectsFromGithubResponses = {
|
|
|
12820
14071
|
updatedAt: string;
|
|
12821
14072
|
}>;
|
|
12822
14073
|
defaultPipelineAssignment: {
|
|
12823
|
-
|
|
14074
|
+
pipelineDefinitionId: string;
|
|
12824
14075
|
rulesJson: {
|
|
12825
14076
|
rules: Array<{
|
|
12826
14077
|
conditions: {
|