@ampsec/platform-client 81.0.0 → 81.1.1

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.
@@ -159,6 +159,11 @@ export declare const _SaasUserMeta: z.ZodObject<{
159
159
  groups?: Record<string, string> | undefined;
160
160
  extId?: string | undefined;
161
161
  lastActivityTime?: string | undefined;
162
+ timeZoneInfo?: {
163
+ timezone: string;
164
+ src: import("./enums").TimeZoneSource;
165
+ config?: Record<string, unknown> | undefined;
166
+ } | undefined;
162
167
  created?: string | undefined;
163
168
  factors?: z.objectOutputType<{
164
169
  cid: z.ZodOptional<z.ZodString>;
@@ -167,11 +172,6 @@ export declare const _SaasUserMeta: z.ZodObject<{
167
172
  factorType: z.ZodOptional<z.ZodString>;
168
173
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
169
174
  }, z.ZodUnknown, "strip">[] | undefined;
170
- timeZoneInfo?: {
171
- timezone: string;
172
- src: import("./enums").TimeZoneSource;
173
- config?: Record<string, unknown> | undefined;
174
- } | undefined;
175
175
  }, {
176
176
  profile: {
177
177
  email: string;
@@ -193,6 +193,11 @@ export declare const _SaasUserMeta: z.ZodObject<{
193
193
  groups?: Record<string, string> | undefined;
194
194
  extId?: string | undefined;
195
195
  lastActivityTime?: string | undefined;
196
+ timeZoneInfo?: {
197
+ timezone: string;
198
+ src: import("./enums").TimeZoneSource;
199
+ config?: Record<string, unknown> | undefined;
200
+ } | undefined;
196
201
  created?: string | undefined;
197
202
  factors?: z.objectInputType<{
198
203
  cid: z.ZodOptional<z.ZodString>;
@@ -201,11 +206,6 @@ export declare const _SaasUserMeta: z.ZodObject<{
201
206
  factorType: z.ZodOptional<z.ZodString>;
202
207
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
203
208
  }, z.ZodUnknown, "strip">[] | undefined;
204
- timeZoneInfo?: {
205
- timezone: string;
206
- src: import("./enums").TimeZoneSource;
207
- config?: Record<string, unknown> | undefined;
208
- } | undefined;
209
209
  }>;
210
210
  _raw: z.ZodUnknown;
211
211
  }, "strip", z.ZodTypeAny, {
@@ -230,6 +230,11 @@ export declare const _SaasUserMeta: z.ZodObject<{
230
230
  groups?: Record<string, string> | undefined;
231
231
  extId?: string | undefined;
232
232
  lastActivityTime?: string | undefined;
233
+ timeZoneInfo?: {
234
+ timezone: string;
235
+ src: import("./enums").TimeZoneSource;
236
+ config?: Record<string, unknown> | undefined;
237
+ } | undefined;
233
238
  created?: string | undefined;
234
239
  factors?: z.objectOutputType<{
235
240
  cid: z.ZodOptional<z.ZodString>;
@@ -238,11 +243,6 @@ export declare const _SaasUserMeta: z.ZodObject<{
238
243
  factorType: z.ZodOptional<z.ZodString>;
239
244
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
240
245
  }, z.ZodUnknown, "strip">[] | undefined;
241
- timeZoneInfo?: {
242
- timezone: string;
243
- src: import("./enums").TimeZoneSource;
244
- config?: Record<string, unknown> | undefined;
245
- } | undefined;
246
246
  };
247
247
  _raw?: unknown;
248
248
  }, {
@@ -267,6 +267,11 @@ export declare const _SaasUserMeta: z.ZodObject<{
267
267
  groups?: Record<string, string> | undefined;
268
268
  extId?: string | undefined;
269
269
  lastActivityTime?: string | undefined;
270
+ timeZoneInfo?: {
271
+ timezone: string;
272
+ src: import("./enums").TimeZoneSource;
273
+ config?: Record<string, unknown> | undefined;
274
+ } | undefined;
270
275
  created?: string | undefined;
271
276
  factors?: z.objectInputType<{
272
277
  cid: z.ZodOptional<z.ZodString>;
@@ -275,11 +280,6 @@ export declare const _SaasUserMeta: z.ZodObject<{
275
280
  factorType: z.ZodOptional<z.ZodString>;
276
281
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
277
282
  }, z.ZodUnknown, "strip">[] | undefined;
278
- timeZoneInfo?: {
279
- timezone: string;
280
- src: import("./enums").TimeZoneSource;
281
- config?: Record<string, unknown> | undefined;
282
- } | undefined;
283
283
  };
284
284
  _raw?: unknown;
285
285
  }>;
@@ -438,6 +438,11 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
438
438
  groups?: Record<string, string> | undefined;
439
439
  extId?: string | undefined;
440
440
  lastActivityTime?: string | undefined;
441
+ timeZoneInfo?: {
442
+ timezone: string;
443
+ src: import("./enums").TimeZoneSource;
444
+ config?: Record<string, unknown> | undefined;
445
+ } | undefined;
441
446
  created?: string | undefined;
442
447
  factors?: z.objectOutputType<{
443
448
  cid: z.ZodOptional<z.ZodString>;
@@ -446,11 +451,6 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
446
451
  factorType: z.ZodOptional<z.ZodString>;
447
452
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
448
453
  }, z.ZodUnknown, "strip">[] | undefined;
449
- timeZoneInfo?: {
450
- timezone: string;
451
- src: import("./enums").TimeZoneSource;
452
- config?: Record<string, unknown> | undefined;
453
- } | undefined;
454
454
  }, {
455
455
  profile: {
456
456
  email: string;
@@ -472,6 +472,11 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
472
472
  groups?: Record<string, string> | undefined;
473
473
  extId?: string | undefined;
474
474
  lastActivityTime?: string | undefined;
475
+ timeZoneInfo?: {
476
+ timezone: string;
477
+ src: import("./enums").TimeZoneSource;
478
+ config?: Record<string, unknown> | undefined;
479
+ } | undefined;
475
480
  created?: string | undefined;
476
481
  factors?: z.objectInputType<{
477
482
  cid: z.ZodOptional<z.ZodString>;
@@ -480,11 +485,6 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
480
485
  factorType: z.ZodOptional<z.ZodString>;
481
486
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
482
487
  }, z.ZodUnknown, "strip">[] | undefined;
483
- timeZoneInfo?: {
484
- timezone: string;
485
- src: import("./enums").TimeZoneSource;
486
- config?: Record<string, unknown> | undefined;
487
- } | undefined;
488
488
  }>;
489
489
  _raw: z.ZodUnknown;
490
490
  }, "strip", z.ZodTypeAny, {
@@ -509,6 +509,11 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
509
509
  groups?: Record<string, string> | undefined;
510
510
  extId?: string | undefined;
511
511
  lastActivityTime?: string | undefined;
512
+ timeZoneInfo?: {
513
+ timezone: string;
514
+ src: import("./enums").TimeZoneSource;
515
+ config?: Record<string, unknown> | undefined;
516
+ } | undefined;
512
517
  created?: string | undefined;
513
518
  factors?: z.objectOutputType<{
514
519
  cid: z.ZodOptional<z.ZodString>;
@@ -517,11 +522,6 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
517
522
  factorType: z.ZodOptional<z.ZodString>;
518
523
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
519
524
  }, z.ZodUnknown, "strip">[] | undefined;
520
- timeZoneInfo?: {
521
- timezone: string;
522
- src: import("./enums").TimeZoneSource;
523
- config?: Record<string, unknown> | undefined;
524
- } | undefined;
525
525
  };
526
526
  _raw?: unknown;
527
527
  }, {
@@ -546,6 +546,11 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
546
546
  groups?: Record<string, string> | undefined;
547
547
  extId?: string | undefined;
548
548
  lastActivityTime?: string | undefined;
549
+ timeZoneInfo?: {
550
+ timezone: string;
551
+ src: import("./enums").TimeZoneSource;
552
+ config?: Record<string, unknown> | undefined;
553
+ } | undefined;
549
554
  created?: string | undefined;
550
555
  factors?: z.objectInputType<{
551
556
  cid: z.ZodOptional<z.ZodString>;
@@ -554,11 +559,6 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
554
559
  factorType: z.ZodOptional<z.ZodString>;
555
560
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
556
561
  }, z.ZodUnknown, "strip">[] | undefined;
557
- timeZoneInfo?: {
558
- timezone: string;
559
- src: import("./enums").TimeZoneSource;
560
- config?: Record<string, unknown> | undefined;
561
- } | undefined;
562
562
  };
563
563
  _raw?: unknown;
564
564
  }>;
@@ -590,6 +590,11 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
590
590
  groups?: Record<string, string> | undefined;
591
591
  extId?: string | undefined;
592
592
  lastActivityTime?: string | undefined;
593
+ timeZoneInfo?: {
594
+ timezone: string;
595
+ src: import("./enums").TimeZoneSource;
596
+ config?: Record<string, unknown> | undefined;
597
+ } | undefined;
593
598
  created?: string | undefined;
594
599
  factors?: z.objectOutputType<{
595
600
  cid: z.ZodOptional<z.ZodString>;
@@ -598,11 +603,6 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
598
603
  factorType: z.ZodOptional<z.ZodString>;
599
604
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
600
605
  }, z.ZodUnknown, "strip">[] | undefined;
601
- timeZoneInfo?: {
602
- timezone: string;
603
- src: import("./enums").TimeZoneSource;
604
- config?: Record<string, unknown> | undefined;
605
- } | undefined;
606
606
  };
607
607
  _raw?: unknown;
608
608
  };
