@seamapi/types 1.736.0 → 1.738.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 (47) hide show
  1. package/dist/connect.cjs +659 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2935 -423
  4. package/dist/index.cjs +659 -22
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +590 -0
  7. package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-access-groups/index.d.ts +1 -0
  10. package/lib/seam/connect/models/acs/acs-access-groups/index.js +2 -0
  11. package/lib/seam/connect/models/acs/acs-access-groups/index.js.map +1 -0
  12. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +511 -0
  13. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +126 -0
  14. package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -0
  15. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  16. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  17. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  18. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +12 -12
  19. package/lib/seam/connect/models/acs/index.d.ts +1 -0
  20. package/lib/seam/connect/models/acs/index.js +1 -0
  21. package/lib/seam/connect/models/acs/index.js.map +1 -1
  22. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +20 -20
  23. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  24. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  25. package/lib/seam/connect/models/batch.d.ts +868 -74
  26. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
  27. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  28. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  29. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  30. package/lib/seam/connect/models/events/acs/index.d.ts +8 -8
  31. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  32. package/lib/seam/connect/models/events/devices.d.ts +4 -4
  33. package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
  34. package/lib/seam/connect/models/phones/phone-session.d.ts +30 -30
  35. package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
  36. package/lib/seam/connect/openapi.d.ts +512 -0
  37. package/lib/seam/connect/openapi.js +544 -0
  38. package/lib/seam/connect/openapi.js.map +1 -1
  39. package/lib/seam/connect/route-types.d.ts +616 -0
  40. package/package.json +1 -1
  41. package/src/lib/seam/connect/models/acs/acs-access-group.ts +6 -0
  42. package/src/lib/seam/connect/models/acs/acs-access-groups/index.ts +1 -0
  43. package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +171 -0
  44. package/src/lib/seam/connect/models/acs/index.ts +1 -0
  45. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  46. package/src/lib/seam/connect/openapi.ts +754 -172
  47. package/src/lib/seam/connect/route-types.ts +665 -0
@@ -20,14 +20,14 @@ export declare const batch: z.ZodObject<{
20
20
  message: string;
21
21
  created_at: string;
22
22
  error_code: "issue_with_acs_user";
23
- acs_system_id: string;
24
23
  acs_user_id: string;
24
+ acs_system_id: string;
25
25
  }, {
26
26
  message: string;
27
27
  created_at: string;
28
28
  error_code: "issue_with_acs_user";
29
- acs_system_id: string;
30
29
  acs_user_id: string;
30
+ acs_system_id: string;
31
31
  }>]>, "many">;
32
32
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
33
33
  created_at: z.ZodString;
@@ -65,8 +65,8 @@ export declare const batch: z.ZodObject<{
65
65
  message: string;
66
66
  created_at: string;
67
67
  error_code: "issue_with_acs_user";
68
- acs_system_id: string;
69
68
  acs_user_id: string;
69
+ acs_system_id: string;
70
70
  }[];
71
71
  warnings: ({
72
72
  message: string;
@@ -91,8 +91,8 @@ export declare const batch: z.ZodObject<{
91
91
  message: string;
92
92
  created_at: string;
93
93
  error_code: "issue_with_acs_user";
94
- acs_system_id: string;
95
94
  acs_user_id: string;
95
+ acs_system_id: string;
96
96
  }[];
97
97
  warnings: ({
98
98
  message: string;
@@ -5253,8 +5253,8 @@ export declare const batch: z.ZodObject<{
5253
5253
  }[];
5254
5254
  connected_account_id: string;
5255
5255
  space_ids: string[];
5256
- acs_system_id: string;
5257
5256
  acs_entrance_id: string;
5257
+ acs_system_id: string;
5258
5258
  salto_ks_metadata?: {
5259
5259
  lock_type: string;
5260
5260
  battery_level: string;
@@ -5323,8 +5323,8 @@ export declare const batch: z.ZodObject<{
5323
5323
  }[];
5324
5324
  connected_account_id: string;
5325
5325
  space_ids: string[];
5326
- acs_system_id: string;
5327
5326
  acs_entrance_id: string;
5327
+ acs_system_id: string;
5328
5328
  salto_ks_metadata?: {
5329
5329
  lock_type: string;
5330
5330
  battery_level: string;
@@ -6130,8 +6130,8 @@ export declare const batch: z.ZodObject<{
6130
6130
  warning_code: "latch_resident_user";
6131
6131
  })[];
6132
6132
  is_managed: true;
6133
- acs_system_id: string;
6134
6133
  acs_user_id: string;
6134
+ acs_system_id: string;
6135
6135
  last_successful_sync_at: string | null;
6136
6136
  email?: string | undefined;
6137
6137
  user_identity_id?: string | undefined;
@@ -6261,8 +6261,8 @@ export declare const batch: z.ZodObject<{
6261
6261
  warning_code: "latch_resident_user";
6262
6262
  })[];
6263
6263
  is_managed: true;
6264
- acs_system_id: string;
6265
6264
  acs_user_id: string;
6265
+ acs_system_id: string;
6266
6266
  last_successful_sync_at: string | null;
6267
6267
  email?: string | undefined;
6268
6268
  user_identity_id?: string | undefined;
@@ -6394,6 +6394,199 @@ export declare const batch: z.ZodObject<{
6394
6394
  starts_at: string;
6395
6395
  ends_at: string | null;
6396
6396
  }>>;
6397
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
6398
+ created_at: z.ZodString;
6399
+ message: z.ZodString;
6400
+ } & {
6401
+ mutation_code: z.ZodLiteral<"creating">;
6402
+ }, "strip", z.ZodTypeAny, {
6403
+ message: string;
6404
+ created_at: string;
6405
+ mutation_code: "creating";
6406
+ }, {
6407
+ message: string;
6408
+ created_at: string;
6409
+ mutation_code: "creating";
6410
+ }>, z.ZodObject<{
6411
+ created_at: z.ZodString;
6412
+ message: z.ZodString;
6413
+ } & {
6414
+ mutation_code: z.ZodLiteral<"deleting">;
6415
+ }, "strip", z.ZodTypeAny, {
6416
+ message: string;
6417
+ created_at: string;
6418
+ mutation_code: "deleting";
6419
+ }, {
6420
+ message: string;
6421
+ created_at: string;
6422
+ mutation_code: "deleting";
6423
+ }>, z.ZodObject<{
6424
+ created_at: z.ZodString;
6425
+ message: z.ZodString;
6426
+ } & {
6427
+ mutation_code: z.ZodLiteral<"updating_group_information">;
6428
+ from: z.ZodObject<{
6429
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6430
+ }, "strip", z.ZodTypeAny, {
6431
+ name?: string | null | undefined;
6432
+ }, {
6433
+ name?: string | null | undefined;
6434
+ }>;
6435
+ to: z.ZodObject<{
6436
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6437
+ }, "strip", z.ZodTypeAny, {
6438
+ name?: string | null | undefined;
6439
+ }, {
6440
+ name?: string | null | undefined;
6441
+ }>;
6442
+ }, "strip", z.ZodTypeAny, {
6443
+ message: string;
6444
+ created_at: string;
6445
+ mutation_code: "updating_group_information";
6446
+ from: {
6447
+ name?: string | null | undefined;
6448
+ };
6449
+ to: {
6450
+ name?: string | null | undefined;
6451
+ };
6452
+ }, {
6453
+ message: string;
6454
+ created_at: string;
6455
+ mutation_code: "updating_group_information";
6456
+ from: {
6457
+ name?: string | null | undefined;
6458
+ };
6459
+ to: {
6460
+ name?: string | null | undefined;
6461
+ };
6462
+ }>, z.ZodObject<{
6463
+ created_at: z.ZodString;
6464
+ message: z.ZodString;
6465
+ } & {
6466
+ mutation_code: z.ZodLiteral<"updating_access_schedule">;
6467
+ from: z.ZodObject<{
6468
+ starts_at: z.ZodNullable<z.ZodString>;
6469
+ ends_at: z.ZodNullable<z.ZodString>;
6470
+ }, "strip", z.ZodTypeAny, {
6471
+ starts_at: string | null;
6472
+ ends_at: string | null;
6473
+ }, {
6474
+ starts_at: string | null;
6475
+ ends_at: string | null;
6476
+ }>;
6477
+ to: z.ZodObject<{
6478
+ starts_at: z.ZodNullable<z.ZodString>;
6479
+ ends_at: z.ZodNullable<z.ZodString>;
6480
+ }, "strip", z.ZodTypeAny, {
6481
+ starts_at: string | null;
6482
+ ends_at: string | null;
6483
+ }, {
6484
+ starts_at: string | null;
6485
+ ends_at: string | null;
6486
+ }>;
6487
+ }, "strip", z.ZodTypeAny, {
6488
+ message: string;
6489
+ created_at: string;
6490
+ mutation_code: "updating_access_schedule";
6491
+ from: {
6492
+ starts_at: string | null;
6493
+ ends_at: string | null;
6494
+ };
6495
+ to: {
6496
+ starts_at: string | null;
6497
+ ends_at: string | null;
6498
+ };
6499
+ }, {
6500
+ message: string;
6501
+ created_at: string;
6502
+ mutation_code: "updating_access_schedule";
6503
+ from: {
6504
+ starts_at: string | null;
6505
+ ends_at: string | null;
6506
+ };
6507
+ to: {
6508
+ starts_at: string | null;
6509
+ ends_at: string | null;
6510
+ };
6511
+ }>, z.ZodObject<{
6512
+ created_at: z.ZodString;
6513
+ message: z.ZodString;
6514
+ } & {
6515
+ mutation_code: z.ZodLiteral<"updating_user_membership">;
6516
+ from: z.ZodObject<{
6517
+ acs_user_id: z.ZodNullable<z.ZodString>;
6518
+ }, "strip", z.ZodTypeAny, {
6519
+ acs_user_id: string | null;
6520
+ }, {
6521
+ acs_user_id: string | null;
6522
+ }>;
6523
+ to: z.ZodObject<{
6524
+ acs_user_id: z.ZodNullable<z.ZodString>;
6525
+ }, "strip", z.ZodTypeAny, {
6526
+ acs_user_id: string | null;
6527
+ }, {
6528
+ acs_user_id: string | null;
6529
+ }>;
6530
+ }, "strip", z.ZodTypeAny, {
6531
+ message: string;
6532
+ created_at: string;
6533
+ mutation_code: "updating_user_membership";
6534
+ from: {
6535
+ acs_user_id: string | null;
6536
+ };
6537
+ to: {
6538
+ acs_user_id: string | null;
6539
+ };
6540
+ }, {
6541
+ message: string;
6542
+ created_at: string;
6543
+ mutation_code: "updating_user_membership";
6544
+ from: {
6545
+ acs_user_id: string | null;
6546
+ };
6547
+ to: {
6548
+ acs_user_id: string | null;
6549
+ };
6550
+ }>, z.ZodObject<{
6551
+ created_at: z.ZodString;
6552
+ message: z.ZodString;
6553
+ } & {
6554
+ mutation_code: z.ZodLiteral<"updating_entrance_membership">;
6555
+ from: z.ZodObject<{
6556
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
6557
+ }, "strip", z.ZodTypeAny, {
6558
+ acs_entrance_id: string | null;
6559
+ }, {
6560
+ acs_entrance_id: string | null;
6561
+ }>;
6562
+ to: z.ZodObject<{
6563
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
6564
+ }, "strip", z.ZodTypeAny, {
6565
+ acs_entrance_id: string | null;
6566
+ }, {
6567
+ acs_entrance_id: string | null;
6568
+ }>;
6569
+ }, "strip", z.ZodTypeAny, {
6570
+ message: string;
6571
+ created_at: string;
6572
+ mutation_code: "updating_entrance_membership";
6573
+ from: {
6574
+ acs_entrance_id: string | null;
6575
+ };
6576
+ to: {
6577
+ acs_entrance_id: string | null;
6578
+ };
6579
+ }, {
6580
+ message: string;
6581
+ created_at: string;
6582
+ mutation_code: "updating_entrance_membership";
6583
+ from: {
6584
+ acs_entrance_id: string | null;
6585
+ };
6586
+ to: {
6587
+ acs_entrance_id: string | null;
6588
+ };
6589
+ }>]>, "many">;
6397
6590
  } & {
6398
6591
  is_managed: z.ZodLiteral<true>;
6399
6592
  }, "strip", z.ZodTypeAny, {
@@ -6412,6 +6605,57 @@ export declare const batch: z.ZodObject<{
6412
6605
  warning_code: "being_deleted";
6413
6606
  })[];
6414
6607
  is_managed: true;
6608
+ pending_mutations: ({
6609
+ message: string;
6610
+ created_at: string;
6611
+ mutation_code: "creating";
6612
+ } | {
6613
+ message: string;
6614
+ created_at: string;
6615
+ mutation_code: "deleting";
6616
+ } | {
6617
+ message: string;
6618
+ created_at: string;
6619
+ mutation_code: "updating_group_information";
6620
+ from: {
6621
+ name?: string | null | undefined;
6622
+ };
6623
+ to: {
6624
+ name?: string | null | undefined;
6625
+ };
6626
+ } | {
6627
+ message: string;
6628
+ created_at: string;
6629
+ mutation_code: "updating_access_schedule";
6630
+ from: {
6631
+ starts_at: string | null;
6632
+ ends_at: string | null;
6633
+ };
6634
+ to: {
6635
+ starts_at: string | null;
6636
+ ends_at: string | null;
6637
+ };
6638
+ } | {
6639
+ message: string;
6640
+ created_at: string;
6641
+ mutation_code: "updating_user_membership";
6642
+ from: {
6643
+ acs_user_id: string | null;
6644
+ };
6645
+ to: {
6646
+ acs_user_id: string | null;
6647
+ };
6648
+ } | {
6649
+ message: string;
6650
+ created_at: string;
6651
+ mutation_code: "updating_entrance_membership";
6652
+ from: {
6653
+ acs_entrance_id: string | null;
6654
+ };
6655
+ to: {
6656
+ acs_entrance_id: string | null;
6657
+ };
6658
+ })[];
6415
6659
  acs_access_group_id: string;
6416
6660
  acs_system_id: string;
6417
6661
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -6438,6 +6682,57 @@ export declare const batch: z.ZodObject<{
6438
6682
  warning_code: "being_deleted";
6439
6683
  })[];
