@stack-spot/portal-network 0.174.0 → 0.175.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.
@@ -38,9 +38,9 @@ export type CreateModuleRequest = {
38
38
  /** Module description */
39
39
  description: string;
40
40
  /** Module workflow_name */
41
- workflowName: string;
41
+ workflowName?: string | null;
42
42
  /** Module version */
43
- version: string;
43
+ version?: string | null;
44
44
  /** Module mode */
45
45
  modes: string[];
46
46
  /** Module tags */
@@ -48,14 +48,14 @@ export type CreateModuleRequest = {
48
48
  /** Inputs of module */
49
49
  inputs: InputRequest[];
50
50
  /** Module studio */
51
- studio: string;
51
+ studio?: string | null;
52
52
  /** Module studio */
53
53
  constants?: {
54
54
  [key: string]: any;
55
55
  } | null;
56
56
  gitAction?: GitAction | null;
57
57
  };
58
- 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";
58
+ 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_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_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";
59
59
  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";
60
60
  export type InvalidPayloadDetails = {
61
61
  code: BadRequestExceptionTypes | ExceptionType;
@@ -100,9 +100,9 @@ export type ModuleResponse = {
100
100
  /** Module description */
101
101
  description: string;
102
102
  /** Workflow name */
103
- workflowName: string;
103
+ workflowName: string | null;
104
104
  /** Studio */
105
- studio: string;
105
+ studio: string | null;
106
106
  /** Module modes */
107
107
  modes: string[];
108
108
  /** Module versions */
@@ -148,6 +148,69 @@ export type PutModuleRequest = {
148
148
  } | null;
149
149
  gitAction?: GitAction | null;
150
150
  };
151
+ export type GetModuleResponse = {
152
+ /** Module ID */
153
+ id: string;
154
+ /** Module type */
155
+ "type": ModuleType;
156
+ /** Module name */
157
+ name: string;
158
+ /** Module description */
159
+ description: string;
160
+ /** Workflow name */
161
+ workflowName: string | null;
162
+ /** Studio */
163
+ studio: string | null;
164
+ /** Module modes */
165
+ modes: string[];
166
+ /** Module versions */
167
+ version: string | null;
168
+ /** Module studio */
169
+ constants?: {
170
+ [key: string]: any;
171
+ } | null;
172
+ gitAction?: GitAction | null;
173
+ };
174
+ export type ExternalItemsModel = {
175
+ source: string;
176
+ value: string;
177
+ label: string;
178
+ };
179
+ export type ConditionModel = {
180
+ variable: string;
181
+ operator: string;
182
+ value: any;
183
+ };
184
+ export type OutputModel = {
185
+ "from": string;
186
+ to: string;
187
+ };
188
+ export type InputModel = {
189
+ label: string;
190
+ name: string;
191
+ "type": string;
192
+ required: boolean;
193
+ pattern: string | null;
194
+ help: string | null;
195
+ "default": any | null;
196
+ items: string[] | null;
197
+ externalItems: ExternalItemsModel | null;
198
+ itemsValues: string[] | null;
199
+ condition: ConditionModel | null;
200
+ connectionInterfaceType: string | null;
201
+ outputs: OutputModel[] | null;
202
+ input: InputModel | null;
203
+ inputs: InputModel[] | null;
204
+ scope: string | null;
205
+ };
206
+ export type ComputedInputModel = {
207
+ name: string;
208
+ expression: string;
209
+ };
210
+ export type GetModuleInputsResponse = {
211
+ inputs: InputModel[];
212
+ computedInputs: ComputedInputModel[] | null;
213
+ };
151
214
  export type Mode = "scan" | "fix";
152
215
  export type ModuleDispatchRequest = {
153
216
  /** Module mode */
@@ -178,7 +241,7 @@ export type IssuesRequest = {
178
241
  };
179
242
  export type TargetFilesRequest = {
180
243
  fileName: string;
181
- filePath: string;
244
+ filePath?: string | null;
182
245
  details?: string | null;
183
246
  dependsOn?: DependsOnRequest[] | null;
184
247
  issues?: IssuesRequest[] | null;
@@ -191,7 +254,7 @@ export type PutReportRequest = {
191
254
  changedFilesCount?: number | null;
192
255
  pullRequestLink?: string | null;
193
256
  commitHash?: string | null;
194
- targetFiles: TargetFilesRequest[];
257
+ targetFiles?: TargetFilesRequest[];
195
258
  moduleVersion?: string | null;
196
259
  customOutputs?: {
197
260
  [key: string]: any;
@@ -279,6 +342,40 @@ export type GetReportResponse = {
279
342
  } | null;
280
343
  targetFiles: TargetFilesResponse[];
281
344
  errorLog?: string | null;
345
+ exceptions: HttpErrorResponse[];
346
+ status: ReportStatus | null;
347
+ scmPullRequestData: PullRequestResponse | null;
348
+ inputs?: {
349
+ [key: string]: any;
350
+ } | null;
351
+ };
352
+ export type GetReportResponseRead = {
353
+ id: string;
354
+ "module": ModuleResponse2 | null;
355
+ application: ApplicationResponse | null;
356
+ execution: ExecutionResponse | null;
357
+ mode: string;
358
+ sourceBranch: string | null;
359
+ targetBranch?: string | null;
360
+ createdBy: UserResponse;
361
+ createdAt: string;
362
+ updatedAt: string;
363
+ filesCount: number | null;
364
+ totalFilesCount: number | null;
365
+ changedFilesCount: number | null;
366
+ analyzedFilesCount: number | null;
367
+ issuesFilesCount: number | null;
368
+ issuesCount: number | null;
369
+ commitHash: string | null;
370
+ pullRequestLink?: string | null;
371
+ programGroup: ProgramGroupResponse | null;
372
+ moduleVersion?: string | null;
373
+ customOutputs?: {
374
+ [key: string]: any;
375
+ } | null;
376
+ targetFiles: TargetFilesResponse[];
377
+ errorLog?: string | null;
378
+ exceptions: HttpErrorResponseRead[];
282
379
  status: ReportStatus | null;
283
380
  scmPullRequestData: PullRequestResponse | null;
284
381
  inputs?: {
@@ -320,6 +417,24 @@ export type ReportResponse = {
320
417
  issuesCount: number | null;
321
418
  pullRequestLink?: string | null;
322
419
  errorLog?: string | null;
420
+ exceptions: HttpErrorResponse[];
421
+ status: ReportStatus | null;
422
+ };
423
+ export type ReportResponseRead = {
424
+ id: string;
425
+ "module": ModuleResponse3;
426
+ execution: ExecutionResponse | null;
427
+ mode: string;
428
+ sourceBranch: string;
429
+ targetBranch?: string | null;
430
+ createdBy: UserResponse2;
431
+ createdAt: string;
432
+ updatedAt: string;
433
+ filesCount: number | null;
434
+ issuesCount: number | null;
435
+ pullRequestLink?: string | null;
436
+ errorLog?: string | null;
437
+ exceptions: HttpErrorResponseRead[];
323
438
  status: ReportStatus | null;
324
439
  };
325
440
  export type ListRepositoryReportResponse = {
@@ -330,6 +445,14 @@ export type ListRepositoryReportResponse = {
330
445
  /** Last evaluated key */
331
446
  lastEvaluatedKey: string | null;
332
447
  };
448
+ export type ListRepositoryReportResponseRead = {
449
+ /** List of reports */
450
+ items: ReportResponseRead[];
451
+ /** Number of reports */
452
+ itemsCount: number;
453
+ /** Last evaluated key */
454
+ lastEvaluatedKey: string | null;
455
+ };
333
456
  export type BodyCreateReposBatchServiceV1ReposBatchPost = {
334
457
  file: Blob;
335
458
  };
@@ -358,6 +481,24 @@ export type ReportResponse2 = {
358
481
  issuesCount: number | null;
359
482
  pullRequestLink?: string | null;
360
483
  errorLog?: string | null;
484
+ exceptions: HttpErrorResponse[];
485
+ status: ReportStatus | null;
486
+ };
487
+ export type ReportResponseRead2 = {
488
+ id: string;
489
+ execution: ExecutionResponse | null;
490
+ mode: string;
491
+ moduleId: string;
492
+ sourceBranch: string;
493
+ targetBranch?: string | null;
494
+ createdBy: UserResponse3 | null;
495
+ createdAt: string;
496
+ updatedAt: string;
497
+ filesCount: number | null;
498
+ issuesCount: number | null;
499
+ pullRequestLink?: string | null;
500
+ errorLog?: string | null;
501
+ exceptions: HttpErrorResponseRead[];
361
502
  status: ReportStatus | null;
362
503
  };
363
504
  export type RepositoryResponse = {
@@ -372,6 +513,18 @@ export type RepositoryResponse = {
372
513
  url: string;
373
514
  defaultBranch: string;
374
515
  };
516
+ export type RepositoryResponseRead = {
517
+ /** Repository ID */
518
+ id: string;
519
+ /** Repository creation date */
520
+ createdAt?: string | null;
521
+ /** Repository creation user */
522
+ createdBy?: string | null;
523
+ lastModuleReport: ReportResponseRead2 | null;
524
+ tags: string[];
525
+ url: string;
526
+ defaultBranch: string;
527
+ };
375
528
  export type ListRepositoryResponse = {
376
529
  /** List of applications */
377
530
  items: RepositoryResponse[];
@@ -380,6 +533,14 @@ export type ListRepositoryResponse = {
380
533
  /** Last evaluated key */
381
534
  lastEvaluatedKey?: string | null;
382
535
  };
536
+ export type ListRepositoryResponseRead = {
537
+ /** List of applications */
538
+ items: RepositoryResponseRead[];
539
+ /** Number of applications */
540
+ itemsCount: number;
541
+ /** Last evaluated key */
542
+ lastEvaluatedKey?: string | null;
543
+ };
383
544
  export type ListBranchesResponse = {
384
545
  /** List of all branches */
385
546
  branches: string[];
@@ -470,6 +631,22 @@ export type ReportResponse3 = {
470
631
  issuesCount: number | null;
471
632
  pullRequestLink?: string | null;
472
633
  errorLog?: string | null;
634
+ exceptions: HttpErrorResponse[];
635
+ status: ReportStatus | null;
636
+ };
637
+ export type ReportResponseRead3 = {
638
+ id: string;
639
+ execution: ExecutionResponse | null;
640
+ mode: string;
641
+ moduleId: string;
642
+ createdBy: UserResponse4 | null;
643
+ createdAt: string;
644
+ updatedAt: string;
645
+ filesCount: number | null;
646
+ issuesCount: number | null;
647
+ pullRequestLink?: string | null;
648
+ errorLog?: string | null;
649
+ exceptions: HttpErrorResponseRead[];
473
650
  status: ReportStatus | null;
474
651
  };
475
652
  export type ProgramGroupResponse2 = {
@@ -484,10 +661,26 @@ export type ProgramGroupResponse2 = {
484
661
  updatedAt: string;
485
662
  lastModuleReport: ReportResponse3 | null;
486
663
  };
664
+ export type ProgramGroupResponseRead = {
665
+ id: string;
666
+ name: string;
667
+ integrationId: string | null;
668
+ tags: string[];
669
+ components: any[];
670
+ accountId: string;
671
+ createdBy: string | null;
672
+ createdAt: string;
673
+ updatedAt: string;
674
+ lastModuleReport: ReportResponseRead3 | null;
675
+ };
487
676
  export type ListProgramGroupResponse = {
488
677
  items: ProgramGroupResponse2[];
489
678
  itemsCount: number;
490
679
  };
680
+ export type ListProgramGroupResponseRead = {
681
+ items: ProgramGroupResponseRead[];
682
+ itemsCount: number;
683
+ };
491
684
  export type ProgramGroupResponse3 = {
492
685
  id: string;
493
686
  name: string;
@@ -529,6 +722,22 @@ export type ReportResponse4 = {
529
722
  issuesCount: number | null;
530
723
  pullRequestLink?: string | null;
531
724
  errorLog?: string | null;
725
+ exceptions: HttpErrorResponse[];
726
+ status: ReportStatus | null;
727
+ };
728
+ export type ReportResponseRead4 = {
729
+ id: string;
730
+ "module": ModuleResponse4;
731
+ execution: ExecutionResponse | null;
732
+ mode: string;
733
+ createdBy: UserResponse5;
734
+ createdAt: string;
735
+ updatedAt: string;
736
+ filesCount: number | null;
737
+ issuesCount: number | null;
738
+ pullRequestLink?: string | null;
739
+ errorLog?: string | null;
740
+ exceptions: HttpErrorResponseRead[];
532
741
  status: ReportStatus | null;
533
742
  };
534
743
  export type ListProgramGroupReportResponse = {
@@ -537,6 +746,12 @@ export type ListProgramGroupReportResponse = {
537
746
  /** Number of reports */
538
747
  itemsCount: number;
539
748
  };
749
+ export type ListProgramGroupReportResponseRead = {
750
+ /** List of reports */
751
+ items: ReportResponseRead4[];
752
+ /** Number of reports */
753
+ itemsCount: number;
754
+ };
540
755
  export type TagResponse = {
541
756
  name: string;
542
757
  };
@@ -569,6 +784,8 @@ export type RepositoryLastReportStatusResponse = {
569
784
  totalFilesIssues: number | null;
570
785
  totalFilesChanged: number | null;
571
786
  totalIssues: number | null;
787
+ pullRequestLink: string | null;
788
+ merged: boolean | null;
572
789
  };
573
790
  export type AnalyticsRepositoryLastReportStatusResponse = {
574
791
  totalFiles?: number;
@@ -577,6 +794,8 @@ export type AnalyticsRepositoryLastReportStatusResponse = {
577
794
  totalFilesChanged?: number;
578
795
  totalIssues?: number;
579
796
  items: RepositoryLastReportStatusResponse[];
797
+ totalPullRequests?: number;
798
+ totalMergedPullRequests?: number;
580
799
  totalItems?: number;
581
800
  };
582
801
  export type RepositoryUsageResponse = {
@@ -587,6 +806,8 @@ export type RepositoryUsageResponse = {
587
806
  totalFix?: number;
588
807
  totalFixSuccess?: number;
589
808
  totalFixFailure?: number;
809
+ totalPullRequests?: number;
810
+ mergedPullRequests?: number;
590
811
  };
591
812
  export type AnalyticsRepositoryUsageResponse = {
592
813
  totalScan?: number;
@@ -595,6 +816,8 @@ export type AnalyticsRepositoryUsageResponse = {
595
816
  totalFix?: number;
596
817
  totalFixSuccess?: number;
597
818
  totalFixFailure?: number;
819
+ totalPullRequests?: number;
820
+ mergedPullRequests?: number;
598
821
  items: RepositoryUsageResponse[];
599
822
  totalItems?: number;
600
823
  };
@@ -658,6 +881,102 @@ export type AnalyticsProgramGroupsUsageResponse = {
658
881
  items: ProgramGroupsUsageResponse[];
659
882
  totalItems?: number;
660
883
  };
884
+ export type ProgramGroupsDetailsResponse = {
885
+ programGroupName: string;
886
+ programGroupTags?: string | null;
887
+ integrationName?: string | null;
888
+ programGroupCreatedByName?: string | null;
889
+ programGroupCreatedByEmail?: string | null;
890
+ moduleName: string;
891
+ reportInputs?: string | null;
892
+ mode: string;
893
+ reportCreatedAt: string;
894
+ reportCreatedByName?: string | null;
895
+ reportCreatedByEmail?: string | null;
896
+ reportOutputs?: string | null;
897
+ executionStartedAt?: string | null;
898
+ executionCompletedAt?: string | null;
899
+ processingTimeSeconds?: number | null;
900
+ totalFilesCount?: number;
901
+ analyzedFilesCount?: number;
902
+ issuesFilesCount?: number;
903
+ changedFilesCount?: number;
904
+ issuesCount?: number;
905
+ };
906
+ export type AnalyticsProgramGroupsDetailsResponse = {
907
+ programsCount?: number;
908
+ totalFilesCount?: number;
909
+ analyzedFilesCount?: number;
910
+ issuesFilesCount?: number;
911
+ changedFilesCount?: number;
912
+ issuesCount?: number;
913
+ processingTime95Percentile?: number | null;
914
+ totalItems?: number;
915
+ items?: ProgramGroupsDetailsResponse[];
916
+ };
917
+ export type RepositoryDetailedReportItemResponse = {
918
+ analyzedFilesCount?: number;
919
+ changedFilesCount?: number;
920
+ errorLog?: string | null;
921
+ executionCompletedAt?: string | null;
922
+ executionConclusion?: string | null;
923
+ executionStartedAt?: string | null;
924
+ executionStatus?: string | null;
925
+ inputs?: string;
926
+ issuesCount?: number;
927
+ issuesFilesCount?: number;
928
+ mode?: string | null;
929
+ moduleName?: string | null;
930
+ moduleVersion?: string | null;
931
+ processingTimeSeconds?: number | null;
932
+ pullRequestLink?: string | null;
933
+ reportCreatedAt?: string | null;
934
+ reportCreatedByEmail?: string | null;
935
+ reportCreatedByName?: string | null;
936
+ repositoryCreatedByEmail?: string | null;
937
+ repositoryCreatedByName?: string | null;
938
+ repositoryTags?: string;
939
+ repositoryUrl: string;
940
+ sourceBranch?: string | null;
941
+ targetBranch?: string | null;
942
+ totalFilesCount?: number;
943
+ status?: string | null;
944
+ };
945
+ export type AnalyticsRepositoryDetailedReportResponse = {
946
+ reposCount?: number;
947
+ totalFilesCount?: number;
948
+ analyzedFilesCount?: number;
949
+ issuesFilesCount?: number;
950
+ changedFilesCount?: number;
951
+ issuesCount?: number;
952
+ processingTime95Percentile?: number | null;
953
+ totalItems?: number;
954
+ items?: RepositoryDetailedReportItemResponse[];
955
+ };
956
+ export type ProgramGroupsTargetDetailsResponse = {
957
+ programGroupName: string;
958
+ programGroupTags?: string | null;
959
+ mode: string;
960
+ moduleName: string;
961
+ reportCreatedAt: string;
962
+ executionStartedAt?: string | null;
963
+ executionCompletedAt?: string | null;
964
+ componentAppName: string;
965
+ componentName: string;
966
+ componentType: string;
967
+ totalIssues?: number;
968
+ changedFilesCount?: number;
969
+ reportOutputs?: string | null;
970
+ aiAdjusted?: string | null;
971
+ changemanPackage?: string | null;
972
+ };
973
+ export type AnalyticsProgramGroupsTargetDetailsResponse = {
974
+ totalComponents?: number;
975
+ totalIssues?: number;
976
+ totalChangedFiles?: number;
977
+ totalItems?: number;
978
+ items?: ProgramGroupsTargetDetailsResponse[];
979
+ };
661
980
  export type UserResponse6 = {
662
981
  id: string;
663
982
  name: string;
@@ -679,7 +998,7 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
679
998
  */
680
999
  export declare function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
681
1000
  authorization: string;
682
- xAccountSlug?: any;
1001
+ xAccountSlug?: string;
683
1002
  createModuleRequest: CreateModuleRequest;
684
1003
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
685
1004
  /**
@@ -690,7 +1009,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
690
1009
  moduleType?: ModuleType | null;
691
1010
  page?: number;
692
1011
  lastEvaluatedKey?: string;
693
- xAccountSlug?: any;
1012
+ xAccountSlug?: string;
694
1013
  authorization: string;
695
1014
  }, opts?: Oazapfts.RequestOpts): Promise<ListModuleResponse>;
696
1015
  /**
@@ -699,7 +1018,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
699
1018
  export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authorization, xAccountSlug }: {
700
1019
  moduleId: string;
701
1020
  authorization: string;
702
- xAccountSlug?: any;
1021
+ xAccountSlug?: string;
703
1022
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
704
1023
  /**
705
1024
  * Update Module Service
@@ -707,9 +1026,23 @@ export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, a
707
1026
  export declare function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorization, xAccountSlug, putModuleRequest }: {
708
1027
  moduleId: string;
709
1028
  authorization: string;
710
- xAccountSlug?: any;
1029
+ xAccountSlug?: string;
711
1030
  putModuleRequest: PutModuleRequest;
712
1031
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1032
+ /**
1033
+ * Get Module
1034
+ */
1035
+ export declare function getModuleV1ModulesModuleIdGet({ moduleId, authorization }: {
1036
+ moduleId: string;
1037
+ authorization: string;
1038
+ }, opts?: Oazapfts.RequestOpts): Promise<GetModuleResponse>;
1039
+ /**
1040
+ * Get Module Inputs
1041
+ */
1042
+ export declare function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, authorization }: {
1043
+ moduleId: string;
1044
+ authorization: string;
1045
+ }, opts?: Oazapfts.RequestOpts): Promise<GetModuleInputsResponse>;
713
1046
  /**
714
1047
  * Dispatch Module Service
715
1048
  */
@@ -731,7 +1064,7 @@ export declare function putReportV1ReportsReportIdPut({ reportId, authorization,
731
1064
  export declare function getReportV1ReportsReportIdGet({ reportId, authorization }: {
732
1065
  reportId: string;
733
1066
  authorization: string;
734
- }, opts?: Oazapfts.RequestOpts): Promise<GetReportResponse>;
1067
+ }, opts?: Oazapfts.RequestOpts): Promise<GetReportResponseRead>;
735
1068
  /**
736
1069
  * Get Report Pull Request Content
737
1070
  */
@@ -778,7 +1111,7 @@ export declare function listRepositoryReportV1ReposRepositoryIdReportsGet({ repo
778
1111
  page?: number;
779
1112
  lastEvaluatedKey?: string;
780
1113
  authorization: string;
781
- }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryReportResponse>;
1114
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryReportResponseRead>;
782
1115
  /**
783
1116
  * Create Repos Batch Service
784
1117
  */
@@ -805,11 +1138,25 @@ export declare function listRepositoryServiceV1ReposGet({ pageSize, page, lastEv
805
1138
  moduleId?: string;
806
1139
  createdByEmail?: string | null;
807
1140
  reportByEmail?: string | null;
808
- orderBy?: string;
1141
+ 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";
809
1142
  orderDirection?: string;
810
1143
  tags?: string[] | null;
811
1144
  authorization: string;
812
- }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponse>;
1145
+ }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponseRead>;
1146
+ /**
1147
+ * List Repository Download Service
1148
+ */
1149
+ export declare function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, extension, authorization }: {
1150
+ filter?: string;
1151
+ moduleId?: string;
1152
+ createdByEmail?: string | null;
1153
+ reportByEmail?: string | null;
1154
+ 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";
1155
+ orderDirection?: string;
1156
+ tags?: string[] | null;
1157
+ extension?: "csv" | "xlsx";
1158
+ authorization: string;
1159
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
813
1160
  /**
814
1161
  * List Branches Service
815
1162
  */
@@ -823,7 +1170,7 @@ export declare function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, a
823
1170
  export declare function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, authorization }: {
824
1171
  repositoryId: string;
825
1172
  authorization: string;
826
- }, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponse>;
1173
+ }, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponseRead>;
827
1174
  /**
828
1175
  * Delete Repository Service
829
1176
  */
@@ -918,11 +1265,26 @@ export declare function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, cr
918
1265
  name?: string | null;
919
1266
  pageSize?: number;
920
1267
  page?: number;
921
- orderBy?: string;
1268
+ 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";
922
1269
  orderDirection?: string;
923
1270
  integrationId?: string;
924
1271
  authorization: string;
925
- }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupResponse>;
1272
+ }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupResponseRead>;
1273
+ /**
1274
+ * List Program Group Download Service
1275
+ */
1276
+ export declare function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ moduleId, createdByEmail, reportByEmail, tags, name, orderBy, orderDirection, integrationId, extension, authorization }: {
1277
+ moduleId?: string | null;
1278
+ createdByEmail?: string | null;
1279
+ reportByEmail?: string | null;
1280
+ tags?: string[] | null;
1281
+ name?: string | null;
1282
+ 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";
1283
+ orderDirection?: string;
1284
+ integrationId?: string;
1285
+ extension?: "csv" | "xlsx";
1286
+ authorization: string;
1287
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
926
1288
  /**
927
1289
  * Get Program Group By Id Service
928
1290
  */
@@ -965,7 +1327,7 @@ export declare function listProgramGroupReportServiceV1ProgramGroupsProgramGroup
965
1327
  page?: number;
966
1328
  lastEvaluatedKey?: string;
967
1329
  authorization: string;
968
- }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupReportResponse>;
1330
+ }, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupReportResponseRead>;
969
1331
  /**
970
1332
  * List Tags Service
971
1333
  */
@@ -991,7 +1353,7 @@ export declare function analyticsRepositoryLastReportStatusV1AnalyticsRepositori
991
1353
  executedBy?: string[] | null;
992
1354
  repositoryUrl?: string | null;
993
1355
  tags?: string[] | null;
994
- orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
1356
+ orderBy?: ("repositoryUrl" | "moduleName" | "merged" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
995
1357
  orderDirection?: ("ASC" | "DESC") | null;
996
1358
  startDate?: string | null;
997
1359
  endDate?: string | null;
@@ -1137,6 +1499,111 @@ export declare function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGro
1137
1499
  extension?: "csv" | "xlsx";
1138
1500
  authorization: string;
1139
1501
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
1502
+ /**
1503
+ * Analytics Program Groups Details
1504
+ */
1505
+ export declare function analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet({ pageSize, page, programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
1506
+ pageSize?: number;
1507
+ page?: number;
1508
+ programName?: string | null;
1509
+ tags?: string[] | null;
1510
+ mode?: ("scan" | "fix") | null;
1511
+ moduleId?: string[] | null;
1512
+ programCreatedById?: string[] | null;
1513
+ reportCreatedById?: string[] | null;
1514
+ startDate?: string;
1515
+ endDate?: string;
1516
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
1517
+ orderDirection?: ("ASC" | "DESC") | null;
1518
+ authorization: string;
1519
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsDetailsResponse>;
1520
+ /**
1521
+ * Analytics Program Groups Details Download
1522
+ */
1523
+ export declare function analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet({ programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
1524
+ programName?: string | null;
1525
+ tags?: string[] | null;
1526
+ mode?: ("scan" | "fix") | null;
1527
+ moduleId?: string[] | null;
1528
+ programCreatedById?: string[] | null;
1529
+ reportCreatedById?: string[] | null;
1530
+ startDate?: string;
1531
+ endDate?: string;
1532
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
1533
+ orderDirection?: ("ASC" | "DESC") | null;
1534
+ extension?: "csv" | "xlsx";
1535
+ authorization: string;
1536
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1537
+ /**
1538
+ * Analytics Repository Detailed Report
1539
+ */
1540
+ export declare function analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet({ pageSize, page, repositoryUrl, tags, mode, moduleId, repositoryCreatedById, executedBy, startDate, endDate, orderBy, orderDirection, authorization }: {
1541
+ pageSize?: number;
1542
+ page?: number;
1543
+ repositoryUrl?: string | null;
1544
+ tags?: string[] | null;
1545
+ mode?: ("scan" | "fix") | null;
1546
+ moduleId?: string[] | null;
1547
+ repositoryCreatedById?: string[] | null;
1548
+ executedBy?: string[] | null;
1549
+ startDate?: string;
1550
+ endDate?: string;
1551
+ orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
1552
+ orderDirection?: ("ASC" | "DESC") | null;
1553
+ authorization: string;
1554
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
1555
+ /**
1556
+ * Analytics Repository Detailed Report Download
1557
+ */
1558
+ export declare function analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet({ repositoryUrl, tags, mode, moduleId, repositoryCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
1559
+ repositoryUrl?: string | null;
1560
+ tags?: string[] | null;
1561
+ mode?: ("scan" | "fix") | null;
1562
+ moduleId?: string[] | null;
1563
+ repositoryCreatedById?: string[] | null;
1564
+ reportCreatedById?: string[] | null;
1565
+ startDate?: string;
1566
+ endDate?: string;
1567
+ orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
1568
+ orderDirection?: ("ASC" | "DESC") | null;
1569
+ extension?: "csv" | "xlsx";
1570
+ authorization: string;
1571
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
1572
+ /**
1573
+ * Analytics Program Groups Target Details
1574
+ */
1575
+ export declare function analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet({ pageSize, page, programName, componentName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
1576
+ pageSize?: number;
1577
+ page?: number;
1578
+ programName?: string | null;
1579
+ componentName?: string | null;
1580
+ tags?: string[] | null;
1581
+ mode?: ("scan" | "fix") | null;
1582
+ moduleId?: string[] | null;
1583
+ reportCreatedById?: string[] | null;
1584
+ startDate?: string;
1585
+ endDate?: string;
1586
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
1587
+ orderDirection?: ("ASC" | "DESC") | null;
1588
+ authorization: string;
1589
+ }, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsTargetDetailsResponse>;
1590
+ /**
1591
+ * Analytics Program Groups Target Details Download
1592
+ */
1593
+ export declare function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet({ programName, tags, mode, moduleId, componentName, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
1594
+ programName?: string | null;
1595
+ tags?: string[] | null;
1596
+ mode?: ("scan" | "fix") | null;
1597
+ moduleId?: string[] | null;
1598
+ componentName?: string | null;
1599
+ reportCreatedById?: string[] | null;
1600
+ startDate?: string;
1601
+ endDate?: string;
1602
+ orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
1603
+ orderDirection?: ("ASC" | "DESC") | null;
1604
+ extension?: "csv" | "xlsx";
1605
+ authorization: string;
1606
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
1140
1607
  /**
1141
1608
  * List User Service
1142
1609
  */