@stack-spot/portal-network 0.163.0 → 0.164.0-beta.2
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 +134 -0
- package/dist/api/agent-tools.d.ts +71 -5
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +88 -6
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/ai.d.ts +4 -0
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +446 -19
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +35 -0
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +271 -8
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +211 -4
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/workspace-ai.d.ts +52 -1
- package/dist/api/workspace-ai.d.ts.map +1 -1
- package/dist/api/workspace-ai.js +48 -0
- package/dist/api/workspace-ai.js.map +1 -1
- package/dist/client/agent-tools.d.ts +14 -2
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +2 -2
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +5 -3
- package/dist/client/ai.js.map +1 -1
- package/dist/client/cloud-platform-horizon.d.ts +26 -0
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +28 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/code-shift.d.ts +144 -1
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +100 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/workspace-ai.d.ts +36 -3
- package/dist/client/workspace-ai.d.ts.map +1 -1
- package/dist/client/workspace-ai.js +28 -1
- package/dist/client/workspace-ai.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/api/account.ts +1 -0
- package/src/api/agent-tools.ts +173 -11
- package/src/api/agent.ts +2 -0
- package/src/api/ai.ts +4 -0
- package/src/api/cloudPlatformHorizon.ts +556 -19
- package/src/api/codeShift.ts +656 -10
- package/src/api/notification.ts +2 -0
- package/src/api/workspace-ai.ts +110 -1
- package/src/client/agent-tools.ts +2 -2
- package/src/client/ai.ts +6 -3
- package/src/client/cloud-platform-horizon.ts +13 -1
- package/src/client/code-shift.ts +70 -0
- package/src/client/workspace-ai.ts +17 -0
package/src/api/codeShift.ts
CHANGED
|
@@ -12,7 +12,7 @@ export const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders> = {
|
|
|
12
12
|
};
|
|
13
13
|
const oazapfts = Oazapfts.runtime(defaults);
|
|
14
14
|
export const servers = {};
|
|
15
|
-
export type CodeShiftRole = "list-applications" | "create-application" | "list-repository" | "create-repository" | "delete-repository" | "dispatch-module" | "create-module" | "account-settings" | "list-integration" | "create-integration" | "delete-integration" | "list-program-group" | "create-program-group" | "delete-program-group";
|
|
15
|
+
export type CodeShiftRole = "list-applications" | "create-application" | "list-repository" | "create-repository" | "delete-repository" | "dispatch-module" | "create-module" | "account-settings" | "list-integration" | "create-integration" | "delete-integration" | "list-program-group" | "create-program-group" | "delete-program-group" | "view-analytics";
|
|
16
16
|
export type RolesResponse = {
|
|
17
17
|
result: boolean;
|
|
18
18
|
};
|
|
@@ -54,7 +54,7 @@ export type CreateModuleRequest = {
|
|
|
54
54
|
[key: string]: any;
|
|
55
55
|
} | null;
|
|
56
56
|
};
|
|
57
|
-
export type ExceptionType = "CODE_SHIFT_API_0000_UNEXPECTED_ERROR" | "CODE_SHIFT_API_0001_INVALID_VALUE" | "CODE_SHIFT_API_0002_NOT_IMPLEMENTED" | "CODE_SHIFT_API_0003_NOT_FOUND" | "CODE_SHIFT_API_0004_VALIDATION_ERROR" | "CODE_SHIFT_API_0005_CONFLICT" | "CODE_SHIFT_API_0006_INVALID_REPO_URL" | "CODE_SHIFT_API_0007_FORBIDDEN" | "CODE_SHIFT_API_0008_DEFAULT_BRANCH" | "CODE_SHIFT_API_0009_INVALID_SPREADSHEET" | "CODE_SHIFT_API_0010_PR_LINK_NOT_EXISTS" | "CODE_SHIFT_API_0011_EMPTY_SPREADSHEET" | "CODE_SHIFT_API_3000_WORKFLOW_API_DISPATCH_FAILURE" | "CODE_SHIFT_API_3001_WORKFLOW_API_DISPATCH_FORBIDDEN" | "CODE_SHIFT_API_3009_WORKFLOW_API_DISPATCH_PARSE_ERROR" | "CODE_SHIFT_API_3010_AWS_SECRET_MANAGER_GET_SECRET_FAILURE" | "CODE_SHIFT_API_3011_AWS_SECRET_MANAGER_PARSE_SECRET_ERROR" | "CODE_SHIFT_API_3100_SCM_GET_REPOSITORIES_FAILURE" | "CODE_SHIFT_API_3110_SCM_GET_PULL_REQUEST_FAILURE" | "CODE_SHIFT_API_3120_SCM_GET_BRANCHES_FAILURE" | "CODE_SHIFT_API_4000_ACCOUNTS_API_PAT_FAILURE" | "CODE_SHIFT_API_4001_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4002_ACCOUNTS_API_PAT_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
57
|
+
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_FORBIDDEN" | "CODE_SHIFT_API_4009_ACCOUNTS_API_PAT_PARSE_ERROR" | "CODE_SHIFT_API_6000_IAM_GENERATE_TOKEN_FAILURE" | "CODE_SHIFT_API_6000_IAM_INTROSPECT_TOKEN_FAILURE";
|
|
58
58
|
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";
|
|
59
59
|
export type InvalidPayloadDetails = {
|
|
60
60
|
code: BadRequestExceptionTypes | ExceptionType;
|
|
@@ -237,6 +237,15 @@ export type TargetFilesResponse = {
|
|
|
237
237
|
issues?: IssuesResponse[] | null;
|
|
238
238
|
};
|
|
239
239
|
export type ReportStatus = "waiting_dispatch" | "waiting_runner" | "dispatch_failure" | "in_progress" | "suspended" | "error" | "success" | "cancelled";
|
|
240
|
+
export type PullRequestResponse = {
|
|
241
|
+
state: string | null;
|
|
242
|
+
merged: boolean | null;
|
|
243
|
+
mergedBy: string | null;
|
|
244
|
+
mergedAt: string | null;
|
|
245
|
+
createdAt: string | null;
|
|
246
|
+
updatedAt: string | null;
|
|
247
|
+
lastSyncAt: string | null;
|
|
248
|
+
};
|
|
240
249
|
export type GetReportResponse = {
|
|
241
250
|
id: string;
|
|
242
251
|
"module": ModuleResponse2 | null;
|
|
@@ -260,6 +269,10 @@ export type GetReportResponse = {
|
|
|
260
269
|
targetFiles: TargetFilesResponse[];
|
|
261
270
|
errorLog?: string | null;
|
|
262
271
|
status: ReportStatus | null;
|
|
272
|
+
scmPullRequestData: PullRequestResponse | null;
|
|
273
|
+
};
|
|
274
|
+
export type GetPullRequest = {
|
|
275
|
+
content: string;
|
|
263
276
|
};
|
|
264
277
|
export type GetPullRequest = {
|
|
265
278
|
content: string;
|
|
@@ -358,10 +371,22 @@ export type ValidateScmUrlRequest = {
|
|
|
358
371
|
};
|
|
359
372
|
export type GetAccountSettingsRequest = {
|
|
360
373
|
maxSimultaneousExecution: number | null;
|
|
374
|
+
createRepositoryValidateBranch: boolean | null;
|
|
375
|
+
dispatchModuleValidateBranch: boolean | null;
|
|
376
|
+
createRepositoryUrlValidate?: boolean | null;
|
|
377
|
+
dispatchRepositoryUrlValidate?: boolean | null;
|
|
378
|
+
pullRequestSync: boolean | null;
|
|
379
|
+
pullRequestSyncMinHours: number | null;
|
|
380
|
+
pullRequestSyncMaxHours: number | null;
|
|
381
|
+
pullRequestSyncReprocessTime: number | null;
|
|
361
382
|
};
|
|
362
383
|
export type CreateAccountSettingsRequest = {
|
|
363
384
|
maxSimultaneousExecution?: number | null;
|
|
364
|
-
|
|
385
|
+
createRepositoryUrlValidate?: boolean | null;
|
|
386
|
+
dispatchRepositoryUrlValidate?: boolean | null;
|
|
387
|
+
pullRequestSync?: boolean | null;
|
|
388
|
+
createRepositoryValidateBranch?: boolean | null;
|
|
389
|
+
dispatchModuleValidateBranch?: boolean | null;
|
|
365
390
|
pullRequestSyncMinHours?: number | null;
|
|
366
391
|
pullRequestSyncMaxHours?: number | null;
|
|
367
392
|
pullRequestSyncReprocessTime?: number | null;
|
|
@@ -450,8 +475,8 @@ export type BodyUpdateProgramGroupServiceV1ProgramGroupsProgramGroupIdPut = {
|
|
|
450
475
|
};
|
|
451
476
|
export type PutProgramGroupComponentsRequest = {
|
|
452
477
|
appl_name: string;
|
|
453
|
-
|
|
454
|
-
|
|
478
|
+
"type": string;
|
|
479
|
+
name: string;
|
|
455
480
|
};
|
|
456
481
|
export type ModuleResponse4 = {
|
|
457
482
|
id: string;
|
|
@@ -477,6 +502,101 @@ export type ListProgramGroupReportResponse = {
|
|
|
477
502
|
/** Number of reports */
|
|
478
503
|
itemsCount: number;
|
|
479
504
|
};
|
|
505
|
+
export type ReportsWithErrorsResponse = {
|
|
506
|
+
user_id?: string | null;
|
|
507
|
+
user_name?: string | null;
|
|
508
|
+
user_email?: string | null;
|
|
509
|
+
account_id?: string | null;
|
|
510
|
+
account_slug?: string | null;
|
|
511
|
+
error_log?: string | null;
|
|
512
|
+
count_errors?: number | null;
|
|
513
|
+
};
|
|
514
|
+
export type GeneralReportSuccessAndErrorsResponses = {
|
|
515
|
+
success_count?: number | null;
|
|
516
|
+
error_count?: number | null;
|
|
517
|
+
reports_with_errors?: ReportsWithErrorsResponse[];
|
|
518
|
+
};
|
|
519
|
+
export type RepositoryLastReportStatusResponse = {
|
|
520
|
+
repositoryUrl: string;
|
|
521
|
+
moduleName: string;
|
|
522
|
+
mode: string;
|
|
523
|
+
reportCreatedAt: string;
|
|
524
|
+
reportCreatedBy: string;
|
|
525
|
+
totalFiles: number | null;
|
|
526
|
+
totalFilesAnalyzed: number | null;
|
|
527
|
+
totalFilesIssues: number | null;
|
|
528
|
+
totalFilesChanged: number | null;
|
|
529
|
+
totalIssues: number | null;
|
|
530
|
+
};
|
|
531
|
+
export type AnalyticsRepositoryLastReportStatusResponse = {
|
|
532
|
+
totalFiles?: number;
|
|
533
|
+
totalFilesAnalyzed?: number;
|
|
534
|
+
totalFilesIssues?: number;
|
|
535
|
+
totalFilesChanged?: number;
|
|
536
|
+
totalIssues?: number;
|
|
537
|
+
items: RepositoryLastReportStatusResponse[];
|
|
538
|
+
totalItems?: number;
|
|
539
|
+
};
|
|
540
|
+
export type RepositoryUsageResponse = {
|
|
541
|
+
repositoryUrl: string;
|
|
542
|
+
totalScan?: number;
|
|
543
|
+
totalScanSuccess?: number;
|
|
544
|
+
totalScanFailure?: number;
|
|
545
|
+
totalFix?: number;
|
|
546
|
+
totalFixSuccess?: number;
|
|
547
|
+
totalFixFailure?: number;
|
|
548
|
+
};
|
|
549
|
+
export type AnalyticsRepositoryUsageResponse = {
|
|
550
|
+
totalScan?: number;
|
|
551
|
+
totalScanSuccess?: number;
|
|
552
|
+
totalScanFailure?: number;
|
|
553
|
+
totalFix?: number;
|
|
554
|
+
totalFixSuccess?: number;
|
|
555
|
+
totalFixFailure?: number;
|
|
556
|
+
items: RepositoryUsageResponse[];
|
|
557
|
+
totalItems?: number;
|
|
558
|
+
};
|
|
559
|
+
export type UserUsageResponse = {
|
|
560
|
+
name: string;
|
|
561
|
+
email: string;
|
|
562
|
+
totalScan?: number;
|
|
563
|
+
totalScanSuccess?: number;
|
|
564
|
+
totalScanFailure?: number;
|
|
565
|
+
totalFix?: number;
|
|
566
|
+
totalFixSuccess?: number;
|
|
567
|
+
totalFixFailure?: number;
|
|
568
|
+
};
|
|
569
|
+
export type AnalyticsUserUsageResponse = {
|
|
570
|
+
totalScan?: number;
|
|
571
|
+
totalScanSuccess?: number;
|
|
572
|
+
totalScanFailure?: number;
|
|
573
|
+
totalFix?: number;
|
|
574
|
+
totalFixSuccess?: number;
|
|
575
|
+
totalFixFailure?: number;
|
|
576
|
+
items: UserUsageResponse[];
|
|
577
|
+
totalItems?: number;
|
|
578
|
+
};
|
|
579
|
+
export type ProgramGroupsUsageResponse = {
|
|
580
|
+
name: string;
|
|
581
|
+
createdBy: string;
|
|
582
|
+
totalRepos?: number;
|
|
583
|
+
totalScan?: number;
|
|
584
|
+
totalScanSuccess?: number;
|
|
585
|
+
totalScanFailure?: number;
|
|
586
|
+
totalFix?: number;
|
|
587
|
+
totalFixSuccess?: number;
|
|
588
|
+
totalFixFailure?: number;
|
|
589
|
+
};
|
|
590
|
+
export type AnalyticsProgramGroupsUsageResponse = {
|
|
591
|
+
totalScan?: number;
|
|
592
|
+
totalScanSuccess?: number;
|
|
593
|
+
totalScanFailure?: number;
|
|
594
|
+
totalFix?: number;
|
|
595
|
+
totalFixSuccess?: number;
|
|
596
|
+
totalFixFailure?: number;
|
|
597
|
+
items: ProgramGroupsUsageResponse[];
|
|
598
|
+
totalItems?: number;
|
|
599
|
+
};
|
|
480
600
|
export type TagResponse = {
|
|
481
601
|
name: string;
|
|
482
602
|
};
|
|
@@ -507,10 +627,9 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
507
627
|
/**
|
|
508
628
|
* Create Module Service
|
|
509
629
|
*/
|
|
510
|
-
export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
|
|
630
|
+
export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
|
|
511
631
|
authorization: string;
|
|
512
632
|
xAccountSlug?: any;
|
|
513
|
-
xAccountId?: any;
|
|
514
633
|
createModuleRequest: CreateModuleRequest;
|
|
515
634
|
}, opts?: Oazapfts.RequestOpts) {
|
|
516
635
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -539,19 +658,19 @@ export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
|
|
|
539
658
|
body: createModuleRequest,
|
|
540
659
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
541
660
|
authorization,
|
|
542
|
-
"x-account-slug": xAccountSlug
|
|
543
|
-
"x-account-id": xAccountId
|
|
661
|
+
"x-account-slug": xAccountSlug
|
|
544
662
|
})
|
|
545
663
|
})));
|
|
546
664
|
}
|
|
547
665
|
/**
|
|
548
666
|
* List Modules Service
|
|
549
667
|
*/
|
|
550
|
-
export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, authorization }: {
|
|
668
|
+
export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, xAccountSlug, authorization }: {
|
|
551
669
|
pageSize?: number;
|
|
552
670
|
moduleType?: ModuleType | null;
|
|
553
671
|
page?: number;
|
|
554
672
|
lastEvaluatedKey?: string;
|
|
673
|
+
xAccountSlug?: any;
|
|
555
674
|
authorization: string;
|
|
556
675
|
}, opts?: Oazapfts.RequestOpts) {
|
|
557
676
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -582,6 +701,7 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
|
|
|
582
701
|
}))}`, {
|
|
583
702
|
...opts,
|
|
584
703
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
704
|
+
"x-account-slug": xAccountSlug,
|
|
585
705
|
authorization
|
|
586
706
|
})
|
|
587
707
|
}));
|
|
@@ -1599,6 +1719,532 @@ export function listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReport
|
|
|
1599
1719
|
})
|
|
1600
1720
|
}));
|
|
1601
1721
|
}
|
|
1722
|
+
/**
|
|
1723
|
+
* General Report Success And Errors
|
|
1724
|
+
*/
|
|
1725
|
+
export function generalReportSuccessAndErrorsV1AnalyticsReportsGeneralSuccessAndErrorsGet({ startDate, endDate, authorization }: {
|
|
1726
|
+
startDate?: string;
|
|
1727
|
+
endDate?: string;
|
|
1728
|
+
authorization: string;
|
|
1729
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1730
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1731
|
+
status: 200;
|
|
1732
|
+
data: GeneralReportSuccessAndErrorsResponses;
|
|
1733
|
+
} | {
|
|
1734
|
+
status: 400;
|
|
1735
|
+
data: HttpErrorResponseRead;
|
|
1736
|
+
} | {
|
|
1737
|
+
status: 401;
|
|
1738
|
+
data: HttpErrorResponseRead;
|
|
1739
|
+
} | {
|
|
1740
|
+
status: 404;
|
|
1741
|
+
data: HttpErrorResponseRead;
|
|
1742
|
+
} | {
|
|
1743
|
+
status: 422;
|
|
1744
|
+
} | {
|
|
1745
|
+
status: 500;
|
|
1746
|
+
data: HttpErrorResponseRead;
|
|
1747
|
+
} | {
|
|
1748
|
+
status: 503;
|
|
1749
|
+
data: HttpErrorResponseRead;
|
|
1750
|
+
}>(`/v1/analytics/reports/general/success-and-errors${QS.query(QS.explode({
|
|
1751
|
+
startDate,
|
|
1752
|
+
endDate
|
|
1753
|
+
}))}`, {
|
|
1754
|
+
...opts,
|
|
1755
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1756
|
+
authorization
|
|
1757
|
+
})
|
|
1758
|
+
}));
|
|
1759
|
+
}
|
|
1760
|
+
/**
|
|
1761
|
+
* Analytics Repository Last Report Status
|
|
1762
|
+
*/
|
|
1763
|
+
export function analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastReportStatusGet({ pageSize, page, moduleId, executedBy, repositoryUrl, tags, orderBy, orderDirection, startDate, endDate, mode, authorization }: {
|
|
1764
|
+
pageSize?: number;
|
|
1765
|
+
page?: number;
|
|
1766
|
+
moduleId?: string[] | null;
|
|
1767
|
+
executedBy?: string[] | null;
|
|
1768
|
+
repositoryUrl?: string | null;
|
|
1769
|
+
tags?: string[] | null;
|
|
1770
|
+
orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
1771
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1772
|
+
startDate?: string | null;
|
|
1773
|
+
endDate?: string | null;
|
|
1774
|
+
mode?: ("scan" | "fix") | null;
|
|
1775
|
+
authorization: string;
|
|
1776
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1777
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1778
|
+
status: 200;
|
|
1779
|
+
data: AnalyticsRepositoryLastReportStatusResponse;
|
|
1780
|
+
} | {
|
|
1781
|
+
status: 400;
|
|
1782
|
+
data: HttpErrorResponseRead;
|
|
1783
|
+
} | {
|
|
1784
|
+
status: 401;
|
|
1785
|
+
data: HttpErrorResponseRead;
|
|
1786
|
+
} | {
|
|
1787
|
+
status: 404;
|
|
1788
|
+
data: HttpErrorResponseRead;
|
|
1789
|
+
} | {
|
|
1790
|
+
status: 422;
|
|
1791
|
+
} | {
|
|
1792
|
+
status: 500;
|
|
1793
|
+
data: HttpErrorResponseRead;
|
|
1794
|
+
} | {
|
|
1795
|
+
status: 503;
|
|
1796
|
+
data: HttpErrorResponseRead;
|
|
1797
|
+
}>(`/v1/analytics/repositories/last-report-status${QS.query(QS.explode({
|
|
1798
|
+
pageSize,
|
|
1799
|
+
page,
|
|
1800
|
+
moduleId,
|
|
1801
|
+
executedBy,
|
|
1802
|
+
repositoryUrl,
|
|
1803
|
+
tags,
|
|
1804
|
+
orderBy,
|
|
1805
|
+
orderDirection,
|
|
1806
|
+
startDate,
|
|
1807
|
+
endDate,
|
|
1808
|
+
mode
|
|
1809
|
+
}))}`, {
|
|
1810
|
+
...opts,
|
|
1811
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1812
|
+
authorization
|
|
1813
|
+
})
|
|
1814
|
+
}));
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Analytics Repository Last Report Status Download
|
|
1818
|
+
*/
|
|
1819
|
+
export function analyticsRepositoryLastReportStatusDownloadV1AnalyticsRepositoriesLastReportStatusDownloadGet({ moduleId, orderBy, tags, executedBy, repositoryUrl, orderDirection, startDate, endDate, extension, mode, authorization }: {
|
|
1820
|
+
moduleId?: string[] | null;
|
|
1821
|
+
orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
1822
|
+
tags?: string[] | null;
|
|
1823
|
+
executedBy?: string[] | null;
|
|
1824
|
+
repositoryUrl?: string | null;
|
|
1825
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1826
|
+
startDate?: string;
|
|
1827
|
+
endDate?: string;
|
|
1828
|
+
extension?: "csv" | "xlsx";
|
|
1829
|
+
mode?: ("scan" | "fix") | null;
|
|
1830
|
+
authorization: string;
|
|
1831
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1832
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1833
|
+
status: 200;
|
|
1834
|
+
data: any;
|
|
1835
|
+
} | {
|
|
1836
|
+
status: 400;
|
|
1837
|
+
data: HttpErrorResponseRead;
|
|
1838
|
+
} | {
|
|
1839
|
+
status: 401;
|
|
1840
|
+
data: HttpErrorResponseRead;
|
|
1841
|
+
} | {
|
|
1842
|
+
status: 404;
|
|
1843
|
+
data: HttpErrorResponseRead;
|
|
1844
|
+
} | {
|
|
1845
|
+
status: 422;
|
|
1846
|
+
} | {
|
|
1847
|
+
status: 500;
|
|
1848
|
+
data: HttpErrorResponseRead;
|
|
1849
|
+
} | {
|
|
1850
|
+
status: 503;
|
|
1851
|
+
data: HttpErrorResponseRead;
|
|
1852
|
+
}>(`/v1/analytics/repositories/last-report-status/download${QS.query(QS.explode({
|
|
1853
|
+
moduleId,
|
|
1854
|
+
orderBy,
|
|
1855
|
+
tags,
|
|
1856
|
+
executedBy,
|
|
1857
|
+
repositoryUrl,
|
|
1858
|
+
orderDirection,
|
|
1859
|
+
startDate,
|
|
1860
|
+
endDate,
|
|
1861
|
+
extension,
|
|
1862
|
+
mode
|
|
1863
|
+
}))}`, {
|
|
1864
|
+
...opts,
|
|
1865
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1866
|
+
authorization
|
|
1867
|
+
})
|
|
1868
|
+
}));
|
|
1869
|
+
}
|
|
1870
|
+
/**
|
|
1871
|
+
* Analytics Repository Usage
|
|
1872
|
+
*/
|
|
1873
|
+
export function analyticsRepositoryUsageV1AnalyticsRepositoriesUsageGet({ pageSize, page, moduleId, userId, tags, orderBy, executedBy, repositoryUrl, orderDirection, startDate, endDate, authorization }: {
|
|
1874
|
+
pageSize?: number;
|
|
1875
|
+
page?: number;
|
|
1876
|
+
moduleId?: string[] | null;
|
|
1877
|
+
userId?: string | null;
|
|
1878
|
+
tags?: string[] | null;
|
|
1879
|
+
orderBy?: ("repositoryUrl" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
1880
|
+
executedBy?: string[] | null;
|
|
1881
|
+
repositoryUrl?: string | null;
|
|
1882
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1883
|
+
startDate?: string;
|
|
1884
|
+
endDate?: string;
|
|
1885
|
+
authorization: string;
|
|
1886
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1887
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1888
|
+
status: 200;
|
|
1889
|
+
data: AnalyticsRepositoryUsageResponse;
|
|
1890
|
+
} | {
|
|
1891
|
+
status: 400;
|
|
1892
|
+
data: HttpErrorResponseRead;
|
|
1893
|
+
} | {
|
|
1894
|
+
status: 401;
|
|
1895
|
+
data: HttpErrorResponseRead;
|
|
1896
|
+
} | {
|
|
1897
|
+
status: 404;
|
|
1898
|
+
data: HttpErrorResponseRead;
|
|
1899
|
+
} | {
|
|
1900
|
+
status: 422;
|
|
1901
|
+
} | {
|
|
1902
|
+
status: 500;
|
|
1903
|
+
data: HttpErrorResponseRead;
|
|
1904
|
+
} | {
|
|
1905
|
+
status: 503;
|
|
1906
|
+
data: HttpErrorResponseRead;
|
|
1907
|
+
}>(`/v1/analytics/repositories/usage${QS.query(QS.explode({
|
|
1908
|
+
pageSize,
|
|
1909
|
+
page,
|
|
1910
|
+
moduleId,
|
|
1911
|
+
user_id: userId,
|
|
1912
|
+
tags,
|
|
1913
|
+
orderBy,
|
|
1914
|
+
executedBy,
|
|
1915
|
+
repositoryUrl,
|
|
1916
|
+
orderDirection,
|
|
1917
|
+
startDate,
|
|
1918
|
+
endDate
|
|
1919
|
+
}))}`, {
|
|
1920
|
+
...opts,
|
|
1921
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1922
|
+
authorization
|
|
1923
|
+
})
|
|
1924
|
+
}));
|
|
1925
|
+
}
|
|
1926
|
+
/**
|
|
1927
|
+
* Analytics Repository Usage Download
|
|
1928
|
+
*/
|
|
1929
|
+
export function analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet({ moduleId, userId, orderBy, tags, executedBy, repositoryUrl, orderDirection, startDate, endDate, extension, authorization }: {
|
|
1930
|
+
moduleId?: string[] | null;
|
|
1931
|
+
userId?: string | null;
|
|
1932
|
+
orderBy?: ("repositoryUrl" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
1933
|
+
tags?: string[] | null;
|
|
1934
|
+
executedBy?: string[] | null;
|
|
1935
|
+
repositoryUrl?: string | null;
|
|
1936
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1937
|
+
startDate?: string;
|
|
1938
|
+
endDate?: string;
|
|
1939
|
+
extension?: "csv" | "xlsx";
|
|
1940
|
+
authorization: string;
|
|
1941
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1942
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1943
|
+
status: 200;
|
|
1944
|
+
data: any;
|
|
1945
|
+
} | {
|
|
1946
|
+
status: 400;
|
|
1947
|
+
data: HttpErrorResponseRead;
|
|
1948
|
+
} | {
|
|
1949
|
+
status: 401;
|
|
1950
|
+
data: HttpErrorResponseRead;
|
|
1951
|
+
} | {
|
|
1952
|
+
status: 404;
|
|
1953
|
+
data: HttpErrorResponseRead;
|
|
1954
|
+
} | {
|
|
1955
|
+
status: 422;
|
|
1956
|
+
} | {
|
|
1957
|
+
status: 500;
|
|
1958
|
+
data: HttpErrorResponseRead;
|
|
1959
|
+
} | {
|
|
1960
|
+
status: 503;
|
|
1961
|
+
data: HttpErrorResponseRead;
|
|
1962
|
+
}>(`/v1/analytics/repositories/usage/download${QS.query(QS.explode({
|
|
1963
|
+
moduleId,
|
|
1964
|
+
user_id: userId,
|
|
1965
|
+
orderBy,
|
|
1966
|
+
tags,
|
|
1967
|
+
executedBy,
|
|
1968
|
+
repositoryUrl,
|
|
1969
|
+
orderDirection,
|
|
1970
|
+
startDate,
|
|
1971
|
+
endDate,
|
|
1972
|
+
extension
|
|
1973
|
+
}))}`, {
|
|
1974
|
+
...opts,
|
|
1975
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1976
|
+
authorization
|
|
1977
|
+
})
|
|
1978
|
+
}));
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* Analytics User Usage
|
|
1982
|
+
*/
|
|
1983
|
+
export function analyticsUserUsageV1AnalyticsUsersUsageGet({ pageSize, page, moduleId, reportType, orderBy, orderDirection, startDate, endDate, authorization }: {
|
|
1984
|
+
pageSize?: number;
|
|
1985
|
+
page?: number;
|
|
1986
|
+
moduleId?: string[] | null;
|
|
1987
|
+
reportType?: ("repository" | "program_group") | null;
|
|
1988
|
+
orderBy?: ("name" | "email" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
1989
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1990
|
+
startDate?: string;
|
|
1991
|
+
endDate?: string;
|
|
1992
|
+
authorization: string;
|
|
1993
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1994
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1995
|
+
status: 200;
|
|
1996
|
+
data: AnalyticsUserUsageResponse;
|
|
1997
|
+
} | {
|
|
1998
|
+
status: 400;
|
|
1999
|
+
data: HttpErrorResponseRead;
|
|
2000
|
+
} | {
|
|
2001
|
+
status: 401;
|
|
2002
|
+
data: HttpErrorResponseRead;
|
|
2003
|
+
} | {
|
|
2004
|
+
status: 404;
|
|
2005
|
+
data: HttpErrorResponseRead;
|
|
2006
|
+
} | {
|
|
2007
|
+
status: 422;
|
|
2008
|
+
} | {
|
|
2009
|
+
status: 500;
|
|
2010
|
+
data: HttpErrorResponseRead;
|
|
2011
|
+
} | {
|
|
2012
|
+
status: 503;
|
|
2013
|
+
data: HttpErrorResponseRead;
|
|
2014
|
+
}>(`/v1/analytics/users/usage${QS.query(QS.explode({
|
|
2015
|
+
pageSize,
|
|
2016
|
+
page,
|
|
2017
|
+
moduleId,
|
|
2018
|
+
report_type: reportType,
|
|
2019
|
+
orderBy,
|
|
2020
|
+
orderDirection,
|
|
2021
|
+
startDate,
|
|
2022
|
+
endDate
|
|
2023
|
+
}))}`, {
|
|
2024
|
+
...opts,
|
|
2025
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2026
|
+
authorization
|
|
2027
|
+
})
|
|
2028
|
+
}));
|
|
2029
|
+
}
|
|
2030
|
+
/**
|
|
2031
|
+
* Analytics User Usage Download
|
|
2032
|
+
*/
|
|
2033
|
+
export function analyticsUserUsageDownloadV1AnalyticsUsersUsageDownloadGet({ moduleId, reportType, orderBy, orderDirection, startDate, endDate, extension, authorization }: {
|
|
2034
|
+
moduleId?: string[] | null;
|
|
2035
|
+
reportType?: ("repository" | "program_group") | null;
|
|
2036
|
+
orderBy?: ("name" | "email" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
2037
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2038
|
+
startDate?: string;
|
|
2039
|
+
endDate?: string;
|
|
2040
|
+
extension?: "csv" | "xlsx";
|
|
2041
|
+
authorization: string;
|
|
2042
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2043
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2044
|
+
status: 200;
|
|
2045
|
+
data: any;
|
|
2046
|
+
} | {
|
|
2047
|
+
status: 400;
|
|
2048
|
+
data: HttpErrorResponseRead;
|
|
2049
|
+
} | {
|
|
2050
|
+
status: 401;
|
|
2051
|
+
data: HttpErrorResponseRead;
|
|
2052
|
+
} | {
|
|
2053
|
+
status: 404;
|
|
2054
|
+
data: HttpErrorResponseRead;
|
|
2055
|
+
} | {
|
|
2056
|
+
status: 422;
|
|
2057
|
+
} | {
|
|
2058
|
+
status: 500;
|
|
2059
|
+
data: HttpErrorResponseRead;
|
|
2060
|
+
} | {
|
|
2061
|
+
status: 503;
|
|
2062
|
+
data: HttpErrorResponseRead;
|
|
2063
|
+
}>(`/v1/analytics/users/usage/download${QS.query(QS.explode({
|
|
2064
|
+
moduleId,
|
|
2065
|
+
report_type: reportType,
|
|
2066
|
+
orderBy,
|
|
2067
|
+
orderDirection,
|
|
2068
|
+
startDate,
|
|
2069
|
+
endDate,
|
|
2070
|
+
extension
|
|
2071
|
+
}))}`, {
|
|
2072
|
+
...opts,
|
|
2073
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2074
|
+
authorization
|
|
2075
|
+
})
|
|
2076
|
+
}));
|
|
2077
|
+
}
|
|
2078
|
+
/**
|
|
2079
|
+
* Analytics Program Groups Last Report Status Download
|
|
2080
|
+
*/
|
|
2081
|
+
export function analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet({ moduleId, orderBy, orderDirection, startDate, endDate, reportType, extension, authorization }: {
|
|
2082
|
+
moduleId?: string[] | null;
|
|
2083
|
+
orderBy?: ("programName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
2084
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2085
|
+
startDate?: string | null;
|
|
2086
|
+
endDate?: string | null;
|
|
2087
|
+
reportType?: ("repository" | "program_group") | null;
|
|
2088
|
+
extension?: "csv" | "xlsx";
|
|
2089
|
+
authorization: string;
|
|
2090
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2091
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2092
|
+
status: 200;
|
|
2093
|
+
data: any;
|
|
2094
|
+
} | {
|
|
2095
|
+
status: 400;
|
|
2096
|
+
data: HttpErrorResponseRead;
|
|
2097
|
+
} | {
|
|
2098
|
+
status: 401;
|
|
2099
|
+
data: HttpErrorResponseRead;
|
|
2100
|
+
} | {
|
|
2101
|
+
status: 404;
|
|
2102
|
+
data: HttpErrorResponseRead;
|
|
2103
|
+
} | {
|
|
2104
|
+
status: 422;
|
|
2105
|
+
} | {
|
|
2106
|
+
status: 500;
|
|
2107
|
+
data: HttpErrorResponseRead;
|
|
2108
|
+
} | {
|
|
2109
|
+
status: 503;
|
|
2110
|
+
data: HttpErrorResponseRead;
|
|
2111
|
+
}>(`/v1/analytics/program-groups/last-report-status/download${QS.query(QS.explode({
|
|
2112
|
+
moduleId,
|
|
2113
|
+
orderBy,
|
|
2114
|
+
orderDirection,
|
|
2115
|
+
startDate,
|
|
2116
|
+
endDate,
|
|
2117
|
+
report_type: reportType,
|
|
2118
|
+
extension
|
|
2119
|
+
}))}`, {
|
|
2120
|
+
...opts,
|
|
2121
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2122
|
+
authorization
|
|
2123
|
+
})
|
|
2124
|
+
}));
|
|
2125
|
+
}
|
|
2126
|
+
/**
|
|
2127
|
+
* Analytics Program Groups Usage Download
|
|
2128
|
+
*/
|
|
2129
|
+
export function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsageDownloadGet({ authorization }: {
|
|
2130
|
+
authorization: string;
|
|
2131
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2132
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2133
|
+
status: 200;
|
|
2134
|
+
data: any;
|
|
2135
|
+
} | {
|
|
2136
|
+
status: 400;
|
|
2137
|
+
data: HttpErrorResponseRead;
|
|
2138
|
+
} | {
|
|
2139
|
+
status: 401;
|
|
2140
|
+
data: HttpErrorResponseRead;
|
|
2141
|
+
} | {
|
|
2142
|
+
status: 404;
|
|
2143
|
+
data: HttpErrorResponseRead;
|
|
2144
|
+
} | {
|
|
2145
|
+
status: 422;
|
|
2146
|
+
} | {
|
|
2147
|
+
status: 500;
|
|
2148
|
+
data: HttpErrorResponseRead;
|
|
2149
|
+
} | {
|
|
2150
|
+
status: 503;
|
|
2151
|
+
data: HttpErrorResponseRead;
|
|
2152
|
+
}>("/v1/analytics/program-groups/usage/download", {
|
|
2153
|
+
...opts,
|
|
2154
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2155
|
+
authorization
|
|
2156
|
+
})
|
|
2157
|
+
}));
|
|
2158
|
+
}
|
|
2159
|
+
/**
|
|
2160
|
+
* Analytics Program Groups Last Report Status
|
|
2161
|
+
*/
|
|
2162
|
+
export function analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet({ pageSize, page, moduleId, userId, tags, orderBy, executedBy, programName, orderDirection, startDate, endDate, authorization }: {
|
|
2163
|
+
pageSize?: number;
|
|
2164
|
+
page?: number;
|
|
2165
|
+
moduleId?: string[] | null;
|
|
2166
|
+
userId?: string | null;
|
|
2167
|
+
tags?: string[] | null;
|
|
2168
|
+
orderBy?: ("programName" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
2169
|
+
executedBy?: string[] | null;
|
|
2170
|
+
programName?: string | null;
|
|
2171
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2172
|
+
startDate?: string;
|
|
2173
|
+
endDate?: string;
|
|
2174
|
+
authorization: string;
|
|
2175
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2176
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2177
|
+
status: 200;
|
|
2178
|
+
data: any;
|
|
2179
|
+
} | {
|
|
2180
|
+
status: 400;
|
|
2181
|
+
data: HttpErrorResponseRead;
|
|
2182
|
+
} | {
|
|
2183
|
+
status: 401;
|
|
2184
|
+
data: HttpErrorResponseRead;
|
|
2185
|
+
} | {
|
|
2186
|
+
status: 404;
|
|
2187
|
+
data: HttpErrorResponseRead;
|
|
2188
|
+
} | {
|
|
2189
|
+
status: 422;
|
|
2190
|
+
} | {
|
|
2191
|
+
status: 500;
|
|
2192
|
+
data: HttpErrorResponseRead;
|
|
2193
|
+
} | {
|
|
2194
|
+
status: 503;
|
|
2195
|
+
data: HttpErrorResponseRead;
|
|
2196
|
+
}>(`/v1/analytics/program-groups/last-report-status${QS.query(QS.explode({
|
|
2197
|
+
pageSize,
|
|
2198
|
+
page,
|
|
2199
|
+
moduleId,
|
|
2200
|
+
user_id: userId,
|
|
2201
|
+
tags,
|
|
2202
|
+
orderBy,
|
|
2203
|
+
executedBy,
|
|
2204
|
+
programName,
|
|
2205
|
+
orderDirection,
|
|
2206
|
+
startDate,
|
|
2207
|
+
endDate
|
|
2208
|
+
}))}`, {
|
|
2209
|
+
...opts,
|
|
2210
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2211
|
+
authorization
|
|
2212
|
+
})
|
|
2213
|
+
}));
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* Analytics Program Groups Usage
|
|
2217
|
+
*/
|
|
2218
|
+
export function analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet({ authorization }: {
|
|
2219
|
+
authorization: string;
|
|
2220
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2221
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2222
|
+
status: 200;
|
|
2223
|
+
data: AnalyticsProgramGroupsUsageResponse;
|
|
2224
|
+
} | {
|
|
2225
|
+
status: 400;
|
|
2226
|
+
data: HttpErrorResponseRead;
|
|
2227
|
+
} | {
|
|
2228
|
+
status: 401;
|
|
2229
|
+
data: HttpErrorResponseRead;
|
|
2230
|
+
} | {
|
|
2231
|
+
status: 404;
|
|
2232
|
+
data: HttpErrorResponseRead;
|
|
2233
|
+
} | {
|
|
2234
|
+
status: 422;
|
|
2235
|
+
} | {
|
|
2236
|
+
status: 500;
|
|
2237
|
+
data: HttpErrorResponseRead;
|
|
2238
|
+
} | {
|
|
2239
|
+
status: 503;
|
|
2240
|
+
data: HttpErrorResponseRead;
|
|
2241
|
+
}>("/v1/analytics/program-groups/usage", {
|
|
2242
|
+
...opts,
|
|
2243
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2244
|
+
authorization
|
|
2245
|
+
})
|
|
2246
|
+
}));
|
|
2247
|
+
}
|
|
1602
2248
|
/**
|
|
1603
2249
|
* List Tags Service
|
|
1604
2250
|
*/
|