@seamapi/types 1.365.0 → 1.367.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.
Files changed (32) hide show
  1. package/dist/connect.cjs +708 -7
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1802 -95
  4. package/lib/seam/connect/models/acs/{acs-user.d.ts → acs-users/acs-user.d.ts} +540 -18
  5. package/lib/seam/connect/models/acs/{acs-user.js → acs-users/acs-user.js} +9 -2
  6. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -0
  7. package/lib/seam/connect/models/acs/acs-users/index.d.ts +2 -0
  8. package/lib/seam/connect/models/acs/acs-users/index.js +3 -0
  9. package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -0
  10. package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +176 -0
  11. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +42 -0
  12. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -0
  13. package/lib/seam/connect/models/acs/index.d.ts +1 -1
  14. package/lib/seam/connect/models/acs/index.js +1 -1
  15. package/lib/seam/connect/models/acs/index.js.map +1 -1
  16. package/lib/seam/connect/models/bridges/bridge_client_session.d.ts +235 -0
  17. package/lib/seam/connect/models/bridges/bridge_client_session.js +47 -0
  18. package/lib/seam/connect/models/bridges/bridge_client_session.js.map +1 -1
  19. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  20. package/lib/seam/connect/openapi.d.ts +716 -0
  21. package/lib/seam/connect/openapi.js +628 -0
  22. package/lib/seam/connect/openapi.js.map +1 -1
  23. package/lib/seam/connect/route-types.d.ts +399 -0
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/models/acs/{acs-user.ts → acs-users/acs-user.ts} +9 -2
  26. package/src/lib/seam/connect/models/acs/acs-users/index.ts +2 -0
  27. package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +56 -0
  28. package/src/lib/seam/connect/models/acs/index.ts +1 -1
  29. package/src/lib/seam/connect/models/bridges/bridge_client_session.ts +62 -0
  30. package/src/lib/seam/connect/openapi.ts +676 -0
  31. package/src/lib/seam/connect/route-types.ts +457 -0
  32. package/lib/seam/connect/models/acs/acs-user.js.map +0 -1
@@ -287,27 +287,27 @@ export declare const acs_user_unapplied_modification_map: z.ZodObject<{
287
287
  modification_code: "profile";
288
288
  }>>>;
289
289
  }, "strip", z.ZodTypeAny, {
290
- suspension_state?: {
291
- message: string;
292
- created_at: string;
293
- modification_code: "suspension_state";
294
- } | null | undefined;
295
290
  profile?: {
296
291
  message: string;
297
292
  created_at: string;
298
293
  modification_code: "profile";
299
294
  } | null | undefined;
300
- }, {
301
295
  suspension_state?: {
302
296
  message: string;
303
297
  created_at: string;
304
298
  modification_code: "suspension_state";
305
299
  } | null | undefined;
300
+ }, {
306
301
  profile?: {
307
302
  message: string;
308
303
  created_at: string;
309
304
  modification_code: "profile";
310
305
  } | null | undefined;
306
+ suspension_state?: {
307
+ message: string;
308
+ created_at: string;
309
+ modification_code: "suspension_state";
310
+ } | null | undefined;
311
311
  }>;
312
312
  export type AcsUserUnappliedModificationMap = z.infer<typeof acs_user_unapplied_modification_map>;
313
313
  export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -442,6 +442,181 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
442
442
  created_at: string;
443
443
  error_code: "failed_to_delete_on_acs_system";
444
444
  }>]>, "many">;
