@stack-spot/portal-network 0.156.1-beta.2 → 0.156.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -52
- package/dist/api/codeShift.d.ts +196 -101
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +94 -37
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discovery.d.ts +222 -33
- package/dist/api/discovery.d.ts.map +1 -1
- package/dist/api/discovery.js +78 -27
- package/dist/api/discovery.js.map +1 -1
- package/dist/apis.json +1 -1
- package/dist/client/agent-tools.d.ts +3 -89
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +2 -133
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +50 -5
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/agent.js +64 -0
- package/dist/client/agent.js.map +1 -1
- package/dist/client/ai.d.ts +0 -7
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +1 -10
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +67 -25
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +73 -30
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/discovery.d.ts +6 -12
- package/dist/client/discovery.d.ts.map +1 -1
- package/dist/client/discovery.js +5 -14
- package/dist/client/discovery.js.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +0 -9
- package/dist/client/gen-ai-inference.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.js +1 -10
- package/dist/client/gen-ai-inference.js.map +1 -1
- package/dist/client/types.d.ts +4 -5
- package/dist/client/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/api/account.ts +0 -1
- package/src/api/agent-tools.ts +0 -3
- package/src/api/agent.ts +0 -2
- package/src/api/codeShift.ts +481 -248
- package/src/api/discovery.ts +309 -49
- package/src/api/notification.ts +0 -2
- package/src/apis.json +1 -1
- package/src/client/agent-tools.ts +3 -102
- package/src/client/agent.ts +68 -0
- package/src/client/ai.ts +0 -6
- package/src/client/code-shift.ts +57 -19
- package/src/client/discovery.ts +5 -9
- package/src/client/gen-ai-inference.ts +1 -6
- package/src/client/types.ts +5 -7
package/src/api/codeShift.ts
CHANGED
|
@@ -24,6 +24,122 @@ export type ValidationError = {
|
|
|
24
24
|
export type HttpValidationError = {
|
|
25
25
|
detail?: ValidationError[];
|
|
26
26
|
};
|
|
27
|
+
export type ModuleResponse = {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
};
|
|
31
|
+
export type ExecutionResponse = {
|
|
32
|
+
id: string;
|
|
33
|
+
startedAt: string | null;
|
|
34
|
+
completedAt: string | null;
|
|
35
|
+
status: string | null;
|
|
36
|
+
conclusion: string | null;
|
|
37
|
+
};
|
|
38
|
+
export type UserResponse = {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
email: string;
|
|
42
|
+
ip?: string | null;
|
|
43
|
+
};
|
|
44
|
+
export type ReportResponse = {
|
|
45
|
+
id: string;
|
|
46
|
+
"module": ModuleResponse | null;
|
|
47
|
+
execution: ExecutionResponse | null;
|
|
48
|
+
mode: string;
|
|
49
|
+
sourceBranch: string;
|
|
50
|
+
targetBranch?: string | null;
|
|
51
|
+
createdBy: UserResponse;
|
|
52
|
+
createdAt: string;
|
|
53
|
+
updatedAt: string;
|
|
54
|
+
filesCount: number | null;
|
|
55
|
+
issuesCount: number | null;
|
|
56
|
+
pullRequestLink?: string | null;
|
|
57
|
+
errorLog?: string | null;
|
|
58
|
+
};
|
|
59
|
+
export type ListApplicationReportResponse = {
|
|
60
|
+
/** List of reports */
|
|
61
|
+
items: ReportResponse[];
|
|
62
|
+
/** Number of reports */
|
|
63
|
+
itemsCount: number;
|
|
64
|
+
/** Last evaluated key */
|
|
65
|
+
lastEvaluatedKey: string | null;
|
|
66
|
+
};
|
|
67
|
+
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
68
|
+
export type BadRequestExceptionTypes = "CODE_SHIFT_API_1001_DECODE_JWT_ERROR" | "CODE_SHIFT_API_2001_BAD_REQUEST_REQUIRED_FIELD" | "CODE_SHIFT_API_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "CODE_SHIFT_API_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "CODE_SHIFT_API_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "CODE_SHIFT_API_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "CODE_SHIFT_API_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "CODE_SHIFT_API_2103_BAD_REQUEST_INVALID_PAGE" | "CODE_SHIFT_API_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "CODE_SHIFT_API_2105_BAD_REQUEST_INVALID_REPO_URL" | "CODE_SHIFT_API_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "CODE_SHIFT_API_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "CODE_SHIFT_API_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "CODE_SHIFT_API_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "CODE_SHIFT_API_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "CODE_SHIFT_API_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_TARGET" | "CODE_SHIFT_API_2121_BAD_REQUEST_FILLED_TARGET" | "CODE_SHIFT_API_2999_BAD_REQUEST_UNMAPPED";
|
|
69
|
+
export type InvalidPayloadDetails = {
|
|
70
|
+
code: BadRequestExceptionTypes | ExceptionType;
|
|
71
|
+
field: string | null;
|
|
72
|
+
message?: string | null;
|
|
73
|
+
};
|
|
74
|
+
export type HttpErrorResponse = {
|
|
75
|
+
status: string;
|
|
76
|
+
code: ExceptionType;
|
|
77
|
+
details: string;
|
|
78
|
+
validationDetails?: InvalidPayloadDetails[] | null;
|
|
79
|
+
};
|
|
80
|
+
export type BodyCreateApplicationsBatchServiceV1ApplicationsBatchPost = {
|
|
81
|
+
file: Blob;
|
|
82
|
+
};
|
|
83
|
+
export type RepositoryRequest = {
|
|
84
|
+
url: string;
|
|
85
|
+
defaultBranch: string;
|
|
86
|
+
};
|
|
87
|
+
export type CreateApplicationRequest = {
|
|
88
|
+
/** Application name */
|
|
89
|
+
name?: string | null;
|
|
90
|
+
/** Repository */
|
|
91
|
+
repository: RepositoryRequest;
|
|
92
|
+
};
|
|
93
|
+
export type RepositoryResponse = {
|
|
94
|
+
url: string;
|
|
95
|
+
defaultBranch: string;
|
|
96
|
+
};
|
|
97
|
+
export type ReportResponse2 = {
|
|
98
|
+
id: string;
|
|
99
|
+
execution: ExecutionResponse | null;
|
|
100
|
+
mode: string;
|
|
101
|
+
moduleId: string | null;
|
|
102
|
+
sourceBranch: string;
|
|
103
|
+
targetBranch?: string | null;
|
|
104
|
+
createdBy: UserResponse;
|
|
105
|
+
createdAt: string;
|
|
106
|
+
updatedAt: string;
|
|
107
|
+
filesCount: number | null;
|
|
108
|
+
issuesCount: number | null;
|
|
109
|
+
pullRequestLink?: string | null;
|
|
110
|
+
errorLog?: string | null;
|
|
111
|
+
};
|
|
112
|
+
export type ApplicationResponse = {
|
|
113
|
+
/** Application ID */
|
|
114
|
+
id: string;
|
|
115
|
+
/** Application name */
|
|
116
|
+
name: string;
|
|
117
|
+
/** Application creation date */
|
|
118
|
+
createdAt?: string | null;
|
|
119
|
+
/** Application creation user */
|
|
120
|
+
createdBy?: string | null;
|
|
121
|
+
/** Repository */
|
|
122
|
+
repository: RepositoryResponse | null;
|
|
123
|
+
lastModuleReport: ReportResponse2 | null;
|
|
124
|
+
};
|
|
125
|
+
export type ListApplicationResponse = {
|
|
126
|
+
/** List of applications */
|
|
127
|
+
items: ApplicationResponse[];
|
|
128
|
+
/** Number of applications */
|
|
129
|
+
itemsCount: number;
|
|
130
|
+
/** Last evaluated key */
|
|
131
|
+
lastEvaluatedKey: string | null;
|
|
132
|
+
};
|
|
133
|
+
export type RepositoryRequest2 = {
|
|
134
|
+
url?: string | null;
|
|
135
|
+
defaultBranch?: string | null;
|
|
136
|
+
};
|
|
137
|
+
export type PutApplicationRequest = {
|
|
138
|
+
/** Application name */
|
|
139
|
+
name?: string | null;
|
|
140
|
+
/** Repository */
|
|
141
|
+
repository?: RepositoryRequest2 | null;
|
|
142
|
+
};
|
|
27
143
|
export type ModuleType = "repository" | "program_group";
|
|
28
144
|
export type InputRequest = {
|
|
29
145
|
name: string;
|
|
@@ -50,42 +166,12 @@ export type CreateModuleRequest = {
|
|
|
50
166
|
/** Module studio */
|
|
51
167
|
studio: string;
|
|
52
168
|
};
|
|
53
|
-
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
54
|
-
export type BadRequestExceptionTypes = "CODE_SHIFT_API_1001_DECODE_JWT_ERROR" | "CODE_SHIFT_API_2001_BAD_REQUEST_REQUIRED_FIELD" | "CODE_SHIFT_API_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "CODE_SHIFT_API_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "CODE_SHIFT_API_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "CODE_SHIFT_API_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "CODE_SHIFT_API_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "CODE_SHIFT_API_2103_BAD_REQUEST_INVALID_PAGE" | "CODE_SHIFT_API_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "CODE_SHIFT_API_2105_BAD_REQUEST_INVALID_REPO_URL" | "CODE_SHIFT_API_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "CODE_SHIFT_API_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "CODE_SHIFT_API_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "CODE_SHIFT_API_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "CODE_SHIFT_API_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "CODE_SHIFT_API_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_TARGET" | "CODE_SHIFT_API_2121_BAD_REQUEST_FILLED_TARGET" | "CODE_SHIFT_API_2999_BAD_REQUEST_UNMAPPED";
|
|
55
|
-
export type InvalidPayloadDetails = {
|
|
56
|
-
code: BadRequestExceptionTypes | ExceptionType;
|
|
57
|
-
field: string | null;
|
|
58
|
-
message?: string | null;
|
|
59
|
-
};
|
|
60
|
-
export type SuggestedMessage = {
|
|
61
|
-
ptBr: string | null;
|
|
62
|
-
enUs: string | null;
|
|
63
|
-
};
|
|
64
|
-
export type InvalidPayloadDetailsRead = {
|
|
65
|
-
code: BadRequestExceptionTypes | ExceptionType;
|
|
66
|
-
field: string | null;
|
|
67
|
-
message?: string | null;
|
|
68
|
-
suggestedMessages: SuggestedMessage | null;
|
|
69
|
-
};
|
|
70
|
-
export type HttpErrorResponse = {
|
|
71
|
-
status: string;
|
|
72
|
-
code: ExceptionType;
|
|
73
|
-
details: string;
|
|
74
|
-
validationDetails?: InvalidPayloadDetails[] | null;
|
|
75
|
-
};
|
|
76
|
-
export type HttpErrorResponseRead = {
|
|
77
|
-
status: string;
|
|
78
|
-
code: ExceptionType;
|
|
79
|
-
details: string;
|
|
80
|
-
validationDetails?: InvalidPayloadDetailsRead[] | null;
|
|
81
|
-
suggestedMessages: SuggestedMessage | null;
|
|
82
|
-
};
|
|
83
169
|
export type InputResponse = {
|
|
84
170
|
name: string;
|
|
85
171
|
required: boolean;
|
|
86
172
|
"default": string;
|
|
87
173
|
};
|
|
88
|
-
export type
|
|
174
|
+
export type ModuleResponse2 = {
|
|
89
175
|
/** Module ID */
|
|
90
176
|
id: string;
|
|
91
177
|
/** Module type */
|
|
@@ -109,7 +195,7 @@ export type ModuleResponse = {
|
|
|
109
195
|
};
|
|
110
196
|
export type ListModuleResponse = {
|
|
111
197
|
/** List of modules */
|
|
112
|
-
items:
|
|
198
|
+
items: ModuleResponse2[];
|
|
113
199
|
/** Number of modules */
|
|
114
200
|
itemsCount: number;
|
|
115
201
|
/** Last evaluated key */
|
|
@@ -173,33 +259,19 @@ export type PutReportRequest = {
|
|
|
173
259
|
issuesCount: number;
|
|
174
260
|
totalFilesCount?: number | null;
|
|
175
261
|
analyzedFilesCount?: number | null;
|
|
176
|
-
totalFilesChanged?: number | null;
|
|
177
262
|
pullRequestLink?: string | null;
|
|
178
263
|
commitHash?: string | null;
|
|
179
264
|
targetFiles: TargetFilesRequest[];
|
|
180
265
|
};
|
|
181
|
-
export type
|
|
266
|
+
export type ModuleResponse3 = {
|
|
182
267
|
id: string;
|
|
183
268
|
name: string;
|
|
184
269
|
};
|
|
185
|
-
export type
|
|
270
|
+
export type ApplicationResponse2 = {
|
|
186
271
|
id: string;
|
|
187
272
|
name: string;
|
|
188
273
|
url: string;
|
|
189
274
|
};
|
|
190
|
-
export type ExecutionResponse = {
|
|
191
|
-
id: string;
|
|
192
|
-
startedAt: string | null;
|
|
193
|
-
completedAt: string | null;
|
|
194
|
-
status: string | null;
|
|
195
|
-
conclusion: string | null;
|
|
196
|
-
};
|
|
197
|
-
export type UserResponse = {
|
|
198
|
-
id: string;
|
|
199
|
-
name: string;
|
|
200
|
-
email: string;
|
|
201
|
-
ip?: string | null;
|
|
202
|
-
};
|
|
203
275
|
export type ProgramGroupResponse = {
|
|
204
276
|
id: string;
|
|
205
277
|
name: string;
|
|
@@ -226,8 +298,8 @@ export type TargetFilesResponse = {
|
|
|
226
298
|
};
|
|
227
299
|
export type GetReportResponse = {
|
|
228
300
|
id: string;
|
|
229
|
-
"module":
|
|
230
|
-
application:
|
|
301
|
+
"module": ModuleResponse3 | null;
|
|
302
|
+
application: ApplicationResponse2 | null;
|
|
231
303
|
execution: ExecutionResponse | null;
|
|
232
304
|
mode: string;
|
|
233
305
|
sourceBranch: string | null;
|
|
@@ -237,7 +309,6 @@ export type GetReportResponse = {
|
|
|
237
309
|
updatedAt: string;
|
|
238
310
|
filesCount: number | null;
|
|
239
311
|
totalFilesCount: number | null;
|
|
240
|
-
totalFilesChanged: number | null;
|
|
241
312
|
analyzedFilesCount: number | null;
|
|
242
313
|
issuesFilesCount: number | null;
|
|
243
314
|
issuesCount: number | null;
|
|
@@ -247,9 +318,6 @@ export type GetReportResponse = {
|
|
|
247
318
|
targetFiles: TargetFilesResponse[];
|
|
248
319
|
errorLog?: string | null;
|
|
249
320
|
};
|
|
250
|
-
export type GetPullRequest = {
|
|
251
|
-
content: string;
|
|
252
|
-
};
|
|
253
321
|
export type SearchRepoScmResponse = {
|
|
254
322
|
id: string;
|
|
255
323
|
};
|
|
@@ -258,13 +326,13 @@ export type GetStatusSearchRepoScmResponse = {
|
|
|
258
326
|
status: SearchRepositoryStatus;
|
|
259
327
|
errorLog?: string | null;
|
|
260
328
|
};
|
|
261
|
-
export type
|
|
329
|
+
export type ModuleResponse4 = {
|
|
262
330
|
id: string;
|
|
263
331
|
name: string;
|
|
264
332
|
};
|
|
265
|
-
export type
|
|
333
|
+
export type ReportResponse3 = {
|
|
266
334
|
id: string;
|
|
267
|
-
"module":
|
|
335
|
+
"module": ModuleResponse4;
|
|
268
336
|
execution: ExecutionResponse | null;
|
|
269
337
|
mode: string;
|
|
270
338
|
sourceBranch: string;
|
|
@@ -279,7 +347,7 @@ export type ReportResponse = {
|
|
|
279
347
|
};
|
|
280
348
|
export type ListRepositoryReportResponse = {
|
|
281
349
|
/** List of reports */
|
|
282
|
-
items:
|
|
350
|
+
items: ReportResponse3[];
|
|
283
351
|
/** Number of reports */
|
|
284
352
|
itemsCount: number;
|
|
285
353
|
/** Last evaluated key */
|
|
@@ -293,14 +361,14 @@ export type CreateRepositoryRequest = {
|
|
|
293
361
|
defaultBranch: string;
|
|
294
362
|
tags?: string[] | null;
|
|
295
363
|
};
|
|
296
|
-
export type
|
|
364
|
+
export type ReportResponse4 = {
|
|
297
365
|
id: string;
|
|
298
366
|
execution: ExecutionResponse | null;
|
|
299
367
|
mode: string;
|
|
300
368
|
moduleId: string;
|
|
301
369
|
sourceBranch: string;
|
|
302
370
|
targetBranch?: string | null;
|
|
303
|
-
createdBy: UserResponse
|
|
371
|
+
createdBy: UserResponse;
|
|
304
372
|
createdAt: string;
|
|
305
373
|
updatedAt: string;
|
|
306
374
|
filesCount: number | null;
|
|
@@ -308,21 +376,21 @@ export type ReportResponse2 = {
|
|
|
308
376
|
pullRequestLink?: string | null;
|
|
309
377
|
errorLog?: string | null;
|
|
310
378
|
};
|
|
311
|
-
export type
|
|
379
|
+
export type RepositoryResponse2 = {
|
|
312
380
|
/** Repository ID */
|
|
313
381
|
id: string;
|
|
314
382
|
/** Repository creation date */
|
|
315
383
|
createdAt?: string | null;
|
|
316
384
|
/** Repository creation user */
|
|
317
385
|
createdBy?: string | null;
|
|
318
|
-
lastModuleReport:
|
|
386
|
+
lastModuleReport: ReportResponse4 | null;
|
|
319
387
|
tags: string[];
|
|
320
388
|
url: string;
|
|
321
389
|
defaultBranch: string;
|
|
322
390
|
};
|
|
323
391
|
export type ListRepositoryResponse = {
|
|
324
392
|
/** List of applications */
|
|
325
|
-
items:
|
|
393
|
+
items: RepositoryResponse2[];
|
|
326
394
|
/** Number of applications */
|
|
327
395
|
itemsCount: number;
|
|
328
396
|
/** Last evaluated key */
|
|
@@ -333,9 +401,6 @@ export type PutRepositoryRequest = {
|
|
|
333
401
|
defaultBranch?: string | null;
|
|
334
402
|
tags?: string[] | null;
|
|
335
403
|
};
|
|
336
|
-
export type ValidateScmUrlRequest = {
|
|
337
|
-
url?: string | null;
|
|
338
|
-
};
|
|
339
404
|
export type GetAccountSettingsRequest = {
|
|
340
405
|
maxSimultaneousExecution: number | null;
|
|
341
406
|
};
|
|
@@ -380,7 +445,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
|
|
|
380
445
|
export type CreateProgramGroupResponse = {
|
|
381
446
|
id: string;
|
|
382
447
|
};
|
|
383
|
-
export type
|
|
448
|
+
export type ReportResponse5 = {
|
|
384
449
|
id: string;
|
|
385
450
|
execution: ExecutionResponse | null;
|
|
386
451
|
mode: string;
|
|
@@ -400,10 +465,10 @@ export type ProgramGroupResponse2 = {
|
|
|
400
465
|
tags: string[];
|
|
401
466
|
components: any[];
|
|
402
467
|
accountId: string;
|
|
403
|
-
createdBy: string
|
|
468
|
+
createdBy: string;
|
|
404
469
|
createdAt: string;
|
|
405
470
|
updatedAt: string;
|
|
406
|
-
lastModuleReport:
|
|
471
|
+
lastModuleReport: ReportResponse5 | null;
|
|
407
472
|
};
|
|
408
473
|
export type ListProgramGroupResponse = {
|
|
409
474
|
items: ProgramGroupResponse2[];
|
|
@@ -423,18 +488,13 @@ export type ProgramGroupResponse3 = {
|
|
|
423
488
|
export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
|
|
424
489
|
file?: Blob | null;
|
|
425
490
|
};
|
|
426
|
-
export type
|
|
427
|
-
appl_name: string;
|
|
428
|
-
component_type: string;
|
|
429
|
-
component: string;
|
|
430
|
-
};
|
|
431
|
-
export type ModuleResponse4 = {
|
|
491
|
+
export type ModuleResponse5 = {
|
|
432
492
|
id: string;
|
|
433
493
|
name: string;
|
|
434
494
|
};
|
|
435
|
-
export type
|
|
495
|
+
export type ReportResponse6 = {
|
|
436
496
|
id: string;
|
|
437
|
-
"module":
|
|
497
|
+
"module": ModuleResponse5;
|
|
438
498
|
execution: ExecutionResponse | null;
|
|
439
499
|
mode: string;
|
|
440
500
|
createdBy: UserResponse;
|
|
@@ -447,7 +507,7 @@ export type ReportResponse4 = {
|
|
|
447
507
|
};
|
|
448
508
|
export type ListProgramGroupReportResponse = {
|
|
449
509
|
/** List of reports */
|
|
450
|
-
items:
|
|
510
|
+
items: ReportResponse6[];
|
|
451
511
|
/** Number of reports */
|
|
452
512
|
itemsCount: number;
|
|
453
513
|
};
|
|
@@ -478,6 +538,272 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
478
538
|
})
|
|
479
539
|
}));
|
|
480
540
|
}
|
|
541
|
+
/**
|
|
542
|
+
* List Application Report
|
|
543
|
+
*/
|
|
544
|
+
export function listApplicationReportV1ApplicationsApplicationIdReportsGet({ applicationId, pageSize, page, lastEvaluatedKey, authorization }: {
|
|
545
|
+
applicationId: string;
|
|
546
|
+
pageSize?: number;
|
|
547
|
+
page?: number;
|
|
548
|
+
lastEvaluatedKey?: string;
|
|
549
|
+
authorization: string;
|
|
550
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
551
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
552
|
+
status: 200;
|
|
553
|
+
data: ListApplicationReportResponse;
|
|
554
|
+
} | {
|
|
555
|
+
status: 400;
|
|
556
|
+
data: HttpErrorResponse;
|
|
557
|
+
} | {
|
|
558
|
+
status: 401;
|
|
559
|
+
data: HttpErrorResponse;
|
|
560
|
+
} | {
|
|
561
|
+
status: 404;
|
|
562
|
+
data: HttpErrorResponse;
|
|
563
|
+
} | {
|
|
564
|
+
status: 422;
|
|
565
|
+
} | {
|
|
566
|
+
status: 500;
|
|
567
|
+
data: HttpErrorResponse;
|
|
568
|
+
} | {
|
|
569
|
+
status: 503;
|
|
570
|
+
data: HttpErrorResponse;
|
|
571
|
+
}>(`/v1/applications/${encodeURIComponent(applicationId)}/reports${QS.query(QS.explode({
|
|
572
|
+
pageSize,
|
|
573
|
+
page,
|
|
574
|
+
lastEvaluatedKey
|
|
575
|
+
}))}`, {
|
|
576
|
+
...opts,
|
|
577
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
578
|
+
authorization
|
|
579
|
+
})
|
|
580
|
+
}));
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* Create Applications Batch Service
|
|
584
|
+
*/
|
|
585
|
+
export function createApplicationsBatchServiceV1ApplicationsBatchPost({ authorization, bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost }: {
|
|
586
|
+
authorization: string;
|
|
587
|
+
bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost: BodyCreateApplicationsBatchServiceV1ApplicationsBatchPost;
|
|
588
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
589
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
590
|
+
status: 200;
|
|
591
|
+
data: any;
|
|
592
|
+
} | {
|
|
593
|
+
status: 207;
|
|
594
|
+
data: HttpErrorResponse;
|
|
595
|
+
} | {
|
|
596
|
+
status: 400;
|
|
597
|
+
data: HttpErrorResponse;
|
|
598
|
+
} | {
|
|
599
|
+
status: 401;
|
|
600
|
+
data: HttpErrorResponse;
|
|
601
|
+
} | {
|
|
602
|
+
status: 404;
|
|
603
|
+
data: HttpErrorResponse;
|
|
604
|
+
} | {
|
|
605
|
+
status: 422;
|
|
606
|
+
} | {
|
|
607
|
+
status: 500;
|
|
608
|
+
data: HttpErrorResponse;
|
|
609
|
+
} | {
|
|
610
|
+
status: 503;
|
|
611
|
+
data: HttpErrorResponse;
|
|
612
|
+
}>("/v1/applications/batch", oazapfts.multipart({
|
|
613
|
+
...opts,
|
|
614
|
+
method: "POST",
|
|
615
|
+
body: bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost,
|
|
616
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
617
|
+
authorization
|
|
618
|
+
})
|
|
619
|
+
})));
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Create Application Service
|
|
623
|
+
*/
|
|
624
|
+
export function createApplicationServiceV1ApplicationsPost({ authorization, createApplicationRequest }: {
|
|
625
|
+
authorization: string;
|
|
626
|
+
createApplicationRequest: CreateApplicationRequest;
|
|
627
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
628
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
629
|
+
status: 200;
|
|
630
|
+
data: any;
|
|
631
|
+
} | {
|
|
632
|
+
status: 400;
|
|
633
|
+
data: HttpErrorResponse;
|
|
634
|
+
} | {
|
|
635
|
+
status: 401;
|
|
636
|
+
data: HttpErrorResponse;
|
|
637
|
+
} | {
|
|
638
|
+
status: 404;
|
|
639
|
+
data: HttpErrorResponse;
|
|
640
|
+
} | {
|
|
641
|
+
status: 422;
|
|
642
|
+
} | {
|
|
643
|
+
status: 500;
|
|
644
|
+
data: HttpErrorResponse;
|
|
645
|
+
} | {
|
|
646
|
+
status: 503;
|
|
647
|
+
data: HttpErrorResponse;
|
|
648
|
+
}>("/v1/applications", oazapfts.json({
|
|
649
|
+
...opts,
|
|
650
|
+
method: "POST",
|
|
651
|
+
body: createApplicationRequest,
|
|
652
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
653
|
+
authorization
|
|
654
|
+
})
|
|
655
|
+
})));
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* List Application Service
|
|
659
|
+
*/
|
|
660
|
+
export function listApplicationServiceV1ApplicationsGet({ pageSize, page, lastEvaluatedKey, filter, moduleId, authorization }: {
|
|
661
|
+
pageSize?: number;
|
|
662
|
+
page?: number;
|
|
663
|
+
lastEvaluatedKey?: string;
|
|
664
|
+
filter?: string;
|
|
665
|
+
moduleId?: string;
|
|
666
|
+
authorization: string;
|
|
667
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
668
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
669
|
+
status: 200;
|
|
670
|
+
data: ListApplicationResponse;
|
|
671
|
+
} | {
|
|
672
|
+
status: 400;
|
|
673
|
+
data: HttpErrorResponse;
|
|
674
|
+
} | {
|
|
675
|
+
status: 401;
|
|
676
|
+
data: HttpErrorResponse;
|
|
677
|
+
} | {
|
|
678
|
+
status: 404;
|
|
679
|
+
data: HttpErrorResponse;
|
|
680
|
+
} | {
|
|
681
|
+
status: 422;
|
|
682
|
+
} | {
|
|
683
|
+
status: 500;
|
|
684
|
+
data: HttpErrorResponse;
|
|
685
|
+
} | {
|
|
686
|
+
status: 503;
|
|
687
|
+
data: HttpErrorResponse;
|
|
688
|
+
}>(`/v1/applications${QS.query(QS.explode({
|
|
689
|
+
pageSize,
|
|
690
|
+
page,
|
|
691
|
+
lastEvaluatedKey,
|
|
692
|
+
filter,
|
|
693
|
+
moduleId
|
|
694
|
+
}))}`, {
|
|
695
|
+
...opts,
|
|
696
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
697
|
+
authorization
|
|
698
|
+
})
|
|
699
|
+
}));
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* Get Application By Id Service
|
|
703
|
+
*/
|
|
704
|
+
export function getApplicationByIdServiceV1ApplicationsApplicationIdGet({ applicationId, authorization }: {
|
|
705
|
+
applicationId: string;
|
|
706
|
+
authorization: string;
|
|
707
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
708
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
709
|
+
status: 200;
|
|
710
|
+
data: ApplicationResponse;
|
|
711
|
+
} | {
|
|
712
|
+
status: 400;
|
|
713
|
+
data: HttpErrorResponse;
|
|
714
|
+
} | {
|
|
715
|
+
status: 401;
|
|
716
|
+
data: HttpErrorResponse;
|
|
717
|
+
} | {
|
|
718
|
+
status: 404;
|
|
719
|
+
data: HttpErrorResponse;
|
|
720
|
+
} | {
|
|
721
|
+
status: 422;
|
|
722
|
+
} | {
|
|
723
|
+
status: 500;
|
|
724
|
+
data: HttpErrorResponse;
|
|
725
|
+
} | {
|
|
726
|
+
status: 503;
|
|
727
|
+
data: HttpErrorResponse;
|
|
728
|
+
}>(`/v1/applications/${encodeURIComponent(applicationId)}`, {
|
|
729
|
+
...opts,
|
|
730
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
731
|
+
authorization
|
|
732
|
+
})
|
|
733
|
+
}));
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* Delete Application Service
|
|
737
|
+
*/
|
|
738
|
+
export function deleteApplicationServiceV1ApplicationsApplicationIdDelete({ applicationId, authorization }: {
|
|
739
|
+
applicationId: string;
|
|
740
|
+
authorization: string;
|
|
741
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
742
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
743
|
+
status: 200;
|
|
744
|
+
data: any;
|
|
745
|
+
} | {
|
|
746
|
+
status: 400;
|
|
747
|
+
data: HttpErrorResponse;
|
|
748
|
+
} | {
|
|
749
|
+
status: 401;
|
|
750
|
+
data: HttpErrorResponse;
|
|
751
|
+
} | {
|
|
752
|
+
status: 404;
|
|
753
|
+
data: HttpErrorResponse;
|
|
754
|
+
} | {
|
|
755
|
+
status: 422;
|
|
756
|
+
} | {
|
|
757
|
+
status: 500;
|
|
758
|
+
data: HttpErrorResponse;
|
|
759
|
+
} | {
|
|
760
|
+
status: 503;
|
|
761
|
+
data: HttpErrorResponse;
|
|
762
|
+
}>(`/v1/applications/${encodeURIComponent(applicationId)}`, {
|
|
763
|
+
...opts,
|
|
764
|
+
method: "DELETE",
|
|
765
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
766
|
+
authorization
|
|
767
|
+
})
|
|
768
|
+
}));
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Update Application Service
|
|
772
|
+
*/
|
|
773
|
+
export function updateApplicationServiceV1ApplicationsApplicationIdPut({ applicationId, authorization, putApplicationRequest }: {
|
|
774
|
+
applicationId: string;
|
|
775
|
+
authorization: string;
|
|
776
|
+
putApplicationRequest: PutApplicationRequest;
|
|
777
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
778
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
779
|
+
status: 200;
|
|
780
|
+
data: any;
|
|
781
|
+
} | {
|
|
782
|
+
status: 400;
|
|
783
|
+
data: HttpErrorResponse;
|
|
784
|
+
} | {
|
|
785
|
+
status: 401;
|
|
786
|
+
data: HttpErrorResponse;
|
|
787
|
+
} | {
|
|
788
|
+
status: 404;
|
|
789
|
+
data: HttpErrorResponse;
|
|
790
|
+
} | {
|
|
791
|
+
status: 422;
|
|
792
|
+
} | {
|
|
793
|
+
status: 500;
|
|
794
|
+
data: HttpErrorResponse;
|
|
795
|
+
} | {
|
|
796
|
+
status: 503;
|
|
797
|
+
data: HttpErrorResponse;
|
|
798
|
+
}>(`/v1/applications/${encodeURIComponent(applicationId)}`, oazapfts.json({
|
|
799
|
+
...opts,
|
|
800
|
+
method: "PUT",
|
|
801
|
+
body: putApplicationRequest,
|
|
802
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
803
|
+
authorization
|
|
804
|
+
})
|
|
805
|
+
})));
|
|
806
|
+
}
|
|
481
807
|
/**
|
|
482
808
|
* Create Module Service
|
|
483
809
|
*/
|
|
@@ -492,21 +818,21 @@ export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
|
|
|
492
818
|
data: any;
|
|
493
819
|
} | {
|
|
494
820
|
status: 400;
|
|
495
|
-
data:
|
|
821
|
+
data: HttpErrorResponse;
|
|
496
822
|
} | {
|
|
497
823
|
status: 401;
|
|
498
|
-
data:
|
|
824
|
+
data: HttpErrorResponse;
|
|
499
825
|
} | {
|
|
500
826
|
status: 404;
|
|
501
|
-
data:
|
|
827
|
+
data: HttpErrorResponse;
|
|
502
828
|
} | {
|
|
503
829
|
status: 422;
|
|
504
830
|
} | {
|
|
505
831
|
status: 500;
|
|
506
|
-
data:
|
|
832
|
+
data: HttpErrorResponse;
|
|
507
833
|
} | {
|
|
508
834
|
status: 503;
|
|
509
|
-
data:
|
|
835
|
+
data: HttpErrorResponse;
|
|
510
836
|
}>("/v1/modules", oazapfts.json({
|
|
511
837
|
...opts,
|
|
512
838
|
method: "POST",
|
|
@@ -533,21 +859,21 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
|
|
|
533
859
|
data: ListModuleResponse;
|
|
534
860
|
} | {
|
|
535
861
|
status: 400;
|
|
536
|
-
data:
|
|
862
|
+
data: HttpErrorResponse;
|
|
537
863
|
} | {
|
|
538
864
|
status: 401;
|
|
539
|
-
data:
|
|
865
|
+
data: HttpErrorResponse;
|
|
540
866
|
} | {
|
|
541
867
|
status: 404;
|
|
542
|
-
data:
|
|
868
|
+
data: HttpErrorResponse;
|
|
543
869
|
} | {
|
|
544
870
|
status: 422;
|
|
545
871
|
} | {
|
|
546
872
|
status: 500;
|
|
547
|
-
data:
|
|
873
|
+
data: HttpErrorResponse;
|
|
548
874
|
} | {
|
|
549
875
|
status: 503;
|
|
550
|
-
data:
|
|
876
|
+
data: HttpErrorResponse;
|
|
551
877
|
}>(`/v1/modules${QS.query(QS.explode({
|
|
552
878
|
pageSize,
|
|
553
879
|
moduleType,
|
|
@@ -573,21 +899,21 @@ export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authoriza
|
|
|
573
899
|
data: any;
|
|
574
900
|
} | {
|
|
575
901
|
status: 400;
|
|
576
|
-
data:
|
|
902
|
+
data: HttpErrorResponse;
|
|
577
903
|
} | {
|
|
578
904
|
status: 401;
|
|
579
|
-
data:
|
|
905
|
+
data: HttpErrorResponse;
|
|
580
906
|
} | {
|
|
581
907
|
status: 404;
|
|
582
|
-
data:
|
|
908
|
+
data: HttpErrorResponse;
|
|
583
909
|
} | {
|
|
584
910
|
status: 422;
|
|
585
911
|
} | {
|
|
586
912
|
status: 500;
|
|
587
|
-
data:
|
|
913
|
+
data: HttpErrorResponse;
|
|
588
914
|
} | {
|
|
589
915
|
status: 503;
|
|
590
|
-
data:
|
|
916
|
+
data: HttpErrorResponse;
|
|
591
917
|
}>(`/v1/modules/${encodeURIComponent(moduleId)}`, {
|
|
592
918
|
...opts,
|
|
593
919
|
method: "DELETE",
|
|
@@ -611,21 +937,21 @@ export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorizatio
|
|
|
611
937
|
data: any;
|
|
612
938
|
} | {
|
|
613
939
|
status: 400;
|
|
614
|
-
data:
|
|
940
|
+
data: HttpErrorResponse;
|
|
615
941
|
} | {
|
|
616
942
|
status: 401;
|
|
617
|
-
data:
|
|
943
|
+
data: HttpErrorResponse;
|
|
618
944
|
} | {
|
|
619
945
|
status: 404;
|
|
620
|
-
data:
|
|
946
|
+
data: HttpErrorResponse;
|
|
621
947
|
} | {
|
|
622
948
|
status: 422;
|
|
623
949
|
} | {
|
|
624
950
|
status: 500;
|
|
625
|
-
data:
|
|
951
|
+
data: HttpErrorResponse;
|
|
626
952
|
} | {
|
|
627
953
|
status: 503;
|
|
628
|
-
data:
|
|
954
|
+
data: HttpErrorResponse;
|
|
629
955
|
}>(`/v1/modules/${encodeURIComponent(moduleId)}`, oazapfts.json({
|
|
630
956
|
...opts,
|
|
631
957
|
method: "PUT",
|
|
@@ -648,21 +974,21 @@ export function dispatchModuleServiceV1ModulesDispatchesPost({ authorization, bo
|
|
|
648
974
|
data: any;
|
|
649
975
|
} | {
|
|
650
976
|
status: 400;
|
|
651
|
-
data:
|
|
977
|
+
data: HttpErrorResponse;
|
|
652
978
|
} | {
|
|
653
979
|
status: 401;
|
|
654
|
-
data:
|
|
980
|
+
data: HttpErrorResponse;
|
|
655
981
|
} | {
|
|
656
982
|
status: 404;
|
|
657
|
-
data:
|
|
983
|
+
data: HttpErrorResponse;
|
|
658
984
|
} | {
|
|
659
985
|
status: 422;
|
|
660
986
|
} | {
|
|
661
987
|
status: 500;
|
|
662
|
-
data:
|
|
988
|
+
data: HttpErrorResponse;
|
|
663
989
|
} | {
|
|
664
990
|
status: 503;
|
|
665
|
-
data:
|
|
991
|
+
data: HttpErrorResponse;
|
|
666
992
|
}>("/v1/modules/dispatches", oazapfts.json({
|
|
667
993
|
...opts,
|
|
668
994
|
method: "POST",
|
|
@@ -685,21 +1011,21 @@ export function putReportV1ReportsReportIdPut({ reportId, authorization, putRepo
|
|
|
685
1011
|
data: any;
|
|
686
1012
|
} | {
|
|
687
1013
|
status: 400;
|
|
688
|
-
data:
|
|
1014
|
+
data: HttpErrorResponse;
|
|
689
1015
|
} | {
|
|
690
1016
|
status: 401;
|
|
691
|
-
data:
|
|
1017
|
+
data: HttpErrorResponse;
|
|
692
1018
|
} | {
|
|
693
1019
|
status: 404;
|
|
694
|
-
data:
|
|
1020
|
+
data: HttpErrorResponse;
|
|
695
1021
|
} | {
|
|
696
1022
|
status: 422;
|
|
697
1023
|
} | {
|
|
698
1024
|
status: 500;
|
|
699
|
-
data:
|
|
1025
|
+
data: HttpErrorResponse;
|
|
700
1026
|
} | {
|
|
701
1027
|
status: 503;
|
|
702
|
-
data:
|
|
1028
|
+
data: HttpErrorResponse;
|
|
703
1029
|
}>(`/v1/reports/${encodeURIComponent(reportId)}`, oazapfts.json({
|
|
704
1030
|
...opts,
|
|
705
1031
|
method: "PUT",
|
|
@@ -721,21 +1047,21 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
|
721
1047
|
data: GetReportResponse;
|
|
722
1048
|
} | {
|
|
723
1049
|
status: 400;
|
|
724
|
-
data:
|
|
1050
|
+
data: HttpErrorResponse;
|
|
725
1051
|
} | {
|
|
726
1052
|
status: 401;
|
|
727
|
-
data:
|
|
1053
|
+
data: HttpErrorResponse;
|
|
728
1054
|
} | {
|
|
729
1055
|
status: 404;
|
|
730
|
-
data:
|
|
1056
|
+
data: HttpErrorResponse;
|
|
731
1057
|
} | {
|
|
732
1058
|
status: 422;
|
|
733
1059
|
} | {
|
|
734
1060
|
status: 500;
|
|
735
|
-
data:
|
|
1061
|
+
data: HttpErrorResponse;
|
|
736
1062
|
} | {
|
|
737
1063
|
status: 503;
|
|
738
|
-
data:
|
|
1064
|
+
data: HttpErrorResponse;
|
|
739
1065
|
}>(`/v1/reports/${encodeURIComponent(reportId)}`, {
|
|
740
1066
|
...opts,
|
|
741
1067
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -743,40 +1069,6 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
|
743
1069
|
})
|
|
744
1070
|
}));
|
|
745
1071
|
}
|
|
746
|
-
/**
|
|
747
|
-
* Get Report Pull Request Content
|
|
748
|
-
*/
|
|
749
|
-
export function getReportPullRequestContentV1ReportsReportIdPullRequestGet({ reportId, authorization }: {
|
|
750
|
-
reportId: string;
|
|
751
|
-
authorization: string;
|
|
752
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
753
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
754
|
-
status: 200;
|
|
755
|
-
data: GetPullRequest;
|
|
756
|
-
} | {
|
|
757
|
-
status: 400;
|
|
758
|
-
data: HttpErrorResponseRead;
|
|
759
|
-
} | {
|
|
760
|
-
status: 401;
|
|
761
|
-
data: HttpErrorResponseRead;
|
|
762
|
-
} | {
|
|
763
|
-
status: 404;
|
|
764
|
-
data: HttpErrorResponseRead;
|
|
765
|
-
} | {
|
|
766
|
-
status: 422;
|
|
767
|
-
} | {
|
|
768
|
-
status: 500;
|
|
769
|
-
data: HttpErrorResponseRead;
|
|
770
|
-
} | {
|
|
771
|
-
status: 503;
|
|
772
|
-
data: HttpErrorResponseRead;
|
|
773
|
-
}>(`/v1/reports/${encodeURIComponent(reportId)}/pull-request`, {
|
|
774
|
-
...opts,
|
|
775
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
776
|
-
authorization
|
|
777
|
-
})
|
|
778
|
-
}));
|
|
779
|
-
}
|
|
780
1072
|
/**
|
|
781
1073
|
* Download Report
|
|
782
1074
|
*/
|
|
@@ -790,21 +1082,21 @@ export function downloadReportV1ReportsReportIdDownloadGet({ reportId, extension
|
|
|
790
1082
|
data: any;
|
|
791
1083
|
} | {
|
|
792
1084
|
status: 400;
|
|
793
|
-
data:
|
|
1085
|
+
data: HttpErrorResponse;
|
|
794
1086
|
} | {
|
|
795
1087
|
status: 401;
|
|
796
|
-
data:
|
|
1088
|
+
data: HttpErrorResponse;
|
|
797
1089
|
} | {
|
|
798
1090
|
status: 404;
|
|
799
|
-
data:
|
|
1091
|
+
data: HttpErrorResponse;
|
|
800
1092
|
} | {
|
|
801
1093
|
status: 422;
|
|
802
1094
|
} | {
|
|
803
1095
|
status: 500;
|
|
804
|
-
data:
|
|
1096
|
+
data: HttpErrorResponse;
|
|
805
1097
|
} | {
|
|
806
1098
|
status: 503;
|
|
807
|
-
data:
|
|
1099
|
+
data: HttpErrorResponse;
|
|
808
1100
|
}>(`/v1/reports/${encodeURIComponent(reportId)}/download${QS.query(QS.explode({
|
|
809
1101
|
extension
|
|
810
1102
|
}))}`, {
|
|
@@ -894,21 +1186,21 @@ export function listRepositoryReportV1ReposRepositoryIdReportsGet({ repositoryId
|
|
|
894
1186
|
data: ListRepositoryReportResponse;
|
|
895
1187
|
} | {
|
|
896
1188
|
status: 400;
|
|
897
|
-
data:
|
|
1189
|
+
data: HttpErrorResponse;
|
|
898
1190
|
} | {
|
|
899
1191
|
status: 401;
|
|
900
|
-
data:
|
|
1192
|
+
data: HttpErrorResponse;
|
|
901
1193
|
} | {
|
|
902
1194
|
status: 404;
|
|
903
|
-
data:
|
|
1195
|
+
data: HttpErrorResponse;
|
|
904
1196
|
} | {
|
|
905
1197
|
status: 422;
|
|
906
1198
|
} | {
|
|
907
1199
|
status: 500;
|
|
908
|
-
data:
|
|
1200
|
+
data: HttpErrorResponse;
|
|
909
1201
|
} | {
|
|
910
1202
|
status: 503;
|
|
911
|
-
data:
|
|
1203
|
+
data: HttpErrorResponse;
|
|
912
1204
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}/reports${QS.query(QS.explode({
|
|
913
1205
|
pageSize,
|
|
914
1206
|
page,
|
|
@@ -933,24 +1225,24 @@ export function createReposBatchServiceV1ReposBatchPost({ tags, authorization, b
|
|
|
933
1225
|
data: any;
|
|
934
1226
|
} | {
|
|
935
1227
|
status: 207;
|
|
936
|
-
data:
|
|
1228
|
+
data: HttpErrorResponse;
|
|
937
1229
|
} | {
|
|
938
1230
|
status: 400;
|
|
939
|
-
data:
|
|
1231
|
+
data: HttpErrorResponse;
|
|
940
1232
|
} | {
|
|
941
1233
|
status: 401;
|
|
942
|
-
data:
|
|
1234
|
+
data: HttpErrorResponse;
|
|
943
1235
|
} | {
|
|
944
1236
|
status: 404;
|
|
945
|
-
data:
|
|
1237
|
+
data: HttpErrorResponse;
|
|
946
1238
|
} | {
|
|
947
1239
|
status: 422;
|
|
948
1240
|
} | {
|
|
949
1241
|
status: 500;
|
|
950
|
-
data:
|
|
1242
|
+
data: HttpErrorResponse;
|
|
951
1243
|
} | {
|
|
952
1244
|
status: 503;
|
|
953
|
-
data:
|
|
1245
|
+
data: HttpErrorResponse;
|
|
954
1246
|
}>(`/v1/repos/batch${QS.query(QS.explode({
|
|
955
1247
|
tags
|
|
956
1248
|
}))}`, oazapfts.multipart({
|
|
@@ -974,21 +1266,21 @@ export function createRepositoryServiceV1ReposPost({ authorization, createReposi
|
|
|
974
1266
|
data: any;
|
|
975
1267
|
} | {
|
|
976
1268
|
status: 400;
|
|
977
|
-
data:
|
|
1269
|
+
data: HttpErrorResponse;
|
|
978
1270
|
} | {
|
|
979
1271
|
status: 401;
|
|
980
|
-
data:
|
|
1272
|
+
data: HttpErrorResponse;
|
|
981
1273
|
} | {
|
|
982
1274
|
status: 404;
|
|
983
|
-
data:
|
|
1275
|
+
data: HttpErrorResponse;
|
|
984
1276
|
} | {
|
|
985
1277
|
status: 422;
|
|
986
1278
|
} | {
|
|
987
1279
|
status: 500;
|
|
988
|
-
data:
|
|
1280
|
+
data: HttpErrorResponse;
|
|
989
1281
|
} | {
|
|
990
1282
|
status: 503;
|
|
991
|
-
data:
|
|
1283
|
+
data: HttpErrorResponse;
|
|
992
1284
|
}>("/v1/repos", oazapfts.json({
|
|
993
1285
|
...opts,
|
|
994
1286
|
method: "POST",
|
|
@@ -1019,21 +1311,21 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
|
|
|
1019
1311
|
data: ListRepositoryResponse;
|
|
1020
1312
|
} | {
|
|
1021
1313
|
status: 400;
|
|
1022
|
-
data:
|
|
1314
|
+
data: HttpErrorResponse;
|
|
1023
1315
|
} | {
|
|
1024
1316
|
status: 401;
|
|
1025
|
-
data:
|
|
1317
|
+
data: HttpErrorResponse;
|
|
1026
1318
|
} | {
|
|
1027
1319
|
status: 404;
|
|
1028
|
-
data:
|
|
1320
|
+
data: HttpErrorResponse;
|
|
1029
1321
|
} | {
|
|
1030
1322
|
status: 422;
|
|
1031
1323
|
} | {
|
|
1032
1324
|
status: 500;
|
|
1033
|
-
data:
|
|
1325
|
+
data: HttpErrorResponse;
|
|
1034
1326
|
} | {
|
|
1035
1327
|
status: 503;
|
|
1036
|
-
data:
|
|
1328
|
+
data: HttpErrorResponse;
|
|
1037
1329
|
}>(`/v1/repos${QS.query(QS.explode({
|
|
1038
1330
|
pageSize,
|
|
1039
1331
|
page,
|
|
@@ -1061,24 +1353,24 @@ export function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, a
|
|
|
1061
1353
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1062
1354
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1063
1355
|
status: 200;
|
|
1064
|
-
data:
|
|
1356
|
+
data: RepositoryResponse2;
|
|
1065
1357
|
} | {
|
|
1066
1358
|
status: 400;
|
|
1067
|
-
data:
|
|
1359
|
+
data: HttpErrorResponse;
|
|
1068
1360
|
} | {
|
|
1069
1361
|
status: 401;
|
|
1070
|
-
data:
|
|
1362
|
+
data: HttpErrorResponse;
|
|
1071
1363
|
} | {
|
|
1072
1364
|
status: 404;
|
|
1073
|
-
data:
|
|
1365
|
+
data: HttpErrorResponse;
|
|
1074
1366
|
} | {
|
|
1075
1367
|
status: 422;
|
|
1076
1368
|
} | {
|
|
1077
1369
|
status: 500;
|
|
1078
|
-
data:
|
|
1370
|
+
data: HttpErrorResponse;
|
|
1079
1371
|
} | {
|
|
1080
1372
|
status: 503;
|
|
1081
|
-
data:
|
|
1373
|
+
data: HttpErrorResponse;
|
|
1082
1374
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
|
|
1083
1375
|
...opts,
|
|
1084
1376
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -1098,21 +1390,21 @@ export function deleteRepositoryServiceV1ReposRepositoryIdDelete({ repositoryId,
|
|
|
1098
1390
|
data: any;
|
|
1099
1391
|
} | {
|
|
1100
1392
|
status: 400;
|
|
1101
|
-
data:
|
|
1393
|
+
data: HttpErrorResponse;
|
|
1102
1394
|
} | {
|
|
1103
1395
|
status: 401;
|
|
1104
|
-
data:
|
|
1396
|
+
data: HttpErrorResponse;
|
|
1105
1397
|
} | {
|
|
1106
1398
|
status: 404;
|
|
1107
|
-
data:
|
|
1399
|
+
data: HttpErrorResponse;
|
|
1108
1400
|
} | {
|
|
1109
1401
|
status: 422;
|
|
1110
1402
|
} | {
|
|
1111
1403
|
status: 500;
|
|
1112
|
-
data:
|
|
1404
|
+
data: HttpErrorResponse;
|
|
1113
1405
|
} | {
|
|
1114
1406
|
status: 503;
|
|
1115
|
-
data:
|
|
1407
|
+
data: HttpErrorResponse;
|
|
1116
1408
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
|
|
1117
1409
|
...opts,
|
|
1118
1410
|
method: "DELETE",
|
|
@@ -1134,21 +1426,21 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
|
|
|
1134
1426
|
data: any;
|
|
1135
1427
|
} | {
|
|
1136
1428
|
status: 400;
|
|
1137
|
-
data:
|
|
1429
|
+
data: HttpErrorResponse;
|
|
1138
1430
|
} | {
|
|
1139
1431
|
status: 401;
|
|
1140
|
-
data:
|
|
1432
|
+
data: HttpErrorResponse;
|
|
1141
1433
|
} | {
|
|
1142
1434
|
status: 404;
|
|
1143
|
-
data:
|
|
1435
|
+
data: HttpErrorResponse;
|
|
1144
1436
|
} | {
|
|
1145
1437
|
status: 422;
|
|
1146
1438
|
} | {
|
|
1147
1439
|
status: 500;
|
|
1148
|
-
data:
|
|
1440
|
+
data: HttpErrorResponse;
|
|
1149
1441
|
} | {
|
|
1150
1442
|
status: 503;
|
|
1151
|
-
data:
|
|
1443
|
+
data: HttpErrorResponse;
|
|
1152
1444
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}`, oazapfts.json({
|
|
1153
1445
|
...opts,
|
|
1154
1446
|
method: "PUT",
|
|
@@ -1158,42 +1450,6 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
|
|
|
1158
1450
|
})
|
|
1159
1451
|
})));
|
|
1160
1452
|
}
|
|
1161
|
-
/**
|
|
1162
|
-
* Validate Scm Url Service
|
|
1163
|
-
*/
|
|
1164
|
-
export function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
|
|
1165
|
-
authorization: string;
|
|
1166
|
-
validateScmUrlRequest: ValidateScmUrlRequest;
|
|
1167
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
1168
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1169
|
-
status: 200;
|
|
1170
|
-
data: any;
|
|
1171
|
-
} | {
|
|
1172
|
-
status: 400;
|
|
1173
|
-
data: HttpErrorResponseRead;
|
|
1174
|
-
} | {
|
|
1175
|
-
status: 401;
|
|
1176
|
-
data: HttpErrorResponseRead;
|
|
1177
|
-
} | {
|
|
1178
|
-
status: 404;
|
|
1179
|
-
data: HttpErrorResponseRead;
|
|
1180
|
-
} | {
|
|
1181
|
-
status: 422;
|
|
1182
|
-
} | {
|
|
1183
|
-
status: 500;
|
|
1184
|
-
data: HttpErrorResponseRead;
|
|
1185
|
-
} | {
|
|
1186
|
-
status: 503;
|
|
1187
|
-
data: HttpErrorResponseRead;
|
|
1188
|
-
}>("/v1/repos/validate-scm-url", oazapfts.json({
|
|
1189
|
-
...opts,
|
|
1190
|
-
method: "POST",
|
|
1191
|
-
body: validateScmUrlRequest,
|
|
1192
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1193
|
-
authorization
|
|
1194
|
-
})
|
|
1195
|
-
})));
|
|
1196
|
-
}
|
|
1197
1453
|
/**
|
|
1198
1454
|
* Get Account Settings
|
|
1199
1455
|
*/
|
|
@@ -1487,29 +1743,6 @@ export function deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete({ p
|
|
|
1487
1743
|
})
|
|
1488
1744
|
}));
|
|
1489
1745
|
}
|
|
1490
|
-
/**
|
|
1491
|
-
* Update Program Group Components Service
|
|
1492
|
-
*/
|
|
1493
|
-
export function updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut({ programGroupId, authorization, body }: {
|
|
1494
|
-
programGroupId: string;
|
|
1495
|
-
authorization: string;
|
|
1496
|
-
body: PutProgramGroupComponentsRequest[];
|
|
1497
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
1498
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1499
|
-
status: 200;
|
|
1500
|
-
data: any;
|
|
1501
|
-
} | {
|
|
1502
|
-
status: 422;
|
|
1503
|
-
data: HttpValidationError;
|
|
1504
|
-
}>(`/v1/program-groups/${encodeURIComponent(programGroupId)}/components`, oazapfts.json({
|
|
1505
|
-
...opts,
|
|
1506
|
-
method: "PUT",
|
|
1507
|
-
body,
|
|
1508
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1509
|
-
authorization
|
|
1510
|
-
})
|
|
1511
|
-
})));
|
|
1512
|
-
}
|
|
1513
1746
|
/**
|
|
1514
1747
|
* List Program Group Report Service
|
|
1515
1748
|
*/
|