@stack-spot/portal-network 0.162.2 → 0.163.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 +140 -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 -6
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +191 -4
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/content.d.ts +140 -308
- package/dist/api/content.d.ts.map +1 -1
- package/dist/api/content.js +79 -217
- package/dist/api/content.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 -11
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +2 -12
- 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 +126 -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/content.d.ts +10 -4
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/content.js +10 -1
- package/dist/client/content.js.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +9 -0
- package/dist/client/gen-ai-inference.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.js +11 -2
- package/dist/client/gen-ai-inference.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 +636 -8
- package/src/api/content.ts +343 -795
- package/src/api/notification.ts +2 -0
- package/src/api/workspace-ai.ts +110 -1
- package/src/client/agent-tools.ts +2 -8
- 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/content.ts +5 -0
- package/src/client/gen-ai-inference.ts +7 -2
- 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;
|
|
@@ -477,6 +502,121 @@ 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 ProgramGroupLastReportStatusResponse = {
|
|
580
|
+
repositoryUrl: string;
|
|
581
|
+
createdBy: string;
|
|
582
|
+
createdAt: string;
|
|
583
|
+
totalFiles?: number;
|
|
584
|
+
totalFilesAnalyzed?: number;
|
|
585
|
+
totalFilesIssues?: number;
|
|
586
|
+
totalFilesChanged?: number;
|
|
587
|
+
totalIssues?: number;
|
|
588
|
+
};
|
|
589
|
+
export type AnalyticsProgramGroupsLastReportStatusResponse = {
|
|
590
|
+
totalUsed?: number;
|
|
591
|
+
totalFiles?: number;
|
|
592
|
+
totalFilesAnalyzed?: number;
|
|
593
|
+
totalFilesIssues?: number;
|
|
594
|
+
totalFilesChanged?: number;
|
|
595
|
+
totalIssues?: number;
|
|
596
|
+
items: ProgramGroupLastReportStatusResponse[];
|
|
597
|
+
totalItems?: number;
|
|
598
|
+
};
|
|
599
|
+
export type ProgramGroupsUsageResponse = {
|
|
600
|
+
name: string;
|
|
601
|
+
createdBy: string;
|
|
602
|
+
totalRepos?: number;
|
|
603
|
+
totalScan?: number;
|
|
604
|
+
totalScanSuccess?: number;
|
|
605
|
+
totalScanFailure?: number;
|
|
606
|
+
totalFix?: number;
|
|
607
|
+
totalFixSuccess?: number;
|
|
608
|
+
totalFixFailure?: number;
|
|
609
|
+
};
|
|
610
|
+
export type AnalyticsProgramGroupsUsageResponse = {
|
|
611
|
+
totalScan?: number;
|
|
612
|
+
totalScanSuccess?: number;
|
|
613
|
+
totalScanFailure?: number;
|
|
614
|
+
totalFix?: number;
|
|
615
|
+
totalFixSuccess?: number;
|
|
616
|
+
totalFixFailure?: number;
|
|
617
|
+
items: ProgramGroupsUsageResponse[];
|
|
618
|
+
totalItems?: number;
|
|
619
|
+
};
|
|
480
620
|
export type TagResponse = {
|
|
481
621
|
name: string;
|
|
482
622
|
};
|
|
@@ -507,10 +647,9 @@ export function checkRoleRouteV1RolesRoleGet({ role, authorization }: {
|
|
|
507
647
|
/**
|
|
508
648
|
* Create Module Service
|
|
509
649
|
*/
|
|
510
|
-
export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
|
|
650
|
+
export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug, createModuleRequest }: {
|
|
511
651
|
authorization: string;
|
|
512
652
|
xAccountSlug?: any;
|
|
513
|
-
xAccountId?: any;
|
|
514
653
|
createModuleRequest: CreateModuleRequest;
|
|
515
654
|
}, opts?: Oazapfts.RequestOpts) {
|
|
516
655
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -539,19 +678,19 @@ export function createModuleServiceV1ModulesPost({ authorization, xAccountSlug,
|
|
|
539
678
|
body: createModuleRequest,
|
|
540
679
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
541
680
|
authorization,
|
|
542
|
-
"x-account-slug": xAccountSlug
|
|
543
|
-
"x-account-id": xAccountId
|
|
681
|
+
"x-account-slug": xAccountSlug
|
|
544
682
|
})
|
|
545
683
|
})));
|
|
546
684
|
}
|
|
547
685
|
/**
|
|
548
686
|
* List Modules Service
|
|
549
687
|
*/
|
|
550
|
-
export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, authorization }: {
|
|
688
|
+
export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, lastEvaluatedKey, xAccountSlug, authorization }: {
|
|
551
689
|
pageSize?: number;
|
|
552
690
|
moduleType?: ModuleType | null;
|
|
553
691
|
page?: number;
|
|
554
692
|
lastEvaluatedKey?: string;
|
|
693
|
+
xAccountSlug?: any;
|
|
555
694
|
authorization: string;
|
|
556
695
|
}, opts?: Oazapfts.RequestOpts) {
|
|
557
696
|
return oazapfts.ok(oazapfts.fetchJson<{
|
|
@@ -582,6 +721,7 @@ export function listModulesServiceV1ModulesGet({ pageSize, moduleType, page, las
|
|
|
582
721
|
}))}`, {
|
|
583
722
|
...opts,
|
|
584
723
|
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
724
|
+
"x-account-slug": xAccountSlug,
|
|
585
725
|
authorization
|
|
586
726
|
})
|
|
587
727
|
}));
|
|
@@ -1599,6 +1739,494 @@ export function listProgramGroupReportServiceV1ProgramGroupsProgramGroupIdReport
|
|
|
1599
1739
|
})
|
|
1600
1740
|
}));
|
|
1601
1741
|
}
|
|
1742
|
+
/**
|
|
1743
|
+
* General Report Success And Errors
|
|
1744
|
+
*/
|
|
1745
|
+
export function generalReportSuccessAndErrorsV1AnalyticsReportsGeneralSuccessAndErrorsGet({ startDate, endDate, authorization }: {
|
|
1746
|
+
startDate?: string;
|
|
1747
|
+
endDate?: string;
|
|
1748
|
+
authorization: string;
|
|
1749
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1750
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1751
|
+
status: 200;
|
|
1752
|
+
data: GeneralReportSuccessAndErrorsResponses;
|
|
1753
|
+
} | {
|
|
1754
|
+
status: 400;
|
|
1755
|
+
data: HttpErrorResponseRead;
|
|
1756
|
+
} | {
|
|
1757
|
+
status: 401;
|
|
1758
|
+
data: HttpErrorResponseRead;
|
|
1759
|
+
} | {
|
|
1760
|
+
status: 404;
|
|
1761
|
+
data: HttpErrorResponseRead;
|
|
1762
|
+
} | {
|
|
1763
|
+
status: 422;
|
|
1764
|
+
} | {
|
|
1765
|
+
status: 500;
|
|
1766
|
+
data: HttpErrorResponseRead;
|
|
1767
|
+
} | {
|
|
1768
|
+
status: 503;
|
|
1769
|
+
data: HttpErrorResponseRead;
|
|
1770
|
+
}>(`/v1/analytics/reports/general/success-and-errors${QS.query(QS.explode({
|
|
1771
|
+
startDate,
|
|
1772
|
+
endDate
|
|
1773
|
+
}))}`, {
|
|
1774
|
+
...opts,
|
|
1775
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1776
|
+
authorization
|
|
1777
|
+
})
|
|
1778
|
+
}));
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* Analytics Repository Last Report Status
|
|
1782
|
+
*/
|
|
1783
|
+
export function analyticsRepositoryLastReportStatusV1AnalyticsRepositoriesLastReportStatusGet({ pageSize, page, moduleId, executedBy, repositoryUrl, tags, orderBy, orderDirection, startDate, endDate, mode, authorization }: {
|
|
1784
|
+
pageSize?: number;
|
|
1785
|
+
page?: number;
|
|
1786
|
+
moduleId?: string[] | null;
|
|
1787
|
+
executedBy?: string[] | null;
|
|
1788
|
+
repositoryUrl?: string | null;
|
|
1789
|
+
tags?: string[] | null;
|
|
1790
|
+
orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
1791
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1792
|
+
startDate?: string;
|
|
1793
|
+
endDate?: string;
|
|
1794
|
+
mode?: ("scan" | "fix") | null;
|
|
1795
|
+
authorization: string;
|
|
1796
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1797
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1798
|
+
status: 200;
|
|
1799
|
+
data: AnalyticsRepositoryLastReportStatusResponse;
|
|
1800
|
+
} | {
|
|
1801
|
+
status: 400;
|
|
1802
|
+
data: HttpErrorResponseRead;
|
|
1803
|
+
} | {
|
|
1804
|
+
status: 401;
|
|
1805
|
+
data: HttpErrorResponseRead;
|
|
1806
|
+
} | {
|
|
1807
|
+
status: 404;
|
|
1808
|
+
data: HttpErrorResponseRead;
|
|
1809
|
+
} | {
|
|
1810
|
+
status: 422;
|
|
1811
|
+
} | {
|
|
1812
|
+
status: 500;
|
|
1813
|
+
data: HttpErrorResponseRead;
|
|
1814
|
+
} | {
|
|
1815
|
+
status: 503;
|
|
1816
|
+
data: HttpErrorResponseRead;
|
|
1817
|
+
}>(`/v1/analytics/repositories/last-report-status${QS.query(QS.explode({
|
|
1818
|
+
pageSize,
|
|
1819
|
+
page,
|
|
1820
|
+
moduleId,
|
|
1821
|
+
executedBy,
|
|
1822
|
+
repositoryUrl,
|
|
1823
|
+
tags,
|
|
1824
|
+
orderBy,
|
|
1825
|
+
orderDirection,
|
|
1826
|
+
startDate,
|
|
1827
|
+
endDate,
|
|
1828
|
+
mode
|
|
1829
|
+
}))}`, {
|
|
1830
|
+
...opts,
|
|
1831
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1832
|
+
authorization
|
|
1833
|
+
})
|
|
1834
|
+
}));
|
|
1835
|
+
}
|
|
1836
|
+
/**
|
|
1837
|
+
* Analytics Repository Last Report Status Download
|
|
1838
|
+
*/
|
|
1839
|
+
export function analyticsRepositoryLastReportStatusDownloadV1AnalyticsRepositoriesLastReportStatusDownloadGet({ moduleId, orderBy, tags, executedBy, repositoryUrl, orderDirection, startDate, endDate, extension, mode, authorization }: {
|
|
1840
|
+
moduleId?: string[] | null;
|
|
1841
|
+
orderBy?: ("repositoryUrl" | "moduleName" | "mode" | "reportCreatedAt" | "reportCreatedBy" | "totalFiles" | "totalFilesAnalyzed" | "totalFilesIssues" | "totalFilesChanged" | "totalIssues") | null;
|
|
1842
|
+
tags?: string[] | null;
|
|
1843
|
+
executedBy?: string[] | null;
|
|
1844
|
+
repositoryUrl?: string | null;
|
|
1845
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1846
|
+
startDate?: string;
|
|
1847
|
+
endDate?: string;
|
|
1848
|
+
extension?: "csv" | "xlsx";
|
|
1849
|
+
mode?: ("scan" | "fix") | null;
|
|
1850
|
+
authorization: string;
|
|
1851
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1852
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1853
|
+
status: 200;
|
|
1854
|
+
data: any;
|
|
1855
|
+
} | {
|
|
1856
|
+
status: 400;
|
|
1857
|
+
data: HttpErrorResponseRead;
|
|
1858
|
+
} | {
|
|
1859
|
+
status: 401;
|
|
1860
|
+
data: HttpErrorResponseRead;
|
|
1861
|
+
} | {
|
|
1862
|
+
status: 404;
|
|
1863
|
+
data: HttpErrorResponseRead;
|
|
1864
|
+
} | {
|
|
1865
|
+
status: 422;
|
|
1866
|
+
} | {
|
|
1867
|
+
status: 500;
|
|
1868
|
+
data: HttpErrorResponseRead;
|
|
1869
|
+
} | {
|
|
1870
|
+
status: 503;
|
|
1871
|
+
data: HttpErrorResponseRead;
|
|
1872
|
+
}>(`/v1/analytics/repositories/last-report-status/download${QS.query(QS.explode({
|
|
1873
|
+
moduleId,
|
|
1874
|
+
orderBy,
|
|
1875
|
+
tags,
|
|
1876
|
+
executedBy,
|
|
1877
|
+
repositoryUrl,
|
|
1878
|
+
orderDirection,
|
|
1879
|
+
startDate,
|
|
1880
|
+
endDate,
|
|
1881
|
+
extension,
|
|
1882
|
+
mode
|
|
1883
|
+
}))}`, {
|
|
1884
|
+
...opts,
|
|
1885
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1886
|
+
authorization
|
|
1887
|
+
})
|
|
1888
|
+
}));
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* Analytics Repository Usage
|
|
1892
|
+
*/
|
|
1893
|
+
export function analyticsRepositoryUsageV1AnalyticsRepositoriesUsageGet({ pageSize, page, moduleId, userId, tags, orderBy, executedBy, repositoryUrl, orderDirection, startDate, endDate, authorization }: {
|
|
1894
|
+
pageSize?: number;
|
|
1895
|
+
page?: number;
|
|
1896
|
+
moduleId?: string[] | null;
|
|
1897
|
+
userId?: string | null;
|
|
1898
|
+
tags?: string[] | null;
|
|
1899
|
+
orderBy?: ("repositoryUrl" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
1900
|
+
executedBy?: string[] | null;
|
|
1901
|
+
repositoryUrl?: string | null;
|
|
1902
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1903
|
+
startDate?: string;
|
|
1904
|
+
endDate?: string;
|
|
1905
|
+
authorization: string;
|
|
1906
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1907
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1908
|
+
status: 200;
|
|
1909
|
+
data: AnalyticsRepositoryUsageResponse;
|
|
1910
|
+
} | {
|
|
1911
|
+
status: 400;
|
|
1912
|
+
data: HttpErrorResponseRead;
|
|
1913
|
+
} | {
|
|
1914
|
+
status: 401;
|
|
1915
|
+
data: HttpErrorResponseRead;
|
|
1916
|
+
} | {
|
|
1917
|
+
status: 404;
|
|
1918
|
+
data: HttpErrorResponseRead;
|
|
1919
|
+
} | {
|
|
1920
|
+
status: 422;
|
|
1921
|
+
} | {
|
|
1922
|
+
status: 500;
|
|
1923
|
+
data: HttpErrorResponseRead;
|
|
1924
|
+
} | {
|
|
1925
|
+
status: 503;
|
|
1926
|
+
data: HttpErrorResponseRead;
|
|
1927
|
+
}>(`/v1/analytics/repositories/usage${QS.query(QS.explode({
|
|
1928
|
+
pageSize,
|
|
1929
|
+
page,
|
|
1930
|
+
moduleId,
|
|
1931
|
+
user_id: userId,
|
|
1932
|
+
tags,
|
|
1933
|
+
orderBy,
|
|
1934
|
+
executedBy,
|
|
1935
|
+
repositoryUrl,
|
|
1936
|
+
orderDirection,
|
|
1937
|
+
startDate,
|
|
1938
|
+
endDate
|
|
1939
|
+
}))}`, {
|
|
1940
|
+
...opts,
|
|
1941
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1942
|
+
authorization
|
|
1943
|
+
})
|
|
1944
|
+
}));
|
|
1945
|
+
}
|
|
1946
|
+
/**
|
|
1947
|
+
* Analytics Repository Usage Download
|
|
1948
|
+
*/
|
|
1949
|
+
export function analyticsRepositoryUsageDownloadV1AnalyticsRepositoriesUsageDownloadGet({ moduleId, userId, orderBy, tags, executedBy, repositoryUrl, orderDirection, startDate, endDate, extension, authorization }: {
|
|
1950
|
+
moduleId?: string[] | null;
|
|
1951
|
+
userId?: string | null;
|
|
1952
|
+
orderBy?: ("repositoryUrl" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
1953
|
+
tags?: string[] | null;
|
|
1954
|
+
executedBy?: string[] | null;
|
|
1955
|
+
repositoryUrl?: string | null;
|
|
1956
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
1957
|
+
startDate?: string;
|
|
1958
|
+
endDate?: string;
|
|
1959
|
+
extension?: "csv" | "xlsx";
|
|
1960
|
+
authorization: string;
|
|
1961
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
1962
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
1963
|
+
status: 200;
|
|
1964
|
+
data: any;
|
|
1965
|
+
} | {
|
|
1966
|
+
status: 400;
|
|
1967
|
+
data: HttpErrorResponseRead;
|
|
1968
|
+
} | {
|
|
1969
|
+
status: 401;
|
|
1970
|
+
data: HttpErrorResponseRead;
|
|
1971
|
+
} | {
|
|
1972
|
+
status: 404;
|
|
1973
|
+
data: HttpErrorResponseRead;
|
|
1974
|
+
} | {
|
|
1975
|
+
status: 422;
|
|
1976
|
+
} | {
|
|
1977
|
+
status: 500;
|
|
1978
|
+
data: HttpErrorResponseRead;
|
|
1979
|
+
} | {
|
|
1980
|
+
status: 503;
|
|
1981
|
+
data: HttpErrorResponseRead;
|
|
1982
|
+
}>(`/v1/analytics/repositories/usage/download${QS.query(QS.explode({
|
|
1983
|
+
moduleId,
|
|
1984
|
+
user_id: userId,
|
|
1985
|
+
orderBy,
|
|
1986
|
+
tags,
|
|
1987
|
+
executedBy,
|
|
1988
|
+
repositoryUrl,
|
|
1989
|
+
orderDirection,
|
|
1990
|
+
startDate,
|
|
1991
|
+
endDate,
|
|
1992
|
+
extension
|
|
1993
|
+
}))}`, {
|
|
1994
|
+
...opts,
|
|
1995
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
1996
|
+
authorization
|
|
1997
|
+
})
|
|
1998
|
+
}));
|
|
1999
|
+
}
|
|
2000
|
+
/**
|
|
2001
|
+
* Analytics User Usage
|
|
2002
|
+
*/
|
|
2003
|
+
export function analyticsUserUsageV1AnalyticsUsersUsageGet({ pageSize, page, moduleId, reportType, orderBy, orderDirection, startDate, endDate, authorization }: {
|
|
2004
|
+
pageSize?: number;
|
|
2005
|
+
page?: number;
|
|
2006
|
+
moduleId?: string[] | null;
|
|
2007
|
+
reportType?: ("repository" | "program_group") | null;
|
|
2008
|
+
orderBy?: ("name" | "email" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
2009
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2010
|
+
startDate?: string;
|
|
2011
|
+
endDate?: string;
|
|
2012
|
+
authorization: string;
|
|
2013
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2014
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2015
|
+
status: 200;
|
|
2016
|
+
data: AnalyticsUserUsageResponse;
|
|
2017
|
+
} | {
|
|
2018
|
+
status: 400;
|
|
2019
|
+
data: HttpErrorResponseRead;
|
|
2020
|
+
} | {
|
|
2021
|
+
status: 401;
|
|
2022
|
+
data: HttpErrorResponseRead;
|
|
2023
|
+
} | {
|
|
2024
|
+
status: 404;
|
|
2025
|
+
data: HttpErrorResponseRead;
|
|
2026
|
+
} | {
|
|
2027
|
+
status: 422;
|
|
2028
|
+
} | {
|
|
2029
|
+
status: 500;
|
|
2030
|
+
data: HttpErrorResponseRead;
|
|
2031
|
+
} | {
|
|
2032
|
+
status: 503;
|
|
2033
|
+
data: HttpErrorResponseRead;
|
|
2034
|
+
}>(`/v1/analytics/users/usage${QS.query(QS.explode({
|
|
2035
|
+
pageSize,
|
|
2036
|
+
page,
|
|
2037
|
+
moduleId,
|
|
2038
|
+
report_type: reportType,
|
|
2039
|
+
orderBy,
|
|
2040
|
+
orderDirection,
|
|
2041
|
+
startDate,
|
|
2042
|
+
endDate
|
|
2043
|
+
}))}`, {
|
|
2044
|
+
...opts,
|
|
2045
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2046
|
+
authorization
|
|
2047
|
+
})
|
|
2048
|
+
}));
|
|
2049
|
+
}
|
|
2050
|
+
/**
|
|
2051
|
+
* Analytics User Usage Download
|
|
2052
|
+
*/
|
|
2053
|
+
export function analyticsUserUsageDownloadV1AnalyticsUsersUsageDownloadGet({ moduleId, reportType, orderBy, orderDirection, startDate, endDate, extension, authorization }: {
|
|
2054
|
+
moduleId?: string[] | null;
|
|
2055
|
+
reportType?: ("repository" | "program_group") | null;
|
|
2056
|
+
orderBy?: ("name" | "email" | "totalScan" | "totalScanFailure" | "totalScanSuccess" | "totalFix" | "totalFixFailure" | "totalFixSuccess") | null;
|
|
2057
|
+
orderDirection?: ("ASC" | "DESC") | null;
|
|
2058
|
+
startDate?: string;
|
|
2059
|
+
endDate?: string;
|
|
2060
|
+
extension?: "csv" | "xlsx";
|
|
2061
|
+
authorization: string;
|
|
2062
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2063
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2064
|
+
status: 200;
|
|
2065
|
+
data: any;
|
|
2066
|
+
} | {
|
|
2067
|
+
status: 400;
|
|
2068
|
+
data: HttpErrorResponseRead;
|
|
2069
|
+
} | {
|
|
2070
|
+
status: 401;
|
|
2071
|
+
data: HttpErrorResponseRead;
|
|
2072
|
+
} | {
|
|
2073
|
+
status: 404;
|
|
2074
|
+
data: HttpErrorResponseRead;
|
|
2075
|
+
} | {
|
|
2076
|
+
status: 422;
|
|
2077
|
+
} | {
|
|
2078
|
+
status: 500;
|
|
2079
|
+
data: HttpErrorResponseRead;
|
|
2080
|
+
} | {
|
|
2081
|
+
status: 503;
|
|
2082
|
+
data: HttpErrorResponseRead;
|
|
2083
|
+
}>(`/v1/analytics/users/usage/download${QS.query(QS.explode({
|
|
2084
|
+
moduleId,
|
|
2085
|
+
report_type: reportType,
|
|
2086
|
+
orderBy,
|
|
2087
|
+
orderDirection,
|
|
2088
|
+
startDate,
|
|
2089
|
+
endDate,
|
|
2090
|
+
extension
|
|
2091
|
+
}))}`, {
|
|
2092
|
+
...opts,
|
|
2093
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2094
|
+
authorization
|
|
2095
|
+
})
|
|
2096
|
+
}));
|
|
2097
|
+
}
|
|
2098
|
+
/**
|
|
2099
|
+
* Analytics Program Groups Last Report Status Download
|
|
2100
|
+
*/
|
|
2101
|
+
export function analyticsProgramGroupsLastReportStatusDownloadV1AnalyticsProgramGroupsLastReportStatusDownloadGet({ authorization }: {
|
|
2102
|
+
authorization: string;
|
|
2103
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2104
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2105
|
+
status: 200;
|
|
2106
|
+
data: any;
|
|
2107
|
+
} | {
|
|
2108
|
+
status: 400;
|
|
2109
|
+
data: HttpErrorResponseRead;
|
|
2110
|
+
} | {
|
|
2111
|
+
status: 401;
|
|
2112
|
+
data: HttpErrorResponseRead;
|
|
2113
|
+
} | {
|
|
2114
|
+
status: 404;
|
|
2115
|
+
data: HttpErrorResponseRead;
|
|
2116
|
+
} | {
|
|
2117
|
+
status: 422;
|
|
2118
|
+
} | {
|
|
2119
|
+
status: 500;
|
|
2120
|
+
data: HttpErrorResponseRead;
|
|
2121
|
+
} | {
|
|
2122
|
+
status: 503;
|
|
2123
|
+
data: HttpErrorResponseRead;
|
|
2124
|
+
}>("/v1/analytics/program-groups/last-report-status/download", {
|
|
2125
|
+
...opts,
|
|
2126
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2127
|
+
authorization
|
|
2128
|
+
})
|
|
2129
|
+
}));
|
|
2130
|
+
}
|
|
2131
|
+
/**
|
|
2132
|
+
* Analytics Program Groups Usage Download
|
|
2133
|
+
*/
|
|
2134
|
+
export function analyticsProgramGroupsUsageDownloadV1AnalyticsProgramGroupsUsageDownloadGet({ authorization }: {
|
|
2135
|
+
authorization: string;
|
|
2136
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2137
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2138
|
+
status: 200;
|
|
2139
|
+
data: any;
|
|
2140
|
+
} | {
|
|
2141
|
+
status: 400;
|
|
2142
|
+
data: HttpErrorResponseRead;
|
|
2143
|
+
} | {
|
|
2144
|
+
status: 401;
|
|
2145
|
+
data: HttpErrorResponseRead;
|
|
2146
|
+
} | {
|
|
2147
|
+
status: 404;
|
|
2148
|
+
data: HttpErrorResponseRead;
|
|
2149
|
+
} | {
|
|
2150
|
+
status: 422;
|
|
2151
|
+
} | {
|
|
2152
|
+
status: 500;
|
|
2153
|
+
data: HttpErrorResponseRead;
|
|
2154
|
+
} | {
|
|
2155
|
+
status: 503;
|
|
2156
|
+
data: HttpErrorResponseRead;
|
|
2157
|
+
}>("/v1/analytics/program-groups/usage/download", {
|
|
2158
|
+
...opts,
|
|
2159
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2160
|
+
authorization
|
|
2161
|
+
})
|
|
2162
|
+
}));
|
|
2163
|
+
}
|
|
2164
|
+
/**
|
|
2165
|
+
* Analytics Program Groups Last Report Status
|
|
2166
|
+
*/
|
|
2167
|
+
export function analyticsProgramGroupsLastReportStatusV1AnalyticsProgramGroupsLastReportStatusGet({ authorization }: {
|
|
2168
|
+
authorization: string;
|
|
2169
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2170
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2171
|
+
status: 200;
|
|
2172
|
+
data: AnalyticsProgramGroupsLastReportStatusResponse;
|
|
2173
|
+
} | {
|
|
2174
|
+
status: 400;
|
|
2175
|
+
data: HttpErrorResponseRead;
|
|
2176
|
+
} | {
|
|
2177
|
+
status: 401;
|
|
2178
|
+
data: HttpErrorResponseRead;
|
|
2179
|
+
} | {
|
|
2180
|
+
status: 404;
|
|
2181
|
+
data: HttpErrorResponseRead;
|
|
2182
|
+
} | {
|
|
2183
|
+
status: 422;
|
|
2184
|
+
} | {
|
|
2185
|
+
status: 500;
|
|
2186
|
+
data: HttpErrorResponseRead;
|
|
2187
|
+
} | {
|
|
2188
|
+
status: 503;
|
|
2189
|
+
data: HttpErrorResponseRead;
|
|
2190
|
+
}>("/v1/analytics/program-groups/last-report-status", {
|
|
2191
|
+
...opts,
|
|
2192
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2193
|
+
authorization
|
|
2194
|
+
})
|
|
2195
|
+
}));
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* Analytics Program Groups Usage
|
|
2199
|
+
*/
|
|
2200
|
+
export function analyticsProgramGroupsUsageV1AnalyticsProgramGroupsUsageGet({ authorization }: {
|
|
2201
|
+
authorization: string;
|
|
2202
|
+
}, opts?: Oazapfts.RequestOpts) {
|
|
2203
|
+
return oazapfts.ok(oazapfts.fetchJson<{
|
|
2204
|
+
status: 200;
|
|
2205
|
+
data: AnalyticsProgramGroupsUsageResponse;
|
|
2206
|
+
} | {
|
|
2207
|
+
status: 400;
|
|
2208
|
+
data: HttpErrorResponseRead;
|
|
2209
|
+
} | {
|
|
2210
|
+
status: 401;
|
|
2211
|
+
data: HttpErrorResponseRead;
|
|
2212
|
+
} | {
|
|
2213
|
+
status: 404;
|
|
2214
|
+
data: HttpErrorResponseRead;
|
|
2215
|
+
} | {
|
|
2216
|
+
status: 422;
|
|
2217
|
+
} | {
|
|
2218
|
+
status: 500;
|
|
2219
|
+
data: HttpErrorResponseRead;
|
|
2220
|
+
} | {
|
|
2221
|
+
status: 503;
|
|
2222
|
+
data: HttpErrorResponseRead;
|
|
2223
|
+
}>("/v1/analytics/program-groups/usage", {
|
|
2224
|
+
...opts,
|
|
2225
|
+
headers: oazapfts.mergeHeaders(opts?.headers, {
|
|
2226
|
+
authorization
|
|
2227
|
+
})
|
|
2228
|
+
}));
|
|
2229
|
+
}
|
|
1602
2230
|
/**
|
|
1603
2231
|
* List Tags Service
|
|
1604
2232
|
*/
|