@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,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type StringEnvelope = {
|
|
6
|
+
readonly isSuccess?: boolean;
|
|
7
|
+
errorMessage?: string | null;
|
|
8
|
+
correlationId?: string | null;
|
|
9
|
+
readonly timestamp?: string;
|
|
10
|
+
readonly activityId?: string | null;
|
|
11
|
+
result?: string | null;
|
|
12
|
+
};
|
|
13
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LicensesService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class LicensesService {
|
|
7
|
+
/**
|
|
8
|
+
* @param tenantId
|
|
9
|
+
* @param xApiVersion
|
|
10
|
+
* @param requestBody
|
|
11
|
+
* @returns BooleanEnvelope OK
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static getApiLicensingLicensesValidate(tenantId, xApiVersion, requestBody) {
|
|
15
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/api/Licensing/Licenses/Validate',
|
|
18
|
+
headers: {
|
|
19
|
+
'x-api-version': xApiVersion,
|
|
20
|
+
},
|
|
21
|
+
query: {
|
|
22
|
+
'tenantId': tenantId,
|
|
23
|
+
},
|
|
24
|
+
body: requestBody,
|
|
25
|
+
mediaType: 'application/json',
|
|
26
|
+
errors: {
|
|
27
|
+
401: `Unauthorized`,
|
|
28
|
+
403: `Forbidden`,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @param tenantId
|
|
34
|
+
* @param xApiVersion
|
|
35
|
+
* @param requestBody
|
|
36
|
+
* @returns LicenseValidationErrorListEnvelope OK
|
|
37
|
+
* @throws ApiError
|
|
38
|
+
*/
|
|
39
|
+
static getApiLicensingLicensesValidateErrors(tenantId, xApiVersion, requestBody) {
|
|
40
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
41
|
+
method: 'GET',
|
|
42
|
+
url: '/api/Licensing/Licenses/Validate/Errors',
|
|
43
|
+
headers: {
|
|
44
|
+
'x-api-version': xApiVersion,
|
|
45
|
+
},
|
|
46
|
+
query: {
|
|
47
|
+
'tenantId': tenantId,
|
|
48
|
+
},
|
|
49
|
+
body: requestBody,
|
|
50
|
+
mediaType: 'application/json',
|
|
51
|
+
errors: {
|
|
52
|
+
401: `Unauthorized`,
|
|
53
|
+
403: `Forbidden`,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @param tenantId
|
|
59
|
+
* @param xApiVersion
|
|
60
|
+
* @param requestBody
|
|
61
|
+
* @returns LicenseAttributesListEnvelope OK
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
static getApiLicensingLicensesValidateAttributes(tenantId, xApiVersion, requestBody) {
|
|
65
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
66
|
+
method: 'GET',
|
|
67
|
+
url: '/api/Licensing/Licenses/Validate/Attributes',
|
|
68
|
+
headers: {
|
|
69
|
+
'x-api-version': xApiVersion,
|
|
70
|
+
},
|
|
71
|
+
query: {
|
|
72
|
+
'tenantId': tenantId,
|
|
73
|
+
},
|
|
74
|
+
body: requestBody,
|
|
75
|
+
mediaType: 'application/json',
|
|
76
|
+
errors: {
|
|
77
|
+
401: `Unauthorized`,
|
|
78
|
+
403: `Forbidden`,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @param tenantId
|
|
84
|
+
* @param xApiVersion
|
|
85
|
+
* @param requestBody
|
|
86
|
+
* @returns StringEnvelope OK
|
|
87
|
+
* @throws ApiError
|
|
88
|
+
*/
|
|
89
|
+
static postApiLicensingLicensesGenerate(tenantId, xApiVersion, requestBody) {
|
|
90
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
91
|
+
method: 'POST',
|
|
92
|
+
url: '/api/Licensing/Licenses/Generate',
|
|
93
|
+
headers: {
|
|
94
|
+
'x-api-version': xApiVersion,
|
|
95
|
+
},
|
|
96
|
+
query: {
|
|
97
|
+
'tenantId': tenantId,
|
|
98
|
+
},
|
|
99
|
+
body: requestBody,
|
|
100
|
+
mediaType: 'application/json',
|
|
101
|
+
errors: {
|
|
102
|
+
401: `Unauthorized`,
|
|
103
|
+
403: `Forbidden`,
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.LicensesService = LicensesService;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { BooleanEnvelope } from '../models/BooleanEnvelope';
|
|
6
|
+
import type { LicenseAttributesListEnvelope } from '../models/LicenseAttributesListEnvelope';
|
|
7
|
+
import type { LicenseKey } from '../models/LicenseKey';
|
|
8
|
+
import type { LicenseKeyRequest } from '../models/LicenseKeyRequest';
|
|
9
|
+
import type { LicenseValidationErrorListEnvelope } from '../models/LicenseValidationErrorListEnvelope';
|
|
10
|
+
import type { StringEnvelope } from '../models/StringEnvelope';
|
|
11
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
13
|
+
import { request as __request } from '../core/request';
|
|
14
|
+
export class LicensesService {
|
|
15
|
+
/**
|
|
16
|
+
* @param tenantId
|
|
17
|
+
* @param xApiVersion
|
|
18
|
+
* @param requestBody
|
|
19
|
+
* @returns BooleanEnvelope OK
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
public static getApiLicensingLicensesValidate(
|
|
23
|
+
tenantId: string,
|
|
24
|
+
xApiVersion?: string,
|
|
25
|
+
requestBody?: LicenseKey,
|
|
26
|
+
): CancelablePromise<BooleanEnvelope> {
|
|
27
|
+
return __request(OpenAPI, {
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/api/Licensing/Licenses/Validate',
|
|
30
|
+
headers: {
|
|
31
|
+
'x-api-version': xApiVersion,
|
|
32
|
+
},
|
|
33
|
+
query: {
|
|
34
|
+
'tenantId': tenantId,
|
|
35
|
+
},
|
|
36
|
+
body: requestBody,
|
|
37
|
+
mediaType: 'application/json',
|
|
38
|
+
errors: {
|
|
39
|
+
401: `Unauthorized`,
|
|
40
|
+
403: `Forbidden`,
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @param tenantId
|
|
46
|
+
* @param xApiVersion
|
|
47
|
+
* @param requestBody
|
|
48
|
+
* @returns LicenseValidationErrorListEnvelope OK
|
|
49
|
+
* @throws ApiError
|
|
50
|
+
*/
|
|
51
|
+
public static getApiLicensingLicensesValidateErrors(
|
|
52
|
+
tenantId: string,
|
|
53
|
+
xApiVersion?: string,
|
|
54
|
+
requestBody?: LicenseKey,
|
|
55
|
+
): CancelablePromise<LicenseValidationErrorListEnvelope> {
|
|
56
|
+
return __request(OpenAPI, {
|
|
57
|
+
method: 'GET',
|
|
58
|
+
url: '/api/Licensing/Licenses/Validate/Errors',
|
|
59
|
+
headers: {
|
|
60
|
+
'x-api-version': xApiVersion,
|
|
61
|
+
},
|
|
62
|
+
query: {
|
|
63
|
+
'tenantId': tenantId,
|
|
64
|
+
},
|
|
65
|
+
body: requestBody,
|
|
66
|
+
mediaType: 'application/json',
|
|
67
|
+
errors: {
|
|
68
|
+
401: `Unauthorized`,
|
|
69
|
+
403: `Forbidden`,
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @param tenantId
|
|
75
|
+
* @param xApiVersion
|
|
76
|
+
* @param requestBody
|
|
77
|
+
* @returns LicenseAttributesListEnvelope OK
|
|
78
|
+
* @throws ApiError
|
|
79
|
+
*/
|
|
80
|
+
public static getApiLicensingLicensesValidateAttributes(
|
|
81
|
+
tenantId: string,
|
|
82
|
+
xApiVersion?: string,
|
|
83
|
+
requestBody?: LicenseKey,
|
|
84
|
+
): CancelablePromise<LicenseAttributesListEnvelope> {
|
|
85
|
+
return __request(OpenAPI, {
|
|
86
|
+
method: 'GET',
|
|
87
|
+
url: '/api/Licensing/Licenses/Validate/Attributes',
|
|
88
|
+
headers: {
|
|
89
|
+
'x-api-version': xApiVersion,
|
|
90
|
+
},
|
|
91
|
+
query: {
|
|
92
|
+
'tenantId': tenantId,
|
|
93
|
+
},
|
|
94
|
+
body: requestBody,
|
|
95
|
+
mediaType: 'application/json',
|
|
96
|
+
errors: {
|
|
97
|
+
401: `Unauthorized`,
|
|
98
|
+
403: `Forbidden`,
|
|
99
|
+
},
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @param tenantId
|
|
104
|
+
* @param xApiVersion
|
|
105
|
+
* @param requestBody
|
|
106
|
+
* @returns StringEnvelope OK
|
|
107
|
+
* @throws ApiError
|
|
108
|
+
*/
|
|
109
|
+
public static postApiLicensingLicensesGenerate(
|
|
110
|
+
tenantId: string,
|
|
111
|
+
xApiVersion?: string,
|
|
112
|
+
requestBody?: LicenseKeyRequest,
|
|
113
|
+
): CancelablePromise<StringEnvelope> {
|
|
114
|
+
return __request(OpenAPI, {
|
|
115
|
+
method: 'POST',
|
|
116
|
+
url: '/api/Licensing/Licenses/Generate',
|
|
117
|
+
headers: {
|
|
118
|
+
'x-api-version': xApiVersion,
|
|
119
|
+
},
|
|
120
|
+
query: {
|
|
121
|
+
'tenantId': tenantId,
|
|
122
|
+
},
|
|
123
|
+
body: requestBody,
|
|
124
|
+
mediaType: 'application/json',
|
|
125
|
+
errors: {
|
|
126
|
+
401: `Unauthorized`,
|
|
127
|
+
403: `Forbidden`,
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -5,12 +5,14 @@ const OpenAPI_1 = require("../core/OpenAPI");
|
|
|
5
5
|
const request_1 = require("../core/request");
|
|
6
6
|
class WalletsService {
|
|
7
7
|
/**
|
|
8
|
+
* Get Wallet Details
|
|
9
|
+
* Get details of a specific wallet by ID.
|
|
8
10
|
* @param walletId
|
|
9
11
|
* @param xApiVersion
|
|
10
12
|
* @returns WalletDtoEnvelope OK
|
|
11
13
|
* @throws ApiError
|
|
12
14
|
*/
|
|
13
|
-
static
|
|
15
|
+
static getWalletDetailsAsync(walletId, xApiVersion) {
|
|
14
16
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
15
17
|
method: 'GET',
|
|
16
18
|
url: '/api/v2/WalletsService/Wallets/{walletId}',
|
|
@@ -27,12 +29,14 @@ class WalletsService {
|
|
|
27
29
|
});
|
|
28
30
|
}
|
|
29
31
|
/**
|
|
32
|
+
* Get Wallet Orders
|
|
33
|
+
* Get orders of a specific wallet by ID.
|
|
30
34
|
* @param walletId
|
|
31
35
|
* @param xApiVersion
|
|
32
36
|
* @returns OrderDtoListEnvelope OK
|
|
33
37
|
* @throws ApiError
|
|
34
38
|
*/
|
|
35
|
-
static
|
|
39
|
+
static getWalletOrdersAsync(walletId, xApiVersion) {
|
|
36
40
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
37
41
|
method: 'GET',
|
|
38
42
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Orders',
|
|
@@ -49,12 +53,14 @@ class WalletsService {
|
|
|
49
53
|
});
|
|
50
54
|
}
|
|
51
55
|
/**
|
|
56
|
+
* Get Wallet Extended Orders
|
|
57
|
+
* Get extended orders of a specific wallet by ID.
|
|
52
58
|
* @param walletId
|
|
53
59
|
* @param xApiVersion
|
|
54
60
|
* @returns ExtendedOrderDtoListEnvelope OK
|
|
55
61
|
* @throws ApiError
|
|
56
62
|
*/
|
|
57
|
-
static
|
|
63
|
+
static getWalletExtendedOrdersAsync(walletId, xApiVersion) {
|
|
58
64
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
59
65
|
method: 'GET',
|
|
60
66
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Orders/Extended',
|
|
@@ -71,12 +77,14 @@ class WalletsService {
|
|
|
71
77
|
});
|
|
72
78
|
}
|
|
73
79
|
/**
|
|
80
|
+
* Get Wallet Orders Count
|
|
81
|
+
* Get orders count of a specific wallet by ID.
|
|
74
82
|
* @param walletId
|
|
75
83
|
* @param xApiVersion
|
|
76
84
|
* @returns Int32Envelope OK
|
|
77
85
|
* @throws ApiError
|
|
78
86
|
*/
|
|
79
|
-
static
|
|
87
|
+
static getWalletOrdersCountAsync(walletId, xApiVersion) {
|
|
80
88
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
81
89
|
method: 'GET',
|
|
82
90
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Orders/Count',
|
|
@@ -93,12 +101,14 @@ class WalletsService {
|
|
|
93
101
|
});
|
|
94
102
|
}
|
|
95
103
|
/**
|
|
104
|
+
* Get Wallet Invoices
|
|
105
|
+
* Get invoices of a specific wallet by ID.
|
|
96
106
|
* @param walletId
|
|
97
107
|
* @param xApiVersion
|
|
98
108
|
* @returns InvoiceDtoListEnvelope OK
|
|
99
109
|
* @throws ApiError
|
|
100
110
|
*/
|
|
101
|
-
static
|
|
111
|
+
static getWalletInvoicesAsync(walletId, xApiVersion) {
|
|
102
112
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
103
113
|
method: 'GET',
|
|
104
114
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Invoices',
|
|
@@ -115,12 +125,14 @@ class WalletsService {
|
|
|
115
125
|
});
|
|
116
126
|
}
|
|
117
127
|
/**
|
|
128
|
+
* Get Wallet Invoices Count
|
|
129
|
+
* Get invoices count of a specific wallet by ID.
|
|
118
130
|
* @param walletId
|
|
119
131
|
* @param xApiVersion
|
|
120
132
|
* @returns Int32Envelope OK
|
|
121
133
|
* @throws ApiError
|
|
122
134
|
*/
|
|
123
|
-
static
|
|
135
|
+
static getWalletInvoicesCountAsync(walletId, xApiVersion) {
|
|
124
136
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
125
137
|
method: 'GET',
|
|
126
138
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Invoices/Count',
|
|
@@ -137,12 +149,14 @@ class WalletsService {
|
|
|
137
149
|
});
|
|
138
150
|
}
|
|
139
151
|
/**
|
|
152
|
+
* Get Wallet Payments
|
|
153
|
+
* Get payments of a specific wallet by ID.
|
|
140
154
|
* @param walletId
|
|
141
155
|
* @param xApiVersion
|
|
142
156
|
* @returns PaymentDtoListEnvelope OK
|
|
143
157
|
* @throws ApiError
|
|
144
158
|
*/
|
|
145
|
-
static
|
|
159
|
+
static getWalletPaymentsAsync(walletId, xApiVersion) {
|
|
146
160
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
147
161
|
method: 'GET',
|
|
148
162
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Payments',
|
|
@@ -159,12 +173,14 @@ class WalletsService {
|
|
|
159
173
|
});
|
|
160
174
|
}
|
|
161
175
|
/**
|
|
176
|
+
* Get Wallet Payments Count
|
|
177
|
+
* Get payments count of a specific wallet by ID.
|
|
162
178
|
* @param walletId
|
|
163
179
|
* @param xApiVersion
|
|
164
180
|
* @returns Int32Envelope OK
|
|
165
181
|
* @throws ApiError
|
|
166
182
|
*/
|
|
167
|
-
static
|
|
183
|
+
static getWalletPaymentsCountAsync(walletId, xApiVersion) {
|
|
168
184
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
169
185
|
method: 'GET',
|
|
170
186
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Payments/Count',
|
|
@@ -181,12 +197,14 @@ class WalletsService {
|
|
|
181
197
|
});
|
|
182
198
|
}
|
|
183
199
|
/**
|
|
200
|
+
* Get Wallet Locations
|
|
201
|
+
* Get locations of a specific wallet by ID.
|
|
184
202
|
* @param walletId
|
|
185
203
|
* @param xApiVersion
|
|
186
204
|
* @returns LocationDtoListEnvelope OK
|
|
187
205
|
* @throws ApiError
|
|
188
206
|
*/
|
|
189
|
-
static
|
|
207
|
+
static getWalletLocationsAsync(walletId, xApiVersion) {
|
|
190
208
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
191
209
|
method: 'GET',
|
|
192
210
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Locations',
|
|
@@ -203,13 +221,15 @@ class WalletsService {
|
|
|
203
221
|
});
|
|
204
222
|
}
|
|
205
223
|
/**
|
|
224
|
+
* Create Wallet Location
|
|
225
|
+
* Create a new location for a specific wallet by ID.
|
|
206
226
|
* @param walletId
|
|
207
227
|
* @param xApiVersion
|
|
208
228
|
* @param requestBody
|
|
209
229
|
* @returns EmptyEnvelope Created
|
|
210
230
|
* @throws ApiError
|
|
211
231
|
*/
|
|
212
|
-
static
|
|
232
|
+
static createWalletLocationAsync(walletId, xApiVersion, requestBody) {
|
|
213
233
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
214
234
|
method: 'POST',
|
|
215
235
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Locations',
|
|
@@ -228,12 +248,14 @@ class WalletsService {
|
|
|
228
248
|
});
|
|
229
249
|
}
|
|
230
250
|
/**
|
|
251
|
+
* Get Wallet Locations Count
|
|
252
|
+
* Get locations count of a specific wallet by ID.
|
|
231
253
|
* @param walletId
|
|
232
254
|
* @param xApiVersion
|
|
233
255
|
* @returns Int32Envelope OK
|
|
234
256
|
* @throws ApiError
|
|
235
257
|
*/
|
|
236
|
-
static
|
|
258
|
+
static getWalletLocationsCountAsync(walletId, xApiVersion) {
|
|
237
259
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
238
260
|
method: 'GET',
|
|
239
261
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Locations/Count',
|
|
@@ -250,6 +272,8 @@ class WalletsService {
|
|
|
250
272
|
});
|
|
251
273
|
}
|
|
252
274
|
/**
|
|
275
|
+
* Get Wallet Location
|
|
276
|
+
* Get a specific location of a specific wallet by ID.
|
|
253
277
|
* @param walletId
|
|
254
278
|
* @param locationId
|
|
255
279
|
* @param xApiVersion
|
|
@@ -274,6 +298,8 @@ class WalletsService {
|
|
|
274
298
|
});
|
|
275
299
|
}
|
|
276
300
|
/**
|
|
301
|
+
* Update Wallet Location
|
|
302
|
+
* Update a specific location of a specific wallet by ID.
|
|
277
303
|
* @param walletId
|
|
278
304
|
* @param locationId
|
|
279
305
|
* @param xApiVersion
|
|
@@ -281,7 +307,7 @@ class WalletsService {
|
|
|
281
307
|
* @returns EmptyEnvelope OK
|
|
282
308
|
* @throws ApiError
|
|
283
309
|
*/
|
|
284
|
-
static
|
|
310
|
+
static updateWalletLocationAsync(walletId, locationId, xApiVersion, requestBody) {
|
|
285
311
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
286
312
|
method: 'PUT',
|
|
287
313
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Locations/{locationId}',
|
|
@@ -301,13 +327,15 @@ class WalletsService {
|
|
|
301
327
|
});
|
|
302
328
|
}
|
|
303
329
|
/**
|
|
330
|
+
* Delete Wallet Location
|
|
331
|
+
* Delete a specific location of a specific wallet by ID.
|
|
304
332
|
* @param walletId
|
|
305
333
|
* @param locationId
|
|
306
334
|
* @param xApiVersion
|
|
307
335
|
* @returns void
|
|
308
336
|
* @throws ApiError
|
|
309
337
|
*/
|
|
310
|
-
static
|
|
338
|
+
static deleteWalletLocationAsync(walletId, locationId, xApiVersion) {
|
|
311
339
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
312
340
|
method: 'DELETE',
|
|
313
341
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Locations/{locationId}',
|
|
@@ -325,12 +353,14 @@ class WalletsService {
|
|
|
325
353
|
});
|
|
326
354
|
}
|
|
327
355
|
/**
|
|
356
|
+
* Get Incoming Wallet Invoices
|
|
357
|
+
* Get incoming invoices of a specific wallet by ID.
|
|
328
358
|
* @param walletId
|
|
329
359
|
* @param xApiVersion
|
|
330
360
|
* @returns InvoiceDtoListEnvelope OK
|
|
331
361
|
* @throws ApiError
|
|
332
362
|
*/
|
|
333
|
-
static
|
|
363
|
+
static getIncomingWalletInvoicesAsync(walletId, xApiVersion) {
|
|
334
364
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
335
365
|
method: 'GET',
|
|
336
366
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Invoices/Incoming',
|
|
@@ -347,12 +377,14 @@ class WalletsService {
|
|
|
347
377
|
});
|
|
348
378
|
}
|
|
349
379
|
/**
|
|
380
|
+
* Get Incoming Wallet Invoices Count
|
|
381
|
+
* Get incoming invoices count of a specific wallet by ID.
|
|
350
382
|
* @param walletId
|
|
351
383
|
* @param xApiVersion
|
|
352
384
|
* @returns Int32Envelope OK
|
|
353
385
|
* @throws ApiError
|
|
354
386
|
*/
|
|
355
|
-
static
|
|
387
|
+
static getIncomingWalletInvoicesCountAsync(walletId, xApiVersion) {
|
|
356
388
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
357
389
|
method: 'GET',
|
|
358
390
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Invoices/Incoming/Count',
|
|
@@ -369,12 +401,14 @@ class WalletsService {
|
|
|
369
401
|
});
|
|
370
402
|
}
|
|
371
403
|
/**
|
|
404
|
+
* Get Outgoing Wallet Invoices
|
|
405
|
+
* Get outgoing invoices of a specific wallet by ID.
|
|
372
406
|
* @param walletId
|
|
373
407
|
* @param xApiVersion
|
|
374
408
|
* @returns InvoiceDtoListEnvelope OK
|
|
375
409
|
* @throws ApiError
|
|
376
410
|
*/
|
|
377
|
-
static
|
|
411
|
+
static getOutgoingWalletInvoicesAsync(walletId, xApiVersion) {
|
|
378
412
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
379
413
|
method: 'GET',
|
|
380
414
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Invoices/Outgoing',
|
|
@@ -391,12 +425,14 @@ class WalletsService {
|
|
|
391
425
|
});
|
|
392
426
|
}
|
|
393
427
|
/**
|
|
428
|
+
* Get Outgoing Wallet Invoices Count
|
|
429
|
+
* Get outgoing invoices count of a specific wallet by ID.
|
|
394
430
|
* @param walletId
|
|
395
431
|
* @param xApiVersion
|
|
396
432
|
* @returns Int32Envelope OK
|
|
397
433
|
* @throws ApiError
|
|
398
434
|
*/
|
|
399
|
-
static
|
|
435
|
+
static getOutgoingWalletInvoicesCountAsync(walletId, xApiVersion) {
|
|
400
436
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
401
437
|
method: 'GET',
|
|
402
438
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Invoices/Outgoing/Count',
|
|
@@ -413,12 +449,14 @@ class WalletsService {
|
|
|
413
449
|
});
|
|
414
450
|
}
|
|
415
451
|
/**
|
|
452
|
+
* Get Incoming Payments
|
|
453
|
+
* Get incoming payments of a specific wallet by ID.
|
|
416
454
|
* @param walletId
|
|
417
455
|
* @param xApiVersion
|
|
418
456
|
* @returns PaymentDtoListEnvelope OK
|
|
419
457
|
* @throws ApiError
|
|
420
458
|
*/
|
|
421
|
-
static
|
|
459
|
+
static getIncomingPaymentsAsync(walletId, xApiVersion) {
|
|
422
460
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
423
461
|
method: 'GET',
|
|
424
462
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Payments/Incoming',
|
|
@@ -435,12 +473,14 @@ class WalletsService {
|
|
|
435
473
|
});
|
|
436
474
|
}
|
|
437
475
|
/**
|
|
476
|
+
* Get Incoming Payments Count
|
|
477
|
+
* Get incoming payments count of a specific wallet by ID.
|
|
438
478
|
* @param walletId
|
|
439
479
|
* @param xApiVersion
|
|
440
480
|
* @returns Int32Envelope OK
|
|
441
481
|
* @throws ApiError
|
|
442
482
|
*/
|
|
443
|
-
static
|
|
483
|
+
static getIncomingPaymentsCountAsync(walletId, xApiVersion) {
|
|
444
484
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
445
485
|
method: 'GET',
|
|
446
486
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Payments/Incoming/Count',
|
|
@@ -457,12 +497,14 @@ class WalletsService {
|
|
|
457
497
|
});
|
|
458
498
|
}
|
|
459
499
|
/**
|
|
500
|
+
* Get Outgoing Payments
|
|
501
|
+
* Get outgoing payments of a specific wallet by ID.
|
|
460
502
|
* @param walletId
|
|
461
503
|
* @param xApiVersion
|
|
462
504
|
* @returns PaymentDtoListEnvelope OK
|
|
463
505
|
* @throws ApiError
|
|
464
506
|
*/
|
|
465
|
-
static
|
|
507
|
+
static getOutgoingPaymentsAsync(walletId, xApiVersion) {
|
|
466
508
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
467
509
|
method: 'GET',
|
|
468
510
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Payments/Outgoing',
|
|
@@ -479,12 +521,14 @@ class WalletsService {
|
|
|
479
521
|
});
|
|
480
522
|
}
|
|
481
523
|
/**
|
|
524
|
+
* Get Outgoing Payments Count
|
|
525
|
+
* Get outgoing payments count of a specific wallet by ID.
|
|
482
526
|
* @param walletId
|
|
483
527
|
* @param xApiVersion
|
|
484
528
|
* @returns Int32Envelope OK
|
|
485
529
|
* @throws ApiError
|
|
486
530
|
*/
|
|
487
|
-
static
|
|
531
|
+
static getOutgoingPaymentsCountAsync(walletId, xApiVersion) {
|
|
488
532
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
489
533
|
method: 'GET',
|
|
490
534
|
url: '/api/v2/WalletsService/Wallets/{walletId}/Payments/Outgoing/Count',
|