@ampsec/platform-client 81.0.0 → 81.1.0

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.
@@ -129,6 +129,51 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
129
129
  department: z.ZodOptional<z.ZodString>;
130
130
  active: z.ZodOptional<z.ZodBoolean>;
131
131
  lastActivity: z.ZodOptional<z.ZodString>;
132
+ meta: z.ZodOptional<z.ZodObject<{
133
+ _profile: z.ZodObject<{
134
+ timeZoneInfo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
135
+ timezone: z.ZodString;
136
+ src: z.ZodNativeEnum<typeof import("./enums").TimeZoneSource>;
137
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ timezone: string;
140
+ src: import("./enums").TimeZoneSource;
141
+ config?: Record<string, unknown> | undefined;
142
+ }, {
143
+ timezone: string;
144
+ src: import("./enums").TimeZoneSource;
145
+ config?: Record<string, unknown> | undefined;
146
+ }>>>;
147
+ }, "strip", z.ZodTypeAny, {
148
+ timeZoneInfo?: {
149
+ timezone: string;
150
+ src: import("./enums").TimeZoneSource;
151
+ config?: Record<string, unknown> | undefined;
152
+ } | undefined;
153
+ }, {
154
+ timeZoneInfo?: {
155
+ timezone: string;
156
+ src: import("./enums").TimeZoneSource;
157
+ config?: Record<string, unknown> | undefined;
158
+ } | undefined;
159
+ }>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ _profile: {
162
+ timeZoneInfo?: {
163
+ timezone: string;
164
+ src: import("./enums").TimeZoneSource;
165
+ config?: Record<string, unknown> | undefined;
166
+ } | undefined;
167
+ };
168
+ }, {
169
+ _profile: {
170
+ timeZoneInfo?: {
171
+ timezone: string;
172
+ src: import("./enums").TimeZoneSource;
173
+ config?: Record<string, unknown> | undefined;
174
+ } | undefined;
175
+ };
176
+ }>>;
132
177
  }, {
133
178
  name: z.ZodOptional<z.ZodString>;
134
179
  /** @deprecated */
@@ -347,6 +392,15 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
347
392
  lastName?: string | undefined;
348
393
  active?: boolean | undefined;
349
394
  lastActivity?: string | undefined;
395
+ meta?: {
396
+ _profile: {
397
+ timeZoneInfo?: {
398
+ timezone: string;
399
+ src: import("./enums").TimeZoneSource;
400
+ config?: Record<string, unknown> | undefined;
401
+ } | undefined;
402
+ };
403
+ } | undefined;
350
404
  mfaStatus?: MfaStatus | undefined;
351
405
  mfaRating?: "UNKNOWN" | "SECURE" | "INSECURE" | "MISSING" | undefined;
352
406
  mfaFactors?: z.objectOutputType<{
@@ -414,6 +468,15 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
414
468
  lastName?: string | undefined;
415
469
  active?: boolean | undefined;
416
470
  lastActivity?: string | undefined;
471
+ meta?: {
472
+ _profile: {
473
+ timeZoneInfo?: {
474
+ timezone: string;
475
+ src: import("./enums").TimeZoneSource;
476
+ config?: Record<string, unknown> | undefined;
477
+ } | undefined;
478
+ };
479
+ } | undefined;
417
480
  mfaStatus?: MfaStatus | undefined;
418
481
  mfaRating?: "UNKNOWN" | "SECURE" | "INSECURE" | "MISSING" | undefined;
419
482
  mfaFactors?: z.objectInputType<{
@@ -460,6 +523,51 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
460
523
  department: z.ZodOptional<z.ZodString>;
461
524
  active: z.ZodOptional<z.ZodBoolean>;
462
525
  lastActivity: z.ZodOptional<z.ZodString>;
526
+ meta: z.ZodOptional<z.ZodObject<{
527
+ _profile: z.ZodObject<{
528
+ timeZoneInfo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
529
+ timezone: z.ZodString;
530
+ src: z.ZodNativeEnum<typeof import("./enums").TimeZoneSource>;
531
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ timezone: string;
534
+ src: import("./enums").TimeZoneSource;
535
+ config?: Record<string, unknown> | undefined;
536
+ }, {
537
+ timezone: string;
538
+ src: import("./enums").TimeZoneSource;
539
+ config?: Record<string, unknown> | undefined;
540
+ }>>>;
541
+ }, "strip", z.ZodTypeAny, {
542
+ timeZoneInfo?: {
543
+ timezone: string;
544
+ src: import("./enums").TimeZoneSource;
545
+ config?: Record<string, unknown> | undefined;
546
+ } | undefined;
547
+ }, {
548
+ timeZoneInfo?: {
549
+ timezone: string;
550
+ src: import("./enums").TimeZoneSource;
551
+ config?: Record<string, unknown> | undefined;
552
+ } | undefined;
553
+ }>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ _profile: {
556
+ timeZoneInfo?: {
557
+ timezone: string;
558
+ src: import("./enums").TimeZoneSource;
559
+ config?: Record<string, unknown> | undefined;
560
+ } | undefined;
561
+ };
562
+ }, {
563
+ _profile: {
564
+ timeZoneInfo?: {
565
+ timezone: string;
566
+ src: import("./enums").TimeZoneSource;
567
+ config?: Record<string, unknown> | undefined;
568
+ } | undefined;
569
+ };
570
+ }>>;
463
571
  }, {
464
572
  userAccounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
465
573
  id: z.ZodOptional<z.ZodString>;
@@ -589,6 +697,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
589
697
  groups?: Record<string, string> | undefined;
590
698
  extId?: string | undefined;
591
699
  lastActivityTime?: string | undefined;
700
+ timeZoneInfo?: {
701
+ timezone: string;
702
+ src: import("./enums").TimeZoneSource;
703
+ config?: Record<string, unknown> | undefined;
704
+ } | undefined;
592
705
  created?: string | undefined;
593
706
  factors?: z.objectOutputType<{
594
707
  cid: z.ZodOptional<z.ZodString>;
@@ -597,11 +710,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
597
710
  factorType: z.ZodOptional<z.ZodString>;
598
711
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
599
712
  }, z.ZodUnknown, "strip">[] | undefined;
600
- timeZoneInfo?: {
601
- timezone: string;
602
- src: import("./enums").TimeZoneSource;
603
- config?: Record<string, unknown> | undefined;
604
- } | undefined;
605
713
  }, {
606
714
  profile: {
607
715
  email: string;
@@ -623,6 +731,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
623
731
  groups?: Record<string, string> | undefined;
624
732
  extId?: string | undefined;
625
733
  lastActivityTime?: string | undefined;
734
+ timeZoneInfo?: {
735
+ timezone: string;
736
+ src: import("./enums").TimeZoneSource;
737
+ config?: Record<string, unknown> | undefined;
738
+ } | undefined;
626
739
  created?: string | undefined;
627
740
  factors?: z.objectInputType<{
628
741
  cid: z.ZodOptional<z.ZodString>;
@@ -631,11 +744,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
631
744
  factorType: z.ZodOptional<z.ZodString>;
632
745
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
633
746
  }, z.ZodUnknown, "strip">[] | undefined;
634
- timeZoneInfo?: {
635
- timezone: string;
636
- src: import("./enums").TimeZoneSource;
637
- config?: Record<string, unknown> | undefined;
638
- } | undefined;
639
747
  }>;
640
748
  _raw: z.ZodUnknown;
641
749
  }, "strip", z.ZodTypeAny, {
@@ -660,6 +768,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
660
768
  groups?: Record<string, string> | undefined;
661
769
  extId?: string | undefined;
662
770
  lastActivityTime?: string | undefined;
771
+ timeZoneInfo?: {
772
+ timezone: string;
773
+ src: import("./enums").TimeZoneSource;
774
+ config?: Record<string, unknown> | undefined;
775
+ } | undefined;
663
776
  created?: string | undefined;
664
777
  factors?: z.objectOutputType<{
665
778
  cid: z.ZodOptional<z.ZodString>;
@@ -668,11 +781,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
668
781
  factorType: z.ZodOptional<z.ZodString>;
669
782
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
670
783
  }, z.ZodUnknown, "strip">[] | undefined;
671
- timeZoneInfo?: {
672
- timezone: string;
673
- src: import("./enums").TimeZoneSource;
674
- config?: Record<string, unknown> | undefined;
675
- } | undefined;
676
784
  };
677
785
  _raw?: unknown;
678
786
  }, {
@@ -697,6 +805,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
697
805
  groups?: Record<string, string> | undefined;
698
806
  extId?: string | undefined;
699
807
  lastActivityTime?: string | undefined;
808
+ timeZoneInfo?: {
809
+ timezone: string;
810
+ src: import("./enums").TimeZoneSource;
811
+ config?: Record<string, unknown> | undefined;
812
+ } | undefined;
700
813
  created?: string | undefined;
701
814
  factors?: z.objectInputType<{
702
815
  cid: z.ZodOptional<z.ZodString>;
@@ -705,11 +818,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
705
818
  factorType: z.ZodOptional<z.ZodString>;
706
819
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
707
820
  }, z.ZodUnknown, "strip">[] | undefined;
708
- timeZoneInfo?: {
709
- timezone: string;
710
- src: import("./enums").TimeZoneSource;
711
- config?: Record<string, unknown> | undefined;
712
- } | undefined;
713
821
  };