@@ -638,6 +638,11 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
638
638
  groups?: Record<string, string> | undefined;
639
639
  extId?: string | undefined;
640
640
  lastActivityTime?: string | undefined;
641
+ timeZoneInfo?: {
642
+ timezone: string;
643
+ src: import("./enums").TimeZoneSource;
644
+ config?: Record<string, unknown> | undefined;
645
+ } | undefined;
641
646
  created?: string | undefined;
642
647
  factors?: z.objectInputType<{
643
648
  cid: z.ZodOptional<z.ZodString>;
@@ -646,11 +651,6 @@ export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.
646
651
  factorType: z.ZodOptional<z.ZodString>;
647
652
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
648
653
  }, z.ZodUnknown, "strip">[] | undefined;
649
- timeZoneInfo?: {
650
- timezone: string;
651
- src: import("./enums").TimeZoneSource;
652
- config?: Record<string, unknown> | undefined;
653
- } | undefined;
654
654
  };
655
655
  _raw?: unknown;
656
656
  };
@@ -814,6 +814,11 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
814
814
  groups?: Record<string, string> | undefined;
815
815
  extId?: string | undefined;
816
816
  lastActivityTime?: string | undefined;
817
+ timeZoneInfo?: {
818
+ timezone: string;
819
+ src: import("./enums").TimeZoneSource;
820
+ config?: Record<string, unknown> | undefined;
821
+ } | undefined;
817
822
  created?: string | undefined;
