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

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
@@ -45,12 +45,14 @@ export default class {
45
45
  email?: string | undefined;
46
46
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
47
47
  status: "success";
48
+ } & {
49
+ data: unknown;
48
50
  program: string;
49
51
  version: string;
50
52
  datetime: string;
53
+ status: string;
51
54
  code?: number | undefined;
52
55
  message: string;
53
- data: {};
54
56
  }, any>>;
55
57
  oauthRedirect: (params: {
56
58
  provider: Providers;
@@ -58,12 +60,14 @@ export default class {
58
60
  companyName?: string | undefined;
59
61
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
60
62
  status: "success";
63
+ } & {
64
+ data: unknown;
61
65
  program: string;
62
66
  version: string;
63
67
  datetime: string;
68
+ status: string;
64
69
  code?: number | undefined;
65
70
  message: string;
66
- data: {};
67
71
  }, any>>;
68
72
  oauthCallback: (params: {
69
73
  provider: Providers;
@@ -71,45 +75,53 @@ export default class {
71
75
  state: string;
72
76
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
73
77
  status: "success";
78
+ } & {
79
+ data: unknown;
74
80
  program: string;
75
81
  version: string;
76
82
  datetime: string;
83
+ status: string;
77
84
  code?: number | undefined;
78
85
  message: string;
79
- data: {};
80
86
  }, any>>;
81
87
  ssoRedirect: (params: {
82
88
  domain: string;
83
89
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
84
90
  status: "success";
91
+ } & {
92
+ data: unknown;
85
93
  program: string;
86
94
  version: string;
87
95
  datetime: string;
96
+ status: string;
88
97
  code?: number | undefined;
89
98
  message: string;
90
- data: {};
91
99
  }, any>>;
92
100
  ssoCallback: (params: {
93
101
  company: string;
94
102
  }, data: any, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
95
103
  status: "success";
104
+ } & {
105
+ data: unknown;
96
106
  program: string;
97
107
  version: string;
98
108
  datetime: string;
109
+ status: string;
99
110
  code?: number | undefined;
100
111
  message: string;
101
- data: {};
102
112
  }, any>>;
103
113
  ssoMetadata: (params: {
104
114
  company: string;
105
115
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
106
116
  status: "success";
117
+ } & {
118
+ data: unknown;
107
119
  program: string;
108
120
  version: string;
109
121
  datetime: string;
122
+ status: string;
110
123
  code?: number | undefined;
111
124
  message: string;
112
- data: string;
113
125
  }, any>>;
114
126
  getToken: (params: Record<string, never>, data: {
115
127
  client_id: string;
@@ -131,107 +143,47 @@ export default class {
131
143
  token: string;
132
144
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
133
145
  status: "success";
146
+ } & {
147
+ data: unknown;
134
148
  program: string;
135
149
  version: string;
136
150
  datetime: string;
151
+ status: string;
137
152
  code?: number | undefined;
138
153
  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
154
  }, any>>;
198
155
  revokeToken: (params: {
199
156
  token: string;
200
157
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
201
158
  status: "success";
159
+ } & {
160
+ data: unknown;
202
161
  program: string;
203
162
  version: string;
204
163
  datetime: string;
164
+ status: string;
205
165
  code?: number | undefined;
206
166
  message: string;
207
- data: {
208
- revoked: boolean;
209
- };
210
167
  }, any>>;
211
168
  };
212
169
  get Company(): {
213
170
  getDefaults: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
214
171
  status: "success";
172
+ } & {
173
+ data: unknown;
215
174
  program: string;
216
175
  version: string;
217
176
  datetime: string;
177
+ status: string;
218
178
  code?: number | undefined;
219
179
  message: string;
220
- data: {
221
- roleId: string;
222
- resourceGroupIds: string[];
223
- };
224
180
  }, any>>;
225
181
  setDefaults: (params: Record<string, never>, data: {
226
182
  roleId?: string | undefined;
227
183
  resourceGroupIds?: string[] | undefined;
228
184
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
229
185
  status: "success";
230
- program: string;
231
- version: string;
232
- datetime: string;
233
- code?: number | undefined;
234
- message: string;
186
+ } & {
235
187
  data: {
236
188
  readonly id: string & {
237
189
  readonly?: "__readonly" | undefined;
@@ -259,15 +211,14 @@ export default class {
259
211
  timeLockAfterNextAttempts?: number | undefined;
260
212
  infiniteTimeLock?: boolean | undefined;
261
213
  } | undefined;
214
+ defaultRoleId: string;
215
+ defaultResourceGroupIds: string[];
262
216
  readonly createdAt: string & {
263
217
  readonly?: "__readonly" | undefined;
264
218
  };
265
219
  readonly updatedAt: string & {
266
220
  readonly?: "__readonly" | undefined;
267
221
  };
268
- disabled: boolean;
269
- defaultRoleId: string;
270
- defaultResourceGroupIds: string[];
271
222
  name: string;
272
223
  address?: {
273
224
  line1?: string | undefined;
@@ -282,6 +233,7 @@ export default class {
282
233
  } | undefined;
283
234
  securityPolicy: {
284
235
  password: {
236
+ duration: number;
285
237
  rules: {
286
238
  options: {
287
239
  maximum?: number | undefined;
@@ -289,7 +241,6 @@ export default class {
289
241
  };
290
242
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
291
243
  }[];
292
- duration: number;
293
244
  attempts: {
294
245
  maximum: number;
295
246
  lockDuration: number;
@@ -356,8 +307,8 @@ export default class {
356
307
  signatureConfig?: {
357
308
  prefix?: string | undefined;
358
309
  location?: {
359
- reference?: string | undefined;
360
310
  action?: "append" | "prepend" | "before" | "after" | undefined;
311
+ reference?: string | undefined;
361
312
  } | undefined;
362
313
  } | undefined;
363
314
  loginRequestTemplate?: {
@@ -447,8 +398,8 @@ export default class {
447
398
  signatureConfig?: {
448
399
  prefix?: string | undefined;
449
400
  location?: {
450
- reference?: string | undefined;
451
401
  action?: "append" | "prepend" | "before" | "after" | undefined;
402
+ reference?: string | undefined;
452
403
  } | undefined;
453
404
  } | undefined;
454
405
  loginRequestTemplate?: {
@@ -512,20 +463,23 @@ export default class {
512
463
  add_cart: string | string[];
513
464
  purchase: string | string[];
514
465
  };
466
+ disabled: boolean;
515
467
  meta: {
516
468
  [x: string]: string | number | boolean;
517
469
  };
518
470
  };
519
- }, any>>;
520
- get: (params: {
521
- id: string;
522
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
523
- status: "success";
524
471
  program: string;
525
472
  version: string;
526
473
  datetime: string;
474
+ status: string;
527
475
  code?: number | undefined;
528
476
  message: string;
477
+ }, any>>;
478
+ get: (params: {
479
+ id: string;
480
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
481
+ status: "success";
482
+ } & {
529
483
  data: {
530
484
  readonly id: string & {
531
485
  readonly?: "__readonly" | undefined;
@@ -553,15 +507,14 @@ export default class {
553
507
  timeLockAfterNextAttempts?: number | undefined;
554
508
  infiniteTimeLock?: boolean | undefined;
555
509
  } | undefined;
510
+ defaultRoleId: string;
511
+ defaultResourceGroupIds: string[];
556
512
  readonly createdAt: string & {
557
513
  readonly?: "__readonly" | undefined;
558
514
  };
559
515
  readonly updatedAt: string & {
560
516
  readonly?: "__readonly" | undefined;
561
517
  };
562
- disabled: boolean;
563
- defaultRoleId: string;
564
- defaultResourceGroupIds: string[];
565
518
  name: string;
566
519
  address?: {
567
520
  line1?: string | undefined;
@@ -576,6 +529,7 @@ export default class {
576
529
  } | undefined;
577
530
  securityPolicy: {
578
531
  password: {
532
+ duration: number;
579
533
  rules: {
580
534
  options: {
581
535
  maximum?: number | undefined;
@@ -583,7 +537,6 @@ export default class {
583
537
  };
584
538
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
585
539
  }[];
586
- duration: number;
587
540
  attempts: {
588
541
  maximum: number;
589
542
  lockDuration: number;
@@ -650,8 +603,8 @@ export default class {
650
603
  signatureConfig?: {
651
604
  prefix?: string | undefined;
652
605
  location?: {
653
- reference?: string | undefined;
654
606
  action?: "append" | "prepend" | "before" | "after" | undefined;
607
+ reference?: string | undefined;
655
608
  } | undefined;
656
609
  } | undefined;
657
610
  loginRequestTemplate?: {
@@ -741,8 +694,8 @@ export default class {
741
694
  signatureConfig?: {
742
695
  prefix?: string | undefined;
743
696
  location?: {
744
- reference?: string | undefined;
745
697
  action?: "append" | "prepend" | "before" | "after" | undefined;
698
+ reference?: string | undefined;
746
699
  } | undefined;
747
700
  } | undefined;
748
701
  loginRequestTemplate?: {
@@ -806,10 +759,17 @@ export default class {
806
759
  add_cart: string | string[];
807
760
  purchase: string | string[];
808
761
  };
762
+ disabled: boolean;
809
763
  meta: {
810
764
  [x: string]: string | number | boolean;
811
765
  };
812
766
  };
767
+ program: string;
768
+ version: string;
769
+ datetime: string;
770
+ status: string;
771
+ code?: number | undefined;
772
+ message: string;
813
773
  }, any>>;
814
774
  update: (params: {
815
775
  id: string;
@@ -827,15 +787,11 @@ export default class {
827
787
  };
828
788
  }[] | undefined;
829
789
  meta?: {
830
- [x: string]: string | number | boolean;
790
+ [key: string]: string | number | boolean;
831
791
  } | undefined;
832
792
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
833
793
  status: "success";
834
- program: string;
835
- version: string;
836
- datetime: string;
837
- code?: number | undefined;
838
- message: string;
794
+ } & {
839
795
  data: {
840
796
  readonly id: string & {
841
797
  readonly?: "__readonly" | undefined;
@@ -863,15 +819,14 @@ export default class {
863
819
  timeLockAfterNextAttempts?: number | undefined;
864
820
  infiniteTimeLock?: boolean | undefined;
865
821
  } | undefined;
822
+ defaultRoleId: string;
823
+ defaultResourceGroupIds: string[];
866
824
  readonly createdAt: string & {
867
825
  readonly?: "__readonly" | undefined;
868
826
  };
869
827
  readonly updatedAt: string & {
870
828
  readonly?: "__readonly" | undefined;
871
829
  };
872
- disabled: boolean;
873
- defaultRoleId: string;
874
- defaultResourceGroupIds: string[];
875
830
  name: string;
876
831
  address?: {
877
832
  line1?: string | undefined;
@@ -886,6 +841,7 @@ export default class {
886
841
  } | undefined;
887
842
  securityPolicy: {
888
843
  password: {
844
+ duration: number;
889
845
  rules: {
890
846
  options: {
891
847
  maximum?: number | undefined;
@@ -893,7 +849,6 @@ export default class {
893
849
  };
894
850
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
895
851
  }[];
896
- duration: number;
897
852
  attempts: {
898
853
  maximum: number;
899
854
  lockDuration: number;
@@ -960,8 +915,8 @@ export default class {
960
915
  signatureConfig?: {
961
916
  prefix?: string | undefined;
962
917
  location?: {
963
- reference?: string | undefined;
964
918
  action?: "append" | "prepend" | "before" | "after" | undefined;
919
+ reference?: string | undefined;
965
920
  } | undefined;
966
921
  } | undefined;
967
922
  loginRequestTemplate?: {
@@ -1051,8 +1006,8 @@ export default class {
1051
1006
  signatureConfig?: {
1052
1007
  prefix?: string | undefined;
1053
1008
  location?: {
1054
- reference?: string | undefined;
1055
1009
  action?: "append" | "prepend" | "before" | "after" | undefined;
1010
+ reference?: string | undefined;
1056
1011
  } | undefined;
1057
1012
  } | undefined;
1058
1013
  loginRequestTemplate?: {
@@ -1116,10 +1071,17 @@ export default class {
1116
1071
  add_cart: string | string[];
1117
1072
  purchase: string | string[];
1118
1073
  };
1074
+ disabled: boolean;
1119
1075
  meta: {
1120
1076
  [x: string]: string | number | boolean;
1121
1077
  };
1122
1078
  };
1079
+ program: string;
1080
+ version: string;
1081
+ datetime: string;
1082
+ status: string;
1083
+ code?: number | undefined;
1084
+ message: string;
1123
1085
  }, any>>;
1124
1086
  create: (params: Record<string, never>, data: {
1125
1087
  type: "freetrial";
@@ -1149,15 +1111,14 @@ export default class {
1149
1111
  };
1150
1112
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1151
1113
  status: "success";
1114
+ } & {
1115
+ data: unknown;
1152
1116
  program: string;
1153
1117
  version: string;
1154
1118
  datetime: string;
1119
+ status: string;
1155
1120
  code?: number | undefined;
1156
1121
  message: string;
1157
- data: {
1158
- companyId: string;
1159
- invitationId: string;
1160
- };
1161
1122
  }, any>>;
1162
1123
  };
1163
1124
  get Invitation(): {
@@ -1169,21 +1130,18 @@ export default class {
1169
1130
  paginationCount: number;
1170
1131
  paginationPage: number;
1171
1132
  paginationLimit: number;
1133
+ } & {
1172
1134
  status: "success";
1173
- program: string;
1174
- version: string;
1175
- datetime: string;
1176
- code?: number | undefined;
1177
- message: string;
1135
+ } & {
1178
1136
  data: {
1179
- readonly companyId: string & {
1137
+ readonly id: string & {
1180
1138
  readonly?: "__readonly" | undefined;
1181
1139
  };
1182
1140
  readonly roleId: string & {
1183
1141
  readonly?: "__readonly" | undefined;
1184
1142
  };
1185
1143
  readonly resourceGroupIds: string[];
1186
- readonly id: string & {
1144
+ readonly companyId: string & {
1187
1145
  readonly?: "__readonly" | undefined;
1188
1146
  };
1189
1147
  readonly email: string & {
@@ -1193,6 +1151,12 @@ export default class {
1193
1151
  createdAt: string;
1194
1152
  usedAt?: string | undefined;
1195
1153
  }[];
1154
+ program: string;
1155
+ version: string;
1156
+ datetime: string;
1157
+ status: string;
1158
+ code?: number | undefined;
1159
+ message: string;
1196
1160
  }, any>>;
1197
1161
  create: (params: Record<string, never>, data: {
1198
1162
  email: string;
@@ -1200,20 +1164,16 @@ export default class {
1200
1164
  roleId?: string | undefined;
1201
1165
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1202
1166
  status: "success";
1203
- program: string;
1204
- version: string;
1205
- datetime: string;
1206
- code?: number | undefined;
1207
- message: string;
1167
+ } & {
1208
1168
  data: {
1209
- readonly companyId: string & {
1169
+ readonly id: string & {
1210
1170
  readonly?: "__readonly" | undefined;
1211
1171
  };
1212
1172
  readonly roleId: string & {
1213
1173
  readonly?: "__readonly" | undefined;
1214
1174
  };
1215
1175
  readonly resourceGroupIds: string[];
1216
- readonly id: string & {
1176
+ readonly companyId: string & {
1217
1177
  readonly?: "__readonly" | undefined;
1218
1178
  };
1219
1179
  readonly email: string & {
@@ -1222,26 +1182,28 @@ export default class {
1222
1182
  state: InvitationState;
1223
1183
  createdAt: string;
1224
1184
  usedAt?: string | undefined;
1225
- };
1226
- }, any>>;
1227
- delete: (params: {
1228
- id: string;
1229
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1230
- status: "success";
1185
+ }[];
1231
1186
  program: string;
1232
1187
  version: string;
1233
1188
  datetime: string;
1189
+ status: string;
1234
1190
  code?: number | undefined;
1235
1191
  message: string;
1192
+ }, any>>;
1193
+ delete: (params: {
1194
+ id: string;
1195
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1196
+ status: "success";
1197
+ } & {
1236
1198
  data: {
1237
- readonly companyId: string & {
1199
+ readonly id: string & {
1238
1200
  readonly?: "__readonly" | undefined;
1239
1201
  };
1240
1202
  readonly roleId: string & {
1241
1203
  readonly?: "__readonly" | undefined;
1242
1204
  };
1243
1205
  readonly resourceGroupIds: string[];
1244
- readonly id: string & {
1206
+ readonly companyId: string & {
1245
1207
  readonly?: "__readonly" | undefined;
1246
1208
  };
1247
1209
  readonly email: string & {
@@ -1250,63 +1212,72 @@ export default class {
1250
1212
  state: InvitationState;
1251
1213
  createdAt: string;
1252
1214
  usedAt?: string | undefined;
1253
- };
1215
+ }[];
1216
+ program: string;
1217
+ version: string;
1218
+ datetime: string;
1219
+ status: string;
1220
+ code?: number | undefined;
1221
+ message: string;
1254
1222
  }, any>>;
1255
1223
  use: (params: {
1256
1224
  id: string;
1257
1225
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1258
1226
  status: "success";
1227
+ } & {
1228
+ data: unknown;
1259
1229
  program: string;
1260
1230
  version: string;
1261
1231
  datetime: string;
1232
+ status: string;
1262
1233
  code?: number | undefined;
1263
1234
  message: string;
1264
- data: {
1265
- id: string;
1266
- };
1267
1235
  }, any>>;
1268
1236
  };
1269
1237
  get ResourceGroup(): {
1270
1238
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1271
1239
  status: "success";
1272
- program: string;
1273
- version: string;
1274
- datetime: string;
1275
- code?: number | undefined;
1276
- message: string;
1277
- data: ({
1278
- readonly companyId: string & {
1240
+ } & {
1241
+ data: {
1242
+ readonly id: string & {
1279
1243
  readonly?: "__readonly" | undefined;
1280
1244
  };
1281
- readonly id: string & {
1245
+ readonly companyId: string & {
1282
1246
  readonly?: "__readonly" | undefined;
1283
1247
  };
1284
1248
  name: string;
1285
1249
  color?: string | undefined;
1286
- } & {
1287
1250
  usersCount: number;
1288
- })[];
1251
+ }[];
1252
+ program: string;
1253
+ version: string;
1254
+ datetime: string;
1255
+ status: string;
1256
+ code?: number | undefined;
1257
+ message: string;
1289
1258
  }, any>>;
1290
1259
  create: (params: Record<string, never>, data: {
1291
1260
  name: string;
1292
1261
  color?: string | undefined;
1293
1262
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1294
1263
  status: "success";
1295
- program: string;
1296
- version: string;
1297
- datetime: string;
1298
- code?: number | undefined;
1299
- message: string;
1264
+ } & {
1300
1265
  data: {
1301
- readonly companyId: string & {
1266
+ readonly id: string & {
1302
1267
  readonly?: "__readonly" | undefined;
1303
1268
  };
1304
- readonly id: string & {
1269
+ readonly companyId: string & {
1305
1270
  readonly?: "__readonly" | undefined;
1306
1271
  };
1307
1272
  name: string;
1308
1273
  color?: string | undefined;
1309
1274
  };
1275
+ program: string;
1276
+ version: string;
1277
+ datetime: string;
1278
+ status: string;
1279
+ code?: number | undefined;
1280
+ message: string;
1310
1281
  }, any>>;
1311
1282
  update: (params: {
1312
1283
  id: string;
@@ -1315,165 +1286,176 @@ export default class {
1315
1286
  color?: string | undefined;
1316
1287
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1317
1288
  status: "success";
1318
- program: string;
1319
- version: string;
1320
- datetime: string;
1321
- code?: number | undefined;
1322
- message: string;
1289
+ } & {
1323
1290
  data: {
1324
- readonly companyId: string & {
1291
+ readonly id: string & {
1325
1292
  readonly?: "__readonly" | undefined;
1326
1293
  };
1327
- readonly id: string & {
1294
+ readonly companyId: string & {
1328
1295
  readonly?: "__readonly" | undefined;
1329
1296
  };
1330
1297
  name: string;
1331
1298
  color?: string | undefined;
1332
1299
  };
1300
+ program: string;
1301
+ version: string;
1302
+ datetime: string;
1303
+ status: string;
1304
+ code?: number | undefined;
1305
+ message: string;
1333
1306
  }, any>>;
1334
1307
  delete: (params: {
1335
1308
  id: string;
1336
1309
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1337
1310
  status: "success";
1311
+ } & {
1312
+ data: unknown;
1338
1313
  program: string;
1339
1314
  version: string;
1340
1315
  datetime: string;
1316
+ status: string;
1341
1317
  code?: number | undefined;
1342
1318
  message: string;
1343
- data: {};
1344
1319
  }, any>>;
1345
1320
  };
1346
1321
  get Role(): {
1347
1322
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1348
1323
  status: "success";
1349
- program: string;
1350
- version: string;
1351
- datetime: string;
1352
- code?: number | undefined;
1353
- message: string;
1354
- data: ({
1324
+ } & {
1325
+ data: {
1355
1326
  readonly companyId: string & {
1356
1327
  readonly?: "__readonly" | undefined;
1357
1328
  };
1358
1329
  name: string;
1359
1330
  rules: {
1360
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1361
1331
  fields?: string[] | undefined;
1362
1332
  conditions?: {
1363
1333
  [x: string]: unknown;
1364
1334
  } | undefined;
1365
1335
  inverted?: boolean | undefined;
1366
1336
  reason?: string | undefined;
1337
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1367
1338
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1368
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1339
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1369
1340
  field: string;
1370
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1341
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1371
1342
  })[] | undefined;
1372
1343
  }[];
1373
- } & {
1374
1344
  usersCount: number;
1375
- })[];
1345
+ }[];
1346
+ program: string;
1347
+ version: string;
1348
+ datetime: string;
1349
+ status: string;
1350
+ code?: number | undefined;
1351
+ message: string;
1376
1352
  }, any>>;
1377
1353
  create: (params: Record<string, never>, data: {
1378
1354
  name: string;
1379
1355
  rules: {
1380
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1381
1356
  fields?: string[] | undefined;
1382
1357
  conditions?: {
1383
1358
  [x: string]: unknown;
1384
1359
  } | undefined;
1385
1360
  inverted?: boolean | undefined;
1386
1361
  reason?: string | undefined;
1362
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1387
1363
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1388
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1364
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1389
1365
  field: string;
1390
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1366
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1391
1367
  })[] | undefined;
1392
1368
  }[];
1393
1369
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1394
1370
  status: "success";
1395
- program: string;
1396
- version: string;
1397
- datetime: string;
1398
- code?: number | undefined;
1399
- message: string;
1371
+ } & {
1400
1372
  data: {
1401
1373
  readonly companyId: string & {
1402
1374
  readonly?: "__readonly" | undefined;
1403
1375
  };
1404
1376
  name: string;
1405
1377
  rules: {
1406
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1407
1378
  fields?: string[] | undefined;
1408
1379
  conditions?: {
1409
1380
  [x: string]: unknown;
1410
1381
  } | undefined;
1411
1382
  inverted?: boolean | undefined;
1412
1383
  reason?: string | undefined;
1384
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1413
1385
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1414
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1386
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1415
1387
  field: string;
1416
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1388
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1417
1389
  })[] | undefined;
1418
1390
  }[];
1419
- };
1391
+ }[];
1392
+ program: string;
1393
+ version: string;
1394
+ datetime: string;
1395
+ status: string;
1396
+ code?: number | undefined;
1397
+ message: string;
1420
1398
  }, any>>;
1421
1399
  update: (params: {
1422
1400
  id: string;
1423
1401
  }, data: {
1424
1402
  name?: string | undefined;
1425
1403
  rules?: {
1426
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1427
1404
  fields?: string[] | undefined;
1428
1405
  conditions?: {
1429
1406
  [x: string]: unknown;
1430
1407
  } | undefined;
1431
1408
  inverted?: boolean | undefined;
1432
1409
  reason?: string | undefined;
1410
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1433
1411
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1434
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1412
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1435
1413
  field: string;
1436
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1414
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1437
1415
  })[] | undefined;
1438
1416
  }[] | undefined;
1439
1417
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1440
1418
  status: "success";
1441
- program: string;
1442
- version: string;
1443
- datetime: string;
1444
- code?: number | undefined;
1445
- message: string;
1419
+ } & {
1446
1420
  data: {
1447
1421
  readonly companyId: string & {
1448
1422
  readonly?: "__readonly" | undefined;
1449
1423
  };
1450
1424
  name: string;
1451
1425
  rules: {
1452
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1453
1426
  fields?: string[] | undefined;
1454
1427
  conditions?: {
1455
1428
  [x: string]: unknown;
1456
1429
  } | undefined;
1457
1430
  inverted?: boolean | undefined;
1458
1431
  reason?: string | undefined;
1432
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1459
1433
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1460
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1434
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1461
1435
  field: string;
1462
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1436
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1463
1437
  })[] | undefined;
1464
1438
  }[];
1465
- };
1439
+ }[];
1440
+ program: string;
1441
+ version: string;
1442
+ datetime: string;
1443
+ status: string;
1444
+ code?: number | undefined;
1445
+ message: string;
1466
1446
  }, any>>;
1467
1447
  delete: (params: {
1468
1448
  id: string;
1469
1449
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1470
1450
  status: "success";
1451
+ } & {
1452
+ data: unknown;
1471
1453
  program: string;
1472
1454
  version: string;
1473
1455
  datetime: string;
1456
+ status: string;
1474
1457
  code?: number | undefined;
1475
1458
  message: string;
1476
- data: {};
1477
1459
  }, any>>;
1478
1460
  };
1479
1461
  get User(): {
@@ -1484,21 +1466,18 @@ export default class {
1484
1466
  paginationCount: number;
1485
1467
  paginationPage: number;
1486
1468
  paginationLimit: number;
1469
+ } & {
1487
1470
  status: "success";
1488
- program: string;
1489
- version: string;
1490
- datetime: string;
1491
- code?: number | undefined;
1492
- message: string;
1471
+ } & {
1493
1472
  data: {
1494
- readonly companyId: string & {
1473
+ readonly id: string & {
1495
1474
  readonly?: "__readonly" | undefined;
1496
1475
  };
1497
1476
  readonly roleId: string & {
1498
1477
  readonly?: "__readonly" | undefined;
1499
1478
  };
1500
1479
  readonly resourceGroupIds: string[];
1501
- readonly id: string & {
1480
+ readonly companyId: string & {
1502
1481
  readonly?: "__readonly" | undefined;
1503
1482
  };
1504
1483
  email: string;
@@ -1508,10 +1487,10 @@ export default class {
1508
1487
  readonly updatedAt: string & {
1509
1488
  readonly?: "__readonly" | undefined;
1510
1489
  };
1511
- readonly lastPasswordUpdate: string & {
1490
+ readonly disabled: boolean & {
1512
1491
  readonly?: "__readonly" | undefined;
1513
1492
  };
1514
- readonly disabled: boolean & {
1493
+ readonly lastPasswordUpdate: string & {
1515
1494
  readonly?: "__readonly" | undefined;
1516
1495
  };
1517
1496
  readonly mustUpdatePassword: boolean & {
@@ -1539,10 +1518,16 @@ export default class {
1539
1518
  readonly hasOtp: boolean & {
1540
1519
  readonly?: "__readonly" | undefined;
1541
1520
  };
1542
- readonly accountType?: (("service-account" | "user") & {
1521
+ readonly accountType?: (("user" | "service-account") & {
1543
1522
  readonly?: "__readonly" | undefined;
1544
1523
  }) | undefined;
1545
1524
  }[];
1525
+ program: string;
1526
+ version: string;
1527
+ datetime: string;
1528
+ status: string;
1529
+ code?: number | undefined;
1530
+ message: string;
1546
1531
  }, any>>;
1547
1532
  create: (params: Record<string, never>, data: {
1548
1533
  invitationId: string;
@@ -1563,350 +1548,14 @@ export default class {
1563
1548
  password: string;
1564
1549
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1565
1550
  status: "success";
1551
+ } & {
1552
+ data: unknown;
1566
1553
  program: string;
1567
1554
  version: string;
1568
1555
  datetime: string;
1556
+ status: string;
1569
1557
  code?: number | undefined;
1570
1558
  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
1559
  }, any>>;
1911
1560
  updatePassword: (params: Record<string, never>, data: ({
1912
1561
  email: string;
@@ -1920,20 +1569,16 @@ export default class {
1920
1569
  currentPassword: string;
1921
1570
  }), options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1922
1571
  status: "success";
1923
- program: string;
1924
- version: string;
1925
- datetime: string;
1926
- code?: number | undefined;
1927
- message: string;
1572
+ } & {
1928
1573
  data: {
1929
- readonly companyId: string & {
1574
+ readonly id: string & {
1930
1575
  readonly?: "__readonly" | undefined;
1931
1576
  };
1932
1577
  readonly roleId: string & {
1933
1578
  readonly?: "__readonly" | undefined;
1934
1579
  };
1935
1580
  readonly resourceGroupIds: string[];
1936
- readonly id: string & {
1581
+ readonly companyId: string & {
1937
1582
  readonly?: "__readonly" | undefined;
1938
1583
  };
1939
1584
  email: string;
@@ -1943,10 +1588,10 @@ export default class {
1943
1588
  readonly updatedAt: string & {
1944
1589
  readonly?: "__readonly" | undefined;
1945
1590
  };
1946
- readonly lastPasswordUpdate: string & {
1591
+ readonly disabled: boolean & {
1947
1592
  readonly?: "__readonly" | undefined;
1948
1593
  };
1949
- readonly disabled: boolean & {
1594
+ readonly lastPasswordUpdate: string & {
1950
1595
  readonly?: "__readonly" | undefined;
1951
1596
  };
1952
1597
  readonly mustUpdatePassword: boolean & {
@@ -1974,49 +1619,34 @@ export default class {
1974
1619
  readonly hasOtp: boolean & {
1975
1620
  readonly?: "__readonly" | undefined;
1976
1621
  };
1977
- readonly accountType?: (("service-account" | "user") & {
1622
+ readonly accountType?: (("user" | "service-account") & {
1978
1623
  readonly?: "__readonly" | undefined;
1979
1624
  }) | undefined;
1980
- };
1625
+ }[];
1626
+ program: string;
1627
+ version: string;
1628
+ datetime: string;
1629
+ status: string;
1630
+ code?: number | undefined;
1631
+ message: string;
1981
1632
  }, any>>;
1982
1633
  resetPassword: (params: Record<string, never>, data: {
1983
1634
  email: string;
1984
1635
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1985
1636
  status: "success";
1637
+ } & {
1638
+ data: unknown;
1986
1639
  program: string;
1987
1640
  version: string;
1988
1641
  datetime: string;
1642
+ status: string;
1989
1643
  code?: number | undefined;
1990
1644
  message: string;
1991
- data: {};
1992
1645
  }, any>>;
1993
1646
  update: (params: {
1994
1647
  id: string;
1995
1648
  }, data: {
1996
- readonly id?: (string & {
1997
- readonly?: "__readonly" | undefined;
1998
- }) | undefined;
1999
1649
  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
1650
  profile?: {
2021
1651
  firstname?: string | undefined;
2022
1652
  lastname?: string | undefined;
@@ -2031,28 +1661,18 @@ export default class {
2031
1661
  campaign?: string | undefined;
2032
1662
  } | undefined;
2033
1663
  } | undefined;
2034
- readonly hasOtp?: (boolean & {
2035
- readonly?: "__readonly" | undefined;
2036
- }) | undefined;
2037
- readonly accountType?: (("service-account" | "user") & {
2038
- readonly?: "__readonly" | undefined;
2039
- }) | undefined;
2040
1664
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2041
1665
  status: "success";
2042
- program: string;
2043
- version: string;
2044
- datetime: string;
2045
- code?: number | undefined;
2046
- message: string;
1666
+ } & {
2047
1667
  data: {
2048
- readonly companyId: string & {
1668
+ readonly id: string & {
2049
1669
  readonly?: "__readonly" | undefined;
2050
1670
  };
2051
1671
  readonly roleId: string & {
2052
1672
  readonly?: "__readonly" | undefined;
2053
1673
  };
2054
1674
  readonly resourceGroupIds: string[];
2055
- readonly id: string & {
1675
+ readonly companyId: string & {
2056
1676
  readonly?: "__readonly" | undefined;
2057
1677
  };
2058
1678
  email: string;
@@ -2062,10 +1682,10 @@ export default class {
2062
1682
  readonly updatedAt: string & {
2063
1683
  readonly?: "__readonly" | undefined;
2064
1684
  };
2065
- readonly lastPasswordUpdate: string & {
1685
+ readonly disabled: boolean & {
2066
1686
  readonly?: "__readonly" | undefined;
2067
1687
  };
2068
- readonly disabled: boolean & {
1688
+ readonly lastPasswordUpdate: string & {
2069
1689
  readonly?: "__readonly" | undefined;
2070
1690
  };
2071
1691
  readonly mustUpdatePassword: boolean & {
@@ -2093,29 +1713,31 @@ export default class {
2093
1713
  readonly hasOtp: boolean & {
2094
1714
  readonly?: "__readonly" | undefined;
2095
1715
  };
2096
- readonly accountType?: (("service-account" | "user") & {
1716
+ readonly accountType?: (("user" | "service-account") & {
2097
1717
  readonly?: "__readonly" | undefined;
2098
1718
  }) | undefined;
2099
- };
2100
- }, any>>;
2101
- delete: (params: {
2102
- id: string;
2103
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2104
- status: "success";
1719
+ }[];
2105
1720
  program: string;
2106
1721
  version: string;
2107
1722
  datetime: string;
1723
+ status: string;
2108
1724
  code?: number | undefined;
2109
1725
  message: string;
1726
+ }, any>>;
1727
+ delete: (params: {
1728
+ id: string;
1729
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1730
+ status: "success";
1731
+ } & {
2110
1732
  data: {
2111
- readonly companyId: string & {
1733
+ readonly id: string & {
2112
1734
  readonly?: "__readonly" | undefined;
2113
1735
  };
2114
1736
  readonly roleId: string & {
2115
1737
  readonly?: "__readonly" | undefined;
2116
1738
  };
2117
1739
  readonly resourceGroupIds: string[];
2118
- readonly id: string & {
1740
+ readonly companyId: string & {
2119
1741
  readonly?: "__readonly" | undefined;
2120
1742
  };
2121
1743
  email: string;
@@ -2125,10 +1747,10 @@ export default class {
2125
1747
  readonly updatedAt: string & {
2126
1748
  readonly?: "__readonly" | undefined;
2127
1749
  };
2128
- readonly lastPasswordUpdate: string & {
1750
+ readonly disabled: boolean & {
2129
1751
  readonly?: "__readonly" | undefined;
2130
1752
  };
2131
- readonly disabled: boolean & {
1753
+ readonly lastPasswordUpdate: string & {
2132
1754
  readonly?: "__readonly" | undefined;
2133
1755
  };
2134
1756
  readonly mustUpdatePassword: boolean & {
@@ -2156,10 +1778,16 @@ export default class {
2156
1778
  readonly hasOtp: boolean & {
2157
1779
  readonly?: "__readonly" | undefined;
2158
1780
  };
2159
- readonly accountType?: (("service-account" | "user") & {
1781
+ readonly accountType?: (("user" | "service-account") & {
2160
1782
  readonly?: "__readonly" | undefined;
2161
1783
  }) | undefined;
2162
- };
1784
+ }[];
1785
+ program: string;
1786
+ version: string;
1787
+ datetime: string;
1788
+ status: string;
1789
+ code?: number | undefined;
1790
+ message: string;
2163
1791
  }, any>>;
2164
1792
  setRole: (params: {
2165
1793
  id: string;
@@ -2167,20 +1795,16 @@ export default class {
2167
1795
  id: string;
2168
1796
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2169
1797
  status: "success";
2170
- program: string;
2171
- version: string;
2172
- datetime: string;
2173
- code?: number | undefined;
2174
- message: string;
1798
+ } & {
2175
1799
  data: {
2176
- readonly companyId: string & {
1800
+ readonly id: string & {
2177
1801
  readonly?: "__readonly" | undefined;
2178
1802
  };
2179
1803
  readonly roleId: string & {
2180
1804
  readonly?: "__readonly" | undefined;
2181
1805
  };
2182
1806
  readonly resourceGroupIds: string[];
2183
- readonly id: string & {
1807
+ readonly companyId: string & {
2184
1808
  readonly?: "__readonly" | undefined;
2185
1809
  };
2186
1810
  email: string;
@@ -2190,10 +1814,10 @@ export default class {
2190
1814
  readonly updatedAt: string & {
2191
1815
  readonly?: "__readonly" | undefined;
2192
1816
  };
2193
- readonly lastPasswordUpdate: string & {
1817
+ readonly disabled: boolean & {
2194
1818
  readonly?: "__readonly" | undefined;
2195
1819
  };
2196
- readonly disabled: boolean & {
1820
+ readonly lastPasswordUpdate: string & {
2197
1821
  readonly?: "__readonly" | undefined;
2198
1822
  };
2199
1823
  readonly mustUpdatePassword: boolean & {
@@ -2221,10 +1845,16 @@ export default class {
2221
1845
  readonly hasOtp: boolean & {
2222
1846
  readonly?: "__readonly" | undefined;
2223
1847
  };
2224
- readonly accountType?: (("service-account" | "user") & {
1848
+ readonly accountType?: (("user" | "service-account") & {
2225
1849
  readonly?: "__readonly" | undefined;
2226
1850
  }) | undefined;
2227
- };
1851
+ }[];
1852
+ program: string;
1853
+ version: string;
1854
+ datetime: string;
1855
+ status: string;
1856
+ code?: number | undefined;
1857
+ message: string;
2228
1858
  }, any>>;
2229
1859
  setResourceGroups: (params: {
2230
1860
  id: string;
@@ -2232,20 +1862,16 @@ export default class {
2232
1862
  ids: string[];
2233
1863
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2234
1864
  status: "success";
2235
- program: string;
2236
- version: string;
2237
- datetime: string;
2238
- code?: number | undefined;
2239
- message: string;
1865
+ } & {
2240
1866
  data: {
2241
- readonly companyId: string & {
1867
+ readonly id: string & {
2242
1868
  readonly?: "__readonly" | undefined;
2243
1869
  };
2244
1870
  readonly roleId: string & {
2245
1871
  readonly?: "__readonly" | undefined;
2246
1872
  };
2247
1873
  readonly resourceGroupIds: string[];
2248
- readonly id: string & {
1874
+ readonly companyId: string & {
2249
1875
  readonly?: "__readonly" | undefined;
2250
1876
  };
2251
1877
  email: string;
@@ -2255,10 +1881,10 @@ export default class {
2255
1881
  readonly updatedAt: string & {
2256
1882
  readonly?: "__readonly" | undefined;
2257
1883
  };
2258
- readonly lastPasswordUpdate: string & {
1884
+ readonly disabled: boolean & {
2259
1885
  readonly?: "__readonly" | undefined;
2260
1886
  };
2261
- readonly disabled: boolean & {
1887
+ readonly lastPasswordUpdate: string & {
2262
1888
  readonly?: "__readonly" | undefined;
2263
1889
  };
2264
1890
  readonly mustUpdatePassword: boolean & {
@@ -2286,10 +1912,16 @@ export default class {
2286
1912
  readonly hasOtp: boolean & {
2287
1913
  readonly?: "__readonly" | undefined;
2288
1914
  };
2289
- readonly accountType?: (("service-account" | "user") & {
1915
+ readonly accountType?: (("user" | "service-account") & {
2290
1916
  readonly?: "__readonly" | undefined;
2291
1917
  }) | undefined;
2292
- };
1918
+ }[];
1919
+ program: string;
1920
+ version: string;
1921
+ datetime: string;
1922
+ status: string;
1923
+ code?: number | undefined;
1924
+ message: string;
2293
1925
  }, any>>;
2294
1926
  setOtp: (params: {
2295
1927
  id: string;
@@ -2302,20 +1934,16 @@ export default class {
2302
1934
  code: string;
2303
1935
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2304
1936
  status: "success";
2305
- program: string;
2306
- version: string;
2307
- datetime: string;
2308
- code?: number | undefined;
2309
- message: string;
1937
+ } & {
2310
1938
  data: {
2311
- readonly companyId: string & {
1939
+ readonly id: string & {
2312
1940
  readonly?: "__readonly" | undefined;
2313
1941
  };
2314
1942
  readonly roleId: string & {
2315
1943
  readonly?: "__readonly" | undefined;
2316
1944
  };
2317
1945
  readonly resourceGroupIds: string[];
2318
- readonly id: string & {
1946
+ readonly companyId: string & {
2319
1947
  readonly?: "__readonly" | undefined;
2320
1948
  };
2321
1949
  email: string;
@@ -2325,10 +1953,10 @@ export default class {
2325
1953
  readonly updatedAt: string & {
2326
1954
  readonly?: "__readonly" | undefined;
2327
1955
  };
2328
- readonly lastPasswordUpdate: string & {
1956
+ readonly disabled: boolean & {
2329
1957
  readonly?: "__readonly" | undefined;
2330
1958
  };
2331
- readonly disabled: boolean & {
1959
+ readonly lastPasswordUpdate: string & {
2332
1960
  readonly?: "__readonly" | undefined;
2333
1961
  };
2334
1962
  readonly mustUpdatePassword: boolean & {
@@ -2356,10 +1984,16 @@ export default class {
2356
1984
  readonly hasOtp: boolean & {
2357
1985
  readonly?: "__readonly" | undefined;
2358
1986
  };
2359
- readonly accountType?: (("service-account" | "user") & {
1987
+ readonly accountType?: (("user" | "service-account") & {
2360
1988
  readonly?: "__readonly" | undefined;
2361
1989
  }) | undefined;
2362
- };
1990
+ }[];
1991
+ program: string;
1992
+ version: string;
1993
+ datetime: string;
1994
+ status: string;
1995
+ code?: number | undefined;
1996
+ message: string;
2363
1997
  }, any>>;
2364
1998
  };
2365
1999
  }