714
822
  _raw?: unknown;
715
823
  }>;
@@ -752,6 +860,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
752
860
  groups?: Record<string, string> | undefined;
753
861
  extId?: string | undefined;
754
862
  lastActivityTime?: string | undefined;
863
+ timeZoneInfo?: {
864
+ timezone: string;
865
+ src: import("./enums").TimeZoneSource;
866
+ config?: Record<string, unknown> | undefined;
867
+ } | undefined;
755
868
  created?: string | undefined;
756
869
  factors?: z.objectOutputType<{
757
870
  cid: z.ZodOptional<z.ZodString>;
@@ -760,11 +873,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
760
873
  factorType: z.ZodOptional<z.ZodString>;
761
874
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
762
875
  }, z.ZodUnknown, "strip">[] | undefined;
763
- timeZoneInfo?: {
764
- timezone: string;
765
- src: import("./enums").TimeZoneSource;
766
- config?: Record<string, unknown> | undefined;
767
- } | undefined;
768
876
  };
769
877
  _raw?: unknown;
770
878
  };
@@ -800,6 +908,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
800
908
  groups?: Record<string, string> | undefined;
801
909
  extId?: string | undefined;
802
910
  lastActivityTime?: string | undefined;
911
+ timeZoneInfo?: {
912
+ timezone: string;
913
+ src: import("./enums").TimeZoneSource;
914
+ config?: Record<string, unknown> | undefined;
915
+ } | undefined;
803
916
  created?: string | undefined;
