@stack-spot/portal-network 0.172.2 → 0.172.3-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 +191 -0
- package/dist/api/account.d.ts +19 -11
- package/dist/api/account.d.ts.map +1 -1
- package/dist/api/account.js +2 -2
- package/dist/api/account.js.map +1 -1
- package/dist/api/agent-tools.d.ts +1 -0
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +2 -1
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/codeShift.d.ts +483 -18
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +204 -0
- package/dist/api/codeShift.js.map +1 -1
- package/dist/client/account.d.ts +16 -0
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/account.js +10 -1
- package/dist/client/account.js.map +1 -1
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +3 -8
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.js +3 -3
- package/dist/client/ai.js.map +1 -1
- package/dist/client/code-shift.d.ts +171 -23
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +97 -7
- package/dist/client/code-shift.js.map +1 -1
- package/dist/error/dictionary/agent-tools.d.ts +75 -0
- package/dist/error/dictionary/agent-tools.d.ts.map +1 -0
- package/dist/error/dictionary/agent-tools.js +75 -0
- package/dist/error/dictionary/agent-tools.js.map +1 -0
- package/package.json +2 -2
- package/readme.md +1 -1
- package/src/api/account.ts +21 -12
- package/src/api/agent-tools.ts +4 -0
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +2 -1
- package/src/api/codeShift.ts +843 -28
- package/src/api/notification.ts +2 -0
- package/src/client/account.ts +5 -0
- package/src/client/agent-tools.ts +4 -8
- package/src/client/ai.ts +4 -3
- package/src/client/code-shift.ts +68 -7
- package/src/error/dictionary/agent-tools.ts +76 -0
package/src/api/codeShift.ts
CHANGED
|
@@ -43,9 +43,9 @@ export type CreateModuleRequest = {
|
|
|
43
43
|
/** Module description */
|
|
44
44
|
description: string;
|
|
45
45
|
/** Module workflow_name */
|
|
46
|
-
workflowName
|
|
46
|
+
workflowName?: string | null;
|
|
47
47
|
/** Module version */
|
|
48
|
-
version
|
|
48
|
+
version?: string | null;
|
|
49
49
|
/** Module mode */
|
|
50
50
|
modes: string[];
|
|
51
51
|
/** Module tags */
|
|
@@ -53,14 +53,14 @@ export type CreateModuleRequest = {
|
|
|
53
53
|
/** Inputs of module */
|
|
54
54
|
inputs: InputRequest[];
|
|
55
55
|
/** Module studio */
|
|
56
|
-
studio
|
|
56
|
+
studio?: string | null;
|
|
57
57
|
/** Module studio */
|
|
58
58
|
constants?: {
|
|
59
59
|
[key: string]: any;
|
|
60
60
|
} | null;
|
|
61
61
|
gitAction?: GitAction | null;
|
|
62
62
|
};
|
|
63
|
-
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
63
|
+
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_0012_REPOSITORY_NOT_EXISTS_IN_SCM" | "CODE_SHIFT_API_0013_SCM_BRANCH_NOT_EXISTS_EXCEPTION" | "CODE_SHIFT_API_0014_ACCOUNT_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_0015_INVALID_WORKFLOW_URL_EXCEPTION" | "CODE_SHIFT_API_0016_INVALID_ACTION_YAML_EXCEPTION" | "CODE_SHIFT_API_0017_FAIL_READING_ACTION_INPUTS_EXCEPTION" | "CODE_SHIFT_API_0018_MODULE_DISPATCHER_GENERIC_EXCEPTION" | "CODE_SHIFT_API_0019_GITHUB_DISPATCH_WORKFLOW_UNAUTHORIZED_EXCEPTION" | "CODE_SHIFT_API_0020_GITHUB_SAML_EXCEPTION" | "CODE_SHIFT_API_0021_GITHUB_AUTHORIZATION_ENCODING_EXCEPTION" | "CODE_SHIFT_API_0022_GITHUB_DISPATCH_WORKFLOW_NOT_FOUND_EXCEPTION" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_3130_SCM_GET_SCM_REPOSITORY_FETCH_FAILURE" | "CODE_SHIFT_API_3131_SCM_REPOSITORY_NOT_FOUND" | "CODE_SHIFT_API_3140_SCM_GET_BRANCH_FAILURE" | "CODE_SHIFT_API_3142_SCM_GET_BRANCHES_NOT_FOUND" | "CODE_SHIFT_API_3150_SCM_GET_REPOSITORY_FILE_FAILURE" | "CODE_SHIFT_API_3151_SCM_GET_REPOSITORY_FILE_NOT_FOUND" | "CODE_SHIFT_API_3500_CONTENT_API_GET_WORKFLOW_VERSION_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_NOT_FOUND" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_4010_GET_SCM_CREDENTIALS_FAILURE" | "CODE_SHIFT_API_4011_GET_SCM_CREDENTIALS_FORBIDDEN" | "CODE_SHIFT_API_4012_GET_SCM_CREDENTIALS_NOT_FOUND" | "CODE_SHIFT_API_4019_GET_SCM_CREDENTIALS_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
64
64
|
export type BadRequestExceptionTypes = "CODE_SHIFT_API_1001_DECODE_JWT_ERROR" | "CODE_SHIFT_API_2001_BAD_REQUEST_REQUIRED_FIELD" | "CODE_SHIFT_API_2002_BAD_REQUEST_EMPTY_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2003_BAD_REQUEST_TYPE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2004_BAD_REQUEST_VALUE_FIELD_NOT_ALLOWED" | "CODE_SHIFT_API_2005_BAD_REQUEST_VALUE_FIELD_MAX_LENGTH" | "CODE_SHIFT_API_2006_BAD_REQUEST_VALUE_FIELD_MIN_LENGTH" | "CODE_SHIFT_API_2007_BAD_REQUEST_VALUE_REGEX_DOESNT_MATCH" | "CODE_SHIFT_API_2008_BAD_REQUEST_VALUE_FIELD_NUMBER_NOT_LT" | "CODE_SHIFT_API_2100_CREATE_BODY_REPO_AND_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2101_CREATE_BODY_NOT_REPO_AND_NOT_REPO_CREATE_ACTION" | "CODE_SHIFT_API_2102_BAD_REQUEST_DATE_MAX_INTERVAL" | "CODE_SHIFT_API_2103_BAD_REQUEST_INVALID_PAGE" | "CODE_SHIFT_API_2104_BAD_REQUEST_DUPLICATED_ALIAS" | "CODE_SHIFT_API_2105_BAD_REQUEST_INVALID_REPO_URL" | "CODE_SHIFT_API_2110_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_WITHOUT_CONCLUSION" | "CODE_SHIFT_API_2112_BAD_REQUEST_PUT_STEP_STATUS_NOT_COMPLETED_AND_CONCLUSION_DEFINED" | "CODE_SHIFT_API_2113_BAD_REQUEST_PUT_STEP_STATUS_COMPLETED_AND_COMPLETED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2114_BAD_REQUEST_PUT_STEP_STATUS_IN_PROGRESS_AND_STARTED_AT_NOT_DEFINED" | "CODE_SHIFT_API_2115_BAD_REQUEST_PUT_STEP_COMPLETED_AT_DEFINED_AND_STATUS_NOT_COMPLETED" | "CODE_SHIFT_API_2116_BAD_REQUEST_PUT_STEP_STARTED_AT_DEFINED_AND_STATUS_PENDING" | "CODE_SHIFT_API_2117_BAD_REQUEST_PUT_STEP_LOG_DEFINED_AND_CONCLUSION_IS_NOT_FAILURE" | "CODE_SHIFT_API_2120_BAD_REQUEST_MULTIPLE_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_INTEGRATION" | "CODE_SHIFT_API_2121_BAD_REQUEST_EMPTY_TARGET" | "CODE_SHIFT_API_2121_BAD_REQUEST_FILLED_TARGET" | "CODE_SHIFT_API_2999_BAD_REQUEST_UNMAPPED";
|
|
65
65
|
export type InvalidPayloadDetails = {
|
|
66
66
|
code: BadRequestExceptionTypes | ExceptionType;
|
|
@@ -105,9 +105,9 @@ export type ModuleResponse = {
|
|
|
105
105
|
/** Module description */
|
|
106
106
|
description: string;
|
|
107
107
|
/** Workflow name */
|
|
108
|
-
workflowName: string;
|
|
108
|
+
workflowName: string | null;
|
|
109
109
|
/** Studio */
|
|
110
|
-
studio: string;
|
|
110
|
+
studio: string | null;
|
|
111
111
|
/** Module modes */
|
|
112
112
|
modes: string[];
|
|
113
113
|
/** Module versions */
|
|
@@ -153,6 +153,69 @@ export type PutModuleRequest = {
|
|
|
153
153
|
} | null;
|
|
154
154
|
gitAction?: GitAction | null;
|
|
155
155
|
};
|
|
156
|
+
export type GetModuleResponse = {
|
|
157
|
+
/** Module ID */
|
|
158
|
+
id: string;
|
|
159
|
+
/** Module type */
|
|
160
|
+
"type": ModuleType;
|
|
161
|
+
/** Module name */
|
|
162
|
+
name: string;
|
|
163
|
+
/** Module description */
|
|
164
|
+
description: string;
|
|
165
|
+
/** Workflow name */
|
|
166
|
+
workflowName: string | null;
|
|
167
|
+
/** Studio */
|
|
168
|
+
studio: string | null;
|
|
169
|
+
/** Module modes */
|
|
170
|
+
modes: string[];
|
|
171
|
+
/** Module versions */
|
|
172
|
+
version: string | null;
|
|
173
|
+
/** Module studio */
|
|
174
|
+
constants?: {
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
} | null;
|
|
177
|
+
gitAction?: GitAction | null;
|
|
178
|
+
};
|
|
179
|
+
export type ExternalItemsModel = {
|
|
180
|
+
source: string;
|
|
181
|
+
value: string;
|
|
182
|
+
label: string;
|
|
183
|
+
};
|
|
184
|
+
export type ConditionModel = {
|
|
185
|
+
variable: string;
|
|
186
|
+
operator: string;
|
|
187
|
+
value: any;
|
|
188
|
+
};
|
|
189
|
+
export type OutputModel = {
|
|
190
|
+
"from": string;
|
|
191
|
+
to: string;
|
|
192
|
+
};
|
|
193
|
+
export type InputModel = {
|
|
194
|
+
label: string;
|
|
195
|
+
name: string;
|
|
196
|
+
"type": string;
|
|
197
|
+
required: boolean;
|
|
198
|
+
pattern: string | null;
|
|
199
|
+
help: string | null;
|
|
200
|
+
"default": any | null;
|
|
201
|
+
items: string[] | null;
|
|
202
|
+
externalItems: ExternalItemsModel | null;
|
|
203
|
+
itemsValues: string[] | null;
|
|
204
|
+
condition: ConditionModel | null;
|
|
205
|
+
connectionInterfaceType: string | null;
|
|
206
|
+
outputs: OutputModel[] | null;
|
|
207
|
+
input: InputModel | null;
|
|
208
|
+
inputs: InputModel[] | null;
|
|
209
|
+
scope: string | null;
|
|
210
|
+
};
|
|
211
|
+
export type ComputedInputModel = {
|
|
212
|
+
name: string;
|
|
213
|
+
expression: string;
|
|
214
|
+
};
|
|
215
|
+
export type GetModuleInputsResponse = {
|
|
216
|
+
inputs: InputModel[];
|
|
217
|
+
computedInputs: ComputedInputModel[] | null;
|
|
218
|
+
};
|
|
156
219
|
export type Mode = "scan" | "fix";
|
|
157
220
|
export type ModuleDispatchRequest = {
|
|
158
221
|
/** Module mode */
|
|
@@ -183,7 +246,7 @@ export type IssuesRequest = {
|
|
|
183
246
|
};
|
|
184
247
|
export type TargetFilesRequest = {
|
|
185
248
|
fileName: string;
|
|
186
|
-
filePath
|
|
249
|
+
filePath?: string | null;
|
|
187
250
|
details?: string | null;
|
|
188
251
|
dependsOn?: DependsOnRequest[] | null;
|
|
189
252
|
issues?: IssuesRequest[] | null;
|
|
@@ -196,7 +259,7 @@ export type PutReportRequest = {
|
|
|
196
259
|
changedFilesCount?: number | null;
|
|
197
260
|
pullRequestLink?: string | null;
|
|
198
261
|
commitHash?: string | null;
|
|
199
|
-
targetFiles
|
|
262
|
+
targetFiles?: TargetFilesRequest[];
|
|
200
263
|
moduleVersion?: string | null;
|
|
201
264
|
customOutputs?: {
|
|
202
265
|
[key: string]: any;
|
|
@@ -284,6 +347,40 @@ export type GetReportResponse = {
|
|
|
284
347
|
} | null;
|
|
285
348
|
targetFiles: TargetFilesResponse[];
|
|
286
349
|
errorLog?: string | null;
|
|
350
|
+
exceptions: HttpErrorResponse[];
|
|
351
|
+
status: ReportStatus | null;
|
|
352
|
+
scmPullRequestData: PullRequestResponse | null;
|
|
353
|
+
inputs?: {
|
|
354
|
+
[key: string]: any;
|
|
355
|
+
} | null;
|
|
356
|
+
};
|
|
357
|
+
export type GetReportResponseRead = {
|
|
358
|
+
id: string;
|
|
359
|
+
"module": ModuleResponse2 | null;
|
|
360
|
+
application: ApplicationResponse | null;
|
|
361
|
+
execution: ExecutionResponse | null;
|
|
362
|
+
mode: string;
|
|
363
|
+
sourceBranch: string | null;
|
|
364
|
+
targetBranch?: string | null;
|
|
365
|
+
createdBy: UserResponse;
|
|
366
|
+
createdAt: string;
|
|
367
|
+
updatedAt: string;
|
|
368
|
+
filesCount: number | null;
|
|
369
|
+
totalFilesCount: number | null;
|
|
370
|
+
changedFilesCount: number | null;
|
|
371
|
+
analyzedFilesCount: number | null;
|
|
372
|
+
issuesFilesCount: number | null;
|
|
373
|
+
issuesCount: number | null;
|
|
374
|
+
commitHash: string | null;
|
|
375
|
+
pullRequestLink?: string | null;
|
|
376
|
+
programGroup: ProgramGroupResponse | null;
|
|
377
|
+
moduleVersion?: string | null;
|
|
378
|
+
customOutputs?: {
|
|
379
|
+
[key: string]: any;
|
|
380
|
+
} | null;
|
|
381
|
+
targetFiles: TargetFilesResponse[];
|
|
382
|
+
errorLog?: string | null;
|
|
383
|
+
exceptions: HttpErrorResponseRead[];
|
|
287
384
|
status: ReportStatus | null;
|
|
288
385
|
scmPullRequestData: PullRequestResponse | null;
|
|
289
386
|
inputs?: {
|
|
@@ -325,6 +422,24 @@ export type ReportResponse = {
|
|
|
325
422
|
issuesCount: number | null;
|
|
326
423
|
pullRequestLink?: string | null;
|
|
327
424
|
errorLog?: string | null;
|
|
425
|
+
exceptions: HttpErrorResponse[];
|
|
426
|
+
status: ReportStatus | null;
|
|
427
|
+
};
|
|
428
|
+
export type ReportResponseRead = {
|
|
429
|
+
id: string;
|
|
430
|
+
"module": ModuleResponse3;
|
|
431
|
+
execution: ExecutionResponse | null;
|
|
432
|
+
mode: string;
|
|
433
|
+
sourceBranch: string;
|
|
434
|
+
targetBranch?: string | null;
|
|
435
|
+
createdBy: UserResponse2;
|
|
436
|
+
createdAt: string;
|
|
437
|
+
updatedAt: string;
|
|
438
|
+
filesCount: number | null;
|
|
439
|
+
issuesCount: number | null;
|
|
440
|
+
pullRequestLink?: string | null;
|
|
441
|
+
errorLog?: string | null;
|
|
442
|
+
exceptions: HttpErrorResponseRead[];
|
|
328
443
|
status: ReportStatus | null;
|
|
329
444
|
};
|
|
330
445
|
export type ListRepositoryReportResponse = {
|
|
@@ -335,6 +450,14 @@ export type ListRepositoryReportResponse = {
|
|
|
335
450
|
/** Last evaluated key */
|
|
336
451
|
lastEvaluatedKey: string | null;
|
|
337
452
|
};
|
|
453
|
+
export type ListRepositoryReportResponseRead = {
|
|
454
|
+
/** List of reports */
|
|
455
|
+
items: ReportResponseRead[];
|
|
456
|
+
/** Number of reports */
|
|
457
|
+
itemsCount: number;
|
|
458
|
+
/** Last evaluated key */
|
|
459
|
+
lastEvaluatedKey: string | null;
|
|
460
|
+
};
|
|
338
461
|
export type BodyCreateReposBatchServiceV1ReposBatchPost = {
|
|
339
462
|
file: Blob;
|
|
340
463
|
};
|
|
@@ -363,6 +486,24 @@ export type ReportResponse2 = {
|
|
|
363
486
|
issuesCount: number | null;
|
|
364
487
|
pullRequestLink?: string | null;
|
|
365
488
|
errorLog?: string | null;
|
|
489
|
+
exceptions: HttpErrorResponse[];
|
|
490
|
+
status: ReportStatus | null;
|
|
491
|
+
};
|
|
492
|
+
export type ReportResponseRead2 = {
|
|
493
|
+
id: string;
|
|
494
|
+
execution: ExecutionResponse | null;
|
|
495
|
+
mode: string;
|
|
496
|
+
moduleId: string;
|
|
497
|
+
sourceBranch: string;
|
|
498
|
+
targetBranch?: string | null;
|
|
499
|
+
createdBy: UserResponse3 | null;
|
|
500
|
+
createdAt: string;
|
|
501
|
+
updatedAt: string;
|
|
502
|
+
filesCount: number | null;
|
|
503
|
+
issuesCount: number | null;
|
|
504
|
+
pullRequestLink?: string | null;
|
|
505
|
+
errorLog?: string | null;
|
|
506
|
+
exceptions: HttpErrorResponseRead[];
|
|
366
507
|
status: ReportStatus | null;
|
|
367
508
|
};
|
|
368
509
|
export type RepositoryResponse = {
|
|
@@ -377,6 +518,18 @@ export type RepositoryResponse = {
|
|
|
377
518
|
url: string;
|
|
378
519
|
defaultBranch: string;
|
|
379
520
|
};
|
|
521
|
+
export type RepositoryResponseRead = {
|
|
522
|
+
/** Repository ID */
|
|
523
|
+
id: string;
|
|
524
|
+
/** Repository creation date */
|
|
525
|
+
createdAt?: string | null;
|
|
526
|
+
/** Repository creation user */
|
|
527
|
+
createdBy?: string | null;
|
|
528
|
+
lastModuleReport: ReportResponseRead2 | null;
|
|
529
|
+
tags: string[];
|
|
530
|
+
url: string;
|
|
531
|
+
defaultBranch: string;
|
|
532
|
+
};
|
|
380
533
|
export type ListRepositoryResponse = {
|
|
381
534
|
/** List of applications */
|
|
382
535
|
items: RepositoryResponse[];
|
|
@@ -385,6 +538,14 @@ export type ListRepositoryResponse = {
|
|
|
385
538
|
/** Last evaluated key */
|
|
386
539
|
lastEvaluatedKey?: string | null;
|
|
387
540
|
};
|
|
541
|
+
export type ListRepositoryResponseRead = {
|
|
542
|
+
/** List of applications */
|
|
543
|
+
items: RepositoryResponseRead[];
|
|
544
|
+
/** Number of applications */
|
|
545
|
+
itemsCount: number;
|
|
546
|
+
/** Last evaluated key */
|
|
547
|
+
lastEvaluatedKey?: string | null;
|
|
548
|
+
};
|
|
388
549
|
export type ListBranchesResponse = {
|
|
389
550
|
/** List of all branches */
|
|
390
551
|
branches: string[];
|
|
@@ -475,6 +636,22 @@ export type ReportResponse3 = {
|
|
|
475
636
|
issuesCount: number | null;
|
|
476
637
|
pullRequestLink?: string | null;
|
|
477
638
|
errorLog?: string | null;
|
|
639
|
+
exceptions: HttpErrorResponse[];
|
|
640
|
+
status: ReportStatus | null;
|
|
641
|
+
};
|
|
642
|
+
export type ReportResponseRead3 = {
|
|
643
|
+
id: string;
|
|
644
|
+
execution: ExecutionResponse | null;
|
|
645
|
+
mode: string;
|
|
646
|
+
moduleId: string;
|
|
647
|
+
createdBy: UserResponse4 | null;
|
|
648
|
+
createdAt: string;
|
|
649
|
+
updatedAt: string;
|
|
650
|
+
filesCount: number | null;
|
|
651
|
+
issuesCount: number | null;
|
|
652
|
+
pullRequestLink?: string | null;
|
|
653
|
+
errorLog?: string | null;
|
|
654
|
+
exceptions: HttpErrorResponseRead[];
|
|
478
655
|
status: ReportStatus | null;
|
|
479
656
|
};
|
|
480
657
|
export type ProgramGroupResponse2 = {
|
|
@@ -489,10 +666,26 @@ export type ProgramGroupResponse2 = {
|
|
|
489
666
|
updatedAt: string;
|
|
490
667
|
lastModuleReport: ReportResponse3 | null;
|
|
491
668
|
};
|
|
669
|
+
export type ProgramGroupResponseRead = {
|
|
670
|
+
id: string;
|
|
671
|
+
name: string;
|
|
672
|
+
integrationId: string | null;
|
|
673
|
+
tags: string[];
|
|
674
|
+
components: any[];
|
|
675
|
+
accountId: string;
|
|
676
|
+
createdBy: string | null;
|
|
677
|
+
createdAt: string;
|
|
678
|
+
updatedAt: string;
|
|
679
|
+
lastModuleReport: ReportResponseRead3 | null;
|
|
680
|
+
};
|
|
492
681
|
export type ListProgramGroupResponse = {
|
|
493
682
|
items: ProgramGroupResponse2[];
|
|
494
683
|
itemsCount: number;
|
|
495
684
|
};
|
|
685
|
+
export type ListProgramGroupResponseRead = {
|
|
686
|
+
items: ProgramGroupResponseRead[];
|
|
687
|
+
itemsCount: number;
|
|
688
|
+
};
|
|
496
689
|
export type ProgramGroupResponse3 = {
|
|
497
690
|
id: string;
|
|
498
691
|
name: string;
|
|
@@ -534,6 +727,22 @@ export type ReportResponse4 = {
|
|
|
534
727
|
issuesCount: number | null;
|
|
535
728
|
pullRequestLink?: string | null;
|
|
536
729
|
errorLog?: string | null;
|
|
730
|
+
exceptions: HttpErrorResponse[];
|
|
731
|
+
status: ReportStatus | null;
|
|
732
|
+
};
|
|
733
|
+
export type ReportResponseRead4 = {
|
|
734
|
+
id: string;
|
|
735
|
+
"module": ModuleResponse4;
|
|
736
|
+
execution: ExecutionResponse | null;
|
|
737
|
+
mode: string;
|
|
738
|
+
createdBy: UserResponse5;
|
|
739
|
+
createdAt: string;
|
|
740
|
+
updatedAt: string;
|
|
741
|
+
filesCount: number | null;
|
|
742
|
+
issuesCount: number | null;
|
|
743
|
+
pullRequestLink?: string | null;
|
|
744
|
+
errorLog?: string | null;
|
|
745
|
+
exceptions: HttpErrorResponseRead[];
|
|
537
746
|
status: ReportStatus | null;
|
|
538
747
|
};
|
|
539
748
|
export type ListProgramGroupReportResponse = {
|
|
@@ -542,6 +751,12 @@ export type ListProgramGroupReportResponse = {
|
|
|
542
751
|
/** Number of reports */
|
|
543
752
|
itemsCount: number;
|
|
544
753
|
};
|
|
754
|
+
export type ListProgramGroupReportResponseRead = {
|
|
755
|
+
/** List of reports */
|
|
756
|
+
items: ReportResponseRead4[];
|
|
757
|
+
/** Number of reports */
|
|
758
|
+
itemsCount: number;
|
|
759
|
+
};
|
|
545
760
|
export type TagResponse = {
|
|
546
761
|
name: string;
|
|
547
762
|
};
|
|
@@ -574,6 +789,8 @@ export type RepositoryLastReportStatusResponse = {
|
|
|
574
789
|
totalFilesIssues: number | null;
|
|
575
790
|
totalFilesChanged: number | null;
|
|
576
791
|
totalIssues: number | null;
|
|
792
|
+
pullRequestLink: string | null;
|
|
793
|
+
merged: boolean | null;
|
|
577
794
|
};
|
|
578
795
|
export type AnalyticsRepositoryLastReportStatusResponse = {
|
|
579
796
|
totalFiles?: number;
|
|
@@ -582,6 +799,8 @@ export type AnalyticsRepositoryLastReportStatusResponse = {
|
|
|
582
799
|
totalFilesChanged?: number;
|
|
583
800
|
totalIssues?: number;
|
|
584
801
|
items: RepositoryLastReportStatusResponse[];
|
|
802
|
+
totalPullRequests?: number;
|
|
803
|
+
totalMergedPullRequests?: number;
|
|
585
804
|
totalItems?: number;
|
|
586
805
|
};
|
|
587
806
|
export type RepositoryUsageResponse = {
|
|
@@ -592,6 +811,8 @@ export type RepositoryUsageResponse = {
|
|
|
592
811
|
totalFix?: number;
|
|
593
812
|
totalFixSuccess?: number;
|
|
594
813
|
totalFixFailure?: number;
|
|
814
|
+
totalPullRequests?: number;
|
|
815
|
+
mergedPullRequests?: number;
|
|
595
816
|
};
|
|
596
817
|
export type AnalyticsRepositoryUsageResponse = {
|
|
597
818
|
totalScan?: number;
|
|
@@ -600,6 +821,8 @@ export type AnalyticsRepositoryUsageResponse = {
|
|
|
600
821
|
totalFix?: number;
|
|
601
822
|
totalFixSuccess?: number;
|
|
602
823
|
totalFixFailure?: number;
|
|
824
|
+
totalPullRequests?: number;
|
|
825
|
+
mergedPullRequests?: number;
|
|
603
826
|
items: RepositoryUsageResponse[];
|
|
604
827
|
totalItems?: number;
|
|
605
828
|
};
|
|
@@ -663,6 +886,100 @@ export type AnalyticsProgramGroupsUsageResponse = {
|
|
|
663
886
|
items: ProgramGroupsUsageResponse[];
|
|
664
887
|
totalItems?: number;
|
|
665
888
|
};
|
|
889
|
+
export type ProgramGroupsDetailsResponse = {
|
|
890
|
+
programGroupName: string;
|
|
891
|
+
programGroupTags?: string | null;
|
|
892
|
+
integrationName?: string | null;
|
|
893
|
+
programGroupCreatedByName?: string | null;
|
|
894
|
+
programGroupCreatedByEmail?: string | null;
|
|
895
|
+
moduleName: string;
|
|
896
|
+
reportInputs?: string | null;
|
|
897
|
+
mode: string;
|
|
898
|
+
reportCreatedAt: string;
|
|
899
|
+
reportCreatedByName?: string | null;
|
|
900
|
+
reportCreatedByEmail?: string | null;
|
|
901
|
+
reportOutputs?: string | null;
|
|
902
|
+
executionStartedAt?: string | null;
|
|
903
|
+
executionCompletedAt?: string | null;
|
|
904
|
+
processingTimeSeconds?: number | null;
|
|
905
|
+
totalFilesCount?: number;
|
|
906
|
+
analyzedFilesCount?: number;
|
|
907
|
+
issuesFilesCount?: number;
|
|
908
|
+
changedFilesCount?: number;
|
|
909
|
+
issuesCount?: number;
|
|
910
|
+
};
|
|
911
|
+
export type AnalyticsProgramGroupsDetailsResponse = {
|
|
912
|
+
totalFilesCount?: number;
|
|
913
|
+
analyzedFilesCount?: number;
|
|
914
|
+
issuesFilesCount?: number;
|
|
915
|
+
changedFilesCount?: number;
|
|
916
|
+
issuesCount?: number;
|
|
917
|
+
processingTime95Percentile?: number | null;
|
|
918
|
+
totalItems?: number;
|
|
919
|
+
items?: ProgramGroupsDetailsResponse[];
|
|
920
|
+
};
|
|
921
|
+
export type RepositoryDetailedReportItemResponse = {
|
|
922
|
+
analyzedFilesCount?: number;
|
|
923
|
+
changedFilesCount?: number;
|
|
924
|
+
errorLog?: string | null;
|
|
925
|
+
executionCompletedAt?: string | null;
|
|
926
|
+
executionConclusion?: string | null;
|
|
927
|
+
executionStartedAt?: string | null;
|
|
928
|
+
executionStatus?: string | null;
|
|
929
|
+
inputs?: string;
|
|
930
|
+
issuesCount?: number;
|
|
931
|
+
issuesFilesCount?: number;
|
|
932
|
+
mode?: string | null;
|
|
933
|
+
moduleName?: string | null;
|
|
934
|
+
moduleVersion?: string | null;
|
|
935
|
+
processingTimeSeconds?: number | null;
|
|
936
|
+
pullRequestLink?: string | null;
|
|
937
|
+
reportCreatedAt?: string | null;
|
|
938
|
+
reportCreatedByEmail?: string | null;
|
|
939
|
+
reportCreatedByName?: string | null;
|
|
940
|
+
repositoryCreatedByEmail?: string | null;
|
|
941
|
+
repositoryCreatedByName?: string | null;
|
|
942
|
+
repositoryTags?: string;
|
|
943
|
+
repositoryUrl: string;
|
|
944
|
+
sourceBranch?: string | null;
|
|
945
|
+
targetBranch?: string | null;
|
|
946
|
+
totalFilesCount?: number;
|
|
947
|
+
status?: string | null;
|
|
948
|
+
};
|
|
949
|
+
export type AnalyticsRepositoryDetailedReportResponse = {
|
|
950
|
+
totalFilesCount?: number;
|
|
951
|
+
analyzedFilesCount?: number;
|
|
952
|
+
issuesFilesCount?: number;
|
|
953
|
+
changedFilesCount?: number;
|
|
954
|
+
issuesCount?: number;
|
|
955
|
+
processingTime95Percentile?: number | null;
|
|
956
|
+
totalItems?: number;
|
|
957
|
+
items?: RepositoryDetailedReportItemResponse[];
|
|
958
|
+
};
|
|
959
|
+
export type ProgramGroupsTargetDetailsResponse = {
|
|
960
|
+
programGroupName: string;
|
|
961
|
+
programGroupTags?: string | null;
|
|
962
|
+
mode: string;
|
|
963
|
+
moduleName: string;
|
|
964
|
+
reportCreatedAt: string;
|
|
965
|
+
executionStartedAt?: string | null;
|
|
966
|
+
executionCompletedAt?: string | null;
|
|
967
|
+
componentAppName: string;
|
|
968
|
+
componentName: string;
|
|
969
|
+
componentType: string;
|
|
970
|
+
totalIssues?: number;
|
|
971
|
+
changedFilesCount?: number;
|
|
972
|
+
reportOutputs?: string | null;
|
|
973
|
+
aiAdjusted?: string | null;
|
|
974
|
+
changemanPackage?: string | null;
|
|
975
|
+
};
|
|
976
|
+
export type AnalyticsProgramGroupsTargetDetailsResponse = {
|
|
977
|
+
totalComponents?: number;
|
|
978
|
+
totalIssues?: number;
|
|
979
|
+
totalChangedFiles?: number;
|
|
980
|
+
totalItems?: number;
|
|
981
|
+
items?: ProgramGroupsTargetDetailsResponse[];
|
|
982
|
+
};
|
|
666
983
|
export type UserResponse6 = {
|
|
667
984
|
id: string;
|
|
668
985
|
name: string;
|
|
@@ -697,7 +1014,7 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
697
1014
|
*/
|
|
698
1015
|
export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
|
|
699
1016
|
authorization: string;
|
|
700
|
-
xAccountSlug?:
|
|
1017
|
+
xAccountSlug?: string;
|
|
701
1018
|
createModuleRequest: CreateModuleRequest;
|
|
702
1019
|
}, opts?: Oazapfts.RequestOpts) {
|
|
703
1020
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -738,7 +1055,7 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
|
|
|
738
1055
|
moduleType?: ModuleType | null;
|
|
739
1056
|
page?: number;
|
|
740
1057
|
lastEvaluatedKey?: string;
|
|
741
|
-
xAccountSlug?:
|
|
1058
|
+
xAccountSlug?: string;
|
|
742
1059
|
authorization: string;
|
|
743
1060
|
}, opts?: Oazapfts.RequestOpts) {
|
|
744
1061
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -780,7 +1097,7 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
|
|
|
780
1097
|
export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authorization, xAccountSlug }: {
|
|
781
1098
|
moduleId: string;
|
|
782
1099
|
authorization: string;
|
|
783
|
-
xAccountSlug?:
|
|
1100
|
+
xAccountSlug?: string;
|
|
784
1101
|
}, opts?: Oazapfts.RequestOpts) {
|
|
785
1102
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
786
1103
|
status: 200;
|
|
@@ -817,7 +1134,7 @@ export function deleteModuleServiceV1ModulesModuleIdDelete({ moduleId, authoriza
|
|
|
817
1134
|
export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorization, xAccountSlug, putModuleRequest }: {
|
|
818
1135
|
moduleId: string;
|
|
819
1136
|
authorization: string;
|
|
820
|
-
xAccountSlug?:
|
|
1137
|
+
xAccountSlug?: string;
|
|
821
1138
|
putModuleRequest: PutModuleRequest;
|
|
822
1139
|
}, opts?: Oazapfts.RequestOpts) {
|
|
823
1140
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -850,6 +1167,74 @@ export function updateModuleServiceV1ModulesModuleIdPut({ moduleId, authorizatio
|
|
|
850
1167
|
})
|
|
851
1168
|
})));
|
|
852
1169
|
}
|
|
1170
|
+
/**
|
|
1171
|
+
* Get Module
|
|
1172
|
+
*/
|
|
1173
|
+
export function getModuleV1ModulesModuleIdGet({ moduleId, authorization }: {
|
|
1174
|
+
moduleId: string;
|
|
1175
|
+
authorization: string;
|
|
1176
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1177
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1178
|
+
status: 200;
|
|
1179
|
+
data: GetModuleResponse;
|
|
1180
|
+
} | {
|
|
1181
|
+
status: 400;
|
|
1182
|
+
data: HttpErrorResponseRead;
|
|
1183
|
+
} | {
|
|
1184
|
+
status: 401;
|
|
1185
|
+
data: HttpErrorResponseRead;
|
|
1186
|
+
} | {
|
|
1187
|
+
status: 404;
|
|
1188
|
+
data: HttpErrorResponseRead;
|
|
1189
|
+
} | {
|
|
1190
|
+
status: 422;
|
|
1191
|
+
} | {
|
|
1192
|
+
status: 500;
|
|
1193
|
+
data: HttpErrorResponseRead;
|
|
1194
|
+
} | {
|
|
1195
|
+
status: 503;
|
|
1196
|
+
data: HttpErrorResponseRead;
|
|
1197
|
+
}>(`/v1/modules/${encodeURIComponent(moduleId)}`, {
|
|
1198
|
+
...opts,
|
|
1199
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1200
|
+
authorization
|
|
1201
|
+
})
|
|
1202
|
+
}));
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* Get Module Inputs
|
|
1206
|
+
*/
|
|
1207
|
+
export function getModuleInputsV1ModulesModuleIdInputsGet({ moduleId, authorization }: {
|
|
1208
|
+
moduleId: string;
|
|
1209
|
+
authorization: string;
|
|
1210
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1211
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1212
|
+
status: 200;
|
|
1213
|
+
data: GetModuleInputsResponse;
|
|
1214
|
+
} | {
|
|
1215
|
+
status: 400;
|
|
1216
|
+
data: HttpErrorResponseRead;
|
|
1217
|
+
} | {
|
|
1218
|
+
status: 401;
|
|
1219
|
+
data: HttpErrorResponseRead;
|
|
1220
|
+
} | {
|
|
1221
|
+
status: 404;
|
|
1222
|
+
data: HttpErrorResponseRead;
|
|
1223
|
+
} | {
|
|
1224
|
+
status: 422;
|
|
1225
|
+
} | {
|
|
1226
|
+
status: 500;
|
|
1227
|
+
data: HttpErrorResponseRead;
|
|
1228
|
+
} | {
|
|
1229
|
+
status: 503;
|
|
1230
|
+
data: HttpErrorResponseRead;
|
|
1231
|
+
}>(`/v1/modules/${encodeURIComponent(moduleId)}/inputs`, {
|
|
1232
|
+
...opts,
|
|
1233
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1234
|
+
authorization
|
|
1235
|
+
})
|
|
1236
|
+
}));
|
|
1237
|
+
}
|
|
853
1238
|
/**
|
|
854
1239
|
* Dispatch Module Service
|
|
855
1240
|
*/
|
|
@@ -932,7 +1317,7 @@ export function getReportV1ReportsReportIdGet({ reportId, authorization }: {
|
|
|
932
1317
|
}, opts?: Oazapfts.RequestOpts) {
|
|
933
1318
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
934
1319
|
status: 200;
|
|
935
|
-
data:
|
|
1320
|
+
data: GetReportResponseRead;
|
|
936
1321
|
} | {
|
|
937
1322
|
status: 400;
|
|
938
1323
|
data: HttpErrorResponseRead;
|
|
@@ -1105,7 +1490,7 @@ export function listRepositoryReportV1ReposRepositoryIdReportsGet({ repositoryId
|
|
|
1105
1490
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1106
1491
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1107
1492
|
status: 200;
|
|
1108
|
-
data:
|
|
1493
|
+
data: ListRepositoryReportResponseRead;
|
|
1109
1494
|
} | {
|
|
1110
1495
|
status: 400;
|
|
1111
1496
|
data: HttpErrorResponseRead;
|
|
@@ -1230,7 +1615,7 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
|
|
|
1230
1615
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1231
1616
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1232
1617
|
status: 200;
|
|
1233
|
-
data:
|
|
1618
|
+
data: ListRepositoryResponseRead;
|
|
1234
1619
|
} | {
|
|
1235
1620
|
status: 400;
|
|
1236
1621
|
data: HttpErrorResponseRead;
|
|
@@ -1267,15 +1652,22 @@ export function listRepositoryServiceV1ReposGet({ pageSize, page, lastEvaluatedK
|
|
|
1267
1652
|
}));
|
|
1268
1653
|
}
|
|
1269
1654
|
/**
|
|
1270
|
-
* List
|
|
1655
|
+
* List Repository Download Service
|
|
1271
1656
|
*/
|
|
1272
|
-
export function
|
|
1273
|
-
|
|
1657
|
+
export function listRepositoryDownloadServiceV1ReposDownloadGet({ filter, moduleId, createdByEmail, reportByEmail, orderBy, orderDirection, tags, extension, authorization }: {
|
|
1658
|
+
filter?: string;
|
|
1659
|
+
moduleId?: string;
|
|
1660
|
+
createdByEmail?: string | null;
|
|
1661
|
+
reportByEmail?: string | null;
|
|
1662
|
+
orderBy?: string;
|
|
1663
|
+
orderDirection?: string;
|
|
1664
|
+
tags?: string[] | null;
|
|
1665
|
+
extension?: "csv" | "xlsx";
|
|
1274
1666
|
authorization: string;
|
|
1275
1667
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1276
1668
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1277
1669
|
status: 200;
|
|
1278
|
-
data:
|
|
1670
|
+
data: any;
|
|
1279
1671
|
} | {
|
|
1280
1672
|
status: 400;
|
|
1281
1673
|
data: HttpErrorResponseRead;
|
|
@@ -1293,12 +1685,55 @@ export function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, authoriza
|
|
|
1293
1685
|
} | {
|
|
1294
1686
|
status: 503;
|
|
1295
1687
|
data: HttpErrorResponseRead;
|
|
1296
|
-
}>(`/v1/repos/
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1688
|
+
}>(`/v1/repos/download${QS.query(QS.explode({
|
|
1689
|
+
filter,
|
|
1690
|
+
moduleId,
|
|
1691
|
+
createdByEmail,
|
|
1692
|
+
reportByEmail,
|
|
1693
|
+
orderBy,
|
|
1694
|
+
orderDirection,
|
|
1695
|
+
tags,
|
|
1696
|
+
extension
|
|
1697
|
+
}))}`, {
|
|
1698
|
+
...opts,
|
|
1699
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1700
|
+
authorization
|
|
1701
|
+
})
|
|
1702
|
+
}));
|
|
1703
|
+
}
|
|
1704
|
+
/**
|
|
1705
|
+
* List Branches Service
|
|
1706
|
+
*/
|
|
1707
|
+
export function listBranchesServiceV1ReposBranchesGet({ repositoryUrl, authorization }: {
|
|
1708
|
+
repositoryUrl: string;
|
|
1709
|
+
authorization: string;
|
|
1710
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1711
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1712
|
+
status: 200;
|
|
1713
|
+
data: ListBranchesResponse;
|
|
1714
|
+
} | {
|
|
1715
|
+
status: 400;
|
|
1716
|
+
data: HttpErrorResponseRead;
|
|
1717
|
+
} | {
|
|
1718
|
+
status: 401;
|
|
1719
|
+
data: HttpErrorResponseRead;
|
|
1720
|
+
} | {
|
|
1721
|
+
status: 404;
|
|
1722
|
+
data: HttpErrorResponseRead;
|
|
1723
|
+
} | {
|
|
1724
|
+
status: 422;
|
|
1725
|
+
} | {
|
|
1726
|
+
status: 500;
|
|
1727
|
+
data: HttpErrorResponseRead;
|
|
1728
|
+
} | {
|
|
1729
|
+
status: 503;
|
|
1730
|
+
data: HttpErrorResponseRead;
|
|
1731
|
+
}>(`/v1/repos/branches${QS.query(QS.explode({
|
|
1732
|
+
repositoryUrl
|
|
1733
|
+
}))}`, {
|
|
1734
|
+
...opts,
|
|
1735
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1736
|
+
authorization
|
|
1302
1737
|
})
|
|
1303
1738
|
}));
|
|
1304
1739
|
}
|
|
@@ -1311,7 +1746,7 @@ export function getRepositoryByIdServiceV1ReposRepositoryIdGet({ repositoryId, a
|
|
|
1311
1746
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1312
1747
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1313
1748
|
status: 200;
|
|
1314
|
-
data:
|
|
1749
|
+
data: RepositoryResponseRead;
|
|
1315
1750
|
} | {
|
|
1316
1751
|
status: 400;
|
|
1317
1752
|
data: HttpErrorResponseRead;
|
|
@@ -1644,7 +2079,7 @@ export function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, createdByE
|
|
|
1644
2079
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1645
2080
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1646
2081
|
status: 200;
|
|
1647
|
-
data:
|
|
2082
|
+
data: ListProgramGroupResponseRead;
|
|
1648
2083
|
} | {
|
|
1649
2084
|
status: 422;
|
|
1650
2085
|
data: HttpValidationError;
|
|
@@ -1666,6 +2101,44 @@ export function listProgramGroupServiceV1ProgramGroupsGet({ moduleId, createdByE
|
|
|
1666
2101
|
})
|
|
1667
2102
|
}));
|
|
1668
2103
|
}
|
|
2104
|
+
/**
|
|
2105
|
+
* List Program Group Download Service
|
|
2106
|
+
*/
|
|
2107
|
+
export function listProgramGroupDownloadServiceV1ProgramGroupsDownloadGet({ moduleId, createdByEmail, reportByEmail, tags, name, orderBy, orderDirection, integrationId, extension, authorization }: {
|
|
2108
|
+
moduleId?: string | null;
|
|
2109
|
+
createdByEmail?: string | null;
|
|
2110
|
+
reportByEmail?: string | null;
|
|
2111
|
+
tags?: string[] | null;
|
|
2112
|
+
name?: string | null;
|
|
2113
|
+
orderBy?: string;
|
|
2114
|
+
orderDirection?: string;
|
|
2115
|
+
integrationId?: string;
|
|
2116
|
+
extension?: "csv" | "xlsx";
|
|
2117
|
+
authorization: string;
|
|
2118
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2119
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2120
|
+
status: 200;
|
|
2121
|
+
data: any;
|
|
2122
|
+
} | {
|
|
2123
|
+
status: 422;
|
|
2124
|
+
data: HttpValidationError;
|
|
2125
|
+
}>(`/v1/program-groups/download${QS.query(QS.explode({
|
|
2126
|
+
moduleId,
|
|
2127
|
+
createdByEmail,
|
|
2128
|
+
reportByEmail,
|
|
2129
|
+
tags,
|
|
2130
|
+
name,
|
|
2131
|
+
orderBy,
|
|
2132
|
+
orderDirection,
|
|
2133
|
+
integrationId,
|
|
2134
|
+
extension
|
|
2135
|
+
}))}`, {
|
|
2136
|
+
...opts,
|
|
2137
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2138
|
+
authorization
|
|
2139
|
+
})
|
|
2140
|
+
}));
|
|
2141
|
+
}
|
|
1669
2142
|
/**
|
|
1670
2143
|
* Get Program Group By Id Service
|
|
1671
2144
|
*/
|
|
@@ -1772,7 +2245,7 @@ export function listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReport
|
|
|
1772
2245
|
}, opts?: Oazapfts.RequestOpts) {
|
|
1773
2246
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1774
2247
|
status: 200;
|
|
1775
|
-
data:
|
|
2248
|
+
data: ListProgramGroupReportResponseRead;
|
|
1776
2249
|
} | {
|
|
1777
2250
|
status: 422;
|
|
1778
2251
|
data: HttpValidationError;
|
|
@@ -2379,6 +2852,348 @@ export function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsage
|
|
|
2379
2852
|
})
|
|
2380
2853
|
}));
|
|
2381
2854
|
}
|
|
2855
|
+
/**
|
|
2856
|
+
* Analytics Program Groups Details
|
|
2857
|
+
*/
|
|
2858
|
+
export function analyticsProgramGroupsDetailsV1AnalyticsProgramGroupsDetailsGet({ pageSize, page, programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
2859
|
+
pageSize?: number;
|
|
2860
|
+
page?: number;
|
|
2861
|
+
programName?: string | null;
|
|
2862
|
+
tags?: string[] | null;
|
|
2863
|
+
mode?: ("scan" | "fix") | null;
|
|
2864
|
+
moduleId?: string[] | null;
|
|
2865
|
+
programCreatedById?: string[] | null;
|
|
2866
|
+
reportCreatedById?: string[] | null;
|
|
2867
|
+
startDate?: string;
|
|
2868
|
+
endDate?: string;
|
|
2869
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
|
|
2870
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2871
|
+
authorization: string;
|
|
2872
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2873
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2874
|
+
status: 200;
|
|
2875
|
+
data: AnalyticsProgramGroupsDetailsResponse;
|
|
2876
|
+
} | {
|
|
2877
|
+
status: 400;
|
|
2878
|
+
data: HttpErrorResponseRead;
|
|
2879
|
+
} | {
|
|
2880
|
+
status: 401;
|
|
2881
|
+
data: HttpErrorResponseRead;
|
|
2882
|
+
} | {
|
|
2883
|
+
status: 404;
|
|
2884
|
+
data: HttpErrorResponseRead;
|
|
2885
|
+
} | {
|
|
2886
|
+
status: 422;
|
|
2887
|
+
} | {
|
|
2888
|
+
status: 500;
|
|
2889
|
+
data: HttpErrorResponseRead;
|
|
2890
|
+
} | {
|
|
2891
|
+
status: 503;
|
|
2892
|
+
data: HttpErrorResponseRead;
|
|
2893
|
+
}>(`/v1/analytics/program-groups/details${QS.query(QS.explode({
|
|
2894
|
+
pageSize,
|
|
2895
|
+
page,
|
|
2896
|
+
programName,
|
|
2897
|
+
tags,
|
|
2898
|
+
mode,
|
|
2899
|
+
moduleId,
|
|
2900
|
+
programCreatedById,
|
|
2901
|
+
reportCreatedById,
|
|
2902
|
+
startDate,
|
|
2903
|
+
endDate,
|
|
2904
|
+
orderBy,
|
|
2905
|
+
orderDirection
|
|
2906
|
+
}))}`, {
|
|
2907
|
+
...opts,
|
|
2908
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2909
|
+
authorization
|
|
2910
|
+
})
|
|
2911
|
+
}));
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
* Analytics Program Groups Details Download
|
|
2915
|
+
*/
|
|
2916
|
+
export function analyticsProgramGroupsDetailsDownloadV1AnalyticsProgramGroupsDetailsDownloadGet({ programName, tags, mode, moduleId, programCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
2917
|
+
programName?: string | null;
|
|
2918
|
+
tags?: string[] | null;
|
|
2919
|
+
mode?: ("scan" | "fix") | null;
|
|
2920
|
+
moduleId?: string[] | null;
|
|
2921
|
+
programCreatedById?: string[] | null;
|
|
2922
|
+
reportCreatedById?: string[] | null;
|
|
2923
|
+
startDate?: string;
|
|
2924
|
+
endDate?: string;
|
|
2925
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedByName" | "executionStartedAt" | "executionCompletedAt" | "totalFilesCount" | "analyzedFilesCount" | "issuesFilesCount" | "changedFilesCount" | "issuesCount" | "processingTimeSeconds") | null;
|
|
2926
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2927
|
+
extension?: "csv" | "xlsx";
|
|
2928
|
+
authorization: string;
|
|
2929
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2930
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2931
|
+
status: 200;
|
|
2932
|
+
data: any;
|
|
2933
|
+
} | {
|
|
2934
|
+
status: 400;
|
|
2935
|
+
data: HttpErrorResponseRead;
|
|
2936
|
+
} | {
|
|
2937
|
+
status: 401;
|
|
2938
|
+
data: HttpErrorResponseRead;
|
|
2939
|
+
} | {
|
|
2940
|
+
status: 404;
|
|
2941
|
+
data: HttpErrorResponseRead;
|
|
2942
|
+
} | {
|
|
2943
|
+
status: 422;
|
|
2944
|
+
} | {
|
|
2945
|
+
status: 500;
|
|
2946
|
+
data: HttpErrorResponseRead;
|
|
2947
|
+
} | {
|
|
2948
|
+
status: 503;
|
|
2949
|
+
data: HttpErrorResponseRead;
|
|
2950
|
+
}>(`/v1/analytics/program-groups/details/download${QS.query(QS.explode({
|
|
2951
|
+
programName,
|
|
2952
|
+
tags,
|
|
2953
|
+
mode,
|
|
2954
|
+
moduleId,
|
|
2955
|
+
programCreatedById,
|
|
2956
|
+
reportCreatedById,
|
|
2957
|
+
startDate,
|
|
2958
|
+
endDate,
|
|
2959
|
+
orderBy,
|
|
2960
|
+
orderDirection,
|
|
2961
|
+
extension
|
|
2962
|
+
}))}`, {
|
|
2963
|
+
...opts,
|
|
2964
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2965
|
+
authorization
|
|
2966
|
+
})
|
|
2967
|
+
}));
|
|
2968
|
+
}
|
|
2969
|
+
/**
|
|
2970
|
+
* Analytics Repository Detailed Report
|
|
2971
|
+
*/
|
|
2972
|
+
export function analyticsRepositoryDetailedReportV1AnalyticsRepositoriesDetailsGet({ pageSize, page, repositoryUrl, tags, mode, moduleId, repositoryCreatedById, executedBy, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
2973
|
+
pageSize?: number;
|
|
2974
|
+
page?: number;
|
|
2975
|
+
repositoryUrl?: string | null;
|
|
2976
|
+
tags?: string[] | null;
|
|
2977
|
+
mode?: ("scan" | "fix") | null;
|
|
2978
|
+
moduleId?: string[] | null;
|
|
2979
|
+
repositoryCreatedById?: string[] | null;
|
|
2980
|
+
executedBy?: string[] | null;
|
|
2981
|
+
startDate?: string;
|
|
2982
|
+
endDate?: string;
|
|
2983
|
+
orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
|
|
2984
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2985
|
+
authorization: string;
|
|
2986
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2987
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2988
|
+
status: 200;
|
|
2989
|
+
data: AnalyticsRepositoryDetailedReportResponse;
|
|
2990
|
+
} | {
|
|
2991
|
+
status: 400;
|
|
2992
|
+
data: HttpErrorResponseRead;
|
|
2993
|
+
} | {
|
|
2994
|
+
status: 401;
|
|
2995
|
+
data: HttpErrorResponseRead;
|
|
2996
|
+
} | {
|
|
2997
|
+
status: 404;
|
|
2998
|
+
data: HttpErrorResponseRead;
|
|
2999
|
+
} | {
|
|
3000
|
+
status: 422;
|
|
3001
|
+
} | {
|
|
3002
|
+
status: 500;
|
|
3003
|
+
data: HttpErrorResponseRead;
|
|
3004
|
+
} | {
|
|
3005
|
+
status: 503;
|
|
3006
|
+
data: HttpErrorResponseRead;
|
|
3007
|
+
}>(`/v1/analytics/repositories/details${QS.query(QS.explode({
|
|
3008
|
+
pageSize,
|
|
3009
|
+
page,
|
|
3010
|
+
repositoryUrl,
|
|
3011
|
+
tags,
|
|
3012
|
+
mode,
|
|
3013
|
+
moduleId,
|
|
3014
|
+
repositoryCreatedById,
|
|
3015
|
+
executedBy,
|
|
3016
|
+
startDate,
|
|
3017
|
+
endDate,
|
|
3018
|
+
orderBy,
|
|
3019
|
+
orderDirection
|
|
3020
|
+
}))}`, {
|
|
3021
|
+
...opts,
|
|
3022
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3023
|
+
authorization
|
|
3024
|
+
})
|
|
3025
|
+
}));
|
|
3026
|
+
}
|
|
3027
|
+
/**
|
|
3028
|
+
* Analytics Repository Detailed Report Download
|
|
3029
|
+
*/
|
|
3030
|
+
export function analyticsRepositoryDetailedReportDownloadV1AnalyticsRepositoriesDetailsDownloadGet({ repositoryUrl, tags, mode, moduleId, repositoryCreatedById, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
3031
|
+
repositoryUrl?: string | null;
|
|
3032
|
+
tags?: string[] | null;
|
|
3033
|
+
mode?: ("scan" | "fix") | null;
|
|
3034
|
+
moduleId?: string[] | null;
|
|
3035
|
+
repositoryCreatedById?: string[] | null;
|
|
3036
|
+
reportCreatedById?: string[] | null;
|
|
3037
|
+
startDate?: string;
|
|
3038
|
+
endDate?: string;
|
|
3039
|
+
orderBy?: ("totalFilesCount" | "analyzedFilesCount" | "changedFilesCount" | "issuesCount" | "issuesFilesCount" | "reportCreatedAt" | "repositoryUrl" | "sourceBranch" | "targetBranch" | "executionCompletedAt" | "executionStartedAt" | "moduleName" | "moduleVersion" | "processingTimeSeconds" | "pullRequestLink" | "reportCreatedByEmail" | "reportCreatedByName" | "repositoryCreatedByEmail" | "repositoryCreatedByName") | null;
|
|
3040
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
3041
|
+
extension?: "csv" | "xlsx";
|
|
3042
|
+
authorization: string;
|
|
3043
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3044
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3045
|
+
status: 200;
|
|
3046
|
+
data: AnalyticsRepositoryDetailedReportResponse;
|
|
3047
|
+
} | {
|
|
3048
|
+
status: 400;
|
|
3049
|
+
data: HttpErrorResponseRead;
|
|
3050
|
+
} | {
|
|
3051
|
+
status: 401;
|
|
3052
|
+
data: HttpErrorResponseRead;
|
|
3053
|
+
} | {
|
|
3054
|
+
status: 404;
|
|
3055
|
+
data: HttpErrorResponseRead;
|
|
3056
|
+
} | {
|
|
3057
|
+
status: 422;
|
|
3058
|
+
} | {
|
|
3059
|
+
status: 500;
|
|
3060
|
+
data: HttpErrorResponseRead;
|
|
3061
|
+
} | {
|
|
3062
|
+
status: 503;
|
|
3063
|
+
data: HttpErrorResponseRead;
|
|
3064
|
+
}>(`/v1/analytics/repositories/details/download${QS.query(QS.explode({
|
|
3065
|
+
repositoryUrl,
|
|
3066
|
+
tags,
|
|
3067
|
+
mode,
|
|
3068
|
+
moduleId,
|
|
3069
|
+
repositoryCreatedById,
|
|
3070
|
+
reportCreatedById,
|
|
3071
|
+
startDate,
|
|
3072
|
+
endDate,
|
|
3073
|
+
orderBy,
|
|
3074
|
+
orderDirection,
|
|
3075
|
+
extension
|
|
3076
|
+
}))}`, {
|
|
3077
|
+
...opts,
|
|
3078
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3079
|
+
authorization
|
|
3080
|
+
})
|
|
3081
|
+
}));
|
|
3082
|
+
}
|
|
3083
|
+
/**
|
|
3084
|
+
* Analytics Program Groups Target Details
|
|
3085
|
+
*/
|
|
3086
|
+
export function analyticsProgramGroupsTargetDetailsV1AnalyticsProgramGroupsTargetDetailsGet({ pageSize, page, programName, componentName, tags, mode, moduleId, reportCreatedById, startDate, endDate, orderBy, orderDirection, authorization }: {
|
|
3087
|
+
pageSize?: number;
|
|
3088
|
+
page?: number;
|
|
3089
|
+
programName?: string | null;
|
|
3090
|
+
componentName?: string | null;
|
|
3091
|
+
tags?: string[] | null;
|
|
3092
|
+
mode?: ("scan" | "fix") | null;
|
|
3093
|
+
moduleId?: string[] | null;
|
|
3094
|
+
reportCreatedById?: string[] | null;
|
|
3095
|
+
startDate?: string;
|
|
3096
|
+
endDate?: string;
|
|
3097
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
|
|
3098
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
3099
|
+
authorization: string;
|
|
3100
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3101
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3102
|
+
status: 200;
|
|
3103
|
+
data: AnalyticsProgramGroupsTargetDetailsResponse;
|
|
3104
|
+
} | {
|
|
3105
|
+
status: 400;
|
|
3106
|
+
data: HttpErrorResponseRead;
|
|
3107
|
+
} | {
|
|
3108
|
+
status: 401;
|
|
3109
|
+
data: HttpErrorResponseRead;
|
|
3110
|
+
} | {
|
|
3111
|
+
status: 404;
|
|
3112
|
+
data: HttpErrorResponseRead;
|
|
3113
|
+
} | {
|
|
3114
|
+
status: 422;
|
|
3115
|
+
} | {
|
|
3116
|
+
status: 500;
|
|
3117
|
+
data: HttpErrorResponseRead;
|
|
3118
|
+
} | {
|
|
3119
|
+
status: 503;
|
|
3120
|
+
data: HttpErrorResponseRead;
|
|
3121
|
+
}>(`/v1/analytics/program-groups/target-details${QS.query(QS.explode({
|
|
3122
|
+
pageSize,
|
|
3123
|
+
page,
|
|
3124
|
+
programName,
|
|
3125
|
+
componentName,
|
|
3126
|
+
tags,
|
|
3127
|
+
mode,
|
|
3128
|
+
moduleId,
|
|
3129
|
+
reportCreatedById,
|
|
3130
|
+
startDate,
|
|
3131
|
+
endDate,
|
|
3132
|
+
orderBy,
|
|
3133
|
+
orderDirection
|
|
3134
|
+
}))}`, {
|
|
3135
|
+
...opts,
|
|
3136
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3137
|
+
authorization
|
|
3138
|
+
})
|
|
3139
|
+
}));
|
|
3140
|
+
}
|
|
3141
|
+
/**
|
|
3142
|
+
* Analytics Program Groups Target Details Download
|
|
3143
|
+
*/
|
|
3144
|
+
export function analyticsProgramGroupsTargetDetailsDownloadV1AnalyticsProgramGroupsTargetDetailsDownloadGet({ programName, tags, mode, moduleId, componentName, reportCreatedById, startDate, endDate, orderBy, orderDirection, extension, authorization }: {
|
|
3145
|
+
programName?: string | null;
|
|
3146
|
+
tags?: string[] | null;
|
|
3147
|
+
mode?: ("scan" | "fix") | null;
|
|
3148
|
+
moduleId?: string[] | null;
|
|
3149
|
+
componentName?: string | null;
|
|
3150
|
+
reportCreatedById?: string[] | null;
|
|
3151
|
+
startDate?: string;
|
|
3152
|
+
endDate?: string;
|
|
3153
|
+
orderBy?: ("programGroupName" | "moduleName" | "mode" | "reportCreatedAt" | "executionStartedAt" | "executionCompletedAt" | "componentAppName" | "componentName" | "componentType" | "totalIssues" | "changedFilesCount") | null;
|
|
3154
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
3155
|
+
extension?: "csv" | "xlsx";
|
|
3156
|
+
authorization: string;
|
|
3157
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
3158
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
3159
|
+
status: 200;
|
|
3160
|
+
data: any;
|
|
3161
|
+
} | {
|
|
3162
|
+
status: 400;
|
|
3163
|
+
data: HttpErrorResponseRead;
|
|
3164
|
+
} | {
|
|
3165
|
+
status: 401;
|
|
3166
|
+
data: HttpErrorResponseRead;
|
|
3167
|
+
} | {
|
|
3168
|
+
status: 404;
|
|
3169
|
+
data: HttpErrorResponseRead;
|
|
3170
|
+
} | {
|
|
3171
|
+
status: 422;
|
|
3172
|
+
} | {
|
|
3173
|
+
status: 500;
|
|
3174
|
+
data: HttpErrorResponseRead;
|
|
3175
|
+
} | {
|
|
3176
|
+
status: 503;
|
|
3177
|
+
data: HttpErrorResponseRead;
|
|
3178
|
+
}>(`/v1/analytics/program-groups/target-details/download${QS.query(QS.explode({
|
|
3179
|
+
programName,
|
|
3180
|
+
tags,
|
|
3181
|
+
mode,
|
|
3182
|
+
moduleId,
|
|
3183
|
+
componentName,
|
|
3184
|
+
reportCreatedById,
|
|
3185
|
+
startDate,
|
|
3186
|
+
endDate,
|
|
3187
|
+
orderBy,
|
|
3188
|
+
orderDirection,
|
|
3189
|
+
extension
|
|
3190
|
+
}))}`, {
|
|
3191
|
+
...opts,
|
|
3192
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
3193
|
+
authorization
|
|
3194
|
+
})
|
|
3195
|
+
}));
|
|
3196
|
+
}
|
|
2382
3197
|
/**
|
|
2383
3198
|
* List User Service
|
|
2384
3199
|
*/
|