@orbis-systems/orbis-api-clients 0.6.8 → 0.6.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.
Files changed (43) hide show
  1. package/dist/aesmidas/index.d.ts +104 -95
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -2806
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -2811
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +169 -174
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1888
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1893
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/index.d.ts +1 -2
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.esm.js +1 -257
  16. package/dist/index.esm.js.map +1 -1
  17. package/dist/index.js +1 -280
  18. package/dist/index.js.map +1 -1
  19. package/dist/insight/index.d.ts +503 -305
  20. package/dist/insight/index.d.ts.map +1 -1
  21. package/dist/insight/index.esm.js +1 -3754
  22. package/dist/insight/index.esm.js.map +1 -1
  23. package/dist/insight/index.js +1 -3759
  24. package/dist/insight/index.js.map +1 -1
  25. package/dist/middleware/index.d.ts +1 -2
  26. package/dist/middleware/index.d.ts.map +1 -1
  27. package/dist/middleware/index.esm.js +1 -1066
  28. package/dist/middleware/index.esm.js.map +1 -1
  29. package/dist/middleware/index.js +1 -1071
  30. package/dist/middleware/index.js.map +1 -1
  31. package/dist/orbis/index.d.ts +1161 -1162
  32. package/dist/orbis/index.d.ts.map +1 -1
  33. package/dist/orbis/index.esm.js +1 -7009
  34. package/dist/orbis/index.esm.js.map +1 -1
  35. package/dist/orbis/index.js +1 -7014
  36. package/dist/orbis/index.js.map +1 -1
  37. package/dist/uma/index.d.ts +361 -349
  38. package/dist/uma/index.d.ts.map +1 -1
  39. package/dist/uma/index.esm.js +1 -3993
  40. package/dist/uma/index.esm.js.map +1 -1
  41. package/dist/uma/index.js +1 -3998
  42. package/dist/uma/index.js.map +1 -1
  43. package/package.json +9 -1