804
917
  factors?: z.objectInputType<{
805
918
  cid: z.ZodOptional<z.ZodString>;
@@ -808,11 +921,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
808
921
  factorType: z.ZodOptional<z.ZodString>;
809
922
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
810
923
  }, z.ZodUnknown, "strip">[] | undefined;
811
- timeZoneInfo?: {
812
- timezone: string;
813
- src: import("./enums").TimeZoneSource;
814
- config?: Record<string, unknown> | undefined;
815
- } | undefined;
816
924
  };
817
925
  _raw?: unknown;
818
926
  };
@@ -1188,6 +1296,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1188
1296
  groups?: Record<string, string> | undefined;
1189
1297
  extId?: string | undefined;
1190
1298
  lastActivityTime?: string | undefined;
1299
+ timeZoneInfo?: {
1300
+ timezone: string;
1301
+ src: import("./enums").TimeZoneSource;
1302
+ config?: Record<string, unknown> | undefined;
1303
+ } | undefined;
1191
1304
  created?: string | undefined;
1192
1305
  factors?: z.objectOutputType<{
1193
1306
  cid: z.ZodOptional<z.ZodString>;
@@ -1196,11 +1309,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1196
1309
  factorType: z.ZodOptional<z.ZodString>;
1197
1310
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
1198
1311
  }, z.ZodUnknown, "strip">[] | undefined;
1199
- timeZoneInfo?: {
1200
- timezone: string;
1201
- src: import("./enums").TimeZoneSource;
1202
- config?: Record<string, unknown> | undefined;
1203
- } | undefined;
1204
1312
  };
1205
1313
  _raw?: unknown;
1206
1314
  };
@@ -1231,6 +1339,15 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1231
1339
  lastName?: string | undefined;
1232
1340
  active?: boolean | undefined;
1233
1341
  lastActivity?: string | undefined;
1342
+ meta?: {
1343
+ _profile: {
1344
+ timeZoneInfo?: {
1345
+ timezone: string;
1346
+ src: import("./enums").TimeZoneSource;
1347
+ config?: Record<string, unknown> | undefined;
1348
+ } | undefined;
1349
+ };
1350
+ } | undefined;
1234
1351
  }, {
1235
1352
  assetAccounts: Record<string, {
1236
1353
  id: string;
@@ -1304,6 +1421,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1304
1421
  groups?: Record<string, string> | undefined;
1305
1422
  extId?: string | undefined;
1306
1423
  lastActivityTime?: string | undefined;
1424
+ timeZoneInfo?: {
1425
+ timezone: string;
1426
+ src: import("./enums").TimeZoneSource;
1427
+ config?: Record<string, unknown> | undefined;
1428
+ } | undefined;
1307
1429
  created?: string | undefined;
1308
1430
  factors?: z.objectInputType<{
1309
1431
  cid: z.ZodOptional<z.ZodString>;
@@ -1312,11 +1434,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1312
1434
  factorType: z.ZodOptional<z.ZodString>;
1313
1435
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
1314
1436
  }, z.ZodUnknown, "strip">[] | undefined;
1315
- timeZoneInfo?: {
1316
- timezone: string;
1317
- src: import("./enums").TimeZoneSource;
1318
- config?: Record<string, unknown> | undefined;
1319
- } | undefined;
1320
1437
  };
1321
1438
  _raw?: unknown;
1322
1439
  };