445
+ pending_modifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"modification_code", [z.ZodObject<z.objectUtil.extendShape<{
446
+ created_at: z.ZodString;
447
+ }, {
448
+ modification_code: z.ZodLiteral<"profile">;
449
+ modified_from: z.ZodObject<{
450
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
452
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ email_address?: string | null | undefined;
455
+ full_name?: string | null | undefined;
456
+ phone_number?: string | null | undefined;
457
+ }, {
458
+ email_address?: string | null | undefined;
459
+ full_name?: string | null | undefined;
460
+ phone_number?: string | null | undefined;
461
+ }>;
462
+ modified_to: z.ZodObject<{
463
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
464
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
465
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ email_address?: string | null | undefined;
468
+ full_name?: string | null | undefined;
469
+ phone_number?: string | null | undefined;
470
+ }, {
471
+ email_address?: string | null | undefined;
472
+ full_name?: string | null | undefined;
473
+ phone_number?: string | null | undefined;
474
+ }>;
475
+ }>, "strip", z.ZodTypeAny, {
476
+ created_at: string;
477
+ modification_code: "profile";
478
+ modified_from: {
479
+ email_address?: string | null | undefined;
480
+ full_name?: string | null | undefined;
481
+ phone_number?: string | null | undefined;
482
+ };
483
+ modified_to: {
484
+ email_address?: string | null | undefined;
485
+ full_name?: string | null | undefined;
486
+ phone_number?: string | null | undefined;
487
+ };
488
+ }, {
489
+ created_at: string;
490
+ modification_code: "profile";
491
+ modified_from: {
492
+ email_address?: string | null | undefined;
493
+ full_name?: string | null | undefined;
494
+ phone_number?: string | null | undefined;
495
+ };
496
+ modified_to: {
497
+ email_address?: string | null | undefined;
498
+ full_name?: string | null | undefined;
499
+ phone_number?: string | null | undefined;
500
+ };
501
+ }>, z.ZodObject<z.objectUtil.extendShape<{
502
+ created_at: z.ZodString;
503
+ }, {
504
+ modification_code: z.ZodLiteral<"access_schedule">;
505
+ modified_from: z.ZodObject<{
506
+ starts_at: z.ZodString;
507
+ ends_at: z.ZodNullable<z.ZodString>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ starts_at: string;
510
+ ends_at: string | null;
511
+ }, {
512
+ starts_at: string;
513
+ ends_at: string | null;
514
+ }>;
515
+ modified_to: z.ZodObject<{
516
+ starts_at: z.ZodString;
517
+ ends_at: z.ZodNullable<z.ZodString>;
518
+ }, "strip", z.ZodTypeAny, {
519
+ starts_at: string;
520
+ ends_at: string | null;
521
+ }, {
522
+ starts_at: string;
523
+ ends_at: string | null;
524
+ }>;
525
+ }>, "strip", z.ZodTypeAny, {
526
+ created_at: string;
527
+ modification_code: "access_schedule";
528
+ modified_from: {
529
+ starts_at: string;
530
+ ends_at: string | null;
531
+ };
532
+ modified_to: {
533
+ starts_at: string;
534
+ ends_at: string | null;
535
+ };
536
+ }, {
537
+ created_at: string;
538
+ modification_code: "access_schedule";
539
+ modified_from: {
540
+ starts_at: string;
541
+ ends_at: string | null;
542
+ };
543
+ modified_to: {
544
+ starts_at: string;
545
+ ends_at: string | null;
546
+ };
547
+ }>, z.ZodObject<z.objectUtil.extendShape<{
548
+ created_at: z.ZodString;
549
+ }, {
550
+ modification_code: z.ZodLiteral<"suspension_state">;
551
+ modified_from: z.ZodObject<{
552
+ is_suspended: z.ZodBoolean;
553
+ }, "strip", z.ZodTypeAny, {
554
+ is_suspended: boolean;
555
+ }, {
556
+ is_suspended: boolean;
557
+ }>;
558
+ modified_to: z.ZodObject<{
559
+ is_suspended: z.ZodBoolean;
560
+ }, "strip", z.ZodTypeAny, {
561
+ is_suspended: boolean;
562
+ }, {
563
+ is_suspended: boolean;
564
+ }>;
565
+ }>, "strip", z.ZodTypeAny, {
566
+ created_at: string;
567
+ modification_code: "suspension_state";
568
+ modified_from: {
569
+ is_suspended: boolean;
570
+ };
571
+ modified_to: {
572
+ is_suspended: boolean;
573
+ };
574
+ }, {
575
+ created_at: string;
576
+ modification_code: "suspension_state";
577
+ modified_from: {
578
+ is_suspended: boolean;
579
+ };
580
+ modified_to: {
581
+ is_suspended: boolean;
582
+ };
583
+ }>, z.ZodObject<z.objectUtil.extendShape<{
584
+ created_at: z.ZodString;
585
+ }, {
586
+ modification_code: z.ZodLiteral<"acs_access_group_membership">;
587
+ modified_from: z.ZodObject<{
588
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ acs_access_group_id: string | null;
591
+ }, {
592
+ acs_access_group_id: string | null;
593
+ }>;
594
+ modified_to: z.ZodObject<{
595
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ acs_access_group_id: string | null;
598
+ }, {
599
+ acs_access_group_id: string | null;
600
+ }>;
601
+ }>, "strip", z.ZodTypeAny, {
602
+ created_at: string;
603
+ modification_code: "acs_access_group_membership";
604
+ modified_from: {
605
+ acs_access_group_id: string | null;
606
+ };
607
+ modified_to: {
608
+ acs_access_group_id: string | null;
609
+ };
610
+ }, {
611
+ created_at: string;
612
+ modification_code: "acs_access_group_membership";
613
+ modified_from: {
614
+ acs_access_group_id: string | null;
615
+ };
616
+ modified_to: {
617
+ acs_access_group_id: string | null;
618
+ };
619
+ }>]>, "many">>;
445
620
  }, {
446
621
  full_name: z.ZodOptional<z.ZodString>;
447
622
  email: z.ZodOptional<z.ZodString>;
@@ -496,18 +671,61 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
496
671
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
497
672
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
498
673
  user_identity_id?: string | undefined;
499
- full_name?: string | undefined;
500
674
  email_address?: string | undefined;
675
+ full_name?: string | undefined;
501
676
  phone_number?: string | undefined;
502
- hid_acs_system_id?: string | undefined;
503
- is_suspended?: boolean | undefined;
504
677
  access_schedule?: {
505
678
  starts_at: string;
506
679
  ends_at: string | null;
507
680
  } | undefined;
681
+ is_suspended?: boolean | undefined;
682
+ hid_acs_system_id?: string | undefined;
508
683
  user_identity_full_name?: string | null | undefined;
509
684
  user_identity_email_address?: string | null | undefined;
510
685
  user_identity_phone_number?: string | null | undefined;
686
+ pending_modifications?: ({
687
+ created_at: string;
688
+ modification_code: "profile";
689
+ modified_from: {
690
+ email_address?: string | null | undefined;
691
+ full_name?: string | null | undefined;
692
+ phone_number?: string | null | undefined;
693
+ };
694
+ modified_to: {
695
+ email_address?: string | null | undefined;
696
+ full_name?: string | null | undefined;
697
+ phone_number?: string | null | undefined;
698
+ };
699
+ } | {
700
+ created_at: string;
701
+ modification_code: "access_schedule";
702
+ modified_from: {
703
+ starts_at: string;
704
+ ends_at: string | null;
705
+ };
706
+ modified_to: {
707
+ starts_at: string;
708
+ ends_at: string | null;
709
+ };
710
+ } | {
711
+ created_at: string;
712
+ modification_code: "suspension_state";
713
+ modified_from: {
714
+ is_suspended: boolean;
715
+ };
716
+ modified_to: {
717
+ is_suspended: boolean;
718
+ };
719
+ } | {
720
+ created_at: string;
721
+ modification_code: "acs_access_group_membership";
722
+ modified_from: {
723
+ acs_access_group_id: string | null;
724
+ };
725
+ modified_to: {
726
+ acs_access_group_id: string | null;
727
+ };
728
+ })[] | undefined;
511
729
  }, {
512
730
  display_name: string;
513
731
  created_at: string;
@@ -555,18 +773,61 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
555
773
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
556
774
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
557
775
  user_identity_id?: string | undefined;
558
- full_name?: string | undefined;
559
776
  email_address?: string | undefined;
777
+ full_name?: string | undefined;
560
778
  phone_number?: string | undefined;
561
- hid_acs_system_id?: string | undefined;
562
- is_suspended?: boolean | undefined;
563
779
  access_schedule?: {
564
780
  starts_at: string;
565
781
  ends_at: string | null;
566
782
  } | undefined;
783
+ is_suspended?: boolean | undefined;
784
+ hid_acs_system_id?: string | undefined;
567
785
  user_identity_full_name?: string | null | undefined;
568
786
  user_identity_email_address?: string | null | undefined;
569
787
  user_identity_phone_number?: string | null | undefined;
788
+ pending_modifications?: ({
789
+ created_at: string;
790
+ modification_code: "profile";
791
+ modified_from: {
792
+ email_address?: string | null | undefined;
793
+ full_name?: string | null | undefined;
794
+ phone_number?: string | null | undefined;
795
+ };
796
+ modified_to: {
797
+ email_address?: string | null | undefined;
798
+ full_name?: string | null | undefined;
799
+ phone_number?: string | null | undefined;
800
+ };
801
+ } | {
802
+ created_at: string;
803
+ modification_code: "access_schedule";
804
+ modified_from: {
805
+ starts_at: string;
806
+ ends_at: string | null;
807
+ };
808
+ modified_to: {
809
+ starts_at: string;
810
+ ends_at: string | null;
811
+ };
812
+ } | {
813
+ created_at: string;
814
+ modification_code: "suspension_state";
815
+ modified_from: {
816
+ is_suspended: boolean;
817
+ };
818
+ modified_to: {
819
+ is_suspended: boolean;
820
+ };
821
+ } | {
822
+ created_at: string;
823
+ modification_code: "acs_access_group_membership";
824
+ modified_from: {
825
+ acs_access_group_id: string | null;
826
+ };
827
+ modified_to: {
828
+ acs_access_group_id: string | null;
829
+ };
830
+ })[] | undefined;
570
831
  }>;
