@stack-spot/portal-network 0.160.0-beta.2 → 0.160.0

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 (147) hide show
  1. package/CHANGELOG.md +2 -84
  2. package/dist/api/codeShift.d.ts +205 -146
  3. package/dist/api/codeShift.d.ts.map +1 -1
  4. package/dist/api/codeShift.js +94 -50
  5. package/dist/api/codeShift.js.map +1 -1
  6. package/dist/api-addresses.d.ts +0 -32
  7. package/dist/api-addresses.d.ts.map +1 -1
  8. package/dist/api-addresses.js +0 -53
  9. package/dist/api-addresses.js.map +1 -1
  10. package/dist/client/account.d.ts +7 -0
  11. package/dist/client/account.d.ts.map +1 -1
  12. package/dist/client/account.js +12 -3
  13. package/dist/client/account.js.map +1 -1
  14. package/dist/client/agent-tools.d.ts +3 -89
  15. package/dist/client/agent-tools.d.ts.map +1 -1
  16. package/dist/client/agent-tools.js +4 -135
  17. package/dist/client/agent-tools.js.map +1 -1
  18. package/dist/client/agent.d.ts +49 -5
  19. package/dist/client/agent.d.ts.map +1 -1
  20. package/dist/client/agent.js +65 -2
  21. package/dist/client/agent.js.map +1 -1
  22. package/dist/client/ai.d.ts +0 -7
  23. package/dist/client/ai.d.ts.map +1 -1
  24. package/dist/client/ai.js +3 -12
  25. package/dist/client/ai.js.map +1 -1
  26. package/dist/client/api-management.d.ts.map +1 -1
  27. package/dist/client/api-management.js +2 -2
  28. package/dist/client/api-management.js.map +1 -1
  29. package/dist/client/cloud-account.d.ts.map +1 -1
  30. package/dist/client/cloud-account.js +2 -2
  31. package/dist/client/cloud-account.js.map +1 -1
  32. package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
  33. package/dist/client/cloud-platform-horizon.js +2 -2
  34. package/dist/client/cloud-platform-horizon.js.map +1 -1
  35. package/dist/client/cloud-platform.d.ts.map +1 -1
  36. package/dist/client/cloud-platform.js +2 -2
  37. package/dist/client/cloud-platform.js.map +1 -1
  38. package/dist/client/cloud-runtimes.d.ts.map +1 -1
  39. package/dist/client/cloud-runtimes.js +2 -2
  40. package/dist/client/cloud-runtimes.js.map +1 -1
  41. package/dist/client/cloud-services.d.ts.map +1 -1
  42. package/dist/client/cloud-services.js +2 -2
  43. package/dist/client/cloud-services.js.map +1 -1
  44. package/dist/client/code-shift.d.ts +67 -32
  45. package/dist/client/code-shift.d.ts.map +1 -1
  46. package/dist/client/code-shift.js +75 -41
  47. package/dist/client/code-shift.js.map +1 -1
  48. package/dist/client/content.d.ts.map +1 -1
  49. package/dist/client/content.js +2 -2
  50. package/dist/client/content.js.map +1 -1
  51. package/dist/client/data-integration.d.ts.map +1 -1
  52. package/dist/client/data-integration.js +2 -2
  53. package/dist/client/data-integration.js.map +1 -1
  54. package/dist/client/discovery.d.ts.map +1 -1
  55. package/dist/client/discovery.js +2 -2
  56. package/dist/client/discovery.js.map +1 -1
  57. package/dist/client/event-bus.d.ts.map +1 -1
  58. package/dist/client/event-bus.js +2 -2
  59. package/dist/client/event-bus.js.map +1 -1
  60. package/dist/client/gen-ai-inference.d.ts +0 -9
  61. package/dist/client/gen-ai-inference.d.ts.map +1 -1
  62. package/dist/client/gen-ai-inference.js +3 -12
  63. package/dist/client/gen-ai-inference.js.map +1 -1
  64. package/dist/client/insights.d.ts.map +1 -1
  65. package/dist/client/insights.js +2 -2
  66. package/dist/client/insights.js.map +1 -1
  67. package/dist/client/notification.d.ts.map +1 -1
  68. package/dist/client/notification.js +2 -2
  69. package/dist/client/notification.js.map +1 -1
  70. package/dist/client/runtime-manager.d.ts.map +1 -1
  71. package/dist/client/runtime-manager.js +2 -2
  72. package/dist/client/runtime-manager.js.map +1 -1
  73. package/dist/client/secrets.d.ts.map +1 -1
  74. package/dist/client/secrets.js +2 -2
  75. package/dist/client/secrets.js.map +1 -1
  76. package/dist/client/types.d.ts +4 -5
  77. package/dist/client/types.d.ts.map +1 -1
  78. package/dist/client/workflow.d.ts.map +1 -1
  79. package/dist/client/workflow.js +2 -2
  80. package/dist/client/workflow.js.map +1 -1
  81. package/dist/client/workspace-ai.d.ts +4 -1
  82. package/dist/client/workspace-ai.d.ts.map +1 -1
  83. package/dist/client/workspace-ai.js +2 -2
  84. package/dist/client/workspace-ai.js.map +1 -1
  85. package/dist/client/workspace-manager.d.ts.map +1 -1
  86. package/dist/client/workspace-manager.js +2 -2
  87. package/dist/client/workspace-manager.js.map +1 -1
  88. package/dist/client/workspace-search.d.ts.map +1 -1
  89. package/dist/client/workspace-search.js +2 -2
  90. package/dist/client/workspace-search.js.map +1 -1
  91. package/dist/client/workspace.d.ts.map +1 -1
  92. package/dist/client/workspace.js +2 -2
  93. package/dist/client/workspace.js.map +1 -1
  94. package/dist/error/DefaultAPIError.d.ts +1 -1
  95. package/dist/error/DefaultAPIError.d.ts.map +1 -1
  96. package/dist/error/DefaultAPIError.js +12 -27
  97. package/dist/error/DefaultAPIError.js.map +1 -1
  98. package/dist/index.d.ts +1 -1
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +1 -1
  101. package/dist/index.js.map +1 -1
  102. package/dist/network/NetworkClient.d.ts +0 -6
  103. package/dist/network/NetworkClient.d.ts.map +1 -1
  104. package/dist/network/NetworkClient.js +1 -10
  105. package/dist/network/NetworkClient.js.map +1 -1
  106. package/package.json +1 -1
  107. package/readme.md +1 -1
  108. package/src/api/account.ts +0 -1
  109. package/src/api/agent-tools.ts +0 -3
  110. package/src/api/agent.ts +0 -2
  111. package/src/api/codeShift.ts +490 -322
  112. package/src/api/notification.ts +0 -2
  113. package/src/api-addresses.ts +0 -71
  114. package/src/client/account.ts +7 -2
  115. package/src/client/agent-tools.ts +5 -103
  116. package/src/client/agent.ts +68 -2
  117. package/src/client/ai.ts +2 -8
  118. package/src/client/api-management.ts +2 -2
  119. package/src/client/cloud-account.ts +2 -2
  120. package/src/client/cloud-platform-horizon.ts +2 -2
  121. package/src/client/cloud-platform.ts +2 -2
  122. package/src/client/cloud-runtimes.ts +2 -2
  123. package/src/client/cloud-services.ts +2 -2
  124. package/src/client/code-shift.ts +59 -26
  125. package/src/client/content.ts +2 -2
  126. package/src/client/data-integration.ts +2 -2
  127. package/src/client/discovery.ts +2 -2
  128. package/src/client/event-bus.ts +2 -2
  129. package/src/client/gen-ai-inference.ts +3 -8
  130. package/src/client/insights.ts +2 -2
  131. package/src/client/notification.ts +2 -2
  132. package/src/client/runtime-manager.ts +2 -2
  133. package/src/client/secrets.ts +2 -2
  134. package/src/client/types.ts +5 -7
  135. package/src/client/workflow.ts +2 -2
  136. package/src/client/workspace-ai.ts +2 -2
  137. package/src/client/workspace-manager.ts +2 -2
  138. package/src/client/workspace-search.ts +2 -2
  139. package/src/client/workspace.ts +2 -2
  140. package/src/error/DefaultAPIError.ts +12 -35
  141. package/src/index.ts +1 -1
  142. package/src/network/NetworkClient.ts +1 -11
  143. package/dist/error/types.d.ts +0 -19
  144. package/dist/error/types.d.ts.map +0 -1
  145. package/dist/error/types.js +0 -2
  146. package/dist/error/types.js.map +0 -1
  147. package/src/error/types.ts +0 -21