@@ -1347,5 +1464,14 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1347
1464
  lastName?: string | undefined;
1348
1465
  active?: boolean | undefined;
1349
1466
  lastActivity?: string | undefined;
1467
+ meta?: {
1468
+ _profile: {
1469
+ timeZoneInfo?: {
1470
+ timezone: string;
1471
+ src: import("./enums").TimeZoneSource;
1472
+ config?: Record<string, unknown> | undefined;
1473
+ } | undefined;
1474
+ };
1475
+ } | undefined;
1350
1476
  }>;
1351
1477
  export type UserCoverageReport = z.infer<typeof _UserCoverageReport>;
@@ -131,6 +131,11 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
131
131
  groups?: Record<string, string> | undefined;
132
132
  extId?: string | undefined;
133
133
  lastActivityTime?: string | undefined;
134
+ timeZoneInfo?: {
135
+ timezone: string;
136
+ src: import("..").TimeZoneSource;
137
+ config?: Record<string, unknown> | undefined;
138
+ } | undefined;
134
139
  created?: string | undefined;
135
140
  factors?: z.objectOutputType<{
136
141
  cid: z.ZodOptional<z.ZodString>;
@@ -139,11 +144,6 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
139
144
  factorType: z.ZodOptional<z.ZodString>;
140
145
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
141
146
  }, z.ZodUnknown, "strip">[] | undefined;
142
- timeZoneInfo?: {
143
- timezone: string;
144
- src: import("..").TimeZoneSource;
145
- config?: Record<string, unknown> | undefined;
146
- } | undefined;
147
147
  }, {
148
148
  profile: {
149
149
  email: string;
@@ -165,6 +165,11 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
165
165
  groups?: Record<string, string> | undefined;
166
166
  extId?: string | undefined;
167
167
  lastActivityTime?: string | undefined;
168
+ timeZoneInfo?: {
169
+ timezone: string;
170
+ src: import("..").TimeZoneSource;
171
+ config?: Record<string, unknown> | undefined;
172
+ } | undefined;
168
173
  created?: string | undefined;
169
174
  factors?: z.objectInputType<{
170
175
  cid: z.ZodOptional<z.ZodString>;
@@ -173,11 +178,6 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
173
178
  factorType: z.ZodOptional<z.ZodString>;
174
179
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
175
180
  }, z.ZodUnknown, "strip">[] | undefined;
176
- timeZoneInfo?: {
177
- timezone: string;
178
- src: import("..").TimeZoneSource;
179
- config?: Record<string, unknown> | undefined;
180
- } | undefined;
181
181
  }>;
182
182
  _raw: z.ZodUnknown;
183
183
  }, "strip", z.ZodTypeAny, {
@@ -202,6 +202,11 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
202
202
  groups?: Record<string, string> | undefined;
203
203
  extId?: string | undefined;
204
204
  lastActivityTime?: string | undefined;
205
+ timeZoneInfo?: {
206
+ timezone: string;
207
+ src: import("..").TimeZoneSource;
208
+ config?: Record<string, unknown> | undefined;
209
+ } | undefined;
205
210
  created?: string | undefined;
206
211
  factors?: z.objectOutputType<{
207
212
  cid: z.ZodOptional<z.ZodString>;
@@ -210,11 +215,6 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
210
215
  factorType: z.ZodOptional<z.ZodString>;
211
216
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
212
217
  }, z.ZodUnknown, "strip">[] | undefined;
213
- timeZoneInfo?: {
214
- timezone: string;
215
- src: import("..").TimeZoneSource;
216
- config?: Record<string, unknown> | undefined;
217
- } | undefined;
218
218
  };
219
219
  _raw?: unknown;
