@fenixalliance/abs-api-client 1.0.13 → 1.0.15
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/clients/accountingService/core/OpenAPI.js +1 -1
- package/clients/accountingService/core/OpenAPI.ts +1 -1
- package/clients/authService/core/ApiError.js +20 -0
- package/clients/authService/core/ApiError.ts +25 -0
- package/clients/authService/core/ApiRequestOptions.js +2 -0
- package/clients/authService/core/ApiRequestOptions.ts +17 -0
- package/clients/authService/core/ApiResult.js +2 -0
- package/clients/authService/core/ApiResult.ts +11 -0
- package/clients/authService/core/CancelablePromise.js +104 -0
- package/clients/authService/core/CancelablePromise.ts +131 -0
- package/clients/authService/core/OpenAPI.js +14 -0
- package/clients/authService/core/OpenAPI.ts +32 -0
- package/clients/authService/core/request.js +294 -0
- package/clients/authService/core/request.ts +322 -0
- package/clients/authService/index.js +28 -0
- package/clients/authService/index.ts +48 -0
- package/clients/authService/models/AccessTokenResponse.js +2 -0
- package/clients/authService/models/AccessTokenResponse.ts +11 -0
- package/clients/authService/models/AccountHolderCreateDto.js +12 -0
- package/clients/authService/models/AccountHolderCreateDto.ts +41 -0
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +2 -0
- package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
- package/clients/authService/models/ApiAuthorizationResult.js +2 -0
- package/clients/authService/models/ApiAuthorizationResult.ts +17 -0
- package/clients/authService/models/ApiAuthorizationResultEnvelope.js +2 -0
- package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +14 -0
- package/clients/authService/models/EnrollmentId.js +2 -0
- package/clients/authService/models/EnrollmentId.ts +5 -0
- package/clients/authService/models/ErrorEnvelope.js +2 -0
- package/clients/authService/models/ErrorEnvelope.ts +12 -0
- package/clients/authService/models/ForgotPasswordRequest.js +2 -0
- package/clients/authService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/authService/models/HttpValidationProblemDetails.js +2 -0
- package/clients/authService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/authService/models/InfoRequest.js +2 -0
- package/clients/authService/models/InfoRequest.ts +10 -0
- package/clients/authService/models/InfoResponse.js +2 -0
- package/clients/authService/models/InfoResponse.ts +9 -0
- package/clients/authService/models/JsonWebKey.js +2 -0
- package/clients/authService/models/JsonWebKey.ts +13 -0
- package/clients/authService/models/JsonWebKeySet.js +2 -0
- package/clients/authService/models/JsonWebKeySet.ts +9 -0
- package/clients/authService/models/JsonWebKeySetEnvelope.js +2 -0
- package/clients/authService/models/JsonWebKeySetEnvelope.ts +14 -0
- package/clients/authService/models/JsonWebToken.js +2 -0
- package/clients/authService/models/JsonWebToken.ts +15 -0
- package/clients/authService/models/JsonWebTokenEnvelope.js +2 -0
- package/clients/authService/models/JsonWebTokenEnvelope.ts +14 -0
- package/clients/authService/models/JsonWebTokenHeader.js +2 -0
- package/clients/authService/models/JsonWebTokenHeader.ts +11 -0
- package/clients/authService/models/JsonWebTokenPayload.js +2 -0
- package/clients/authService/models/JsonWebTokenPayload.ts +17 -0
- package/clients/authService/models/LoginRequest.js +2 -0
- package/clients/authService/models/LoginRequest.ts +11 -0
- package/clients/authService/models/OAuthTokenRequest.js +2 -0
- package/clients/authService/models/OAuthTokenRequest.ts +12 -0
- package/clients/authService/models/OpenIdConfiguration.js +2 -0
- package/clients/authService/models/OpenIdConfiguration.ts +19 -0
- package/clients/authService/models/OpenIdConfigurationEnvelope.js +2 -0
- package/clients/authService/models/OpenIdConfigurationEnvelope.ts +14 -0
- package/clients/authService/models/RefreshRequest.js +2 -0
- package/clients/authService/models/RefreshRequest.ts +8 -0
- package/clients/authService/models/RegisterRequest.js +2 -0
- package/clients/authService/models/RegisterRequest.ts +9 -0
- package/clients/authService/models/ResendConfirmationEmailRequest.js +2 -0
- package/clients/authService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/authService/models/ResetPasswordRequest.js +2 -0
- package/clients/authService/models/ResetPasswordRequest.ts +10 -0
- package/clients/authService/models/SigninModel.js +2 -0
- package/clients/authService/models/SigninModel.ts +9 -0
- package/clients/authService/models/StringListEnvelope.js +2 -0
- package/clients/authService/models/StringListEnvelope.ts +13 -0
- package/clients/authService/models/TenantId.js +2 -0
- package/clients/authService/models/TenantId.ts +5 -0
- package/clients/authService/models/TwoFactorRequest.js +2 -0
- package/clients/authService/models/TwoFactorRequest.ts +12 -0
- package/clients/authService/models/TwoFactorResponse.js +2 -0
- package/clients/authService/models/TwoFactorResponse.ts +12 -0
- package/clients/authService/models/UserId.js +2 -0
- package/clients/authService/models/UserId.ts +5 -0
- package/clients/authService/services/ApplicationsService.js +112 -0
- package/clients/authService/services/ApplicationsService.ts +132 -0
- package/clients/authService/services/AuthService.js +246 -0
- package/clients/authService/services/AuthService.ts +293 -0
- package/clients/authService/services/CheckerService.js +22 -0
- package/clients/authService/services/CheckerService.ts +25 -0
- package/clients/authService/services/OAuthService.js +152 -0
- package/clients/authService/services/OAuthService.ts +183 -0
- package/clients/authService/services/ResourceService.js +22 -0
- package/clients/authService/services/ResourceService.ts +25 -0
- package/clients/authService/services/UserInfoService.js +36 -0
- package/clients/authService/services/UserInfoService.ts +41 -0
- package/clients/cartService/core/OpenAPI.js +1 -1
- package/clients/cartService/core/OpenAPI.ts +1 -1
- package/clients/catalogService/core/OpenAPI.js +1 -1
- package/clients/catalogService/core/OpenAPI.ts +1 -1
- package/clients/contentService/core/OpenAPI.js +1 -1
- package/clients/contentService/core/OpenAPI.ts +1 -1
- package/clients/contentService/services/PortalsService.js +26 -14
- package/clients/contentService/services/PortalsService.ts +26 -14
- package/clients/crmService/core/OpenAPI.js +1 -1
- package/clients/crmService/core/OpenAPI.ts +1 -1
- package/clients/dealsService/core/OpenAPI.js +1 -1
- package/clients/dealsService/core/OpenAPI.ts +1 -1
- package/clients/forexService/core/OpenAPI.js +1 -1
- package/clients/forexService/core/OpenAPI.ts +1 -1
- package/clients/globeService/core/OpenAPI.js +1 -1
- package/clients/globeService/core/OpenAPI.ts +1 -1
- package/clients/globeService/index.js +5 -1
- package/clients/globeService/index.ts +4 -0
- package/clients/globeService/models/Error.js +2 -0
- package/clients/globeService/models/Error.ts +10 -0
- package/clients/globeService/models/PaymentResponse.js +21 -0
- package/clients/globeService/models/PaymentResponse.ts +34 -0
- package/clients/globeService/models/ResponseStatus.js +2 -0
- package/clients/globeService/models/ResponseStatus.ts +12 -0
- package/clients/globeService/services/MigrationsService.js +26 -0
- package/clients/globeService/services/MigrationsService.ts +30 -0
- package/clients/holderService/core/OpenAPI.js +1 -1
- package/clients/holderService/core/OpenAPI.ts +1 -1
- package/clients/hrmsService/core/OpenAPI.js +1 -1
- package/clients/hrmsService/core/OpenAPI.ts +1 -1
- package/clients/identityService/core/OpenAPI.js +1 -1
- package/clients/identityService/core/OpenAPI.ts +1 -1
- package/clients/inventoryService/core/OpenAPI.js +1 -1
- package/clients/inventoryService/core/OpenAPI.ts +1 -1
- package/clients/invoicingService/core/OpenAPI.js +1 -1
- package/clients/invoicingService/core/OpenAPI.ts +1 -1
- package/clients/learningService/core/OpenAPI.js +1 -1
- package/clients/learningService/core/OpenAPI.ts +1 -1
- package/clients/marketingService/core/OpenAPI.js +1 -1
- package/clients/marketingService/core/OpenAPI.ts +1 -1
- package/clients/ordersService/core/OpenAPI.js +1 -1
- package/clients/ordersService/core/OpenAPI.ts +1 -1
- package/clients/paymentsService/core/OpenAPI.js +1 -1
- package/clients/paymentsService/core/OpenAPI.ts +1 -1
- package/clients/pricingService/core/OpenAPI.js +1 -1
- package/clients/pricingService/core/OpenAPI.ts +1 -1
- package/clients/projectsService/core/OpenAPI.js +1 -1
- package/clients/projectsService/core/OpenAPI.ts +1 -1
- package/clients/quotesService/core/OpenAPI.js +1 -1
- package/clients/quotesService/core/OpenAPI.ts +1 -1
- package/clients/salesService/core/OpenAPI.js +1 -1
- package/clients/salesService/core/OpenAPI.ts +1 -1
- package/clients/securityService/core/OpenAPI.js +1 -1
- package/clients/securityService/core/OpenAPI.ts +1 -1
- package/clients/shipmentsService/core/OpenAPI.js +1 -1
- package/clients/shipmentsService/core/OpenAPI.ts +1 -1
- package/clients/socialService/core/OpenAPI.js +1 -1
- package/clients/socialService/core/OpenAPI.ts +1 -1
- package/clients/socialService/services/SocialProfilesService.js +72 -24
- package/clients/socialService/services/SocialProfilesService.ts +72 -24
- package/clients/storageService/core/OpenAPI.js +1 -1
- package/clients/storageService/core/OpenAPI.ts +1 -1
- package/clients/supportService/core/OpenAPI.js +1 -1
- package/clients/supportService/core/OpenAPI.ts +1 -1
- package/clients/systemService/core/OpenAPI.js +1 -1
- package/clients/systemService/core/OpenAPI.ts +1 -1
- package/clients/systemService/index.js +5 -1
- package/clients/systemService/index.ts +10 -0
- package/clients/systemService/models/AdditionalAttribute.js +2 -0
- package/clients/systemService/models/AdditionalAttribute.ts +9 -0
- package/clients/systemService/models/LicenseAttributes.js +2 -0
- package/clients/systemService/models/LicenseAttributes.ts +5 -0
- package/clients/systemService/models/LicenseAttributesListEnvelope.js +2 -0
- package/clients/systemService/models/LicenseAttributesListEnvelope.ts +14 -0
- package/clients/systemService/models/LicenseFeature.js +2 -0
- package/clients/systemService/models/LicenseFeature.ts +9 -0
- package/clients/systemService/models/LicenseKey.js +2 -0
- package/clients/systemService/models/LicenseKey.ts +8 -0
- package/clients/systemService/models/LicenseKeyRequest.js +12 -0
- package/clients/systemService/models/LicenseKeyRequest.ts +28 -0
- package/clients/systemService/models/LicenseValidationError.js +2 -0
- package/clients/systemService/models/LicenseValidationError.ts +9 -0
- package/clients/systemService/models/LicenseValidationErrorListEnvelope.js +2 -0
- package/clients/systemService/models/LicenseValidationErrorListEnvelope.ts +14 -0
- package/clients/systemService/models/StringEnvelope.js +2 -0
- package/clients/systemService/models/StringEnvelope.ts +13 -0
- package/clients/systemService/services/LicensesService.js +108 -0
- package/clients/systemService/services/LicensesService.ts +131 -0
- package/clients/tenantService/core/OpenAPI.js +1 -1
- package/clients/tenantService/core/OpenAPI.ts +1 -1
- package/clients/timeTrackerService/core/OpenAPI.js +1 -1
- package/clients/timeTrackerService/core/OpenAPI.ts +1 -1
- package/clients/walletsService/core/OpenAPI.js +1 -1
- package/clients/walletsService/core/OpenAPI.ts +1 -1
- package/clients/walletsService/services/WalletsService.js +65 -21
- package/clients/walletsService/services/WalletsService.ts +65 -21
- package/package.json +1 -1
- package/schemas/authService/schema.s.js +6 -0
- package/schemas/authService/schema.s.ts +894 -0
- package/schemas/contentService/schema.s.ts +120 -48
- package/schemas/globeService/schema.s.ts +64 -0
- package/schemas/socialService/schema.s.ts +1046 -990
- package/schemas/systemService/schema.s.ts +238 -0
- package/schemas/walletsService/schema.s.ts +971 -774
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { JsonWebKeySet } from './JsonWebKeySet';
|
|
6
|
+
export type JsonWebKeySetEnvelope = {
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
errorMessage?: string | null;
|
|
9
|
+
correlationId?: string | null;
|
|
10
|
+
readonly timestamp?: string;
|
|
11
|
+
readonly activityId?: string | null;
|
|
12
|
+
result?: JsonWebKeySet;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { JsonWebTokenHeader } from './JsonWebTokenHeader';
|
|
6
|
+
import type { JsonWebTokenPayload } from './JsonWebTokenPayload';
|
|
7
|
+
export type JsonWebToken = {
|
|
8
|
+
header?: JsonWebTokenHeader;
|
|
9
|
+
payload?: JsonWebTokenPayload;
|
|
10
|
+
signature?: string | null;
|
|
11
|
+
tokenType?: string | null;
|
|
12
|
+
expiresIn?: number;
|
|
13
|
+
accessToken?: string | null;
|
|
14
|
+
};
|
|
15
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { JsonWebToken } from './JsonWebToken';
|
|
6
|
+
export type JsonWebTokenEnvelope = {
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
errorMessage?: string | null;
|
|
9
|
+
correlationId?: string | null;
|
|
10
|
+
readonly timestamp?: string;
|
|
11
|
+
readonly activityId?: string | null;
|
|
12
|
+
result?: JsonWebToken;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type JsonWebTokenHeader = {
|
|
6
|
+
alg?: string | null;
|
|
7
|
+
jku?: string | null;
|
|
8
|
+
kid?: string | null;
|
|
9
|
+
typ?: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type JsonWebTokenPayload = {
|
|
6
|
+
aud?: string | null;
|
|
7
|
+
cid?: string | null;
|
|
8
|
+
iss?: string | null;
|
|
9
|
+
aid?: string | null;
|
|
10
|
+
sub?: string | null;
|
|
11
|
+
act?: string | null;
|
|
12
|
+
iat?: number;
|
|
13
|
+
nbf?: number;
|
|
14
|
+
exp?: number;
|
|
15
|
+
scopes?: Array<string> | null;
|
|
16
|
+
};
|
|
17
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type LoginRequest = {
|
|
6
|
+
email: string | null;
|
|
7
|
+
password: string | null;
|
|
8
|
+
twoFactorCode?: string | null;
|
|
9
|
+
twoFactorRecoveryCode?: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type OAuthTokenRequest = {
|
|
6
|
+
client_id?: string | null;
|
|
7
|
+
client_secret?: string | null;
|
|
8
|
+
grant_type?: string | null;
|
|
9
|
+
requested_scopes?: string | null;
|
|
10
|
+
requested_enrollment?: string | null;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type OpenIdConfiguration = {
|
|
6
|
+
issuer?: string | null;
|
|
7
|
+
authorizationEndpoint?: string | null;
|
|
8
|
+
tokenEndpoint?: string | null;
|
|
9
|
+
endSessionEndpoint?: string | null;
|
|
10
|
+
jwksUri?: string | null;
|
|
11
|
+
responseModesSupported?: Array<string> | null;
|
|
12
|
+
responseTypesSupported?: Array<string> | null;
|
|
13
|
+
scopesSupported?: Array<string> | null;
|
|
14
|
+
subjectTypesSupported?: Array<string> | null;
|
|
15
|
+
idTokenSigningAlgValuesSupported?: Array<string> | null;
|
|
16
|
+
tokenEndpointAuthMethodsSupported?: Array<string> | null;
|
|
17
|
+
claimsSupported?: Array<string> | null;
|
|
18
|
+
};
|
|
19
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { OpenIdConfiguration } from './OpenIdConfiguration';
|
|
6
|
+
export type OpenIdConfigurationEnvelope = {
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
errorMessage?: string | null;
|
|
9
|
+
correlationId?: string | null;
|
|
10
|
+
readonly timestamp?: string;
|
|
11
|
+
readonly activityId?: string | null;
|
|
12
|
+
result?: OpenIdConfiguration;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ResetPasswordRequest = {
|
|
6
|
+
email: string | null;
|
|
7
|
+
resetCode: string | null;
|
|
8
|
+
newPassword: string | null;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StringListEnvelope = {
|
|
6
|
+
readonly isSuccess?: boolean;
|
|
7
|
+
errorMessage?: string | null;
|
|
8
|
+
correlationId?: string | null;
|
|
9
|
+
readonly timestamp?: string;
|
|
10
|
+
readonly activityId?: string | null;
|
|
11
|
+
result?: Array<string> | null;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type TwoFactorRequest = {
|
|
6
|
+
enable?: boolean | null;
|
|
7
|
+
twoFactorCode?: string | null;
|
|
8
|
+
resetSharedKey?: boolean;
|
|
9
|
+
resetRecoveryCodes?: boolean;
|
|
10
|
+
forgetMachine?: boolean;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type TwoFactorResponse = {
|
|
6
|
+
sharedKey: string | null;
|
|
7
|
+
recoveryCodesLeft: number;
|
|
8
|
+
recoveryCodes?: Array<string> | null;
|
|
9
|
+
isTwoFactorEnabled: boolean;
|
|
10
|
+
isMachineRemembered: boolean;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplicationsService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class ApplicationsService {
|
|
7
|
+
/**
|
|
8
|
+
* @param appId
|
|
9
|
+
* @param xApiVersion
|
|
10
|
+
* @returns any OK
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static getApiV2Applications(appId, xApiVersion) {
|
|
14
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
15
|
+
method: 'GET',
|
|
16
|
+
url: '/api/v2/Applications/{appID}',
|
|
17
|
+
path: {
|
|
18
|
+
'appID': appId,
|
|
19
|
+
},
|
|
20
|
+
headers: {
|
|
21
|
+
'x-api-version': xApiVersion,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @param appId
|
|
27
|
+
* @param xApiVersion
|
|
28
|
+
* @returns any OK
|
|
29
|
+
* @throws ApiError
|
|
30
|
+
*/
|
|
31
|
+
static getApiV2ApplicationsRequiredPermissions(appId, xApiVersion) {
|
|
32
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
33
|
+
method: 'GET',
|
|
34
|
+
url: '/api/v2/Applications/{appID}/RequiredPermissions',
|
|
35
|
+
path: {
|
|
36
|
+
'appID': appId,
|
|
37
|
+
},
|
|
38
|
+
headers: {
|
|
39
|
+
'x-api-version': xApiVersion,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @param appId
|
|
45
|
+
* @param tenantId
|
|
46
|
+
* @param xApiVersion
|
|
47
|
+
* @returns any OK
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
static getApiV2ApplicationsGrantedPermissions(appId, tenantId, xApiVersion) {
|
|
51
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
52
|
+
method: 'GET',
|
|
53
|
+
url: '/api/v2/Applications/{appID}/GrantedPermissions',
|
|
54
|
+
path: {
|
|
55
|
+
'appID': appId,
|
|
56
|
+
},
|
|
57
|
+
headers: {
|
|
58
|
+
'x-api-version': xApiVersion,
|
|
59
|
+
},
|
|
60
|
+
query: {
|
|
61
|
+
'tenantID': tenantId,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @param appId
|
|
67
|
+
* @param tenantId
|
|
68
|
+
* @param xApiVersion
|
|
69
|
+
* @returns any OK
|
|
70
|
+
* @throws ApiError
|
|
71
|
+
*/
|
|
72
|
+
static getApiV2ApplicationsGrantedRoles(appId, tenantId, xApiVersion) {
|
|
73
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
74
|
+
method: 'GET',
|
|
75
|
+
url: '/api/v2/Applications/{appID}/GrantedRoles',
|
|
76
|
+
path: {
|
|
77
|
+
'appID': appId,
|
|
78
|
+
},
|
|
79
|
+
headers: {
|
|
80
|
+
'x-api-version': xApiVersion,
|
|
81
|
+
},
|
|
82
|
+
query: {
|
|
83
|
+
'tenantID': tenantId,
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* @param appId
|
|
89
|
+
* @param securityRoleId
|
|
90
|
+
* @param enrollmentId
|
|
91
|
+
* @param xApiVersion
|
|
92
|
+
* @returns any OK
|
|
93
|
+
* @throws ApiError
|
|
94
|
+
*/
|
|
95
|
+
static getApiV2ApplicationsGrantedRolesGrantedPermissions(appId, securityRoleId, enrollmentId, xApiVersion) {
|
|
96
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
97
|
+
method: 'GET',
|
|
98
|
+
url: '/api/v2/Applications/{appID}/GrantedRoles/{SecurityRoleID}/GrantedPermissions',
|
|
99
|
+
path: {
|
|
100
|
+
'appID': appId,
|
|
101
|
+
'securityRoleID': securityRoleId,
|
|
102
|
+
},
|
|
103
|
+
headers: {
|
|
104
|
+
'x-api-version': xApiVersion,
|
|
105
|
+
},
|
|
106
|
+
query: {
|
|
107
|
+
'enrollmentID': enrollmentId,
|
|
108
|
+
},
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.ApplicationsService = ApplicationsService;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
7
|
+
import { request as __request } from '../core/request';
|
|
8
|
+
export class ApplicationsService {
|
|
9
|
+
/**
|
|
10
|
+
* @param appId
|
|
11
|
+
* @param xApiVersion
|
|
12
|
+
* @returns any OK
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
public static getApiV2Applications(
|
|
16
|
+
appId: string,
|
|
17
|
+
xApiVersion?: string,
|
|
18
|
+
): CancelablePromise<any> {
|
|
19
|
+
return __request(OpenAPI, {
|
|
20
|
+
method: 'GET',
|
|
21
|
+
url: '/api/v2/Applications/{appID}',
|
|
22
|
+
path: {
|
|
23
|
+
'appID': appId,
|
|
24
|
+
},
|
|
25
|
+
headers: {
|
|
26
|
+
'x-api-version': xApiVersion,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @param appId
|
|
32
|
+
* @param xApiVersion
|
|
33
|
+
* @returns any OK
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
public static getApiV2ApplicationsRequiredPermissions(
|
|
37
|
+
appId: string,
|
|
38
|
+
xApiVersion?: string,
|
|
39
|
+
): CancelablePromise<any> {
|
|
40
|
+
return __request(OpenAPI, {
|
|
41
|
+
method: 'GET',
|
|
42
|
+
url: '/api/v2/Applications/{appID}/RequiredPermissions',
|
|
43
|
+
path: {
|
|
44
|
+
'appID': appId,
|
|
45
|
+
},
|
|
46
|
+
headers: {
|
|
47
|
+
'x-api-version': xApiVersion,
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @param appId
|
|
53
|
+
* @param tenantId
|
|
54
|
+
* @param xApiVersion
|
|
55
|
+
* @returns any OK
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
public static getApiV2ApplicationsGrantedPermissions(
|
|
59
|
+
appId: string,
|
|
60
|
+
tenantId?: string,
|
|
61
|
+
xApiVersion?: string,
|
|
62
|
+
): CancelablePromise<any> {
|
|
63
|
+
return __request(OpenAPI, {
|
|
64
|
+
method: 'GET',
|
|
65
|
+
url: '/api/v2/Applications/{appID}/GrantedPermissions',
|
|
66
|
+
path: {
|
|
67
|
+
'appID': appId,
|
|
68
|
+
},
|
|
69
|
+
headers: {
|
|
70
|
+
'x-api-version': xApiVersion,
|
|
71
|
+
},
|
|
72
|
+
query: {
|
|
73
|
+
'tenantID': tenantId,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @param appId
|
|
79
|
+
* @param tenantId
|
|
80
|
+
* @param xApiVersion
|
|
81
|
+
* @returns any OK
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
public static getApiV2ApplicationsGrantedRoles(
|
|
85
|
+
appId: string,
|
|
86
|
+
tenantId?: string,
|
|
87
|
+
xApiVersion?: string,
|
|
88
|
+
): CancelablePromise<any> {
|
|
89
|
+
return __request(OpenAPI, {
|
|
90
|
+
method: 'GET',
|
|
91
|
+
url: '/api/v2/Applications/{appID}/GrantedRoles',
|
|
92
|
+
path: {
|
|
93
|
+
'appID': appId,
|
|
94
|
+
},
|
|
95
|
+
headers: {
|
|
96
|
+
'x-api-version': xApiVersion,
|
|
97
|
+
},
|
|
98
|
+
query: {
|
|
99
|
+
'tenantID': tenantId,
|
|
100
|
+
},
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @param appId
|
|
105
|
+
* @param securityRoleId
|
|
106
|
+
* @param enrollmentId
|
|
107
|
+
* @param xApiVersion
|
|
108
|
+
* @returns any OK
|
|
109
|
+
* @throws ApiError
|
|
110
|
+
*/
|
|
111
|
+
public static getApiV2ApplicationsGrantedRolesGrantedPermissions(
|
|
112
|
+
appId: string,
|
|
113
|
+
securityRoleId: string,
|
|
114
|
+
enrollmentId?: string,
|
|
115
|
+
xApiVersion?: string,
|
|
116
|
+
): CancelablePromise<any> {
|
|
117
|
+
return __request(OpenAPI, {
|
|
118
|
+
method: 'GET',
|
|
119
|
+
url: '/api/v2/Applications/{appID}/GrantedRoles/{SecurityRoleID}/GrantedPermissions',
|
|
120
|
+
path: {
|
|
121
|
+
'appID': appId,
|
|
122
|
+
'securityRoleID': securityRoleId,
|
|
123
|
+
},
|
|
124
|
+
headers: {
|
|
125
|
+
'x-api-version': xApiVersion,
|
|
126
|
+
},
|
|
127
|
+
query: {
|
|
128
|
+
'enrollmentID': enrollmentId,
|
|
129
|
+
},
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}
|