@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
|
@@ -6,11 +6,12 @@ const request_1 = require("../core/request");
|
|
|
6
6
|
class PortalsService {
|
|
7
7
|
/**
|
|
8
8
|
* Get the root portal
|
|
9
|
+
* Get the root portal of the this server instance
|
|
9
10
|
* @param xApiVersion
|
|
10
11
|
* @returns WebPortalDtoEnvelope OK
|
|
11
12
|
* @throws ApiError
|
|
12
13
|
*/
|
|
13
|
-
static
|
|
14
|
+
static getRootWebPortalAsync(xApiVersion) {
|
|
14
15
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
15
16
|
method: 'GET',
|
|
16
17
|
url: '/api/v2/ContentService/Portals/Root',
|
|
@@ -25,11 +26,12 @@ class PortalsService {
|
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* Get the current portal
|
|
29
|
+
* Get the current portal of the this server instance
|
|
28
30
|
* @param xApiVersion
|
|
29
31
|
* @returns WebPortalDtoEnvelope OK
|
|
30
32
|
* @throws ApiError
|
|
31
33
|
*/
|
|
32
|
-
static
|
|
34
|
+
static getCurrentWebPortalAsync(xApiVersion) {
|
|
33
35
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
34
36
|
method: 'GET',
|
|
35
37
|
url: '/api/v2/ContentService/Portals/Current',
|
|
@@ -44,11 +46,12 @@ class PortalsService {
|
|
|
44
46
|
}
|
|
45
47
|
/**
|
|
46
48
|
* Initialize the current portal
|
|
49
|
+
* Initialize the current portal for the current user.
|
|
47
50
|
* @param xApiVersion
|
|
48
51
|
* @returns WebPortalDtoEnvelope OK
|
|
49
52
|
* @throws ApiError
|
|
50
53
|
*/
|
|
51
|
-
static
|
|
54
|
+
static initializeCurrentWebPortalAsync(xApiVersion) {
|
|
52
55
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
53
56
|
method: 'GET',
|
|
54
57
|
url: '/api/v2/ContentService/Portals/Initialize',
|
|
@@ -62,12 +65,13 @@ class PortalsService {
|
|
|
62
65
|
});
|
|
63
66
|
}
|
|
64
67
|
/**
|
|
65
|
-
* Get the current portal
|
|
68
|
+
* Get the current portal's options
|
|
69
|
+
* Get the current portal's options for the current user.
|
|
66
70
|
* @param xApiVersion
|
|
67
71
|
* @returns PortalOptionsEnvelope OK
|
|
68
72
|
* @throws ApiError
|
|
69
73
|
*/
|
|
70
|
-
static
|
|
74
|
+
static getCurrentWebPortalOptionsAsync(xApiVersion) {
|
|
71
75
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
72
76
|
method: 'GET',
|
|
73
77
|
url: '/api/v2/ContentService/Portals/Current/Options',
|
|
@@ -81,13 +85,14 @@ class PortalsService {
|
|
|
81
85
|
});
|
|
82
86
|
}
|
|
83
87
|
/**
|
|
88
|
+
* Search for a portal by its domain
|
|
84
89
|
* Search for a portal by its domain
|
|
85
90
|
* @param domain
|
|
86
91
|
* @param xApiVersion
|
|
87
92
|
* @returns WebPortalDtoEnvelope OK
|
|
88
93
|
* @throws ApiError
|
|
89
94
|
*/
|
|
90
|
-
static
|
|
95
|
+
static searchWebPortalAsync(domain, xApiVersion) {
|
|
91
96
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
92
97
|
method: 'GET',
|
|
93
98
|
url: '/api/v2/ContentService/Portals/Search',
|
|
@@ -104,13 +109,14 @@ class PortalsService {
|
|
|
104
109
|
});
|
|
105
110
|
}
|
|
106
111
|
/**
|
|
112
|
+
* Get a web portal by its ID
|
|
107
113
|
* Get a web portal by its ID
|
|
108
114
|
* @param portalId
|
|
109
115
|
* @param xApiVersion
|
|
110
116
|
* @returns WebPortalDtoEnvelope OK
|
|
111
117
|
* @throws ApiError
|
|
112
118
|
*/
|
|
113
|
-
static
|
|
119
|
+
static getWebPortalByIdAsync(portalId, xApiVersion) {
|
|
114
120
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
115
121
|
method: 'GET',
|
|
116
122
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -127,6 +133,7 @@ class PortalsService {
|
|
|
127
133
|
});
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
136
|
+
* Update an existing web portal
|
|
130
137
|
* Update an existing web portal
|
|
131
138
|
* @param tenantId
|
|
132
139
|
* @param portalId
|
|
@@ -135,7 +142,7 @@ class PortalsService {
|
|
|
135
142
|
* @returns EmptyEnvelope OK
|
|
136
143
|
* @throws ApiError
|
|
137
144
|
*/
|
|
138
|
-
static
|
|
145
|
+
static updateWebPortalAsync(tenantId, portalId, xApiVersion, requestBody) {
|
|
139
146
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
140
147
|
method: 'PUT',
|
|
141
148
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -157,7 +164,8 @@ class PortalsService {
|
|
|
157
164
|
});
|
|
158
165
|
}
|
|
159
166
|
/**
|
|
160
|
-
* Delete a web portal
|
|
167
|
+
* Delete a web portal
|
|
168
|
+
* Delete a web portal
|
|
161
169
|
* @param tenantId
|
|
162
170
|
* @param portalId
|
|
163
171
|
* @param requestBody
|
|
@@ -165,7 +173,7 @@ class PortalsService {
|
|
|
165
173
|
* @returns EmptyEnvelope OK
|
|
166
174
|
* @throws ApiError
|
|
167
175
|
*/
|
|
168
|
-
static
|
|
176
|
+
static deleteWebPortalAsync(tenantId, portalId, requestBody, xApiVersion) {
|
|
169
177
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
170
178
|
method: 'DELETE',
|
|
171
179
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -187,6 +195,7 @@ class PortalsService {
|
|
|
187
195
|
});
|
|
188
196
|
}
|
|
189
197
|
/**
|
|
198
|
+
* Partially update a web portal
|
|
190
199
|
* Partially update a web portal
|
|
191
200
|
* @param tenantId
|
|
192
201
|
* @param portalId
|
|
@@ -195,7 +204,7 @@ class PortalsService {
|
|
|
195
204
|
* @returns EmptyEnvelope OK
|
|
196
205
|
* @throws ApiError
|
|
197
206
|
*/
|
|
198
|
-
static
|
|
207
|
+
static patchWebPortalAsync(tenantId, portalId, xApiVersion, requestBody) {
|
|
199
208
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
200
209
|
method: 'PATCH',
|
|
201
210
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -217,13 +226,14 @@ class PortalsService {
|
|
|
217
226
|
});
|
|
218
227
|
}
|
|
219
228
|
/**
|
|
229
|
+
* Get a web portal's settings by its ID
|
|
220
230
|
* Get a web portal's settings by its ID
|
|
221
231
|
* @param portalId
|
|
222
232
|
* @param xApiVersion
|
|
223
233
|
* @returns PortalSettingsEnvelope OK
|
|
224
234
|
* @throws ApiError
|
|
225
235
|
*/
|
|
226
|
-
static
|
|
236
|
+
static getWebPortalSettingsAsync(portalId, xApiVersion) {
|
|
227
237
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
228
238
|
method: 'GET',
|
|
229
239
|
url: '/api/v2/ContentService/Portals/{portalId}/Settings',
|
|
@@ -240,13 +250,14 @@ class PortalsService {
|
|
|
240
250
|
});
|
|
241
251
|
}
|
|
242
252
|
/**
|
|
253
|
+
* Get a web portal's options by its ID
|
|
243
254
|
* Get a web portal's options by its ID
|
|
244
255
|
* @param portalId
|
|
245
256
|
* @param xApiVersion
|
|
246
257
|
* @returns PortalOptionsEnvelope OK
|
|
247
258
|
* @throws ApiError
|
|
248
259
|
*/
|
|
249
|
-
static
|
|
260
|
+
static getWebPortalOptionsAsync(portalId, xApiVersion) {
|
|
250
261
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
251
262
|
method: 'GET',
|
|
252
263
|
url: '/api/v2/ContentService/Portals/{portalId}/Options',
|
|
@@ -263,6 +274,7 @@ class PortalsService {
|
|
|
263
274
|
});
|
|
264
275
|
}
|
|
265
276
|
/**
|
|
277
|
+
* Create a new web portal
|
|
266
278
|
* Create a new web portal
|
|
267
279
|
* @param tenantId
|
|
268
280
|
* @param xApiVersion
|
|
@@ -270,7 +282,7 @@ class PortalsService {
|
|
|
270
282
|
* @returns EmptyEnvelope Created
|
|
271
283
|
* @throws ApiError
|
|
272
284
|
*/
|
|
273
|
-
static
|
|
285
|
+
static createWebPortalAsync(tenantId, xApiVersion, requestBody) {
|
|
274
286
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
275
287
|
method: 'POST',
|
|
276
288
|
url: '/api/v2/ContentService/Portals',
|
|
@@ -16,11 +16,12 @@ import { request as __request } from '../core/request';
|
|
|
16
16
|
export class PortalsService {
|
|
17
17
|
/**
|
|
18
18
|
* Get the root portal
|
|
19
|
+
* Get the root portal of the this server instance
|
|
19
20
|
* @param xApiVersion
|
|
20
21
|
* @returns WebPortalDtoEnvelope OK
|
|
21
22
|
* @throws ApiError
|
|
22
23
|
*/
|
|
23
|
-
public static
|
|
24
|
+
public static getRootWebPortalAsync(
|
|
24
25
|
xApiVersion?: string,
|
|
25
26
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
26
27
|
return __request(OpenAPI, {
|
|
@@ -37,11 +38,12 @@ export class PortalsService {
|
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* Get the current portal
|
|
41
|
+
* Get the current portal of the this server instance
|
|
40
42
|
* @param xApiVersion
|
|
41
43
|
* @returns WebPortalDtoEnvelope OK
|
|
42
44
|
* @throws ApiError
|
|
43
45
|
*/
|
|
44
|
-
public static
|
|
46
|
+
public static getCurrentWebPortalAsync(
|
|
45
47
|
xApiVersion?: string,
|
|
46
48
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
47
49
|
return __request(OpenAPI, {
|
|
@@ -58,11 +60,12 @@ export class PortalsService {
|
|
|
58
60
|
}
|
|
59
61
|
/**
|
|
60
62
|
* Initialize the current portal
|
|
63
|
+
* Initialize the current portal for the current user.
|
|
61
64
|
* @param xApiVersion
|
|
62
65
|
* @returns WebPortalDtoEnvelope OK
|
|
63
66
|
* @throws ApiError
|
|
64
67
|
*/
|
|
65
|
-
public static
|
|
68
|
+
public static initializeCurrentWebPortalAsync(
|
|
66
69
|
xApiVersion?: string,
|
|
67
70
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
68
71
|
return __request(OpenAPI, {
|
|
@@ -78,12 +81,13 @@ export class PortalsService {
|
|
|
78
81
|
});
|
|
79
82
|
}
|
|
80
83
|
/**
|
|
81
|
-
* Get the current portal
|
|
84
|
+
* Get the current portal's options
|
|
85
|
+
* Get the current portal's options for the current user.
|
|
82
86
|
* @param xApiVersion
|
|
83
87
|
* @returns PortalOptionsEnvelope OK
|
|
84
88
|
* @throws ApiError
|
|
85
89
|
*/
|
|
86
|
-
public static
|
|
90
|
+
public static getCurrentWebPortalOptionsAsync(
|
|
87
91
|
xApiVersion?: string,
|
|
88
92
|
): CancelablePromise<PortalOptionsEnvelope> {
|
|
89
93
|
return __request(OpenAPI, {
|
|
@@ -99,13 +103,14 @@ export class PortalsService {
|
|
|
99
103
|
});
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
106
|
+
* Search for a portal by its domain
|
|
102
107
|
* Search for a portal by its domain
|
|
103
108
|
* @param domain
|
|
104
109
|
* @param xApiVersion
|
|
105
110
|
* @returns WebPortalDtoEnvelope OK
|
|
106
111
|
* @throws ApiError
|
|
107
112
|
*/
|
|
108
|
-
public static
|
|
113
|
+
public static searchWebPortalAsync(
|
|
109
114
|
domain: string,
|
|
110
115
|
xApiVersion?: string,
|
|
111
116
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
@@ -125,13 +130,14 @@ export class PortalsService {
|
|
|
125
130
|
});
|
|
126
131
|
}
|
|
127
132
|
/**
|
|
133
|
+
* Get a web portal by its ID
|
|
128
134
|
* Get a web portal by its ID
|
|
129
135
|
* @param portalId
|
|
130
136
|
* @param xApiVersion
|
|
131
137
|
* @returns WebPortalDtoEnvelope OK
|
|
132
138
|
* @throws ApiError
|
|
133
139
|
*/
|
|
134
|
-
public static
|
|
140
|
+
public static getWebPortalByIdAsync(
|
|
135
141
|
portalId: string,
|
|
136
142
|
xApiVersion?: string,
|
|
137
143
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
@@ -151,6 +157,7 @@ export class PortalsService {
|
|
|
151
157
|
});
|
|
152
158
|
}
|
|
153
159
|
/**
|
|
160
|
+
* Update an existing web portal
|
|
154
161
|
* Update an existing web portal
|
|
155
162
|
* @param tenantId
|
|
156
163
|
* @param portalId
|
|
@@ -159,7 +166,7 @@ export class PortalsService {
|
|
|
159
166
|
* @returns EmptyEnvelope OK
|
|
160
167
|
* @throws ApiError
|
|
161
168
|
*/
|
|
162
|
-
public static
|
|
169
|
+
public static updateWebPortalAsync(
|
|
163
170
|
tenantId: string,
|
|
164
171
|
portalId: string,
|
|
165
172
|
xApiVersion?: string,
|
|
@@ -186,7 +193,8 @@ export class PortalsService {
|
|
|
186
193
|
});
|
|
187
194
|
}
|
|
188
195
|
/**
|
|
189
|
-
* Delete a web portal
|
|
196
|
+
* Delete a web portal
|
|
197
|
+
* Delete a web portal
|
|
190
198
|
* @param tenantId
|
|
191
199
|
* @param portalId
|
|
192
200
|
* @param requestBody
|
|
@@ -194,7 +202,7 @@ export class PortalsService {
|
|
|
194
202
|
* @returns EmptyEnvelope OK
|
|
195
203
|
* @throws ApiError
|
|
196
204
|
*/
|
|
197
|
-
public static
|
|
205
|
+
public static deleteWebPortalAsync(
|
|
198
206
|
tenantId: string,
|
|
199
207
|
portalId: string,
|
|
200
208
|
requestBody: PortalId,
|
|
@@ -221,6 +229,7 @@ export class PortalsService {
|
|
|
221
229
|
});
|
|
222
230
|
}
|
|
223
231
|
/**
|
|
232
|
+
* Partially update a web portal
|
|
224
233
|
* Partially update a web portal
|
|
225
234
|
* @param tenantId
|
|
226
235
|
* @param portalId
|
|
@@ -229,7 +238,7 @@ export class PortalsService {
|
|
|
229
238
|
* @returns EmptyEnvelope OK
|
|
230
239
|
* @throws ApiError
|
|
231
240
|
*/
|
|
232
|
-
public static
|
|
241
|
+
public static patchWebPortalAsync(
|
|
233
242
|
tenantId: string,
|
|
234
243
|
portalId: PortalId,
|
|
235
244
|
xApiVersion?: string,
|
|
@@ -256,13 +265,14 @@ export class PortalsService {
|
|
|
256
265
|
});
|
|
257
266
|
}
|
|
258
267
|
/**
|
|
268
|
+
* Get a web portal's settings by its ID
|
|
259
269
|
* Get a web portal's settings by its ID
|
|
260
270
|
* @param portalId
|
|
261
271
|
* @param xApiVersion
|
|
262
272
|
* @returns PortalSettingsEnvelope OK
|
|
263
273
|
* @throws ApiError
|
|
264
274
|
*/
|
|
265
|
-
public static
|
|
275
|
+
public static getWebPortalSettingsAsync(
|
|
266
276
|
portalId: string,
|
|
267
277
|
xApiVersion?: string,
|
|
268
278
|
): CancelablePromise<PortalSettingsEnvelope> {
|
|
@@ -282,13 +292,14 @@ export class PortalsService {
|
|
|
282
292
|
});
|
|
283
293
|
}
|
|
284
294
|
/**
|
|
295
|
+
* Get a web portal's options by its ID
|
|
285
296
|
* Get a web portal's options by its ID
|
|
286
297
|
* @param portalId
|
|
287
298
|
* @param xApiVersion
|
|
288
299
|
* @returns PortalOptionsEnvelope OK
|
|
289
300
|
* @throws ApiError
|
|
290
301
|
*/
|
|
291
|
-
public static
|
|
302
|
+
public static getWebPortalOptionsAsync(
|
|
292
303
|
portalId: string,
|
|
293
304
|
xApiVersion?: string,
|
|
294
305
|
): CancelablePromise<PortalOptionsEnvelope> {
|
|
@@ -308,6 +319,7 @@ export class PortalsService {
|
|
|
308
319
|
});
|
|
309
320
|
}
|
|
310
321
|
/**
|
|
322
|
+
* Create a new web portal
|
|
311
323
|
* Create a new web portal
|
|
312
324
|
* @param tenantId
|
|
313
325
|
* @param xApiVersion
|
|
@@ -315,7 +327,7 @@ export class PortalsService {
|
|
|
315
327
|
* @returns EmptyEnvelope Created
|
|
316
328
|
* @throws ApiError
|
|
317
329
|
*/
|
|
318
|
-
public static
|
|
330
|
+
public static createWebPortalAsync(
|
|
319
331
|
tenantId: string,
|
|
320
332
|
xApiVersion?: string,
|
|
321
333
|
requestBody?: WebPortalCreateDto,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TimezonesService = exports.LanguagesService = exports.CurrenciesService = exports.CountriesService = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
3
|
+
exports.TimezonesService = exports.MigrationsService = exports.LanguagesService = exports.CurrenciesService = exports.CountriesService = exports.PaymentResponse = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.ApiError = void 0;
|
|
4
4
|
/* generated using openapi-typescript-codegen -- do no edit */
|
|
5
5
|
/* istanbul ignore file */
|
|
6
6
|
/* tslint:disable */
|
|
@@ -12,11 +12,15 @@ Object.defineProperty(exports, "CancelablePromise", { enumerable: true, get: fun
|
|
|
12
12
|
Object.defineProperty(exports, "CancelError", { enumerable: true, get: function () { return CancelablePromise_1.CancelError; } });
|
|
13
13
|
var OpenAPI_1 = require("./core/OpenAPI");
|
|
14
14
|
Object.defineProperty(exports, "OpenAPI", { enumerable: true, get: function () { return OpenAPI_1.OpenAPI; } });
|
|
15
|
+
var PaymentResponse_1 = require("./models/PaymentResponse");
|
|
16
|
+
Object.defineProperty(exports, "PaymentResponse", { enumerable: true, get: function () { return PaymentResponse_1.PaymentResponse; } });
|
|
15
17
|
var CountriesService_1 = require("./services/CountriesService");
|
|
16
18
|
Object.defineProperty(exports, "CountriesService", { enumerable: true, get: function () { return CountriesService_1.CountriesService; } });
|
|
17
19
|
var CurrenciesService_1 = require("./services/CurrenciesService");
|
|
18
20
|
Object.defineProperty(exports, "CurrenciesService", { enumerable: true, get: function () { return CurrenciesService_1.CurrenciesService; } });
|
|
19
21
|
var LanguagesService_1 = require("./services/LanguagesService");
|
|
20
22
|
Object.defineProperty(exports, "LanguagesService", { enumerable: true, get: function () { return LanguagesService_1.LanguagesService; } });
|
|
23
|
+
var MigrationsService_1 = require("./services/MigrationsService");
|
|
24
|
+
Object.defineProperty(exports, "MigrationsService", { enumerable: true, get: function () { return MigrationsService_1.MigrationsService; } });
|
|
21
25
|
var TimezonesService_1 = require("./services/TimezonesService");
|
|
22
26
|
Object.defineProperty(exports, "TimezonesService", { enumerable: true, get: function () { return TimezonesService_1.TimezonesService; } });
|
|
@@ -25,7 +25,10 @@ export type { CountryTopLevelDomainDtoListEnvelope } from './models/CountryTopLe
|
|
|
25
25
|
export type { CurrencyDto } from './models/CurrencyDto';
|
|
26
26
|
export type { CurrencyDtoEnvelope } from './models/CurrencyDtoEnvelope';
|
|
27
27
|
export type { CurrencyDtoListEnvelope } from './models/CurrencyDtoListEnvelope';
|
|
28
|
+
export type { Error } from './models/Error';
|
|
28
29
|
export type { ErrorEnvelope } from './models/ErrorEnvelope';
|
|
30
|
+
export { PaymentResponse } from './models/PaymentResponse';
|
|
31
|
+
export type { ResponseStatus } from './models/ResponseStatus';
|
|
29
32
|
export type { TimezoneDto } from './models/TimezoneDto';
|
|
30
33
|
export type { TimezoneDtoEnvelope } from './models/TimezoneDtoEnvelope';
|
|
31
34
|
export type { TimezoneDtoListEnvelope } from './models/TimezoneDtoListEnvelope';
|
|
@@ -33,4 +36,5 @@ export type { TimezoneDtoListEnvelope } from './models/TimezoneDtoListEnvelope';
|
|
|
33
36
|
export { CountriesService } from './services/CountriesService';
|
|
34
37
|
export { CurrenciesService } from './services/CurrenciesService';
|
|
35
38
|
export { LanguagesService } from './services/LanguagesService';
|
|
39
|
+
export { MigrationsService } from './services/MigrationsService';
|
|
36
40
|
export { TimezonesService } from './services/TimezonesService';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PaymentResponse = void 0;
|
|
4
|
+
var PaymentResponse;
|
|
5
|
+
(function (PaymentResponse) {
|
|
6
|
+
let paymentStatus;
|
|
7
|
+
(function (paymentStatus) {
|
|
8
|
+
paymentStatus[paymentStatus["_0"] = 0] = "_0";
|
|
9
|
+
paymentStatus[paymentStatus["_1"] = 1] = "_1";
|
|
10
|
+
paymentStatus[paymentStatus["_2"] = 2] = "_2";
|
|
11
|
+
paymentStatus[paymentStatus["_3"] = 3] = "_3";
|
|
12
|
+
paymentStatus[paymentStatus["_4"] = 4] = "_4";
|
|
13
|
+
paymentStatus[paymentStatus["_5"] = 5] = "_5";
|
|
14
|
+
paymentStatus[paymentStatus["_6"] = 6] = "_6";
|
|
15
|
+
paymentStatus[paymentStatus["_7"] = 7] = "_7";
|
|
16
|
+
paymentStatus[paymentStatus["_8"] = 8] = "_8";
|
|
17
|
+
paymentStatus[paymentStatus["_9"] = 9] = "_9";
|
|
18
|
+
paymentStatus[paymentStatus["_10"] = 10] = "_10";
|
|
19
|
+
paymentStatus[paymentStatus["_11"] = 11] = "_11";
|
|
20
|
+
})(paymentStatus = PaymentResponse.paymentStatus || (PaymentResponse.paymentStatus = {}));
|
|
21
|
+
})(PaymentResponse = exports.PaymentResponse || (exports.PaymentResponse = {}));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type PaymentResponse = {
|
|
6
|
+
test?: boolean;
|
|
7
|
+
ip?: string | null;
|
|
8
|
+
bank?: string | null;
|
|
9
|
+
status?: string | null;
|
|
10
|
+
errors?: any;
|
|
11
|
+
response?: string | null;
|
|
12
|
+
authCode?: string | null;
|
|
13
|
+
paymentID?: string | null;
|
|
14
|
+
franchise?: string | null;
|
|
15
|
+
signature?: string | null;
|
|
16
|
+
paymentStatus?: PaymentResponse.paymentStatus;
|
|
17
|
+
};
|
|
18
|
+
export namespace PaymentResponse {
|
|
19
|
+
export enum paymentStatus {
|
|
20
|
+
'_0' = 0,
|
|
21
|
+
'_1' = 1,
|
|
22
|
+
'_2' = 2,
|
|
23
|
+
'_3' = 3,
|
|
24
|
+
'_4' = 4,
|
|
25
|
+
'_5' = 5,
|
|
26
|
+
'_6' = 6,
|
|
27
|
+
'_7' = 7,
|
|
28
|
+
'_8' = 8,
|
|
29
|
+
'_9' = 9,
|
|
30
|
+
'_10' = 10,
|
|
31
|
+
'_11' = 11,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Error } from './Error';
|
|
6
|
+
export type ResponseStatus = {
|
|
7
|
+
success?: boolean;
|
|
8
|
+
error?: Error;
|
|
9
|
+
correlationID?: string | null;
|
|
10
|
+
utcTimestamp?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MigrationsService = void 0;
|
|
4
|
+
const OpenAPI_1 = require("../core/OpenAPI");
|
|
5
|
+
const request_1 = require("../core/request");
|
|
6
|
+
class MigrationsService {
|
|
7
|
+
/**
|
|
8
|
+
* @param xApiVersion
|
|
9
|
+
* @returns PaymentResponse OK
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static postApiV2GlobalSystemMigrate(xApiVersion) {
|
|
13
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
|
+
method: 'POST',
|
|
15
|
+
url: '/api/v2/Global/System/Migrate',
|
|
16
|
+
headers: {
|
|
17
|
+
'x-api-version': xApiVersion,
|
|
18
|
+
},
|
|
19
|
+
errors: {
|
|
20
|
+
401: `Unauthorized`,
|
|
21
|
+
500: `Internal Server Error`,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.MigrationsService = MigrationsService;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PaymentResponse } from '../models/PaymentResponse';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
8
|
+
import { request as __request } from '../core/request';
|
|
9
|
+
export class MigrationsService {
|
|
10
|
+
/**
|
|
11
|
+
* @param xApiVersion
|
|
12
|
+
* @returns PaymentResponse OK
|
|
13
|
+
* @throws ApiError
|
|
14
|
+
*/
|
|
15
|
+
public static postApiV2GlobalSystemMigrate(
|
|
16
|
+
xApiVersion?: string,
|
|
17
|
+
): CancelablePromise<PaymentResponse> {
|
|
18
|
+
return __request(OpenAPI, {
|
|
19
|
+
method: 'POST',
|
|
20
|
+
url: '/api/v2/Global/System/Migrate',
|
|
21
|
+
headers: {
|
|
22
|
+
'x-api-version': xApiVersion,
|
|
23
|
+
},
|
|
24
|
+
errors: {
|
|
25
|
+
401: `Unauthorized`,
|
|
26
|
+
500: `Internal Server Error`,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|