@rlvt/entity-manager-openapi-client 1.0.69 → 1.0.71

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
@@ -1,12 +1,9 @@
1
1
  import { AxiosInstance, AxiosRequestConfig } from "axios";
2
- import type { Providers, InvitationState } from "./definitions";
2
+ import type { InvitationState } from "./definitions";
3
3
  export * from "./definitions";
4
4
  export default class {
5
5
  axios: AxiosInstance;
6
6
  constructor(configOrInstance: AxiosRequestConfig | AxiosInstance);
7
- private oauthShopifyRedirect;
8
- private oauthRedirect;
9
- private oauthCallback;
10
7
  private ssoRedirect;
11
8
  private ssoCallback;
12
9
  private ssoMetadata;
@@ -40,76 +37,44 @@ export default class {
40
37
  private setResourceGroupsUser;
41
38
  private setOtpUser;
42
39
  get Authentification(): {
43
- oauthShopifyRedirect: (params: {
44
- shop: string;
45
- email?: string | undefined;
46
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
47
- status: "success";
48
- program: string;
49
- version: string;
50
- datetime: string;
51
- code?: number | undefined;
52
- message: string;
53
- data: {};
54
- }, any>>;
55
- oauthRedirect: (params: {
56
- provider: Providers;
57
- plan?: string | undefined;
58
- companyName?: string | undefined;
59
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60
- status: "success";
61
- program: string;
62
- version: string;
63
- datetime: string;
64
- code?: number | undefined;
65
- message: string;
66
- data: {};
67
- }, any>>;
68
- oauthCallback: (params: {
69
- provider: Providers;
70
- code: string;
71
- state: string;
72
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
73
- status: "success";
74
- program: string;
75
- version: string;
76
- datetime: string;
77
- code?: number | undefined;
78
- message: string;
79
- data: {};
80
- }, any>>;
81
40
  ssoRedirect: (params: {
82
41
  domain: string;
83
42
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
84
43
  status: "success";
44
+ } & {
45
+ data: unknown;
85
46
  program: string;
86
47
  version: string;
87
48
  datetime: string;
49
+ status: string;
88
50
  code?: number | undefined;
89
51
  message: string;
90
- data: {};
91
52
  }, any>>;
92
53
  ssoCallback: (params: {
93
54
  company: string;
94
55
  }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
95
56
  status: "success";
57
+ } & {
58
+ data: unknown;
96
59
  program: string;
97
60
  version: string;
98
61
  datetime: string;
62
+ status: string;
99
63
  code?: number | undefined;
100
64
  message: string;
101
- data: {};
102
65
  }, any>>;
103
66
  ssoMetadata: (params: {
104
67
  company: string;
105
68
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
106
69
  status: "success";
70
+ } & {
71
+ data: unknown;
107
72
  program: string;
108
73
  version: string;
109
74
  datetime: string;
75
+ status: string;
110
76
  code?: number | undefined;
111
77
  message: string;
112
- data: string;
113
78
  }, any>>;
114
79
  getToken: (params: Record<string, never>, data: {
115
80
  client_id: string;
@@ -131,121 +96,51 @@ export default class {
131
96
  token: string;
132
97
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
133
98
  status: "success";
99
+ } & {
100
+ data: unknown;
134
101
  program: string;
135
102
  version: string;
136
103
  datetime: string;
104
+ status: string;
137
105
  code?: number | undefined;
138
106
  message: string;
139
- data: {
140
- isValid: boolean;
141
- revokedAt: string | null;
142
- expiresAt: string | null;
143
- user: {
144
- readonly companyId: string & {
145
- readonly?: "__readonly" | undefined;
146
- };
147
- readonly roleId: string & {
148
- readonly?: "__readonly" | undefined;
149
- };
150
- readonly resourceGroupIds: string[];
151
- readonly id: string & {
152
- readonly?: "__readonly" | undefined;
153
- };
154
- email: string;
155
- readonly createdAt: string & {
156
- readonly?: "__readonly" | undefined;
157
- };
158
- readonly updatedAt: string & {
159
- readonly?: "__readonly" | undefined;
160
- };
161
- readonly lastPasswordUpdate: string & {
162
- readonly?: "__readonly" | undefined;
163
- };
164
- readonly disabled: boolean & {
165
- readonly?: "__readonly" | undefined;
166
- };
167
- readonly mustUpdatePassword: boolean & {
168
- readonly?: "__readonly" | undefined;
169
- };
170
- readonly connection: {
171
- readonly?: "__readonly" | undefined;
172
- lastAttempts?: string | undefined;
173
- nbFail?: number | undefined;
174
- };
175
- profile?: {
176
- firstname?: string | undefined;
177
- lastname?: string | undefined;
178
- jobtitle?: string | undefined;
179
- phone?: string | undefined;
180
- preferredLang?: string | undefined;
181
- preferredRecipientId?: string | undefined;
182
- preferredMessageId?: string | undefined;
183
- preferredUtm?: {
184
- medium?: string | undefined;
185
- source?: string | undefined;
186
- campaign?: string | undefined;
187
- } | undefined;
188
- } | undefined;
189
- readonly hasOtp: boolean & {
190
- readonly?: "__readonly" | undefined;
191
- };
192
- readonly accountType?: (("service-account" | "user") & {
193
- readonly?: "__readonly" | undefined;
194
- }) | undefined;
195
- };
196
- };
197
107
  }, any>>;
198
108
  revokeToken: (params: {
199
109
  token: string;
200
110
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
201
111
  status: "success";
112
+ } & {
113
+ data: unknown;
202
114
  program: string;
203
115
  version: string;
204
116
  datetime: string;
117
+ status: string;
205
118
  code?: number | undefined;
206
119
  message: string;
207
- data: {
208
- revoked: boolean;
209
- };
210
120
  }, any>>;
211
121
  };
212
122
  get Company(): {
213
123
  getDefaults: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
214
124
  status: "success";
125
+ } & {
126
+ data: unknown;
215
127
  program: string;
216
128
  version: string;
217
129
  datetime: string;
130
+ status: string;
218
131
  code?: number | undefined;
219
132
  message: string;
220
- data: {
221
- roleId: string;
222
- resourceGroupIds: string[];
223
- };
224
133
  }, any>>;
225
134
  setDefaults: (params: Record<string, never>, data: {
226
135
  roleId?: string | undefined;
227
136
  resourceGroupIds?: string[] | undefined;
228
137
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
229
138
  status: "success";
230
- program: string;
231
- version: string;
232
- datetime: string;
233
- code?: number | undefined;
234
- message: string;
139
+ } & {
235
140
  data: {
236
141
  readonly id: string & {
237
142
  readonly?: "__readonly" | undefined;
238
143
  };
239
- readonly plan: {
240
- readonly?: "__readonly" | undefined;
241
- name?: string | undefined;
242
- openQuota?: number | undefined;
243
- openerQuota?: number | undefined;
244
- startDate?: string | undefined;
245
- endDate?: string | undefined;
246
- attributionPeriod?: number | undefined;
247
- monthlyCost?: number | undefined;
248
- };
249
144
  password?: {
250
145
  passwordDuration?: number | undefined;
251
146
  nbSpCharacter?: number | undefined;
@@ -259,29 +154,27 @@ export default class {
259
154
  timeLockAfterNextAttempts?: number | undefined;
260
155
  infiniteTimeLock?: boolean | undefined;
261
156
  } | undefined;
157
+ defaultRoleId: string;
158
+ defaultResourceGroupIds: string[];
262
159
  readonly createdAt: string & {
263
160
  readonly?: "__readonly" | undefined;
264
161
  };
265
162
  readonly updatedAt: string & {
266
163
  readonly?: "__readonly" | undefined;
267
164
  };
268
- disabled: boolean;
269
- defaultRoleId: string;
270
- defaultResourceGroupIds: string[];
271
165
  name: string;
272
- address?: {
273
- line1?: string | undefined;
274
- line2?: string | undefined;
275
- zipcode?: string | undefined;
276
- city?: string | undefined;
277
- country?: string | undefined;
278
- } | undefined;
279
- contact?: {
280
- email?: string | undefined;
166
+ readonly plan: {
167
+ readonly?: "__readonly" | undefined;
281
168
  name?: string | undefined;
282
- } | undefined;
169
+ quotaType?: "individual" | "display" | undefined;
170
+ quota?: number | undefined;
171
+ startDate?: string | undefined;
172
+ endDate?: string | undefined;
173
+ attributionPeriod?: number | undefined;
174
+ };
283
175
  securityPolicy: {
284
176
  password: {
177
+ duration: number;
285
178
  rules: {
286
179
  options: {
287
180
  maximum?: number | undefined;
@@ -289,7 +182,6 @@ export default class {
289
182
  };
290
183
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
291
184
  }[];
292
- duration: number;
293
185
  attempts: {
294
186
  maximum: number;
295
187
  lockDuration: number;
@@ -356,8 +248,8 @@ export default class {
356
248
  signatureConfig?: {
357
249
  prefix?: string | undefined;
358
250
  location?: {
359
- reference?: string | undefined;
360
251
  action?: "append" | "prepend" | "before" | "after" | undefined;
252
+ reference?: string | undefined;
361
253
  } | undefined;
362
254
  } | undefined;
363
255
  loginRequestTemplate?: {
@@ -447,8 +339,8 @@ export default class {
447
339
  signatureConfig?: {
448
340
  prefix?: string | undefined;
449
341
  location?: {
450
- reference?: string | undefined;
451
342
  action?: "append" | "prepend" | "before" | "after" | undefined;
343
+ reference?: string | undefined;
452
344
  } | undefined;
453
345
  } | undefined;
454
346
  loginRequestTemplate?: {
@@ -512,34 +404,27 @@ export default class {
512
404
  add_cart: string | string[];
513
405
  purchase: string | string[];
514
406
  };
407
+ disabled: boolean;
515
408
  meta: {
516
409
  [x: string]: string | number | boolean;
517
410
  };
518
411
  };
519
- }, any>>;
520
- get: (params: {
521
- id: string;
522
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
523
- status: "success";
524
412
  program: string;
525
413
  version: string;
526
414
  datetime: string;
415
+ status: string;
527
416
  code?: number | undefined;
528
417
  message: string;
418
+ }, any>>;
419
+ get: (params: {
420
+ id: string;
421
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
422
+ status: "success";
423
+ } & {
529
424
  data: {
530
425
  readonly id: string & {
531
426
  readonly?: "__readonly" | undefined;
532
427
  };
533
- readonly plan: {
534
- readonly?: "__readonly" | undefined;
535
- name?: string | undefined;
536
- openQuota?: number | undefined;
537
- openerQuota?: number | undefined;
538
- startDate?: string | undefined;
539
- endDate?: string | undefined;
540
- attributionPeriod?: number | undefined;
541
- monthlyCost?: number | undefined;
542
- };
543
428
  password?: {
544
429
  passwordDuration?: number | undefined;
545
430
  nbSpCharacter?: number | undefined;
@@ -553,29 +438,27 @@ export default class {
553
438
  timeLockAfterNextAttempts?: number | undefined;
554
439
  infiniteTimeLock?: boolean | undefined;
555
440
  } | undefined;
441
+ defaultRoleId: string;
442
+ defaultResourceGroupIds: string[];
556
443
  readonly createdAt: string & {
557
444
  readonly?: "__readonly" | undefined;
558
445
  };
559
446
  readonly updatedAt: string & {
560
447
  readonly?: "__readonly" | undefined;
561
448
  };
562
- disabled: boolean;
563
- defaultRoleId: string;
564
- defaultResourceGroupIds: string[];
565
449
  name: string;
566
- address?: {
567
- line1?: string | undefined;
568
- line2?: string | undefined;
569
- zipcode?: string | undefined;
570
- city?: string | undefined;
571
- country?: string | undefined;
572
- } | undefined;
573
- contact?: {
574
- email?: string | undefined;
450
+ readonly plan: {
451
+ readonly?: "__readonly" | undefined;
575
452
  name?: string | undefined;
576
- } | undefined;
453
+ quotaType?: "individual" | "display" | undefined;
454
+ quota?: number | undefined;
455
+ startDate?: string | undefined;
456
+ endDate?: string | undefined;
457
+ attributionPeriod?: number | undefined;
458
+ };
577
459
  securityPolicy: {
578
460
  password: {
461
+ duration: number;
579
462
  rules: {
580
463
  options: {
581
464
  maximum?: number | undefined;
@@ -583,7 +466,6 @@ export default class {
583
466
  };
584
467
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
585
468
  }[];
586
- duration: number;
587
469
  attempts: {
588
470
  maximum: number;
589
471
  lockDuration: number;
@@ -650,8 +532,8 @@ export default class {
650
532
  signatureConfig?: {
651
533
  prefix?: string | undefined;
652
534
  location?: {
653
- reference?: string | undefined;
654
535
  action?: "append" | "prepend" | "before" | "after" | undefined;
536
+ reference?: string | undefined;
655
537
  } | undefined;
656
538
  } | undefined;
657
539
  loginRequestTemplate?: {
@@ -741,8 +623,8 @@ export default class {
741
623
  signatureConfig?: {
742
624
  prefix?: string | undefined;
743
625
  location?: {
744
- reference?: string | undefined;
745
626
  action?: "append" | "prepend" | "before" | "after" | undefined;
627
+ reference?: string | undefined;
746
628
  } | undefined;
747
629
  } | undefined;
748
630
  loginRequestTemplate?: {
@@ -806,10 +688,17 @@ export default class {
806
688
  add_cart: string | string[];
807
689
  purchase: string | string[];
808
690
  };
691
+ disabled: boolean;
809
692
  meta: {
810
693
  [x: string]: string | number | boolean;
811
694
  };
812
695
  };
696
+ program: string;
697
+ version: string;
698
+ datetime: string;
699
+ status: string;
700
+ code?: number | undefined;
701
+ message: string;
813
702
  }, any>>;
814
703
  update: (params: {
815
704
  id: string;
@@ -827,29 +716,15 @@ export default class {
827
716
  };
828
717
  }[] | undefined;
829
718
  meta?: {
830
- [x: string]: string | number | boolean;
719
+ [key: string]: string | number | boolean;
831
720
  } | undefined;
832
721
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
833
722
  status: "success";
834
- program: string;
835
- version: string;
836
- datetime: string;
837
- code?: number | undefined;
838
- message: string;
723
+ } & {
839
724
  data: {
840
725
  readonly id: string & {
841
726
  readonly?: "__readonly" | undefined;
842
727
  };
843
- readonly plan: {
844
- readonly?: "__readonly" | undefined;
845
- name?: string | undefined;
846
- openQuota?: number | undefined;
847
- openerQuota?: number | undefined;
848
- startDate?: string | undefined;
849
- endDate?: string | undefined;
850
- attributionPeriod?: number | undefined;
851
- monthlyCost?: number | undefined;
852
- };
853
728
  password?: {
854
729
  passwordDuration?: number | undefined;
855
730
  nbSpCharacter?: number | undefined;
@@ -863,29 +738,27 @@ export default class {
863
738
  timeLockAfterNextAttempts?: number | undefined;
864
739
  infiniteTimeLock?: boolean | undefined;
865
740
  } | undefined;
741
+ defaultRoleId: string;
742
+ defaultResourceGroupIds: string[];
866
743
  readonly createdAt: string & {
867
744
  readonly?: "__readonly" | undefined;
868
745
  };
869
746
  readonly updatedAt: string & {
870
747
  readonly?: "__readonly" | undefined;
871
748
  };
872
- disabled: boolean;
873
- defaultRoleId: string;
874
- defaultResourceGroupIds: string[];
875
749
  name: string;
876
- address?: {
877
- line1?: string | undefined;
878
- line2?: string | undefined;
879
- zipcode?: string | undefined;
880
- city?: string | undefined;
881
- country?: string | undefined;
882
- } | undefined;
883
- contact?: {
884
- email?: string | undefined;
750
+ readonly plan: {
751
+ readonly?: "__readonly" | undefined;
885
752
  name?: string | undefined;
886
- } | undefined;
753
+ quotaType?: "individual" | "display" | undefined;
754
+ quota?: number | undefined;
755
+ startDate?: string | undefined;
756
+ endDate?: string | undefined;
757
+ attributionPeriod?: number | undefined;
758
+ };
887
759
  securityPolicy: {
888
760
  password: {
761
+ duration: number;
889
762
  rules: {
890
763
  options: {
891
764
  maximum?: number | undefined;
@@ -893,7 +766,6 @@ export default class {
893
766
  };
894
767
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
895
768
  }[];
896
- duration: number;
897
769
  attempts: {
898
770
  maximum: number;
899
771
  lockDuration: number;
@@ -960,8 +832,8 @@ export default class {
960
832
  signatureConfig?: {
961
833
  prefix?: string | undefined;
962
834
  location?: {
963
- reference?: string | undefined;
964
835
  action?: "append" | "prepend" | "before" | "after" | undefined;
836
+ reference?: string | undefined;
965
837
  } | undefined;
966
838
  } | undefined;
967
839
  loginRequestTemplate?: {
@@ -1051,8 +923,8 @@ export default class {
1051
923
  signatureConfig?: {
1052
924
  prefix?: string | undefined;
1053
925
  location?: {
1054
- reference?: string | undefined;
1055
926
  action?: "append" | "prepend" | "before" | "after" | undefined;
927
+ reference?: string | undefined;
1056
928
  } | undefined;
1057
929
  } | undefined;
1058
930
  loginRequestTemplate?: {
@@ -1116,48 +988,40 @@ export default class {
1116
988
  add_cart: string | string[];
1117
989
  purchase: string | string[];
1118
990
  };
991
+ disabled: boolean;
1119
992
  meta: {
1120
993
  [x: string]: string | number | boolean;
1121
994
  };
1122
995
  };
996
+ program: string;
997
+ version: string;
998
+ datetime: string;
999
+ status: string;
1000
+ code?: number | undefined;
1001
+ message: string;
1123
1002
  }, any>>;
1124
1003
  create: (params: Record<string, never>, data: {
1125
- type: "freetrial";
1126
- name: string;
1127
- email: string;
1128
- plan?: {
1129
- name: string;
1130
- } | undefined;
1131
- meta: {
1132
- esp?: string | undefined;
1133
- clientType?: string | undefined;
1134
- hubspotContactId?: string | undefined;
1135
- } & {
1136
- [key: string]: string | number | boolean;
1137
- };
1138
- } | {
1139
- type: "backoffice";
1140
1004
  token: string;
1141
1005
  name: string;
1142
- retention: number;
1143
1006
  plan: {
1007
+ quotaType?: "individual" | "display" | undefined;
1008
+ quota?: number | undefined;
1009
+ } & {
1144
1010
  name?: string | undefined;
1145
- openQuota?: number | undefined;
1146
- openerQuota?: number | undefined;
1147
- startDate: string;
1148
- endDate: string;
1011
+ startDate?: string | undefined;
1012
+ endDate?: string | undefined;
1013
+ attributionPeriod?: number | undefined;
1149
1014
  };
1150
1015
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1151
1016
  status: "success";
1017
+ } & {
1018
+ data: unknown;
1152
1019
  program: string;
1153
1020
  version: string;
1154
1021
  datetime: string;
1022
+ status: string;
1155
1023
  code?: number | undefined;
1156
1024
  message: string;
1157
- data: {
1158
- companyId: string;
1159
- invitationId: string;
1160
- };
1161
1025
  }, any>>;
1162
1026
  };
1163
1027
  get Invitation(): {
@@ -1169,30 +1033,33 @@ export default class {
1169
1033
  paginationCount: number;
1170
1034
  paginationPage: number;
1171
1035
  paginationLimit: number;
1036
+ } & {
1172
1037
  status: "success";
1173
- program: string;
1174
- version: string;
1175
- datetime: string;
1176
- code?: number | undefined;
1177
- message: string;
1038
+ } & {
1178
1039
  data: {
1179
- readonly companyId: string & {
1040
+ readonly id: string & {
1180
1041
  readonly?: "__readonly" | undefined;
1181
1042
  };
1182
1043
  readonly roleId: string & {
1183
1044
  readonly?: "__readonly" | undefined;
1184
1045
  };
1185
1046
  readonly resourceGroupIds: string[];
1186
- readonly id: string & {
1047
+ readonly companyId: string & {
1187
1048
  readonly?: "__readonly" | undefined;
1188
1049
  };
1050
+ createdAt: string;
1051
+ state: InvitationState;
1052
+ usedAt?: string | undefined;
1189
1053
  readonly email: string & {
1190
1054
  readonly?: "__readonly" | undefined;
1191
1055
  };
1192
- state: InvitationState;
1193
- createdAt: string;
1194
- usedAt?: string | undefined;
1195
1056
  }[];
1057
+ program: string;
1058
+ version: string;
1059
+ datetime: string;
1060
+ status: string;
1061
+ code?: number | undefined;
1062
+ message: string;
1196
1063
  }, any>>;
1197
1064
  create: (params: Record<string, never>, data: {
1198
1065
  email: string;
@@ -1200,113 +1067,120 @@ export default class {
1200
1067
  roleId?: string | undefined;
1201
1068
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1202
1069
  status: "success";
1203
- program: string;
1204
- version: string;
1205
- datetime: string;
1206
- code?: number | undefined;
1207
- message: string;
1070
+ } & {
1208
1071
  data: {
1209
- readonly companyId: string & {
1072
+ readonly id: string & {
1210
1073
  readonly?: "__readonly" | undefined;
1211
1074
  };
1212
1075
  readonly roleId: string & {
1213
1076
  readonly?: "__readonly" | undefined;
1214
1077
  };
1215
1078
  readonly resourceGroupIds: string[];
1216
- readonly id: string & {
1079
+ readonly companyId: string & {
1217
1080
  readonly?: "__readonly" | undefined;
1218
1081
  };
1082
+ createdAt: string;
1083
+ state: InvitationState;
1084
+ usedAt?: string | undefined;
1219
1085
  readonly email: string & {
1220
1086
  readonly?: "__readonly" | undefined;
1221
1087
  };
1222
- state: InvitationState;
1223
- createdAt: string;
1224
- usedAt?: string | undefined;
1225
- };
1226
- }, any>>;
1227
- delete: (params: {
1228
- id: string;
1229
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1230
- status: "success";
1088
+ }[];
1231
1089
  program: string;
1232
1090
  version: string;
1233
1091
  datetime: string;
1092
+ status: string;
1234
1093
  code?: number | undefined;
1235
1094
  message: string;
1095
+ }, any>>;
1096
+ delete: (params: {
1097
+ id: string;
1098
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1099
+ status: "success";
1100
+ } & {
1236
1101
  data: {
1237
- readonly companyId: string & {
1102
+ readonly id: string & {
1238
1103
  readonly?: "__readonly" | undefined;
1239
1104
  };
1240
1105
  readonly roleId: string & {
1241
1106
  readonly?: "__readonly" | undefined;
1242
1107
  };
1243
1108
  readonly resourceGroupIds: string[];
1244
- readonly id: string & {
1109
+ readonly companyId: string & {
1245
1110
  readonly?: "__readonly" | undefined;
1246
1111
  };
1112
+ createdAt: string;
1113
+ state: InvitationState;
1114
+ usedAt?: string | undefined;
1247
1115
  readonly email: string & {
1248
1116
  readonly?: "__readonly" | undefined;
1249
1117
  };
1250
- state: InvitationState;
1251
- createdAt: string;
1252
- usedAt?: string | undefined;
1253
- };
1254
- }, any>>;
1255
- use: (params: {
1256
- id: string;
1257
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1258
- status: "success";
1118
+ }[];
1259
1119
  program: string;
1260
1120
  version: string;
1261
1121
  datetime: string;
1122
+ status: string;
1262
1123
  code?: number | undefined;
1263
1124
  message: string;
1264
- data: {
1265
- id: string;
1266
- };
1267
1125
  }, any>>;
1268
- };
1269
- get ResourceGroup(): {
1270
- list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1126
+ use: (params: {
1127
+ id: string;
1128
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1271
1129
  status: "success";
1130
+ } & {
1131
+ data: unknown;
1272
1132
  program: string;
1273
1133
  version: string;
1274
1134
  datetime: string;
1135
+ status: string;
1275
1136
  code?: number | undefined;
1276
1137
  message: string;
1277
- data: ({
1278
- readonly companyId: string & {
1138
+ }, any>>;
1139
+ };
1140
+ get ResourceGroup(): {
1141
+ list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1142
+ status: "success";
1143
+ } & {
1144
+ data: {
1145
+ readonly id: string & {
1279
1146
  readonly?: "__readonly" | undefined;
1280
1147
  };
1281
- readonly id: string & {
1148
+ readonly companyId: string & {
1282
1149
  readonly?: "__readonly" | undefined;
1283
1150
  };
1284
1151
  name: string;
1285
1152
  color?: string | undefined;
1286
- } & {
1287
1153
  usersCount: number;
1288
- })[];
1154
+ }[];
1155
+ program: string;
1156
+ version: string;
1157
+ datetime: string;
1158
+ status: string;
1159
+ code?: number | undefined;
1160
+ message: string;
1289
1161
  }, any>>;
1290
1162
  create: (params: Record<string, never>, data: {
1291
1163
  name: string;
1292
1164
  color?: string | undefined;
1293
1165
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1294
1166
  status: "success";
1295
- program: string;
1296
- version: string;
1297
- datetime: string;
1298
- code?: number | undefined;
1299
- message: string;
1167
+ } & {
1300
1168
  data: {
1301
- readonly companyId: string & {
1169
+ readonly id: string & {
1302
1170
  readonly?: "__readonly" | undefined;
1303
1171
  };
1304
- readonly id: string & {
1172
+ readonly companyId: string & {
1305
1173
  readonly?: "__readonly" | undefined;
1306
1174
  };
1307
1175
  name: string;
1308
1176
  color?: string | undefined;
1309
1177
  };
1178
+ program: string;
1179
+ version: string;
1180
+ datetime: string;
1181
+ status: string;
1182
+ code?: number | undefined;
1183
+ message: string;
1310
1184
  }, any>>;
1311
1185
  update: (params: {
1312
1186
  id: string;
@@ -1315,165 +1189,176 @@ export default class {
1315
1189
  color?: string | undefined;
1316
1190
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1317
1191
  status: "success";
1318
- program: string;
1319
- version: string;
1320
- datetime: string;
1321
- code?: number | undefined;
1322
- message: string;
1192
+ } & {
1323
1193
  data: {
1324
- readonly companyId: string & {
1194
+ readonly id: string & {
1325
1195
  readonly?: "__readonly" | undefined;
1326
1196
  };
1327
- readonly id: string & {
1197
+ readonly companyId: string & {
1328
1198
  readonly?: "__readonly" | undefined;
1329
1199
  };
1330
1200
  name: string;
1331
1201
  color?: string | undefined;
1332
1202
  };
1203
+ program: string;
1204
+ version: string;
1205
+ datetime: string;
1206
+ status: string;
1207
+ code?: number | undefined;
1208
+ message: string;
1333
1209
  }, any>>;
1334
1210
  delete: (params: {
1335
1211
  id: string;
1336
1212
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1337
1213
  status: "success";
1214
+ } & {
1215
+ data: unknown;
1338
1216
  program: string;
1339
1217
  version: string;
1340
1218
  datetime: string;
1219
+ status: string;
1341
1220
  code?: number | undefined;
1342
1221
  message: string;
1343
- data: {};
1344
1222
  }, any>>;
1345
1223
  };
1346
1224
  get Role(): {
1347
1225
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1348
1226
  status: "success";
1349
- program: string;
1350
- version: string;
1351
- datetime: string;
1352
- code?: number | undefined;
1353
- message: string;
1354
- data: ({
1227
+ } & {
1228
+ data: {
1355
1229
  readonly companyId: string & {
1356
1230
  readonly?: "__readonly" | undefined;
1357
1231
  };
1358
1232
  name: string;
1359
1233
  rules: {
1360
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1361
1234
  fields?: string[] | undefined;
1362
1235
  conditions?: {
1363
1236
  [x: string]: unknown;
1364
1237
  } | undefined;
1365
1238
  inverted?: boolean | undefined;
1366
1239
  reason?: string | undefined;
1240
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1367
1241
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1368
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1242
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1369
1243
  field: string;
1370
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1244
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1371
1245
  })[] | undefined;
1372
1246
  }[];
1373
- } & {
1374
1247
  usersCount: number;
1375
- })[];
1248
+ }[];
1249
+ program: string;
1250
+ version: string;
1251
+ datetime: string;
1252
+ status: string;
1253
+ code?: number | undefined;
1254
+ message: string;
1376
1255
  }, any>>;
1377
1256
  create: (params: Record<string, never>, data: {
1378
1257
  name: string;
1379
1258
  rules: {
1380
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1381
1259
  fields?: string[] | undefined;
1382
1260
  conditions?: {
1383
1261
  [x: string]: unknown;
1384
1262
  } | undefined;
1385
1263
  inverted?: boolean | undefined;
1386
1264
  reason?: string | undefined;
1265
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1387
1266
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1388
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1267
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1389
1268
  field: string;
1390
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1269
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1391
1270
  })[] | undefined;
1392
1271
  }[];
1393
1272
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1394
1273
  status: "success";
1395
- program: string;
1396
- version: string;
1397
- datetime: string;
1398
- code?: number | undefined;
1399
- message: string;
1274
+ } & {
1400
1275
  data: {
1401
1276
  readonly companyId: string & {
1402
1277
  readonly?: "__readonly" | undefined;
1403
1278
  };
1404
1279
  name: string;
1405
1280
  rules: {
1406
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1407
1281
  fields?: string[] | undefined;
1408
1282
  conditions?: {
1409
1283
  [x: string]: unknown;
1410
1284
  } | undefined;
1411
1285
  inverted?: boolean | undefined;
1412
1286
  reason?: string | undefined;
1287
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1413
1288
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1414
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1289
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1415
1290
  field: string;
1416
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1291
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1417
1292
  })[] | undefined;
1418
1293
  }[];
1419
- };
1294
+ }[];
1295
+ program: string;
1296
+ version: string;
1297
+ datetime: string;
1298
+ status: string;
1299
+ code?: number | undefined;
1300
+ message: string;
1420
1301
  }, any>>;
1421
1302
  update: (params: {
1422
1303
  id: string;
1423
1304
  }, data: {
1424
1305
  name?: string | undefined;
1425
1306
  rules?: {
1426
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1427
1307
  fields?: string[] | undefined;
1428
1308
  conditions?: {
1429
1309
  [x: string]: unknown;
1430
1310
  } | undefined;
1431
1311
  inverted?: boolean | undefined;
1432
1312
  reason?: string | undefined;
1313
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1433
1314
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1434
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1315
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1435
1316
  field: string;
1436
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1317
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1437
1318
  })[] | undefined;
1438
1319
  }[] | undefined;
1439
1320
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1440
1321
  status: "success";
1441
- program: string;
1442
- version: string;
1443
- datetime: string;
1444
- code?: number | undefined;
1445
- message: string;
1322
+ } & {
1446
1323
  data: {
1447
1324
  readonly companyId: string & {
1448
1325
  readonly?: "__readonly" | undefined;
1449
1326
  };
1450
1327
  name: string;
1451
1328
  rules: {
1452
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1453
1329
  fields?: string[] | undefined;
1454
1330
  conditions?: {
1455
1331
  [x: string]: unknown;
1456
1332
  } | undefined;
1457
1333
  inverted?: boolean | undefined;
1458
1334
  reason?: string | undefined;
1335
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1459
1336
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1460
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1337
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1461
1338
  field: string;
1462
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1339
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1463
1340
  })[] | undefined;
1464
1341
  }[];
1465
- };
1342
+ }[];
1343
+ program: string;
1344
+ version: string;
1345
+ datetime: string;
1346
+ status: string;
1347
+ code?: number | undefined;
1348
+ message: string;
1466
1349
  }, any>>;
1467
1350
  delete: (params: {
1468
1351
  id: string;
1469
1352
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1470
1353
  status: "success";
1354
+ } & {
1355
+ data: unknown;
1471
1356
  program: string;
1472
1357
  version: string;
1473
1358
  datetime: string;
1359
+ status: string;
1474
1360
  code?: number | undefined;
1475
1361
  message: string;
1476
- data: {};
1477
1362
  }, any>>;
1478
1363
  };
1479
1364
  get User(): {
@@ -1484,34 +1369,31 @@ export default class {
1484
1369
  paginationCount: number;
1485
1370
  paginationPage: number;
1486
1371
  paginationLimit: number;
1372
+ } & {
1487
1373
  status: "success";
1488
- program: string;
1489
- version: string;
1490
- datetime: string;
1491
- code?: number | undefined;
1492
- message: string;
1374
+ } & {
1493
1375
  data: {
1494
- readonly companyId: string & {
1376
+ readonly id: string & {
1495
1377
  readonly?: "__readonly" | undefined;
1496
1378
  };
1497
1379
  readonly roleId: string & {
1498
1380
  readonly?: "__readonly" | undefined;
1499
1381
  };
1500
1382
  readonly resourceGroupIds: string[];
1501
- readonly id: string & {
1383
+ readonly companyId: string & {
1502
1384
  readonly?: "__readonly" | undefined;
1503
1385
  };
1504
- email: string;
1505
1386
  readonly createdAt: string & {
1506
1387
  readonly?: "__readonly" | undefined;
1507
1388
  };
1508
1389
  readonly updatedAt: string & {
1509
1390
  readonly?: "__readonly" | undefined;
1510
1391
  };
1511
- readonly lastPasswordUpdate: string & {
1392
+ readonly disabled: boolean & {
1512
1393
  readonly?: "__readonly" | undefined;
1513
1394
  };
1514
- readonly disabled: boolean & {
1395
+ email: string;
1396
+ readonly lastPasswordUpdate: string & {
1515
1397
  readonly?: "__readonly" | undefined;
1516
1398
  };
1517
1399
  readonly mustUpdatePassword: boolean & {
@@ -1539,10 +1421,16 @@ export default class {
1539
1421
  readonly hasOtp: boolean & {
1540
1422
  readonly?: "__readonly" | undefined;
1541
1423
  };
1542
- readonly accountType?: (("service-account" | "user") & {
1424
+ readonly accountType?: (("user" | "service-account") & {
1543
1425
  readonly?: "__readonly" | undefined;
1544
1426
  }) | undefined;
1545
1427
  }[];
1428
+ program: string;
1429
+ version: string;
1430
+ datetime: string;
1431
+ status: string;
1432
+ code?: number | undefined;
1433
+ message: string;
1546
1434
  }, any>>;
1547
1435
  create: (params: Record<string, never>, data: {
1548
1436
  invitationId: string;
@@ -1563,350 +1451,14 @@ export default class {
1563
1451
  password: string;
1564
1452
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1565
1453
  status: "success";
1454
+ } & {
1455
+ data: unknown;
1566
1456
  program: string;
1567
1457
  version: string;
1568
1458
  datetime: string;
1459
+ status: string;
1569
1460
  code?: number | undefined;
1570
1461
  message: string;
1571
- data: {
1572
- user: {
1573
- readonly companyId: string & {
1574
- readonly?: "__readonly" | undefined;
1575
- };
1576
- readonly roleId: string & {
1577
- readonly?: "__readonly" | undefined;
1578
- };
1579
- readonly resourceGroupIds: string[];
1580
- readonly id: string & {
1581
- readonly?: "__readonly" | undefined;
1582
- };
1583
- email: string;
1584
- readonly createdAt: string & {
1585
- readonly?: "__readonly" | undefined;
1586
- };
1587
- readonly updatedAt: string & {
1588
- readonly?: "__readonly" | undefined;
1589
- };
1590
- readonly lastPasswordUpdate: string & {
1591
- readonly?: "__readonly" | undefined;
1592
- };
1593
- readonly disabled: boolean & {
1594
- readonly?: "__readonly" | undefined;
1595
- };
1596
- readonly mustUpdatePassword: boolean & {
1597
- readonly?: "__readonly" | undefined;
1598
- };
1599
- readonly connection: {
1600
- readonly?: "__readonly" | undefined;
1601
- lastAttempts?: string | undefined;
1602
- nbFail?: number | undefined;
1603
- };
1604
- profile?: {
1605
- firstname?: string | undefined;
1606
- lastname?: string | undefined;
1607
- jobtitle?: string | undefined;
1608
- phone?: string | undefined;
1609
- preferredLang?: string | undefined;
1610
- preferredRecipientId?: string | undefined;
1611
- preferredMessageId?: string | undefined;
1612
- preferredUtm?: {
1613
- medium?: string | undefined;
1614
- source?: string | undefined;
1615
- campaign?: string | undefined;
1616
- } | undefined;
1617
- } | undefined;
1618
- readonly hasOtp: boolean & {
1619
- readonly?: "__readonly" | undefined;
1620
- };
1621
- readonly accountType?: (("service-account" | "user") & {
1622
- readonly?: "__readonly" | undefined;
1623
- }) | undefined;
1624
- };
1625
- company: {
1626
- readonly id: string & {
1627
- readonly?: "__readonly" | undefined;
1628
- };
1629
- readonly plan: {
1630
- readonly?: "__readonly" | undefined;
1631
- name?: string | undefined;
1632
- openQuota?: number | undefined;
1633
- openerQuota?: number | undefined;
1634
- startDate?: string | undefined;
1635
- endDate?: string | undefined;
1636
- attributionPeriod?: number | undefined;
1637
- monthlyCost?: number | undefined;
1638
- };
1639
- password?: {
1640
- passwordDuration?: number | undefined;
1641
- nbSpCharacter?: number | undefined;
1642
- nbIsNotAlphabeticCharacter?: number | undefined;
1643
- nbNumberCharacter?: number | undefined;
1644
- nbLetterInLowercase?: number | undefined;
1645
- nbLetterInUppercase?: number | undefined;
1646
- nbCharacter?: number | undefined;
1647
- nbAttempts?: number | undefined;
1648
- timeEachAttempts?: number | undefined;
1649
- timeLockAfterNextAttempts?: number | undefined;
1650
- infiniteTimeLock?: boolean | undefined;
1651
- } | undefined;
1652
- readonly createdAt: string & {
1653
- readonly?: "__readonly" | undefined;
1654
- };
1655
- readonly updatedAt: string & {
1656
- readonly?: "__readonly" | undefined;
1657
- };
1658
- disabled: boolean;
1659
- defaultRoleId: string;
1660
- defaultResourceGroupIds: string[];
1661
- name: string;
1662
- address?: {
1663
- line1?: string | undefined;
1664
- line2?: string | undefined;
1665
- zipcode?: string | undefined;
1666
- city?: string | undefined;
1667
- country?: string | undefined;
1668
- } | undefined;
1669
- contact?: {
1670
- email?: string | undefined;
1671
- name?: string | undefined;
1672
- } | undefined;
1673
- securityPolicy: {
1674
- password: {
1675
- rules: {
1676
- options: {
1677
- maximum?: number | undefined;
1678
- minimum?: number | undefined;
1679
- };
1680
- type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1681
- }[];
1682
- duration: number;
1683
- attempts: {
1684
- maximum: number;
1685
- lockDuration: number;
1686
- };
1687
- };
1688
- };
1689
- variableProfiles: {
1690
- id: string;
1691
- name: string;
1692
- variables: {
1693
- "rlvt-u"?: string | undefined;
1694
- "rlvt-m"?: string | undefined;
1695
- utm_campaign?: string | undefined;
1696
- utm_source?: string | undefined;
1697
- utm_medium?: string | undefined;
1698
- utm_term?: string | undefined;
1699
- };
1700
- }[];
1701
- sso?: {
1702
- domains: string[];
1703
- metadata: string;
1704
- emailProperty: string[] | "nameID"[];
1705
- mode: "invitation" | "create";
1706
- mandatory: boolean;
1707
- readonly identityProvider: {
1708
- readonly?: "__readonly" | undefined;
1709
- entityMeta: {
1710
- meta: unknown;
1711
- xmlString: string;
1712
- };
1713
- entitySetting: {
1714
- metadata?: string | {
1715
- data: number[];
1716
- type: "Buffer";
1717
- } | undefined;
1718
- entityID?: string | undefined;
1719
- authnRequestsSigned?: boolean | undefined;
1720
- wantAssertionsSigned?: boolean | undefined;
1721
- wantMessageSigned?: boolean | undefined;
1722
- wantLogoutResponseSigned?: boolean | undefined;
1723
- wantLogoutRequestSigned?: boolean | undefined;
1724
- privateKey?: string | {
1725
- data: number[];
1726
- type: "Buffer";
1727
- } | undefined;
1728
- privateKeyPass?: string | undefined;
1729
- isAssertionEncrypted?: boolean | undefined;
1730
- requestSignatureAlgorithm?: string | undefined;
1731
- encPrivateKey?: string | {
1732
- data: number[];
1733
- type: "Buffer";
1734
- } | undefined;
1735
- encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1736
- assertionConsumerService?: {
1737
- isDefault?: boolean | undefined;
1738
- Binding: string;
1739
- Location: string;
1740
- }[] | undefined;
1741
- singleLogoutService?: {
1742
- isDefault?: boolean | undefined;
1743
- Binding: string;
1744
- Location: string;
1745
- }[] | undefined;
1746
- signatureConfig?: {
1747
- prefix?: string | undefined;
1748
- location?: {
1749
- reference?: string | undefined;
1750
- action?: "append" | "prepend" | "before" | "after" | undefined;
1751
- } | undefined;
1752
- } | undefined;
1753
- loginRequestTemplate?: {
1754
- context?: string | undefined;
1755
- } | undefined;
1756
- logoutRequestTemplate?: {
1757
- context?: string | undefined;
1758
- } | undefined;
1759
- signingCert?: string | {
1760
- data: number[];
1761
- type: "Buffer";
1762
- } | undefined;
1763
- encryptCert?: string | {
1764
- data: number[];
1765
- type: "Buffer";
1766
- } | undefined;
1767
- transformationAlgorithms?: string[] | undefined;
1768
- nameIDFormat?: string[] | undefined;
1769
- allowCreate?: boolean | undefined;
1770
- relayState?: string | undefined;
1771
- clockDrifts?: number[] | undefined;
1772
- loginResponseTemplate?: {
1773
- attributes?: {
1774
- name: string;
1775
- nameFormat: string;
1776
- valueXsiType: string;
1777
- valueTag: string;
1778
- valueXmlnsXs?: string | undefined;
1779
- valueXmlnsXsi?: string | undefined;
1780
- }[] | undefined;
1781
- context: string;
1782
- } | undefined;
1783
- generateID?: unknown;
1784
- singleSignOnService?: {
1785
- isDefault?: boolean | undefined;
1786
- Binding: string;
1787
- Location: string;
1788
- }[] | undefined;
1789
- messageSigningOrder?: string | undefined;
1790
- wantAuthnRequestsSigned?: boolean | undefined;
1791
- wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1792
- tagPrefix?: {
1793
- [x: string]: string;
1794
- } | undefined;
1795
- };
1796
- entityType: string;
1797
- };
1798
- readonly serviceProvider: {
1799
- readonly?: "__readonly" | undefined;
1800
- entityMeta: {
1801
- meta: unknown;
1802
- xmlString: string;
1803
- };
1804
- entitySetting: {
1805
- metadata?: string | {
1806
- data: number[];
1807
- type: "Buffer";
1808
- } | undefined;
1809
- entityID?: string | undefined;
1810
- authnRequestsSigned?: boolean | undefined;
1811
- wantAssertionsSigned?: boolean | undefined;
1812
- wantMessageSigned?: boolean | undefined;
1813
- wantLogoutResponseSigned?: boolean | undefined;
1814
- wantLogoutRequestSigned?: boolean | undefined;
1815
- privateKey?: string | {
1816
- data: number[];
1817
- type: "Buffer";
1818
- } | undefined;
1819
- privateKeyPass?: string | undefined;
1820
- isAssertionEncrypted?: boolean | undefined;
1821
- requestSignatureAlgorithm?: string | undefined;
1822
- encPrivateKey?: string | {
1823
- data: number[];
1824
- type: "Buffer";
1825
- } | undefined;
1826
- encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1827
- assertionConsumerService?: {
1828
- isDefault?: boolean | undefined;
1829
- Binding: string;
1830
- Location: string;
1831
- }[] | undefined;
1832
- singleLogoutService?: {
1833
- isDefault?: boolean | undefined;
1834
- Binding: string;
1835
- Location: string;
1836
- }[] | undefined;
1837
- signatureConfig?: {
1838
- prefix?: string | undefined;
1839
- location?: {
1840
- reference?: string | undefined;
1841
- action?: "append" | "prepend" | "before" | "after" | undefined;
1842
- } | undefined;
1843
- } | undefined;
1844
- loginRequestTemplate?: {
1845
- context?: string | undefined;
1846
- } | undefined;
1847
- logoutRequestTemplate?: {
1848
- context?: string | undefined;
1849
- } | undefined;
1850
- signingCert?: string | {
1851
- data: number[];
1852
- type: "Buffer";
1853
- } | undefined;
1854
- encryptCert?: string | {
1855
- data: number[];
1856
- type: "Buffer";
1857
- } | undefined;
1858
- transformationAlgorithms?: string[] | undefined;
1859
- nameIDFormat?: string[] | undefined;
1860
- allowCreate?: boolean | undefined;
1861
- relayState?: string | undefined;
1862
- clockDrifts?: number[] | undefined;
1863
- loginResponseTemplate?: {
1864
- attributes?: {
1865
- name: string;
1866
- nameFormat: string;
1867
- valueXsiType: string;
1868
- valueTag: string;
1869
- valueXmlnsXs?: string | undefined;
1870
- valueXmlnsXsi?: string | undefined;
1871
- }[] | undefined;
1872
- context: string;
1873
- } | undefined;
1874
- generateID?: unknown;
1875
- singleSignOnService?: {
1876
- isDefault?: boolean | undefined;
1877
- Binding: string;
1878
- Location: string;
1879
- }[] | undefined;
1880
- messageSigningOrder?: string | undefined;
1881
- wantAuthnRequestsSigned?: boolean | undefined;
1882
- wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1883
- tagPrefix?: {
1884
- [x: string]: string;
1885
- } | undefined;
1886
- };
1887
- entityType: string;
1888
- };
1889
- } | undefined;
1890
- custom?: {
1891
- colors?: string[] | undefined;
1892
- workflowDomain?: string | undefined;
1893
- } | undefined;
1894
- readonly retention: number & {
1895
- readonly?: "__readonly" | undefined;
1896
- };
1897
- readonly features: {
1898
- [x: string]: boolean;
1899
- };
1900
- events: {
1901
- product_page: string | string[];
1902
- add_cart: string | string[];
1903
- purchase: string | string[];
1904
- };
1905
- meta: {
1906
- [x: string]: string | number | boolean;
1907
- };
1908
- };
1909
- };
1910
1462
  }, any>>;
1911
1463
  updatePassword: (params: Record<string, never>, data: ({
1912
1464
  email: string;
@@ -1920,33 +1472,29 @@ export default class {
1920
1472
  currentPassword: string;
1921
1473
  }), options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1922
1474
  status: "success";
1923
- program: string;
1924
- version: string;
1925
- datetime: string;
1926
- code?: number | undefined;
1927
- message: string;
1475
+ } & {
1928
1476
  data: {
1929
- readonly companyId: string & {
1477
+ readonly id: string & {
1930
1478
  readonly?: "__readonly" | undefined;
1931
1479
  };
1932
1480
  readonly roleId: string & {
1933
1481
  readonly?: "__readonly" | undefined;
1934
1482
  };
1935
1483
  readonly resourceGroupIds: string[];
1936
- readonly id: string & {
1484
+ readonly companyId: string & {
1937
1485
  readonly?: "__readonly" | undefined;
1938
1486
  };
1939
- email: string;
1940
1487
  readonly createdAt: string & {
1941
1488
  readonly?: "__readonly" | undefined;
1942
1489
  };
1943
1490
  readonly updatedAt: string & {
1944
1491
  readonly?: "__readonly" | undefined;
1945
1492
  };
1946
- readonly lastPasswordUpdate: string & {
1493
+ readonly disabled: boolean & {
1947
1494
  readonly?: "__readonly" | undefined;
1948
1495
  };
1949
- readonly disabled: boolean & {
1496
+ email: string;
1497
+ readonly lastPasswordUpdate: string & {
1950
1498
  readonly?: "__readonly" | undefined;
1951
1499
  };
1952
1500
  readonly mustUpdatePassword: boolean & {
@@ -1974,49 +1522,34 @@ export default class {
1974
1522
  readonly hasOtp: boolean & {
1975
1523
  readonly?: "__readonly" | undefined;
1976
1524
  };
1977
- readonly accountType?: (("service-account" | "user") & {
1525
+ readonly accountType?: (("user" | "service-account") & {
1978
1526
  readonly?: "__readonly" | undefined;
1979
1527
  }) | undefined;
1980
- };
1528
+ }[];
1529
+ program: string;
1530
+ version: string;
1531
+ datetime: string;
1532
+ status: string;
1533
+ code?: number | undefined;
1534
+ message: string;
1981
1535
  }, any>>;
1982
1536
  resetPassword: (params: Record<string, never>, data: {
1983
1537
  email: string;
1984
1538
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1985
1539
  status: "success";
1540
+ } & {
1541
+ data: unknown;
1986
1542
  program: string;
1987
1543
  version: string;
1988
1544
  datetime: string;
1545
+ status: string;
1989
1546
  code?: number | undefined;
1990
1547
  message: string;
1991
- data: {};
1992
1548
  }, any>>;
1993
1549
  update: (params: {
1994
1550
  id: string;
1995
1551
  }, data: {
1996
- readonly id?: (string & {
1997
- readonly?: "__readonly" | undefined;
1998
- }) | undefined;
1999
1552
  email?: string | undefined;
2000
- readonly createdAt?: (string & {
2001
- readonly?: "__readonly" | undefined;
2002
- }) | undefined;
2003
- readonly updatedAt?: (string & {
2004
- readonly?: "__readonly" | undefined;
2005
- }) | undefined;
2006
- readonly lastPasswordUpdate?: (string & {
2007
- readonly?: "__readonly" | undefined;
2008
- }) | undefined;
2009
- readonly disabled?: (boolean & {
2010
- readonly?: "__readonly" | undefined;
2011
- }) | undefined;
2012
- readonly mustUpdatePassword?: (boolean & {
2013
- readonly?: "__readonly" | undefined;
2014
- }) | undefined;
2015
- readonly connection?: {
2016
- readonly?: "__readonly" | undefined;
2017
- lastAttempts?: string | undefined;
2018
- nbFail?: number | undefined;
2019
- } | undefined;
2020
1553
  profile?: {
2021
1554
  firstname?: string | undefined;
2022
1555
  lastname?: string | undefined;
@@ -2031,41 +1564,31 @@ export default class {
2031
1564
  campaign?: string | undefined;
2032
1565
  } | undefined;
2033
1566
  } | undefined;
2034
- readonly hasOtp?: (boolean & {
2035
- readonly?: "__readonly" | undefined;
2036
- }) | undefined;
2037
- readonly accountType?: (("service-account" | "user") & {
2038
- readonly?: "__readonly" | undefined;
2039
- }) | undefined;
2040
1567
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2041
1568
  status: "success";
2042
- program: string;
2043
- version: string;
2044
- datetime: string;
2045
- code?: number | undefined;
2046
- message: string;
1569
+ } & {
2047
1570
  data: {
2048
- readonly companyId: string & {
1571
+ readonly id: string & {
2049
1572
  readonly?: "__readonly" | undefined;
2050
1573
  };
2051
1574
  readonly roleId: string & {
2052
1575
  readonly?: "__readonly" | undefined;
2053
1576
  };
2054
1577
  readonly resourceGroupIds: string[];
2055
- readonly id: string & {
1578
+ readonly companyId: string & {
2056
1579
  readonly?: "__readonly" | undefined;
2057
1580
  };
2058
- email: string;
2059
1581
  readonly createdAt: string & {
2060
1582
  readonly?: "__readonly" | undefined;
2061
1583
  };
2062
1584
  readonly updatedAt: string & {
2063
1585
  readonly?: "__readonly" | undefined;
2064
1586
  };
2065
- readonly lastPasswordUpdate: string & {
1587
+ readonly disabled: boolean & {
2066
1588
  readonly?: "__readonly" | undefined;
2067
1589
  };
2068
- readonly disabled: boolean & {
1590
+ email: string;
1591
+ readonly lastPasswordUpdate: string & {
2069
1592
  readonly?: "__readonly" | undefined;
2070
1593
  };
2071
1594
  readonly mustUpdatePassword: boolean & {
@@ -2093,42 +1616,44 @@ export default class {
2093
1616
  readonly hasOtp: boolean & {
2094
1617
  readonly?: "__readonly" | undefined;
2095
1618
  };
2096
- readonly accountType?: (("service-account" | "user") & {
1619
+ readonly accountType?: (("user" | "service-account") & {
2097
1620
  readonly?: "__readonly" | undefined;
2098
1621
  }) | undefined;
2099
- };
2100
- }, any>>;
2101
- delete: (params: {
2102
- id: string;
2103
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2104
- status: "success";
1622
+ }[];
2105
1623
  program: string;
2106
1624
  version: string;
2107
1625
  datetime: string;
1626
+ status: string;
2108
1627
  code?: number | undefined;
2109
1628
  message: string;
1629
+ }, any>>;
1630
+ delete: (params: {
1631
+ id: string;
1632
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1633
+ status: "success";
1634
+ } & {
2110
1635
  data: {
2111
- readonly companyId: string & {
1636
+ readonly id: string & {
2112
1637
  readonly?: "__readonly" | undefined;
2113
1638
  };
2114
1639
  readonly roleId: string & {
2115
1640
  readonly?: "__readonly" | undefined;
2116
1641
  };
2117
1642
  readonly resourceGroupIds: string[];
2118
- readonly id: string & {
1643
+ readonly companyId: string & {
2119
1644
  readonly?: "__readonly" | undefined;
2120
1645
  };
2121
- email: string;
2122
1646
  readonly createdAt: string & {
2123
1647
  readonly?: "__readonly" | undefined;
2124
1648
  };
2125
1649
  readonly updatedAt: string & {
2126
1650
  readonly?: "__readonly" | undefined;
2127
1651
  };
2128
- readonly lastPasswordUpdate: string & {
1652
+ readonly disabled: boolean & {
2129
1653
  readonly?: "__readonly" | undefined;
2130
1654
  };
2131
- readonly disabled: boolean & {
1655
+ email: string;
1656
+ readonly lastPasswordUpdate: string & {
2132
1657
  readonly?: "__readonly" | undefined;
2133
1658
  };
2134
1659
  readonly mustUpdatePassword: boolean & {
@@ -2156,10 +1681,16 @@ export default class {
2156
1681
  readonly hasOtp: boolean & {
2157
1682
  readonly?: "__readonly" | undefined;
2158
1683
  };
2159
- readonly accountType?: (("service-account" | "user") & {
1684
+ readonly accountType?: (("user" | "service-account") & {
2160
1685
  readonly?: "__readonly" | undefined;
2161
1686
  }) | undefined;
2162
- };
1687
+ }[];
1688
+ program: string;
1689
+ version: string;
1690
+ datetime: string;
1691
+ status: string;
1692
+ code?: number | undefined;
1693
+ message: string;
2163
1694
  }, any>>;
2164
1695
  setRole: (params: {
2165
1696
  id: string;
@@ -2167,33 +1698,29 @@ export default class {
2167
1698
  id: string;
2168
1699
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2169
1700
  status: "success";
2170
- program: string;
2171
- version: string;
2172
- datetime: string;
2173
- code?: number | undefined;
2174
- message: string;
1701
+ } & {
2175
1702
  data: {
2176
- readonly companyId: string & {
1703
+ readonly id: string & {
2177
1704
  readonly?: "__readonly" | undefined;
2178
1705
  };
2179
1706
  readonly roleId: string & {
2180
1707
  readonly?: "__readonly" | undefined;
2181
1708
  };
2182
1709
  readonly resourceGroupIds: string[];
2183
- readonly id: string & {
1710
+ readonly companyId: string & {
2184
1711
  readonly?: "__readonly" | undefined;
2185
1712
  };
2186
- email: string;
2187
1713
  readonly createdAt: string & {
2188
1714
  readonly?: "__readonly" | undefined;
2189
1715
  };
2190
1716
  readonly updatedAt: string & {
2191
1717
  readonly?: "__readonly" | undefined;
2192
1718
  };
2193
- readonly lastPasswordUpdate: string & {
1719
+ readonly disabled: boolean & {
2194
1720
  readonly?: "__readonly" | undefined;
2195
1721
  };
2196
- readonly disabled: boolean & {
1722
+ email: string;
1723
+ readonly lastPasswordUpdate: string & {
2197
1724
  readonly?: "__readonly" | undefined;
2198
1725
  };
2199
1726
  readonly mustUpdatePassword: boolean & {
@@ -2221,10 +1748,16 @@ export default class {
2221
1748
  readonly hasOtp: boolean & {
2222
1749
  readonly?: "__readonly" | undefined;
2223
1750
  };
2224
- readonly accountType?: (("service-account" | "user") & {
1751
+ readonly accountType?: (("user" | "service-account") & {
2225
1752
  readonly?: "__readonly" | undefined;
2226
1753
  }) | undefined;
2227
- };
1754
+ }[];
1755
+ program: string;
1756
+ version: string;
1757
+ datetime: string;
1758
+ status: string;
1759
+ code?: number | undefined;
1760
+ message: string;
2228
1761
  }, any>>;
2229
1762
  setResourceGroups: (params: {
2230
1763
  id: string;
@@ -2232,33 +1765,29 @@ export default class {
2232
1765
  ids: string[];
2233
1766
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2234
1767
  status: "success";
2235
- program: string;
2236
- version: string;
2237
- datetime: string;
2238
- code?: number | undefined;
2239
- message: string;
1768
+ } & {
2240
1769
  data: {
2241
- readonly companyId: string & {
1770
+ readonly id: string & {
2242
1771
  readonly?: "__readonly" | undefined;
2243
1772
  };
2244
1773
  readonly roleId: string & {
2245
1774
  readonly?: "__readonly" | undefined;
2246
1775
  };
2247
1776
  readonly resourceGroupIds: string[];
2248
- readonly id: string & {
1777
+ readonly companyId: string & {
2249
1778
  readonly?: "__readonly" | undefined;
2250
1779
  };
2251
- email: string;
2252
1780
  readonly createdAt: string & {
2253
1781
  readonly?: "__readonly" | undefined;
2254
1782
  };
2255
1783
  readonly updatedAt: string & {
2256
1784
  readonly?: "__readonly" | undefined;
2257
1785
  };
2258
- readonly lastPasswordUpdate: string & {
1786
+ readonly disabled: boolean & {
2259
1787
  readonly?: "__readonly" | undefined;
2260
1788
  };
2261
- readonly disabled: boolean & {
1789
+ email: string;
1790
+ readonly lastPasswordUpdate: string & {
2262
1791
  readonly?: "__readonly" | undefined;
2263
1792
  };
2264
1793
  readonly mustUpdatePassword: boolean & {
@@ -2286,10 +1815,16 @@ export default class {
2286
1815
  readonly hasOtp: boolean & {
2287
1816
  readonly?: "__readonly" | undefined;
2288
1817
  };
2289
- readonly accountType?: (("service-account" | "user") & {
1818
+ readonly accountType?: (("user" | "service-account") & {
2290
1819
  readonly?: "__readonly" | undefined;
2291
1820
  }) | undefined;
2292
- };
1821
+ }[];
1822
+ program: string;
1823
+ version: string;
1824
+ datetime: string;
1825
+ status: string;
1826
+ code?: number | undefined;
1827
+ message: string;
2293
1828
  }, any>>;
2294
1829
  setOtp: (params: {
2295
1830
  id: string;
@@ -2302,33 +1837,29 @@ export default class {
2302
1837
  code: string;
2303
1838
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2304
1839
  status: "success";
2305
- program: string;
2306
- version: string;
2307
- datetime: string;
2308
- code?: number | undefined;
2309
- message: string;
1840
+ } & {
2310
1841
  data: {
2311
- readonly companyId: string & {
1842
+ readonly id: string & {
2312
1843
  readonly?: "__readonly" | undefined;
2313
1844
  };
2314
1845
  readonly roleId: string & {
2315
1846
  readonly?: "__readonly" | undefined;
2316
1847
  };
2317
1848
  readonly resourceGroupIds: string[];
2318
- readonly id: string & {
1849
+ readonly companyId: string & {
2319
1850
  readonly?: "__readonly" | undefined;
2320
1851
  };
2321
- email: string;
2322
1852
  readonly createdAt: string & {
2323
1853
  readonly?: "__readonly" | undefined;
2324
1854
  };
2325
1855
  readonly updatedAt: string & {
2326
1856
  readonly?: "__readonly" | undefined;
2327
1857
  };
2328
- readonly lastPasswordUpdate: string & {
1858
+ readonly disabled: boolean & {
2329
1859
  readonly?: "__readonly" | undefined;
2330
1860
  };
2331
- readonly disabled: boolean & {
1861
+ email: string;
1862
+ readonly lastPasswordUpdate: string & {
2332
1863
  readonly?: "__readonly" | undefined;
2333
1864
  };
2334
1865
  readonly mustUpdatePassword: boolean & {
@@ -2356,10 +1887,16 @@ export default class {
2356
1887
  readonly hasOtp: boolean & {
2357
1888
  readonly?: "__readonly" | undefined;
2358
1889
  };
2359
- readonly accountType?: (("service-account" | "user") & {
1890
+ readonly accountType?: (("user" | "service-account") & {
2360
1891
  readonly?: "__readonly" | undefined;
2361
1892
  }) | undefined;
2362
- };
1893
+ }[];
1894
+ program: string;
1895
+ version: string;
1896
+ datetime: string;
1897
+ status: string;
1898
+ code?: number | undefined;
1899
+ message: string;
2363
1900
  }, any>>;
2364
1901
  };
2365
1902
  }