package/dist/uma/index.js CHANGED
@@ -1,3999 +1,2 @@
1
- var $l6jTM$jwtdecode = require("jwt-decode");
2
- var $l6jTM$autobind = require("auto-bind");
3
- var $l6jTM$asyncmutex = require("async-mutex");
4
- var $l6jTM$consola = require("consola");
5
- var $l6jTM$datefns = require("date-fns");
6
- var $l6jTM$axios = require("axios");
7
- var $l6jTM$axiosbetterstacktrace = require("axios-better-stacktrace");
8
- var $l6jTM$lodash = require("lodash");
9
-
10
-
11
- function $parcel$exportWildcard(dest, source) {
12
- Object.keys(source).forEach(function(key) {
13
- if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
14
- return;
15
- }
16
-
17
- Object.defineProperty(dest, key, {
18
- enumerable: true,
19
- get: function get() {
20
- return source[key];
21
- }
22
- });
23
- });
24
-
25
- return dest;
26
- }
27
-
28
- function $parcel$export(e, n, v, s) {
29
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
30
- }
31
-
32
- function $parcel$interopDefault(a) {
33
- return a && a.__esModule ? a.default : a;
34
- }
35
- var $e0cb59dd918b422a$exports = {};
36
-
37
- $parcel$export($e0cb59dd918b422a$exports, "UmaApi", () => $e0cb59dd918b422a$export$ae615290d7b354e);
38
-
39
-
40
- class $780091c10287ceed$export$3ad201792064a82b {
41
- // request: ApiClient['request'];
42
- // get: ApiClient['get'];
43
- // delete: ApiClient['delete'];
44
- // head: ApiClient['head'];
45
- // options: ApiClient['options'];
46
- // post: ApiClient['post'];
47
- // put: ApiClient['put'];
48
- // patch: ApiClient['patch'];
49
- constructor(apiClient){
50
- this.apiClient = apiClient;
51
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
52
- // this.request = this.client.request;
53
- // this.get = this.client.get;
54
- // this.delete = this.client.delete;
55
- // this.head = this.client.head;
56
- // this.options = this.client.options;
57
- // this.post = this.client.post;
58
- // this.put = this.client.put;
59
- // this.patch = this.client.patch;
60
- // this.get = this.client.get;
61
- }
62
- getApiClient() {
63
- return this.apiClient;
64
- }
65
- }
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
- var $3621850f1f570615$export$e2e108cbe2e4f865 = /*#__PURE__*/ function(ContentType) {
77
- ContentType["Json"] = "application/json";
78
- ContentType["FormData"] = "multipart/form-data";
79
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
80
- ContentType["Text"] = "text/plain";
81
- return ContentType;
82
- }({});
83
- class $3621850f1f570615$export$4f22f74eddb7716a {
84
- constructor(config){
85
- this.config = config;
86
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
87
- this.storage = config.storage ?? sessionStorage;
88
- this.axiosInstance = (0, ($parcel$interopDefault($l6jTM$axios))).create({
89
- baseURL: config.baseUrl,
90
- withCredentials: config.withCredentials,
91
- headers: {
92
- 'Content-Type': 'application/json',
93
- ...config.defaultHeaders
94
- }
95
- });
96
- (0, ($parcel$interopDefault($l6jTM$axiosbetterstacktrace)))(this.axiosInstance);
97
- }
98
- stringifyFormItem(formItem) {
99
- if (typeof formItem === 'object' && formItem !== null) return JSON.stringify(formItem);
100
- else return `${formItem}`;
101
- }
102
- createFormData(input) {
103
- if (input instanceof FormData) return input;
104
- return Object.keys(input).reduce((formData, key)=>{
105
- const property = input[key];
106
- const propertyContent = property instanceof Array ? property : [
107
- property
108
- ];
109
- for (const formItem of propertyContent){
110
- const isFileType = formItem instanceof Blob || formItem instanceof File;
111
- formData.append(key, isFileType ? formItem : this.stringifyFormItem(formItem));
112
- }
113
- return formData;
114
- }, new FormData());
115
- }
116
- async request(requestConfig) {
117
- const { contentType: contentType, data: data } = requestConfig;
118
- if (!(0, $l6jTM$lodash.isNil)(data)) {
119
- if (contentType === "multipart/form-data" && typeof data === 'object') requestConfig.data = this.createFormData(data);
120
- if (contentType === "text/plain" && typeof data !== 'string') requestConfig.data = JSON.stringify(data);
121
- }
122
- const mergedConfig = (0, $l6jTM$lodash.merge)(requestConfig.secure ?? this.config.defaultSecure ?? true ? await this.prepareAuthRequestConfig() : {}, contentType ? {
123
- headers: {
124
- 'Content-Type': contentType
125
- }
126
- } : {}, requestConfig);
127
- try {
128
- const { data: data, status: status, statusText: statusText } = await this.axiosInstance.request(mergedConfig);
129
- return {
130
- success: true,
131
- data: data,
132
- status: status,
133
- statusText: statusText
134
- };
135
- } catch (error) {
136
- if (!this.config.handleError && !requestConfig.handleError) throw error;
137
- const result = {
138
- success: false,
139
- status: -1,
140
- statusText: String(error),
141
- error: error
142
- };
143
- if ((0, $l6jTM$axios.isAxiosError)(error)) {
144
- this.config.onAxiosError?.(error);
145
- result.data = error.response?.data;
146
- result.status = error.response?.status ?? result.status;
147
- result.statusText = error.response?.statusText ?? result.statusText;
148
- }
149
- this.config.onError?.(error);
150
- return result;
151
- }
152
- }
153
- get(url, config) {
154
- return this.request({
155
- ...config,
156
- method: 'GET',
157
- url: url
158
- });
159
- }
160
- delete(url, config) {
161
- return this.request({
162
- ...config,
163
- method: 'DELETE',
164
- url: url
165
- });
166
- }
167
- head(url, config) {
168
- return this.request({
169
- ...config,
170
- method: 'HEAD',
171
- url: url
172
- });
173
- }
174
- options(url, config) {
175
- return this.request({
176
- ...config,
177
- method: 'OPTIONS',
178
- url: url
179
- });
180
- }
181
- post(url, data, config) {
182
- return this.request({
183
- ...config,
184
- method: 'POST',
185
- url: url,
186
- data: data
187
- });
188
- }
189
- put(url, data, config) {
190
- return this.request({
191
- ...config,
192
- method: 'PUT',
193
- url: url,
194
- data: data
195
- });
196
- }
197
- patch(url, data, config) {
198
- return this.request({
199
- ...config,
200
- method: 'PATCH',
201
- url: url,
202
- data: data
203
- });
204
- }
205
- getAxios() {
206
- return this.axiosInstance;
207
- }
208
- setAuthData(data) {
209
- this.storage.setItem(this.config.authDataStorageKey || 'auth', JSON.stringify(data));
210
- }
211
- getAuthData() {
212
- const data = this.storage.getItem(this.config.authDataStorageKey || 'auth');
213
- return data ? JSON.parse(data) : null;
214
- }
215
- getConfig() {
216
- return this.config;
217
- }
218
- }
219
-
220
-
221
- class $538ed1203bac2e79$export$f280b732bbc5934b extends (0, $3621850f1f570615$export$4f22f74eddb7716a) {
222
- constructor(config){
223
- super(config), this.config = config, this.lock = new (0, $l6jTM$asyncmutex.Mutex)();
224
- }
225
- getConfig() {
226
- return super.getConfig();
227
- }
228
- setRenewTokenCallback(renewTokenCallback) {
229
- this.renewTokenCallback = renewTokenCallback;
230
- }
231
- async prepareAuthRequestConfig() {
232
- if (this.config.withCredentials) return {};
233
- let { accessToken: accessToken } = this.getAuthData() || {};
234
- if (!accessToken) {
235
- (0, $l6jTM$consola.consola).warn('No access token found. Please set auth data after authorization.');
236
- return {};
237
- }
238
- if (this.config.autoRenewToken !== false && this.isTokenExpired(accessToken)) try {
239
- await this.lock.runExclusive(async ()=>{
240
- if (this.config.debug) (0, $l6jTM$consola.consola).debug("Token expired. Renewing\u2026");
241
- accessToken = (await this.renewToken()).accessToken;
242
- this.lock.cancel();
243
- });
244
- } catch (error) {
245
- if (error === (0, $l6jTM$asyncmutex.E_CANCELED)) accessToken = this.getAuthData()?.accessToken;
246
- else throw error;
247
- }
248
- return {
249
- headers: {
250
- Authorization: `${this.config.authSchema ?? 'Bearer'} ${accessToken}`
251
- }
252
- };
253
- }
254
- isTokenExpired(token) {
255
- const payload = (0, $l6jTM$jwtdecode.jwtDecode)(token);
256
- if (!payload.exp) return true;
257
- return (0, $l6jTM$datefns.isBefore)((0, $l6jTM$datefns.subMinutes)(payload.exp * 1000, 1), Date.now());
258
- }
259
- async renewToken() {
260
- const callback = this.config.onRenewToken ?? this.renewTokenCallback;
261
- if (!callback) throw new Error('No renew token callback provided');
262
- const authData = await callback();
263
- this.setAuthData(authData);
264
- return authData;
265
- }
266
- }
267
-
268
-
269
- var $dbc7cbd402bafa1b$exports = {};
270
- var $64de154218b7fbdb$exports = {};
271
-
272
- $parcel$export($64de154218b7fbdb$exports, "UmaAuthAppType", () => $64de154218b7fbdb$export$80a68721ef65174d);
273
- $parcel$export($64de154218b7fbdb$exports, "UmaAuthUserType", () => $64de154218b7fbdb$export$9e3be91ea0925e63);
274
- $parcel$export($64de154218b7fbdb$exports, "UmaResetPasswordType", () => $64de154218b7fbdb$export$4d8761baa197d101);
275
- $parcel$export($64de154218b7fbdb$exports, "UmaErrorCode", () => $64de154218b7fbdb$export$26e40f3b3a68dd88);
276
- $parcel$export($64de154218b7fbdb$exports, "UmaOption", () => $64de154218b7fbdb$export$b942b4f86682a31c);
277
- $parcel$export($64de154218b7fbdb$exports, "UmaActionTrigger", () => $64de154218b7fbdb$export$dd3d01a6c6dab020);
278
- $parcel$export($64de154218b7fbdb$exports, "UmaActionType", () => $64de154218b7fbdb$export$6a1481c139cb5523);
279
- $parcel$export($64de154218b7fbdb$exports, "UmaAuthProviderAppType", () => $64de154218b7fbdb$export$f225bf8d20c34dc4);
280
- $parcel$export($64de154218b7fbdb$exports, "UmaEndpointType", () => $64de154218b7fbdb$export$fbeeb34ec62b81a3);
281
- $parcel$export($64de154218b7fbdb$exports, "UmaEntityAccessType", () => $64de154218b7fbdb$export$d0740a1f11370fb3);
282
- $parcel$export($64de154218b7fbdb$exports, "UmaEntityName", () => $64de154218b7fbdb$export$1c13342d5e11f506);
283
- $parcel$export($64de154218b7fbdb$exports, "UmaPermissionAG", () => $64de154218b7fbdb$export$6cb5e83f5f5af956);
284
- $parcel$export($64de154218b7fbdb$exports, "UmaUserStatus", () => $64de154218b7fbdb$export$40c85964c9d60a16);
285
- $parcel$export($64de154218b7fbdb$exports, "UmaUserType", () => $64de154218b7fbdb$export$51b69238136d8bf1);
286
- $parcel$export($64de154218b7fbdb$exports, "UmaTenantSettingLabel", () => $64de154218b7fbdb$export$9eb6fa5a85b589e6);
287
- $parcel$export($64de154218b7fbdb$exports, "UmaAuthFormDtoResetPasswordTypeEnum", () => $64de154218b7fbdb$export$e652a4cb9330c8d2);
288
- $parcel$export($64de154218b7fbdb$exports, "UmaAuthFormSerializerResetPasswordTypeEnum", () => $64de154218b7fbdb$export$8d1aa71ae381a883);
289
- $parcel$export($64de154218b7fbdb$exports, "UmaB2BSendContactChangeCodeDtoTypeEnum", () => $64de154218b7fbdb$export$855c0abf639c0a2b);
290
- $parcel$export($64de154218b7fbdb$exports, "UmaB2CResetPasswordDtoResetTypeEnum", () => $64de154218b7fbdb$export$ee2e64a99304ec62);
291
- $parcel$export($64de154218b7fbdb$exports, "UmaB2CSendContactChangeCodeDtoTypeEnum", () => $64de154218b7fbdb$export$cb5ce7daabd2e17c);
292
- $parcel$export($64de154218b7fbdb$exports, "UmaB2CSendVerificationCodeDtoCodeTypeEnum", () => $64de154218b7fbdb$export$b6706226fff0ec2c);
293
- $parcel$export($64de154218b7fbdb$exports, "UmaCreateEndpointDtoMethodEnum", () => $64de154218b7fbdb$export$fe6e9eeb86b74e20);
294
- $parcel$export($64de154218b7fbdb$exports, "UmaCreateEndpointDtoTypeEnum", () => $64de154218b7fbdb$export$45c185db4ed17146);
295
- $parcel$export($64de154218b7fbdb$exports, "UmaCreateIdentityProviderDtoTypeEnum", () => $64de154218b7fbdb$export$98a2d76b8b98d939);
296
- $parcel$export($64de154218b7fbdb$exports, "UmaCreatePermissionDtoAssignmentGroupEnum", () => $64de154218b7fbdb$export$f2c9b083b701c041);
297
- $parcel$export($64de154218b7fbdb$exports, "UmaCreateRoleDtoAssignmentGroupEnum", () => $64de154218b7fbdb$export$8d399fefbd60de17);
298
- $parcel$export($64de154218b7fbdb$exports, "UmaCreateSecretNoteDtoTypeEnum", () => $64de154218b7fbdb$export$1185a2dff04b24a9);
299
- $parcel$export($64de154218b7fbdb$exports, "UmaEndpointMetadataDtoUserTypeEnum", () => $64de154218b7fbdb$export$dc5b15ad0821f43b);
300
- $parcel$export($64de154218b7fbdb$exports, "UmaEndpointSerializerMethodEnum", () => $64de154218b7fbdb$export$139725f1c32bb1b1);
301
- $parcel$export($64de154218b7fbdb$exports, "UmaGetB2CUsersListFiltersDtoShowOnlyEnum", () => $64de154218b7fbdb$export$b42b48ae4eee4675);
302
- $parcel$export($64de154218b7fbdb$exports, "UmaGetFirmsListFiltersDtoStatusesEnum", () => $64de154218b7fbdb$export$d860c2e62b63d49b);
303
- $parcel$export($64de154218b7fbdb$exports, "UmaGetIdentityProvidersListFiltersDtoTypesEnum", () => $64de154218b7fbdb$export$7da111135c500e8e);
304
- $parcel$export($64de154218b7fbdb$exports, "UmaGetUsersListFiltersDtoShowOnlyEnum", () => $64de154218b7fbdb$export$57978e26cf68bf29);
305
- $parcel$export($64de154218b7fbdb$exports, "UmaGetWebAuthnLoginChallengeDtoUserTypeEnum", () => $64de154218b7fbdb$export$cf1623cf2c62174d);
306
- $parcel$export($64de154218b7fbdb$exports, "UmaIdentityProviderSerializerTypeEnum", () => $64de154218b7fbdb$export$74fda118814b2c69);
307
- $parcel$export($64de154218b7fbdb$exports, "UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum", () => $64de154218b7fbdb$export$f0b113a2ec1676d9);
308
- $parcel$export($64de154218b7fbdb$exports, "UmaPermissionSerializerAssignmentGroupEnum", () => $64de154218b7fbdb$export$f336736d62d74184);
309
- $parcel$export($64de154218b7fbdb$exports, "UmaRevokeUserSessionsDtoUserTypeEnum", () => $64de154218b7fbdb$export$d52f1ee1d11bbf21);
310
- $parcel$export($64de154218b7fbdb$exports, "UmaSecretNoteSerializerTypeEnum", () => $64de154218b7fbdb$export$acb35be04555bc98);
311
- $parcel$export($64de154218b7fbdb$exports, "UmaSendB2BMfaCodeDtoTypeEnum", () => $64de154218b7fbdb$export$b58c500fbe7ba026);
312
- $parcel$export($64de154218b7fbdb$exports, "UmaSendB2CMfaCodeDtoTypeEnum", () => $64de154218b7fbdb$export$2296c353ecee8dca);
313
- $parcel$export($64de154218b7fbdb$exports, "UmaSendB2CResetPasswordCodeDtoCodeTypeEnum", () => $64de154218b7fbdb$export$dff8055bb7575170);
314
- $parcel$export($64de154218b7fbdb$exports, "UmaSendB2CResetPasswordCodeDtoResetTypeEnum", () => $64de154218b7fbdb$export$3de316bb8a940449);
315
- $parcel$export($64de154218b7fbdb$exports, "UmaSendResetPasswordCodeDtoTypeEnum", () => $64de154218b7fbdb$export$4dea8419eb7d9d00);
316
- $parcel$export($64de154218b7fbdb$exports, "UmaTenantSettingDtoLabelEnum", () => $64de154218b7fbdb$export$c415d7932d9aa8e4);
317
- $parcel$export($64de154218b7fbdb$exports, "UmaUpdateAuthAppDtoStatusEnum", () => $64de154218b7fbdb$export$50a533e71d27c8f3);
318
- $parcel$export($64de154218b7fbdb$exports, "UmaUpdateEndpointDtoMethodEnum", () => $64de154218b7fbdb$export$837c9c846d6ad015);
319
- $parcel$export($64de154218b7fbdb$exports, "UmaUpdateEndpointDtoTypeEnum", () => $64de154218b7fbdb$export$891f3642d487f81c);
320
- $parcel$export($64de154218b7fbdb$exports, "UmaUpdateFirmDtoStatusEnum", () => $64de154218b7fbdb$export$32d58a6fa29309a7);
321
- $parcel$export($64de154218b7fbdb$exports, "UmaUpdateIdentityProviderDtoTypeEnum", () => $64de154218b7fbdb$export$e297295319f353fb);
322
- $parcel$export($64de154218b7fbdb$exports, "UmaUpsertUserDtoTypeEnum", () => $64de154218b7fbdb$export$8be51d197d5d3e7);
323
- $parcel$export($64de154218b7fbdb$exports, "UmaVerifyContactDtoCodeTypeEnum", () => $64de154218b7fbdb$export$6d687bd5e60dd542);
324
- /* eslint-disable */ /* tslint:disable */ /*
325
- * ---------------------------------------------------------------
326
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
327
- * ## ##
328
- * ## AUTHOR: acacode ##
329
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
330
- * ---------------------------------------------------------------
331
- */ var $64de154218b7fbdb$export$80a68721ef65174d = /*#__PURE__*/ function(UmaAuthAppType) {
332
- UmaAuthAppType["EmailCodeAuthAppType"] = "email_code";
333
- UmaAuthAppType["SmsCodeAuthAppType"] = "sms_code";
334
- UmaAuthAppType["YubicoOTPAuthAppType"] = "yubico_otp";
335
- UmaAuthAppType["WebAuthnAuthAppType"] = "webauthn";
336
- UmaAuthAppType["TOTPAuthAppType"] = "totp";
337
- return UmaAuthAppType;
338
- }({});
339
- var $64de154218b7fbdb$export$9e3be91ea0925e63 = /*#__PURE__*/ function(UmaAuthUserType) {
340
- UmaAuthUserType["AllAuthUserType"] = "all";
341
- UmaAuthUserType["B2BAuthUserType"] = "b2b";
342
- UmaAuthUserType["B2CAuthUserType"] = "b2c";
343
- return UmaAuthUserType;
344
- }({});
345
- var $64de154218b7fbdb$export$4d8761baa197d101 = /*#__PURE__*/ function(UmaResetPasswordType) {
346
- UmaResetPasswordType["PasswordResetByContactCode"] = "by_contact_code";
347
- UmaResetPasswordType["PasswordResetByEmailLink"] = "by_email_link";
348
- return UmaResetPasswordType;
349
- }({});
350
- var $64de154218b7fbdb$export$26e40f3b3a68dd88 = /*#__PURE__*/ function(UmaErrorCode) {
351
- UmaErrorCode[UmaErrorCode["JSONValidationErr"] = 4000] = "JSONValidationErr";
352
- UmaErrorCode[UmaErrorCode["JSONReadErr"] = 4001] = "JSONReadErr";
353
- UmaErrorCode[UmaErrorCode["JSONParseErr"] = 4002] = "JSONParseErr";
354
- UmaErrorCode[UmaErrorCode["ForbiddenErr"] = 4003] = "ForbiddenErr";
355
- UmaErrorCode[UmaErrorCode["ForbiddenDueLimit"] = 4030] = "ForbiddenDueLimit";
356
- UmaErrorCode[UmaErrorCode["RecordNotFoundErr"] = 4004] = "RecordNotFoundErr";
357
- UmaErrorCode[UmaErrorCode["RecordAlreadyExistsErr"] = 4005] = "RecordAlreadyExistsErr";
358
- UmaErrorCode[UmaErrorCode["ImageValidationErr"] = 4006] = "ImageValidationErr";
359
- UmaErrorCode[UmaErrorCode["InappropriateImageErr"] = 4007] = "InappropriateImageErr";
360
- UmaErrorCode[UmaErrorCode["FaceNotFoundOnImageErr"] = 4008] = "FaceNotFoundOnImageErr";
361
- UmaErrorCode[UmaErrorCode["UnauthorizedErr"] = 4010] = "UnauthorizedErr";
362
- UmaErrorCode[UmaErrorCode["TokenRevokedErr"] = 4012] = "TokenRevokedErr";
363
- UmaErrorCode[UmaErrorCode["TokenNotActiveErr"] = 4013] = "TokenNotActiveErr";
364
- UmaErrorCode[UmaErrorCode["EmailNotVerifiedErr"] = 4015] = "EmailNotVerifiedErr";
365
- UmaErrorCode[UmaErrorCode["TokenParsingErr"] = 4016] = "TokenParsingErr";
366
- UmaErrorCode[UmaErrorCode["PhoneNotVerifiedErr"] = 4017] = "PhoneNotVerifiedErr";
367
- UmaErrorCode[UmaErrorCode["UUIDParseErr"] = 4026] = "UUIDParseErr";
368
- UmaErrorCode[UmaErrorCode["InvalidEmailOrPasswordOrTypeErr"] = 4028] = "InvalidEmailOrPasswordOrTypeErr";
369
- UmaErrorCode[UmaErrorCode["InvalidMfaCodeErr"] = 4128] = "InvalidMfaCodeErr";
370
- UmaErrorCode[UmaErrorCode["MfaRequiredErr"] = 4228] = "MfaRequiredErr";
371
- UmaErrorCode[UmaErrorCode["TokenVerificationErr"] = 4328] = "TokenVerificationErr";
372
- UmaErrorCode[UmaErrorCode["InvalidAPIKeyOrSecretErr"] = 4428] = "InvalidAPIKeyOrSecretErr";
373
- UmaErrorCode[UmaErrorCode["MfaAddingNotAllowedErr"] = 4528] = "MfaAddingNotAllowedErr";
374
- UmaErrorCode[UmaErrorCode["BranchRequestNotAllowed"] = 4103] = "BranchRequestNotAllowed";
375
- UmaErrorCode[UmaErrorCode["ForbiddenForUserTypeErr"] = 4203] = "ForbiddenForUserTypeErr";
376
- UmaErrorCode[UmaErrorCode["SecondForbiddenErr"] = 4031] = "SecondForbiddenErr";
377
- UmaErrorCode[UmaErrorCode["ThirdForbiddenErr"] = 4032] = "ThirdForbiddenErr";
378
- UmaErrorCode[UmaErrorCode["EntitiesChoiceNotAllowed"] = 4303] = "EntitiesChoiceNotAllowed";
379
- UmaErrorCode[UmaErrorCode["RecaptchaErr"] = 4403] = "RecaptchaErr";
380
- UmaErrorCode[UmaErrorCode["UpdateOfOldEntityStateErr"] = 4503] = "UpdateOfOldEntityStateErr";
381
- UmaErrorCode[UmaErrorCode["ChiefadminMutationErr"] = 4603] = "ChiefadminMutationErr";
382
- UmaErrorCode[UmaErrorCode["ChildEntitiesExistErr"] = 4703] = "ChildEntitiesExistErr";
383
- UmaErrorCode[UmaErrorCode["TenantActionForbiddenErr"] = 4803] = "TenantActionForbiddenErr";
384
- UmaErrorCode[UmaErrorCode["RBACManipulationErr"] = 4903] = "RBACManipulationErr";
385
- UmaErrorCode[UmaErrorCode["YubicoMaxKeysLimitReachedErr"] = 4113] = "YubicoMaxKeysLimitReachedErr";
386
- UmaErrorCode[UmaErrorCode["ConflictErr"] = 4090] = "ConflictErr";
387
- UmaErrorCode[UmaErrorCode["SecondFieldConflictErr"] = 4091] = "SecondFieldConflictErr";
388
- UmaErrorCode[UmaErrorCode["ThirdFieldConflictErr"] = 4092] = "ThirdFieldConflictErr";
389
- UmaErrorCode[UmaErrorCode["FourthFieldConflictErr"] = 4093] = "FourthFieldConflictErr";
390
- UmaErrorCode[UmaErrorCode["FifthFieldConflictErr"] = 4094] = "FifthFieldConflictErr";
391
- UmaErrorCode[UmaErrorCode["SixthFieldConflictErr"] = 4095] = "SixthFieldConflictErr";
392
- UmaErrorCode[UmaErrorCode["SeventhFieldConflictErr"] = 4096] = "SeventhFieldConflictErr";
393
- UmaErrorCode[UmaErrorCode["GoneErr"] = 4100] = "GoneErr";
394
- UmaErrorCode[UmaErrorCode["SecondGoneErr"] = 4101] = "SecondGoneErr";
395
- UmaErrorCode[UmaErrorCode["UnprocessableEntity"] = 4222] = "UnprocessableEntity";
396
- UmaErrorCode[UmaErrorCode["TooEarlyDuplicateRequest"] = 4250] = "TooEarlyDuplicateRequest";
397
- UmaErrorCode[UmaErrorCode["RateLimitErr"] = 4291] = "RateLimitErr";
398
- UmaErrorCode[UmaErrorCode["ForbiddenByFirmsStatusErr"] = 4292] = "ForbiddenByFirmsStatusErr";
399
- UmaErrorCode[UmaErrorCode["NotAcceptableError"] = 4600] = "NotAcceptableError";
400
- UmaErrorCode[UmaErrorCode["InternalServerErr"] = 5000] = "InternalServerErr";
401
- UmaErrorCode[UmaErrorCode["InvalidRequest"] = 6000] = "InvalidRequest";
402
- return UmaErrorCode;
403
- }({});
404
- var $64de154218b7fbdb$export$b942b4f86682a31c = /*#__PURE__*/ function(UmaOption) {
405
- UmaOption["SmsMfaOption"] = "sms";
406
- UmaOption["EmailMfaOption"] = "email";
407
- UmaOption["VoiceMfaOption"] = "voice";
408
- UmaOption["WebAuthnMfaOption"] = "webauthn";
409
- UmaOption["YubicoOTPMfaOption"] = "yubico_otp";
410
- UmaOption["TOTPMfaOption"] = "totp";
411
- return UmaOption;
412
- }({});
413
- var $64de154218b7fbdb$export$dd3d01a6c6dab020 = /*#__PURE__*/ function(UmaActionTrigger) {
414
- UmaActionTrigger["B2BUserTrigger"] = "b2b_user";
415
- UmaActionTrigger["OwnerUserTrigger"] = "owner_user";
416
- UmaActionTrigger["RegularMigrationsTrigger"] = "regular_migrations";
417
- UmaActionTrigger["DataMigrationsTrigger"] = "data_migrations";
418
- return UmaActionTrigger;
419
- }({});
420
- var $64de154218b7fbdb$export$6a1481c139cb5523 = /*#__PURE__*/ function(UmaActionType) {
421
- UmaActionType["CreateAction"] = "create";
422
- UmaActionType["UpdateAction"] = "update";
423
- UmaActionType["DeleteAction"] = "delete";
424
- UmaActionType["ResetPasswordAction"] = "reset_password";
425
- UmaActionType["RegistrationAction"] = "registration";
426
- UmaActionType["SettingsChangeAction"] = "settings_change";
427
- UmaActionType["AvatarChangeAction"] = "avatar_change";
428
- return UmaActionType;
429
- }({});
430
- var $64de154218b7fbdb$export$f225bf8d20c34dc4 = /*#__PURE__*/ function(UmaAuthProviderAppType) {
431
- UmaAuthProviderAppType["GoogleOAuth2Provider"] = "google-oauth2";
432
- UmaAuthProviderAppType["AppleIDOAuth2Provider"] = "apple-id";
433
- return UmaAuthProviderAppType;
434
- }({});
435
- var $64de154218b7fbdb$export$fbeeb34ec62b81a3 = /*#__PURE__*/ function(UmaEndpointType) {
436
- UmaEndpointType["RegularEndpoint"] = "regular";
437
- UmaEndpointType["DisplayOnlyEndpoint"] = "display_only";
438
- return UmaEndpointType;
439
- }({});
440
- var $64de154218b7fbdb$export$d0740a1f11370fb3 = /*#__PURE__*/ function(UmaEntityAccessType) {
441
- UmaEntityAccessType["GranularEntityAccessType"] = "granular";
442
- UmaEntityAccessType["HighLevelEntityAccessType"] = "high-level";
443
- return UmaEntityAccessType;
444
- }({});
445
- var $64de154218b7fbdb$export$1c13342d5e11f506 = /*#__PURE__*/ function(UmaEntityName) {
446
- UmaEntityName["B2BUsersEntity"] = "b2b_users";
447
- UmaEntityName["B2CUsersEntity"] = "b2c_users";
448
- UmaEntityName["RolesEntity"] = "roles";
449
- UmaEntityName["RoleTypesEntity"] = "role_types";
450
- UmaEntityName["PermissionsEntity"] = "permissions";
451
- UmaEntityName["MicroservicesEntity"] = "microservices";
452
- UmaEntityName["IdentityProvidersEntity"] = "identity_providers";
453
- UmaEntityName["FirmsEntity"] = "firms";
454
- UmaEntityName["EndpointsEntity"] = "endpoints";
455
- UmaEntityName["BranchesEntity"] = "branches";
456
- UmaEntityName["APIKeysEntity"] = "api_keys";
457
- return UmaEntityName;
458
- }({});
459
- var $64de154218b7fbdb$export$6cb5e83f5f5af956 = /*#__PURE__*/ function(UmaPermissionAG) {
460
- UmaPermissionAG["ChiefadminPermissionAG"] = "chiefadmin";
461
- UmaPermissionAG["SuperadminPermissionAG"] = "superadmin";
462
- UmaPermissionAG["B2BOnlyPermissionAG"] = "b2b_only";
463
- UmaPermissionAG["RegularPermissionAG"] = "regular";
464
- return UmaPermissionAG;
465
- }({});
466
- var $64de154218b7fbdb$export$40c85964c9d60a16 = /*#__PURE__*/ function(UmaUserStatus) {
467
- UmaUserStatus["ActiveUserStatus"] = "active";
468
- UmaUserStatus["BlockedUserStatus"] = "blocked";
469
- UmaUserStatus["ArchivedUserStatus"] = "archived";
470
- return UmaUserStatus;
471
- }({});
472
- var $64de154218b7fbdb$export$51b69238136d8bf1 = /*#__PURE__*/ function(UmaUserType) {
473
- UmaUserType["B2BUserType"] = "b2b";
474
- UmaUserType["SystemUserType"] = "system";
475
- UmaUserType["B2CUserType"] = "b2c";
476
- return UmaUserType;
477
- }({});
478
- var $64de154218b7fbdb$export$9eb6fa5a85b589e6 = /*#__PURE__*/ function(UmaTenantSettingLabel) {
479
- UmaTenantSettingLabel["StorePasswordHistoryForDays"] = "store_password_history_for_days";
480
- UmaTenantSettingLabel["ResetPasswordIfUserInactiveForDays"] = "reset_password_if_user_inactive_for_days";
481
- UmaTenantSettingLabel["PeriodicallyResetPasswordAfterDays"] = "periodically_reset_password_after_days";
482
- return UmaTenantSettingLabel;
483
- }({});
484
- var $64de154218b7fbdb$export$e652a4cb9330c8d2 = /*#__PURE__*/ function(UmaAuthFormDtoResetPasswordTypeEnum) {
485
- UmaAuthFormDtoResetPasswordTypeEnum["ByContactCode"] = "by_contact_code";
486
- UmaAuthFormDtoResetPasswordTypeEnum["ByEmailLink"] = "by_email_link";
487
- return UmaAuthFormDtoResetPasswordTypeEnum;
488
- }({});
489
- var $64de154218b7fbdb$export$8d1aa71ae381a883 = /*#__PURE__*/ function(UmaAuthFormSerializerResetPasswordTypeEnum) {
490
- UmaAuthFormSerializerResetPasswordTypeEnum["ByContactCode"] = "by_contact_code";
491
- UmaAuthFormSerializerResetPasswordTypeEnum["ByEmailLink"] = "by_email_link";
492
- return UmaAuthFormSerializerResetPasswordTypeEnum;
493
- }({});
494
- var $64de154218b7fbdb$export$855c0abf639c0a2b = /*#__PURE__*/ function(UmaB2BSendContactChangeCodeDtoTypeEnum) {
495
- UmaB2BSendContactChangeCodeDtoTypeEnum["Email"] = "email";
496
- UmaB2BSendContactChangeCodeDtoTypeEnum["Voice"] = "voice";
497
- UmaB2BSendContactChangeCodeDtoTypeEnum["Sms"] = "sms";
498
- return UmaB2BSendContactChangeCodeDtoTypeEnum;
499
- }({});
500
- var $64de154218b7fbdb$export$ee2e64a99304ec62 = /*#__PURE__*/ function(UmaB2CResetPasswordDtoResetTypeEnum) {
501
- UmaB2CResetPasswordDtoResetTypeEnum["ByContactCode"] = "by_contact_code";
502
- UmaB2CResetPasswordDtoResetTypeEnum["ByEmailLink"] = "by_email_link";
503
- return UmaB2CResetPasswordDtoResetTypeEnum;
504
- }({});
505
- var $64de154218b7fbdb$export$cb5ce7daabd2e17c = /*#__PURE__*/ function(UmaB2CSendContactChangeCodeDtoTypeEnum) {
506
- UmaB2CSendContactChangeCodeDtoTypeEnum["Email"] = "email";
507
- UmaB2CSendContactChangeCodeDtoTypeEnum["Voice"] = "voice";
508
- UmaB2CSendContactChangeCodeDtoTypeEnum["Sms"] = "sms";
509
- return UmaB2CSendContactChangeCodeDtoTypeEnum;
510
- }({});
511
- var $64de154218b7fbdb$export$b6706226fff0ec2c = /*#__PURE__*/ function(UmaB2CSendVerificationCodeDtoCodeTypeEnum) {
512
- UmaB2CSendVerificationCodeDtoCodeTypeEnum["Email"] = "email";
513
- UmaB2CSendVerificationCodeDtoCodeTypeEnum["Voice"] = "voice";
514
- UmaB2CSendVerificationCodeDtoCodeTypeEnum["Sms"] = "sms";
515
- return UmaB2CSendVerificationCodeDtoCodeTypeEnum;
516
- }({});
517
- var $64de154218b7fbdb$export$fe6e9eeb86b74e20 = /*#__PURE__*/ function(UmaCreateEndpointDtoMethodEnum) {
518
- UmaCreateEndpointDtoMethodEnum["POST"] = "POST";
519
- UmaCreateEndpointDtoMethodEnum["PUT"] = "PUT";
520
- UmaCreateEndpointDtoMethodEnum["DELETE"] = "DELETE";
521
- UmaCreateEndpointDtoMethodEnum["GET"] = "GET";
522
- UmaCreateEndpointDtoMethodEnum["PATCH"] = "PATCH";
523
- UmaCreateEndpointDtoMethodEnum["ALL"] = "ALL";
524
- return UmaCreateEndpointDtoMethodEnum;
525
- }({});
526
- var $64de154218b7fbdb$export$45c185db4ed17146 = /*#__PURE__*/ function(UmaCreateEndpointDtoTypeEnum) {
527
- UmaCreateEndpointDtoTypeEnum["Regular"] = "regular";
528
- UmaCreateEndpointDtoTypeEnum["DisplayOnly"] = "display_only";
529
- return UmaCreateEndpointDtoTypeEnum;
530
- }({});
531
- var $64de154218b7fbdb$export$98a2d76b8b98d939 = /*#__PURE__*/ function(UmaCreateIdentityProviderDtoTypeEnum) {
532
- UmaCreateIdentityProviderDtoTypeEnum["Okta"] = "okta";
533
- return UmaCreateIdentityProviderDtoTypeEnum;
534
- }({});
535
- var $64de154218b7fbdb$export$f2c9b083b701c041 = /*#__PURE__*/ function(UmaCreatePermissionDtoAssignmentGroupEnum) {
536
- UmaCreatePermissionDtoAssignmentGroupEnum["Regular"] = "regular";
537
- UmaCreatePermissionDtoAssignmentGroupEnum["Superadmin"] = "superadmin";
538
- UmaCreatePermissionDtoAssignmentGroupEnum["B2BOnly"] = "b2b_only";
539
- return UmaCreatePermissionDtoAssignmentGroupEnum;
540
- }({});
541
- var $64de154218b7fbdb$export$8d399fefbd60de17 = /*#__PURE__*/ function(UmaCreateRoleDtoAssignmentGroupEnum) {
542
- UmaCreateRoleDtoAssignmentGroupEnum["Regular"] = "regular";
543
- UmaCreateRoleDtoAssignmentGroupEnum["Superadmin"] = "superadmin";
544
- UmaCreateRoleDtoAssignmentGroupEnum["B2BOnly"] = "b2b_only";
545
- return UmaCreateRoleDtoAssignmentGroupEnum;
546
- }({});
547
- var $64de154218b7fbdb$export$1185a2dff04b24a9 = /*#__PURE__*/ function(UmaCreateSecretNoteDtoTypeEnum) {
548
- UmaCreateSecretNoteDtoTypeEnum["Password"] = "password";
549
- return UmaCreateSecretNoteDtoTypeEnum;
550
- }({});
551
- var $64de154218b7fbdb$export$dc5b15ad0821f43b = /*#__PURE__*/ function(UmaEndpointMetadataDtoUserTypeEnum) {
552
- UmaEndpointMetadataDtoUserTypeEnum["B2B"] = "b2b";
553
- UmaEndpointMetadataDtoUserTypeEnum["B2C"] = "b2c";
554
- return UmaEndpointMetadataDtoUserTypeEnum;
555
- }({});
556
- var $64de154218b7fbdb$export$139725f1c32bb1b1 = /*#__PURE__*/ function(UmaEndpointSerializerMethodEnum) {
557
- UmaEndpointSerializerMethodEnum["POST"] = "POST";
558
- UmaEndpointSerializerMethodEnum["PUT"] = "PUT";
559
- UmaEndpointSerializerMethodEnum["DELETE"] = "DELETE";
560
- UmaEndpointSerializerMethodEnum["GET"] = "GET";
561
- UmaEndpointSerializerMethodEnum["PATCH"] = "PATCH";
562
- UmaEndpointSerializerMethodEnum["ALL"] = "ALL";
563
- return UmaEndpointSerializerMethodEnum;
564
- }({});
565
- var $64de154218b7fbdb$export$b42b48ae4eee4675 = /*#__PURE__*/ function(UmaGetB2CUsersListFiltersDtoShowOnlyEnum) {
566
- UmaGetB2CUsersListFiltersDtoShowOnlyEnum["Admin"] = "admin";
567
- UmaGetB2CUsersListFiltersDtoShowOnlyEnum["BranchAdmin"] = "branch_admin";
568
- UmaGetB2CUsersListFiltersDtoShowOnlyEnum["Compliance"] = "compliance";
569
- return UmaGetB2CUsersListFiltersDtoShowOnlyEnum;
570
- }({});
571
- var $64de154218b7fbdb$export$d860c2e62b63d49b = /*#__PURE__*/ function(UmaGetFirmsListFiltersDtoStatusesEnum) {
572
- UmaGetFirmsListFiltersDtoStatusesEnum["InProgress"] = "in_progress";
573
- UmaGetFirmsListFiltersDtoStatusesEnum["Active"] = "active";
574
- UmaGetFirmsListFiltersDtoStatusesEnum["Suspended"] = "suspended";
575
- UmaGetFirmsListFiltersDtoStatusesEnum["Deleted"] = "deleted";
576
- return UmaGetFirmsListFiltersDtoStatusesEnum;
577
- }({});
578
- var $64de154218b7fbdb$export$7da111135c500e8e = /*#__PURE__*/ function(UmaGetIdentityProvidersListFiltersDtoTypesEnum) {
579
- UmaGetIdentityProvidersListFiltersDtoTypesEnum["Okta"] = "okta";
580
- return UmaGetIdentityProvidersListFiltersDtoTypesEnum;
581
- }({});
582
- var $64de154218b7fbdb$export$57978e26cf68bf29 = /*#__PURE__*/ function(UmaGetUsersListFiltersDtoShowOnlyEnum) {
583
- UmaGetUsersListFiltersDtoShowOnlyEnum["Admin"] = "admin";
584
- UmaGetUsersListFiltersDtoShowOnlyEnum["BranchAdmin"] = "branch_admin";
585
- UmaGetUsersListFiltersDtoShowOnlyEnum["Compliance"] = "compliance";
586
- return UmaGetUsersListFiltersDtoShowOnlyEnum;
587
- }({});
588
- var $64de154218b7fbdb$export$cf1623cf2c62174d = /*#__PURE__*/ function(UmaGetWebAuthnLoginChallengeDtoUserTypeEnum) {
589
- UmaGetWebAuthnLoginChallengeDtoUserTypeEnum["B2B"] = "b2b";
590
- UmaGetWebAuthnLoginChallengeDtoUserTypeEnum["B2C"] = "b2c";
591
- return UmaGetWebAuthnLoginChallengeDtoUserTypeEnum;
592
- }({});
593
- var $64de154218b7fbdb$export$74fda118814b2c69 = /*#__PURE__*/ function(UmaIdentityProviderSerializerTypeEnum) {
594
- UmaIdentityProviderSerializerTypeEnum["Okta"] = "okta";
595
- return UmaIdentityProviderSerializerTypeEnum;
596
- }({});
597
- var $64de154218b7fbdb$export$f0b113a2ec1676d9 = /*#__PURE__*/ function(UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum) {
598
- UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum["B2B"] = "b2b";
599
- UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum["B2C"] = "b2c";
600
- return UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum;
601
- }({});
602
- var $64de154218b7fbdb$export$f336736d62d74184 = /*#__PURE__*/ function(UmaPermissionSerializerAssignmentGroupEnum) {
603
- UmaPermissionSerializerAssignmentGroupEnum["Regular"] = "regular";
604
- UmaPermissionSerializerAssignmentGroupEnum["Chiefadmin"] = "chiefadmin";
605
- UmaPermissionSerializerAssignmentGroupEnum["Superadmin"] = "superadmin";
606
- return UmaPermissionSerializerAssignmentGroupEnum;
607
- }({});
608
- var $64de154218b7fbdb$export$d52f1ee1d11bbf21 = /*#__PURE__*/ function(UmaRevokeUserSessionsDtoUserTypeEnum) {
609
- UmaRevokeUserSessionsDtoUserTypeEnum["B2B"] = "b2b";
610
- UmaRevokeUserSessionsDtoUserTypeEnum["B2C"] = "b2c";
611
- return UmaRevokeUserSessionsDtoUserTypeEnum;
612
- }({});
613
- var $64de154218b7fbdb$export$acb35be04555bc98 = /*#__PURE__*/ function(UmaSecretNoteSerializerTypeEnum) {
614
- UmaSecretNoteSerializerTypeEnum["Password"] = "password";
615
- return UmaSecretNoteSerializerTypeEnum;
616
- }({});
617
- var $64de154218b7fbdb$export$b58c500fbe7ba026 = /*#__PURE__*/ function(UmaSendB2BMfaCodeDtoTypeEnum) {
618
- UmaSendB2BMfaCodeDtoTypeEnum["Email"] = "email";
619
- UmaSendB2BMfaCodeDtoTypeEnum["Voice"] = "voice";
620
- UmaSendB2BMfaCodeDtoTypeEnum["Sms"] = "sms";
621
- return UmaSendB2BMfaCodeDtoTypeEnum;
622
- }({});
623
- var $64de154218b7fbdb$export$2296c353ecee8dca = /*#__PURE__*/ function(UmaSendB2CMfaCodeDtoTypeEnum) {
624
- UmaSendB2CMfaCodeDtoTypeEnum["Email"] = "email";
625
- UmaSendB2CMfaCodeDtoTypeEnum["Voice"] = "voice";
626
- UmaSendB2CMfaCodeDtoTypeEnum["Sms"] = "sms";
627
- return UmaSendB2CMfaCodeDtoTypeEnum;
628
- }({});
629
- var $64de154218b7fbdb$export$dff8055bb7575170 = /*#__PURE__*/ function(UmaSendB2CResetPasswordCodeDtoCodeTypeEnum) {
630
- UmaSendB2CResetPasswordCodeDtoCodeTypeEnum["Email"] = "email";
631
- UmaSendB2CResetPasswordCodeDtoCodeTypeEnum["Voice"] = "voice";
632
- UmaSendB2CResetPasswordCodeDtoCodeTypeEnum["Sms"] = "sms";
633
- return UmaSendB2CResetPasswordCodeDtoCodeTypeEnum;
634
- }({});
635
- var $64de154218b7fbdb$export$3de316bb8a940449 = /*#__PURE__*/ function(UmaSendB2CResetPasswordCodeDtoResetTypeEnum) {
636
- UmaSendB2CResetPasswordCodeDtoResetTypeEnum["ByContactCode"] = "by_contact_code";
637
- UmaSendB2CResetPasswordCodeDtoResetTypeEnum["ByEmailLink"] = "by_email_link";
638
- return UmaSendB2CResetPasswordCodeDtoResetTypeEnum;
639
- }({});
640
- var $64de154218b7fbdb$export$4dea8419eb7d9d00 = /*#__PURE__*/ function(UmaSendResetPasswordCodeDtoTypeEnum) {
641
- UmaSendResetPasswordCodeDtoTypeEnum["Email"] = "email";
642
- UmaSendResetPasswordCodeDtoTypeEnum["Voice"] = "voice";
643
- UmaSendResetPasswordCodeDtoTypeEnum["Sms"] = "sms";
644
- return UmaSendResetPasswordCodeDtoTypeEnum;
645
- }({});
646
- var $64de154218b7fbdb$export$c415d7932d9aa8e4 = /*#__PURE__*/ function(UmaTenantSettingDtoLabelEnum) {
647
- UmaTenantSettingDtoLabelEnum["StorePasswordHistoryForDays"] = "store_password_history_for_days";
648
- UmaTenantSettingDtoLabelEnum["ResetPasswordIfUserInactiveForDays"] = "reset_password_if_user_inactive_for_days";
649
- UmaTenantSettingDtoLabelEnum["PeriodicallyResetPasswordAfterDays"] = "periodically_reset_password_after_days";
650
- return UmaTenantSettingDtoLabelEnum;
651
- }({});
652
- var $64de154218b7fbdb$export$50a533e71d27c8f3 = /*#__PURE__*/ function(UmaUpdateAuthAppDtoStatusEnum) {
653
- UmaUpdateAuthAppDtoStatusEnum["Active"] = "active";
654
- UmaUpdateAuthAppDtoStatusEnum["Disabled"] = "disabled";
655
- return UmaUpdateAuthAppDtoStatusEnum;
656
- }({});
657
- var $64de154218b7fbdb$export$837c9c846d6ad015 = /*#__PURE__*/ function(UmaUpdateEndpointDtoMethodEnum) {
658
- UmaUpdateEndpointDtoMethodEnum["POST"] = "POST";
659
- UmaUpdateEndpointDtoMethodEnum["PUT"] = "PUT";
660
- UmaUpdateEndpointDtoMethodEnum["DELETE"] = "DELETE";
661
- UmaUpdateEndpointDtoMethodEnum["GET"] = "GET";
662
- UmaUpdateEndpointDtoMethodEnum["PATCH"] = "PATCH";
663
- UmaUpdateEndpointDtoMethodEnum["ALL"] = "ALL";
664
- return UmaUpdateEndpointDtoMethodEnum;
665
- }({});
666
- var $64de154218b7fbdb$export$891f3642d487f81c = /*#__PURE__*/ function(UmaUpdateEndpointDtoTypeEnum) {
667
- UmaUpdateEndpointDtoTypeEnum["Regular"] = "regular";
668
- UmaUpdateEndpointDtoTypeEnum["DisplayOnly"] = "display_only";
669
- return UmaUpdateEndpointDtoTypeEnum;
670
- }({});
671
- var $64de154218b7fbdb$export$32d58a6fa29309a7 = /*#__PURE__*/ function(UmaUpdateFirmDtoStatusEnum) {
672
- UmaUpdateFirmDtoStatusEnum["InProgress"] = "in_progress";
673
- UmaUpdateFirmDtoStatusEnum["Active"] = "active";
674
- UmaUpdateFirmDtoStatusEnum["Suspended"] = "suspended";
675
- UmaUpdateFirmDtoStatusEnum["Deleted"] = "deleted";
676
- return UmaUpdateFirmDtoStatusEnum;
677
- }({});
678
- var $64de154218b7fbdb$export$e297295319f353fb = /*#__PURE__*/ function(UmaUpdateIdentityProviderDtoTypeEnum) {
679
- UmaUpdateIdentityProviderDtoTypeEnum["Okta"] = "okta";
680
- return UmaUpdateIdentityProviderDtoTypeEnum;
681
- }({});
682
- var $64de154218b7fbdb$export$8be51d197d5d3e7 = /*#__PURE__*/ function(UmaUpsertUserDtoTypeEnum) {
683
- UmaUpsertUserDtoTypeEnum["B2B"] = "b2b";
684
- UmaUpsertUserDtoTypeEnum["B2C"] = "b2c";
685
- return UmaUpsertUserDtoTypeEnum;
686
- }({});
687
- var $64de154218b7fbdb$export$6d687bd5e60dd542 = /*#__PURE__*/ function(UmaVerifyContactDtoCodeTypeEnum) {
688
- UmaVerifyContactDtoCodeTypeEnum["Email"] = "email";
689
- UmaVerifyContactDtoCodeTypeEnum["Voice"] = "voice";
690
- UmaVerifyContactDtoCodeTypeEnum["Sms"] = "sms";
691
- return UmaVerifyContactDtoCodeTypeEnum;
692
- }({});
693
-
694
-
695
- var $9afc25bb6382508d$exports = {};
696
-
697
- $parcel$export($9afc25bb6382508d$exports, "AuthApps", () => $9afc25bb6382508d$export$d3eceb771169d266);
698
- /* eslint-disable */ /* tslint:disable */ /*
699
- * ---------------------------------------------------------------
700
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
701
- * ## ##
702
- * ## AUTHOR: acacode ##
703
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
704
- * ---------------------------------------------------------------
705
- */
706
- /* eslint-disable */ /* tslint:disable */ /*
707
- * ---------------------------------------------------------------
708
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
709
- * ## ##
710
- * ## AUTHOR: acacode ##
711
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
712
- * ---------------------------------------------------------------
713
- */
714
-
715
-
716
- class $9afc25bb6382508d$export$d3eceb771169d266 {
717
- constructor(apiClient){
718
- this.apiClient = apiClient;
719
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
720
- }
721
- /**
722
- * @description Get auth apps
723
- * @tags auth_apps
724
- * @name Get
725
- * @summary Get auth apps
726
- * @request GET:/v1/auth-apps
727
- * @secure
728
- */ get(config) {
729
- return this.apiClient.request({
730
- ...config,
731
- url: `/v1/auth-apps`,
732
- method: 'GET',
733
- secure: true,
734
- responseType: 'json'
735
- });
736
- }
737
- /**
738
- * @description Delete auth apps
739
- * @tags auth_apps
740
- * @name DeleteMany
741
- * @summary Delete auth apps
742
- * @request DELETE:/v1/auth-apps
743
- * @secure
744
- */ deleteMany(deleteAuthAppsDto, config) {
745
- return this.apiClient.request({
746
- ...config,
747
- url: `/v1/auth-apps`,
748
- method: 'DELETE',
749
- data: deleteAuthAppsDto,
750
- secure: true,
751
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
752
- });
753
- }
754
- /**
755
- * @description Get TOTP registration QR
756
- * @tags auth_apps
757
- * @name GetRegistrationQr
758
- * @summary Get TOTP registration QR
759
- * @request POST:/v1/auth-apps/totp/registration/qr
760
- * @secure
761
- */ getRegistrationQr(getTotpQRDto, config) {
762
- return this.apiClient.request({
763
- ...config,
764
- url: `/v1/auth-apps/totp/registration/qr`,
765
- method: 'POST',
766
- data: getTotpQRDto,
767
- secure: true,
768
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
769
- });
770
- }
771
- /**
772
- * @description Finish TOTP registration
773
- * @tags auth_apps
774
- * @name FinishRegistration
775
- * @summary Finish TOTP registration
776
- * @request POST:/v1/auth-apps/totp/registration/response
777
- * @secure
778
- */ finishRegistration(finishTOTPRegistrationDto, config) {
779
- return this.apiClient.request({
780
- ...config,
781
- url: `/v1/auth-apps/totp/registration/response`,
782
- method: 'POST',
783
- data: finishTOTPRegistrationDto,
784
- secure: true,
785
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
786
- responseType: 'json'
787
- });
788
- }
789
- /**
790
- * @description Get WebAuthn login challenge
791
- * @tags auth_apps
792
- * @name GetLoginChallenge
793
- * @summary Get WebAuthn login challenge
794
- * @request POST:/v1/auth-apps/webauthn/login/request
795
- */ getLoginChallenge(getWebAuthnLoginChallengeDto, config) {
796
- return this.apiClient.request({
797
- ...config,
798
- url: `/v1/auth-apps/webauthn/login/request`,
799
- method: 'POST',
800
- data: getWebAuthnLoginChallengeDto,
801
- secure: false,
802
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
803
- responseType: 'json'
804
- });
805
- }
806
- /**
807
- * @description Get WebAuthn register challenge
808
- * @tags auth_apps
809
- * @name GetRegisterChallenge
810
- * @summary Get WebAuthn register challenge
811
- * @request POST:/v1/auth-apps/webauthn/registration/request
812
- * @secure
813
- */ getRegisterChallenge(config) {
814
- return this.apiClient.request({
815
- ...config,
816
- url: `/v1/auth-apps/webauthn/registration/request`,
817
- method: 'POST',
818
- secure: true,
819
- responseType: 'json'
820
- });
821
- }
822
- /**
823
- * @description Finish WebAuthn credential registration
824
- * @tags auth_apps
825
- * @name FinishCredentialRegistration
826
- * @summary Finish WebAuthn credential registration
827
- * @request POST:/v1/auth-apps/webauthn/registration/response
828
- * @secure
829
- */ finishCredentialRegistration(webAuthnRegistrationSolutionDto, config) {
830
- return this.apiClient.request({
831
- ...config,
832
- url: `/v1/auth-apps/webauthn/registration/response`,
833
- method: 'POST',
834
- data: webAuthnRegistrationSolutionDto,
835
- secure: true,
836
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
837
- });
838
- }
839
- /**
840
- * @description Register Yubico OTP Key
841
- * @tags auth_apps
842
- * @name Register
843
- * @summary Register Yubico OTP Key
844
- * @request POST:/v1/auth-apps/yubico/otp/registration
845
- * @secure
846
- */ register(yubicoOTPDto, config) {
847
- return this.apiClient.request({
848
- ...config,
849
- url: `/v1/auth-apps/yubico/otp/registration`,
850
- method: 'POST',
851
- data: yubicoOTPDto,
852
- secure: true,
853
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
854
- });
855
- }
856
- /**
857
- * @description Update auth app
858
- * @tags auth_apps
859
- * @name Update
860
- * @summary Update auth app
861
- * @request PUT:/v1/auth-apps/{id}
862
- * @secure
863
- */ update(id, updateAuthAppDto, config) {
864
- return this.apiClient.request({
865
- ...config,
866
- url: `/v1/auth-apps/${id}`,
867
- method: 'PUT',
868
- data: updateAuthAppDto,
869
- secure: true,
870
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
871
- responseType: 'json'
872
- });
873
- }
874
- }
875
-
876
-
877
- var $467e4c6e7d89aebd$exports = {};
878
-
879
- $parcel$export($467e4c6e7d89aebd$exports, "ActionLogs", () => $467e4c6e7d89aebd$export$e241ab6b9aa14723);
880
- /* eslint-disable */ /* tslint:disable */ /*
881
- * ---------------------------------------------------------------
882
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
883
- * ## ##
884
- * ## AUTHOR: acacode ##
885
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
886
- * ---------------------------------------------------------------
887
- */
888
-
889
- class $467e4c6e7d89aebd$export$e241ab6b9aa14723 {
890
- constructor(apiClient){
891
- this.apiClient = apiClient;
892
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
893
- }
894
- /**
895
- * @description Get Action logs list
896
- * @tags action_logs
897
- * @name GetActionLogs
898
- * @summary Get Action logs list
899
- * @request POST:/v1/action-logs/list
900
- * @secure
901
- */ getActionLogs(getActionLogsDto, config) {
902
- return this.apiClient.request({
903
- ...config,
904
- url: `/v1/action-logs/list`,
905
- method: 'POST',
906
- data: getActionLogsDto,
907
- secure: true,
908
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
909
- responseType: 'json'
910
- });
911
- }
912
- }
913
-
914
-
915
- var $03cfd804b3d9aa9d$exports = {};
916
-
917
- $parcel$export($03cfd804b3d9aa9d$exports, "AuthForms", () => $03cfd804b3d9aa9d$export$11ae43b56f3f836c);
918
- /* eslint-disable */ /* tslint:disable */ /*
919
- * ---------------------------------------------------------------
920
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
921
- * ## ##
922
- * ## AUTHOR: acacode ##
923
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
924
- * ---------------------------------------------------------------
925
- */
926
-
927
- class $03cfd804b3d9aa9d$export$11ae43b56f3f836c {
928
- constructor(apiClient){
929
- this.apiClient = apiClient;
930
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
931
- }
932
- /**
933
- * @description Create Auth Form
934
- * @tags auth_forms
935
- * @name Create
936
- * @summary Create Auth Form
937
- * @request POST:/v1/auth-forms
938
- * @secure
939
- */ create(authFormDto, config) {
940
- return this.apiClient.request({
941
- ...config,
942
- url: `/v1/auth-forms`,
943
- method: 'POST',
944
- data: authFormDto,
945
- secure: true,
946
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
947
- responseType: 'json'
948
- });
949
- }
950
- /**
951
- * @description Delete Auth Forms by ids
952
- * @tags auth_forms
953
- * @name DeleteMany
954
- * @summary Delete Auth Forms by ids
955
- * @request DELETE:/v1/auth-forms
956
- * @secure
957
- */ deleteMany(deleteAuthFormsDto, config) {
958
- return this.apiClient.request({
959
- ...config,
960
- url: `/v1/auth-forms`,
961
- method: 'DELETE',
962
- data: deleteAuthFormsDto,
963
- secure: true,
964
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
965
- });
966
- }
967
- /**
968
- * @description Get Auth Forms with pagination. Available sort fields are `id, branch_id, slug, created_at, updated_at`. Search is performed by slug field
969
- * @tags auth_forms
970
- * @name Get
971
- * @summary Get Auth Forms with pagination
972
- * @request POST:/v1/auth-forms/list
973
- * @secure
974
- */ get(getAuthFormListDto, config) {
975
- return this.apiClient.request({
976
- ...config,
977
- url: `/v1/auth-forms/list`,
978
- method: 'POST',
979
- data: getAuthFormListDto,
980
- secure: true,
981
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
982
- responseType: 'json'
983
- });
984
- }
985
- /**
986
- * @description Get Auth Forms by slug
987
- * @tags auth_forms
988
- * @name GetBySlug
989
- * @summary Get Auth Forms by slug
990
- * @request GET:/v1/auth-forms/public/{slug}
991
- */ getBySlug(slug, config) {
992
- return this.apiClient.request({
993
- ...config,
994
- url: `/v1/auth-forms/public/${slug}`,
995
- method: 'GET',
996
- secure: false,
997
- responseType: 'json'
998
- });
999
- }
1000
- /**
1001
- * @description Get Auth Forms by id
1002
- * @tags auth_forms
1003
- * @name GetById
1004
- * @summary Get Auth Forms by id
1005
- * @request GET:/v1/auth-forms/{id}
1006
- * @secure
1007
- */ getById(id, config) {
1008
- return this.apiClient.request({
1009
- ...config,
1010
- url: `/v1/auth-forms/${id}`,
1011
- method: 'GET',
1012
- secure: true,
1013
- responseType: 'json'
1014
- });
1015
- }
1016
- /**
1017
- * @description Update Auth Form record
1018
- * @tags auth_forms
1019
- * @name Update
1020
- * @summary Update Auth Form record
1021
- * @request PUT:/v1/auth-forms/{id}
1022
- * @secure
1023
- */ update(id, authFormDto, config) {
1024
- return this.apiClient.request({
1025
- ...config,
1026
- url: `/v1/auth-forms/${id}`,
1027
- method: 'PUT',
1028
- data: authFormDto,
1029
- secure: true,
1030
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1031
- responseType: 'json'
1032
- });
1033
- }
1034
- }
1035
-
1036
-
1037
- var $9d5428c2d0a8567e$exports = {};
1038
-
1039
- $parcel$export($9d5428c2d0a8567e$exports, "B2BAuth", () => $9d5428c2d0a8567e$export$d0994445e90c353b);
1040
- /* eslint-disable */ /* tslint:disable */ /*
1041
- * ---------------------------------------------------------------
1042
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1043
- * ## ##
1044
- * ## AUTHOR: acacode ##
1045
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1046
- * ---------------------------------------------------------------
1047
- */
1048
-
1049
- class $9d5428c2d0a8567e$export$d0994445e90c353b {
1050
- constructor(apiClient){
1051
- this.apiClient = apiClient;
1052
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1053
- }
1054
- /**
1055
- * @description Get current B2B user info by access token.
1056
- * @tags b2b_auth
1057
- * @name GetCurrent
1058
- * @summary Get current B2B user info by access token
1059
- * @request GET:/v1/auth/b2b/current
1060
- * @secure
1061
- */ getCurrent(config) {
1062
- return this.apiClient.request({
1063
- ...config,
1064
- url: `/v1/auth/b2b/current`,
1065
- method: 'GET',
1066
- secure: true,
1067
- responseType: 'json'
1068
- });
1069
- }
1070
- /**
1071
- * @description Login B2B user by API Keys
1072
- * @tags b2b_auth
1073
- * @name ApiKeysLogin
1074
- * @summary Login B2B user by API Keys
1075
- * @request POST:/v1/auth/b2b/login/api-keys
1076
- */ apiKeysLogin(apiKeysLoginParams, config) {
1077
- return this.apiClient.request({
1078
- ...config,
1079
- url: `/v1/auth/b2b/login/api-keys`,
1080
- method: 'POST',
1081
- data: apiKeysLoginParams,
1082
- secure: false,
1083
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1084
- responseType: 'json'
1085
- });
1086
- }
1087
- /**
1088
- * @description Login B2B user by email/password.
1089
- * @tags b2b_auth
1090
- * @name BasicLogin
1091
- * @summary Login B2B user by email/password
1092
- * @request POST:/v1/auth/b2b/login/basic
1093
- */ basicLogin(basicLoginParams, headers, config) {
1094
- return this.apiClient.request({
1095
- ...config,
1096
- url: `/v1/auth/b2b/login/basic`,
1097
- method: 'POST',
1098
- data: basicLoginParams,
1099
- secure: false,
1100
- headers: headers,
1101
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1102
- responseType: 'json'
1103
- });
1104
- }
1105
- /**
1106
- * @description logout from B2B user session
1107
- * @tags b2b_auth
1108
- * @name Logout
1109
- * @summary logout from B2B user session
1110
- * @request DELETE:/v1/auth/b2b/logout
1111
- */ logout(B2BLogoutParams, config) {
1112
- return this.apiClient.request({
1113
- ...config,
1114
- url: `/v1/auth/b2b/logout`,
1115
- method: 'DELETE',
1116
- data: B2BLogoutParams,
1117
- secure: false,
1118
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1119
- });
1120
- }
1121
- /**
1122
- * @description Refresh B2B user token pair
1123
- * @tags b2b_auth
1124
- * @name RefreshTokens
1125
- * @summary Refresh B2B user token pair
1126
- * @request POST:/v1/auth/b2b/refresh
1127
- */ refreshTokens(B2BRefreshParams, config) {
1128
- return this.apiClient.request({
1129
- ...config,
1130
- url: `/v1/auth/b2b/refresh`,
1131
- method: 'POST',
1132
- data: B2BRefreshParams,
1133
- secure: false,
1134
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1135
- responseType: 'json'
1136
- });
1137
- }
1138
- /**
1139
- * @description Reset B2B user password
1140
- * @tags b2b_auth
1141
- * @name ResetPassword
1142
- * @summary Reset B2B user password
1143
- * @request PUT:/v1/auth/b2b/reset-password
1144
- */ resetPassword(B2BResetPasswordParams, headers, config) {
1145
- return this.apiClient.request({
1146
- ...config,
1147
- url: `/v1/auth/b2b/reset-password`,
1148
- method: 'PUT',
1149
- data: B2BResetPasswordParams,
1150
- secure: false,
1151
- headers: headers,
1152
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1153
- responseType: 'json'
1154
- });
1155
- }
1156
- /**
1157
- * @description Send MFA code for B2B user
1158
- * @tags b2b_auth
1159
- * @name SendMfaCode
1160
- * @summary Send MFA code for B2B user
1161
- * @request PUT:/v1/auth/b2b/send-mfa-code
1162
- */ sendMfaCode(SendB2BMfaCodeDto, config) {
1163
- return this.apiClient.request({
1164
- ...config,
1165
- url: `/v1/auth/b2b/send-mfa-code`,
1166
- method: 'PUT',
1167
- data: SendB2BMfaCodeDto,
1168
- secure: false,
1169
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1170
- });
1171
- }
1172
- /**
1173
- * @description Send reset password code for B2B user
1174
- * @tags b2b_auth
1175
- * @name SendResetPasswordCode
1176
- * @summary Send reset password code for B2B user
1177
- * @request PUT:/v1/auth/b2b/send-reset-password-code
1178
- */ sendResetPasswordCode(B2BSendResetPasswordCodeParams, config) {
1179
- return this.apiClient.request({
1180
- ...config,
1181
- url: `/v1/auth/b2b/send-reset-password-code`,
1182
- method: 'PUT',
1183
- data: B2BSendResetPasswordCodeParams,
1184
- secure: false,
1185
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1186
- });
1187
- }
1188
- }
1189
-
1190
-
1191
- var $b2299ac954a8fc8d$exports = {};
1192
-
1193
- $parcel$export($b2299ac954a8fc8d$exports, "B2CAuth", () => $b2299ac954a8fc8d$export$191c573f104d53f4);
1194
- /* eslint-disable */ /* tslint:disable */ /*
1195
- * ---------------------------------------------------------------
1196
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1197
- * ## ##
1198
- * ## AUTHOR: acacode ##
1199
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1200
- * ---------------------------------------------------------------
1201
- */
1202
-
1203
- class $b2299ac954a8fc8d$export$191c573f104d53f4 {
1204
- constructor(apiClient){
1205
- this.apiClient = apiClient;
1206
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1207
- }
1208
- /**
1209
- * @description Get current B2C user info by access token.
1210
- * @tags b2c_auth
1211
- * @name GetCurrent
1212
- * @summary Get current B2C user info by access token
1213
- * @request GET:/v1/auth/b2c/current
1214
- * @secure
1215
- */ getCurrent(config) {
1216
- return this.apiClient.request({
1217
- ...config,
1218
- url: `/v1/auth/b2c/current`,
1219
- method: 'GET',
1220
- secure: true,
1221
- responseType: 'json'
1222
- });
1223
- }
1224
- /**
1225
- * @description Initialize Apple OAuth2 Login
1226
- * @tags b2c_auth
1227
- * @name InitAppleLogin
1228
- * @summary Initialize Apple OAuth2 Login
1229
- * @request POST:/v1/auth/b2c/login/apple
1230
- */ initAppleLogin(initOAuthLoginDto, headers, config) {
1231
- return this.apiClient.request({
1232
- ...config,
1233
- url: `/v1/auth/b2c/login/apple`,
1234
- method: 'POST',
1235
- data: initOAuthLoginDto,
1236
- secure: false,
1237
- headers: headers,
1238
- responseType: 'json'
1239
- });
1240
- }
1241
- /**
1242
- * @description Finish Apple OAuth2 Login
1243
- * @tags b2c_auth
1244
- * @name FinishAppleLogin
1245
- * @summary Finish Apple OAuth2 Login
1246
- * @request POST:/v1/auth/b2c/login/apple/callback
1247
- */ finishAppleLogin(finishOAuthLoginDto, config) {
1248
- return this.apiClient.request({
1249
- ...config,
1250
- url: `/v1/auth/b2c/login/apple/callback`,
1251
- method: 'POST',
1252
- data: finishOAuthLoginDto,
1253
- secure: false,
1254
- responseType: 'json'
1255
- });
1256
- }
1257
- /**
1258
- * @description Login B2C user by email/password.
1259
- * @tags b2c_auth
1260
- * @name BasicLogin
1261
- * @summary Login B2C user by email/password
1262
- * @request POST:/v1/auth/b2c/login/basic
1263
- */ basicLogin(basicLoginParams, headers, config) {
1264
- return this.apiClient.request({
1265
- ...config,
1266
- url: `/v1/auth/b2c/login/basic`,
1267
- method: 'POST',
1268
- data: basicLoginParams,
1269
- secure: false,
1270
- headers: headers,
1271
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1272
- responseType: 'json'
1273
- });
1274
- }
1275
- /**
1276
- * @description Initialize Google OAuth2 Login
1277
- * @tags b2c_auth
1278
- * @name InitGoogleLogin
1279
- * @summary Initialize Google OAuth2 Login
1280
- * @request POST:/v1/auth/b2c/login/google
1281
- */ initGoogleLogin(initOAuthLoginDto, headers, config) {
1282
- return this.apiClient.request({
1283
- ...config,
1284
- url: `/v1/auth/b2c/login/google`,
1285
- method: 'POST',
1286
- data: initOAuthLoginDto,
1287
- secure: false,
1288
- headers: headers,
1289
- responseType: 'json'
1290
- });
1291
- }
1292
- /**
1293
- * @description Finish Google OAuth2 Login
1294
- * @tags b2c_auth
1295
- * @name FinishGoogleLogin
1296
- * @summary Finish Google OAuth2 Login
1297
- * @request POST:/v1/auth/b2c/login/google/callback
1298
- */ finishGoogleLogin(finishOAuthLoginDto, config) {
1299
- return this.apiClient.request({
1300
- ...config,
1301
- url: `/v1/auth/b2c/login/google/callback`,
1302
- method: 'POST',
1303
- data: finishOAuthLoginDto,
1304
- secure: false,
1305
- responseType: 'json'
1306
- });
1307
- }
1308
- /**
1309
- * @description logout from B2C user session
1310
- * @tags b2c_auth
1311
- * @name Logout
1312
- * @summary logout from B2C user session
1313
- * @request DELETE:/v1/auth/b2c/logout
1314
- */ logout(B2CLogoutParams, config) {
1315
- return this.apiClient.request({
1316
- ...config,
1317
- url: `/v1/auth/b2c/logout`,
1318
- method: 'DELETE',
1319
- data: B2CLogoutParams,
1320
- secure: false,
1321
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1322
- });
1323
- }
1324
- /**
1325
- * @description Refresh B2C user token pair
1326
- * @tags b2c_auth
1327
- * @name RefreshTokens
1328
- * @summary Refresh B2C user token pair
1329
- * @request POST:/v1/auth/b2c/refresh
1330
- */ refreshTokens(b2cRefreshDto, headers, config) {
1331
- return this.apiClient.request({
1332
- ...config,
1333
- url: `/v1/auth/b2c/refresh`,
1334
- method: 'POST',
1335
- data: b2cRefreshDto,
1336
- secure: false,
1337
- headers: headers,
1338
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1339
- responseType: 'json'
1340
- });
1341
- }
1342
- /**
1343
- * @description Register new B2C user. This endpoint should be used for Web GUI only
1344
- * @tags b2c_auth
1345
- * @name Register
1346
- * @summary Register new B2C user
1347
- * @request POST:/v1/auth/b2c/register
1348
- */ register(registrationParams, headers, config) {
1349
- return this.apiClient.request({
1350
- ...config,
1351
- url: `/v1/auth/b2c/register`,
1352
- method: 'POST',
1353
- data: registrationParams,
1354
- secure: false,
1355
- headers: headers,
1356
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1357
- responseType: 'json'
1358
- });
1359
- }
1360
- /**
1361
- * @description Reset B2C user password
1362
- * @tags b2c_auth
1363
- * @name ResetPassword
1364
- * @summary Reset B2C user password
1365
- * @request PUT:/v1/auth/b2c/reset-password
1366
- */ resetPassword(B2CResetPasswordParams, headers, config) {
1367
- return this.apiClient.request({
1368
- ...config,
1369
- url: `/v1/auth/b2c/reset-password`,
1370
- method: 'PUT',
1371
- data: B2CResetPasswordParams,
1372
- secure: false,
1373
- headers: headers,
1374
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1375
- });
1376
- }
1377
- /**
1378
- * @description Send MFA code for B2C user
1379
- * @tags b2c_auth
1380
- * @name SendMfaCode
1381
- * @summary Send MFA code for B2C user
1382
- * @request PUT:/v1/auth/b2c/send-mfa-code
1383
- */ sendMfaCode(SendB2CMfaCodeDto, headers, config) {
1384
- return this.apiClient.request({
1385
- ...config,
1386
- url: `/v1/auth/b2c/send-mfa-code`,
1387
- method: 'PUT',
1388
- data: SendB2CMfaCodeDto,
1389
- secure: false,
1390
- headers: headers,
1391
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1392
- });
1393
- }
1394
- /**
1395
- * @description Send reset password code for B2C user
1396
- * @tags b2c_auth
1397
- * @name SendResetPasswordCode
1398
- * @summary Send reset password code for B2C user
1399
- * @request PUT:/v1/auth/b2c/send-reset-password-code
1400
- */ sendResetPasswordCode(B2CSendResetPasswordCodeParams, config) {
1401
- return this.apiClient.request({
1402
- ...config,
1403
- url: `/v1/auth/b2c/send-reset-password-code`,
1404
- method: 'PUT',
1405
- data: B2CSendResetPasswordCodeParams,
1406
- secure: false,
1407
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1408
- });
1409
- }
1410
- /**
1411
- * @description Send verification code for B2C user
1412
- * @tags b2c_auth
1413
- * @name SendVerificationCode
1414
- * @summary Send verification code for B2C user
1415
- * @request PUT:/v1/auth/b2c/send-verification-code
1416
- */ sendVerificationCode(B2CSendVerificationCodeDto, headers, config) {
1417
- return this.apiClient.request({
1418
- ...config,
1419
- url: `/v1/auth/b2c/send-verification-code`,
1420
- method: 'PUT',
1421
- data: B2CSendVerificationCodeDto,
1422
- secure: false,
1423
- headers: headers,
1424
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1425
- });
1426
- }
1427
- /**
1428
- * @description Verify contact for B2C user
1429
- * @tags b2c_auth
1430
- * @name VerifyContact
1431
- * @summary Verify contact for B2C user
1432
- * @request PUT:/v1/auth/b2c/verify
1433
- */ verifyContact(VerifyContactDto, headers, config) {
1434
- return this.apiClient.request({
1435
- ...config,
1436
- url: `/v1/auth/b2c/verify`,
1437
- method: 'PUT',
1438
- data: VerifyContactDto,
1439
- secure: false,
1440
- headers: headers,
1441
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1442
- });
1443
- }
1444
- }
1445
-
1446
-
1447
- var $ffa44a7a6cb1797b$exports = {};
1448
-
1449
- $parcel$export($ffa44a7a6cb1797b$exports, "Sessions", () => $ffa44a7a6cb1797b$export$c8d7e81b9a544c06);
1450
- /* eslint-disable */ /* tslint:disable */ /*
1451
- * ---------------------------------------------------------------
1452
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1453
- * ## ##
1454
- * ## AUTHOR: acacode ##
1455
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1456
- * ---------------------------------------------------------------
1457
- */
1458
-
1459
- class $ffa44a7a6cb1797b$export$c8d7e81b9a544c06 {
1460
- constructor(apiClient){
1461
- this.apiClient = apiClient;
1462
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1463
- }
1464
- /**
1465
- * @description et current user sessions info
1466
- * @tags sessions
1467
- * @name GetCurrentUserSessions
1468
- * @summary Get current user sessions info
1469
- * @request GET:/v1/auth/sessions
1470
- * @secure
1471
- */ getCurrentUserSessions(config) {
1472
- return this.apiClient.request({
1473
- ...config,
1474
- url: `/v1/auth/sessions`,
1475
- method: 'GET',
1476
- secure: true,
1477
- responseType: 'json'
1478
- });
1479
- }
1480
- /**
1481
- * @description Delete current user sessions by pair id's
1482
- * @tags sessions
1483
- * @name DeleteCurrentUserSessions
1484
- * @summary Delete current user sessions by pair id's
1485
- * @request DELETE:/v1/auth/sessions
1486
- * @secure
1487
- */ deleteCurrentUserSessions(deleteSessions, config) {
1488
- return this.apiClient.request({
1489
- ...config,
1490
- url: `/v1/auth/sessions`,
1491
- method: 'DELETE',
1492
- data: deleteSessions,
1493
- secure: true,
1494
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1495
- });
1496
- }
1497
- }
1498
-
1499
-
1500
- var $8a7b2186643ed4fa$exports = {};
1501
-
1502
- $parcel$export($8a7b2186643ed4fa$exports, "TrustedDevices", () => $8a7b2186643ed4fa$export$31b14c8b5a956c9c);
1503
- /* eslint-disable */ /* tslint:disable */ /*
1504
- * ---------------------------------------------------------------
1505
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1506
- * ## ##
1507
- * ## AUTHOR: acacode ##
1508
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1509
- * ---------------------------------------------------------------
1510
- */
1511
-
1512
- class $8a7b2186643ed4fa$export$31b14c8b5a956c9c {
1513
- constructor(apiClient){
1514
- this.apiClient = apiClient;
1515
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1516
- }
1517
- /**
1518
- * @description Delete trusted devices
1519
- * @tags trusted_devices
1520
- * @name DeleteMany
1521
- * @summary Delete trusted devices
1522
- * @request DELETE:/v1/auth/trusted-devices
1523
- * @secure
1524
- */ deleteMany(deleteTrustedDevicesDto, config) {
1525
- return this.apiClient.request({
1526
- ...config,
1527
- url: `/v1/auth/trusted-devices`,
1528
- method: 'DELETE',
1529
- data: deleteTrustedDevicesDto,
1530
- secure: true,
1531
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1532
- });
1533
- }
1534
- /**
1535
- * @description Get trusted devices
1536
- * @tags trusted_devices
1537
- * @name Get
1538
- * @summary Get trusted devices
1539
- * @request POST:/v1/auth/trusted-devices/list
1540
- * @secure
1541
- */ get(getTrustedDevicesListDto, config) {
1542
- return this.apiClient.request({
1543
- ...config,
1544
- url: `/v1/auth/trusted-devices/list`,
1545
- method: 'POST',
1546
- data: getTrustedDevicesListDto,
1547
- secure: true,
1548
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1549
- responseType: 'json'
1550
- });
1551
- }
1552
- }
1553
-
1554
-
1555
- var $3d93a2bbc8d670c7$exports = {};
1556
-
1557
- $parcel$export($3d93a2bbc8d670c7$exports, "WatchmenAuth", () => $3d93a2bbc8d670c7$export$b5681ba9d8d05c26);
1558
- /* eslint-disable */ /* tslint:disable */ /*
1559
- * ---------------------------------------------------------------
1560
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1561
- * ## ##
1562
- * ## AUTHOR: acacode ##
1563
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1564
- * ---------------------------------------------------------------
1565
- */
1566
-
1567
- class $3d93a2bbc8d670c7$export$b5681ba9d8d05c26 {
1568
- constructor(apiClient){
1569
- this.apiClient = apiClient;
1570
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1571
- }
1572
- /**
1573
- * @description Generate Watchmen Auth Token
1574
- * @tags watchmen_auth
1575
- * @name GenerateWatchmenAuthToken
1576
- * @summary Generate Watchmen Auth Token
1577
- * @request POST:/v1/auth/watchmen/authentication-tokens
1578
- * @secure
1579
- */ generateWatchmenAuthToken(generateWatchmenAuthTokenDto, config) {
1580
- return this.apiClient.request({
1581
- ...config,
1582
- url: `/v1/auth/watchmen/authentication-tokens`,
1583
- method: 'POST',
1584
- data: generateWatchmenAuthTokenDto,
1585
- secure: true,
1586
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1587
- responseType: 'json'
1588
- });
1589
- }
1590
- /**
1591
- * @description Verify Watchmen Auth Token
1592
- * @tags watchmen_auth
1593
- * @name VerifyWatchmenAuthToken
1594
- * @summary Verify Watchmen Auth Token
1595
- * @request PUT:/v1/auth/watchmen/authentication-tokens/verify
1596
- * @secure
1597
- */ verifyWatchmenAuthToken(verifyWatchmenAuthToken, config) {
1598
- return this.apiClient.request({
1599
- ...config,
1600
- url: `/v1/auth/watchmen/authentication-tokens/verify`,
1601
- method: 'PUT',
1602
- data: verifyWatchmenAuthToken,
1603
- secure: true,
1604
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1605
- responseType: 'json'
1606
- });
1607
- }
1608
- }
1609
-
1610
-
1611
- var $9f9d15a2ead3d19e$exports = {};
1612
-
1613
- $parcel$export($9f9d15a2ead3d19e$exports, "ApiKeys", () => $9f9d15a2ead3d19e$export$a67a305ca3f5ec6a);
1614
- /* eslint-disable */ /* tslint:disable */ /*
1615
- * ---------------------------------------------------------------
1616
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1617
- * ## ##
1618
- * ## AUTHOR: acacode ##
1619
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1620
- * ---------------------------------------------------------------
1621
- */
1622
-
1623
- class $9f9d15a2ead3d19e$export$a67a305ca3f5ec6a {
1624
- constructor(apiClient){
1625
- this.apiClient = apiClient;
1626
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1627
- }
1628
- /**
1629
- * @description Delete API Key by id (would throw 404 error if API key not found or belongs to different user)
1630
- * @tags api_keys
1631
- * @name DeleteMany
1632
- * @summary Delete API Key by id
1633
- * @request DELETE:/v1/b2b/api-keys
1634
- * @secure
1635
- */ deleteMany(deleteAPIKeys, config) {
1636
- return this.apiClient.request({
1637
- ...config,
1638
- url: `/v1/b2b/api-keys`,
1639
- method: 'DELETE',
1640
- data: deleteAPIKeys,
1641
- secure: true,
1642
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1643
- });
1644
- }
1645
- /**
1646
- * @description Get APIKey by id
1647
- * @tags api_keys
1648
- * @name GetById
1649
- * @summary Get APIKey by id
1650
- * @request GET:/v1/b2b/api-keys/{id}
1651
- * @secure
1652
- */ getById(id, config) {
1653
- return this.apiClient.request({
1654
- ...config,
1655
- url: `/v1/b2b/api-keys/${id}`,
1656
- method: 'GET',
1657
- secure: true,
1658
- responseType: 'json'
1659
- });
1660
- }
1661
- /**
1662
- * @description Create API Key & API Secret Pair. API Secret won't be accessible for read after that
1663
- * @tags api_keys
1664
- * @name Create
1665
- * @summary Create API Key & API Secret Pair
1666
- * @request POST:/v2/b2b/api-keys
1667
- * @secure
1668
- */ create(createApiKeys, config) {
1669
- return this.apiClient.request({
1670
- ...config,
1671
- url: `/v2/b2b/api-keys`,
1672
- method: 'POST',
1673
- data: createApiKeys,
1674
- secure: true,
1675
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1676
- responseType: 'json'
1677
- });
1678
- }
1679
- /**
1680
- * @description Get API Keys info(would return API Keys without secrets)
1681
- * @tags api_keys
1682
- * @name Get
1683
- * @summary Get API Keys info(would return API Keys without secrets)
1684
- * @request POST:/v2/b2b/api-keys/list
1685
- * @secure
1686
- */ get(apiKeys, config) {
1687
- return this.apiClient.request({
1688
- ...config,
1689
- url: `/v2/b2b/api-keys/list`,
1690
- method: 'POST',
1691
- data: apiKeys,
1692
- secure: true,
1693
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1694
- responseType: 'json'
1695
- });
1696
- }
1697
- /**
1698
- * @description Update API Key Record
1699
- * @tags api_keys
1700
- * @name Update
1701
- * @summary Update API Key Record
1702
- * @request PUT:/v2/b2b/api-keys/{id}
1703
- * @secure
1704
- */ update(id, apiKeys, config) {
1705
- return this.apiClient.request({
1706
- ...config,
1707
- url: `/v2/b2b/api-keys/${id}`,
1708
- method: 'PUT',
1709
- data: apiKeys,
1710
- secure: true,
1711
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1712
- responseType: 'json'
1713
- });
1714
- }
1715
- }
1716
-
1717
-
1718
- var $99f79cb7451ae9b4$exports = {};
1719
-
1720
- $parcel$export($99f79cb7451ae9b4$exports, "Endpoints", () => $99f79cb7451ae9b4$export$eed022e50baffed5);
1721
- /* eslint-disable */ /* tslint:disable */ /*
1722
- * ---------------------------------------------------------------
1723
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1724
- * ## ##
1725
- * ## AUTHOR: acacode ##
1726
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1727
- * ---------------------------------------------------------------
1728
- */
1729
-
1730
- class $99f79cb7451ae9b4$export$eed022e50baffed5 {
1731
- constructor(apiClient){
1732
- this.apiClient = apiClient;
1733
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1734
- }
1735
- /**
1736
- * @description Create Endpoint
1737
- * @tags endpoints
1738
- * @name Create
1739
- * @summary Create Endpoint
1740
- * @request POST:/v1/b2b/endpoints
1741
- * @secure
1742
- */ create(endpointDto, config) {
1743
- return this.apiClient.request({
1744
- ...config,
1745
- url: `/v1/b2b/endpoints`,
1746
- method: 'POST',
1747
- data: endpointDto,
1748
- secure: true,
1749
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1750
- responseType: 'json'
1751
- });
1752
- }
1753
- /**
1754
- * @description Delete endpoint by id
1755
- * @tags endpoints
1756
- * @name DeleteMany
1757
- * @summary Delete endpoint by id
1758
- * @request DELETE:/v1/b2b/endpoints
1759
- * @secure
1760
- */ deleteMany(deleteEndpointsDto, config) {
1761
- return this.apiClient.request({
1762
- ...config,
1763
- url: `/v1/b2b/endpoints`,
1764
- method: 'DELETE',
1765
- data: deleteEndpointsDto,
1766
- secure: true,
1767
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1768
- });
1769
- }
1770
- /**
1771
- * @description Get Endpoint by id
1772
- * @tags endpoints
1773
- * @name GetById
1774
- * @summary Get Endpoint by id
1775
- * @request GET:/v1/b2b/endpoints/{id}
1776
- * @secure
1777
- */ getById(id, config) {
1778
- return this.apiClient.request({
1779
- ...config,
1780
- url: `/v1/b2b/endpoints/${id}`,
1781
- method: 'GET',
1782
- secure: true,
1783
- responseType: 'json'
1784
- });
1785
- }
1786
- /**
1787
- * @description Update endpoint record
1788
- * @tags endpoints
1789
- * @name Update
1790
- * @summary Update endpoint record
1791
- * @request PUT:/v1/b2b/endpoints/{id}
1792
- * @secure
1793
- */ update(id, endpointDto, config) {
1794
- return this.apiClient.request({
1795
- ...config,
1796
- url: `/v1/b2b/endpoints/${id}`,
1797
- method: 'PUT',
1798
- data: endpointDto,
1799
- secure: true,
1800
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1801
- responseType: 'json'
1802
- });
1803
- }
1804
- /**
1805
- * @description Get endpoints with pagination
1806
- * @tags endpoints
1807
- * @name Get
1808
- * @summary Get endpoints with pagination
1809
- * @request POST:/v2/b2b/endpoints/list
1810
- * @secure
1811
- */ get(endpointDto, config) {
1812
- return this.apiClient.request({
1813
- ...config,
1814
- url: `/v2/b2b/endpoints/list`,
1815
- method: 'POST',
1816
- data: endpointDto,
1817
- secure: true,
1818
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1819
- responseType: 'json'
1820
- });
1821
- }
1822
- }
1823
-
1824
-
1825
- var $df695f87ca5b91a2$exports = {};
1826
-
1827
- $parcel$export($df695f87ca5b91a2$exports, "IdentityProviders", () => $df695f87ca5b91a2$export$5887f54682395684);
1828
- /* eslint-disable */ /* tslint:disable */ /*
1829
- * ---------------------------------------------------------------
1830
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1831
- * ## ##
1832
- * ## AUTHOR: acacode ##
1833
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1834
- * ---------------------------------------------------------------
1835
- */
1836
-
1837
- class $df695f87ca5b91a2$export$5887f54682395684 {
1838
- constructor(apiClient){
1839
- this.apiClient = apiClient;
1840
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1841
- }
1842
- /**
1843
- * @description Create Identity Provider
1844
- * @tags identity_providers
1845
- * @name Create
1846
- * @summary Create Identity Provider
1847
- * @request POST:/v1/b2b/identity-providers
1848
- * @secure
1849
- */ create(createIdentityProviderDto, config) {
1850
- return this.apiClient.request({
1851
- ...config,
1852
- url: `/v1/b2b/identity-providers`,
1853
- method: 'POST',
1854
- data: createIdentityProviderDto,
1855
- secure: true,
1856
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1857
- responseType: 'json'
1858
- });
1859
- }
1860
- /**
1861
- * @description Delete Identity providers by id
1862
- * @tags identity_providers
1863
- * @name DeleteMany
1864
- * @summary Delete Identity providers by ids
1865
- * @request DELETE:/v1/b2b/identity-providers
1866
- * @secure
1867
- */ deleteMany(deleteIdentityProvidersDto, config) {
1868
- return this.apiClient.request({
1869
- ...config,
1870
- url: `/v1/b2b/identity-providers`,
1871
- method: 'DELETE',
1872
- data: deleteIdentityProvidersDto,
1873
- secure: true,
1874
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1875
- });
1876
- }
1877
- /**
1878
- * @description Get Identity Provider by id
1879
- * @tags identity_providers
1880
- * @name GetById
1881
- * @summary Get Identity Provider by id
1882
- * @request GET:/v1/b2b/identity-providers/{id}
1883
- * @secure
1884
- */ getById(id, config) {
1885
- return this.apiClient.request({
1886
- ...config,
1887
- url: `/v1/b2b/identity-providers/${id}`,
1888
- method: 'GET',
1889
- secure: true,
1890
- responseType: 'json'
1891
- });
1892
- }
1893
- /**
1894
- * @description Update identity provider record
1895
- * @tags identity_providers
1896
- * @name Update
1897
- * @summary Update identity provider record
1898
- * @request PUT:/v1/b2b/identity-providers/{id}
1899
- * @secure
1900
- */ update(id, identityProvidersDto, config) {
1901
- return this.apiClient.request({
1902
- ...config,
1903
- url: `/v1/b2b/identity-providers/${id}`,
1904
- method: 'PUT',
1905
- data: identityProvidersDto,
1906
- secure: true,
1907
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1908
- responseType: 'json'
1909
- });
1910
- }
1911
- /**
1912
- * @description Get Identity Providers with pagination
1913
- * @tags identity_providers
1914
- * @name Get
1915
- * @summary Get Identity Providers with pagination
1916
- * @request POST:/v2/b2b/identity-providers/list
1917
- * @secure
1918
- */ get(identityProvidersDto, config) {
1919
- return this.apiClient.request({
1920
- ...config,
1921
- url: `/v2/b2b/identity-providers/list`,
1922
- method: 'POST',
1923
- data: identityProvidersDto,
1924
- secure: true,
1925
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1926
- responseType: 'json'
1927
- });
1928
- }
1929
- }
1930
-
1931
-
1932
- var $ce569e5a995481c0$exports = {};
1933
-
1934
- $parcel$export($ce569e5a995481c0$exports, "Microservices", () => $ce569e5a995481c0$export$336c46c9fcb38eaa);
1935
- /* eslint-disable */ /* tslint:disable */ /*
1936
- * ---------------------------------------------------------------
1937
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
1938
- * ## ##
1939
- * ## AUTHOR: acacode ##
1940
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
1941
- * ---------------------------------------------------------------
1942
- */
1943
-
1944
- class $ce569e5a995481c0$export$336c46c9fcb38eaa {
1945
- constructor(apiClient){
1946
- this.apiClient = apiClient;
1947
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
1948
- }
1949
- /**
1950
- * @description Create Microservice with domains, used to proxy user requests from public domains to internal
1951
- * @tags microservices
1952
- * @name Create
1953
- * @summary Create Microservice
1954
- * @request POST:/v1/b2b/microservices
1955
- * @secure
1956
- */ create(microserviceDto, config) {
1957
- return this.apiClient.request({
1958
- ...config,
1959
- url: `/v1/b2b/microservices`,
1960
- method: 'POST',
1961
- data: microserviceDto,
1962
- secure: true,
1963
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
1964
- responseType: 'json'
1965
- });
1966
- }
1967
- /**
1968
- * @description Delete microservice by id
1969
- * @tags microservices
1970
- * @name DeleteMany
1971
- * @summary Delete microservice by id
1972
- * @request DELETE:/v1/b2b/microservices
1973
- * @secure
1974
- */ deleteMany(deleteMicroservices, config) {
1975
- return this.apiClient.request({
1976
- ...config,
1977
- url: `/v1/b2b/microservices`,
1978
- method: 'DELETE',
1979
- data: deleteMicroservices,
1980
- secure: true,
1981
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
1982
- });
1983
- }
1984
- /**
1985
- * @description Get Microservice by id
1986
- * @tags microservices
1987
- * @name GetById
1988
- * @summary Get Microservice by id
1989
- * @request GET:/v1/b2b/microservices/{id}
1990
- * @secure
1991
- */ getById(id, config) {
1992
- return this.apiClient.request({
1993
- ...config,
1994
- url: `/v1/b2b/microservices/${id}`,
1995
- method: 'GET',
1996
- secure: true,
1997
- responseType: 'json'
1998
- });
1999
- }
2000
- /**
2001
- * @description Update microservice record
2002
- * @tags microservices
2003
- * @name Update
2004
- * @summary Update microservice record
2005
- * @request PUT:/v1/b2b/microservices/{id}
2006
- * @secure
2007
- */ update(id, microserviceDto, config) {
2008
- return this.apiClient.request({
2009
- ...config,
2010
- url: `/v1/b2b/microservices/${id}`,
2011
- method: 'PUT',
2012
- data: microserviceDto,
2013
- secure: true,
2014
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2015
- responseType: 'json'
2016
- });
2017
- }
2018
- /**
2019
- * @description Get microservices with pagination
2020
- * @tags microservices
2021
- * @name Get
2022
- * @summary Get microservices with pagination
2023
- * @request POST:/v2/b2b/microservices/list
2024
- * @secure
2025
- */ get(microserviceDto, config) {
2026
- return this.apiClient.request({
2027
- ...config,
2028
- url: `/v2/b2b/microservices/list`,
2029
- method: 'POST',
2030
- data: microserviceDto,
2031
- secure: true,
2032
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2033
- responseType: 'json'
2034
- });
2035
- }
2036
- }
2037
-
2038
-
2039
- var $3b4bcede9184e796$exports = {};
2040
-
2041
- $parcel$export($3b4bcede9184e796$exports, "RoleTypes", () => $3b4bcede9184e796$export$2cb4a31baf73b247);
2042
- /* eslint-disable */ /* tslint:disable */ /*
2043
- * ---------------------------------------------------------------
2044
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2045
- * ## ##
2046
- * ## AUTHOR: acacode ##
2047
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2048
- * ---------------------------------------------------------------
2049
- */
2050
-
2051
- class $3b4bcede9184e796$export$2cb4a31baf73b247 {
2052
- constructor(apiClient){
2053
- this.apiClient = apiClient;
2054
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2055
- }
2056
- /**
2057
- * @description Create Role Type
2058
- * @tags role_types
2059
- * @name Create
2060
- * @summary Create Role Type
2061
- * @request POST:/v1/b2b/role-types
2062
- * @secure
2063
- */ create(createRoleType, config) {
2064
- return this.apiClient.request({
2065
- ...config,
2066
- url: `/v1/b2b/role-types`,
2067
- method: 'POST',
2068
- data: createRoleType,
2069
- secure: true,
2070
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2071
- responseType: 'json'
2072
- });
2073
- }
2074
- /**
2075
- * @description Delete Role Types by ids
2076
- * @tags role_types
2077
- * @name DeleteMany
2078
- * @summary Delete Role Types by ids
2079
- * @request DELETE:/v1/b2b/role-types
2080
- * @secure
2081
- */ deleteMany(deleteRoleTypes, config) {
2082
- return this.apiClient.request({
2083
- ...config,
2084
- url: `/v1/b2b/role-types`,
2085
- method: 'DELETE',
2086
- data: deleteRoleTypes,
2087
- secure: true,
2088
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2089
- });
2090
- }
2091
- /**
2092
- * @description Get Role Type by id
2093
- * @tags role_types
2094
- * @name GetById
2095
- * @summary Get Role Type by id
2096
- * @request GET:/v1/b2b/role-types/{id}
2097
- * @secure
2098
- */ getById(id, config) {
2099
- return this.apiClient.request({
2100
- ...config,
2101
- url: `/v1/b2b/role-types/${id}`,
2102
- method: 'GET',
2103
- secure: true,
2104
- responseType: 'json'
2105
- });
2106
- }
2107
- /**
2108
- * @description Update Role Type
2109
- * @tags role_types
2110
- * @name Update
2111
- * @summary Update Role Type
2112
- * @request PUT:/v1/b2b/role-types/{id}
2113
- * @secure
2114
- */ update(id, updateRoleType, config) {
2115
- return this.apiClient.request({
2116
- ...config,
2117
- url: `/v1/b2b/role-types/${id}`,
2118
- method: 'PUT',
2119
- data: updateRoleType,
2120
- secure: true,
2121
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2122
- responseType: 'json'
2123
- });
2124
- }
2125
- /**
2126
- * @description Get Role Types with pagination
2127
- * @tags role_types
2128
- * @name Get
2129
- * @summary Get Role Types with pagination
2130
- * @request POST:/v2/b2b/role-types/list
2131
- * @secure
2132
- */ get(getRoleTypes, config) {
2133
- return this.apiClient.request({
2134
- ...config,
2135
- url: `/v2/b2b/role-types/list`,
2136
- method: 'POST',
2137
- data: getRoleTypes,
2138
- secure: true,
2139
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2140
- responseType: 'json'
2141
- });
2142
- }
2143
- }
2144
-
2145
-
2146
- var $e62712fa17120ca8$exports = {};
2147
-
2148
- $parcel$export($e62712fa17120ca8$exports, "B2BUserSettings", () => $e62712fa17120ca8$export$cdea59308760ada2);
2149
- /* eslint-disable */ /* tslint:disable */ /*
2150
- * ---------------------------------------------------------------
2151
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2152
- * ## ##
2153
- * ## AUTHOR: acacode ##
2154
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2155
- * ---------------------------------------------------------------
2156
- */
2157
-
2158
- class $e62712fa17120ca8$export$cdea59308760ada2 {
2159
- constructor(apiClient){
2160
- this.apiClient = apiClient;
2161
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2162
- }
2163
- /**
2164
- * @description Set B2B User Settings ReCAPTCHA code is required in following cases (if proper Debug-Token was not provided): 1. User changes email 2. User changes password 3. User changes/verifies phone number
2165
- * @tags b2b_user_settings
2166
- * @name SetUserSettings
2167
- * @summary Set B2B User Settings
2168
- * @request PUT:/v1/b2b/settings
2169
- * @secure
2170
- */ setUserSettings(setB2BUserSettings, headers, config) {
2171
- return this.apiClient.request({
2172
- ...config,
2173
- url: `/v1/b2b/settings`,
2174
- method: 'PUT',
2175
- data: setB2BUserSettings,
2176
- secure: true,
2177
- headers: headers,
2178
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2179
- responseType: 'json'
2180
- });
2181
- }
2182
- /**
2183
- * @description Upload avatar for B2B user
2184
- * @tags b2b_user_settings
2185
- * @name UploadAvatar
2186
- * @summary Upload avatar for B2B user
2187
- * @request PUT:/v1/b2b/settings/avatar
2188
- * @secure
2189
- */ uploadAvatar(data, config) {
2190
- return this.apiClient.request({
2191
- ...config,
2192
- url: `/v1/b2b/settings/avatar`,
2193
- method: 'PUT',
2194
- data: data,
2195
- secure: true,
2196
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).FormData
2197
- });
2198
- }
2199
- /**
2200
- * @description Send B2B user contact change code
2201
- * @tags b2b_user_settings
2202
- * @name SendContactChangeCode
2203
- * @summary Send B2B user contact change code
2204
- * @request POST:/v1/b2b/settings/codes
2205
- * @secure
2206
- */ sendContactChangeCode(b2bSendContactChangeCodeDto, headers, config) {
2207
- return this.apiClient.request({
2208
- ...config,
2209
- url: `/v1/b2b/settings/codes`,
2210
- method: 'POST',
2211
- data: b2bSendContactChangeCodeDto,
2212
- secure: true,
2213
- headers: headers,
2214
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2215
- });
2216
- }
2217
- }
2218
-
2219
-
2220
- var $9c457e9a76889c9b$exports = {};
2221
-
2222
- $parcel$export($9c457e9a76889c9b$exports, "Branches", () => $9c457e9a76889c9b$export$bec84148410bc670);
2223
- /* eslint-disable */ /* tslint:disable */ /*
2224
- * ---------------------------------------------------------------
2225
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2226
- * ## ##
2227
- * ## AUTHOR: acacode ##
2228
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2229
- * ---------------------------------------------------------------
2230
- */
2231
-
2232
- class $9c457e9a76889c9b$export$bec84148410bc670 {
2233
- constructor(apiClient){
2234
- this.apiClient = apiClient;
2235
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2236
- }
2237
- /**
2238
- * @description Create Branch
2239
- * @tags branches
2240
- * @name Create
2241
- * @summary Create Branch
2242
- * @request POST:/v1/branches
2243
- * @secure
2244
- */ create(createBranch, config) {
2245
- return this.apiClient.request({
2246
- ...config,
2247
- url: `/v1/branches`,
2248
- method: 'POST',
2249
- data: createBranch,
2250
- secure: true,
2251
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2252
- responseType: 'json'
2253
- });
2254
- }
2255
- /**
2256
- * @description Delete Branch by id
2257
- * @tags branches
2258
- * @name DeleteMany
2259
- * @summary Delete Branch by id
2260
- * @request DELETE:/v1/branches
2261
- * @secure
2262
- */ deleteMany(deleteBranches, config) {
2263
- return this.apiClient.request({
2264
- ...config,
2265
- url: `/v1/branches`,
2266
- method: 'DELETE',
2267
- data: deleteBranches,
2268
- secure: true,
2269
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2270
- });
2271
- }
2272
- /**
2273
- * @description Get Branch by id
2274
- * @tags branches
2275
- * @name GetById
2276
- * @summary Get Branch by id
2277
- * @request GET:/v1/branches/{id}
2278
- * @secure
2279
- */ getById(id, config) {
2280
- return this.apiClient.request({
2281
- ...config,
2282
- url: `/v1/branches/${id}`,
2283
- method: 'GET',
2284
- secure: true,
2285
- responseType: 'json'
2286
- });
2287
- }
2288
- /**
2289
- * @description Update Branch
2290
- * @tags branches
2291
- * @name Update
2292
- * @summary Update Branch
2293
- * @request PUT:/v1/branches/{id}
2294
- * @secure
2295
- */ update(id, updateBranch, config) {
2296
- return this.apiClient.request({
2297
- ...config,
2298
- url: `/v1/branches/${id}`,
2299
- method: 'PUT',
2300
- data: updateBranch,
2301
- secure: true,
2302
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2303
- responseType: 'json'
2304
- });
2305
- }
2306
- /**
2307
- * @description Get Branches with pagination
2308
- * @tags branches
2309
- * @name Get
2310
- * @summary Get Branches with pagination
2311
- * @request POST:/v2/branches/list
2312
- * @secure
2313
- */ get(getBranches, config) {
2314
- return this.apiClient.request({
2315
- ...config,
2316
- url: `/v2/branches/list`,
2317
- method: 'POST',
2318
- data: getBranches,
2319
- secure: true,
2320
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2321
- responseType: 'json'
2322
- });
2323
- }
2324
- }
2325
-
2326
-
2327
- var $1e21fcd680cfce14$exports = {};
2328
-
2329
- $parcel$export($1e21fcd680cfce14$exports, "TablePresets", () => $1e21fcd680cfce14$export$f946eed22c6da23d);
2330
- /* eslint-disable */ /* tslint:disable */ /*
2331
- * ---------------------------------------------------------------
2332
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2333
- * ## ##
2334
- * ## AUTHOR: acacode ##
2335
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2336
- * ---------------------------------------------------------------
2337
- */
2338
-
2339
- class $1e21fcd680cfce14$export$f946eed22c6da23d {
2340
- constructor(apiClient){
2341
- this.apiClient = apiClient;
2342
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2343
- }
2344
- /**
2345
- * @description Get user Table Presets
2346
- * @tags table_presets
2347
- * @name GetUserPresets
2348
- * @summary Get user Table Presets
2349
- * @request GET:/v1/b2b/table-presets
2350
- * @secure
2351
- */ getUserPresets(config) {
2352
- return this.apiClient.request({
2353
- ...config,
2354
- url: `/v1/b2b/table-presets`,
2355
- method: 'GET',
2356
- secure: true,
2357
- responseType: 'json'
2358
- });
2359
- }
2360
- /**
2361
- * @description Upsert Table Preset
2362
- * @tags table_presets
2363
- * @name Upsert
2364
- * @summary Upsert Table Preset
2365
- * @request PUT:/v1/b2b/table-presets
2366
- * @secure
2367
- */ upsert(upsertTablePreset, config) {
2368
- return this.apiClient.request({
2369
- ...config,
2370
- url: `/v1/b2b/table-presets`,
2371
- method: 'PUT',
2372
- data: upsertTablePreset,
2373
- secure: true,
2374
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2375
- responseType: 'json'
2376
- });
2377
- }
2378
- }
2379
-
2380
-
2381
- var $6a1ecdc6ed5475ef$exports = {};
2382
-
2383
- $parcel$export($6a1ecdc6ed5475ef$exports, "B2CUserSettings", () => $6a1ecdc6ed5475ef$export$af92e794dd76d018);
2384
- /* eslint-disable */ /* tslint:disable */ /*
2385
- * ---------------------------------------------------------------
2386
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2387
- * ## ##
2388
- * ## AUTHOR: acacode ##
2389
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2390
- * ---------------------------------------------------------------
2391
- */
2392
-
2393
- class $6a1ecdc6ed5475ef$export$af92e794dd76d018 {
2394
- constructor(apiClient){
2395
- this.apiClient = apiClient;
2396
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2397
- }
2398
- /**
2399
- * @description Set B2C User Settings (test)
2400
- * @tags b2c_user_settings
2401
- * @name SetUserSettings
2402
- * @summary Set B2C User Settings
2403
- * @request PUT:/v1/b2c/settings
2404
- * @secure
2405
- */ setUserSettings(setB2CUserSettings, headers, config) {
2406
- return this.apiClient.request({
2407
- ...config,
2408
- url: `/v1/b2c/settings`,
2409
- method: 'PUT',
2410
- data: setB2CUserSettings,
2411
- secure: true,
2412
- headers: headers,
2413
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2414
- responseType: 'json'
2415
- });
2416
- }
2417
- /**
2418
- * @description Send B2C user contact change code
2419
- * @tags b2c_user_settings
2420
- * @name SendContactChangeCode
2421
- * @summary Send B2C user contact change code
2422
- * @request POST:/v1/b2c/settings/codes
2423
- * @secure
2424
- */ sendContactChangeCode(b2cSendContactChangeCodeDto, headers, config) {
2425
- return this.apiClient.request({
2426
- ...config,
2427
- url: `/v1/b2c/settings/codes`,
2428
- method: 'POST',
2429
- data: b2cSendContactChangeCodeDto,
2430
- secure: true,
2431
- headers: headers,
2432
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2433
- });
2434
- }
2435
- /**
2436
- * @description Get Available B2C Branch Mfa Options
2437
- * @tags b2c_user_settings
2438
- * @name AvailableMfaOptions
2439
- * @summary Get Available B2C Branch Mfa Options
2440
- * @request GET:/v1/b2c/settings/mfa-options
2441
- * @secure
2442
- */ availableMfaOptions(headers, config) {
2443
- return this.apiClient.request({
2444
- ...config,
2445
- url: `/v1/b2c/settings/mfa-options`,
2446
- method: 'GET',
2447
- secure: true,
2448
- headers: headers,
2449
- responseType: 'json'
2450
- });
2451
- }
2452
- /**
2453
- * @description Delete B2C OAuth2 Bindings
2454
- * @tags b2c_user_settings
2455
- * @name DeleteManyOAuthBindings
2456
- * @summary Delete B2C OAuth2 Bindings
2457
- * @request DELETE:/v1/b2c/settings/oauth-links
2458
- * @secure
2459
- */ deleteManyOAuthBindings(deleteByIDsDto, config) {
2460
- return this.apiClient.request({
2461
- ...config,
2462
- url: `/v1/b2c/settings/oauth-links`,
2463
- method: 'DELETE',
2464
- data: deleteByIDsDto,
2465
- secure: true,
2466
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2467
- });
2468
- }
2469
- /**
2470
- * @description Finish Apple OAuth2 Profile Linking
2471
- * @tags b2c_user_settings
2472
- * @name FinishAppleProfileLinking
2473
- * @summary Finish Apple OAuth2 Profile Linking
2474
- * @request POST:/v1/b2c/settings/oauth-links/apple/finish
2475
- */ finishAppleProfileLinking(finishOAuthLoginDto, config) {
2476
- return this.apiClient.request({
2477
- ...config,
2478
- url: `/v1/b2c/settings/oauth-links/apple/finish`,
2479
- method: 'POST',
2480
- data: finishOAuthLoginDto,
2481
- secure: false,
2482
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2483
- });
2484
- }
2485
- /**
2486
- * @description Initialize Apple OAuth2 Profile Linking
2487
- * @tags b2c_user_settings
2488
- * @name InitAppleProfileLinking
2489
- * @summary Initialize Apple OAuth2 Profile Linking
2490
- * @request POST:/v1/b2c/settings/oauth-links/apple/start
2491
- * @secure
2492
- */ initAppleProfileLinking(initOAuthLinkingDto, config) {
2493
- return this.apiClient.request({
2494
- ...config,
2495
- url: `/v1/b2c/settings/oauth-links/apple/start`,
2496
- method: 'POST',
2497
- data: initOAuthLinkingDto,
2498
- secure: true,
2499
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2500
- responseType: 'json'
2501
- });
2502
- }
2503
- /**
2504
- * @description Finish Google OAuth2 Profile Linking
2505
- * @tags b2c_user_settings
2506
- * @name FinishGoogleProfileLinking
2507
- * @summary Finish Google OAuth2 Profile Linking
2508
- * @request POST:/v1/b2c/settings/oauth-links/google/finish
2509
- */ finishGoogleProfileLinking(finishOAuthLoginDto, config) {
2510
- return this.apiClient.request({
2511
- ...config,
2512
- url: `/v1/b2c/settings/oauth-links/google/finish`,
2513
- method: 'POST',
2514
- data: finishOAuthLoginDto,
2515
- secure: false,
2516
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2517
- });
2518
- }
2519
- /**
2520
- * @description Initialize Google OAuth2 Profile Linking
2521
- * @tags b2c_user_settings
2522
- * @name InitGoogleProfileLinking
2523
- * @summary Initialize Google OAuth2 Profile Linking
2524
- * @request POST:/v1/b2c/settings/oauth-links/google/start
2525
- * @secure
2526
- */ initGoogleProfileLinking(initOAuthLinkingDto, config) {
2527
- return this.apiClient.request({
2528
- ...config,
2529
- url: `/v1/b2c/settings/oauth-links/google/start`,
2530
- method: 'POST',
2531
- data: initOAuthLinkingDto,
2532
- secure: true,
2533
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2534
- responseType: 'json'
2535
- });
2536
- }
2537
- /**
2538
- * @description Get B2C OAuth2 Bindings with pagination. Available sort fields are `id, name, app_type, b2b_user_id, b2c_user_id, provider_user_id, created_at, updated_at`. Search is performed by `name, app_type, provider_user_id` fields
2539
- * @tags b2c_user_settings
2540
- * @name GetOAuthBindings
2541
- * @summary Get B2C OAuth2 Bindings with pagination
2542
- * @request POST:/v1/b2c/settings/oauth-links/list
2543
- * @secure
2544
- */ getOAuthBindings(getOAuth2BindingsListDto, config) {
2545
- return this.apiClient.request({
2546
- ...config,
2547
- url: `/v1/b2c/settings/oauth-links/list`,
2548
- method: 'POST',
2549
- data: getOAuth2BindingsListDto,
2550
- secure: true,
2551
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2552
- responseType: 'json'
2553
- });
2554
- }
2555
- }
2556
-
2557
-
2558
- var $0715cbeed7b5f858$exports = {};
2559
-
2560
- $parcel$export($0715cbeed7b5f858$exports, "Countries", () => $0715cbeed7b5f858$export$b33f41d0b11df887);
2561
- /* eslint-disable */ /* tslint:disable */ /*
2562
- * ---------------------------------------------------------------
2563
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2564
- * ## ##
2565
- * ## AUTHOR: acacode ##
2566
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2567
- * ---------------------------------------------------------------
2568
- */
2569
- class $0715cbeed7b5f858$export$b33f41d0b11df887 {
2570
- constructor(apiClient){
2571
- this.apiClient = apiClient;
2572
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2573
- }
2574
- /**
2575
- * @description Get Countries info
2576
- * @tags countries
2577
- * @name Get
2578
- * @summary Get Countries info
2579
- * @request GET:/v1/countries/
2580
- */ get(config) {
2581
- return this.apiClient.request({
2582
- ...config,
2583
- url: `/v1/countries/`,
2584
- method: 'GET',
2585
- secure: false,
2586
- responseType: 'json'
2587
- });
2588
- }
2589
- }
2590
-
2591
-
2592
- var $34a8f468335f4867$exports = {};
2593
-
2594
- $parcel$export($34a8f468335f4867$exports, "Locales", () => $34a8f468335f4867$export$8e1c4644f466949c);
2595
- /* eslint-disable */ /* tslint:disable */ /*
2596
- * ---------------------------------------------------------------
2597
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2598
- * ## ##
2599
- * ## AUTHOR: acacode ##
2600
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2601
- * ---------------------------------------------------------------
2602
- */
2603
- class $34a8f468335f4867$export$8e1c4644f466949c {
2604
- constructor(apiClient){
2605
- this.apiClient = apiClient;
2606
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2607
- }
2608
- /**
2609
- * @description get all language locales
2610
- * @tags locales
2611
- * @name Get
2612
- * @summary get all locales
2613
- * @request GET:/v1/locales
2614
- */ get(config) {
2615
- return this.apiClient.request({
2616
- ...config,
2617
- url: `/v1/locales`,
2618
- method: 'GET',
2619
- secure: false,
2620
- responseType: 'json'
2621
- });
2622
- }
2623
- }
2624
-
2625
-
2626
- var $f2fd7bf904994f56$exports = {};
2627
-
2628
- $parcel$export($f2fd7bf904994f56$exports, "Permissions", () => $f2fd7bf904994f56$export$2d41982586bbb6be);
2629
- /* eslint-disable */ /* tslint:disable */ /*
2630
- * ---------------------------------------------------------------
2631
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2632
- * ## ##
2633
- * ## AUTHOR: acacode ##
2634
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2635
- * ---------------------------------------------------------------
2636
- */
2637
-
2638
- class $f2fd7bf904994f56$export$2d41982586bbb6be {
2639
- constructor(apiClient){
2640
- this.apiClient = apiClient;
2641
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2642
- }
2643
- /**
2644
- * @description Create Permission
2645
- * @tags permissions
2646
- * @name Create
2647
- * @summary Create Permission
2648
- * @request POST:/v1/permissions
2649
- * @secure
2650
- */ create(createPermission, config) {
2651
- return this.apiClient.request({
2652
- ...config,
2653
- url: `/v1/permissions`,
2654
- method: 'POST',
2655
- data: createPermission,
2656
- secure: true,
2657
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2658
- responseType: 'json'
2659
- });
2660
- }
2661
- /**
2662
- * @description Delete Permissions by id
2663
- * @tags permissions
2664
- * @name DeleteMany
2665
- * @summary Delete Permissions by id
2666
- * @request DELETE:/v1/permissions
2667
- * @secure
2668
- */ deleteMany(deletePermissions, config) {
2669
- return this.apiClient.request({
2670
- ...config,
2671
- url: `/v1/permissions`,
2672
- method: 'DELETE',
2673
- data: deletePermissions,
2674
- secure: true,
2675
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2676
- });
2677
- }
2678
- /**
2679
- * @description Get Permission by id
2680
- * @tags permissions
2681
- * @name GetById
2682
- * @summary Get Permission by id
2683
- * @request GET:/v1/permissions/{id}
2684
- * @secure
2685
- */ getById(id, config) {
2686
- return this.apiClient.request({
2687
- ...config,
2688
- url: `/v1/permissions/${id}`,
2689
- method: 'GET',
2690
- secure: true,
2691
- responseType: 'json'
2692
- });
2693
- }
2694
- /**
2695
- * @description Update Permission
2696
- * @tags permissions
2697
- * @name Update
2698
- * @summary Update Permission
2699
- * @request PUT:/v1/permissions/{id}
2700
- * @secure
2701
- */ update(id, updatePermission, config) {
2702
- return this.apiClient.request({
2703
- ...config,
2704
- url: `/v1/permissions/${id}`,
2705
- method: 'PUT',
2706
- data: updatePermission,
2707
- secure: true,
2708
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2709
- responseType: 'json'
2710
- });
2711
- }
2712
- /**
2713
- * @description Get Permissions with pagination
2714
- * @tags permissions
2715
- * @name Get
2716
- * @summary Get Permissions with pagination
2717
- * @request POST:/v2/permissions/list
2718
- * @secure
2719
- */ get(getPermissions, config) {
2720
- return this.apiClient.request({
2721
- ...config,
2722
- url: `/v2/permissions/list`,
2723
- method: 'POST',
2724
- data: getPermissions,
2725
- secure: true,
2726
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2727
- responseType: 'json'
2728
- });
2729
- }
2730
- }
2731
-
2732
-
2733
- var $8a898e729d6b07c5$exports = {};
2734
-
2735
- $parcel$export($8a898e729d6b07c5$exports, "PublicSettings", () => $8a898e729d6b07c5$export$3e6fb5c4a94a74de);
2736
- /* eslint-disable */ /* tslint:disable */ /*
2737
- * ---------------------------------------------------------------
2738
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2739
- * ## ##
2740
- * ## AUTHOR: acacode ##
2741
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2742
- * ---------------------------------------------------------------
2743
- */
2744
- class $8a898e729d6b07c5$export$3e6fb5c4a94a74de {
2745
- constructor(apiClient){
2746
- this.apiClient = apiClient;
2747
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2748
- }
2749
- /**
2750
- * @description Get public settings
2751
- * @tags public_settings
2752
- * @name Get
2753
- * @summary Get public settings
2754
- * @request GET:/v1/public-settings
2755
- */ get(config) {
2756
- return this.apiClient.request({
2757
- ...config,
2758
- url: `/v1/public-settings`,
2759
- method: 'GET',
2760
- secure: false,
2761
- responseType: 'json'
2762
- });
2763
- }
2764
- }
2765
-
2766
-
2767
- var $46005671a41e8997$exports = {};
2768
-
2769
- $parcel$export($46005671a41e8997$exports, "Roles", () => $46005671a41e8997$export$d1d9e451800db729);
2770
- /* eslint-disable */ /* tslint:disable */ /*
2771
- * ---------------------------------------------------------------
2772
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2773
- * ## ##
2774
- * ## AUTHOR: acacode ##
2775
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2776
- * ---------------------------------------------------------------
2777
- */
2778
-
2779
- class $46005671a41e8997$export$d1d9e451800db729 {
2780
- constructor(apiClient){
2781
- this.apiClient = apiClient;
2782
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2783
- }
2784
- /**
2785
- * @description Create Role
2786
- * @tags roles
2787
- * @name Create
2788
- * @summary Create Role
2789
- * @request POST:/v1/roles
2790
- * @secure
2791
- */ create(createRole, config) {
2792
- return this.apiClient.request({
2793
- ...config,
2794
- url: `/v1/roles`,
2795
- method: 'POST',
2796
- data: createRole,
2797
- secure: true,
2798
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2799
- responseType: 'json'
2800
- });
2801
- }
2802
- /**
2803
- * @description Delete Roles by ids
2804
- * @tags roles
2805
- * @name DeleteMany
2806
- * @summary Delete Roles by ids
2807
- * @request DELETE:/v1/roles
2808
- * @secure
2809
- */ deleteMany(deleteRoles, config) {
2810
- return this.apiClient.request({
2811
- ...config,
2812
- url: `/v1/roles`,
2813
- method: 'DELETE',
2814
- data: deleteRoles,
2815
- secure: true,
2816
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2817
- });
2818
- }
2819
- /**
2820
- * @description Get Role by id
2821
- * @tags roles
2822
- * @name GetById
2823
- * @summary Get Role by id
2824
- * @request GET:/v1/roles/{id}
2825
- * @secure
2826
- */ getById(id, config) {
2827
- return this.apiClient.request({
2828
- ...config,
2829
- url: `/v1/roles/${id}`,
2830
- method: 'GET',
2831
- secure: true,
2832
- responseType: 'json'
2833
- });
2834
- }
2835
- /**
2836
- * @description Update Role
2837
- * @tags roles
2838
- * @name Update
2839
- * @summary Update Role
2840
- * @request PUT:/v1/roles/{id}
2841
- * @secure
2842
- */ update(id, updateRole, config) {
2843
- return this.apiClient.request({
2844
- ...config,
2845
- url: `/v1/roles/${id}`,
2846
- method: 'PUT',
2847
- data: updateRole,
2848
- secure: true,
2849
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2850
- responseType: 'json'
2851
- });
2852
- }
2853
- /**
2854
- * @description Generate Role PDF
2855
- * @tags roles
2856
- * @name GenerateAsPdf
2857
- * @summary Generate Role PDF
2858
- * @request POST:/v1/roles/{id}/generate-as-pdf
2859
- * @secure
2860
- */ generateAsPdf(id, config) {
2861
- return this.apiClient.request({
2862
- ...config,
2863
- url: `/v1/roles/${id}/generate-as-pdf`,
2864
- method: 'POST',
2865
- secure: true
2866
- });
2867
- }
2868
- /**
2869
- * @description Get Roles with pagination
2870
- * @tags roles
2871
- * @name Get
2872
- * @summary Get Roles with pagination
2873
- * @request POST:/v2/roles/list
2874
- * @secure
2875
- */ get(getRoles, config) {
2876
- return this.apiClient.request({
2877
- ...config,
2878
- url: `/v2/roles/list`,
2879
- method: 'POST',
2880
- data: getRoles,
2881
- secure: true,
2882
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2883
- responseType: 'json'
2884
- });
2885
- }
2886
- }
2887
-
2888
-
2889
- var $35dafdf54ad816d8$exports = {};
2890
-
2891
- $parcel$export($35dafdf54ad816d8$exports, "SecretNotes", () => $35dafdf54ad816d8$export$49d1d1bca95f1922);
2892
- /* eslint-disable */ /* tslint:disable */ /*
2893
- * ---------------------------------------------------------------
2894
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2895
- * ## ##
2896
- * ## AUTHOR: acacode ##
2897
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2898
- * ---------------------------------------------------------------
2899
- */
2900
-
2901
- class $35dafdf54ad816d8$export$49d1d1bca95f1922 {
2902
- constructor(apiClient){
2903
- this.apiClient = apiClient;
2904
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2905
- }
2906
- /**
2907
- * @description Create Secret note. For type `password` field `note_params` should contain `password` field only.
2908
- * @tags secret_notes
2909
- * @name Create
2910
- * @summary Create Secret note
2911
- * @request POST:/v1/secret-notes
2912
- * @secure
2913
- */ create(createSecretNote, config) {
2914
- return this.apiClient.request({
2915
- ...config,
2916
- url: `/v1/secret-notes`,
2917
- method: 'POST',
2918
- data: createSecretNote,
2919
- secure: true,
2920
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2921
- responseType: 'json'
2922
- });
2923
- }
2924
- /**
2925
- * @description Get Secret note
2926
- * @tags secret_notes
2927
- * @name GetOne
2928
- * @summary Get Secret note
2929
- * @request POST:/v1/secret-notes/fetch
2930
- */ getOne(getSecretNote, config) {
2931
- return this.apiClient.request({
2932
- ...config,
2933
- url: `/v1/secret-notes/fetch`,
2934
- method: 'POST',
2935
- data: getSecretNote,
2936
- secure: false,
2937
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2938
- responseType: 'json'
2939
- });
2940
- }
2941
- /**
2942
- * @description Send Secret note verification code
2943
- * @tags secret_notes
2944
- * @name SendVerificationCode
2945
- * @summary Send Secret note verification code
2946
- * @request PUT:/v1/secret-notes/verification
2947
- */ sendVerificationCode(sendVerificationCodeForSecretNote, config) {
2948
- return this.apiClient.request({
2949
- ...config,
2950
- url: `/v1/secret-notes/verification`,
2951
- method: 'PUT',
2952
- data: sendVerificationCodeForSecretNote,
2953
- secure: false,
2954
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
2955
- });
2956
- }
2957
- }
2958
-
2959
-
2960
- var $fa365a2bc9112c99$exports = {};
2961
-
2962
- $parcel$export($fa365a2bc9112c99$exports, "Tags", () => $fa365a2bc9112c99$export$b72686b556e29ca6);
2963
- /* eslint-disable */ /* tslint:disable */ /*
2964
- * ---------------------------------------------------------------
2965
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
2966
- * ## ##
2967
- * ## AUTHOR: acacode ##
2968
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
2969
- * ---------------------------------------------------------------
2970
- */
2971
-
2972
- class $fa365a2bc9112c99$export$b72686b556e29ca6 {
2973
- constructor(apiClient){
2974
- this.apiClient = apiClient;
2975
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
2976
- }
2977
- /**
2978
- * @description Create Tag
2979
- * @tags tags
2980
- * @name Create
2981
- * @summary Create Tag
2982
- * @request POST:/v1/tags
2983
- * @secure
2984
- */ create(createTagDto, config) {
2985
- return this.apiClient.request({
2986
- ...config,
2987
- url: `/v1/tags`,
2988
- method: 'POST',
2989
- data: createTagDto,
2990
- secure: true,
2991
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
2992
- responseType: 'json'
2993
- });
2994
- }
2995
- /**
2996
- * @description Delete Tags
2997
- * @tags tags
2998
- * @name DeleteMany
2999
- * @summary Delete Tags
3000
- * @request DELETE:/v1/tags
3001
- * @secure
3002
- */ deleteMany(deleteByIDsDto, config) {
3003
- return this.apiClient.request({
3004
- ...config,
3005
- url: `/v1/tags`,
3006
- method: 'DELETE',
3007
- data: deleteByIDsDto,
3008
- secure: true,
3009
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3010
- });
3011
- }
3012
- /**
3013
- * @description Get Tags List. Available fields for sorting are `id, name, created_at, updated_at`. Search is performed by `name`
3014
- * @tags tags
3015
- * @name Get
3016
- * @summary Get Tags List
3017
- * @request POST:/v1/tags/list
3018
- * @secure
3019
- */ get(getTagsDto, config) {
3020
- return this.apiClient.request({
3021
- ...config,
3022
- url: `/v1/tags/list`,
3023
- method: 'POST',
3024
- data: getTagsDto,
3025
- secure: true,
3026
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3027
- responseType: 'json'
3028
- });
3029
- }
3030
- /**
3031
- * @description Get Tags By ID
3032
- * @tags tags
3033
- * @name GetById
3034
- * @summary Get Tag By ID
3035
- * @request GET:/v1/tags/{id}
3036
- * @secure
3037
- */ getById(id, config) {
3038
- return this.apiClient.request({
3039
- ...config,
3040
- url: `/v1/tags/${id}`,
3041
- method: 'GET',
3042
- secure: true,
3043
- responseType: 'json'
3044
- });
3045
- }
3046
- /**
3047
- * @description Update Tag
3048
- * @tags tags
3049
- * @name Update
3050
- * @summary Update Tag
3051
- * @request PUT:/v1/tags/{id}
3052
- * @secure
3053
- */ update(id, updateTagDto, config) {
3054
- return this.apiClient.request({
3055
- ...config,
3056
- url: `/v1/tags/${id}`,
3057
- method: 'PUT',
3058
- data: updateTagDto,
3059
- secure: true,
3060
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3061
- responseType: 'json'
3062
- });
3063
- }
3064
- }
3065
-
3066
-
3067
- var $c1c4df84d5d3a23d$exports = {};
3068
-
3069
- $parcel$export($c1c4df84d5d3a23d$exports, "B2BUsers", () => $c1c4df84d5d3a23d$export$9f8c8ef54665205);
3070
- /* eslint-disable */ /* tslint:disable */ /*
3071
- * ---------------------------------------------------------------
3072
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3073
- * ## ##
3074
- * ## AUTHOR: acacode ##
3075
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3076
- * ---------------------------------------------------------------
3077
- */
3078
-
3079
- class $c1c4df84d5d3a23d$export$9f8c8ef54665205 {
3080
- constructor(apiClient){
3081
- this.apiClient = apiClient;
3082
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3083
- }
3084
- /**
3085
- * @description Delete B2B user by id
3086
- * @tags b2b_users
3087
- * @name DeleteMany
3088
- * @summary Delete B2B user by id
3089
- * @request DELETE:/v1/users/b2b
3090
- * @secure
3091
- */ deleteMany(deleteB2BUsers, config) {
3092
- return this.apiClient.request({
3093
- ...config,
3094
- url: `/v1/users/b2b`,
3095
- method: 'DELETE',
3096
- data: deleteB2BUsers,
3097
- secure: true,
3098
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3099
- });
3100
- }
3101
- /**
3102
- * @description Get B2B User by id
3103
- * @tags b2b_users
3104
- * @name GetById
3105
- * @summary Get B2B User by id
3106
- * @request GET:/v1/users/b2b/{id}
3107
- * @secure
3108
- */ getById(id, config) {
3109
- return this.apiClient.request({
3110
- ...config,
3111
- url: `/v1/users/b2b/${id}`,
3112
- method: 'GET',
3113
- secure: true,
3114
- responseType: 'json'
3115
- });
3116
- }
3117
- /**
3118
- * @description Generate B2B User PDF
3119
- * @tags b2b_users
3120
- * @name GenerateAsPdf
3121
- * @summary Generate B2B User PDF
3122
- * @request POST:/v1/users/b2b/{id}/generate-as-pdf
3123
- * @secure
3124
- */ generateAsPdf(id, config) {
3125
- return this.apiClient.request({
3126
- ...config,
3127
- url: `/v1/users/b2b/${id}/generate-as-pdf`,
3128
- method: 'POST',
3129
- secure: true
3130
- });
3131
- }
3132
- /**
3133
- * @description Change B2B User status
3134
- * @tags b2b_users
3135
- * @name ChangeStatus
3136
- * @summary Change B2B User status
3137
- * @request PATCH:/v1/users/b2b/{id}/status
3138
- * @secure
3139
- */ changeStatus(id, changeUserStatus, config) {
3140
- return this.apiClient.request({
3141
- ...config,
3142
- url: `/v1/users/b2b/${id}/status`,
3143
- method: 'PATCH',
3144
- data: changeUserStatus,
3145
- secure: true,
3146
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3147
- });
3148
- }
3149
- /**
3150
- * @description Create B2B User
3151
- * @tags b2b_users
3152
- * @name Create
3153
- * @summary Create B2B User
3154
- * @request POST:/v2/users/b2b
3155
- * @secure
3156
- */ create(createB2BUser, config) {
3157
- return this.apiClient.request({
3158
- ...config,
3159
- url: `/v2/users/b2b`,
3160
- method: 'POST',
3161
- data: createB2BUser,
3162
- secure: true,
3163
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3164
- responseType: 'json'
3165
- });
3166
- }
3167
- /**
3168
- * @description Get B2B users with pagination
3169
- * @tags b2b_users
3170
- * @name Get
3171
- * @summary Get B2B users with pagination
3172
- * @request POST:/v2/users/b2b/list
3173
- * @secure
3174
- */ get(getB2BUsers, config) {
3175
- return this.apiClient.request({
3176
- ...config,
3177
- url: `/v2/users/b2b/list`,
3178
- method: 'POST',
3179
- data: getB2BUsers,
3180
- secure: true,
3181
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3182
- responseType: 'json'
3183
- });
3184
- }
3185
- /**
3186
- * @description Update B2B User
3187
- * @tags b2b_users
3188
- * @name Update
3189
- * @summary Update B2B User
3190
- * @request PUT:/v2/users/b2b/{id}
3191
- * @secure
3192
- */ update(id, createB2BUserNew, config) {
3193
- return this.apiClient.request({
3194
- ...config,
3195
- url: `/v2/users/b2b/${id}`,
3196
- method: 'PUT',
3197
- data: createB2BUserNew,
3198
- secure: true,
3199
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3200
- responseType: 'json'
3201
- });
3202
- }
3203
- }
3204
-
3205
-
3206
- var $8679c96643548d8f$exports = {};
3207
-
3208
- $parcel$export($8679c96643548d8f$exports, "B2CUsers", () => $8679c96643548d8f$export$50c35e5cd2b1a04b);
3209
- /* eslint-disable */ /* tslint:disable */ /*
3210
- * ---------------------------------------------------------------
3211
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3212
- * ## ##
3213
- * ## AUTHOR: acacode ##
3214
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3215
- * ---------------------------------------------------------------
3216
- */
3217
-
3218
- class $8679c96643548d8f$export$50c35e5cd2b1a04b {
3219
- constructor(apiClient){
3220
- this.apiClient = apiClient;
3221
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3222
- }
3223
- /**
3224
- * @description Create B2C User
3225
- * @tags b2c_users
3226
- * @name Create
3227
- * @summary Create B2C User
3228
- * @request POST:/v1/users/b2c
3229
- * @secure
3230
- */ create(createB2CUser, config) {
3231
- return this.apiClient.request({
3232
- ...config,
3233
- url: `/v1/users/b2c`,
3234
- method: 'POST',
3235
- data: createB2CUser,
3236
- secure: true,
3237
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3238
- responseType: 'json'
3239
- });
3240
- }
3241
- /**
3242
- * @description Delete B2C user by id
3243
- * @tags b2c_users
3244
- * @name DeleteMany
3245
- * @summary Delete B2C user by id
3246
- * @request DELETE:/v1/users/b2c
3247
- * @secure
3248
- */ deleteMany(deleteB2CUsers, config) {
3249
- return this.apiClient.request({
3250
- ...config,
3251
- url: `/v1/users/b2c`,
3252
- method: 'DELETE',
3253
- data: deleteB2CUsers,
3254
- secure: true,
3255
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3256
- });
3257
- }
3258
- /**
3259
- * @description Get B2C User by id
3260
- * @tags b2c_users
3261
- * @name GetById
3262
- * @summary Get B2C User by id
3263
- * @request GET:/v1/users/b2c/{id}
3264
- * @secure
3265
- */ getById(id, config) {
3266
- return this.apiClient.request({
3267
- ...config,
3268
- url: `/v1/users/b2c/${id}`,
3269
- method: 'GET',
3270
- secure: true,
3271
- responseType: 'json'
3272
- });
3273
- }
3274
- /**
3275
- * @description Update B2C User
3276
- * @tags b2c_users
3277
- * @name Update
3278
- * @summary Update B2C User
3279
- * @request PUT:/v1/users/b2c/{id}
3280
- * @secure
3281
- */ update(id, createB2BUser, config) {
3282
- return this.apiClient.request({
3283
- ...config,
3284
- url: `/v1/users/b2c/${id}`,
3285
- method: 'PUT',
3286
- data: createB2BUser,
3287
- secure: true,
3288
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3289
- responseType: 'json'
3290
- });
3291
- }
3292
- /**
3293
- * @description Generate B2C User PDF
3294
- * @tags b2c_users
3295
- * @name GenerateAsPdf
3296
- * @summary Generate B2C User PDF
3297
- * @request POST:/v1/users/b2c/{id}/generate-as-pdf
3298
- * @secure
3299
- */ generateAsPdf(id, config) {
3300
- return this.apiClient.request({
3301
- ...config,
3302
- url: `/v1/users/b2c/${id}/generate-as-pdf`,
3303
- method: 'POST',
3304
- secure: true
3305
- });
3306
- }
3307
- /**
3308
- * @description Change B2C User status
3309
- * @tags b2c_users
3310
- * @name ChangeStatus
3311
- * @summary Change B2C User status
3312
- * @request PATCH:/v1/users/b2c/{id}/status
3313
- * @secure
3314
- */ changeStatus(id, changeUserStatus, config) {
3315
- return this.apiClient.request({
3316
- ...config,
3317
- url: `/v1/users/b2c/${id}/status`,
3318
- method: 'PATCH',
3319
- data: changeUserStatus,
3320
- secure: true,
3321
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3322
- });
3323
- }
3324
- /**
3325
- * @description Get B2C users with pagination
3326
- * @tags b2c_users
3327
- * @name Get
3328
- * @summary Get B2C users with pagination
3329
- * @request POST:/v2/users/b2c/list
3330
- * @secure
3331
- */ get(getB2CUsers, config) {
3332
- return this.apiClient.request({
3333
- ...config,
3334
- url: `/v2/users/b2c/list`,
3335
- method: 'POST',
3336
- data: getB2CUsers,
3337
- secure: true,
3338
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3339
- responseType: 'json'
3340
- });
3341
- }
3342
- }
3343
-
3344
-
3345
- var $80f9a3dfb8c7bd16$exports = {};
3346
-
3347
- $parcel$export($80f9a3dfb8c7bd16$exports, "UserDetails", () => $80f9a3dfb8c7bd16$export$a398983943bbde23);
3348
- /* eslint-disable */ /* tslint:disable */ /*
3349
- * ---------------------------------------------------------------
3350
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3351
- * ## ##
3352
- * ## AUTHOR: acacode ##
3353
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3354
- * ---------------------------------------------------------------
3355
- */
3356
-
3357
- class $80f9a3dfb8c7bd16$export$a398983943bbde23 {
3358
- constructor(apiClient){
3359
- this.apiClient = apiClient;
3360
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3361
- }
3362
- /**
3363
- * @description Get User Details by JWT-token
3364
- * @tags user_details
3365
- * @name GetUserDetails
3366
- * @summary Get User Details by JWT-token
3367
- * @request POST:/v1/users/details/show
3368
- * @secure
3369
- */ getUserDetails(getUserDetailsDto, config) {
3370
- return this.apiClient.request({
3371
- ...config,
3372
- url: `/v1/users/details/show`,
3373
- method: 'POST',
3374
- data: getUserDetailsDto,
3375
- secure: true,
3376
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3377
- responseType: 'json'
3378
- });
3379
- }
3380
- /**
3381
- * @description Revoke user sessions by JWT-token
3382
- * @tags user_details
3383
- * @name RevokeSessions
3384
- * @summary Revoke user sessions by JWT-token
3385
- * @request POST:/v1/users/revoke-sessions
3386
- * @secure
3387
- */ revokeSessions(revokeUserSessionsDto, config) {
3388
- return this.apiClient.request({
3389
- ...config,
3390
- url: `/v1/users/revoke-sessions`,
3391
- method: 'POST',
3392
- data: revokeUserSessionsDto,
3393
- secure: true,
3394
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3395
- });
3396
- }
3397
- }
3398
-
3399
-
3400
- var $9d93f73b1440f840$exports = {};
3401
-
3402
- $parcel$export($9d93f73b1440f840$exports, "UsersCommon", () => $9d93f73b1440f840$export$12728e6e259e1581);
3403
- /* eslint-disable */ /* tslint:disable */ /*
3404
- * ---------------------------------------------------------------
3405
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3406
- * ## ##
3407
- * ## AUTHOR: acacode ##
3408
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3409
- * ---------------------------------------------------------------
3410
- */
3411
-
3412
- class $9d93f73b1440f840$export$12728e6e259e1581 {
3413
- constructor(apiClient){
3414
- this.apiClient = apiClient;
3415
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3416
- }
3417
- /**
3418
- * @description Reset B2B/B2C user rate limits
3419
- * @tags users_common
3420
- * @name ResetRateLimits
3421
- * @summary Reset rate limits
3422
- * @request PATCH:/v1/users/rate-limits/reset
3423
- * @secure
3424
- */ resetRateLimits(resetRateLimitsDto, config) {
3425
- return this.apiClient.request({
3426
- ...config,
3427
- url: `/v1/users/rate-limits/reset`,
3428
- method: 'PATCH',
3429
- data: resetRateLimitsDto,
3430
- secure: true,
3431
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3432
- });
3433
- }
3434
- /**
3435
- * @description Get user status change reasons list
3436
- * @tags users_common
3437
- * @name GetUserStatusChangeReasonsList
3438
- * @summary Get user status change reasons list
3439
- * @request POST:/v1/users/status-change-reasons/list
3440
- * @secure
3441
- */ getUserStatusChangeReasonsList(getUserStatusChangeReasonsDto, config) {
3442
- return this.apiClient.request({
3443
- ...config,
3444
- url: `/v1/users/status-change-reasons/list`,
3445
- method: 'POST',
3446
- data: getUserStatusChangeReasonsDto,
3447
- secure: true,
3448
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3449
- responseType: 'json'
3450
- });
3451
- }
3452
- /**
3453
- * @description Link Watchmen user to UMA
3454
- * @tags users_common
3455
- * @name LinkWatchmenUsersToUma
3456
- * @summary Link Watchmen user to UMA
3457
- * @request POST:/v1/users/watchmen/link
3458
- * @secure
3459
- */ linkWatchmenUsersToUma(linkWatchmenUserToUmaDto, config) {
3460
- return this.apiClient.request({
3461
- ...config,
3462
- url: `/v1/users/watchmen/link`,
3463
- method: 'POST',
3464
- data: linkWatchmenUserToUmaDto,
3465
- secure: true,
3466
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3467
- });
3468
- }
3469
- }
3470
-
3471
-
3472
- var $804aecfbbda535b0$exports = {};
3473
-
3474
- $parcel$export($804aecfbbda535b0$exports, "SystemUsers", () => $804aecfbbda535b0$export$636de4c783ade7b8);
3475
- /* eslint-disable */ /* tslint:disable */ /*
3476
- * ---------------------------------------------------------------
3477
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3478
- * ## ##
3479
- * ## AUTHOR: acacode ##
3480
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3481
- * ---------------------------------------------------------------
3482
- */
3483
-
3484
- class $804aecfbbda535b0$export$636de4c783ade7b8 {
3485
- constructor(apiClient){
3486
- this.apiClient = apiClient;
3487
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3488
- }
3489
- /**
3490
- * @description Create System User
3491
- * @tags system_users
3492
- * @name Create
3493
- * @summary Create System User
3494
- * @request POST:/v1/users/system
3495
- * @secure
3496
- */ create(createSystemUser, config) {
3497
- return this.apiClient.request({
3498
- ...config,
3499
- url: `/v1/users/system`,
3500
- method: 'POST',
3501
- data: createSystemUser,
3502
- secure: true,
3503
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3504
- responseType: 'json'
3505
- });
3506
- }
3507
- /**
3508
- * @description Delete System user by id
3509
- * @tags system_users
3510
- * @name DeleteMany
3511
- * @summary Delete System user by id
3512
- * @request DELETE:/v1/users/system
3513
- * @secure
3514
- */ deleteMany(deleteSystemUsers, config) {
3515
- return this.apiClient.request({
3516
- ...config,
3517
- url: `/v1/users/system`,
3518
- method: 'DELETE',
3519
- data: deleteSystemUsers,
3520
- secure: true,
3521
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3522
- });
3523
- }
3524
- /**
3525
- * @description Get System users with pagination
3526
- * @tags System_users
3527
- * @name Get
3528
- * @summary Get System users with pagination
3529
- * @request POST:/v1/users/system/list
3530
- * @secure
3531
- */ get(getSystemUsers, config) {
3532
- return this.apiClient.request({
3533
- ...config,
3534
- url: `/v1/users/system/list`,
3535
- method: 'POST',
3536
- data: getSystemUsers,
3537
- secure: true,
3538
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3539
- responseType: 'json'
3540
- });
3541
- }
3542
- /**
3543
- * @description Get System User by id
3544
- * @tags system_users
3545
- * @name GetById
3546
- * @summary Get System User by id
3547
- * @request GET:/v1/users/system/{id}
3548
- * @secure
3549
- */ getById(id, config) {
3550
- return this.apiClient.request({
3551
- ...config,
3552
- url: `/v1/users/system/${id}`,
3553
- method: 'GET',
3554
- secure: true,
3555
- responseType: 'json'
3556
- });
3557
- }
3558
- /**
3559
- * @description Update System User
3560
- * @tags system_users
3561
- * @name Update
3562
- * @summary Update System User
3563
- * @request PUT:/v1/users/system/{id}
3564
- * @secure
3565
- */ update(id, updateSystemUser, config) {
3566
- return this.apiClient.request({
3567
- ...config,
3568
- url: `/v1/users/system/${id}`,
3569
- method: 'PUT',
3570
- data: updateSystemUser,
3571
- secure: true,
3572
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3573
- responseType: 'json'
3574
- });
3575
- }
3576
- /**
3577
- * @description Generate System User PDF
3578
- * @tags system_users
3579
- * @name GenerateAsPdf
3580
- * @summary Generate System User PDF
3581
- * @request POST:/v1/users/system/{id}/generate-as-pdf
3582
- * @secure
3583
- */ generateAsPdf(id, config) {
3584
- return this.apiClient.request({
3585
- ...config,
3586
- url: `/v1/users/system/${id}/generate-as-pdf`,
3587
- method: 'POST',
3588
- secure: true
3589
- });
3590
- }
3591
- /**
3592
- * @description Change System User status
3593
- * @tags system_users
3594
- * @name ChangeStatus
3595
- * @summary Change System User status
3596
- * @request PATCH:/v1/users/system/{id}/status
3597
- * @secure
3598
- */ changeStatus(id, changeUserStatus, config) {
3599
- return this.apiClient.request({
3600
- ...config,
3601
- url: `/v1/users/system/${id}/status`,
3602
- method: 'PATCH',
3603
- data: changeUserStatus,
3604
- secure: true,
3605
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3606
- });
3607
- }
3608
- }
3609
-
3610
-
3611
- var $e568b1faeb20dc39$exports = {};
3612
-
3613
- $parcel$export($e568b1faeb20dc39$exports, "WatchmenInstances", () => $e568b1faeb20dc39$export$a780f46fdf729420);
3614
- /* eslint-disable */ /* tslint:disable */ /*
3615
- * ---------------------------------------------------------------
3616
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3617
- * ## ##
3618
- * ## AUTHOR: acacode ##
3619
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3620
- * ---------------------------------------------------------------
3621
- */
3622
-
3623
- class $e568b1faeb20dc39$export$a780f46fdf729420 {
3624
- constructor(apiClient){
3625
- this.apiClient = apiClient;
3626
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3627
- }
3628
- /**
3629
- * @description Create Watchmen Instance
3630
- * @tags watchmen_instances
3631
- * @name Create
3632
- * @summary Create Watchmen Instance
3633
- * @request POST:/v1/watchmen-instances
3634
- * @secure
3635
- */ create(createWatchmenInstance, config) {
3636
- return this.apiClient.request({
3637
- ...config,
3638
- url: `/v1/watchmen-instances`,
3639
- method: 'POST',
3640
- data: createWatchmenInstance,
3641
- secure: true,
3642
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3643
- responseType: 'json'
3644
- });
3645
- }
3646
- /**
3647
- * @description Delete Watchmen Instances
3648
- * @tags watchmen_instances
3649
- * @name DeleteMany
3650
- * @summary Delete Watchmen Instances
3651
- * @request DELETE:/v1/watchmen-instances
3652
- * @secure
3653
- */ deleteMany(deleteWatchmenInstances, config) {
3654
- return this.apiClient.request({
3655
- ...config,
3656
- url: `/v1/watchmen-instances`,
3657
- method: 'DELETE',
3658
- data: deleteWatchmenInstances,
3659
- secure: true,
3660
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3661
- });
3662
- }
3663
- /**
3664
- * @description Get Watchmen Instances with pagination. Available sort fields are `id, name, slug, url, created_at, updated_at`. Search is performed by `name, url, slug` fields.
3665
- * @tags watchmen_instances
3666
- * @name GetMany
3667
- * @summary Get Watchmen Instances with pagination
3668
- * @request POST:/v1/watchmen-instances/list
3669
- * @secure
3670
- */ getMany(getWatchmenInstances, config) {
3671
- return this.apiClient.request({
3672
- ...config,
3673
- url: `/v1/watchmen-instances/list`,
3674
- method: 'POST',
3675
- data: getWatchmenInstances,
3676
- secure: true,
3677
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3678
- responseType: 'json'
3679
- });
3680
- }
3681
- /**
3682
- * @description Get Watchmen Instance by id
3683
- * @tags watchmen_instances
3684
- * @name GetById
3685
- * @summary Get Watchmen Instance by id
3686
- * @request GET:/v1/watchmen-instances/{id}
3687
- * @secure
3688
- */ getById(id, config) {
3689
- return this.apiClient.request({
3690
- ...config,
3691
- url: `/v1/watchmen-instances/${id}`,
3692
- method: 'GET',
3693
- secure: true,
3694
- responseType: 'json'
3695
- });
3696
- }
3697
- /**
3698
- * @description Update Watchmen Instance
3699
- * @tags watchmen_instances
3700
- * @name Update
3701
- * @summary Update Watchmen Instance
3702
- * @request PUT:/v1/watchmen-instances/{id}
3703
- * @secure
3704
- */ update(id, updateWatchmenInstance, config) {
3705
- return this.apiClient.request({
3706
- ...config,
3707
- url: `/v1/watchmen-instances/${id}`,
3708
- method: 'PUT',
3709
- data: updateWatchmenInstance,
3710
- secure: true,
3711
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3712
- responseType: 'json'
3713
- });
3714
- }
3715
- }
3716
-
3717
-
3718
- var $bc418d19284783e9$exports = {};
3719
-
3720
- $parcel$export($bc418d19284783e9$exports, "Firms", () => $bc418d19284783e9$export$264f565cd0c1cc56);
3721
- /* eslint-disable */ /* tslint:disable */ /*
3722
- * ---------------------------------------------------------------
3723
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3724
- * ## ##
3725
- * ## AUTHOR: acacode ##
3726
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3727
- * ---------------------------------------------------------------
3728
- */
3729
-
3730
- class $bc418d19284783e9$export$264f565cd0c1cc56 {
3731
- constructor(apiClient){
3732
- this.apiClient = apiClient;
3733
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3734
- }
3735
- /**
3736
- * @description Create Firm
3737
- * @tags firms
3738
- * @name Create
3739
- * @summary Create Firm
3740
- * @request POST:/v1/firms
3741
- * @secure
3742
- */ create(createFirm, config) {
3743
- return this.apiClient.request({
3744
- ...config,
3745
- url: `/v1/firms`,
3746
- method: 'POST',
3747
- data: createFirm,
3748
- secure: true,
3749
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3750
- responseType: 'json'
3751
- });
3752
- }
3753
- /**
3754
- * @description Deletes Firm by ids
3755
- * @tags firms
3756
- * @name DeleteMany
3757
- * @summary Deletes Firm by ids
3758
- * @request DELETE:/v1/firms
3759
- * @secure
3760
- */ deleteMany(deleteFirms, config) {
3761
- return this.apiClient.request({
3762
- ...config,
3763
- url: `/v1/firms`,
3764
- method: 'DELETE',
3765
- data: deleteFirms,
3766
- secure: true,
3767
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json
3768
- });
3769
- }
3770
- /**
3771
- * @description Get Firm by id
3772
- * @tags firms
3773
- * @name GetById
3774
- * @summary Get Firm by id
3775
- * @request GET:/v1/firms/{id}
3776
- * @secure
3777
- */ getById(id, config) {
3778
- return this.apiClient.request({
3779
- ...config,
3780
- url: `/v1/firms/${id}`,
3781
- method: 'GET',
3782
- secure: true,
3783
- responseType: 'json'
3784
- });
3785
- }
3786
- /**
3787
- * @description Update Firm
3788
- * @tags firms
3789
- * @name Update
3790
- * @summary Update Firm
3791
- * @request PUT:/v1/firms/{id}
3792
- * @secure
3793
- */ update(id, updateFirm, config) {
3794
- return this.apiClient.request({
3795
- ...config,
3796
- url: `/v1/firms/${id}`,
3797
- method: 'PUT',
3798
- data: updateFirm,
3799
- secure: true,
3800
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3801
- responseType: 'json'
3802
- });
3803
- }
3804
- /**
3805
- * @description Get Firms with pagination
3806
- * @tags firms
3807
- * @name Get
3808
- * @summary Get Firms with pagination
3809
- * @request POST:/v2/firms/list
3810
- * @secure
3811
- */ get(getFirms, config) {
3812
- return this.apiClient.request({
3813
- ...config,
3814
- url: `/v2/firms/list`,
3815
- method: 'POST',
3816
- data: getFirms,
3817
- secure: true,
3818
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3819
- responseType: 'json'
3820
- });
3821
- }
3822
- }
3823
-
3824
-
3825
- var $a4db5073e15c3de5$exports = {};
3826
-
3827
- $parcel$export($a4db5073e15c3de5$exports, "MigrationUtils", () => $a4db5073e15c3de5$export$786262b732115aec);
3828
- /* eslint-disable */ /* tslint:disable */ /*
3829
- * ---------------------------------------------------------------
3830
- * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ##
3831
- * ## ##
3832
- * ## AUTHOR: acacode ##
3833
- * ## SOURCE: https://github.com/acacode/swagger-typescript-api ##
3834
- * ---------------------------------------------------------------
3835
- */
3836
-
3837
- class $a4db5073e15c3de5$export$786262b732115aec {
3838
- constructor(apiClient){
3839
- this.apiClient = apiClient;
3840
- (0, ($parcel$interopDefault($l6jTM$autobind)))(this);
3841
- }
3842
- /**
3843
- * @description Upsert Users from deprecated DB's
3844
- * @tags migration-utils
3845
- * @name PostUsersUpsert
3846
- * @summary Upsert Users
3847
- * @request POST:/v1/migration-utils/users/upsert
3848
- * @secure
3849
- */ postUsersUpsert(upsertUsers, config) {
3850
- return this.apiClient.request({
3851
- ...config,
3852
- url: `/v1/migration-utils/users/upsert`,
3853
- method: 'POST',
3854
- data: upsertUsers,
3855
- secure: true,
3856
- contentType: (0, $3621850f1f570615$export$e2e108cbe2e4f865).Json,
3857
- responseType: 'json'
3858
- });
3859
- }
3860
- }
3861
-
3862
-
3863
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $64de154218b7fbdb$exports);
3864
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $9afc25bb6382508d$exports);
3865
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $467e4c6e7d89aebd$exports);
3866
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $03cfd804b3d9aa9d$exports);
3867
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $9d5428c2d0a8567e$exports);
3868
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $b2299ac954a8fc8d$exports);
3869
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $ffa44a7a6cb1797b$exports);
3870
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $8a7b2186643ed4fa$exports);
3871
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $3d93a2bbc8d670c7$exports);
3872
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $9f9d15a2ead3d19e$exports);
3873
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $99f79cb7451ae9b4$exports);
3874
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $df695f87ca5b91a2$exports);
3875
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $ce569e5a995481c0$exports);
3876
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $3b4bcede9184e796$exports);
3877
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $e62712fa17120ca8$exports);
3878
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $9c457e9a76889c9b$exports);
3879
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $1e21fcd680cfce14$exports);
3880
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $6a1ecdc6ed5475ef$exports);
3881
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $0715cbeed7b5f858$exports);
3882
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $34a8f468335f4867$exports);
3883
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $f2fd7bf904994f56$exports);
3884
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $8a898e729d6b07c5$exports);
3885
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $46005671a41e8997$exports);
3886
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $35dafdf54ad816d8$exports);
3887
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $fa365a2bc9112c99$exports);
3888
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $c1c4df84d5d3a23d$exports);
3889
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $8679c96643548d8f$exports);
3890
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $80f9a3dfb8c7bd16$exports);
3891
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $9d93f73b1440f840$exports);
3892
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $804aecfbbda535b0$exports);
3893
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $e568b1faeb20dc39$exports);
3894
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $bc418d19284783e9$exports);
3895
- $parcel$exportWildcard($dbc7cbd402bafa1b$exports, $a4db5073e15c3de5$exports);
3896
-
3897
-
3898
- class $f95085163b769504$export$d0994445e90c353b extends (0, $9d5428c2d0a8567e$export$d0994445e90c353b) {
3899
- /**
3900
- * @description Login B2B user by email/password.
3901
- * @tags b2b_auth
3902
- * @name BasicLogin
3903
- * @summary Login B2B user by email/password
3904
- * @request POST:/v1/auth/b2b/login/basic
3905
- */ async basicLogin(basicLoginParams, headers, config) {
3906
- const response = await super.basicLogin(basicLoginParams, headers, config);
3907
- if (response.success) this.apiClient.setAuthData({
3908
- accessToken: response.data.login_basic.tokens.access_token ?? '',
3909
- refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
3910
- });
3911
- return response;
3912
- }
3913
- }
3914
-
3915
-
3916
-
3917
- class $ea740c3dc351b0e9$export$191c573f104d53f4 extends (0, $b2299ac954a8fc8d$export$191c573f104d53f4) {
3918
- /**
3919
- * @description Login B2C user by email/password.
3920
- * @tags b2c_auth
3921
- * @name BasicLogin
3922
- * @summary Login B2C user by email/password
3923
- * @request POST:/v1/auth/b2c/login/basic
3924
- */ async basicLogin(basicLoginParams, headers, config) {
3925
- const response = await super.basicLogin(basicLoginParams, headers, config);
3926
- if (response.success) this.apiClient.setAuthData({
3927
- accessToken: response.data.login_basic.tokens.access_token ?? '',
3928
- refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
3929
- });
3930
- return response;
3931
- }
3932
- }
3933
-
3934
-
3935
-
3936
- class $e0cb59dd918b422a$export$ae615290d7b354e extends (0, $780091c10287ceed$export$3ad201792064a82b) {
3937
- constructor(config){
3938
- super(new (0, $538ed1203bac2e79$export$f280b732bbc5934b)(config)), this.config = config;
3939
- this.actionLog = new (0, $467e4c6e7d89aebd$export$e241ab6b9aa14723)(this.apiClient);
3940
- this.apiKeys = new (0, $9f9d15a2ead3d19e$export$a67a305ca3f5ec6a)(this.apiClient);
3941
- this.authApps = new (0, $9afc25bb6382508d$export$d3eceb771169d266)(this.apiClient);
3942
- this.authForms = new (0, $03cfd804b3d9aa9d$export$11ae43b56f3f836c)(this.apiClient);
3943
- this.b2bAuth = new (0, $f95085163b769504$export$d0994445e90c353b)(this.apiClient);
3944
- this.b2bUsers = new (0, $c1c4df84d5d3a23d$export$9f8c8ef54665205)(this.apiClient);
3945
- this.b2bUserSettings = new (0, $e62712fa17120ca8$export$cdea59308760ada2)(this.apiClient);
3946
- this.b2cAuth = new (0, $ea740c3dc351b0e9$export$191c573f104d53f4)(this.apiClient);
3947
- this.b2cUsers = new (0, $8679c96643548d8f$export$50c35e5cd2b1a04b)(this.apiClient);
3948
- this.b2cUserSettings = new (0, $6a1ecdc6ed5475ef$export$af92e794dd76d018)(this.apiClient);
3949
- this.branches = new (0, $9c457e9a76889c9b$export$bec84148410bc670)(this.apiClient);
3950
- this.countries = new (0, $0715cbeed7b5f858$export$b33f41d0b11df887)(this.apiClient);
3951
- this.endpoints = new (0, $99f79cb7451ae9b4$export$eed022e50baffed5)(this.apiClient);
3952
- this.fims = new (0, $bc418d19284783e9$export$264f565cd0c1cc56)(this.apiClient);
3953
- this.identityProviders = new (0, $df695f87ca5b91a2$export$5887f54682395684)(this.apiClient);
3954
- this.locales = new (0, $34a8f468335f4867$export$8e1c4644f466949c)(this.apiClient);
3955
- this.microservices = new (0, $ce569e5a995481c0$export$336c46c9fcb38eaa)(this.apiClient);
3956
- this.migrationUtils = new (0, $a4db5073e15c3de5$export$786262b732115aec)(this.apiClient);
3957
- this.permissions = new (0, $f2fd7bf904994f56$export$2d41982586bbb6be)(this.apiClient);
3958
- this.publicSettings = new (0, $8a898e729d6b07c5$export$3e6fb5c4a94a74de)(this.apiClient);
3959
- this.roles = new (0, $46005671a41e8997$export$d1d9e451800db729)(this.apiClient);
3960
- this.roleTypes = new (0, $3b4bcede9184e796$export$2cb4a31baf73b247)(this.apiClient);
3961
- this.secretNotes = new (0, $35dafdf54ad816d8$export$49d1d1bca95f1922)(this.apiClient);
3962
- this.sessions = new (0, $ffa44a7a6cb1797b$export$c8d7e81b9a544c06)(this.apiClient);
3963
- this.systemUsers = new (0, $804aecfbbda535b0$export$636de4c783ade7b8)(this.apiClient);
3964
- this.tablePresets = new (0, $1e21fcd680cfce14$export$f946eed22c6da23d)(this.apiClient);
3965
- this.tags = new (0, $fa365a2bc9112c99$export$b72686b556e29ca6)(this.apiClient);
3966
- this.trustedDevices = new (0, $8a7b2186643ed4fa$export$31b14c8b5a956c9c)(this.apiClient);
3967
- this.userDetails = new (0, $80f9a3dfb8c7bd16$export$a398983943bbde23)(this.apiClient);
3968
- this.usersCommon = new (0, $9d93f73b1440f840$export$12728e6e259e1581)(this.apiClient);
3969
- this.watchmenAuth = new (0, $3d93a2bbc8d670c7$export$b5681ba9d8d05c26)(this.apiClient);
3970
- this.watchmenInstances = new (0, $e568b1faeb20dc39$export$a780f46fdf729420)(this.apiClient);
3971
- this.apiClient.setRenewTokenCallback(this.renewToken);
3972
- }
3973
- async renewToken() {
3974
- const refreshToken = this.apiClient.getAuthData()?.refreshToken;
3975
- if (!refreshToken) throw new Error('Refresh token not found');
3976
- const payload = (0, $l6jTM$jwtdecode.jwtDecode)(refreshToken);
3977
- let response;
3978
- if (payload.u_type === 'b2b') response = await this.b2bAuth.refreshTokens({
3979
- refresh_token: refreshToken
3980
- });
3981
- else response = await this.b2cAuth.refreshTokens({
3982
- refresh_token: refreshToken,
3983
- auth_form_slug: this.apiClient.getConfig().authFormSlug
3984
- });
3985
- if (response.success) return {
3986
- accessToken: response.data.login_basic.tokens.access_token ?? '',
3987
- refreshToken: response.data.login_basic.tokens.refresh_token ?? ''
3988
- };
3989
- else throw new Error(`Could not renew token: ${String(response.error)}`);
3990
- }
3991
- }
3992
-
3993
-
3994
-
3995
- $parcel$exportWildcard(module.exports, $e0cb59dd918b422a$exports);
3996
- $parcel$exportWildcard(module.exports, $dbc7cbd402bafa1b$exports);
3997
-
3998
-
1
+ var e,t,s,r,n,i,o,a,u,p,l,c,h,d,T,y,m,C,E,g,b,v,P,f,q,S,U,A,w,O,J,k,j,D,_,B,L,R,F,I,G,M,x,$,N,V,H,K,z,W,Y,Q,X,Z=require("jwt-decode"),ee=require("auto-bind"),et=require("async-mutex"),es=require("consola"),er=require("date-fns"),en=require("axios"),ei=require("axios-better-stacktrace"),eo=require("lodash");function ea(e,t){return Object.keys(t).forEach(function(s){"default"===s||"__esModule"===s||Object.prototype.hasOwnProperty.call(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:function(){return t[s]}})}),e}function eu(e,t,s,r){Object.defineProperty(e,t,{get:s,set:r,enumerable:!0,configurable:!0})}function ep(e){return e&&e.__esModule?e.default:e}var el={};eu(el,"UmaApi",()=>sa);class ec{constructor(e){this.apiClient=e,ep(ee)(this)}getApiClient(){return this.apiClient}}var eh=((e={}).Json="application/json",e.FormData="multipart/form-data",e.UrlEncoded="application/x-www-form-urlencoded",e.Text="text/plain",e);class ed{constructor(e){this.config=e,ep(ee)(this),this.storage=e.storage??sessionStorage,this.axiosInstance=ep(en).create({...e.axiosConfig,baseURL:e.baseUrl,headers:{"Content-Type":"application/json",...e.axiosConfig?.headers}}),ep(ei)(this.axiosInstance)}stringifyFormItem(e){return"object"==typeof e&&null!==e?JSON.stringify(e):`${e}`}createFormData(e){return e instanceof FormData?e:Object.keys(e).reduce((t,s)=>{let r=e[s];for(let e of r instanceof Array?r:[r]){let r=e instanceof Blob||e instanceof File;t.append(s,r?e:this.stringifyFormItem(e))}return t},new FormData)}async request(e){let{contentType:t,data:s}=e;(0,eo.isNil)(s)||("multipart/form-data"===t&&"object"==typeof s&&(e.data=this.createFormData(s)),"text/plain"===t&&"string"!=typeof s&&(e.data=JSON.stringify(s)));let r=(0,eo.merge)(e.secure??this.config.defaultSecure??!0?await this.prepareAuthRequestConfig():{},t?{headers:{"Content-Type":t}}:{},e);try{let{data:e,status:t,statusText:s}=await this.axiosInstance.request(r);return{success:!0,data:e,status:t,statusText:s}}catch(s){let t={success:!1,status:-1,statusText:String(s),error:s};if((0,en.isAxiosError)(s)&&(this.config.onAxiosError?.(s),t.data=s.response?.data,t.status=s.response?.status??t.status,t.statusText=s.response?.statusText??t.statusText),this.config.onError?.(s),!this.config.handleError&&!e.handleError)throw s;return t}}get(e,t){return this.request({...t,method:"GET",url:e})}delete(e,t){return this.request({...t,method:"DELETE",url:e})}head(e,t){return this.request({...t,method:"HEAD",url:e})}options(e,t){return this.request({...t,method:"OPTIONS",url:e})}post(e,t,s){return this.request({...s,method:"POST",url:e,data:t})}put(e,t,s){return this.request({...s,method:"PUT",url:e,data:t})}patch(e,t,s){return this.request({...s,method:"PATCH",url:e,data:t})}getAxios(){return this.axiosInstance}setAuthData(e){this.storage.setItem(this.config.authDataStorageKey||"auth",JSON.stringify(e))}getAuthData(){let e=this.storage.getItem(this.config.authDataStorageKey||"auth");return e?JSON.parse(e):null}getConfig(){return this.config}}class eT extends ed{constructor(e){super(e),this.config=e,this.lock=new et.Mutex}getConfig(){return super.getConfig()}setRenewTokenCallback(e){this.renewTokenCallback=e}async prepareAuthRequestConfig(){if(this.config.axiosConfig?.withCredentials)return{};let{accessToken:e}=this.getAuthData()||{};if(!e)return(0,es.consola).warn("No access token found. Please set auth data after authorization."),{};if(!1!==this.config.autoRenewToken&&this.isTokenExpired(e))try{await this.lock.runExclusive(async()=>{this.config.debug&&(0,es.consola).debug("Token expired. Renewing…"),e=(await this.renewToken()).accessToken,this.lock.cancel()})}catch(t){if(t===et.E_CANCELED)e=this.getAuthData()?.accessToken;else throw t}return{headers:{Authorization:`${this.config.authSchema??"Bearer"} ${e}`}}}isTokenExpired(e){let t=(0,Z.jwtDecode)(e);return!t.exp||(0,er.isBefore)((0,er.subMinutes)(1e3*t.exp,1),Date.now())}async renewToken(){let e=this.config.onRenewToken??this.renewTokenCallback;if(!e)throw Error("No renew token callback provided");let t=await e();return this.setAuthData(t),t}}var ey={},em={};eu(em,"ActionLogs",()=>eC);class eC{constructor(e){this.apiClient=e,ep(ee)(this)}getActionLogs(e,t){return this.apiClient.request({...t,url:"/v1/action-logs/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var eE={};eu(eE,"UmaAuthAppType",()=>eg),eu(eE,"UmaAuthUserType",()=>eb),eu(eE,"UmaResetPasswordType",()=>ev),eu(eE,"UmaErrorCode",()=>eP),eu(eE,"UmaOption",()=>ef),eu(eE,"UmaActionTrigger",()=>eq),eu(eE,"UmaActionType",()=>eS),eu(eE,"UmaAuthProviderAppType",()=>eU),eu(eE,"UmaEndpointType",()=>eA),eu(eE,"UmaEntityAccessType",()=>ew),eu(eE,"UmaEntityName",()=>eO),eu(eE,"UmaPermissionAG",()=>eJ),eu(eE,"UmaUserStatus",()=>ek),eu(eE,"UmaUserType",()=>ej),eu(eE,"UmaTenantSettingLabel",()=>eD),eu(eE,"UmaAuthFormDtoResetPasswordTypeEnum",()=>e_),eu(eE,"UmaAuthFormSerializerResetPasswordTypeEnum",()=>eB),eu(eE,"UmaB2BSendContactChangeCodeDtoTypeEnum",()=>eL),eu(eE,"UmaB2CResetPasswordDtoResetTypeEnum",()=>eR),eu(eE,"UmaB2CSendContactChangeCodeDtoTypeEnum",()=>eF),eu(eE,"UmaB2CSendVerificationCodeDtoCodeTypeEnum",()=>eI),eu(eE,"UmaCreateEndpointDtoMethodEnum",()=>eG),eu(eE,"UmaCreateEndpointDtoTypeEnum",()=>eM),eu(eE,"UmaCreateIdentityProviderDtoTypeEnum",()=>ex),eu(eE,"UmaCreatePermissionDtoAssignmentGroupEnum",()=>e$),eu(eE,"UmaCreateRoleDtoAssignmentGroupEnum",()=>eN),eu(eE,"UmaCreateSecretNoteDtoTypeEnum",()=>eV),eu(eE,"UmaEndpointMetadataDtoUserTypeEnum",()=>eH),eu(eE,"UmaEndpointSerializerMethodEnum",()=>eK),eu(eE,"UmaGetB2CUsersListFiltersDtoShowOnlyEnum",()=>ez),eu(eE,"UmaGetFirmsListFiltersDtoStatusesEnum",()=>eW),eu(eE,"UmaGetIdentityProvidersListFiltersDtoTypesEnum",()=>eY),eu(eE,"UmaGetUsersListFiltersDtoShowOnlyEnum",()=>eQ),eu(eE,"UmaGetWebAuthnLoginChallengeDtoUserTypeEnum",()=>eX),eu(eE,"UmaIdentityProviderSerializerTypeEnum",()=>eZ),eu(eE,"UmaLinkWatchmenUserToUmaDtoUmaUserTypeEnum",()=>e0),eu(eE,"UmaPermissionSerializerAssignmentGroupEnum",()=>e1),eu(eE,"UmaRevokeUserSessionsDtoUserTypeEnum",()=>e2),eu(eE,"UmaSecretNoteSerializerTypeEnum",()=>e4),eu(eE,"UmaSendB2BMfaCodeDtoTypeEnum",()=>e3),eu(eE,"UmaSendB2CMfaCodeDtoTypeEnum",()=>e9),eu(eE,"UmaSendB2CResetPasswordCodeDtoCodeTypeEnum",()=>e8),eu(eE,"UmaSendB2CResetPasswordCodeDtoResetTypeEnum",()=>e5),eu(eE,"UmaSendResetPasswordCodeDtoTypeEnum",()=>e6),eu(eE,"UmaTenantSettingDtoLabelEnum",()=>e7),eu(eE,"UmaUpdateAuthAppDtoStatusEnum",()=>te),eu(eE,"UmaUpdateEndpointDtoMethodEnum",()=>tt),eu(eE,"UmaUpdateEndpointDtoTypeEnum",()=>ts),eu(eE,"UmaUpdateFirmDtoStatusEnum",()=>tr),eu(eE,"UmaUpdateIdentityProviderDtoTypeEnum",()=>tn),eu(eE,"UmaUpsertUserDtoTypeEnum",()=>ti),eu(eE,"UmaVerifyContactDtoCodeTypeEnum",()=>to);var eg=((t={}).EmailCodeAuthAppType="email_code",t.SmsCodeAuthAppType="sms_code",t.YubicoOTPAuthAppType="yubico_otp",t.WebAuthnAuthAppType="webauthn",t.TOTPAuthAppType="totp",t),eb=((s={}).AllAuthUserType="all",s.B2BAuthUserType="b2b",s.B2CAuthUserType="b2c",s),ev=((r={}).PasswordResetByContactCode="by_contact_code",r.PasswordResetByEmailLink="by_email_link",r),eP=((n={})[n.JSONValidationErr=4e3]="JSONValidationErr",n[n.JSONReadErr=4001]="JSONReadErr",n[n.JSONParseErr=4002]="JSONParseErr",n[n.ForbiddenErr=4003]="ForbiddenErr",n[n.ForbiddenDueLimit=4030]="ForbiddenDueLimit",n[n.RecordNotFoundErr=4004]="RecordNotFoundErr",n[n.RecordAlreadyExistsErr=4005]="RecordAlreadyExistsErr",n[n.ImageValidationErr=4006]="ImageValidationErr",n[n.InappropriateImageErr=4007]="InappropriateImageErr",n[n.FaceNotFoundOnImageErr=4008]="FaceNotFoundOnImageErr",n[n.UnauthorizedErr=4010]="UnauthorizedErr",n[n.TokenRevokedErr=4012]="TokenRevokedErr",n[n.TokenNotActiveErr=4013]="TokenNotActiveErr",n[n.EmailNotVerifiedErr=4015]="EmailNotVerifiedErr",n[n.TokenParsingErr=4016]="TokenParsingErr",n[n.PhoneNotVerifiedErr=4017]="PhoneNotVerifiedErr",n[n.UUIDParseErr=4026]="UUIDParseErr",n[n.InvalidEmailOrPasswordOrTypeErr=4028]="InvalidEmailOrPasswordOrTypeErr",n[n.InvalidMfaCodeErr=4128]="InvalidMfaCodeErr",n[n.MfaRequiredErr=4228]="MfaRequiredErr",n[n.TokenVerificationErr=4328]="TokenVerificationErr",n[n.InvalidAPIKeyOrSecretErr=4428]="InvalidAPIKeyOrSecretErr",n[n.MfaAddingNotAllowedErr=4528]="MfaAddingNotAllowedErr",n[n.BranchRequestNotAllowed=4103]="BranchRequestNotAllowed",n[n.ForbiddenForUserTypeErr=4203]="ForbiddenForUserTypeErr",n[n.SecondForbiddenErr=4031]="SecondForbiddenErr",n[n.ThirdForbiddenErr=4032]="ThirdForbiddenErr",n[n.EntitiesChoiceNotAllowed=4303]="EntitiesChoiceNotAllowed",n[n.RecaptchaErr=4403]="RecaptchaErr",n[n.UpdateOfOldEntityStateErr=4503]="UpdateOfOldEntityStateErr",n[n.ChiefadminMutationErr=4603]="ChiefadminMutationErr",n[n.ChildEntitiesExistErr=4703]="ChildEntitiesExistErr",n[n.TenantActionForbiddenErr=4803]="TenantActionForbiddenErr",n[n.RBACManipulationErr=4903]="RBACManipulationErr",n[n.YubicoMaxKeysLimitReachedErr=4113]="YubicoMaxKeysLimitReachedErr",n[n.ConflictErr=4090]="ConflictErr",n[n.SecondFieldConflictErr=4091]="SecondFieldConflictErr",n[n.ThirdFieldConflictErr=4092]="ThirdFieldConflictErr",n[n.FourthFieldConflictErr=4093]="FourthFieldConflictErr",n[n.FifthFieldConflictErr=4094]="FifthFieldConflictErr",n[n.SixthFieldConflictErr=4095]="SixthFieldConflictErr",n[n.SeventhFieldConflictErr=4096]="SeventhFieldConflictErr",n[n.GoneErr=4100]="GoneErr",n[n.SecondGoneErr=4101]="SecondGoneErr",n[n.UnprocessableEntity=4222]="UnprocessableEntity",n[n.TooEarlyDuplicateRequest=4250]="TooEarlyDuplicateRequest",n[n.RateLimitErr=4291]="RateLimitErr",n[n.ForbiddenByFirmsStatusErr=4292]="ForbiddenByFirmsStatusErr",n[n.NotAcceptableError=4600]="NotAcceptableError",n[n.InternalServerErr=5e3]="InternalServerErr",n[n.InvalidRequest=6e3]="InvalidRequest",n),ef=((i={}).SmsMfaOption="sms",i.EmailMfaOption="email",i.VoiceMfaOption="voice",i.WebAuthnMfaOption="webauthn",i.YubicoOTPMfaOption="yubico_otp",i.TOTPMfaOption="totp",i),eq=((o={}).B2BUserTrigger="b2b_user",o.OwnerUserTrigger="owner_user",o.RegularMigrationsTrigger="regular_migrations",o.DataMigrationsTrigger="data_migrations",o),eS=((a={}).CreateAction="create",a.UpdateAction="update",a.DeleteAction="delete",a.ResetPasswordAction="reset_password",a.RegistrationAction="registration",a.SettingsChangeAction="settings_change",a.AvatarChangeAction="avatar_change",a),eU=((u={}).GoogleOAuth2Provider="google-oauth2",u.AppleIDOAuth2Provider="apple-id",u),eA=((p={}).RegularEndpoint="regular",p.DisplayOnlyEndpoint="display_only",p),ew=((l={}).GranularEntityAccessType="granular",l.HighLevelEntityAccessType="high-level",l),eO=((c={}).B2BUsersEntity="b2b_users",c.B2CUsersEntity="b2c_users",c.RolesEntity="roles",c.RoleTypesEntity="role_types",c.PermissionsEntity="permissions",c.MicroservicesEntity="microservices",c.IdentityProvidersEntity="identity_providers",c.FirmsEntity="firms",c.EndpointsEntity="endpoints",c.BranchesEntity="branches",c.APIKeysEntity="api_keys",c),eJ=((h={}).ChiefadminPermissionAG="chiefadmin",h.SuperadminPermissionAG="superadmin",h.B2BOnlyPermissionAG="b2b_only",h.RegularPermissionAG="regular",h),ek=((d={}).ActiveUserStatus="active",d.BlockedUserStatus="blocked",d.ArchivedUserStatus="archived",d),ej=((T={}).B2BUserType="b2b",T.SystemUserType="system",T.B2CUserType="b2c",T),eD=((y={}).StorePasswordHistoryForDays="store_password_history_for_days",y.ResetPasswordIfUserInactiveForDays="reset_password_if_user_inactive_for_days",y.PeriodicallyResetPasswordAfterDays="periodically_reset_password_after_days",y),e_=((m={}).ByContactCode="by_contact_code",m.ByEmailLink="by_email_link",m),eB=((C={}).ByContactCode="by_contact_code",C.ByEmailLink="by_email_link",C),eL=((E={}).Email="email",E.Voice="voice",E.Sms="sms",E),eR=((g={}).ByContactCode="by_contact_code",g.ByEmailLink="by_email_link",g),eF=((b={}).Email="email",b.Voice="voice",b.Sms="sms",b),eI=((v={}).Email="email",v.Voice="voice",v.Sms="sms",v),eG=((P={}).POST="POST",P.PUT="PUT",P.DELETE="DELETE",P.GET="GET",P.PATCH="PATCH",P.ALL="ALL",P),eM=((f={}).Regular="regular",f.DisplayOnly="display_only",f),ex=((q={}).Okta="okta",q),e$=((S={}).Regular="regular",S.Superadmin="superadmin",S.B2BOnly="b2b_only",S),eN=((U={}).Regular="regular",U.Superadmin="superadmin",U.B2BOnly="b2b_only",U),eV=((A={}).Password="password",A),eH=((w={}).B2B="b2b",w.B2C="b2c",w),eK=((O={}).POST="POST",O.PUT="PUT",O.DELETE="DELETE",O.GET="GET",O.PATCH="PATCH",O.ALL="ALL",O),ez=((J={}).Admin="admin",J.BranchAdmin="branch_admin",J.Compliance="compliance",J),eW=((k={}).InProgress="in_progress",k.Active="active",k.Suspended="suspended",k.Deleted="deleted",k),eY=((j={}).Okta="okta",j),eQ=((D={}).Admin="admin",D.BranchAdmin="branch_admin",D.Compliance="compliance",D),eX=((_={}).B2B="b2b",_.B2C="b2c",_),eZ=((B={}).Okta="okta",B),e0=((L={}).B2B="b2b",L.B2C="b2c",L),e1=((R={}).Regular="regular",R.Chiefadmin="chiefadmin",R.Superadmin="superadmin",R),e2=((F={}).B2B="b2b",F.B2C="b2c",F),e4=((I={}).Password="password",I),e3=((G={}).Email="email",G.Voice="voice",G.Sms="sms",G),e9=((M={}).Email="email",M.Voice="voice",M.Sms="sms",M),e8=((x={}).Email="email",x.Voice="voice",x.Sms="sms",x),e5=(($={}).ByContactCode="by_contact_code",$.ByEmailLink="by_email_link",$),e6=((N={}).Email="email",N.Voice="voice",N.Sms="sms",N),e7=((V={}).StorePasswordHistoryForDays="store_password_history_for_days",V.ResetPasswordIfUserInactiveForDays="reset_password_if_user_inactive_for_days",V.PeriodicallyResetPasswordAfterDays="periodically_reset_password_after_days",V),te=((H={}).Active="active",H.Disabled="disabled",H),tt=((K={}).POST="POST",K.PUT="PUT",K.DELETE="DELETE",K.GET="GET",K.PATCH="PATCH",K.ALL="ALL",K),ts=((z={}).Regular="regular",z.DisplayOnly="display_only",z),tr=((W={}).InProgress="in_progress",W.Active="active",W.Suspended="suspended",W.Deleted="deleted",W),tn=((Y={}).Okta="okta",Y),ti=((Q={}).B2B="b2b",Q.B2C="b2c",Q),to=((X={}).Email="email",X.Voice="voice",X.Sms="sms",X),ta={};eu(ta,"AuthApps",()=>tu);class tu{constructor(e){this.apiClient=e,ep(ee)(this)}get(e){return this.apiClient.request({...e,url:"/v1/auth-apps",method:"GET",secure:!0,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getRegistrationQr(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/totp/registration/qr",method:"POST",data:e,secure:!0,contentType:eh.Json})}finishRegistration(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/totp/registration/response",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getLoginChallenge(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/webauthn/login/request",method:"POST",data:e,secure:!1,contentType:eh.Json,responseType:"json"})}getRegisterChallenge(e){return this.apiClient.request({...e,url:"/v1/auth-apps/webauthn/registration/request",method:"POST",secure:!0,responseType:"json"})}finishCredentialRegistration(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/webauthn/registration/response",method:"POST",data:e,secure:!0,contentType:eh.Json})}register(e,t){return this.apiClient.request({...t,url:"/v1/auth-apps/yubico/otp/registration",method:"POST",data:e,secure:!0,contentType:eh.Json})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/auth-apps/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}}var tp={};eu(tp,"AuthForms",()=>tl);class tl{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/auth-forms",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/auth-forms",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}get(e,t){return this.apiClient.request({...t,url:"/v1/auth-forms/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getBySlug(e,t){return this.apiClient.request({...t,url:`/v1/auth-forms/public/${e}`,method:"GET",secure:!1,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/auth-forms/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/auth-forms/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}}var tc={};eu(tc,"B2BAuth",()=>th);class th{constructor(e){this.apiClient=e,ep(ee)(this)}getCurrent(e){return this.apiClient.request({...e,url:"/v1/auth/b2b/current",method:"GET",secure:!0,responseType:"json"})}apiKeysLogin(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/login/api-keys",method:"POST",data:e,secure:!1,contentType:eh.Json,responseType:"json"})}basicLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2b/login/basic",method:"POST",data:e,secure:!1,headers:t,contentType:eh.Json,responseType:"json"})}logout(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/logout",method:"DELETE",data:e,secure:!1,contentType:eh.Json})}refreshTokens(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/refresh",method:"POST",data:e,secure:!1,contentType:eh.Json,responseType:"json"})}resetPassword(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2b/reset-password",method:"PUT",data:e,secure:!1,headers:t,contentType:eh.Json,responseType:"json"})}sendMfaCode(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/send-mfa-code",method:"PUT",data:e,secure:!1,contentType:eh.Json})}sendResetPasswordCode(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2b/send-reset-password-code",method:"PUT",data:e,secure:!1,contentType:eh.Json})}}var td={};eu(td,"B2CAuth",()=>tT);class tT{constructor(e){this.apiClient=e,ep(ee)(this)}getCurrent(e){return this.apiClient.request({...e,url:"/v1/auth/b2c/current",method:"GET",secure:!0,responseType:"json"})}initAppleLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/login/apple",method:"POST",data:e,secure:!1,headers:t,responseType:"json"})}finishAppleLogin(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/login/apple/callback",method:"POST",data:e,secure:!1,responseType:"json"})}basicLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/login/basic",method:"POST",data:e,secure:!1,headers:t,contentType:eh.Json,responseType:"json"})}initGoogleLogin(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/login/google",method:"POST",data:e,secure:!1,headers:t,responseType:"json"})}finishGoogleLogin(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/login/google/callback",method:"POST",data:e,secure:!1,responseType:"json"})}logout(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/logout",method:"DELETE",data:e,secure:!1,contentType:eh.Json})}refreshTokens(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/refresh",method:"POST",data:e,secure:!1,headers:t,contentType:eh.Json,responseType:"json"})}register(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/register",method:"POST",data:e,secure:!1,headers:t,contentType:eh.Json,responseType:"json"})}resetPassword(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/reset-password",method:"PUT",data:e,secure:!1,headers:t,contentType:eh.Json})}sendMfaCode(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/send-mfa-code",method:"PUT",data:e,secure:!1,headers:t,contentType:eh.Json})}sendResetPasswordCode(e,t){return this.apiClient.request({...t,url:"/v1/auth/b2c/send-reset-password-code",method:"PUT",data:e,secure:!1,contentType:eh.Json})}sendVerificationCode(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/send-verification-code",method:"PUT",data:e,secure:!1,headers:t,contentType:eh.Json})}verifyContact(e,t,s){return this.apiClient.request({...s,url:"/v1/auth/b2c/verify",method:"PUT",data:e,secure:!1,headers:t,contentType:eh.Json})}}var ty={};eu(ty,"Sessions",()=>tm);class tm{constructor(e){this.apiClient=e,ep(ee)(this)}getCurrentUserSessions(e){return this.apiClient.request({...e,url:"/v1/auth/sessions",method:"GET",secure:!0,responseType:"json"})}deleteCurrentUserSessions(e,t){return this.apiClient.request({...t,url:"/v1/auth/sessions",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}}var tC={};eu(tC,"WatchmenAuth",()=>tE);class tE{constructor(e){this.apiClient=e,ep(ee)(this)}generateWatchmenAuthToken(e,t){return this.apiClient.request({...t,url:"/v1/auth/watchmen/authentication-tokens",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}verifyWatchmenAuthToken(e,t){return this.apiClient.request({...t,url:"/v1/auth/watchmen/authentication-tokens/verify",method:"PUT",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tg={};eu(tg,"TrustedDevices",()=>tb);class tb{constructor(e){this.apiClient=e,ep(ee)(this)}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/auth/trusted-devices",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}get(e,t){return this.apiClient.request({...t,url:"/v1/auth/trusted-devices/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tv={};eu(tv,"ApiKeys",()=>tP);class tP{constructor(e){this.apiClient=e,ep(ee)(this)}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/api-keys",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/api-keys/${e}`,method:"GET",secure:!0,responseType:"json"})}create(e,t){return this.apiClient.request({...t,url:"/v2/b2b/api-keys",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/api-keys/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v2/b2b/api-keys/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}}var tf={};eu(tf,"Endpoints",()=>tq);class tq{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/endpoints",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/endpoints",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/endpoints/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/endpoints/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/endpoints/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tS={};eu(tS,"Microservices",()=>tU);class tU{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/microservices",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/microservices",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/microservices/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/microservices/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/microservices/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tA={};eu(tA,"RoleTypes",()=>tw);class tw{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/role-types",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/role-types",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/role-types/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/role-types/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/role-types/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tO={};eu(tO,"IdentityProviders",()=>tJ);class tJ{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/b2b/identity-providers",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/b2b/identity-providers",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/b2b/identity-providers/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/b2b/identity-providers/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/b2b/identity-providers/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tk={};eu(tk,"B2BUserSettings",()=>tj);class tj{constructor(e){this.apiClient=e,ep(ee)(this)}setUserSettings(e,t,s){return this.apiClient.request({...s,url:"/v1/b2b/settings",method:"PUT",data:e,secure:!0,headers:t,contentType:eh.Json,responseType:"json"})}uploadAvatar(e,t){return this.apiClient.request({...t,url:"/v1/b2b/settings/avatar",method:"PUT",data:e,secure:!0,contentType:eh.FormData})}sendContactChangeCode(e,t,s){return this.apiClient.request({...s,url:"/v1/b2b/settings/codes",method:"POST",data:e,secure:!0,headers:t,contentType:eh.Json})}}var tD={};eu(tD,"TablePresets",()=>t_);class t_{constructor(e){this.apiClient=e,ep(ee)(this)}getUserPresets(e){return this.apiClient.request({...e,url:"/v1/b2b/table-presets",method:"GET",secure:!0,responseType:"json"})}upsert(e,t){return this.apiClient.request({...t,url:"/v1/b2b/table-presets",method:"PUT",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tB={};eu(tB,"Locales",()=>tL);class tL{constructor(e){this.apiClient=e,ep(ee)(this)}get(e){return this.apiClient.request({...e,url:"/v1/locales",method:"GET",secure:!1,responseType:"json"})}}var tR={};eu(tR,"B2CUserSettings",()=>tF);class tF{constructor(e){this.apiClient=e,ep(ee)(this)}setUserSettings(e,t,s){return this.apiClient.request({...s,url:"/v1/b2c/settings",method:"PUT",data:e,secure:!0,headers:t,contentType:eh.Json,responseType:"json"})}sendContactChangeCode(e,t,s){return this.apiClient.request({...s,url:"/v1/b2c/settings/codes",method:"POST",data:e,secure:!0,headers:t,contentType:eh.Json})}availableMfaOptions(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/mfa-options",method:"GET",secure:!0,headers:e,responseType:"json"})}deleteManyOAuthBindings(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}finishAppleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/apple/finish",method:"POST",data:e,secure:!1,contentType:eh.Json})}initAppleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/apple/start",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}finishGoogleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/google/finish",method:"POST",data:e,secure:!1,contentType:eh.Json})}initGoogleProfileLinking(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/google/start",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getOAuthBindings(e,t){return this.apiClient.request({...t,url:"/v1/b2c/settings/oauth-links/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tI={};eu(tI,"Branches",()=>tG);class tG{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/branches",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/branches",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/branches/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/branches/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/branches/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tM={};eu(tM,"MigrationUtils",()=>tx);class tx{constructor(e){this.apiClient=e,ep(ee)(this)}postUsersUpsert(e,t){return this.apiClient.request({...t,url:"/v1/migration-utils/users/upsert",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var t$={};eu(t$,"Permissions",()=>tN);class tN{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/permissions",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/permissions",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/permissions/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/permissions/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/permissions/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tV={};eu(tV,"Roles",()=>tH);class tH{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/roles",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/roles",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/roles/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/roles/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}generateAsPdf(e,t){return this.apiClient.request({...t,url:`/v1/roles/${e}/generate-as-pdf`,method:"POST",secure:!0})}get(e,t){return this.apiClient.request({...t,url:"/v2/roles/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tK={};eu(tK,"Firms",()=>tz);class tz{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/firms",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/firms",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/firms/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/firms/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/firms/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var tW={};eu(tW,"SecretNotes",()=>tY);class tY{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/secret-notes",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getOne(e,t){return this.apiClient.request({...t,url:"/v1/secret-notes/fetch",method:"POST",data:e,secure:!1,contentType:eh.Json,responseType:"json"})}sendVerificationCode(e,t){return this.apiClient.request({...t,url:"/v1/secret-notes/verification",method:"PUT",data:e,secure:!1,contentType:eh.Json})}}var tQ={};eu(tQ,"Countries",()=>tX);class tX{constructor(e){this.apiClient=e,ep(ee)(this)}get(e){return this.apiClient.request({...e,url:"/v1/countries/",method:"GET",secure:!1,responseType:"json"})}}var tZ={};eu(tZ,"PublicSettings",()=>t0);class t0{constructor(e){this.apiClient=e,ep(ee)(this)}get(e){return this.apiClient.request({...e,url:"/v1/public-settings",method:"GET",secure:!1,responseType:"json"})}}var t1={};eu(t1,"Tags",()=>t2);class t2{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/tags",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/tags",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}get(e,t){return this.apiClient.request({...t,url:"/v1/tags/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/tags/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/tags/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}}var t4={};eu(t4,"B2CUsers",()=>t3);class t3{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/users/b2c",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/users/b2c",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/users/b2c/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/users/b2c/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}generateAsPdf(e,t){return this.apiClient.request({...t,url:`/v1/users/b2c/${e}/generate-as-pdf`,method:"POST",secure:!0})}changeStatus(e,t,s){return this.apiClient.request({...s,url:`/v1/users/b2c/${e}/status`,method:"PATCH",data:t,secure:!0,contentType:eh.Json})}get(e,t){return this.apiClient.request({...t,url:"/v2/users/b2c/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}}var t9={};eu(t9,"B2BUsers",()=>t8);class t8{constructor(e){this.apiClient=e,ep(ee)(this)}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/users/b2b",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getById(e,t){return this.apiClient.request({...t,url:`/v1/users/b2b/${e}`,method:"GET",secure:!0,responseType:"json"})}generateAsPdf(e,t){return this.apiClient.request({...t,url:`/v1/users/b2b/${e}/generate-as-pdf`,method:"POST",secure:!0})}changeStatus(e,t,s){return this.apiClient.request({...s,url:`/v1/users/b2b/${e}/status`,method:"PATCH",data:t,secure:!0,contentType:eh.Json})}create(e,t){return this.apiClient.request({...t,url:"/v2/users/b2b",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}get(e,t){return this.apiClient.request({...t,url:"/v2/users/b2b/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v2/users/b2b/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}}var t5={};eu(t5,"UsersCommon",()=>t6);class t6{constructor(e){this.apiClient=e,ep(ee)(this)}resetRateLimits(e,t){return this.apiClient.request({...t,url:"/v1/users/rate-limits/reset",method:"PATCH",data:e,secure:!0,contentType:eh.Json})}getUserStatusChangeReasonsList(e,t){return this.apiClient.request({...t,url:"/v1/users/status-change-reasons/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}linkWatchmenUsersToUma(e,t){return this.apiClient.request({...t,url:"/v1/users/watchmen/link",method:"POST",data:e,secure:!0,contentType:eh.Json})}}var t7={};eu(t7,"WatchmenInstances",()=>se);class se{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/watchmen-instances",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/watchmen-instances",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}getMany(e,t){return this.apiClient.request({...t,url:"/v1/watchmen-instances/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/watchmen-instances/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/watchmen-instances/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}}var st={};eu(st,"UserDetails",()=>ss);class ss{constructor(e){this.apiClient=e,ep(ee)(this)}getUserDetails(e,t){return this.apiClient.request({...t,url:"/v1/users/details/show",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}revokeSessions(e,t){return this.apiClient.request({...t,url:"/v1/users/revoke-sessions",method:"POST",data:e,secure:!0,contentType:eh.Json})}}var sr={};eu(sr,"SystemUsers",()=>sn);class sn{constructor(e){this.apiClient=e,ep(ee)(this)}create(e,t){return this.apiClient.request({...t,url:"/v1/users/system",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}deleteMany(e,t){return this.apiClient.request({...t,url:"/v1/users/system",method:"DELETE",data:e,secure:!0,contentType:eh.Json})}get(e,t){return this.apiClient.request({...t,url:"/v1/users/system/list",method:"POST",data:e,secure:!0,contentType:eh.Json,responseType:"json"})}getById(e,t){return this.apiClient.request({...t,url:`/v1/users/system/${e}`,method:"GET",secure:!0,responseType:"json"})}update(e,t,s){return this.apiClient.request({...s,url:`/v1/users/system/${e}`,method:"PUT",data:t,secure:!0,contentType:eh.Json,responseType:"json"})}generateAsPdf(e,t){return this.apiClient.request({...t,url:`/v1/users/system/${e}/generate-as-pdf`,method:"POST",secure:!0})}changeStatus(e,t,s){return this.apiClient.request({...s,url:`/v1/users/system/${e}/status`,method:"PATCH",data:t,secure:!0,contentType:eh.Json})}}ea(ey,em),ea(ey,eE),ea(ey,ta),ea(ey,tp),ea(ey,tc),ea(ey,td),ea(ey,ty),ea(ey,tC),ea(ey,tg),ea(ey,tv),ea(ey,tf),ea(ey,tS),ea(ey,tA),ea(ey,tO),ea(ey,tk),ea(ey,tD),ea(ey,tB),ea(ey,tR),ea(ey,tI),ea(ey,tM),ea(ey,t$),ea(ey,tV),ea(ey,tK),ea(ey,tW),ea(ey,tQ),ea(ey,tZ),ea(ey,t1),ea(ey,t4),ea(ey,t9),ea(ey,t5),ea(ey,t7),ea(ey,st),ea(ey,sr);class si extends th{async basicLogin(e,t,s){let r=await super.basicLogin(e,t,s);return r.success&&this.apiClient.setAuthData({accessToken:r.data.login_basic.tokens.access_token??"",refreshToken:r.data.login_basic.tokens.refresh_token??""}),r}}class so extends tT{async basicLogin(e,t,s){let r=await super.basicLogin(e,t,s);return r.success&&this.apiClient.setAuthData({accessToken:r.data.login_basic.tokens.access_token??"",refreshToken:r.data.login_basic.tokens.refresh_token??""}),r}}class sa extends ec{constructor(e){super(new eT(e)),this.config=e,this.actionLog=new eC(this.apiClient),this.apiKeys=new tP(this.apiClient),this.authApps=new tu(this.apiClient),this.authForms=new tl(this.apiClient),this.b2bAuth=new si(this.apiClient),this.b2bUsers=new t8(this.apiClient),this.b2bUserSettings=new tj(this.apiClient),this.b2cAuth=new so(this.apiClient),this.b2cUsers=new t3(this.apiClient),this.b2cUserSettings=new tF(this.apiClient),this.branches=new tG(this.apiClient),this.countries=new tX(this.apiClient),this.endpoints=new tq(this.apiClient),this.fims=new tz(this.apiClient),this.identityProviders=new tJ(this.apiClient),this.locales=new tL(this.apiClient),this.microservices=new tU(this.apiClient),this.migrationUtils=new tx(this.apiClient),this.permissions=new tN(this.apiClient),this.publicSettings=new t0(this.apiClient),this.roles=new tH(this.apiClient),this.roleTypes=new tw(this.apiClient),this.secretNotes=new tY(this.apiClient),this.sessions=new tm(this.apiClient),this.systemUsers=new sn(this.apiClient),this.tablePresets=new t_(this.apiClient),this.tags=new t2(this.apiClient),this.trustedDevices=new tb(this.apiClient),this.userDetails=new ss(this.apiClient),this.usersCommon=new t6(this.apiClient),this.watchmenAuth=new tE(this.apiClient),this.watchmenInstances=new se(this.apiClient),this.apiClient.setRenewTokenCallback(this.renewToken)}async renewToken(){let e;let t=this.apiClient.getAuthData()?.refreshToken;if(!t)throw Error("Refresh token not found");if((e="b2b"===(0,Z.jwtDecode)(t).u_type?await this.b2bAuth.refreshTokens({refresh_token:t}):await this.b2cAuth.refreshTokens({refresh_token:t,auth_form_slug:this.apiClient.getConfig().authFormSlug})).success)return{accessToken:e.data.login_basic.tokens.access_token??"",refreshToken:e.data.login_basic.tokens.refresh_token??""};throw Error(`Could not renew token: ${String(e.error)}`)}}ea(module.exports,el),ea(module.exports,ey);
3999
2
  //# sourceMappingURL=index.js.map