@stack-spot/portal-network 0.156.0 → 0.156.1-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 (40) hide show
  1. package/CHANGELOG.md +60 -1
  2. package/dist/api/codeShift.d.ts +101 -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/package.json +1 -1
  29. package/readme.md +1 -1
  30. package/src/api/account.ts +1 -0
  31. package/src/api/agent-tools.ts +3 -0
  32. package/src/api/agent.ts +2 -0
  33. package/src/api/codeShift.ts +248 -481
  34. package/src/api/notification.ts +2 -0
  35. package/src/client/agent-tools.ts +102 -3
  36. package/src/client/agent.ts +0 -68
  37. package/src/client/ai.ts +6 -0
  38. package/src/client/code-shift.ts +19 -57
  39. package/src/client/gen-ai-inference.ts +6 -1
  40. package/src/client/types.ts +7 -5
@@ -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;
@@ -318,6 +247,9 @@ export type GetReportResponse = {
318
247
  targetFiles: TargetFilesResponse[];
319
248
  errorLog?: string | null;
320
249
  };
250
+ export type GetPullRequest = {
251
+ content: string;
252
+ };
321
253
  export type SearchRepoScmResponse = {
322
254
  id: string;
323
255
  };
@@ -326,13 +258,13 @@ export type GetStatusSearchRepoScmResponse = {
326
258
  status: SearchRepositoryStatus;
327
259
  errorLog?: string | null;
328
260
  };
