@boboddy/sdk 0.1.12-alpha → 0.1.14-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +61 -22
- package/dist/definitions/pipelines/index.js +1361 -33
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +235 -44
- package/dist/definitions/steps/index.js +66 -25
- package/dist/definitions/steps/step-definitions-client.d.ts +9 -3
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/sdk.gen.d.ts +23 -11
- package/dist/generated/types.gen.d.ts +2002 -1291
- package/dist/index.js +125 -63
- package/package.json +2 -2
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type
|
|
4
|
+
export type DeleteApiAuth__Data = {
|
|
5
5
|
body?: never;
|
|
6
6
|
path?: never;
|
|
7
7
|
query?: never;
|
|
8
|
-
url: '/api/
|
|
8
|
+
url: '/api/auth/*';
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type GetApiAuth__Data = {
|
|
11
11
|
body?: never;
|
|
12
12
|
path?: never;
|
|
13
13
|
query?: never;
|
|
14
|
-
url: '/api/
|
|
14
|
+
url: '/api/auth/*';
|
|
15
15
|
};
|
|
16
|
-
export type
|
|
16
|
+
export type HeadApiAuth__Data = {
|
|
17
17
|
body?: never;
|
|
18
18
|
path?: never;
|
|
19
19
|
query?: never;
|
|
20
|
-
url: '/api/
|
|
20
|
+
url: '/api/auth/*';
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type OptionsApiAuth__Data = {
|
|
23
23
|
body?: never;
|
|
24
24
|
path?: never;
|
|
25
25
|
query?: never;
|
|
26
|
-
url: '/api/
|
|
26
|
+
url: '/api/auth/*';
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
28
|
+
export type PatchApiAuth__Data = {
|
|
29
29
|
body?: never;
|
|
30
30
|
path?: never;
|
|
31
31
|
query?: never;
|
|
32
|
-
url: '/api/
|
|
32
|
+
url: '/api/auth/*';
|
|
33
33
|
};
|
|
34
|
-
export type
|
|
34
|
+
export type PostApiAuth__Data = {
|
|
35
35
|
body?: never;
|
|
36
36
|
path?: never;
|
|
37
37
|
query?: never;
|
|
38
|
-
url: '/api/
|
|
38
|
+
url: '/api/auth/*';
|
|
39
39
|
};
|
|
40
|
-
export type
|
|
40
|
+
export type PutApiAuth__Data = {
|
|
41
41
|
body?: never;
|
|
42
42
|
path?: never;
|
|
43
43
|
query?: never;
|
|
44
|
-
url: '/api/
|
|
44
|
+
url: '/api/auth/*';
|
|
45
45
|
};
|
|
46
|
-
export type
|
|
46
|
+
export type TraceApiAuth__Data = {
|
|
47
47
|
body?: never;
|
|
48
48
|
path?: never;
|
|
49
49
|
query?: never;
|
|
50
|
-
url: '/api/
|
|
50
|
+
url: '/api/auth/*';
|
|
51
51
|
};
|
|
52
52
|
export type GetApiProjectsData = {
|
|
53
53
|
body?: never;
|
|
@@ -919,19 +919,62 @@ export type PostApiStepDefinitionsResponses = {
|
|
|
919
919
|
};
|
|
920
920
|
};
|
|
921
921
|
export type PostApiStepDefinitionsResponse = PostApiStepDefinitionsResponses[keyof PostApiStepDefinitionsResponses];
|
|
922
|
-
export type
|
|
923
|
-
body
|
|
924
|
-
|
|
925
|
-
|
|
922
|
+
export type PutApiStepDefinitionsData = {
|
|
923
|
+
body: {
|
|
924
|
+
projectId: string;
|
|
925
|
+
key: string;
|
|
926
|
+
name: string;
|
|
927
|
+
description: string | unknown;
|
|
928
|
+
prompt: string | unknown;
|
|
929
|
+
version: number;
|
|
930
|
+
kind: 'built_in' | 'user_defined';
|
|
931
|
+
inputSchemaJson: unknown;
|
|
932
|
+
resultSchemaJson: unknown;
|
|
933
|
+
opencodeMcpJson?: {
|
|
934
|
+
[key: string]: {
|
|
935
|
+
type: string;
|
|
936
|
+
command: Array<string>;
|
|
937
|
+
environment?: {
|
|
938
|
+
[key: string]: string;
|
|
939
|
+
};
|
|
940
|
+
enabled?: boolean;
|
|
941
|
+
timeout?: number;
|
|
942
|
+
} | {
|
|
943
|
+
type: string;
|
|
944
|
+
url: string;
|
|
945
|
+
enabled?: boolean;
|
|
946
|
+
headers?: {
|
|
947
|
+
[key: string]: string;
|
|
948
|
+
};
|
|
949
|
+
oauth?: {
|
|
950
|
+
clientId?: string;
|
|
951
|
+
clientSecret?: string;
|
|
952
|
+
scope?: string;
|
|
953
|
+
redirectUri?: string;
|
|
954
|
+
} | boolean;
|
|
955
|
+
timeout?: number;
|
|
956
|
+
} | {
|
|
957
|
+
enabled: boolean;
|
|
958
|
+
};
|
|
959
|
+
} | unknown;
|
|
960
|
+
status: 'draft' | 'active' | 'archived';
|
|
961
|
+
signalExtractorDefinitions: Array<{
|
|
962
|
+
key: string;
|
|
963
|
+
sourcePath: string;
|
|
964
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
965
|
+
required: boolean;
|
|
966
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
967
|
+
}>;
|
|
926
968
|
};
|
|
969
|
+
path?: never;
|
|
927
970
|
query?: never;
|
|
928
|
-
url: '/api/step-definitions
|
|
971
|
+
url: '/api/step-definitions';
|
|
929
972
|
};
|
|
930
|
-
export type
|
|
973
|
+
export type PutApiStepDefinitionsErrors = {
|
|
931
974
|
/**
|
|
932
|
-
* Response for status
|
|
975
|
+
* Response for status 400
|
|
933
976
|
*/
|
|
934
|
-
|
|
977
|
+
400: {
|
|
935
978
|
type: string;
|
|
936
979
|
title: string;
|
|
937
980
|
status: number;
|
|
@@ -945,9 +988,9 @@ export type GetApiStepDefinitionsByStepDefinitionIdErrors = {
|
|
|
945
988
|
}>;
|
|
946
989
|
};
|
|
947
990
|
/**
|
|
948
|
-
* Response for status
|
|
991
|
+
* Response for status 401
|
|
949
992
|
*/
|
|
950
|
-
|
|
993
|
+
401: {
|
|
951
994
|
type: string;
|
|
952
995
|
title: string;
|
|
953
996
|
status: number;
|
|
@@ -961,9 +1004,9 @@ export type GetApiStepDefinitionsByStepDefinitionIdErrors = {
|
|
|
961
1004
|
}>;
|
|
962
1005
|
};
|
|
963
1006
|
/**
|
|
964
|
-
* Response for status
|
|
1007
|
+
* Response for status 403
|
|
965
1008
|
*/
|
|
966
|
-
|
|
1009
|
+
403: {
|
|
967
1010
|
type: string;
|
|
968
1011
|
title: string;
|
|
969
1012
|
status: number;
|
|
@@ -1009,8 +1052,8 @@ export type GetApiStepDefinitionsByStepDefinitionIdErrors = {
|
|
|
1009
1052
|
}>;
|
|
1010
1053
|
};
|
|
1011
1054
|
};
|
|
1012
|
-
export type
|
|
1013
|
-
export type
|
|
1055
|
+
export type PutApiStepDefinitionsError = PutApiStepDefinitionsErrors[keyof PutApiStepDefinitionsErrors];
|
|
1056
|
+
export type PutApiStepDefinitionsResponses = {
|
|
1014
1057
|
/**
|
|
1015
1058
|
* Response for status 200
|
|
1016
1059
|
*/
|
|
@@ -1067,61 +1110,16 @@ export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
1067
1110
|
updatedAt: string;
|
|
1068
1111
|
};
|
|
1069
1112
|
};
|
|
1070
|
-
export type
|
|
1071
|
-
export type
|
|
1072
|
-
body
|
|
1073
|
-
projectId: string;
|
|
1074
|
-
key: string;
|
|
1075
|
-
name: string;
|
|
1076
|
-
description: string | unknown;
|
|
1077
|
-
prompt: string | unknown;
|
|
1078
|
-
version: number;
|
|
1079
|
-
kind: 'built_in' | 'user_defined';
|
|
1080
|
-
inputSchemaJson: unknown;
|
|
1081
|
-
resultSchemaJson: unknown;
|
|
1082
|
-
opencodeMcpJson?: {
|
|
1083
|
-
[key: string]: {
|
|
1084
|
-
type: string;
|
|
1085
|
-
command: Array<string>;
|
|
1086
|
-
environment?: {
|
|
1087
|
-
[key: string]: string;
|
|
1088
|
-
};
|
|
1089
|
-
enabled?: boolean;
|
|
1090
|
-
timeout?: number;
|
|
1091
|
-
} | {
|
|
1092
|
-
type: string;
|
|
1093
|
-
url: string;
|
|
1094
|
-
enabled?: boolean;
|
|
1095
|
-
headers?: {
|
|
1096
|
-
[key: string]: string;
|
|
1097
|
-
};
|
|
1098
|
-
oauth?: {
|
|
1099
|
-
clientId?: string;
|
|
1100
|
-
clientSecret?: string;
|
|
1101
|
-
scope?: string;
|
|
1102
|
-
redirectUri?: string;
|
|
1103
|
-
} | boolean;
|
|
1104
|
-
timeout?: number;
|
|
1105
|
-
} | {
|
|
1106
|
-
enabled: boolean;
|
|
1107
|
-
};
|
|
1108
|
-
} | unknown;
|
|
1109
|
-
status: 'draft' | 'active' | 'archived';
|
|
1110
|
-
signalExtractorDefinitions: Array<{
|
|
1111
|
-
key: string;
|
|
1112
|
-
sourcePath: string;
|
|
1113
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
1114
|
-
required: boolean;
|
|
1115
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
1116
|
-
}>;
|
|
1117
|
-
};
|
|
1113
|
+
export type PutApiStepDefinitionsResponse = PutApiStepDefinitionsResponses[keyof PutApiStepDefinitionsResponses];
|
|
1114
|
+
export type GetApiStepDefinitionsByStepDefinitionIdData = {
|
|
1115
|
+
body?: never;
|
|
1118
1116
|
path: {
|
|
1119
1117
|
stepDefinitionId: string;
|
|
1120
1118
|
};
|
|
1121
1119
|
query?: never;
|
|
1122
1120
|
url: '/api/step-definitions/{stepDefinitionId}';
|
|
1123
1121
|
};
|
|
1124
|
-
export type
|
|
1122
|
+
export type GetApiStepDefinitionsByStepDefinitionIdErrors = {
|
|
1125
1123
|
/**
|
|
1126
1124
|
* Response for status 401
|
|
1127
1125
|
*/
|
|
@@ -1203,8 +1201,8 @@ export type PutApiStepDefinitionsByStepDefinitionIdErrors = {
|
|
|
1203
1201
|
}>;
|
|
1204
1202
|
};
|
|
1205
1203
|
};
|
|
1206
|
-
export type
|
|
1207
|
-
export type
|
|
1204
|
+
export type GetApiStepDefinitionsByStepDefinitionIdError = GetApiStepDefinitionsByStepDefinitionIdErrors[keyof GetApiStepDefinitionsByStepDefinitionIdErrors];
|
|
1205
|
+
export type GetApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
1208
1206
|
/**
|
|
1209
1207
|
* Response for status 200
|
|
1210
1208
|
*/
|
|
@@ -1261,7 +1259,7 @@ export type PutApiStepDefinitionsByStepDefinitionIdResponses = {
|
|
|
1261
1259
|
updatedAt: string;
|
|
1262
1260
|
};
|
|
1263
1261
|
};
|
|
1264
|
-
export type
|
|
1262
|
+
export type GetApiStepDefinitionsByStepDefinitionIdResponse = GetApiStepDefinitionsByStepDefinitionIdResponses[keyof GetApiStepDefinitionsByStepDefinitionIdResponses];
|
|
1265
1263
|
export type PutApiStepDefinitionsByStepDefinitionIdArchiveData = {
|
|
1266
1264
|
body?: never;
|
|
1267
1265
|
path: {
|
|
@@ -2855,9 +2853,7 @@ export type GetApiStepExecutionsByStepExecutionIdResponse = GetApiStepExecutions
|
|
|
2855
2853
|
export type GetApiLinearPipelineDefinitionsData = {
|
|
2856
2854
|
body?: never;
|
|
2857
2855
|
path?: never;
|
|
2858
|
-
query
|
|
2859
|
-
projectId: string;
|
|
2860
|
-
};
|
|
2856
|
+
query?: never;
|
|
2861
2857
|
url: '/api/linear-pipeline-definitions';
|
|
2862
2858
|
};
|
|
2863
2859
|
export type GetApiLinearPipelineDefinitionsErrors = {
|
|
@@ -2938,6 +2934,7 @@ export type GetApiLinearPipelineDefinitionsResponses = {
|
|
|
2938
2934
|
name: string;
|
|
2939
2935
|
description: string | unknown;
|
|
2940
2936
|
status: 'draft' | 'active' | 'archived';
|
|
2937
|
+
archivedAt: string | unknown;
|
|
2941
2938
|
stepDefinitions: Array<{
|
|
2942
2939
|
id: string;
|
|
2943
2940
|
linearPipelineDefinitionId: string;
|
|
@@ -3270,6 +3267,7 @@ export type PostApiLinearPipelineDefinitionsResponses = {
|
|
|
3270
3267
|
name: string;
|
|
3271
3268
|
description: string | unknown;
|
|
3272
3269
|
status: 'draft' | 'active' | 'archived';
|
|
3270
|
+
archivedAt: string | unknown;
|
|
3273
3271
|
stepDefinitions: Array<{
|
|
3274
3272
|
id: string;
|
|
3275
3273
|
linearPipelineDefinitionId: string;
|
|
@@ -3554,6 +3552,7 @@ export type PutApiLinearPipelineDefinitionsResponses = {
|
|
|
3554
3552
|
name: string;
|
|
3555
3553
|
description: string | unknown;
|
|
3556
3554
|
status: 'draft' | 'active' | 'archived';
|
|
3555
|
+
archivedAt: string | unknown;
|
|
3557
3556
|
stepDefinitions: Array<{
|
|
3558
3557
|
id: string;
|
|
3559
3558
|
linearPipelineDefinitionId: string;
|
|
@@ -3777,6 +3776,7 @@ export type GetApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdResponses
|
|
|
3777
3776
|
name: string;
|
|
3778
3777
|
description: string | unknown;
|
|
3779
3778
|
status: 'draft' | 'active' | 'archived';
|
|
3779
|
+
archivedAt: string | unknown;
|
|
3780
3780
|
stepDefinitions: Array<{
|
|
3781
3781
|
id: string;
|
|
3782
3782
|
linearPipelineDefinitionId: string;
|
|
@@ -3984,6 +3984,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
3984
3984
|
name: string;
|
|
3985
3985
|
description: string | unknown;
|
|
3986
3986
|
status: 'draft' | 'active' | 'archived';
|
|
3987
|
+
archivedAt: string | unknown;
|
|
3987
3988
|
stepDefinitions: Array<{
|
|
3988
3989
|
id: string;
|
|
3989
3990
|
linearPipelineDefinitionId: string;
|
|
@@ -4089,103 +4090,15 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveRe
|
|
|
4089
4090
|
};
|
|
4090
4091
|
};
|
|
4091
4092
|
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdArchiveResponses];
|
|
4092
|
-
export type
|
|
4093
|
-
body
|
|
4094
|
-
stepDefinitionId: string;
|
|
4095
|
-
stepDefinitionVersion: number;
|
|
4096
|
-
key: string;
|
|
4097
|
-
name: string;
|
|
4098
|
-
description: string | unknown;
|
|
4099
|
-
position: number;
|
|
4100
|
-
inputBindingsJson: {
|
|
4101
|
-
[key: string]: {
|
|
4102
|
-
source: string;
|
|
4103
|
-
path: string | unknown;
|
|
4104
|
-
} | {
|
|
4105
|
-
source: string;
|
|
4106
|
-
stepKey: string;
|
|
4107
|
-
path: string | unknown;
|
|
4108
|
-
} | {
|
|
4109
|
-
source: string;
|
|
4110
|
-
stepKey: string;
|
|
4111
|
-
signalKey: string;
|
|
4112
|
-
} | {
|
|
4113
|
-
source: string;
|
|
4114
|
-
value: unknown;
|
|
4115
|
-
};
|
|
4116
|
-
} | unknown;
|
|
4117
|
-
timeoutSeconds: number | unknown;
|
|
4118
|
-
retryPolicyJson: {
|
|
4119
|
-
[key: string]: unknown;
|
|
4120
|
-
} | unknown;
|
|
4121
|
-
advancementPolicyDefinition: {
|
|
4122
|
-
rulesJson: {
|
|
4123
|
-
rules: Array<{
|
|
4124
|
-
conditions: {
|
|
4125
|
-
[key: string]: unknown;
|
|
4126
|
-
};
|
|
4127
|
-
event: {
|
|
4128
|
-
type: string;
|
|
4129
|
-
params?: {
|
|
4130
|
-
[key: string]: unknown;
|
|
4131
|
-
};
|
|
4132
|
-
};
|
|
4133
|
-
name?: string;
|
|
4134
|
-
priority?: number;
|
|
4135
|
-
[key: string]: unknown | {
|
|
4136
|
-
[key: string]: unknown;
|
|
4137
|
-
} | {
|
|
4138
|
-
type: string;
|
|
4139
|
-
params?: {
|
|
4140
|
-
[key: string]: unknown;
|
|
4141
|
-
};
|
|
4142
|
-
} | string | number | undefined;
|
|
4143
|
-
}>;
|
|
4144
|
-
[key: string]: unknown | Array<{
|
|
4145
|
-
conditions: {
|
|
4146
|
-
[key: string]: unknown;
|
|
4147
|
-
};
|
|
4148
|
-
event: {
|
|
4149
|
-
type: string;
|
|
4150
|
-
params?: {
|
|
4151
|
-
[key: string]: unknown;
|
|
4152
|
-
};
|
|
4153
|
-
};
|
|
4154
|
-
name?: string;
|
|
4155
|
-
priority?: number;
|
|
4156
|
-
[key: string]: unknown | {
|
|
4157
|
-
[key: string]: unknown;
|
|
4158
|
-
} | {
|
|
4159
|
-
type: string;
|
|
4160
|
-
params?: {
|
|
4161
|
-
[key: string]: unknown;
|
|
4162
|
-
};
|
|
4163
|
-
} | string | number | undefined;
|
|
4164
|
-
}>;
|
|
4165
|
-
};
|
|
4166
|
-
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
4167
|
-
defaultEventParamsJson: {
|
|
4168
|
-
[key: string]: unknown;
|
|
4169
|
-
} | unknown;
|
|
4170
|
-
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
4171
|
-
};
|
|
4172
|
-
computedSignalDefinitions: Array<{
|
|
4173
|
-
key: string;
|
|
4174
|
-
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
4175
|
-
inputSignalKeys: Array<string>;
|
|
4176
|
-
configJson: {
|
|
4177
|
-
[key: string]: unknown;
|
|
4178
|
-
} | unknown;
|
|
4179
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
4180
|
-
}>;
|
|
4181
|
-
};
|
|
4093
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveData = {
|
|
4094
|
+
body?: never;
|
|
4182
4095
|
path: {
|
|
4183
4096
|
linearPipelineDefinitionId: string;
|
|
4184
4097
|
};
|
|
4185
4098
|
query?: never;
|
|
4186
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/
|
|
4099
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/unarchive';
|
|
4187
4100
|
};
|
|
4188
|
-
export type
|
|
4101
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors = {
|
|
4189
4102
|
/**
|
|
4190
4103
|
* Response for status 401
|
|
4191
4104
|
*/
|
|
@@ -4267,8 +4180,8 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErr
|
|
|
4267
4180
|
}>;
|
|
4268
4181
|
};
|
|
4269
4182
|
};
|
|
4270
|
-
export type
|
|
4271
|
-
export type
|
|
4183
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveErrors];
|
|
4184
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses = {
|
|
4272
4185
|
/**
|
|
4273
4186
|
* Response for status 200
|
|
4274
4187
|
*/
|
|
@@ -4279,6 +4192,7 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
4279
4192
|
name: string;
|
|
4280
4193
|
description: string | unknown;
|
|
4281
4194
|
status: 'draft' | 'active' | 'archived';
|
|
4195
|
+
archivedAt: string | unknown;
|
|
4282
4196
|
stepDefinitions: Array<{
|
|
4283
4197
|
id: string;
|
|
4284
4198
|
linearPipelineDefinitionId: string;
|
|
@@ -4383,216 +4297,8 @@ export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsRes
|
|
|
4383
4297
|
updatedAt: string;
|
|
4384
4298
|
};
|
|
4385
4299
|
};
|
|
4386
|
-
export type
|
|
4387
|
-
export type
|
|
4388
|
-
body?: never;
|
|
4389
|
-
path: {
|
|
4390
|
-
linearPipelineDefinitionId: string;
|
|
4391
|
-
linearPipelineStepDefinitionId: string;
|
|
4392
|
-
};
|
|
4393
|
-
query?: never;
|
|
4394
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}';
|
|
4395
|
-
};
|
|
4396
|
-
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors = {
|
|
4397
|
-
/**
|
|
4398
|
-
* Response for status 401
|
|
4399
|
-
*/
|
|
4400
|
-
401: {
|
|
4401
|
-
type: string;
|
|
4402
|
-
title: string;
|
|
4403
|
-
status: number;
|
|
4404
|
-
detail?: string;
|
|
4405
|
-
instance?: string;
|
|
4406
|
-
code?: string;
|
|
4407
|
-
errors?: Array<{
|
|
4408
|
-
path: string;
|
|
4409
|
-
message: string;
|
|
4410
|
-
summary?: string;
|
|
4411
|
-
}>;
|
|
4412
|
-
};
|
|
4413
|
-
/**
|
|
4414
|
-
* Response for status 403
|
|
4415
|
-
*/
|
|
4416
|
-
403: {
|
|
4417
|
-
type: string;
|
|
4418
|
-
title: string;
|
|
4419
|
-
status: number;
|
|
4420
|
-
detail?: string;
|
|
4421
|
-
instance?: string;
|
|
4422
|
-
code?: string;
|
|
4423
|
-
errors?: Array<{
|
|
4424
|
-
path: string;
|
|
4425
|
-
message: string;
|
|
4426
|
-
summary?: string;
|
|
4427
|
-
}>;
|
|
4428
|
-
};
|
|
4429
|
-
/**
|
|
4430
|
-
* Response for status 404
|
|
4431
|
-
*/
|
|
4432
|
-
404: {
|
|
4433
|
-
type: string;
|
|
4434
|
-
title: string;
|
|
4435
|
-
status: number;
|
|
4436
|
-
detail?: string;
|
|
4437
|
-
instance?: string;
|
|
4438
|
-
code?: string;
|
|
4439
|
-
errors?: Array<{
|
|
4440
|
-
path: string;
|
|
4441
|
-
message: string;
|
|
4442
|
-
summary?: string;
|
|
4443
|
-
}>;
|
|
4444
|
-
};
|
|
4445
|
-
/**
|
|
4446
|
-
* Response for status 422
|
|
4447
|
-
*/
|
|
4448
|
-
422: {
|
|
4449
|
-
type: string;
|
|
4450
|
-
title: string;
|
|
4451
|
-
status: number;
|
|
4452
|
-
detail?: string;
|
|
4453
|
-
instance?: string;
|
|
4454
|
-
code?: string;
|
|
4455
|
-
errors?: Array<{
|
|
4456
|
-
path: string;
|
|
4457
|
-
message: string;
|
|
4458
|
-
summary?: string;
|
|
4459
|
-
}>;
|
|
4460
|
-
};
|
|
4461
|
-
/**
|
|
4462
|
-
* Response for status 500
|
|
4463
|
-
*/
|
|
4464
|
-
500: {
|
|
4465
|
-
type: string;
|
|
4466
|
-
title: string;
|
|
4467
|
-
status: number;
|
|
4468
|
-
detail?: string;
|
|
4469
|
-
instance?: string;
|
|
4470
|
-
code?: string;
|
|
4471
|
-
errors?: Array<{
|
|
4472
|
-
path: string;
|
|
4473
|
-
message: string;
|
|
4474
|
-
summary?: string;
|
|
4475
|
-
}>;
|
|
4476
|
-
};
|
|
4477
|
-
};
|
|
4478
|
-
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdError = DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors[keyof DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors];
|
|
4479
|
-
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses = {
|
|
4480
|
-
/**
|
|
4481
|
-
* Response for status 200
|
|
4482
|
-
*/
|
|
4483
|
-
200: {
|
|
4484
|
-
id: string;
|
|
4485
|
-
projectId: string;
|
|
4486
|
-
key: string;
|
|
4487
|
-
name: string;
|
|
4488
|
-
description: string | unknown;
|
|
4489
|
-
status: 'draft' | 'active' | 'archived';
|
|
4490
|
-
stepDefinitions: Array<{
|
|
4491
|
-
id: string;
|
|
4492
|
-
linearPipelineDefinitionId: string;
|
|
4493
|
-
stepDefinitionId: string;
|
|
4494
|
-
stepDefinitionVersion: number;
|
|
4495
|
-
key: string;
|
|
4496
|
-
name: string;
|
|
4497
|
-
description: string | unknown;
|
|
4498
|
-
position: number;
|
|
4499
|
-
inputBindingsJson: {
|
|
4500
|
-
[key: string]: {
|
|
4501
|
-
source: string;
|
|
4502
|
-
path: string | unknown;
|
|
4503
|
-
} | {
|
|
4504
|
-
source: string;
|
|
4505
|
-
stepKey: string;
|
|
4506
|
-
path: string | unknown;
|
|
4507
|
-
} | {
|
|
4508
|
-
source: string;
|
|
4509
|
-
stepKey: string;
|
|
4510
|
-
signalKey: string;
|
|
4511
|
-
} | {
|
|
4512
|
-
source: string;
|
|
4513
|
-
value: unknown;
|
|
4514
|
-
};
|
|
4515
|
-
} | unknown;
|
|
4516
|
-
timeoutSeconds: number | unknown;
|
|
4517
|
-
retryPolicyJson: {
|
|
4518
|
-
[key: string]: unknown;
|
|
4519
|
-
} | unknown;
|
|
4520
|
-
advancementPolicyDefinition: {
|
|
4521
|
-
id: string;
|
|
4522
|
-
linearPipelineStepDefinitionId: string;
|
|
4523
|
-
rulesJson: {
|
|
4524
|
-
rules: Array<{
|
|
4525
|
-
conditions: {
|
|
4526
|
-
[key: string]: unknown;
|
|
4527
|
-
};
|
|
4528
|
-
event: {
|
|
4529
|
-
type: string;
|
|
4530
|
-
params?: {
|
|
4531
|
-
[key: string]: unknown;
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
name?: string;
|
|
4535
|
-
priority?: number;
|
|
4536
|
-
[key: string]: unknown | {
|
|
4537
|
-
[key: string]: unknown;
|
|
4538
|
-
} | {
|
|
4539
|
-
type: string;
|
|
4540
|
-
params?: {
|
|
4541
|
-
[key: string]: unknown;
|
|
4542
|
-
};
|
|
4543
|
-
} | string | number | undefined;
|
|
4544
|
-
}>;
|
|
4545
|
-
[key: string]: unknown | Array<{
|
|
4546
|
-
conditions: {
|
|
4547
|
-
[key: string]: unknown;
|
|
4548
|
-
};
|
|
4549
|
-
event: {
|
|
4550
|
-
type: string;
|
|
4551
|
-
params?: {
|
|
4552
|
-
[key: string]: unknown;
|
|
4553
|
-
};
|
|
4554
|
-
};
|
|
4555
|
-
name?: string;
|
|
4556
|
-
priority?: number;
|
|
4557
|
-
[key: string]: unknown | {
|
|
4558
|
-
[key: string]: unknown;
|
|
4559
|
-
} | {
|
|
4560
|
-
type: string;
|
|
4561
|
-
params?: {
|
|
4562
|
-
[key: string]: unknown;
|
|
4563
|
-
};
|
|
4564
|
-
} | string | number | undefined;
|
|
4565
|
-
}>;
|
|
4566
|
-
};
|
|
4567
|
-
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
4568
|
-
defaultEventParamsJson: {
|
|
4569
|
-
[key: string]: unknown;
|
|
4570
|
-
} | unknown;
|
|
4571
|
-
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
4572
|
-
createdAt: string;
|
|
4573
|
-
updatedAt: string;
|
|
4574
|
-
};
|
|
4575
|
-
computedSignalDefinitions: Array<{
|
|
4576
|
-
id: string;
|
|
4577
|
-
key: string;
|
|
4578
|
-
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
4579
|
-
inputSignalKeys: Array<string>;
|
|
4580
|
-
configJson: {
|
|
4581
|
-
[key: string]: unknown;
|
|
4582
|
-
} | unknown;
|
|
4583
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
4584
|
-
createdAt: string;
|
|
4585
|
-
updatedAt: string;
|
|
4586
|
-
}>;
|
|
4587
|
-
createdAt: string;
|
|
4588
|
-
updatedAt: string;
|
|
4589
|
-
}>;
|
|
4590
|
-
createdAt: string;
|
|
4591
|
-
updatedAt: string;
|
|
4592
|
-
};
|
|
4593
|
-
};
|
|
4594
|
-
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponse = DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses[keyof DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses];
|
|
4595
|
-
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdData = {
|
|
4300
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdUnarchiveResponses];
|
|
4301
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsData = {
|
|
4596
4302
|
body: {
|
|
4597
4303
|
stepDefinitionId: string;
|
|
4598
4304
|
stepDefinitionVersion: number;
|
|
@@ -4684,12 +4390,11 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
4684
4390
|
};
|
|
4685
4391
|
path: {
|
|
4686
4392
|
linearPipelineDefinitionId: string;
|
|
4687
|
-
linearPipelineStepDefinitionId: string;
|
|
4688
4393
|
};
|
|
4689
4394
|
query?: never;
|
|
4690
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps
|
|
4395
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps';
|
|
4691
4396
|
};
|
|
4692
|
-
export type
|
|
4397
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErrors = {
|
|
4693
4398
|
/**
|
|
4694
4399
|
* Response for status 401
|
|
4695
4400
|
*/
|
|
@@ -4771,8 +4476,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
4771
4476
|
}>;
|
|
4772
4477
|
};
|
|
4773
4478
|
};
|
|
4774
|
-
export type
|
|
4775
|
-
export type
|
|
4479
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsError = PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErrors[keyof PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsErrors];
|
|
4480
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponses = {
|
|
4776
4481
|
/**
|
|
4777
4482
|
* Response for status 200
|
|
4778
4483
|
*/
|
|
@@ -4783,6 +4488,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
4783
4488
|
name: string;
|
|
4784
4489
|
description: string | unknown;
|
|
4785
4490
|
status: 'draft' | 'active' | 'archived';
|
|
4491
|
+
archivedAt: string | unknown;
|
|
4786
4492
|
stepDefinitions: Array<{
|
|
4787
4493
|
id: string;
|
|
4788
4494
|
linearPipelineDefinitionId: string;
|
|
@@ -4887,65 +4593,17 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
4887
4593
|
updatedAt: string;
|
|
4888
4594
|
};
|
|
4889
4595
|
};
|
|
4890
|
-
export type
|
|
4891
|
-
export type
|
|
4892
|
-
body
|
|
4893
|
-
rulesJson: {
|
|
4894
|
-
rules: Array<{
|
|
4895
|
-
conditions: {
|
|
4896
|
-
[key: string]: unknown;
|
|
4897
|
-
};
|
|
4898
|
-
event: {
|
|
4899
|
-
type: string;
|
|
4900
|
-
params?: {
|
|
4901
|
-
[key: string]: unknown;
|
|
4902
|
-
};
|
|
4903
|
-
};
|
|
4904
|
-
name?: string;
|
|
4905
|
-
priority?: number;
|
|
4906
|
-
[key: string]: unknown | {
|
|
4907
|
-
[key: string]: unknown;
|
|
4908
|
-
} | {
|
|
4909
|
-
type: string;
|
|
4910
|
-
params?: {
|
|
4911
|
-
[key: string]: unknown;
|
|
4912
|
-
};
|
|
4913
|
-
} | string | number | undefined;
|
|
4914
|
-
}>;
|
|
4915
|
-
[key: string]: unknown | Array<{
|
|
4916
|
-
conditions: {
|
|
4917
|
-
[key: string]: unknown;
|
|
4918
|
-
};
|
|
4919
|
-
event: {
|
|
4920
|
-
type: string;
|
|
4921
|
-
params?: {
|
|
4922
|
-
[key: string]: unknown;
|
|
4923
|
-
};
|
|
4924
|
-
};
|
|
4925
|
-
name?: string;
|
|
4926
|
-
priority?: number;
|
|
4927
|
-
[key: string]: unknown | {
|
|
4928
|
-
[key: string]: unknown;
|
|
4929
|
-
} | {
|
|
4930
|
-
type: string;
|
|
4931
|
-
params?: {
|
|
4932
|
-
[key: string]: unknown;
|
|
4933
|
-
};
|
|
4934
|
-
} | string | number | undefined;
|
|
4935
|
-
}>;
|
|
4936
|
-
};
|
|
4937
|
-
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
4938
|
-
defaultEventParamsJson: unknown;
|
|
4939
|
-
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
4940
|
-
};
|
|
4596
|
+
export type PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponse = PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponses[keyof PostApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsResponses];
|
|
4597
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdData = {
|
|
4598
|
+
body?: never;
|
|
4941
4599
|
path: {
|
|
4942
4600
|
linearPipelineDefinitionId: string;
|
|
4943
4601
|
linearPipelineStepDefinitionId: string;
|
|
4944
4602
|
};
|
|
4945
4603
|
query?: never;
|
|
4946
|
-
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}
|
|
4604
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}';
|
|
4947
4605
|
};
|
|
4948
|
-
export type
|
|
4606
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors = {
|
|
4949
4607
|
/**
|
|
4950
4608
|
* Response for status 401
|
|
4951
4609
|
*/
|
|
@@ -5027,8 +4685,8 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
5027
4685
|
}>;
|
|
5028
4686
|
};
|
|
5029
4687
|
};
|
|
5030
|
-
export type
|
|
5031
|
-
export type
|
|
4688
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdError = DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors[keyof DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors];
|
|
4689
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses = {
|
|
5032
4690
|
/**
|
|
5033
4691
|
* Response for status 200
|
|
5034
4692
|
*/
|
|
@@ -5039,6 +4697,7 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
5039
4697
|
name: string;
|
|
5040
4698
|
description: string | unknown;
|
|
5041
4699
|
status: 'draft' | 'active' | 'archived';
|
|
4700
|
+
archivedAt: string | unknown;
|
|
5042
4701
|
stepDefinitions: Array<{
|
|
5043
4702
|
id: string;
|
|
5044
4703
|
linearPipelineDefinitionId: string;
|
|
@@ -5143,17 +4802,930 @@ export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLi
|
|
|
5143
4802
|
updatedAt: string;
|
|
5144
4803
|
};
|
|
5145
4804
|
};
|
|
5146
|
-
export type
|
|
5147
|
-
export type
|
|
5148
|
-
body
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
4805
|
+
export type DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponse = DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses[keyof DeleteApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses];
|
|
4806
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdData = {
|
|
4807
|
+
body: {
|
|
4808
|
+
stepDefinitionId: string;
|
|
4809
|
+
stepDefinitionVersion: number;
|
|
4810
|
+
key: string;
|
|
4811
|
+
name: string;
|
|
4812
|
+
description: string | unknown;
|
|
4813
|
+
position: number;
|
|
4814
|
+
inputBindingsJson: {
|
|
4815
|
+
[key: string]: {
|
|
4816
|
+
source: string;
|
|
4817
|
+
path: string | unknown;
|
|
4818
|
+
} | {
|
|
4819
|
+
source: string;
|
|
4820
|
+
stepKey: string;
|
|
4821
|
+
path: string | unknown;
|
|
4822
|
+
} | {
|
|
4823
|
+
source: string;
|
|
4824
|
+
stepKey: string;
|
|
4825
|
+
signalKey: string;
|
|
4826
|
+
} | {
|
|
4827
|
+
source: string;
|
|
4828
|
+
value: unknown;
|
|
4829
|
+
};
|
|
4830
|
+
} | unknown;
|
|
4831
|
+
timeoutSeconds: number | unknown;
|
|
4832
|
+
retryPolicyJson: {
|
|
4833
|
+
[key: string]: unknown;
|
|
4834
|
+
} | unknown;
|
|
4835
|
+
advancementPolicyDefinition: {
|
|
4836
|
+
rulesJson: {
|
|
4837
|
+
rules: Array<{
|
|
4838
|
+
conditions: {
|
|
4839
|
+
[key: string]: unknown;
|
|
4840
|
+
};
|
|
4841
|
+
event: {
|
|
4842
|
+
type: string;
|
|
4843
|
+
params?: {
|
|
4844
|
+
[key: string]: unknown;
|
|
4845
|
+
};
|
|
4846
|
+
};
|
|
4847
|
+
name?: string;
|
|
4848
|
+
priority?: number;
|
|
4849
|
+
[key: string]: unknown | {
|
|
4850
|
+
[key: string]: unknown;
|
|
4851
|
+
} | {
|
|
4852
|
+
type: string;
|
|
4853
|
+
params?: {
|
|
4854
|
+
[key: string]: unknown;
|
|
4855
|
+
};
|
|
4856
|
+
} | string | number | undefined;
|
|
4857
|
+
}>;
|
|
4858
|
+
[key: string]: unknown | Array<{
|
|
4859
|
+
conditions: {
|
|
4860
|
+
[key: string]: unknown;
|
|
4861
|
+
};
|
|
4862
|
+
event: {
|
|
4863
|
+
type: string;
|
|
4864
|
+
params?: {
|
|
4865
|
+
[key: string]: unknown;
|
|
4866
|
+
};
|
|
4867
|
+
};
|
|
4868
|
+
name?: string;
|
|
4869
|
+
priority?: number;
|
|
4870
|
+
[key: string]: unknown | {
|
|
4871
|
+
[key: string]: unknown;
|
|
4872
|
+
} | {
|
|
4873
|
+
type: string;
|
|
4874
|
+
params?: {
|
|
4875
|
+
[key: string]: unknown;
|
|
4876
|
+
};
|
|
4877
|
+
} | string | number | undefined;
|
|
4878
|
+
}>;
|
|
4879
|
+
};
|
|
4880
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
4881
|
+
defaultEventParamsJson: {
|
|
4882
|
+
[key: string]: unknown;
|
|
4883
|
+
} | unknown;
|
|
4884
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
4885
|
+
};
|
|
4886
|
+
computedSignalDefinitions: Array<{
|
|
4887
|
+
key: string;
|
|
4888
|
+
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
4889
|
+
inputSignalKeys: Array<string>;
|
|
4890
|
+
configJson: {
|
|
4891
|
+
[key: string]: unknown;
|
|
4892
|
+
} | unknown;
|
|
4893
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
4894
|
+
}>;
|
|
4895
|
+
};
|
|
4896
|
+
path: {
|
|
4897
|
+
linearPipelineDefinitionId: string;
|
|
4898
|
+
linearPipelineStepDefinitionId: string;
|
|
4899
|
+
};
|
|
4900
|
+
query?: never;
|
|
4901
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}';
|
|
4902
|
+
};
|
|
4903
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors = {
|
|
4904
|
+
/**
|
|
4905
|
+
* Response for status 401
|
|
4906
|
+
*/
|
|
4907
|
+
401: {
|
|
4908
|
+
type: string;
|
|
4909
|
+
title: string;
|
|
4910
|
+
status: number;
|
|
4911
|
+
detail?: string;
|
|
4912
|
+
instance?: string;
|
|
4913
|
+
code?: string;
|
|
4914
|
+
errors?: Array<{
|
|
4915
|
+
path: string;
|
|
4916
|
+
message: string;
|
|
4917
|
+
summary?: string;
|
|
4918
|
+
}>;
|
|
4919
|
+
};
|
|
4920
|
+
/**
|
|
4921
|
+
* Response for status 403
|
|
4922
|
+
*/
|
|
4923
|
+
403: {
|
|
4924
|
+
type: string;
|
|
4925
|
+
title: string;
|
|
4926
|
+
status: number;
|
|
4927
|
+
detail?: string;
|
|
4928
|
+
instance?: string;
|
|
4929
|
+
code?: string;
|
|
4930
|
+
errors?: Array<{
|
|
4931
|
+
path: string;
|
|
4932
|
+
message: string;
|
|
4933
|
+
summary?: string;
|
|
4934
|
+
}>;
|
|
4935
|
+
};
|
|
4936
|
+
/**
|
|
4937
|
+
* Response for status 404
|
|
4938
|
+
*/
|
|
4939
|
+
404: {
|
|
4940
|
+
type: string;
|
|
4941
|
+
title: string;
|
|
4942
|
+
status: number;
|
|
4943
|
+
detail?: string;
|
|
4944
|
+
instance?: string;
|
|
4945
|
+
code?: string;
|
|
4946
|
+
errors?: Array<{
|
|
4947
|
+
path: string;
|
|
4948
|
+
message: string;
|
|
4949
|
+
summary?: string;
|
|
4950
|
+
}>;
|
|
4951
|
+
};
|
|
4952
|
+
/**
|
|
4953
|
+
* Response for status 422
|
|
4954
|
+
*/
|
|
4955
|
+
422: {
|
|
4956
|
+
type: string;
|
|
4957
|
+
title: string;
|
|
4958
|
+
status: number;
|
|
4959
|
+
detail?: string;
|
|
4960
|
+
instance?: string;
|
|
4961
|
+
code?: string;
|
|
4962
|
+
errors?: Array<{
|
|
4963
|
+
path: string;
|
|
4964
|
+
message: string;
|
|
4965
|
+
summary?: string;
|
|
4966
|
+
}>;
|
|
4967
|
+
};
|
|
4968
|
+
/**
|
|
4969
|
+
* Response for status 500
|
|
4970
|
+
*/
|
|
4971
|
+
500: {
|
|
4972
|
+
type: string;
|
|
4973
|
+
title: string;
|
|
4974
|
+
status: number;
|
|
4975
|
+
detail?: string;
|
|
4976
|
+
instance?: string;
|
|
4977
|
+
code?: string;
|
|
4978
|
+
errors?: Array<{
|
|
4979
|
+
path: string;
|
|
4980
|
+
message: string;
|
|
4981
|
+
summary?: string;
|
|
4982
|
+
}>;
|
|
4983
|
+
};
|
|
4984
|
+
};
|
|
4985
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdErrors];
|
|
4986
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses = {
|
|
4987
|
+
/**
|
|
4988
|
+
* Response for status 200
|
|
4989
|
+
*/
|
|
4990
|
+
200: {
|
|
4991
|
+
id: string;
|
|
4992
|
+
projectId: string;
|
|
4993
|
+
key: string;
|
|
4994
|
+
name: string;
|
|
4995
|
+
description: string | unknown;
|
|
4996
|
+
status: 'draft' | 'active' | 'archived';
|
|
4997
|
+
archivedAt: string | unknown;
|
|
4998
|
+
stepDefinitions: Array<{
|
|
4999
|
+
id: string;
|
|
5000
|
+
linearPipelineDefinitionId: string;
|
|
5001
|
+
stepDefinitionId: string;
|
|
5002
|
+
stepDefinitionVersion: number;
|
|
5003
|
+
key: string;
|
|
5004
|
+
name: string;
|
|
5005
|
+
description: string | unknown;
|
|
5006
|
+
position: number;
|
|
5007
|
+
inputBindingsJson: {
|
|
5008
|
+
[key: string]: {
|
|
5009
|
+
source: string;
|
|
5010
|
+
path: string | unknown;
|
|
5011
|
+
} | {
|
|
5012
|
+
source: string;
|
|
5013
|
+
stepKey: string;
|
|
5014
|
+
path: string | unknown;
|
|
5015
|
+
} | {
|
|
5016
|
+
source: string;
|
|
5017
|
+
stepKey: string;
|
|
5018
|
+
signalKey: string;
|
|
5019
|
+
} | {
|
|
5020
|
+
source: string;
|
|
5021
|
+
value: unknown;
|
|
5022
|
+
};
|
|
5023
|
+
} | unknown;
|
|
5024
|
+
timeoutSeconds: number | unknown;
|
|
5025
|
+
retryPolicyJson: {
|
|
5026
|
+
[key: string]: unknown;
|
|
5027
|
+
} | unknown;
|
|
5028
|
+
advancementPolicyDefinition: {
|
|
5029
|
+
id: string;
|
|
5030
|
+
linearPipelineStepDefinitionId: string;
|
|
5031
|
+
rulesJson: {
|
|
5032
|
+
rules: Array<{
|
|
5033
|
+
conditions: {
|
|
5034
|
+
[key: string]: unknown;
|
|
5035
|
+
};
|
|
5036
|
+
event: {
|
|
5037
|
+
type: string;
|
|
5038
|
+
params?: {
|
|
5039
|
+
[key: string]: unknown;
|
|
5040
|
+
};
|
|
5041
|
+
};
|
|
5042
|
+
name?: string;
|
|
5043
|
+
priority?: number;
|
|
5044
|
+
[key: string]: unknown | {
|
|
5045
|
+
[key: string]: unknown;
|
|
5046
|
+
} | {
|
|
5047
|
+
type: string;
|
|
5048
|
+
params?: {
|
|
5049
|
+
[key: string]: unknown;
|
|
5050
|
+
};
|
|
5051
|
+
} | string | number | undefined;
|
|
5052
|
+
}>;
|
|
5053
|
+
[key: string]: unknown | Array<{
|
|
5054
|
+
conditions: {
|
|
5055
|
+
[key: string]: unknown;
|
|
5056
|
+
};
|
|
5057
|
+
event: {
|
|
5058
|
+
type: string;
|
|
5059
|
+
params?: {
|
|
5060
|
+
[key: string]: unknown;
|
|
5061
|
+
};
|
|
5062
|
+
};
|
|
5063
|
+
name?: string;
|
|
5064
|
+
priority?: number;
|
|
5065
|
+
[key: string]: unknown | {
|
|
5066
|
+
[key: string]: unknown;
|
|
5067
|
+
} | {
|
|
5068
|
+
type: string;
|
|
5069
|
+
params?: {
|
|
5070
|
+
[key: string]: unknown;
|
|
5071
|
+
};
|
|
5072
|
+
} | string | number | undefined;
|
|
5073
|
+
}>;
|
|
5074
|
+
};
|
|
5075
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
5076
|
+
defaultEventParamsJson: {
|
|
5077
|
+
[key: string]: unknown;
|
|
5078
|
+
} | unknown;
|
|
5079
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
5080
|
+
createdAt: string;
|
|
5081
|
+
updatedAt: string;
|
|
5082
|
+
};
|
|
5083
|
+
computedSignalDefinitions: Array<{
|
|
5084
|
+
id: string;
|
|
5085
|
+
key: string;
|
|
5086
|
+
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
5087
|
+
inputSignalKeys: Array<string>;
|
|
5088
|
+
configJson: {
|
|
5089
|
+
[key: string]: unknown;
|
|
5090
|
+
} | unknown;
|
|
5091
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
5092
|
+
createdAt: string;
|
|
5093
|
+
updatedAt: string;
|
|
5094
|
+
}>;
|
|
5095
|
+
createdAt: string;
|
|
5096
|
+
updatedAt: string;
|
|
5097
|
+
}>;
|
|
5098
|
+
createdAt: string;
|
|
5099
|
+
updatedAt: string;
|
|
5100
|
+
};
|
|
5101
|
+
};
|
|
5102
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdResponses];
|
|
5103
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyData = {
|
|
5104
|
+
body: {
|
|
5105
|
+
rulesJson: {
|
|
5106
|
+
rules: Array<{
|
|
5107
|
+
conditions: {
|
|
5108
|
+
[key: string]: unknown;
|
|
5109
|
+
};
|
|
5110
|
+
event: {
|
|
5111
|
+
type: string;
|
|
5112
|
+
params?: {
|
|
5113
|
+
[key: string]: unknown;
|
|
5114
|
+
};
|
|
5115
|
+
};
|
|
5116
|
+
name?: string;
|
|
5117
|
+
priority?: number;
|
|
5118
|
+
[key: string]: unknown | {
|
|
5119
|
+
[key: string]: unknown;
|
|
5120
|
+
} | {
|
|
5121
|
+
type: string;
|
|
5122
|
+
params?: {
|
|
5123
|
+
[key: string]: unknown;
|
|
5124
|
+
};
|
|
5125
|
+
} | string | number | undefined;
|
|
5126
|
+
}>;
|
|
5127
|
+
[key: string]: unknown | Array<{
|
|
5128
|
+
conditions: {
|
|
5129
|
+
[key: string]: unknown;
|
|
5130
|
+
};
|
|
5131
|
+
event: {
|
|
5132
|
+
type: string;
|
|
5133
|
+
params?: {
|
|
5134
|
+
[key: string]: unknown;
|
|
5135
|
+
};
|
|
5136
|
+
};
|
|
5137
|
+
name?: string;
|
|
5138
|
+
priority?: number;
|
|
5139
|
+
[key: string]: unknown | {
|
|
5140
|
+
[key: string]: unknown;
|
|
5141
|
+
} | {
|
|
5142
|
+
type: string;
|
|
5143
|
+
params?: {
|
|
5144
|
+
[key: string]: unknown;
|
|
5145
|
+
};
|
|
5146
|
+
} | string | number | undefined;
|
|
5147
|
+
}>;
|
|
5148
|
+
};
|
|
5149
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
5150
|
+
defaultEventParamsJson: unknown;
|
|
5151
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
5152
|
+
};
|
|
5153
|
+
path: {
|
|
5154
|
+
linearPipelineDefinitionId: string;
|
|
5155
|
+
linearPipelineStepDefinitionId: string;
|
|
5156
|
+
};
|
|
5157
|
+
query?: never;
|
|
5158
|
+
url: '/api/linear-pipeline-definitions/{linearPipelineDefinitionId}/steps/{linearPipelineStepDefinitionId}/advancement-policy';
|
|
5159
|
+
};
|
|
5160
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyErrors = {
|
|
5161
|
+
/**
|
|
5162
|
+
* Response for status 401
|
|
5163
|
+
*/
|
|
5164
|
+
401: {
|
|
5165
|
+
type: string;
|
|
5166
|
+
title: string;
|
|
5167
|
+
status: number;
|
|
5168
|
+
detail?: string;
|
|
5169
|
+
instance?: string;
|
|
5170
|
+
code?: string;
|
|
5171
|
+
errors?: Array<{
|
|
5172
|
+
path: string;
|
|
5173
|
+
message: string;
|
|
5174
|
+
summary?: string;
|
|
5175
|
+
}>;
|
|
5176
|
+
};
|
|
5177
|
+
/**
|
|
5178
|
+
* Response for status 403
|
|
5179
|
+
*/
|
|
5180
|
+
403: {
|
|
5181
|
+
type: string;
|
|
5182
|
+
title: string;
|
|
5183
|
+
status: number;
|
|
5184
|
+
detail?: string;
|
|
5185
|
+
instance?: string;
|
|
5186
|
+
code?: string;
|
|
5187
|
+
errors?: Array<{
|
|
5188
|
+
path: string;
|
|
5189
|
+
message: string;
|
|
5190
|
+
summary?: string;
|
|
5191
|
+
}>;
|
|
5192
|
+
};
|
|
5193
|
+
/**
|
|
5194
|
+
* Response for status 404
|
|
5195
|
+
*/
|
|
5196
|
+
404: {
|
|
5197
|
+
type: string;
|
|
5198
|
+
title: string;
|
|
5199
|
+
status: number;
|
|
5200
|
+
detail?: string;
|
|
5201
|
+
instance?: string;
|
|
5202
|
+
code?: string;
|
|
5203
|
+
errors?: Array<{
|
|
5204
|
+
path: string;
|
|
5205
|
+
message: string;
|
|
5206
|
+
summary?: string;
|
|
5207
|
+
}>;
|
|
5208
|
+
};
|
|
5209
|
+
/**
|
|
5210
|
+
* Response for status 422
|
|
5211
|
+
*/
|
|
5212
|
+
422: {
|
|
5213
|
+
type: string;
|
|
5214
|
+
title: string;
|
|
5215
|
+
status: number;
|
|
5216
|
+
detail?: string;
|
|
5217
|
+
instance?: string;
|
|
5218
|
+
code?: string;
|
|
5219
|
+
errors?: Array<{
|
|
5220
|
+
path: string;
|
|
5221
|
+
message: string;
|
|
5222
|
+
summary?: string;
|
|
5223
|
+
}>;
|
|
5224
|
+
};
|
|
5225
|
+
/**
|
|
5226
|
+
* Response for status 500
|
|
5227
|
+
*/
|
|
5228
|
+
500: {
|
|
5229
|
+
type: string;
|
|
5230
|
+
title: string;
|
|
5231
|
+
status: number;
|
|
5232
|
+
detail?: string;
|
|
5233
|
+
instance?: string;
|
|
5234
|
+
code?: string;
|
|
5235
|
+
errors?: Array<{
|
|
5236
|
+
path: string;
|
|
5237
|
+
message: string;
|
|
5238
|
+
summary?: string;
|
|
5239
|
+
}>;
|
|
5240
|
+
};
|
|
5241
|
+
};
|
|
5242
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyError = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyErrors[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyErrors];
|
|
5243
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponses = {
|
|
5244
|
+
/**
|
|
5245
|
+
* Response for status 200
|
|
5246
|
+
*/
|
|
5247
|
+
200: {
|
|
5248
|
+
id: string;
|
|
5249
|
+
projectId: string;
|
|
5250
|
+
key: string;
|
|
5251
|
+
name: string;
|
|
5252
|
+
description: string | unknown;
|
|
5253
|
+
status: 'draft' | 'active' | 'archived';
|
|
5254
|
+
archivedAt: string | unknown;
|
|
5255
|
+
stepDefinitions: Array<{
|
|
5256
|
+
id: string;
|
|
5257
|
+
linearPipelineDefinitionId: string;
|
|
5258
|
+
stepDefinitionId: string;
|
|
5259
|
+
stepDefinitionVersion: number;
|
|
5260
|
+
key: string;
|
|
5261
|
+
name: string;
|
|
5262
|
+
description: string | unknown;
|
|
5263
|
+
position: number;
|
|
5264
|
+
inputBindingsJson: {
|
|
5265
|
+
[key: string]: {
|
|
5266
|
+
source: string;
|
|
5267
|
+
path: string | unknown;
|
|
5268
|
+
} | {
|
|
5269
|
+
source: string;
|
|
5270
|
+
stepKey: string;
|
|
5271
|
+
path: string | unknown;
|
|
5272
|
+
} | {
|
|
5273
|
+
source: string;
|
|
5274
|
+
stepKey: string;
|
|
5275
|
+
signalKey: string;
|
|
5276
|
+
} | {
|
|
5277
|
+
source: string;
|
|
5278
|
+
value: unknown;
|
|
5279
|
+
};
|
|
5280
|
+
} | unknown;
|
|
5281
|
+
timeoutSeconds: number | unknown;
|
|
5282
|
+
retryPolicyJson: {
|
|
5283
|
+
[key: string]: unknown;
|
|
5284
|
+
} | unknown;
|
|
5285
|
+
advancementPolicyDefinition: {
|
|
5286
|
+
id: string;
|
|
5287
|
+
linearPipelineStepDefinitionId: string;
|
|
5288
|
+
rulesJson: {
|
|
5289
|
+
rules: Array<{
|
|
5290
|
+
conditions: {
|
|
5291
|
+
[key: string]: unknown;
|
|
5292
|
+
};
|
|
5293
|
+
event: {
|
|
5294
|
+
type: string;
|
|
5295
|
+
params?: {
|
|
5296
|
+
[key: string]: unknown;
|
|
5297
|
+
};
|
|
5298
|
+
};
|
|
5299
|
+
name?: string;
|
|
5300
|
+
priority?: number;
|
|
5301
|
+
[key: string]: unknown | {
|
|
5302
|
+
[key: string]: unknown;
|
|
5303
|
+
} | {
|
|
5304
|
+
type: string;
|
|
5305
|
+
params?: {
|
|
5306
|
+
[key: string]: unknown;
|
|
5307
|
+
};
|
|
5308
|
+
} | string | number | undefined;
|
|
5309
|
+
}>;
|
|
5310
|
+
[key: string]: unknown | Array<{
|
|
5311
|
+
conditions: {
|
|
5312
|
+
[key: string]: unknown;
|
|
5313
|
+
};
|
|
5314
|
+
event: {
|
|
5315
|
+
type: string;
|
|
5316
|
+
params?: {
|
|
5317
|
+
[key: string]: unknown;
|
|
5318
|
+
};
|
|
5319
|
+
};
|
|
5320
|
+
name?: string;
|
|
5321
|
+
priority?: number;
|
|
5322
|
+
[key: string]: unknown | {
|
|
5323
|
+
[key: string]: unknown;
|
|
5324
|
+
} | {
|
|
5325
|
+
type: string;
|
|
5326
|
+
params?: {
|
|
5327
|
+
[key: string]: unknown;
|
|
5328
|
+
};
|
|
5329
|
+
} | string | number | undefined;
|
|
5330
|
+
}>;
|
|
5331
|
+
};
|
|
5332
|
+
defaultEventType: 'continue' | 'block' | 'complete' | 'route';
|
|
5333
|
+
defaultEventParamsJson: {
|
|
5334
|
+
[key: string]: unknown;
|
|
5335
|
+
} | unknown;
|
|
5336
|
+
allowedEventTypes: Array<'continue' | 'block' | 'complete' | 'route'>;
|
|
5337
|
+
createdAt: string;
|
|
5338
|
+
updatedAt: string;
|
|
5339
|
+
};
|
|
5340
|
+
computedSignalDefinitions: Array<{
|
|
5341
|
+
id: string;
|
|
5342
|
+
key: string;
|
|
5343
|
+
type: 'average' | 'weighted_average' | 'sum' | 'min' | 'max' | 'count' | 'boolean_any' | 'boolean_all';
|
|
5344
|
+
inputSignalKeys: Array<string>;
|
|
5345
|
+
configJson: {
|
|
5346
|
+
[key: string]: unknown;
|
|
5347
|
+
} | unknown;
|
|
5348
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
5349
|
+
createdAt: string;
|
|
5350
|
+
updatedAt: string;
|
|
5351
|
+
}>;
|
|
5352
|
+
createdAt: string;
|
|
5353
|
+
updatedAt: string;
|
|
5354
|
+
}>;
|
|
5355
|
+
createdAt: string;
|
|
5356
|
+
updatedAt: string;
|
|
5357
|
+
};
|
|
5358
|
+
};
|
|
5359
|
+
export type PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponse = PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponses[keyof PutApiLinearPipelineDefinitionsByLinearPipelineDefinitionIdStepsByLinearPipelineStepDefinitionIdAdvancementPolicyResponses];
|
|
5360
|
+
export type GetApiLinearPipelineExecutionsData = {
|
|
5361
|
+
body?: never;
|
|
5362
|
+
path?: never;
|
|
5363
|
+
query: {
|
|
5364
|
+
projectId: string;
|
|
5365
|
+
};
|
|
5366
|
+
url: '/api/linear-pipeline-executions';
|
|
5367
|
+
};
|
|
5368
|
+
export type GetApiLinearPipelineExecutionsErrors = {
|
|
5369
|
+
/**
|
|
5370
|
+
* Response for status 401
|
|
5371
|
+
*/
|
|
5372
|
+
401: {
|
|
5373
|
+
type: string;
|
|
5374
|
+
title: string;
|
|
5375
|
+
status: number;
|
|
5376
|
+
detail?: string;
|
|
5377
|
+
instance?: string;
|
|
5378
|
+
code?: string;
|
|
5379
|
+
errors?: Array<{
|
|
5380
|
+
path: string;
|
|
5381
|
+
message: string;
|
|
5382
|
+
summary?: string;
|
|
5383
|
+
}>;
|
|
5384
|
+
};
|
|
5385
|
+
/**
|
|
5386
|
+
* Response for status 403
|
|
5387
|
+
*/
|
|
5388
|
+
403: {
|
|
5389
|
+
type: string;
|
|
5390
|
+
title: string;
|
|
5391
|
+
status: number;
|
|
5392
|
+
detail?: string;
|
|
5393
|
+
instance?: string;
|
|
5394
|
+
code?: string;
|
|
5395
|
+
errors?: Array<{
|
|
5396
|
+
path: string;
|
|
5397
|
+
message: string;
|
|
5398
|
+
summary?: string;
|
|
5399
|
+
}>;
|
|
5400
|
+
};
|
|
5401
|
+
/**
|
|
5402
|
+
* Response for status 422
|
|
5403
|
+
*/
|
|
5404
|
+
422: {
|
|
5405
|
+
type: string;
|
|
5406
|
+
title: string;
|
|
5407
|
+
status: number;
|
|
5408
|
+
detail?: string;
|
|
5409
|
+
instance?: string;
|
|
5410
|
+
code?: string;
|
|
5411
|
+
errors?: Array<{
|
|
5412
|
+
path: string;
|
|
5413
|
+
message: string;
|
|
5414
|
+
summary?: string;
|
|
5415
|
+
}>;
|
|
5416
|
+
};
|
|
5417
|
+
/**
|
|
5418
|
+
* Response for status 500
|
|
5419
|
+
*/
|
|
5420
|
+
500: {
|
|
5421
|
+
type: string;
|
|
5422
|
+
title: string;
|
|
5423
|
+
status: number;
|
|
5424
|
+
detail?: string;
|
|
5425
|
+
instance?: string;
|
|
5426
|
+
code?: string;
|
|
5427
|
+
errors?: Array<{
|
|
5428
|
+
path: string;
|
|
5429
|
+
message: string;
|
|
5430
|
+
summary?: string;
|
|
5431
|
+
}>;
|
|
5432
|
+
};
|
|
5433
|
+
};
|
|
5434
|
+
export type GetApiLinearPipelineExecutionsError = GetApiLinearPipelineExecutionsErrors[keyof GetApiLinearPipelineExecutionsErrors];
|
|
5435
|
+
export type GetApiLinearPipelineExecutionsResponses = {
|
|
5436
|
+
/**
|
|
5437
|
+
* Response for status 200
|
|
5438
|
+
*/
|
|
5439
|
+
200: Array<{
|
|
5440
|
+
id: string;
|
|
5441
|
+
projectId: string;
|
|
5442
|
+
workItemId: string;
|
|
5443
|
+
linearPipelineDefinitionId: string;
|
|
5444
|
+
linearPipelineDefinitionVersionId: string;
|
|
5445
|
+
definitionStepCount: number;
|
|
5446
|
+
inputJson: unknown;
|
|
5447
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
5448
|
+
attempts: Array<{
|
|
5449
|
+
id: string;
|
|
5450
|
+
linearPipelineExecutionId: string;
|
|
5451
|
+
attemptNumber: number;
|
|
5452
|
+
currentStepKey: string | unknown;
|
|
5453
|
+
startedAt: string | unknown;
|
|
5454
|
+
completedAt: string | unknown;
|
|
5455
|
+
routedToPipelineExecutionId: string | unknown;
|
|
5456
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
5457
|
+
stepRuns: Array<{
|
|
5458
|
+
id: string;
|
|
5459
|
+
linearPipelineExecutionAttemptId: string;
|
|
5460
|
+
linearPipelineStepDefinitionId: string;
|
|
5461
|
+
stepDefinitionId: string;
|
|
5462
|
+
stepDefinitionVersion: number;
|
|
5463
|
+
stepKey: string;
|
|
5464
|
+
position: number;
|
|
5465
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled';
|
|
5466
|
+
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
5467
|
+
stepExecutionId: string;
|
|
5468
|
+
stepExecutionResultId: string | unknown;
|
|
5469
|
+
inheritedFromStepRunId: string | unknown;
|
|
5470
|
+
acceptedByUserId: string | unknown;
|
|
5471
|
+
acceptedAt: string | unknown;
|
|
5472
|
+
acceptanceReason: string | unknown;
|
|
5473
|
+
inputJson: unknown;
|
|
5474
|
+
outputJson: unknown;
|
|
5475
|
+
evaluation: {
|
|
5476
|
+
id: string;
|
|
5477
|
+
linearPipelineExecutionAttemptId: string;
|
|
5478
|
+
linearPipelineStepRunId: string;
|
|
5479
|
+
stepExecutionId: string;
|
|
5480
|
+
stepExecutionResultId: string;
|
|
5481
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
5482
|
+
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
5483
|
+
factsSnapshotJson: {
|
|
5484
|
+
[key: string]: unknown;
|
|
5485
|
+
};
|
|
5486
|
+
ruleResultsJson: unknown;
|
|
5487
|
+
finalStatus: 'pass' | 'fail';
|
|
5488
|
+
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
5489
|
+
finalPayloadJson: {
|
|
5490
|
+
[key: string]: unknown;
|
|
5491
|
+
} | unknown;
|
|
5492
|
+
createdAt: string;
|
|
5493
|
+
} | unknown;
|
|
5494
|
+
createdAt: string;
|
|
5495
|
+
updatedAt: string;
|
|
5496
|
+
}>;
|
|
5497
|
+
events: Array<{
|
|
5498
|
+
id: string;
|
|
5499
|
+
linearPipelineExecutionAttemptId: string;
|
|
5500
|
+
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';
|
|
5501
|
+
payloadJson: {
|
|
5502
|
+
[key: string]: unknown;
|
|
5503
|
+
} | unknown;
|
|
5504
|
+
createdAt: string;
|
|
5505
|
+
}>;
|
|
5506
|
+
createdAt: string;
|
|
5507
|
+
updatedAt: string;
|
|
5508
|
+
}>;
|
|
5509
|
+
createdAt: string;
|
|
5510
|
+
updatedAt: string;
|
|
5511
|
+
}>;
|
|
5512
|
+
};
|
|
5513
|
+
export type GetApiLinearPipelineExecutionsResponse = GetApiLinearPipelineExecutionsResponses[keyof GetApiLinearPipelineExecutionsResponses];
|
|
5514
|
+
export type PostApiLinearPipelineExecutionsData = {
|
|
5515
|
+
body: {
|
|
5516
|
+
projectId: string;
|
|
5517
|
+
workItemId: string;
|
|
5518
|
+
linearPipelineDefinitionId: string;
|
|
5519
|
+
inputJson?: unknown;
|
|
5520
|
+
};
|
|
5521
|
+
path?: never;
|
|
5522
|
+
query?: never;
|
|
5523
|
+
url: '/api/linear-pipeline-executions';
|
|
5524
|
+
};
|
|
5525
|
+
export type PostApiLinearPipelineExecutionsErrors = {
|
|
5526
|
+
/**
|
|
5527
|
+
* Response for status 400
|
|
5528
|
+
*/
|
|
5529
|
+
400: {
|
|
5530
|
+
type: string;
|
|
5531
|
+
title: string;
|
|
5532
|
+
status: number;
|
|
5533
|
+
detail?: string;
|
|
5534
|
+
instance?: string;
|
|
5535
|
+
code?: string;
|
|
5536
|
+
errors?: Array<{
|
|
5537
|
+
path: string;
|
|
5538
|
+
message: string;
|
|
5539
|
+
summary?: string;
|
|
5540
|
+
}>;
|
|
5541
|
+
};
|
|
5542
|
+
/**
|
|
5543
|
+
* Response for status 401
|
|
5544
|
+
*/
|
|
5545
|
+
401: {
|
|
5546
|
+
type: string;
|
|
5547
|
+
title: string;
|
|
5548
|
+
status: number;
|
|
5549
|
+
detail?: string;
|
|
5550
|
+
instance?: string;
|
|
5551
|
+
code?: string;
|
|
5552
|
+
errors?: Array<{
|
|
5553
|
+
path: string;
|
|
5554
|
+
message: string;
|
|
5555
|
+
summary?: string;
|
|
5556
|
+
}>;
|
|
5557
|
+
};
|
|
5558
|
+
/**
|
|
5559
|
+
* Response for status 403
|
|
5560
|
+
*/
|
|
5561
|
+
403: {
|
|
5562
|
+
type: string;
|
|
5563
|
+
title: string;
|
|
5564
|
+
status: number;
|
|
5565
|
+
detail?: string;
|
|
5566
|
+
instance?: string;
|
|
5567
|
+
code?: string;
|
|
5568
|
+
errors?: Array<{
|
|
5569
|
+
path: string;
|
|
5570
|
+
message: string;
|
|
5571
|
+
summary?: string;
|
|
5572
|
+
}>;
|
|
5573
|
+
};
|
|
5574
|
+
/**
|
|
5575
|
+
* Response for status 404
|
|
5576
|
+
*/
|
|
5577
|
+
404: {
|
|
5578
|
+
type: string;
|
|
5579
|
+
title: string;
|
|
5580
|
+
status: number;
|
|
5581
|
+
detail?: string;
|
|
5582
|
+
instance?: string;
|
|
5583
|
+
code?: string;
|
|
5584
|
+
errors?: Array<{
|
|
5585
|
+
path: string;
|
|
5586
|
+
message: string;
|
|
5587
|
+
summary?: string;
|
|
5588
|
+
}>;
|
|
5589
|
+
};
|
|
5590
|
+
/**
|
|
5591
|
+
* Response for status 409
|
|
5592
|
+
*/
|
|
5593
|
+
409: {
|
|
5594
|
+
type: string;
|
|
5595
|
+
title: string;
|
|
5596
|
+
status: number;
|
|
5597
|
+
detail?: string;
|
|
5598
|
+
instance?: string;
|
|
5599
|
+
code?: string;
|
|
5600
|
+
errors?: Array<{
|
|
5601
|
+
path: string;
|
|
5602
|
+
message: string;
|
|
5603
|
+
summary?: string;
|
|
5604
|
+
}>;
|
|
5605
|
+
};
|
|
5606
|
+
/**
|
|
5607
|
+
* Response for status 422
|
|
5608
|
+
*/
|
|
5609
|
+
422: {
|
|
5610
|
+
type: string;
|
|
5611
|
+
title: string;
|
|
5612
|
+
status: number;
|
|
5613
|
+
detail?: string;
|
|
5614
|
+
instance?: string;
|
|
5615
|
+
code?: string;
|
|
5616
|
+
errors?: Array<{
|
|
5617
|
+
path: string;
|
|
5618
|
+
message: string;
|
|
5619
|
+
summary?: string;
|
|
5620
|
+
}>;
|
|
5621
|
+
};
|
|
5622
|
+
/**
|
|
5623
|
+
* Response for status 500
|
|
5624
|
+
*/
|
|
5625
|
+
500: {
|
|
5626
|
+
type: string;
|
|
5627
|
+
title: string;
|
|
5628
|
+
status: number;
|
|
5629
|
+
detail?: string;
|
|
5630
|
+
instance?: string;
|
|
5631
|
+
code?: string;
|
|
5632
|
+
errors?: Array<{
|
|
5633
|
+
path: string;
|
|
5634
|
+
message: string;
|
|
5635
|
+
summary?: string;
|
|
5636
|
+
}>;
|
|
5637
|
+
};
|
|
5638
|
+
};
|
|
5639
|
+
export type PostApiLinearPipelineExecutionsError = PostApiLinearPipelineExecutionsErrors[keyof PostApiLinearPipelineExecutionsErrors];
|
|
5640
|
+
export type PostApiLinearPipelineExecutionsResponses = {
|
|
5641
|
+
/**
|
|
5642
|
+
* Response for status 200
|
|
5643
|
+
*/
|
|
5644
|
+
200: {
|
|
5645
|
+
id: string;
|
|
5646
|
+
projectId: string;
|
|
5647
|
+
workItemId: string;
|
|
5648
|
+
linearPipelineDefinitionId: string;
|
|
5649
|
+
linearPipelineDefinitionVersionId: string;
|
|
5650
|
+
definitionStepCount: number;
|
|
5651
|
+
inputJson: unknown;
|
|
5652
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
5653
|
+
attempts: Array<{
|
|
5654
|
+
id: string;
|
|
5655
|
+
linearPipelineExecutionId: string;
|
|
5656
|
+
attemptNumber: number;
|
|
5657
|
+
currentStepKey: string | unknown;
|
|
5658
|
+
startedAt: string | unknown;
|
|
5659
|
+
completedAt: string | unknown;
|
|
5660
|
+
routedToPipelineExecutionId: string | unknown;
|
|
5661
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
5662
|
+
stepRuns: Array<{
|
|
5663
|
+
id: string;
|
|
5664
|
+
linearPipelineExecutionAttemptId: string;
|
|
5665
|
+
linearPipelineStepDefinitionId: string;
|
|
5666
|
+
stepDefinitionId: string;
|
|
5667
|
+
stepDefinitionVersion: number;
|
|
5668
|
+
stepKey: string;
|
|
5669
|
+
position: number;
|
|
5670
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled';
|
|
5671
|
+
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
5672
|
+
stepExecutionId: string;
|
|
5673
|
+
stepExecutionResultId: string | unknown;
|
|
5674
|
+
inheritedFromStepRunId: string | unknown;
|
|
5675
|
+
acceptedByUserId: string | unknown;
|
|
5676
|
+
acceptedAt: string | unknown;
|
|
5677
|
+
acceptanceReason: string | unknown;
|
|
5678
|
+
inputJson: unknown;
|
|
5679
|
+
outputJson: unknown;
|
|
5680
|
+
evaluation: {
|
|
5681
|
+
id: string;
|
|
5682
|
+
linearPipelineExecutionAttemptId: string;
|
|
5683
|
+
linearPipelineStepRunId: string;
|
|
5684
|
+
stepExecutionId: string;
|
|
5685
|
+
stepExecutionResultId: string;
|
|
5686
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
5687
|
+
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
5688
|
+
factsSnapshotJson: {
|
|
5689
|
+
[key: string]: unknown;
|
|
5690
|
+
};
|
|
5691
|
+
ruleResultsJson: unknown;
|
|
5692
|
+
finalStatus: 'pass' | 'fail';
|
|
5693
|
+
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
5694
|
+
finalPayloadJson: {
|
|
5695
|
+
[key: string]: unknown;
|
|
5696
|
+
} | unknown;
|
|
5697
|
+
createdAt: string;
|
|
5698
|
+
} | unknown;
|
|
5699
|
+
createdAt: string;
|
|
5700
|
+
updatedAt: string;
|
|
5701
|
+
}>;
|
|
5702
|
+
events: Array<{
|
|
5703
|
+
id: string;
|
|
5704
|
+
linearPipelineExecutionAttemptId: string;
|
|
5705
|
+
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';
|
|
5706
|
+
payloadJson: {
|
|
5707
|
+
[key: string]: unknown;
|
|
5708
|
+
} | unknown;
|
|
5709
|
+
createdAt: string;
|
|
5710
|
+
}>;
|
|
5711
|
+
createdAt: string;
|
|
5712
|
+
updatedAt: string;
|
|
5713
|
+
}>;
|
|
5714
|
+
createdAt: string;
|
|
5715
|
+
updatedAt: string;
|
|
5716
|
+
};
|
|
5717
|
+
};
|
|
5718
|
+
export type PostApiLinearPipelineExecutionsResponse = PostApiLinearPipelineExecutionsResponses[keyof PostApiLinearPipelineExecutionsResponses];
|
|
5719
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartData = {
|
|
5720
|
+
body?: never;
|
|
5721
|
+
path: {
|
|
5722
|
+
linearPipelineExecutionId: string;
|
|
5723
|
+
};
|
|
5724
|
+
query?: never;
|
|
5725
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/start';
|
|
5726
|
+
};
|
|
5727
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartErrors = {
|
|
5728
|
+
/**
|
|
5157
5729
|
* Response for status 401
|
|
5158
5730
|
*/
|
|
5159
5731
|
401: {
|
|
@@ -5185,6 +5757,22 @@ export type GetApiLinearPipelineExecutionsErrors = {
|
|
|
5185
5757
|
summary?: string;
|
|
5186
5758
|
}>;
|
|
5187
5759
|
};
|
|
5760
|
+
/**
|
|
5761
|
+
* Response for status 404
|
|
5762
|
+
*/
|
|
5763
|
+
404: {
|
|
5764
|
+
type: string;
|
|
5765
|
+
title: string;
|
|
5766
|
+
status: number;
|
|
5767
|
+
detail?: string;
|
|
5768
|
+
instance?: string;
|
|
5769
|
+
code?: string;
|
|
5770
|
+
errors?: Array<{
|
|
5771
|
+
path: string;
|
|
5772
|
+
message: string;
|
|
5773
|
+
summary?: string;
|
|
5774
|
+
}>;
|
|
5775
|
+
};
|
|
5188
5776
|
/**
|
|
5189
5777
|
* Response for status 422
|
|
5190
5778
|
*/
|
|
@@ -5218,12 +5806,12 @@ export type GetApiLinearPipelineExecutionsErrors = {
|
|
|
5218
5806
|
}>;
|
|
5219
5807
|
};
|
|
5220
5808
|
};
|
|
5221
|
-
export type
|
|
5222
|
-
export type
|
|
5809
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartError = PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartErrors[keyof PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartErrors];
|
|
5810
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartResponses = {
|
|
5223
5811
|
/**
|
|
5224
5812
|
* Response for status 200
|
|
5225
5813
|
*/
|
|
5226
|
-
200:
|
|
5814
|
+
200: {
|
|
5227
5815
|
id: string;
|
|
5228
5816
|
projectId: string;
|
|
5229
5817
|
workItemId: string;
|
|
@@ -5295,25 +5883,22 @@ export type GetApiLinearPipelineExecutionsResponses = {
|
|
|
5295
5883
|
}>;
|
|
5296
5884
|
createdAt: string;
|
|
5297
5885
|
updatedAt: string;
|
|
5298
|
-
}
|
|
5886
|
+
};
|
|
5299
5887
|
};
|
|
5300
|
-
export type
|
|
5301
|
-
export type
|
|
5302
|
-
body
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
linearPipelineDefinitionId: string;
|
|
5306
|
-
inputJson?: unknown;
|
|
5888
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartResponse = PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartResponses[keyof PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartResponses];
|
|
5889
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstData = {
|
|
5890
|
+
body?: never;
|
|
5891
|
+
path: {
|
|
5892
|
+
linearPipelineExecutionId: string;
|
|
5307
5893
|
};
|
|
5308
|
-
path?: never;
|
|
5309
5894
|
query?: never;
|
|
5310
|
-
url: '/api/linear-pipeline-executions';
|
|
5895
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/step-runs/first';
|
|
5311
5896
|
};
|
|
5312
|
-
export type
|
|
5897
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstErrors = {
|
|
5313
5898
|
/**
|
|
5314
|
-
* Response for status
|
|
5899
|
+
* Response for status 401
|
|
5315
5900
|
*/
|
|
5316
|
-
|
|
5901
|
+
401: {
|
|
5317
5902
|
type: string;
|
|
5318
5903
|
title: string;
|
|
5319
5904
|
status: number;
|
|
@@ -5327,9 +5912,9 @@ export type PostApiLinearPipelineExecutionsErrors = {
|
|
|
5327
5912
|
}>;
|
|
5328
5913
|
};
|
|
5329
5914
|
/**
|
|
5330
|
-
* Response for status
|
|
5915
|
+
* Response for status 403
|
|
5331
5916
|
*/
|
|
5332
|
-
|
|
5917
|
+
403: {
|
|
5333
5918
|
type: string;
|
|
5334
5919
|
title: string;
|
|
5335
5920
|
status: number;
|
|
@@ -5343,9 +5928,9 @@ export type PostApiLinearPipelineExecutionsErrors = {
|
|
|
5343
5928
|
}>;
|
|
5344
5929
|
};
|
|
5345
5930
|
/**
|
|
5346
|
-
* Response for status
|
|
5931
|
+
* Response for status 404
|
|
5347
5932
|
*/
|
|
5348
|
-
|
|
5933
|
+
404: {
|
|
5349
5934
|
type: string;
|
|
5350
5935
|
title: string;
|
|
5351
5936
|
status: number;
|
|
@@ -5359,9 +5944,9 @@ export type PostApiLinearPipelineExecutionsErrors = {
|
|
|
5359
5944
|
}>;
|
|
5360
5945
|
};
|
|
5361
5946
|
/**
|
|
5362
|
-
* Response for status
|
|
5947
|
+
* Response for status 422
|
|
5363
5948
|
*/
|
|
5364
|
-
|
|
5949
|
+
422: {
|
|
5365
5950
|
type: string;
|
|
5366
5951
|
title: string;
|
|
5367
5952
|
status: number;
|
|
@@ -5375,9 +5960,148 @@ export type PostApiLinearPipelineExecutionsErrors = {
|
|
|
5375
5960
|
}>;
|
|
5376
5961
|
};
|
|
5377
5962
|
/**
|
|
5378
|
-
* Response for status
|
|
5963
|
+
* Response for status 500
|
|
5379
5964
|
*/
|
|
5380
|
-
|
|
5965
|
+
500: {
|
|
5966
|
+
type: string;
|
|
5967
|
+
title: string;
|
|
5968
|
+
status: number;
|
|
5969
|
+
detail?: string;
|
|
5970
|
+
instance?: string;
|
|
5971
|
+
code?: string;
|
|
5972
|
+
errors?: Array<{
|
|
5973
|
+
path: string;
|
|
5974
|
+
message: string;
|
|
5975
|
+
summary?: string;
|
|
5976
|
+
}>;
|
|
5977
|
+
};
|
|
5978
|
+
};
|
|
5979
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstError = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstErrors[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstErrors];
|
|
5980
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstResponses = {
|
|
5981
|
+
/**
|
|
5982
|
+
* Response for status 200
|
|
5983
|
+
*/
|
|
5984
|
+
200: {
|
|
5985
|
+
id: string;
|
|
5986
|
+
projectId: string;
|
|
5987
|
+
workItemId: string;
|
|
5988
|
+
linearPipelineDefinitionId: string;
|
|
5989
|
+
linearPipelineDefinitionVersionId: string;
|
|
5990
|
+
definitionStepCount: number;
|
|
5991
|
+
inputJson: unknown;
|
|
5992
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
5993
|
+
attempts: Array<{
|
|
5994
|
+
id: string;
|
|
5995
|
+
linearPipelineExecutionId: string;
|
|
5996
|
+
attemptNumber: number;
|
|
5997
|
+
currentStepKey: string | unknown;
|
|
5998
|
+
startedAt: string | unknown;
|
|
5999
|
+
completedAt: string | unknown;
|
|
6000
|
+
routedToPipelineExecutionId: string | unknown;
|
|
6001
|
+
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
6002
|
+
stepRuns: Array<{
|
|
6003
|
+
id: string;
|
|
6004
|
+
linearPipelineExecutionAttemptId: string;
|
|
6005
|
+
linearPipelineStepDefinitionId: string;
|
|
6006
|
+
stepDefinitionId: string;
|
|
6007
|
+
stepDefinitionVersion: number;
|
|
6008
|
+
stepKey: string;
|
|
6009
|
+
position: number;
|
|
6010
|
+
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled';
|
|
6011
|
+
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
6012
|
+
stepExecutionId: string;
|
|
6013
|
+
stepExecutionResultId: string | unknown;
|
|
6014
|
+
inheritedFromStepRunId: string | unknown;
|
|
6015
|
+
acceptedByUserId: string | unknown;
|
|
6016
|
+
acceptedAt: string | unknown;
|
|
6017
|
+
acceptanceReason: string | unknown;
|
|
6018
|
+
inputJson: unknown;
|
|
6019
|
+
outputJson: unknown;
|
|
6020
|
+
evaluation: {
|
|
6021
|
+
id: string;
|
|
6022
|
+
linearPipelineExecutionAttemptId: string;
|
|
6023
|
+
linearPipelineStepRunId: string;
|
|
6024
|
+
stepExecutionId: string;
|
|
6025
|
+
stepExecutionResultId: string;
|
|
6026
|
+
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
6027
|
+
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
6028
|
+
factsSnapshotJson: {
|
|
6029
|
+
[key: string]: unknown;
|
|
6030
|
+
};
|
|
6031
|
+
ruleResultsJson: unknown;
|
|
6032
|
+
finalStatus: 'pass' | 'fail';
|
|
6033
|
+
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
6034
|
+
finalPayloadJson: {
|
|
6035
|
+
[key: string]: unknown;
|
|
6036
|
+
} | unknown;
|
|
6037
|
+
createdAt: string;
|
|
6038
|
+
} | unknown;
|
|
6039
|
+
createdAt: string;
|
|
6040
|
+
updatedAt: string;
|
|
6041
|
+
}>;
|
|
6042
|
+
events: Array<{
|
|
6043
|
+
id: string;
|
|
6044
|
+
linearPipelineExecutionAttemptId: string;
|
|
6045
|
+
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';
|
|
6046
|
+
payloadJson: {
|
|
6047
|
+
[key: string]: unknown;
|
|
6048
|
+
} | unknown;
|
|
6049
|
+
createdAt: string;
|
|
6050
|
+
}>;
|
|
6051
|
+
createdAt: string;
|
|
6052
|
+
updatedAt: string;
|
|
6053
|
+
}>;
|
|
6054
|
+
createdAt: string;
|
|
6055
|
+
updatedAt: string;
|
|
6056
|
+
};
|
|
6057
|
+
};
|
|
6058
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstResponse = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstResponses[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFirstResponses];
|
|
6059
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningData = {
|
|
6060
|
+
body?: never;
|
|
6061
|
+
path: {
|
|
6062
|
+
linearPipelineExecutionId: string;
|
|
6063
|
+
linearPipelineStepRunId: string;
|
|
6064
|
+
};
|
|
6065
|
+
query?: never;
|
|
6066
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/step-runs/{linearPipelineStepRunId}/running';
|
|
6067
|
+
};
|
|
6068
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningErrors = {
|
|
6069
|
+
/**
|
|
6070
|
+
* Response for status 401
|
|
6071
|
+
*/
|
|
6072
|
+
401: {
|
|
6073
|
+
type: string;
|
|
6074
|
+
title: string;
|
|
6075
|
+
status: number;
|
|
6076
|
+
detail?: string;
|
|
6077
|
+
instance?: string;
|
|
6078
|
+
code?: string;
|
|
6079
|
+
errors?: Array<{
|
|
6080
|
+
path: string;
|
|
6081
|
+
message: string;
|
|
6082
|
+
summary?: string;
|
|
6083
|
+
}>;
|
|
6084
|
+
};
|
|
6085
|
+
/**
|
|
6086
|
+
* Response for status 403
|
|
6087
|
+
*/
|
|
6088
|
+
403: {
|
|
6089
|
+
type: string;
|
|
6090
|
+
title: string;
|
|
6091
|
+
status: number;
|
|
6092
|
+
detail?: string;
|
|
6093
|
+
instance?: string;
|
|
6094
|
+
code?: string;
|
|
6095
|
+
errors?: Array<{
|
|
6096
|
+
path: string;
|
|
6097
|
+
message: string;
|
|
6098
|
+
summary?: string;
|
|
6099
|
+
}>;
|
|
6100
|
+
};
|
|
6101
|
+
/**
|
|
6102
|
+
* Response for status 404
|
|
6103
|
+
*/
|
|
6104
|
+
404: {
|
|
5381
6105
|
type: string;
|
|
5382
6106
|
title: string;
|
|
5383
6107
|
status: number;
|
|
@@ -5423,8 +6147,8 @@ export type PostApiLinearPipelineExecutionsErrors = {
|
|
|
5423
6147
|
}>;
|
|
5424
6148
|
};
|
|
5425
6149
|
};
|
|
5426
|
-
export type
|
|
5427
|
-
export type
|
|
6150
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningError = PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningErrors[keyof PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningErrors];
|
|
6151
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningResponses = {
|
|
5428
6152
|
/**
|
|
5429
6153
|
* Response for status 200
|
|
5430
6154
|
*/
|
|
@@ -5501,17 +6225,22 @@ export type PostApiLinearPipelineExecutionsResponses = {
|
|
|
5501
6225
|
createdAt: string;
|
|
5502
6226
|
updatedAt: string;
|
|
5503
6227
|
};
|
|
5504
|
-
};
|
|
5505
|
-
export type
|
|
5506
|
-
export type
|
|
5507
|
-
body
|
|
6228
|
+
};
|
|
6229
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningResponse = PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningResponses[keyof PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdRunningResponses];
|
|
6230
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsData = {
|
|
6231
|
+
body: {
|
|
6232
|
+
status: 'succeeded' | 'failed';
|
|
6233
|
+
resultJson: unknown;
|
|
6234
|
+
errorJson: unknown;
|
|
6235
|
+
};
|
|
5508
6236
|
path: {
|
|
5509
6237
|
linearPipelineExecutionId: string;
|
|
6238
|
+
linearPipelineStepRunId: string;
|
|
5510
6239
|
};
|
|
5511
6240
|
query?: never;
|
|
5512
|
-
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/
|
|
6241
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/step-runs/{linearPipelineStepRunId}/results';
|
|
5513
6242
|
};
|
|
5514
|
-
export type
|
|
6243
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsErrors = {
|
|
5515
6244
|
/**
|
|
5516
6245
|
* Response for status 401
|
|
5517
6246
|
*/
|
|
@@ -5593,8 +6322,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartErrors
|
|
|
5593
6322
|
}>;
|
|
5594
6323
|
};
|
|
5595
6324
|
};
|
|
5596
|
-
export type
|
|
5597
|
-
export type
|
|
6325
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsError = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsErrors[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsErrors];
|
|
6326
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsResponses = {
|
|
5598
6327
|
/**
|
|
5599
6328
|
* Response for status 200
|
|
5600
6329
|
*/
|
|
@@ -5672,16 +6401,23 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStartRespon
|
|
|
5672
6401
|
updatedAt: string;
|
|
5673
6402
|
};
|
|
5674
6403
|
};
|
|
5675
|
-
export type
|
|
5676
|
-
export type
|
|
5677
|
-
body
|
|
6404
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsResponse = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsResponses[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdResultsResponses];
|
|
6405
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptData = {
|
|
6406
|
+
body: {
|
|
6407
|
+
projectId: string;
|
|
6408
|
+
stepExecutionId: string;
|
|
6409
|
+
stepExecutionResultId: string;
|
|
6410
|
+
acceptedByUserId: string;
|
|
6411
|
+
acceptanceReason: string;
|
|
6412
|
+
};
|
|
5678
6413
|
path: {
|
|
5679
6414
|
linearPipelineExecutionId: string;
|
|
6415
|
+
linearPipelineStepRunId: string;
|
|
5680
6416
|
};
|
|
5681
6417
|
query?: never;
|
|
5682
|
-
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/step-runs/
|
|
6418
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/step-runs/{linearPipelineStepRunId}/accept';
|
|
5683
6419
|
};
|
|
5684
|
-
export type
|
|
6420
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptErrors = {
|
|
5685
6421
|
/**
|
|
5686
6422
|
* Response for status 401
|
|
5687
6423
|
*/
|
|
@@ -5763,8 +6499,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
5763
6499
|
}>;
|
|
5764
6500
|
};
|
|
5765
6501
|
};
|
|
5766
|
-
export type
|
|
5767
|
-
export type
|
|
6502
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptError = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptErrors[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptErrors];
|
|
6503
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptResponses = {
|
|
5768
6504
|
/**
|
|
5769
6505
|
* Response for status 200
|
|
5770
6506
|
*/
|
|
@@ -5842,17 +6578,18 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsFi
|
|
|
5842
6578
|
updatedAt: string;
|
|
5843
6579
|
};
|
|
5844
6580
|
};
|
|
5845
|
-
export type
|
|
5846
|
-
export type
|
|
5847
|
-
body
|
|
6581
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptResponse = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptResponses[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByLinearPipelineStepRunIdAcceptResponses];
|
|
6582
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunData = {
|
|
6583
|
+
body: {
|
|
6584
|
+
fromStepKey?: string;
|
|
6585
|
+
};
|
|
5848
6586
|
path: {
|
|
5849
6587
|
linearPipelineExecutionId: string;
|
|
5850
|
-
linearPipelineStepRunId: string;
|
|
5851
6588
|
};
|
|
5852
6589
|
query?: never;
|
|
5853
|
-
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/
|
|
6590
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/rerun';
|
|
5854
6591
|
};
|
|
5855
|
-
export type
|
|
6592
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunErrors = {
|
|
5856
6593
|
/**
|
|
5857
6594
|
* Response for status 401
|
|
5858
6595
|
*/
|
|
@@ -5934,8 +6671,8 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
5934
6671
|
}>;
|
|
5935
6672
|
};
|
|
5936
6673
|
};
|
|
5937
|
-
export type
|
|
5938
|
-
export type
|
|
6674
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunError = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunErrors[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunErrors];
|
|
6675
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunResponses = {
|
|
5939
6676
|
/**
|
|
5940
6677
|
* Response for status 200
|
|
5941
6678
|
*/
|
|
@@ -6013,21 +6750,16 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsByL
|
|
|
6013
6750
|
updatedAt: string;
|
|
6014
6751
|
};
|
|
6015
6752
|
};
|
|
6016
|
-
export type
|
|
6017
|
-
export type
|
|
6018
|
-
body
|
|
6019
|
-
status: 'succeeded' | 'failed';
|
|
6020
|
-
resultJson: unknown;
|
|
6021
|
-
errorJson: unknown;
|
|
6022
|
-
};
|
|
6753
|
+
export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunResponse = PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunResponses[keyof PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunResponses];
|
|
6754
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelData = {
|
|
6755
|
+
body?: never;
|
|
6023
6756
|
path: {
|
|
6024
6757
|
linearPipelineExecutionId: string;
|
|
6025
|
-
linearPipelineStepRunId: string;
|
|
6026
6758
|
};
|
|
6027
6759
|
query?: never;
|
|
6028
|
-
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/
|
|
6760
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}/cancel';
|
|
6029
6761
|
};
|
|
6030
|
-
export type
|
|
6762
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelErrors = {
|
|
6031
6763
|
/**
|
|
6032
6764
|
* Response for status 401
|
|
6033
6765
|
*/
|
|
@@ -6109,8 +6841,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
6109
6841
|
}>;
|
|
6110
6842
|
};
|
|
6111
6843
|
};
|
|
6112
|
-
export type
|
|
6113
|
-
export type
|
|
6844
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelError = PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelErrors[keyof PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelErrors];
|
|
6845
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelResponses = {
|
|
6114
6846
|
/**
|
|
6115
6847
|
* Response for status 200
|
|
6116
6848
|
*/
|
|
@@ -6188,23 +6920,16 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
6188
6920
|
updatedAt: string;
|
|
6189
6921
|
};
|
|
6190
6922
|
};
|
|
6191
|
-
export type
|
|
6192
|
-
export type
|
|
6193
|
-
body
|
|
6194
|
-
projectId: string;
|
|
6195
|
-
stepExecutionId: string;
|
|
6196
|
-
stepExecutionResultId: string;
|
|
6197
|
-
acceptedByUserId: string;
|
|
6198
|
-
acceptanceReason: string;
|
|
6199
|
-
};
|
|
6923
|
+
export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelResponse = PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelResponses[keyof PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelResponses];
|
|
6924
|
+
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdData = {
|
|
6925
|
+
body?: never;
|
|
6200
6926
|
path: {
|
|
6201
6927
|
linearPipelineExecutionId: string;
|
|
6202
|
-
linearPipelineStepRunId: string;
|
|
6203
6928
|
};
|
|
6204
6929
|
query?: never;
|
|
6205
|
-
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}
|
|
6930
|
+
url: '/api/linear-pipeline-executions/{linearPipelineExecutionId}';
|
|
6206
6931
|
};
|
|
6207
|
-
export type
|
|
6932
|
+
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdErrors = {
|
|
6208
6933
|
/**
|
|
6209
6934
|
* Response for status 401
|
|
6210
6935
|
*/
|
|
@@ -6286,8 +7011,8 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
6286
7011
|
}>;
|
|
6287
7012
|
};
|
|
6288
7013
|
};
|
|
6289
|
-
export type
|
|
6290
|
-
export type
|
|
7014
|
+
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdError = GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdErrors[keyof GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdErrors];
|
|
7015
|
+
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses = {
|
|
6291
7016
|
/**
|
|
6292
7017
|
* Response for status 200
|
|
6293
7018
|
*/
|
|
@@ -6365,18 +7090,16 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdStepRunsBy
|
|
|
6365
7090
|
updatedAt: string;
|
|
6366
7091
|
};
|
|
6367
7092
|
};
|
|
6368
|
-
export type
|
|
6369
|
-
export type
|
|
6370
|
-
body
|
|
6371
|
-
fromStepKey?: string;
|
|
6372
|
-
};
|
|
7093
|
+
export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponse = GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses[keyof GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdResponses];
|
|
7094
|
+
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdData = {
|
|
7095
|
+
body?: never;
|
|
6373
7096
|
path: {
|
|
6374
|
-
|
|
7097
|
+
linearPipelineDefinitionId: string;
|
|
6375
7098
|
};
|
|
6376
7099
|
query?: never;
|
|
6377
|
-
url: '/api/linear-pipeline-executions/{
|
|
7100
|
+
url: '/api/linear-pipeline-executions/by-definition/{linearPipelineDefinitionId}';
|
|
6378
7101
|
};
|
|
6379
|
-
export type
|
|
7102
|
+
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdErrors = {
|
|
6380
7103
|
/**
|
|
6381
7104
|
* Response for status 401
|
|
6382
7105
|
*/
|
|
@@ -6458,12 +7181,12 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunError
|
|
|
6458
7181
|
}>;
|
|
6459
7182
|
};
|
|
6460
7183
|
};
|
|
6461
|
-
export type
|
|
6462
|
-
export type
|
|
7184
|
+
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdError = GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdErrors[keyof GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdErrors];
|
|
7185
|
+
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdResponses = {
|
|
6463
7186
|
/**
|
|
6464
7187
|
* Response for status 200
|
|
6465
7188
|
*/
|
|
6466
|
-
200: {
|
|
7189
|
+
200: Array<{
|
|
6467
7190
|
id: string;
|
|
6468
7191
|
projectId: string;
|
|
6469
7192
|
workItemId: string;
|
|
@@ -6535,18 +7258,43 @@ export type PostApiLinearPipelineExecutionsByLinearPipelineExecutionIdRerunRespo
|
|
|
6535
7258
|
}>;
|
|
6536
7259
|
createdAt: string;
|
|
6537
7260
|
updatedAt: string;
|
|
6538
|
-
}
|
|
7261
|
+
}>;
|
|
6539
7262
|
};
|
|
6540
|
-
export type
|
|
6541
|
-
export type
|
|
6542
|
-
body
|
|
6543
|
-
|
|
6544
|
-
|
|
7263
|
+
export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdResponse = GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdResponses[keyof GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinitionIdResponses];
|
|
7264
|
+
export type PostApiWorkItemsData = {
|
|
7265
|
+
body: {
|
|
7266
|
+
projectId: string;
|
|
7267
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7268
|
+
platformId?: string | unknown;
|
|
7269
|
+
platformKey: string;
|
|
7270
|
+
url?: string | unknown;
|
|
7271
|
+
title: string;
|
|
7272
|
+
description: string;
|
|
7273
|
+
sourceCreatedAt: string | unknown;
|
|
7274
|
+
sourceUpdatedAt: string | unknown;
|
|
7275
|
+
fields: unknown;
|
|
6545
7276
|
};
|
|
7277
|
+
path?: never;
|
|
6546
7278
|
query?: never;
|
|
6547
|
-
url: '/api/
|
|
7279
|
+
url: '/api/work-items';
|
|
6548
7280
|
};
|
|
6549
|
-
export type
|
|
7281
|
+
export type PostApiWorkItemsErrors = {
|
|
7282
|
+
/**
|
|
7283
|
+
* Response for status 400
|
|
7284
|
+
*/
|
|
7285
|
+
400: {
|
|
7286
|
+
type: string;
|
|
7287
|
+
title: string;
|
|
7288
|
+
status: number;
|
|
7289
|
+
detail?: string;
|
|
7290
|
+
instance?: string;
|
|
7291
|
+
code?: string;
|
|
7292
|
+
errors?: Array<{
|
|
7293
|
+
path: string;
|
|
7294
|
+
message: string;
|
|
7295
|
+
summary?: string;
|
|
7296
|
+
}>;
|
|
7297
|
+
};
|
|
6550
7298
|
/**
|
|
6551
7299
|
* Response for status 401
|
|
6552
7300
|
*/
|
|
@@ -6595,6 +7343,22 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelError
|
|
|
6595
7343
|
summary?: string;
|
|
6596
7344
|
}>;
|
|
6597
7345
|
};
|
|
7346
|
+
/**
|
|
7347
|
+
* Response for status 409
|
|
7348
|
+
*/
|
|
7349
|
+
409: {
|
|
7350
|
+
type: string;
|
|
7351
|
+
title: string;
|
|
7352
|
+
status: number;
|
|
7353
|
+
detail?: string;
|
|
7354
|
+
instance?: string;
|
|
7355
|
+
code?: string;
|
|
7356
|
+
errors?: Array<{
|
|
7357
|
+
path: string;
|
|
7358
|
+
message: string;
|
|
7359
|
+
summary?: string;
|
|
7360
|
+
}>;
|
|
7361
|
+
};
|
|
6598
7362
|
/**
|
|
6599
7363
|
* Response for status 422
|
|
6600
7364
|
*/
|
|
@@ -6628,95 +7392,62 @@ export type PutApiLinearPipelineExecutionsByLinearPipelineExecutionIdCancelError
|
|
|
6628
7392
|
}>;
|
|
6629
7393
|
};
|
|
6630
7394
|
};
|
|
6631
|
-
export type
|
|
6632
|
-
export type
|
|
7395
|
+
export type PostApiWorkItemsError = PostApiWorkItemsErrors[keyof PostApiWorkItemsErrors];
|
|
7396
|
+
export type PostApiWorkItemsResponses = {
|
|
6633
7397
|
/**
|
|
6634
7398
|
* Response for status 200
|
|
6635
7399
|
*/
|
|
6636
7400
|
200: {
|
|
6637
7401
|
id: string;
|
|
6638
7402
|
projectId: string;
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
attemptNumber: number;
|
|
6649
|
-
currentStepKey: string | unknown;
|
|
6650
|
-
startedAt: string | unknown;
|
|
6651
|
-
completedAt: string | unknown;
|
|
6652
|
-
routedToPipelineExecutionId: string | unknown;
|
|
6653
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
6654
|
-
stepRuns: Array<{
|
|
6655
|
-
id: string;
|
|
6656
|
-
linearPipelineExecutionAttemptId: string;
|
|
6657
|
-
linearPipelineStepDefinitionId: string;
|
|
6658
|
-
stepDefinitionId: string;
|
|
6659
|
-
stepDefinitionVersion: number;
|
|
6660
|
-
stepKey: string;
|
|
6661
|
-
position: number;
|
|
6662
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled';
|
|
6663
|
-
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
6664
|
-
stepExecutionId: string;
|
|
6665
|
-
stepExecutionResultId: string | unknown;
|
|
6666
|
-
inheritedFromStepRunId: string | unknown;
|
|
6667
|
-
acceptedByUserId: string | unknown;
|
|
6668
|
-
acceptedAt: string | unknown;
|
|
6669
|
-
acceptanceReason: string | unknown;
|
|
6670
|
-
inputJson: unknown;
|
|
6671
|
-
outputJson: unknown;
|
|
6672
|
-
evaluation: {
|
|
6673
|
-
id: string;
|
|
6674
|
-
linearPipelineExecutionAttemptId: string;
|
|
6675
|
-
linearPipelineStepRunId: string;
|
|
6676
|
-
stepExecutionId: string;
|
|
6677
|
-
stepExecutionResultId: string;
|
|
6678
|
-
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
6679
|
-
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
6680
|
-
factsSnapshotJson: {
|
|
6681
|
-
[key: string]: unknown;
|
|
6682
|
-
};
|
|
6683
|
-
ruleResultsJson: unknown;
|
|
6684
|
-
finalStatus: 'pass' | 'fail';
|
|
6685
|
-
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
6686
|
-
finalPayloadJson: {
|
|
6687
|
-
[key: string]: unknown;
|
|
6688
|
-
} | unknown;
|
|
6689
|
-
createdAt: string;
|
|
6690
|
-
} | unknown;
|
|
6691
|
-
createdAt: string;
|
|
6692
|
-
updatedAt: string;
|
|
6693
|
-
}>;
|
|
6694
|
-
events: Array<{
|
|
6695
|
-
id: string;
|
|
6696
|
-
linearPipelineExecutionAttemptId: string;
|
|
6697
|
-
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';
|
|
6698
|
-
payloadJson: {
|
|
6699
|
-
[key: string]: unknown;
|
|
6700
|
-
} | unknown;
|
|
6701
|
-
createdAt: string;
|
|
6702
|
-
}>;
|
|
6703
|
-
createdAt: string;
|
|
6704
|
-
updatedAt: string;
|
|
6705
|
-
}>;
|
|
7403
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7404
|
+
platformId?: string | unknown;
|
|
7405
|
+
platformKey: string;
|
|
7406
|
+
url?: string | unknown;
|
|
7407
|
+
title: string;
|
|
7408
|
+
description: string;
|
|
7409
|
+
sourceCreatedAt: string | unknown;
|
|
7410
|
+
sourceUpdatedAt: string | unknown;
|
|
7411
|
+
fields: unknown;
|
|
6706
7412
|
createdAt: string;
|
|
6707
7413
|
updatedAt: string;
|
|
6708
7414
|
};
|
|
6709
|
-
};
|
|
6710
|
-
export type
|
|
6711
|
-
export type
|
|
6712
|
-
body
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
7415
|
+
};
|
|
7416
|
+
export type PostApiWorkItemsResponse = PostApiWorkItemsResponses[keyof PostApiWorkItemsResponses];
|
|
7417
|
+
export type PutApiWorkItemsData = {
|
|
7418
|
+
body: {
|
|
7419
|
+
projectId: string;
|
|
7420
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7421
|
+
platformId?: string | unknown;
|
|
7422
|
+
platformKey: string;
|
|
7423
|
+
url?: string | unknown;
|
|
7424
|
+
title: string;
|
|
7425
|
+
description: string;
|
|
7426
|
+
sourceCreatedAt: string | unknown;
|
|
7427
|
+
sourceUpdatedAt: string | unknown;
|
|
7428
|
+
fields: unknown;
|
|
7429
|
+
};
|
|
7430
|
+
path?: never;
|
|
6716
7431
|
query?: never;
|
|
6717
|
-
url: '/api/
|
|
7432
|
+
url: '/api/work-items';
|
|
6718
7433
|
};
|
|
6719
|
-
export type
|
|
7434
|
+
export type PutApiWorkItemsErrors = {
|
|
7435
|
+
/**
|
|
7436
|
+
* Response for status 400
|
|
7437
|
+
*/
|
|
7438
|
+
400: {
|
|
7439
|
+
type: string;
|
|
7440
|
+
title: string;
|
|
7441
|
+
status: number;
|
|
7442
|
+
detail?: string;
|
|
7443
|
+
instance?: string;
|
|
7444
|
+
code?: string;
|
|
7445
|
+
errors?: Array<{
|
|
7446
|
+
path: string;
|
|
7447
|
+
message: string;
|
|
7448
|
+
summary?: string;
|
|
7449
|
+
}>;
|
|
7450
|
+
};
|
|
6720
7451
|
/**
|
|
6721
7452
|
* Response for status 401
|
|
6722
7453
|
*/
|
|
@@ -6798,95 +7529,37 @@ export type GetApiLinearPipelineExecutionsByLinearPipelineExecutionIdErrors = {
|
|
|
6798
7529
|
}>;
|
|
6799
7530
|
};
|
|
6800
7531
|
};
|
|
6801
|
-
export type
|
|
6802
|
-
export type
|
|
7532
|
+
export type PutApiWorkItemsError = PutApiWorkItemsErrors[keyof PutApiWorkItemsErrors];
|
|
7533
|
+
export type PutApiWorkItemsResponses = {
|
|
6803
7534
|
/**
|
|
6804
7535
|
* Response for status 200
|
|
6805
7536
|
*/
|
|
6806
7537
|
200: {
|
|
6807
7538
|
id: string;
|
|
6808
7539
|
projectId: string;
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
attemptNumber: number;
|
|
6819
|
-
currentStepKey: string | unknown;
|
|
6820
|
-
startedAt: string | unknown;
|
|
6821
|
-
completedAt: string | unknown;
|
|
6822
|
-
routedToPipelineExecutionId: string | unknown;
|
|
6823
|
-
status: 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'blocked' | 'routed';
|
|
6824
|
-
stepRuns: Array<{
|
|
6825
|
-
id: string;
|
|
6826
|
-
linearPipelineExecutionAttemptId: string;
|
|
6827
|
-
linearPipelineStepDefinitionId: string;
|
|
6828
|
-
stepDefinitionId: string;
|
|
6829
|
-
stepDefinitionVersion: number;
|
|
6830
|
-
stepKey: string;
|
|
6831
|
-
position: number;
|
|
6832
|
-
status: 'pending' | 'queued' | 'running' | 'satisfied' | 'unsatisfied' | 'blocked' | 'skipped' | 'cancelled';
|
|
6833
|
-
satisfactionStatus: 'not_evaluated' | 'satisfied_by_policy' | 'satisfied_by_user' | 'unsatisfied_by_policy';
|
|
6834
|
-
stepExecutionId: string;
|
|
6835
|
-
stepExecutionResultId: string | unknown;
|
|
6836
|
-
inheritedFromStepRunId: string | unknown;
|
|
6837
|
-
acceptedByUserId: string | unknown;
|
|
6838
|
-
acceptedAt: string | unknown;
|
|
6839
|
-
acceptanceReason: string | unknown;
|
|
6840
|
-
inputJson: unknown;
|
|
6841
|
-
outputJson: unknown;
|
|
6842
|
-
evaluation: {
|
|
6843
|
-
id: string;
|
|
6844
|
-
linearPipelineExecutionAttemptId: string;
|
|
6845
|
-
linearPipelineStepRunId: string;
|
|
6846
|
-
stepExecutionId: string;
|
|
6847
|
-
stepExecutionResultId: string;
|
|
6848
|
-
stepExecutionResultStatus: 'succeeded' | 'failed' | unknown;
|
|
6849
|
-
linearPipelineStepAdvancementPolicyDefinitionId: string;
|
|
6850
|
-
factsSnapshotJson: {
|
|
6851
|
-
[key: string]: unknown;
|
|
6852
|
-
};
|
|
6853
|
-
ruleResultsJson: unknown;
|
|
6854
|
-
finalStatus: 'pass' | 'fail';
|
|
6855
|
-
finalAction: 'continue' | 'block' | 'complete' | 'route';
|
|
6856
|
-
finalPayloadJson: {
|
|
6857
|
-
[key: string]: unknown;
|
|
6858
|
-
} | unknown;
|
|
6859
|
-
createdAt: string;
|
|
6860
|
-
} | unknown;
|
|
6861
|
-
createdAt: string;
|
|
6862
|
-
updatedAt: string;
|
|
6863
|
-
}>;
|
|
6864
|
-
events: Array<{
|
|
6865
|
-
id: string;
|
|
6866
|
-
linearPipelineExecutionAttemptId: string;
|
|
6867
|
-
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';
|
|
6868
|
-
payloadJson: {
|
|
6869
|
-
[key: string]: unknown;
|
|
6870
|
-
} | unknown;
|
|
6871
|
-
createdAt: string;
|
|
6872
|
-
}>;
|
|
6873
|
-
createdAt: string;
|
|
6874
|
-
updatedAt: string;
|
|
6875
|
-
}>;
|
|
7540
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7541
|
+
platformId?: string | unknown;
|
|
7542
|
+
platformKey: string;
|
|
7543
|
+
url?: string | unknown;
|
|
7544
|
+
title: string;
|
|
7545
|
+
description: string;
|
|
7546
|
+
sourceCreatedAt: string | unknown;
|
|
7547
|
+
sourceUpdatedAt: string | unknown;
|
|
7548
|
+
fields: unknown;
|
|
6876
7549
|
createdAt: string;
|
|
6877
7550
|
updatedAt: string;
|
|
6878
7551
|
};
|
|
6879
7552
|
};
|
|
6880
|
-
export type
|
|
6881
|
-
export type
|
|
6882
|
-
body
|
|
6883
|
-
|
|
6884
|
-
linearPipelineDefinitionId: string;
|
|
7553
|
+
export type PutApiWorkItemsResponse = PutApiWorkItemsResponses[keyof PutApiWorkItemsResponses];
|
|
7554
|
+
export type DeleteApiWorkItemsBatchData = {
|
|
7555
|
+
body: {
|
|
7556
|
+
input: Array<string>;
|
|
6885
7557
|
};
|
|
7558
|
+
path?: never;
|
|
6886
7559
|
query?: never;
|
|
6887
|
-
url: '/api/
|
|
7560
|
+
url: '/api/work-items/batch';
|
|
6888
7561
|
};
|
|
6889
|
-
export type
|
|
7562
|
+
export type DeleteApiWorkItemsBatchErrors = {
|
|
6890
7563
|
/**
|
|
6891
7564
|
* Response for status 401
|
|
6892
7565
|
*/
|
|
@@ -6968,88 +7641,128 @@ export type GetApiLinearPipelineExecutionsByDefinitionByLinearPipelineDefinition
|
|
|
6968
7641
|
}>;
|
|
6969
7642
|
};
|
|
6970
7643
|
};
|
|
6971
|
-
export type
|
|
6972
|
-
export type
|
|
7644
|
+
export type DeleteApiWorkItemsBatchError = DeleteApiWorkItemsBatchErrors[keyof DeleteApiWorkItemsBatchErrors];
|
|
7645
|
+
export type DeleteApiWorkItemsBatchResponses = {
|
|
6973
7646
|
/**
|
|
6974
7647
|
* Response for status 200
|
|
6975
7648
|
*/
|
|
6976
|
-
200:
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7649
|
+
200: number;
|
|
7650
|
+
};
|
|
7651
|
+
export type DeleteApiWorkItemsBatchResponse = DeleteApiWorkItemsBatchResponses[keyof DeleteApiWorkItemsBatchResponses];
|
|
7652
|
+
export type GetApiWorkItemsBatchData = {
|
|
7653
|
+
body?: never;
|
|
7654
|
+
path?: never;
|
|
7655
|
+
query: {
|
|
7656
|
+
workItemIds: Array<string>;
|
|
7657
|
+
};
|
|
7658
|
+
url: '/api/work-items/batch';
|
|
7659
|
+
};
|
|
7660
|
+
export type GetApiWorkItemsBatchErrors = {
|
|
7661
|
+
/**
|
|
7662
|
+
* Response for status 401
|
|
7663
|
+
*/
|
|
7664
|
+
401: {
|
|
7665
|
+
type: string;
|
|
7666
|
+
title: string;
|
|
7667
|
+
status: number;
|
|
7668
|
+
detail?: string;
|
|
7669
|
+
instance?: string;
|
|
7670
|
+
code?: string;
|
|
7671
|
+
errors?: Array<{
|
|
7672
|
+
path: string;
|
|
7673
|
+
message: string;
|
|
7674
|
+
summary?: string;
|
|
7675
|
+
}>;
|
|
7676
|
+
};
|
|
7677
|
+
/**
|
|
7678
|
+
* Response for status 403
|
|
7679
|
+
*/
|
|
7680
|
+
403: {
|
|
7681
|
+
type: string;
|
|
7682
|
+
title: string;
|
|
7683
|
+
status: number;
|
|
7684
|
+
detail?: string;
|
|
7685
|
+
instance?: string;
|
|
7686
|
+
code?: string;
|
|
7687
|
+
errors?: Array<{
|
|
7688
|
+
path: string;
|
|
7689
|
+
message: string;
|
|
7690
|
+
summary?: string;
|
|
7691
|
+
}>;
|
|
7692
|
+
};
|
|
7693
|
+
/**
|
|
7694
|
+
* Response for status 404
|
|
7695
|
+
*/
|
|
7696
|
+
404: {
|
|
7697
|
+
type: string;
|
|
7698
|
+
title: string;
|
|
7699
|
+
status: number;
|
|
7700
|
+
detail?: string;
|
|
7701
|
+
instance?: string;
|
|
7702
|
+
code?: string;
|
|
7703
|
+
errors?: Array<{
|
|
7704
|
+
path: string;
|
|
7705
|
+
message: string;
|
|
7706
|
+
summary?: string;
|
|
7707
|
+
}>;
|
|
7708
|
+
};
|
|
7709
|
+
/**
|
|
7710
|
+
* Response for status 422
|
|
7711
|
+
*/
|
|
7712
|
+
422: {
|
|
7713
|
+
type: string;
|
|
7714
|
+
title: string;
|
|
7715
|
+
status: number;
|
|
7716
|
+
detail?: string;
|
|
7717
|
+
instance?: string;
|
|
7718
|
+
code?: string;
|
|
7719
|
+
errors?: Array<{
|
|
7720
|
+
path: string;
|
|
7721
|
+
message: string;
|
|
7722
|
+
summary?: string;
|
|
7723
|
+
}>;
|
|
7724
|
+
};
|
|
7725
|
+
/**
|
|
7726
|
+
* Response for status 500
|
|
7727
|
+
*/
|
|
7728
|
+
500: {
|
|
7729
|
+
type: string;
|
|
7730
|
+
title: string;
|
|
7731
|
+
status: number;
|
|
7732
|
+
detail?: string;
|
|
7733
|
+
instance?: string;
|
|
7734
|
+
code?: string;
|
|
7735
|
+
errors?: Array<{
|
|
7736
|
+
path: string;
|
|
7737
|
+
message: string;
|
|
7738
|
+
summary?: string;
|
|
7045
7739
|
}>;
|
|
7740
|
+
};
|
|
7741
|
+
};
|
|
7742
|
+
export type GetApiWorkItemsBatchError = GetApiWorkItemsBatchErrors[keyof GetApiWorkItemsBatchErrors];
|
|
7743
|
+
export type GetApiWorkItemsBatchResponses = {
|
|
7744
|
+
/**
|
|
7745
|
+
* Response for status 200
|
|
7746
|
+
*/
|
|
7747
|
+
200: Array<{
|
|
7748
|
+
id: string;
|
|
7749
|
+
projectId: string;
|
|
7750
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7751
|
+
platformId?: string | unknown;
|
|
7752
|
+
platformKey: string;
|
|
7753
|
+
url?: string | unknown;
|
|
7754
|
+
title: string;
|
|
7755
|
+
description: string;
|
|
7756
|
+
sourceCreatedAt: string | unknown;
|
|
7757
|
+
sourceUpdatedAt: string | unknown;
|
|
7758
|
+
fields: unknown;
|
|
7046
7759
|
createdAt: string;
|
|
7047
7760
|
updatedAt: string;
|
|
7048
7761
|
}>;
|
|
7049
7762
|
};
|
|
7050
|
-
export type
|
|
7051
|
-
export type
|
|
7052
|
-
body: {
|
|
7763
|
+
export type GetApiWorkItemsBatchResponse = GetApiWorkItemsBatchResponses[keyof GetApiWorkItemsBatchResponses];
|
|
7764
|
+
export type PostApiWorkItemsBatchData = {
|
|
7765
|
+
body: Array<{
|
|
7053
7766
|
projectId: string;
|
|
7054
7767
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7055
7768
|
platformId?: string | unknown;
|
|
@@ -7060,12 +7773,12 @@ export type PostApiWorkItemsData = {
|
|
|
7060
7773
|
sourceCreatedAt: string | unknown;
|
|
7061
7774
|
sourceUpdatedAt: string | unknown;
|
|
7062
7775
|
fields: unknown;
|
|
7063
|
-
}
|
|
7776
|
+
}>;
|
|
7064
7777
|
path?: never;
|
|
7065
7778
|
query?: never;
|
|
7066
|
-
url: '/api/work-items';
|
|
7779
|
+
url: '/api/work-items/batch';
|
|
7067
7780
|
};
|
|
7068
|
-
export type
|
|
7781
|
+
export type PostApiWorkItemsBatchErrors = {
|
|
7069
7782
|
/**
|
|
7070
7783
|
* Response for status 400
|
|
7071
7784
|
*/
|
|
@@ -7179,12 +7892,12 @@ export type PostApiWorkItemsErrors = {
|
|
|
7179
7892
|
}>;
|
|
7180
7893
|
};
|
|
7181
7894
|
};
|
|
7182
|
-
export type
|
|
7183
|
-
export type
|
|
7895
|
+
export type PostApiWorkItemsBatchError = PostApiWorkItemsBatchErrors[keyof PostApiWorkItemsBatchErrors];
|
|
7896
|
+
export type PostApiWorkItemsBatchResponses = {
|
|
7184
7897
|
/**
|
|
7185
7898
|
* Response for status 200
|
|
7186
7899
|
*/
|
|
7187
|
-
200: {
|
|
7900
|
+
200: Array<{
|
|
7188
7901
|
id: string;
|
|
7189
7902
|
projectId: string;
|
|
7190
7903
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -7198,11 +7911,11 @@ export type PostApiWorkItemsResponses = {
|
|
|
7198
7911
|
fields: unknown;
|
|
7199
7912
|
createdAt: string;
|
|
7200
7913
|
updatedAt: string;
|
|
7201
|
-
}
|
|
7914
|
+
}>;
|
|
7202
7915
|
};
|
|
7203
|
-
export type
|
|
7204
|
-
export type
|
|
7205
|
-
body: {
|
|
7916
|
+
export type PostApiWorkItemsBatchResponse = PostApiWorkItemsBatchResponses[keyof PostApiWorkItemsBatchResponses];
|
|
7917
|
+
export type PutApiWorkItemsBatchData = {
|
|
7918
|
+
body: Array<{
|
|
7206
7919
|
projectId: string;
|
|
7207
7920
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
7208
7921
|
platformId?: string | unknown;
|
|
@@ -7213,12 +7926,12 @@ export type PutApiWorkItemsData = {
|
|
|
7213
7926
|
sourceCreatedAt: string | unknown;
|
|
7214
7927
|
sourceUpdatedAt: string | unknown;
|
|
7215
7928
|
fields: unknown;
|
|
7216
|
-
}
|
|
7929
|
+
}>;
|
|
7217
7930
|
path?: never;
|
|
7218
7931
|
query?: never;
|
|
7219
|
-
url: '/api/work-items';
|
|
7932
|
+
url: '/api/work-items/batch';
|
|
7220
7933
|
};
|
|
7221
|
-
export type
|
|
7934
|
+
export type PutApiWorkItemsBatchErrors = {
|
|
7222
7935
|
/**
|
|
7223
7936
|
* Response for status 400
|
|
7224
7937
|
*/
|
|
@@ -7316,12 +8029,12 @@ export type PutApiWorkItemsErrors = {
|
|
|
7316
8029
|
}>;
|
|
7317
8030
|
};
|
|
7318
8031
|
};
|
|
7319
|
-
export type
|
|
7320
|
-
export type
|
|
8032
|
+
export type PutApiWorkItemsBatchError = PutApiWorkItemsBatchErrors[keyof PutApiWorkItemsBatchErrors];
|
|
8033
|
+
export type PutApiWorkItemsBatchResponses = {
|
|
7321
8034
|
/**
|
|
7322
8035
|
* Response for status 200
|
|
7323
8036
|
*/
|
|
7324
|
-
200: {
|
|
8037
|
+
200: Array<{
|
|
7325
8038
|
id: string;
|
|
7326
8039
|
projectId: string;
|
|
7327
8040
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -7335,18 +8048,18 @@ export type PutApiWorkItemsResponses = {
|
|
|
7335
8048
|
fields: unknown;
|
|
7336
8049
|
createdAt: string;
|
|
7337
8050
|
updatedAt: string;
|
|
7338
|
-
}
|
|
8051
|
+
}>;
|
|
7339
8052
|
};
|
|
7340
|
-
export type
|
|
7341
|
-
export type
|
|
7342
|
-
body
|
|
7343
|
-
|
|
8053
|
+
export type PutApiWorkItemsBatchResponse = PutApiWorkItemsBatchResponses[keyof PutApiWorkItemsBatchResponses];
|
|
8054
|
+
export type DeleteApiWorkItemsByWorkItemIdData = {
|
|
8055
|
+
body?: never;
|
|
8056
|
+
path: {
|
|
8057
|
+
workItemId: string;
|
|
7344
8058
|
};
|
|
7345
|
-
path?: never;
|
|
7346
8059
|
query?: never;
|
|
7347
|
-
url: '/api/work-items/
|
|
8060
|
+
url: '/api/work-items/{workItemId}';
|
|
7348
8061
|
};
|
|
7349
|
-
export type
|
|
8062
|
+
export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
7350
8063
|
/**
|
|
7351
8064
|
* Response for status 401
|
|
7352
8065
|
*/
|
|
@@ -7428,23 +8141,23 @@ export type DeleteApiWorkItemsBatchErrors = {
|
|
|
7428
8141
|
}>;
|
|
7429
8142
|
};
|
|
7430
8143
|
};
|
|
7431
|
-
export type
|
|
7432
|
-
export type
|
|
8144
|
+
export type DeleteApiWorkItemsByWorkItemIdError = DeleteApiWorkItemsByWorkItemIdErrors[keyof DeleteApiWorkItemsByWorkItemIdErrors];
|
|
8145
|
+
export type DeleteApiWorkItemsByWorkItemIdResponses = {
|
|
7433
8146
|
/**
|
|
7434
8147
|
* Response for status 200
|
|
7435
8148
|
*/
|
|
7436
8149
|
200: number;
|
|
7437
8150
|
};
|
|
7438
|
-
export type
|
|
7439
|
-
export type
|
|
8151
|
+
export type DeleteApiWorkItemsByWorkItemIdResponse = DeleteApiWorkItemsByWorkItemIdResponses[keyof DeleteApiWorkItemsByWorkItemIdResponses];
|
|
8152
|
+
export type GetApiWorkItemsByWorkItemIdData = {
|
|
7440
8153
|
body?: never;
|
|
7441
|
-
path
|
|
7442
|
-
|
|
7443
|
-
workItemIds: Array<string>;
|
|
8154
|
+
path: {
|
|
8155
|
+
workItemId: string;
|
|
7444
8156
|
};
|
|
7445
|
-
|
|
8157
|
+
query?: never;
|
|
8158
|
+
url: '/api/work-items/{workItemId}';
|
|
7446
8159
|
};
|
|
7447
|
-
export type
|
|
8160
|
+
export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
7448
8161
|
/**
|
|
7449
8162
|
* Response for status 401
|
|
7450
8163
|
*/
|
|
@@ -7526,12 +8239,12 @@ export type GetApiWorkItemsBatchErrors = {
|
|
|
7526
8239
|
}>;
|
|
7527
8240
|
};
|
|
7528
8241
|
};
|
|
7529
|
-
export type
|
|
7530
|
-
export type
|
|
8242
|
+
export type GetApiWorkItemsByWorkItemIdError = GetApiWorkItemsByWorkItemIdErrors[keyof GetApiWorkItemsByWorkItemIdErrors];
|
|
8243
|
+
export type GetApiWorkItemsByWorkItemIdResponses = {
|
|
7531
8244
|
/**
|
|
7532
8245
|
* Response for status 200
|
|
7533
8246
|
*/
|
|
7534
|
-
200:
|
|
8247
|
+
200: {
|
|
7535
8248
|
id: string;
|
|
7536
8249
|
projectId: string;
|
|
7537
8250
|
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
@@ -7545,43 +8258,18 @@ export type GetApiWorkItemsBatchResponses = {
|
|
|
7545
8258
|
fields: unknown;
|
|
7546
8259
|
createdAt: string;
|
|
7547
8260
|
updatedAt: string;
|
|
7548
|
-
}
|
|
8261
|
+
};
|
|
7549
8262
|
};
|
|
7550
|
-
export type
|
|
7551
|
-
export type
|
|
7552
|
-
body
|
|
8263
|
+
export type GetApiWorkItemsByWorkItemIdResponse = GetApiWorkItemsByWorkItemIdResponses[keyof GetApiWorkItemsByWorkItemIdResponses];
|
|
8264
|
+
export type GetApiProjectsByProjectIdContextEntriesData = {
|
|
8265
|
+
body?: never;
|
|
8266
|
+
path: {
|
|
7553
8267
|
projectId: string;
|
|
7554
|
-
|
|
7555
|
-
platformId?: string | unknown;
|
|
7556
|
-
platformKey: string;
|
|
7557
|
-
url?: string | unknown;
|
|
7558
|
-
title: string;
|
|
7559
|
-
description: string;
|
|
7560
|
-
sourceCreatedAt: string | unknown;
|
|
7561
|
-
sourceUpdatedAt: string | unknown;
|
|
7562
|
-
fields: unknown;
|
|
7563
|
-
}>;
|
|
7564
|
-
path?: never;
|
|
8268
|
+
};
|
|
7565
8269
|
query?: never;
|
|
7566
|
-
url: '/api/
|
|
8270
|
+
url: '/api/projects/{projectId}/context-entries';
|
|
7567
8271
|
};
|
|
7568
|
-
export type
|
|
7569
|
-
/**
|
|
7570
|
-
* Response for status 400
|
|
7571
|
-
*/
|
|
7572
|
-
400: {
|
|
7573
|
-
type: string;
|
|
7574
|
-
title: string;
|
|
7575
|
-
status: number;
|
|
7576
|
-
detail?: string;
|
|
7577
|
-
instance?: string;
|
|
7578
|
-
code?: string;
|
|
7579
|
-
errors?: Array<{
|
|
7580
|
-
path: string;
|
|
7581
|
-
message: string;
|
|
7582
|
-
summary?: string;
|
|
7583
|
-
}>;
|
|
7584
|
-
};
|
|
8272
|
+
export type GetApiProjectsByProjectIdContextEntriesErrors = {
|
|
7585
8273
|
/**
|
|
7586
8274
|
* Response for status 401
|
|
7587
8275
|
*/
|
|
@@ -7630,22 +8318,6 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
7630
8318
|
summary?: string;
|
|
7631
8319
|
}>;
|
|
7632
8320
|
};
|
|
7633
|
-
/**
|
|
7634
|
-
* Response for status 409
|
|
7635
|
-
*/
|
|
7636
|
-
409: {
|
|
7637
|
-
type: string;
|
|
7638
|
-
title: string;
|
|
7639
|
-
status: number;
|
|
7640
|
-
detail?: string;
|
|
7641
|
-
instance?: string;
|
|
7642
|
-
code?: string;
|
|
7643
|
-
errors?: Array<{
|
|
7644
|
-
path: string;
|
|
7645
|
-
message: string;
|
|
7646
|
-
summary?: string;
|
|
7647
|
-
}>;
|
|
7648
|
-
};
|
|
7649
8321
|
/**
|
|
7650
8322
|
* Response for status 422
|
|
7651
8323
|
*/
|
|
@@ -7679,46 +8351,32 @@ export type PostApiWorkItemsBatchErrors = {
|
|
|
7679
8351
|
}>;
|
|
7680
8352
|
};
|
|
7681
8353
|
};
|
|
7682
|
-
export type
|
|
7683
|
-
export type
|
|
8354
|
+
export type GetApiProjectsByProjectIdContextEntriesError = GetApiProjectsByProjectIdContextEntriesErrors[keyof GetApiProjectsByProjectIdContextEntriesErrors];
|
|
8355
|
+
export type GetApiProjectsByProjectIdContextEntriesResponses = {
|
|
7684
8356
|
/**
|
|
7685
8357
|
* Response for status 200
|
|
7686
8358
|
*/
|
|
7687
8359
|
200: Array<{
|
|
7688
8360
|
id: string;
|
|
7689
8361
|
projectId: string;
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
title: string;
|
|
7695
|
-
description: string;
|
|
7696
|
-
sourceCreatedAt: string | unknown;
|
|
7697
|
-
sourceUpdatedAt: string | unknown;
|
|
7698
|
-
fields: unknown;
|
|
8362
|
+
category: 'persona' | 'product' | 'workflows' | 'glossary' | 'compliance' | 'billing' | 'app-surfaces';
|
|
8363
|
+
key: string;
|
|
8364
|
+
value: string;
|
|
8365
|
+
createdByUserId: string | unknown;
|
|
7699
8366
|
createdAt: string;
|
|
7700
8367
|
updatedAt: string;
|
|
7701
8368
|
}>;
|
|
7702
8369
|
};
|
|
7703
|
-
export type
|
|
7704
|
-
export type
|
|
7705
|
-
body:
|
|
8370
|
+
export type GetApiProjectsByProjectIdContextEntriesResponse = GetApiProjectsByProjectIdContextEntriesResponses[keyof GetApiProjectsByProjectIdContextEntriesResponses];
|
|
8371
|
+
export type PostApiProjectsByProjectIdContextEntriesData = {
|
|
8372
|
+
body: unknown;
|
|
8373
|
+
path: {
|
|
7706
8374
|
projectId: string;
|
|
7707
|
-
|
|
7708
|
-
platformId?: string | unknown;
|
|
7709
|
-
platformKey: string;
|
|
7710
|
-
url?: string | unknown;
|
|
7711
|
-
title: string;
|
|
7712
|
-
description: string;
|
|
7713
|
-
sourceCreatedAt: string | unknown;
|
|
7714
|
-
sourceUpdatedAt: string | unknown;
|
|
7715
|
-
fields: unknown;
|
|
7716
|
-
}>;
|
|
7717
|
-
path?: never;
|
|
8375
|
+
};
|
|
7718
8376
|
query?: never;
|
|
7719
|
-
url: '/api/
|
|
8377
|
+
url: '/api/projects/{projectId}/context-entries';
|
|
7720
8378
|
};
|
|
7721
|
-
export type
|
|
8379
|
+
export type PostApiProjectsByProjectIdContextEntriesErrors = {
|
|
7722
8380
|
/**
|
|
7723
8381
|
* Response for status 400
|
|
7724
8382
|
*/
|
|
@@ -7816,37 +8474,33 @@ export type PutApiWorkItemsBatchErrors = {
|
|
|
7816
8474
|
}>;
|
|
7817
8475
|
};
|
|
7818
8476
|
};
|
|
7819
|
-
export type
|
|
7820
|
-
export type
|
|
8477
|
+
export type PostApiProjectsByProjectIdContextEntriesError = PostApiProjectsByProjectIdContextEntriesErrors[keyof PostApiProjectsByProjectIdContextEntriesErrors];
|
|
8478
|
+
export type PostApiProjectsByProjectIdContextEntriesResponses = {
|
|
7821
8479
|
/**
|
|
7822
8480
|
* Response for status 200
|
|
7823
8481
|
*/
|
|
7824
|
-
200:
|
|
8482
|
+
200: {
|
|
7825
8483
|
id: string;
|
|
7826
8484
|
projectId: string;
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
title: string;
|
|
7832
|
-
description: string;
|
|
7833
|
-
sourceCreatedAt: string | unknown;
|
|
7834
|
-
sourceUpdatedAt: string | unknown;
|
|
7835
|
-
fields: unknown;
|
|
8485
|
+
category: 'persona' | 'product' | 'workflows' | 'glossary' | 'compliance' | 'billing' | 'app-surfaces';
|
|
8486
|
+
key: string;
|
|
8487
|
+
value: string;
|
|
8488
|
+
createdByUserId: string | unknown;
|
|
7836
8489
|
createdAt: string;
|
|
7837
8490
|
updatedAt: string;
|
|
7838
|
-
}
|
|
8491
|
+
};
|
|
7839
8492
|
};
|
|
7840
|
-
export type
|
|
7841
|
-
export type
|
|
8493
|
+
export type PostApiProjectsByProjectIdContextEntriesResponse = PostApiProjectsByProjectIdContextEntriesResponses[keyof PostApiProjectsByProjectIdContextEntriesResponses];
|
|
8494
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdData = {
|
|
7842
8495
|
body?: never;
|
|
7843
8496
|
path: {
|
|
7844
|
-
|
|
8497
|
+
projectId: string;
|
|
8498
|
+
entryId: string;
|
|
7845
8499
|
};
|
|
7846
8500
|
query?: never;
|
|
7847
|
-
url: '/api/
|
|
8501
|
+
url: '/api/projects/{projectId}/context-entries/{entryId}';
|
|
7848
8502
|
};
|
|
7849
|
-
export type
|
|
8503
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors = {
|
|
7850
8504
|
/**
|
|
7851
8505
|
* Response for status 401
|
|
7852
8506
|
*/
|
|
@@ -7928,23 +8582,23 @@ export type DeleteApiWorkItemsByWorkItemIdErrors = {
|
|
|
7928
8582
|
}>;
|
|
7929
8583
|
};
|
|
7930
8584
|
};
|
|
7931
|
-
export type
|
|
7932
|
-
export type
|
|
8585
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdError = DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors[keyof DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors];
|
|
8586
|
+
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdResponses = {
|
|
7933
8587
|
/**
|
|
7934
8588
|
* Response for status 200
|
|
7935
8589
|
*/
|
|
7936
|
-
200:
|
|
8590
|
+
200: unknown;
|
|
7937
8591
|
};
|
|
7938
|
-
export type
|
|
7939
|
-
export type GetApiWorkItemsByWorkItemIdData = {
|
|
8592
|
+
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsData = {
|
|
7940
8593
|
body?: never;
|
|
7941
8594
|
path: {
|
|
7942
|
-
|
|
8595
|
+
projectId: string;
|
|
8596
|
+
stepSignalId: string;
|
|
7943
8597
|
};
|
|
7944
8598
|
query?: never;
|
|
7945
|
-
url: '/api/
|
|
8599
|
+
url: '/api/projects/{projectId}/step-signals/{stepSignalId}/feedback-requests';
|
|
7946
8600
|
};
|
|
7947
|
-
export type
|
|
8601
|
+
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors = {
|
|
7948
8602
|
/**
|
|
7949
8603
|
* Response for status 401
|
|
7950
8604
|
*/
|
|
@@ -8026,37 +8680,33 @@ export type GetApiWorkItemsByWorkItemIdErrors = {
|
|
|
8026
8680
|
}>;
|
|
8027
8681
|
};
|
|
8028
8682
|
};
|
|
8029
|
-
export type
|
|
8030
|
-
export type
|
|
8683
|
+
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsError = GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors[keyof GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors];
|
|
8684
|
+
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses = {
|
|
8031
8685
|
/**
|
|
8032
8686
|
* Response for status 200
|
|
8033
8687
|
*/
|
|
8034
|
-
200: {
|
|
8688
|
+
200: Array<{
|
|
8035
8689
|
id: string;
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
title: string;
|
|
8042
|
-
description: string;
|
|
8043
|
-
sourceCreatedAt: string | unknown;
|
|
8044
|
-
sourceUpdatedAt: string | unknown;
|
|
8045
|
-
fields: unknown;
|
|
8690
|
+
stepSignalId: string;
|
|
8691
|
+
question: string;
|
|
8692
|
+
category: string;
|
|
8693
|
+
suggestedKey: string | unknown;
|
|
8694
|
+
status: 'pending' | 'answered' | 'declined';
|
|
8046
8695
|
createdAt: string;
|
|
8047
8696
|
updatedAt: string;
|
|
8048
|
-
}
|
|
8697
|
+
}>;
|
|
8049
8698
|
};
|
|
8050
|
-
export type
|
|
8051
|
-
export type
|
|
8699
|
+
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponse = GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses[keyof GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsResponses];
|
|
8700
|
+
export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineData = {
|
|
8052
8701
|
body?: never;
|
|
8053
8702
|
path: {
|
|
8054
8703
|
projectId: string;
|
|
8704
|
+
feedbackRequestId: string;
|
|
8055
8705
|
};
|
|
8056
8706
|
query?: never;
|
|
8057
|
-
url: '/api/projects/{projectId}/
|
|
8707
|
+
url: '/api/projects/{projectId}/feedback-requests/{feedbackRequestId}/decline';
|
|
8058
8708
|
};
|
|
8059
|
-
export type
|
|
8709
|
+
export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors = {
|
|
8060
8710
|
/**
|
|
8061
8711
|
* Response for status 401
|
|
8062
8712
|
*/
|
|
@@ -8138,36 +8788,24 @@ export type GetApiProjectsByProjectIdContextEntriesErrors = {
|
|
|
8138
8788
|
}>;
|
|
8139
8789
|
};
|
|
8140
8790
|
};
|
|
8141
|
-
export type
|
|
8142
|
-
export type
|
|
8791
|
+
export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineError = PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors[keyof PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineErrors];
|
|
8792
|
+
export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDeclineResponses = {
|
|
8143
8793
|
/**
|
|
8144
8794
|
* Response for status 200
|
|
8145
8795
|
*/
|
|
8146
|
-
200:
|
|
8147
|
-
id: string;
|
|
8148
|
-
projectId: string;
|
|
8149
|
-
category: 'persona' | 'product' | 'workflows' | 'glossary' | 'compliance' | 'billing' | 'app-surfaces';
|
|
8150
|
-
key: string;
|
|
8151
|
-
value: string;
|
|
8152
|
-
createdByUserId: string | unknown;
|
|
8153
|
-
createdAt: string;
|
|
8154
|
-
updatedAt: string;
|
|
8155
|
-
}>;
|
|
8796
|
+
200: unknown;
|
|
8156
8797
|
};
|
|
8157
|
-
export type
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
path: {
|
|
8161
|
-
projectId: string;
|
|
8162
|
-
};
|
|
8798
|
+
export type GetApiStepDefinitionTemplatesData = {
|
|
8799
|
+
body?: never;
|
|
8800
|
+
path?: never;
|
|
8163
8801
|
query?: never;
|
|
8164
|
-
url: '/api/
|
|
8802
|
+
url: '/api/step-definition-templates';
|
|
8165
8803
|
};
|
|
8166
|
-
export type
|
|
8804
|
+
export type GetApiStepDefinitionTemplatesErrors = {
|
|
8167
8805
|
/**
|
|
8168
|
-
* Response for status
|
|
8806
|
+
* Response for status 401
|
|
8169
8807
|
*/
|
|
8170
|
-
|
|
8808
|
+
401: {
|
|
8171
8809
|
type: string;
|
|
8172
8810
|
title: string;
|
|
8173
8811
|
status: number;
|
|
@@ -8181,9 +8819,9 @@ export type PostApiProjectsByProjectIdContextEntriesErrors = {
|
|
|
8181
8819
|
}>;
|
|
8182
8820
|
};
|
|
8183
8821
|
/**
|
|
8184
|
-
* Response for status
|
|
8822
|
+
* Response for status 500
|
|
8185
8823
|
*/
|
|
8186
|
-
|
|
8824
|
+
500: {
|
|
8187
8825
|
type: string;
|
|
8188
8826
|
title: string;
|
|
8189
8827
|
status: number;
|
|
@@ -8196,10 +8834,81 @@ export type PostApiProjectsByProjectIdContextEntriesErrors = {
|
|
|
8196
8834
|
summary?: string;
|
|
8197
8835
|
}>;
|
|
8198
8836
|
};
|
|
8837
|
+
};
|
|
8838
|
+
export type GetApiStepDefinitionTemplatesError = GetApiStepDefinitionTemplatesErrors[keyof GetApiStepDefinitionTemplatesErrors];
|
|
8839
|
+
export type GetApiStepDefinitionTemplatesResponses = {
|
|
8199
8840
|
/**
|
|
8200
|
-
* Response for status
|
|
8841
|
+
* Response for status 200
|
|
8201
8842
|
*/
|
|
8202
|
-
|
|
8843
|
+
200: Array<{
|
|
8844
|
+
id: string;
|
|
8845
|
+
key: string;
|
|
8846
|
+
name: string;
|
|
8847
|
+
description: string | unknown;
|
|
8848
|
+
promptTemplate: string | unknown;
|
|
8849
|
+
inputSchemaJson: unknown;
|
|
8850
|
+
resultSchemaJson: unknown;
|
|
8851
|
+
opencodeMcpJson: {
|
|
8852
|
+
[key: string]: {
|
|
8853
|
+
type: string;
|
|
8854
|
+
command: Array<string>;
|
|
8855
|
+
environment?: {
|
|
8856
|
+
[key: string]: string;
|
|
8857
|
+
};
|
|
8858
|
+
enabled?: boolean;
|
|
8859
|
+
timeout?: number;
|
|
8860
|
+
} | {
|
|
8861
|
+
type: string;
|
|
8862
|
+
url: string;
|
|
8863
|
+
enabled?: boolean;
|
|
8864
|
+
headers?: {
|
|
8865
|
+
[key: string]: string;
|
|
8866
|
+
};
|
|
8867
|
+
oauth?: {
|
|
8868
|
+
clientId?: string;
|
|
8869
|
+
clientSecret?: string;
|
|
8870
|
+
scope?: string;
|
|
8871
|
+
redirectUri?: string;
|
|
8872
|
+
} | boolean;
|
|
8873
|
+
timeout?: number;
|
|
8874
|
+
} | {
|
|
8875
|
+
enabled: boolean;
|
|
8876
|
+
};
|
|
8877
|
+
} | unknown;
|
|
8878
|
+
signalExtractorDefinitions: Array<{
|
|
8879
|
+
key: string;
|
|
8880
|
+
sourcePath: string;
|
|
8881
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
8882
|
+
required: boolean;
|
|
8883
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
8884
|
+
}>;
|
|
8885
|
+
parameters: Array<{
|
|
8886
|
+
key: string;
|
|
8887
|
+
label: string;
|
|
8888
|
+
description?: string | unknown;
|
|
8889
|
+
type: 'text' | 'textarea';
|
|
8890
|
+
required: boolean;
|
|
8891
|
+
placeholder?: string | unknown;
|
|
8892
|
+
}>;
|
|
8893
|
+
status: 'active' | 'archived';
|
|
8894
|
+
createdAt: string;
|
|
8895
|
+
updatedAt: string;
|
|
8896
|
+
}>;
|
|
8897
|
+
};
|
|
8898
|
+
export type GetApiStepDefinitionTemplatesResponse = GetApiStepDefinitionTemplatesResponses[keyof GetApiStepDefinitionTemplatesResponses];
|
|
8899
|
+
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdData = {
|
|
8900
|
+
body?: never;
|
|
8901
|
+
path: {
|
|
8902
|
+
stepDefinitionTemplateId: string;
|
|
8903
|
+
};
|
|
8904
|
+
query?: never;
|
|
8905
|
+
url: '/api/step-definition-templates/{stepDefinitionTemplateId}';
|
|
8906
|
+
};
|
|
8907
|
+
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
|
|
8908
|
+
/**
|
|
8909
|
+
* Response for status 401
|
|
8910
|
+
*/
|
|
8911
|
+
401: {
|
|
8203
8912
|
type: string;
|
|
8204
8913
|
title: string;
|
|
8205
8914
|
status: number;
|
|
@@ -8261,85 +8970,86 @@ export type PostApiProjectsByProjectIdContextEntriesErrors = {
|
|
|
8261
8970
|
}>;
|
|
8262
8971
|
};
|
|
8263
8972
|
};
|
|
8264
|
-
export type
|
|
8265
|
-
export type
|
|
8973
|
+
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdError = GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors[keyof GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors];
|
|
8974
|
+
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses = {
|
|
8266
8975
|
/**
|
|
8267
8976
|
* Response for status 200
|
|
8268
8977
|
*/
|
|
8269
8978
|
200: {
|
|
8270
8979
|
id: string;
|
|
8271
|
-
projectId: string;
|
|
8272
|
-
category: 'persona' | 'product' | 'workflows' | 'glossary' | 'compliance' | 'billing' | 'app-surfaces';
|
|
8273
8980
|
key: string;
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
8303
|
-
|
|
8304
|
-
|
|
8981
|
+
name: string;
|
|
8982
|
+
description: string | unknown;
|
|
8983
|
+
promptTemplate: string | unknown;
|
|
8984
|
+
inputSchemaJson: unknown;
|
|
8985
|
+
resultSchemaJson: unknown;
|
|
8986
|
+
opencodeMcpJson: {
|
|
8987
|
+
[key: string]: {
|
|
8988
|
+
type: string;
|
|
8989
|
+
command: Array<string>;
|
|
8990
|
+
environment?: {
|
|
8991
|
+
[key: string]: string;
|
|
8992
|
+
};
|
|
8993
|
+
enabled?: boolean;
|
|
8994
|
+
timeout?: number;
|
|
8995
|
+
} | {
|
|
8996
|
+
type: string;
|
|
8997
|
+
url: string;
|
|
8998
|
+
enabled?: boolean;
|
|
8999
|
+
headers?: {
|
|
9000
|
+
[key: string]: string;
|
|
9001
|
+
};
|
|
9002
|
+
oauth?: {
|
|
9003
|
+
clientId?: string;
|
|
9004
|
+
clientSecret?: string;
|
|
9005
|
+
scope?: string;
|
|
9006
|
+
redirectUri?: string;
|
|
9007
|
+
} | boolean;
|
|
9008
|
+
timeout?: number;
|
|
9009
|
+
} | {
|
|
9010
|
+
enabled: boolean;
|
|
9011
|
+
};
|
|
9012
|
+
} | unknown;
|
|
9013
|
+
signalExtractorDefinitions: Array<{
|
|
9014
|
+
key: string;
|
|
9015
|
+
sourcePath: string;
|
|
9016
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
9017
|
+
required: boolean;
|
|
9018
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
8305
9019
|
}>;
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
|
|
8310
|
-
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
status: number;
|
|
8314
|
-
detail?: string;
|
|
8315
|
-
instance?: string;
|
|
8316
|
-
code?: string;
|
|
8317
|
-
errors?: Array<{
|
|
8318
|
-
path: string;
|
|
8319
|
-
message: string;
|
|
8320
|
-
summary?: string;
|
|
9020
|
+
parameters: Array<{
|
|
9021
|
+
key: string;
|
|
9022
|
+
label: string;
|
|
9023
|
+
description?: string | unknown;
|
|
9024
|
+
type: 'text' | 'textarea';
|
|
9025
|
+
required: boolean;
|
|
9026
|
+
placeholder?: string | unknown;
|
|
8321
9027
|
}>;
|
|
9028
|
+
status: 'active' | 'archived';
|
|
9029
|
+
createdAt: string;
|
|
9030
|
+
updatedAt: string;
|
|
8322
9031
|
};
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
message: string;
|
|
8336
|
-
summary?: string;
|
|
8337
|
-
}>;
|
|
9032
|
+
};
|
|
9033
|
+
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponse = GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses[keyof GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdResponses];
|
|
9034
|
+
export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateData = {
|
|
9035
|
+
body: {
|
|
9036
|
+
projectId: string;
|
|
9037
|
+
name: string;
|
|
9038
|
+
parameterValues: {
|
|
9039
|
+
[key: string]: string;
|
|
9040
|
+
};
|
|
9041
|
+
};
|
|
9042
|
+
path: {
|
|
9043
|
+
stepDefinitionTemplateId: string;
|
|
8338
9044
|
};
|
|
9045
|
+
query?: never;
|
|
9046
|
+
url: '/api/step-definition-templates/{stepDefinitionTemplateId}/instantiate';
|
|
9047
|
+
};
|
|
9048
|
+
export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors = {
|
|
8339
9049
|
/**
|
|
8340
|
-
* Response for status
|
|
9050
|
+
* Response for status 400
|
|
8341
9051
|
*/
|
|
8342
|
-
|
|
9052
|
+
400: {
|
|
8343
9053
|
type: string;
|
|
8344
9054
|
title: string;
|
|
8345
9055
|
status: number;
|
|
@@ -8353,9 +9063,9 @@ export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors = {
|
|
|
8353
9063
|
}>;
|
|
8354
9064
|
};
|
|
8355
9065
|
/**
|
|
8356
|
-
* Response for status
|
|
9066
|
+
* Response for status 401
|
|
8357
9067
|
*/
|
|
8358
|
-
|
|
9068
|
+
401: {
|
|
8359
9069
|
type: string;
|
|
8360
9070
|
title: string;
|
|
8361
9071
|
status: number;
|
|
@@ -8368,28 +9078,10 @@ export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors = {
|
|
|
8368
9078
|
summary?: string;
|
|
8369
9079
|
}>;
|
|
8370
9080
|
};
|
|
8371
|
-
};
|
|
8372
|
-
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdError = DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors[keyof DeleteApiProjectsByProjectIdContextEntriesByEntryIdErrors];
|
|
8373
|
-
export type DeleteApiProjectsByProjectIdContextEntriesByEntryIdResponses = {
|
|
8374
|
-
/**
|
|
8375
|
-
* Response for status 200
|
|
8376
|
-
*/
|
|
8377
|
-
200: unknown;
|
|
8378
|
-
};
|
|
8379
|
-
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsData = {
|
|
8380
|
-
body?: never;
|
|
8381
|
-
path: {
|
|
8382
|
-
projectId: string;
|
|
8383
|
-
stepSignalId: string;
|
|
8384
|
-
};
|
|
8385
|
-
query?: never;
|
|
8386
|
-
url: '/api/projects/{projectId}/step-signals/{stepSignalId}/feedback-requests';
|
|
8387
|
-
};
|
|
8388
|
-
export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsErrors = {
|
|
8389
9081
|
/**
|
|
8390
|
-
* Response for status
|
|
9082
|
+
* Response for status 403
|
|
8391
9083
|
*/
|
|
8392
|
-
|
|
9084
|
+
403: {
|
|
8393
9085
|
type: string;
|
|
8394
9086
|
title: string;
|
|
8395
9087
|
status: number;
|
|
@@ -8403,9 +9095,9 @@ export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsEr
|
|
|
8403
9095
|
}>;
|
|
8404
9096
|
};
|
|
8405
9097
|
/**
|
|
8406
|
-
* Response for status
|
|
9098
|
+
* Response for status 404
|
|
8407
9099
|
*/
|
|
8408
|
-
|
|
9100
|
+
404: {
|
|
8409
9101
|
type: string;
|
|
8410
9102
|
title: string;
|
|
8411
9103
|
status: number;
|
|
@@ -8419,9 +9111,9 @@ export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsEr
|
|
|
8419
9111
|
}>;
|
|
8420
9112
|
};
|
|
8421
9113
|
/**
|
|
8422
|
-
* Response for status
|
|
9114
|
+
* Response for status 409
|
|
8423
9115
|
*/
|
|
8424
|
-
|
|
9116
|
+
409: {
|
|
8425
9117
|
type: string;
|
|
8426
9118
|
title: string;
|
|
8427
9119
|
status: number;
|
|
@@ -8467,33 +9159,74 @@ export type GetApiProjectsByProjectIdStepSignalsByStepSignalIdFeedbackRequestsEr
|
|
|
8467
9159
|
}>;
|
|
8468
9160
|
};
|
|
8469
9161
|
};
|
|
8470
|
-
export type
|
|
8471
|
-
export type
|
|
9162
|
+
export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateError = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateErrors];
|
|
9163
|
+
export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses = {
|
|
8472
9164
|
/**
|
|
8473
9165
|
* Response for status 200
|
|
8474
9166
|
*/
|
|
8475
|
-
200:
|
|
9167
|
+
200: {
|
|
8476
9168
|
id: string;
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
9169
|
+
projectId: string;
|
|
9170
|
+
key: string;
|
|
9171
|
+
name: string;
|
|
9172
|
+
description: string | unknown;
|
|
9173
|
+
prompt: string | unknown;
|
|
9174
|
+
version: number;
|
|
9175
|
+
kind: 'built_in' | 'user_defined';
|
|
9176
|
+
inputSchemaJson: unknown;
|
|
9177
|
+
resultSchemaJson: unknown;
|
|
9178
|
+
opencodeMcpJson: {
|
|
9179
|
+
[key: string]: {
|
|
9180
|
+
type: string;
|
|
9181
|
+
command: Array<string>;
|
|
9182
|
+
environment?: {
|
|
9183
|
+
[key: string]: string;
|
|
9184
|
+
};
|
|
9185
|
+
enabled?: boolean;
|
|
9186
|
+
timeout?: number;
|
|
9187
|
+
} | {
|
|
9188
|
+
type: string;
|
|
9189
|
+
url: string;
|
|
9190
|
+
enabled?: boolean;
|
|
9191
|
+
headers?: {
|
|
9192
|
+
[key: string]: string;
|
|
9193
|
+
};
|
|
9194
|
+
oauth?: {
|
|
9195
|
+
clientId?: string;
|
|
9196
|
+
clientSecret?: string;
|
|
9197
|
+
scope?: string;
|
|
9198
|
+
redirectUri?: string;
|
|
9199
|
+
} | boolean;
|
|
9200
|
+
timeout?: number;
|
|
9201
|
+
} | {
|
|
9202
|
+
enabled: boolean;
|
|
9203
|
+
};
|
|
9204
|
+
} | unknown;
|
|
9205
|
+
status: 'draft' | 'active' | 'archived';
|
|
9206
|
+
signalExtractorDefinitions: Array<{
|
|
9207
|
+
id: string;
|
|
9208
|
+
key: string;
|
|
9209
|
+
sourcePath: string;
|
|
9210
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
9211
|
+
required: boolean;
|
|
9212
|
+
availableWhenResultStatusIn: Array<string> | unknown;
|
|
9213
|
+
createdAt: string;
|
|
9214
|
+
updatedAt: string;
|
|
9215
|
+
}>;
|
|
8482
9216
|
createdAt: string;
|
|
8483
9217
|
updatedAt: string;
|
|
8484
|
-
}
|
|
9218
|
+
};
|
|
8485
9219
|
};
|
|
8486
|
-
export type
|
|
8487
|
-
export type
|
|
9220
|
+
export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponse = PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses[keyof PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateResponses];
|
|
9221
|
+
export type GetApiProjectsByProjectIdIntegrationsData = {
|
|
8488
9222
|
body?: never;
|
|
8489
9223
|
path: {
|
|
8490
9224
|
projectId: string;
|
|
8491
|
-
feedbackRequestId: string;
|
|
8492
9225
|
};
|
|
8493
9226
|
query?: never;
|
|
8494
|
-
url: '/api/projects/{projectId}/
|
|
9227
|
+
url: '/api/projects/{projectId}/integrations';
|
|
8495
9228
|
};
|
|
8496
|
-
export type
|
|
9229
|
+
export type GetApiProjectsByProjectIdIntegrationsErrors = {
|
|
8497
9230
|
/**
|
|
8498
9231
|
* Response for status 401
|
|
8499
9232
|
*/
|
|
@@ -8575,40 +9308,43 @@ export type PostApiProjectsByProjectIdFeedbackRequestsByFeedbackRequestIdDecline
|
|
|
8575
9308
|
}>;
|
|
8576
9309
|
};
|
|
8577
9310
|
};
|
|
8578
|
-
export type
|
|
8579
|
-
export type
|
|
9311
|
+
export type GetApiProjectsByProjectIdIntegrationsError = GetApiProjectsByProjectIdIntegrationsErrors[keyof GetApiProjectsByProjectIdIntegrationsErrors];
|
|
9312
|
+
export type GetApiProjectsByProjectIdIntegrationsResponses = {
|
|
8580
9313
|
/**
|
|
8581
9314
|
* Response for status 200
|
|
8582
9315
|
*/
|
|
8583
|
-
200:
|
|
9316
|
+
200: Array<{
|
|
9317
|
+
id: string;
|
|
9318
|
+
projectId: string;
|
|
9319
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9320
|
+
installationId: string;
|
|
9321
|
+
externalScope: {
|
|
9322
|
+
repos: Array<{
|
|
9323
|
+
id: number;
|
|
9324
|
+
fullName: string;
|
|
9325
|
+
}>;
|
|
9326
|
+
};
|
|
9327
|
+
status: 'active' | 'paused' | 'error';
|
|
9328
|
+
lastSyncedAt: string | unknown;
|
|
9329
|
+
lastError: string | unknown;
|
|
9330
|
+
createdAt: string;
|
|
9331
|
+
updatedAt: string;
|
|
9332
|
+
}>;
|
|
8584
9333
|
};
|
|
8585
|
-
export type
|
|
8586
|
-
|
|
8587
|
-
|
|
9334
|
+
export type GetApiProjectsByProjectIdIntegrationsResponse = GetApiProjectsByProjectIdIntegrationsResponses[keyof GetApiProjectsByProjectIdIntegrationsResponses];
|
|
9335
|
+
export type PostApiProjectsByProjectIdIntegrationsData = {
|
|
9336
|
+
body: unknown;
|
|
9337
|
+
path: {
|
|
9338
|
+
projectId: string;
|
|
9339
|
+
};
|
|
8588
9340
|
query?: never;
|
|
8589
|
-
url: '/api/
|
|
9341
|
+
url: '/api/projects/{projectId}/integrations';
|
|
8590
9342
|
};
|
|
8591
|
-
export type
|
|
8592
|
-
/**
|
|
8593
|
-
* Response for status 401
|
|
8594
|
-
*/
|
|
8595
|
-
401: {
|
|
8596
|
-
type: string;
|
|
8597
|
-
title: string;
|
|
8598
|
-
status: number;
|
|
8599
|
-
detail?: string;
|
|
8600
|
-
instance?: string;
|
|
8601
|
-
code?: string;
|
|
8602
|
-
errors?: Array<{
|
|
8603
|
-
path: string;
|
|
8604
|
-
message: string;
|
|
8605
|
-
summary?: string;
|
|
8606
|
-
}>;
|
|
8607
|
-
};
|
|
9343
|
+
export type PostApiProjectsByProjectIdIntegrationsErrors = {
|
|
8608
9344
|
/**
|
|
8609
|
-
* Response for status
|
|
9345
|
+
* Response for status 400
|
|
8610
9346
|
*/
|
|
8611
|
-
|
|
9347
|
+
400: {
|
|
8612
9348
|
type: string;
|
|
8613
9349
|
title: string;
|
|
8614
9350
|
status: number;
|
|
@@ -8617,81 +9353,10 @@ export type GetApiStepDefinitionTemplatesErrors = {
|
|
|
8617
9353
|
code?: string;
|
|
8618
9354
|
errors?: Array<{
|
|
8619
9355
|
path: string;
|
|
8620
|
-
message: string;
|
|
8621
|
-
summary?: string;
|
|
8622
|
-
}>;
|
|
8623
|
-
};
|
|
8624
|
-
};
|
|
8625
|
-
export type GetApiStepDefinitionTemplatesError = GetApiStepDefinitionTemplatesErrors[keyof GetApiStepDefinitionTemplatesErrors];
|
|
8626
|
-
export type GetApiStepDefinitionTemplatesResponses = {
|
|
8627
|
-
/**
|
|
8628
|
-
* Response for status 200
|
|
8629
|
-
*/
|
|
8630
|
-
200: Array<{
|
|
8631
|
-
id: string;
|
|
8632
|
-
key: string;
|
|
8633
|
-
name: string;
|
|
8634
|
-
description: string | unknown;
|
|
8635
|
-
promptTemplate: string | unknown;
|
|
8636
|
-
inputSchemaJson: unknown;
|
|
8637
|
-
resultSchemaJson: unknown;
|
|
8638
|
-
opencodeMcpJson: {
|
|
8639
|
-
[key: string]: {
|
|
8640
|
-
type: string;
|
|
8641
|
-
command: Array<string>;
|
|
8642
|
-
environment?: {
|
|
8643
|
-
[key: string]: string;
|
|
8644
|
-
};
|
|
8645
|
-
enabled?: boolean;
|
|
8646
|
-
timeout?: number;
|
|
8647
|
-
} | {
|
|
8648
|
-
type: string;
|
|
8649
|
-
url: string;
|
|
8650
|
-
enabled?: boolean;
|
|
8651
|
-
headers?: {
|
|
8652
|
-
[key: string]: string;
|
|
8653
|
-
};
|
|
8654
|
-
oauth?: {
|
|
8655
|
-
clientId?: string;
|
|
8656
|
-
clientSecret?: string;
|
|
8657
|
-
scope?: string;
|
|
8658
|
-
redirectUri?: string;
|
|
8659
|
-
} | boolean;
|
|
8660
|
-
timeout?: number;
|
|
8661
|
-
} | {
|
|
8662
|
-
enabled: boolean;
|
|
8663
|
-
};
|
|
8664
|
-
} | unknown;
|
|
8665
|
-
signalExtractorDefinitions: Array<{
|
|
8666
|
-
key: string;
|
|
8667
|
-
sourcePath: string;
|
|
8668
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
8669
|
-
required: boolean;
|
|
8670
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
8671
|
-
}>;
|
|
8672
|
-
parameters: Array<{
|
|
8673
|
-
key: string;
|
|
8674
|
-
label: string;
|
|
8675
|
-
description?: string | unknown;
|
|
8676
|
-
type: 'text' | 'textarea';
|
|
8677
|
-
required: boolean;
|
|
8678
|
-
placeholder?: string | unknown;
|
|
8679
|
-
}>;
|
|
8680
|
-
status: 'active' | 'archived';
|
|
8681
|
-
createdAt: string;
|
|
8682
|
-
updatedAt: string;
|
|
8683
|
-
}>;
|
|
8684
|
-
};
|
|
8685
|
-
export type GetApiStepDefinitionTemplatesResponse = GetApiStepDefinitionTemplatesResponses[keyof GetApiStepDefinitionTemplatesResponses];
|
|
8686
|
-
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdData = {
|
|
8687
|
-
body?: never;
|
|
8688
|
-
path: {
|
|
8689
|
-
stepDefinitionTemplateId: string;
|
|
9356
|
+
message: string;
|
|
9357
|
+
summary?: string;
|
|
9358
|
+
}>;
|
|
8690
9359
|
};
|
|
8691
|
-
query?: never;
|
|
8692
|
-
url: '/api/step-definition-templates/{stepDefinitionTemplateId}';
|
|
8693
|
-
};
|
|
8694
|
-
export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
|
|
8695
9360
|
/**
|
|
8696
9361
|
* Response for status 401
|
|
8697
9362
|
*/
|
|
@@ -8708,6 +9373,22 @@ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
|
|
|
8708
9373
|
summary?: string;
|
|
8709
9374
|
}>;
|
|
8710
9375
|
};
|
|
9376
|
+
/**
|
|
9377
|
+
* Response for status 403
|
|
9378
|
+
*/
|
|
9379
|
+
403: {
|
|
9380
|
+
type: string;
|
|
9381
|
+
title: string;
|
|
9382
|
+
status: number;
|
|
9383
|
+
detail?: string;
|
|
9384
|
+
instance?: string;
|
|
9385
|
+
code?: string;
|
|
9386
|
+
errors?: Array<{
|
|
9387
|
+
path: string;
|
|
9388
|
+
message: string;
|
|
9389
|
+
summary?: string;
|
|
9390
|
+
}>;
|
|
9391
|
+
};
|
|
8711
9392
|
/**
|
|
8712
9393
|
* Response for status 404
|
|
8713
9394
|
*/
|
|
@@ -8757,82 +9438,40 @@ export type GetApiStepDefinitionTemplatesByStepDefinitionTemplateIdErrors = {
|
|
|
8757
9438
|
}>;
|
|
8758
9439
|
};
|
|
8759
9440
|
};
|
|
8760
|
-
export type
|
|
8761
|
-
export type
|
|
9441
|
+
export type PostApiProjectsByProjectIdIntegrationsError = PostApiProjectsByProjectIdIntegrationsErrors[keyof PostApiProjectsByProjectIdIntegrationsErrors];
|
|
9442
|
+
export type PostApiProjectsByProjectIdIntegrationsResponses = {
|
|
8762
9443
|
/**
|
|
8763
9444
|
* Response for status 200
|
|
8764
9445
|
*/
|
|
8765
9446
|
200: {
|
|
8766
9447
|
id: string;
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
};
|
|
8780
|
-
enabled?: boolean;
|
|
8781
|
-
timeout?: number;
|
|
8782
|
-
} | {
|
|
8783
|
-
type: string;
|
|
8784
|
-
url: string;
|
|
8785
|
-
enabled?: boolean;
|
|
8786
|
-
headers?: {
|
|
8787
|
-
[key: string]: string;
|
|
8788
|
-
};
|
|
8789
|
-
oauth?: {
|
|
8790
|
-
clientId?: string;
|
|
8791
|
-
clientSecret?: string;
|
|
8792
|
-
scope?: string;
|
|
8793
|
-
redirectUri?: string;
|
|
8794
|
-
} | boolean;
|
|
8795
|
-
timeout?: number;
|
|
8796
|
-
} | {
|
|
8797
|
-
enabled: boolean;
|
|
8798
|
-
};
|
|
8799
|
-
} | unknown;
|
|
8800
|
-
signalExtractorDefinitions: Array<{
|
|
8801
|
-
key: string;
|
|
8802
|
-
sourcePath: string;
|
|
8803
|
-
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
8804
|
-
required: boolean;
|
|
8805
|
-
availableWhenResultStatusIn: Array<string> | unknown;
|
|
8806
|
-
}>;
|
|
8807
|
-
parameters: Array<{
|
|
8808
|
-
key: string;
|
|
8809
|
-
label: string;
|
|
8810
|
-
description?: string | unknown;
|
|
8811
|
-
type: 'text' | 'textarea';
|
|
8812
|
-
required: boolean;
|
|
8813
|
-
placeholder?: string | unknown;
|
|
8814
|
-
}>;
|
|
8815
|
-
status: 'active' | 'archived';
|
|
9448
|
+
projectId: string;
|
|
9449
|
+
platform: 'jira' | 'github' | 'linear' | 'boboddy' | 'custom';
|
|
9450
|
+
installationId: string;
|
|
9451
|
+
externalScope: {
|
|
9452
|
+
repos: Array<{
|
|
9453
|
+
id: number;
|
|
9454
|
+
fullName: string;
|
|
9455
|
+
}>;
|
|
9456
|
+
};
|
|
9457
|
+
status: 'active' | 'paused' | 'error';
|
|
9458
|
+
lastSyncedAt: string | unknown;
|
|
9459
|
+
lastError: string | unknown;
|
|
8816
9460
|
createdAt: string;
|
|
8817
9461
|
updatedAt: string;
|
|
8818
9462
|
};
|
|
8819
9463
|
};
|
|
8820
|
-
export type
|
|
8821
|
-
export type
|
|
8822
|
-
body
|
|
8823
|
-
projectId: string;
|
|
8824
|
-
name: string;
|
|
8825
|
-
parameterValues: {
|
|
8826
|
-
[key: string]: string;
|
|
8827
|
-
};
|
|
8828
|
-
};
|
|
9464
|
+
export type PostApiProjectsByProjectIdIntegrationsResponse = PostApiProjectsByProjectIdIntegrationsResponses[keyof PostApiProjectsByProjectIdIntegrationsResponses];
|
|
9465
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncData = {
|
|
9466
|
+
body?: never;
|
|
8829
9467
|
path: {
|
|
8830
|
-
|
|
9468
|
+
projectId: string;
|
|
9469
|
+
integrationId: string;
|
|
8831
9470
|
};
|
|
8832
9471
|
query?: never;
|
|
8833
|
-
url: '/api/
|
|
9472
|
+
url: '/api/projects/{projectId}/integrations/{integrationId}/sync';
|
|
8834
9473
|
};
|
|
8835
|
-
export type
|
|
9474
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors = {
|
|
8836
9475
|
/**
|
|
8837
9476
|
* Response for status 400
|
|
8838
9477
|
*/
|
|
@@ -8898,9 +9537,9 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateE
|
|
|
8898
9537
|
}>;
|
|
8899
9538
|
};
|
|
8900
9539
|
/**
|
|
8901
|
-
* Response for status
|
|
9540
|
+
* Response for status 422
|
|
8902
9541
|
*/
|
|
8903
|
-
|
|
9542
|
+
422: {
|
|
8904
9543
|
type: string;
|
|
8905
9544
|
title: string;
|
|
8906
9545
|
status: number;
|
|
@@ -8914,9 +9553,9 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateE
|
|
|
8914
9553
|
}>;
|
|
8915
9554
|
};
|
|
8916
9555
|
/**
|
|
8917
|
-
* Response for status
|
|
9556
|
+
* Response for status 500
|
|
8918
9557
|
*/
|
|
8919
|
-
|
|
9558
|
+
500: {
|
|
8920
9559
|
type: string;
|
|
8921
9560
|
title: string;
|
|
8922
9561
|
status: number;
|
|
@@ -8930,9 +9569,9 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateE
|
|
|
8930
9569
|
}>;
|
|
8931
9570
|
};
|
|
8932
9571
|
/**
|
|
8933
|
-
* Response for status
|
|
9572
|
+
* Response for status 502
|
|
8934
9573
|
*/
|
|
8935
|
-
|
|
9574
|
+
502: {
|
|
8936
9575
|
type: string;
|
|
8937
9576
|
title: string;
|
|
8938
9577
|
status: number;
|
|
@@ -8946,62 +9585,134 @@ export type PostApiStepDefinitionTemplatesByStepDefinitionTemplateIdInstantiateE
|
|
|
8946
9585
|
}>;
|
|
8947
9586
|
};
|
|
8948
9587
|
};
|
|
8949
|
-
export type
|
|
8950
|
-
export type
|
|
9588
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncError = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncErrors];
|
|
9589
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses = {
|
|
8951
9590
|
/**
|
|
8952
9591
|
* Response for status 200
|
|
8953
9592
|
*/
|
|
8954
9593
|
200: {
|
|
8955
|
-
|
|
9594
|
+
totalUpserted: number;
|
|
9595
|
+
perRepo: Array<{
|
|
9596
|
+
fullName: string;
|
|
9597
|
+
totalSeen: number;
|
|
9598
|
+
totalUpserted: number;
|
|
9599
|
+
}>;
|
|
9600
|
+
};
|
|
9601
|
+
};
|
|
9602
|
+
export type PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponse = PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses[keyof PostApiProjectsByProjectIdIntegrationsByIntegrationIdSyncResponses];
|
|
9603
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdData = {
|
|
9604
|
+
body?: never;
|
|
9605
|
+
path: {
|
|
8956
9606
|
projectId: string;
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9607
|
+
integrationId: string;
|
|
9608
|
+
};
|
|
9609
|
+
query?: never;
|
|
9610
|
+
url: '/api/projects/{projectId}/integrations/{integrationId}';
|
|
9611
|
+
};
|
|
9612
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors = {
|
|
9613
|
+
/**
|
|
9614
|
+
* Response for status 401
|
|
9615
|
+
*/
|
|
9616
|
+
401: {
|
|
9617
|
+
type: string;
|
|
9618
|
+
title: string;
|
|
9619
|
+
status: number;
|
|
9620
|
+
detail?: string;
|
|
9621
|
+
instance?: string;
|
|
9622
|
+
code?: string;
|
|
9623
|
+
errors?: Array<{
|
|
9624
|
+
path: string;
|
|
9625
|
+
message: string;
|
|
9626
|
+
summary?: string;
|
|
9627
|
+
}>;
|
|
9628
|
+
};
|
|
9629
|
+
/**
|
|
9630
|
+
* Response for status 403
|
|
9631
|
+
*/
|
|
9632
|
+
403: {
|
|
9633
|
+
type: string;
|
|
9634
|
+
title: string;
|
|
9635
|
+
status: number;
|
|
9636
|
+
detail?: string;
|
|
9637
|
+
instance?: string;
|
|
9638
|
+
code?: string;
|
|
9639
|
+
errors?: Array<{
|
|
9640
|
+
path: string;
|
|
9641
|
+
message: string;
|
|
9642
|
+
summary?: string;
|
|
9643
|
+
}>;
|
|
9644
|
+
};
|
|
9645
|
+
/**
|
|
9646
|
+
* Response for status 404
|
|
9647
|
+
*/
|
|
9648
|
+
404: {
|
|
9649
|
+
type: string;
|
|
9650
|
+
title: string;
|
|
9651
|
+
status: number;
|
|
9652
|
+
detail?: string;
|
|
9653
|
+
instance?: string;
|
|
9654
|
+
code?: string;
|
|
9655
|
+
errors?: Array<{
|
|
9656
|
+
path: string;
|
|
9657
|
+
message: string;
|
|
9658
|
+
summary?: string;
|
|
9659
|
+
}>;
|
|
9660
|
+
};
|
|
9661
|
+
/**
|
|
9662
|
+
* Response for status 422
|
|
9663
|
+
*/
|
|
9664
|
+
422: {
|
|
9665
|
+
type: string;
|
|
9666
|
+
title: string;
|
|
9667
|
+
status: number;
|
|
9668
|
+
detail?: string;
|
|
9669
|
+
instance?: string;
|
|
9670
|
+
code?: string;
|
|
9671
|
+
errors?: Array<{
|
|
9672
|
+
path: string;
|
|
9673
|
+
message: string;
|
|
9674
|
+
summary?: string;
|
|
9675
|
+
}>;
|
|
9676
|
+
};
|
|
9677
|
+
/**
|
|
9678
|
+
* Response for status 500
|
|
9679
|
+
*/
|
|
9680
|
+
500: {
|
|
9681
|
+
type: string;
|
|
9682
|
+
title: string;
|
|
9683
|
+
status: number;
|
|
9684
|
+
detail?: string;
|
|
9685
|
+
instance?: string;
|
|
9686
|
+
code?: string;
|
|
9687
|
+
errors?: Array<{
|
|
9688
|
+
path: string;
|
|
9689
|
+
message: string;
|
|
9690
|
+
summary?: string;
|
|
9002
9691
|
}>;
|
|
9003
|
-
createdAt: string;
|
|
9004
|
-
updatedAt: string;
|
|
9005
9692
|
};
|
|
9006
9693
|
};
|
|
9007
|
-
export type
|
|
9694
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdError = DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors[keyof DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdErrors];
|
|
9695
|
+
export type DeleteApiProjectsByProjectIdIntegrationsByIntegrationIdResponses = {
|
|
9696
|
+
/**
|
|
9697
|
+
* Response for status 200
|
|
9698
|
+
*/
|
|
9699
|
+
200: unknown;
|
|
9700
|
+
};
|
|
9701
|
+
export type GetApiIntegrationsGithubInstallData = {
|
|
9702
|
+
body?: never;
|
|
9703
|
+
path?: never;
|
|
9704
|
+
query?: never;
|
|
9705
|
+
url: '/api/integrations/github/install';
|
|
9706
|
+
};
|
|
9707
|
+
export type GetApiIntegrationsGithubCallbackData = {
|
|
9708
|
+
body?: never;
|
|
9709
|
+
path?: never;
|
|
9710
|
+
query?: never;
|
|
9711
|
+
url: '/api/integrations/github/callback';
|
|
9712
|
+
};
|
|
9713
|
+
export type PostApiIntegrationsGithubWebhookData = {
|
|
9714
|
+
body?: never;
|
|
9715
|
+
path?: never;
|
|
9716
|
+
query?: never;
|
|
9717
|
+
url: '/api/integrations/github/webhook';
|
|
9718
|
+
};
|