@@ -19,6 +19,122 @@ export type ValidationError = {
19
19
  export type HttpValidationError = {
20
20
  detail?: ValidationError[];
21
21
  };
22
+ export type ModuleResponse = {
23
+ id: string;
24
+ name: string;
25
+ };
26
+ export type ExecutionResponse = {
27
+ id: string;
28
+ startedAt: string | null;
29
+ completedAt: string | null;
30
+ status: string | null;
31
+ conclusion: string | null;
32
+ };
33
+ export type UserResponse = {
34
+ id: string;
35
+ name: string;
36
+ email: string;
37
+ ip?: string | null;
38
+ };
39
+ export type ReportResponse = {
40
+ id: string;
41
+ "module": ModuleResponse | null;
42
+ execution: ExecutionResponse | null;
43
+ mode: string;
44
+ sourceBranch: string;
45
+ targetBranch?: string | null;
46
+ createdBy: UserResponse;
47
+ createdAt: string;
48
+ updatedAt: string;
49
+ filesCount: number | null;
50
+ issuesCount: number | null;
51
+ pullRequestLink?: string | null;
52
+ errorLog?: string | null;
53
+ };
54
+ export type ListApplicationReportResponse = {
55
+ /** List of reports */
56
+ items: ReportResponse[];
57
+ /** Number of reports */
58
+ itemsCount: number;
59
+ /** Last evaluated key */
60
+ lastEvaluatedKey: string | null;
61
+ };
62
+ export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
63
+ 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";
64
+ export type InvalidPayloadDetails = {
65
+ code: BadRequestExceptionTypes | ExceptionType;
66
+ field: string | null;
67
+ message?: string | null;
68
+ };
69
+ export type HttpErrorResponse = {
70
+ status: string;
71
+ code: ExceptionType;
72
+ details: string;
73
+ validationDetails?: InvalidPayloadDetails[] | null;
74
+ };
75
+ export type BodyCreateApplicationsBatchServiceV1ApplicationsBatchPost = {
76
+ file: Blob;
77
+ };
78
+ export type RepositoryRequest = {
79
+ url: string;
80
+ defaultBranch: string;
81
+ };
82
+ export type CreateApplicationRequest = {
83
+ /** Application name */
84
+ name?: string | null;
85
+ /** Repository */
86
+ repository: RepositoryRequest;
87
+ };
88
+ export type RepositoryResponse = {
89
+ url: string;
90
+ defaultBranch: string;
91
+ };
92
+ export type ReportResponse2 = {
93
+ id: string;
94
+ execution: ExecutionResponse | null;
95
+ mode: string;
96
+ moduleId: string | null;
97
+ sourceBranch: string;
98
+ targetBranch?: string | null;
99
+ createdBy: UserResponse;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ filesCount: number | null;
103
+ issuesCount: number | null;
104
+ pullRequestLink?: string | null;
105
+ errorLog?: string | null;
106
+ };
107
+ export type ApplicationResponse = {
108
+ /** Application ID */
109
+ id: string;
110
+ /** Application name */
111
+ name: string;
112
+ /** Application creation date */
113
+ createdAt?: string | null;
114
+ /** Application creation user */
115
+ createdBy?: string | null;
116
+ /** Repository */
117
+ repository: RepositoryResponse | null;
118
+ lastModuleReport: ReportResponse2 | null;
119
+ };
120
+ export type ListApplicationResponse = {
121
+ /** List of applications */
122
+ items: ApplicationResponse[];
123
+ /** Number of applications */
124
+ itemsCount: number;
125
+ /** Last evaluated key */
126
+ lastEvaluatedKey: string | null;
127
+ };
128
+ export type RepositoryRequest2 = {
129
+ url?: string | null;
130
+ defaultBranch?: string | null;
131
+ };
132
+ export type PutApplicationRequest = {
133
+ /** Application name */
134
+ name?: string | null;
135
+ /** Repository */
136
+ repository?: RepositoryRequest2 | null;
137
+ };
22
138
  export type ModuleType = "repository" | "program_group";
23
139
  export type InputRequest = {
24
140
  name: string;
@@ -44,47 +160,13 @@ export type CreateModuleRequest = {
44
160
  inputs: InputRequest[];
45
161
  /** Module studio */
46
162
  studio: string;
47
- /** Module studio */
48
- constants?: {
49
- [key: string]: any;
50
- } | null;
51
- };
52
- 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_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_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
53
- 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";
54
- export type InvalidPayloadDetails = {
55
- code: BadRequestExceptionTypes | ExceptionType;
56
- field: string | null;
57
- message?: string | null;
58
- };
59
- export type SuggestedMessage = {
60
- ptBr: string | null;
61
- enUs: string | null;
62
- };
63
- export type InvalidPayloadDetailsRead = {
64
- code: BadRequestExceptionTypes | ExceptionType;
65
- field: string | null;
66
- message?: string | null;
67
- suggestedMessages: SuggestedMessage | null;
68
- };
69
- export type HttpErrorResponse = {
70
- status: string;
71
- code: ExceptionType;
72
- details: string;
73
- validationDetails?: InvalidPayloadDetails[] | null;
74
- };
75
- export type HttpErrorResponseRead = {
76
- status: string;
77
- code: ExceptionType;
78
- details: string;
79
- validationDetails?: InvalidPayloadDetailsRead[] | null;
80
- suggestedMessages: SuggestedMessage | null;
81
163
  };
82
164
  export type InputResponse = {
83
165
  name: string;
84
166
  required: boolean;
85
167
  "default": string;
86
168
  };
87
- export type ModuleResponse = {
169
+ export type ModuleResponse2 = {
88
170
  /** Module ID */
89
171
  id: string;
90
172
  /** Module type */
@@ -105,14 +187,10 @@ export type ModuleResponse = {
105
187
  tags: string[];
106
188
  /** Module inputs */
107
189
  inputs: InputResponse[];
108
- /** Module studio */
109
- constants?: {
110
- [key: string]: any;
111
- } | null;
112
190
  };
113
191
  export type ListModuleResponse = {
114
192
  /** List of modules */
115
- items: ModuleResponse[];
193
+ items: ModuleResponse2[];
116
194
  /** Number of modules */
117
195
  itemsCount: number;
118
196
  /** Last evaluated key */
@@ -135,10 +213,6 @@ export type PutModuleRequest = {
135
213
  tags?: string[] | null;
136
214
  /** Inputs of module */
137
215
  inputs?: InputRequest[] | null;
138
- /** Module studio */
139
- constants?: {
140
- [key: string]: any;
141
- } | null;
142
216
  };
143
217
  export type Mode = "scan" | "fix";
144
218
  export type ModuleDispatchRequest = {
@@ -162,8 +236,8 @@ export type DependsOnRequest = {
162
236
  description: string;
163
237
  };
164
238
  export type IssuesRequest = {
165
- ref?: string | null;
166
- line?: number | null;
239
+ ref: string;
240
+ line: number;
167
241
  description: string;
168
242
  severity?: string | null;
169
243
  recommendation?: string | null;
@@ -172,41 +246,27 @@ export type TargetFilesRequest = {
172
246
  fileName: string;
173
247
  filePath: string;
174
248
  details?: string | null;
175
- dependsOn?: DependsOnRequest[] | null;
176
- issues?: IssuesRequest[] | null;
249
+ dependsOn: DependsOnRequest[];
250
+ issues: IssuesRequest[];
177
251
  };
178
252
  export type PutReportRequest = {
179
253
  filesCount?: number;
180
254
  issuesCount: number;
181
255
  totalFilesCount?: number | null;
182
256
  analyzedFilesCount?: number | null;
183
- changedFilesCount?: number | null;
184
257
  pullRequestLink?: string | null;
185
258
  commitHash?: string | null;
186
259
  targetFiles: TargetFilesRequest[];
187
260
  };
188
- export type ModuleResponse2 = {
261
+ export type ModuleResponse3 = {
189
262
  id: string;
190
263
  name: string;
191
264
  };
192
- export type ApplicationResponse = {
265
+ export type ApplicationResponse2 = {
193
266
  id: string;
194
267
  name: string;
195
268
  url: string;
196
269
  };
197
- export type ExecutionResponse = {
198
- id: string;
199
- startedAt: string | null;
200
- completedAt: string | null;
201
- status: string | null;
202
- conclusion: string | null;
203
- };
204
- export type UserResponse = {
205
- id: string;
206
- name: string;
207
- email: string;
208
- ip?: string | null;
209
- };
210
270
  export type ProgramGroupResponse = {
211
271
  id: string;
212
272
  name: string;
@@ -217,8 +277,8 @@ export type DependsOnResponse = {
217
277
  description: string;
218
278
  };
219
279
  export type IssuesResponse = {
220
- ref?: string | null;
221
- line?: number | null;
280
+ ref: string;
281
+ line: number;
222
282
  description: string;
223
283
  lineLink?: string | null;
224
284
  severity?: string | null;
@@ -228,14 +288,13 @@ export type TargetFilesResponse = {
228
288
  fileName: string;
229
289
  filePath: string;
230
290
  details?: string | null;
231
- dependsOn?: DependsOnResponse[] | null;
232
- issues?: IssuesResponse[] | null;
291
+ dependsOn: DependsOnResponse[];
292
+ issues: IssuesResponse[];
233
293
  };
234
- export type ReportStatus = "waiting_dispatch" | "waiting_runner" | "dispatch_failure" | "in_progress" | "suspended" | "error" | "success" | "cancelled";
235
294
  export type GetReportResponse = {
236
295
  id: string;
237
- "module": ModuleResponse2 | null;
238
- application: ApplicationResponse | null;
296
+ "module": ModuleResponse3 | null;
297
+ application: ApplicationResponse2 | null;
239
298
  execution: ExecutionResponse | null;
240
299
  mode: string;
241
300
  sourceBranch: string | null;
@@ -245,7 +304,6 @@ export type GetReportResponse = {
245
304
  updatedAt: string;
246
305
  filesCount: number | null;
247
306
  totalFilesCount: number | null;
248
- changedFilesCount: number | null;
249
307
  analyzedFilesCount: number | null;
250
308
  issuesFilesCount: number | null;
251
309
  issuesCount: number | null;
@@ -254,13 +312,6 @@ export type GetReportResponse = {
254
312
  programGroup: ProgramGroupResponse | null;
255
313
  targetFiles: TargetFilesResponse[];
256
314
  errorLog?: string | null;
257
- status: ReportStatus | null;
258
- };
259
- export type GetPullRequest = {
260
- content: string;
261
- };
262
- export type GetPullRequest = {
263
- content: string;
264
315
  };
265
316
  export type SearchRepoScmResponse = {
266
317
  id: string;
@@ -270,13 +321,13 @@ export type GetStatusSearchRepoScmResponse = {
270
321
  status: SearchRepositoryStatus;
271
322
  errorLog?: string | null;
272
323
  };
273
- export type ModuleResponse3 = {
324
+ export type ModuleResponse4 = {
274
325
  id: string;
275
326
  name: string;
276
327
  };
277
- export type ReportResponse = {
328
+ export type ReportResponse3 = {
278
329
  id: string;
279
- "module": ModuleResponse3;
330
+ "module": ModuleResponse4;
280
331
  execution: ExecutionResponse | null;
281
332
  mode: string;
282
333
  sourceBranch: string;
@@ -288,11 +339,10 @@ export type ReportResponse = {
288
339
  issuesCount: number | null;
289
340
  pullRequestLink?: string | null;
290
341
  errorLog?: string | null;
291
- status: ReportStatus | null;
292
342
  };
293
343
  export type ListRepositoryReportResponse = {
294
344
  /** List of reports */
295
- items: ReportResponse[];
345
+ items: ReportResponse3[];
296
346
  /** Number of reports */
297
347
  itemsCount: number;
298
348
  /** Last evaluated key */
@@ -306,63 +356,51 @@ export type CreateRepositoryRequest = {
306
356
  defaultBranch: string;
307
357
  tags?: string[] | null;
308
358
  };
309
- export type ReportResponse2 = {
359
+ export type ReportResponse4 = {
310
360
  id: string;
311
361
  execution: ExecutionResponse | null;
312
362
  mode: string;
313
363
  moduleId: string;
314
364
  sourceBranch: string;
315
365
  targetBranch?: string | null;
316
- createdBy: UserResponse | null;
366
+ createdBy: UserResponse;
317
367
  createdAt: string;
318
368
  updatedAt: string;
319
369
  filesCount: number | null;
320
370
  issuesCount: number | null;
321
371
  pullRequestLink?: string | null;
322
372
  errorLog?: string | null;
323
- status: ReportStatus | null;
324
373
  };
325
- export type RepositoryResponse = {
374
+ export type RepositoryResponse2 = {
326
375
  /** Repository ID */
327
376
  id: string;
328
377
  /** Repository creation date */
329
378
  createdAt?: string | null;
330
379
  /** Repository creation user */
331
380
  createdBy?: string | null;
332
- lastModuleReport: ReportResponse2 | null;
381
+ lastModuleReport: ReportResponse4 | null;
333
382
  tags: string[];
334
383
  url: string;
335
384
  defaultBranch: string;
336
385
  };
337
386
  export type ListRepositoryResponse = {
338
387
  /** List of applications */
339
- items: RepositoryResponse[];
388
+ items: RepositoryResponse2[];
340
389
  /** Number of applications */
341
390
  itemsCount: number;
342
391
  /** Last evaluated key */
343
392
  lastEvaluatedKey?: string | null;
344
393
  };
345
- export type ListBranchesResponse = {
346
- /** List of all branches */
347
- branches: string[];
348
- };
349
394
  export type PutRepositoryRequest = {
350
395
  url?: string | null;
351
396
  defaultBranch?: string | null;
352
397
  tags?: string[] | null;
353
398
  };
354
- export type ValidateScmUrlRequest = {
355
- url?: string | null;
356
- };
357
399
  export type GetAccountSettingsRequest = {
358
400
  maxSimultaneousExecution: number | null;
359
401
  };
360
402
  export type CreateAccountSettingsRequest = {
361
- maxSimultaneousExecution?: number | null;
362
- pullRequestSyncEnabled?: boolean | null;
363
- pullRequestSyncMinHours?: number | null;
364
- pullRequestSyncMaxHours?: number | null;
365
- pullRequestSyncReprocessTime?: number | null;
403
+ maxSimultaneousExecution: number;
366
404
  };
367
405
  export type CreateIntegrationRequest = {
368
406
  name: string;
@@ -402,7 +440,7 @@ export type BodyCreateProgramGroupServiceV1ProgramGroupsPost = {
402
440
  export type CreateProgramGroupResponse = {
403
441
  id: string;
404
442
  };
405
- export type ReportResponse3 = {
443
+ export type ReportResponse5 = {
406
444
  id: string;
407
445
  execution: ExecutionResponse | null;
408
446
  mode: string;
@@ -414,7 +452,6 @@ export type ReportResponse3 = {
414
452
  issuesCount: number | null;
415
453
  pullRequestLink?: string | null;
416
454
  errorLog?: string | null;
417
- status: ReportStatus | null;
418
455
  };
419
456
  export type ProgramGroupResponse2 = {
420
457
  id: string;
@@ -423,10 +460,10 @@ export type ProgramGroupResponse2 = {
423
460
  tags: string[];
424
461
  components: any[];
425
462
  accountId: string;
426
- createdBy: string | null;
463
+ createdBy: string;
427
464
  createdAt: string;
428
465
  updatedAt: string;
429
- lastModuleReport: ReportResponse3 | null;
466
+ lastModuleReport: ReportResponse5 | null;
430
467
  };
431
468
  export type ListProgramGroupResponse = {
432
469
  items: ProgramGroupResponse2[];
@@ -446,18 +483,13 @@ export type ProgramGroupResponse3 = {
446
483
  export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
447
484
  file?: Blob | null;
448
485
  };
449
- export type PutProgramGroupComponentsRequest = {
450
- appl_name: string;
451
- component_type: string;
452
- component: string;
453
- };
454
- export type ModuleResponse4 = {
486
+ export type ModuleResponse5 = {
455
487
  id: string;
456
488
  name: string;
457
489
  };
458
- export type ReportResponse4 = {
490
+ export type ReportResponse6 = {
459
491
  id: string;
460
- "module": ModuleResponse4;
492
+ "module": ModuleResponse5;
461
493
  execution: ExecutionResponse | null;
462
494
  mode: string;
463
495
  createdBy: UserResponse;
@@ -467,11 +499,10 @@ export type ReportResponse4 = {
467
499
  issuesCount: number | null;
468
500
  pullRequestLink?: string | null;
469
501
  errorLog?: string | null;
470
- status: ReportStatus | null;
471
502
  };
472
503
  export type ListProgramGroupReportResponse = {
473
504
  /** List of reports */
474
- items: ReportResponse4[];
505
+ items: ReportResponse6[];
475
506
  /** Number of reports */
476
507
  itemsCount: number;
477
508
  };
@@ -489,6 +520,63 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
489
520
  role: CodeShiftRole;
490
521
  authorization: string;
491
522
  }, opts?: Oazapfts.RequestOpts): Promise<RolesResponse>;
523
+ /**
524
+ * List Application Report
525
+ */
526
+ export declare function listApplicationReportV1ApplicationsApplicationIdReportsGet({ applicationId, pageSize, page, lastEvaluatedKey, authorization }: {
527
+ applicationId: string;
528
+ pageSize?: number;
529
+ page?: number;
530
+ lastEvaluatedKey?: string;
531
+ authorization: string;
532
+ }, opts?: Oazapfts.RequestOpts): Promise<ListApplicationReportResponse>;
533
+ /**
534
+ * Create Applications Batch Service
535
+ */
536
+ export declare function createApplicationsBatchServiceV1ApplicationsBatchPost({ authorization, bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost }: {
537
+ authorization: string;
538
+ bodyCreateApplicationsBatchServiceV1ApplicationsBatchPost: BodyCreateApplicationsBatchServiceV1ApplicationsBatchPost;
539
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
540
+ /**
541
+ * Create Application Service
542
+ */
543
+ export declare function createApplicationServiceV1ApplicationsPost({ authorization, createApplicationRequest }: {
544
+ authorization: string;
545
+ createApplicationRequest: CreateApplicationRequest;
546
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
547
+ /**
548
+ * List Application Service
549
+ */
550
+ export declare function listApplicationServiceV1ApplicationsGet({ pageSize, page, lastEvaluatedKey, filter, moduleId, authorization }: {
551
+ pageSize?: number;
552
+ page?: number;
553
+ lastEvaluatedKey?: string;
554
+ filter?: string;
555
+ moduleId?: string;
556
+ authorization: string;
557
+ }, opts?: Oazapfts.RequestOpts): Promise<ListApplicationResponse>;
558
+ /**
559
+ * Get Application By Id Service
560
+ */
561
+ export declare function getApplicationByIdServiceV1ApplicationsApplicationIdGet({ applicationId, authorization }: {
562
+ applicationId: string;
563
+ authorization: string;
564
+ }, opts?: Oazapfts.RequestOpts): Promise<ApplicationResponse>;
565
+ /**
566
+ * Delete Application Service
567
+ */
568
+ export declare function deleteApplicationServiceV1ApplicationsApplicationIdDelete({ applicationId, authorization }: {
569
+ applicationId: string;
570
+ authorization: string;
571
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
572
+ /**
573
+ * Update Application Service
574
+ */
575
+ export declare function updateApplicationServiceV1ApplicationsApplicationIdPut({ applicationId, authorization, putApplicationRequest }: {
576
+ applicationId: string;
577
+ authorization: string;
578
+ putApplicationRequest: PutApplicationRequest;
579
+ }, opts?: Oazapfts.RequestOpts): Promise<any>;
492
580
  /**
493
581
  * Create Module Service
494
582
  */
@@ -547,13 +635,6 @@ export declare function getReportV1ReportsReportIdGet({ reportId, authorization
547
635
  reportId: string;
548
636
  authorization: string;
549
637
  }, opts?: Oazapfts.RequestOpts): Promise<GetReportResponse>;
550
- /**
551
- * Get Report Pull Request Content
552
- */
553
- export declare function getReportPullRequestContentV1ReportsReportIdPullRequestGet({ reportId, authorization }: {
554
- reportId: string;
555
- authorization: string;
556
- }, opts?: Oazapfts.RequestOpts): Promise<GetPullRequest>;
557
638
  /**
558
639
  * Download Report
559
640
  */
@@ -625,20 +706,13 @@ export declare function listRepositoryServiceV1ReposGet({ pageSize, page, lastEv
625
706
  tags?: string[] | null;
626
707
  authorization: string;
627
708
  }, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponse>;
628
- /**
629
- * List Branches Service
630
- */
631
- export declare function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, authorization }: {
632
- repositoryUrl: string;
633
- authorization: string;
634
- }, opts?: Oazapfts.RequestOpts): Promise<ListBranchesResponse>;
635
709
  /**
636
710
  * Get Repository By Id Service
637
711
  */
638
712
  export declare function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, authorization }: {
639
713
  repositoryId: string;
640
714
  authorization: string;
641
- }, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponse>;
715
+ }, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponse2>;
642
716
  /**
643
717
  * Delete Repository Service
644
718
  */
@@ -654,13 +728,6 @@ export declare function updateRepositoryServiceV1ReposRepositoryIdPut({ reposito
654
728
  authorization: string;
655
729
  putRepositoryRequest: PutRepositoryRequest;
656
730
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
657
- /**
658
- * Validate Scm Url Service
659
- */
660
- export declare function validateScmUrlServiceV1ReposValidateScmUrlPost({ authorization, validateScmUrlRequest }: {
661
- authorization: string;
662
- validateScmUrlRequest: ValidateScmUrlRequest;
663
- }, opts?: Oazapfts.RequestOpts): Promise<any>;
664
731
  /**
665
732
  * Get Account Settings
666
733
  */
@@ -763,14 +830,6 @@ export declare function deleteProgramGroupServiceV1ProgramGroupsProgramGroupIdDe
763
830
  programGroupId: string;
764
831
  authorization: string;
765
832
  }, opts?: Oazapfts.RequestOpts): Promise<any>;
766
- /**
767
- * Update Program Group Components Service
768
- */
769
- export declare function updateProgramGroupComponentsServiceV1ProgramGroupsProgramGroupIdComponentsPut({ programGroupId, authorization, body }: {
770
- programGroupId: string;
771
- authorization: string;
772
- body: PutProgramGroupComponentsRequest[];
773
- }, opts?: Oazapfts.RequestOpts): Promise<any>;
774
833
  /**
775
834
  * List Program Group Report Service
776
835
  */