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