@rlvt/entity-manager-openapi-client 1.0.109 → 1.0.111

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