@stack-spot/portal-network 0.174.0 → 0.175.0-beta.1

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 (57) hide show
  1. package/CHANGELOG.md +230 -0
  2. package/dist/api/ai.d.ts +2 -0
  3. package/dist/api/ai.d.ts.map +1 -1
  4. package/dist/api/ai.js.map +1 -1
  5. package/dist/api/codeShift.d.ts +575 -23
  6. package/dist/api/codeShift.d.ts.map +1 -1
  7. package/dist/api/codeShift.js +288 -0
  8. package/dist/api/codeShift.js.map +1 -1
  9. package/dist/api-addresses.d.ts +11 -3
  10. package/dist/api-addresses.d.ts.map +1 -1
  11. package/dist/api-addresses.js +22 -2
  12. package/dist/api-addresses.js.map +1 -1
  13. package/dist/apis-itau.json +225 -0
  14. package/dist/client/code-shift.d.ts +218 -28
  15. package/dist/client/code-shift.d.ts.map +1 -1
  16. package/dist/client/code-shift.js +124 -7
  17. package/dist/client/code-shift.js.map +1 -1
  18. package/dist/client/data-integration.d.ts +9 -0
  19. package/dist/client/data-integration.d.ts.map +1 -1
  20. package/dist/client/data-integration.js +10 -1
  21. package/dist/client/data-integration.js.map +1 -1
  22. package/dist/client/workspace-manager.d.ts +9 -0
  23. package/dist/client/workspace-manager.d.ts.map +1 -1
  24. package/dist/client/workspace-manager.js +11 -2
  25. package/dist/client/workspace-manager.js.map +1 -1
  26. package/dist/error/dictionary/cloud-platform.d.ts +70 -8
  27. package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
  28. package/dist/error/dictionary/cloud-platform.js +74 -12
  29. package/dist/error/dictionary/cloud-platform.js.map +1 -1
  30. package/dist/index.d.ts +3 -3
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +2 -2
  33. package/dist/index.js.map +1 -1
  34. package/dist/network/NetworkClient.d.ts +4 -2
  35. package/dist/network/NetworkClient.d.ts.map +1 -1
  36. package/dist/network/NetworkClient.js +5 -3
  37. package/dist/network/NetworkClient.js.map +1 -1
  38. package/dist/network/types.d.ts +1 -0
  39. package/dist/network/types.d.ts.map +1 -1
  40. package/package.json +2 -2
  41. package/readme.md +1 -1
  42. package/src/api/account.ts +1 -0
  43. package/src/api/agent-tools.ts +3 -0
  44. package/src/api/agent.ts +2 -0
  45. package/src/api/ai.ts +2 -0
  46. package/src/api/codeShift.ts +1103 -32
  47. package/src/api/notification.ts +2 -0
  48. package/src/api-addresses.ts +26 -3
  49. package/src/apis-itau.json +225 -0
  50. package/src/client/ai.ts +1 -0
  51. package/src/client/code-shift.ts +87 -7
  52. package/src/client/data-integration.ts +6 -0
  53. package/src/client/workspace-manager.ts +8 -1
  54. package/src/error/dictionary/cloud-platform.ts +74 -12
  55. package/src/index.ts +4 -3
  56. package/src/network/NetworkClient.ts +7 -4
  57. package/src/network/types.ts +2 -0
