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

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,20 @@ 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 getSsoConfig;
18
+ private upsertSsoConfig;
19
+ private updateSsoConfig;
20
+ private deleteSsoConfig;
21
+ private rotateSsoKeypair;
22
+ private getScimConfig;
23
+ private updateScimConfig;
24
+ private listScimToken;
25
+ private createScimToken;
26
+ private deleteScimToken;
16
27
  private resolveLinkedAccount;
17
28
  private createLinkedAccountRequest;
18
29
  private listMyLinkedAccounts;
@@ -30,6 +41,13 @@ export default class {
30
41
  private getCompany;
31
42
  private updateCompany;
32
43
  private createCompany;
44
+ private listAuditLog;
45
+ private getToken;
46
+ private describeToken;
47
+ private revokeToken;
48
+ private ssoRedirect;
49
+ private ssoCallback;
50
+ private ssoMetadata;
33
51
  private listRole;
34
52
  private createRole;
35
53
  private updateRole;
@@ -39,12 +57,6 @@ export default class {
39
57
  private updateResourceGroup;
40
58
  private deleteResourceGroup;
41
59
  private getResourceGroupGraph;
42
- private getToken;
43
- private describeToken;
44
- private revokeToken;
45
- private ssoRedirect;
46
- private ssoCallback;
47
- private ssoMetadata;
48
60
  private oauthGetResetPassword;
49
61
  private oauthPostResetPassword;
50
62
  private oauthGetRegister;
@@ -63,6 +75,7 @@ export default class {
63
75
  ids?: string[] | undefined;
64
76
  resourceGroupIds?: string[] | undefined;
65
77
  roleId?: string | undefined;
78
+ disabled?: boolean | undefined;
66
79
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
67
80
  paginationCount: number;
68
81
  paginationPage: number;
@@ -71,6 +84,10 @@ export default class {
71
84
  status: "success";
72
85
  } & {
73
86
  data: {
87
+ readonly scim?: {
88
+ readonly?: "__readonly" | undefined;
89
+ externalId?: string | undefined;
90
+ } | undefined;
74
91
  readonly companyId: string & {
75
92
  readonly?: "__readonly" | undefined;
76
93
  };
@@ -82,6 +99,9 @@ export default class {
82
99
  readonly?: "__readonly" | undefined;
83
100
  };
84
101
  email: string;
102
+ readonly disabled: boolean & {
103
+ readonly?: "__readonly" | undefined;
104
+ };
85
105
  readonly createdAt: string & {
86
106
  readonly?: "__readonly" | undefined;
87
107
  };
@@ -130,6 +150,10 @@ export default class {
130
150
  status: "success";
131
151
  } & {
132
152
  data: {
153
+ readonly scim?: {
154
+ readonly?: "__readonly" | undefined;
155
+ externalId?: string | undefined;
156
+ } | undefined;
133
157
  readonly companyId: string & {
134
158
  readonly?: "__readonly" | undefined;
135
159
  };
@@ -141,6 +165,9 @@ export default class {
141
165
  readonly?: "__readonly" | undefined;
142
166
  };
143
167
  email: string;
168
+ readonly disabled: boolean & {
169
+ readonly?: "__readonly" | undefined;
170
+ };
144
171
  readonly createdAt: string & {
145
172
  readonly?: "__readonly" | undefined;
146
173
  };
@@ -204,6 +231,10 @@ export default class {
204
231
  status: "success";
205
232
  } & {
206
233
  data: {
234
+ readonly scim?: {
235
+ readonly?: "__readonly" | undefined;
236
+ externalId?: string | undefined;
237
+ } | undefined;
207
238
  readonly companyId: string & {
208
239
  readonly?: "__readonly" | undefined;
209
240
  };
@@ -215,6 +246,9 @@ export default class {
215
246
  readonly?: "__readonly" | undefined;
216
247
  };
217
248
  email: string;
249
+ readonly disabled: boolean & {
250
+ readonly?: "__readonly" | undefined;
251
+ };
218
252
  readonly createdAt: string & {
219
253
  readonly?: "__readonly" | undefined;
220
254
  };
@@ -255,6 +289,10 @@ export default class {
255
289
  status: "success";
256
290
  } & {
257
291
  data: {
292
+ readonly scim?: {
293
+ readonly?: "__readonly" | undefined;
294
+ externalId?: string | undefined;
295
+ } | undefined;
258
296
  readonly companyId: string & {
259
297
  readonly?: "__readonly" | undefined;
260
298
  };
@@ -266,6 +304,9 @@ export default class {
266
304
  readonly?: "__readonly" | undefined;
267
305
  };
268
306
  email: string;
307
+ readonly disabled: boolean & {
308
+ readonly?: "__readonly" | undefined;
309
+ };
269
310
  readonly createdAt: string & {
270
311
  readonly?: "__readonly" | undefined;
271
312
  };
@@ -316,6 +357,10 @@ export default class {
316
357
  } & {
317
358
  data: {
318
359
  user: {
360
+ readonly scim?: {
361
+ readonly?: "__readonly" | undefined;
362
+ externalId?: string | undefined;
363
+ } | undefined;
319
364
  readonly companyId: string & {
320
365
  readonly?: "__readonly" | undefined;
321
366
  };
@@ -327,6 +372,9 @@ export default class {
327
372
  readonly?: "__readonly" | undefined;
328
373
  };
329
374
  email: string;
375
+ readonly disabled: boolean & {
376
+ readonly?: "__readonly" | undefined;
377
+ };
330
378
  readonly createdAt: string & {
331
379
  readonly?: "__readonly" | undefined;
332
380
  };
@@ -355,63 +403,23 @@ export default class {
355
403
  }) | undefined;
356
404
  };
357
405
  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;
406
+ scim?: {
407
+ enabled: boolean;
408
+ groupSync: boolean;
409
+ roleSource: "groups" | "scim-roles" | "none";
410
+ roleMapping: {
411
+ roleId: string;
412
+ group: string;
378
413
  }[];
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
- }[];
414
+ defaultRoleId?: string | undefined;
415
+ deprovisionMode: "soft" | "hard";
416
+ lastSyncAt?: string | undefined;
417
+ } | undefined;
411
418
  sso?: {
412
419
  mode: "invitation" | "create";
413
420
  domains: string[];
414
421
  mandatory: boolean;
422
+ lastLoginAt?: string | undefined;
415
423
  readonly identityProvider: {
416
424
  readonly?: "__readonly" | undefined;
417
425
  entityMeta: {
@@ -497,6 +505,59 @@ export default class {
497
505
  entityType: string;
498
506
  };
499
507
  } | undefined;
508
+ readonly id: string & {
509
+ readonly?: "__readonly" | undefined;
510
+ };
511
+ disabled: boolean;
512
+ readonly createdAt: string & {
513
+ readonly?: "__readonly" | undefined;
514
+ };
515
+ readonly updatedAt: string & {
516
+ readonly?: "__readonly" | undefined;
517
+ };
518
+ defaultRoleId: string;
519
+ defaultResourceGroupIds: string[];
520
+ name: string;
521
+ plan: {
522
+ name: string;
523
+ quotas: {
524
+ type: "datasource" | "individual" | "display";
525
+ subtype?: string | undefined;
526
+ quota: number;
527
+ usage?: number | undefined;
528
+ }[];
529
+ startDate: string;
530
+ endDate: string;
531
+ attributionPeriod?: number | undefined;
532
+ };
533
+ securityPolicy: {
534
+ password: {
535
+ rules: {
536
+ options: {
537
+ maximum?: number | undefined;
538
+ minimum?: number | undefined;
539
+ };
540
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
541
+ }[];
542
+ duration: number;
543
+ attempts: {
544
+ maximum: number;
545
+ lockDuration: number;
546
+ };
547
+ };
548
+ };
549
+ variableProfiles: {
550
+ id: string;
551
+ name: string;
552
+ variables: {
553
+ "rlvt-u"?: string | undefined;
554
+ "rlvt-m"?: string | undefined;
555
+ utm_campaign?: string | undefined;
556
+ utm_source?: string | undefined;
557
+ utm_medium?: string | undefined;
558
+ utm_term?: string | undefined;
559
+ };
560
+ }[];
500
561
  custom?: {
501
562
  colors?: string[] | undefined;
502
563
  workflowDomain?: string | undefined;
@@ -524,6 +585,66 @@ export default class {
524
585
  code?: number | undefined;
525
586
  message: string;
526
587
  }, any, {}>>;
588
+ setStatus: (params: {
589
+ id: string;
590
+ }, data: {
591
+ disabled: boolean;
592
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
593
+ status: "success";
594
+ } & {
595
+ data: {
596
+ readonly scim?: {
597
+ readonly?: "__readonly" | undefined;
598
+ externalId?: string | undefined;
599
+ } | undefined;
600
+ readonly companyId: string & {
601
+ readonly?: "__readonly" | undefined;
602
+ };
603
+ readonly roleId: string & {
604
+ readonly?: "__readonly" | undefined;
605
+ };
606
+ readonly resourceGroupIds: string[];
607
+ readonly id: string & {
608
+ readonly?: "__readonly" | undefined;
609
+ };
610
+ email: string;
611
+ readonly disabled: boolean & {
612
+ readonly?: "__readonly" | undefined;
613
+ };
614
+ readonly createdAt: string & {
615
+ readonly?: "__readonly" | undefined;
616
+ };
617
+ readonly updatedAt: string & {
618
+ readonly?: "__readonly" | undefined;
619
+ };
620
+ readonly lastConnection: string & {
621
+ readonly?: "__readonly" | undefined;
622
+ };
623
+ readonly invitedBy?: (string & {
624
+ readonly?: "__readonly" | undefined;
625
+ }) | undefined;
626
+ profile?: {
627
+ firstname?: string | undefined;
628
+ lastname?: string | undefined;
629
+ jobtitle?: string | undefined;
630
+ phone?: string | undefined;
631
+ preferredLang?: string | undefined;
632
+ theme?: "light" | "dark" | "system" | undefined;
633
+ } | undefined;
634
+ readonly hasOtp: boolean & {
635
+ readonly?: "__readonly" | undefined;
636
+ };
637
+ readonly accountType?: (("service-account" | "user") & {
638
+ readonly?: "__readonly" | undefined;
639
+ }) | undefined;
640
+ };
641
+ program: string;
642
+ version: string;
643
+ datetime: string;
644
+ status: string;
645
+ code?: number | undefined;
646
+ message: string;
647
+ }, any, {}>>;
527
648
  setRole: (params: {
528
649
  id: string;
529
650
  }, data: {
@@ -532,6 +653,10 @@ export default class {
532
653
  status: "success";
533
654
  } & {
534
655
  data: {
656
+ readonly scim?: {
657
+ readonly?: "__readonly" | undefined;
658
+ externalId?: string | undefined;
659
+ } | undefined;
535
660
  readonly companyId: string & {
536
661
  readonly?: "__readonly" | undefined;
537
662
  };
@@ -543,6 +668,9 @@ export default class {
543
668
  readonly?: "__readonly" | undefined;
544
669
  };
545
670
  email: string;
671
+ readonly disabled: boolean & {
672
+ readonly?: "__readonly" | undefined;
673
+ };
546
674
  readonly createdAt: string & {
547
675
  readonly?: "__readonly" | undefined;
548
676
  };
@@ -585,6 +713,10 @@ export default class {
585
713
  status: "success";
586
714
  } & {
587
715
  data: {
716
+ readonly scim?: {
717
+ readonly?: "__readonly" | undefined;
718
+ externalId?: string | undefined;
719
+ } | undefined;
588
720
  readonly companyId: string & {
589
721
  readonly?: "__readonly" | undefined;
590
722
  };
@@ -596,6 +728,9 @@ export default class {
596
728
  readonly?: "__readonly" | undefined;
597
729
  };
598
730
  email: string;
731
+ readonly disabled: boolean & {
732
+ readonly?: "__readonly" | undefined;
733
+ };
599
734
  readonly createdAt: string & {
600
735
  readonly?: "__readonly" | undefined;
601
736
  };
@@ -643,6 +778,10 @@ export default class {
643
778
  status: "success";
644
779
  } & {
645
780
  data: {
781
+ readonly scim?: {
782
+ readonly?: "__readonly" | undefined;
783
+ externalId?: string | undefined;
784
+ } | undefined;
646
785
  readonly companyId: string & {
647
786
  readonly?: "__readonly" | undefined;
648
787
  };
@@ -654,6 +793,9 @@ export default class {
654
793
  readonly?: "__readonly" | undefined;
655
794
  };
656
795
  email: string;
796
+ readonly disabled: boolean & {
797
+ readonly?: "__readonly" | undefined;
798
+ };
657
799
  readonly createdAt: string & {
658
800
  readonly?: "__readonly" | undefined;
659
801
  };
@@ -689,17 +831,31 @@ export default class {
689
831
  message: string;
690
832
  }, any, {}>>;
691
833
  };
692
- get LinkedAccount(): {
693
- resolve: (params: {
694
- surface?: string | undefined;
695
- surfaceUserId?: string | undefined;
696
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
834
+ get SSO(): {
835
+ getConfig: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
697
836
  status: "success";
698
837
  } & {
699
838
  data: {
700
- companyId: string;
701
- userId: string;
702
- linkedAt: string;
839
+ mode: "invitation" | "create";
840
+ configured: boolean;
841
+ domains: string[];
842
+ metadata: string;
843
+ identityProviderEntityId?: string | undefined;
844
+ propertyLookup: {
845
+ [x: string]: string[];
846
+ };
847
+ mandatory: boolean;
848
+ lastLoginAt?: string | undefined;
849
+ serviceProvider: {
850
+ entityId: string;
851
+ callbackUrl: string;
852
+ loginUrls: {
853
+ url: string;
854
+ domain: string;
855
+ }[];
856
+ metadataUrl: string;
857
+ certificate: string;
858
+ };
703
859
  };
704
860
  program: string;
705
861
  version: string;
@@ -708,16 +864,38 @@ export default class {
708
864
  code?: number | undefined;
709
865
  message: string;
710
866
  }, any, {}>>;
711
- createRequest: (params: Record<string, never>, data: {
712
- surface: LinkedAccountSurface;
713
- surfaceUserId: string;
867
+ upsertConfig: (params: Record<string, never>, data: {
868
+ domains: string[];
869
+ metadata: string;
870
+ propertyLookup?: {
871
+ [key: string]: string[];
872
+ } | undefined;
873
+ mode?: "invitation" | "create" | undefined;
874
+ mandatory?: boolean | undefined;
714
875
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
715
876
  status: "success";
716
877
  } & {
717
878
  data: {
718
- linkUrl: string;
719
- state: string;
720
- expiresAt: string;
879
+ mode: "invitation" | "create";
880
+ configured: boolean;
881
+ domains: string[];
882
+ metadata: string;
883
+ identityProviderEntityId?: string | undefined;
884
+ propertyLookup: {
885
+ [x: string]: string[];
886
+ };
887
+ mandatory: boolean;
888
+ lastLoginAt?: string | undefined;
889
+ serviceProvider: {
890
+ entityId: string;
891
+ callbackUrl: string;
892
+ loginUrls: {
893
+ url: string;
894
+ domain: string;
895
+ }[];
896
+ metadataUrl: string;
897
+ certificate: string;
898
+ };
721
899
  };
722
900
  program: string;
723
901
  version: string;
@@ -726,23 +904,39 @@ export default class {
726
904
  code?: number | undefined;
727
905
  message: string;
728
906
  }, any, {}>>;
729
- listMys: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
907
+ updateConfig: (params: Record<string, never>, data: {
908
+ domains?: string[] | undefined;
909
+ metadata?: string | undefined;
910
+ propertyLookup?: {
911
+ [key: string]: string[];
912
+ } | undefined;
913
+ mode?: "invitation" | "create" | undefined;
914
+ mandatory?: boolean | undefined;
915
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
730
916
  status: "success";
731
917
  } & {
732
918
  data: {
733
- readonly companyId: string & {
734
- readonly?: "__readonly" | undefined;
735
- };
736
- readonly id: string & {
737
- readonly?: "__readonly" | undefined;
738
- };
739
- readonly userId: string & {
740
- readonly?: "__readonly" | undefined;
919
+ mode: "invitation" | "create";
920
+ configured: boolean;
921
+ domains: string[];
922
+ metadata: string;
923
+ identityProviderEntityId?: string | undefined;
924
+ propertyLookup: {
925
+ [x: string]: string[];
926
+ };
927
+ mandatory: boolean;
928
+ lastLoginAt?: string | undefined;
929
+ serviceProvider: {
930
+ entityId: string;
931
+ callbackUrl: string;
932
+ loginUrls: {
933
+ url: string;
934
+ domain: string;
935
+ }[];
936
+ metadataUrl: string;
937
+ certificate: string;
741
938
  };
742
- linkedAt: string;
743
- surface: LinkedAccountSurface;
744
- surfaceUserId: string;
745
- }[];
939
+ };
746
940
  program: string;
747
941
  version: string;
748
942
  datetime: string;
@@ -750,9 +944,7 @@ export default class {
750
944
  code?: number | undefined;
751
945
  message: string;
752
946
  }, any, {}>>;
753
- deleteMy: (params: {
754
- id: string;
755
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
947
+ deleteConfig: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
756
948
  status: "success";
757
949
  } & {
758
950
  data: unknown;
@@ -763,20 +955,232 @@ export default class {
763
955
  code?: number | undefined;
764
956
  message: string;
765
957
  }, any, {}>>;
766
- listCompanys: (params: {
767
- companyId: string;
768
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
958
+ rotateKeypair: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
769
959
  status: "success";
770
960
  } & {
771
961
  data: {
772
- readonly companyId: string & {
773
- readonly?: "__readonly" | undefined;
774
- };
775
- readonly id: string & {
776
- readonly?: "__readonly" | undefined;
777
- };
778
- readonly userId: string & {
779
- readonly?: "__readonly" | undefined;
962
+ mode: "invitation" | "create";
963
+ configured: boolean;
964
+ domains: string[];
965
+ metadata: string;
966
+ identityProviderEntityId?: string | undefined;
967
+ propertyLookup: {
968
+ [x: string]: string[];
969
+ };
970
+ mandatory: boolean;
971
+ lastLoginAt?: string | undefined;
972
+ serviceProvider: {
973
+ entityId: string;
974
+ callbackUrl: string;
975
+ loginUrls: {
976
+ url: string;
977
+ domain: string;
978
+ }[];
979
+ metadataUrl: string;
980
+ certificate: string;
981
+ };
982
+ };
983
+ program: string;
984
+ version: string;
985
+ datetime: string;
986
+ status: string;
987
+ code?: number | undefined;
988
+ message: string;
989
+ }, any, {}>>;
990
+ };
991
+ get SCIM(): {
992
+ getConfig: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
993
+ status: "success";
994
+ } & {
995
+ data: {
996
+ enabled: boolean;
997
+ groupSync: boolean;
998
+ roleSource: "groups" | "scim-roles" | "none";
999
+ roleMapping: {
1000
+ roleId: string;
1001
+ group: string;
1002
+ }[];
1003
+ defaultRoleId?: string | undefined;
1004
+ deprovisionMode: "soft" | "hard";
1005
+ lastSyncAt?: string | undefined;
1006
+ baseUrl: string;
1007
+ };
1008
+ program: string;
1009
+ version: string;
1010
+ datetime: string;
1011
+ status: string;
1012
+ code?: number | undefined;
1013
+ message: string;
1014
+ }, any, {}>>;
1015
+ updateConfig: (params: Record<string, never>, data: {
1016
+ enabled?: boolean | undefined;
1017
+ groupSync?: boolean | undefined;
1018
+ roleSource?: "groups" | "scim-roles" | "none" | undefined;
1019
+ roleMapping?: {
1020
+ group: string;
1021
+ roleId: string;
1022
+ }[] | undefined;
1023
+ defaultRoleId?: string | undefined;
1024
+ deprovisionMode?: "soft" | "hard" | undefined;
1025
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1026
+ status: "success";
1027
+ } & {
1028
+ data: {
1029
+ enabled: boolean;
1030
+ groupSync: boolean;
1031
+ roleSource: "groups" | "scim-roles" | "none";
1032
+ roleMapping: {
1033
+ roleId: string;
1034
+ group: string;
1035
+ }[];
1036
+ defaultRoleId?: string | undefined;
1037
+ deprovisionMode: "soft" | "hard";
1038
+ lastSyncAt?: string | undefined;
1039
+ baseUrl: string;
1040
+ };
1041
+ program: string;
1042
+ version: string;
1043
+ datetime: string;
1044
+ status: string;
1045
+ code?: number | undefined;
1046
+ message: string;
1047
+ }, any, {}>>;
1048
+ listToken: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1049
+ status: "success";
1050
+ } & {
1051
+ data: {
1052
+ id: string;
1053
+ createdAt: string;
1054
+ revokedAt?: string | undefined;
1055
+ label?: string | undefined;
1056
+ lastUsedAt?: string | undefined;
1057
+ }[];
1058
+ program: string;
1059
+ version: string;
1060
+ datetime: string;
1061
+ status: string;
1062
+ code?: number | undefined;
1063
+ message: string;
1064
+ }, any, {}>>;
1065
+ createToken: (params: Record<string, never>, data: {
1066
+ label?: string | undefined;
1067
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1068
+ status: "success";
1069
+ } & {
1070
+ data: {
1071
+ id: string;
1072
+ baseUrl: string;
1073
+ token: string;
1074
+ };
1075
+ program: string;
1076
+ version: string;
1077
+ datetime: string;
1078
+ status: string;
1079
+ code?: number | undefined;
1080
+ message: string;
1081
+ }, any, {}>>;
1082
+ deleteToken: (params: {
1083
+ id: string;
1084
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1085
+ status: "success";
1086
+ } & {
1087
+ data: unknown;
1088
+ program: string;
1089
+ version: string;
1090
+ datetime: string;
1091
+ status: string;
1092
+ code?: number | undefined;
1093
+ message: string;
1094
+ }, any, {}>>;
1095
+ };
1096
+ get LinkedAccount(): {
1097
+ resolve: (params: {
1098
+ surface?: string | undefined;
1099
+ surfaceUserId?: string | undefined;
1100
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1101
+ status: "success";
1102
+ } & {
1103
+ data: {
1104
+ companyId: string;
1105
+ userId: string;
1106
+ linkedAt: string;
1107
+ };
1108
+ program: string;
1109
+ version: string;
1110
+ datetime: string;
1111
+ status: string;
1112
+ code?: number | undefined;
1113
+ message: string;
1114
+ }, any, {}>>;
1115
+ createRequest: (params: Record<string, never>, data: {
1116
+ surface: LinkedAccountSurface;
1117
+ surfaceUserId: string;
1118
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1119
+ status: "success";
1120
+ } & {
1121
+ data: {
1122
+ linkUrl: string;
1123
+ state: string;
1124
+ expiresAt: string;
1125
+ };
1126
+ program: string;
1127
+ version: string;
1128
+ datetime: string;
1129
+ status: string;
1130
+ code?: number | undefined;
1131
+ message: string;
1132
+ }, any, {}>>;
1133
+ listMys: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1134
+ status: "success";
1135
+ } & {
1136
+ data: {
1137
+ readonly companyId: string & {
1138
+ readonly?: "__readonly" | undefined;
1139
+ };
1140
+ readonly id: string & {
1141
+ readonly?: "__readonly" | undefined;
1142
+ };
1143
+ readonly userId: string & {
1144
+ readonly?: "__readonly" | undefined;
1145
+ };
1146
+ linkedAt: string;
1147
+ surface: LinkedAccountSurface;
1148
+ surfaceUserId: string;
1149
+ }[];
1150
+ program: string;
1151
+ version: string;
1152
+ datetime: string;
1153
+ status: string;
1154
+ code?: number | undefined;
1155
+ message: string;
1156
+ }, any, {}>>;
1157
+ deleteMy: (params: {
1158
+ id: string;
1159
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1160
+ status: "success";
1161
+ } & {
1162
+ data: unknown;
1163
+ program: string;
1164
+ version: string;
1165
+ datetime: string;
1166
+ status: string;
1167
+ code?: number | undefined;
1168
+ message: string;
1169
+ }, any, {}>>;
1170
+ listCompanys: (params: {
1171
+ companyId: string;
1172
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1173
+ status: "success";
1174
+ } & {
1175
+ data: {
1176
+ readonly companyId: string & {
1177
+ readonly?: "__readonly" | undefined;
1178
+ };
1179
+ readonly id: string & {
1180
+ readonly?: "__readonly" | undefined;
1181
+ };
1182
+ readonly userId: string & {
1183
+ readonly?: "__readonly" | undefined;
780
1184
  };
781
1185
  linkedAt: string;
782
1186
  surface: LinkedAccountSurface;
@@ -954,63 +1358,23 @@ export default class {
954
1358
  status: "success";
955
1359
  } & {
956
1360
  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;
1361
+ scim?: {
1362
+ enabled: boolean;
1363
+ groupSync: boolean;
1364
+ roleSource: "groups" | "scim-roles" | "none";
1365
+ roleMapping: {
1366
+ roleId: string;
1367
+ group: string;
977
1368
  }[];
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
- }[];
1369
+ defaultRoleId?: string | undefined;
1370
+ deprovisionMode: "soft" | "hard";
1371
+ lastSyncAt?: string | undefined;
1372
+ } | undefined;
1010
1373
  sso?: {
1011
1374
  mode: "invitation" | "create";
1012
1375
  domains: string[];
1013
1376
  mandatory: boolean;
1377
+ lastLoginAt?: string | undefined;
1014
1378
  readonly identityProvider: {
1015
1379
  readonly?: "__readonly" | undefined;
1016
1380
  entityMeta: {
@@ -1096,48 +1460,16 @@ export default class {
1096
1460
  entityType: string;
1097
1461
  };
1098
1462
  } | 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
1463
  readonly id: string & {
1132
1464
  readonly?: "__readonly" | undefined;
1133
1465
  };
1466
+ disabled: boolean;
1134
1467
  readonly createdAt: string & {
1135
1468
  readonly?: "__readonly" | undefined;
1136
1469
  };
1137
1470
  readonly updatedAt: string & {
1138
1471
  readonly?: "__readonly" | undefined;
1139
1472
  };
1140
- disabled: boolean;
1141
1473
  defaultRoleId: string;
1142
1474
  defaultResourceGroupIds: string[];
1143
1475
  name: string;
@@ -1181,11 +1513,56 @@ export default class {
1181
1513
  utm_term?: string | undefined;
1182
1514
  };
1183
1515
  }[];
1184
- sso?: {
1185
- mode: "invitation" | "create";
1186
- domains: string[];
1187
- mandatory: boolean;
1188
- readonly identityProvider: {
1516
+ custom?: {
1517
+ colors?: string[] | undefined;
1518
+ workflowDomain?: string | undefined;
1519
+ } | undefined;
1520
+ readonly retention: number & {
1521
+ readonly?: "__readonly" | undefined;
1522
+ };
1523
+ readonly features: {
1524
+ [x: string]: boolean;
1525
+ };
1526
+ events: {
1527
+ product_page: string | string[];
1528
+ add_cart: string | string[];
1529
+ purchase: string | string[];
1530
+ };
1531
+ meta: {
1532
+ [x: string]: string | number | boolean;
1533
+ };
1534
+ };
1535
+ program: string;
1536
+ version: string;
1537
+ datetime: string;
1538
+ status: string;
1539
+ code?: number | undefined;
1540
+ message: string;
1541
+ }, any, {}>>;
1542
+ get: (params: {
1543
+ id: string;
1544
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1545
+ status: "success";
1546
+ } & {
1547
+ data: {
1548
+ scim?: {
1549
+ enabled: boolean;
1550
+ groupSync: boolean;
1551
+ roleSource: "groups" | "scim-roles" | "none";
1552
+ roleMapping: {
1553
+ roleId: string;
1554
+ group: string;
1555
+ }[];
1556
+ defaultRoleId?: string | undefined;
1557
+ deprovisionMode: "soft" | "hard";
1558
+ lastSyncAt?: string | undefined;
1559
+ } | undefined;
1560
+ sso?: {
1561
+ mode: "invitation" | "create";
1562
+ domains: string[];
1563
+ mandatory: boolean;
1564
+ lastLoginAt?: string | undefined;
1565
+ readonly identityProvider: {
1189
1566
  readonly?: "__readonly" | undefined;
1190
1567
  entityMeta: {
1191
1568
  meta: unknown;
@@ -1270,6 +1647,59 @@ export default class {
1270
1647
  entityType: string;
1271
1648
  };
1272
1649
  } | undefined;
1650
+ readonly id: string & {
1651
+ readonly?: "__readonly" | undefined;
1652
+ };
1653
+ disabled: boolean;
1654
+ readonly createdAt: string & {
1655
+ readonly?: "__readonly" | undefined;
1656
+ };
1657
+ readonly updatedAt: string & {
1658
+ readonly?: "__readonly" | undefined;
1659
+ };
1660
+ defaultRoleId: string;
1661
+ defaultResourceGroupIds: string[];
1662
+ name: string;
1663
+ plan: {
1664
+ name: string;
1665
+ quotas: {
1666
+ type: "datasource" | "individual" | "display";
1667
+ subtype?: string | undefined;
1668
+ quota: number;
1669
+ usage?: number | undefined;
1670
+ }[];
1671
+ startDate: string;
1672
+ endDate: string;
1673
+ attributionPeriod?: number | undefined;
1674
+ };
1675
+ securityPolicy: {
1676
+ password: {
1677
+ rules: {
1678
+ options: {
1679
+ maximum?: number | undefined;
1680
+ minimum?: number | undefined;
1681
+ };
1682
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1683
+ }[];
1684
+ duration: number;
1685
+ attempts: {
1686
+ maximum: number;
1687
+ lockDuration: number;
1688
+ };
1689
+ };
1690
+ };
1691
+ variableProfiles: {
1692
+ id: string;
1693
+ name: string;
1694
+ variables: {
1695
+ "rlvt-u"?: string | undefined;
1696
+ "rlvt-m"?: string | undefined;
1697
+ utm_campaign?: string | undefined;
1698
+ utm_source?: string | undefined;
1699
+ utm_medium?: string | undefined;
1700
+ utm_term?: string | undefined;
1701
+ };
1702
+ }[];
1273
1703
  custom?: {
1274
1704
  colors?: string[] | undefined;
1275
1705
  workflowDomain?: string | undefined;
@@ -1324,63 +1754,23 @@ export default class {
1324
1754
  status: "success";
1325
1755
  } & {
1326
1756
  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;
1757
+ scim?: {
1758
+ enabled: boolean;
1759
+ groupSync: boolean;
1760
+ roleSource: "groups" | "scim-roles" | "none";
1761
+ roleMapping: {
1762
+ roleId: string;
1763
+ group: string;
1347
1764
  }[];
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
- }[];
1765
+ defaultRoleId?: string | undefined;
1766
+ deprovisionMode: "soft" | "hard";
1767
+ lastSyncAt?: string | undefined;
1768
+ } | undefined;
1380
1769
  sso?: {
1381
1770
  mode: "invitation" | "create";
1382
1771
  domains: string[];
1383
1772
  mandatory: boolean;
1773
+ lastLoginAt?: string | undefined;
1384
1774
  readonly identityProvider: {
1385
1775
  readonly?: "__readonly" | undefined;
1386
1776
  entityMeta: {
@@ -1466,24 +1856,256 @@ export default class {
1466
1856
  entityType: string;
1467
1857
  };
1468
1858
  } | undefined;
1469
- custom?: {
1470
- colors?: string[] | undefined;
1471
- workflowDomain?: string | undefined;
1472
- } | undefined;
1473
- readonly retention: number & {
1474
- readonly?: "__readonly" | undefined;
1475
- };
1476
- readonly features: {
1477
- [x: string]: boolean;
1478
- };
1479
- events: {
1480
- product_page: string | string[];
1481
- add_cart: string | string[];
1482
- purchase: string | string[];
1483
- };
1484
- meta: {
1485
- [x: string]: string | number | boolean;
1486
- };
1859
+ readonly id: string & {
1860
+ readonly?: "__readonly" | undefined;
1861
+ };
1862
+ disabled: boolean;
1863
+ readonly createdAt: string & {
1864
+ readonly?: "__readonly" | undefined;
1865
+ };
1866
+ readonly updatedAt: string & {
1867
+ readonly?: "__readonly" | undefined;
1868
+ };
1869
+ defaultRoleId: string;
1870
+ defaultResourceGroupIds: string[];
1871
+ name: string;
1872
+ plan: {
1873
+ name: string;
1874
+ quotas: {
1875
+ type: "datasource" | "individual" | "display";
1876
+ subtype?: string | undefined;
1877
+ quota: number;
1878
+ usage?: number | undefined;
1879
+ }[];
1880
+ startDate: string;
1881
+ endDate: string;
1882
+ attributionPeriod?: number | undefined;
1883
+ };
1884
+ securityPolicy: {
1885
+ password: {
1886
+ rules: {
1887
+ options: {
1888
+ maximum?: number | undefined;
1889
+ minimum?: number | undefined;
1890
+ };
1891
+ type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1892
+ }[];
1893
+ duration: number;
1894
+ attempts: {
1895
+ maximum: number;
1896
+ lockDuration: number;
1897
+ };
1898
+ };
1899
+ };
1900
+ variableProfiles: {
1901
+ id: string;
1902
+ name: string;
1903
+ variables: {
1904
+ "rlvt-u"?: string | undefined;
1905
+ "rlvt-m"?: string | undefined;
1906
+ utm_campaign?: string | undefined;
1907
+ utm_source?: string | undefined;
1908
+ utm_medium?: string | undefined;
1909
+ utm_term?: string | undefined;
1910
+ };
1911
+ }[];
1912
+ custom?: {
1913
+ colors?: string[] | undefined;
1914
+ workflowDomain?: string | undefined;
1915
+ } | undefined;
1916
+ readonly retention: number & {
1917
+ readonly?: "__readonly" | undefined;
1918
+ };
1919
+ readonly features: {
1920
+ [x: string]: boolean;
1921
+ };
1922
+ events: {
1923
+ product_page: string | string[];
1924
+ add_cart: string | string[];
1925
+ purchase: string | string[];
1926
+ };
1927
+ meta: {
1928
+ [x: string]: string | number | boolean;
1929
+ };
1930
+ };
1931
+ program: string;
1932
+ version: string;
1933
+ datetime: string;
1934
+ status: string;
1935
+ code?: number | undefined;
1936
+ message: string;
1937
+ }, any, {}>>;
1938
+ create: (params: Record<string, never>, data: {
1939
+ name: string;
1940
+ plan: string;
1941
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1942
+ status: "success";
1943
+ } & {
1944
+ data: {
1945
+ companyId: string;
1946
+ };
1947
+ program: string;
1948
+ version: string;
1949
+ datetime: string;
1950
+ status: string;
1951
+ code?: number | undefined;
1952
+ message: string;
1953
+ }, any, {}>>;
1954
+ };
1955
+ get AuditLog(): {
1956
+ list: (params: {
1957
+ page?: number | undefined;
1958
+ perPage?: number | undefined;
1959
+ category?: "user" | "scim" | "sso" | "auth" | "permissions" | "oauth" | undefined;
1960
+ action?: string | undefined;
1961
+ actorType?: "user" | "scim" | "internal" | "anonymous" | undefined;
1962
+ actorId?: string | undefined;
1963
+ targetType?: "user" | "invitation" | "company" | "role" | "resourceGroup" | undefined;
1964
+ targetId?: string | undefined;
1965
+ from?: string | undefined;
1966
+ to?: string | undefined;
1967
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1968
+ paginationCount: number;
1969
+ paginationPage: number;
1970
+ paginationLimit: number;
1971
+ } & {
1972
+ status: "success";
1973
+ } & {
1974
+ data: {
1975
+ readonly companyId: string & {
1976
+ readonly?: "__readonly" | undefined;
1977
+ };
1978
+ readonly id: string & {
1979
+ readonly?: "__readonly" | undefined;
1980
+ };
1981
+ readonly createdAt: string & {
1982
+ readonly?: "__readonly" | undefined;
1983
+ };
1984
+ readonly metadata?: {
1985
+ [x: string]: unknown;
1986
+ } | undefined;
1987
+ readonly category: ("user" | "scim" | "sso" | "auth" | "permissions" | "oauth") & {
1988
+ readonly?: "__readonly" | undefined;
1989
+ };
1990
+ readonly action: string & {
1991
+ readonly?: "__readonly" | undefined;
1992
+ };
1993
+ readonly outcome: ("success" | "failure") & {
1994
+ readonly?: "__readonly" | undefined;
1995
+ };
1996
+ readonly actor: {
1997
+ readonly?: "__readonly" | undefined;
1998
+ id?: string | undefined;
1999
+ type: "user" | "scim" | "internal" | "anonymous";
2000
+ label?: string | undefined;
2001
+ };
2002
+ readonly target?: {
2003
+ readonly?: "__readonly" | undefined;
2004
+ id?: string | undefined;
2005
+ type: "user" | "invitation" | "company" | "role" | "resourceGroup";
2006
+ label?: string | undefined;
2007
+ } | undefined;
2008
+ readonly source?: {
2009
+ readonly?: "__readonly" | undefined;
2010
+ ip?: string | undefined;
2011
+ userAgent?: string | undefined;
2012
+ clientId?: string | undefined;
2013
+ } | undefined;
2014
+ readonly error?: {
2015
+ readonly?: "__readonly" | undefined;
2016
+ code: string;
2017
+ } | undefined;
2018
+ }[];
2019
+ program: string;
2020
+ version: string;
2021
+ datetime: string;
2022
+ status: string;
2023
+ code?: number | undefined;
2024
+ message: string;
2025
+ }, any, {}>>;
2026
+ };
2027
+ get Authentification(): {
2028
+ getToken: (params: Record<string, never>, data: {
2029
+ password: string;
2030
+ client_id: string;
2031
+ grant_type: "password";
2032
+ username: string;
2033
+ "x-otp-code"?: string | undefined;
2034
+ } | {
2035
+ refresh_token: string;
2036
+ client_id: string;
2037
+ grant_type: "refresh_token";
2038
+ resource?: string | undefined;
2039
+ client_secret?: string | undefined;
2040
+ } | {
2041
+ code: string;
2042
+ client_id: string;
2043
+ grant_type: "authorization_code";
2044
+ resource?: string | undefined;
2045
+ client_secret?: string | undefined;
2046
+ redirect_uri: string;
2047
+ code_verifier: string;
2048
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2049
+ access_token: string;
2050
+ expires_in: number | null;
2051
+ refresh_token?: string | undefined;
2052
+ token_type: "Bearer";
2053
+ }, any, {}>>;
2054
+ describeToken: (params: {
2055
+ token: string;
2056
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2057
+ status: "success";
2058
+ } & {
2059
+ data: {
2060
+ user?: {
2061
+ readonly scim?: {
2062
+ readonly?: "__readonly" | undefined;
2063
+ externalId?: string | undefined;
2064
+ } | undefined;
2065
+ readonly companyId: string & {
2066
+ readonly?: "__readonly" | undefined;
2067
+ };
2068
+ readonly roleId: string & {
2069
+ readonly?: "__readonly" | undefined;
2070
+ };
2071
+ readonly resourceGroupIds: string[];
2072
+ readonly id: string & {
2073
+ readonly?: "__readonly" | undefined;
2074
+ };
2075
+ email: string;
2076
+ readonly disabled: boolean & {
2077
+ readonly?: "__readonly" | undefined;
2078
+ };
2079
+ readonly createdAt: string & {
2080
+ readonly?: "__readonly" | undefined;
2081
+ };
2082
+ readonly updatedAt: string & {
2083
+ readonly?: "__readonly" | undefined;
2084
+ };
2085
+ readonly lastConnection: string & {
2086
+ readonly?: "__readonly" | undefined;
2087
+ };
2088
+ readonly invitedBy?: (string & {
2089
+ readonly?: "__readonly" | undefined;
2090
+ }) | undefined;
2091
+ profile?: {
2092
+ firstname?: string | undefined;
2093
+ lastname?: string | undefined;
2094
+ jobtitle?: string | undefined;
2095
+ phone?: string | undefined;
2096
+ preferredLang?: string | undefined;
2097
+ theme?: "light" | "dark" | "system" | undefined;
2098
+ } | undefined;
2099
+ readonly hasOtp: boolean & {
2100
+ readonly?: "__readonly" | undefined;
2101
+ };
2102
+ readonly accountType?: (("service-account" | "user") & {
2103
+ readonly?: "__readonly" | undefined;
2104
+ }) | undefined;
2105
+ } | undefined;
2106
+ expiresAt: string | null;
2107
+ isValid: boolean;
2108
+ revokedAt: string | null;
1487
2109
  };
1488
2110
  program: string;
1489
2111
  version: string;
@@ -1492,14 +2114,13 @@ export default class {
1492
2114
  code?: number | undefined;
1493
2115
  message: string;
1494
2116
  }, any, {}>>;
1495
- create: (params: Record<string, never>, data: {
1496
- name: string;
1497
- plan: string;
2117
+ revokeToken: (params: {
2118
+ token: string;
1498
2119
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1499
2120
  status: "success";
1500
2121
  } & {
1501
2122
  data: {
1502
- companyId: string;
2123
+ revoked: boolean;
1503
2124
  };
1504
2125
  program: string;
1505
2126
  version: string;
@@ -1508,6 +2129,51 @@ export default class {
1508
2129
  code?: number | undefined;
1509
2130
  message: string;
1510
2131
  }, any, {}>>;
2132
+ ssoRedirect: (params: {
2133
+ domain: string;
2134
+ redirect_url?: string | undefined;
2135
+ client_id?: string | undefined;
2136
+ state?: string | undefined;
2137
+ response_type?: string | undefined;
2138
+ code_challenge?: string | undefined;
2139
+ code_challenge_method?: string | undefined;
2140
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2141
+ status: "success";
2142
+ } & {
2143
+ data: unknown;
2144
+ program: string;
2145
+ version: string;
2146
+ datetime: string;
2147
+ status: string;
2148
+ code?: number | undefined;
2149
+ message: string;
2150
+ }, any, {}>>;
2151
+ ssoCallback: (params: {
2152
+ company: string;
2153
+ }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2154
+ status: "success";
2155
+ } & {
2156
+ data: unknown;
2157
+ program: string;
2158
+ version: string;
2159
+ datetime: string;
2160
+ status: string;
2161
+ code?: number | undefined;
2162
+ message: string;
2163
+ }, any, {}>>;
2164
+ ssoMetadata: (params: {
2165
+ company: string;
2166
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2167
+ status: "success";
2168
+ } & {
2169
+ data: unknown;
2170
+ program: string;
2171
+ version: string;
2172
+ datetime: string;
2173
+ status: string;
2174
+ code?: number | undefined;
2175
+ message: string;
2176
+ }, any, {}>>;
1511
2177
  };
1512
2178
  get Role(): {
1513
2179
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
@@ -1522,6 +2188,8 @@ export default class {
1522
2188
  };
1523
2189
  name: string;
1524
2190
  rules: {
2191
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
2192
+ reason?: string | undefined;
1525
2193
  fields?: string[] | undefined;
1526
2194
  conditions?: {
1527
2195
  [x: string]: unknown;
@@ -1541,8 +2209,6 @@ export default class {
1541
2209
  type: "datasource_query";
1542
2210
  }[] | undefined;
1543
2211
  inverted?: boolean | undefined;
1544
- reason?: string | undefined;
1545
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1546
2212
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1547
2213
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1548
2214
  field: string;
@@ -1561,6 +2227,8 @@ export default class {
1561
2227
  create: (params: Record<string, never>, data: {
1562
2228
  name: string;
1563
2229
  rules: {
2230
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
2231
+ reason?: string | undefined;
1564
2232
  fields?: string[] | undefined;
1565
2233
  conditions?: {
1566
2234
  [x: string]: unknown;
@@ -1580,8 +2248,6 @@ export default class {
1580
2248
  type: "datasource_query";
1581
2249
  }[] | undefined;
1582
2250
  inverted?: boolean | undefined;
1583
- reason?: string | undefined;
1584
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1585
2251
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1586
2252
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1587
2253
  field: string;
@@ -1600,6 +2266,8 @@ export default class {
1600
2266
  };
1601
2267
  name: string;
1602
2268
  rules: {
2269
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
2270
+ reason?: string | undefined;
1603
2271
  fields?: string[] | undefined;
1604
2272
  conditions?: {
1605
2273
  [x: string]: unknown;
@@ -1619,8 +2287,6 @@ export default class {
1619
2287
  type: "datasource_query";
1620
2288
  }[] | undefined;
1621
2289
  inverted?: boolean | undefined;
1622
- reason?: string | undefined;
1623
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1624
2290
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1625
2291
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1626
2292
  field: string;
@@ -1640,6 +2306,8 @@ export default class {
1640
2306
  }, data: {
1641
2307
  name?: string | undefined;
1642
2308
  rules?: {
2309
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
2310
+ reason?: string | undefined;
1643
2311
  fields?: string[] | undefined;
1644
2312
  conditions?: {
1645
2313
  [x: string]: unknown;
@@ -1659,8 +2327,6 @@ export default class {
1659
2327
  type: "datasource_query";
1660
2328
  }[] | undefined;
1661
2329
  inverted?: boolean | undefined;
1662
- reason?: string | undefined;
1663
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1664
2330
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1665
2331
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1666
2332
  field: string;
@@ -1679,6 +2345,8 @@ export default class {
1679
2345
  };
1680
2346
  name: string;
1681
2347
  rules: {
2348
+ action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
2349
+ reason?: string | undefined;
1682
2350
  fields?: string[] | undefined;
1683
2351
  conditions?: {
1684
2352
  [x: string]: unknown;
@@ -1698,8 +2366,6 @@ export default class {
1698
2366
  type: "datasource_query";
1699
2367
  }[] | undefined;
1700
2368
  inverted?: boolean | undefined;
1701
- reason?: string | undefined;
1702
- action: "create" | "access" | "read" | "query" | "update" | "delete" | "export";
1703
2369
  subject: "User" | "Invitation" | "Company" | "Role" | "Datasource" | "OAuthClient" | "Statistics" | "Billing" | "ResourceGroup" | "Workflow" | "Content" | "ContentFontResource" | "DatagraphSchema" | "DatagraphEntity" | "WorkflowSettings" | "DatasourceSettings" | "Loop" | "Experience" | "Infrastructure" | "AnalyticsSettings";
1704
2370
  mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1705
2371
  field: string;
@@ -1735,6 +2401,10 @@ export default class {
1735
2401
  status: "success";
1736
2402
  } & {
1737
2403
  data: {
2404
+ readonly scim?: {
2405
+ readonly?: "__readonly" | undefined;
2406
+ externalId?: string | undefined;
2407
+ } | undefined;
1738
2408
  readonly companyId: string & {
1739
2409
  readonly?: "__readonly" | undefined;
1740
2410
  };
@@ -1764,6 +2434,10 @@ export default class {
1764
2434
  status: "success";
1765
2435
  } & {
1766
2436
  data: {
2437
+ readonly scim?: {
2438
+ readonly?: "__readonly" | undefined;
2439
+ externalId?: string | undefined;
2440
+ } | undefined;
1767
2441
  readonly companyId: string & {
1768
2442
  readonly?: "__readonly" | undefined;
1769
2443
  };
@@ -1794,6 +2468,10 @@ export default class {
1794
2468
  status: "success";
1795
2469
  } & {
1796
2470
  data: {
2471
+ readonly scim?: {
2472
+ readonly?: "__readonly" | undefined;
2473
+ externalId?: string | undefined;
2474
+ } | undefined;
1797
2475
  readonly companyId: string & {
1798
2476
  readonly?: "__readonly" | undefined;
1799
2477
  };
@@ -1847,150 +2525,6 @@ export default class {
1847
2525
  message: string;
1848
2526
  }, any, {}>>;
1849
2527
  };
1850
- get Authentification(): {
1851
- getToken: (params: Record<string, never>, data: {
1852
- password: string;
1853
- client_id: string;
1854
- grant_type: "password";
1855
- username: string;
1856
- "x-otp-code"?: string | undefined;
1857
- } | {
1858
- refresh_token: string;
1859
- client_id: string;
1860
- grant_type: "refresh_token";
1861
- resource?: string | undefined;
1862
- client_secret?: string | undefined;
1863
- } | {
1864
- code: string;
1865
- client_id: string;
1866
- grant_type: "authorization_code";
1867
- resource?: string | undefined;
1868
- client_secret?: string | undefined;
1869
- redirect_uri: string;
1870
- code_verifier: string;
1871
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1872
- access_token: string;
1873
- expires_in: number | null;
1874
- refresh_token?: string | undefined;
1875
- token_type: "Bearer";
1876
- }, any, {}>>;
1877
- describeToken: (params: {
1878
- token: string;
1879
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1880
- status: "success";
1881
- } & {
1882
- data: {
1883
- user?: {
1884
- readonly companyId: string & {
1885
- readonly?: "__readonly" | undefined;
1886
- };
1887
- readonly roleId: string & {
1888
- readonly?: "__readonly" | undefined;
1889
- };
1890
- readonly resourceGroupIds: string[];
1891
- readonly id: string & {
1892
- readonly?: "__readonly" | undefined;
1893
- };
1894
- email: string;
1895
- readonly createdAt: string & {
1896
- readonly?: "__readonly" | undefined;
1897
- };
1898
- readonly updatedAt: string & {
1899
- readonly?: "__readonly" | undefined;
1900
- };
1901
- readonly lastConnection: string & {
1902
- readonly?: "__readonly" | undefined;
1903
- };
1904
- readonly invitedBy?: (string & {
1905
- readonly?: "__readonly" | undefined;
1906
- }) | undefined;
1907
- profile?: {
1908
- firstname?: string | undefined;
1909
- lastname?: string | undefined;
1910
- jobtitle?: string | undefined;
1911
- phone?: string | undefined;
1912
- preferredLang?: string | undefined;
1913
- theme?: "light" | "dark" | "system" | undefined;
1914
- } | undefined;
1915
- readonly hasOtp: boolean & {
1916
- readonly?: "__readonly" | undefined;
1917
- };
1918
- readonly accountType?: (("service-account" | "user") & {
1919
- readonly?: "__readonly" | undefined;
1920
- }) | undefined;
1921
- } | undefined;
1922
- expiresAt: string | null;
1923
- isValid: boolean;
1924
- revokedAt: string | null;
1925
- };
1926
- program: string;
1927
- version: string;
1928
- datetime: string;
1929
- status: string;
1930
- code?: number | undefined;
1931
- message: string;
1932
- }, any, {}>>;
1933
- revokeToken: (params: {
1934
- token: string;
1935
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1936
- status: "success";
1937
- } & {
1938
- data: {
1939
- revoked: boolean;
1940
- };
1941
- program: string;
1942
- version: string;
1943
- datetime: string;
1944
- status: string;
1945
- code?: number | undefined;
1946
- message: string;
1947
- }, any, {}>>;
1948
- ssoRedirect: (params: {
1949
- domain: string;
1950
- redirect_url?: string | undefined;
1951
- client_id?: string | undefined;
1952
- state?: string | undefined;
1953
- response_type?: string | undefined;
1954
- code_challenge?: string | undefined;
1955
- code_challenge_method?: string | undefined;
1956
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1957
- status: "success";
1958
- } & {
1959
- data: unknown;
1960
- program: string;
1961
- version: string;
1962
- datetime: string;
1963
- status: string;
1964
- code?: number | undefined;
1965
- message: string;
1966
- }, any, {}>>;
1967
- ssoCallback: (params: {
1968
- company: string;
1969
- }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1970
- status: "success";
1971
- } & {
1972
- data: unknown;
1973
- program: string;
1974
- version: string;
1975
- datetime: string;
1976
- status: string;
1977
- code?: number | undefined;
1978
- message: string;
1979
- }, any, {}>>;
1980
- ssoMetadata: (params: {
1981
- company: string;
1982
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1983
- status: "success";
1984
- } & {
1985
- data: unknown;
1986
- program: string;
1987
- version: string;
1988
- datetime: string;
1989
- status: string;
1990
- code?: number | undefined;
1991
- message: string;
1992
- }, any, {}>>;
1993
- };
1994
2528
  get OAuth(): {
1995
2529
  GetResetPassword: (params: {
1996
2530
  token?: string | undefined;