6440
6684
  is_managed: true;
6685
+ pending_mutations: ({
6686
+ message: string;
6687
+ created_at: string;
6688
+ mutation_code: "creating";
6689
+ } | {
6690
+ message: string;
6691
+ created_at: string;
6692
+ mutation_code: "deleting";
6693
+ } | {
6694
+ message: string;
6695
+ created_at: string;
6696
+ mutation_code: "updating_group_information";
6697
+ from: {
6698
+ name?: string | null | undefined;
6699
+ };
6700
+ to: {
6701
+ name?: string | null | undefined;
6702
+ };
6703
+ } | {
6704
+ message: string;
6705
+ created_at: string;
6706
+ mutation_code: "updating_access_schedule";
6707
+ from: {
6708
+ starts_at: string | null;
6709
+ ends_at: string | null;
6710
+ };
6711
+ to: {
6712
+ starts_at: string | null;
6713
+ ends_at: string | null;
6714
+ };
6715
+ } | {
6716
+ message: string;
6717
+ created_at: string;
6718
+ mutation_code: "updating_user_membership";
6719
+ from: {
6720
+ acs_user_id: string | null;
6721
+ };
6722
+ to: {
6723
+ acs_user_id: string | null;
6724
+ };
6725
+ } | {
6726
+ message: string;
6727
+ created_at: string;
6728
+ mutation_code: "updating_entrance_membership";
6729
+ from: {
6730
+ acs_entrance_id: string | null;
6731
+ };
6732
+ to: {
6733
+ acs_entrance_id: string | null;
6734
+ };
6735
+ })[];
6441
6736
  acs_access_group_id: string;
6442
6737
  acs_system_id: string;