571
832
  export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
572
833
  acs_user_id: z.ZodString;
@@ -700,6 +961,181 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
700
961
  created_at: string;
701
962
  error_code: "failed_to_delete_on_acs_system";
702
963
  }>]>, "many">;
964
+ pending_modifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"modification_code", [z.ZodObject<z.objectUtil.extendShape<{
965
+ created_at: z.ZodString;
966
+ }, {
967
+ modification_code: z.ZodLiteral<"profile">;
968
+ modified_from: z.ZodObject<{
969
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
970
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
972
+ }, "strip", z.ZodTypeAny, {
973
+ email_address?: string | null | undefined;
974
+ full_name?: string | null | undefined;
975
+ phone_number?: string | null | undefined;
976
+ }, {
977
+ email_address?: string | null | undefined;
978
+ full_name?: string | null | undefined;
979
+ phone_number?: string | null | undefined;
980
+ }>;
981
+ modified_to: z.ZodObject<{
982
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
984
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
985
+ }, "strip", z.ZodTypeAny, {
986
+ email_address?: string | null | undefined;
987
+ full_name?: string | null | undefined;
988
+ phone_number?: string | null | undefined;
989
+ }, {
990
+ email_address?: string | null | undefined;
991
+ full_name?: string | null | undefined;
992
+ phone_number?: string | null | undefined;
993
+ }>;
994
+ }>, "strip", z.ZodTypeAny, {
995
+ created_at: string;
996
+ modification_code: "profile";
997
+ modified_from: {
998
+ email_address?: string | null | undefined;
999
+ full_name?: string | null | undefined;
1000
+ phone_number?: string | null | undefined;
1001
+ };
1002
+ modified_to: {
1003
+ email_address?: string | null | undefined;
1004
+ full_name?: string | null | undefined;
1005
+ phone_number?: string | null | undefined;
1006
+ };
1007
+ }, {
1008
+ created_at: string;
1009
+ modification_code: "profile";
1010
+ modified_from: {
1011
+ email_address?: string | null | undefined;
1012
+ full_name?: string | null | undefined;
1013
+ phone_number?: string | null | undefined;
1014
+ };
1015
+ modified_to: {
1016
+ email_address?: string | null | undefined;
1017
+ full_name?: string | null | undefined;
1018
+ phone_number?: string | null | undefined;
1019
+ };
1020
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1021
+ created_at: z.ZodString;
1022
+ }, {
1023
+ modification_code: z.ZodLiteral<"access_schedule">;
1024
+ modified_from: z.ZodObject<{
1025
+ starts_at: z.ZodString;
1026
+ ends_at: z.ZodNullable<z.ZodString>;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ starts_at: string;
1029
+ ends_at: string | null;
1030
+ }, {
1031
+ starts_at: string;
1032
+ ends_at: string | null;
1033
+ }>;
1034
+ modified_to: z.ZodObject<{
1035
+ starts_at: z.ZodString;
1036
+ ends_at: z.ZodNullable<z.ZodString>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ starts_at: string;
1039
+ ends_at: string | null;
1040
+ }, {
1041
+ starts_at: string;
1042
+ ends_at: string | null;
1043
+ }>;
1044
+ }>, "strip", z.ZodTypeAny, {
1045
+ created_at: string;
1046
+ modification_code: "access_schedule";
1047
+ modified_from: {
1048
+ starts_at: string;
1049
+ ends_at: string | null;
1050
+ };
1051
+ modified_to: {
1052
+ starts_at: string;
1053
+ ends_at: string | null;
1054
+ };
1055
+ }, {
1056
+ created_at: string;
1057
+ modification_code: "access_schedule";
1058
+ modified_from: {
1059
+ starts_at: string;
1060
+ ends_at: string | null;
1061
+ };
1062
+ modified_to: {
1063
+ starts_at: string;
1064
+ ends_at: string | null;
1065
+ };
1066
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1067
+ created_at: z.ZodString;
1068
+ }, {
1069
+ modification_code: z.ZodLiteral<"suspension_state">;
1070
+ modified_from: z.ZodObject<{
1071
+ is_suspended: z.ZodBoolean;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ is_suspended: boolean;
1074
+ }, {
1075
+ is_suspended: boolean;
1076
+ }>;
1077
+ modified_to: z.ZodObject<{
1078
+ is_suspended: z.ZodBoolean;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ is_suspended: boolean;
1081
+ }, {
1082
+ is_suspended: boolean;
1083
+ }>;
1084
+ }>, "strip", z.ZodTypeAny, {
1085
+ created_at: string;
1086
+ modification_code: "suspension_state";
1087
+ modified_from: {
1088
+ is_suspended: boolean;
1089
+ };
1090
+ modified_to: {
1091
+ is_suspended: boolean;
1092
+ };
1093
+ }, {
1094
+ created_at: string;
1095
+ modification_code: "suspension_state";
1096
+ modified_from: {
1097
+ is_suspended: boolean;
1098
+ };
1099
+ modified_to: {
1100
+ is_suspended: boolean;
1101
+ };
1102
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1103
+ created_at: z.ZodString;
1104
+ }, {
1105
+ modification_code: z.ZodLiteral<"acs_access_group_membership">;
1106
+ modified_from: z.ZodObject<{
1107
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
1108
+ }, "strip", z.ZodTypeAny, {
1109
+ acs_access_group_id: string | null;
1110
+ }, {
1111
+ acs_access_group_id: string | null;
1112
+ }>;
1113
+ modified_to: z.ZodObject<{
1114
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
1115
+ }, "strip", z.ZodTypeAny, {
1116
+ acs_access_group_id: string | null;
1117
+ }, {
1118
+ acs_access_group_id: string | null;
1119
+ }>;
1120
+ }>, "strip", z.ZodTypeAny, {
1121
+ created_at: string;
1122
+ modification_code: "acs_access_group_membership";
1123
+ modified_from: {
1124
+ acs_access_group_id: string | null;
1125
+ };
1126
+ modified_to: {
1127
+ acs_access_group_id: string | null;
1128
+ };
1129
+ }, {
1130
+ created_at: string;
1131
+ modification_code: "acs_access_group_membership";
1132
+ modified_from: {
1133
+ acs_access_group_id: string | null;
1134
+ };
1135
+ modified_to: {
1136
+ acs_access_group_id: string | null;
1137
+ };
1138
+ }>]>, "many">>;
703
1139
  }, {
704
1140
  full_name: z.ZodOptional<z.ZodString>;
705
1141
  email: z.ZodOptional<z.ZodString>;
@@ -754,18 +1190,61 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
754
1190
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
755
1191
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
756
1192
  user_identity_id?: string | undefined;
757
- full_name?: string | undefined;
758
1193
  email_address?: string | undefined;
1194
+ full_name?: string | undefined;
759
1195
  phone_number?: string | undefined;
760
- hid_acs_system_id?: string | undefined;
761
- is_suspended?: boolean | undefined;
762
1196
  access_schedule?: {
763
1197
  starts_at: string;
764
1198
  ends_at: string | null;
765
1199
  } | undefined;
1200
+ is_suspended?: boolean | undefined;
1201
+ hid_acs_system_id?: string | undefined;
766
1202
  user_identity_full_name?: string | null | undefined;
767
1203
  user_identity_email_address?: string | null | undefined;
768
1204
  user_identity_phone_number?: string | null | undefined;
1205
+ pending_modifications?: ({
1206
+ created_at: string;
1207
+ modification_code: "profile";
1208
+ modified_from: {
1209
+ email_address?: string | null | undefined;
1210
+ full_name?: string | null | undefined;
1211
+ phone_number?: string | null | undefined;
1212
+ };
1213
+ modified_to: {
1214
+ email_address?: string | null | undefined;
1215
+ full_name?: string | null | undefined;
1216
+ phone_number?: string | null | undefined;
1217
+ };
1218
+ } | {
1219
+ created_at: string;
1220
+ modification_code: "access_schedule";
1221
+ modified_from: {
1222
+ starts_at: string;
1223
+ ends_at: string | null;
1224
+ };
1225
+ modified_to: {
1226
+ starts_at: string;
1227
+ ends_at: string | null;
1228
+ };
1229
+ } | {
1230
+ created_at: string;
1231
+ modification_code: "suspension_state";
1232
+ modified_from: {
1233
+ is_suspended: boolean;
1234
+ };
1235
+ modified_to: {
1236
+ is_suspended: boolean;
1237
+ };
1238
+ } | {
1239
+ created_at: string;
1240
+ modification_code: "acs_access_group_membership";
1241
+ modified_from: {
1242
+ acs_access_group_id: string | null;
1243
+ };
1244
+ modified_to: {
1245
+ acs_access_group_id: string | null;
1246
+ };
1247
+ })[] | undefined;
769
1248
  }, {
770
1249
  display_name: string;
771
1250
  created_at: string;
@@ -813,18 +1292,61 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
813
1292
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
814
1293
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
815
1294
  user_identity_id?: string | undefined;
816
- full_name?: string | undefined;
817
1295
  email_address?: string | undefined;
1296
+ full_name?: string | undefined;
818
1297
  phone_number?: string | undefined;
819
- hid_acs_system_id?: string | undefined;
820
- is_suspended?: boolean | undefined;
821
1298
  access_schedule?: {
822
1299
  starts_at: string;
823
1300
  ends_at: string | null;
824
1301
  } | undefined;
1302
+ is_suspended?: boolean | undefined;
1303
+ hid_acs_system_id?: string | undefined;
825
1304
  user_identity_full_name?: string | null | undefined;
826
1305
  user_identity_email_address?: string | null | undefined;
827
1306
  user_identity_phone_number?: string | null | undefined;
1307
+ pending_modifications?: ({
1308
+ created_at: string;
1309
+ modification_code: "profile";
1310
+ modified_from: {
1311
+ email_address?: string | null | undefined;
1312
+ full_name?: string | null | undefined;
1313
+ phone_number?: string | null | undefined;
1314
+ };
1315
+ modified_to: {
1316
+ email_address?: string | null | undefined;
1317
+ full_name?: string | null | undefined;
1318
+ phone_number?: string | null | undefined;
1319
+ };
1320
+ } | {
1321
+ created_at: string;
1322
+ modification_code: "access_schedule";
1323
+ modified_from: {
1324
+ starts_at: string;
1325
+ ends_at: string | null;
1326
+ };
1327
+ modified_to: {
1328
+ starts_at: string;
1329
+ ends_at: string | null;
1330
+ };
1331
+ } | {
1332
+ created_at: string;
1333
+ modification_code: "suspension_state";
1334
+ modified_from: {
1335
+ is_suspended: boolean;
1336
+ };
1337
+ modified_to: {
1338
+ is_suspended: boolean;
1339
+ };
1340
+ } | {
1341
+ created_at: string;
1342
+ modification_code: "acs_access_group_membership";
1343
+ modified_from: {
1344
+ acs_access_group_id: string | null;
1345
+ };
1346
+ modified_to: {
1347
+ acs_access_group_id: string | null;
1348
+ };
1349
+ })[] | undefined;
828
1350
  }>;
