@stack-spot/portal-network 0.174.0 → 0.175.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +575 -23
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +288 -0
- package/dist/api/codeShift.js.map +1 -1
- 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/client/code-shift.d.ts +218 -28
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +124 -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/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 +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -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 +1103 -32
- package/src/api/notification.ts +2 -0
- package/src/api-addresses.ts +26 -3
- package/src/apis-itau.json +225 -0
- package/src/client/ai.ts +1 -0
- package/src/client/code-shift.ts +87 -7
- package/src/client/data-integration.ts +6 -0
- package/src/client/workspace-manager.ts +8 -1
- package/src/error/dictionary/cloud-platform.ts +74 -12
- package/src/index.ts +4 -3
- package/src/network/NetworkClient.ts +7 -4
- package/src/network/types.ts +2 -0
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_0025_INVALID_SEARCH_REPOSITORY_STATUS_SAVE_EXCEPTION" | "CODE_SHIFT_API_0026_SEARCH_REPO_EMPTY_RESULT_EXCEPTION" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3160_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
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,116 @@ 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
|
+
customOutputs?: {
|
|
970
|
+
[key: string]: any;
|
|
971
|
+
} | null;
|
|
972
|
+
};
|
|
973
|
+
export type AnalyticsProgramGroupsTargetDetailsResponse = {
|
|
974
|
+
totalComponents?: number;
|
|
975
|
+
totalIssues?: number;
|
|
976
|
+
totalProgramGroups?: number;
|
|
977
|
+
totalItems?: number;
|
|
978
|
+
items?: ProgramGroupsTargetDetailsResponse[];
|
|
979
|
+
};
|
|
980
|
+
export type RepositoryTargetDetailsItemResponse = {
|
|
981
|
+
repositoryUrl: string;
|
|
982
|
+
sourceBranch: string | null;
|
|
983
|
+
moduleName: string | null;
|
|
984
|
+
targetName: string | null;
|
|
985
|
+
moduleInputs: string | null;
|
|
986
|
+
targetPath: string | null;
|
|
987
|
+
targetDetails: string | null;
|
|
988
|
+
};
|
|
989
|
+
export type AnalyticsRepositoryTargetDetailsResponse = {
|
|
990
|
+
totalFiles?: number;
|
|
991
|
+
totalIssues?: number;
|
|
992
|
+
items?: RepositoryTargetDetailsItemResponse[];
|
|
993
|
+
};
|
|
661
994
|
export type UserResponse6 = {
|
|
662
995
|
id: string;
|
|
663
996
|
name: string;
|
|
@@ -667,6 +1000,20 @@ export type ListUserResponse = {
|
|
|
667
1000
|
items: UserResponse6[];
|
|
668
1001
|
itemsCount: number;
|
|
669
1002
|
};
|
|
1003
|
+
export type SearchReposInScmRequest = {
|
|
1004
|
+
repository_name: string;
|
|
1005
|
+
code_term?: string | null;
|
|
1006
|
+
};
|
|
1007
|
+
export type SearchReposInScmResponse = {
|
|
1008
|
+
search_id: string;
|
|
1009
|
+
};
|
|
1010
|
+
export type RepositoryPayload = {
|
|
1011
|
+
url: string;
|
|
1012
|
+
tags: string[];
|
|
1013
|
+
};
|
|
1014
|
+
export type ImportReposScmWithTagsRequest = {
|
|
1015
|
+
repositories: RepositoryPayload[];
|
|
1016
|
+
};
|
|
670
1017
|
/**
|
|
671
1018
|
* Check Role Route
|
|
672
1019
|
*/
|
|
@@ -679,7 +1026,7 @@ export declare function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
679
1026
|
*/
|
|
680
1027
|
export declare function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
|
|
681
1028
|
authorization: string;
|
|
682
|
-
xAccountSlug?:
|
|
1029
|
+
xAccountSlug?: string;
|
|
683
1030
|
createModuleRequest: CreateModuleRequest;
|
|
684
1031
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
685
1032
|
/**
|
|
@@ -690,7 +1037,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
|
|
|
690
1037
|
moduleType?: ModuleType | null;
|
|
691
1038
|
page?: number;
|
|
692
1039
|
lastEvaluatedKey?: string;
|
|
693
|
-
xAccountSlug?:
|
|
1040
|
+
xAccountSlug?: string;
|
|
694
1041
|
authorization: string;
|
|
695
1042
|
}, opts?: Oazapfts.RequestOpts): Promise<ListModuleResponse>;
|
|
696
1043
|
/**
|
|
@@ -699,7 +1046,7 @@ export declare function listModulesServiceV1ModulesGet({ pageSize, moduleType, p
|
|
|
699
1046
|
export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authorization, xAccountSlug }: {
|
|
700
1047
|
moduleId: string;
|
|
701
1048
|
authorization: string;
|
|
702
|
-
xAccountSlug?:
|
|
1049
|
+
xAccountSlug?: string;
|
|
703
1050
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
704
1051
|
/**
|
|
705
1052
|
* Update Module Service
|
|
@@ -707,9 +1054,23 @@ export declare function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, a
|
|
|
707
1054
|
export declare function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorization, xAccountSlug, putModuleRequest }: {
|
|
708
1055
|
moduleId: string;
|
|
709
1056
|
authorization: string;
|
|
710
|
-
xAccountSlug?:
|
|
1057
|
+
xAccountSlug?: string;
|
|
711
1058
|
putModuleRequest: PutModuleRequest;
|
|
712
1059
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Get Module
|
|
1062
|
+
*/
|
|
1063
|
+
export declare function getModuleV1ModulesModuleIdGet({ moduleId, authorization }: {
|
|
1064
|
+
moduleId: string;
|
|
1065
|
+
authorization: string;
|
|
1066
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetModuleResponse>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Get Module Inputs
|
|
1069
|
+
*/
|
|
1070
|
+
export declare function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, authorization }: {
|
|
1071
|
+
moduleId: string;
|
|
1072
|
+
authorization: string;
|
|
1073
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetModuleInputsResponse>;
|
|
713
1074
|
/**
|
|
714
1075
|
* Dispatch Module Service
|
|
715
1076
|
*/
|
|
@@ -731,7 +1092,7 @@ export declare function putReportV1ReportsReportIdPut({ reportId, authorization,
|
|
|
731
1092
|
export declare function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
732
1093
|
reportId: string;
|
|
733
1094
|
authorization: string;
|
|
734
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1095
|
+
}, opts?: Oazapfts.RequestOpts): Promise<GetReportResponseRead>;
|
|
735
1096
|
/**
|
|
736
1097
|
* Get Report Pull Request Content
|
|
737
1098
|
*/
|
|
@@ -778,7 +1139,7 @@ export declare function listRepositoryReportV1ReposRepositoryIdReportsGet({ repo
|
|
|
778
1139
|
page?: number;
|
|
779
1140
|
lastEvaluatedKey?: string;
|
|
780
1141
|
authorization: string;
|
|
781
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1142
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryReportResponseRead>;
|
|
782
1143
|
/**
|
|
783
1144
|
* Create Repos Batch Service
|
|
784
1145
|
*/
|
|
@@ -805,11 +1166,25 @@ export declare function listRepositoryServiceV1ReposGet({ pageSize, page, lastEv
|
|
|
805
1166
|
moduleId?: string;
|
|
806
1167
|
createdByEmail?: string | null;
|
|
807
1168
|
reportByEmail?: string | null;
|
|
808
|
-
orderBy?:
|
|
809
|
-
orderDirection?:
|
|
1169
|
+
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";
|
|
1170
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
1171
|
+
tags?: string[] | null;
|
|
1172
|
+
authorization: string;
|
|
1173
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListRepositoryResponseRead>;
|
|
1174
|
+
/**
|
|
1175
|
+
* List Repository Download Service
|
|
1176
|
+
*/
|
|
1177
|
+
export declare function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, extension, authorization }: {
|
|
1178
|
+
filter?: string;
|
|
1179
|
+
moduleId?: string;
|
|
1180
|
+
createdByEmail?: string | null;
|
|
1181
|
+
reportByEmail?: string | null;
|
|
1182
|
+
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";
|
|
1183
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
810
1184
|
tags?: string[] | null;
|
|
1185
|
+
extension?: "csv" | "xlsx";
|
|
811
1186
|
authorization: string;
|
|
812
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1187
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
813
1188
|
/**
|
|
814
1189
|
* List Branches Service
|
|
815
1190
|
*/
|
|
@@ -823,7 +1198,7 @@ export declare function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, a
|
|
|
823
1198
|
export declare function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, authorization }: {
|
|
824
1199
|
repositoryId: string;
|
|
825
1200
|
authorization: string;
|
|
826
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1201
|
+
}, opts?: Oazapfts.RequestOpts): Promise<RepositoryResponseRead>;
|
|
827
1202
|
/**
|
|
828
1203
|
* Delete Repository Service
|
|
829
1204
|
*/
|
|
@@ -918,11 +1293,26 @@ export declare function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, cr
|
|
|
918
1293
|
name?: string | null;
|
|
919
1294
|
pageSize?: number;
|
|
920
1295
|
page?: number;
|
|
921
|
-
orderBy?:
|
|
922
|
-
orderDirection?:
|
|
1296
|
+
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";
|
|
1297
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
923
1298
|
integrationId?: string;
|
|
924
1299
|
authorization: string;
|
|
925
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1300
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupResponseRead>;
|
|
1301
|
+
/**
|
|
1302
|
+
* List Program Group Download Service
|
|
1303
|
+
*/
|
|
1304
|
+
export declare function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ moduleId, createdByEmail, reportByEmail, tags, name, orderBy, orderDirection, integrationId, extension, authorization }: {
|
|
1305
|
+
moduleId?: string | null;
|
|
1306
|
+
createdByEmail?: string | null;
|
|
1307
|
+
reportByEmail?: string | null;
|
|
1308
|
+
tags?: string[] | null;
|
|
1309
|
+
name?: string | null;
|
|
1310
|
+
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";
|
|
1311
|
+
orderDirection?: "asc" | "desc" | "ASC" | "DESC";
|
|
1312
|
+
integrationId?: string;
|
|
1313
|
+
extension?: "csv" | "xlsx";
|
|
1314
|
+
authorization: string;
|
|
1315
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
926
1316
|
/**
|
|
927
1317
|
* Get Program Group By Id Service
|
|
928
1318
|
*/
|
|
@@ -965,7 +1355,7 @@ export declare function listProgramGroupReportServiceV1ProgramGroupsProgramGroup
|
|
|
965
1355
|
page?: number;
|
|
966
1356
|
lastEvaluatedKey?: string;
|
|
967
1357
|
authorization: string;
|
|
968
|
-
}, opts?: Oazapfts.RequestOpts): Promise<
|
|
1358
|
+
}, opts?: Oazapfts.RequestOpts): Promise<ListProgramGroupReportResponseRead>;
|
|
969
1359
|
/**
|
|
970
1360
|
* List Tags Service
|
|
971
1361
|
*/
|
|
@@ -991,7 +1381,7 @@ export declare function analyticsRepositoryLastReportStatusV1AnalyticsRepositori
|
|
|
991
1381
|
executedBy?: string[] | null;
|
|
992
1382
|
repositoryUrl?: string | null;
|
|
993
1383
|
tags?: string[] | null;
|
|
994
|
-
orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
1384
|
+
orderBy?: ("repositoryUrl" | "moduleName" | "merged" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
995
1385
|
orderDirection?: ("ASC" | "DESC") | null;
|
|
996
1386
|
startDate?: string | null;
|
|
997
1387
|
endDate?: string | null;
|
|
@@ -1137,10 +1527,172 @@ export declare function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGro
|
|
|
1137
1527
|
extension?: "csv" | "xlsx";
|
|
1138
1528
|
authorization: string;
|
|
1139
1529
|
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1530
|
+
/**
|
|
1531
|
+
* Analytics Program Groups Details
|
|
1532
|
+
*/
|
|
1533
|
+
export declare function analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet({ pageSize, page, programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1534
|
+
pageSize?: number;
|
|
1535
|
+
page?: number;
|
|
1536
|
+
programName?: string | null;
|
|
1537
|
+
tags?: string[] | null;
|
|
1538
|
+
mode?: ("scan" | "fix") | null;
|
|
1539
|
+
moduleId?: string[] | null;
|
|
1540
|
+
programCreatedById?: string[] | null;
|
|
1541
|
+
reportCreatedById?: string[] | null;
|
|
1542
|
+
startDate?: string;
|
|
1543
|
+
endDate?: string;
|
|
1544
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
|
|
1545
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1546
|
+
authorization: string;
|
|
1547
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsDetailsResponse>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Analytics Program Groups Details Download
|
|
1550
|
+
*/
|
|
1551
|
+
export declare function analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet({ programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1552
|
+
programName?: string | null;
|
|
1553
|
+
tags?: string[] | null;
|
|
1554
|
+
mode?: ("scan" | "fix") | null;
|
|
1555
|
+
moduleId?: string[] | null;
|
|
1556
|
+
programCreatedById?: string[] | null;
|
|
1557
|
+
reportCreatedById?: string[] | null;
|
|
1558
|
+
startDate?: string;
|
|
1559
|
+
endDate?: string;
|
|
1560
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
|
|
1561
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1562
|
+
extension?: "csv" | "xlsx";
|
|
1563
|
+
authorization: string;
|
|
1564
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Analytics Repository Detailed Report
|
|
1567
|
+
*/
|
|
1568
|
+
export declare function analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet({ pageSize, page, repositoryUrl, tags, mode, moduleId, repositoryCreatedById, executedBy, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1569
|
+
pageSize?: number;
|
|
1570
|
+
page?: number;
|
|
1571
|
+
repositoryUrl?: string | null;
|
|
1572
|
+
tags?: string[] | null;
|
|
1573
|
+
mode?: ("scan" | "fix") | null;
|
|
1574
|
+
moduleId?: string[] | null;
|
|
1575
|
+
repositoryCreatedById?: string[] | null;
|
|
1576
|
+
executedBy?: string[] | null;
|
|
1577
|
+
startDate?: string;
|
|
1578
|
+
endDate?: string;
|
|
1579
|
+
orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
|
|
1580
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1581
|
+
authorization: string;
|
|
1582
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
|
|
1583
|
+
/**
|
|
1584
|
+
* Analytics Repository Detailed Report Download
|
|
1585
|
+
*/
|
|
1586
|
+
export declare function analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet({ repositoryUrl, tags, mode, moduleId, repositoryCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1587
|
+
repositoryUrl?: string | null;
|
|
1588
|
+
tags?: string[] | null;
|
|
1589
|
+
mode?: ("scan" | "fix") | null;
|
|
1590
|
+
moduleId?: string[] | null;
|
|
1591
|
+
repositoryCreatedById?: string[] | null;
|
|
1592
|
+
reportCreatedById?: string[] | null;
|
|
1593
|
+
startDate?: string;
|
|
1594
|
+
endDate?: string;
|
|
1595
|
+
orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
|
|
1596
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1597
|
+
extension?: "csv" | "xlsx";
|
|
1598
|
+
authorization: string;
|
|
1599
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryDetailedReportResponse>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Analytics Program Groups Target Details
|
|
1602
|
+
*/
|
|
1603
|
+
export declare function analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet({ pageSize, page, programName, componentName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1604
|
+
pageSize?: number;
|
|
1605
|
+
page?: number;
|
|
1606
|
+
programName?: string | null;
|
|
1607
|
+
componentName?: string | null;
|
|
1608
|
+
tags?: string[] | null;
|
|
1609
|
+
mode?: ("scan" | "fix") | null;
|
|
1610
|
+
moduleId?: string[] | null;
|
|
1611
|
+
reportCreatedById?: string[] | null;
|
|
1612
|
+
startDate?: string;
|
|
1613
|
+
endDate?: string;
|
|
1614
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
|
|
1615
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1616
|
+
authorization: string;
|
|
1617
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsProgramGroupsTargetDetailsResponse>;
|
|
1618
|
+
/**
|
|
1619
|
+
* Analytics Program Groups Target Details Download
|
|
1620
|
+
*/
|
|
1621
|
+
export declare function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet({ programName, tags, mode, moduleId, componentName, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1622
|
+
programName?: string | null;
|
|
1623
|
+
tags?: string[] | null;
|
|
1624
|
+
mode?: ("scan" | "fix") | null;
|
|
1625
|
+
moduleId?: string[] | null;
|
|
1626
|
+
componentName?: string | null;
|
|
1627
|
+
reportCreatedById?: string[] | null;
|
|
1628
|
+
startDate?: string;
|
|
1629
|
+
endDate?: string;
|
|
1630
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
|
|
1631
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1632
|
+
extension?: "csv" | "xlsx";
|
|
1633
|
+
authorization: string;
|
|
1634
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1635
|
+
/**
|
|
1636
|
+
* Analytics Repository Target Details
|
|
1637
|
+
*/
|
|
1638
|
+
export declare function analyticsRepositoryTargetDetailsV1AnalyticsRepositoriesTargetDetailsGet({ pageSize, page, repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
1639
|
+
pageSize?: number;
|
|
1640
|
+
page?: number;
|
|
1641
|
+
repositoryUrl?: string | null;
|
|
1642
|
+
targetName?: string | null;
|
|
1643
|
+
tags?: string[] | null;
|
|
1644
|
+
mode?: ("scan" | "fix") | null;
|
|
1645
|
+
moduleId?: string[] | null;
|
|
1646
|
+
reportCreatedById?: string[] | null;
|
|
1647
|
+
startDate?: string;
|
|
1648
|
+
endDate?: string;
|
|
1649
|
+
orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath") | null;
|
|
1650
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1651
|
+
authorization: string;
|
|
1652
|
+
}, opts?: Oazapfts.RequestOpts): Promise<AnalyticsRepositoryTargetDetailsResponse>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Analytics Repository Target Details Download
|
|
1655
|
+
*/
|
|
1656
|
+
export declare function analyticsRepositoryTargetDetailsDownloadV1AnalyticsRepositoriesTargetDetailsDownloadGet({ repositoryUrl, targetName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
1657
|
+
repositoryUrl?: string | null;
|
|
1658
|
+
targetName?: string | null;
|
|
1659
|
+
tags?: string[] | null;
|
|
1660
|
+
mode?: ("scan" | "fix") | null;
|
|
1661
|
+
moduleId?: string[] | null;
|
|
1662
|
+
reportCreatedById?: string[] | null;
|
|
1663
|
+
startDate?: string;
|
|
1664
|
+
endDate?: string;
|
|
1665
|
+
orderBy?: ("repositoryUrl" | "sourceBranch" | "moduleName" | "targetName" | "targetPath") | null;
|
|
1666
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1667
|
+
extension?: "csv" | "xlsx";
|
|
1668
|
+
authorization: string;
|
|
1669
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1140
1670
|
/**
|
|
1141
1671
|
* List User Service
|
|
1142
1672
|
*/
|
|
1143
1673
|
export declare function listUserServiceV1UsersGet({ authorization }: {
|
|
1144
1674
|
authorization: string;
|
|
1145
1675
|
}, opts?: Oazapfts.RequestOpts): Promise<ListUserResponse>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Search Repos Scm Service
|
|
1678
|
+
*/
|
|
1679
|
+
export declare function searchReposScmServiceV2ReposSearchScmPost({ authorization, searchReposInScmRequest }: {
|
|
1680
|
+
authorization: string;
|
|
1681
|
+
searchReposInScmRequest: SearchReposInScmRequest;
|
|
1682
|
+
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Import Repos With Tags Scm Service
|
|
1685
|
+
*/
|
|
1686
|
+
export declare function importReposWithTagsScmServiceV2ReposSearchScmSearchIdPost({ searchId, authorization, importReposScmWithTagsRequest }: {
|
|
1687
|
+
searchId: string;
|
|
1688
|
+
authorization: string;
|
|
1689
|
+
importReposScmWithTagsRequest: ImportReposScmWithTagsRequest;
|
|
1690
|
+
}, opts?: Oazapfts.RequestOpts): Promise<SearchReposInScmResponse>;
|
|
1691
|
+
/**
|
|
1692
|
+
* Search Repos Scm V2
|
|
1693
|
+
*/
|
|
1694
|
+
export declare function searchReposScmV2V2ReposSearchScmSearchIdGet({ searchId, authorization }: {
|
|
1695
|
+
searchId: string;
|
|
1696
|
+
authorization: string;
|
|
1697
|
+
}, opts?: Oazapfts.RequestOpts): Promise<any>;
|
|
1146
1698
|
//# sourceMappingURL=codeShift.d.ts.map
|