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