818
823
  factors?: z.objectOutputType<{
819
824
  cid: z.ZodOptional<z.ZodString>;
@@ -822,11 +827,6 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
822
827
  factorType: z.ZodOptional<z.ZodString>;
823
828
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
824
829
  }, z.ZodUnknown, "strip">[] | undefined;
825
- timeZoneInfo?: {
826
- timezone: string;
827
- src: import("./enums").TimeZoneSource;
828
- config?: Record<string, unknown> | undefined;
829
- } | undefined;
830
830
  }, {
831
831
  profile: {
832
832
  email: string;
@@ -848,6 +848,11 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
848
848
  groups?: Record<string, string> | undefined;
849
849
  extId?: string | undefined;
850
850
  lastActivityTime?: string | undefined;
851
+ timeZoneInfo?: {
852
+ timezone: string;
853
+ src: import("./enums").TimeZoneSource;
854
+ config?: Record<string, unknown> | undefined;
855
+ } | undefined;
851
856
  created?: string | undefined;
852
857
  factors?: z.objectInputType<{
853
858
  cid: z.ZodOptional<z.ZodString>;
@@ -856,11 +861,6 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
856
861
  factorType: z.ZodOptional<z.ZodString>;
857
862
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
858
863
  }, z.ZodUnknown, "strip">[] | undefined;
859
- timeZoneInfo?: {
860
- timezone: string;
861
- src: import("./enums").TimeZoneSource;
862
- config?: Record<string, unknown> | undefined;
863
- } | undefined;
864
864
  }>;
865
865
  _raw: z.ZodUnknown;
866
866
  }, "strip", z.ZodTypeAny, {
@@ -885,6 +885,11 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
885
885
  groups?: Record<string, string> | undefined;
886
886
  extId?: string | undefined;
887
887
  lastActivityTime?: string | undefined;
888
+ timeZoneInfo?: {
889
+ timezone: string;
890
+ src: import("./enums").TimeZoneSource;
891
+ config?: Record<string, unknown> | undefined;
892
+ } | undefined;
888
893
  created?: string | undefined;
889
894
  factors?: z.objectOutputType<{
890
895
  cid: z.ZodOptional<z.ZodString>;
@@ -893,11 +898,6 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
893
898
  factorType: z.ZodOptional<z.ZodString>;
894
899
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
895
900
  }, z.ZodUnknown, "strip">[] | undefined;
896
- timeZoneInfo?: {
897
- timezone: string;
898
- src: import("./enums").TimeZoneSource;
899
- config?: Record<string, unknown> | undefined;
900
- } | undefined;
901
901
  };
