@stack-spot/portal-network 0.156.0 → 0.157.0-beta.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +68 -1
  2. package/dist/api/codeShift.d.ts +107 -196
  3. package/dist/api/codeShift.d.ts.map +1 -1
  4. package/dist/api/codeShift.js +37 -94
  5. package/dist/api/codeShift.js.map +1 -1
  6. package/dist/client/agent-tools.d.ts +89 -3
  7. package/dist/client/agent-tools.d.ts.map +1 -1
  8. package/dist/client/agent-tools.js +133 -2
  9. package/dist/client/agent-tools.js.map +1 -1
  10. package/dist/client/agent.d.ts +5 -50
  11. package/dist/client/agent.d.ts.map +1 -1
  12. package/dist/client/agent.js +0 -64
  13. package/dist/client/agent.js.map +1 -1
  14. package/dist/client/ai.d.ts +7 -0
  15. package/dist/client/ai.d.ts.map +1 -1
  16. package/dist/client/ai.js +10 -1
  17. package/dist/client/ai.js.map +1 -1
  18. package/dist/client/code-shift.d.ts +25 -67
  19. package/dist/client/code-shift.d.ts.map +1 -1
  20. package/dist/client/code-shift.js +30 -73
  21. package/dist/client/code-shift.js.map +1 -1
  22. package/dist/client/gen-ai-inference.d.ts +9 -0
  23. package/dist/client/gen-ai-inference.d.ts.map +1 -1
  24. package/dist/client/gen-ai-inference.js +10 -1
  25. package/dist/client/gen-ai-inference.js.map +1 -1
  26. package/dist/client/types.d.ts +5 -4
  27. package/dist/client/types.d.ts.map +1 -1
  28. package/dist/error/DefaultAPIError.d.ts +1 -1
  29. package/dist/error/DefaultAPIError.d.ts.map +1 -1
  30. package/dist/error/DefaultAPIError.js +7 -0
  31. package/dist/error/DefaultAPIError.js.map +1 -1
  32. package/dist/error/types.d.ts +18 -0
  33. package/dist/error/types.d.ts.map +1 -0
  34. package/dist/error/types.js +2 -0
  35. package/dist/error/types.js.map +1 -0
  36. package/package.json +1 -1
  37. package/readme.md +1 -1
  38. package/src/api/account.ts +1 -0
  39. package/src/api/agent-tools.ts +3 -0
  40. package/src/api/agent.ts +2 -0
  41. package/src/api/codeShift.ts +254 -481
  42. package/src/api/notification.ts +2 -0
  43. package/src/client/agent-tools.ts +102 -3
  44. package/src/client/agent.ts +0 -68
  45. package/src/client/ai.ts +6 -0
  46. package/src/client/code-shift.ts +19 -57
  47. package/src/client/gen-ai-inference.ts +6 -1
  48. package/src/client/types.ts +7 -5
  49. package/src/error/DefaultAPIError.ts +9 -1
  50. package/src/error/types.ts +20 -0
@@ -24,122 +24,6 @@ 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
- };
143
27
  export type ModuleType = "repository" | "program_group";
144
28
  export type InputRequest = {
145
29
  name: string;
@@ -166,12 +50,42 @@ export type CreateModuleRequest = {
166
50
  /** Module studio */
167
51
  studio: string;
168
52
  };
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
+ };
169
83
  export type InputResponse = {
170
84
  name: string;
171
85
  required: boolean;
172
86
  "default": string;
173
87
  };