@@ -43,9 +43,9 @@ export type CreateModuleRequest = {
43
43
  /** Module description */
44
44
  description: string;
45
45
  /** Module workflow_name */
46
- workflowName: string;
46
+ workflowName?: string | null;
47
47
  /** Module version */
48
- version: string;
48
+ version?: string | null;
49
49
  /** Module mode */
50
50
  modes: string[];
51
51
  /** Module tags */
@@ -53,14 +53,14 @@ export type CreateModuleRequest = {
53
53
  /** Inputs of module */
54
54
  inputs: InputRequest[];
55
55
  /** Module studio */
56
- studio: string;
56
+ studio?: string | null;
57
57
  /** Module studio */
58
58
  constants?: {
59
59
  [key: string]: any;
60
60
  } | null;
61
61
  gitAction?: GitAction | null;
62
62
  };
63
- 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_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "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_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
63
+ 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_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0015_INVALID_WORKFLOW_URL_EXCEPTION" | "CODE_SHIFT_API_0016_INVALID_ACTION_YAML_EXCEPTION" | "CODE_SHIFT_API_0017_FAIL_READING_ACTION_INPUTS_EXCEPTION" | "CODE_SHIFT_API_0018_MODULE_DISPATCHER_GENERIC_EXCEPTION" | "CODE_SHIFT_API_0019_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED_EXCEPTION" | "CODE_SHIFT_API_0020_GITHUB_SAML_EXCEPTION" | "CODE_SHIFT_API_0021_GITHUB_AUTHORIZATION_ENCODING_EXCEPTION" | "CODE_SHIFT_API_0022_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0023_GENERIC_FAILURE_SEARCHING_REPOSITORY_EXCEPTION" | "CODE_SHIFT_API_0024_COMPONENTS_MAX_SIZE_ALLOWED_EXCEPTION" | "CODE_SHIFT_API_0025_INVALID_SEARCH_REPOSITORY_STATUS_SAVE_EXCEPTION" | "CODE_SHIFT_API_0026_SEARCH_REPO_EMPTY_RESULT_EXCEPTION" | "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_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3160_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
64
64
  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";
65
65
  export type InvalidPayloadDetails = {
66
66
  code: BadRequestExceptionTypes | ExceptionType;
@@ -105,9 +105,9 @@ export type ModuleResponse = {
105
105
  /** Module description */
106
106
  description: string;
107
107
  /** Workflow name */
108
- workflowName: string;
108
+ workflowName: string | null;
109
109
  /** Studio */
110
- studio: string;
110
+ studio: string | null;
111
111
  /** Module modes */
112
112
  modes: string[];
113
113
  /** Module versions */
@@ -153,6 +153,69 @@ export type PutModuleRequest = {
153
153
  } | null;
154
154
  gitAction?: GitAction | null;
155
155
  };
156
+ export type GetModuleResponse = {
157
+ /** Module ID */
158
+ id: string;
159
+ /** Module type */
160
+ "type": ModuleType;
161
+ /** Module name */
162
+ name: string;
163
+ /** Module description */
164
+ description: string;
165
+ /** Workflow name */
166
+ workflowName: string | null;
167
+ /** Studio */
168
+ studio: string | null;
169
+ /** Module modes */
170
+ modes: string[];
171
+ /** Module versions */
172
+ version: string | null;
173
+ /** Module studio */
174
+ constants?: {
175
+ [key: string]: any;
176
+ } | null;
177
+ gitAction?: GitAction | null;
178
+ };
179
+ export type ExternalItemsModel = {
180
+ source: string;
181
+ value: string;
182
+ label: string;
183
+ };
184
+ export type ConditionModel = {
185
+ variable: string;
186
+ operator: string;
187
+ value: any;
188
+ };
189
+ export type OutputModel = {
190
+ "from": string;
191
+ to: string;
192
+ };
193
+ export type InputModel = {
194
+ label: string;
195
+ name: string;
196
+ "type": string;
197
+ required: boolean;
198
+ pattern: string | null;
199
+ help: string | null;
200
+ "default": any | null;
201
+ items: string[] | null;
202
+ externalItems: ExternalItemsModel | null;
203
+ itemsValues: string[] | null;
204
+ condition: ConditionModel | null;
205
+ connectionInterfaceType: string | null;
206
+ outputs: OutputModel[] | null;
207
+ input: InputModel | null;
208
+ inputs: InputModel[] | null;
209
+ scope: string | null;
210
+ };
211
+ export type ComputedInputModel = {
212
+ name: string;
213
+ expression: string;
214
+ };
215
+ export type GetModuleInputsResponse = {
216
+ inputs: InputModel[];
217
+ computedInputs: ComputedInputModel[] | null;
218
+ };
156
219
  export type Mode = "scan" | "fix";
157
220
  export type ModuleDispatchRequest = {
158
221
  /** Module mode */
@@ -183,7 +246,7 @@ export type IssuesRequest = {
183
246
  };
184
247
  export type TargetFilesRequest = {
185
248
  fileName: string;
186
- filePath: string;
249
+ filePath?: string | null;
187
250
  details?: string | null;
188
251
  dependsOn?: DependsOnRequest[] | null;
189
252
  issues?: IssuesRequest[] | null;
@@ -196,7 +259,7 @@ export type PutReportRequest = {
196
259
  changedFilesCount?: number | null;
197
260
  pullRequestLink?: string | null;
198
261
  commitHash?: string | null;
199
- targetFiles: TargetFilesRequest[];
262
+ targetFiles?: TargetFilesRequest[];
200
263
  moduleVersion?: string | null;
201
264
  customOutputs?: {
202
265
  [key: string]: any;
@@ -284,6 +347,40 @@ export type GetReportResponse = {
284
347
  } | null;
285
348
  targetFiles: TargetFilesResponse[];
286
349
  errorLog?: string | null;
350
+ exceptions: HttpErrorResponse[];
351
+ status: ReportStatus | null;
352
+ scmPullRequestData: PullRequestResponse | null;
353
+ inputs?: {
354
+ [key: string]: any;
355
+ } | null;
356
+ };
357
+ export type GetReportResponseRead = {
358
+ id: string;
359
+ "module": ModuleResponse2 | null;
360
+ application: ApplicationResponse | null;
361
+ execution: ExecutionResponse | null;
362
+ mode: string;
363
+ sourceBranch: string | null;
364
+ targetBranch?: string | null;
365
+ createdBy: UserResponse;
366
+ createdAt: string;
367
+ updatedAt: string;
368
+ filesCount: number | null;
369
+ totalFilesCount: number | null;
370
+ changedFilesCount: number | null;
371
+ analyzedFilesCount: number | null;
372
+ issuesFilesCount: number | null;
373
+ issuesCount: number | null;
374
+ commitHash: string | null;
375
+ pullRequestLink?: string | null;
376
+ programGroup: ProgramGroupResponse | null;
377
+ moduleVersion?: string | null;
378
+ customOutputs?: {
379
+ [key: string]: any;
380
+ } | null;
381
+ targetFiles: TargetFilesResponse[];
382
+ errorLog?: string | null;
383
+ exceptions: HttpErrorResponseRead[];
287
384
  status: ReportStatus | null;
288
385
  scmPullRequestData: PullRequestResponse | null;
289
386
  inputs?: {
@@ -325,6 +422,24 @@ export type ReportResponse = {
325
422
  issuesCount: number | null;
326
423
  pullRequestLink?: string | null;
327
424
  errorLog?: string | null;
425
+ exceptions: HttpErrorResponse[];
426
+ status: ReportStatus | null;
427
+ };
428
+ export type ReportResponseRead = {
429
+ id: string;
430
+ "module": ModuleResponse3;
431
+ execution: ExecutionResponse | null;
432
+ mode: string;
433
+ sourceBranch: string;
434
+ targetBranch?: string | null;
435
+ createdBy: UserResponse2;
436
+ createdAt: string;
437
+ updatedAt: string;
438
+ filesCount: number | null;
439
+ issuesCount: number | null;
440
+ pullRequestLink?: string | null;
441
+ errorLog?: string | null;
442
+ exceptions: HttpErrorResponseRead[];
328
443
  status: ReportStatus | null;
329
444
  };
330
445
  export type ListRepositoryReportResponse = {
@@ -335,6 +450,14 @@ export type ListRepositoryReportResponse = {
335
450
  /** Last evaluated key */
336
451
  lastEvaluatedKey: string | null;
337
452
  };
453
+ export type ListRepositoryReportResponseRead = {
454
+ /** List of reports */
455
+ items: ReportResponseRead[];
456
+ /** Number of reports */
457
+ itemsCount: number;
458
+ /** Last evaluated key */
459
+ lastEvaluatedKey: string | null;
460
+ };
338
461
  export type BodyCreateReposBatchServiceV1ReposBatchPost = {
339
462
  file: Blob;
340
463
  };
@@ -363,6 +486,24 @@ export type ReportResponse2 = {
363
486
  issuesCount: number | null;
364
487
  pullRequestLink?: string | null;
365
488
  errorLog?: string | null;
489
+ exceptions: HttpErrorResponse[];
490
+ status: ReportStatus | null;
491
+ };
492
+ export type ReportResponseRead2 = {
493
+ id: string;
494
+ execution: ExecutionResponse | null;
495
+ mode: string;
496
+ moduleId: string;
497
+ sourceBranch: string;
498
+ targetBranch?: string | null;
499
+ createdBy: UserResponse3 | null;
500
+ createdAt: string;
501
+ updatedAt: string;
502
+ filesCount: number | null;
503
+ issuesCount: number | null;
504
+ pullRequestLink?: string | null;
505
+ errorLog?: string | null;
506
+ exceptions: HttpErrorResponseRead[];
366
507
  status: ReportStatus | null;
367
508
  };
368
509
  export type RepositoryResponse = {
@@ -377,6 +518,18 @@ export type RepositoryResponse = {
377
518
  url: string;
378
519
  defaultBranch: string;
379
520
  };
521
+ export type RepositoryResponseRead = {
522
+ /** Repository ID */
523
+ id: string;
524
+ /** Repository creation date */
525
+ createdAt?: string | null;
526
+ /** Repository creation user */
527
+ createdBy?: string | null;
528
+ lastModuleReport: ReportResponseRead2 | null;
529
+ tags: string[];
530
+ url: string;
531
+ defaultBranch: string;
532
+ };
380
533
  export type ListRepositoryResponse = {
381
534
  /** List of applications */
382
535
  items: RepositoryResponse[];
@@ -385,6 +538,14 @@ export type ListRepositoryResponse = {
385
538
  /** Last evaluated key */
386
539
  lastEvaluatedKey?: string | null;
387
540
  };
541
+ export type ListRepositoryResponseRead = {
542
+ /** List of applications */
543
+ items: RepositoryResponseRead[];
544
+ /** Number of applications */
545
+ itemsCount: number;
546
+ /** Last evaluated key */
547
+ lastEvaluatedKey?: string | null;
548
+ };
388
549
  export type ListBranchesResponse = {
389
550
  /** List of all branches */
390
551
  branches: string[];
@@ -475,6 +636,22 @@ export type ReportResponse3 = {
475
636
  issuesCount: number | null;
476
637
  pullRequestLink?: string | null;
477
638
  errorLog?: string | null;
639
+ exceptions: HttpErrorResponse[];
640
+ status: ReportStatus | null;
641
+ };
642
+ export type ReportResponseRead3 = {
643
+ id: string;
644
+ execution: ExecutionResponse | null;
645
+ mode: string;
646
+ moduleId: string;
647
+ createdBy: UserResponse4 | null;
648
+ createdAt: string;
649
+ updatedAt: string;
650
+ filesCount: number | null;
651
+ issuesCount: number | null;
652
+ pullRequestLink?: string | null;
653
+ errorLog?: string | null;
654
+ exceptions: HttpErrorResponseRead[];
478
655
  status: ReportStatus | null;
479
656
  };
480
657
  export type ProgramGroupResponse2 = {
@@ -489,10 +666,26 @@ export type ProgramGroupResponse2 = {
489
666
  updatedAt: string;
490
667
  lastModuleReport: ReportResponse3 | null;
491
668
  };
669
+ export type ProgramGroupResponseRead = {
670
+ id: string;
671
+ name: string;
672
+ integrationId: string | null;
673
+ tags: string[];
674
+ components: any[];
675
+ accountId: string;
676
+ createdBy: string | null;
677
+ createdAt: string;
678
+ updatedAt: string;
679
+ lastModuleReport: ReportResponseRead3 | null;
680
+ };
492
681
  export type ListProgramGroupResponse = {
493
682
  items: ProgramGroupResponse2[];
494
683
  itemsCount: number;
495
684
  };
685
+ export type ListProgramGroupResponseRead = {
686
+ items: ProgramGroupResponseRead[];
687
+ itemsCount: number;
688
+ };
496
689
  export type ProgramGroupResponse3 = {
497
690
  id: string;
498
691
  name: string;
@@ -534,6 +727,22 @@ export type ReportResponse4 = {
534
727
  issuesCount: number | null;
535
728
  pullRequestLink?: string | null;
536
729
  errorLog?: string | null;
730
+ exceptions: HttpErrorResponse[];
731
+ status: ReportStatus | null;
732
+ };
733
+ export type ReportResponseRead4 = {
734
+ id: string;
735
+ "module": ModuleResponse4;
736
+ execution: ExecutionResponse | null;
737
+ mode: string;
738
+ createdBy: UserResponse5;
739
+ createdAt: string;
740
+ updatedAt: string;
741
+ filesCount: number | null;
742
+ issuesCount: number | null;
743
+ pullRequestLink?: string | null;
744
+ errorLog?: string | null;
745
+ exceptions: HttpErrorResponseRead[];
537
746
  status: ReportStatus | null;
538
747
  };
539
748
  export type ListProgramGroupReportResponse = {
@@ -542,6 +751,12 @@ export type ListProgramGroupReportResponse = {
542
751
  /** Number of reports */
543
752
  itemsCount: number;
544
753
  };
754
+ export type ListProgramGroupReportResponseRead = {
755
+ /** List of reports */
756
+ items: ReportResponseRead4[];
757
+ /** Number of reports */
758
+ itemsCount: number;
759
+ };
545
760
  export type TagResponse = {
546
761
  name: string;
547
762
  };
@@ -574,6 +789,8 @@ export type RepositoryLastReportStatusResponse = {
574
789
  totalFilesIssues: number | null;
575
790
  totalFilesChanged: number | null;
576
791
  totalIssues: number | null;
792
+ pullRequestLink: string | null;
793
+ merged: boolean | null;
577
794
  };
578
795
  export type AnalyticsRepositoryLastReportStatusResponse = {
579
796
  totalFiles?: number;
@@ -582,6 +799,8 @@ export type AnalyticsRepositoryLastReportStatusResponse = {
582
799
  totalFilesChanged?: number;
583
800
  totalIssues?: number;
584
801
  items: RepositoryLastReportStatusResponse[];
802
+ totalPullRequests?: number;
803
+ totalMergedPullRequests?: number;
585
804
  totalItems?: number;
586
805
  };
587
806
  export type RepositoryUsageResponse = {
@@ -592,6 +811,8 @@ export type RepositoryUsageResponse = {
592
811
  totalFix?: number;
593
812
  totalFixSuccess?: number;
594
813
  totalFixFailure?: number;
814
+ totalPullRequests?: number;
815
+ mergedPullRequests?: number;
595
816
  };
596
817
  export type AnalyticsRepositoryUsageResponse = {
597
818
  totalScan?: number;
@@ -600,6 +821,8 @@ export type AnalyticsRepositoryUsageResponse = {
600
821
  totalFix?: number;
601
822
  totalFixSuccess?: number;
602
823
  totalFixFailure?: number;
824
+ totalPullRequests?: number;
825
+ mergedPullRequests?: number;
603
826
  items: RepositoryUsageResponse[];
604
827
  totalItems?: number;
605
828
  };
@@ -663,6 +886,116 @@ export type AnalyticsProgramGroupsUsageResponse = {
663
886
  items: ProgramGroupsUsageResponse[];
664
887
  totalItems?: number;
665
888
  };
889
+ export type ProgramGroupsDetailsResponse = {
890
+ programGroupName: string;
891
+ programGroupTags?: string | null;
892
+ integrationName?: string | null;
893
+ programGroupCreatedByName?: string | null;
894
+ programGroupCreatedByEmail?: string | null;
895
+ moduleName: string;
896
+ reportInputs?: string | null;
897
+ mode: string;
898
+ reportCreatedAt: string;
899
+ reportCreatedByName?: string | null;
900
+ reportCreatedByEmail?: string | null;
901
+ reportOutputs?: string | null;
902
+ executionStartedAt?: string | null;
903
+ executionCompletedAt?: string | null;
904
+ processingTimeSeconds?: number | null;
905
+ totalFilesCount?: number;
906
+ analyzedFilesCount?: number;
907
+ issuesFilesCount?: number;
908
+ changedFilesCount?: number;
909
+ issuesCount?: number;
910
+ };
911
+ export type AnalyticsProgramGroupsDetailsResponse = {
912
+ programsCount?: number;
913
+ totalFilesCount?: number;
914
+ analyzedFilesCount?: number;
915
+ issuesFilesCount?: number;
916
+ changedFilesCount?: number;
917
+ issuesCount?: number;
918
+ processingTime95Percentile?: number | null;
919
+ totalItems?: number;
920
+ items?: ProgramGroupsDetailsResponse[];
921
+ };
922
+ export type RepositoryDetailedReportItemResponse = {
923
+ analyzedFilesCount?: number;
924
+ changedFilesCount?: number;
925
+ errorLog?: string | null;
926
+ executionCompletedAt?: string | null;
927
+ executionConclusion?: string | null;
928
+ executionStartedAt?: string | null;
929
+ executionStatus?: string | null;
930
+ inputs?: string;
931
+ issuesCount?: number;
932
+ issuesFilesCount?: number;
933
+ mode?: string | null;
934
+ moduleName?: string | null;
935
+ moduleVersion?: string | null;
936
+ processingTimeSeconds?: number | null;
937
+ pullRequestLink?: string | null;
938
+ reportCreatedAt?: string | null;
939
+ reportCreatedByEmail?: string | null;
940
+ reportCreatedByName?: string | null;
941
+ repositoryCreatedByEmail?: string | null;
942
+ repositoryCreatedByName?: string | null;
943
+ repositoryTags?: string;
944
+ repositoryUrl: string;
945
+ sourceBranch?: string | null;
946
+ targetBranch?: string | null;
947
+ totalFilesCount?: number;
948
+ status?: string | null;
949
+ };
950
+ export type AnalyticsRepositoryDetailedReportResponse = {
951
+ reposCount?: number;
952
+ totalFilesCount?: number;
953
+ analyzedFilesCount?: number;
954
+ issuesFilesCount?: number;
955
+ changedFilesCount?: number;
956
+ issuesCount?: number;
957
+ processingTime95Percentile?: number | null;
958
+ totalItems?: number;
959
+ items?: RepositoryDetailedReportItemResponse[];
960
+ };
961
+ export type ProgramGroupsTargetDetailsResponse = {
962
+ programGroupName: string;
963
+ programGroupTags?: string[] | null;
964
+ mode: string;
965
+ moduleName: string;
966
+ reportCreatedAt: string;
967
+ executionStartedAt?: string | null;
968
+ executionCompletedAt?: string | null;
969
+ componentAppName: string;
970
+ componentName: string;
971
+ componentType: string;
972
+ totalIssues?: number;
973
+ changedFilesCount?: number;
974
+ customOutputs?: {
975
+ [key: string]: any;
976
+ } | null;
977
+ };
978
+ export type AnalyticsProgramGroupsTargetDetailsResponse = {
979
+ totalComponents?: number;
980
+ totalIssues?: number;
981
+ totalProgramGroups?: number;
982
+ totalItems?: number;
983
+ items?: ProgramGroupsTargetDetailsResponse[];
984
+ };
985
+ export type RepositoryTargetDetailsItemResponse = {
986
+ repositoryUrl: string;
987
+ sourceBranch: string | null;
988
+ moduleName: string | null;
989
+ targetName: string | null;
990
+ moduleInputs: string | null;
991
+ targetPath: string | null;
992
+ targetDetails: string | null;
993
+ };
994
+ export type AnalyticsRepositoryTargetDetailsResponse = {
995
+ totalFiles?: number;
996
+ totalIssues?: number;
997
+ items?: RepositoryTargetDetailsItemResponse[];
998
+ };
666
999
  export type UserResponse6 = {
667
1000
  id: string;
668
1001
  name: string;
@@ -672,6 +1005,20 @@ export type ListUserResponse = {
672
1005
  items: UserResponse6[];
673
1006
  itemsCount: number;
674
1007
  };
1008
+ export type SearchReposInScmRequest = {
1009
+ repository_name: string;
1010
+ code_term?: string | null;
1011
+ };
1012
+ export type SearchReposInScmResponse = {
1013
+ search_id: string;
1014
+ };
1015
+ export type RepositoryPayload = {
1016
+ url: string;
1017
+ tags: string[];
1018
+ };
1019
+ export type ImportReposScmWithTagsRequest = {
1020
+ repositories: RepositoryPayload[];
1021
+ };
675
1022
  /**
676
1023
  * Check Role Route
677
1024
  */
@@ -697,7 +1044,7 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
697
1044
  */
698
1045
  export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
699
1046
  authorization: string;
700
- xAccountSlug?: any;
1047
+ xAccountSlug?: string;
701
1048
  createModuleRequest: CreateModuleRequest;
702
1049
  }, opts?: Oazapfts.RequestOpts) {
703
1050
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -738,7 +1085,7 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
738
1085
  moduleType?: ModuleType | null;
739
1086
  page?: number;
740
1087
  lastEvaluatedKey?: string;
741
- xAccountSlug?: any;
1088
+ xAccountSlug?: string;
742
1089
  authorization: string;
743
1090
  }, opts?: Oazapfts.RequestOpts) {
744
1091
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -780,7 +1127,7 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
780
1127
  export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authorization, xAccountSlug }: {
781
1128
  moduleId: string;
782
1129
  authorization: string;
783
- xAccountSlug?: any;
1130
+ xAccountSlug?: string;
784
1131
  }, opts?: Oazapfts.RequestOpts) {
785
1132
  return oazapfts.ok(oazapfts.fetchJson<{
786
1133
  status: 200;
@@ -817,7 +1164,7 @@ export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authoriza
817
1164
  export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorization, xAccountSlug, putModuleRequest }: {
818
1165
  moduleId: string;
819
1166
  authorization: string;
820
- xAccountSlug?: any;
1167
+ xAccountSlug?: string;
821
1168
  putModuleRequest: PutModuleRequest;
822
1169
  }, opts?: Oazapfts.RequestOpts) {
823
1170
  return oazapfts.ok(oazapfts.fetchJson<{
@@ -850,6 +1197,74 @@ export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorizatio
850
1197
  })
851
1198
  })));
852
1199
  }
1200
+ /**
1201
+ * Get Module
1202
+ */
1203
+ export function getModuleV1ModulesModuleIdGet({ moduleId, authorization }: {
1204
+ moduleId: string;
1205
+ authorization: string;
1206
+ }, opts?: Oazapfts.RequestOpts) {
1207
+ return oazapfts.ok(oazapfts.fetchJson<{
1208
+ status: 200;
1209
+ data: GetModuleResponse;
1210
+ } | {
1211
+ status: 400;
1212
+ data: HttpErrorResponseRead;
1213
+ } | {
1214
+ status: 401;
1215
+ data: HttpErrorResponseRead;
1216
+ } | {
1217
+ status: 404;
1218
+ data: HttpErrorResponseRead;
1219
+ } | {
1220
+ status: 422;
1221
+ } | {
1222
+ status: 500;
1223
+ data: HttpErrorResponseRead;
1224
+ } | {
1225
+ status: 503;
1226
+ data: HttpErrorResponseRead;
1227
+ }>(`/v1/modules/${encodeURIComponent(moduleId)}`, {
1228
+ ...opts,
1229
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1230
+ authorization
1231
+ })
1232
+ }));
1233
+ }
1234
+ /**
1235
+ * Get Module Inputs
1236
+ */
1237
+ export function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, authorization }: {
1238
+ moduleId: string;
1239
+ authorization: string;
1240
+ }, opts?: Oazapfts.RequestOpts) {
1241
+ return oazapfts.ok(oazapfts.fetchJson<{
1242
+ status: 200;
1243
+ data: GetModuleInputsResponse;
1244
+ } | {
1245
+ status: 400;
1246
+ data: HttpErrorResponseRead;
1247
+ } | {
1248
+ status: 401;
1249
+ data: HttpErrorResponseRead;
1250
+ } | {
1251
+ status: 404;
1252
+ data: HttpErrorResponseRead;
1253
+ } | {
1254
+ status: 422;
1255
+ } | {
1256
+ status: 500;
1257
+ data: HttpErrorResponseRead;
1258
+ } | {
1259
+ status: 503;
1260
+ data: HttpErrorResponseRead;
1261
+ }>(`/v1/modules/${encodeURIComponent(moduleId)}/inputs`, {
1262
+ ...opts,
1263
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1264
+ authorization
1265
+ })
1266
+ }));
1267
+ }
853
1268
  /**
854
1269
  * Dispatch Module Service
855
1270
  */
@@ -932,7 +1347,7 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
932
1347
  }, opts?: Oazapfts.RequestOpts) {
933
1348
  return oazapfts.ok(oazapfts.fetchJson<{
934
1349
  status: 200;
935
- data: GetReportResponse;
1350
+ data: GetReportResponseRead;
936
1351
  } | {
937
1352
  status: 400;
938
1353
  data: HttpErrorResponseRead;
@@ -1105,7 +1520,7 @@ export function listRepositoryReportV1ReposRepositoryIdReportsGet({ repositoryId
1105
1520
  }, opts?: Oazapfts.RequestOpts) {
1106
1521
  return oazapfts.ok(oazapfts.fetchJson<{
1107
1522
  status: 200;
1108
- data: ListRepositoryReportResponse;
1523
+ data: ListRepositoryReportResponseRead;
1109
1524
  } | {
1110
1525
  status: 400;
1111
1526
  data: HttpErrorResponseRead;
@@ -1223,14 +1638,14 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
1223
1638
  moduleId?: string;
1224
1639
  createdByEmail?: string | null;
1225
1640
  reportByEmail?: string | null;
1226
- orderBy?: string;
1227
- orderDirection?: string;
1641
+ orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
1642
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
1228
1643
  tags?: string[] | null;
1229
1644
  authorization: string;
1230
1645
  }, opts?: Oazapfts.RequestOpts) {
1231
1646
  return oazapfts.ok(oazapfts.fetchJson<{
1232
1647
  status: 200;
1233
- data: ListRepositoryResponse;
1648
+ data: ListRepositoryResponseRead;
1234
1649
  } | {
1235
1650
  status: 400;
1236
1651
  data: HttpErrorResponseRead;
@@ -1267,11 +1682,61 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
1267
1682
  }));
1268
1683
  }
1269
1684
  /**
1270
- * List Branches Service
1685
+ * List Repository Download Service
1271
1686
  */
1272
- export function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, authorization }: {
1273
- repositoryUrl: string;
1274
- authorization: string;
1687
+ export function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, extension, authorization }: {
1688
+ filter?: string;
1689
+ moduleId?: string;
1690
+ createdByEmail?: string | null;
1691
+ reportByEmail?: string | null;
1692
+ orderBy?: "repository.url" | "repository.created_at" | "repository.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
1693
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
1694
+ tags?: string[] | null;
1695
+ extension?: "csv" | "xlsx";
1696
+ authorization: string;
1697
+ }, opts?: Oazapfts.RequestOpts) {
1698
+ return oazapfts.ok(oazapfts.fetchJson<{
1699
+ status: 200;
1700
+ data: any;
1701
+ } | {
1702
+ status: 400;
1703
+ data: HttpErrorResponseRead;
1704
+ } | {
1705
+ status: 401;
1706
+ data: HttpErrorResponseRead;
1707
+ } | {
1708
+ status: 404;
1709
+ data: HttpErrorResponseRead;
1710
+ } | {
1711
+ status: 422;
1712
+ } | {
1713
+ status: 500;
1714
+ data: HttpErrorResponseRead;
1715
+ } | {
1716
+ status: 503;
1717
+ data: HttpErrorResponseRead;
1718
+ }>(`/v1/repos/download${QS.query(QS.explode({
1719
+ filter,
1720
+ moduleId,
1721
+ createdByEmail,
1722
+ reportByEmail,
1723
+ orderBy,
1724
+ orderDirection,
1725
+ tags,
1726
+ extension
1727
+ }))}`, {
1728
+ ...opts,
1729
+ headers: oazapfts.mergeHeaders(opts?.headers, {
1730
+ authorization
1731
+ })
1732
+ }));
1733
+ }
1734
+ /**
1735
+ * List Branches Service
1736
+ */
1737
+ export function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, authorization }: {
1738
+ repositoryUrl: string;
1739
+ authorization: string;
1275
1740
  }, opts?: Oazapfts.RequestOpts) {
1276
1741
  return oazapfts.ok(oazapfts.fetchJson<{
1277
1742
  status: 200;
@@ -1311,7 +1776,7 @@ export function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, a
1311
1776
  }, opts?: Oazapfts.RequestOpts) {
1312
1777
  return oazapfts.ok(oazapfts.fetchJson<{
1313
1778
  status: 200;
1314
- data: RepositoryResponse;
1779
+ data: RepositoryResponseRead;
1315
1780
  } | {
1316
1781
  status: 400;
1317
1782
  data: HttpErrorResponseRead;
@@ -1637,14 +2102,14 @@ export function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, createdByE
1637
2102
  name?: string | null;
1638
2103
  pageSize?: number;
1639
2104
  page?: number;
1640
- orderBy?: string;
1641
- orderDirection?: string;
2105
+ orderBy?: "program_group.name" | "program_group.created_at" | "program_group.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
2106
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
1642
2107
  integrationId?: string;
1643
2108
  authorization: string;
1644
2109
  }, opts?: Oazapfts.RequestOpts) {
1645
2110
  return oazapfts.ok(oazapfts.fetchJson<{
1646
2111
  status: 200;
1647
- data: ListProgramGroupResponse;
2112
+ data: ListProgramGroupResponseRead;
1648
2113
  } | {
1649
2114
  status: 422;
1650
2115
  data: HttpValidationError;
@@ -1666,6 +2131,44 @@ export function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, createdByE
1666
2131
  })
1667
2132
  }));
1668
2133
  }
2134
+ /**
2135
+ * List Program Group Download Service
2136
+ */
2137
+ export function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ moduleId, createdByEmail, reportByEmail, tags, name, orderBy, orderDirection, integrationId, extension, authorization }: {
2138
+ moduleId?: string | null;
2139
+ createdByEmail?: string | null;
2140
+ reportByEmail?: string | null;
2141
+ tags?: string[] | null;
2142
+ name?: string | null;
2143
+ orderBy?: "program_group.name" | "program_group.created_at" | "program_group.updated_at" | "report.issues_count" | "report.total_files_count" | "report.analyzed_files_count" | "report.issues_files_count" | "report.created_at" | "report.updated_at" | "execution.status";
2144
+ orderDirection?: "asc" | "desc" | "ASC" | "DESC";
2145
+ integrationId?: string;
2146
+ extension?: "csv" | "xlsx";
2147
+ authorization: string;
2148
+ }, opts?: Oazapfts.RequestOpts) {
2149
+ return oazapfts.ok(oazapfts.fetchJson<{
2150
+ status: 200;
2151
+ data: any;
2152
+ } | {
2153
+ status: 422;
2154
+ data: HttpValidationError;
2155
+ }>(`/v1/program-groups/download${QS.query(QS.explode({
2156
+ moduleId,
2157
+ createdByEmail,
2158
+ reportByEmail,
2159
+ tags,
2160
+ name,
2161
+ orderBy,
2162
+ orderDirection,
2163
+ integrationId,
2164
+ extension
2165
+ }))}`, {
2166
+ ...opts,
2167
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2168
+ authorization
2169
+ })
2170
+ }));
2171
+ }
1669
2172
  /**
1670
2173
  * Get Program Group By Id Service
1671
2174
  */
