@rlvt/entity-manager-openapi-client 0.0.0-8c8dbe5 → 0.0.0-9898432
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api.d.ts +1535 -162
- package/build/api.js +113 -51
- package/build/definitions.d.ts +274 -150
- package/build/definitions.js +7 -2
- package/package.json +3 -3
package/build/api.d.ts
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { AxiosInstance, AxiosRequestConfig } from "axios";
|
|
2
|
-
import
|
|
3
|
-
export
|
|
2
|
+
import type { Providers, User, Partial__roleId_string_resourceGroupIds_string_Array___, Company, Partial_Pick_Company_meta__, Invitation, InvitationState, ResourceGroup, Partial_Pick_Pick_ResourceGroup___name_or_color__, Role, Partial_Pick_Pick_Role___name_or_rules_or_undefined__, UserProfile, Partial_Pick_SerializedUser_companyId_or_roleId_or_resourceGroupIds_or_email_or_lastPasswordUpdate_or_disabled_or_mustUpdatePassword_or_connection_or_profile_or_hasOtp_or_id_or_createdAt_or_updatedAt__, WithoutReadonly, WithoutWriteonly } from "./definitions";
|
|
3
|
+
export type { Providers, User, Partial__roleId_string_resourceGroupIds_string_Array___, Company, Partial_Pick_Company_meta__, Invitation, InvitationState, ResourceGroup, Partial_Pick_Pick_ResourceGroup___name_or_color__, Role, Partial_Pick_Pick_Role___name_or_rules_or_undefined__, UserProfile, Partial_Pick_SerializedUser_companyId_or_roleId_or_resourceGroupIds_or_email_or_lastPasswordUpdate_or_disabled_or_mustUpdatePassword_or_connection_or_profile_or_hasOtp_or_id_or_createdAt_or_updatedAt__, WithoutReadonly, WithoutWriteonly };
|
|
4
4
|
export default class {
|
|
5
5
|
axios: AxiosInstance;
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
|
|
7
|
+
private oauthShopifyRedirect;
|
|
8
|
+
private oauthRedirect;
|
|
9
|
+
private oauthCallback;
|
|
10
|
+
private ssoRedirect;
|
|
11
|
+
private ssoCallback;
|
|
12
|
+
private ssoMetadata;
|
|
13
|
+
private getToken;
|
|
14
|
+
private describeToken;
|
|
15
|
+
private revokeToken;
|
|
7
16
|
private getDefaultsCompany;
|
|
8
17
|
private setDefaultsCompany;
|
|
18
|
+
private getCompany;
|
|
19
|
+
private updateCompany;
|
|
9
20
|
private listInvitation;
|
|
10
21
|
private createInvitation;
|
|
11
22
|
private useInvitation;
|
|
@@ -20,12 +31,187 @@ export default class {
|
|
|
20
31
|
private deleteRole;
|
|
21
32
|
private listUser;
|
|
22
33
|
private createUser;
|
|
34
|
+
private updatePasswordUser;
|
|
35
|
+
private resetPasswordUser;
|
|
23
36
|
private updateUser;
|
|
24
37
|
private deleteUser;
|
|
25
38
|
private setRoleUser;
|
|
26
39
|
private setResourceGroupsUser;
|
|
40
|
+
private setOtpUser;
|
|
41
|
+
get Authentification(): {
|
|
42
|
+
oauthShopifyRedirect: (params: {
|
|
43
|
+
shop: string;
|
|
44
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
45
|
+
status: "success";
|
|
46
|
+
program: string;
|
|
47
|
+
version: string;
|
|
48
|
+
datetime: string;
|
|
49
|
+
code?: number;
|
|
50
|
+
message: string;
|
|
51
|
+
data: {};
|
|
52
|
+
}>>;
|
|
53
|
+
oauthRedirect: (params: {
|
|
54
|
+
provider: Providers;
|
|
55
|
+
plan?: string;
|
|
56
|
+
companyName?: string;
|
|
57
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
58
|
+
status: "success";
|
|
59
|
+
program: string;
|
|
60
|
+
version: string;
|
|
61
|
+
datetime: string;
|
|
62
|
+
code?: number;
|
|
63
|
+
message: string;
|
|
64
|
+
data: {};
|
|
65
|
+
}>>;
|
|
66
|
+
oauthCallback: (params: {
|
|
67
|
+
provider: Providers;
|
|
68
|
+
code: string;
|
|
69
|
+
state: string;
|
|
70
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
71
|
+
status: "success";
|
|
72
|
+
program: string;
|
|
73
|
+
version: string;
|
|
74
|
+
datetime: string;
|
|
75
|
+
code?: number;
|
|
76
|
+
message: string;
|
|
77
|
+
data: {};
|
|
78
|
+
}>>;
|
|
79
|
+
ssoRedirect: (params: {
|
|
80
|
+
domain: string;
|
|
81
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
82
|
+
status: "success";
|
|
83
|
+
program: string;
|
|
84
|
+
version: string;
|
|
85
|
+
datetime: string;
|
|
86
|
+
code?: number;
|
|
87
|
+
message: string;
|
|
88
|
+
data: {};
|
|
89
|
+
}>>;
|
|
90
|
+
ssoCallback: (params: {
|
|
91
|
+
company: string;
|
|
92
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
93
|
+
status: "success";
|
|
94
|
+
program: string;
|
|
95
|
+
version: string;
|
|
96
|
+
datetime: string;
|
|
97
|
+
code?: number;
|
|
98
|
+
message: string;
|
|
99
|
+
data: {};
|
|
100
|
+
}>>;
|
|
101
|
+
ssoMetadata: (params: {
|
|
102
|
+
company: string;
|
|
103
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
104
|
+
status: "success";
|
|
105
|
+
program: string;
|
|
106
|
+
version: string;
|
|
107
|
+
datetime: string;
|
|
108
|
+
code?: number;
|
|
109
|
+
message: string;
|
|
110
|
+
data: string;
|
|
111
|
+
}>>;
|
|
112
|
+
getToken: (data: {
|
|
113
|
+
client_id: string;
|
|
114
|
+
grant_type: "password";
|
|
115
|
+
username: string;
|
|
116
|
+
password: string;
|
|
117
|
+
"x-otp-code"?: string;
|
|
118
|
+
} | {
|
|
119
|
+
client_id: string;
|
|
120
|
+
grant_type: "refresh_token";
|
|
121
|
+
refresh_token: string;
|
|
122
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
123
|
+
access_token: string;
|
|
124
|
+
expires_in: number;
|
|
125
|
+
refresh_token?: string;
|
|
126
|
+
token_type: "Bearer";
|
|
127
|
+
}>>;
|
|
128
|
+
describeToken: (params: {
|
|
129
|
+
token: string;
|
|
130
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
131
|
+
status: "success";
|
|
132
|
+
program: string;
|
|
133
|
+
version: string;
|
|
134
|
+
datetime: string;
|
|
135
|
+
code?: number;
|
|
136
|
+
message: string;
|
|
137
|
+
data: {
|
|
138
|
+
isValid: boolean;
|
|
139
|
+
revokedAt: Date;
|
|
140
|
+
expiresAt: Date;
|
|
141
|
+
user: {
|
|
142
|
+
readonly companyId: string & {
|
|
143
|
+
readonly?: "__readonly";
|
|
144
|
+
};
|
|
145
|
+
readonly roleId: string & {
|
|
146
|
+
readonly?: "__readonly";
|
|
147
|
+
};
|
|
148
|
+
readonly resourceGroupIds: string[];
|
|
149
|
+
readonly id: string & {
|
|
150
|
+
readonly?: "__readonly";
|
|
151
|
+
};
|
|
152
|
+
readonly disabled: (false & {
|
|
153
|
+
readonly?: "__readonly";
|
|
154
|
+
}) | (true & {
|
|
155
|
+
readonly?: "__readonly";
|
|
156
|
+
});
|
|
157
|
+
email: string;
|
|
158
|
+
readonly lastPasswordUpdate: Date & {
|
|
159
|
+
readonly?: "__readonly";
|
|
160
|
+
};
|
|
161
|
+
readonly mustUpdatePassword: (false & {
|
|
162
|
+
readonly?: "__readonly";
|
|
163
|
+
}) | (true & {
|
|
164
|
+
readonly?: "__readonly";
|
|
165
|
+
});
|
|
166
|
+
readonly connection: {
|
|
167
|
+
readonly?: "__readonly";
|
|
168
|
+
lastAttempts?: Date;
|
|
169
|
+
nbFail?: number;
|
|
170
|
+
};
|
|
171
|
+
profile?: {
|
|
172
|
+
firstname?: string;
|
|
173
|
+
lastname?: string;
|
|
174
|
+
jobtitle?: string;
|
|
175
|
+
phone?: string;
|
|
176
|
+
preferredLang?: string;
|
|
177
|
+
preferredRecipientId?: string;
|
|
178
|
+
preferredMessageId?: string;
|
|
179
|
+
preferredUtm?: {
|
|
180
|
+
medium?: string;
|
|
181
|
+
source?: string;
|
|
182
|
+
campaign?: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
readonly hasOtp: (false & {
|
|
186
|
+
readonly?: "__readonly";
|
|
187
|
+
}) | (true & {
|
|
188
|
+
readonly?: "__readonly";
|
|
189
|
+
});
|
|
190
|
+
readonly createdAt: Date & {
|
|
191
|
+
readonly?: "__readonly";
|
|
192
|
+
};
|
|
193
|
+
readonly updatedAt: Date & {
|
|
194
|
+
readonly?: "__readonly";
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
}>>;
|
|
199
|
+
revokeToken: (params: {
|
|
200
|
+
token: string;
|
|
201
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
202
|
+
status: "success";
|
|
203
|
+
program: string;
|
|
204
|
+
version: string;
|
|
205
|
+
datetime: string;
|
|
206
|
+
code?: number;
|
|
207
|
+
message: string;
|
|
208
|
+
data: {
|
|
209
|
+
revoked: boolean;
|
|
210
|
+
};
|
|
211
|
+
}>>;
|
|
212
|
+
};
|
|
27
213
|
get Company(): {
|
|
28
|
-
getDefaults: (
|
|
214
|
+
getDefaults: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
29
215
|
status: "success";
|
|
30
216
|
program: string;
|
|
31
217
|
version: string;
|
|
@@ -37,7 +223,7 @@ export default class {
|
|
|
37
223
|
resourceGroupIds: string[];
|
|
38
224
|
};
|
|
39
225
|
}>>;
|
|
40
|
-
setDefaults: (
|
|
226
|
+
setDefaults: (data: {
|
|
41
227
|
roleId?: string;
|
|
42
228
|
resourceGroupIds?: string[];
|
|
43
229
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
@@ -49,11 +235,38 @@ export default class {
|
|
|
49
235
|
message: string;
|
|
50
236
|
data: {
|
|
51
237
|
readonly id: string & {
|
|
52
|
-
readonly?:
|
|
238
|
+
readonly?: "__readonly";
|
|
239
|
+
};
|
|
240
|
+
plan: {
|
|
241
|
+
name?: string;
|
|
242
|
+
quota: number;
|
|
243
|
+
startDate: Date;
|
|
244
|
+
endDate: Date;
|
|
245
|
+
};
|
|
246
|
+
password?: {
|
|
247
|
+
passwordDuration?: number;
|
|
248
|
+
nbSpCharacter?: number;
|
|
249
|
+
nbIsNotAlphabeticCharacter?: number;
|
|
250
|
+
nbNumberCharacter?: number;
|
|
251
|
+
nbLetterInLowercase?: number;
|
|
252
|
+
nbLetterInUppercase?: number;
|
|
253
|
+
nbCharacter?: number;
|
|
254
|
+
nbAttempts?: number;
|
|
255
|
+
timeEachAttempts?: number;
|
|
256
|
+
timeLockAfterNextAttempts?: number;
|
|
257
|
+
infiniteTimeLock?: boolean;
|
|
258
|
+
};
|
|
259
|
+
disabled: boolean;
|
|
260
|
+
meta: {};
|
|
261
|
+
name: string;
|
|
262
|
+
readonly createdAt: Date & {
|
|
263
|
+
readonly?: "__readonly";
|
|
264
|
+
};
|
|
265
|
+
readonly updatedAt: Date & {
|
|
266
|
+
readonly?: "__readonly";
|
|
53
267
|
};
|
|
54
268
|
defaultRoleId: string;
|
|
55
269
|
defaultResourceGroupIds: string[];
|
|
56
|
-
name: string;
|
|
57
270
|
address?: {
|
|
58
271
|
line1?: string;
|
|
59
272
|
line2?: string;
|
|
@@ -65,6 +278,231 @@ export default class {
|
|
|
65
278
|
name?: string;
|
|
66
279
|
email?: string;
|
|
67
280
|
};
|
|
281
|
+
securityPolicy: {
|
|
282
|
+
password: {
|
|
283
|
+
rules: {
|
|
284
|
+
type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
|
|
285
|
+
options: {
|
|
286
|
+
minimum?: number;
|
|
287
|
+
maximum?: number;
|
|
288
|
+
};
|
|
289
|
+
}[];
|
|
290
|
+
duration: number;
|
|
291
|
+
attempts: {
|
|
292
|
+
maximum: number;
|
|
293
|
+
lockDuration: number;
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
sso?: {
|
|
298
|
+
domains: string[];
|
|
299
|
+
metadata: string;
|
|
300
|
+
emailProperty: string[] | "nameID"[];
|
|
301
|
+
mode: "invitation" | "create";
|
|
302
|
+
readonly identityProvider: {
|
|
303
|
+
readonly?: "__readonly";
|
|
304
|
+
entityMeta: {
|
|
305
|
+
meta: any;
|
|
306
|
+
xmlString: string;
|
|
307
|
+
};
|
|
308
|
+
entitySetting: {
|
|
309
|
+
metadata?: string | {
|
|
310
|
+
data: number[];
|
|
311
|
+
type: "Buffer";
|
|
312
|
+
};
|
|
313
|
+
entityID?: string;
|
|
314
|
+
authnRequestsSigned?: boolean;
|
|
315
|
+
wantAssertionsSigned?: boolean;
|
|
316
|
+
wantMessageSigned?: boolean;
|
|
317
|
+
wantLogoutResponseSigned?: boolean;
|
|
318
|
+
wantLogoutRequestSigned?: boolean;
|
|
319
|
+
privateKey?: string | {
|
|
320
|
+
data: number[];
|
|
321
|
+
type: "Buffer";
|
|
322
|
+
};
|
|
323
|
+
privateKeyPass?: string;
|
|
324
|
+
isAssertionEncrypted?: boolean;
|
|
325
|
+
requestSignatureAlgorithm?: string;
|
|
326
|
+
encPrivateKey?: string | {
|
|
327
|
+
data: number[];
|
|
328
|
+
type: "Buffer";
|
|
329
|
+
};
|
|
330
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
331
|
+
assertionConsumerService?: {
|
|
332
|
+
isDefault?: boolean;
|
|
333
|
+
Binding: string;
|
|
334
|
+
Location: string;
|
|
335
|
+
}[];
|
|
336
|
+
singleLogoutService?: {
|
|
337
|
+
isDefault?: boolean;
|
|
338
|
+
Binding: string;
|
|
339
|
+
Location: string;
|
|
340
|
+
}[];
|
|
341
|
+
signatureConfig?: {
|
|
342
|
+
prefix?: string;
|
|
343
|
+
location?: {
|
|
344
|
+
reference?: string;
|
|
345
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
loginRequestTemplate?: {
|
|
349
|
+
context?: string;
|
|
350
|
+
};
|
|
351
|
+
logoutRequestTemplate?: {
|
|
352
|
+
context?: string;
|
|
353
|
+
};
|
|
354
|
+
signingCert?: string | {
|
|
355
|
+
data: number[];
|
|
356
|
+
type: "Buffer";
|
|
357
|
+
};
|
|
358
|
+
encryptCert?: string | {
|
|
359
|
+
data: number[];
|
|
360
|
+
type: "Buffer";
|
|
361
|
+
};
|
|
362
|
+
transformationAlgorithms?: string[];
|
|
363
|
+
nameIDFormat?: string[];
|
|
364
|
+
allowCreate?: boolean;
|
|
365
|
+
relayState?: string;
|
|
366
|
+
clockDrifts?: number[];
|
|
367
|
+
loginResponseTemplate?: {
|
|
368
|
+
attributes?: {
|
|
369
|
+
name: string;
|
|
370
|
+
nameFormat: string;
|
|
371
|
+
valueXsiType: string;
|
|
372
|
+
valueTag: string;
|
|
373
|
+
valueXmlnsXs?: string;
|
|
374
|
+
valueXmlnsXsi?: string;
|
|
375
|
+
}[];
|
|
376
|
+
context: string;
|
|
377
|
+
};
|
|
378
|
+
generateID?: {};
|
|
379
|
+
singleSignOnService?: {
|
|
380
|
+
isDefault?: boolean;
|
|
381
|
+
Binding: string;
|
|
382
|
+
Location: string;
|
|
383
|
+
}[];
|
|
384
|
+
messageSigningOrder?: string;
|
|
385
|
+
wantAuthnRequestsSigned?: boolean;
|
|
386
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
387
|
+
tagPrefix?: {};
|
|
388
|
+
};
|
|
389
|
+
entityType: string;
|
|
390
|
+
};
|
|
391
|
+
readonly serviceProvider: {
|
|
392
|
+
readonly?: "__readonly";
|
|
393
|
+
entityMeta: {
|
|
394
|
+
meta: any;
|
|
395
|
+
xmlString: string;
|
|
396
|
+
};
|
|
397
|
+
entitySetting: {
|
|
398
|
+
metadata?: string | {
|
|
399
|
+
data: number[];
|
|
400
|
+
type: "Buffer";
|
|
401
|
+
};
|
|
402
|
+
entityID?: string;
|
|
403
|
+
authnRequestsSigned?: boolean;
|
|
404
|
+
wantAssertionsSigned?: boolean;
|
|
405
|
+
wantMessageSigned?: boolean;
|
|
406
|
+
wantLogoutResponseSigned?: boolean;
|
|
407
|
+
wantLogoutRequestSigned?: boolean;
|
|
408
|
+
privateKey?: string | {
|
|
409
|
+
data: number[];
|
|
410
|
+
type: "Buffer";
|
|
411
|
+
};
|
|
412
|
+
privateKeyPass?: string;
|
|
413
|
+
isAssertionEncrypted?: boolean;
|
|
414
|
+
requestSignatureAlgorithm?: string;
|
|
415
|
+
encPrivateKey?: string | {
|
|
416
|
+
data: number[];
|
|
417
|
+
type: "Buffer";
|
|
418
|
+
};
|
|
419
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
420
|
+
assertionConsumerService?: {
|
|
421
|
+
isDefault?: boolean;
|
|
422
|
+
Binding: string;
|
|
423
|
+
Location: string;
|
|
424
|
+
}[];
|
|
425
|
+
singleLogoutService?: {
|
|
426
|
+
isDefault?: boolean;
|
|
427
|
+
Binding: string;
|
|
428
|
+
Location: string;
|
|
429
|
+
}[];
|
|
430
|
+
signatureConfig?: {
|
|
431
|
+
prefix?: string;
|
|
432
|
+
location?: {
|
|
433
|
+
reference?: string;
|
|
434
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
loginRequestTemplate?: {
|
|
438
|
+
context?: string;
|
|
439
|
+
};
|
|
440
|
+
logoutRequestTemplate?: {
|
|
441
|
+
context?: string;
|
|
442
|
+
};
|
|
443
|
+
signingCert?: string | {
|
|
444
|
+
data: number[];
|
|
445
|
+
type: "Buffer";
|
|
446
|
+
};
|
|
447
|
+
encryptCert?: string | {
|
|
448
|
+
data: number[];
|
|
449
|
+
type: "Buffer";
|
|
450
|
+
};
|
|
451
|
+
transformationAlgorithms?: string[];
|
|
452
|
+
nameIDFormat?: string[];
|
|
453
|
+
allowCreate?: boolean;
|
|
454
|
+
relayState?: string;
|
|
455
|
+
clockDrifts?: number[];
|
|
456
|
+
loginResponseTemplate?: {
|
|
457
|
+
attributes?: {
|
|
458
|
+
name: string;
|
|
459
|
+
nameFormat: string;
|
|
460
|
+
valueXsiType: string;
|
|
461
|
+
valueTag: string;
|
|
462
|
+
valueXmlnsXs?: string;
|
|
463
|
+
valueXmlnsXsi?: string;
|
|
464
|
+
}[];
|
|
465
|
+
context: string;
|
|
466
|
+
};
|
|
467
|
+
generateID?: {};
|
|
468
|
+
singleSignOnService?: {
|
|
469
|
+
isDefault?: boolean;
|
|
470
|
+
Binding: string;
|
|
471
|
+
Location: string;
|
|
472
|
+
}[];
|
|
473
|
+
messageSigningOrder?: string;
|
|
474
|
+
wantAuthnRequestsSigned?: boolean;
|
|
475
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
476
|
+
tagPrefix?: {};
|
|
477
|
+
};
|
|
478
|
+
entityType: string;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
custom?: {
|
|
482
|
+
colors?: string[];
|
|
483
|
+
};
|
|
484
|
+
retention: number;
|
|
485
|
+
features: {};
|
|
486
|
+
events: {
|
|
487
|
+
product_page: string;
|
|
488
|
+
add_cart: string;
|
|
489
|
+
purchase: string;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
}>>;
|
|
493
|
+
get: (params: {
|
|
494
|
+
id: string;
|
|
495
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
496
|
+
status: "success";
|
|
497
|
+
program: string;
|
|
498
|
+
version: string;
|
|
499
|
+
datetime: string;
|
|
500
|
+
code?: number;
|
|
501
|
+
message: string;
|
|
502
|
+
data: {
|
|
503
|
+
readonly id: string & {
|
|
504
|
+
readonly?: "__readonly";
|
|
505
|
+
};
|
|
68
506
|
plan: {
|
|
69
507
|
name?: string;
|
|
70
508
|
quota: number;
|
|
@@ -84,19 +522,505 @@ export default class {
|
|
|
84
522
|
timeLockAfterNextAttempts?: number;
|
|
85
523
|
infiniteTimeLock?: boolean;
|
|
86
524
|
};
|
|
525
|
+
disabled: boolean;
|
|
526
|
+
meta: {};
|
|
527
|
+
name: string;
|
|
528
|
+
readonly createdAt: Date & {
|
|
529
|
+
readonly?: "__readonly";
|
|
530
|
+
};
|
|
531
|
+
readonly updatedAt: Date & {
|
|
532
|
+
readonly?: "__readonly";
|
|
533
|
+
};
|
|
534
|
+
defaultRoleId: string;
|
|
535
|
+
defaultResourceGroupIds: string[];
|
|
536
|
+
address?: {
|
|
537
|
+
line1?: string;
|
|
538
|
+
line2?: string;
|
|
539
|
+
zipcode?: string;
|
|
540
|
+
city?: string;
|
|
541
|
+
country?: string;
|
|
542
|
+
};
|
|
543
|
+
contact?: {
|
|
544
|
+
name?: string;
|
|
545
|
+
email?: string;
|
|
546
|
+
};
|
|
547
|
+
securityPolicy: {
|
|
548
|
+
password: {
|
|
549
|
+
rules: {
|
|
550
|
+
type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
|
|
551
|
+
options: {
|
|
552
|
+
minimum?: number;
|
|
553
|
+
maximum?: number;
|
|
554
|
+
};
|
|
555
|
+
}[];
|
|
556
|
+
duration: number;
|
|
557
|
+
attempts: {
|
|
558
|
+
maximum: number;
|
|
559
|
+
lockDuration: number;
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
sso?: {
|
|
564
|
+
domains: string[];
|
|
565
|
+
metadata: string;
|
|
566
|
+
emailProperty: string[] | "nameID"[];
|
|
567
|
+
mode: "invitation" | "create";
|
|
568
|
+
readonly identityProvider: {
|
|
569
|
+
readonly?: "__readonly";
|
|
570
|
+
entityMeta: {
|
|
571
|
+
meta: any;
|
|
572
|
+
xmlString: string;
|
|
573
|
+
};
|
|
574
|
+
entitySetting: {
|
|
575
|
+
metadata?: string | {
|
|
576
|
+
data: number[];
|
|
577
|
+
type: "Buffer";
|
|
578
|
+
};
|
|
579
|
+
entityID?: string;
|
|
580
|
+
authnRequestsSigned?: boolean;
|
|
581
|
+
wantAssertionsSigned?: boolean;
|
|
582
|
+
wantMessageSigned?: boolean;
|
|
583
|
+
wantLogoutResponseSigned?: boolean;
|
|
584
|
+
wantLogoutRequestSigned?: boolean;
|
|
585
|
+
privateKey?: string | {
|
|
586
|
+
data: number[];
|
|
587
|
+
type: "Buffer";
|
|
588
|
+
};
|
|
589
|
+
privateKeyPass?: string;
|
|
590
|
+
isAssertionEncrypted?: boolean;
|
|
591
|
+
requestSignatureAlgorithm?: string;
|
|
592
|
+
encPrivateKey?: string | {
|
|
593
|
+
data: number[];
|
|
594
|
+
type: "Buffer";
|
|
595
|
+
};
|
|
596
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
597
|
+
assertionConsumerService?: {
|
|
598
|
+
isDefault?: boolean;
|
|
599
|
+
Binding: string;
|
|
600
|
+
Location: string;
|
|
601
|
+
}[];
|
|
602
|
+
singleLogoutService?: {
|
|
603
|
+
isDefault?: boolean;
|
|
604
|
+
Binding: string;
|
|
605
|
+
Location: string;
|
|
606
|
+
}[];
|
|
607
|
+
signatureConfig?: {
|
|
608
|
+
prefix?: string;
|
|
609
|
+
location?: {
|
|
610
|
+
reference?: string;
|
|
611
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
loginRequestTemplate?: {
|
|
615
|
+
context?: string;
|
|
616
|
+
};
|
|
617
|
+
logoutRequestTemplate?: {
|
|
618
|
+
context?: string;
|
|
619
|
+
};
|
|
620
|
+
signingCert?: string | {
|
|
621
|
+
data: number[];
|
|
622
|
+
type: "Buffer";
|
|
623
|
+
};
|
|
624
|
+
encryptCert?: string | {
|
|
625
|
+
data: number[];
|
|
626
|
+
type: "Buffer";
|
|
627
|
+
};
|
|
628
|
+
transformationAlgorithms?: string[];
|
|
629
|
+
nameIDFormat?: string[];
|
|
630
|
+
allowCreate?: boolean;
|
|
631
|
+
relayState?: string;
|
|
632
|
+
clockDrifts?: number[];
|
|
633
|
+
loginResponseTemplate?: {
|
|
634
|
+
attributes?: {
|
|
635
|
+
name: string;
|
|
636
|
+
nameFormat: string;
|
|
637
|
+
valueXsiType: string;
|
|
638
|
+
valueTag: string;
|
|
639
|
+
valueXmlnsXs?: string;
|
|
640
|
+
valueXmlnsXsi?: string;
|
|
641
|
+
}[];
|
|
642
|
+
context: string;
|
|
643
|
+
};
|
|
644
|
+
generateID?: {};
|
|
645
|
+
singleSignOnService?: {
|
|
646
|
+
isDefault?: boolean;
|
|
647
|
+
Binding: string;
|
|
648
|
+
Location: string;
|
|
649
|
+
}[];
|
|
650
|
+
messageSigningOrder?: string;
|
|
651
|
+
wantAuthnRequestsSigned?: boolean;
|
|
652
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
653
|
+
tagPrefix?: {};
|
|
654
|
+
};
|
|
655
|
+
entityType: string;
|
|
656
|
+
};
|
|
657
|
+
readonly serviceProvider: {
|
|
658
|
+
readonly?: "__readonly";
|
|
659
|
+
entityMeta: {
|
|
660
|
+
meta: any;
|
|
661
|
+
xmlString: string;
|
|
662
|
+
};
|
|
663
|
+
entitySetting: {
|
|
664
|
+
metadata?: string | {
|
|
665
|
+
data: number[];
|
|
666
|
+
type: "Buffer";
|
|
667
|
+
};
|
|
668
|
+
entityID?: string;
|
|
669
|
+
authnRequestsSigned?: boolean;
|
|
670
|
+
wantAssertionsSigned?: boolean;
|
|
671
|
+
wantMessageSigned?: boolean;
|
|
672
|
+
wantLogoutResponseSigned?: boolean;
|
|
673
|
+
wantLogoutRequestSigned?: boolean;
|
|
674
|
+
privateKey?: string | {
|
|
675
|
+
data: number[];
|
|
676
|
+
type: "Buffer";
|
|
677
|
+
};
|
|
678
|
+
privateKeyPass?: string;
|
|
679
|
+
isAssertionEncrypted?: boolean;
|
|
680
|
+
requestSignatureAlgorithm?: string;
|
|
681
|
+
encPrivateKey?: string | {
|
|
682
|
+
data: number[];
|
|
683
|
+
type: "Buffer";
|
|
684
|
+
};
|
|
685
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
686
|
+
assertionConsumerService?: {
|
|
687
|
+
isDefault?: boolean;
|
|
688
|
+
Binding: string;
|
|
689
|
+
Location: string;
|
|
690
|
+
}[];
|
|
691
|
+
singleLogoutService?: {
|
|
692
|
+
isDefault?: boolean;
|
|
693
|
+
Binding: string;
|
|
694
|
+
Location: string;
|
|
695
|
+
}[];
|
|
696
|
+
signatureConfig?: {
|
|
697
|
+
prefix?: string;
|
|
698
|
+
location?: {
|
|
699
|
+
reference?: string;
|
|
700
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
701
|
+
};
|
|
702
|
+
};
|
|
703
|
+
loginRequestTemplate?: {
|
|
704
|
+
context?: string;
|
|
705
|
+
};
|
|
706
|
+
logoutRequestTemplate?: {
|
|
707
|
+
context?: string;
|
|
708
|
+
};
|
|
709
|
+
signingCert?: string | {
|
|
710
|
+
data: number[];
|
|
711
|
+
type: "Buffer";
|
|
712
|
+
};
|
|
713
|
+
encryptCert?: string | {
|
|
714
|
+
data: number[];
|
|
715
|
+
type: "Buffer";
|
|
716
|
+
};
|
|
717
|
+
transformationAlgorithms?: string[];
|
|
718
|
+
nameIDFormat?: string[];
|
|
719
|
+
allowCreate?: boolean;
|
|
720
|
+
relayState?: string;
|
|
721
|
+
clockDrifts?: number[];
|
|
722
|
+
loginResponseTemplate?: {
|
|
723
|
+
attributes?: {
|
|
724
|
+
name: string;
|
|
725
|
+
nameFormat: string;
|
|
726
|
+
valueXsiType: string;
|
|
727
|
+
valueTag: string;
|
|
728
|
+
valueXmlnsXs?: string;
|
|
729
|
+
valueXmlnsXsi?: string;
|
|
730
|
+
}[];
|
|
731
|
+
context: string;
|
|
732
|
+
};
|
|
733
|
+
generateID?: {};
|
|
734
|
+
singleSignOnService?: {
|
|
735
|
+
isDefault?: boolean;
|
|
736
|
+
Binding: string;
|
|
737
|
+
Location: string;
|
|
738
|
+
}[];
|
|
739
|
+
messageSigningOrder?: string;
|
|
740
|
+
wantAuthnRequestsSigned?: boolean;
|
|
741
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
742
|
+
tagPrefix?: {};
|
|
743
|
+
};
|
|
744
|
+
entityType: string;
|
|
745
|
+
};
|
|
746
|
+
};
|
|
87
747
|
custom?: {
|
|
88
748
|
colors?: string[];
|
|
89
749
|
};
|
|
90
750
|
retention: number;
|
|
751
|
+
features: {};
|
|
91
752
|
events: {
|
|
92
753
|
product_page: string;
|
|
93
754
|
add_cart: string;
|
|
94
755
|
purchase: string;
|
|
95
756
|
};
|
|
757
|
+
};
|
|
758
|
+
}>>;
|
|
759
|
+
update: (params: {
|
|
760
|
+
id: string;
|
|
761
|
+
}, data: {
|
|
762
|
+
meta?: {};
|
|
763
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
764
|
+
status: "success";
|
|
765
|
+
program: string;
|
|
766
|
+
version: string;
|
|
767
|
+
datetime: string;
|
|
768
|
+
code?: number;
|
|
769
|
+
message: string;
|
|
770
|
+
data: {
|
|
771
|
+
readonly id: string & {
|
|
772
|
+
readonly?: "__readonly";
|
|
773
|
+
};
|
|
774
|
+
plan: {
|
|
775
|
+
name?: string;
|
|
776
|
+
quota: number;
|
|
777
|
+
startDate: Date;
|
|
778
|
+
endDate: Date;
|
|
779
|
+
};
|
|
780
|
+
password?: {
|
|
781
|
+
passwordDuration?: number;
|
|
782
|
+
nbSpCharacter?: number;
|
|
783
|
+
nbIsNotAlphabeticCharacter?: number;
|
|
784
|
+
nbNumberCharacter?: number;
|
|
785
|
+
nbLetterInLowercase?: number;
|
|
786
|
+
nbLetterInUppercase?: number;
|
|
787
|
+
nbCharacter?: number;
|
|
788
|
+
nbAttempts?: number;
|
|
789
|
+
timeEachAttempts?: number;
|
|
790
|
+
timeLockAfterNextAttempts?: number;
|
|
791
|
+
infiniteTimeLock?: boolean;
|
|
792
|
+
};
|
|
96
793
|
disabled: boolean;
|
|
97
|
-
meta: {
|
|
98
|
-
|
|
99
|
-
|
|
794
|
+
meta: {};
|
|
795
|
+
name: string;
|
|
796
|
+
readonly createdAt: Date & {
|
|
797
|
+
readonly?: "__readonly";
|
|
798
|
+
};
|
|
799
|
+
readonly updatedAt: Date & {
|
|
800
|
+
readonly?: "__readonly";
|
|
801
|
+
};
|
|
802
|
+
defaultRoleId: string;
|
|
803
|
+
defaultResourceGroupIds: string[];
|
|
804
|
+
address?: {
|
|
805
|
+
line1?: string;
|
|
806
|
+
line2?: string;
|
|
807
|
+
zipcode?: string;
|
|
808
|
+
city?: string;
|
|
809
|
+
country?: string;
|
|
810
|
+
};
|
|
811
|
+
contact?: {
|
|
812
|
+
name?: string;
|
|
813
|
+
email?: string;
|
|
814
|
+
};
|
|
815
|
+
securityPolicy: {
|
|
816
|
+
password: {
|
|
817
|
+
rules: {
|
|
818
|
+
type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
|
|
819
|
+
options: {
|
|
820
|
+
minimum?: number;
|
|
821
|
+
maximum?: number;
|
|
822
|
+
};
|
|
823
|
+
}[];
|
|
824
|
+
duration: number;
|
|
825
|
+
attempts: {
|
|
826
|
+
maximum: number;
|
|
827
|
+
lockDuration: number;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
sso?: {
|
|
832
|
+
domains: string[];
|
|
833
|
+
metadata: string;
|
|
834
|
+
emailProperty: string[] | "nameID"[];
|
|
835
|
+
mode: "invitation" | "create";
|
|
836
|
+
readonly identityProvider: {
|
|
837
|
+
readonly?: "__readonly";
|
|
838
|
+
entityMeta: {
|
|
839
|
+
meta: any;
|
|
840
|
+
xmlString: string;
|
|
841
|
+
};
|
|
842
|
+
entitySetting: {
|
|
843
|
+
metadata?: string | {
|
|
844
|
+
data: number[];
|
|
845
|
+
type: "Buffer";
|
|
846
|
+
};
|
|
847
|
+
entityID?: string;
|
|
848
|
+
authnRequestsSigned?: boolean;
|
|
849
|
+
wantAssertionsSigned?: boolean;
|
|
850
|
+
wantMessageSigned?: boolean;
|
|
851
|
+
wantLogoutResponseSigned?: boolean;
|
|
852
|
+
wantLogoutRequestSigned?: boolean;
|
|
853
|
+
privateKey?: string | {
|
|
854
|
+
data: number[];
|
|
855
|
+
type: "Buffer";
|
|
856
|
+
};
|
|
857
|
+
privateKeyPass?: string;
|
|
858
|
+
isAssertionEncrypted?: boolean;
|
|
859
|
+
requestSignatureAlgorithm?: string;
|
|
860
|
+
encPrivateKey?: string | {
|
|
861
|
+
data: number[];
|
|
862
|
+
type: "Buffer";
|
|
863
|
+
};
|
|
864
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
865
|
+
assertionConsumerService?: {
|
|
866
|
+
isDefault?: boolean;
|
|
867
|
+
Binding: string;
|
|
868
|
+
Location: string;
|
|
869
|
+
}[];
|
|
870
|
+
singleLogoutService?: {
|
|
871
|
+
isDefault?: boolean;
|
|
872
|
+
Binding: string;
|
|
873
|
+
Location: string;
|
|
874
|
+
}[];
|
|
875
|
+
signatureConfig?: {
|
|
876
|
+
prefix?: string;
|
|
877
|
+
location?: {
|
|
878
|
+
reference?: string;
|
|
879
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
loginRequestTemplate?: {
|
|
883
|
+
context?: string;
|
|
884
|
+
};
|
|
885
|
+
logoutRequestTemplate?: {
|
|
886
|
+
context?: string;
|
|
887
|
+
};
|
|
888
|
+
signingCert?: string | {
|
|
889
|
+
data: number[];
|
|
890
|
+
type: "Buffer";
|
|
891
|
+
};
|
|
892
|
+
encryptCert?: string | {
|
|
893
|
+
data: number[];
|
|
894
|
+
type: "Buffer";
|
|
895
|
+
};
|
|
896
|
+
transformationAlgorithms?: string[];
|
|
897
|
+
nameIDFormat?: string[];
|
|
898
|
+
allowCreate?: boolean;
|
|
899
|
+
relayState?: string;
|
|
900
|
+
clockDrifts?: number[];
|
|
901
|
+
loginResponseTemplate?: {
|
|
902
|
+
attributes?: {
|
|
903
|
+
name: string;
|
|
904
|
+
nameFormat: string;
|
|
905
|
+
valueXsiType: string;
|
|
906
|
+
valueTag: string;
|
|
907
|
+
valueXmlnsXs?: string;
|
|
908
|
+
valueXmlnsXsi?: string;
|
|
909
|
+
}[];
|
|
910
|
+
context: string;
|
|
911
|
+
};
|
|
912
|
+
generateID?: {};
|
|
913
|
+
singleSignOnService?: {
|
|
914
|
+
isDefault?: boolean;
|
|
915
|
+
Binding: string;
|
|
916
|
+
Location: string;
|
|
917
|
+
}[];
|
|
918
|
+
messageSigningOrder?: string;
|
|
919
|
+
wantAuthnRequestsSigned?: boolean;
|
|
920
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
921
|
+
tagPrefix?: {};
|
|
922
|
+
};
|
|
923
|
+
entityType: string;
|
|
924
|
+
};
|
|
925
|
+
readonly serviceProvider: {
|
|
926
|
+
readonly?: "__readonly";
|
|
927
|
+
entityMeta: {
|
|
928
|
+
meta: any;
|
|
929
|
+
xmlString: string;
|
|
930
|
+
};
|
|
931
|
+
entitySetting: {
|
|
932
|
+
metadata?: string | {
|
|
933
|
+
data: number[];
|
|
934
|
+
type: "Buffer";
|
|
935
|
+
};
|
|
936
|
+
entityID?: string;
|
|
937
|
+
authnRequestsSigned?: boolean;
|
|
938
|
+
wantAssertionsSigned?: boolean;
|
|
939
|
+
wantMessageSigned?: boolean;
|
|
940
|
+
wantLogoutResponseSigned?: boolean;
|
|
941
|
+
wantLogoutRequestSigned?: boolean;
|
|
942
|
+
privateKey?: string | {
|
|
943
|
+
data: number[];
|
|
944
|
+
type: "Buffer";
|
|
945
|
+
};
|
|
946
|
+
privateKeyPass?: string;
|
|
947
|
+
isAssertionEncrypted?: boolean;
|
|
948
|
+
requestSignatureAlgorithm?: string;
|
|
949
|
+
encPrivateKey?: string | {
|
|
950
|
+
data: number[];
|
|
951
|
+
type: "Buffer";
|
|
952
|
+
};
|
|
953
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
954
|
+
assertionConsumerService?: {
|
|
955
|
+
isDefault?: boolean;
|
|
956
|
+
Binding: string;
|
|
957
|
+
Location: string;
|
|
958
|
+
}[];
|
|
959
|
+
singleLogoutService?: {
|
|
960
|
+
isDefault?: boolean;
|
|
961
|
+
Binding: string;
|
|
962
|
+
Location: string;
|
|
963
|
+
}[];
|
|
964
|
+
signatureConfig?: {
|
|
965
|
+
prefix?: string;
|
|
966
|
+
location?: {
|
|
967
|
+
reference?: string;
|
|
968
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
loginRequestTemplate?: {
|
|
972
|
+
context?: string;
|
|
973
|
+
};
|
|
974
|
+
logoutRequestTemplate?: {
|
|
975
|
+
context?: string;
|
|
976
|
+
};
|
|
977
|
+
signingCert?: string | {
|
|
978
|
+
data: number[];
|
|
979
|
+
type: "Buffer";
|
|
980
|
+
};
|
|
981
|
+
encryptCert?: string | {
|
|
982
|
+
data: number[];
|
|
983
|
+
type: "Buffer";
|
|
984
|
+
};
|
|
985
|
+
transformationAlgorithms?: string[];
|
|
986
|
+
nameIDFormat?: string[];
|
|
987
|
+
allowCreate?: boolean;
|
|
988
|
+
relayState?: string;
|
|
989
|
+
clockDrifts?: number[];
|
|
990
|
+
loginResponseTemplate?: {
|
|
991
|
+
attributes?: {
|
|
992
|
+
name: string;
|
|
993
|
+
nameFormat: string;
|
|
994
|
+
valueXsiType: string;
|
|
995
|
+
valueTag: string;
|
|
996
|
+
valueXmlnsXs?: string;
|
|
997
|
+
valueXmlnsXsi?: string;
|
|
998
|
+
}[];
|
|
999
|
+
context: string;
|
|
1000
|
+
};
|
|
1001
|
+
generateID?: {};
|
|
1002
|
+
singleSignOnService?: {
|
|
1003
|
+
isDefault?: boolean;
|
|
1004
|
+
Binding: string;
|
|
1005
|
+
Location: string;
|
|
1006
|
+
}[];
|
|
1007
|
+
messageSigningOrder?: string;
|
|
1008
|
+
wantAuthnRequestsSigned?: boolean;
|
|
1009
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
1010
|
+
tagPrefix?: {};
|
|
1011
|
+
};
|
|
1012
|
+
entityType: string;
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
custom?: {
|
|
1016
|
+
colors?: string[];
|
|
1017
|
+
};
|
|
1018
|
+
retention: number;
|
|
1019
|
+
features: {};
|
|
1020
|
+
events: {
|
|
1021
|
+
product_page: string;
|
|
1022
|
+
add_cart: string;
|
|
1023
|
+
purchase: string;
|
|
100
1024
|
};
|
|
101
1025
|
};
|
|
102
1026
|
}>>;
|
|
@@ -105,7 +1029,7 @@ export default class {
|
|
|
105
1029
|
list: (params: {
|
|
106
1030
|
page?: number;
|
|
107
1031
|
perPage?: number;
|
|
108
|
-
state?:
|
|
1032
|
+
state?: InvitationState;
|
|
109
1033
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
110
1034
|
paginationCount: number;
|
|
111
1035
|
paginationPage: number;
|
|
@@ -117,23 +1041,23 @@ export default class {
|
|
|
117
1041
|
code?: number;
|
|
118
1042
|
message: string;
|
|
119
1043
|
data: {
|
|
1044
|
+
readonly companyId: string & {
|
|
1045
|
+
readonly?: "__readonly";
|
|
1046
|
+
};
|
|
120
1047
|
readonly roleId: string & {
|
|
121
|
-
readonly?:
|
|
1048
|
+
readonly?: "__readonly";
|
|
122
1049
|
};
|
|
123
1050
|
readonly resourceGroupIds: string[];
|
|
124
|
-
readonly companyId: string & {
|
|
125
|
-
readonly?: undefined;
|
|
126
|
-
};
|
|
127
1051
|
readonly id: string & {
|
|
128
|
-
readonly?:
|
|
1052
|
+
readonly?: "__readonly";
|
|
129
1053
|
};
|
|
1054
|
+
state: InvitationState;
|
|
130
1055
|
email: string;
|
|
131
1056
|
createdAt: Date;
|
|
132
1057
|
usedAt?: Date;
|
|
133
|
-
state: Types.InvitationState;
|
|
134
1058
|
}[];
|
|
135
1059
|
}>>;
|
|
136
|
-
create: (
|
|
1060
|
+
create: (data: {
|
|
137
1061
|
email: string;
|
|
138
1062
|
resourceGroupIds?: string[];
|
|
139
1063
|
roleId?: string;
|
|
@@ -145,20 +1069,20 @@ export default class {
|
|
|
145
1069
|
code?: number;
|
|
146
1070
|
message: string;
|
|
147
1071
|
data: {
|
|
1072
|
+
readonly companyId: string & {
|
|
1073
|
+
readonly?: "__readonly";
|
|
1074
|
+
};
|
|
148
1075
|
readonly roleId: string & {
|
|
149
|
-
readonly?:
|
|
1076
|
+
readonly?: "__readonly";
|
|
150
1077
|
};
|
|
151
1078
|
readonly resourceGroupIds: string[];
|
|
152
|
-
readonly companyId: string & {
|
|
153
|
-
readonly?: undefined;
|
|
154
|
-
};
|
|
155
1079
|
readonly id: string & {
|
|
156
|
-
readonly?:
|
|
1080
|
+
readonly?: "__readonly";
|
|
157
1081
|
};
|
|
1082
|
+
state: InvitationState;
|
|
158
1083
|
email: string;
|
|
159
1084
|
createdAt: Date;
|
|
160
1085
|
usedAt?: Date;
|
|
161
|
-
state: Types.InvitationState;
|
|
162
1086
|
};
|
|
163
1087
|
}>>;
|
|
164
1088
|
use: (params: {
|
|
@@ -184,25 +1108,25 @@ export default class {
|
|
|
184
1108
|
code?: number;
|
|
185
1109
|
message: string;
|
|
186
1110
|
data: {
|
|
1111
|
+
readonly companyId: string & {
|
|
1112
|
+
readonly?: "__readonly";
|
|
1113
|
+
};
|
|
187
1114
|
readonly roleId: string & {
|
|
188
|
-
readonly?:
|
|
1115
|
+
readonly?: "__readonly";
|
|
189
1116
|
};
|
|
190
1117
|
readonly resourceGroupIds: string[];
|
|
191
|
-
readonly companyId: string & {
|
|
192
|
-
readonly?: undefined;
|
|
193
|
-
};
|
|
194
1118
|
readonly id: string & {
|
|
195
|
-
readonly?:
|
|
1119
|
+
readonly?: "__readonly";
|
|
196
1120
|
};
|
|
1121
|
+
state: InvitationState;
|
|
197
1122
|
email: string;
|
|
198
1123
|
createdAt: Date;
|
|
199
1124
|
usedAt?: Date;
|
|
200
|
-
state: Types.InvitationState;
|
|
201
1125
|
};
|
|
202
1126
|
}>>;
|
|
203
1127
|
};
|
|
204
1128
|
get ResourceGroup(): {
|
|
205
|
-
list: (
|
|
1129
|
+
list: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
206
1130
|
status: "success";
|
|
207
1131
|
program: string;
|
|
208
1132
|
version: string;
|
|
@@ -211,10 +1135,10 @@ export default class {
|
|
|
211
1135
|
message: string;
|
|
212
1136
|
data: ({
|
|
213
1137
|
readonly companyId: string & {
|
|
214
|
-
readonly?:
|
|
1138
|
+
readonly?: "__readonly";
|
|
215
1139
|
};
|
|
216
1140
|
readonly id: string & {
|
|
217
|
-
readonly?:
|
|
1141
|
+
readonly?: "__readonly";
|
|
218
1142
|
};
|
|
219
1143
|
name: string;
|
|
220
1144
|
color?: string;
|
|
@@ -222,7 +1146,7 @@ export default class {
|
|
|
222
1146
|
usersCount: number;
|
|
223
1147
|
})[];
|
|
224
1148
|
}>>;
|
|
225
|
-
create: (
|
|
1149
|
+
create: (data: {
|
|
226
1150
|
name: string;
|
|
227
1151
|
color?: string;
|
|
228
1152
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
@@ -234,10 +1158,10 @@ export default class {
|
|
|
234
1158
|
message: string;
|
|
235
1159
|
data: {
|
|
236
1160
|
readonly companyId: string & {
|
|
237
|
-
readonly?:
|
|
1161
|
+
readonly?: "__readonly";
|
|
238
1162
|
};
|
|
239
1163
|
readonly id: string & {
|
|
240
|
-
readonly?:
|
|
1164
|
+
readonly?: "__readonly";
|
|
241
1165
|
};
|
|
242
1166
|
name: string;
|
|
243
1167
|
color?: string;
|
|
@@ -257,10 +1181,10 @@ export default class {
|
|
|
257
1181
|
message: string;
|
|
258
1182
|
data: {
|
|
259
1183
|
readonly companyId: string & {
|
|
260
|
-
readonly?:
|
|
1184
|
+
readonly?: "__readonly";
|
|
261
1185
|
};
|
|
262
1186
|
readonly id: string & {
|
|
263
|
-
readonly?:
|
|
1187
|
+
readonly?: "__readonly";
|
|
264
1188
|
};
|
|
265
1189
|
name: string;
|
|
266
1190
|
color?: string;
|
|
@@ -279,7 +1203,7 @@ export default class {
|
|
|
279
1203
|
}>>;
|
|
280
1204
|
};
|
|
281
1205
|
get Role(): {
|
|
282
|
-
list: (
|
|
1206
|
+
list: (options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
283
1207
|
status: "success";
|
|
284
1208
|
program: string;
|
|
285
1209
|
version: string;
|
|
@@ -288,40 +1212,40 @@ export default class {
|
|
|
288
1212
|
message: string;
|
|
289
1213
|
data: ({
|
|
290
1214
|
readonly companyId: string & {
|
|
291
|
-
readonly?:
|
|
1215
|
+
readonly?: "__readonly";
|
|
292
1216
|
};
|
|
293
1217
|
readonly id: string & {
|
|
294
|
-
readonly?:
|
|
1218
|
+
readonly?: "__readonly";
|
|
295
1219
|
};
|
|
296
1220
|
name: string;
|
|
297
1221
|
rules: {
|
|
1222
|
+
action: "create" | "read" | "update" | "delete" | "access";
|
|
298
1223
|
fields?: string[];
|
|
299
|
-
conditions?:
|
|
1224
|
+
conditions?: {};
|
|
300
1225
|
inverted?: boolean;
|
|
301
1226
|
reason?: string;
|
|
302
|
-
action: "create" | "read" | "update" | "delete" | "access";
|
|
303
1227
|
subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation";
|
|
304
|
-
mustMatch?: ("
|
|
1228
|
+
mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
|
|
305
1229
|
field: string;
|
|
306
|
-
value: "
|
|
1230
|
+
value: "companyId" | "roleId" | "resourceGroupIds" | "id";
|
|
307
1231
|
})[];
|
|
308
1232
|
}[];
|
|
309
1233
|
} & {
|
|
310
1234
|
usersCount: number;
|
|
311
1235
|
})[];
|
|
312
1236
|
}>>;
|
|
313
|
-
create: (
|
|
1237
|
+
create: (data: {
|
|
314
1238
|
name: string;
|
|
315
1239
|
rules: {
|
|
1240
|
+
action: "create" | "read" | "update" | "delete" | "access";
|
|
316
1241
|
fields?: string[];
|
|
317
|
-
conditions?:
|
|
1242
|
+
conditions?: {};
|
|
318
1243
|
inverted?: boolean;
|
|
319
1244
|
reason?: string;
|
|
320
|
-
action: "create" | "read" | "update" | "delete" | "access";
|
|
321
1245
|
subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation";
|
|
322
|
-
mustMatch?: ("
|
|
1246
|
+
mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
|
|
323
1247
|
field: string;
|
|
324
|
-
value: "
|
|
1248
|
+
value: "companyId" | "roleId" | "resourceGroupIds" | "id";
|
|
325
1249
|
})[];
|
|
326
1250
|
}[];
|
|
327
1251
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
@@ -333,22 +1257,22 @@ export default class {
|
|
|
333
1257
|
message: string;
|
|
334
1258
|
data: {
|
|
335
1259
|
readonly companyId: string & {
|
|
336
|
-
readonly?:
|
|
1260
|
+
readonly?: "__readonly";
|
|
337
1261
|
};
|
|
338
1262
|
readonly id: string & {
|
|
339
|
-
readonly?:
|
|
1263
|
+
readonly?: "__readonly";
|
|
340
1264
|
};
|
|
341
1265
|
name: string;
|
|
342
1266
|
rules: {
|
|
1267
|
+
action: "create" | "read" | "update" | "delete" | "access";
|
|
343
1268
|
fields?: string[];
|
|
344
|
-
conditions?:
|
|
1269
|
+
conditions?: {};
|
|
345
1270
|
inverted?: boolean;
|
|
346
1271
|
reason?: string;
|
|
347
|
-
action: "create" | "read" | "update" | "delete" | "access";
|
|
348
1272
|
subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation";
|
|
349
|
-
mustMatch?: ("
|
|
1273
|
+
mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
|
|
350
1274
|
field: string;
|
|
351
|
-
value: "
|
|
1275
|
+
value: "companyId" | "roleId" | "resourceGroupIds" | "id";
|
|
352
1276
|
})[];
|
|
353
1277
|
}[];
|
|
354
1278
|
};
|
|
@@ -358,15 +1282,15 @@ export default class {
|
|
|
358
1282
|
}, data: {
|
|
359
1283
|
name?: string;
|
|
360
1284
|
rules?: {
|
|
1285
|
+
action: "create" | "read" | "update" | "delete" | "access";
|
|
361
1286
|
fields?: string[];
|
|
362
|
-
conditions?:
|
|
1287
|
+
conditions?: {};
|
|
363
1288
|
inverted?: boolean;
|
|
364
1289
|
reason?: string;
|
|
365
|
-
action: "create" | "read" | "update" | "delete" | "access";
|
|
366
1290
|
subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation";
|
|
367
|
-
mustMatch?: ("
|
|
1291
|
+
mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
|
|
368
1292
|
field: string;
|
|
369
|
-
value: "
|
|
1293
|
+
value: "companyId" | "roleId" | "resourceGroupIds" | "id";
|
|
370
1294
|
})[];
|
|
371
1295
|
}[];
|
|
372
1296
|
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
@@ -378,22 +1302,22 @@ export default class {
|
|
|
378
1302
|
message: string;
|
|
379
1303
|
data: {
|
|
380
1304
|
readonly companyId: string & {
|
|
381
|
-
readonly?:
|
|
1305
|
+
readonly?: "__readonly";
|
|
382
1306
|
};
|
|
383
1307
|
readonly id: string & {
|
|
384
|
-
readonly?:
|
|
1308
|
+
readonly?: "__readonly";
|
|
385
1309
|
};
|
|
386
1310
|
name: string;
|
|
387
1311
|
rules: {
|
|
1312
|
+
action: "create" | "read" | "update" | "delete" | "access";
|
|
388
1313
|
fields?: string[];
|
|
389
|
-
conditions?:
|
|
1314
|
+
conditions?: {};
|
|
390
1315
|
inverted?: boolean;
|
|
391
1316
|
reason?: string;
|
|
392
|
-
action: "create" | "read" | "update" | "delete" | "access";
|
|
393
1317
|
subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation";
|
|
394
|
-
mustMatch?: ("
|
|
1318
|
+
mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
|
|
395
1319
|
field: string;
|
|
396
|
-
value: "
|
|
1320
|
+
value: "companyId" | "roleId" | "resourceGroupIds" | "id";
|
|
397
1321
|
})[];
|
|
398
1322
|
}[];
|
|
399
1323
|
};
|
|
@@ -425,37 +1349,32 @@ export default class {
|
|
|
425
1349
|
code?: number;
|
|
426
1350
|
message: string;
|
|
427
1351
|
data: {
|
|
1352
|
+
readonly companyId: string & {
|
|
1353
|
+
readonly?: "__readonly";
|
|
1354
|
+
};
|
|
428
1355
|
readonly roleId: string & {
|
|
429
|
-
readonly?:
|
|
1356
|
+
readonly?: "__readonly";
|
|
430
1357
|
};
|
|
431
1358
|
readonly resourceGroupIds: string[];
|
|
432
|
-
readonly companyId: string & {
|
|
433
|
-
readonly?: undefined;
|
|
434
|
-
};
|
|
435
1359
|
readonly id: string & {
|
|
436
|
-
readonly?:
|
|
1360
|
+
readonly?: "__readonly";
|
|
437
1361
|
};
|
|
438
1362
|
readonly disabled: (false & {
|
|
439
|
-
readonly?:
|
|
1363
|
+
readonly?: "__readonly";
|
|
440
1364
|
}) | (true & {
|
|
441
|
-
readonly?:
|
|
1365
|
+
readonly?: "__readonly";
|
|
442
1366
|
});
|
|
443
1367
|
email: string;
|
|
444
|
-
readonly createdAt: Date & {
|
|
445
|
-
readonly?: undefined;
|
|
446
|
-
};
|
|
447
|
-
readonly updatedAt: Date & {
|
|
448
|
-
readonly?: undefined;
|
|
449
|
-
};
|
|
450
1368
|
readonly lastPasswordUpdate: Date & {
|
|
451
|
-
readonly?:
|
|
1369
|
+
readonly?: "__readonly";
|
|
452
1370
|
};
|
|
453
1371
|
readonly mustUpdatePassword: (false & {
|
|
454
|
-
readonly?:
|
|
1372
|
+
readonly?: "__readonly";
|
|
455
1373
|
}) | (true & {
|
|
456
|
-
readonly?:
|
|
1374
|
+
readonly?: "__readonly";
|
|
457
1375
|
});
|
|
458
1376
|
readonly connection: {
|
|
1377
|
+
readonly?: "__readonly";
|
|
459
1378
|
lastAttempts?: Date;
|
|
460
1379
|
nbFail?: number;
|
|
461
1380
|
};
|
|
@@ -473,9 +1392,20 @@ export default class {
|
|
|
473
1392
|
campaign?: string;
|
|
474
1393
|
};
|
|
475
1394
|
};
|
|
1395
|
+
readonly hasOtp: (false & {
|
|
1396
|
+
readonly?: "__readonly";
|
|
1397
|
+
}) | (true & {
|
|
1398
|
+
readonly?: "__readonly";
|
|
1399
|
+
});
|
|
1400
|
+
readonly createdAt: Date & {
|
|
1401
|
+
readonly?: "__readonly";
|
|
1402
|
+
};
|
|
1403
|
+
readonly updatedAt: Date & {
|
|
1404
|
+
readonly?: "__readonly";
|
|
1405
|
+
};
|
|
476
1406
|
}[];
|
|
477
1407
|
}>>;
|
|
478
|
-
create: (
|
|
1408
|
+
create: (data: {
|
|
479
1409
|
invitationId: string;
|
|
480
1410
|
profile: {
|
|
481
1411
|
firstname?: string;
|
|
@@ -500,37 +1430,364 @@ export default class {
|
|
|
500
1430
|
code?: number;
|
|
501
1431
|
message: string;
|
|
502
1432
|
data: {
|
|
503
|
-
|
|
504
|
-
readonly
|
|
1433
|
+
user: {
|
|
1434
|
+
readonly companyId: string & {
|
|
1435
|
+
readonly?: "__readonly";
|
|
1436
|
+
};
|
|
1437
|
+
readonly roleId: string & {
|
|
1438
|
+
readonly?: "__readonly";
|
|
1439
|
+
};
|
|
1440
|
+
readonly resourceGroupIds: string[];
|
|
1441
|
+
readonly id: string & {
|
|
1442
|
+
readonly?: "__readonly";
|
|
1443
|
+
};
|
|
1444
|
+
readonly disabled: (false & {
|
|
1445
|
+
readonly?: "__readonly";
|
|
1446
|
+
}) | (true & {
|
|
1447
|
+
readonly?: "__readonly";
|
|
1448
|
+
});
|
|
1449
|
+
email: string;
|
|
1450
|
+
readonly lastPasswordUpdate: Date & {
|
|
1451
|
+
readonly?: "__readonly";
|
|
1452
|
+
};
|
|
1453
|
+
readonly mustUpdatePassword: (false & {
|
|
1454
|
+
readonly?: "__readonly";
|
|
1455
|
+
}) | (true & {
|
|
1456
|
+
readonly?: "__readonly";
|
|
1457
|
+
});
|
|
1458
|
+
readonly connection: {
|
|
1459
|
+
readonly?: "__readonly";
|
|
1460
|
+
lastAttempts?: Date;
|
|
1461
|
+
nbFail?: number;
|
|
1462
|
+
};
|
|
1463
|
+
profile?: {
|
|
1464
|
+
firstname?: string;
|
|
1465
|
+
lastname?: string;
|
|
1466
|
+
jobtitle?: string;
|
|
1467
|
+
phone?: string;
|
|
1468
|
+
preferredLang?: string;
|
|
1469
|
+
preferredRecipientId?: string;
|
|
1470
|
+
preferredMessageId?: string;
|
|
1471
|
+
preferredUtm?: {
|
|
1472
|
+
medium?: string;
|
|
1473
|
+
source?: string;
|
|
1474
|
+
campaign?: string;
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
readonly hasOtp: (false & {
|
|
1478
|
+
readonly?: "__readonly";
|
|
1479
|
+
}) | (true & {
|
|
1480
|
+
readonly?: "__readonly";
|
|
1481
|
+
});
|
|
1482
|
+
readonly createdAt: Date & {
|
|
1483
|
+
readonly?: "__readonly";
|
|
1484
|
+
};
|
|
1485
|
+
readonly updatedAt: Date & {
|
|
1486
|
+
readonly?: "__readonly";
|
|
1487
|
+
};
|
|
505
1488
|
};
|
|
506
|
-
|
|
1489
|
+
company: {
|
|
1490
|
+
readonly id: string & {
|
|
1491
|
+
readonly?: "__readonly";
|
|
1492
|
+
};
|
|
1493
|
+
plan: {
|
|
1494
|
+
name?: string;
|
|
1495
|
+
quota: number;
|
|
1496
|
+
startDate: Date;
|
|
1497
|
+
endDate: Date;
|
|
1498
|
+
};
|
|
1499
|
+
password?: {
|
|
1500
|
+
passwordDuration?: number;
|
|
1501
|
+
nbSpCharacter?: number;
|
|
1502
|
+
nbIsNotAlphabeticCharacter?: number;
|
|
1503
|
+
nbNumberCharacter?: number;
|
|
1504
|
+
nbLetterInLowercase?: number;
|
|
1505
|
+
nbLetterInUppercase?: number;
|
|
1506
|
+
nbCharacter?: number;
|
|
1507
|
+
nbAttempts?: number;
|
|
1508
|
+
timeEachAttempts?: number;
|
|
1509
|
+
timeLockAfterNextAttempts?: number;
|
|
1510
|
+
infiniteTimeLock?: boolean;
|
|
1511
|
+
};
|
|
1512
|
+
disabled: boolean;
|
|
1513
|
+
meta: {};
|
|
1514
|
+
name: string;
|
|
1515
|
+
readonly createdAt: Date & {
|
|
1516
|
+
readonly?: "__readonly";
|
|
1517
|
+
};
|
|
1518
|
+
readonly updatedAt: Date & {
|
|
1519
|
+
readonly?: "__readonly";
|
|
1520
|
+
};
|
|
1521
|
+
defaultRoleId: string;
|
|
1522
|
+
defaultResourceGroupIds: string[];
|
|
1523
|
+
address?: {
|
|
1524
|
+
line1?: string;
|
|
1525
|
+
line2?: string;
|
|
1526
|
+
zipcode?: string;
|
|
1527
|
+
city?: string;
|
|
1528
|
+
country?: string;
|
|
1529
|
+
};
|
|
1530
|
+
contact?: {
|
|
1531
|
+
name?: string;
|
|
1532
|
+
email?: string;
|
|
1533
|
+
};
|
|
1534
|
+
securityPolicy: {
|
|
1535
|
+
password: {
|
|
1536
|
+
rules: {
|
|
1537
|
+
type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
|
|
1538
|
+
options: {
|
|
1539
|
+
minimum?: number;
|
|
1540
|
+
maximum?: number;
|
|
1541
|
+
};
|
|
1542
|
+
}[];
|
|
1543
|
+
duration: number;
|
|
1544
|
+
attempts: {
|
|
1545
|
+
maximum: number;
|
|
1546
|
+
lockDuration: number;
|
|
1547
|
+
};
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
sso?: {
|
|
1551
|
+
domains: string[];
|
|
1552
|
+
metadata: string;
|
|
1553
|
+
emailProperty: string[] | "nameID"[];
|
|
1554
|
+
mode: "invitation" | "create";
|
|
1555
|
+
readonly identityProvider: {
|
|
1556
|
+
readonly?: "__readonly";
|
|
1557
|
+
entityMeta: {
|
|
1558
|
+
meta: any;
|
|
1559
|
+
xmlString: string;
|
|
1560
|
+
};
|
|
1561
|
+
entitySetting: {
|
|
1562
|
+
metadata?: string | {
|
|
1563
|
+
data: number[];
|
|
1564
|
+
type: "Buffer";
|
|
1565
|
+
};
|
|
1566
|
+
entityID?: string;
|
|
1567
|
+
authnRequestsSigned?: boolean;
|
|
1568
|
+
wantAssertionsSigned?: boolean;
|
|
1569
|
+
wantMessageSigned?: boolean;
|
|
1570
|
+
wantLogoutResponseSigned?: boolean;
|
|
1571
|
+
wantLogoutRequestSigned?: boolean;
|
|
1572
|
+
privateKey?: string | {
|
|
1573
|
+
data: number[];
|
|
1574
|
+
type: "Buffer";
|
|
1575
|
+
};
|
|
1576
|
+
privateKeyPass?: string;
|
|
1577
|
+
isAssertionEncrypted?: boolean;
|
|
1578
|
+
requestSignatureAlgorithm?: string;
|
|
1579
|
+
encPrivateKey?: string | {
|
|
1580
|
+
data: number[];
|
|
1581
|
+
type: "Buffer";
|
|
1582
|
+
};
|
|
1583
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
1584
|
+
assertionConsumerService?: {
|
|
1585
|
+
isDefault?: boolean;
|
|
1586
|
+
Binding: string;
|
|
1587
|
+
Location: string;
|
|
1588
|
+
}[];
|
|
1589
|
+
singleLogoutService?: {
|
|
1590
|
+
isDefault?: boolean;
|
|
1591
|
+
Binding: string;
|
|
1592
|
+
Location: string;
|
|
1593
|
+
}[];
|
|
1594
|
+
signatureConfig?: {
|
|
1595
|
+
prefix?: string;
|
|
1596
|
+
location?: {
|
|
1597
|
+
reference?: string;
|
|
1598
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
1599
|
+
};
|
|
1600
|
+
};
|
|
1601
|
+
loginRequestTemplate?: {
|
|
1602
|
+
context?: string;
|
|
1603
|
+
};
|
|
1604
|
+
logoutRequestTemplate?: {
|
|
1605
|
+
context?: string;
|
|
1606
|
+
};
|
|
1607
|
+
signingCert?: string | {
|
|
1608
|
+
data: number[];
|
|
1609
|
+
type: "Buffer";
|
|
1610
|
+
};
|
|
1611
|
+
encryptCert?: string | {
|
|
1612
|
+
data: number[];
|
|
1613
|
+
type: "Buffer";
|
|
1614
|
+
};
|
|
1615
|
+
transformationAlgorithms?: string[];
|
|
1616
|
+
nameIDFormat?: string[];
|
|
1617
|
+
allowCreate?: boolean;
|
|
1618
|
+
relayState?: string;
|
|
1619
|
+
clockDrifts?: number[];
|
|
1620
|
+
loginResponseTemplate?: {
|
|
1621
|
+
attributes?: {
|
|
1622
|
+
name: string;
|
|
1623
|
+
nameFormat: string;
|
|
1624
|
+
valueXsiType: string;
|
|
1625
|
+
valueTag: string;
|
|
1626
|
+
valueXmlnsXs?: string;
|
|
1627
|
+
valueXmlnsXsi?: string;
|
|
1628
|
+
}[];
|
|
1629
|
+
context: string;
|
|
1630
|
+
};
|
|
1631
|
+
generateID?: {};
|
|
1632
|
+
singleSignOnService?: {
|
|
1633
|
+
isDefault?: boolean;
|
|
1634
|
+
Binding: string;
|
|
1635
|
+
Location: string;
|
|
1636
|
+
}[];
|
|
1637
|
+
messageSigningOrder?: string;
|
|
1638
|
+
wantAuthnRequestsSigned?: boolean;
|
|
1639
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
1640
|
+
tagPrefix?: {};
|
|
1641
|
+
};
|
|
1642
|
+
entityType: string;
|
|
1643
|
+
};
|
|
1644
|
+
readonly serviceProvider: {
|
|
1645
|
+
readonly?: "__readonly";
|
|
1646
|
+
entityMeta: {
|
|
1647
|
+
meta: any;
|
|
1648
|
+
xmlString: string;
|
|
1649
|
+
};
|
|
1650
|
+
entitySetting: {
|
|
1651
|
+
metadata?: string | {
|
|
1652
|
+
data: number[];
|
|
1653
|
+
type: "Buffer";
|
|
1654
|
+
};
|
|
1655
|
+
entityID?: string;
|
|
1656
|
+
authnRequestsSigned?: boolean;
|
|
1657
|
+
wantAssertionsSigned?: boolean;
|
|
1658
|
+
wantMessageSigned?: boolean;
|
|
1659
|
+
wantLogoutResponseSigned?: boolean;
|
|
1660
|
+
wantLogoutRequestSigned?: boolean;
|
|
1661
|
+
privateKey?: string | {
|
|
1662
|
+
data: number[];
|
|
1663
|
+
type: "Buffer";
|
|
1664
|
+
};
|
|
1665
|
+
privateKeyPass?: string;
|
|
1666
|
+
isAssertionEncrypted?: boolean;
|
|
1667
|
+
requestSignatureAlgorithm?: string;
|
|
1668
|
+
encPrivateKey?: string | {
|
|
1669
|
+
data: number[];
|
|
1670
|
+
type: "Buffer";
|
|
1671
|
+
};
|
|
1672
|
+
encPrivateKeyPass?: string | (import("./definitions").Buffer & string);
|
|
1673
|
+
assertionConsumerService?: {
|
|
1674
|
+
isDefault?: boolean;
|
|
1675
|
+
Binding: string;
|
|
1676
|
+
Location: string;
|
|
1677
|
+
}[];
|
|
1678
|
+
singleLogoutService?: {
|
|
1679
|
+
isDefault?: boolean;
|
|
1680
|
+
Binding: string;
|
|
1681
|
+
Location: string;
|
|
1682
|
+
}[];
|
|
1683
|
+
signatureConfig?: {
|
|
1684
|
+
prefix?: string;
|
|
1685
|
+
location?: {
|
|
1686
|
+
reference?: string;
|
|
1687
|
+
action?: "append" | "prepend" | "before" | "after";
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
loginRequestTemplate?: {
|
|
1691
|
+
context?: string;
|
|
1692
|
+
};
|
|
1693
|
+
logoutRequestTemplate?: {
|
|
1694
|
+
context?: string;
|
|
1695
|
+
};
|
|
1696
|
+
signingCert?: string | {
|
|
1697
|
+
data: number[];
|
|
1698
|
+
type: "Buffer";
|
|
1699
|
+
};
|
|
1700
|
+
encryptCert?: string | {
|
|
1701
|
+
data: number[];
|
|
1702
|
+
type: "Buffer";
|
|
1703
|
+
};
|
|
1704
|
+
transformationAlgorithms?: string[];
|
|
1705
|
+
nameIDFormat?: string[];
|
|
1706
|
+
allowCreate?: boolean;
|
|
1707
|
+
relayState?: string;
|
|
1708
|
+
clockDrifts?: number[];
|
|
1709
|
+
loginResponseTemplate?: {
|
|
1710
|
+
attributes?: {
|
|
1711
|
+
name: string;
|
|
1712
|
+
nameFormat: string;
|
|
1713
|
+
valueXsiType: string;
|
|
1714
|
+
valueTag: string;
|
|
1715
|
+
valueXmlnsXs?: string;
|
|
1716
|
+
valueXmlnsXsi?: string;
|
|
1717
|
+
}[];
|
|
1718
|
+
context: string;
|
|
1719
|
+
};
|
|
1720
|
+
generateID?: {};
|
|
1721
|
+
singleSignOnService?: {
|
|
1722
|
+
isDefault?: boolean;
|
|
1723
|
+
Binding: string;
|
|
1724
|
+
Location: string;
|
|
1725
|
+
}[];
|
|
1726
|
+
messageSigningOrder?: string;
|
|
1727
|
+
wantAuthnRequestsSigned?: boolean;
|
|
1728
|
+
wantLogoutRequestSignedResponseSigned?: boolean;
|
|
1729
|
+
tagPrefix?: {};
|
|
1730
|
+
};
|
|
1731
|
+
entityType: string;
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
custom?: {
|
|
1735
|
+
colors?: string[];
|
|
1736
|
+
};
|
|
1737
|
+
retention: number;
|
|
1738
|
+
features: {};
|
|
1739
|
+
events: {
|
|
1740
|
+
product_page: string;
|
|
1741
|
+
add_cart: string;
|
|
1742
|
+
purchase: string;
|
|
1743
|
+
};
|
|
1744
|
+
};
|
|
1745
|
+
};
|
|
1746
|
+
}>>;
|
|
1747
|
+
updatePassword: (data: ({
|
|
1748
|
+
email: string;
|
|
1749
|
+
password: string;
|
|
1750
|
+
} & {
|
|
1751
|
+
token: string;
|
|
1752
|
+
}) | ({
|
|
1753
|
+
email: string;
|
|
1754
|
+
password: string;
|
|
1755
|
+
} & {
|
|
1756
|
+
currentPassword: string;
|
|
1757
|
+
}), options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
1758
|
+
status: "success";
|
|
1759
|
+
program: string;
|
|
1760
|
+
version: string;
|
|
1761
|
+
datetime: string;
|
|
1762
|
+
code?: number;
|
|
1763
|
+
message: string;
|
|
1764
|
+
data: {
|
|
507
1765
|
readonly companyId: string & {
|
|
508
|
-
readonly?:
|
|
1766
|
+
readonly?: "__readonly";
|
|
509
1767
|
};
|
|
1768
|
+
readonly roleId: string & {
|
|
1769
|
+
readonly?: "__readonly";
|
|
1770
|
+
};
|
|
1771
|
+
readonly resourceGroupIds: string[];
|
|
510
1772
|
readonly id: string & {
|
|
511
|
-
readonly?:
|
|
1773
|
+
readonly?: "__readonly";
|
|
512
1774
|
};
|
|
513
1775
|
readonly disabled: (false & {
|
|
514
|
-
readonly?:
|
|
1776
|
+
readonly?: "__readonly";
|
|
515
1777
|
}) | (true & {
|
|
516
|
-
readonly?:
|
|
1778
|
+
readonly?: "__readonly";
|
|
517
1779
|
});
|
|
518
1780
|
email: string;
|
|
519
|
-
readonly createdAt: Date & {
|
|
520
|
-
readonly?: undefined;
|
|
521
|
-
};
|
|
522
|
-
readonly updatedAt: Date & {
|
|
523
|
-
readonly?: undefined;
|
|
524
|
-
};
|
|
525
1781
|
readonly lastPasswordUpdate: Date & {
|
|
526
|
-
readonly?:
|
|
1782
|
+
readonly?: "__readonly";
|
|
527
1783
|
};
|
|
528
1784
|
readonly mustUpdatePassword: (false & {
|
|
529
|
-
readonly?:
|
|
1785
|
+
readonly?: "__readonly";
|
|
530
1786
|
}) | (true & {
|
|
531
|
-
readonly?:
|
|
1787
|
+
readonly?: "__readonly";
|
|
532
1788
|
});
|
|
533
1789
|
readonly connection: {
|
|
1790
|
+
readonly?: "__readonly";
|
|
534
1791
|
lastAttempts?: Date;
|
|
535
1792
|
nbFail?: number;
|
|
536
1793
|
};
|
|
@@ -548,14 +1805,33 @@ export default class {
|
|
|
548
1805
|
campaign?: string;
|
|
549
1806
|
};
|
|
550
1807
|
};
|
|
1808
|
+
readonly hasOtp: (false & {
|
|
1809
|
+
readonly?: "__readonly";
|
|
1810
|
+
}) | (true & {
|
|
1811
|
+
readonly?: "__readonly";
|
|
1812
|
+
});
|
|
1813
|
+
readonly createdAt: Date & {
|
|
1814
|
+
readonly?: "__readonly";
|
|
1815
|
+
};
|
|
1816
|
+
readonly updatedAt: Date & {
|
|
1817
|
+
readonly?: "__readonly";
|
|
1818
|
+
};
|
|
551
1819
|
};
|
|
552
1820
|
}>>;
|
|
1821
|
+
resetPassword: (data: {
|
|
1822
|
+
email: string;
|
|
1823
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
1824
|
+
status: "success";
|
|
1825
|
+
program: string;
|
|
1826
|
+
version: string;
|
|
1827
|
+
datetime: string;
|
|
1828
|
+
code?: number;
|
|
1829
|
+
message: string;
|
|
1830
|
+
data: {};
|
|
1831
|
+
}>>;
|
|
553
1832
|
update: (params: {
|
|
554
1833
|
id: string;
|
|
555
1834
|
}, data: {
|
|
556
|
-
password?: string & {
|
|
557
|
-
writeonly?: undefined;
|
|
558
|
-
};
|
|
559
1835
|
email?: string;
|
|
560
1836
|
profile?: {
|
|
561
1837
|
firstname?: string;
|
|
@@ -579,37 +1855,32 @@ export default class {
|
|
|
579
1855
|
code?: number;
|
|
580
1856
|
message: string;
|
|
581
1857
|
data: {
|
|
1858
|
+
readonly companyId: string & {
|
|
1859
|
+
readonly?: "__readonly";
|
|
1860
|
+
};
|
|
582
1861
|
readonly roleId: string & {
|
|
583
|
-
readonly?:
|
|
1862
|
+
readonly?: "__readonly";
|
|
584
1863
|
};
|
|
585
1864
|
readonly resourceGroupIds: string[];
|
|
586
|
-
readonly companyId: string & {
|
|
587
|
-
readonly?: undefined;
|
|
588
|
-
};
|
|
589
1865
|
readonly id: string & {
|
|
590
|
-
readonly?:
|
|
1866
|
+
readonly?: "__readonly";
|
|
591
1867
|
};
|
|
592
1868
|
readonly disabled: (false & {
|
|
593
|
-
readonly?:
|
|
1869
|
+
readonly?: "__readonly";
|
|
594
1870
|
}) | (true & {
|
|
595
|
-
readonly?:
|
|
1871
|
+
readonly?: "__readonly";
|
|
596
1872
|
});
|
|
597
1873
|
email: string;
|
|
598
|
-
readonly createdAt: Date & {
|
|
599
|
-
readonly?: undefined;
|
|
600
|
-
};
|
|
601
|
-
readonly updatedAt: Date & {
|
|
602
|
-
readonly?: undefined;
|
|
603
|
-
};
|
|
604
1874
|
readonly lastPasswordUpdate: Date & {
|
|
605
|
-
readonly?:
|
|
1875
|
+
readonly?: "__readonly";
|
|
606
1876
|
};
|
|
607
1877
|
readonly mustUpdatePassword: (false & {
|
|
608
|
-
readonly?:
|
|
1878
|
+
readonly?: "__readonly";
|
|
609
1879
|
}) | (true & {
|
|
610
|
-
readonly?:
|
|
1880
|
+
readonly?: "__readonly";
|
|
611
1881
|
});
|
|
612
1882
|
readonly connection: {
|
|
1883
|
+
readonly?: "__readonly";
|
|
613
1884
|
lastAttempts?: Date;
|
|
614
1885
|
nbFail?: number;
|
|
615
1886
|
};
|
|
@@ -627,6 +1898,17 @@ export default class {
|
|
|
627
1898
|
campaign?: string;
|
|
628
1899
|
};
|
|
629
1900
|
};
|
|
1901
|
+
readonly hasOtp: (false & {
|
|
1902
|
+
readonly?: "__readonly";
|
|
1903
|
+
}) | (true & {
|
|
1904
|
+
readonly?: "__readonly";
|
|
1905
|
+
});
|
|
1906
|
+
readonly createdAt: Date & {
|
|
1907
|
+
readonly?: "__readonly";
|
|
1908
|
+
};
|
|
1909
|
+
readonly updatedAt: Date & {
|
|
1910
|
+
readonly?: "__readonly";
|
|
1911
|
+
};
|
|
630
1912
|
};
|
|
631
1913
|
}>>;
|
|
632
1914
|
delete: (params: {
|
|
@@ -639,37 +1921,32 @@ export default class {
|
|
|
639
1921
|
code?: number;
|
|
640
1922
|
message: string;
|
|
641
1923
|
data: {
|
|
1924
|
+
readonly companyId: string & {
|
|
1925
|
+
readonly?: "__readonly";
|
|
1926
|
+
};
|
|
642
1927
|
readonly roleId: string & {
|
|
643
|
-
readonly?:
|
|
1928
|
+
readonly?: "__readonly";
|
|
644
1929
|
};
|
|
645
1930
|
readonly resourceGroupIds: string[];
|
|
646
|
-
readonly companyId: string & {
|
|
647
|
-
readonly?: undefined;
|
|
648
|
-
};
|
|
649
1931
|
readonly id: string & {
|
|
650
|
-
readonly?:
|
|
1932
|
+
readonly?: "__readonly";
|
|
651
1933
|
};
|
|
652
1934
|
readonly disabled: (false & {
|
|
653
|
-
readonly?:
|
|
1935
|
+
readonly?: "__readonly";
|
|
654
1936
|
}) | (true & {
|
|
655
|
-
readonly?:
|
|
1937
|
+
readonly?: "__readonly";
|
|
656
1938
|
});
|
|
657
1939
|
email: string;
|
|
658
|
-
readonly createdAt: Date & {
|
|
659
|
-
readonly?: undefined;
|
|
660
|
-
};
|
|
661
|
-
readonly updatedAt: Date & {
|
|
662
|
-
readonly?: undefined;
|
|
663
|
-
};
|
|
664
1940
|
readonly lastPasswordUpdate: Date & {
|
|
665
|
-
readonly?:
|
|
1941
|
+
readonly?: "__readonly";
|
|
666
1942
|
};
|
|
667
1943
|
readonly mustUpdatePassword: (false & {
|
|
668
|
-
readonly?:
|
|
1944
|
+
readonly?: "__readonly";
|
|
669
1945
|
}) | (true & {
|
|
670
|
-
readonly?:
|
|
1946
|
+
readonly?: "__readonly";
|
|
671
1947
|
});
|
|
672
1948
|
readonly connection: {
|
|
1949
|
+
readonly?: "__readonly";
|
|
673
1950
|
lastAttempts?: Date;
|
|
674
1951
|
nbFail?: number;
|
|
675
1952
|
};
|
|
@@ -687,6 +1964,17 @@ export default class {
|
|
|
687
1964
|
campaign?: string;
|
|
688
1965
|
};
|
|
689
1966
|
};
|
|
1967
|
+
readonly hasOtp: (false & {
|
|
1968
|
+
readonly?: "__readonly";
|
|
1969
|
+
}) | (true & {
|
|
1970
|
+
readonly?: "__readonly";
|
|
1971
|
+
});
|
|
1972
|
+
readonly createdAt: Date & {
|
|
1973
|
+
readonly?: "__readonly";
|
|
1974
|
+
};
|
|
1975
|
+
readonly updatedAt: Date & {
|
|
1976
|
+
readonly?: "__readonly";
|
|
1977
|
+
};
|
|
690
1978
|
};
|
|
691
1979
|
}>>;
|
|
692
1980
|
setRole: (params: {
|
|
@@ -701,37 +1989,32 @@ export default class {
|
|
|
701
1989
|
code?: number;
|
|
702
1990
|
message: string;
|
|
703
1991
|
data: {
|
|
1992
|
+
readonly companyId: string & {
|
|
1993
|
+
readonly?: "__readonly";
|
|
1994
|
+
};
|
|
704
1995
|
readonly roleId: string & {
|
|
705
|
-
readonly?:
|
|
1996
|
+
readonly?: "__readonly";
|
|
706
1997
|
};
|
|
707
1998
|
readonly resourceGroupIds: string[];
|
|
708
|
-
readonly companyId: string & {
|
|
709
|
-
readonly?: undefined;
|
|
710
|
-
};
|
|
711
1999
|
readonly id: string & {
|
|
712
|
-
readonly?:
|
|
2000
|
+
readonly?: "__readonly";
|
|
713
2001
|
};
|
|
714
2002
|
readonly disabled: (false & {
|
|
715
|
-
readonly?:
|
|
2003
|
+
readonly?: "__readonly";
|
|
716
2004
|
}) | (true & {
|
|
717
|
-
readonly?:
|
|
2005
|
+
readonly?: "__readonly";
|
|
718
2006
|
});
|
|
719
2007
|
email: string;
|
|
720
|
-
readonly createdAt: Date & {
|
|
721
|
-
readonly?: undefined;
|
|
722
|
-
};
|
|
723
|
-
readonly updatedAt: Date & {
|
|
724
|
-
readonly?: undefined;
|
|
725
|
-
};
|
|
726
2008
|
readonly lastPasswordUpdate: Date & {
|
|
727
|
-
readonly?:
|
|
2009
|
+
readonly?: "__readonly";
|
|
728
2010
|
};
|
|
729
2011
|
readonly mustUpdatePassword: (false & {
|
|
730
|
-
readonly?:
|
|
2012
|
+
readonly?: "__readonly";
|
|
731
2013
|
}) | (true & {
|
|
732
|
-
readonly?:
|
|
2014
|
+
readonly?: "__readonly";
|
|
733
2015
|
});
|
|
734
2016
|
readonly connection: {
|
|
2017
|
+
readonly?: "__readonly";
|
|
735
2018
|
lastAttempts?: Date;
|
|
736
2019
|
nbFail?: number;
|
|
737
2020
|
};
|
|
@@ -749,6 +2032,17 @@ export default class {
|
|
|
749
2032
|
campaign?: string;
|
|
750
2033
|
};
|
|
751
2034
|
};
|
|
2035
|
+
readonly hasOtp: (false & {
|
|
2036
|
+
readonly?: "__readonly";
|
|
2037
|
+
}) | (true & {
|
|
2038
|
+
readonly?: "__readonly";
|
|
2039
|
+
});
|
|
2040
|
+
readonly createdAt: Date & {
|
|
2041
|
+
readonly?: "__readonly";
|
|
2042
|
+
};
|
|
2043
|
+
readonly updatedAt: Date & {
|
|
2044
|
+
readonly?: "__readonly";
|
|
2045
|
+
};
|
|
752
2046
|
};
|
|
753
2047
|
}>>;
|
|
754
2048
|
setResourceGroups: (params: {
|
|
@@ -763,37 +2057,105 @@ export default class {
|
|
|
763
2057
|
code?: number;
|
|
764
2058
|
message: string;
|
|
765
2059
|
data: {
|
|
2060
|
+
readonly companyId: string & {
|
|
2061
|
+
readonly?: "__readonly";
|
|
2062
|
+
};
|
|
766
2063
|
readonly roleId: string & {
|
|
767
|
-
readonly?:
|
|
2064
|
+
readonly?: "__readonly";
|
|
768
2065
|
};
|
|
769
2066
|
readonly resourceGroupIds: string[];
|
|
770
|
-
readonly companyId: string & {
|
|
771
|
-
readonly?: undefined;
|
|
772
|
-
};
|
|
773
2067
|
readonly id: string & {
|
|
774
|
-
readonly?:
|
|
2068
|
+
readonly?: "__readonly";
|
|
775
2069
|
};
|
|
776
2070
|
readonly disabled: (false & {
|
|
777
|
-
readonly?:
|
|
2071
|
+
readonly?: "__readonly";
|
|
778
2072
|
}) | (true & {
|
|
779
|
-
readonly?:
|
|
2073
|
+
readonly?: "__readonly";
|
|
780
2074
|
});
|
|
781
2075
|
email: string;
|
|
2076
|
+
readonly lastPasswordUpdate: Date & {
|
|
2077
|
+
readonly?: "__readonly";
|
|
2078
|
+
};
|
|
2079
|
+
readonly mustUpdatePassword: (false & {
|
|
2080
|
+
readonly?: "__readonly";
|
|
2081
|
+
}) | (true & {
|
|
2082
|
+
readonly?: "__readonly";
|
|
2083
|
+
});
|
|
2084
|
+
readonly connection: {
|
|
2085
|
+
readonly?: "__readonly";
|
|
2086
|
+
lastAttempts?: Date;
|
|
2087
|
+
nbFail?: number;
|
|
2088
|
+
};
|
|
2089
|
+
profile?: {
|
|
2090
|
+
firstname?: string;
|
|
2091
|
+
lastname?: string;
|
|
2092
|
+
jobtitle?: string;
|
|
2093
|
+
phone?: string;
|
|
2094
|
+
preferredLang?: string;
|
|
2095
|
+
preferredRecipientId?: string;
|
|
2096
|
+
preferredMessageId?: string;
|
|
2097
|
+
preferredUtm?: {
|
|
2098
|
+
medium?: string;
|
|
2099
|
+
source?: string;
|
|
2100
|
+
campaign?: string;
|
|
2101
|
+
};
|
|
2102
|
+
};
|
|
2103
|
+
readonly hasOtp: (false & {
|
|
2104
|
+
readonly?: "__readonly";
|
|
2105
|
+
}) | (true & {
|
|
2106
|
+
readonly?: "__readonly";
|
|
2107
|
+
});
|
|
782
2108
|
readonly createdAt: Date & {
|
|
783
|
-
readonly?:
|
|
2109
|
+
readonly?: "__readonly";
|
|
784
2110
|
};
|
|
785
2111
|
readonly updatedAt: Date & {
|
|
786
|
-
readonly?:
|
|
2112
|
+
readonly?: "__readonly";
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
}>>;
|
|
2116
|
+
setOtp: (params: {
|
|
2117
|
+
id: string;
|
|
2118
|
+
}, data: {
|
|
2119
|
+
status: "enabled";
|
|
2120
|
+
secret: string;
|
|
2121
|
+
code: string;
|
|
2122
|
+
} | {
|
|
2123
|
+
status: "disabled";
|
|
2124
|
+
code: string;
|
|
2125
|
+
}, options?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<{
|
|
2126
|
+
status: "success";
|
|
2127
|
+
program: string;
|
|
2128
|
+
version: string;
|
|
2129
|
+
datetime: string;
|
|
2130
|
+
code?: number;
|
|
2131
|
+
message: string;
|
|
2132
|
+
data: {
|
|
2133
|
+
readonly companyId: string & {
|
|
2134
|
+
readonly?: "__readonly";
|
|
2135
|
+
};
|
|
2136
|
+
readonly roleId: string & {
|
|
2137
|
+
readonly?: "__readonly";
|
|
787
2138
|
};
|
|
2139
|
+
readonly resourceGroupIds: string[];
|
|
2140
|
+
readonly id: string & {
|
|
2141
|
+
readonly?: "__readonly";
|
|
2142
|
+
};
|
|
2143
|
+
readonly disabled: (false & {
|
|
2144
|
+
readonly?: "__readonly";
|
|
2145
|
+
}) | (true & {
|
|
2146
|
+
readonly?: "__readonly";
|
|
2147
|
+
});
|
|
2148
|
+
email: string;
|
|
788
2149
|
readonly lastPasswordUpdate: Date & {
|
|
789
|
-
readonly?:
|
|
2150
|
+
readonly?: "__readonly";
|
|
790
2151
|
};
|
|
791
2152
|
readonly mustUpdatePassword: (false & {
|
|
792
|
-
readonly?:
|
|
2153
|
+
readonly?: "__readonly";
|
|
793
2154
|
}) | (true & {
|
|
794
|
-
readonly?:
|
|
2155
|
+
readonly?: "__readonly";
|
|
795
2156
|
});
|
|
796
2157
|
readonly connection: {
|
|
2158
|
+
readonly?: "__readonly";
|
|
797
2159
|
lastAttempts?: Date;
|
|
798
2160
|
nbFail?: number;
|
|
799
2161
|
};
|
|
@@ -811,6 +2173,17 @@ export default class {
|
|
|
811
2173
|
campaign?: string;
|
|
812
2174
|
};
|
|
813
2175
|
};
|
|
2176
|
+
readonly hasOtp: (false & {
|
|
2177
|
+
readonly?: "__readonly";
|
|
2178
|
+
}) | (true & {
|
|
2179
|
+
readonly?: "__readonly";
|
|
2180
|
+
});
|
|
2181
|
+
readonly createdAt: Date & {
|
|
2182
|
+
readonly?: "__readonly";
|
|
2183
|
+
};
|
|
2184
|
+
readonly updatedAt: Date & {
|
|
2185
|
+
readonly?: "__readonly";
|
|
2186
|
+
};
|
|
814
2187
|
};
|
|
815
2188
|
}>>;
|
|
816
2189
|
};
|