829
1351
  export type AcsUser = z.output<typeof acs_user>;
830
1352
  export type AcsUnmanagedUser = z.output<typeof unmanaged_acs_user>;
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { phone_number } from '../phone-number.js';
3
- import { schedule } from '../schedule.js';
2
+ import { phone_number } from '../../phone-number.js';
3
+ import { schedule } from '../../schedule.js';
4
+ import { acs_user_pending_modification } from './pending-modifications.js';
4
5
  export const acs_user_external_type = z.enum([
5
6
  'pti_user',
6
7
  'brivo_user',
@@ -226,6 +227,12 @@ const common_acs_user = z
226
227
  errors: z
227
228
  .array(acs_user_errors)
228
229
  .describe('Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).'),
230
+ pending_modifications: z.array(acs_user_pending_modification).optional()
231
+ .describe(`
232
+ ---
233
+ undocumented: Experimental.
234
+ ---
235
+ `),
229
236
  })
230
237
  .merge(user_fields);
231
238
  export const acs_user = common_acs_user.merge(z.object({
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAC5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAA;AAE1E,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;IACZ,0BAA0B;IAC1B,kBAAkB;CACnB,CAAC,CAAA;AAIF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,4BAA4B,GAAG,qBAAqB;KACvD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;CAC5C,CAAC;KACD,QAAQ,CACP,yOAAyO,CAC1O,CAAA;AAEH,MAAM,8CAA8C,GAAG,qBAAqB;KACzE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC;KACD,QAAQ,CACP,mMAAmM,CACpM,CAAA;AAEH,MAAM,w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,EAAE,CAAC;SAC5C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;OAIpB,CAAC;IACJ,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,kBAAkB,CAAC;SACzB,QAAQ,CACP,wHAAwH,CACzH;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,eAAe,CAAC;SACtB,QAAQ,CACP,sHAAsH,CACvH;IACH,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,QAAQ,EAAE;SACrE,QAAQ,CAAC;;;;OAIT,CAAC;CACL,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAC3C,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CACH,CAAC,QAAQ,CAAC;;;;;CAKV,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CACrD,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAC,QAAQ,CAAC;;;;;CAKV,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './acs-user.js';
2
+ export * from './pending-modifications.js';
@@ -0,0 +1,3 @@
1
+ export * from './acs-user.js';
2
+ export * from './pending-modifications.js';
3
+ //# sourceMappingURL=index.js.map