@@ -1772,7 +2275,7 @@ export function listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReport
1772
2275
  }, opts?: Oazapfts.RequestOpts) {
1773
2276
  return oazapfts.ok(oazapfts.fetchJson<{
1774
2277
  status: 200;
1775
- data: ListProgramGroupReportResponse;
2278
+ data: ListProgramGroupReportResponseRead;
1776
2279
  } | {
1777
2280
  status: 422;
1778
2281
  data: HttpValidationError;
@@ -1857,7 +2360,7 @@ export function analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastRe
1857
2360
  executedBy?: string[] | null;
1858
2361
  repositoryUrl?: string | null;
1859
2362
  tags?: string[] | null;
1860
- orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
2363
+ orderBy?: ("repositoryUrl" | "moduleName" | "merged" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
1861
2364
  orderDirection?: ("ASC" | "DESC") | null;
1862
2365
  startDate?: string | null;
1863
2366
  endDate?: string | null;
@@ -2380,18 +2883,586 @@ export function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsage
2380
2883
  }));
2381
2884
  }
2382
2885
  /**
2383
- * List User Service
2886
+ * Analytics Program Groups Details
2384
2887
  */
2385
- export function listUserServiceV1UsersGet({ authorization }: {
2888
+ export function analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet({ pageSize, page, programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
2889
+ pageSize?: number;
2890
+ page?: number;
2891
+ programName?: string | null;
2892
+ tags?: string[] | null;
2893
+ mode?: ("scan" | "fix") | null;
2894
+ moduleId?: string[] | null;
2895
+ programCreatedById?: string[] | null;
2896
+ reportCreatedById?: string[] | null;
2897
+ startDate?: string;
2898
+ endDate?: string;
2899
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
2900
+ orderDirection?: ("ASC" | "DESC") | null;
2386
2901
  authorization: string;
2387
2902
  }, opts?: Oazapfts.RequestOpts) {
2388
2903
  return oazapfts.ok(oazapfts.fetchJson<{
2389
2904
  status: 200;
2390
- data: ListUserResponse;
2905
+ data: AnalyticsProgramGroupsDetailsResponse;
2906
+ } | {
2907
+ status: 400;
2908
+ data: HttpErrorResponseRead;
2909
+ } | {
2910
+ status: 401;
2911
+ data: HttpErrorResponseRead;
2912
+ } | {
2913
+ status: 404;
2914
+ data: HttpErrorResponseRead;
2391
2915
  } | {
2392
2916
  status: 422;
2393
- data: HttpValidationError;
2394
- }>("/v1/users", {
2917
+ } | {
2918
+ status: 500;
2919
+ data: HttpErrorResponseRead;
2920
+ } | {
2921
+ status: 503;
2922
+ data: HttpErrorResponseRead;
2923
+ }>(`/v1/analytics/program-groups/details${QS.query(QS.explode({
2924
+ pageSize,
2925
+ page,
2926
+ programName,
2927
+ tags,
2928
+ mode,
2929
+ moduleId,
2930
+ programCreatedById,
2931
+ reportCreatedById,
2932
+ startDate,
2933
+ endDate,
2934
+ orderBy,
2935
+ orderDirection
2936
+ }))}`, {
2937
+ ...opts,
2938
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2939
+ authorization
2940
+ })
2941
+ }));
2942
+ }
2943
+ /**
2944
+ * Analytics Program Groups Details Download
2945
+ */
2946
+ export function analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet({ programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
2947
+ programName?: string | null;
2948
+ tags?: string[] | null;
2949
+ mode?: ("scan" | "fix") | null;
2950
+ moduleId?: string[] | null;
2951
+ programCreatedById?: string[] | null;
2952
+ reportCreatedById?: string[] | null;
2953
+ startDate?: string;
2954
+ endDate?: string;
2955
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
2956
+ orderDirection?: ("ASC" | "DESC") | null;
2957
+ extension?: "csv" | "xlsx";
2958
+ authorization: string;
2959
+ }, opts?: Oazapfts.RequestOpts) {
2960
+ return oazapfts.ok(oazapfts.fetchJson<{
2961
+ status: 200;
2962
+ data: any;
2963
+ } | {
2964
+ status: 400;
2965
+ data: HttpErrorResponseRead;
2966
+ } | {
2967
+ status: 401;
2968
+ data: HttpErrorResponseRead;
2969
+ } | {
2970
+ status: 404;
2971
+ data: HttpErrorResponseRead;
2972
+ } | {
2973
+ status: 422;
2974
+ } | {
2975
+ status: 500;
2976
+ data: HttpErrorResponseRead;
2977
+ } | {
2978
+ status: 503;
2979
+ data: HttpErrorResponseRead;
2980
+ }>(`/v1/analytics/program-groups/details/download${QS.query(QS.explode({
2981
+ programName,
2982
+ tags,
2983
+ mode,
2984
+ moduleId,
2985
+ programCreatedById,
2986
+ reportCreatedById,
2987
+ startDate,
2988
+ endDate,
2989
+ orderBy,
2990
+ orderDirection,
2991
+ extension
2992
+ }))}`, {
2993
+ ...opts,
2994
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2995
+ authorization
2996
+ })
2997
+ }));
2998
+ }
2999
+ /**
3000
+ * Analytics Repository Detailed Report
3001
+ */
3002
+ export function analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet({ pageSize, page, repositoryUrl, tags, mode, moduleId, repositoryCreatedById, executedBy, startDate, endDate, orderBy, orderDirection, authorization }: {
3003
+ pageSize?: number;
3004
+ page?: number;
3005
+ repositoryUrl?: string | null;
3006
+ tags?: string[] | null;
3007
+ mode?: ("scan" | "fix") | null;
3008
+ moduleId?: string[] | null;
3009
+ repositoryCreatedById?: string[] | null;
3010
+ executedBy?: string[] | null;
3011
+ startDate?: string;
3012
+ endDate?: string;
3013
+ orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
3014
+ orderDirection?: ("ASC" | "DESC") | null;
3015
+ authorization: string;
3016
+ }, opts?: Oazapfts.RequestOpts) {
3017
+ return oazapfts.ok(oazapfts.fetchJson<{
3018
+ status: 200;
3019
+ data: AnalyticsRepositoryDetailedReportResponse;
3020
+ } | {
3021
+ status: 400;
3022
+ data: HttpErrorResponseRead;
3023
+ } | {
3024
+ status: 401;
3025
+ data: HttpErrorResponseRead;
3026
+ } | {
3027
+ status: 404;
3028
+ data: HttpErrorResponseRead;
3029
+ } | {
3030
+ status: 422;
3031
+ } | {
3032
+ status: 500;
3033
+ data: HttpErrorResponseRead;
3034
+ } | {
3035
+ status: 503;
3036
+ data: HttpErrorResponseRead;
3037
+ }>(`/v1/analytics/repositories/details${QS.query(QS.explode({
3038
+ pageSize,
3039
+ page,
3040
+ repositoryUrl,
3041
+ tags,
3042
+ mode,
3043
+ moduleId,
3044
+ repositoryCreatedById,
3045
+ executedBy,
3046
+ startDate,
3047
+ endDate,
3048
+ orderBy,
3049
+ orderDirection
3050
+ }))}`, {
3051
+ ...opts,
3052
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3053
+ authorization
3054
+ })
3055
+ }));
3056
+ }
3057
+ /**
3058
+ * Analytics Repository Detailed Report Download
3059
+ */
3060
+ export function analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet({ repositoryUrl, tags, mode, moduleId, repositoryCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
3061
+ repositoryUrl?: string | null;
3062
+ tags?: string[] | null;
3063
+ mode?: ("scan" | "fix") | null;
3064
+ moduleId?: string[] | null;
3065
+ repositoryCreatedById?: string[] | null;
3066
+ reportCreatedById?: string[] | null;
3067
+ startDate?: string;
3068
+ endDate?: string;
3069
+ orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
3070
+ orderDirection?: ("ASC" | "DESC") | null;
3071
+ extension?: "csv" | "xlsx";
3072
+ authorization: string;
3073
+ }, opts?: Oazapfts.RequestOpts) {
3074
+ return oazapfts.ok(oazapfts.fetchJson<{
3075
+ status: 200;
3076
+ data: AnalyticsRepositoryDetailedReportResponse;
3077
+ } | {
3078
+ status: 400;
3079
+ data: HttpErrorResponseRead;
3080
+ } | {
3081
+ status: 401;
3082
+ data: HttpErrorResponseRead;
3083
+ } | {
3084
+ status: 404;
3085
+ data: HttpErrorResponseRead;
3086
+ } | {
3087
+ status: 422;
3088
+ } | {
3089
+ status: 500;
3090
+ data: HttpErrorResponseRead;
3091
+ } | {
3092
+ status: 503;
3093
+ data: HttpErrorResponseRead;
3094
+ }>(`/v1/analytics/repositories/details/download${QS.query(QS.explode({
3095
+ repositoryUrl,
3096
+ tags,
3097
+ mode,
3098
+ moduleId,
3099
+ repositoryCreatedById,
3100
+ reportCreatedById,
3101
+ startDate,
3102
+ endDate,
3103
+ orderBy,
3104
+ orderDirection,
3105
+ extension
3106
+ }))}`, {
3107
+ ...opts,
3108
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3109
+ authorization
3110
+ })
3111
+ }));
3112
+ }
3113
+ /**
3114
+ * Analytics Program Groups Target Details
3115
+ */
3116
+ export function analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet({ pageSize, page, programName, componentName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
3117
+ pageSize?: number;
3118
+ page?: number;
3119
+ programName?: string | null;
3120
+ componentName?: string | null;
3121
+ tags?: string[] | null;
3122
+ mode?: ("scan" | "fix") | null;
3123
+ moduleId?: string[] | null;
3124
+ reportCreatedById?: string[] | null;
3125
+ startDate?: string;
3126
+ endDate?: string;
3127
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
3128
+ orderDirection?: ("ASC" | "DESC") | null;
3129
+ authorization: string;
3130
+ }, opts?: Oazapfts.RequestOpts) {
3131
+ return oazapfts.ok(oazapfts.fetchJson<{
3132
+ status: 200;
3133
+ data: AnalyticsProgramGroupsTargetDetailsResponse;
3134
+ } | {
3135
+ status: 400;
3136
+ data: HttpErrorResponseRead;
3137
+ } | {
3138
+ status: 401;
3139
+ data: HttpErrorResponseRead;
3140
+ } | {
3141
+ status: 404;
3142
+ data: HttpErrorResponseRead;
3143
+ } | {
3144
+ status: 422;
3145
+ } | {
3146
+ status: 500;
3147
+ data: HttpErrorResponseRead;
3148
+ } | {
3149
+ status: 503;
3150
+ data: HttpErrorResponseRead;
3151
+ }>(`/v1/analytics/program-groups/target-details${QS.query(QS.explode({
3152
+ pageSize,
3153
+ page,
3154
+ programName,
3155
+ componentName,
3156
+ tags,
3157
+ mode,
3158
+ moduleId,
3159
+ reportCreatedById,
3160
+ startDate,
3161
+ endDate,
3162
+ orderBy,
3163
+ orderDirection
3164
+ }))}`, {
3165
+ ...opts,
3166
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3167
+ authorization
3168
+ })
3169
+ }));
3170
+ }
3171
+ /**
3172
+ * Analytics Program Groups Target Details Download
3173
+ */
3174
+ export function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet({ programName, tags, mode, moduleId, componentName, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
3175
+ programName?: string | null;
3176
+ tags?: string[] | null;
3177
+ mode?: ("scan" | "fix") | null;
3178
+ moduleId?: string[] | null;
3179
+ componentName?: string | null;
3180
+ reportCreatedById?: string[] | null;
3181
+ startDate?: string;
3182
+ endDate?: string;
3183
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
3184
+ orderDirection?: ("ASC" | "DESC") | null;
3185
+ extension?: "csv" | "xlsx";
3186
+ authorization: string;
3187
+ }, opts?: Oazapfts.RequestOpts) {
3188
+ return oazapfts.ok(oazapfts.fetchJson<{
3189
+ status: 200;
3190
+ data: any;
3191
+ } | {
3192
+ status: 400;
3193
+ data: HttpErrorResponseRead;
3194
+ } | {
3195
+ status: 401;
3196
+ data: HttpErrorResponseRead;
3197
+ } | {
3198
+ status: 404;
3199
+ data: HttpErrorResponseRead;
3200
+ } | {
3201
+ status: 422;
3202
+ } | {
3203
+ status: 500;
3204
+ data: HttpErrorResponseRead;
3205
+ } | {
3206
+ status: 503;
3207
+ data: HttpErrorResponseRead;
3208
+ }>(`/v1/analytics/program-groups/target-details/download${QS.query(QS.explode({
3209
+ programName,
3210
+ tags,
3211
+ mode,
3212
+ moduleId,
3213
+ componentName,
3214
+ reportCreatedById,
3215
+ startDate,
3216
+ endDate,
3217
+ orderBy,
3218
+ orderDirection,
3219
+ extension
3220
+ }))}`, {
3221
+ ...opts,
3222
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3223
+ authorization
3224
+ })
3225
+ }));
3226
+ }
3227
+ /**
3228
+ * Analytics Repository Target Details
3229
+ */
3230
+ export function analyticsRepositoryTargetDetailsV1AnalyticsRepositoriesTargetDetailsGet({ pageSize, page, repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
3231
+ pageSize?: number;
3232
+ page?: number;
3233
+ repositoryUrl?: string | null;
3234
+ targetName?: string | null;
3235
+ tags?: string[] | null;
3236
+ mode?: ("scan" | "fix") | null;
3237
+ moduleId?: string[] | null;
3238
+ reportCreatedById?: string[] | null;
3239
+ startDate?: string;
3240
+ endDate?: string;
3241
+ orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath") | null;
3242
+ orderDirection?: ("ASC" | "DESC") | null;
3243
+ authorization: string;
3244
+ }, opts?: Oazapfts.RequestOpts) {
3245
+ return oazapfts.ok(oazapfts.fetchJson<{
3246
+ status: 200;
3247
+ data: AnalyticsRepositoryTargetDetailsResponse;
3248
+ } | {
3249
+ status: 400;
3250
+ data: HttpErrorResponseRead;
3251
+ } | {
3252
+ status: 401;
3253
+ data: HttpErrorResponseRead;
3254
+ } | {
3255
+ status: 404;
3256
+ data: HttpErrorResponseRead;
3257
+ } | {
3258
+ status: 422;
3259
+ } | {
3260
+ status: 500;
3261
+ data: HttpErrorResponseRead;
3262
+ } | {
3263
+ status: 503;
3264
+ data: HttpErrorResponseRead;
3265
+ }>(`/v1/analytics/repositories/target-details${QS.query(QS.explode({
3266
+ pageSize,
3267
+ page,
3268
+ repositoryUrl,
3269
+ targetName,
3270
+ tags,
3271
+ mode,
3272
+ moduleId,
3273
+ reportCreatedById,
3274
+ startDate,
3275
+ endDate,
3276
+ orderBy,
3277
+ orderDirection
3278
+ }))}`, {
3279
+ ...opts,
3280
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3281
+ authorization
3282
+ })
3283
+ }));
3284
+ }
3285
+ /**
3286
+ * Analytics Repository Target Details Download
3287
+ */
3288
+ export function analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepositoriesTargetDetailsDownloadGet({ repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
3289
+ repositoryUrl?: string | null;
3290
+ targetName?: string | null;
3291
+ tags?: string[] | null;
3292
+ mode?: ("scan" | "fix") | null;
3293
+ moduleId?: string[] | null;
3294
+ reportCreatedById?: string[] | null;
3295
+ startDate?: string;
3296
+ endDate?: string;
3297
+ orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath") | null;
3298
+ orderDirection?: ("ASC" | "DESC") | null;
3299
+ extension?: "csv" | "xlsx";
3300
+ authorization: string;
3301
+ }, opts?: Oazapfts.RequestOpts) {
3302
+ return oazapfts.ok(oazapfts.fetchJson<{
3303
+ status: 200;
3304
+ data: any;
3305
+ } | {
3306
+ status: 400;
3307
+ data: HttpErrorResponseRead;
3308
+ } | {
3309
+ status: 401;
3310
+ data: HttpErrorResponseRead;
3311
+ } | {
3312
+ status: 404;
3313
+ data: HttpErrorResponseRead;
3314
+ } | {
3315
+ status: 422;
3316
+ } | {
3317
+ status: 500;
3318
+ data: HttpErrorResponseRead;
3319
+ } | {
3320
+ status: 503;
3321
+ data: HttpErrorResponseRead;
3322
+ }>(`/v1/analytics/repositories/target-details/download${QS.query(QS.explode({
3323
+ repositoryUrl,
3324
+ targetName,
3325
+ tags,
3326
+ mode,
3327
+ moduleId,
3328
+ reportCreatedById,
3329
+ startDate,
3330
+ endDate,
3331
+ orderBy,
3332
+ orderDirection,
3333
+ extension
3334
+ }))}`, {
3335
+ ...opts,
3336
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3337
+ authorization
3338
+ })
3339
+ }));
3340
+ }
3341
+ /**
3342
+ * List User Service
3343
+ */
3344
+ export function listUserServiceV1UsersGet({ authorization }: {
3345
+ authorization: string;
3346
+ }, opts?: Oazapfts.RequestOpts) {
3347
+ return oazapfts.ok(oazapfts.fetchJson<{
3348
+ status: 200;
3349
+ data: ListUserResponse;
3350
+ } | {
3351
+ status: 422;
3352
+ data: HttpValidationError;
3353
+ }>("/v1/users", {
3354
+ ...opts,
3355
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3356
+ authorization
3357
+ })
3358
+ }));
3359
+ }
3360
+ /**
3361
+ * Search Repos Scm Service
3362
+ */
3363
+ export function searchReposScmServiceV2ReposSearchScmPost({ authorization, searchReposInScmRequest }: {
3364
+ authorization: string;
3365
+ searchReposInScmRequest: SearchReposInScmRequest;
3366
+ }, opts?: Oazapfts.RequestOpts) {
3367
+ return oazapfts.ok(oazapfts.fetchJson<{
3368
+ status: 200;
3369
+ } | {
3370
+ status: 201;
3371
+ data: SearchReposInScmResponse;
3372
+ } | {
3373
+ status: 207;
3374
+ data: HttpErrorResponseRead;
3375
+ } | {
3376
+ status: 400;
3377
+ data: HttpErrorResponseRead;
3378
+ } | {
3379
+ status: 401;
3380
+ data: HttpErrorResponseRead;
3381
+ } | {
3382
+ status: 404;
3383
+ data: HttpErrorResponseRead;
3384
+ } | {
3385
+ status: 422;
3386
+ } | {
3387
+ status: 500;
3388
+ data: HttpErrorResponseRead;
3389
+ } | {
3390
+ status: 503;
3391
+ data: HttpErrorResponseRead;
3392
+ }>("/v2/repos/search-scm", oazapfts.json({
3393
+ ...opts,
3394
+ method: "POST",
3395
+ body: searchReposInScmRequest,
3396
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3397
+ authorization
3398
+ })
3399
+ })));
3400
+ }
3401
+ /**
3402
+ * Import Repos With Tags Scm Service
3403
+ */
3404
+ export function importReposWithTagsScmServiceV2ReposSearchScmSearchIdPost({ searchId, authorization, importReposScmWithTagsRequest }: {
3405
+ searchId: string;
3406
+ authorization: string;
3407
+ importReposScmWithTagsRequest: ImportReposScmWithTagsRequest;
3408
+ }, opts?: Oazapfts.RequestOpts) {
3409
+ return oazapfts.ok(oazapfts.fetchJson<{
3410
+ status: 200;
3411
+ data: SearchReposInScmResponse;
3412
+ } | {
3413
+ status: 400;
3414
+ data: HttpErrorResponseRead;
3415
+ } | {
3416
+ status: 401;
3417
+ data: HttpErrorResponseRead;
3418
+ } | {
3419
+ status: 404;
3420
+ data: HttpErrorResponseRead;
3421
+ } | {
3422
+ status: 422;
3423
+ } | {
3424
+ status: 500;
3425
+ data: HttpErrorResponseRead;
3426
+ } | {
3427
+ status: 503;
3428
+ data: HttpErrorResponseRead;
3429
+ }>(`/v2/repos/search-scm/${encodeURIComponent(searchId)}`, oazapfts.json({
3430
+ ...opts,
3431
+ method: "POST",
3432
+ body: importReposScmWithTagsRequest,
3433
+ headers: oazapfts.mergeHeaders(opts?.headers, {
3434
+ authorization
3435
+ })
3436
+ })));
3437
+ }
3438
+ /**
3439
+ * Search Repos Scm V2
3440
+ */
3441
+ export function searchReposScmV2V2ReposSearchScmSearchIdGet({ searchId, authorization }: {
3442
+ searchId: string;
3443
+ authorization: string;
3444
+ }, opts?: Oazapfts.RequestOpts) {
3445
+ return oazapfts.ok(oazapfts.fetchJson<{
3446
+ status: 200;
3447
+ data: any;
3448
+ } | {
3449
+ status: 400;
3450
+ data: HttpErrorResponseRead;
3451
+ } | {
3452
+ status: 401;
3453
+ data: HttpErrorResponseRead;
3454
+ } | {
3455
+ status: 404;
3456
+ data: HttpErrorResponseRead;
3457
+ } | {
3458
+ status: 422;
3459
+ } | {
3460
+ status: 500;
3461
+ data: HttpErrorResponseRead;
3462
+ } | {
3463
+ status: 503;
3464
+ data: HttpErrorResponseRead;
3465
+ }>(`/v2/repos/search-scm/${encodeURIComponent(searchId)}`, {
2395
3466
  ...opts,
2396
3467
  headers: oazapfts.mergeHeaders(opts?.headers, {
2397
3468
  authorization