329
- export type ModuleResponse4 = {
261
+ export type ModuleResponse3 = {
330
262
  id: string;
331
263
  name: string;
332
264
  };
333
- export type ReportResponse3 = {
265
+ export type ReportResponse = {
334
266
  id: string;
335
- "module": ModuleResponse4;
267
+ "module": ModuleResponse3;
336
268
  execution: ExecutionResponse | null;
337
269
  mode: string;
338
270
  sourceBranch: string;
@@ -347,7 +279,7 @@ export type ReportResponse3 = {
347
279
  };
348
280
  export type ListRepositoryReportResponse = {
349
281
  /** List of reports */
350
- items: ReportResponse3[];
282
+ items: ReportResponse[];
351
283
  /** Number of reports */
352
284
  itemsCount: number;
353
285
  /** Last evaluated key */
@@ -361,14 +293,14 @@ export type CreateRepositoryRequest = {
361
293
  defaultBranch: string;
362
294
  tags?: string[] | null;
363
295
  };
364
- export type ReportResponse4 = {
296
+ export type ReportResponse2 = {
365
297
  id: string;
366
298
  execution: ExecutionResponse | null;
367
299
  mode: string;
368
300
  moduleId: string;
369
301
  sourceBranch: string;
370
302
  targetBranch?: string | null;
371
- createdBy: UserResponse;
303
+ createdBy: UserResponse | null;
372
304
  createdAt: string;
373
305
  updatedAt: string;
374
306
  filesCount: number | null;
@@ -376,21 +308,21 @@ export type ReportResponse4 = {
376
308
  pullRequestLink?: string | null;
377
309
  errorLog?: string | null;
378
310
  };
379
- export type RepositoryResponse2 = {
311
+ export type RepositoryResponse = {
380
312
  /** Repository ID */
381
313
  id: string;
382
314
  /** Repository creation date */
383
315
  createdAt?: string | null;
384
316
  /** Repository creation user */
385
317
  createdBy?: string | null;
386
- lastModuleReport: ReportResponse4 | null;
318
+ lastModuleReport: ReportResponse2 | null;
387
319
  tags: string[];
388
320
  url: string;
389
321
  defaultBranch: string;
390
322
  };
391
323
  export type ListRepositoryResponse = {
392
324
  /** List of applications */
393
- items: RepositoryResponse2[];
325
+ items: RepositoryResponse[];
394
326
  /** Number of applications */
395
327
  itemsCount: number;
396
328
  /** Last evaluated key */
@@ -401,6 +333,9 @@ export type PutRepositoryRequest = {
401
333
  defaultBranch?: string | null;
402
334
  tags?: string[] | null;
403
335
  };
336
+ export type ValidateScmUrlRequest = {
337
+ url?: string | null;
338
+ };
404
339
  export type GetAccountSettingsRequest = {
405
340
  maxSimultaneousExecution: number | null;
406
341
  };
@@ -445,7 +380,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
445
380
  export type CreateProgramGroupResponse = {
446
381
  id: string;
447
382
  };
448
- export type ReportResponse5 = {
383
+ export type ReportResponse3 = {
449
384
  id: string;
450
385
  execution: ExecutionResponse | null;
451
386
  mode: string;
@@ -465,10 +400,10 @@ export type ProgramGroupResponse2 = {
465
400
  tags: string[];
466
401
  components: any[];
467
402
  accountId: string;
468
- createdBy: string;
403
+ createdBy: string | null;
469
404
  createdAt: string;
470
405
  updatedAt: string;
471
- lastModuleReport: ReportResponse5 | null;
406
+ lastModuleReport: ReportResponse3 | null;
472
407
  };
473
408
  export type ListProgramGroupResponse = {
474
409
  items: ProgramGroupResponse2[];
@@ -488,13 +423,18 @@ export type ProgramGroupResponse3 = {
488
423
  export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
489
424
  file?: Blob | null;
490
425
  };
491
- export type ModuleResponse5 = {
426
+ export type PutProgramGroupComponentsRequest = {
427
+ appl_name: string;
428
+ component_type: string;
429
+ component: string;
430
+ };
431
+ export type ModuleResponse4 = {
492
432
  id: string;
493
433
  name: string;
494
434
  };
495
- export type ReportResponse6 = {
435
+ export type ReportResponse4 = {
496
436
  id: string;
497
- "module": ModuleResponse5;
437
+ "module": ModuleResponse4;
498
438
  execution: ExecutionResponse | null;
499
439
  mode: string;
500
440
  createdBy: UserResponse;
@@ -507,7 +447,7 @@ export type ReportResponse6 = {
507
447
  };
508
448
  export type ListProgramGroupReportResponse = {
509
449
  /** List of reports */
510
- items: ReportResponse6[];
450
+ items: ReportResponse4[];
511
451
  /** Number of reports */
512
452
  itemsCount: number;
513
453
  };
@@ -538,272 +478,6 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
538
478
  })
539
479
  }));
540
480
  }
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
481
  /**
808
482
  * Create Module Service
809
483
  */
@@ -818,21 +492,21 @@ export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
818
492
  data: any;
819
493
  } | {
820
494
  status: 400;
821
- data: HttpErrorResponse;
495
+ data: HttpErrorResponseRead;
822
496
  } | {
823
497
  status: 401;
824
- data: HttpErrorResponse;
498
+ data: HttpErrorResponseRead;
825
499
  } | {
826
500
  status: 404;
827
- data: HttpErrorResponse;
501
+ data: HttpErrorResponseRead;
828
502
  } | {
829
503
  status: 422;
830
504
  } | {
831
505
  status: 500;
832
- data: HttpErrorResponse;
506
+ data: HttpErrorResponseRead;
833
507
  } | {
834
508
  status: 503;
835
- data: HttpErrorResponse;
509
+ data: HttpErrorResponseRead;
836
510
  }>("/v1/modules", oazapfts.json({
837
511
  ...opts,
838
512
  method: "POST",
@@ -859,21 +533,21 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
859
533
  data: ListModuleResponse;
860
534
  } | {
861
535
  status: 400;
862
- data: HttpErrorResponse;
536
+ data: HttpErrorResponseRead;
863
537
  } | {
864
538
  status: 401;
865
- data: HttpErrorResponse;
539
+ data: HttpErrorResponseRead;
866
540
  } | {
867
541
  status: 404;
868
- data: HttpErrorResponse;
542
+ data: HttpErrorResponseRead;
869
543
  } | {
870
544
  status: 422;
871
545
  } | {
872
546
  status: 500;
873
- data: HttpErrorResponse;
547
+ data: HttpErrorResponseRead;
874
548
  } | {
875
549
  status: 503;
876
- data: HttpErrorResponse;
550
+ data: HttpErrorResponseRead;
877
551
  }>(`/v1/modules${QS.query(QS.explode({
878
552
  pageSize,
879
553
  moduleType,
@@ -899,21 +573,21 @@ export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authoriza
899
573
  data: any;
900
574
  } | {
901
575
  status: 400;
902
- data: HttpErrorResponse;
576
+ data: HttpErrorResponseRead;
903
577
  } | {
904
578
  status: 401;
905
- data: HttpErrorResponse;
579
+ data: HttpErrorResponseRead;
906
580
  } | {
907
581
  status: 404;
908
- data: HttpErrorResponse;
582
+ data: HttpErrorResponseRead;
909
583
  } | {
910
584
  status: 422;
911
585
  } | {
912
586
  status: 500;
913
- data: HttpErrorResponse;
587
+ data: HttpErrorResponseRead;
914
588
  } | {
915
589
  status: 503;
916
- data: HttpErrorResponse;
590
+ data: HttpErrorResponseRead;
917
591
  }>(`/v1/modules/${encodeURIComponent(moduleId)}`, {
918
592
  ...opts,
919
593
  method: "DELETE",
@@ -937,21 +611,21 @@ export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorizatio
937
611
  data: any;
938
612
  } | {
939
613
  status: 400;
940
- data: HttpErrorResponse;
614
+ data: HttpErrorResponseRead;
941
615
  } | {
942
616
  status: 401;
943
- data: HttpErrorResponse;
617
+ data: HttpErrorResponseRead;
944
618
  } | {
945
619
  status: 404;
946
- data: HttpErrorResponse;
620
+ data: HttpErrorResponseRead;
947
621
  } | {
948
622
  status: 422;
949
623
  } | {
950
624
  status: 500;
951
- data: HttpErrorResponse;
625
+ data: HttpErrorResponseRead;
952
626
  } | {
953
627
  status: 503;
954
- data: HttpErrorResponse;
628
+ data: HttpErrorResponseRead;
955
629
  }>(`/v1/modules/${encodeURIComponent(moduleId)}`, oazapfts.json({
956
630
  ...opts,
957
631
  method: "PUT",
@@ -974,21 +648,21 @@ export function dispatchModuleServiceV1ModulesDispatchesPost({ authorization, bo
974
648
  data: any;
975
649
  } | {
976
650
  status: 400;
977
- data: HttpErrorResponse;
651
+ data: HttpErrorResponseRead;
978
652
  } | {
979
653
  status: 401;
980
- data: HttpErrorResponse;
654
+ data: HttpErrorResponseRead;
981
655
  } | {
982
656
  status: 404;
983
- data: HttpErrorResponse;
657
+ data: HttpErrorResponseRead;
984
658
  } | {
985
659
  status: 422;
986
660
  } | {
987
661
  status: 500;
988
- data: HttpErrorResponse;
662
+ data: HttpErrorResponseRead;
989
663
  } | {
990
664
  status: 503;
991
- data: HttpErrorResponse;
665
+ data: HttpErrorResponseRead;
992
666
  }>("/v1/modules/dispatches", oazapfts.json({
993
667
  ...opts,
994
668
  method: "POST",
@@ -1011,21 +685,21 @@ export function putReportV1ReportsReportIdPut({ reportId, authorization, putRepo
1011
685
  data: any;
1012
686
  } | {
1013
687
  status: 400;
1014
- data: HttpErrorResponse;
688
+ data: HttpErrorResponseRead;
1015
689
  } | {
1016
690
  status: 401;
1017
- data: HttpErrorResponse;
691
+ data: HttpErrorResponseRead;
1018
692
  } | {
1019
693
  status: 404;
1020
- data: HttpErrorResponse;
694
+ data: HttpErrorResponseRead;
1021
695
  } | {
1022
696
  status: 422;
1023
697
  } | {
1024
698
  status: 500;
1025
- data: HttpErrorResponse;
699
+ data: HttpErrorResponseRead;
1026
700
  } | {
1027
701
  status: 503;
1028
- data: HttpErrorResponse;
702
+ data: HttpErrorResponseRead;
1029
703
  }>(`/v1/reports/${encodeURIComponent(reportId)}`, oazapfts.json({
1030
704
  ...opts,
1031
705
  method: "PUT",
@@ -1047,21 +721,21 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
1047
721
  data: GetReportResponse;
1048
722
  } | {
1049
723
  status: 400;
1050
- data: HttpErrorResponse;
724
+ data: HttpErrorResponseRead;
1051
725
  } | {
1052
726
  status: 401;
1053
- data: HttpErrorResponse;
727
+ data: HttpErrorResponseRead;
1054
728
  } | {
1055
729
  status: 404;
1056
- data: HttpErrorResponse;
730
+ data: HttpErrorResponseRead;
1057
731
  } | {
1058
732
  status: 422;
1059
733
  } | {
1060
734
  status: 500;
1061
- data: HttpErrorResponse;
735
+ data: HttpErrorResponseRead;
1062
736
  } | {
1063
737
  status: 503;
1064
- data: HttpErrorResponse;
738
+ data: HttpErrorResponseRead;
1065
739
  }>(`/v1/reports/${encodeURIComponent(reportId)}`, {
1066
740
  ...opts,
1067
741
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1069,6 +743,40 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
1069
743
  })
1070
744
  }));
1071
745
  }
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
+ }
1072
780
  /**
1073
781
  * Download Report
1074
782
  */
@@ -1082,21 +790,21 @@ export function downloadReportV1ReportsReportIdDownloadGet({ reportId, extension
1082
790
  data: any;
1083
791
  } | {
1084
792
  status: 400;
1085
- data: HttpErrorResponse;
793
+ data: HttpErrorResponseRead;
1086
794
  } | {
1087
795
  status: 401;
1088
- data: HttpErrorResponse;
796
+ data: HttpErrorResponseRead;
1089
797
  } | {
1090
798
  status: 404;
1091
- data: HttpErrorResponse;
799
+ data: HttpErrorResponseRead;
1092
800
  } | {
1093
801
  status: 422;
1094
802
  } | {
1095
803
  status: 500;
1096
- data: HttpErrorResponse;
804
+ data: HttpErrorResponseRead;
1097
805
  } | {
1098
806
  status: 503;
1099
- data: HttpErrorResponse;
807
+ data: HttpErrorResponseRead;
1100
808
  }>(`/v1/reports/${encodeURIComponent(reportId)}/download${QS.query(QS.explode({
1101
809
  extension
1102
810
  }))}`, {
@@ -1186,21 +894,21 @@ export function listRepositoryReportV1ReposRepositoryIdReportsGet({ repositoryId
1186
894
  data: ListRepositoryReportResponse;
1187
895
  } | {
1188
896
  status: 400;
1189
- data: HttpErrorResponse;
897
+ data: HttpErrorResponseRead;
1190
898
  } | {
1191
899
  status: 401;
1192
- data: HttpErrorResponse;
900
+ data: HttpErrorResponseRead;
1193
901
  } | {
1194
902
  status: 404;
1195
- data: HttpErrorResponse;
903
+ data: HttpErrorResponseRead;
1196
904
  } | {
1197
905
  status: 422;
1198
906
  } | {
1199
907
  status: 500;
1200
- data: HttpErrorResponse;
908
+ data: HttpErrorResponseRead;
1201
909
  } | {
1202
910
  status: 503;
1203
- data: HttpErrorResponse;
911
+ data: HttpErrorResponseRead;
1204
912
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}/reports${QS.query(QS.explode({
1205
913
  pageSize,
1206
914
  page,
@@ -1225,24 +933,24 @@ export function createReposBatchServiceV1ReposBatchPost({ tags, authorization, b
1225
933
  data: any;
1226
934
  } | {
1227
935
  status: 207;
1228
- data: HttpErrorResponse;
936
+ data: HttpErrorResponseRead;
1229
937
  } | {
1230
938
  status: 400;
1231
- data: HttpErrorResponse;
939
+ data: HttpErrorResponseRead;
1232
940
  } | {
1233
941
  status: 401;
1234
- data: HttpErrorResponse;
942
+ data: HttpErrorResponseRead;
1235
943
  } | {
1236
944
  status: 404;
1237
- data: HttpErrorResponse;
945
+ data: HttpErrorResponseRead;
1238
946
  } | {
1239
947
  status: 422;
1240
948
  } | {
1241
949
  status: 500;
1242
- data: HttpErrorResponse;
950
+ data: HttpErrorResponseRead;
1243
951
  } | {
1244
952
  status: 503;
1245
- data: HttpErrorResponse;
953
+ data: HttpErrorResponseRead;
1246
954
  }>(`/v1/repos/batch${QS.query(QS.explode({
1247
955
  tags
1248
956
  }))}`, oazapfts.multipart({
@@ -1266,21 +974,21 @@ export function createRepositoryServiceV1ReposPost({ authorization, createReposi
1266
974
  data: any;
1267
975
  } | {
1268
976
  status: 400;
1269
- data: HttpErrorResponse;
977
+ data: HttpErrorResponseRead;
1270
978
  } | {
1271
979
  status: 401;
1272
- data: HttpErrorResponse;
980
+ data: HttpErrorResponseRead;
1273
981
  } | {
1274
982
  status: 404;
1275
- data: HttpErrorResponse;
983
+ data: HttpErrorResponseRead;
1276
984
  } | {
1277
985
  status: 422;
1278
986
  } | {
1279
987
  status: 500;
1280
- data: HttpErrorResponse;
988
+ data: HttpErrorResponseRead;
1281
989
  } | {
1282
990
  status: 503;
1283
- data: HttpErrorResponse;
991
+ data: HttpErrorResponseRead;
1284
992
  }>("/v1/repos", oazapfts.json({
1285
993
  ...opts,
1286
994
  method: "POST",
@@ -1311,21 +1019,21 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
1311
1019
  data: ListRepositoryResponse;
1312
1020
  } | {
1313
1021
  status: 400;
1314
- data: HttpErrorResponse;
1022
+ data: HttpErrorResponseRead;
1315
1023
  } | {
1316
1024
  status: 401;
1317
- data: HttpErrorResponse;
1025
+ data: HttpErrorResponseRead;
1318
1026
  } | {
1319
1027
  status: 404;
1320
- data: HttpErrorResponse;
1028
+ data: HttpErrorResponseRead;
1321
1029
  } | {
1322
1030
  status: 422;
1323
1031
  } | {
1324
1032
  status: 500;
1325
- data: HttpErrorResponse;
1033
+ data: HttpErrorResponseRead;
1326
1034
  } | {
1327
1035
  status: 503;
1328
- data: HttpErrorResponse;
1036
+ data: HttpErrorResponseRead;
1329
1037
  }>(`/v1/repos${QS.query(QS.explode({
1330
1038
  pageSize,
1331
1039
  page,
@@ -1353,24 +1061,24 @@ export function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, a
1353
1061
  }, opts?: Oazapfts.RequestOpts) {
1354
1062
  return oazapfts.ok(oazapfts.fetchJson<{
1355
1063
  status: 200;
1356
- data: RepositoryResponse2;
1064
+ data: RepositoryResponse;
1357
1065
  } | {
1358
1066
  status: 400;
1359
- data: HttpErrorResponse;
1067
+ data: HttpErrorResponseRead;
1360
1068
  } | {
1361
1069
  status: 401;
1362
- data: HttpErrorResponse;
1070
+ data: HttpErrorResponseRead;
1363
1071
  } | {
1364
1072
  status: 404;
1365
- data: HttpErrorResponse;
1073
+ data: HttpErrorResponseRead;
1366
1074
  } | {
1367
1075
  status: 422;
1368
1076
  } | {
1369
1077
  status: 500;
1370
- data: HttpErrorResponse;
1078
+ data: HttpErrorResponseRead;
1371
1079
  } | {
1372
1080
  status: 503;
1373
- data: HttpErrorResponse;
1081
+ data: HttpErrorResponseRead;
1374
1082
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
1375
1083
  ...opts,
1376
1084
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1390,21 +1098,21 @@ export function deleteRepositoryServiceV1ReposRepositoryIdDelete({ repositoryId,
1390
1098
  data: any;
1391
1099
  } | {
1392
1100
  status: 400;
1393
- data: HttpErrorResponse;
1101
+ data: HttpErrorResponseRead;
1394
1102
  } | {
1395
1103
  status: 401;
1396
- data: HttpErrorResponse;
1104
+ data: HttpErrorResponseRead;
1397
1105
  } | {
1398
1106
  status: 404;
1399
- data: HttpErrorResponse;
1107
+ data: HttpErrorResponseRead;
1400
1108
  } | {
1401
1109
  status: 422;
1402
1110
  } | {
1403
1111
  status: 500;
1404
- data: HttpErrorResponse;
1112
+ data: HttpErrorResponseRead;
1405
1113
  } | {
1406
1114
  status: 503;
1407
- data: HttpErrorResponse;
1115
+ data: HttpErrorResponseRead;
1408
1116
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}`, {
1409
1117
  ...opts,
1410
1118
  method: "DELETE",
@@ -1426,21 +1134,21 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
1426
1134
  data: any;
1427
1135
  } | {
1428
1136
  status: 400;
1429
- data: HttpErrorResponse;
1137
+ data: HttpErrorResponseRead;
1430
1138
  } | {
1431
1139
  status: 401;
1432
- data: HttpErrorResponse;
1140
+ data: HttpErrorResponseRead;
1433
1141
  } | {
1434
1142
  status: 404;
1435
- data: HttpErrorResponse;
1143
+ data: HttpErrorResponseRead;
1436
1144
  } | {
1437
1145
  status: 422;
1438
1146
  } | {
1439
1147
  status: 500;
1440
- data: HttpErrorResponse;
1148
+ data: HttpErrorResponseRead;
1441
1149
  } | {
1442
1150
  status: 503;
1443
- data: HttpErrorResponse;
1151
+ data: HttpErrorResponseRead;
1444
1152
  }>(`/v1/repos/${encodeURIComponent(repositoryId)}`, oazapfts.json({
1445
1153
  ...opts,
1446
1154
  method: "PUT",
@@ -1450,6 +1158,42 @@ export function updateRepositoryServiceV1ReposRepositoryIdPut({ repositoryId, au
1450
1158
  })
1451
1159
  })));
1452
1160
  }
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
+ }
1453
1197
  /**
1454
1198
  * Get Account Settings
1455
1199
  */
@@ -1743,6 +1487,29 @@ export function deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDelete({ p
1743
1487
  })
1744
1488
  }));
1745
1489
  }
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
+ }
1746
1513
  /**
1747
1514
  * List Program Group Report Service
1748
1515
  */