220
220
  }, {
@@ -239,6 +239,11 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
239
239
  groups?: Record<string, string> | undefined;
240
240
  extId?: string | undefined;
241
241
  lastActivityTime?: string | undefined;
242
+ timeZoneInfo?: {
243
+ timezone: string;
244
+ src: import("..").TimeZoneSource;
245
+ config?: Record<string, unknown> | undefined;
246
+ } | undefined;
242
247
  created?: string | undefined;
243
248
  factors?: z.objectInputType<{
244
249
  cid: z.ZodOptional<z.ZodString>;
@@ -247,11 +252,6 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
247
252
  factorType: z.ZodOptional<z.ZodString>;
248
253
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
249
254
  }, z.ZodUnknown, "strip">[] | undefined;
250
- timeZoneInfo?: {
251
- timezone: string;
252
- src: import("..").TimeZoneSource;
253
- config?: Record<string, unknown> | undefined;
254
- } | undefined;
255
255
  };
256
256
  _raw?: unknown;
257
257
  }>;
@@ -285,6 +285,11 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
285
285
  groups?: Record<string, string> | undefined;
286
286
  extId?: string | undefined;
287
287
  lastActivityTime?: string | undefined;
288
+ timeZoneInfo?: {
289
+ timezone: string;
290
+ src: import("..").TimeZoneSource;
291
+ config?: Record<string, unknown> | undefined;
292
+ } | undefined;
288
293
  created?: string | undefined;
289
294
  factors?: z.objectOutputType<{
290
295
  cid: z.ZodOptional<z.ZodString>;
@@ -293,11 +298,6 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
293
298
  factorType: z.ZodOptional<z.ZodString>;
294
299
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
295
300
  }, z.ZodUnknown, "strip">[] | undefined;
296
- timeZoneInfo?: {
297
- timezone: string;
298
- src: import("..").TimeZoneSource;
299
- config?: Record<string, unknown> | undefined;
300
- } | undefined;
301
301
  };
302
302
  _raw?: unknown;
303
303
  };
@@ -334,6 +334,11 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
334
334
  groups?: Record<string, string> | undefined;
335
335
  extId?: string | undefined;
336
336
  lastActivityTime?: string | undefined;
337
+ timeZoneInfo?: {
338
+ timezone: string;
339
+ src: import("..").TimeZoneSource;
340
+ config?: Record<string, unknown> | undefined;
341
+ } | undefined;
337
342
  created?: string | undefined;
338
343
  factors?: z.objectInputType<{
339
344
  cid: z.ZodOptional<z.ZodString>;
@@ -342,11 +347,6 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<z.objectUtil.extendSh
342
347
  factorType: z.ZodOptional<z.ZodString>;
343
348
  secure: z.ZodOptional<z.ZodEnum<["SECURE", "INSECURE", "UNKNOWN", "MISSING"]>>;
344
349
  }, z.ZodUnknown, "strip">[] | undefined;
345
- timeZoneInfo?: {
346
- timezone: string;
347
- src: import("..").TimeZoneSource;
348
- config?: Record<string, unknown> | undefined;
349
- } | undefined;
350
350
  };
351
351
  _raw?: unknown;
352
352
  };
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "81.0.0",
3
+ "version": "81.1.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -2,7 +2,16 @@ 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
+ import {_TimeZoneInfoDto} from './timeZoneInfo.dto';
6
+
7
+ export const _UserMeta = z.object({
8
+ _profile: z.object({
9
+ /** User's time zone info */
10
+ timeZoneInfo: z.optional(_TimeZoneInfoDto),
11
+ }),
12
+ });
13
+
14
+ export type GlobalUserMeta = z.infer<typeof _UserMeta>;
6
15
 
7
16
  export const _SimpleUserDto = z.object({
8
17
  id: z.string().optional(),
@@ -16,6 +25,8 @@ export const _SimpleUserDto = z.object({
16
25
  active: z.boolean().optional(),
17
26
  /** Last activity time for the user */
18
27
  lastActivity: z.string().optional(),
28
+ /** Additional information specific to this User */
29
+ meta: z.optional(_UserMeta),
19
30
  });
20
31
 
21
32
  export type SimpleUserDto = z.infer<typeof _SimpleUserDto>;
@@ -49,8 +60,8 @@ export type UserUpsertDto = ChangeAwareUpsertDto & {
49
60
  userType?: GlobalUserType;
50
61
  /** Last time the user was active */
51
62
  lastActivityTime?: string;
52
- /** User's time zone info */
53
- timeZoneInfo?: TimeZoneInfo;
63
+ /** Additional information specific to this User */
64
+ meta?: GlobalUserMeta;
54
65
  };
55
66
 
56
67
  export type UserDto = ChangeAwareDto &