@fenixalliance/abs-api-client 1.0.8 → 1.0.9
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/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 +1 -1
- package/clients/contentService/services/PortalsService.ts +3 -3
- package/clients/holderService/index.ts +1 -0
- package/clients/holderService/models/FollowRecordDtoListEnvelope.js +2 -0
- package/clients/holderService/models/FollowRecordDtoListEnvelope.ts +14 -0
- package/clients/holderService/services/HolderService.js +56 -30
- package/clients/holderService/services/HolderService.ts +62 -36
- package/clients/storageService/core/ApiError.js +20 -0
- package/clients/storageService/core/ApiError.ts +25 -0
- package/clients/storageService/core/ApiRequestOptions.js +2 -0
- package/clients/storageService/core/ApiRequestOptions.ts +17 -0
- package/clients/storageService/core/ApiResult.js +2 -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/storageService/models/BlobEnvelope.js +2 -0
- package/clients/{contentService/models/PortalEnvelope.ts → storageService/models/BlobEnvelope.ts} +3 -3
- package/clients/storageService/models/EmptyEnvelope.js +2 -0
- package/clients/storageService/models/EmptyEnvelope.ts +12 -0
- package/clients/storageService/models/ErrorEnvelope.js +2 -0
- package/clients/storageService/models/ErrorEnvelope.ts +12 -0
- package/clients/storageService/models/FileUploadCreateDto.js +2 -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 +189 -0
- package/clients/storageService/services/AvatarsService.ts +223 -0
- package/clients/storageService/services/BlobsService.js +66 -0
- package/clients/storageService/services/BlobsService.ts +81 -0
- package/clients/storageService/services/FilesService.js +171 -0
- package/clients/storageService/services/FilesService.ts +200 -0
- 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/package.json +1 -1
- package/schemas/contentService/schema.s.ts +29 -29
- package/schemas/holderService/schema.s.ts +874 -780
- package/schemas/storageService/schema.s.js +6 -0
- package/schemas/storageService/schema.s.ts +1042 -0
- /package/clients/contentService/models/{Portal.js → PortalSettings.js} +0 -0
- /package/clients/contentService/models/{PortalEnvelope.js → PortalSettingsEnvelope.js} +0 -0
|
@@ -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
|
+
|
|
@@ -210,7 +210,7 @@ class PortalsService {
|
|
|
210
210
|
/**
|
|
211
211
|
* @param portalId
|
|
212
212
|
* @param xApiVersion
|
|
213
|
-
* @returns
|
|
213
|
+
* @returns PortalSettingsEnvelope OK
|
|
214
214
|
* @throws ApiError
|
|
215
215
|
*/
|
|
216
216
|
static getApiV2ContentServicePortalsSettings(portalId, xApiVersion) {
|
|
@@ -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';
|
|
@@ -249,13 +249,13 @@ export class PortalsService {
|
|
|
249
249
|
/**
|
|
250
250
|
* @param portalId
|
|
251
251
|
* @param xApiVersion
|
|
252
|
-
* @returns
|
|
252
|
+
* @returns PortalSettingsEnvelope OK
|
|
253
253
|
* @throws ApiError
|
|
254
254
|
*/
|
|
255
255
|
public static getApiV2ContentServicePortalsSettings(
|
|
256
256
|
portalId: string,
|
|
257
257
|
xApiVersion?: string,
|
|
258
|
-
): CancelablePromise<
|
|
258
|
+
): CancelablePromise<PortalSettingsEnvelope> {
|
|
259
259
|
return __request(OpenAPI, {
|
|
260
260
|
method: 'GET',
|
|
261
261
|
url: '/api/v2/ContentService/Portals/{portalId}/Settings',
|
|
@@ -22,6 +22,7 @@ export type { ExtendedTenantEnrolmentDtoListEnvelope } from './models/ExtendedTe
|
|
|
22
22
|
export { ExtendedUserDto } from './models/ExtendedUserDto';
|
|
23
23
|
export type { ExtendedUserDtoEnvelope } from './models/ExtendedUserDtoEnvelope';
|
|
24
24
|
export type { FollowRecordDto } from './models/FollowRecordDto';
|
|
25
|
+
export type { FollowRecordDtoListEnvelope } from './models/FollowRecordDtoListEnvelope';
|
|
25
26
|
export type { Int32Envelope } from './models/Int32Envelope';
|
|
26
27
|
export type { NotificationDto } from './models/NotificationDto';
|
|
27
28
|
export type { NotificationDtoListEnvelope } from './models/NotificationDtoListEnvelope';
|
|
@@ -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 { FollowRecordDto } from './FollowRecordDto';
|
|
6
|
+
export type FollowRecordDtoListEnvelope = {
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
errorMessage?: string | null;
|
|
9
|
+
correlationId?: string | null;
|
|
10
|
+
readonly timestamp?: string;
|
|
11
|
+
readonly activityId?: string | null;
|
|
12
|
+
result?: Array<FollowRecordDto> | null;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -5,11 +5,12 @@ const OpenAPI_1 = require("../core/OpenAPI");
|
|
|
5
5
|
const request_1 = require("../core/request");
|
|
6
6
|
class HolderService {
|
|
7
7
|
/**
|
|
8
|
+
* Gets the current user
|
|
8
9
|
* @param xApiVersion
|
|
9
10
|
* @returns UserDtoEnvelope OK
|
|
10
11
|
* @throws ApiError
|
|
11
12
|
*/
|
|
12
|
-
static
|
|
13
|
+
static getCurrentUser(xApiVersion) {
|
|
13
14
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
14
15
|
method: 'GET',
|
|
15
16
|
url: '/api/v2/Me',
|
|
@@ -22,12 +23,13 @@ class HolderService {
|
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
26
|
+
* Updates the current user
|
|
25
27
|
* @param xApiVersion
|
|
26
28
|
* @param requestBody
|
|
27
29
|
* @returns EmptyEnvelopeEnvelope OK
|
|
28
30
|
* @throws ApiError
|
|
29
31
|
*/
|
|
30
|
-
static
|
|
32
|
+
static updateCurrentUser(xApiVersion, requestBody) {
|
|
31
33
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
32
34
|
method: 'PUT',
|
|
33
35
|
url: '/api/v2/Me',
|
|
@@ -42,12 +44,13 @@ class HolderService {
|
|
|
42
44
|
});
|
|
43
45
|
}
|
|
44
46
|
/**
|
|
47
|
+
* Patches the current user
|
|
45
48
|
* @param xApiVersion
|
|
46
49
|
* @param requestBody
|
|
47
50
|
* @returns EmptyEnvelopeEnvelope OK
|
|
48
51
|
* @throws ApiError
|
|
49
52
|
*/
|
|
50
|
-
static
|
|
53
|
+
static patchCurrentUser(xApiVersion, requestBody) {
|
|
51
54
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
52
55
|
method: 'PATCH',
|
|
53
56
|
url: '/api/v2/Me',
|
|
@@ -62,11 +65,12 @@ class HolderService {
|
|
|
62
65
|
});
|
|
63
66
|
}
|
|
64
67
|
/**
|
|
68
|
+
* Gets the current user with extended information
|
|
65
69
|
* @param xApiVersion
|
|
66
70
|
* @returns ExtendedUserDtoEnvelope OK
|
|
67
71
|
* @throws ApiError
|
|
68
72
|
*/
|
|
69
|
-
static
|
|
73
|
+
static getExtendedCurrentUser(xApiVersion) {
|
|
70
74
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
71
75
|
method: 'GET',
|
|
72
76
|
url: '/api/v2/Me/Extended',
|
|
@@ -79,11 +83,12 @@ class HolderService {
|
|
|
79
83
|
});
|
|
80
84
|
}
|
|
81
85
|
/**
|
|
86
|
+
* Gets the current user's avatar
|
|
82
87
|
* @param xApiVersion
|
|
83
|
-
* @returns
|
|
88
|
+
* @returns binary OK
|
|
84
89
|
* @throws ApiError
|
|
85
90
|
*/
|
|
86
|
-
static
|
|
91
|
+
static getMyAvatar(xApiVersion) {
|
|
87
92
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
88
93
|
method: 'GET',
|
|
89
94
|
url: '/api/v2/Me/Avatar',
|
|
@@ -92,16 +97,18 @@ class HolderService {
|
|
|
92
97
|
},
|
|
93
98
|
errors: {
|
|
94
99
|
401: `Unauthorized`,
|
|
100
|
+
403: `Forbidden`,
|
|
95
101
|
},
|
|
96
102
|
});
|
|
97
103
|
}
|
|
98
104
|
/**
|
|
105
|
+
* Updates the current user's avatar
|
|
99
106
|
* @param xApiVersion
|
|
100
107
|
* @param formData
|
|
101
108
|
* @returns EmptyEnvelope OK
|
|
102
109
|
* @throws ApiError
|
|
103
110
|
*/
|
|
104
|
-
static
|
|
111
|
+
static updateMyAvatar(xApiVersion, formData) {
|
|
105
112
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
106
113
|
method: 'POST',
|
|
107
114
|
url: '/api/v2/Me/Avatar',
|
|
@@ -117,11 +124,12 @@ class HolderService {
|
|
|
117
124
|
});
|
|
118
125
|
}
|
|
119
126
|
/**
|
|
127
|
+
* Gets the social profiles that the current user follows
|
|
120
128
|
* @param xApiVersion
|
|
121
|
-
* @returns
|
|
129
|
+
* @returns FollowRecordDtoListEnvelope OK
|
|
122
130
|
* @throws ApiError
|
|
123
131
|
*/
|
|
124
|
-
static
|
|
132
|
+
static getMyFollows(xApiVersion) {
|
|
125
133
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
126
134
|
method: 'GET',
|
|
127
135
|
url: '/api/v2/Me/Follows',
|
|
@@ -134,11 +142,12 @@ class HolderService {
|
|
|
134
142
|
});
|
|
135
143
|
}
|
|
136
144
|
/**
|
|
145
|
+
* Counts the social profiles that the current user follows
|
|
137
146
|
* @param xApiVersion
|
|
138
|
-
* @returns
|
|
147
|
+
* @returns Int32Envelope OK
|
|
139
148
|
* @throws ApiError
|
|
140
149
|
*/
|
|
141
|
-
static
|
|
150
|
+
static countMyFollows(xApiVersion) {
|
|
142
151
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
143
152
|
method: 'GET',
|
|
144
153
|
url: '/api/v2/Me/Follows/Count',
|
|
@@ -151,11 +160,12 @@ class HolderService {
|
|
|
151
160
|
});
|
|
152
161
|
}
|
|
153
162
|
/**
|
|
163
|
+
* Gets the social profiles that follow the current user
|
|
154
164
|
* @param xApiVersion
|
|
155
|
-
* @returns
|
|
165
|
+
* @returns FollowRecordDtoListEnvelope OK
|
|
156
166
|
* @throws ApiError
|
|
157
167
|
*/
|
|
158
|
-
static
|
|
168
|
+
static getMyFollowers(xApiVersion) {
|
|
159
169
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
160
170
|
method: 'GET',
|
|
161
171
|
url: '/api/v2/Me/Followers',
|
|
@@ -168,11 +178,12 @@ class HolderService {
|
|
|
168
178
|
});
|
|
169
179
|
}
|
|
170
180
|
/**
|
|
181
|
+
* Counts the social profiles that follow the current user
|
|
171
182
|
* @param xApiVersion
|
|
172
|
-
* @returns
|
|
183
|
+
* @returns Int32Envelope OK
|
|
173
184
|
* @throws ApiError
|
|
174
185
|
*/
|
|
175
|
-
static
|
|
186
|
+
static countMyFollowers(xApiVersion) {
|
|
176
187
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
177
188
|
method: 'GET',
|
|
178
189
|
url: '/api/v2/Me/Followers/Count',
|
|
@@ -185,11 +196,12 @@ class HolderService {
|
|
|
185
196
|
});
|
|
186
197
|
}
|
|
187
198
|
/**
|
|
199
|
+
* Gets the tenants that the current user is enrolled in
|
|
188
200
|
* @param xApiVersion
|
|
189
201
|
* @returns TenantDtoListEnvelope OK
|
|
190
202
|
* @throws ApiError
|
|
191
203
|
*/
|
|
192
|
-
static
|
|
204
|
+
static getMyTenants(xApiVersion) {
|
|
193
205
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
194
206
|
method: 'GET',
|
|
195
207
|
url: '/api/v2/Me/Businesses',
|
|
@@ -203,11 +215,12 @@ class HolderService {
|
|
|
203
215
|
});
|
|
204
216
|
}
|
|
205
217
|
/**
|
|
218
|
+
* Counts the tenants that the current user is enrolled in
|
|
206
219
|
* @param xApiVersion
|
|
207
220
|
* @returns Int32Envelope OK
|
|
208
221
|
* @throws ApiError
|
|
209
222
|
*/
|
|
210
|
-
static
|
|
223
|
+
static countMyTenants(xApiVersion) {
|
|
211
224
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
212
225
|
method: 'GET',
|
|
213
226
|
url: '/api/v2/Me/Businesses/Count',
|
|
@@ -221,11 +234,12 @@ class HolderService {
|
|
|
221
234
|
});
|
|
222
235
|
}
|
|
223
236
|
/**
|
|
237
|
+
* Gets the tenants that the current user is enrolled in with extended information
|
|
224
238
|
* @param xApiVersion
|
|
225
239
|
* @returns ExtendedTenantDtoListEnvelope OK
|
|
226
240
|
* @throws ApiError
|
|
227
241
|
*/
|
|
228
|
-
static
|
|
242
|
+
static getMyTenantsExtended(xApiVersion) {
|
|
229
243
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
230
244
|
method: 'GET',
|
|
231
245
|
url: '/api/v2/Me/Businesses/Extended',
|
|
@@ -239,11 +253,12 @@ class HolderService {
|
|
|
239
253
|
});
|
|
240
254
|
}
|
|
241
255
|
/**
|
|
256
|
+
* Gets the list of enrollments for the current user
|
|
242
257
|
* @param xApiVersion
|
|
243
258
|
* @returns TenantEnrolmentDtoListEnvelope OK
|
|
244
259
|
* @throws ApiError
|
|
245
260
|
*/
|
|
246
|
-
static
|
|
261
|
+
static getMyEnrollments(xApiVersion) {
|
|
247
262
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
248
263
|
method: 'GET',
|
|
249
264
|
url: '/api/v2/Me/Enrollments',
|
|
@@ -256,11 +271,12 @@ class HolderService {
|
|
|
256
271
|
});
|
|
257
272
|
}
|
|
258
273
|
/**
|
|
274
|
+
* Gets the list of enrollments for the current user with extended information
|
|
259
275
|
* @param xApiVersion
|
|
260
276
|
* @returns ExtendedTenantEnrolmentDtoListEnvelope OK
|
|
261
277
|
* @throws ApiError
|
|
262
278
|
*/
|
|
263
|
-
static
|
|
279
|
+
static getMyEnrollmentsExtended(xApiVersion) {
|
|
264
280
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
265
281
|
method: 'GET',
|
|
266
282
|
url: '/api/v2/Me/Enrollments/Extended',
|
|
@@ -273,13 +289,14 @@ class HolderService {
|
|
|
273
289
|
});
|
|
274
290
|
}
|
|
275
291
|
/**
|
|
292
|
+
* Gets a single TenantEnrollment by its ID
|
|
276
293
|
* @param enrollmentId
|
|
277
294
|
* @param xApiVersion
|
|
278
295
|
* @param requestBody
|
|
279
296
|
* @returns TenantEnrolmentDtoEnvelope OK
|
|
280
297
|
* @throws ApiError
|
|
281
298
|
*/
|
|
282
|
-
static
|
|
299
|
+
static getMyEnrollment(enrollmentId, xApiVersion, requestBody) {
|
|
283
300
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
284
301
|
method: 'GET',
|
|
285
302
|
url: '/api/v2/Me/Enrollments/{enrollmentId}',
|
|
@@ -297,11 +314,12 @@ class HolderService {
|
|
|
297
314
|
});
|
|
298
315
|
}
|
|
299
316
|
/**
|
|
317
|
+
* Gets the current user's social profile
|
|
300
318
|
* @param xApiVersion
|
|
301
319
|
* @returns SocialProfileDtoEnvelope OK
|
|
302
320
|
* @throws ApiError
|
|
303
321
|
*/
|
|
304
|
-
static
|
|
322
|
+
static getMySocialProfile(xApiVersion) {
|
|
305
323
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
306
324
|
method: 'GET',
|
|
307
325
|
url: '/api/v2/Me/SocialProfile',
|
|
@@ -314,11 +332,12 @@ class HolderService {
|
|
|
314
332
|
});
|
|
315
333
|
}
|
|
316
334
|
/**
|
|
335
|
+
* Gets the current user's cart
|
|
317
336
|
* @param xApiVersion
|
|
318
337
|
* @returns CartDtoEnvelope OK
|
|
319
338
|
* @throws ApiError
|
|
320
339
|
*/
|
|
321
|
-
static
|
|
340
|
+
static getMyCart(xApiVersion) {
|
|
322
341
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
323
342
|
method: 'GET',
|
|
324
343
|
url: '/api/v2/Me/Cart',
|
|
@@ -331,11 +350,12 @@ class HolderService {
|
|
|
331
350
|
});
|
|
332
351
|
}
|
|
333
352
|
/**
|
|
353
|
+
* Gets the current user's billing profile
|
|
334
354
|
* @param xApiVersion
|
|
335
355
|
* @returns WalletDtoEnvelope OK
|
|
336
356
|
* @throws ApiError
|
|
337
357
|
*/
|
|
338
|
-
static
|
|
358
|
+
static getMyWallet(xApiVersion) {
|
|
339
359
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
340
360
|
method: 'GET',
|
|
341
361
|
url: '/api/v2/Me/Wallet',
|
|
@@ -348,11 +368,12 @@ class HolderService {
|
|
|
348
368
|
});
|
|
349
369
|
}
|
|
350
370
|
/**
|
|
371
|
+
* Gets the list of notifications for the current user
|
|
351
372
|
* @param xApiVersion
|
|
352
373
|
* @returns NotificationDtoListEnvelope OK
|
|
353
374
|
* @throws ApiError
|
|
354
375
|
*/
|
|
355
|
-
static
|
|
376
|
+
static getMyNotifications(xApiVersion) {
|
|
356
377
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
357
378
|
method: 'GET',
|
|
358
379
|
url: '/api/v2/Me/Notifications',
|
|
@@ -365,11 +386,12 @@ class HolderService {
|
|
|
365
386
|
});
|
|
366
387
|
}
|
|
367
388
|
/**
|
|
389
|
+
* Counts the list of notifications for the current user
|
|
368
390
|
* @param xApiVersion
|
|
369
391
|
* @returns Int32Envelope OK
|
|
370
392
|
* @throws ApiError
|
|
371
393
|
*/
|
|
372
|
-
static
|
|
394
|
+
static countMyNotifications(xApiVersion) {
|
|
373
395
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
374
396
|
method: 'GET',
|
|
375
397
|
url: '/api/v2/Me/Notifications/Count',
|
|
@@ -382,11 +404,12 @@ class HolderService {
|
|
|
382
404
|
});
|
|
383
405
|
}
|
|
384
406
|
/**
|
|
407
|
+
* Gets the settings for the current user
|
|
385
408
|
* @param xApiVersion
|
|
386
409
|
* @returns UserSettingsDtoEnvelope OK
|
|
387
410
|
* @throws ApiError
|
|
388
411
|
*/
|
|
389
|
-
static
|
|
412
|
+
static getMySettings(xApiVersion) {
|
|
390
413
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
391
414
|
method: 'GET',
|
|
392
415
|
url: '/api/v2/Me/Settings',
|
|
@@ -399,12 +422,13 @@ class HolderService {
|
|
|
399
422
|
});
|
|
400
423
|
}
|
|
401
424
|
/**
|
|
425
|
+
* Updates the settings for the current user
|
|
402
426
|
* @param xApiVersion
|
|
403
427
|
* @param requestBody
|
|
404
428
|
* @returns UserSettingsDtoEnvelope OK
|
|
405
429
|
* @throws ApiError
|
|
406
430
|
*/
|
|
407
|
-
static
|
|
431
|
+
static updateMySettings(xApiVersion, requestBody) {
|
|
408
432
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
409
433
|
method: 'PUT',
|
|
410
434
|
url: '/api/v2/Me/Settings',
|
|
@@ -419,11 +443,12 @@ class HolderService {
|
|
|
419
443
|
});
|
|
420
444
|
}
|
|
421
445
|
/**
|
|
446
|
+
* Gets the list of addresses for the current user
|
|
422
447
|
* @param xApiVersion
|
|
423
448
|
* @returns AddressDtoListEnvelope OK
|
|
424
449
|
* @throws ApiError
|
|
425
450
|
*/
|
|
426
|
-
static
|
|
451
|
+
static getMyAddresses(xApiVersion) {
|
|
427
452
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
428
453
|
method: 'GET',
|
|
429
454
|
url: '/api/v2/Me/Addresses',
|
|
@@ -436,11 +461,12 @@ class HolderService {
|
|
|
436
461
|
});
|
|
437
462
|
}
|
|
438
463
|
/**
|
|
464
|
+
* Gets the list of tenant enrollment invitations for the current user
|
|
439
465
|
* @param xApiVersion
|
|
440
466
|
* @returns TenantInvitationDtoListEnvelope OK
|
|
441
467
|
* @throws ApiError
|
|
442
468
|
*/
|
|
443
|
-
static
|
|
469
|
+
static getMyInvitations(xApiVersion) {
|
|
444
470
|
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
445
471
|
method: 'GET',
|
|
446
472
|
url: '/api/v2/Me/Invitations',
|