902
902
  _raw?: unknown;
903
903
  }, {
@@ -922,6 +922,11 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
922
922
  groups?: Record<string, string> | undefined;
923
923
  extId?: string | undefined;
924
924
  lastActivityTime?: string | undefined;
925
+ timeZoneInfo?: {
926
+ timezone: string;
927
+ src: import("./enums").TimeZoneSource;
928
+ config?: Record<string, unknown> | undefined;
929
+ } | undefined;
925
930
  created?: string | undefined;
926
931
  factors?: z.objectInputType<{
927
932
  cid: z.ZodOptional<z.ZodString>;
@@ -930,11 +935,6 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
930
935
  factorType: z.ZodOptional<z.ZodString>;
931
936
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
932
937
  }, z.ZodUnknown, "strip">[] | undefined;
933
- timeZoneInfo?: {
934
- timezone: string;
935
- src: import("./enums").TimeZoneSource;
936
- config?: Record<string, unknown> | undefined;
937
- } | undefined;
938
938
  };
939
939
  _raw?: unknown;
940
940
  }>;
@@ -977,6 +977,11 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
977
977
  groups?: Record<string, string> | undefined;
978
978
  extId?: string | undefined;
979
979
  lastActivityTime?: string | undefined;
980
+ timeZoneInfo?: {
981
+ timezone: string;
982
+ src: import("./enums").TimeZoneSource;
983
+ config?: Record<string, unknown> | undefined;
984
+ } | undefined;
980
985
  created?: string | undefined;
981
986
  factors?: z.objectOutputType<{
982
987
  cid: z.ZodOptional<z.ZodString>;
@@ -985,11 +990,6 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
985
990
  factorType: z.ZodOptional<z.ZodString>;
986
991
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
987
992
  }, z.ZodUnknown, "strip">[] | undefined;
