@rlvt/entity-manager-openapi-client 1.0.68 → 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?: {
@@ -369,17 +320,11 @@ export default class {
369
320
  signingCert?: string | {
370
321
  data: number[];
371
322
  type: "Buffer";
372
- } | (string | {
373
- data: number[];
374
- type: "Buffer";
375
- })[] | undefined;
323
+ } | undefined;
376
324
  encryptCert?: string | {
377
325
  data: number[];
378
326
  type: "Buffer";
379
- } | (string | {
380
- data: number[];
381
- type: "Buffer";
382
- })[] | undefined;
327
+ } | undefined;
383
328
  transformationAlgorithms?: string[] | undefined;
384
329
  nameIDFormat?: string[] | undefined;
385
330
  allowCreate?: boolean | undefined;
@@ -395,14 +340,6 @@ export default class {
395
340
  valueXmlnsXsi?: string | undefined;
396
341
  }[] | undefined;
397
342
  context: string;
398
- additionalTemplates?: {
399
- attributeStatementTemplate?: {
400
- context: string;
401
- } | undefined;
402
- attributeTemplate?: {
403
- context: string;
404
- } | undefined;
405
- } | undefined;
406
343
  } | undefined;
407
344
  generateID?: unknown;
408
345
  singleSignOnService?: {
@@ -461,8 +398,8 @@ export default class {
461
398
  signatureConfig?: {
462
399
  prefix?: string | undefined;
463
400
  location?: {
464
- reference?: string | undefined;
465
401
  action?: "append" | "prepend" | "before" | "after" | undefined;
402
+ reference?: string | undefined;
466
403
  } | undefined;
467
404
  } | undefined;
468
405
  loginRequestTemplate?: {
@@ -474,17 +411,11 @@ export default class {
474
411
  signingCert?: string | {
475
412
  data: number[];
476
413
  type: "Buffer";
477
- } | (string | {
478
- data: number[];
479
- type: "Buffer";
480
- })[] | undefined;
414
+ } | undefined;
481
415
  encryptCert?: string | {
482
416
  data: number[];
483
417
  type: "Buffer";
484
- } | (string | {
485
- data: number[];
486
- type: "Buffer";
487
- })[] | undefined;
418
+ } | undefined;
488
419
  transformationAlgorithms?: string[] | undefined;
489
420
  nameIDFormat?: string[] | undefined;
490
421
  allowCreate?: boolean | undefined;
@@ -500,14 +431,6 @@ export default class {
500
431
  valueXmlnsXsi?: string | undefined;
501
432
  }[] | undefined;
502
433
  context: string;
503
- additionalTemplates?: {
504
- attributeStatementTemplate?: {
505
- context: string;
506
- } | undefined;
507
- attributeTemplate?: {
508
- context: string;
509
- } | undefined;
510
- } | undefined;
511
434
  } | undefined;
512
435
  generateID?: unknown;
513
436
  singleSignOnService?: {
@@ -540,20 +463,23 @@ export default class {
540
463
  add_cart: string | string[];
541
464
  purchase: string | string[];
542
465
  };
466
+ disabled: boolean;
543
467
  meta: {
544
468
  [x: string]: string | number | boolean;
545
469
  };
546
470
  };
547
- }, any>>;
548
- get: (params: {
549
- id: string;
550
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
551
- status: "success";
552
471
  program: string;
553
472
  version: string;
554
473
  datetime: string;
474
+ status: string;
555
475
  code?: number | undefined;
556
476
  message: string;
477
+ }, any>>;
478
+ get: (params: {
479
+ id: string;
480
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
481
+ status: "success";
482
+ } & {
557
483
  data: {
558
484
  readonly id: string & {
559
485
  readonly?: "__readonly" | undefined;
@@ -581,15 +507,14 @@ export default class {
581
507
  timeLockAfterNextAttempts?: number | undefined;
582
508
  infiniteTimeLock?: boolean | undefined;
583
509
  } | undefined;
510
+ defaultRoleId: string;
511
+ defaultResourceGroupIds: string[];
584
512
  readonly createdAt: string & {
585
513
  readonly?: "__readonly" | undefined;
586
514
  };
587
515
  readonly updatedAt: string & {
588
516
  readonly?: "__readonly" | undefined;
589
517
  };
590
- disabled: boolean;
591
- defaultRoleId: string;
592
- defaultResourceGroupIds: string[];
593
518
  name: string;
594
519
  address?: {
595
520
  line1?: string | undefined;
@@ -604,6 +529,7 @@ export default class {
604
529
  } | undefined;
605
530
  securityPolicy: {
606
531
  password: {
532
+ duration: number;
607
533
  rules: {
608
534
  options: {
609
535
  maximum?: number | undefined;
@@ -611,7 +537,6 @@ export default class {
611
537
  };
612
538
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
613
539
  }[];
614
- duration: number;
615
540
  attempts: {
616
541
  maximum: number;
617
542
  lockDuration: number;
@@ -678,8 +603,8 @@ export default class {
678
603
  signatureConfig?: {
679
604
  prefix?: string | undefined;
680
605
  location?: {
681
- reference?: string | undefined;
682
606
  action?: "append" | "prepend" | "before" | "after" | undefined;
607
+ reference?: string | undefined;
683
608
  } | undefined;
684
609
  } | undefined;
685
610
  loginRequestTemplate?: {
@@ -691,17 +616,11 @@ export default class {
691
616
  signingCert?: string | {
692
617
  data: number[];
693
618
  type: "Buffer";
694
- } | (string | {
695
- data: number[];
696
- type: "Buffer";
697
- })[] | undefined;
619
+ } | undefined;
698
620
  encryptCert?: string | {
699
621
  data: number[];
700
622
  type: "Buffer";
701
- } | (string | {
702
- data: number[];
703
- type: "Buffer";
704
- })[] | undefined;
623
+ } | undefined;
705
624
  transformationAlgorithms?: string[] | undefined;
706
625
  nameIDFormat?: string[] | undefined;
707
626
  allowCreate?: boolean | undefined;
@@ -717,14 +636,6 @@ export default class {
717
636
  valueXmlnsXsi?: string | undefined;
718
637
  }[] | undefined;
719
638
  context: string;
720
- additionalTemplates?: {
721
- attributeStatementTemplate?: {
722
- context: string;
723
- } | undefined;
724
- attributeTemplate?: {
725
- context: string;
726
- } | undefined;
727
- } | undefined;
728
639
  } | undefined;
729
640
  generateID?: unknown;
730
641
  singleSignOnService?: {
@@ -783,8 +694,8 @@ export default class {
783
694
  signatureConfig?: {
784
695
  prefix?: string | undefined;
785
696
  location?: {
786
- reference?: string | undefined;
787
697
  action?: "append" | "prepend" | "before" | "after" | undefined;
698
+ reference?: string | undefined;
788
699
  } | undefined;
789
700
  } | undefined;
790
701
  loginRequestTemplate?: {
@@ -796,17 +707,11 @@ export default class {
796
707
  signingCert?: string | {
797
708
  data: number[];
798
709
  type: "Buffer";
799
- } | (string | {
800
- data: number[];
801
- type: "Buffer";
802
- })[] | undefined;
710
+ } | undefined;
803
711
  encryptCert?: string | {
804
712
  data: number[];
805
713
  type: "Buffer";
806
- } | (string | {
807
- data: number[];
808
- type: "Buffer";
809
- })[] | undefined;
714
+ } | undefined;
810
715
  transformationAlgorithms?: string[] | undefined;
811
716
  nameIDFormat?: string[] | undefined;
812
717
  allowCreate?: boolean | undefined;
@@ -822,14 +727,6 @@ export default class {
822
727
  valueXmlnsXsi?: string | undefined;
823
728
  }[] | undefined;
824
729
  context: string;
825
- additionalTemplates?: {
826
- attributeStatementTemplate?: {
827
- context: string;
828
- } | undefined;
829
- attributeTemplate?: {
830
- context: string;
831
- } | undefined;
832
- } | undefined;
833
730
  } | undefined;
834
731
  generateID?: unknown;
835
732
  singleSignOnService?: {
@@ -862,10 +759,17 @@ export default class {
862
759
  add_cart: string | string[];
863
760
  purchase: string | string[];
864
761
  };
762
+ disabled: boolean;
865
763
  meta: {
866
764
  [x: string]: string | number | boolean;
867
765
  };
868
766
  };
767
+ program: string;
768
+ version: string;
769
+ datetime: string;
770
+ status: string;
771
+ code?: number | undefined;
772
+ message: string;
869
773
  }, any>>;
870
774
  update: (params: {
871
775
  id: string;
@@ -883,15 +787,11 @@ export default class {
883
787
  };
884
788
  }[] | undefined;
885
789
  meta?: {
886
- [x: string]: string | number | boolean;
790
+ [key: string]: string | number | boolean;
887
791
  } | undefined;
888
792
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
889
793
  status: "success";
890
- program: string;
891
- version: string;
892
- datetime: string;
893
- code?: number | undefined;
894
- message: string;
794
+ } & {
895
795
  data: {
896
796
  readonly id: string & {
897
797
  readonly?: "__readonly" | undefined;
@@ -919,15 +819,14 @@ export default class {
919
819
  timeLockAfterNextAttempts?: number | undefined;
920
820
  infiniteTimeLock?: boolean | undefined;
921
821
  } | undefined;
822
+ defaultRoleId: string;
823
+ defaultResourceGroupIds: string[];
922
824
  readonly createdAt: string & {
923
825
  readonly?: "__readonly" | undefined;
924
826
  };
925
827
  readonly updatedAt: string & {
926
828
  readonly?: "__readonly" | undefined;
927
829
  };
928
- disabled: boolean;
929
- defaultRoleId: string;
930
- defaultResourceGroupIds: string[];
931
830
  name: string;
932
831
  address?: {
933
832
  line1?: string | undefined;
@@ -942,6 +841,7 @@ export default class {
942
841
  } | undefined;
943
842
  securityPolicy: {
944
843
  password: {
844
+ duration: number;
945
845
  rules: {
946
846
  options: {
947
847
  maximum?: number | undefined;
@@ -949,7 +849,6 @@ export default class {
949
849
  };
950
850
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
951
851
  }[];
952
- duration: number;
953
852
  attempts: {
954
853
  maximum: number;
955
854
  lockDuration: number;
@@ -1016,8 +915,8 @@ export default class {
1016
915
  signatureConfig?: {
1017
916
  prefix?: string | undefined;
1018
917
  location?: {
1019
- reference?: string | undefined;
1020
918
  action?: "append" | "prepend" | "before" | "after" | undefined;
919
+ reference?: string | undefined;
1021
920
  } | undefined;
1022
921
  } | undefined;
1023
922
  loginRequestTemplate?: {
@@ -1029,17 +928,11 @@ export default class {
1029
928
  signingCert?: string | {
1030
929
  data: number[];
1031
930
  type: "Buffer";
1032
- } | (string | {
1033
- data: number[];
1034
- type: "Buffer";
1035
- })[] | undefined;
931
+ } | undefined;
1036
932
  encryptCert?: string | {
1037
933
  data: number[];
1038
934
  type: "Buffer";
1039
- } | (string | {
1040
- data: number[];
1041
- type: "Buffer";
1042
- })[] | undefined;
935
+ } | undefined;
1043
936
  transformationAlgorithms?: string[] | undefined;
1044
937
  nameIDFormat?: string[] | undefined;
1045
938
  allowCreate?: boolean | undefined;
@@ -1055,14 +948,6 @@ export default class {
1055
948
  valueXmlnsXsi?: string | undefined;
1056
949
  }[] | undefined;
1057
950
  context: string;
1058
- additionalTemplates?: {
1059
- attributeStatementTemplate?: {
1060
- context: string;
1061
- } | undefined;
1062
- attributeTemplate?: {
1063
- context: string;
1064
- } | undefined;
1065
- } | undefined;
1066
951
  } | undefined;
1067
952
  generateID?: unknown;
1068
953
  singleSignOnService?: {
@@ -1121,8 +1006,8 @@ export default class {
1121
1006
  signatureConfig?: {
1122
1007
  prefix?: string | undefined;
1123
1008
  location?: {
1124
- reference?: string | undefined;
1125
1009
  action?: "append" | "prepend" | "before" | "after" | undefined;
1010
+ reference?: string | undefined;
1126
1011
  } | undefined;
1127
1012
  } | undefined;
1128
1013
  loginRequestTemplate?: {
@@ -1134,17 +1019,11 @@ export default class {
1134
1019
  signingCert?: string | {
1135
1020
  data: number[];
1136
1021
  type: "Buffer";
1137
- } | (string | {
1138
- data: number[];
1139
- type: "Buffer";
1140
- })[] | undefined;
1022
+ } | undefined;
1141
1023
  encryptCert?: string | {
1142
1024
  data: number[];
1143
1025
  type: "Buffer";
1144
- } | (string | {
1145
- data: number[];
1146
- type: "Buffer";
1147
- })[] | undefined;
1026
+ } | undefined;
1148
1027
  transformationAlgorithms?: string[] | undefined;
1149
1028
  nameIDFormat?: string[] | undefined;
1150
1029
  allowCreate?: boolean | undefined;
@@ -1160,14 +1039,6 @@ export default class {
1160
1039
  valueXmlnsXsi?: string | undefined;
1161
1040
  }[] | undefined;
1162
1041
  context: string;
1163
- additionalTemplates?: {
1164
- attributeStatementTemplate?: {
1165
- context: string;
1166
- } | undefined;
1167
- attributeTemplate?: {
1168
- context: string;
1169
- } | undefined;
1170
- } | undefined;
1171
1042
  } | undefined;
1172
1043
  generateID?: unknown;
1173
1044
  singleSignOnService?: {
@@ -1200,10 +1071,17 @@ export default class {
1200
1071
  add_cart: string | string[];
1201
1072
  purchase: string | string[];
1202
1073
  };
1074
+ disabled: boolean;
1203
1075
  meta: {
1204
1076
  [x: string]: string | number | boolean;
1205
1077
  };
1206
1078
  };
1079
+ program: string;
1080
+ version: string;
1081
+ datetime: string;
1082
+ status: string;
1083
+ code?: number | undefined;
1084
+ message: string;
1207
1085
  }, any>>;
1208
1086
  create: (params: Record<string, never>, data: {
1209
1087
  type: "freetrial";
@@ -1233,15 +1111,14 @@ export default class {
1233
1111
  };
1234
1112
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1235
1113
  status: "success";
1114
+ } & {
1115
+ data: unknown;
1236
1116
  program: string;
1237
1117
  version: string;
1238
1118
  datetime: string;
1119
+ status: string;
1239
1120
  code?: number | undefined;
1240
1121
  message: string;
1241
- data: {
1242
- companyId: string;
1243
- invitationId: string;
1244
- };
1245
1122
  }, any>>;
1246
1123
  };
1247
1124
  get Invitation(): {
@@ -1253,21 +1130,18 @@ export default class {
1253
1130
  paginationCount: number;
1254
1131
  paginationPage: number;
1255
1132
  paginationLimit: number;
1133
+ } & {
1256
1134
  status: "success";
1257
- program: string;
1258
- version: string;
1259
- datetime: string;
1260
- code?: number | undefined;
1261
- message: string;
1135
+ } & {
1262
1136
  data: {
1263
- readonly companyId: string & {
1137
+ readonly id: string & {
1264
1138
  readonly?: "__readonly" | undefined;
1265
1139
  };
1266
1140
  readonly roleId: string & {
1267
1141
  readonly?: "__readonly" | undefined;
1268
1142
  };
1269
1143
  readonly resourceGroupIds: string[];
1270
- readonly id: string & {
1144
+ readonly companyId: string & {
1271
1145
  readonly?: "__readonly" | undefined;
1272
1146
  };
1273
1147
  readonly email: string & {
@@ -1277,6 +1151,12 @@ export default class {
1277
1151
  createdAt: string;
1278
1152
  usedAt?: string | undefined;
1279
1153
  }[];
1154
+ program: string;
1155
+ version: string;
1156
+ datetime: string;
1157
+ status: string;
1158
+ code?: number | undefined;
1159
+ message: string;
1280
1160
  }, any>>;
1281
1161
  create: (params: Record<string, never>, data: {
1282
1162
  email: string;
@@ -1284,20 +1164,16 @@ export default class {
1284
1164
  roleId?: string | undefined;
1285
1165
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1286
1166
  status: "success";
1287
- program: string;
1288
- version: string;
1289
- datetime: string;
1290
- code?: number | undefined;
1291
- message: string;
1167
+ } & {
1292
1168
  data: {
1293
- readonly companyId: string & {
1169
+ readonly id: string & {
1294
1170
  readonly?: "__readonly" | undefined;
1295
1171
  };
1296
1172
  readonly roleId: string & {
1297
1173
  readonly?: "__readonly" | undefined;
1298
1174
  };
1299
1175
  readonly resourceGroupIds: string[];
1300
- readonly id: string & {
1176
+ readonly companyId: string & {
1301
1177
  readonly?: "__readonly" | undefined;
1302
1178
  };
1303
1179
  readonly email: string & {
@@ -1306,26 +1182,28 @@ export default class {
1306
1182
  state: InvitationState;
1307
1183
  createdAt: string;
1308
1184
  usedAt?: string | undefined;
1309
- };
1310
- }, any>>;
1311
- delete: (params: {
1312
- id: string;
1313
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1314
- status: "success";
1185
+ }[];
1315
1186
  program: string;
1316
1187
  version: string;
1317
1188
  datetime: string;
1189
+ status: string;
1318
1190
  code?: number | undefined;
1319
1191
  message: string;
1192
+ }, any>>;
1193
+ delete: (params: {
1194
+ id: string;
1195
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1196
+ status: "success";
1197
+ } & {
1320
1198
  data: {
1321
- readonly companyId: string & {
1199
+ readonly id: string & {
1322
1200
  readonly?: "__readonly" | undefined;
1323
1201
  };
1324
1202
  readonly roleId: string & {
1325
1203
  readonly?: "__readonly" | undefined;
1326
1204
  };
1327
1205
  readonly resourceGroupIds: string[];
1328
- readonly id: string & {
1206
+ readonly companyId: string & {
1329
1207
  readonly?: "__readonly" | undefined;
1330
1208
  };
1331
1209
  readonly email: string & {
@@ -1334,63 +1212,72 @@ export default class {
1334
1212
  state: InvitationState;
1335
1213
  createdAt: string;
1336
1214
  usedAt?: string | undefined;
1337
- };
1215
+ }[];
1216
+ program: string;
1217
+ version: string;
1218
+ datetime: string;
1219
+ status: string;
1220
+ code?: number | undefined;
1221
+ message: string;
1338
1222
  }, any>>;
1339
1223
  use: (params: {
1340
1224
  id: string;
1341
1225
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1342
1226
  status: "success";
1227
+ } & {
1228
+ data: unknown;
1343
1229
  program: string;
1344
1230
  version: string;
1345
1231
  datetime: string;
1232
+ status: string;
1346
1233
  code?: number | undefined;
1347
1234
  message: string;
1348
- data: {
1349
- id: string;
1350
- };
1351
1235
  }, any>>;
1352
1236
  };
1353
1237
  get ResourceGroup(): {
1354
1238
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1355
1239
  status: "success";
1356
- program: string;
1357
- version: string;
1358
- datetime: string;
1359
- code?: number | undefined;
1360
- message: string;
1361
- data: ({
1362
- readonly companyId: string & {
1240
+ } & {
1241
+ data: {
1242
+ readonly id: string & {
1363
1243
  readonly?: "__readonly" | undefined;
1364
1244
  };
1365
- readonly id: string & {
1245
+ readonly companyId: string & {
1366
1246
  readonly?: "__readonly" | undefined;
1367
1247
  };
1368
1248
  name: string;
1369
1249
  color?: string | undefined;
1370
- } & {
1371
1250
  usersCount: number;
1372
- })[];
1251
+ }[];
1252
+ program: string;
1253
+ version: string;
1254
+ datetime: string;
1255
+ status: string;
1256
+ code?: number | undefined;
1257
+ message: string;
1373
1258
  }, any>>;
1374
1259
  create: (params: Record<string, never>, data: {
1375
1260
  name: string;
1376
1261
  color?: string | undefined;
1377
1262
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1378
1263
  status: "success";
1379
- program: string;
1380
- version: string;
1381
- datetime: string;
1382
- code?: number | undefined;
1383
- message: string;
1264
+ } & {
1384
1265
  data: {
1385
- readonly companyId: string & {
1266
+ readonly id: string & {
1386
1267
  readonly?: "__readonly" | undefined;
1387
1268
  };
1388
- readonly id: string & {
1269
+ readonly companyId: string & {
1389
1270
  readonly?: "__readonly" | undefined;
1390
1271
  };
1391
1272
  name: string;
1392
1273
  color?: string | undefined;
1393
1274
  };
1275
+ program: string;
1276
+ version: string;
1277
+ datetime: string;
1278
+ status: string;
1279
+ code?: number | undefined;
1280
+ message: string;
1394
1281
  }, any>>;
1395
1282
  update: (params: {
1396
1283
  id: string;
@@ -1399,165 +1286,176 @@ export default class {
1399
1286
  color?: string | undefined;
1400
1287
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1401
1288
  status: "success";
1402
- program: string;
1403
- version: string;
1404
- datetime: string;
1405
- code?: number | undefined;
1406
- message: string;
1289
+ } & {
1407
1290
  data: {
1408
- readonly companyId: string & {
1291
+ readonly id: string & {
1409
1292
  readonly?: "__readonly" | undefined;
1410
1293
  };
1411
- readonly id: string & {
1294
+ readonly companyId: string & {
1412
1295
  readonly?: "__readonly" | undefined;
1413
1296
  };
1414
1297
  name: string;
1415
1298
  color?: string | undefined;
1416
1299
  };
1300
+ program: string;
1301
+ version: string;
1302
+ datetime: string;
1303
+ status: string;
1304
+ code?: number | undefined;
1305
+ message: string;
1417
1306
  }, any>>;
1418
1307
  delete: (params: {
1419
1308
  id: string;
1420
1309
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1421
1310
  status: "success";
1311
+ } & {
1312
+ data: unknown;
1422
1313
  program: string;
1423
1314
  version: string;
1424
1315
  datetime: string;
1316
+ status: string;
1425
1317
  code?: number | undefined;
1426
1318
  message: string;
1427
- data: {};
1428
1319
  }, any>>;
1429
1320
  };
1430
1321
  get Role(): {
1431
1322
  list: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1432
1323
  status: "success";
1433
- program: string;
1434
- version: string;
1435
- datetime: string;
1436
- code?: number | undefined;
1437
- message: string;
1438
- data: ({
1324
+ } & {
1325
+ data: {
1439
1326
  readonly companyId: string & {
1440
1327
  readonly?: "__readonly" | undefined;
1441
1328
  };
1442
1329
  name: string;
1443
1330
  rules: {
1444
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1445
1331
  fields?: string[] | undefined;
1446
1332
  conditions?: {
1447
1333
  [x: string]: unknown;
1448
1334
  } | undefined;
1449
1335
  inverted?: boolean | undefined;
1450
1336
  reason?: string | undefined;
1337
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1451
1338
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1452
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1339
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1453
1340
  field: string;
1454
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1341
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1455
1342
  })[] | undefined;
1456
1343
  }[];
1457
- } & {
1458
1344
  usersCount: number;
1459
- })[];
1345
+ }[];
1346
+ program: string;
1347
+ version: string;
1348
+ datetime: string;
1349
+ status: string;
1350
+ code?: number | undefined;
1351
+ message: string;
1460
1352
  }, any>>;
1461
1353
  create: (params: Record<string, never>, data: {
1462
1354
  name: string;
1463
1355
  rules: {
1464
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1465
1356
  fields?: string[] | undefined;
1466
1357
  conditions?: {
1467
1358
  [x: string]: unknown;
1468
1359
  } | undefined;
1469
1360
  inverted?: boolean | undefined;
1470
1361
  reason?: string | undefined;
1362
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1471
1363
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1472
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1364
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1473
1365
  field: string;
1474
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1366
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1475
1367
  })[] | undefined;
1476
1368
  }[];
1477
1369
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1478
1370
  status: "success";
1479
- program: string;
1480
- version: string;
1481
- datetime: string;
1482
- code?: number | undefined;
1483
- message: string;
1371
+ } & {
1484
1372
  data: {
1485
1373
  readonly companyId: string & {
1486
1374
  readonly?: "__readonly" | undefined;
1487
1375
  };
1488
1376
  name: string;
1489
1377
  rules: {
1490
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1491
1378
  fields?: string[] | undefined;
1492
1379
  conditions?: {
1493
1380
  [x: string]: unknown;
1494
1381
  } | undefined;
1495
1382
  inverted?: boolean | undefined;
1496
1383
  reason?: string | undefined;
1384
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1497
1385
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1498
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1386
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1499
1387
  field: string;
1500
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1388
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1501
1389
  })[] | undefined;
1502
1390
  }[];
1503
- };
1391
+ }[];
1392
+ program: string;
1393
+ version: string;
1394
+ datetime: string;
1395
+ status: string;
1396
+ code?: number | undefined;
1397
+ message: string;
1504
1398
  }, any>>;
1505
1399
  update: (params: {
1506
1400
  id: string;
1507
1401
  }, data: {
1508
1402
  name?: string | undefined;
1509
1403
  rules?: {
1510
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1511
1404
  fields?: string[] | undefined;
1512
1405
  conditions?: {
1513
1406
  [x: string]: unknown;
1514
1407
  } | undefined;
1515
1408
  inverted?: boolean | undefined;
1516
1409
  reason?: string | undefined;
1410
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1517
1411
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1518
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1412
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1519
1413
  field: string;
1520
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1414
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1521
1415
  })[] | undefined;
1522
1416
  }[] | undefined;
1523
1417
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1524
1418
  status: "success";
1525
- program: string;
1526
- version: string;
1527
- datetime: string;
1528
- code?: number | undefined;
1529
- message: string;
1419
+ } & {
1530
1420
  data: {
1531
1421
  readonly companyId: string & {
1532
1422
  readonly?: "__readonly" | undefined;
1533
1423
  };
1534
1424
  name: string;
1535
1425
  rules: {
1536
- action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1537
1426
  fields?: string[] | undefined;
1538
1427
  conditions?: {
1539
1428
  [x: string]: unknown;
1540
1429
  } | undefined;
1541
1430
  inverted?: boolean | undefined;
1542
1431
  reason?: string | undefined;
1432
+ action: "create" | "read" | "update" | "delete" | "access" | "query" | "export";
1543
1433
  subject: "Company" | "Block" | "Campaign" | "BranchGroup" | "Datasource" | "OAuthClient" | "Statistics" | "BlockContent" | "User" | "Billing" | "Role" | "ResourceGroup" | "Invitation" | "Workflow" | "Content" | "ContentFontResource";
1544
- mustMatch?: ("companyId" | "roleId" | "resourceGroupIds" | "id" | {
1434
+ mustMatch?: ("id" | "roleId" | "resourceGroupIds" | "companyId" | {
1545
1435
  field: string;
1546
- value: "companyId" | "roleId" | "resourceGroupIds" | "id" | "companyId?" | "resourceGroupIds?";
1436
+ value: "id" | "roleId" | "resourceGroupIds" | "companyId" | "companyId?" | "resourceGroupIds?";
1547
1437
  })[] | undefined;
1548
1438
  }[];
1549
- };
1439
+ }[];
1440
+ program: string;
1441
+ version: string;
1442
+ datetime: string;
1443
+ status: string;
1444
+ code?: number | undefined;
1445
+ message: string;
1550
1446
  }, any>>;
1551
1447
  delete: (params: {
1552
1448
  id: string;
1553
1449
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1554
1450
  status: "success";
1451
+ } & {
1452
+ data: unknown;
1555
1453
  program: string;
1556
1454
  version: string;
1557
1455
  datetime: string;
1456
+ status: string;
1558
1457
  code?: number | undefined;
1559
1458
  message: string;
1560
- data: {};
1561
1459
  }, any>>;
1562
1460
  };
1563
1461
  get User(): {
@@ -1568,21 +1466,18 @@ export default class {
1568
1466
  paginationCount: number;
1569
1467
  paginationPage: number;
1570
1468
  paginationLimit: number;
1469
+ } & {
1571
1470
  status: "success";
1572
- program: string;
1573
- version: string;
1574
- datetime: string;
1575
- code?: number | undefined;
1576
- message: string;
1471
+ } & {
1577
1472
  data: {
1578
- readonly companyId: string & {
1473
+ readonly id: string & {
1579
1474
  readonly?: "__readonly" | undefined;
1580
1475
  };
1581
1476
  readonly roleId: string & {
1582
1477
  readonly?: "__readonly" | undefined;
1583
1478
  };
1584
1479
  readonly resourceGroupIds: string[];
1585
- readonly id: string & {
1480
+ readonly companyId: string & {
1586
1481
  readonly?: "__readonly" | undefined;
1587
1482
  };
1588
1483
  email: string;
@@ -1592,10 +1487,10 @@ export default class {
1592
1487
  readonly updatedAt: string & {
1593
1488
  readonly?: "__readonly" | undefined;
1594
1489
  };
1595
- readonly lastPasswordUpdate: string & {
1490
+ readonly disabled: boolean & {
1596
1491
  readonly?: "__readonly" | undefined;
1597
1492
  };
1598
- readonly disabled: boolean & {
1493
+ readonly lastPasswordUpdate: string & {
1599
1494
  readonly?: "__readonly" | undefined;
1600
1495
  };
1601
1496
  readonly mustUpdatePassword: boolean & {
@@ -1623,10 +1518,16 @@ export default class {
1623
1518
  readonly hasOtp: boolean & {
1624
1519
  readonly?: "__readonly" | undefined;
1625
1520
  };
1626
- readonly accountType?: (("service-account" | "user") & {
1521
+ readonly accountType?: (("user" | "service-account") & {
1627
1522
  readonly?: "__readonly" | undefined;
1628
1523
  }) | undefined;
1629
1524
  }[];
1525
+ program: string;
1526
+ version: string;
1527
+ datetime: string;
1528
+ status: string;
1529
+ code?: number | undefined;
1530
+ message: string;
1630
1531
  }, any>>;
1631
1532
  create: (params: Record<string, never>, data: {
1632
1533
  invitationId: string;
@@ -1647,378 +1548,14 @@ export default class {
1647
1548
  password: string;
1648
1549
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1649
1550
  status: "success";
1551
+ } & {
1552
+ data: unknown;
1650
1553
  program: string;
1651
1554
  version: string;
1652
1555
  datetime: string;
1556
+ status: string;
1653
1557
  code?: number | undefined;
1654
1558
  message: string;
1655
- data: {
1656
- user: {
1657
- readonly companyId: string & {
1658
- readonly?: "__readonly" | undefined;
1659
- };
1660
- readonly roleId: string & {
1661
- readonly?: "__readonly" | undefined;
1662
- };
1663
- readonly resourceGroupIds: string[];
1664
- readonly id: string & {
1665
- readonly?: "__readonly" | undefined;
1666
- };
1667
- email: string;
1668
- readonly createdAt: string & {
1669
- readonly?: "__readonly" | undefined;
1670
- };
1671
- readonly updatedAt: string & {
1672
- readonly?: "__readonly" | undefined;
1673
- };
1674
- readonly lastPasswordUpdate: string & {
1675
- readonly?: "__readonly" | undefined;
1676
- };
1677
- readonly disabled: boolean & {
1678
- readonly?: "__readonly" | undefined;
1679
- };
1680
- readonly mustUpdatePassword: boolean & {
1681
- readonly?: "__readonly" | undefined;
1682
- };
1683
- readonly connection: {
1684
- readonly?: "__readonly" | undefined;
1685
- lastAttempts?: string | undefined;
1686
- nbFail?: number | undefined;
1687
- };
1688
- profile?: {
1689
- firstname?: string | undefined;
1690
- lastname?: string | undefined;
1691
- jobtitle?: string | undefined;
1692
- phone?: string | undefined;
1693
- preferredLang?: string | undefined;
1694
- preferredRecipientId?: string | undefined;
1695
- preferredMessageId?: string | undefined;
1696
- preferredUtm?: {
1697
- medium?: string | undefined;
1698
- source?: string | undefined;
1699
- campaign?: string | undefined;
1700
- } | undefined;
1701
- } | undefined;
1702
- readonly hasOtp: boolean & {
1703
- readonly?: "__readonly" | undefined;
1704
- };
1705
- readonly accountType?: (("service-account" | "user") & {
1706
- readonly?: "__readonly" | undefined;
1707
- }) | undefined;
1708
- };
1709
- company: {
1710
- readonly id: string & {
1711
- readonly?: "__readonly" | undefined;
1712
- };
1713
- readonly plan: {
1714
- readonly?: "__readonly" | undefined;
1715
- name?: string | undefined;
1716
- openQuota?: number | undefined;
1717
- openerQuota?: number | undefined;
1718
- startDate?: string | undefined;
1719
- endDate?: string | undefined;
1720
- attributionPeriod?: number | undefined;
1721
- monthlyCost?: number | undefined;
1722
- };
1723
- password?: {
1724
- passwordDuration?: number | undefined;
1725
- nbSpCharacter?: number | undefined;
1726
- nbIsNotAlphabeticCharacter?: number | undefined;
1727
- nbNumberCharacter?: number | undefined;
1728
- nbLetterInLowercase?: number | undefined;
1729
- nbLetterInUppercase?: number | undefined;
1730
- nbCharacter?: number | undefined;
1731
- nbAttempts?: number | undefined;
1732
- timeEachAttempts?: number | undefined;
1733
- timeLockAfterNextAttempts?: number | undefined;
1734
- infiniteTimeLock?: boolean | undefined;
1735
- } | undefined;
1736
- readonly createdAt: string & {
1737
- readonly?: "__readonly" | undefined;
1738
- };
1739
- readonly updatedAt: string & {
1740
- readonly?: "__readonly" | undefined;
1741
- };
1742
- disabled: boolean;
1743
- defaultRoleId: string;
1744
- defaultResourceGroupIds: string[];
1745
- name: string;
1746
- address?: {
1747
- line1?: string | undefined;
1748
- line2?: string | undefined;
1749
- zipcode?: string | undefined;
1750
- city?: string | undefined;
1751
- country?: string | undefined;
1752
- } | undefined;
1753
- contact?: {
1754
- email?: string | undefined;
1755
- name?: string | undefined;
1756
- } | undefined;
1757
- securityPolicy: {
1758
- password: {
1759
- rules: {
1760
- options: {
1761
- maximum?: number | undefined;
1762
- minimum?: number | undefined;
1763
- };
1764
- type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1765
- }[];
1766
- duration: number;
1767
- attempts: {
1768
- maximum: number;
1769
- lockDuration: number;
1770
- };
1771
- };
1772
- };
1773
- variableProfiles: {
1774
- id: string;
1775
- name: string;
1776
- variables: {
1777
- "rlvt-u"?: string | undefined;
1778
- "rlvt-m"?: string | undefined;
1779
- utm_campaign?: string | undefined;
1780
- utm_source?: string | undefined;
1781
- utm_medium?: string | undefined;
1782
- utm_term?: string | undefined;
1783
- };
1784
- }[];
1785
- sso?: {
1786
- domains: string[];
1787
- metadata: string;
1788
- emailProperty: string[] | "nameID"[];
1789
- mode: "invitation" | "create";
1790
- mandatory: boolean;
1791
- readonly identityProvider: {
1792
- readonly?: "__readonly" | undefined;
1793
- entityMeta: {
1794
- meta: unknown;
1795
- xmlString: string;
1796
- };
1797
- entitySetting: {
1798
- metadata?: string | {
1799
- data: number[];
1800
- type: "Buffer";
1801
- } | undefined;
1802
- entityID?: string | undefined;
1803
- authnRequestsSigned?: boolean | undefined;
1804
- wantAssertionsSigned?: boolean | undefined;
1805
- wantMessageSigned?: boolean | undefined;
1806
- wantLogoutResponseSigned?: boolean | undefined;
1807
- wantLogoutRequestSigned?: boolean | undefined;
1808
- privateKey?: string | {
1809
- data: number[];
1810
- type: "Buffer";
1811
- } | undefined;
1812
- privateKeyPass?: string | undefined;
1813
- isAssertionEncrypted?: boolean | undefined;
1814
- requestSignatureAlgorithm?: string | undefined;
1815
- encPrivateKey?: string | {
1816
- data: number[];
1817
- type: "Buffer";
1818
- } | undefined;
1819
- encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1820
- assertionConsumerService?: {
1821
- isDefault?: boolean | undefined;
1822
- Binding: string;
1823
- Location: string;
1824
- }[] | undefined;
1825
- singleLogoutService?: {
1826
- isDefault?: boolean | undefined;
1827
- Binding: string;
1828
- Location: string;
1829
- }[] | undefined;
1830
- signatureConfig?: {
1831
- prefix?: string | undefined;
1832
- location?: {
1833
- reference?: string | undefined;
1834
- action?: "append" | "prepend" | "before" | "after" | undefined;
1835
- } | undefined;
1836
- } | undefined;
1837
- loginRequestTemplate?: {
1838
- context?: string | undefined;
1839
- } | undefined;
1840
- logoutRequestTemplate?: {
1841
- context?: string | undefined;
1842
- } | undefined;
1843
- signingCert?: string | {
1844
- data: number[];
1845
- type: "Buffer";
1846
- } | (string | {
1847
- data: number[];
1848
- type: "Buffer";
1849
- })[] | undefined;
1850
- encryptCert?: string | {
1851
- data: number[];
1852
- type: "Buffer";
1853
- } | (string | {
1854
- data: number[];
1855
- type: "Buffer";
1856
- })[] | undefined;
1857
- transformationAlgorithms?: string[] | undefined;
1858
- nameIDFormat?: string[] | undefined;
1859
- allowCreate?: boolean | undefined;
1860
- relayState?: string | undefined;
1861
- clockDrifts?: number[] | undefined;
1862
- loginResponseTemplate?: {
1863
- attributes?: {
1864
- name: string;
1865
- nameFormat: string;
1866
- valueXsiType: string;
1867
- valueTag: string;
1868
- valueXmlnsXs?: string | undefined;
1869
- valueXmlnsXsi?: string | undefined;
1870
- }[] | undefined;
1871
- context: string;
1872
- additionalTemplates?: {
1873
- attributeStatementTemplate?: {
1874
- context: string;
1875
- } | undefined;
1876
- attributeTemplate?: {
1877
- context: string;
1878
- } | undefined;
1879
- } | undefined;
1880
- } | undefined;
1881
- generateID?: unknown;
1882
- singleSignOnService?: {
1883
- isDefault?: boolean | undefined;
1884
- Binding: string;
1885
- Location: string;
1886
- }[] | undefined;
1887
- messageSigningOrder?: string | undefined;
1888
- wantAuthnRequestsSigned?: boolean | undefined;
1889
- wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1890
- tagPrefix?: {
1891
- [x: string]: string;
1892
- } | undefined;
1893
- };
1894
- entityType: string;
1895
- };
1896
- readonly serviceProvider: {
1897
- readonly?: "__readonly" | undefined;
1898
- entityMeta: {
1899
- meta: unknown;
1900
- xmlString: string;
1901
- };
1902
- entitySetting: {
1903
- metadata?: string | {
1904
- data: number[];
1905
- type: "Buffer";
1906
- } | undefined;
1907
- entityID?: string | undefined;
1908
- authnRequestsSigned?: boolean | undefined;
1909
- wantAssertionsSigned?: boolean | undefined;
1910
- wantMessageSigned?: boolean | undefined;
1911
- wantLogoutResponseSigned?: boolean | undefined;
1912
- wantLogoutRequestSigned?: boolean | undefined;
1913
- privateKey?: string | {
1914
- data: number[];
1915
- type: "Buffer";
1916
- } | undefined;
1917
- privateKeyPass?: string | undefined;
1918
- isAssertionEncrypted?: boolean | undefined;
1919
- requestSignatureAlgorithm?: string | undefined;
1920
- encPrivateKey?: string | {
1921
- data: number[];
1922
- type: "Buffer";
1923
- } | undefined;
1924
- encPrivateKeyPass?: string | (import("./definitions").Buffer & string) | undefined;
1925
- assertionConsumerService?: {
1926
- isDefault?: boolean | undefined;
1927
- Binding: string;
1928
- Location: string;
1929
- }[] | undefined;
1930
- singleLogoutService?: {
1931
- isDefault?: boolean | undefined;
1932
- Binding: string;
1933
- Location: string;
1934
- }[] | undefined;
1935
- signatureConfig?: {
1936
- prefix?: string | undefined;
1937
- location?: {
1938
- reference?: string | undefined;
1939
- action?: "append" | "prepend" | "before" | "after" | undefined;
1940
- } | undefined;
1941
- } | undefined;
1942
- loginRequestTemplate?: {
1943
- context?: string | undefined;
1944
- } | undefined;
1945
- logoutRequestTemplate?: {
1946
- context?: string | undefined;
1947
- } | undefined;
1948
- signingCert?: string | {
1949
- data: number[];
1950
- type: "Buffer";
1951
- } | (string | {
1952
- data: number[];
1953
- type: "Buffer";
1954
- })[] | undefined;
1955
- encryptCert?: string | {
1956
- data: number[];
1957
- type: "Buffer";
1958
- } | (string | {
1959
- data: number[];
1960
- type: "Buffer";
1961
- })[] | undefined;
1962
- transformationAlgorithms?: string[] | undefined;
1963
- nameIDFormat?: string[] | undefined;
1964
- allowCreate?: boolean | undefined;
1965
- relayState?: string | undefined;
1966
- clockDrifts?: number[] | undefined;
1967
- loginResponseTemplate?: {
1968
- attributes?: {
1969
- name: string;
1970
- nameFormat: string;
1971
- valueXsiType: string;
1972
- valueTag: string;
1973
- valueXmlnsXs?: string | undefined;
1974
- valueXmlnsXsi?: string | undefined;
1975
- }[] | undefined;
1976
- context: string;
1977
- additionalTemplates?: {
1978
- attributeStatementTemplate?: {
1979
- context: string;
1980
- } | undefined;
1981
- attributeTemplate?: {
1982
- context: string;
1983
- } | undefined;
1984
- } | undefined;
1985
- } | undefined;
1986
- generateID?: unknown;
1987
- singleSignOnService?: {
1988
- isDefault?: boolean | undefined;
1989
- Binding: string;
1990
- Location: string;
1991
- }[] | undefined;
1992
- messageSigningOrder?: string | undefined;
1993
- wantAuthnRequestsSigned?: boolean | undefined;
1994
- wantLogoutRequestSignedResponseSigned?: boolean | undefined;
1995
- tagPrefix?: {
1996
- [x: string]: string;
1997
- } | undefined;
1998
- };
1999
- entityType: string;
2000
- };
2001
- } | undefined;
2002
- custom?: {
2003
- colors?: string[] | undefined;
2004
- workflowDomain?: string | undefined;
2005
- } | undefined;
2006
- readonly retention: number & {
2007
- readonly?: "__readonly" | undefined;
2008
- };
2009
- readonly features: {
2010
- [x: string]: boolean;
2011
- };
2012
- events: {
2013
- product_page: string | string[];
2014
- add_cart: string | string[];
2015
- purchase: string | string[];
2016
- };
2017
- meta: {
2018
- [x: string]: string | number | boolean;
2019
- };
2020
- };
2021
- };
2022
1559
  }, any>>;
2023
1560
  updatePassword: (params: Record<string, never>, data: ({
2024
1561
  email: string;
@@ -2032,20 +1569,16 @@ export default class {
2032
1569
  currentPassword: string;
2033
1570
  }), options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2034
1571
  status: "success";
2035
- program: string;
2036
- version: string;
2037
- datetime: string;
2038
- code?: number | undefined;
2039
- message: string;
1572
+ } & {
2040
1573
  data: {
2041
- readonly companyId: string & {
1574
+ readonly id: string & {
2042
1575
  readonly?: "__readonly" | undefined;
2043
1576
  };
2044
1577
  readonly roleId: string & {
2045
1578
  readonly?: "__readonly" | undefined;
2046
1579
  };
2047
1580
  readonly resourceGroupIds: string[];
2048
- readonly id: string & {
1581
+ readonly companyId: string & {
2049
1582
  readonly?: "__readonly" | undefined;
2050
1583
  };
2051
1584
  email: string;
@@ -2055,10 +1588,10 @@ export default class {
2055
1588
  readonly updatedAt: string & {
2056
1589
  readonly?: "__readonly" | undefined;
2057
1590
  };
2058
- readonly lastPasswordUpdate: string & {
1591
+ readonly disabled: boolean & {
2059
1592
  readonly?: "__readonly" | undefined;
2060
1593
  };
2061
- readonly disabled: boolean & {
1594
+ readonly lastPasswordUpdate: string & {
2062
1595
  readonly?: "__readonly" | undefined;
2063
1596
  };
2064
1597
  readonly mustUpdatePassword: boolean & {
@@ -2086,49 +1619,34 @@ export default class {
2086
1619
  readonly hasOtp: boolean & {
2087
1620
  readonly?: "__readonly" | undefined;
2088
1621
  };
2089
- readonly accountType?: (("service-account" | "user") & {
1622
+ readonly accountType?: (("user" | "service-account") & {
2090
1623
  readonly?: "__readonly" | undefined;
2091
1624
  }) | undefined;
2092
- };
1625
+ }[];
1626
+ program: string;
1627
+ version: string;
1628
+ datetime: string;
1629
+ status: string;
1630
+ code?: number | undefined;
1631
+ message: string;
2093
1632
  }, any>>;
2094
1633
  resetPassword: (params: Record<string, never>, data: {
2095
1634
  email: string;
2096
1635
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2097
1636
  status: "success";
1637
+ } & {
1638
+ data: unknown;
2098
1639
  program: string;
2099
1640
  version: string;
2100
1641
  datetime: string;
1642
+ status: string;
2101
1643
  code?: number | undefined;
2102
1644
  message: string;
2103
- data: {};
2104
1645
  }, any>>;
2105
1646
  update: (params: {
2106
1647
  id: string;
2107
1648
  }, data: {
2108
- readonly id?: (string & {
2109
- readonly?: "__readonly" | undefined;
2110
- }) | undefined;
2111
1649
  email?: string | undefined;
2112
- readonly createdAt?: (string & {
2113
- readonly?: "__readonly" | undefined;
2114
- }) | undefined;
2115
- readonly updatedAt?: (string & {
2116
- readonly?: "__readonly" | undefined;
2117
- }) | undefined;
2118
- readonly lastPasswordUpdate?: (string & {
2119
- readonly?: "__readonly" | undefined;
2120
- }) | undefined;
2121
- readonly disabled?: (boolean & {
2122
- readonly?: "__readonly" | undefined;
2123
- }) | undefined;
2124
- readonly mustUpdatePassword?: (boolean & {
2125
- readonly?: "__readonly" | undefined;
2126
- }) | undefined;
2127
- readonly connection?: {
2128
- readonly?: "__readonly" | undefined;
2129
- lastAttempts?: string | undefined;
2130
- nbFail?: number | undefined;
2131
- } | undefined;
2132
1650
  profile?: {
2133
1651
  firstname?: string | undefined;
2134
1652
  lastname?: string | undefined;
@@ -2143,28 +1661,18 @@ export default class {
2143
1661
  campaign?: string | undefined;
2144
1662
  } | undefined;
2145
1663
  } | undefined;
2146
- readonly hasOtp?: (boolean & {
2147
- readonly?: "__readonly" | undefined;
2148
- }) | undefined;
2149
- readonly accountType?: (("service-account" | "user") & {
2150
- readonly?: "__readonly" | undefined;
2151
- }) | undefined;
2152
1664
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2153
1665
  status: "success";
2154
- program: string;
2155
- version: string;
2156
- datetime: string;
2157
- code?: number | undefined;
2158
- message: string;
1666
+ } & {
2159
1667
  data: {
2160
- readonly companyId: string & {
1668
+ readonly id: string & {
2161
1669
  readonly?: "__readonly" | undefined;
2162
1670
  };
2163
1671
  readonly roleId: string & {
2164
1672
  readonly?: "__readonly" | undefined;
2165
1673
  };
2166
1674
  readonly resourceGroupIds: string[];
2167
- readonly id: string & {
1675
+ readonly companyId: string & {
2168
1676
  readonly?: "__readonly" | undefined;
2169
1677
  };
2170
1678
  email: string;
@@ -2174,10 +1682,10 @@ export default class {
2174
1682
  readonly updatedAt: string & {
2175
1683
  readonly?: "__readonly" | undefined;
2176
1684
  };
2177
- readonly lastPasswordUpdate: string & {
1685
+ readonly disabled: boolean & {
2178
1686
  readonly?: "__readonly" | undefined;
2179
1687
  };
2180
- readonly disabled: boolean & {
1688
+ readonly lastPasswordUpdate: string & {
2181
1689
  readonly?: "__readonly" | undefined;
2182
1690
  };
2183
1691
  readonly mustUpdatePassword: boolean & {
@@ -2205,29 +1713,31 @@ export default class {
2205
1713
  readonly hasOtp: boolean & {
2206
1714
  readonly?: "__readonly" | undefined;
2207
1715
  };
2208
- readonly accountType?: (("service-account" | "user") & {
1716
+ readonly accountType?: (("user" | "service-account") & {
2209
1717
  readonly?: "__readonly" | undefined;
2210
1718
  }) | undefined;
2211
- };
2212
- }, any>>;
2213
- delete: (params: {
2214
- id: string;
2215
- }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2216
- status: "success";
1719
+ }[];
2217
1720
  program: string;
2218
1721
  version: string;
2219
1722
  datetime: string;
1723
+ status: string;
2220
1724
  code?: number | undefined;
2221
1725
  message: string;
1726
+ }, any>>;
1727
+ delete: (params: {
1728
+ id: string;
1729
+ }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1730
+ status: "success";
1731
+ } & {
2222
1732
  data: {
2223
- readonly companyId: string & {
1733
+ readonly id: string & {
2224
1734
  readonly?: "__readonly" | undefined;
2225
1735
  };
2226
1736
  readonly roleId: string & {
2227
1737
  readonly?: "__readonly" | undefined;
2228
1738
  };
2229
1739
  readonly resourceGroupIds: string[];
2230
- readonly id: string & {
1740
+ readonly companyId: string & {
2231
1741
  readonly?: "__readonly" | undefined;
2232
1742
  };
2233
1743
  email: string;
@@ -2237,10 +1747,10 @@ export default class {
2237
1747
  readonly updatedAt: string & {
2238
1748
  readonly?: "__readonly" | undefined;
2239
1749
  };
2240
- readonly lastPasswordUpdate: string & {
1750
+ readonly disabled: boolean & {
2241
1751
  readonly?: "__readonly" | undefined;
2242
1752
  };
2243
- readonly disabled: boolean & {
1753
+ readonly lastPasswordUpdate: string & {
2244
1754
  readonly?: "__readonly" | undefined;
2245
1755
  };
2246
1756
  readonly mustUpdatePassword: boolean & {
@@ -2268,10 +1778,16 @@ export default class {
2268
1778
  readonly hasOtp: boolean & {
2269
1779
  readonly?: "__readonly" | undefined;
2270
1780
  };
2271
- readonly accountType?: (("service-account" | "user") & {
1781
+ readonly accountType?: (("user" | "service-account") & {
2272
1782
  readonly?: "__readonly" | undefined;
2273
1783
  }) | undefined;
2274
- };
1784
+ }[];
1785
+ program: string;
1786
+ version: string;
1787
+ datetime: string;
1788
+ status: string;
1789
+ code?: number | undefined;
1790
+ message: string;
2275
1791
  }, any>>;
2276
1792
  setRole: (params: {
2277
1793
  id: string;
@@ -2279,20 +1795,16 @@ export default class {
2279
1795
  id: string;
2280
1796
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2281
1797
  status: "success";
2282
- program: string;
2283
- version: string;
2284
- datetime: string;
2285
- code?: number | undefined;
2286
- message: string;
1798
+ } & {
2287
1799
  data: {
2288
- readonly companyId: string & {
1800
+ readonly id: string & {
2289
1801
  readonly?: "__readonly" | undefined;
2290
1802
  };
2291
1803
  readonly roleId: string & {
2292
1804
  readonly?: "__readonly" | undefined;
2293
1805
  };
2294
1806
  readonly resourceGroupIds: string[];
2295
- readonly id: string & {
1807
+ readonly companyId: string & {
2296
1808
  readonly?: "__readonly" | undefined;
2297
1809
  };
2298
1810
  email: string;
@@ -2302,10 +1814,10 @@ export default class {
2302
1814
  readonly updatedAt: string & {
2303
1815
  readonly?: "__readonly" | undefined;
2304
1816
  };
2305
- readonly lastPasswordUpdate: string & {
1817
+ readonly disabled: boolean & {
2306
1818
  readonly?: "__readonly" | undefined;
2307
1819
  };
2308
- readonly disabled: boolean & {
1820
+ readonly lastPasswordUpdate: string & {
2309
1821
  readonly?: "__readonly" | undefined;
2310
1822
  };
2311
1823
  readonly mustUpdatePassword: boolean & {
@@ -2333,10 +1845,16 @@ export default class {
2333
1845
  readonly hasOtp: boolean & {
2334
1846
  readonly?: "__readonly" | undefined;
2335
1847
  };
2336
- readonly accountType?: (("service-account" | "user") & {
1848
+ readonly accountType?: (("user" | "service-account") & {
2337
1849
  readonly?: "__readonly" | undefined;
2338
1850
  }) | undefined;
2339
- };
1851
+ }[];
1852
+ program: string;
1853
+ version: string;
1854
+ datetime: string;
1855
+ status: string;
1856
+ code?: number | undefined;
1857
+ message: string;
2340
1858
  }, any>>;
2341
1859
  setResourceGroups: (params: {
2342
1860
  id: string;
@@ -2344,20 +1862,16 @@ export default class {
2344
1862
  ids: string[];
2345
1863
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2346
1864
  status: "success";
2347
- program: string;
2348
- version: string;
2349
- datetime: string;
2350
- code?: number | undefined;
2351
- message: string;
1865
+ } & {
2352
1866
  data: {
2353
- readonly companyId: string & {
1867
+ readonly id: string & {
2354
1868
  readonly?: "__readonly" | undefined;
2355
1869
  };
2356
1870
  readonly roleId: string & {
2357
1871
  readonly?: "__readonly" | undefined;
2358
1872
  };
2359
1873
  readonly resourceGroupIds: string[];
2360
- readonly id: string & {
1874
+ readonly companyId: string & {
2361
1875
  readonly?: "__readonly" | undefined;
2362
1876
  };
2363
1877
  email: string;
@@ -2367,10 +1881,10 @@ export default class {
2367
1881
  readonly updatedAt: string & {
2368
1882
  readonly?: "__readonly" | undefined;
2369
1883
  };
2370
- readonly lastPasswordUpdate: string & {
1884
+ readonly disabled: boolean & {
2371
1885
  readonly?: "__readonly" | undefined;
2372
1886
  };
2373
- readonly disabled: boolean & {
1887
+ readonly lastPasswordUpdate: string & {
2374
1888
  readonly?: "__readonly" | undefined;
2375
1889
  };
2376
1890
  readonly mustUpdatePassword: boolean & {
@@ -2398,10 +1912,16 @@ export default class {
2398
1912
  readonly hasOtp: boolean & {
2399
1913
  readonly?: "__readonly" | undefined;
2400
1914
  };
2401
- readonly accountType?: (("service-account" | "user") & {
1915
+ readonly accountType?: (("user" | "service-account") & {
2402
1916
  readonly?: "__readonly" | undefined;
2403
1917
  }) | undefined;
2404
- };
1918
+ }[];
1919
+ program: string;
1920
+ version: string;
1921
+ datetime: string;
1922
+ status: string;
1923
+ code?: number | undefined;
1924
+ message: string;
2405
1925
  }, any>>;
2406
1926
  setOtp: (params: {
2407
1927
  id: string;
@@ -2414,20 +1934,16 @@ export default class {
2414
1934
  code: string;
2415
1935
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
2416
1936
  status: "success";
2417
- program: string;
2418
- version: string;
2419
- datetime: string;
2420
- code?: number | undefined;
2421
- message: string;
1937
+ } & {
2422
1938
  data: {
2423
- readonly companyId: string & {
1939
+ readonly id: string & {
2424
1940
  readonly?: "__readonly" | undefined;
2425
1941
  };
2426
1942
  readonly roleId: string & {
2427
1943
  readonly?: "__readonly" | undefined;
2428
1944
  };
2429
1945
  readonly resourceGroupIds: string[];
2430
- readonly id: string & {
1946
+ readonly companyId: string & {
2431
1947
  readonly?: "__readonly" | undefined;
2432
1948
  };
2433
1949
  email: string;
@@ -2437,10 +1953,10 @@ export default class {
2437
1953
  readonly updatedAt: string & {
2438
1954
  readonly?: "__readonly" | undefined;
2439
1955
  };
2440
- readonly lastPasswordUpdate: string & {
1956
+ readonly disabled: boolean & {
2441
1957
  readonly?: "__readonly" | undefined;
2442
1958
  };
2443
- readonly disabled: boolean & {
1959
+ readonly lastPasswordUpdate: string & {
2444
1960
  readonly?: "__readonly" | undefined;
2445
1961
  };
2446
1962
  readonly mustUpdatePassword: boolean & {
@@ -2468,10 +1984,16 @@ export default class {
2468
1984
  readonly hasOtp: boolean & {
2469
1985
  readonly?: "__readonly" | undefined;
2470
1986
  };
2471
- readonly accountType?: (("service-account" | "user") & {
1987
+ readonly accountType?: (("user" | "service-account") & {
2472
1988
  readonly?: "__readonly" | undefined;
2473
1989
  }) | undefined;
2474
- };
1990
+ }[];
1991
+ program: string;
1992
+ version: string;
1993
+ datetime: string;
1994
+ status: string;
1995
+ code?: number | undefined;
1996
+ message: string;
2475
1997
  }, any>>;
2476
1998
  };
2477
1999
  }