@fenixalliance/abs-api-client 1.0.8 → 1.0.10
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/app/index.js +2 -2
- package/app/index.ts +1 -1
- package/clients/contentService/index.ts +2 -2
- package/clients/contentService/models/{Portal.ts → PortalSettings.ts} +1 -1
- package/clients/contentService/models/PortalSettingsEnvelope.ts +14 -0
- package/clients/contentService/services/PortalsService.js +23 -12
- package/clients/contentService/services/PortalsService.ts +25 -14
- package/clients/crmService/services/ContactsService.js +86 -28
- package/clients/crmService/services/ContactsService.ts +86 -28
- package/clients/holderService/index.js +7 -3
- package/clients/holderService/index.ts +4 -2
- package/clients/holderService/models/FollowRecordDtoListEnvelope.ts +14 -0
- package/clients/holderService/services/{HolderService.js → IdentityService.js} +65 -157
- package/clients/holderService/services/{HolderService.ts → IdentityService.ts} +70 -186
- package/clients/holderService/services/TenantsService.js +151 -0
- package/clients/holderService/services/TenantsService.ts +176 -0
- package/clients/holderService/services/UserService.js +364 -0
- package/clients/holderService/services/UserService.ts +421 -0
- package/clients/storageService/core/ApiError.js +20 -0
- package/clients/storageService/core/ApiError.ts +25 -0
- package/clients/storageService/core/ApiRequestOptions.ts +17 -0
- package/clients/storageService/core/ApiResult.ts +11 -0
- package/clients/storageService/core/CancelablePromise.js +104 -0
- package/clients/storageService/core/CancelablePromise.ts +131 -0
- package/clients/storageService/core/OpenAPI.js +14 -0
- package/clients/storageService/core/OpenAPI.ts +32 -0
- package/clients/storageService/core/request.js +294 -0
- package/clients/storageService/core/request.ts +322 -0
- package/clients/storageService/index.js +26 -0
- package/clients/storageService/index.ts +23 -0
- package/clients/storageService/models/Blob.js +11 -0
- package/clients/storageService/models/Blob.ts +26 -0
- package/clients/{contentService/models/PortalEnvelope.ts → storageService/models/BlobEnvelope.ts} +3 -3
- package/clients/{holderService/models/EmptyEnvelopeEnvelope.ts → storageService/models/EmptyEnvelope.ts} +1 -3
- package/clients/storageService/models/ErrorEnvelope.ts +12 -0
- package/clients/storageService/models/FileUploadCreateDto.ts +20 -0
- package/clients/storageService/models/FileUploadDto.js +2 -0
- package/clients/storageService/models/FileUploadDto.ts +29 -0
- package/clients/storageService/models/FileUploadDtoEnvelope.js +2 -0
- package/clients/storageService/models/FileUploadDtoEnvelope.ts +14 -0
- package/clients/storageService/models/FileUploadUpdateDto.js +2 -0
- package/clients/storageService/models/FileUploadUpdateDto.ts +19 -0
- package/clients/storageService/services/AvatarsService.js +200 -0
- package/clients/storageService/services/AvatarsService.ts +234 -0
- package/clients/storageService/services/BlobsService.js +66 -0
- package/clients/storageService/services/BlobsService.ts +81 -0
- package/clients/{tenantService/services/EnrollmentsService.js → storageService/services/FilesService.js} +50 -42
- package/clients/{tenantService/services/UnitsService.ts → storageService/services/FilesService.ts} +75 -65
- package/clients/storageService/services/RadzenEditorService.js +117 -0
- package/clients/storageService/services/RadzenEditorService.ts +149 -0
- package/clients/storageService/services/UploadsService.js +33 -0
- package/clients/storageService/services/UploadsService.ts +53 -0
- package/clients/systemService/services/ModulesService.js +4 -2
- package/clients/systemService/services/ModulesService.ts +4 -2
- package/clients/systemService/services/TenantsService.js +24 -8
- package/clients/systemService/services/TenantsService.ts +24 -8
- package/clients/tenantService/index.js +1 -29
- package/clients/tenantService/index.ts +7 -20
- package/clients/tenantService/models/TenantIndustryDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/TenantIndustryDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamContactEnrollmentDtoListEnvelope.ts} +1 -1
- package/clients/tenantService/models/TenantTeamDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.ts → TenantTeamDtoListEnvelope.ts} +1 -1
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamEmployeeEnrollmentDtoListEnvelope.ts} +1 -1
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamProjectEnrollmentDtoListEnvelope.ts} +1 -1
- package/clients/tenantService/models/TenantTeamRecordDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts → TenantTeamRecordDtoListEnvelope.ts} +1 -1
- package/clients/tenantService/models/TenantTypeDtoListEnvelope.js +2 -0
- package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.ts → TenantTypeDtoListEnvelope.ts} +1 -1
- package/clients/tenantService/services/SizesService.js +15 -5
- package/clients/tenantService/services/SizesService.ts +15 -5
- package/clients/tenantService/services/TenantsService.js +2554 -233
- package/clients/tenantService/services/TenantsService.ts +3004 -307
- package/package.json +1 -1
- package/schemas/contentService/schema.s.ts +877 -844
- package/schemas/crmService/schema.s.ts +1776 -1516
- package/schemas/holderService/schema.s.ts +1024 -789
- package/schemas/storageService/schema.s.js +6 -0
- package/schemas/storageService/schema.s.ts +1087 -0
- package/schemas/systemService/schema.s.ts +465 -387
- package/schemas/tenantService/schema.s.ts +5713 -4820
- package/clients/tenantService/services/DepartmentsService.js +0 -161
- package/clients/tenantService/services/DepartmentsService.ts +0 -192
- package/clients/tenantService/services/EmployeeEnrollmentsService.js +0 -153
- package/clients/tenantService/services/EmployeeEnrollmentsService.ts +0 -181
- package/clients/tenantService/services/EnrollmentsService.ts +0 -195
- package/clients/tenantService/services/IndustriesService.js +0 -161
- package/clients/tenantService/services/IndustriesService.ts +0 -190
- package/clients/tenantService/services/InvitationsService.js +0 -128
- package/clients/tenantService/services/InvitationsService.ts +0 -150
- package/clients/tenantService/services/PositionsService.js +0 -161
- package/clients/tenantService/services/PositionsService.ts +0 -192
- package/clients/tenantService/services/SegmentsService.js +0 -161
- package/clients/tenantService/services/SegmentsService.ts +0 -191
- package/clients/tenantService/services/TeamContactEnrollmentsService.js +0 -161
- package/clients/tenantService/services/TeamContactEnrollmentsService.ts +0 -191
- package/clients/tenantService/services/TeamProjectEnrollmentService.js +0 -153
- package/clients/tenantService/services/TeamProjectEnrollmentService.ts +0 -181
- package/clients/tenantService/services/TeamRecordsService.js +0 -161
- package/clients/tenantService/services/TeamRecordsService.ts +0 -192
- package/clients/tenantService/services/TeamsService.js +0 -161
- package/clients/tenantService/services/TeamsService.ts +0 -192
- package/clients/tenantService/services/TerritoriesService.js +0 -161
- package/clients/tenantService/services/TerritoriesService.ts +0 -192
- package/clients/tenantService/services/TypesService.js +0 -149
- package/clients/tenantService/services/TypesService.ts +0 -176
- package/clients/tenantService/services/UnitsService.js +0 -159
- /package/clients/contentService/models/{Portal.js → PortalSettings.js} +0 -0
- /package/clients/contentService/models/{PortalEnvelope.js → PortalSettingsEnvelope.js} +0 -0
- /package/clients/holderService/models/{EmptyEnvelopeEnvelope.js → FollowRecordDtoListEnvelope.js} +0 -0
- /package/clients/{tenantService/models/TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/core/ApiRequestOptions.js} +0 -0
- /package/clients/{tenantService/models/TenantTeamDtoIReadOnlyCollectionEnvelope.js → storageService/core/ApiResult.js} +0 -0
- /package/clients/{tenantService/models/TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/models/BlobEnvelope.js} +0 -0
- /package/clients/{tenantService/models/TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/models/EmptyEnvelope.js} +0 -0
- /package/clients/{tenantService/models/TenantTeamRecordDtoIReadOnlyCollectionEnvelope.js → storageService/models/ErrorEnvelope.js} +0 -0
- /package/clients/{tenantService/models/TenantTypeDtoIReadOnlyCollectionEnvelope.js → storageService/models/FileUploadCreateDto.js} +0 -0
package/app/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrdersService = exports.ContactsService = exports.CartsService = exports.TenantsService = exports.
|
|
3
|
+
exports.OrdersService = exports.ContactsService = exports.CartsService = exports.TenantsService = exports.UserService = void 0;
|
|
4
4
|
var holderService_1 = require("../clients/holderService");
|
|
5
|
-
Object.defineProperty(exports, "
|
|
5
|
+
Object.defineProperty(exports, "UserService", { enumerable: true, get: function () { return holderService_1.UserService; } });
|
|
6
6
|
var tenantService_1 = require("../clients/tenantService");
|
|
7
7
|
Object.defineProperty(exports, "TenantsService", { enumerable: true, get: function () { return tenantService_1.TenantsService; } });
|
|
8
8
|
var cartService_1 = require("../clients/cartService");
|
package/app/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { UserService } from "../clients/holderService";
|
|
2
2
|
export { TenantsService } from "../clients/tenantService";
|
|
3
3
|
export { CartsService } from "../clients/cartService";
|
|
4
4
|
export { ContactsService } from "../clients/crmService";
|
|
@@ -93,11 +93,11 @@ export type { PaginationOptions } from './models/PaginationOptions';
|
|
|
93
93
|
export type { PaymentMethod } from './models/PaymentMethod';
|
|
94
94
|
export type { PaymentOptions } from './models/PaymentOptions';
|
|
95
95
|
export type { PerformanceOptions } from './models/PerformanceOptions';
|
|
96
|
-
export type { Portal } from './models/Portal';
|
|
97
|
-
export type { PortalEnvelope } from './models/PortalEnvelope';
|
|
98
96
|
export type { PortalId } from './models/PortalId';
|
|
99
97
|
export { PortalOptions } from './models/PortalOptions';
|
|
100
98
|
export type { PortalOptionsEnvelope } from './models/PortalOptionsEnvelope';
|
|
99
|
+
export type { PortalSettings } from './models/PortalSettings';
|
|
100
|
+
export type { PortalSettingsEnvelope } from './models/PortalSettingsEnvelope';
|
|
101
101
|
export type { PortfolioOptions } from './models/PortfolioOptions';
|
|
102
102
|
export type { PriceCalculationOptions } from './models/PriceCalculationOptions';
|
|
103
103
|
export type { PrivacyOptions } from './models/PrivacyOptions';
|
|
@@ -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 { PortalSettings } from './PortalSettings';
|
|
6
|
+
export type PortalSettingsEnvelope = {
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
errorMessage?: string | null;
|
|
9
|
+
correlationId?: string | null;
|
|
10
|
+
readonly timestamp?: string;
|
|
11
|
+
readonly activityId?: string | null;
|
|
12
|
+
result?: PortalSettings;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -5,11 +5,12 @@ const OpenAPI_1 = require("../core/OpenAPI");
|
|
|
5
5
|
const request_1 = require("../core/request");
|
|
6
6
|
class PortalsService {
|
|
7
7
|
/**
|
|
8
|
+
* Get the root portal
|
|
8
9
|
* @param xApiVersion
|
|
9
10
|
* @returns WebPortalDtoEnvelope OK
|
|
10
11
|
* @throws ApiError
|
|
11
12
|
*/
|
|
12
|
-
static
|
|
13
|
+
static getRootPortal(xApiVersion) {
|
|
13
14
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
15
|
method: 'GET',
|
|
15
16
|
url: '/api/v2/ContentService/Portals/Root',
|
|
@@ -23,11 +24,12 @@ class PortalsService {
|
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
27
|
+
* Get the current portal
|
|
26
28
|
* @param xApiVersion
|
|
27
29
|
* @returns WebPortalDtoEnvelope OK
|
|
28
30
|
* @throws ApiError
|
|
29
31
|
*/
|
|
30
|
-
static
|
|
32
|
+
static getCurrentWebPortal(xApiVersion) {
|
|
31
33
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
32
34
|
method: 'GET',
|
|
33
35
|
url: '/api/v2/ContentService/Portals/Current',
|
|
@@ -41,11 +43,12 @@ class PortalsService {
|
|
|
41
43
|
});
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
46
|
+
* Initialize the current portal
|
|
44
47
|
* @param xApiVersion
|
|
45
48
|
* @returns WebPortalDtoEnvelope OK
|
|
46
49
|
* @throws ApiError
|
|
47
50
|
*/
|
|
48
|
-
static
|
|
51
|
+
static initializeCurrentWebPortal(xApiVersion) {
|
|
49
52
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
50
53
|
method: 'GET',
|
|
51
54
|
url: '/api/v2/ContentService/Portals/Initialize',
|
|
@@ -59,11 +62,12 @@ class PortalsService {
|
|
|
59
62
|
});
|
|
60
63
|
}
|
|
61
64
|
/**
|
|
65
|
+
* Get the current portal settings
|
|
62
66
|
* @param xApiVersion
|
|
63
67
|
* @returns PortalOptionsEnvelope OK
|
|
64
68
|
* @throws ApiError
|
|
65
69
|
*/
|
|
66
|
-
static
|
|
70
|
+
static getCurrentWebPortalOptions(xApiVersion) {
|
|
67
71
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
68
72
|
method: 'GET',
|
|
69
73
|
url: '/api/v2/ContentService/Portals/Current/Options',
|
|
@@ -77,12 +81,13 @@ class PortalsService {
|
|
|
77
81
|
});
|
|
78
82
|
}
|
|
79
83
|
/**
|
|
84
|
+
* Search for a portal by its domain
|
|
80
85
|
* @param domain
|
|
81
86
|
* @param xApiVersion
|
|
82
87
|
* @returns WebPortalDtoEnvelope OK
|
|
83
88
|
* @throws ApiError
|
|
84
89
|
*/
|
|
85
|
-
static
|
|
90
|
+
static searchWebPortal(domain, xApiVersion) {
|
|
86
91
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
87
92
|
method: 'GET',
|
|
88
93
|
url: '/api/v2/ContentService/Portals/Search',
|
|
@@ -99,12 +104,13 @@ class PortalsService {
|
|
|
99
104
|
});
|
|
100
105
|
}
|
|
101
106
|
/**
|
|
107
|
+
* Get a web portal by its ID
|
|
102
108
|
* @param portalId
|
|
103
109
|
* @param xApiVersion
|
|
104
110
|
* @returns WebPortalDtoEnvelope OK
|
|
105
111
|
* @throws ApiError
|
|
106
112
|
*/
|
|
107
|
-
static
|
|
113
|
+
static getWebPortalById(portalId, xApiVersion) {
|
|
108
114
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
109
115
|
method: 'GET',
|
|
110
116
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -121,6 +127,7 @@ class PortalsService {
|
|
|
121
127
|
});
|
|
122
128
|
}
|
|
123
129
|
/**
|
|
130
|
+
* Update an existing web portal
|
|
124
131
|
* @param tenantId
|
|
125
132
|
* @param portalId
|
|
126
133
|
* @param xApiVersion
|
|
@@ -128,7 +135,7 @@ class PortalsService {
|
|
|
128
135
|
* @returns EmptyEnvelope OK
|
|
129
136
|
* @throws ApiError
|
|
130
137
|
*/
|
|
131
|
-
static
|
|
138
|
+
static updateWebPortal(tenantId, portalId, xApiVersion, requestBody) {
|
|
132
139
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
133
140
|
method: 'PUT',
|
|
134
141
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -150,6 +157,7 @@ class PortalsService {
|
|
|
150
157
|
});
|
|
151
158
|
}
|
|
152
159
|
/**
|
|
160
|
+
* Delete a web portal by its ID
|
|
153
161
|
* @param tenantId
|
|
154
162
|
* @param portalId
|
|
155
163
|
* @param requestBody
|
|
@@ -157,7 +165,7 @@ class PortalsService {
|
|
|
157
165
|
* @returns EmptyEnvelope OK
|
|
158
166
|
* @throws ApiError
|
|
159
167
|
*/
|
|
160
|
-
static
|
|
168
|
+
static deleteWebPortal(tenantId, portalId, requestBody, xApiVersion) {
|
|
161
169
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
162
170
|
method: 'DELETE',
|
|
163
171
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -179,6 +187,7 @@ class PortalsService {
|
|
|
179
187
|
});
|
|
180
188
|
}
|
|
181
189
|
/**
|
|
190
|
+
* Partially update a web portal
|
|
182
191
|
* @param tenantId
|
|
183
192
|
* @param portalId
|
|
184
193
|
* @param xApiVersion
|
|
@@ -186,7 +195,7 @@ class PortalsService {
|
|
|
186
195
|
* @returns EmptyEnvelope OK
|
|
187
196
|
* @throws ApiError
|
|
188
197
|
*/
|
|
189
|
-
static
|
|
198
|
+
static patchWebPortal(tenantId, portalId, xApiVersion, requestBody) {
|
|
190
199
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
191
200
|
method: 'PATCH',
|
|
192
201
|
url: '/api/v2/ContentService/Portals/{portalId}',
|
|
@@ -208,12 +217,13 @@ class PortalsService {
|
|
|
208
217
|
});
|
|
209
218
|
}
|
|
210
219
|
/**
|
|
220
|
+
* Get a web portal's settings by its ID
|
|
211
221
|
* @param portalId
|
|
212
222
|
* @param xApiVersion
|
|
213
|
-
* @returns
|
|
223
|
+
* @returns PortalSettingsEnvelope OK
|
|
214
224
|
* @throws ApiError
|
|
215
225
|
*/
|
|
216
|
-
static
|
|
226
|
+
static getWebPortalSettingsById(portalId, xApiVersion) {
|
|
217
227
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
218
228
|
method: 'GET',
|
|
219
229
|
url: '/api/v2/ContentService/Portals/{portalId}/Settings',
|
|
@@ -230,12 +240,13 @@ class PortalsService {
|
|
|
230
240
|
});
|
|
231
241
|
}
|
|
232
242
|
/**
|
|
243
|
+
* Get a web portal's options by its ID
|
|
233
244
|
* @param portalId
|
|
234
245
|
* @param xApiVersion
|
|
235
246
|
* @returns PortalOptionsEnvelope OK
|
|
236
247
|
* @throws ApiError
|
|
237
248
|
*/
|
|
238
|
-
static
|
|
249
|
+
static getWebPortalOptionsById(portalId, xApiVersion) {
|
|
239
250
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
240
251
|
method: 'GET',
|
|
241
252
|
url: '/api/v2/ContentService/Portals/{portalId}/Options',
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
6
6
|
import type { Operation } from '../models/Operation';
|
|
7
|
-
import type { PortalEnvelope } from '../models/PortalEnvelope';
|
|
8
7
|
import type { PortalId } from '../models/PortalId';
|
|
9
8
|
import type { PortalOptionsEnvelope } from '../models/PortalOptionsEnvelope';
|
|
9
|
+
import type { PortalSettingsEnvelope } from '../models/PortalSettingsEnvelope';
|
|
10
10
|
import type { WebPortalCreateDto } from '../models/WebPortalCreateDto';
|
|
11
11
|
import type { WebPortalDtoEnvelope } from '../models/WebPortalDtoEnvelope';
|
|
12
12
|
import type { WebPortalUpdateDto } from '../models/WebPortalUpdateDto';
|
|
@@ -15,11 +15,12 @@ import { OpenAPI } from '../core/OpenAPI';
|
|
|
15
15
|
import { request as __request } from '../core/request';
|
|
16
16
|
export class PortalsService {
|
|
17
17
|
/**
|
|
18
|
+
* Get the root portal
|
|
18
19
|
* @param xApiVersion
|
|
19
20
|
* @returns WebPortalDtoEnvelope OK
|
|
20
21
|
* @throws ApiError
|
|
21
22
|
*/
|
|
22
|
-
public static
|
|
23
|
+
public static getRootPortal(
|
|
23
24
|
xApiVersion?: string,
|
|
24
25
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
25
26
|
return __request(OpenAPI, {
|
|
@@ -35,11 +36,12 @@ export class PortalsService {
|
|
|
35
36
|
});
|
|
36
37
|
}
|
|
37
38
|
/**
|
|
39
|
+
* Get the current portal
|
|
38
40
|
* @param xApiVersion
|
|
39
41
|
* @returns WebPortalDtoEnvelope OK
|
|
40
42
|
* @throws ApiError
|
|
41
43
|
*/
|
|
42
|
-
public static
|
|
44
|
+
public static getCurrentWebPortal(
|
|
43
45
|
xApiVersion?: string,
|
|
44
46
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
45
47
|
return __request(OpenAPI, {
|
|
@@ -55,11 +57,12 @@ export class PortalsService {
|
|
|
55
57
|
});
|
|
56
58
|
}
|
|
57
59
|
/**
|
|
60
|
+
* Initialize the current portal
|
|
58
61
|
* @param xApiVersion
|
|
59
62
|
* @returns WebPortalDtoEnvelope OK
|
|
60
63
|
* @throws ApiError
|
|
61
64
|
*/
|
|
62
|
-
public static
|
|
65
|
+
public static initializeCurrentWebPortal(
|
|
63
66
|
xApiVersion?: string,
|
|
64
67
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
65
68
|
return __request(OpenAPI, {
|
|
@@ -75,11 +78,12 @@ export class PortalsService {
|
|
|
75
78
|
});
|
|
76
79
|
}
|
|
77
80
|
/**
|
|
81
|
+
* Get the current portal settings
|
|
78
82
|
* @param xApiVersion
|
|
79
83
|
* @returns PortalOptionsEnvelope OK
|
|
80
84
|
* @throws ApiError
|
|
81
85
|
*/
|
|
82
|
-
public static
|
|
86
|
+
public static getCurrentWebPortalOptions(
|
|
83
87
|
xApiVersion?: string,
|
|
84
88
|
): CancelablePromise<PortalOptionsEnvelope> {
|
|
85
89
|
return __request(OpenAPI, {
|
|
@@ -95,12 +99,13 @@ export class PortalsService {
|
|
|
95
99
|
});
|
|
96
100
|
}
|
|
97
101
|
/**
|
|
102
|
+
* Search for a portal by its domain
|
|
98
103
|
* @param domain
|
|
99
104
|
* @param xApiVersion
|
|
100
105
|
* @returns WebPortalDtoEnvelope OK
|
|
101
106
|
* @throws ApiError
|
|
102
107
|
*/
|
|
103
|
-
public static
|
|
108
|
+
public static searchWebPortal(
|
|
104
109
|
domain: string,
|
|
105
110
|
xApiVersion?: string,
|
|
106
111
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
@@ -120,12 +125,13 @@ export class PortalsService {
|
|
|
120
125
|
});
|
|
121
126
|
}
|
|
122
127
|
/**
|
|
128
|
+
* Get a web portal by its ID
|
|
123
129
|
* @param portalId
|
|
124
130
|
* @param xApiVersion
|
|
125
131
|
* @returns WebPortalDtoEnvelope OK
|
|
126
132
|
* @throws ApiError
|
|
127
133
|
*/
|
|
128
|
-
public static
|
|
134
|
+
public static getWebPortalById(
|
|
129
135
|
portalId: string,
|
|
130
136
|
xApiVersion?: string,
|
|
131
137
|
): CancelablePromise<WebPortalDtoEnvelope> {
|
|
@@ -145,6 +151,7 @@ export class PortalsService {
|
|
|
145
151
|
});
|
|
146
152
|
}
|
|
147
153
|
/**
|
|
154
|
+
* Update an existing web portal
|
|
148
155
|
* @param tenantId
|
|
149
156
|
* @param portalId
|
|
150
157
|
* @param xApiVersion
|
|
@@ -152,7 +159,7 @@ export class PortalsService {
|
|
|
152
159
|
* @returns EmptyEnvelope OK
|
|
153
160
|
* @throws ApiError
|
|
154
161
|
*/
|
|
155
|
-
public static
|
|
162
|
+
public static updateWebPortal(
|
|
156
163
|
tenantId: string,
|
|
157
164
|
portalId: string,
|
|
158
165
|
xApiVersion?: string,
|
|
@@ -179,6 +186,7 @@ export class PortalsService {
|
|
|
179
186
|
});
|
|
180
187
|
}
|
|
181
188
|
/**
|
|
189
|
+
* Delete a web portal by its ID
|
|
182
190
|
* @param tenantId
|
|
183
191
|
* @param portalId
|
|
184
192
|
* @param requestBody
|
|
@@ -186,7 +194,7 @@ export class PortalsService {
|
|
|
186
194
|
* @returns EmptyEnvelope OK
|
|
187
195
|
* @throws ApiError
|
|
188
196
|
*/
|
|
189
|
-
public static
|
|
197
|
+
public static deleteWebPortal(
|
|
190
198
|
tenantId: string,
|
|
191
199
|
portalId: string,
|
|
192
200
|
requestBody: PortalId,
|
|
@@ -213,6 +221,7 @@ export class PortalsService {
|
|
|
213
221
|
});
|
|
214
222
|
}
|
|
215
223
|
/**
|
|
224
|
+
* Partially update a web portal
|
|
216
225
|
* @param tenantId
|
|
217
226
|
* @param portalId
|
|
218
227
|
* @param xApiVersion
|
|
@@ -220,7 +229,7 @@ export class PortalsService {
|
|
|
220
229
|
* @returns EmptyEnvelope OK
|
|
221
230
|
* @throws ApiError
|
|
222
231
|
*/
|
|
223
|
-
public static
|
|
232
|
+
public static patchWebPortal(
|
|
224
233
|
tenantId: string,
|
|
225
234
|
portalId: PortalId,
|
|
226
235
|
xApiVersion?: string,
|
|
@@ -247,15 +256,16 @@ export class PortalsService {
|
|
|
247
256
|
});
|
|
248
257
|
}
|
|
249
258
|
/**
|
|
259
|
+
* Get a web portal's settings by its ID
|
|
250
260
|
* @param portalId
|
|
251
261
|
* @param xApiVersion
|
|
252
|
-
* @returns
|
|
262
|
+
* @returns PortalSettingsEnvelope OK
|
|
253
263
|
* @throws ApiError
|
|
254
264
|
*/
|
|
255
|
-
public static
|
|
265
|
+
public static getWebPortalSettingsById(
|
|
256
266
|
portalId: string,
|
|
257
267
|
xApiVersion?: string,
|
|
258
|
-
): CancelablePromise<
|
|
268
|
+
): CancelablePromise<PortalSettingsEnvelope> {
|
|
259
269
|
return __request(OpenAPI, {
|
|
260
270
|
method: 'GET',
|
|
261
271
|
url: '/api/v2/ContentService/Portals/{portalId}/Settings',
|
|
@@ -272,12 +282,13 @@ export class PortalsService {
|
|
|
272
282
|
});
|
|
273
283
|
}
|
|
274
284
|
/**
|
|
285
|
+
* Get a web portal's options by its ID
|
|
275
286
|
* @param portalId
|
|
276
287
|
* @param xApiVersion
|
|
277
288
|
* @returns PortalOptionsEnvelope OK
|
|
278
289
|
* @throws ApiError
|
|
279
290
|
*/
|
|
280
|
-
public static
|
|
291
|
+
public static getWebPortalOptionsById(
|
|
281
292
|
portalId: string,
|
|
282
293
|
xApiVersion?: string,
|
|
283
294
|
): CancelablePromise<PortalOptionsEnvelope> {
|