@rlvt/entity-manager-openapi-client 1.0.173 → 1.0.174

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
@@ -10,9 +10,15 @@ export default class {
10
10
  private updateUser;
11
11
  private deleteUser;
12
12
  private createUser;
13
+ private setStatusUser;
13
14
  private setRoleUser;
14
15
  private setResourceGroupsUser;
15
16
  private setOtpUser;
17
+ private getScimConfig;
18
+ private updateScimConfig;
19
+ private listScimToken;
20
+ private createScimToken;
21
+ private deleteScimToken;
16
22
  private resolveLinkedAccount;
17
23
  private createLinkedAccountRequest;
18
24
  private listMyLinkedAccounts;
@@ -30,6 +36,7 @@ export default class {
30
36
  private getCompany;
31
37
  private updateCompany;
32
38
  private createCompany;
39
+ private listAuditLog;
33
40
  private listRole;
34
41
  private createRole;
35
42
  private updateRole;
@@ -63,6 +70,7 @@ export default class {
63
70
  ids?: string[] | undefined;
64
71
  resourceGroupIds?: string[] | undefined;
65
72
  roleId?: string | undefined;
73
+ disabled?: boolean | undefined;
66
74
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
67
75
  paginationCount: number;
68
76
  paginationPage: number;
@@ -71,6 +79,10 @@ export default class {
71
79
  status: "success";
72
80
  } & {
73
81
  data: {
82
+ readonly scim?: {
83
+ readonly?: "__readonly" | undefined;
84
+ externalId?: string | undefined;
85
+ } | undefined;
74
86
  readonly companyId: string & {
75
87
  readonly?: "__readonly" | undefined;
76
88
  };
@@ -82,6 +94,9 @@ export default class {
82
94
  readonly?: "__readonly" | undefined;
83
95
  };
84
96
  email: string;
97
+ readonly disabled: boolean & {
98
+ readonly?: "__readonly" | undefined;
99
+ };
85
100
  readonly createdAt: string & {
86
101
  readonly?: "__readonly" | undefined;
87
102
  };
@@ -130,6 +145,10 @@ export default class {
130
145
  status: "success";
131
146
  } & {
132
147
  data: {
148
+ readonly scim?: {
149
+ readonly?: "__readonly" | undefined;
150
+ externalId?: string | undefined;
151
+ } | undefined;
133
152
  readonly companyId: string & {
134
153
  readonly?: "__readonly" | undefined;
135
154
  };
@@ -141,6 +160,9 @@ export default class {
141
160
  readonly?: "__readonly" | undefined;
142
161
  };
143
162
  email: string;
163
+ readonly disabled: boolean & {
164
+ readonly?: "__readonly" | undefined;
165
+ };
144
166
  readonly createdAt: string & {
145
167
  readonly?: "__readonly" | undefined;
146
168
  };
@@ -204,6 +226,10 @@ export default class {
204
226
  status: "success";
205
227
  } & {
206
228
  data: {
229
+ readonly scim?: {
230
+ readonly?: "__readonly" | undefined;
231
+ externalId?: string | undefined;
232
+ } | undefined;
207
233
  readonly companyId: string & {
208
234
  readonly?: "__readonly" | undefined;
209
235
  };
@@ -215,6 +241,9 @@ export default class {
215
241
  readonly?: "__readonly" | undefined;
216
242
  };
217
243
  email: string;
244
+ readonly disabled: boolean & {
245
+ readonly?: "__readonly" | undefined;
246
+ };
218
247
  readonly createdAt: string & {
219
248
  readonly?: "__readonly" | undefined;
220
249
  };
@@ -255,6 +284,10 @@ export default class {
255
284
  status: "success";
256
285
  } & {
257
286
  data: {
287
+ readonly scim?: {
288
+ readonly?: "__readonly" | undefined;
289
+ externalId?: string | undefined;
290
+ } | undefined;
258
291
  readonly companyId: string & {
259
292
  readonly?: "__readonly" | undefined;
260
293
  };
@@ -266,6 +299,9 @@ export default class {
266
299
  readonly?: "__readonly" | undefined;
267
300
  };
268
301
  email: string;
302
+ readonly disabled: boolean & {
303
+ readonly?: "__readonly" | undefined;
304
+ };
269
305
  readonly createdAt: string & {
270
306
  readonly?: "__readonly" | undefined;
271
307
  };
@@ -316,6 +352,10 @@ export default class {
316
352
  } & {
317
353
  data: {
318
354
  user: {
355
+ readonly scim?: {
356
+ readonly?: "__readonly" | undefined;
357
+ externalId?: string | undefined;
358
+ } | undefined;
319
359
  readonly companyId: string & {
320
360
  readonly?: "__readonly" | undefined;
321
361
  };
@@ -327,6 +367,9 @@ export default class {
327
367
  readonly?: "__readonly" | undefined;
328
368
  };
329
369
  email: string;
370
+ readonly disabled: boolean & {
371
+ readonly?: "__readonly" | undefined;
372
+ };
330
373
  readonly createdAt: string & {
331
374
  readonly?: "__readonly" | undefined;
332
375
  };
@@ -355,59 +398,18 @@ export default class {
355
398
  }) | undefined;
356
399
  };
357
400
  company: {
358
- readonly id: string & {
359
- readonly?: "__readonly" | undefined;
360
- };
361
- readonly createdAt: string & {
362
- readonly?: "__readonly" | undefined;
363
- };
364
- readonly updatedAt: string & {
365
- readonly?: "__readonly" | undefined;
366
- };
367
- disabled: boolean;
368
- defaultRoleId: string;
369
- defaultResourceGroupIds: string[];
370
- name: string;
371
- plan: {
372
- name: string;
373
- quotas: {
374
- type: "datasource" | "individual" | "display";
375
- subtype?: string | undefined;
376
- quota: number;
377
- usage?: number | undefined;
401
+ scim?: {
402
+ enabled: boolean;
403
+ groupSync: boolean;
404
+ roleSource: "groups" | "scim-roles" | "none";
405
+ roleMapping: {
406
+ roleId: string;
407
+ group: string;
378
408
  }[];
379
- startDate: string;
380
- endDate: string;
381
- attributionPeriod?: number | undefined;
382
- };
383
- securityPolicy: {
384
- password: {
385
- rules: {
386
- options: {
387
- maximum?: number | undefined;
388
- minimum?: number | undefined;
389
- };
390
- type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
391
- }[];
392
- duration: number;
393
- attempts: {
394
- maximum: number;
395
- lockDuration: number;
396
- };
397
- };
398
- };
399
- variableProfiles: {
400
- id: string;
401
- name: string;
402
- variables: {
403
- "rlvt-u"?: string | undefined;
404
- "rlvt-m"?: string | undefined;
405
- utm_campaign?: string | undefined;
406
- utm_source?: string | undefined;
407
- utm_medium?: string | undefined;
408
- utm_term?: string | undefined;
409
- };
410
- }[];
409
+ defaultRoleId?: string | undefined;
410
+ deprovisionMode: "soft" | "hard";
411
+ lastSyncAt?: string | undefined;
412
+ } | undefined;
411
413
  sso?: {
412
414
  mode: "invitation" | "create";
413
415
  domains: string[];
@@ -497,6 +499,59 @@ export default class {
497
499
  entityType: string;
498
500
  };
499
501
  } | undefined;
502
+ readonly id: string & {
503
+ readonly?: "__readonly" | undefined;
504
+ };
505
+ disabled: boolean;
506
+ readonly createdAt: string & {
507
+ readonly?: "__readonly" | undefined;
508
+ };
509
+ readonly updatedAt: string & {
510
+ readonly?: "__readonly" | undefined;
511
+ };
512
+ defaultRoleId: string;
513
+ defaultResourceGroupIds: string[];
514
+ name: string;
515
+ plan: {
516
+ name: string;
517
+ quotas: {
518
+ type: "datasource" | "individual" | "display";
519
+ subtype?: string | undefined;
520
+ quota: number;
521
+ usage?: number | undefined;
522
+ }[];
523
+ startDate: string;
524
+ endDate: string;
525
+ attributionPeriod?: number | undefined;
526
+ };
527
+ securityPolicy: {
528
+ password: {
529
+ rules: {
530
+ options: {
531
+ maximum?: number | undefined;
532
+ minimum?: number | undefined;
533
+ };
534
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
535
+ }[];
536
+ duration: number;
537
+ attempts: {
538
+ maximum: number;
539
+ lockDuration: number;
540
+ };
541
+ };
542
+ };
543
+ variableProfiles: {
544
+ id: string;
545
+ name: string;
546
+ variables: {
547
+ "rlvt-u"?: string | undefined;
548
+ "rlvt-m"?: string | undefined;
549
+ utm_campaign?: string | undefined;
550
+ utm_source?: string | undefined;
551
+ utm_medium?: string | undefined;
552
+ utm_term?: string | undefined;
553
+ };
554
+ }[];
500
555
  custom?: {
501
556
  colors?: string[] | undefined;
502
557
  workflowDomain?: string | undefined;
@@ -524,6 +579,66 @@ export default class {
524
579
  code?: number | undefined;
525
580
  message: string;
526
581
  }, any, {}>>;
582
+ setStatus: (params: {
583
+ id: string;
584
+ }, data: {
585
+ disabled: boolean;
586
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
587
+ status: "success";
588
+ } & {
589
+ data: {
590
+ readonly scim?: {
591
+ readonly?: "__readonly" | undefined;
592
+ externalId?: string | undefined;
593
+ } | undefined;
594
+ readonly companyId: string & {
595
+ readonly?: "__readonly" | undefined;
596
+ };
597
+ readonly roleId: string & {
598
+ readonly?: "__readonly" | undefined;
599
+ };
600
+ readonly resourceGroupIds: string[];
601
+ readonly id: string & {
602
+ readonly?: "__readonly" | undefined;
603
+ };
604
+ email: string;
605
+ readonly disabled: boolean & {
606
+ readonly?: "__readonly" | undefined;
607
+ };
608
+ readonly createdAt: string & {
609
+ readonly?: "__readonly" | undefined;
610
+ };
611
+ readonly updatedAt: string & {
612
+ readonly?: "__readonly" | undefined;
613
+ };
614
+ readonly lastConnection: string & {
615
+ readonly?: "__readonly" | undefined;
616
+ };
617
+ readonly invitedBy?: (string & {
618
+ readonly?: "__readonly" | undefined;
619
+ }) | undefined;
620
+ profile?: {
621
+ firstname?: string | undefined;
622
+ lastname?: string | undefined;
623
+ jobtitle?: string | undefined;
624
+ phone?: string | undefined;
625
+ preferredLang?: string | undefined;
626
+ theme?: "light" | "dark" | "system" | undefined;
627
+ } | undefined;
628
+ readonly hasOtp: boolean & {
629
+ readonly?: "__readonly" | undefined;
630
+ };
631
+ readonly accountType?: (("service-account" | "user") & {
632
+ readonly?: "__readonly" | undefined;
633
+ }) | undefined;
634
+ };
635
+ program: string;
636
+ version: string;
637
+ datetime: string;
638
+ status: string;
639
+ code?: number | undefined;
640
+ message: string;
641
+ }, any, {}>>;
527
642
  setRole: (params: {
528
643
  id: string;
529
644
  }, data: {
@@ -532,6 +647,10 @@ export default class {
532
647
  status: "success";
533
648
  } & {
534
649
  data: {
650
+ readonly scim?: {
651
+ readonly?: "__readonly" | undefined;
652
+ externalId?: string | undefined;
653
+ } | undefined;
535
654
  readonly companyId: string & {
536
655
  readonly?: "__readonly" | undefined;
537
656
  };
@@ -543,6 +662,9 @@ export default class {
543
662
  readonly?: "__readonly" | undefined;
544
663
  };
545
664
  email: string;
665
+ readonly disabled: boolean & {
666
+ readonly?: "__readonly" | undefined;
667
+ };
546
668
  readonly createdAt: string & {
547
669
  readonly?: "__readonly" | undefined;
548
670
  };
@@ -585,6 +707,10 @@ export default class {
585
707
  status: "success";
586
708
  } & {
587
709
  data: {
710
+ readonly scim?: {
711
+ readonly?: "__readonly" | undefined;
712
+ externalId?: string | undefined;
713
+ } | undefined;
588
714
  readonly companyId: string & {
589
715
  readonly?: "__readonly" | undefined;
590
716
  };
@@ -596,6 +722,9 @@ export default class {
596
722
  readonly?: "__readonly" | undefined;
597
723
  };
598
724
  email: string;
725
+ readonly disabled: boolean & {
726
+ readonly?: "__readonly" | undefined;
727
+ };
599
728
  readonly createdAt: string & {
600
729
  readonly?: "__readonly" | undefined;
601
730
  };
@@ -643,6 +772,10 @@ export default class {
643
772
  status: "success";
644
773
  } & {
645
774
  data: {
775
+ readonly scim?: {
776
+ readonly?: "__readonly" | undefined;
777
+ externalId?: string | undefined;
778
+ } | undefined;
646
779
  readonly companyId: string & {
647
780
  readonly?: "__readonly" | undefined;
648
781
  };
@@ -654,6 +787,9 @@ export default class {
654
787
  readonly?: "__readonly" | undefined;
655
788
  };
656
789
  email: string;
790
+ readonly disabled: boolean & {
791
+ readonly?: "__readonly" | undefined;
792
+ };
657
793
  readonly createdAt: string & {
658
794
  readonly?: "__readonly" | undefined;
659
795
  };
@@ -689,6 +825,111 @@ export default class {
689
825
  message: string;
690
826
  }, any, {}>>;
691
827
  };
828
+ get SCIM(): {
829
+ getConfig: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
830
+ status: "success";
831
+ } & {
832
+ data: {
833
+ enabled: boolean;
834
+ groupSync: boolean;
835
+ roleSource: "groups" | "scim-roles" | "none";
836
+ roleMapping: {
837
+ roleId: string;
838
+ group: string;
839
+ }[];
840
+ defaultRoleId?: string | undefined;
841
+ deprovisionMode: "soft" | "hard";
842
+ lastSyncAt?: string | undefined;
843
+ baseUrl: string;
844
+ };
845
+ program: string;
846
+ version: string;
847
+ datetime: string;
848
+ status: string;
849
+ code?: number | undefined;
850
+ message: string;
851
+ }, any, {}>>;
852
+ updateConfig: (params: Record<string, never>, data: {
853
+ enabled?: boolean | undefined;
854
+ groupSync?: boolean | undefined;
855
+ roleSource?: "groups" | "scim-roles" | "none" | undefined;
856
+ roleMapping?: {
857
+ group: string;
858
+ roleId: string;
859
+ }[] | undefined;
860
+ defaultRoleId?: string | undefined;
861
+ deprovisionMode?: "soft" | "hard" | undefined;
862
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
863
+ status: "success";
864
+ } & {
865
+ data: {
866
+ enabled: boolean;
867
+ groupSync: boolean;
868
+ roleSource: "groups" | "scim-roles" | "none";
869
+ roleMapping: {
870
+ roleId: string;
871
+ group: string;
872
+ }[];
873
+ defaultRoleId?: string | undefined;
874
+ deprovisionMode: "soft" | "hard";
875
+ lastSyncAt?: string | undefined;
876
+ baseUrl: string;
877
+ };
878
+ program: string;
879
+ version: string;
880
+ datetime: string;
881
+ status: string;
882
+ code?: number | undefined;
883
+ message: string;
884
+ }, any, {}>>;
885
+ listToken: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
886
+ status: "success";
887
+ } & {
888
+ data: {
889
+ id: string;
890
+ createdAt: string;
891
+ revokedAt?: string | undefined;
892
+ label?: string | undefined;
893
+ lastUsedAt?: string | undefined;
894
+ }[];
895
+ program: string;
896
+ version: string;
897
+ datetime: string;
898
+ status: string;
899
+ code?: number | undefined;
900
+ message: string;
901
+ }, any, {}>>;
902
+ createToken: (params: Record<string, never>, data: {
903
+ label?: string | undefined;
904
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
905
+ status: "success";
906
+ } & {
907
+ data: {
908
+ id: string;
909
+ baseUrl: string;
910
+ token: string;
911
+ };
912
+ program: string;
913
+ version: string;
914
+ datetime: string;
915
+ status: string;
916
+ code?: number | undefined;
917
+ message: string;
918
+ }, any, {}>>;
919
+ deleteToken: (params: {
920
+ id: string;
921
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
922
+ status: "success";
923
+ } & {
924
+ data: unknown;
925
+ program: string;
926
+ version: string;
927
+ datetime: string;
928
+ status: string;
929
+ code?: number | undefined;
930
+ message: string;
931
+ }, any, {}>>;
932
+ };
692
933
  get LinkedAccount(): {
693
934
  resolve: (params: {
694
935
  surface?: string | undefined;
@@ -954,59 +1195,18 @@ export default class {
954
1195
  status: "success";
955
1196
  } & {
956
1197
  data: {
957
- readonly id: string & {
958
- readonly?: "__readonly" | undefined;
959
- };
960
- readonly createdAt: string & {
961
- readonly?: "__readonly" | undefined;
962
- };
963
- readonly updatedAt: string & {
964
- readonly?: "__readonly" | undefined;
965
- };
966
- disabled: boolean;
967
- defaultRoleId: string;
968
- defaultResourceGroupIds: string[];
969
- name: string;
970
- plan: {
971
- name: string;
972
- quotas: {
973
- type: "datasource" | "individual" | "display";
974
- subtype?: string | undefined;
975
- quota: number;
976
- usage?: number | undefined;
1198
+ scim?: {
1199
+ enabled: boolean;
1200
+ groupSync: boolean;
1201
+ roleSource: "groups" | "scim-roles" | "none";
1202
+ roleMapping: {
1203
+ roleId: string;
1204
+ group: string;
977
1205
  }[];
978
- startDate: string;
979
- endDate: string;
980
- attributionPeriod?: number | undefined;
981
- };
982
- securityPolicy: {
983
- password: {
984
- rules: {
985
- options: {
986
- maximum?: number | undefined;
987
- minimum?: number | undefined;
988
- };
989
- type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
990
- }[];
991
- duration: number;
992
- attempts: {
993
- maximum: number;
994
- lockDuration: number;
995
- };
996
- };
997
- };
998
- variableProfiles: {
999
- id: string;
1000
- name: string;
1001
- variables: {
1002
- "rlvt-u"?: string | undefined;
1003
- "rlvt-m"?: string | undefined;
1004
- utm_campaign?: string | undefined;
1005
- utm_source?: string | undefined;
1006
- utm_medium?: string | undefined;
1007
- utm_term?: string | undefined;
1008
- };
1009
- }[];
1206
+ defaultRoleId?: string | undefined;
1207
+ deprovisionMode: "soft" | "hard";
1208
+ lastSyncAt?: string | undefined;
1209
+ } | undefined;
1010
1210
  sso?: {
1011
1211
  mode: "invitation" | "create";
1012
1212
  domains: string[];
@@ -1096,48 +1296,16 @@ export default class {
1096
1296
  entityType: string;
1097
1297
  };
1098
1298
  } | 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
- };
1117
- };
1118
- program: string;
1119
- version: string;
1120
- datetime: string;
1121
- status: string;
1122
- code?: number | undefined;
1123
- message: string;
1124
- }, any, {}>>;
1125
- get: (params: {
1126
- id: string;
1127
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1128
- status: "success";
1129
- } & {
1130
- data: {
1131
1299
  readonly id: string & {
1132
1300
  readonly?: "__readonly" | undefined;
1133
1301
  };
1302
+ disabled: boolean;
1134
1303
  readonly createdAt: string & {
1135
1304
  readonly?: "__readonly" | undefined;
1136
1305
  };
1137
1306
  readonly updatedAt: string & {
1138
1307
  readonly?: "__readonly" | undefined;
1139
1308
  };
1140
- disabled: boolean;
1141
1309
  defaultRoleId: string;
1142
1310
  defaultResourceGroupIds: string[];
1143
1311
  name: string;
@@ -1169,18 +1337,62 @@ export default class {
1169
1337
  };
1170
1338
  };
1171
1339
  };
1172
- variableProfiles: {
1173
- id: string;
1174
- name: string;
1175
- variables: {
1176
- "rlvt-u"?: string | undefined;
1177
- "rlvt-m"?: string | undefined;
1178
- utm_campaign?: string | undefined;
1179
- utm_source?: string | undefined;
1180
- utm_medium?: string | undefined;
1181
- utm_term?: string | undefined;
1182
- };
1183
- }[];
1340
+ variableProfiles: {
1341
+ id: string;
1342
+ name: string;
1343
+ variables: {
1344
+ "rlvt-u"?: string | undefined;
1345
+ "rlvt-m"?: string | undefined;
1346
+ utm_campaign?: string | undefined;
1347
+ utm_source?: string | undefined;
1348
+ utm_medium?: string | undefined;
1349
+ utm_term?: string | undefined;
1350
+ };
1351
+ }[];
1352
+ custom?: {
1353
+ colors?: string[] | undefined;
1354
+ workflowDomain?: string | undefined;
1355
+ } | undefined;
1356
+ readonly retention: number & {
1357
+ readonly?: "__readonly" | undefined;
1358
+ };
1359
+ readonly features: {
1360
+ [x: string]: boolean;
1361
+ };
1362
+ events: {
1363
+ product_page: string | string[];
1364
+ add_cart: string | string[];
1365
+ purchase: string | string[];
1366
+ };
1367
+ meta: {
1368
+ [x: string]: string | number | boolean;
1369
+ };
1370
+ };
1371
+ program: string;
1372
+ version: string;
1373
+ datetime: string;
1374
+ status: string;
1375
+ code?: number | undefined;
1376
+ message: string;
1377
+ }, any, {}>>;
1378
+ get: (params: {
1379
+ id: string;
1380
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1381
+ status: "success";
1382
+ } & {
1383
+ data: {
1384
+ scim?: {
1385
+ enabled: boolean;
1386
+ groupSync: boolean;
1387
+ roleSource: "groups" | "scim-roles" | "none";
1388
+ roleMapping: {
1389
+ roleId: string;
1390
+ group: string;
1391
+ }[];
1392
+ defaultRoleId?: string | undefined;
1393
+ deprovisionMode: "soft" | "hard";
1394
+ lastSyncAt?: string | undefined;
1395
+ } | undefined;
1184
1396
  sso?: {
1185
1397
  mode: "invitation" | "create";
1186
1398
  domains: string[];
@@ -1270,6 +1482,59 @@ export default class {
1270
1482
  entityType: string;
1271
1483
  };
1272
1484
  } | undefined;
1485
+ readonly id: string & {
1486
+ readonly?: "__readonly" | undefined;
1487
+ };
1488
+ disabled: boolean;
1489
+ readonly createdAt: string & {
1490
+ readonly?: "__readonly" | undefined;
1491
+ };
1492
+ readonly updatedAt: string & {
1493
+ readonly?: "__readonly" | undefined;
1494
+ };
1495
+ defaultRoleId: string;
1496
+ defaultResourceGroupIds: string[];
1497
+ name: string;
1498
+ plan: {
1499
+ name: string;
1500
+ quotas: {
1501
+ type: "datasource" | "individual" | "display";
1502
+ subtype?: string | undefined;
1503
+ quota: number;
1504
+ usage?: number | undefined;
1505
+ }[];
1506
+ startDate: string;
1507
+ endDate: string;
1508
+ attributionPeriod?: number | undefined;
1509
+ };
1510
+ securityPolicy: {
1511
+ password: {
1512
+ rules: {
1513
+ options: {
1514
+ maximum?: number | undefined;
1515
+ minimum?: number | undefined;
1516
+ };
1517
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1518
+ }[];
1519
+ duration: number;
1520
+ attempts: {
1521
+ maximum: number;
1522
+ lockDuration: number;
1523
+ };
1524
+ };
1525
+ };
1526
+ variableProfiles: {
1527
+ id: string;
1528
+ name: string;
1529
+ variables: {
1530
+ "rlvt-u"?: string | undefined;
1531
+ "rlvt-m"?: string | undefined;
1532
+ utm_campaign?: string | undefined;
1533
+ utm_source?: string | undefined;
1534
+ utm_medium?: string | undefined;
1535
+ utm_term?: string | undefined;
1536
+ };
1537
+ }[];
1273
1538
  custom?: {
1274
1539
  colors?: string[] | undefined;
1275
1540
  workflowDomain?: string | undefined;
@@ -1324,59 +1589,18 @@ export default class {
1324
1589
  status: "success";
1325
1590
  } & {
1326
1591
  data: {
1327
- readonly id: string & {
1328
- readonly?: "__readonly" | undefined;
1329
- };
1330
- readonly createdAt: string & {
1331
- readonly?: "__readonly" | undefined;
1332
- };
1333
- readonly updatedAt: string & {
1334
- readonly?: "__readonly" | undefined;
1335
- };
1336
- disabled: boolean;
1337
- defaultRoleId: string;
1338
- defaultResourceGroupIds: string[];
1339
- name: string;
1340
- plan: {
1341
- name: string;
1342
- quotas: {
1343
- type: "datasource" | "individual" | "display";
1344
- subtype?: string | undefined;
1345
- quota: number;
1346
- usage?: number | undefined;
1592
+ scim?: {
1593
+ enabled: boolean;
1594
+ groupSync: boolean;
1595
+ roleSource: "groups" | "scim-roles" | "none";
1596
+ roleMapping: {
1597
+ roleId: string;
1598
+ group: string;
1347
1599
  }[];
1348
- startDate: string;
1349
- endDate: string;
1350
- attributionPeriod?: number | undefined;
1351
- };
1352
- securityPolicy: {
1353
- password: {
1354
- rules: {
1355
- options: {
1356
- maximum?: number | undefined;
1357
- minimum?: number | undefined;
1358
- };
1359
- type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1360
- }[];
1361
- duration: number;
1362
- attempts: {
1363
- maximum: number;
1364
- lockDuration: number;
1365
- };
1366
- };
1367
- };
1368
- variableProfiles: {
1369
- id: string;
1370
- name: string;
1371
- variables: {
1372
- "rlvt-u"?: string | undefined;
1373
- "rlvt-m"?: string | undefined;
1374
- utm_campaign?: string | undefined;
1375
- utm_source?: string | undefined;
1376
- utm_medium?: string | undefined;
1377
- utm_term?: string | undefined;
1378
- };
1379
- }[];
1600
+ defaultRoleId?: string | undefined;
1601
+ deprovisionMode: "soft" | "hard";
1602
+ lastSyncAt?: string | undefined;
1603
+ } | undefined;
1380
1604
  sso?: {
1381
1605
  mode: "invitation" | "create";
1382
1606
  domains: string[];
@@ -1466,6 +1690,59 @@ export default class {
1466
1690
  entityType: string;
1467
1691
  };
1468
1692
  } | undefined;
1693
+ readonly id: string & {
1694
+ readonly?: "__readonly" | undefined;
1695
+ };
1696
+ disabled: boolean;
1697
+ readonly createdAt: string & {
1698
+ readonly?: "__readonly" | undefined;
1699
+ };
1700
+ readonly updatedAt: string & {
1701
+ readonly?: "__readonly" | undefined;
1702
+ };
1703
+ defaultRoleId: string;
1704
+ defaultResourceGroupIds: string[];
1705
+ name: string;
1706
+ plan: {
1707
+ name: string;
1708
+ quotas: {
1709
+ type: "datasource" | "individual" | "display";
1710
+ subtype?: string | undefined;
1711
+ quota: number;
1712
+ usage?: number | undefined;
1713
+ }[];
1714
+ startDate: string;
1715
+ endDate: string;
1716
+ attributionPeriod?: number | undefined;
1717
+ };
1718
+ securityPolicy: {
1719
+ password: {
1720
+ rules: {
1721
+ options: {
1722
+ maximum?: number | undefined;
1723
+ minimum?: number | undefined;
1724
+ };
1725
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1726
+ }[];
1727
+ duration: number;
1728
+ attempts: {
1729
+ maximum: number;
1730
+ lockDuration: number;
1731
+ };
1732
+ };
1733
+ };
1734
+ variableProfiles: {
1735
+ id: string;
1736
+ name: string;
1737
+ variables: {
1738
+ "rlvt-u"?: string | undefined;
1739
+ "rlvt-m"?: string | undefined;
1740
+ utm_campaign?: string | undefined;
1741
+ utm_source?: string | undefined;
1742
+ utm_medium?: string | undefined;
1743
+ utm_term?: string | undefined;
1744
+ };
1745
+ }[];
1469
1746
  custom?: {
1470
1747
  colors?: string[] | undefined;
1471
1748
  workflowDomain?: string | undefined;
@@ -1509,6 +1786,78 @@ export default class {
1509
1786
  message: string;
1510
1787
  }, any, {}>>;
1511
1788
  };
1789
+ get AuditLog(): {
1790
+ list: (params: {
1791
+ page?: number | undefined;
1792
+ perPage?: number | undefined;
1793
+ category?: "user" | "scim" | "sso" | "auth" | "permissions" | "oauth" | undefined;
1794
+ action?: string | undefined;
1795
+ actorType?: "user" | "scim" | "internal" | "anonymous" | undefined;
1796
+ actorId?: string | undefined;
1797
+ targetType?: "user" | "invitation" | "company" | "role" | "resourceGroup" | undefined;
1798
+ targetId?: string | undefined;
1799
+ from?: string | undefined;
1800
+ to?: string | undefined;
1801
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1802
+ paginationCount: number;
1803
+ paginationPage: number;
1804
+ paginationLimit: number;
1805
+ } & {
1806
+ status: "success";
1807
+ } & {
1808
+ data: {
1809
+ readonly companyId: string & {
1810
+ readonly?: "__readonly" | undefined;
1811
+ };
1812
+ readonly id: string & {
1813
+ readonly?: "__readonly" | undefined;
1814
+ };
1815
+ readonly createdAt: string & {
1816
+ readonly?: "__readonly" | undefined;
1817
+ };
1818
+ readonly category: ("user" | "scim" | "sso" | "auth" | "permissions" | "oauth") & {
1819
+ readonly?: "__readonly" | undefined;
1820
+ };
1821
+ readonly action: string & {
1822
+ readonly?: "__readonly" | undefined;
1823
+ };
1824
+ readonly metadata?: {
1825
+ [x: string]: unknown;
1826
+ } | undefined;
1827
+ readonly outcome: ("success" | "failure") & {
1828
+ readonly?: "__readonly" | undefined;
1829
+ };
1830
+ readonly actor: {
1831
+ readonly?: "__readonly" | undefined;
1832
+ id?: string | undefined;
1833
+ type: "user" | "scim" | "internal" | "anonymous";
1834
+ label?: string | undefined;
1835
+ };
1836
+ readonly target?: {
1837
+ readonly?: "__readonly" | undefined;
1838
+ id?: string | undefined;
1839
+ type: "user" | "invitation" | "company" | "role" | "resourceGroup";
1840
+ label?: string | undefined;
1841
+ } | undefined;
1842
+ readonly source?: {
1843
+ readonly?: "__readonly" | undefined;
1844
+ ip?: string | undefined;
1845
+ userAgent?: string | undefined;
1846
+ clientId?: string | undefined;
1847
+ } | undefined;
1848
+ readonly error?: {
1849
+ readonly?: "__readonly" | undefined;
1850
+ code: string;
1851
+ } | undefined;
1852
+ }[];
1853
+ program: string;
1854
+ version: string;
1855
+ datetime: string;
1856
+ status: string;
1857
+ code?: number | undefined;
1858
+ message: string;
1859
+ }, any, {}>>;
1860
+ };
1512
1861
  get Role(): {
1513
1862
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1514
1863
  status: "success";
@@ -1522,6 +1871,7 @@ export default class {
1522
1871
  };
1523
1872
  name: string;
1524
1873
  rules: {
1874
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1525
1875
  fields?: string[] | undefined;
1526
1876
  conditions?: {
1527
1877
  [x: string]: unknown;
@@ -1542,7 +1892,6 @@ export default class {
1542
1892
  }[] | undefined;
1543
1893
  inverted?: boolean | undefined;
1544
1894
  reason?: string | undefined;
1545
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1546
1895
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1547
1896
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1548
1897
  field: string;
@@ -1561,6 +1910,7 @@ export default class {
1561
1910
  create: (params: Record<string, never>, data: {
1562
1911
  name: string;
1563
1912
  rules: {
1913
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1564
1914
  fields?: string[] | undefined;
1565
1915
  conditions?: {
1566
1916
  [x: string]: unknown;
@@ -1581,7 +1931,6 @@ export default class {
1581
1931
  }[] | undefined;
1582
1932
  inverted?: boolean | undefined;
1583
1933
  reason?: string | undefined;
1584
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1585
1934
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1586
1935
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1587
1936
  field: string;
@@ -1600,6 +1949,7 @@ export default class {
1600
1949
  };
1601
1950
  name: string;
1602
1951
  rules: {
1952
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1603
1953
  fields?: string[] | undefined;
1604
1954
  conditions?: {
1605
1955
  [x: string]: unknown;
@@ -1620,7 +1970,6 @@ export default class {
1620
1970
  }[] | undefined;
1621
1971
  inverted?: boolean | undefined;
1622
1972
  reason?: string | undefined;
1623
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1624
1973
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1625
1974
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1626
1975
  field: string;
@@ -1640,6 +1989,7 @@ export default class {
1640
1989
  }, data: {
1641
1990
  name?: string | undefined;
1642
1991
  rules?: {
1992
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1643
1993
  fields?: string[] | undefined;
1644
1994
  conditions?: {
1645
1995
  [x: string]: unknown;
@@ -1660,7 +2010,6 @@ export default class {
1660
2010
  }[] | undefined;
1661
2011
  inverted?: boolean | undefined;
1662
2012
  reason?: string | undefined;
1663
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1664
2013
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1665
2014
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1666
2015
  field: string;
@@ -1679,6 +2028,7 @@ export default class {
1679
2028
  };
1680
2029
  name: string;
1681
2030
  rules: {
2031
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1682
2032
  fields?: string[] | undefined;
1683
2033
  conditions?: {
1684
2034
  [x: string]: unknown;
@@ -1699,7 +2049,6 @@ export default class {
1699
2049
  }[] | undefined;
1700
2050
  inverted?: boolean | undefined;
1701
2051
  reason?: string | undefined;
1702
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1703
2052
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1704
2053
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1705
2054
  field: string;
@@ -1735,6 +2084,10 @@ export default class {
1735
2084
  status: "success";
1736
2085
  } & {
1737
2086
  data: {
2087
+ readonly scim?: {
2088
+ readonly?: "__readonly" | undefined;
2089
+ externalId?: string | undefined;
2090
+ } | undefined;
1738
2091
  readonly companyId: string & {
1739
2092
  readonly?: "__readonly" | undefined;
1740
2093
  };
@@ -1764,6 +2117,10 @@ export default class {
1764
2117
  status: "success";
1765
2118
  } & {
1766
2119
  data: {
2120
+ readonly scim?: {
2121
+ readonly?: "__readonly" | undefined;
2122
+ externalId?: string | undefined;
2123
+ } | undefined;
1767
2124
  readonly companyId: string & {
1768
2125
  readonly?: "__readonly" | undefined;
1769
2126
  };
@@ -1794,6 +2151,10 @@ export default class {
1794
2151
  status: "success";
1795
2152
  } & {
1796
2153
  data: {
2154
+ readonly scim?: {
2155
+ readonly?: "__readonly" | undefined;
2156
+ externalId?: string | undefined;
2157
+ } | undefined;
1797
2158
  readonly companyId: string & {
1798
2159
  readonly?: "__readonly" | undefined;
1799
2160
  };
@@ -1881,6 +2242,10 @@ export default class {
1881
2242
  } & {
1882
2243
  data: {
1883
2244
  user?: {
2245
+ readonly scim?: {
2246
+ readonly?: "__readonly" | undefined;
2247
+ externalId?: string | undefined;
2248
+ } | undefined;
1884
2249
  readonly companyId: string & {
1885
2250
  readonly?: "__readonly" | undefined;
1886
2251
  };
@@ -1892,6 +2257,9 @@ export default class {
1892
2257
  readonly?: "__readonly" | undefined;
1893
2258
  };
1894
2259
  email: string;
2260
+ readonly disabled: boolean & {
2261
+ readonly?: "__readonly" | undefined;
2262
+ };
1895
2263
  readonly createdAt: string & {
1896
2264
  readonly?: "__readonly" | undefined;
1897
2265
  };