988
- timeZoneInfo?: {
989
- timezone: string;
990
- src: import("./enums").TimeZoneSource;
991
- config?: Record<string, unknown> | undefined;
992
- } | undefined;
993
993
  };
994
994
  _raw?: unknown;
995
995
  };
@@ -1025,6 +1025,11 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
1025
1025
  groups?: Record<string, string> | undefined;
1026
1026
  extId?: string | undefined;
1027
1027
  lastActivityTime?: string | undefined;
1028
+ timeZoneInfo?: {
1029
+ timezone: string;
1030
+ src: import("./enums").TimeZoneSource;
1031
+ config?: Record<string, unknown> | undefined;
1032
+ } | undefined;
1028
1033
  created?: string | undefined;
1029
1034
  factors?: z.objectInputType<{
1030
1035
  cid: z.ZodOptional<z.ZodString>;
@@ -1033,11 +1038,6 @@ export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.object
1033
1038
  factorType: z.ZodOptional<z.ZodString>;
1034
1039
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
1035
1040
  }, z.ZodUnknown, "strip">[] | undefined;
1036
- timeZoneInfo?: {
1037
- timezone: string;
1038
- src: import("./enums").TimeZoneSource;
1039
- config?: Record<string, unknown> | undefined;
1040
- } | undefined;
1041
1041
  };
1042
1042
  _raw?: unknown;
1043
1043
  };
@@ -2,7 +2,53 @@ import { z } from 'zod';
2
2
  import { ChangeAwareDto, ChangeAwareUpsertDto } from './base.dto';
3
3
  import { GlobalUserType } from './enums/globalUser.type';
4
4
  import { RiskContributorUpsertDto } from './riskContributors.dto';