174
- export type ModuleResponse2 = {
88
+ export type ModuleResponse = {
175
89
  /** Module ID */
176
90
  id: string;
177
91
  /** Module type */
@@ -195,7 +109,7 @@ export type ModuleResponse2 = {
195
109
  };
196
110
  export type ListModuleResponse = {
197
111
  /** List of modules */
198
- items: ModuleResponse2[];
112
+ items: ModuleResponse[];
199
113
  /** Number of modules */
200
114
  itemsCount: number;
201
115
  /** Last evaluated key */
@@ -259,19 +173,33 @@ export type PutReportRequest = {
259
173
  issuesCount: number;
260
174
  totalFilesCount?: number | null;
261
175
  analyzedFilesCount?: number | null;
176
+ totalFilesChanged?: number | null;
262
177
  pullRequestLink?: string | null;
263
178
  commitHash?: string | null;
264
179
  targetFiles: TargetFilesRequest[];
265
180
  };
266
- export type ModuleResponse3 = {
181
+ export type ModuleResponse2 = {
267
182
  id: string;
268
183
  name: string;
269
184
  };
270
- export type ApplicationResponse2 = {
185
+ export type ApplicationResponse = {
271
186
  id: string;
272
187
  name: string;
273
188
  url: string;
274
189
  };
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
+ };
275
203
  export type ProgramGroupResponse = {
276
204
  id: string;
277
205
  name: string;
@@ -298,8 +226,8 @@ export type TargetFilesResponse = {
298
226
  };
299
227
  export type GetReportResponse = {
300
228
  id: string;
301
- "module": ModuleResponse3 | null;
302
- application: ApplicationResponse2 | null;
229
+ "module": ModuleResponse2 | null;
230
+ application: ApplicationResponse | null;
303
231
  execution: ExecutionResponse | null;
304
232
  mode: string;
305
233
  sourceBranch: string | null;
@@ -309,6 +237,7 @@ export type GetReportResponse = {
309
237
  updatedAt: string;
310
238
  filesCount: number | null;
311
239
  totalFilesCount: number | null;
240
+ totalFilesChanged: number | null;
312
241
  analyzedFilesCount: number | null;
313
242
  issuesFilesCount: number | null;
314
243
  issuesCount: number | null;
@@ -317,6 +246,13 @@ export type GetReportResponse = {
317
246
  programGroup: ProgramGroupResponse | null;
318
247
  targetFiles: TargetFilesResponse[];
319
248
  errorLog?: string | null;
249
+ status: string | null;
250
+ };
251
+ export type GetPullRequest = {
252
+ content: string;
253
+ };
254
+ export type GetPullRequest = {
255
+ content: string;
320
256
  };
321
257
  export type SearchRepoScmResponse = {
322
258
  id: string;
@@ -326,13 +262,13 @@ export type GetStatusSearchRepoScmResponse = {
326
262
  status: SearchRepositoryStatus;
327
263
  errorLog?: string | null;
328
264
  };
329
- export type ModuleResponse4 = {
265
+ export type ModuleResponse3 = {
330
266
  id: string;
331
267
  name: string;
332
268
  };
333
- export type ReportResponse3 = {
269
+ export type ReportResponse = {
334
270
  id: string;
335
- "module": ModuleResponse4;
271
+ "module": ModuleResponse3;
336
272
  execution: ExecutionResponse | null;
337
273
  mode: string;
338
274
  sourceBranch: string;
@@ -344,10 +280,11 @@ export type ReportResponse3 = {
344
280
  issuesCount: number | null;
345
281
  pullRequestLink?: string | null;
346
282
  errorLog?: string | null;
283
+ status: string | null;
347
284
  };
348
285
  export type ListRepositoryReportResponse = {
349
286
  /** List of reports */
350
- items: ReportResponse3[];
287
+ items: ReportResponse[];
351
288
  /** Number of reports */
352
289
  itemsCount: number;
353
290
  /** Last evaluated key */
@@ -361,14 +298,14 @@ export type CreateRepositoryRequest = {
361
298
  defaultBranch: string;
362
299
  tags?: string[] | null;
363
300
  };
364
- export type ReportResponse4 = {
301
+ export type ReportResponse2 = {
365
302
  id: string;
366
303
  execution: ExecutionResponse | null;
367
304
  mode: string;
368
305
  moduleId: string;
369
306
  sourceBranch: string;
370
307
  targetBranch?: string | null;
371
- createdBy: UserResponse;
308
+ createdBy: UserResponse | null;
372
309
  createdAt: string;
373
310
  updatedAt: string;
374
311
  filesCount: number | null;
@@ -376,21 +313,21 @@ export type ReportResponse4 = {
376
313
  pullRequestLink?: string | null;
377
314
  errorLog?: string | null;
378
315
  };
379
- export type RepositoryResponse2 = {
316
+ export type RepositoryResponse = {
380
317
  /** Repository ID */
381
318
  id: string;
382
319
  /** Repository creation date */
383
320
  createdAt?: string | null;
384
321
  /** Repository creation user */
385
322
  createdBy?: string | null;
386
- lastModuleReport: ReportResponse4 | null;
323
+ lastModuleReport: ReportResponse2 | null;
387
324
  tags: string[];
388
325
  url: string;
389
326
  defaultBranch: string;
390
327
  };
391
328
  export type ListRepositoryResponse = {
392
329
  /** List of applications */
393
- items: RepositoryResponse2[];
330
+ items: RepositoryResponse[];
394
331
  /** Number of applications */
395
332
  itemsCount: number;
396
333
  /** Last evaluated key */
@@ -401,6 +338,9 @@ export type PutRepositoryRequest = {
401
338
  defaultBranch?: string | null;
402
339
  tags?: string[] | null;
403
340
  };
341
+ export type ValidateScmUrlRequest = {
342
+ url?: string | null;
343
+ };
404
344
  export type GetAccountSettingsRequest = {
405
345
  maxSimultaneousExecution: number | null;
406
346
  };
@@ -445,7 +385,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
445
385
  export type CreateProgramGroupResponse = {
446
386
  id: string;
447
387
  };
448
- export type ReportResponse5 = {
388
+ export type ReportResponse3 = {
449
389
  id: string;
450
390
  execution: ExecutionResponse | null;
451
391
  mode: string;
@@ -457,6 +397,7 @@ export type ReportResponse5 = {
457
397
  issuesCount: number | null;
458
398
  pullRequestLink?: string | null;
459
399
  errorLog?: string | null;
400
+ status: string | null;
460
401
  };
461
402
  export type ProgramGroupResponse2 = {
462
403
  id: string;
@@ -465,10 +406,10 @@ export type ProgramGroupResponse2 = {
465
406
  tags: string[];
466
407
  components: any[];
467
408
  accountId: string;
468
- createdBy: string;
409
+ createdBy: string | null;
469
410
  createdAt: string;
470
411
  updatedAt: string;
471
- lastModuleReport: ReportResponse5 | null;
412
+ lastModuleReport: ReportResponse3 | null;
472
413
  };
473
414
  export type ListProgramGroupResponse = {
474
415
  items: ProgramGroupResponse2[];
@@ -488,13 +429,18 @@ export type ProgramGroupResponse3 = {
488
429
  export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
489
430
  file?: Blob | null;
490
431
  };
491
- export type ModuleResponse5 = {
432
+ export type PutProgramGroupComponentsRequest = {
433
+ appl_name: string;
434
+ component_type: string;
435
+ component: string;
436
+ };
437
+ export type ModuleResponse4 = {
492
438
  id: string;
493
439
  name: string;
494
440
  };
495
- export type ReportResponse6 = {
441
+ export type ReportResponse4 = {
496
442
  id: string;
497
- "module": ModuleResponse5;
443
+ "module": ModuleResponse4;
498
444
  execution: ExecutionResponse | null;
499
445
  mode: string;
500
446
  createdBy: UserResponse;
@@ -507,7 +453,7 @@ export type ReportResponse6 = {
507
453
  };
508
454
  export type ListProgramGroupReportResponse = {
509
455
  /** List of reports */
510
- items: ReportResponse6[];
456
+ items: ReportResponse4[];
511
457
  /** Number of reports */
512
458
  itemsCount: number;
513
459
  };
@@ -538,272 +484,6 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
538
484
  })
539
485
  }));
540
486
  }
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
- }
807
487
  /**
808
488
  * Create Module Service
809
489
  */
@@ -818,21 +498,21 @@ export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
818
498
  data: any;
819
499
  } | {
820
500
  status: 400;
821
- data: HttpErrorResponse;
501
+ data: HttpErrorResponseRead;
822
502
  } | {
823
503
  status: 401;
824
- data: HttpErrorResponse;
504
+ data: HttpErrorResponseRead;
825
505
  } | {
826
506
  status: 404;
827
- data: HttpErrorResponse;
507
+ data: HttpErrorResponseRead;
828
508
  } | {
829
509
  status: 422;
830
510
  } | {
831
511
  status: 500;
832
- data: HttpErrorResponse;
512
+ data: HttpErrorResponseRead;
833
513
  } | {
834
514
  status: 503;
835
- data: HttpErrorResponse;
515
+ data: HttpErrorResponseRead;
836
516
  }>("/v1/modules", oazapfts.json({
837
517
  ...opts,
838
518
  method: "POST",
@@ -859,21 +539,21 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
859
539
  data: ListModuleResponse;
860
540
  } | {
861
541
  status: 400;
862
- data: HttpErrorResponse;
542
+ data: HttpErrorResponseRead;
863
543
  } | {
864
544
  status: 401;
865
- data: HttpErrorResponse;
545
+ data: HttpErrorResponseRead;
866
546
  } | {
867
547
  status: 404;
868
- data: HttpErrorResponse;
548
+ data: HttpErrorResponseRead;
869
549
  } | {
870
550
  status: 422;
871
551
  } | {
872
552
  status: 500;
873
- data: HttpErrorResponse;
553
+ data: HttpErrorResponseRead;
874
554
  } | {
875
555
  status: 503;
876
- data: HttpErrorResponse;
556
+ data: HttpErrorResponseRead;
877
557
  }>(`/v1/modules${QS.query(QS.explode({
878
558
  pageSize,
879
559
  moduleType,
@@ -899,21 +579,21 @@ export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authoriza
899
579
  data: any;
900
580
  } | {
901
581
  status: 400;
902
- data: HttpErrorResponse;
582
+ data: HttpErrorResponseRead;
903
583
  } | {
904
584
  status: 401;
905
- data: HttpErrorResponse;
585
+ data: HttpErrorResponseRead;
906
586
  } | {
907
587
  status: 404;
908
- data: HttpErrorResponse;
588
+ data: HttpErrorResponseRead;
909
589
  } | {
910
590
  status: 422;
911
591
  } | {
912
592
  status: 500;
913
- data: HttpErrorResponse;
593
+ data: HttpErrorResponseRead;
914
594
  } | {
915
595
  status: 503;
916
- data: HttpErrorResponse;
596
+ data: HttpErrorResponseRead;
917
597
  }>(`/v1/modules/${encodeURIComponent(moduleId)}`, {
918
598
  ...opts,
919
599
  method: "DELETE",
@@ -937,21 +617,21 @@ export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorizatio
937
617
  data: any;
938
618
  } | {
939
619
  status: 400;
940
- data: HttpErrorResponse;
620
+ data: HttpErrorResponseRead;
941
621
  } | {
942
622
  status: 401;
943
- data: HttpErrorResponse;
623
+ data: HttpErrorResponseRead;
944
624
  } | {
945
625
  status: 404;
946
- data: HttpErrorResponse;
626
+ data: HttpErrorResponseRead;
947
627
  } | {
948
628
  status: 422;
949
629
  } | {
950
630
  status: 500;
951
- data: HttpErrorResponse;
631
+ data: HttpErrorResponseRead;
952
632
  } | {
953
633
  status: 503;
954
- data: HttpErrorResponse;
634
+ data: HttpErrorResponseRead;
955
635
  }>(`/v1/modules/${encodeURIComponent(moduleId)}`, oazapfts.json({
956
636
  ...opts,
957
637
  method: "PUT",
@@ -974,21 +654,21 @@ export function dispatchModuleServiceV1ModulesDispatchesPost({ authorization, bo
974
654
  data: any;
975
655
  } | {
976
656
  status: 400;
977
- data: HttpErrorResponse;
657
+ data: HttpErrorResponseRead;
978
658
  } | {
979
659
  status: 401;
980
- data: HttpErrorResponse;
660
+ data: HttpErrorResponseRead;
981
661
  } | {
982
662
  status: 404;
983
- data: HttpErrorResponse;
663
+ data: HttpErrorResponseRead;
984
664
  } | {
985
665
  status: 422;
986
666
  } | {
987
667
  status: 500;
988
- data: HttpErrorResponse;
668
+ data: HttpErrorResponseRead;
989
669
  } | {
990
670
  status: 503;
991
- data: HttpErrorResponse;
671
+ data: HttpErrorResponseRead;
992
672
  }>("/v1/modules/dispatches", oazapfts.json({
993
673
  ...opts,
994
674
  method: "POST",
@@ -1011,21 +691,21 @@ export function putReportV1ReportsReportIdPut({ reportId, authorization, putRepo
1011
691
  data: any;
1012
692
  } | {
1013
693
  status: 400;
1014
- data: HttpErrorResponse;
694
+ data: HttpErrorResponseRead;
1015
695
  } | {
1016
696
  status: 401;
1017
- data: HttpErrorResponse;
697
+ data: HttpErrorResponseRead;
1018
698
  } | {
1019
699
  status: 404;
1020
- data: HttpErrorResponse;
700
+ data: HttpErrorResponseRead;
1021
701
  } | {
1022
702
  status: 422;
1023
703
  } | {
1024
704
  status: 500;
1025
- data: HttpErrorResponse;
705
+ data: HttpErrorResponseRead;
1026
706
  } | {
1027
707
  status: 503;
1028
- data: HttpErrorResponse;
708
+ data: HttpErrorResponseRead;
1029
709
  }>(`/v1/reports/${encodeURIComponent(reportId)}`, oazapfts.json({
1030
710
  ...opts,
1031
711
  method: "PUT",
@@ -1047,21 +727,21 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
1047
727
  data: GetReportResponse;
1048
728
  } | {
1049
729
  status: 400;
1050
- data: HttpErrorResponse;
730
+ data: HttpErrorResponseRead;
1051
731
  } | {
1052
732
  status: 401;
1053
- data: HttpErrorResponse;
733
+ data: HttpErrorResponseRead;
1054
734
  } | {
1055
735
  status: 404;
1056
- data: HttpErrorResponse;
736
+ data: HttpErrorResponseRead;
1057
737
  } | {
1058
738
  status: 422;
1059
739
  } | {
1060
740
  status: 500;
1061
- data: HttpErrorResponse;
741
+ data: HttpErrorResponseRead;
1062
742
  } | {
1063
743
  status: 503;
1064
- data: HttpErrorResponse;
744
+ data: HttpErrorResponseRead;
1065
745
  }>(`/v1/reports/${encodeURIComponent(reportId)}`, {
1066
746
  ...opts,
1067
747
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1069,6 +749,40 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
1069
749
  })
1070
750
  }));
1071
751
  }
752
+ /**
753
+ * Get Report Pull Request Content
754
+ */
755
+ export function getReportPullRequestContentV1ReportsReportIdPullRequestGet({ reportId, authorization }: {
756
+ reportId: string;
757
+ authorization: string;
758
+ }, opts?: Oazapfts.RequestOpts) {
759
+ return oazapfts.ok(oazapfts.fetchJson<{
760
+ status: 200;
761
+ data: GetPullRequest;
762
+ } | {
763
+ status: 400;
764
+ data: HttpErrorResponseRead;
765
+ } | {
766
+ status: 401;
767
+ data: HttpErrorResponseRead;
768
+ } | {
769
+ status: 404;
770
+ data: HttpErrorResponseRead;
771
+ } | {
772
+ status: 422;
773
+ } | {
774
+ status: 500;
775
+ data: HttpErrorResponseRead;
776
+ } | {
777
+ status: 503;
778
+ data: HttpErrorResponseRead;
779
+ }>(`/v1/reports/${encodeURIComponent(reportId)}/pull-request`, {
780
+ ...opts,
781
+ headers: oazapfts.mergeHeaders(opts?.headers, {
782
+ authorization
783
+ })
784
+ }));
785
+ }
1072
786
  /**
1073
787
  * Download Report
1074
788
  */
@@ -1082,21 +796,21 @@ export function downloadReportV1ReportsReportIdDownloadGet({ reportId, extension
1082
796
  data: any;
1083
797
  } | {
1084
798
  status: 400;
1085
- data: HttpErrorResponse;
799
+ data: HttpErrorResponseRead;
1086
800
  } | {
1087
801
  status: 401;
1088
- data: HttpErrorResponse;
802
+ data: HttpErrorResponseRead;
1089
803
  } | {
1090
804
  status: 404;
1091
- data: HttpErrorResponse;
805
+ data: HttpErrorResponseRead;
1092
806
  } | {
1093
807
  status: 422;
1094
808
  } | {
1095
809
  status: 500;
1096
- data: HttpErrorResponse;
810
+ data: HttpErrorResponseRead;
1097
811
  } | {
1098
812
  status: 503;
1099
- data: HttpErrorResponse;
813
+ data: HttpErrorResponseRead;
1100
814
  }>(`/v1/reports/${encodeURIComponent(reportId)}/download${QS.query(QS.explode({
1101
815
  extension
1102
816
  }))}`, {
@@ -1186,21 +900,21 @@ export function listRepositoryReportV1ReposRepositoryIdReportsGet({ repositoryId
1186
900
  data: ListRepositoryReportResponse;
1187
901
  } | {
1188
902
  status: 400;
1189
- data: HttpErrorResponse;
903
+ data: HttpErrorResponseRead;
1190
904
  } | {
1191
905
  status: 401;
1192
- data: HttpErrorResponse;
906
+ data: HttpErrorResponseRead;
1193
907
  } | {
1194
908
  status: 404;
1195
- data: HttpErrorResponse;
909
+ data: HttpErrorResponseRead;
1196
910
  } | {
1197
911
  status: 422;
1198
912
  } | {
1199
913
  status: 500;
1200
- data: HttpErrorResponse;
914
+ data: HttpErrorResponseRead;
1201
915
  } | {
1202
916
  status: 503;
1203
- data: HttpErrorResponse;
917
+ data: HttpErrorResponseRead;
1204
918
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}/reports${QS.query(QS.explode({
1205
919
  pageSize,
1206
920
  page,
@@ -1225,24 +939,24 @@ export function createReposBatchServiceV1ReposBatchPost({ tags, authorization, b
1225
939
  data: any;
1226
940
  } | {
1227
941
  status: 207;
1228
- data: HttpErrorResponse;
942
+ data: HttpErrorResponseRead;
1229
943
  } | {
1230
944
  status: 400;
1231
- data: HttpErrorResponse;
945
+ data: HttpErrorResponseRead;
1232
946
  } | {
1233
947
  status: 401;
1234
- data: HttpErrorResponse;
948
+ data: HttpErrorResponseRead;
1235
949
  } | {
1236
950
  status: 404;
1237
- data: HttpErrorResponse;
951
+ data: HttpErrorResponseRead;
1238
952
  } | {
1239
953
  status: 422;
1240
954
  } | {
1241
955
  status: 500;
1242
- data: HttpErrorResponse;
956
+ data: HttpErrorResponseRead;
1243
957
  } | {
1244
958
  status: 503;
1245
- data: HttpErrorResponse;
959
+ data: HttpErrorResponseRead;
1246
960
  }>(`/v1/repos/batch${QS.query(QS.explode({
1247
961
  tags
1248
962
  }))}`, oazapfts.multipart({
@@ -1266,21 +980,21 @@ export function createRepositoryServiceV1ReposPost({ authorization, createReposi
1266
980
  data: any;
1267
981
  } | {
1268
982
  status: 400;
1269
- data: HttpErrorResponse;
983
+ data: HttpErrorResponseRead;
1270
984
  } | {
1271
985
  status: 401;
1272
- data: HttpErrorResponse;
986
+ data: HttpErrorResponseRead;
1273
987
  } | {
1274
988
  status: 404;
1275
- data: HttpErrorResponse;
989
+ data: HttpErrorResponseRead;
1276
990
  } | {
1277
991
  status: 422;
1278
992
  } | {
1279
993
  status: 500;
1280
- data: HttpErrorResponse;
994
+ data: HttpErrorResponseRead;
1281
995
  } | {
1282
996
  status: 503;
1283
- data: HttpErrorResponse;
997
+ data: HttpErrorResponseRead;
1284
998
  }>("/v1/repos", oazapfts.json({
1285
999
  ...opts,
1286
1000
  method: "POST",
@@ -1311,21 +1025,21 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
1311
1025
  data: ListRepositoryResponse;
1312
1026
  } | {
1313
1027
  status: 400;
1314
- data: HttpErrorResponse;
1028
+ data: HttpErrorResponseRead;
1315
1029
  } | {
1316
1030
  status: 401;
1317
- data: HttpErrorResponse;
1031
+ data: HttpErrorResponseRead;
1318
1032
  } | {
1319
1033
  status: 404;
1320
- data: HttpErrorResponse;
1034
+ data: HttpErrorResponseRead;
1321
1035
  } | {
1322
1036
  status: 422;
1323
1037
  } | {
1324
1038
  status: 500;
1325
- data: HttpErrorResponse;
1039
+ data: HttpErrorResponseRead;
1326
1040
  } | {
1327
1041
  status: 503;
1328
- data: HttpErrorResponse;
1042
+ data: HttpErrorResponseRead;
1329
1043
  }>(`/v1/repos${QS.query(QS.explode({
1330
1044
  pageSize,
1331
1045
  page,
@@ -1353,24 +1067,24 @@ export function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, a
1353
1067
  }, opts?: Oazapfts.RequestOpts) {
1354
1068
  return oazapfts.ok(oazapfts.fetchJson<{
1355
1069
  status: 200;
1356
- data: RepositoryResponse2;
1070
+ data: RepositoryResponse;
1357
1071
  } | {
1358
1072
  status: 400;
1359
- data: HttpErrorResponse;
1073
+ data: HttpErrorResponseRead;
1360
1074
  } | {
1361
1075
  status: 401;
1362
- data: HttpErrorResponse;
1076
+ data: HttpErrorResponseRead;
1363
1077
  } | {
1364
1078
  status: 404;
1365
- data: HttpErrorResponse;
1079
+ data: HttpErrorResponseRead;
1366
1080
  } | {
1367
1081
  status: 422;
1368
1082
  } | {
1369
1083
  status: 500;
1370
- data: HttpErrorResponse;
1084
+ data: HttpErrorResponseRead;
1371
1085
  } | {
1372
1086
  status: 503;
1373
- data: HttpErrorResponse;
1087
+ data: HttpErrorResponseRead;
1374
1088
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
1375
1089
  ...opts,
1376
1090
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1390,21 +1104,21 @@ export function deleteRepositoryServiceV1ReposRepositoryIdDelete({ repositoryId,
1390
1104
  data: any;
1391
1105
  } | {
1392
1106
  status: 400;
1393
- data: HttpErrorResponse;
1107
+ data: HttpErrorResponseRead;
1394
1108
  } | {
1395
1109
  status: 401;
1396
- data: HttpErrorResponse;
1110
+ data: HttpErrorResponseRead;
1397
1111
  } | {
1398
1112
  status: 404;
1399
- data: HttpErrorResponse;
1113
+ data: HttpErrorResponseRead;
1400
1114
  } | {
1401
1115
  status: 422;
1402
1116
  } | {
1403
1117
  status: 500;
1404
- data: HttpErrorResponse;
1118
+ data: HttpErrorResponseRead;
1405
1119
  } | {
1406
1120
  status: 503;
1407
- data: HttpErrorResponse;
1121
+ data: HttpErrorResponseRead;
1408
1122
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
1409
1123
  ...opts,
1410
1124
  method: "DELETE",
@@ -1426,21 +1140,21 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
1426
1140
  data: any;
1427
1141
  } | {
1428
1142
  status: 400;
1429
- data: HttpErrorResponse;
1143
+ data: HttpErrorResponseRead;
1430
1144
  } | {
1431
1145
  status: 401;
1432
- data: HttpErrorResponse;
1146
+ data: HttpErrorResponseRead;
1433
1147
  } | {
1434
1148
  status: 404;
1435
- data: HttpErrorResponse;
1149
+ data: HttpErrorResponseRead;
1436
1150
  } | {
1437
1151
  status: 422;
1438
1152
  } | {
1439
1153
  status: 500;
1440
- data: HttpErrorResponse;
1154
+ data: HttpErrorResponseRead;
1441
1155
  } | {
1442
1156
  status: 503;
1443
- data: HttpErrorResponse;
1157
+ data: HttpErrorResponseRead;
1444
1158
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}`, oazapfts.json({
1445
1159
  ...opts,
1446
1160
  method: "PUT",
@@ -1450,6 +1164,42 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
1450
1164
  })
1451
1165
  })));
1452
1166
  }
1167
+ /**
1168
+ * Validate Scm Url Service
1169
+ */
1170
+ export function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
1171
+ authorization: string;
1172
+ validateScmUrlRequest: ValidateScmUrlRequest;
1173
+ }, opts?: Oazapfts.RequestOpts) {
1174
+ return oazapfts.ok(oazapfts.fetchJson<{
1175
+ status: 200;
1176
+ data: any;
1177
+ } | {
1178
+ status: 400;
1179
+ data: HttpErrorResponseRead;
1180
+ } | {
1181
+ status: 401;
1182
+ data: HttpErrorResponseRead;
1183
+ } | {
1184
+ status: 404;
1185
+ data: HttpErrorResponseRead;
1186
+ } | {
1187
+ status: 422;
1188
+ } | {
1189
+ status: 500;
1190
+ data: HttpErrorResponseRead;
1191
+ } | {
1192
+ status: 503;
1193
+ data: HttpErrorResponseRead;
1194
+ }>("/v1/repos/validate-scm-url", oazapfts.json({
1195
+ ...opts,
1196
+ method: "POST",
1197
+ body: validateScmUrlRequest,
1198
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1199
+ authorization
1200
+ })
1201
+ })));
1202
+ }
1453
1203
  /**
1454
1204
  * Get Account Settings
1455
1205
  */
@@ -1743,6 +1493,29 @@ export function deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete({ p
1743
1493
  })
1744
1494
  }));
1745
1495
  }
1496
+ /**
1497
+ * Update Program Group Components Service
1498
+ */
1499
+ export function updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut({ programGroupId, authorization, body }: {
1500
+ programGroupId: string;
1501
+ authorization: string;
1502
+ body: PutProgramGroupComponentsRequest[];
1503
+ }, opts?: Oazapfts.RequestOpts) {
1504
+ return oazapfts.ok(oazapfts.fetchJson<{
1505
+ status: 200;
1506
+ data: any;
1507
+ } | {
1508
+ status: 422;
1509
+ data: HttpValidationError;
1510
+ }>(`/v1/program-groups/${encodeURIComponent(programGroupId)}/components`, oazapfts.json({
1511
+ ...opts,
1512
+ method: "PUT",
1513
+ body,
1514
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1515
+ authorization
1516
+ })
1517
+ })));
1518
+ }
1746
1519
  /**
1747
1520
  * List Program Group Report Service
1748
1521
  */