6443
6738
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -6723,9 +7018,9 @@ export declare const batch: z.ZodObject<{
6723
7018
  user_identity_id?: string | undefined;
6724
7019
  issued_at?: string | null | undefined;
6725
7020
  is_issued?: boolean | undefined;
7021
+ acs_user_id?: string | undefined;
6726
7022
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
6727
7023
  external_type_display_name?: string | undefined;
6728
- acs_user_id?: string | undefined;
6729
7024
  acs_credential_pool_id?: string | undefined;
6730
7025
  parent_acs_credential_id?: string | undefined;
6731
7026
  card_number?: string | null | undefined;
@@ -6795,9 +7090,9 @@ export declare const batch: z.ZodObject<{
6795
7090
  user_identity_id?: string | undefined;
6796
7091
  issued_at?: string | null | undefined;
6797
7092
  is_issued?: boolean | undefined;
7093
+ acs_user_id?: string | undefined;
6798
7094
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
6799
7095
  external_type_display_name?: string | undefined;
6800
- acs_user_id?: string | undefined;
6801
7096
  acs_credential_pool_id?: string | undefined;
6802
7097
  parent_acs_credential_id?: string | undefined;
6803
7098
  card_number?: string | null | undefined;
@@ -7033,9 +7328,9 @@ export declare const batch: z.ZodObject<{
7033
7328
  user_identity_id?: string | undefined;
7034
7329
  issued_at?: string | null | undefined;
7035
7330
  is_issued?: boolean | undefined;
7331
+ acs_user_id?: string | undefined;
7036
7332
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
7037
7333
  external_type_display_name?: string | undefined;
7038
- acs_user_id?: string | undefined;
7039
7334
  acs_credential_pool_id?: string | undefined;
7040
7335
  parent_acs_credential_id?: string | undefined;
7041
7336
  card_number?: string | null | undefined;
@@ -7105,9 +7400,9 @@ export declare const batch: z.ZodObject<{
7105
7400
  user_identity_id?: string | undefined;
7106
7401
  issued_at?: string | null | undefined;
7107
7402
  is_issued?: boolean | undefined;
7403
+ acs_user_id?: string | undefined;
7108
7404
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
7109
7405
  external_type_display_name?: string | undefined;
7110
- acs_user_id?: string | undefined;
7111
7406
  acs_credential_pool_id?: string | undefined;
7112
7407
  parent_acs_credential_id?: string | undefined;
7113
7408
  card_number?: string | null | undefined;
@@ -7628,9 +7923,9 @@ export declare const batch: z.ZodObject<{
7628
7923
  user_identity_id?: string | undefined;
7629
7924
  issued_at?: string | null | undefined;
7630
7925
  is_issued?: boolean | undefined;
7926
+ acs_user_id?: string | undefined;
7631
7927
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
7632
7928
  external_type_display_name?: string | undefined;
7633
- acs_user_id?: string | undefined;
7634
7929
  acs_credential_pool_id?: string | undefined;
7635
7930
  parent_acs_credential_id?: string | undefined;
7636
7931
  card_number?: string | null | undefined;
@@ -7700,9 +7995,9 @@ export declare const batch: z.ZodObject<{
7700
7995
  user_identity_id?: string | undefined;
7701
7996
  issued_at?: string | null | undefined;
7702
7997
  is_issued?: boolean | undefined;
7998
+ acs_user_id?: string | undefined;
7703
7999
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
7704
8000
  external_type_display_name?: string | undefined;
7705
- acs_user_id?: string | undefined;
7706
8001
  acs_credential_pool_id?: string | undefined;
7707
8002
  parent_acs_credential_id?: string | undefined;
7708
8003
  card_number?: string | null | undefined;
@@ -7937,9 +8232,9 @@ export declare const batch: z.ZodObject<{
7937
8232
  user_identity_id?: string | undefined;
7938
8233
  issued_at?: string | null | undefined;
7939
8234
  is_issued?: boolean | undefined;
8235
+ acs_user_id?: string | undefined;
7940
8236
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
7941
8237
  external_type_display_name?: string | undefined;
7942
- acs_user_id?: string | undefined;
7943
8238
  acs_credential_pool_id?: string | undefined;
7944
8239
  parent_acs_credential_id?: string | undefined;
7945
8240
  card_number?: string | null | undefined;
@@ -8009,9 +8304,9 @@ export declare const batch: z.ZodObject<{
8009
8304
  user_identity_id?: string | undefined;
8010
8305
  issued_at?: string | null | undefined;
8011
8306
  is_issued?: boolean | undefined;
8307
+ acs_user_id?: string | undefined;
8012
8308
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8013
8309
  external_type_display_name?: string | undefined;
8014
- acs_user_id?: string | undefined;
8015
8310
  acs_credential_pool_id?: string | undefined;
8016
8311
  parent_acs_credential_id?: string | undefined;
8017
8312
  card_number?: string | null | undefined;
@@ -8118,9 +8413,9 @@ export declare const batch: z.ZodObject<{
8118
8413
  user_identity_id?: string | undefined;
8119
8414
  issued_at?: string | null | undefined;
8120
8415
  is_issued?: boolean | undefined;
8416
+ acs_user_id?: string | undefined;
8121
8417
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8122
8418
  external_type_display_name?: string | undefined;
8123
- acs_user_id?: string | undefined;
8124
8419
  acs_credential_pool_id?: string | undefined;
8125
8420
  parent_acs_credential_id?: string | undefined;
8126
8421
  card_number?: string | null | undefined;
@@ -8190,9 +8485,9 @@ export declare const batch: z.ZodObject<{
8190
8485
  user_identity_id?: string | undefined;
8191
8486
  issued_at?: string | null | undefined;
8192
8487
  is_issued?: boolean | undefined;
8488
+ acs_user_id?: string | undefined;
8193
8489
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8194
8490
  external_type_display_name?: string | undefined;
8195
- acs_user_id?: string | undefined;
8196
8491
  acs_credential_pool_id?: string | undefined;
8197
8492
  parent_acs_credential_id?: string | undefined;
8198
8493
  card_number?: string | null | undefined;
@@ -8289,9 +8584,9 @@ export declare const batch: z.ZodObject<{
8289
8584
  user_identity_id?: string | undefined;
8290
8585
  issued_at?: string | null | undefined;
8291
8586
  is_issued?: boolean | undefined;
8587
+ acs_user_id?: string | undefined;
8292
8588
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8293
8589
  external_type_display_name?: string | undefined;
8294
- acs_user_id?: string | undefined;
8295
8590
  acs_credential_pool_id?: string | undefined;
8296
8591
  parent_acs_credential_id?: string | undefined;
8297
8592
  card_number?: string | null | undefined;
@@ -8361,9 +8656,9 @@ export declare const batch: z.ZodObject<{
8361
8656
  user_identity_id?: string | undefined;
8362
8657
  issued_at?: string | null | undefined;
8363
8658
  is_issued?: boolean | undefined;
8659
+ acs_user_id?: string | undefined;
8364
8660
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8365
8661
  external_type_display_name?: string | undefined;
8366
- acs_user_id?: string | undefined;
8367
8662
  acs_credential_pool_id?: string | undefined;
8368
8663
  parent_acs_credential_id?: string | undefined;
8369
8664
  card_number?: string | null | undefined;
@@ -8465,9 +8760,9 @@ export declare const batch: z.ZodObject<{
8465
8760
  user_identity_id?: string | undefined;
8466
8761
  issued_at?: string | null | undefined;
8467
8762
  is_issued?: boolean | undefined;
8763
+ acs_user_id?: string | undefined;
8468
8764
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8469
8765
  external_type_display_name?: string | undefined;
8470
- acs_user_id?: string | undefined;
8471
8766
  acs_credential_pool_id?: string | undefined;
8472
8767
  parent_acs_credential_id?: string | undefined;
8473
8768
  card_number?: string | null | undefined;
@@ -8537,9 +8832,9 @@ export declare const batch: z.ZodObject<{
8537
8832
  user_identity_id?: string | undefined;
8538
8833
  issued_at?: string | null | undefined;
8539
8834
  is_issued?: boolean | undefined;
8835
+ acs_user_id?: string | undefined;
8540
8836
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8541
8837
  external_type_display_name?: string | undefined;
8542
- acs_user_id?: string | undefined;
8543
8838
  acs_credential_pool_id?: string | undefined;
8544
8839
  parent_acs_credential_id?: string | undefined;
8545
8840
  card_number?: string | null | undefined;
@@ -8642,9 +8937,9 @@ export declare const batch: z.ZodObject<{
8642
8937
  user_identity_id?: string | undefined;
8643
8938
  issued_at?: string | null | undefined;
8644
8939
  is_issued?: boolean | undefined;
8940
+ acs_user_id?: string | undefined;
8645
8941
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8646
8942
  external_type_display_name?: string | undefined;
8647
- acs_user_id?: string | undefined;
8648
8943
  acs_credential_pool_id?: string | undefined;
8649
8944
  parent_acs_credential_id?: string | undefined;
8650
8945
  card_number?: string | null | undefined;
@@ -8714,9 +9009,9 @@ export declare const batch: z.ZodObject<{
8714
9009
  user_identity_id?: string | undefined;
8715
9010
  issued_at?: string | null | undefined;
8716
9011
  is_issued?: boolean | undefined;
9012
+ acs_user_id?: string | undefined;
8717
9013
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
8718
9014
  external_type_display_name?: string | undefined;
8719
- acs_user_id?: string | undefined;
8720
9015
  acs_credential_pool_id?: string | undefined;
8721
9016
  parent_acs_credential_id?: string | undefined;
8722
9017
  card_number?: string | null | undefined;
@@ -9061,9 +9356,9 @@ export declare const batch: z.ZodObject<{
9061
9356
  user_identity_id?: string | undefined;
9062
9357
  issued_at?: string | null | undefined;
9063
9358
  is_issued?: boolean | undefined;
9359
+ acs_user_id?: string | undefined;
9064
9360
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9065
9361
  external_type_display_name?: string | undefined;
9066
- acs_user_id?: string | undefined;
9067
9362
  acs_credential_pool_id?: string | undefined;
9068
9363
  parent_acs_credential_id?: string | undefined;
9069
9364
  card_number?: string | null | undefined;
@@ -9133,9 +9428,9 @@ export declare const batch: z.ZodObject<{
9133
9428
  user_identity_id?: string | undefined;
9134
9429
  issued_at?: string | null | undefined;
9135
9430
  is_issued?: boolean | undefined;
9431
+ acs_user_id?: string | undefined;
9136
9432
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9137
9433
  external_type_display_name?: string | undefined;
9138
- acs_user_id?: string | undefined;
9139
9434
  acs_credential_pool_id?: string | undefined;
9140
9435
  parent_acs_credential_id?: string | undefined;
9141
9436
  card_number?: string | null | undefined;
@@ -9370,9 +9665,9 @@ export declare const batch: z.ZodObject<{
9370
9665
  user_identity_id?: string | undefined;
9371
9666
  issued_at?: string | null | undefined;
9372
9667
  is_issued?: boolean | undefined;
9668
+ acs_user_id?: string | undefined;
9373
9669
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9374
9670
  external_type_display_name?: string | undefined;
9375
- acs_user_id?: string | undefined;
9376
9671
  acs_credential_pool_id?: string | undefined;
9377
9672
  parent_acs_credential_id?: string | undefined;
9378
9673
  card_number?: string | null | undefined;
@@ -9442,9 +9737,9 @@ export declare const batch: z.ZodObject<{
9442
9737
  user_identity_id?: string | undefined;
9443
9738
  issued_at?: string | null | undefined;
9444
9739
  is_issued?: boolean | undefined;
9740
+ acs_user_id?: string | undefined;
9445
9741
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9446
9742
  external_type_display_name?: string | undefined;
9447
- acs_user_id?: string | undefined;
9448
9743
  acs_credential_pool_id?: string | undefined;
9449
9744
  parent_acs_credential_id?: string | undefined;
9450
9745
  card_number?: string | null | undefined;
@@ -9519,9 +9814,9 @@ export declare const batch: z.ZodObject<{
9519
9814
  user_identity_id?: string | undefined;
9520
9815
  issued_at?: string | null | undefined;
9521
9816
  is_issued?: boolean | undefined;
9817
+ acs_user_id?: string | undefined;
9522
9818
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9523
9819
  external_type_display_name?: string | undefined;
9524
- acs_user_id?: string | undefined;
9525
9820
  acs_credential_pool_id?: string | undefined;
9526
9821
  parent_acs_credential_id?: string | undefined;
9527
9822
  card_number?: string | null | undefined;
@@ -9591,9 +9886,9 @@ export declare const batch: z.ZodObject<{
9591
9886
  user_identity_id?: string | undefined;
9592
9887
  issued_at?: string | null | undefined;
9593
9888
  is_issued?: boolean | undefined;
9889
+ acs_user_id?: string | undefined;
9594
9890
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9595
9891
  external_type_display_name?: string | undefined;
9596
- acs_user_id?: string | undefined;
9597
9892
  acs_credential_pool_id?: string | undefined;
9598
9893
  parent_acs_credential_id?: string | undefined;
9599
9894
  card_number?: string | null | undefined;
@@ -9669,9 +9964,9 @@ export declare const batch: z.ZodObject<{
9669
9964
  user_identity_id?: string | undefined;
9670
9965
  issued_at?: string | null | undefined;
9671
9966
  is_issued?: boolean | undefined;
9967
+ acs_user_id?: string | undefined;
9672
9968
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9673
9969
  external_type_display_name?: string | undefined;
9674
- acs_user_id?: string | undefined;
9675
9970
  acs_credential_pool_id?: string | undefined;
9676
9971
  parent_acs_credential_id?: string | undefined;
9677
9972
  card_number?: string | null | undefined;
@@ -9741,9 +10036,9 @@ export declare const batch: z.ZodObject<{
9741
10036
  user_identity_id?: string | undefined;
9742
10037
  issued_at?: string | null | undefined;
9743
10038
  is_issued?: boolean | undefined;
10039
+ acs_user_id?: string | undefined;
9744
10040
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
9745
10041
  external_type_display_name?: string | undefined;
9746
- acs_user_id?: string | undefined;
9747
10042
  acs_credential_pool_id?: string | undefined;
9748
10043
  parent_acs_credential_id?: string | undefined;
9749
10044
  card_number?: string | null | undefined;
@@ -11445,8 +11740,8 @@ export declare const batch: z.ZodObject<{
11445
11740
  warning_code: "latch_resident_user";
11446
11741
  })[];
11447
11742
  is_managed: false;
11448
- acs_system_id: string;
11449
11743
  acs_user_id: string;
11744
+ acs_system_id: string;
11450
11745
  last_successful_sync_at: string | null;
11451
11746
  email?: string | undefined;
11452
11747
  user_identity_id?: string | undefined;
@@ -11576,8 +11871,8 @@ export declare const batch: z.ZodObject<{
11576
11871
  warning_code: "latch_resident_user";
11577
11872
  })[];
11578
11873
  is_managed: false;
11579
- acs_system_id: string;
11580
11874
  acs_user_id: string;
11875
+ acs_system_id: string;
11581
11876
  last_successful_sync_at: string | null;
11582
11877
  email?: string | undefined;
11583
11878
  user_identity_id?: string | undefined;
@@ -11709,6 +12004,199 @@ export declare const batch: z.ZodObject<{
11709
12004
  starts_at: string;
11710
12005
  ends_at: string | null;
11711
12006
  }>>;
12007
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
12008
+ created_at: z.ZodString;
12009
+ message: z.ZodString;
12010
+ } & {
12011
+ mutation_code: z.ZodLiteral<"creating">;
12012
+ }, "strip", z.ZodTypeAny, {
12013
+ message: string;
12014
+ created_at: string;
12015
+ mutation_code: "creating";
12016
+ }, {
12017
+ message: string;
12018
+ created_at: string;
12019
+ mutation_code: "creating";
12020
+ }>, z.ZodObject<{
12021
+ created_at: z.ZodString;
12022
+ message: z.ZodString;
12023
+ } & {
12024
+ mutation_code: z.ZodLiteral<"deleting">;
12025
+ }, "strip", z.ZodTypeAny, {
12026
+ message: string;
12027
+ created_at: string;
12028
+ mutation_code: "deleting";
12029
+ }, {
12030
+ message: string;
12031
+ created_at: string;
12032
+ mutation_code: "deleting";
12033
+ }>, z.ZodObject<{
12034
+ created_at: z.ZodString;
12035
+ message: z.ZodString;
12036
+ } & {
12037
+ mutation_code: z.ZodLiteral<"updating_group_information">;
12038
+ from: z.ZodObject<{
12039
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12040
+ }, "strip", z.ZodTypeAny, {
12041
+ name?: string | null | undefined;
12042
+ }, {
12043
+ name?: string | null | undefined;
12044
+ }>;
12045
+ to: z.ZodObject<{
12046
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12047
+ }, "strip", z.ZodTypeAny, {
12048
+ name?: string | null | undefined;
12049
+ }, {
12050
+ name?: string | null | undefined;
12051
+ }>;
12052
+ }, "strip", z.ZodTypeAny, {
12053
+ message: string;
12054
+ created_at: string;
12055
+ mutation_code: "updating_group_information";
12056
+ from: {
12057
+ name?: string | null | undefined;
12058
+ };
12059
+ to: {
12060
+ name?: string | null | undefined;
12061
+ };
12062
+ }, {
12063
+ message: string;
12064
+ created_at: string;
12065
+ mutation_code: "updating_group_information";
12066
+ from: {
12067
+ name?: string | null | undefined;
12068
+ };
12069
+ to: {
12070
+ name?: string | null | undefined;
12071
+ };
12072
+ }>, z.ZodObject<{
12073
+ created_at: z.ZodString;
12074
+ message: z.ZodString;
12075
+ } & {
12076
+ mutation_code: z.ZodLiteral<"updating_access_schedule">;
12077
+ from: z.ZodObject<{
12078
+ starts_at: z.ZodNullable<z.ZodString>;
12079
+ ends_at: z.ZodNullable<z.ZodString>;
12080
+ }, "strip", z.ZodTypeAny, {
12081
+ starts_at: string | null;
12082
+ ends_at: string | null;
12083
+ }, {
12084
+ starts_at: string | null;
12085
+ ends_at: string | null;
12086
+ }>;
12087
+ to: z.ZodObject<{
12088
+ starts_at: z.ZodNullable<z.ZodString>;
12089
+ ends_at: z.ZodNullable<z.ZodString>;
12090
+ }, "strip", z.ZodTypeAny, {
12091
+ starts_at: string | null;
12092
+ ends_at: string | null;
12093
+ }, {
12094
+ starts_at: string | null;
12095
+ ends_at: string | null;
12096
+ }>;
12097
+ }, "strip", z.ZodTypeAny, {
12098
+ message: string;
12099
+ created_at: string;
12100
+ mutation_code: "updating_access_schedule";
12101
+ from: {
12102
+ starts_at: string | null;
12103
+ ends_at: string | null;
12104
+ };
12105
+ to: {
12106
+ starts_at: string | null;
12107
+ ends_at: string | null;
12108
+ };
12109
+ }, {
12110
+ message: string;
12111
+ created_at: string;
12112
+ mutation_code: "updating_access_schedule";
12113
+ from: {
12114
+ starts_at: string | null;
12115
+ ends_at: string | null;
12116
+ };
12117
+ to: {
12118
+ starts_at: string | null;
12119
+ ends_at: string | null;
12120
+ };
12121
+ }>, z.ZodObject<{
12122
+ created_at: z.ZodString;
12123
+ message: z.ZodString;
12124
+ } & {
12125
+ mutation_code: z.ZodLiteral<"updating_user_membership">;
12126
+ from: z.ZodObject<{
12127
+ acs_user_id: z.ZodNullable<z.ZodString>;
12128
+ }, "strip", z.ZodTypeAny, {
12129
+ acs_user_id: string | null;
12130
+ }, {
12131
+ acs_user_id: string | null;
12132
+ }>;
12133
+ to: z.ZodObject<{
12134
+ acs_user_id: z.ZodNullable<z.ZodString>;
12135
+ }, "strip", z.ZodTypeAny, {
12136
+ acs_user_id: string | null;
12137
+ }, {
12138
+ acs_user_id: string | null;
12139
+ }>;
12140
+ }, "strip", z.ZodTypeAny, {
12141
+ message: string;
12142
+ created_at: string;
12143
+ mutation_code: "updating_user_membership";
12144
+ from: {
12145
+ acs_user_id: string | null;
12146
+ };
12147
+ to: {
12148
+ acs_user_id: string | null;
12149
+ };
12150
+ }, {
12151
+ message: string;
12152
+ created_at: string;
12153
+ mutation_code: "updating_user_membership";
12154
+ from: {
12155
+ acs_user_id: string | null;
12156
+ };
12157
+ to: {
12158
+ acs_user_id: string | null;
12159
+ };
12160
+ }>, z.ZodObject<{
12161
+ created_at: z.ZodString;
12162
+ message: z.ZodString;
12163
+ } & {
12164
+ mutation_code: z.ZodLiteral<"updating_entrance_membership">;
12165
+ from: z.ZodObject<{
12166
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
12167
+ }, "strip", z.ZodTypeAny, {
12168
+ acs_entrance_id: string | null;
12169
+ }, {
12170
+ acs_entrance_id: string | null;
12171
+ }>;
12172
+ to: z.ZodObject<{
12173
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
12174
+ }, "strip", z.ZodTypeAny, {
12175
+ acs_entrance_id: string | null;
12176
+ }, {
12177
+ acs_entrance_id: string | null;
12178
+ }>;
12179
+ }, "strip", z.ZodTypeAny, {
12180
+ message: string;
12181
+ created_at: string;
12182
+ mutation_code: "updating_entrance_membership";
12183
+ from: {
12184
+ acs_entrance_id: string | null;
12185
+ };
12186
+ to: {
12187
+ acs_entrance_id: string | null;
12188
+ };
12189
+ }, {
12190
+ message: string;
12191
+ created_at: string;
12192
+ mutation_code: "updating_entrance_membership";
12193
+ from: {
12194
+ acs_entrance_id: string | null;
12195
+ };
12196
+ to: {
12197
+ acs_entrance_id: string | null;
12198
+ };
12199
+ }>]>, "many">;
11712
12200
  } & {
11713
12201
  is_managed: z.ZodLiteral<false>;
11714
12202
  }, "strip", z.ZodTypeAny, {
@@ -11727,6 +12215,57 @@ export declare const batch: z.ZodObject<{
11727
12215
  warning_code: "being_deleted";
11728
12216
  })[];
11729
12217
  is_managed: false;
12218
+ pending_mutations: ({
12219
+ message: string;
12220
+ created_at: string;
12221
+ mutation_code: "creating";
12222
+ } | {
12223
+ message: string;
12224
+ created_at: string;
12225
+ mutation_code: "deleting";
12226
+ } | {
12227
+ message: string;
12228
+ created_at: string;
12229
+ mutation_code: "updating_group_information";
12230
+ from: {
12231
+ name?: string | null | undefined;
12232
+ };
12233
+ to: {
12234
+ name?: string | null | undefined;
12235
+ };
12236
+ } | {
12237
+ message: string;
12238
+ created_at: string;
12239
+ mutation_code: "updating_access_schedule";
12240
+ from: {
12241
+ starts_at: string | null;
12242
+ ends_at: string | null;
12243
+ };
12244
+ to: {
12245
+ starts_at: string | null;
12246
+ ends_at: string | null;
12247
+ };
12248
+ } | {
12249
+ message: string;
12250
+ created_at: string;
12251
+ mutation_code: "updating_user_membership";
12252
+ from: {
12253
+ acs_user_id: string | null;
12254
+ };
12255
+ to: {
12256
+ acs_user_id: string | null;
12257
+ };
12258
+ } | {
12259
+ message: string;
12260
+ created_at: string;
12261
+ mutation_code: "updating_entrance_membership";
12262
+ from: {
12263
+ acs_entrance_id: string | null;
12264
+ };
12265
+ to: {
12266
+ acs_entrance_id: string | null;
12267
+ };
12268
+ })[];
11730
12269
  acs_access_group_id: string;
11731
12270
  acs_system_id: string;
11732
12271
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -11753,6 +12292,57 @@ export declare const batch: z.ZodObject<{
11753
12292
  warning_code: "being_deleted";
11754
12293
  })[];
11755
12294
  is_managed: false;
12295
+ pending_mutations: ({
12296
+ message: string;
12297
+ created_at: string;
12298
+ mutation_code: "creating";
12299
+ } | {
12300
+ message: string;
12301
+ created_at: string;
12302
+ mutation_code: "deleting";
12303
+ } | {
12304
+ message: string;
12305
+ created_at: string;
12306
+ mutation_code: "updating_group_information";
12307
+ from: {
12308
+ name?: string | null | undefined;
12309
+ };
12310
+ to: {
12311
+ name?: string | null | undefined;
12312
+ };
12313
+ } | {
12314
+ message: string;
12315
+ created_at: string;
12316
+ mutation_code: "updating_access_schedule";
12317
+ from: {
12318
+ starts_at: string | null;
12319
+ ends_at: string | null;
12320
+ };
12321
+ to: {
12322
+ starts_at: string | null;
12323
+ ends_at: string | null;
12324
+ };
12325
+ } | {
12326
+ message: string;
12327
+ created_at: string;
12328
+ mutation_code: "updating_user_membership";
12329
+ from: {
12330
+ acs_user_id: string | null;
12331
+ };
12332
+ to: {
12333
+ acs_user_id: string | null;
12334
+ };
12335
+ } | {
12336
+ message: string;
12337
+ created_at: string;
12338
+ mutation_code: "updating_entrance_membership";
12339
+ from: {
12340
+ acs_entrance_id: string | null;
12341
+ };
12342
+ to: {
12343
+ acs_entrance_id: string | null;
12344
+ };
12345
+ })[];
11756
12346
  acs_access_group_id: string;
11757
12347
  acs_system_id: string;
11758
12348
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -18194,8 +18784,8 @@ export declare const batch: z.ZodObject<{
18194
18784
  }, "strip", z.ZodTypeAny, {
18195
18785
  workspace_id: string;
18196
18786
  created_at: string;
18197
- acs_system_id: string;
18198
18787
  acs_user_id: string;
18788
+ acs_system_id: string;
18199
18789
  event_id: string;
18200
18790
  occurred_at: string;
18201
18791
  event_type: "acs_user.created";
@@ -18203,8 +18793,8 @@ export declare const batch: z.ZodObject<{
18203
18793
  }, {
18204
18794
  workspace_id: string;
18205
18795
  created_at: string;
18206
- acs_system_id: string;
18207
18796
  acs_user_id: string;
18797
+ acs_system_id: string;
18208
18798
  event_id: string;
18209
18799
  occurred_at: string;
18210
18800
  event_type: "acs_user.created";
@@ -18224,8 +18814,8 @@ export declare const batch: z.ZodObject<{
18224
18814
  }, "strip", z.ZodTypeAny, {
18225
18815
  workspace_id: string;
18226
18816
  created_at: string;
18227
- acs_system_id: string;
18228
18817
  acs_user_id: string;
18818
+ acs_system_id: string;
18229
18819
  event_id: string;
18230
18820
  occurred_at: string;
18231
18821
  event_type: "acs_user.deleted";
@@ -18233,8 +18823,8 @@ export declare const batch: z.ZodObject<{
18233
18823
  }, {
18234
18824
  workspace_id: string;
18235
18825
  created_at: string;
18236
- acs_system_id: string;
18237
18826
  acs_user_id: string;
18827
+ acs_system_id: string;
18238
18828
  event_id: string;
18239
18829
  occurred_at: string;
18240
18830
  event_type: "acs_user.deleted";
@@ -18344,8 +18934,8 @@ export declare const batch: z.ZodObject<{
18344
18934
  }, "strip", z.ZodTypeAny, {
18345
18935
  workspace_id: string;
18346
18936
  created_at: string;
18347
- acs_system_id: string;
18348
18937
  acs_entrance_id: string;
18938
+ acs_system_id: string;
18349
18939
  event_id: string;
18350
18940
  occurred_at: string;
18351
18941
  event_type: "acs_entrance.added";
@@ -18353,8 +18943,8 @@ export declare const batch: z.ZodObject<{
18353
18943
  }, {
18354
18944
  workspace_id: string;
18355
18945
  created_at: string;
18356
- acs_system_id: string;
18357
18946
  acs_entrance_id: string;
18947
+ acs_system_id: string;
18358
18948
  event_id: string;
18359
18949
  occurred_at: string;
18360
18950
  event_type: "acs_entrance.added";
@@ -18374,8 +18964,8 @@ export declare const batch: z.ZodObject<{
18374
18964
  }, "strip", z.ZodTypeAny, {
18375
18965
  workspace_id: string;
18376
18966
  created_at: string;
18377
- acs_system_id: string;
18378
18967
  acs_entrance_id: string;
18968
+ acs_system_id: string;
18379
18969
  event_id: string;
18380
18970
  occurred_at: string;
18381
18971
  event_type: "acs_entrance.removed";
@@ -18383,8 +18973,8 @@ export declare const batch: z.ZodObject<{
18383
18973
  }, {
18384
18974
  workspace_id: string;
18385
18975
  created_at: string;
18386
- acs_system_id: string;
18387
18976
  acs_entrance_id: string;
18977
+ acs_system_id: string;
18388
18978
  event_id: string;
18389
18979
  occurred_at: string;
18390
18980
  event_type: "acs_entrance.removed";
@@ -20449,9 +21039,9 @@ export declare const batch: z.ZodObject<{
20449
21039
  customer_key?: string | undefined;
20450
21040
  access_code_id?: string | undefined;
20451
21041
  user_identity_id?: string | undefined;
20452
- acs_system_id?: string | undefined;
20453
21042
  acs_user_id?: string | undefined;
20454
21043
  acs_entrance_id?: string | undefined;
21044
+ acs_system_id?: string | undefined;
20455
21045
  action_attempt_id?: string | undefined;
20456
21046
  device_custom_metadata?: Record<string, string | boolean> | undefined;
20457
21047
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -20468,9 +21058,9 @@ export declare const batch: z.ZodObject<{
20468
21058
  customer_key?: string | undefined;
20469
21059
  access_code_id?: string | undefined;
20470
21060
  user_identity_id?: string | undefined;
20471
- acs_system_id?: string | undefined;
20472
21061
  acs_user_id?: string | undefined;
20473
21062
  acs_entrance_id?: string | undefined;
21063
+ acs_system_id?: string | undefined;
20474
21064
  action_attempt_id?: string | undefined;
20475
21065
  device_custom_metadata?: Record<string, string | boolean> | undefined;
20476
21066
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -24255,8 +24845,8 @@ export declare const batch: z.ZodObject<{
24255
24845
  message: string;
24256
24846
  created_at: string;
24257
24847
  error_code: "issue_with_acs_user";
24258
- acs_system_id: string;
24259
24848
  acs_user_id: string;
24849
+ acs_system_id: string;
24260
24850
  }[];
24261
24851
  warnings: ({
24262
24852
  message: string;
@@ -25101,8 +25691,8 @@ export declare const batch: z.ZodObject<{
25101
25691
  }[];
25102
25692
  connected_account_id: string;
25103
25693
  space_ids: string[];
25104
- acs_system_id: string;
25105
25694
  acs_entrance_id: string;
25695
+ acs_system_id: string;
25106
25696
  salto_ks_metadata?: {
25107
25697
  lock_type: string;
25108
25698
  battery_level: string;
@@ -25277,8 +25867,8 @@ export declare const batch: z.ZodObject<{
25277
25867
  warning_code: "latch_resident_user";
25278
25868
  })[];
25279
25869
  is_managed: true;
25280
- acs_system_id: string;
25281
25870
  acs_user_id: string;
25871
+ acs_system_id: string;
25282
25872
  last_successful_sync_at: string | null;
25283
25873
  email?: string | undefined;
25284
25874
  user_identity_id?: string | undefined;
@@ -25377,6 +25967,57 @@ export declare const batch: z.ZodObject<{
25377
25967
  warning_code: "being_deleted";
25378
25968
  })[];
25379
25969
  is_managed: true;
25970
+ pending_mutations: ({
25971
+ message: string;
25972
+ created_at: string;
25973
+ mutation_code: "creating";
25974
+ } | {
25975
+ message: string;
25976
+ created_at: string;
25977
+ mutation_code: "deleting";
25978
+ } | {
25979
+ message: string;
25980
+ created_at: string;
25981
+ mutation_code: "updating_group_information";
25982
+ from: {
25983
+ name?: string | null | undefined;
25984
+ };
25985
+ to: {
25986
+ name?: string | null | undefined;
25987
+ };
25988
+ } | {
25989
+ message: string;
25990
+ created_at: string;
25991
+ mutation_code: "updating_access_schedule";
25992
+ from: {
25993
+ starts_at: string | null;
25994
+ ends_at: string | null;
25995
+ };
25996
+ to: {
25997
+ starts_at: string | null;
25998
+ ends_at: string | null;
25999
+ };
26000
+ } | {
26001
+ message: string;
26002
+ created_at: string;
26003
+ mutation_code: "updating_user_membership";
26004
+ from: {
26005
+ acs_user_id: string | null;
26006
+ };
26007
+ to: {
26008
+ acs_user_id: string | null;
26009
+ };
26010
+ } | {
26011
+ message: string;
26012
+ created_at: string;
26013
+ mutation_code: "updating_entrance_membership";
26014
+ from: {
26015
+ acs_entrance_id: string | null;
26016
+ };
26017
+ to: {
26018
+ acs_entrance_id: string | null;
26019
+ };
26020
+ })[];
25380
26021
  acs_access_group_id: string;
25381
26022
  acs_system_id: string;
25382
26023
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -25464,9 +26105,9 @@ export declare const batch: z.ZodObject<{
25464
26105
  user_identity_id?: string | undefined;
25465
26106
  issued_at?: string | null | undefined;
25466
26107
  is_issued?: boolean | undefined;
26108
+ acs_user_id?: string | undefined;
25467
26109
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
25468
26110
  external_type_display_name?: string | undefined;
25469
- acs_user_id?: string | undefined;
25470
26111
  acs_credential_pool_id?: string | undefined;
25471
26112
  parent_acs_credential_id?: string | undefined;
25472
26113
  card_number?: string | null | undefined;
@@ -25537,9 +26178,9 @@ export declare const batch: z.ZodObject<{
25537
26178
  user_identity_id?: string | undefined;
25538
26179
  issued_at?: string | null | undefined;
25539
26180
  is_issued?: boolean | undefined;
26181
+ acs_user_id?: string | undefined;
25540
26182
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
25541
26183
  external_type_display_name?: string | undefined;
25542
- acs_user_id?: string | undefined;
25543
26184
  acs_credential_pool_id?: string | undefined;
25544
26185
  parent_acs_credential_id?: string | undefined;
25545
26186
  card_number?: string | null | undefined;
@@ -25796,9 +26437,9 @@ export declare const batch: z.ZodObject<{
25796
26437
  user_identity_id?: string | undefined;
25797
26438
  issued_at?: string | null | undefined;
25798
26439
  is_issued?: boolean | undefined;
26440
+ acs_user_id?: string | undefined;
25799
26441
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
25800
26442
  external_type_display_name?: string | undefined;
25801
- acs_user_id?: string | undefined;
25802
26443
  acs_credential_pool_id?: string | undefined;
25803
26444
  parent_acs_credential_id?: string | undefined;
25804
26445
  card_number?: string | null | undefined;
@@ -25868,9 +26509,9 @@ export declare const batch: z.ZodObject<{
25868
26509
  user_identity_id?: string | undefined;
25869
26510
  issued_at?: string | null | undefined;
25870
26511
  is_issued?: boolean | undefined;
26512
+ acs_user_id?: string | undefined;
25871
26513
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
25872
26514
  external_type_display_name?: string | undefined;
25873
- acs_user_id?: string | undefined;
25874
26515
  acs_credential_pool_id?: string | undefined;
25875
26516
  parent_acs_credential_id?: string | undefined;
25876
26517
  card_number?: string | null | undefined;
@@ -26067,9 +26708,9 @@ export declare const batch: z.ZodObject<{
26067
26708
  user_identity_id?: string | undefined;
26068
26709
  issued_at?: string | null | undefined;
26069
26710
  is_issued?: boolean | undefined;
26711
+ acs_user_id?: string | undefined;
26070
26712
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
26071
26713
  external_type_display_name?: string | undefined;
26072
- acs_user_id?: string | undefined;
26073
26714
  acs_credential_pool_id?: string | undefined;
26074
26715
  parent_acs_credential_id?: string | undefined;
26075
26716
  card_number?: string | null | undefined;
@@ -26139,9 +26780,9 @@ export declare const batch: z.ZodObject<{
26139
26780
  user_identity_id?: string | undefined;
26140
26781
  issued_at?: string | null | undefined;
26141
26782
  is_issued?: boolean | undefined;
26783
+ acs_user_id?: string | undefined;
26142
26784
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
26143
26785
  external_type_display_name?: string | undefined;
26144
- acs_user_id?: string | undefined;
26145
26786
  acs_credential_pool_id?: string | undefined;
26146
26787
  parent_acs_credential_id?: string | undefined;
26147
26788
  card_number?: string | null | undefined;
@@ -26339,8 +26980,8 @@ export declare const batch: z.ZodObject<{
26339
26980
  warning_code: "latch_resident_user";
26340
26981
  })[];
26341
26982
  is_managed: false;
26342
- acs_system_id: string;
26343
26983
  acs_user_id: string;
26984
+ acs_system_id: string;
26344
26985
  last_successful_sync_at: string | null;
26345
26986
  email?: string | undefined;
26346
26987
  user_identity_id?: string | undefined;
@@ -26439,6 +27080,57 @@ export declare const batch: z.ZodObject<{
26439
27080
  warning_code: "being_deleted";
26440
27081
  })[];
26441
27082
  is_managed: false;
27083
+ pending_mutations: ({
27084
+ message: string;
27085
+ created_at: string;
27086
+ mutation_code: "creating";
27087
+ } | {
27088
+ message: string;
27089
+ created_at: string;
27090
+ mutation_code: "deleting";
27091
+ } | {
27092
+ message: string;
27093
+ created_at: string;
27094
+ mutation_code: "updating_group_information";
27095
+ from: {
27096
+ name?: string | null | undefined;
27097
+ };
27098
+ to: {
27099
+ name?: string | null | undefined;
27100
+ };
27101
+ } | {
27102
+ message: string;
27103
+ created_at: string;
27104
+ mutation_code: "updating_access_schedule";
27105
+ from: {
27106
+ starts_at: string | null;
27107
+ ends_at: string | null;
27108
+ };
27109
+ to: {
27110
+ starts_at: string | null;
27111
+ ends_at: string | null;
27112
+ };
27113
+ } | {
27114
+ message: string;
27115
+ created_at: string;
27116
+ mutation_code: "updating_user_membership";
27117
+ from: {
27118
+ acs_user_id: string | null;
27119
+ };
27120
+ to: {
27121
+ acs_user_id: string | null;
27122
+ };
27123
+ } | {
27124
+ message: string;
27125
+ created_at: string;
27126
+ mutation_code: "updating_entrance_membership";
27127
+ from: {
27128
+ acs_entrance_id: string | null;
27129
+ };
27130
+ to: {
27131
+ acs_entrance_id: string | null;
27132
+ };
27133
+ })[];
26442
27134
  acs_access_group_id: string;
26443
27135
  acs_system_id: string;
26444
27136
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -27387,8 +28079,8 @@ export declare const batch: z.ZodObject<{
27387
28079
  } | {
27388
28080
  workspace_id: string;
27389
28081
  created_at: string;
27390
- acs_system_id: string;
27391
28082
  acs_entrance_id: string;
28083
+ acs_system_id: string;
27392
28084
  event_id: string;
27393
28085
  occurred_at: string;
27394
28086
  event_type: "acs_entrance.added";
@@ -27396,8 +28088,8 @@ export declare const batch: z.ZodObject<{
27396
28088
  } | {
27397
28089
  workspace_id: string;
27398
28090
  created_at: string;
27399
- acs_system_id: string;
27400
28091
  acs_entrance_id: string;
28092
+ acs_system_id: string;
27401
28093
  event_id: string;
27402
28094
  occurred_at: string;
27403
28095
  event_type: "acs_entrance.removed";
@@ -27449,8 +28141,8 @@ export declare const batch: z.ZodObject<{
27449
28141
  } | {
27450
28142
  workspace_id: string;
27451
28143
  created_at: string;
27452
- acs_system_id: string;
27453
28144
  acs_user_id: string;
28145
+ acs_system_id: string;
27454
28146
  event_id: string;
27455
28147
  occurred_at: string;
27456
28148
  event_type: "acs_user.deleted";
@@ -27458,8 +28150,8 @@ export declare const batch: z.ZodObject<{
27458
28150
  } | {
27459
28151
  workspace_id: string;
27460
28152
  created_at: string;
27461
- acs_system_id: string;
27462
28153
  acs_user_id: string;
28154
+ acs_system_id: string;
27463
28155
  event_id: string;
27464
28156
  occurred_at: string;
27465
28157
  event_type: "acs_user.created";
@@ -28057,9 +28749,9 @@ export declare const batch: z.ZodObject<{
28057
28749
  customer_key?: string | undefined;
28058
28750
  access_code_id?: string | undefined;
28059
28751
  user_identity_id?: string | undefined;
28060
- acs_system_id?: string | undefined;
28061
28752
  acs_user_id?: string | undefined;
28062
28753
  acs_entrance_id?: string | undefined;
28754
+ acs_system_id?: string | undefined;
28063
28755
  action_attempt_id?: string | undefined;
28064
28756
  device_custom_metadata?: Record<string, string | boolean> | undefined;
28065
28757
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -28890,8 +29582,8 @@ export declare const batch: z.ZodObject<{
28890
29582
  message: string;
28891
29583
  created_at: string;
28892
29584
  error_code: "issue_with_acs_user";
28893
- acs_system_id: string;
28894
29585
  acs_user_id: string;
29586
+ acs_system_id: string;
28895
29587
  }[];
28896
29588
  warnings: ({
28897
29589
  message: string;
@@ -29736,8 +30428,8 @@ export declare const batch: z.ZodObject<{
29736
30428
  }[];
29737
30429
  connected_account_id: string;
29738
30430
  space_ids: string[];
29739
- acs_system_id: string;
29740
30431
  acs_entrance_id: string;
30432
+ acs_system_id: string;
29741
30433
  salto_ks_metadata?: {
29742
30434
  lock_type: string;
29743
30435
  battery_level: string;
@@ -29912,8 +30604,8 @@ export declare const batch: z.ZodObject<{
29912
30604
  warning_code: "latch_resident_user";
29913
30605
  })[];
29914
30606
  is_managed: true;
29915
- acs_system_id: string;
29916
30607
  acs_user_id: string;
30608
+ acs_system_id: string;
29917
30609
  last_successful_sync_at: string | null;
29918
30610
  email?: string | undefined;
29919
30611
  user_identity_id?: string | undefined;
@@ -30012,6 +30704,57 @@ export declare const batch: z.ZodObject<{
30012
30704
  warning_code: "being_deleted";
30013
30705
  })[];
30014
30706
  is_managed: true;
30707
+ pending_mutations: ({
30708
+ message: string;
30709
+ created_at: string;
30710
+ mutation_code: "creating";
30711
+ } | {
30712
+ message: string;
30713
+ created_at: string;
30714
+ mutation_code: "deleting";
30715
+ } | {
30716
+ message: string;
30717
+ created_at: string;
30718
+ mutation_code: "updating_group_information";
30719
+ from: {
30720
+ name?: string | null | undefined;
30721
+ };
30722
+ to: {
30723
+ name?: string | null | undefined;
30724
+ };
30725
+ } | {
30726
+ message: string;
30727
+ created_at: string;
30728
+ mutation_code: "updating_access_schedule";
30729
+ from: {
30730
+ starts_at: string | null;
30731
+ ends_at: string | null;
30732
+ };
30733
+ to: {
30734
+ starts_at: string | null;
30735
+ ends_at: string | null;
30736
+ };
30737
+ } | {
30738
+ message: string;
30739
+ created_at: string;
30740
+ mutation_code: "updating_user_membership";
30741
+ from: {
30742
+ acs_user_id: string | null;
30743
+ };
30744
+ to: {
30745
+ acs_user_id: string | null;
30746
+ };
30747
+ } | {
30748
+ message: string;
30749
+ created_at: string;
30750
+ mutation_code: "updating_entrance_membership";
30751
+ from: {
30752
+ acs_entrance_id: string | null;
30753
+ };
30754
+ to: {
30755
+ acs_entrance_id: string | null;
30756
+ };
30757
+ })[];
30015
30758
  acs_access_group_id: string;
30016
30759
  acs_system_id: string;
30017
30760
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -30099,9 +30842,9 @@ export declare const batch: z.ZodObject<{
30099
30842
  user_identity_id?: string | undefined;
30100
30843
  issued_at?: string | null | undefined;
30101
30844
  is_issued?: boolean | undefined;
30845
+ acs_user_id?: string | undefined;
30102
30846
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
30103
30847
  external_type_display_name?: string | undefined;
30104
- acs_user_id?: string | undefined;
30105
30848
  acs_credential_pool_id?: string | undefined;
30106
30849
  parent_acs_credential_id?: string | undefined;
30107
30850
  card_number?: string | null | undefined;
@@ -30172,9 +30915,9 @@ export declare const batch: z.ZodObject<{
30172
30915
  user_identity_id?: string | undefined;
30173
30916
  issued_at?: string | null | undefined;
30174
30917
  is_issued?: boolean | undefined;
30918
+ acs_user_id?: string | undefined;
30175
30919
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
30176
30920
  external_type_display_name?: string | undefined;
30177
- acs_user_id?: string | undefined;
30178
30921
  acs_credential_pool_id?: string | undefined;
30179
30922
  parent_acs_credential_id?: string | undefined;
30180
30923
  card_number?: string | null | undefined;
@@ -30431,9 +31174,9 @@ export declare const batch: z.ZodObject<{
30431
31174
  user_identity_id?: string | undefined;
30432
31175
  issued_at?: string | null | undefined;
30433
31176
  is_issued?: boolean | undefined;
31177
+ acs_user_id?: string | undefined;
30434
31178
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
30435
31179
  external_type_display_name?: string | undefined;
30436
- acs_user_id?: string | undefined;
30437
31180
  acs_credential_pool_id?: string | undefined;
30438
31181
  parent_acs_credential_id?: string | undefined;
30439
31182
  card_number?: string | null | undefined;
@@ -30503,9 +31246,9 @@ export declare const batch: z.ZodObject<{
30503
31246
  user_identity_id?: string | undefined;
30504
31247
  issued_at?: string | null | undefined;
30505
31248
  is_issued?: boolean | undefined;
31249
+ acs_user_id?: string | undefined;
30506
31250
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
30507
31251
  external_type_display_name?: string | undefined;
30508
- acs_user_id?: string | undefined;
30509
31252
  acs_credential_pool_id?: string | undefined;
30510
31253
  parent_acs_credential_id?: string | undefined;
30511
31254
  card_number?: string | null | undefined;
@@ -30702,9 +31445,9 @@ export declare const batch: z.ZodObject<{
30702
31445
  user_identity_id?: string | undefined;
30703
31446
  issued_at?: string | null | undefined;
30704
31447
  is_issued?: boolean | undefined;
31448
+ acs_user_id?: string | undefined;
30705
31449
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
30706
31450
  external_type_display_name?: string | undefined;
30707
- acs_user_id?: string | undefined;
30708
31451
  acs_credential_pool_id?: string | undefined;
30709
31452
  parent_acs_credential_id?: string | undefined;
30710
31453
  card_number?: string | null | undefined;
@@ -30774,9 +31517,9 @@ export declare const batch: z.ZodObject<{
30774
31517
  user_identity_id?: string | undefined;
30775
31518
  issued_at?: string | null | undefined;
30776
31519
  is_issued?: boolean | undefined;
31520
+ acs_user_id?: string | undefined;
30777
31521
  external_type?: "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | undefined;
30778
31522
  external_type_display_name?: string | undefined;
30779
- acs_user_id?: string | undefined;
30780
31523
  acs_credential_pool_id?: string | undefined;
30781
31524
  parent_acs_credential_id?: string | undefined;
30782
31525
  card_number?: string | null | undefined;
@@ -30974,8 +31717,8 @@ export declare const batch: z.ZodObject<{
30974
31717
  warning_code: "latch_resident_user";
30975
31718
  })[];
30976
31719
  is_managed: false;
30977
- acs_system_id: string;
30978
31720
  acs_user_id: string;
31721
+ acs_system_id: string;
30979
31722
  last_successful_sync_at: string | null;
30980
31723
  email?: string | undefined;
30981
31724
  user_identity_id?: string | undefined;
@@ -31074,6 +31817,57 @@ export declare const batch: z.ZodObject<{
31074
31817
  warning_code: "being_deleted";
31075
31818
  })[];
31076
31819
  is_managed: false;
31820
+ pending_mutations: ({
31821
+ message: string;
31822
+ created_at: string;
31823
+ mutation_code: "creating";
31824
+ } | {
31825
+ message: string;
31826
+ created_at: string;
31827
+ mutation_code: "deleting";
31828
+ } | {
31829
+ message: string;
31830
+ created_at: string;
31831
+ mutation_code: "updating_group_information";
31832
+ from: {
31833
+ name?: string | null | undefined;
31834
+ };
31835
+ to: {
31836
+ name?: string | null | undefined;
31837
+ };
31838
+ } | {
31839
+ message: string;
31840
+ created_at: string;
31841
+ mutation_code: "updating_access_schedule";
31842
+ from: {
31843
+ starts_at: string | null;
31844
+ ends_at: string | null;
31845
+ };
31846
+ to: {
31847
+ starts_at: string | null;
31848
+ ends_at: string | null;
31849
+ };
31850
+ } | {
31851
+ message: string;
31852
+ created_at: string;
31853
+ mutation_code: "updating_user_membership";
31854
+ from: {
31855
+ acs_user_id: string | null;
31856
+ };
31857
+ to: {
31858
+ acs_user_id: string | null;
31859
+ };
31860
+ } | {
31861
+ message: string;
31862
+ created_at: string;
31863
+ mutation_code: "updating_entrance_membership";
31864
+ from: {
31865
+ acs_entrance_id: string | null;
31866
+ };
31867
+ to: {
31868
+ acs_entrance_id: string | null;
31869
+ };
31870
+ })[];
31077
31871
  acs_access_group_id: string;
31078
31872
  acs_system_id: string;
31079
31873
  access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group" | "dormakaba_ambiance_access_group";
@@ -32022,8 +32816,8 @@ export declare const batch: z.ZodObject<{
32022
32816
  } | {
32023
32817
  workspace_id: string;
32024
32818
  created_at: string;
32025
- acs_system_id: string;
32026
32819
  acs_entrance_id: string;
32820
+ acs_system_id: string;
32027
32821
  event_id: string;
32028
32822
  occurred_at: string;
32029
32823
  event_type: "acs_entrance.added";
@@ -32031,8 +32825,8 @@ export declare const batch: z.ZodObject<{
32031
32825
  } | {
32032
32826
  workspace_id: string;
32033
32827
  created_at: string;
32034
- acs_system_id: string;
32035
32828
  acs_entrance_id: string;
32829
+ acs_system_id: string;
32036
32830
  event_id: string;
32037
32831
  occurred_at: string;
32038
32832
  event_type: "acs_entrance.removed";
@@ -32084,8 +32878,8 @@ export declare const batch: z.ZodObject<{
32084
32878
  } | {
32085
32879
  workspace_id: string;
32086
32880
  created_at: string;
32087
- acs_system_id: string;
32088
32881
  acs_user_id: string;
32882
+ acs_system_id: string;
32089
32883
  event_id: string;
32090
32884
  occurred_at: string;
32091
32885
  event_type: "acs_user.deleted";
@@ -32093,8 +32887,8 @@ export declare const batch: z.ZodObject<{
32093
32887
  } | {
32094
32888
  workspace_id: string;
32095
32889
  created_at: string;
32096
- acs_system_id: string;
32097
32890
  acs_user_id: string;
32891
+ acs_system_id: string;
32098
32892
  event_id: string;
32099
32893
  occurred_at: string;
32100
32894
  event_type: "acs_user.created";
@@ -32692,9 +33486,9 @@ export declare const batch: z.ZodObject<{
32692
33486
  customer_key?: string | undefined;
32693
33487
  access_code_id?: string | undefined;
32694
33488
  user_identity_id?: string | undefined;
32695
- acs_system_id?: string | undefined;
32696
33489
  acs_user_id?: string | undefined;
32697
33490
  acs_entrance_id?: string | undefined;
33491
+ acs_system_id?: string | undefined;
32698
33492
  action_attempt_id?: string | undefined;
32699
33493
  device_custom_metadata?: Record<string, string | boolean> | undefined;
32700
33494
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;