5
- import { TimeZoneInfo } from './timeZoneInfo.dto';
5
+ export declare const _UserMeta: z.ZodObject<{
6
+ _profile: z.ZodObject<{
7
+ /** User's time zone info */
8
+ timeZoneInfo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
9
+ timezone: z.ZodString;
10
+ src: z.ZodNativeEnum<typeof import("./enums").TimeZoneSource>;
11
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ timezone: string;
14
+ src: import("./enums").TimeZoneSource;
15
+ config?: Record<string, unknown> | undefined;
16
+ }, {
17
+ timezone: string;
18
+ src: import("./enums").TimeZoneSource;
19
+ config?: Record<string, unknown> | undefined;
20
+ }>>>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ timeZoneInfo?: {
23
+ timezone: string;
24
+ src: import("./enums").TimeZoneSource;
25
+ config?: Record<string, unknown> | undefined;
26
+ } | undefined;
27
+ }, {
28
+ timeZoneInfo?: {
29
+ timezone: string;
30
+ src: import("./enums").TimeZoneSource;
31
+ config?: Record<string, unknown> | undefined;
32
+ } | undefined;
33
+ }>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ _profile: {
36
+ timeZoneInfo?: {
37
+ timezone: string;
38
+ src: import("./enums").TimeZoneSource;
39
+ config?: Record<string, unknown> | undefined;
40
+ } | undefined;
41
+ };
42
+ }, {
43
+ _profile: {
44
+ timeZoneInfo?: {
45
+ timezone: string;
46
+ src: import("./enums").TimeZoneSource;
47
+ config?: Record<string, unknown> | undefined;
48
+ } | undefined;
49
+ };
50
+ }>;
51
+ export type GlobalUserMeta = z.infer<typeof _UserMeta>;
6
52
  export declare const _SimpleUserDto: z.ZodObject<{
7
53
  id: z.ZodOptional<z.ZodString>;
8
54
  score: z.ZodOptional<z.ZodNumber>;
@@ -15,6 +61,53 @@ export declare const _SimpleUserDto: z.ZodObject<{
15
61
  active: z.ZodOptional<z.ZodBoolean>;
16
62
  /** Last activity time for the user */
17
63
  lastActivity: z.ZodOptional<z.ZodString>;
64
+ /** Additional information specific to this User */
65
+ meta: z.ZodOptional<z.ZodObject<{
66
+ _profile: z.ZodObject<{
67
+ /** User's time zone info */
68
+ timeZoneInfo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
69
+ timezone: z.ZodString;
70
+ src: z.ZodNativeEnum<typeof import("./enums").TimeZoneSource>;
71
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ timezone: string;
74
+ src: import("./enums").TimeZoneSource;
75
+ config?: Record<string, unknown> | undefined;
76
+ }, {
77
+ timezone: string;
78
+ src: import("./enums").TimeZoneSource;
79
+ config?: Record<string, unknown> | undefined;
80
+ }>>>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ timeZoneInfo?: {
83
+ timezone: string;
84
+ src: import("./enums").TimeZoneSource;
85
+ config?: Record<string, unknown> | undefined;
86
+ } | undefined;
87
+ }, {
88
+ timeZoneInfo?: {
89
+ timezone: string;
90
+ src: import("./enums").TimeZoneSource;
91
+ config?: Record<string, unknown> | undefined;
92
+ } | undefined;
93
+ }>;
94
+ }, "strip", z.ZodTypeAny, {
95
+ _profile: {
96
+ timeZoneInfo?: {
97
+ timezone: string;
98
+ src: import("./enums").TimeZoneSource;
99
+ config?: Record<string, unknown> | undefined;
100
+ } | undefined;
101
+ };
102
+ }, {
103
+ _profile: {
104
+ timeZoneInfo?: {
105
+ timezone: string;
106
+ src: import("./enums").TimeZoneSource;
107
+ config?: Record<string, unknown> | undefined;
108
+ } | undefined;
109
+ };
110
+ }>>;
18
111
  }, "strip", z.ZodTypeAny, {
19
112
  email?: string | undefined;
20
113
  id?: string | undefined;
@@ -25,6 +118,15 @@ export declare const _SimpleUserDto: z.ZodObject<{
25
118
  lastName?: string | undefined;
26
119
  active?: boolean | undefined;
27
120
  lastActivity?: string | undefined;
121
+ meta?: {
122
+ _profile: {
123
+ timeZoneInfo?: {
124
+ timezone: string;
125
+ src: import("./enums").TimeZoneSource;
126
+ config?: Record<string, unknown> | undefined;
127
+ } | undefined;
128
+ };
129
+ } | undefined;
28
130
  }, {
29
131
  email?: string | undefined;
30
132
  id?: string | undefined;
@@ -35,6 +137,15 @@ export declare const _SimpleUserDto: z.ZodObject<{
35
137
  lastName?: string | undefined;
36
138
  active?: boolean | undefined;
37
139
  lastActivity?: string | undefined;
140
+ meta?: {
141
+ _profile: {
142
+ timeZoneInfo?: {
143
+ timezone: string;
144
+ src: import("./enums").TimeZoneSource;
145
+ config?: Record<string, unknown> | undefined;
146
+ } | undefined;
147
+ };
148
+ } | undefined;
38
149
  }>;
39
150
  export type SimpleUserDto = z.infer<typeof _SimpleUserDto>;
40
151
  export type UserUpsertDto = ChangeAwareUpsertDto & {
@@ -66,8 +177,8 @@ export type UserUpsertDto = ChangeAwareUpsertDto & {
66
177
  userType?: GlobalUserType;
67
178
  /** Last time the user was active */
68
179
  lastActivityTime?: string;
69
- /** User's time zone info */
70
- timeZoneInfo?: TimeZoneInfo;
180
+ /** Additional information specific to this User */
181
+ meta?: GlobalUserMeta;
71
182
  };
72
183
  export type UserDto = ChangeAwareDto & UserUpsertDto & {
73
184
  /** Human readable name of the user's tenant, e.g. tenant.displayName */
@@ -1,7 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports._SimpleUserDto = void 0;
3
+ exports._SimpleUserDto = exports._UserMeta = void 0;
4
4
  const zod_1 = require("zod");
5
+ const timeZoneInfo_dto_1 = require("./timeZoneInfo.dto");
6
+ exports._UserMeta = zod_1.z.object({
7
+ _profile: zod_1.z.object({
8
+ /** User's time zone info */
9
+ timeZoneInfo: zod_1.z.optional(timeZoneInfo_dto_1._TimeZoneInfoDto),
10
+ }),
11
+ });
5
12
  exports._SimpleUserDto = zod_1.z.object({
6
13
  id: zod_1.z.string().optional(),
7
14
  score: zod_1.z.number().optional(),
@@ -14,5 +21,7 @@ exports._SimpleUserDto = zod_1.z.object({
14
21
  active: zod_1.z.boolean().optional(),
15
22
  /** Last activity time for the user */
16
23
  lastActivity: zod_1.z.string().optional(),
24
+ /** Additional information specific to this User */
25
+ meta: zod_1.z.optional(exports._UserMeta),
17
26
  });
18
27
  //# sourceMappingURL=users.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.dto.js","sourceRoot":"","sources":["../../../src/dto/users.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAMT,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc;IACd,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,sCAAsC;IACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC"}
1
+ {"version":3,"file":"users.dto.js","sourceRoot":"","sources":["../../../src/dto/users.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAItB,yDAAoD;AAEvC,QAAA,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,4BAA4B;QAC5B,YAAY,EAAE,OAAC,CAAC,QAAQ,CAAC,mCAAgB,CAAC;KAC3C,CAAC;CACH,CAAC,CAAC;AAIU,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc;IACd,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,sCAAsC;IACtC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,mDAAmD;IACnD,IAAI,EAAE,OAAC,CAAC,QAAQ,CAAC,iBAAS,CAAC;CAC5B,CAAC,CAAC"}
@@ -122,6 +122,7 @@ export declare const AMP_SETTINGS: {
122
122
  GOOGLE_PRIV_ACCESS_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
123
123
  GOOGLE_SERV_ACCT_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
124
124
  GOOGLE_SERVICE_ACCOUNT_EMAILS: import("./services").TypedAmpSettingsKey<string[]>;
125
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
125
126
  };
126
127
  okta: {
127
128
  OKTA_EXECUTIVE_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
@@ -138,6 +139,7 @@ export declare const AMP_SETTINGS: {
138
139
  ONELOGIN_PRIV_ACCESS_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
139
140
  ONELOGIN_SERV_ACCT_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
140
141
  ONELOGIN_SERVICE_ACCCOUNT_EMAILS: import("./services").TypedAmpSettingsKey<string[]>;
142
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
141
143
  };
142
144
  slack: {
143
145
  /** @deprecated */
@@ -152,6 +154,7 @@ export declare const AMP_SETTINGS: {
152
154
  };
153
155
  knowBe4: {
154
156
  KNOWBE4_PHISHING_EXP: import("./services").TypedAmpSettingsKey<string>;
157
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
155
158
  };
156
159
  tenable: {
157
160
  /** Used to calculate `active` status. */
@@ -178,6 +181,7 @@ export declare const AMP_SETTINGS: {
178
181
  QUALYS_VULN_HIGH_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
179
182
  QUALYS_VULN_MEDIUM_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
180
183
  QUALYS_VULN_LOW_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
184
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
181
185
  };
182
186
  rapid7: {
183
187
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
@@ -189,12 +193,14 @@ export declare const AMP_SETTINGS: {
189
193
  RAPID7_VULN_LOW_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
190
194
  RAPID7_INCLUDE_MANAGED_APPS: import("./services").TypedAmpSettingsKey<string[]>;
191
195
  RAPID7_EXCLUDE_MANAGED_APPS: import("./services").TypedAmpSettingsKey<string[]>;
196
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
192
197
  };
193
198
  carbonblack: {
194
199
  CARBONBLACK_VULN_CRIT_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
195
200
  CARBONBLACK_VULN_HIGH_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
196
201
  CARBONBLACK_VULN_MEDIUM_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
197
202
  CARBONBLACK_VULN_LOW_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
203
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
198
204
  };
199
205
  sentinelone: {
200
206
  /** Used to calculate `active` status. */
@@ -207,6 +213,7 @@ export declare const AMP_SETTINGS: {
207
213
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
208
214
  ETL_DEVICE_MANAGEMENT_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
209
215
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
216
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
210
217
  };
211
218
  kandji: {
212
219
  /** @deprecated
@@ -216,6 +223,7 @@ export declare const AMP_SETTINGS: {
216
223
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
217
224
  ETL_DEVICE_MANAGEMENT_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
218
225
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
226
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
219
227
  KANDJI_VULN_CRIT_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
220
228
  KANDJI_VULN_HIGH_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
221
229
  KANDJI_VULN_MEDIUM_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
@@ -229,6 +237,7 @@ export declare const AMP_SETTINGS: {
229
237
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
230
238
  ETL_DEVICE_MANAGEMENT_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
231
239
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
240
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
232
241
  DEFENDER_VULN_CRIT_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
233
242
  DEFENDER_VULN_HIGH_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
234
243
  DEFENDER_VULN_MEDIUM_DEADLINE_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
@@ -238,11 +247,13 @@ export declare const AMP_SETTINGS: {
238
247
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
239
248
  ETL_DEVICE_MANAGEMENT_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
240
249
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
250
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
241
251
  };
242
252
  intune: {
243
253
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
244
254
  ETL_DEVICE_MANAGEMENT_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
245
255
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
256
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
246
257
  };
247
258
  vmware: {
248
259
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
@@ -250,6 +261,7 @@ export declare const AMP_SETTINGS: {
250
261
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
251
262
  VMWARE_INCLUDE_MANAGED_APPS: import("./services").TypedAmpSettingsKey<string[]>;
252
263
  VMWARE_EXCLUDE_MANAGED_APPS: import("./services").TypedAmpSettingsKey<string[]>;
264
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
253
265
  };
254
266
  cortex: {
255
267
  CORTEX_ACTIVE_LAST_ACTIVITY_THRESHOLD: import("./services").TypedAmpSettingsKey<string>;
@@ -260,6 +272,7 @@ export declare const AMP_SETTINGS: {
260
272
  ETL_VULN_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
261
273
  ETL_DEVICE_MANAGEMENT_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
262
274
  ETL_DEVICE_SECURITY_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
275
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
263
276
  };
264
277
  entra: {
265
278
  ETL_USER_FILTER: import("./services").TypedAmpSettingsKey<string>;
@@ -268,9 +281,14 @@ export declare const AMP_SETTINGS: {
268
281
  ENTRA_PRIV_ACCESS_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
269
282
  ENTRA_SERV_ACCT_GROUPS: import("./services").TypedAmpSettingsKey<string[]>;
270
283
  ENTRA_SERVICE_ACCOUNT_EMAILS: import("./services").TypedAmpSettingsKey<string[]>;
284
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
271
285
  };
272
286
  proofpoint: {
273
287
  PROOFPOINT_TOP_CLICKER_THRESHOLD: import("./services").TypedAmpSettingsKey<number>;
274
288
  PROOFPOINT_VERY_ATTACKED_PEOPLE_THRESHOLD: import("./services").TypedAmpSettingsKey<number>;
289
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
290
+ };
291
+ automox: {
292
+ ETL_V2_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
275
293
  };
276
294
  };