@stack-spot/portal-network 0.154.0-beta.2 → 0.154.0
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 +4 -33
- package/dist/api/codeShift.d.ts +196 -99
- 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/client/account.d.ts +42 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +47 -1
- package/dist/client/account.js.map +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/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 -246
- package/src/api/notification.ts +0 -2
- package/src/client/account.ts +28 -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/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 */
|
|
@@ -177,28 +263,15 @@ export type PutReportRequest = {
|
|
|
177
263
|
commitHash?: string | null;
|
|
178
264
|
targetFiles: TargetFilesRequest[];
|
|
179
265
|
};
|
|
180
|
-
export type
|
|
266
|
+
export type ModuleResponse3 = {
|
|
181
267
|
id: string;
|
|
182
268
|
name: string;
|
|
183
269
|
};
|
|
184
|
-
export type
|
|
270
|
+
export type ApplicationResponse2 = {
|
|
185
271
|
id: string;
|
|
186
272
|
name: string;
|
|
187
273
|
url: string;
|
|
188
274
|
};
|
|
189
|
-
export type ExecutionResponse = {
|
|
190
|
-
id: string;
|
|
191
|
-
startedAt: string | null;
|
|
192
|
-
completedAt: string | null;
|
|
193
|
-
status: string | null;
|
|
194
|
-
conclusion: string | null;
|
|
195
|
-
};
|
|
196
|
-
export type UserResponse = {
|
|
197
|
-
id: string;
|
|
198
|
-
name: string;
|
|
199
|
-
email: string;
|
|
200
|
-
ip?: string | null;
|
|
201
|
-
};
|
|
202
275
|
export type ProgramGroupResponse = {
|
|
203
276
|
id: string;
|
|
204
277
|
name: string;
|
|
@@ -225,8 +298,8 @@ export type TargetFilesResponse = {
|
|
|
225
298
|
};
|
|
226
299
|
export type GetReportResponse = {
|
|
227
300
|
id: string;
|
|
228
|
-
"module":
|
|
229
|
-
application:
|
|
301
|
+
"module": ModuleResponse3 | null;
|
|
302
|
+
application: ApplicationResponse2 | null;
|
|
230
303
|
execution: ExecutionResponse | null;
|
|
231
304
|
mode: string;
|
|
232
305
|
sourceBranch: string | null;
|
|
@@ -245,9 +318,6 @@ export type GetReportResponse = {
|
|
|
245
318
|
targetFiles: TargetFilesResponse[];
|
|
246
319
|
errorLog?: string | null;
|
|
247
320
|
};
|
|
248
|
-
export type GetPullRequest = {
|
|
249
|
-
content: string;
|
|
250
|
-
};
|
|
251
321
|
export type SearchRepoScmResponse = {
|
|
252
322
|
id: string;
|
|
253
323
|
};
|
|
@@ -256,13 +326,13 @@ export type GetStatusSearchRepoScmResponse = {
|
|
|
256
326
|
status: SearchRepositoryStatus;
|
|
257
327
|
errorLog?: string | null;
|
|
258
328
|
};
|
|
259
|
-
export type
|
|
329
|
+
export type ModuleResponse4 = {
|
|
260
330
|
id: string;
|
|
261
331
|
name: string;
|
|
262
332
|
};
|
|
263
|
-
export type
|
|
333
|
+
export type ReportResponse3 = {
|
|
264
334
|
id: string;
|
|
265
|
-
"module":
|
|
335
|
+
"module": ModuleResponse4;
|
|
266
336
|
execution: ExecutionResponse | null;
|
|
267
337
|
mode: string;
|
|
268
338
|
sourceBranch: string;
|
|
@@ -277,7 +347,7 @@ export type ReportResponse = {
|
|
|
277
347
|
};
|
|
278
348
|
export type ListRepositoryReportResponse = {
|
|
279
349
|
/** List of reports */
|
|
280
|
-
items:
|
|
350
|
+
items: ReportResponse3[];
|
|
281
351
|
/** Number of reports */
|
|
282
352
|
itemsCount: number;
|
|
283
353
|
/** Last evaluated key */
|
|
@@ -291,14 +361,14 @@ export type CreateRepositoryRequest = {
|
|
|
291
361
|
defaultBranch: string;
|
|
292
362
|
tags?: string[] | null;
|
|
293
363
|
};
|
|
294
|
-
export type
|
|
364
|
+
export type ReportResponse4 = {
|
|
295
365
|
id: string;
|
|
296
366
|
execution: ExecutionResponse | null;
|
|
297
367
|
mode: string;
|
|
298
368
|
moduleId: string;
|
|
299
369
|
sourceBranch: string;
|
|
300
370
|
targetBranch?: string | null;
|
|
301
|
-
createdBy: UserResponse
|
|
371
|
+
createdBy: UserResponse;
|
|
302
372
|
createdAt: string;
|
|
303
373
|
updatedAt: string;
|
|
304
374
|
filesCount: number | null;
|
|
@@ -306,21 +376,21 @@ export type ReportResponse2 = {
|
|
|
306
376
|
pullRequestLink?: string | null;
|
|
307
377
|
errorLog?: string | null;
|
|
308
378
|
};
|
|
309
|
-
export type
|
|
379
|
+
export type RepositoryResponse2 = {
|
|
310
380
|
/** Repository ID */
|
|
311
381
|
id: string;
|
|
312
382
|
/** Repository creation date */
|
|
313
383
|
createdAt?: string | null;
|
|
314
384
|
/** Repository creation user */
|
|
315
385
|
createdBy?: string | null;
|
|
316
|
-
lastModuleReport:
|
|
386
|
+
lastModuleReport: ReportResponse4 | null;
|
|
317
387
|
tags: string[];
|
|
318
388
|
url: string;
|
|
319
389
|
defaultBranch: string;
|
|
320
390
|
};
|
|
321
391
|
export type ListRepositoryResponse = {
|
|
322
392
|
/** List of applications */
|
|
323
|
-
items:
|
|
393
|
+
items: RepositoryResponse2[];
|
|
324
394
|
/** Number of applications */
|
|
325
395
|
itemsCount: number;
|
|
326
396
|
/** Last evaluated key */
|
|
@@ -331,9 +401,6 @@ export type PutRepositoryRequest = {
|
|
|
331
401
|
defaultBranch?: string | null;
|
|
332
402
|
tags?: string[] | null;
|
|
333
403
|
};
|
|
334
|
-
export type ValidateScmUrlRequest = {
|
|
335
|
-
url?: string | null;
|
|
336
|
-
};
|
|
337
404
|
export type GetAccountSettingsRequest = {
|
|
338
405
|
maxSimultaneousExecution: number | null;
|
|
339
406
|
};
|
|
@@ -378,7 +445,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
|
|
|
378
445
|
export type CreateProgramGroupResponse = {
|
|
379
446
|
id: string;
|
|
380
447
|
};
|
|
381
|
-
export type
|
|
448
|
+
export type ReportResponse5 = {
|
|
382
449
|
id: string;
|
|
383
450
|
execution: ExecutionResponse | null;
|
|
384
451
|
mode: string;
|
|
@@ -398,10 +465,10 @@ export type ProgramGroupResponse2 = {
|
|
|
398
465
|
tags: string[];
|
|
399
466
|
components: any[];
|
|
400
467
|
accountId: string;
|
|
401
|
-
createdBy: string
|
|
468
|
+
createdBy: string;
|
|
402
469
|
createdAt: string;
|
|
403
470
|
updatedAt: string;
|
|
404
|
-
lastModuleReport:
|
|
471
|
+
lastModuleReport: ReportResponse5 | null;
|
|
405
472
|
};
|
|
406
473
|
export type ListProgramGroupResponse = {
|
|
407
474
|
items: ProgramGroupResponse2[];
|
|
@@ -421,18 +488,13 @@ export type ProgramGroupResponse3 = {
|
|
|
421
488
|
export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
|
|
422
489
|
file?: Blob | null;
|
|
423
490
|
};
|
|
424
|
-
export type
|
|
425
|
-
appl_name: string;
|
|
426
|
-
component_type: string;
|
|
427
|
-
component: string;
|
|
428
|
-
};
|
|
429
|
-
export type ModuleResponse4 = {
|
|
491
|
+
export type ModuleResponse5 = {
|
|
430
492
|
id: string;
|
|
431
493
|
name: string;
|
|
432
494
|
};
|
|
433
|
-
export type
|
|
495
|
+
export type ReportResponse6 = {
|
|
434
496
|
id: string;
|
|
435
|
-
"module":
|
|
497
|
+
"module": ModuleResponse5;
|
|
436
498
|
execution: ExecutionResponse | null;
|
|
437
499
|
mode: string;
|
|
438
500
|
createdBy: UserResponse;
|
|
@@ -445,7 +507,7 @@ export type ReportResponse4 = {
|
|
|
445
507
|
};
|
|
446
508
|
export type ListProgramGroupReportResponse = {
|
|
447
509
|
/** List of reports */
|
|
448
|
-
items:
|
|
510
|
+
items: ReportResponse6[];
|
|
449
511
|
/** Number of reports */
|
|
450
512
|
itemsCount: number;
|
|
451
513
|
};
|
|
@@ -476,6 +538,272 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
476
538
|
})
|
|
477
539
|
}));
|
|
478
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
|
+
}
|
|
479
807
|
/**
|
|
480
808
|
* Create Module Service
|
|
481
809
|
*/
|
|
@@ -490,21 +818,21 @@ export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
|
|
|
490
818
|
data: any;
|
|
491
819
|
} | {
|
|
492
820
|
status: 400;
|
|
493
|
-
data:
|
|
821
|
+
data: HttpErrorResponse;
|
|
494
822
|
} | {
|
|
495
823
|
status: 401;
|
|
496
|
-
data:
|
|
824
|
+
data: HttpErrorResponse;
|
|
497
825
|
} | {
|
|
498
826
|
status: 404;
|
|
499
|
-
data:
|
|
827
|
+
data: HttpErrorResponse;
|
|
500
828
|
} | {
|
|
501
829
|
status: 422;
|
|
502
830
|
} | {
|
|
503
831
|
status: 500;
|
|
504
|
-
data:
|
|
832
|
+
data: HttpErrorResponse;
|
|
505
833
|
} | {
|
|
506
834
|
status: 503;
|
|
507
|
-
data:
|
|
835
|
+
data: HttpErrorResponse;
|
|
508
836
|
}>("/v1/modules", oazapfts.json({
|
|
509
837
|
...opts,
|
|
510
838
|
method: "POST",
|
|
@@ -531,21 +859,21 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
|
|
|
531
859
|
data: ListModuleResponse;
|
|
532
860
|
} | {
|
|
533
861
|
status: 400;
|
|
534
|
-
data:
|
|
862
|
+
data: HttpErrorResponse;
|
|
535
863
|
} | {
|
|
536
864
|
status: 401;
|
|
537
|
-
data:
|
|
865
|
+
data: HttpErrorResponse;
|
|
538
866
|
} | {
|
|
539
867
|
status: 404;
|
|
540
|
-
data:
|
|
868
|
+
data: HttpErrorResponse;
|
|
541
869
|
} | {
|
|
542
870
|
status: 422;
|
|
543
871
|
} | {
|
|
544
872
|
status: 500;
|
|
545
|
-
data:
|
|
873
|
+
data: HttpErrorResponse;
|
|
546
874
|
} | {
|
|
547
875
|
status: 503;
|
|
548
|
-
data:
|
|
876
|
+
data: HttpErrorResponse;
|
|
549
877
|
}>(`/v1/modules${QS.query(QS.explode({
|
|
550
878
|
pageSize,
|
|
551
879
|
moduleType,
|
|
@@ -571,21 +899,21 @@ export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authoriza
|
|
|
571
899
|
data: any;
|
|
572
900
|
} | {
|
|
573
901
|
status: 400;
|
|
574
|
-
data:
|
|
902
|
+
data: HttpErrorResponse;
|
|
575
903
|
} | {
|
|
576
904
|
status: 401;
|
|
577
|
-
data:
|
|
905
|
+
data: HttpErrorResponse;
|
|
578
906
|
} | {
|
|
579
907
|
status: 404;
|
|
580
|
-
data:
|
|
908
|
+
data: HttpErrorResponse;
|
|
581
909
|
} | {
|
|
582
910
|
status: 422;
|
|
583
911
|
} | {
|
|
584
912
|
status: 500;
|
|
585
|
-
data:
|
|
913
|
+
data: HttpErrorResponse;
|
|
586
914
|
} | {
|
|
587
915
|
status: 503;
|
|
588
|
-
data:
|
|
916
|
+
data: HttpErrorResponse;
|
|
589
917
|
}>(`/v1/modules/${encodeURIComponent(moduleId)}`, {
|
|
590
918
|
...opts,
|
|
591
919
|
method: "DELETE",
|
|
@@ -609,21 +937,21 @@ export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorizatio
|
|
|
609
937
|
data: any;
|
|
610
938
|
} | {
|
|
611
939
|
status: 400;
|
|
612
|
-
data:
|
|
940
|
+
data: HttpErrorResponse;
|
|
613
941
|
} | {
|
|
614
942
|
status: 401;
|
|
615
|
-
data:
|
|
943
|
+
data: HttpErrorResponse;
|
|
616
944
|
} | {
|
|
617
945
|
status: 404;
|
|
618
|
-
data:
|
|
946
|
+
data: HttpErrorResponse;
|
|
619
947
|
} | {
|
|
620
948
|
status: 422;
|
|
621
949
|
} | {
|
|
622
950
|
status: 500;
|
|
623
|
-
data:
|
|
951
|
+
data: HttpErrorResponse;
|
|
624
952
|
} | {
|
|
625
953
|
status: 503;
|
|
626
|
-
data:
|
|
954
|
+
data: HttpErrorResponse;
|
|
627
955
|
}>(`/v1/modules/${encodeURIComponent(moduleId)}`, oazapfts.json({
|
|
628
956
|
...opts,
|
|
629
957
|
method: "PUT",
|
|
@@ -646,21 +974,21 @@ export function dispatchModuleServiceV1ModulesDispatchesPost({ authorization, bo
|
|
|
646
974
|
data: any;
|
|
647
975
|
} | {
|
|
648
976
|
status: 400;
|
|
649
|
-
data:
|
|
977
|
+
data: HttpErrorResponse;
|
|
650
978
|
} | {
|
|
651
979
|
status: 401;
|
|
652
|
-
data:
|
|
980
|
+
data: HttpErrorResponse;
|
|
653
981
|
} | {
|
|
654
982
|
status: 404;
|
|
655
|
-
data:
|
|
983
|
+
data: HttpErrorResponse;
|
|
656
984
|
} | {
|
|
657
985
|
status: 422;
|
|
658
986
|
} | {
|
|
659
987
|
status: 500;
|
|
660
|
-
data:
|
|
988
|
+
data: HttpErrorResponse;
|
|
661
989
|
} | {
|
|
662
990
|
status: 503;
|
|
663
|
-
data:
|
|
991
|
+
data: HttpErrorResponse;
|
|
664
992
|
}>("/v1/modules/dispatches", oazapfts.json({
|
|
665
993
|
...opts,
|
|
666
994
|
method: "POST",
|
|
@@ -683,21 +1011,21 @@ export function putReportV1ReportsReportIdPut({ reportId, authorization, putRepo
|
|
|
683
1011
|
data: any;
|
|
684
1012
|
} | {
|
|
685
1013
|
status: 400;
|
|
686
|
-
data:
|
|
1014
|
+
data: HttpErrorResponse;
|
|
687
1015
|
} | {
|
|
688
1016
|
status: 401;
|
|
689
|
-
data:
|
|
1017
|
+
data: HttpErrorResponse;
|
|
690
1018
|
} | {
|
|
691
1019
|
status: 404;
|
|
692
|
-
data:
|
|
1020
|
+
data: HttpErrorResponse;
|
|
693
1021
|
} | {
|
|
694
1022
|
status: 422;
|
|
695
1023
|
} | {
|
|
696
1024
|
status: 500;
|
|
697
|
-
data:
|
|
1025
|
+
data: HttpErrorResponse;
|
|
698
1026
|
} | {
|
|
699
1027
|
status: 503;
|
|
700
|
-
data:
|
|
1028
|
+
data: HttpErrorResponse;
|
|
701
1029
|
}>(`/v1/reports/${encodeURIComponent(reportId)}`, oazapfts.json({
|
|
702
1030
|
...opts,
|
|
703
1031
|
method: "PUT",
|
|
@@ -719,21 +1047,21 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
|
719
1047
|
data: GetReportResponse;
|
|
720
1048
|
} | {
|
|
721
1049
|
status: 400;
|
|
722
|
-
data:
|
|
1050
|
+
data: HttpErrorResponse;
|
|
723
1051
|
} | {
|
|
724
1052
|
status: 401;
|
|
725
|
-
data:
|
|
1053
|
+
data: HttpErrorResponse;
|
|
726
1054
|
} | {
|
|
727
1055
|
status: 404;
|
|
728
|
-
data:
|
|
1056
|
+
data: HttpErrorResponse;
|
|
729
1057
|
} | {
|
|
730
1058
|
status: 422;
|
|
731
1059
|
} | {
|
|
732
1060
|
status: 500;
|
|
733
|
-
data:
|
|
1061
|
+
data: HttpErrorResponse;
|
|
734
1062
|
} | {
|
|
735
1063
|
status: 503;
|
|
736
|
-
data:
|
|
1064
|
+
data: HttpErrorResponse;
|
|
737
1065
|
}>(`/v1/reports/${encodeURIComponent(reportId)}`, {
|
|
738
1066
|
...opts,
|
|
739
1067
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -741,40 +1069,6 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
|
741
1069
|
})
|
|
742
1070
|
}));
|
|
743
1071
|
}
|
|
744
|
-
/**
|
|
745
|
-
* Get Report Pull Request Content
|
|
746
|
-
*/
|
|
747
|
-
export function getReportPullRequestContentV1ReportsReportIdPullRequestGet({ reportId, authorization }: {
|
|
748
|
-
reportId: string;
|
|
749
|
-
authorization: string;
|
|
750
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
751
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
752
|
-
status: 200;
|
|
753
|
-
data: GetPullRequest;
|
|
754
|
-
} | {
|
|
755
|
-
status: 400;
|
|
756
|
-
data: HttpErrorResponseRead;
|
|
757
|
-
} | {
|
|
758
|
-
status: 401;
|
|
759
|
-
data: HttpErrorResponseRead;
|
|
760
|
-
} | {
|
|
761
|
-
status: 404;
|
|
762
|
-
data: HttpErrorResponseRead;
|
|
763
|
-
} | {
|
|
764
|
-
status: 422;
|
|
765
|
-
} | {
|
|
766
|
-
status: 500;
|
|
767
|
-
data: HttpErrorResponseRead;
|
|
768
|
-
} | {
|
|
769
|
-
status: 503;
|
|
770
|
-
data: HttpErrorResponseRead;
|
|
771
|
-
}>(`/v1/reports/${encodeURIComponent(reportId)}/pull-request`, {
|
|
772
|
-
...opts,
|
|
773
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
774
|
-
authorization
|
|
775
|
-
})
|
|
776
|
-
}));
|
|
777
|
-
}
|
|
778
1072
|
/**
|
|
779
1073
|
* Download Report
|
|
780
1074
|
*/
|
|
@@ -788,21 +1082,21 @@ export function downloadReportV1ReportsReportIdDownloadGet({ reportId, extension
|
|
|
788
1082
|
data: any;
|
|
789
1083
|
} | {
|
|
790
1084
|
status: 400;
|
|
791
|
-
data:
|
|
1085
|
+
data: HttpErrorResponse;
|
|
792
1086
|
} | {
|
|
793
1087
|
status: 401;
|
|
794
|
-
data:
|
|
1088
|
+
data: HttpErrorResponse;
|
|
795
1089
|
} | {
|
|
796
1090
|
status: 404;
|
|
797
|
-
data:
|
|
1091
|
+
data: HttpErrorResponse;
|
|
798
1092
|
} | {
|
|
799
1093
|
status: 422;
|
|
800
1094
|
} | {
|
|
801
1095
|
status: 500;
|
|
802
|
-
data:
|
|
1096
|
+
data: HttpErrorResponse;
|
|
803
1097
|
} | {
|
|
804
1098
|
status: 503;
|
|
805
|
-
data:
|
|
1099
|
+
data: HttpErrorResponse;
|
|
806
1100
|
}>(`/v1/reports/${encodeURIComponent(reportId)}/download${QS.query(QS.explode({
|
|
807
1101
|
extension
|
|
808
1102
|
}))}`, {
|
|
@@ -892,21 +1186,21 @@ export function listRepositoryReportV1ReposRepositoryIdReportsGet({ repositoryId
|
|
|
892
1186
|
data: ListRepositoryReportResponse;
|
|
893
1187
|
} | {
|
|
894
1188
|
status: 400;
|
|
895
|
-
data:
|
|
1189
|
+
data: HttpErrorResponse;
|
|
896
1190
|
} | {
|
|
897
1191
|
status: 401;
|
|
898
|
-
data:
|
|
1192
|
+
data: HttpErrorResponse;
|
|
899
1193
|
} | {
|
|
900
1194
|
status: 404;
|
|
901
|
-
data:
|
|
1195
|
+
data: HttpErrorResponse;
|
|
902
1196
|
} | {
|
|
903
1197
|
status: 422;
|
|
904
1198
|
} | {
|
|
905
1199
|
status: 500;
|
|
906
|
-
data:
|
|
1200
|
+
data: HttpErrorResponse;
|
|
907
1201
|
} | {
|
|
908
1202
|
status: 503;
|
|
909
|
-
data:
|
|
1203
|
+
data: HttpErrorResponse;
|
|
910
1204
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}/reports${QS.query(QS.explode({
|
|
911
1205
|
pageSize,
|
|
912
1206
|
page,
|
|
@@ -931,24 +1225,24 @@ export function createReposBatchServiceV1ReposBatchPost({ tags, authorization, b
|
|
|
931
1225
|
data: any;
|
|
932
1226
|
} | {
|
|
933
1227
|
status: 207;
|
|
934
|
-
data:
|
|
1228
|
+
data: HttpErrorResponse;
|
|
935
1229
|
} | {
|
|
936
1230
|
status: 400;
|
|
937
|
-
data:
|
|
1231
|
+
data: HttpErrorResponse;
|
|
938
1232
|
} | {
|
|
939
1233
|
status: 401;
|
|
940
|
-
data:
|
|
1234
|
+
data: HttpErrorResponse;
|
|
941
1235
|
} | {
|
|
942
1236
|
status: 404;
|
|
943
|
-
data:
|
|
1237
|
+
data: HttpErrorResponse;
|
|
944
1238
|
} | {
|
|
945
1239
|
status: 422;
|
|
946
1240
|
} | {
|
|
947
1241
|
status: 500;
|
|
948
|
-
data:
|
|
1242
|
+
data: HttpErrorResponse;
|
|
949
1243
|
} | {
|
|
950
1244
|
status: 503;
|
|
951
|
-
data:
|
|
1245
|
+
data: HttpErrorResponse;
|
|
952
1246
|
}>(`/v1/repos/batch${QS.query(QS.explode({
|
|
953
1247
|
tags
|
|
954
1248
|
}))}`, oazapfts.multipart({
|
|
@@ -972,21 +1266,21 @@ export function createRepositoryServiceV1ReposPost({ authorization, createReposi
|
|
|
972
1266
|
data: any;
|
|
973
1267
|
} | {
|
|
974
1268
|
status: 400;
|
|
975
|
-
data:
|
|
1269
|
+
data: HttpErrorResponse;
|
|
976
1270
|
} | {
|
|
977
1271
|
status: 401;
|
|
978
|
-
data:
|
|
1272
|
+
data: HttpErrorResponse;
|
|
979
1273
|
} | {
|
|
980
1274
|
status: 404;
|
|
981
|
-
data:
|
|
1275
|
+
data: HttpErrorResponse;
|
|
982
1276
|
} | {
|
|
983
1277
|
status: 422;
|
|
984
1278
|
} | {
|
|
985
1279
|
status: 500;
|
|
986
|
-
data:
|
|
1280
|
+
data: HttpErrorResponse;
|
|
987
1281
|
} | {
|
|
988
1282
|
status: 503;
|
|
989
|
-
data:
|
|
1283
|
+
data: HttpErrorResponse;
|
|
990
1284
|
}>("/v1/repos", oazapfts.json({
|
|
991
1285
|
...opts,
|
|
992
1286
|
method: "POST",
|
|
@@ -1017,21 +1311,21 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
|
|
|
1017
1311
|
data: ListRepositoryResponse;
|
|
1018
1312
|
} | {
|
|
1019
1313
|
status: 400;
|
|
1020
|
-
data:
|
|
1314
|
+
data: HttpErrorResponse;
|
|
1021
1315
|
} | {
|
|
1022
1316
|
status: 401;
|
|
1023
|
-
data:
|
|
1317
|
+
data: HttpErrorResponse;
|
|
1024
1318
|
} | {
|
|
1025
1319
|
status: 404;
|
|
1026
|
-
data:
|
|
1320
|
+
data: HttpErrorResponse;
|
|
1027
1321
|
} | {
|
|
1028
1322
|
status: 422;
|
|
1029
1323
|
} | {
|
|
1030
1324
|
status: 500;
|
|
1031
|
-
data:
|
|
1325
|
+
data: HttpErrorResponse;
|
|
1032
1326
|
} | {
|
|
1033
1327
|
status: 503;
|
|
1034
|
-
data:
|
|
1328
|
+
data: HttpErrorResponse;
|
|
1035
1329
|
}>(`/v1/repos${QS.query(QS.explode({
|
|
1036
1330
|
pageSize,
|
|
1037
1331
|
page,
|
|
@@ -1059,24 +1353,24 @@ export function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, a
|
|
|
1059
1353
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1060
1354
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1061
1355
|
status: 200;
|
|
1062
|
-
data:
|
|
1356
|
+
data: RepositoryResponse2;
|
|
1063
1357
|
} | {
|
|
1064
1358
|
status: 400;
|
|
1065
|
-
data:
|
|
1359
|
+
data: HttpErrorResponse;
|
|
1066
1360
|
} | {
|
|
1067
1361
|
status: 401;
|
|
1068
|
-
data:
|
|
1362
|
+
data: HttpErrorResponse;
|
|
1069
1363
|
} | {
|
|
1070
1364
|
status: 404;
|
|
1071
|
-
data:
|
|
1365
|
+
data: HttpErrorResponse;
|
|
1072
1366
|
} | {
|
|
1073
1367
|
status: 422;
|
|
1074
1368
|
} | {
|
|
1075
1369
|
status: 500;
|
|
1076
|
-
data:
|
|
1370
|
+
data: HttpErrorResponse;
|
|
1077
1371
|
} | {
|
|
1078
1372
|
status: 503;
|
|
1079
|
-
data:
|
|
1373
|
+
data: HttpErrorResponse;
|
|
1080
1374
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
|
|
1081
1375
|
...opts,
|
|
1082
1376
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
@@ -1096,21 +1390,21 @@ export function deleteRepositoryServiceV1ReposRepositoryIdDelete({ repositoryId,
|
|
|
1096
1390
|
data: any;
|
|
1097
1391
|
} | {
|
|
1098
1392
|
status: 400;
|
|
1099
|
-
data:
|
|
1393
|
+
data: HttpErrorResponse;
|
|
1100
1394
|
} | {
|
|
1101
1395
|
status: 401;
|
|
1102
|
-
data:
|
|
1396
|
+
data: HttpErrorResponse;
|
|
1103
1397
|
} | {
|
|
1104
1398
|
status: 404;
|
|
1105
|
-
data:
|
|
1399
|
+
data: HttpErrorResponse;
|
|
1106
1400
|
} | {
|
|
1107
1401
|
status: 422;
|
|
1108
1402
|
} | {
|
|
1109
1403
|
status: 500;
|
|
1110
|
-
data:
|
|
1404
|
+
data: HttpErrorResponse;
|
|
1111
1405
|
} | {
|
|
1112
1406
|
status: 503;
|
|
1113
|
-
data:
|
|
1407
|
+
data: HttpErrorResponse;
|
|
1114
1408
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
|
|
1115
1409
|
...opts,
|
|
1116
1410
|
method: "DELETE",
|
|
@@ -1132,21 +1426,21 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
|
|
|
1132
1426
|
data: any;
|
|
1133
1427
|
} | {
|
|
1134
1428
|
status: 400;
|
|
1135
|
-
data:
|
|
1429
|
+
data: HttpErrorResponse;
|
|
1136
1430
|
} | {
|
|
1137
1431
|
status: 401;
|
|
1138
|
-
data:
|
|
1432
|
+
data: HttpErrorResponse;
|
|
1139
1433
|
} | {
|
|
1140
1434
|
status: 404;
|
|
1141
|
-
data:
|
|
1435
|
+
data: HttpErrorResponse;
|
|
1142
1436
|
} | {
|
|
1143
1437
|
status: 422;
|
|
1144
1438
|
} | {
|
|
1145
1439
|
status: 500;
|
|
1146
|
-
data:
|
|
1440
|
+
data: HttpErrorResponse;
|
|
1147
1441
|
} | {
|
|
1148
1442
|
status: 503;
|
|
1149
|
-
data:
|
|
1443
|
+
data: HttpErrorResponse;
|
|
1150
1444
|
}>(`/v1/repos/${encodeURIComponent(repositoryId)}`, oazapfts.json({
|
|
1151
1445
|
...opts,
|
|
1152
1446
|
method: "PUT",
|
|
@@ -1156,42 +1450,6 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
|
|
|
1156
1450
|
})
|
|
1157
1451
|
})));
|
|
1158
1452
|
}
|
|
1159
|
-
/**
|
|
1160
|
-
* Validate Scm Url Service
|
|
1161
|
-
*/
|
|
1162
|
-
export function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
|
|
1163
|
-
authorization: string;
|
|
1164
|
-
validateScmUrlRequest: ValidateScmUrlRequest;
|
|
1165
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
1166
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1167
|
-
status: 200;
|
|
1168
|
-
data: any;
|
|
1169
|
-
} | {
|
|
1170
|
-
status: 400;
|
|
1171
|
-
data: HttpErrorResponseRead;
|
|
1172
|
-
} | {
|
|
1173
|
-
status: 401;
|
|
1174
|
-
data: HttpErrorResponseRead;
|
|
1175
|
-
} | {
|
|
1176
|
-
status: 404;
|
|
1177
|
-
data: HttpErrorResponseRead;
|
|
1178
|
-
} | {
|
|
1179
|
-
status: 422;
|
|
1180
|
-
} | {
|
|
1181
|
-
status: 500;
|
|
1182
|
-
data: HttpErrorResponseRead;
|
|
1183
|
-
} | {
|
|
1184
|
-
status: 503;
|
|
1185
|
-
data: HttpErrorResponseRead;
|
|
1186
|
-
}>("/v1/repos/validate-scm-url", oazapfts.json({
|
|
1187
|
-
...opts,
|
|
1188
|
-
method: "POST",
|
|
1189
|
-
body: validateScmUrlRequest,
|
|
1190
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1191
|
-
authorization
|
|
1192
|
-
})
|
|
1193
|
-
})));
|
|
1194
|
-
}
|
|
1195
1453
|
/**
|
|
1196
1454
|
* Get Account Settings
|
|
1197
1455
|
*/
|
|
@@ -1485,29 +1743,6 @@ export function deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete({ p
|
|
|
1485
1743
|
})
|
|
1486
1744
|
}));
|
|
1487
1745
|
}
|
|
1488
|
-
/**
|
|
1489
|
-
* Update Program Group Components Service
|
|
1490
|
-
*/
|
|
1491
|
-
export function updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut({ programGroupId, authorization, body }: {
|
|
1492
|
-
programGroupId: string;
|
|
1493
|
-
authorization: string;
|
|
1494
|
-
body: PutProgramGroupComponentsRequest[];
|
|
1495
|
-
}, opts?: Oazapfts.RequestOpts) {
|
|
1496
|
-
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1497
|
-
status: 200;
|
|
1498
|
-
data: any;
|
|
1499
|
-
} | {
|
|
1500
|
-
status: 422;
|
|
1501
|
-
data: HttpValidationError;
|
|
1502
|
-
}>(`/v1/program-groups/${encodeURIComponent(programGroupId)}/components`, oazapfts.json({
|
|
1503
|
-
...opts,
|
|
1504
|
-
method: "PUT",
|
|
1505
|
-
body,
|
|
1506
|
-
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1507
|
-
authorization
|
|
1508
|
-
})
|
|
1509
|
-
})));
|
|
1510
|
-
}
|
|
1511
1746
|
/**
|
|
1512
1747
|
* List Program Group Report Service
|
|
1513
1748
|
*/
|