@stack-spot/portal-network 0.173.1 → 0.174.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.
- package/CHANGELOG.md +230 -0
- package/dist/api/ai.d.ts +2 -0
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +504 -23
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +217 -0
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/discover.d.ts +294 -0
- package/dist/api/discover.d.ts.map +1 -0
- package/dist/api/discover.js +180 -0
- package/dist/api/discover.js.map +1 -0
- package/dist/api-addresses.d.ts +11 -3
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/api-addresses.js +22 -2
- package/dist/api-addresses.js.map +1 -1
- package/dist/apis-itau.json +225 -0
- package/dist/apis.json +2 -2
- package/dist/client/code-shift.d.ts +183 -28
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +106 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/data-integration.d.ts +9 -0
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +10 -1
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +64 -0
- package/dist/client/discover.d.ts.map +1 -0
- package/dist/client/discover.js +124 -0
- package/dist/client/discover.js.map +1 -0
- package/dist/client/workspace-manager.d.ts +9 -0
- package/dist/client/workspace-manager.d.ts.map +1 -1
- package/dist/client/workspace-manager.js +11 -2
- package/dist/client/workspace-manager.js.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +70 -8
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +74 -12
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/network/NetworkClient.d.ts +4 -2
- package/dist/network/NetworkClient.d.ts.map +1 -1
- package/dist/network/NetworkClient.js +5 -3
- package/dist/network/NetworkClient.js.map +1 -1
- package/dist/network/types.d.ts +1 -0
- package/dist/network/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/readme.md +1 -1
- package/src/api/account.ts +1 -0
- package/src/api/agent-tools.ts +3 -0
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +2 -0
- package/src/api/codeShift.ts +898 -33
- package/src/api/discover.ts +435 -0
- package/src/api/notification.ts +2 -0
- package/src/api-addresses.ts +26 -3
- package/src/apis-itau.json +225 -0
- package/src/apis.json +2 -2
- package/src/client/ai.ts +1 -0
- package/src/client/code-shift.ts +73 -7
- package/src/client/data-integration.ts +6 -0
- package/src/client/discover.ts +89 -0
- package/src/client/workspace-manager.ts +8 -1
- package/src/error/dictionary/cloud-platform.ts +74 -12
- package/src/index.ts +5 -3
- package/src/network/NetworkClient.ts +7 -4
- package/src/network/types.ts +2 -0
- package/dist/api/discovery.d.ts +0 -494
- package/dist/api/discovery.d.ts.map +0 -1
- package/dist/api/discovery.js +0 -205
- package/dist/api/discovery.js.map +0 -1
- package/dist/client/discovery.d.ts +0 -110
- package/dist/client/discovery.d.ts.map +0 -1
- package/dist/client/discovery.js +0 -133
- package/dist/client/discovery.js.map +0 -1
- package/src/api/discovery.ts +0 -729
- package/src/client/discovery.ts +0 -73
package/dist/api/codeShift.d.ts
CHANGED
|
@@ -38,9 +38,9 @@ export type CreateModuleRequest = {
|
|
|
38
38
|
/** Module description */
|
|
39
39
|
description: string;
|
|
40
40
|
/** Module workflow_name */
|
|
41
|
-
workflowName
|
|
41
|
+
workflowName?: string | null;
|
|
42
42
|
/** Module version */
|
|
43
|
-
version
|
|
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
|
|
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_0023_GENERIC_FAILURE_SEARCHING_REPOSITORY_EXCEPTION" | "CODE_SHIFT_API_0024_COMPONENTS_MAX_SIZE_ALLOWED_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";
|
|
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
|
|
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
|
|
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;
|
|
@@ -667,6 +986,13 @@ export type ListUserResponse = {
|
|
|
667
986
|
items: UserResponse6[];
|
|
668
987
|
itemsCount: number;
|
|
669
988
|
};
|
|
989
|
+
export type SearchReposInScmRequest = {
|
|
990
|
+
repository_name?: string;
|
|
991
|
+
code_term?: string | null;
|
|
992
|
+
};
|
|
993
|
+
export type SearchReposInScmResponse = {
|
|
994
|
+
search_id: string;
|
|
995
|
+
};
|
|
670
996
|
/**
|
|
671
997
|
* Check Role Route
|
|
672
998
|
*/
|
|
@@ -679,7 +1005,7 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
679
1005
|
*/
|
|
680
1006
|
export declare function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
|
|
681
1007
|
authorization: string;
|
|
682
|
-
xAccountSlug?:
|
|
1008
|
+
xAccountSlug?: string;
|
|
683
1009
|
createModuleRequest: CreateModuleRequest;
|
|
684
1010
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
685
1011
|
/**
|
|
@@ -690,7 +1016,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
|
|
|
690
1016
|
moduleType?: ModuleType | null;
|
|
691
1017
|
page?: number;
|
|
692
1018
|
lastEvaluatedKey?: string;
|
|
693
|
-
xAccountSlug?:
|
|
1019
|
+
xAccountSlug?: string;
|
|
694
1020
|
authorization: string;
|
|
695
1021
|
}, opts?: Oazapfts.RequestOpts): Promise<ListModuleResponse>;
|
|
696
1022
|
/**
|
|
@@ -699,7 +1025,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
|
|
|
699
1025
|
export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authorization, xAccountSlug }: {
|
|
700
1026
|
moduleId: string;
|
|
701
1027
|
authorization: string;
|
|
702
|
-
xAccountSlug?:
|
|
1028
|
+
xAccountSlug?: string;
|
|
703
1029
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
704
1030
|
/**
|
|
705
1031
|
* Update Module Service
|
|
@@ -707,9 +1033,23 @@ export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, a
|
|
|
707
1033
|
export declare function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorization, xAccountSlug, putModuleRequest }: {
|
|
708
1034
|
moduleId: string;
|
|
709
1035
|
authorization: string;
|
|
710
|
-
xAccountSlug?:
|
|
1036
|
+
xAccountSlug?: string;
|
|
711
1037
|
putModuleRequest: PutModuleRequest;
|
|
712
1038
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Get Module
|
|
1041
|
+
*/
|
|
1042
|
+
export declare function getModuleV1ModulesModuleIdGet({ moduleId, authorization }: {
|
|
1043
|
+
moduleId: string;
|
|
1044
|
+
authorization: string;
|
|
1045
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetModuleResponse>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Get Module Inputs
|
|
1048
|
+
*/
|
|
1049
|
+
export declare function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, authorization }: {
|
|
1050
|
+
moduleId: string;
|
|
1051
|
+
authorization: string;
|
|
1052
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetModuleInputsResponse>;
|
|
713
1053
|
/**
|
|
714
1054
|
* Dispatch Module Service
|
|
715
1055
|
*/
|
|
@@ -731,7 +1071,7 @@ export declare function putReportV1ReportsReportIdPut({ reportId, authorization,
|
|
|
731
1071
|
export declare function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
732
1072
|
reportId: string;
|
|
733
1073
|
authorization: string;
|
|
734
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1074
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetReportResponseRead>;
|
|
735
1075
|
/**
|
|
736
1076
|
* Get Report Pull Request Content
|
|
737
1077
|
*/
|
|
@@ -778,7 +1118,7 @@ export declare function listRepositoryReportV1ReposRepositoryIdReportsGet({ repo
|
|
|
778
1118
|
page?: number;
|
|
779
1119
|
lastEvaluatedKey?: string;
|
|
780
1120
|
authorization: string;
|
|
781
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1121
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryReportResponseRead>;
|
|
782
1122
|
/**
|
|
783
1123
|
* Create Repos Batch Service
|
|
784
1124
|
*/
|
|
@@ -805,11 +1145,25 @@ export declare function listRepositoryServiceV1ReposGet({ pageSize, page, lastEv
|
|
|
805
1145
|
moduleId?: string;
|
|
806
1146
|
createdByEmail?: string | null;
|
|
807
1147
|
reportByEmail?: string | null;
|
|
808
|
-
orderBy?:
|
|
809
|
-
orderDirection?:
|
|
1148
|
+
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";
|
|
1149
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
1150
|
+
tags?: string[] | null;
|
|
1151
|
+
authorization: string;
|
|
1152
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponseRead>;
|
|
1153
|
+
/**
|
|
1154
|
+
* List Repository Download Service
|
|
1155
|
+
*/
|
|
1156
|
+
export declare function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, extension, authorization }: {
|
|
1157
|
+
filter?: string;
|
|
1158
|
+
moduleId?: string;
|
|
1159
|
+
createdByEmail?: string | null;
|
|
1160
|
+
reportByEmail?: string | null;
|
|
1161
|
+
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";
|
|
1162
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
810
1163
|
tags?: string[] | null;
|
|
1164
|
+
extension?: "csv" | "xlsx";
|
|
811
1165
|
authorization: string;
|
|
812
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1166
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
813
1167
|
/**
|
|
814
1168
|
* List Branches Service
|
|
815
1169
|
*/
|
|
@@ -823,7 +1177,7 @@ export declare function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, a
|
|
|
823
1177
|
export declare function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, authorization }: {
|
|
824
1178
|
repositoryId: string;
|
|
825
1179
|
authorization: string;
|
|
826
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1180
|
+
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponseRead>;
|
|
827
1181
|
/**
|
|
828
1182
|
* Delete Repository Service
|
|
829
1183
|
*/
|
|
@@ -918,11 +1272,26 @@ export declare function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, cr
|
|
|
918
1272
|
name?: string | null;
|
|
919
1273
|
pageSize?: number;
|
|
920
1274
|
page?: number;
|
|
921
|
-
orderBy?:
|
|
922
|
-
orderDirection?:
|
|
1275
|
+
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";
|
|
1276
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
923
1277
|
integrationId?: string;
|
|
924
1278
|
authorization: string;
|
|
925
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1279
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupResponseRead>;
|
|
1280
|
+
/**
|
|
1281
|
+
* List Program Group Download Service
|
|
1282
|
+
*/
|
|
1283
|
+
export declare function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ moduleId, createdByEmail, reportByEmail, tags, name, orderBy, orderDirection, integrationId, extension, authorization }: {
|
|
1284
|
+
moduleId?: string | null;
|
|
1285
|
+
createdByEmail?: string | null;
|
|
1286
|
+
reportByEmail?: string | null;
|
|
1287
|
+
tags?: string[] | null;
|
|
1288
|
+
name?: string | null;
|
|
1289
|
+
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";
|
|
1290
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
1291
|
+
integrationId?: string;
|
|
1292
|
+
extension?: "csv" | "xlsx";
|
|
1293
|
+
authorization: string;
|
|
1294
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
926
1295
|
/**
|
|
927
1296
|
* Get Program Group By Id Service
|
|
928
1297
|
*/
|
|
@@ -965,7 +1334,7 @@ export declare function listProgramGroupReportServiceV1ProgramGroupsProgramGroup
|
|
|
965
1334
|
page?: number;
|
|
966
1335
|
lastEvaluatedKey?: string;
|
|
967
1336
|
authorization: string;
|
|
968
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1337
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupReportResponseRead>;
|
|
969
1338
|
/**
|
|
970
1339
|
* List Tags Service
|
|
971
1340
|
*/
|
|
@@ -991,7 +1360,7 @@ export declare function analyticsRepositoryLastReportStatusV1AnalyticsRepositori
|
|
|
991
1360
|
executedBy?: string[] | null;
|
|
992
1361
|
repositoryUrl?: string | null;
|
|
993
1362
|
tags?: string[] | null;
|
|
994
|
-
orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
1363
|
+
orderBy?: ("repositoryUrl" | "moduleName" | "merged" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
995
1364
|
orderDirection?: ("ASC" | "DESC") | null;
|
|
996
1365
|
startDate?: string | null;
|
|
997
1366
|
endDate?: string | null;
|
|
@@ -1137,10 +1506,122 @@ export declare function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGro
|
|
|
1137
1506
|
extension?: "csv" | "xlsx";
|
|
1138
1507
|
authorization: string;
|
|
1139
1508
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1509
|
+
/**
|
|
1510
|
+
* Analytics Program Groups Details
|
|
1511
|
+
*/
|
|
1512
|
+
export declare function analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet({ pageSize, page, programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1513
|
+
pageSize?: number;
|
|
1514
|
+
page?: number;
|
|
1515
|
+
programName?: string | null;
|
|
1516
|
+
tags?: string[] | null;
|
|
1517
|
+
mode?: ("scan" | "fix") | null;
|
|
1518
|
+
moduleId?: string[] | null;
|
|
1519
|
+
programCreatedById?: string[] | null;
|
|
1520
|
+
reportCreatedById?: string[] | null;
|
|
1521
|
+
startDate?: string;
|
|
1522
|
+
endDate?: string;
|
|
1523
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
|
|
1524
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1525
|
+
authorization: string;
|
|
1526
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsDetailsResponse>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Analytics Program Groups Details Download
|
|
1529
|
+
*/
|
|
1530
|
+
export declare function analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet({ programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1531
|
+
programName?: string | null;
|
|
1532
|
+
tags?: string[] | null;
|
|
1533
|
+
mode?: ("scan" | "fix") | null;
|
|
1534
|
+
moduleId?: string[] | null;
|
|
1535
|
+
programCreatedById?: string[] | null;
|
|
1536
|
+
reportCreatedById?: string[] | null;
|
|
1537
|
+
startDate?: string;
|
|
1538
|
+
endDate?: string;
|
|
1539
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
|
|
1540
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1541
|
+
extension?: "csv" | "xlsx";
|
|
1542
|
+
authorization: string;
|
|
1543
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1544
|
+
/**
|
|
1545
|
+
* Analytics Repository Detailed Report
|
|
1546
|
+
*/
|
|
1547
|
+
export declare function analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet({ pageSize, page, repositoryUrl, tags, mode, moduleId, repositoryCreatedById, executedBy, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1548
|
+
pageSize?: number;
|
|
1549
|
+
page?: number;
|
|
1550
|
+
repositoryUrl?: string | null;
|
|
1551
|
+
tags?: string[] | null;
|
|
1552
|
+
mode?: ("scan" | "fix") | null;
|
|
1553
|
+
moduleId?: string[] | null;
|
|
1554
|
+
repositoryCreatedById?: string[] | null;
|
|
1555
|
+
executedBy?: string[] | null;
|
|
1556
|
+
startDate?: string;
|
|
1557
|
+
endDate?: string;
|
|
1558
|
+
orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
|
|
1559
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1560
|
+
authorization: string;
|
|
1561
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
|
|
1562
|
+
/**
|
|
1563
|
+
* Analytics Repository Detailed Report Download
|
|
1564
|
+
*/
|
|
1565
|
+
export declare function analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet({ repositoryUrl, tags, mode, moduleId, repositoryCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1566
|
+
repositoryUrl?: string | null;
|
|
1567
|
+
tags?: string[] | null;
|
|
1568
|
+
mode?: ("scan" | "fix") | null;
|
|
1569
|
+
moduleId?: string[] | null;
|
|
1570
|
+
repositoryCreatedById?: string[] | null;
|
|
1571
|
+
reportCreatedById?: string[] | null;
|
|
1572
|
+
startDate?: string;
|
|
1573
|
+
endDate?: string;
|
|
1574
|
+
orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
|
|
1575
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1576
|
+
extension?: "csv" | "xlsx";
|
|
1577
|
+
authorization: string;
|
|
1578
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
|
|
1579
|
+
/**
|
|
1580
|
+
* Analytics Program Groups Target Details
|
|
1581
|
+
*/
|
|
1582
|
+
export declare function analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet({ pageSize, page, programName, componentName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1583
|
+
pageSize?: number;
|
|
1584
|
+
page?: number;
|
|
1585
|
+
programName?: string | null;
|
|
1586
|
+
componentName?: string | null;
|
|
1587
|
+
tags?: string[] | null;
|
|
1588
|
+
mode?: ("scan" | "fix") | null;
|
|
1589
|
+
moduleId?: string[] | null;
|
|
1590
|
+
reportCreatedById?: string[] | null;
|
|
1591
|
+
startDate?: string;
|
|
1592
|
+
endDate?: string;
|
|
1593
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
|
|
1594
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1595
|
+
authorization: string;
|
|
1596
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsTargetDetailsResponse>;
|
|
1597
|
+
/**
|
|
1598
|
+
* Analytics Program Groups Target Details Download
|
|
1599
|
+
*/
|
|
1600
|
+
export declare function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet({ programName, tags, mode, moduleId, componentName, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1601
|
+
programName?: string | null;
|
|
1602
|
+
tags?: string[] | null;
|
|
1603
|
+
mode?: ("scan" | "fix") | null;
|
|
1604
|
+
moduleId?: string[] | null;
|
|
1605
|
+
componentName?: string | null;
|
|
1606
|
+
reportCreatedById?: string[] | null;
|
|
1607
|
+
startDate?: string;
|
|
1608
|
+
endDate?: string;
|
|
1609
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
|
|
1610
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1611
|
+
extension?: "csv" | "xlsx";
|
|
1612
|
+
authorization: string;
|
|
1613
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1140
1614
|
/**
|
|
1141
1615
|
* List User Service
|
|
1142
1616
|
*/
|
|
1143
1617
|
export declare function listUserServiceV1UsersGet({ authorization }: {
|
|
1144
1618
|
authorization: string;
|
|
1145
1619
|
}, opts?: Oazapfts.RequestOpts): Promise<ListUserResponse>;
|
|
1620
|
+
/**
|
|
1621
|
+
* Search Repos Scm Service
|
|
1622
|
+
*/
|
|
1623
|
+
export declare function searchReposScmServiceV2ReposSearchScmPost({ authorization, searchReposInScmRequest }: {
|
|
1624
|
+
authorization: string;
|
|
1625
|
+
searchReposInScmRequest: SearchReposInScmRequest;
|
|
1626
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1146
1627
|
//# sourceMappingURL=codeShift.d.ts.map
|