@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
@@ -4293,6 +4293,199 @@ declare const acs_access_group: z.ZodObject<{
4293
4293
  starts_at: string;
4294
4294
  ends_at: string | null;
4295
4295
  }>>;
4296
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
4297
+ created_at: z.ZodString;
4298
+ message: z.ZodString;
4299
+ } & {
4300
+ mutation_code: z.ZodLiteral<"creating">;
4301
+ }, "strip", z.ZodTypeAny, {
4302
+ message: string;
4303
+ created_at: string;
4304
+ mutation_code: "creating";
4305
+ }, {
4306
+ message: string;
4307
+ created_at: string;
4308
+ mutation_code: "creating";
4309
+ }>, z.ZodObject<{
4310
+ created_at: z.ZodString;
4311
+ message: z.ZodString;
4312
+ } & {
4313
+ mutation_code: z.ZodLiteral<"deleting">;
4314
+ }, "strip", z.ZodTypeAny, {
4315
+ message: string;
4316
+ created_at: string;
4317
+ mutation_code: "deleting";
4318
+ }, {
4319
+ message: string;
4320
+ created_at: string;
4321
+ mutation_code: "deleting";
4322
+ }>, z.ZodObject<{
4323
+ created_at: z.ZodString;
4324
+ message: z.ZodString;
4325
+ } & {
4326
+ mutation_code: z.ZodLiteral<"updating_group_information">;
4327
+ from: z.ZodObject<{
4328
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4329
+ }, "strip", z.ZodTypeAny, {
4330
+ name?: string | null | undefined;
4331
+ }, {
4332
+ name?: string | null | undefined;
4333
+ }>;
4334
+ to: z.ZodObject<{
4335
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4336
+ }, "strip", z.ZodTypeAny, {
4337
+ name?: string | null | undefined;
4338
+ }, {
4339
+ name?: string | null | undefined;
4340
+ }>;
4341
+ }, "strip", z.ZodTypeAny, {
4342
+ message: string;
4343
+ created_at: string;
4344
+ mutation_code: "updating_group_information";
4345
+ from: {
4346
+ name?: string | null | undefined;
4347
+ };
4348
+ to: {
4349
+ name?: string | null | undefined;
4350
+ };
4351
+ }, {
4352
+ message: string;
4353
+ created_at: string;
4354
+ mutation_code: "updating_group_information";
4355
+ from: {
4356
+ name?: string | null | undefined;
4357
+ };
4358
+ to: {
4359
+ name?: string | null | undefined;
4360
+ };
4361
+ }>, z.ZodObject<{
4362
+ created_at: z.ZodString;
4363
+ message: z.ZodString;
4364
+ } & {
4365
+ mutation_code: z.ZodLiteral<"updating_access_schedule">;
4366
+ from: z.ZodObject<{
4367
+ starts_at: z.ZodNullable<z.ZodString>;
4368
+ ends_at: z.ZodNullable<z.ZodString>;
4369
+ }, "strip", z.ZodTypeAny, {
4370
+ starts_at: string | null;
4371
+ ends_at: string | null;
4372
+ }, {
4373
+ starts_at: string | null;
4374
+ ends_at: string | null;
4375
+ }>;
4376
+ to: z.ZodObject<{
4377
+ starts_at: z.ZodNullable<z.ZodString>;
4378
+ ends_at: z.ZodNullable<z.ZodString>;
4379
+ }, "strip", z.ZodTypeAny, {
4380
+ starts_at: string | null;
4381
+ ends_at: string | null;
4382
+ }, {
4383
+ starts_at: string | null;
4384
+ ends_at: string | null;
4385
+ }>;
4386
+ }, "strip", z.ZodTypeAny, {
4387
+ message: string;
4388
+ created_at: string;
4389
+ mutation_code: "updating_access_schedule";
4390
+ from: {
4391
+ starts_at: string | null;
4392
+ ends_at: string | null;
4393
+ };
4394
+ to: {
4395
+ starts_at: string | null;
4396
+ ends_at: string | null;
4397
+ };
4398
+ }, {
4399
+ message: string;
4400
+ created_at: string;
4401
+ mutation_code: "updating_access_schedule";
4402
+ from: {
4403
+ starts_at: string | null;
4404
+ ends_at: string | null;
4405
+ };
4406
+ to: {
4407
+ starts_at: string | null;
4408
+ ends_at: string | null;
4409
+ };
4410
+ }>, z.ZodObject<{
4411
+ created_at: z.ZodString;
4412
+ message: z.ZodString;
4413
+ } & {
4414
+ mutation_code: z.ZodLiteral<"updating_user_membership">;
4415
+ from: z.ZodObject<{
4416
+ acs_user_id: z.ZodNullable<z.ZodString>;
4417
+ }, "strip", z.ZodTypeAny, {
4418
+ acs_user_id: string | null;
4419
+ }, {
4420
+ acs_user_id: string | null;
4421
+ }>;
4422
+ to: z.ZodObject<{
4423
+ acs_user_id: z.ZodNullable<z.ZodString>;
4424
+ }, "strip", z.ZodTypeAny, {
4425
+ acs_user_id: string | null;
4426
+ }, {
4427
+ acs_user_id: string | null;
4428
+ }>;
4429
+ }, "strip", z.ZodTypeAny, {
4430
+ message: string;
4431
+ created_at: string;
4432
+ mutation_code: "updating_user_membership";
4433
+ from: {
4434
+ acs_user_id: string | null;
4435
+ };
4436
+ to: {
4437
+ acs_user_id: string | null;
4438
+ };
4439
+ }, {
4440
+ message: string;
4441
+ created_at: string;
4442
+ mutation_code: "updating_user_membership";
4443
+ from: {
4444
+ acs_user_id: string | null;
4445
+ };
4446
+ to: {
4447
+ acs_user_id: string | null;
4448
+ };
4449
+ }>, z.ZodObject<{
4450
+ created_at: z.ZodString;
4451
+ message: z.ZodString;
4452
+ } & {
4453
+ mutation_code: z.ZodLiteral<"updating_entrance_membership">;
4454
+ from: z.ZodObject<{
4455
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
4456
+ }, "strip", z.ZodTypeAny, {
4457
+ acs_entrance_id: string | null;
4458
+ }, {
4459
+ acs_entrance_id: string | null;
4460
+ }>;
4461
+ to: z.ZodObject<{
4462
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
4463
+ }, "strip", z.ZodTypeAny, {
4464
+ acs_entrance_id: string | null;
4465
+ }, {
4466
+ acs_entrance_id: string | null;
4467
+ }>;
4468
+ }, "strip", z.ZodTypeAny, {
4469
+ message: string;
4470
+ created_at: string;
4471
+ mutation_code: "updating_entrance_membership";
4472
+ from: {
4473
+ acs_entrance_id: string | null;
4474
+ };
4475
+ to: {
4476
+ acs_entrance_id: string | null;
4477
+ };
4478
+ }, {
4479
+ message: string;
4480
+ created_at: string;
4481
+ mutation_code: "updating_entrance_membership";
4482
+ from: {
4483
+ acs_entrance_id: string | null;
4484
+ };
4485
+ to: {
4486
+ acs_entrance_id: string | null;
4487
+ };
4488
+ }>]>, "many">;
4296
4489
  } & {
4297
4490
  is_managed: z.ZodLiteral<true>;
4298
4491
  }, "strip", z.ZodTypeAny, {
@@ -4311,6 +4504,57 @@ declare const acs_access_group: z.ZodObject<{
4311
4504
  warning_code: "being_deleted";
4312
4505
  })[];
4313
4506
  is_managed: true;
4507
+ pending_mutations: ({
4508
+ message: string;
4509
+ created_at: string;
4510
+ mutation_code: "creating";
4511
+ } | {
4512
+ message: string;
4513
+ created_at: string;
4514
+ mutation_code: "deleting";
4515
+ } | {
4516
+ message: string;
4517
+ created_at: string;
4518
+ mutation_code: "updating_group_information";
4519
+ from: {
4520
+ name?: string | null | undefined;
4521
+ };
4522
+ to: {
4523
+ name?: string | null | undefined;
4524
+ };
4525
+ } | {
4526
+ message: string;
4527
+ created_at: string;
4528
+ mutation_code: "updating_access_schedule";
4529
+ from: {
4530
+ starts_at: string | null;
4531
+ ends_at: string | null;
4532
+ };
4533
+ to: {
4534
+ starts_at: string | null;
4535
+ ends_at: string | null;
4536
+ };
4537
+ } | {
4538
+ message: string;
4539
+ created_at: string;
4540
+ mutation_code: "updating_user_membership";
4541
+ from: {
4542
+ acs_user_id: string | null;
4543
+ };
4544
+ to: {
4545
+ acs_user_id: string | null;
4546
+ };
4547
+ } | {
4548
+ message: string;
4549
+ created_at: string;
4550
+ mutation_code: "updating_entrance_membership";
4551
+ from: {
4552
+ acs_entrance_id: string | null;
4553
+ };
4554
+ to: {
4555
+ acs_entrance_id: string | null;
4556
+ };
4557
+ })[];
4314
4558
  acs_access_group_id: string;
4315
4559
  acs_system_id: string;
4316
4560
  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";
@@ -4337,6 +4581,57 @@ declare const acs_access_group: z.ZodObject<{
4337
4581
  warning_code: "being_deleted";
4338
4582
  })[];
4339
4583
  is_managed: true;
4584
+ pending_mutations: ({
4585
+ message: string;
4586
+ created_at: string;
4587
+ mutation_code: "creating";
4588
+ } | {
4589
+ message: string;
4590
+ created_at: string;
4591
+ mutation_code: "deleting";
4592
+ } | {
4593
+ message: string;
4594
+ created_at: string;
4595
+ mutation_code: "updating_group_information";
4596
+ from: {
4597
+ name?: string | null | undefined;
4598
+ };
4599
+ to: {
4600
+ name?: string | null | undefined;
4601
+ };
4602
+ } | {
4603
+ message: string;
4604
+ created_at: string;
4605
+ mutation_code: "updating_access_schedule";
4606
+ from: {
4607
+ starts_at: string | null;
4608
+ ends_at: string | null;
4609
+ };
4610
+ to: {
4611
+ starts_at: string | null;
4612
+ ends_at: string | null;
4613
+ };
4614
+ } | {
4615
+ message: string;
4616
+ created_at: string;
4617
+ mutation_code: "updating_user_membership";
4618
+ from: {
4619
+ acs_user_id: string | null;
4620
+ };
4621
+ to: {
4622
+ acs_user_id: string | null;
4623
+ };
4624
+ } | {
4625
+ message: string;
4626
+ created_at: string;
4627
+ mutation_code: "updating_entrance_membership";
4628
+ from: {
4629
+ acs_entrance_id: string | null;
4630
+ };
4631
+ to: {
4632
+ acs_entrance_id: string | null;
4633
+ };
4634
+ })[];
4340
4635
  acs_access_group_id: string;
4341
4636
  acs_system_id: string;
4342
4637
  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";
@@ -4397,6 +4692,199 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4397
4692
  starts_at: string;
4398
4693
  ends_at: string | null;
4399
4694
  }>>;
4695
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
4696
+ created_at: z.ZodString;
4697
+ message: z.ZodString;
4698
+ } & {
4699
+ mutation_code: z.ZodLiteral<"creating">;
4700
+ }, "strip", z.ZodTypeAny, {
4701
+ message: string;
4702
+ created_at: string;
4703
+ mutation_code: "creating";
4704
+ }, {
4705
+ message: string;
4706
+ created_at: string;
4707
+ mutation_code: "creating";
4708
+ }>, z.ZodObject<{
4709
+ created_at: z.ZodString;
4710
+ message: z.ZodString;
4711
+ } & {
4712
+ mutation_code: z.ZodLiteral<"deleting">;
4713
+ }, "strip", z.ZodTypeAny, {
4714
+ message: string;
4715
+ created_at: string;
4716
+ mutation_code: "deleting";
4717
+ }, {
4718
+ message: string;
4719
+ created_at: string;
4720
+ mutation_code: "deleting";
4721
+ }>, z.ZodObject<{
4722
+ created_at: z.ZodString;
4723
+ message: z.ZodString;
4724
+ } & {
4725
+ mutation_code: z.ZodLiteral<"updating_group_information">;
4726
+ from: z.ZodObject<{
4727
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4728
+ }, "strip", z.ZodTypeAny, {
4729
+ name?: string | null | undefined;
4730
+ }, {
4731
+ name?: string | null | undefined;
4732
+ }>;
4733
+ to: z.ZodObject<{
4734
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4735
+ }, "strip", z.ZodTypeAny, {
4736
+ name?: string | null | undefined;
4737
+ }, {
4738
+ name?: string | null | undefined;
4739
+ }>;
4740
+ }, "strip", z.ZodTypeAny, {
4741
+ message: string;
4742
+ created_at: string;
4743
+ mutation_code: "updating_group_information";
4744
+ from: {
4745
+ name?: string | null | undefined;
4746
+ };
4747
+ to: {
4748
+ name?: string | null | undefined;
4749
+ };
4750
+ }, {
4751
+ message: string;
4752
+ created_at: string;
4753
+ mutation_code: "updating_group_information";
4754
+ from: {
4755
+ name?: string | null | undefined;
4756
+ };
4757
+ to: {
4758
+ name?: string | null | undefined;
4759
+ };
4760
+ }>, z.ZodObject<{
4761
+ created_at: z.ZodString;
4762
+ message: z.ZodString;
4763
+ } & {
4764
+ mutation_code: z.ZodLiteral<"updating_access_schedule">;
4765
+ from: z.ZodObject<{
4766
+ starts_at: z.ZodNullable<z.ZodString>;
4767
+ ends_at: z.ZodNullable<z.ZodString>;
4768
+ }, "strip", z.ZodTypeAny, {
4769
+ starts_at: string | null;
4770
+ ends_at: string | null;
4771
+ }, {
4772
+ starts_at: string | null;
4773
+ ends_at: string | null;
4774
+ }>;
4775
+ to: z.ZodObject<{
4776
+ starts_at: z.ZodNullable<z.ZodString>;
4777
+ ends_at: z.ZodNullable<z.ZodString>;
4778
+ }, "strip", z.ZodTypeAny, {
4779
+ starts_at: string | null;
4780
+ ends_at: string | null;
4781
+ }, {
4782
+ starts_at: string | null;
4783
+ ends_at: string | null;
4784
+ }>;
4785
+ }, "strip", z.ZodTypeAny, {
4786
+ message: string;
4787
+ created_at: string;
4788
+ mutation_code: "updating_access_schedule";
4789
+ from: {
4790
+ starts_at: string | null;
4791
+ ends_at: string | null;
4792
+ };
4793
+ to: {
4794
+ starts_at: string | null;
4795
+ ends_at: string | null;
4796
+ };
4797
+ }, {
4798
+ message: string;
4799
+ created_at: string;
4800
+ mutation_code: "updating_access_schedule";
4801
+ from: {
4802
+ starts_at: string | null;
4803
+ ends_at: string | null;
4804
+ };
4805
+ to: {
4806
+ starts_at: string | null;
4807
+ ends_at: string | null;
4808
+ };
4809
+ }>, z.ZodObject<{
4810
+ created_at: z.ZodString;
4811
+ message: z.ZodString;
4812
+ } & {
4813
+ mutation_code: z.ZodLiteral<"updating_user_membership">;
4814
+ from: z.ZodObject<{
4815
+ acs_user_id: z.ZodNullable<z.ZodString>;
4816
+ }, "strip", z.ZodTypeAny, {
4817
+ acs_user_id: string | null;
4818
+ }, {
4819
+ acs_user_id: string | null;
4820
+ }>;
4821
+ to: z.ZodObject<{
4822
+ acs_user_id: z.ZodNullable<z.ZodString>;
4823
+ }, "strip", z.ZodTypeAny, {
4824
+ acs_user_id: string | null;
4825
+ }, {
4826
+ acs_user_id: string | null;
4827
+ }>;
4828
+ }, "strip", z.ZodTypeAny, {
4829
+ message: string;
4830
+ created_at: string;
4831
+ mutation_code: "updating_user_membership";
4832
+ from: {
4833
+ acs_user_id: string | null;
4834
+ };
4835
+ to: {
4836
+ acs_user_id: string | null;
4837
+ };
4838
+ }, {
4839
+ message: string;
4840
+ created_at: string;
4841
+ mutation_code: "updating_user_membership";
4842
+ from: {
4843
+ acs_user_id: string | null;
4844
+ };
4845
+ to: {
4846
+ acs_user_id: string | null;
4847
+ };
4848
+ }>, z.ZodObject<{
4849
+ created_at: z.ZodString;
4850
+ message: z.ZodString;
4851
+ } & {
4852
+ mutation_code: z.ZodLiteral<"updating_entrance_membership">;
4853
+ from: z.ZodObject<{
4854
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
4855
+ }, "strip", z.ZodTypeAny, {
4856
+ acs_entrance_id: string | null;
4857
+ }, {
4858
+ acs_entrance_id: string | null;
4859
+ }>;
4860
+ to: z.ZodObject<{
4861
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
4862
+ }, "strip", z.ZodTypeAny, {
4863
+ acs_entrance_id: string | null;
4864
+ }, {
4865
+ acs_entrance_id: string | null;
4866
+ }>;
4867
+ }, "strip", z.ZodTypeAny, {
4868
+ message: string;
4869
+ created_at: string;
4870
+ mutation_code: "updating_entrance_membership";
4871
+ from: {
4872
+ acs_entrance_id: string | null;
4873
+ };
4874
+ to: {
4875
+ acs_entrance_id: string | null;
4876
+ };
4877
+ }, {
4878
+ message: string;
4879
+ created_at: string;
4880
+ mutation_code: "updating_entrance_membership";
4881
+ from: {
4882
+ acs_entrance_id: string | null;
4883
+ };
4884
+ to: {
4885
+ acs_entrance_id: string | null;
4886
+ };
4887
+ }>]>, "many">;
4400
4888
  } & {
4401
4889
  is_managed: z.ZodLiteral<false>;
4402
4890
  }, "strip", z.ZodTypeAny, {
@@ -4415,6 +4903,57 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4415
4903
  warning_code: "being_deleted";
4416
4904
  })[];
4417
4905
  is_managed: false;
4906
+ pending_mutations: ({
4907
+ message: string;
4908
+ created_at: string;
4909
+ mutation_code: "creating";
4910
+ } | {
4911
+ message: string;
4912
+ created_at: string;
4913
+ mutation_code: "deleting";
4914
+ } | {
4915
+ message: string;
4916
+ created_at: string;
4917
+ mutation_code: "updating_group_information";
4918
+ from: {
4919
+ name?: string | null | undefined;
4920
+ };
4921
+ to: {
4922
+ name?: string | null | undefined;
4923
+ };
4924
+ } | {
4925
+ message: string;
4926
+ created_at: string;
4927
+ mutation_code: "updating_access_schedule";
4928
+ from: {
4929
+ starts_at: string | null;
4930
+ ends_at: string | null;
4931
+ };
4932
+ to: {
4933
+ starts_at: string | null;
4934
+ ends_at: string | null;
4935
+ };
4936
+ } | {
4937
+ message: string;
4938
+ created_at: string;
4939
+ mutation_code: "updating_user_membership";
4940
+ from: {
4941
+ acs_user_id: string | null;
4942
+ };
4943
+ to: {
4944
+ acs_user_id: string | null;
4945
+ };
4946
+ } | {
4947
+ message: string;
4948
+ created_at: string;
4949
+ mutation_code: "updating_entrance_membership";
4950
+ from: {
4951
+ acs_entrance_id: string | null;
4952
+ };
4953
+ to: {
4954
+ acs_entrance_id: string | null;
4955
+ };
4956
+ })[];
4418
4957
  acs_access_group_id: string;
4419
4958
  acs_system_id: string;
4420
4959
  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";
@@ -4441,6 +4980,57 @@ declare const unmanaged_acs_access_group: z.ZodObject<{
4441
4980
  warning_code: "being_deleted";
4442
4981
  })[];
4443
4982
  is_managed: false;
4983
+ pending_mutations: ({
4984
+ message: string;
4985
+ created_at: string;
4986
+ mutation_code: "creating";
4987
+ } | {
4988
+ message: string;
4989
+ created_at: string;
4990
+ mutation_code: "deleting";
4991
+ } | {
4992
+ message: string;
4993
+ created_at: string;
4994
+ mutation_code: "updating_group_information";
4995
+ from: {
4996
+ name?: string | null | undefined;
4997
+ };
4998
+ to: {
4999
+ name?: string | null | undefined;
5000
+ };
5001
+ } | {
5002
+ message: string;
5003
+ created_at: string;
5004
+ mutation_code: "updating_access_schedule";
5005
+ from: {
5006
+ starts_at: string | null;
5007
+ ends_at: string | null;
5008
+ };
5009
+ to: {
5010
+ starts_at: string | null;
5011
+ ends_at: string | null;
5012
+ };
5013
+ } | {
5014
+ message: string;
5015
+ created_at: string;
5016
+ mutation_code: "updating_user_membership";
5017
+ from: {
5018
+ acs_user_id: string | null;
5019
+ };
5020
+ to: {
5021
+ acs_user_id: string | null;
5022
+ };
5023
+ } | {
5024
+ message: string;
5025
+ created_at: string;
5026
+ mutation_code: "updating_entrance_membership";
5027
+ from: {
5028
+ acs_entrance_id: string | null;
5029
+ };
5030
+ to: {
5031
+ acs_entrance_id: string | null;
5032
+ };
5033
+ })[];
4444
5034
  acs_access_group_id: string;
4445
5035
  acs_system_id: string;
4446
5036
  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";
@@ -4682,9 +5272,9 @@ declare const acs_credential: z.ZodObject<{
4682
5272
  user_identity_id?: string | undefined;
4683
5273
  issued_at?: string | null | undefined;
4684
5274
  is_issued?: boolean | undefined;
5275
+ acs_user_id?: string | undefined;
4685
5276
  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;
4686
5277
  external_type_display_name?: string | undefined;
4687
- acs_user_id?: string | undefined;
4688
5278
  acs_credential_pool_id?: string | undefined;
4689
5279
  parent_acs_credential_id?: string | undefined;
4690
5280
  card_number?: string | null | undefined;
@@ -4754,9 +5344,9 @@ declare const acs_credential: z.ZodObject<{
4754
5344
  user_identity_id?: string | undefined;
4755
5345
  issued_at?: string | null | undefined;
4756
5346
  is_issued?: boolean | undefined;
5347
+ acs_user_id?: string | undefined;
4757
5348
  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;
4758
5349
  external_type_display_name?: string | undefined;
4759
- acs_user_id?: string | undefined;
4760
5350
  acs_credential_pool_id?: string | undefined;
4761
5351
  parent_acs_credential_id?: string | undefined;
4762
5352
  card_number?: string | null | undefined;
@@ -4992,9 +5582,9 @@ declare const unmanaged_acs_credential: z.ZodObject<{
4992
5582
  user_identity_id?: string | undefined;
4993
5583
  issued_at?: string | null | undefined;
4994
5584
  is_issued?: boolean | undefined;
5585
+ acs_user_id?: string | undefined;
4995
5586
  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;
4996
5587
  external_type_display_name?: string | undefined;
4997
- acs_user_id?: string | undefined;
4998
5588
  acs_credential_pool_id?: string | undefined;
4999
5589
  parent_acs_credential_id?: string | undefined;
5000
5590
  card_number?: string | null | undefined;
@@ -5064,9 +5654,9 @@ declare const unmanaged_acs_credential: z.ZodObject<{
5064
5654
  user_identity_id?: string | undefined;
5065
5655
  issued_at?: string | null | undefined;
5066
5656
  is_issued?: boolean | undefined;
5657
+ acs_user_id?: string | undefined;
5067
5658
  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;
5068
5659
  external_type_display_name?: string | undefined;
5069
- acs_user_id?: string | undefined;
5070
5660
  acs_credential_pool_id?: string | undefined;
5071
5661
  parent_acs_credential_id?: string | undefined;
5072
5662
  card_number?: string | null | undefined;
@@ -5308,8 +5898,8 @@ declare const acs_entrance: z.ZodObject<{
5308
5898
  }[];
5309
5899
  connected_account_id: string;
5310
5900
  space_ids: string[];
5311
- acs_system_id: string;
5312
5901
  acs_entrance_id: string;
5902
+ acs_system_id: string;
5313
5903
  salto_ks_metadata?: {
5314
5904
  lock_type: string;
5315
5905
  battery_level: string;
@@ -5378,8 +5968,8 @@ declare const acs_entrance: z.ZodObject<{
5378
5968
  }[];
5379
5969
  connected_account_id: string;
5380
5970
  space_ids: string[];
5381
- acs_system_id: string;
5382
5971
  acs_entrance_id: string;
5972
+ acs_system_id: string;
5383
5973
  salto_ks_metadata?: {
5384
5974
  lock_type: string;
5385
5975
  battery_level: string;
@@ -6189,8 +6779,8 @@ declare const acs_user: z.ZodObject<{
6189
6779
  warning_code: "latch_resident_user";
6190
6780
  })[];
6191
6781
  is_managed: true;
6192
- acs_system_id: string;
6193
6782
  acs_user_id: string;
6783
+ acs_system_id: string;
6194
6784
  last_successful_sync_at: string | null;
6195
6785
  email?: string | undefined;
6196
6786
  user_identity_id?: string | undefined;
@@ -6320,8 +6910,8 @@ declare const acs_user: z.ZodObject<{
6320
6910
  warning_code: "latch_resident_user";
6321
6911
  })[];
6322
6912
  is_managed: true;
6323
- acs_system_id: string;
6324
6913
  acs_user_id: string;
6914
+ acs_system_id: string;
6325
6915
  last_successful_sync_at: string | null;
6326
6916
  email?: string | undefined;
6327
6917
  user_identity_id?: string | undefined;
@@ -6856,8 +7446,8 @@ declare const unmanaged_acs_user: z.ZodObject<{
6856
7446
  warning_code: "latch_resident_user";
6857
7447
  })[];
6858
7448
  is_managed: false;
6859
- acs_system_id: string;
6860
7449
  acs_user_id: string;
7450
+ acs_system_id: string;
6861
7451
  last_successful_sync_at: string | null;
6862
7452
  email?: string | undefined;
6863
7453
  user_identity_id?: string | undefined;
@@ -6987,8 +7577,8 @@ declare const unmanaged_acs_user: z.ZodObject<{
6987
7577
  warning_code: "latch_resident_user";
6988
7578
  })[];
6989
7579
  is_managed: false;
6990
- acs_system_id: string;
6991
7580
  acs_user_id: string;
7581
+ acs_system_id: string;
6992
7582
  last_successful_sync_at: string | null;
6993
7583
  email?: string | undefined;
6994
7584
  user_identity_id?: string | undefined;
@@ -7586,9 +8176,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
7586
8176
  user_identity_id?: string | undefined;
7587
8177
  issued_at?: string | null | undefined;
7588
8178
  is_issued?: boolean | undefined;
8179
+ acs_user_id?: string | undefined;
7589
8180
  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;
7590
8181
  external_type_display_name?: string | undefined;
7591
- acs_user_id?: string | undefined;
7592
8182
  acs_credential_pool_id?: string | undefined;
7593
8183
  parent_acs_credential_id?: string | undefined;
7594
8184
  card_number?: string | null | undefined;
@@ -7658,9 +8248,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
7658
8248
  user_identity_id?: string | undefined;
7659
8249
  issued_at?: string | null | undefined;
7660
8250
  is_issued?: boolean | undefined;
8251
+ acs_user_id?: string | undefined;
7661
8252
  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;
7662
8253
  external_type_display_name?: string | undefined;
7663
- acs_user_id?: string | undefined;
7664
8254
  acs_credential_pool_id?: string | undefined;
7665
8255
  parent_acs_credential_id?: string | undefined;
7666
8256
  card_number?: string | null | undefined;
@@ -7895,9 +8485,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
7895
8485
  user_identity_id?: string | undefined;
7896
8486
  issued_at?: string | null | undefined;
7897
8487
  is_issued?: boolean | undefined;
8488
+ acs_user_id?: string | undefined;
7898
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;
7899
8490
  external_type_display_name?: string | undefined;
7900
- acs_user_id?: string | undefined;
7901
8491
  acs_credential_pool_id?: string | undefined;
7902
8492
  parent_acs_credential_id?: string | undefined;
7903
8493
  card_number?: string | null | undefined;
@@ -7967,9 +8557,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
7967
8557
  user_identity_id?: string | undefined;
7968
8558
  issued_at?: string | null | undefined;
7969
8559
  is_issued?: boolean | undefined;
8560
+ acs_user_id?: string | undefined;
7970
8561
  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;
7971
8562
  external_type_display_name?: string | undefined;
7972
- acs_user_id?: string | undefined;
7973
8563
  acs_credential_pool_id?: string | undefined;
7974
8564
  parent_acs_credential_id?: string | undefined;
7975
8565
  card_number?: string | null | undefined;
@@ -8076,9 +8666,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8076
8666
  user_identity_id?: string | undefined;
8077
8667
  issued_at?: string | null | undefined;
8078
8668
  is_issued?: boolean | undefined;
8669
+ acs_user_id?: string | undefined;
8079
8670
  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;
8080
8671
  external_type_display_name?: string | undefined;
8081
- acs_user_id?: string | undefined;
8082
8672
  acs_credential_pool_id?: string | undefined;
8083
8673
  parent_acs_credential_id?: string | undefined;
8084
8674
  card_number?: string | null | undefined;
@@ -8148,9 +8738,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8148
8738
  user_identity_id?: string | undefined;
8149
8739
  issued_at?: string | null | undefined;
8150
8740
  is_issued?: boolean | undefined;
8741
+ acs_user_id?: string | undefined;
8151
8742
  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;
8152
8743
  external_type_display_name?: string | undefined;
8153
- acs_user_id?: string | undefined;
8154
8744
  acs_credential_pool_id?: string | undefined;
8155
8745
  parent_acs_credential_id?: string | undefined;
8156
8746
  card_number?: string | null | undefined;
@@ -8247,9 +8837,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8247
8837
  user_identity_id?: string | undefined;
8248
8838
  issued_at?: string | null | undefined;
8249
8839
  is_issued?: boolean | undefined;
8840
+ acs_user_id?: string | undefined;
8250
8841
  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;
8251
8842
  external_type_display_name?: string | undefined;
8252
- acs_user_id?: string | undefined;
8253
8843
  acs_credential_pool_id?: string | undefined;
8254
8844
  parent_acs_credential_id?: string | undefined;
8255
8845
  card_number?: string | null | undefined;
@@ -8319,9 +8909,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8319
8909
  user_identity_id?: string | undefined;
8320
8910
  issued_at?: string | null | undefined;
8321
8911
  is_issued?: boolean | undefined;
8912
+ acs_user_id?: string | undefined;
8322
8913
  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;
8323
8914
  external_type_display_name?: string | undefined;
8324
- acs_user_id?: string | undefined;
8325
8915
  acs_credential_pool_id?: string | undefined;
8326
8916
  parent_acs_credential_id?: string | undefined;
8327
8917
  card_number?: string | null | undefined;
@@ -8423,9 +9013,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8423
9013
  user_identity_id?: string | undefined;
8424
9014
  issued_at?: string | null | undefined;
8425
9015
  is_issued?: boolean | undefined;
9016
+ acs_user_id?: string | undefined;
8426
9017
  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;
8427
9018
  external_type_display_name?: string | undefined;
8428
- acs_user_id?: string | undefined;
8429
9019
  acs_credential_pool_id?: string | undefined;
8430
9020
  parent_acs_credential_id?: string | undefined;
8431
9021
  card_number?: string | null | undefined;
@@ -8495,9 +9085,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8495
9085
  user_identity_id?: string | undefined;
8496
9086
  issued_at?: string | null | undefined;
8497
9087
  is_issued?: boolean | undefined;
9088
+ acs_user_id?: string | undefined;
8498
9089
  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;
8499
9090
  external_type_display_name?: string | undefined;
8500
- acs_user_id?: string | undefined;
8501
9091
  acs_credential_pool_id?: string | undefined;
8502
9092
  parent_acs_credential_id?: string | undefined;
8503
9093
  card_number?: string | null | undefined;
@@ -8600,9 +9190,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8600
9190
  user_identity_id?: string | undefined;
8601
9191
  issued_at?: string | null | undefined;
8602
9192
  is_issued?: boolean | undefined;
9193
+ acs_user_id?: string | undefined;
8603
9194
  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;
8604
9195
  external_type_display_name?: string | undefined;
8605
- acs_user_id?: string | undefined;
8606
9196
  acs_credential_pool_id?: string | undefined;
8607
9197
  parent_acs_credential_id?: string | undefined;
8608
9198
  card_number?: string | null | undefined;
@@ -8672,9 +9262,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
8672
9262
  user_identity_id?: string | undefined;
8673
9263
  issued_at?: string | null | undefined;
8674
9264
  is_issued?: boolean | undefined;
9265
+ acs_user_id?: string | undefined;
8675
9266
  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;
8676
9267
  external_type_display_name?: string | undefined;
8677
- acs_user_id?: string | undefined;
8678
9268
  acs_credential_pool_id?: string | undefined;
8679
9269
  parent_acs_credential_id?: string | undefined;
8680
9270
  card_number?: string | null | undefined;
@@ -9019,9 +9609,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9019
9609
  user_identity_id?: string | undefined;
9020
9610
  issued_at?: string | null | undefined;
9021
9611
  is_issued?: boolean | undefined;
9612
+ acs_user_id?: string | undefined;
9022
9613
  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;
9023
9614
  external_type_display_name?: string | undefined;
9024
- acs_user_id?: string | undefined;
9025
9615
  acs_credential_pool_id?: string | undefined;
9026
9616
  parent_acs_credential_id?: string | undefined;
9027
9617
  card_number?: string | null | undefined;
@@ -9091,9 +9681,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9091
9681
  user_identity_id?: string | undefined;
9092
9682
  issued_at?: string | null | undefined;
9093
9683
  is_issued?: boolean | undefined;
9684
+ acs_user_id?: string | undefined;
9094
9685
  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;
9095
9686
  external_type_display_name?: string | undefined;
9096
- acs_user_id?: string | undefined;
9097
9687
  acs_credential_pool_id?: string | undefined;
9098
9688
  parent_acs_credential_id?: string | undefined;
9099
9689
  card_number?: string | null | undefined;
@@ -9328,9 +9918,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9328
9918
  user_identity_id?: string | undefined;
9329
9919
  issued_at?: string | null | undefined;
9330
9920
  is_issued?: boolean | undefined;
9921
+ acs_user_id?: string | undefined;
9331
9922
  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;
9332
9923
  external_type_display_name?: string | undefined;
9333
- acs_user_id?: string | undefined;
9334
9924
  acs_credential_pool_id?: string | undefined;
9335
9925
  parent_acs_credential_id?: string | undefined;
9336
9926
  card_number?: string | null | undefined;
@@ -9400,9 +9990,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9400
9990
  user_identity_id?: string | undefined;
9401
9991
  issued_at?: string | null | undefined;
9402
9992
  is_issued?: boolean | undefined;
9993
+ acs_user_id?: string | undefined;
9403
9994
  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;
9404
9995
  external_type_display_name?: string | undefined;
9405
- acs_user_id?: string | undefined;
9406
9996
  acs_credential_pool_id?: string | undefined;
9407
9997
  parent_acs_credential_id?: string | undefined;
9408
9998
  card_number?: string | null | undefined;
@@ -9477,9 +10067,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9477
10067
  user_identity_id?: string | undefined;
9478
10068
  issued_at?: string | null | undefined;
9479
10069
  is_issued?: boolean | undefined;
10070
+ acs_user_id?: string | undefined;
9480
10071
  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;
9481
10072
  external_type_display_name?: string | undefined;
9482
- acs_user_id?: string | undefined;
9483
10073
  acs_credential_pool_id?: string | undefined;
9484
10074
  parent_acs_credential_id?: string | undefined;
9485
10075
  card_number?: string | null | undefined;
@@ -9549,9 +10139,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9549
10139
  user_identity_id?: string | undefined;
9550
10140
  issued_at?: string | null | undefined;
9551
10141
  is_issued?: boolean | undefined;
10142
+ acs_user_id?: string | undefined;
9552
10143
  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;
9553
10144
  external_type_display_name?: string | undefined;
9554
- acs_user_id?: string | undefined;
9555
10145
  acs_credential_pool_id?: string | undefined;
9556
10146
  parent_acs_credential_id?: string | undefined;
9557
10147
  card_number?: string | null | undefined;
@@ -9627,9 +10217,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9627
10217
  user_identity_id?: string | undefined;
9628
10218
  issued_at?: string | null | undefined;
9629
10219
  is_issued?: boolean | undefined;
10220
+ acs_user_id?: string | undefined;
9630
10221
  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;
9631
10222
  external_type_display_name?: string | undefined;
9632
- acs_user_id?: string | undefined;
9633
10223
  acs_credential_pool_id?: string | undefined;
9634
10224
  parent_acs_credential_id?: string | undefined;
9635
10225
  card_number?: string | null | undefined;
@@ -9699,9 +10289,9 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
9699
10289
  user_identity_id?: string | undefined;
9700
10290
  issued_at?: string | null | undefined;
9701
10291
  is_issued?: boolean | undefined;
10292
+ acs_user_id?: string | undefined;
9702
10293
  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;
9703
10294
  external_type_display_name?: string | undefined;
9704
- acs_user_id?: string | undefined;
9705
10295
  acs_credential_pool_id?: string | undefined;
9706
10296
  parent_acs_credential_id?: string | undefined;
9707
10297
  card_number?: string | null | undefined;
@@ -10980,14 +11570,14 @@ declare const batch: z.ZodObject<{
10980
11570
  message: string;
10981
11571
  created_at: string;
10982
11572
  error_code: "issue_with_acs_user";
10983
- acs_system_id: string;
10984
11573
  acs_user_id: string;
11574
+ acs_system_id: string;
10985
11575
  }, {
10986
11576
  message: string;
10987
11577
  created_at: string;
10988
11578
  error_code: "issue_with_acs_user";
10989
- acs_system_id: string;
10990
11579
  acs_user_id: string;
11580
+ acs_system_id: string;
10991
11581
  }>]>, "many">;
10992
11582
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
10993
11583
  created_at: z.ZodString;
@@ -11025,8 +11615,8 @@ declare const batch: z.ZodObject<{
11025
11615
  message: string;
11026
11616
  created_at: string;
11027
11617
  error_code: "issue_with_acs_user";
11028
- acs_system_id: string;
11029
11618
  acs_user_id: string;
11619
+ acs_system_id: string;
11030
11620
  }[];
11031
11621
  warnings: ({
11032
11622
  message: string;
@@ -11051,8 +11641,8 @@ declare const batch: z.ZodObject<{
11051
11641
  message: string;
11052
11642
  created_at: string;
11053
11643
  error_code: "issue_with_acs_user";
11054
- acs_system_id: string;
11055
11644
  acs_user_id: string;
11645
+ acs_system_id: string;
11056
11646
  }[];
11057
11647
  warnings: ({
11058
11648
  message: string;
@@ -16213,8 +16803,8 @@ declare const batch: z.ZodObject<{
16213
16803
  }[];
16214
16804
  connected_account_id: string;
16215
16805
  space_ids: string[];
16216
- acs_system_id: string;
16217
16806
  acs_entrance_id: string;
16807
+ acs_system_id: string;
16218
16808
  salto_ks_metadata?: {
16219
16809
  lock_type: string;
16220
16810
  battery_level: string;
@@ -16283,8 +16873,8 @@ declare const batch: z.ZodObject<{
16283
16873
  }[];
16284
16874
  connected_account_id: string;
16285
16875
  space_ids: string[];
16286
- acs_system_id: string;
16287
16876
  acs_entrance_id: string;
16877
+ acs_system_id: string;
16288
16878
  salto_ks_metadata?: {
16289
16879
  lock_type: string;
16290
16880
  battery_level: string;
@@ -17090,8 +17680,8 @@ declare const batch: z.ZodObject<{
17090
17680
  warning_code: "latch_resident_user";
17091
17681
  })[];
17092
17682
  is_managed: true;
17093
- acs_system_id: string;
17094
17683
  acs_user_id: string;
17684
+ acs_system_id: string;
17095
17685
  last_successful_sync_at: string | null;
17096
17686
  email?: string | undefined;
17097
17687
  user_identity_id?: string | undefined;
@@ -17221,8 +17811,8 @@ declare const batch: z.ZodObject<{
17221
17811
  warning_code: "latch_resident_user";
17222
17812
  })[];
17223
17813
  is_managed: true;
17224
- acs_system_id: string;
17225
17814
  acs_user_id: string;
17815
+ acs_system_id: string;
17226
17816
  last_successful_sync_at: string | null;
17227
17817
  email?: string | undefined;
17228
17818
  user_identity_id?: string | undefined;
@@ -17354,6 +17944,199 @@ declare const batch: z.ZodObject<{
17354
17944
  starts_at: string;
17355
17945
  ends_at: string | null;
17356
17946
  }>>;
17947
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
17948
+ created_at: z.ZodString;
17949
+ message: z.ZodString;
17950
+ } & {
17951
+ mutation_code: z.ZodLiteral<"creating">;
17952
+ }, "strip", z.ZodTypeAny, {
17953
+ message: string;
17954
+ created_at: string;
17955
+ mutation_code: "creating";
17956
+ }, {
17957
+ message: string;
17958
+ created_at: string;
17959
+ mutation_code: "creating";
17960
+ }>, z.ZodObject<{
17961
+ created_at: z.ZodString;
17962
+ message: z.ZodString;
17963
+ } & {
17964
+ mutation_code: z.ZodLiteral<"deleting">;
17965
+ }, "strip", z.ZodTypeAny, {
17966
+ message: string;
17967
+ created_at: string;
17968
+ mutation_code: "deleting";
17969
+ }, {
17970
+ message: string;
17971
+ created_at: string;
17972
+ mutation_code: "deleting";
17973
+ }>, z.ZodObject<{
17974
+ created_at: z.ZodString;
17975
+ message: z.ZodString;
17976
+ } & {
17977
+ mutation_code: z.ZodLiteral<"updating_group_information">;
17978
+ from: z.ZodObject<{
17979
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17980
+ }, "strip", z.ZodTypeAny, {
17981
+ name?: string | null | undefined;
17982
+ }, {
17983
+ name?: string | null | undefined;
17984
+ }>;
17985
+ to: z.ZodObject<{
17986
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17987
+ }, "strip", z.ZodTypeAny, {
17988
+ name?: string | null | undefined;
17989
+ }, {
17990
+ name?: string | null | undefined;
17991
+ }>;
17992
+ }, "strip", z.ZodTypeAny, {
17993
+ message: string;
17994
+ created_at: string;
17995
+ mutation_code: "updating_group_information";
17996
+ from: {
17997
+ name?: string | null | undefined;
17998
+ };
17999
+ to: {
18000
+ name?: string | null | undefined;
18001
+ };
18002
+ }, {
18003
+ message: string;
18004
+ created_at: string;
18005
+ mutation_code: "updating_group_information";
18006
+ from: {
18007
+ name?: string | null | undefined;
18008
+ };
18009
+ to: {
18010
+ name?: string | null | undefined;
18011
+ };
18012
+ }>, z.ZodObject<{
18013
+ created_at: z.ZodString;
18014
+ message: z.ZodString;
18015
+ } & {
18016
+ mutation_code: z.ZodLiteral<"updating_access_schedule">;
18017
+ from: z.ZodObject<{
18018
+ starts_at: z.ZodNullable<z.ZodString>;
18019
+ ends_at: z.ZodNullable<z.ZodString>;
18020
+ }, "strip", z.ZodTypeAny, {
18021
+ starts_at: string | null;
18022
+ ends_at: string | null;
18023
+ }, {
18024
+ starts_at: string | null;
18025
+ ends_at: string | null;
18026
+ }>;
18027
+ to: z.ZodObject<{
18028
+ starts_at: z.ZodNullable<z.ZodString>;
18029
+ ends_at: z.ZodNullable<z.ZodString>;
18030
+ }, "strip", z.ZodTypeAny, {
18031
+ starts_at: string | null;
18032
+ ends_at: string | null;
18033
+ }, {
18034
+ starts_at: string | null;
18035
+ ends_at: string | null;
18036
+ }>;
18037
+ }, "strip", z.ZodTypeAny, {
18038
+ message: string;
18039
+ created_at: string;
18040
+ mutation_code: "updating_access_schedule";
18041
+ from: {
18042
+ starts_at: string | null;
18043
+ ends_at: string | null;
18044
+ };
18045
+ to: {
18046
+ starts_at: string | null;
18047
+ ends_at: string | null;
18048
+ };
18049
+ }, {
18050
+ message: string;
18051
+ created_at: string;
18052
+ mutation_code: "updating_access_schedule";
18053
+ from: {
18054
+ starts_at: string | null;
18055
+ ends_at: string | null;
18056
+ };
18057
+ to: {
18058
+ starts_at: string | null;
18059
+ ends_at: string | null;
18060
+ };
18061
+ }>, z.ZodObject<{
18062
+ created_at: z.ZodString;
18063
+ message: z.ZodString;
18064
+ } & {
18065
+ mutation_code: z.ZodLiteral<"updating_user_membership">;
18066
+ from: z.ZodObject<{
18067
+ acs_user_id: z.ZodNullable<z.ZodString>;
18068
+ }, "strip", z.ZodTypeAny, {
18069
+ acs_user_id: string | null;
18070
+ }, {
18071
+ acs_user_id: string | null;
18072
+ }>;
18073
+ to: z.ZodObject<{
18074
+ acs_user_id: z.ZodNullable<z.ZodString>;
18075
+ }, "strip", z.ZodTypeAny, {
18076
+ acs_user_id: string | null;
18077
+ }, {
18078
+ acs_user_id: string | null;
18079
+ }>;
18080
+ }, "strip", z.ZodTypeAny, {
18081
+ message: string;
18082
+ created_at: string;
18083
+ mutation_code: "updating_user_membership";
18084
+ from: {
18085
+ acs_user_id: string | null;
18086
+ };
18087
+ to: {
18088
+ acs_user_id: string | null;
18089
+ };
18090
+ }, {
18091
+ message: string;
18092
+ created_at: string;
18093
+ mutation_code: "updating_user_membership";
18094
+ from: {
18095
+ acs_user_id: string | null;
18096
+ };
18097
+ to: {
18098
+ acs_user_id: string | null;
18099
+ };
18100
+ }>, z.ZodObject<{
18101
+ created_at: z.ZodString;
18102
+ message: z.ZodString;
18103
+ } & {
18104
+ mutation_code: z.ZodLiteral<"updating_entrance_membership">;
18105
+ from: z.ZodObject<{
18106
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
18107
+ }, "strip", z.ZodTypeAny, {
18108
+ acs_entrance_id: string | null;
18109
+ }, {
18110
+ acs_entrance_id: string | null;
18111
+ }>;
18112
+ to: z.ZodObject<{
18113
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
18114
+ }, "strip", z.ZodTypeAny, {
18115
+ acs_entrance_id: string | null;
18116
+ }, {
18117
+ acs_entrance_id: string | null;
18118
+ }>;
18119
+ }, "strip", z.ZodTypeAny, {
18120
+ message: string;
18121
+ created_at: string;
18122
+ mutation_code: "updating_entrance_membership";
18123
+ from: {
18124
+ acs_entrance_id: string | null;
18125
+ };
18126
+ to: {
18127
+ acs_entrance_id: string | null;
18128
+ };
18129
+ }, {
18130
+ message: string;
18131
+ created_at: string;
18132
+ mutation_code: "updating_entrance_membership";
18133
+ from: {
18134
+ acs_entrance_id: string | null;
18135
+ };
18136
+ to: {
18137
+ acs_entrance_id: string | null;
18138
+ };
18139
+ }>]>, "many">;
17357
18140
  } & {
17358
18141
  is_managed: z.ZodLiteral<true>;
17359
18142
  }, "strip", z.ZodTypeAny, {
@@ -17372,6 +18155,57 @@ declare const batch: z.ZodObject<{
17372
18155
  warning_code: "being_deleted";
17373
18156
  })[];
17374
18157
  is_managed: true;
18158
+ pending_mutations: ({
18159
+ message: string;
18160
+ created_at: string;
18161
+ mutation_code: "creating";
18162
+ } | {
18163
+ message: string;
18164
+ created_at: string;
18165
+ mutation_code: "deleting";
18166
+ } | {
18167
+ message: string;
18168
+ created_at: string;
18169
+ mutation_code: "updating_group_information";
18170
+ from: {
18171
+ name?: string | null | undefined;
18172
+ };
18173
+ to: {
18174
+ name?: string | null | undefined;
18175
+ };
18176
+ } | {
18177
+ message: string;
18178
+ created_at: string;
18179
+ mutation_code: "updating_access_schedule";
18180
+ from: {
18181
+ starts_at: string | null;
18182
+ ends_at: string | null;
18183
+ };
18184
+ to: {
18185
+ starts_at: string | null;
18186
+ ends_at: string | null;
18187
+ };
18188
+ } | {
18189
+ message: string;
18190
+ created_at: string;
18191
+ mutation_code: "updating_user_membership";
18192
+ from: {
18193
+ acs_user_id: string | null;
18194
+ };
18195
+ to: {
18196
+ acs_user_id: string | null;
18197
+ };
18198
+ } | {
18199
+ message: string;
18200
+ created_at: string;
18201
+ mutation_code: "updating_entrance_membership";
18202
+ from: {
18203
+ acs_entrance_id: string | null;
18204
+ };
18205
+ to: {
18206
+ acs_entrance_id: string | null;
18207
+ };
18208
+ })[];
17375
18209
  acs_access_group_id: string;
17376
18210
  acs_system_id: string;
17377
18211
  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";
@@ -17398,6 +18232,57 @@ declare const batch: z.ZodObject<{
17398
18232
  warning_code: "being_deleted";
17399
18233
  })[];
17400
18234
  is_managed: true;
18235
+ pending_mutations: ({
18236
+ message: string;
18237
+ created_at: string;
18238
+ mutation_code: "creating";
18239
+ } | {
18240
+ message: string;
18241
+ created_at: string;
18242
+ mutation_code: "deleting";
18243
+ } | {
18244
+ message: string;
18245
+ created_at: string;
18246
+ mutation_code: "updating_group_information";
18247
+ from: {
18248
+ name?: string | null | undefined;
18249
+ };
18250
+ to: {
18251
+ name?: string | null | undefined;
18252
+ };
18253
+ } | {
18254
+ message: string;
18255
+ created_at: string;
18256
+ mutation_code: "updating_access_schedule";
18257
+ from: {
18258
+ starts_at: string | null;
18259
+ ends_at: string | null;
18260
+ };
18261
+ to: {
18262
+ starts_at: string | null;
18263
+ ends_at: string | null;
18264
+ };
18265
+ } | {
18266
+ message: string;
18267
+ created_at: string;
18268
+ mutation_code: "updating_user_membership";
18269
+ from: {
18270
+ acs_user_id: string | null;
18271
+ };
18272
+ to: {
18273
+ acs_user_id: string | null;
18274
+ };
18275
+ } | {
18276
+ message: string;
18277
+ created_at: string;
18278
+ mutation_code: "updating_entrance_membership";
18279
+ from: {
18280
+ acs_entrance_id: string | null;
18281
+ };
18282
+ to: {
18283
+ acs_entrance_id: string | null;
18284
+ };
18285
+ })[];
17401
18286
  acs_access_group_id: string;
17402
18287
  acs_system_id: string;
17403
18288
  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";
@@ -17683,9 +18568,9 @@ declare const batch: z.ZodObject<{
17683
18568
  user_identity_id?: string | undefined;
17684
18569
  issued_at?: string | null | undefined;
17685
18570
  is_issued?: boolean | undefined;
18571
+ acs_user_id?: string | undefined;
17686
18572
  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;
17687
18573
  external_type_display_name?: string | undefined;
17688
- acs_user_id?: string | undefined;
17689
18574
  acs_credential_pool_id?: string | undefined;
17690
18575
  parent_acs_credential_id?: string | undefined;
17691
18576
  card_number?: string | null | undefined;
@@ -17755,9 +18640,9 @@ declare const batch: z.ZodObject<{
17755
18640
  user_identity_id?: string | undefined;
17756
18641
  issued_at?: string | null | undefined;
17757
18642
  is_issued?: boolean | undefined;
18643
+ acs_user_id?: string | undefined;
17758
18644
  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;
17759
18645
  external_type_display_name?: string | undefined;
17760
- acs_user_id?: string | undefined;
17761
18646
  acs_credential_pool_id?: string | undefined;
17762
18647
  parent_acs_credential_id?: string | undefined;
17763
18648
  card_number?: string | null | undefined;
@@ -17993,9 +18878,9 @@ declare const batch: z.ZodObject<{
17993
18878
  user_identity_id?: string | undefined;
17994
18879
  issued_at?: string | null | undefined;
17995
18880
  is_issued?: boolean | undefined;
18881
+ acs_user_id?: string | undefined;
17996
18882
  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;
17997
18883
  external_type_display_name?: string | undefined;
17998
- acs_user_id?: string | undefined;
17999
18884
  acs_credential_pool_id?: string | undefined;
18000
18885
  parent_acs_credential_id?: string | undefined;
18001
18886
  card_number?: string | null | undefined;
@@ -18065,9 +18950,9 @@ declare const batch: z.ZodObject<{
18065
18950
  user_identity_id?: string | undefined;
18066
18951
  issued_at?: string | null | undefined;
18067
18952
  is_issued?: boolean | undefined;
18953
+ acs_user_id?: string | undefined;
18068
18954
  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;
18069
18955
  external_type_display_name?: string | undefined;
18070
- acs_user_id?: string | undefined;
18071
18956
  acs_credential_pool_id?: string | undefined;
18072
18957
  parent_acs_credential_id?: string | undefined;
18073
18958
  card_number?: string | null | undefined;
@@ -18588,9 +19473,9 @@ declare const batch: z.ZodObject<{
18588
19473
  user_identity_id?: string | undefined;
18589
19474
  issued_at?: string | null | undefined;
18590
19475
  is_issued?: boolean | undefined;
19476
+ acs_user_id?: string | undefined;
18591
19477
  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;
18592
19478
  external_type_display_name?: string | undefined;
18593
- acs_user_id?: string | undefined;
18594
19479
  acs_credential_pool_id?: string | undefined;
18595
19480
  parent_acs_credential_id?: string | undefined;
18596
19481
  card_number?: string | null | undefined;
@@ -18660,246 +19545,246 @@ declare const batch: z.ZodObject<{
18660
19545
  user_identity_id?: string | undefined;
18661
19546
  issued_at?: string | null | undefined;
18662
19547
  is_issued?: boolean | undefined;
19548
+ acs_user_id?: string | undefined;
18663
19549
  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;
18664
19550
  external_type_display_name?: string | undefined;
19551
+ acs_credential_pool_id?: string | undefined;
19552
+ parent_acs_credential_id?: string | undefined;
19553
+ card_number?: string | null | undefined;
19554
+ is_multi_phone_sync_credential?: boolean | undefined;
19555
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
19556
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
19557
+ }>, z.ZodObject<{
19558
+ acs_credential_id: z.ZodString;
19559
+ acs_user_id: z.ZodOptional<z.ZodString>;
19560
+ user_identity_id: z.ZodOptional<z.ZodString>;
19561
+ connected_account_id: z.ZodString;
19562
+ acs_credential_pool_id: z.ZodOptional<z.ZodString>;
19563
+ acs_system_id: z.ZodString;
19564
+ parent_acs_credential_id: z.ZodOptional<z.ZodString>;
19565
+ display_name: z.ZodString;
19566
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19567
+ is_one_time_use: z.ZodOptional<z.ZodBoolean>;
19568
+ card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19569
+ is_issued: z.ZodOptional<z.ZodBoolean>;
19570
+ issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19571
+ access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
19572
+ external_type: z.ZodOptional<z.ZodEnum<["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"]>>;
19573
+ external_type_display_name: z.ZodOptional<z.ZodString>;
19574
+ created_at: z.ZodString;
19575
+ workspace_id: z.ZodString;
19576
+ starts_at: z.ZodOptional<z.ZodString>;
19577
+ ends_at: z.ZodOptional<z.ZodString>;
19578
+ errors: z.ZodArray<z.ZodObject<{
19579
+ error_code: z.ZodString;
19580
+ message: z.ZodString;
19581
+ }, "strip", z.ZodTypeAny, {
19582
+ message: string;
19583
+ error_code: string;
19584
+ }, {
19585
+ message: string;
19586
+ error_code: string;
19587
+ }>, "many">;
19588
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
19589
+ created_at: z.ZodString;
19590
+ message: z.ZodString;
19591
+ } & {
19592
+ warning_code: z.ZodLiteral<"waiting_to_be_issued">;
19593
+ }, "strip", z.ZodTypeAny, {
19594
+ message: string;
19595
+ created_at: string;
19596
+ warning_code: "waiting_to_be_issued";
19597
+ }, {
19598
+ message: string;
19599
+ created_at: string;
19600
+ warning_code: "waiting_to_be_issued";
19601
+ }>, z.ZodObject<{
19602
+ created_at: z.ZodString;
19603
+ message: z.ZodString;
19604
+ } & {
19605
+ warning_code: z.ZodLiteral<"schedule_externally_modified">;
19606
+ }, "strip", z.ZodTypeAny, {
19607
+ message: string;
19608
+ created_at: string;
19609
+ warning_code: "schedule_externally_modified";
19610
+ }, {
19611
+ message: string;
19612
+ created_at: string;
19613
+ warning_code: "schedule_externally_modified";
19614
+ }>, z.ZodObject<{
19615
+ created_at: z.ZodString;
19616
+ message: z.ZodString;
19617
+ } & {
19618
+ warning_code: z.ZodLiteral<"schedule_modified">;
19619
+ }, "strip", z.ZodTypeAny, {
19620
+ message: string;
19621
+ created_at: string;
19622
+ warning_code: "schedule_modified";
19623
+ }, {
19624
+ message: string;
19625
+ created_at: string;
19626
+ warning_code: "schedule_modified";
19627
+ }>, z.ZodObject<{
19628
+ created_at: z.ZodString;
19629
+ message: z.ZodString;
19630
+ } & {
19631
+ warning_code: z.ZodLiteral<"being_deleted">;
19632
+ }, "strip", z.ZodTypeAny, {
19633
+ message: string;
19634
+ created_at: string;
19635
+ warning_code: "being_deleted";
19636
+ }, {
19637
+ message: string;
19638
+ created_at: string;
19639
+ warning_code: "being_deleted";
19640
+ }>, z.ZodObject<{
19641
+ created_at: z.ZodString;
19642
+ message: z.ZodString;
19643
+ } & {
19644
+ warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
19645
+ }, "strip", z.ZodTypeAny, {
19646
+ message: string;
19647
+ created_at: string;
19648
+ warning_code: "unknown_issue_with_acs_credential";
19649
+ }, {
19650
+ message: string;
19651
+ created_at: string;
19652
+ warning_code: "unknown_issue_with_acs_credential";
19653
+ }>, z.ZodObject<{
19654
+ created_at: z.ZodString;
19655
+ message: z.ZodString;
19656
+ } & {
19657
+ warning_code: z.ZodLiteral<"needs_to_be_reissued">;
19658
+ }, "strip", z.ZodTypeAny, {
19659
+ message: string;
19660
+ created_at: string;
19661
+ warning_code: "needs_to_be_reissued";
19662
+ }, {
19663
+ message: string;
19664
+ created_at: string;
19665
+ warning_code: "needs_to_be_reissued";
19666
+ }>]>, "many">;
19667
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
19668
+ is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19669
+ latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19670
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
19671
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
19672
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19673
+ guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19674
+ common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19675
+ is_valid: z.ZodOptional<z.ZodBoolean>;
19676
+ auto_join: z.ZodOptional<z.ZodBoolean>;
19677
+ card_id: z.ZodOptional<z.ZodString>;
19678
+ credential_id: z.ZodOptional<z.ZodString>;
19679
+ }, "strip", z.ZodTypeAny, {
19680
+ card_function_type: "guest" | "staff";
19681
+ auto_join?: boolean | undefined;
19682
+ joiner_acs_credential_ids?: string[] | undefined;
19683
+ guest_acs_entrance_ids?: string[] | undefined;
19684
+ common_acs_entrance_ids?: string[] | undefined;
19685
+ is_valid?: boolean | undefined;
19686
+ card_id?: string | undefined;
19687
+ credential_id?: string | undefined;
19688
+ }, {
19689
+ card_function_type: "guest" | "staff";
19690
+ auto_join?: boolean | undefined;
19691
+ joiner_acs_credential_ids?: string[] | undefined;
19692
+ guest_acs_entrance_ids?: string[] | undefined;
19693
+ common_acs_entrance_ids?: string[] | undefined;
19694
+ is_valid?: boolean | undefined;
19695
+ card_id?: string | undefined;
19696
+ credential_id?: string | undefined;
19697
+ }>>;
19698
+ assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
19699
+ auto_join: z.ZodOptional<z.ZodBoolean>;
19700
+ override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19701
+ key_id: z.ZodOptional<z.ZodString>;
19702
+ key_issuing_request_id: z.ZodOptional<z.ZodString>;
19703
+ door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19704
+ endpoint_id: z.ZodOptional<z.ZodString>;
19705
+ }, "strip", z.ZodTypeAny, {
19706
+ key_id?: string | undefined;
19707
+ endpoint_id?: string | undefined;
19708
+ auto_join?: boolean | undefined;
19709
+ override_guest_acs_entrance_ids?: string[] | undefined;
19710
+ key_issuing_request_id?: string | undefined;
19711
+ door_names?: string[] | undefined;
19712
+ }, {
19713
+ key_id?: string | undefined;
19714
+ endpoint_id?: string | undefined;
19715
+ auto_join?: boolean | undefined;
19716
+ override_guest_acs_entrance_ids?: string[] | undefined;
19717
+ key_issuing_request_id?: string | undefined;
19718
+ door_names?: string[] | undefined;
19719
+ }>>;
19720
+ } & {
19721
+ is_managed: z.ZodLiteral<false>;
19722
+ }, "strip", z.ZodTypeAny, {
19723
+ display_name: string;
19724
+ workspace_id: string;
19725
+ created_at: string;
19726
+ errors: {
19727
+ message: string;
19728
+ error_code: string;
19729
+ }[];
19730
+ connected_account_id: string;
19731
+ warnings: ({
19732
+ message: string;
19733
+ created_at: string;
19734
+ warning_code: "waiting_to_be_issued";
19735
+ } | {
19736
+ message: string;
19737
+ created_at: string;
19738
+ warning_code: "schedule_externally_modified";
19739
+ } | {
19740
+ message: string;
19741
+ created_at: string;
19742
+ warning_code: "schedule_modified";
19743
+ } | {
19744
+ message: string;
19745
+ created_at: string;
19746
+ warning_code: "being_deleted";
19747
+ } | {
19748
+ message: string;
19749
+ created_at: string;
19750
+ warning_code: "unknown_issue_with_acs_credential";
19751
+ } | {
19752
+ message: string;
19753
+ created_at: string;
19754
+ warning_code: "needs_to_be_reissued";
19755
+ })[];
19756
+ is_managed: false;
19757
+ acs_system_id: string;
19758
+ acs_credential_id: string;
19759
+ access_method: "code" | "card" | "mobile_key";
19760
+ code?: string | null | undefined;
19761
+ starts_at?: string | undefined;
19762
+ ends_at?: string | undefined;
19763
+ visionline_metadata?: {
19764
+ card_function_type: "guest" | "staff";
19765
+ auto_join?: boolean | undefined;
19766
+ joiner_acs_credential_ids?: string[] | undefined;
19767
+ guest_acs_entrance_ids?: string[] | undefined;
19768
+ common_acs_entrance_ids?: string[] | undefined;
19769
+ is_valid?: boolean | undefined;
19770
+ card_id?: string | undefined;
19771
+ credential_id?: string | undefined;
19772
+ } | undefined;
19773
+ assa_abloy_vostio_metadata?: {
19774
+ key_id?: string | undefined;
19775
+ endpoint_id?: string | undefined;
19776
+ auto_join?: boolean | undefined;
19777
+ override_guest_acs_entrance_ids?: string[] | undefined;
19778
+ key_issuing_request_id?: string | undefined;
19779
+ door_names?: string[] | undefined;
19780
+ } | undefined;
19781
+ is_one_time_use?: boolean | undefined;
19782
+ user_identity_id?: string | undefined;
19783
+ issued_at?: string | null | undefined;
19784
+ is_issued?: boolean | undefined;
18665
19785
  acs_user_id?: string | undefined;
18666
- acs_credential_pool_id?: string | undefined;
18667
- parent_acs_credential_id?: string | undefined;
18668
- card_number?: string | null | undefined;
18669
- is_multi_phone_sync_credential?: boolean | undefined;
18670
- is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
18671
- latest_desired_state_synced_with_provider_at?: string | null | undefined;
18672
- }>, z.ZodObject<{
18673
- acs_credential_id: z.ZodString;
18674
- acs_user_id: z.ZodOptional<z.ZodString>;
18675
- user_identity_id: z.ZodOptional<z.ZodString>;
18676
- connected_account_id: z.ZodString;
18677
- acs_credential_pool_id: z.ZodOptional<z.ZodString>;
18678
- acs_system_id: z.ZodString;
18679
- parent_acs_credential_id: z.ZodOptional<z.ZodString>;
18680
- display_name: z.ZodString;
18681
- code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18682
- is_one_time_use: z.ZodOptional<z.ZodBoolean>;
18683
- card_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18684
- is_issued: z.ZodOptional<z.ZodBoolean>;
18685
- issued_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18686
- access_method: z.ZodEnum<["code", "card", "mobile_key"]>;
18687
- external_type: z.ZodOptional<z.ZodEnum<["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"]>>;
18688
- external_type_display_name: z.ZodOptional<z.ZodString>;
18689
- created_at: z.ZodString;
18690
- workspace_id: z.ZodString;
18691
- starts_at: z.ZodOptional<z.ZodString>;
18692
- ends_at: z.ZodOptional<z.ZodString>;
18693
- errors: z.ZodArray<z.ZodObject<{
18694
- error_code: z.ZodString;
18695
- message: z.ZodString;
18696
- }, "strip", z.ZodTypeAny, {
18697
- message: string;
18698
- error_code: string;
18699
- }, {
18700
- message: string;
18701
- error_code: string;
18702
- }>, "many">;
18703
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
18704
- created_at: z.ZodString;
18705
- message: z.ZodString;
18706
- } & {
18707
- warning_code: z.ZodLiteral<"waiting_to_be_issued">;
18708
- }, "strip", z.ZodTypeAny, {
18709
- message: string;
18710
- created_at: string;
18711
- warning_code: "waiting_to_be_issued";
18712
- }, {
18713
- message: string;
18714
- created_at: string;
18715
- warning_code: "waiting_to_be_issued";
18716
- }>, z.ZodObject<{
18717
- created_at: z.ZodString;
18718
- message: z.ZodString;
18719
- } & {
18720
- warning_code: z.ZodLiteral<"schedule_externally_modified">;
18721
- }, "strip", z.ZodTypeAny, {
18722
- message: string;
18723
- created_at: string;
18724
- warning_code: "schedule_externally_modified";
18725
- }, {
18726
- message: string;
18727
- created_at: string;
18728
- warning_code: "schedule_externally_modified";
18729
- }>, z.ZodObject<{
18730
- created_at: z.ZodString;
18731
- message: z.ZodString;
18732
- } & {
18733
- warning_code: z.ZodLiteral<"schedule_modified">;
18734
- }, "strip", z.ZodTypeAny, {
18735
- message: string;
18736
- created_at: string;
18737
- warning_code: "schedule_modified";
18738
- }, {
18739
- message: string;
18740
- created_at: string;
18741
- warning_code: "schedule_modified";
18742
- }>, z.ZodObject<{
18743
- created_at: z.ZodString;
18744
- message: z.ZodString;
18745
- } & {
18746
- warning_code: z.ZodLiteral<"being_deleted">;
18747
- }, "strip", z.ZodTypeAny, {
18748
- message: string;
18749
- created_at: string;
18750
- warning_code: "being_deleted";
18751
- }, {
18752
- message: string;
18753
- created_at: string;
18754
- warning_code: "being_deleted";
18755
- }>, z.ZodObject<{
18756
- created_at: z.ZodString;
18757
- message: z.ZodString;
18758
- } & {
18759
- warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
18760
- }, "strip", z.ZodTypeAny, {
18761
- message: string;
18762
- created_at: string;
18763
- warning_code: "unknown_issue_with_acs_credential";
18764
- }, {
18765
- message: string;
18766
- created_at: string;
18767
- warning_code: "unknown_issue_with_acs_credential";
18768
- }>, z.ZodObject<{
18769
- created_at: z.ZodString;
18770
- message: z.ZodString;
18771
- } & {
18772
- warning_code: z.ZodLiteral<"needs_to_be_reissued">;
18773
- }, "strip", z.ZodTypeAny, {
18774
- message: string;
18775
- created_at: string;
18776
- warning_code: "needs_to_be_reissued";
18777
- }, {
18778
- message: string;
18779
- created_at: string;
18780
- warning_code: "needs_to_be_reissued";
18781
- }>]>, "many">;
18782
- is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
18783
- is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18784
- latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18785
- visionline_metadata: z.ZodOptional<z.ZodObject<{
18786
- card_function_type: z.ZodEnum<["guest", "staff"]>;
18787
- joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18788
- guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18789
- common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18790
- is_valid: z.ZodOptional<z.ZodBoolean>;
18791
- auto_join: z.ZodOptional<z.ZodBoolean>;
18792
- card_id: z.ZodOptional<z.ZodString>;
18793
- credential_id: z.ZodOptional<z.ZodString>;
18794
- }, "strip", z.ZodTypeAny, {
18795
- card_function_type: "guest" | "staff";
18796
- auto_join?: boolean | undefined;
18797
- joiner_acs_credential_ids?: string[] | undefined;
18798
- guest_acs_entrance_ids?: string[] | undefined;
18799
- common_acs_entrance_ids?: string[] | undefined;
18800
- is_valid?: boolean | undefined;
18801
- card_id?: string | undefined;
18802
- credential_id?: string | undefined;
18803
- }, {
18804
- card_function_type: "guest" | "staff";
18805
- auto_join?: boolean | undefined;
18806
- joiner_acs_credential_ids?: string[] | undefined;
18807
- guest_acs_entrance_ids?: string[] | undefined;
18808
- common_acs_entrance_ids?: string[] | undefined;
18809
- is_valid?: boolean | undefined;
18810
- card_id?: string | undefined;
18811
- credential_id?: string | undefined;
18812
- }>>;
18813
- assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
18814
- auto_join: z.ZodOptional<z.ZodBoolean>;
18815
- override_guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18816
- key_id: z.ZodOptional<z.ZodString>;
18817
- key_issuing_request_id: z.ZodOptional<z.ZodString>;
18818
- door_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18819
- endpoint_id: z.ZodOptional<z.ZodString>;
18820
- }, "strip", z.ZodTypeAny, {
18821
- key_id?: string | undefined;
18822
- endpoint_id?: string | undefined;
18823
- auto_join?: boolean | undefined;
18824
- override_guest_acs_entrance_ids?: string[] | undefined;
18825
- key_issuing_request_id?: string | undefined;
18826
- door_names?: string[] | undefined;
18827
- }, {
18828
- key_id?: string | undefined;
18829
- endpoint_id?: string | undefined;
18830
- auto_join?: boolean | undefined;
18831
- override_guest_acs_entrance_ids?: string[] | undefined;
18832
- key_issuing_request_id?: string | undefined;
18833
- door_names?: string[] | undefined;
18834
- }>>;
18835
- } & {
18836
- is_managed: z.ZodLiteral<false>;
18837
- }, "strip", z.ZodTypeAny, {
18838
- display_name: string;
18839
- workspace_id: string;
18840
- created_at: string;
18841
- errors: {
18842
- message: string;
18843
- error_code: string;
18844
- }[];
18845
- connected_account_id: string;
18846
- warnings: ({
18847
- message: string;
18848
- created_at: string;
18849
- warning_code: "waiting_to_be_issued";
18850
- } | {
18851
- message: string;
18852
- created_at: string;
18853
- warning_code: "schedule_externally_modified";
18854
- } | {
18855
- message: string;
18856
- created_at: string;
18857
- warning_code: "schedule_modified";
18858
- } | {
18859
- message: string;
18860
- created_at: string;
18861
- warning_code: "being_deleted";
18862
- } | {
18863
- message: string;
18864
- created_at: string;
18865
- warning_code: "unknown_issue_with_acs_credential";
18866
- } | {
18867
- message: string;
18868
- created_at: string;
18869
- warning_code: "needs_to_be_reissued";
18870
- })[];
18871
- is_managed: false;
18872
- acs_system_id: string;
18873
- acs_credential_id: string;
18874
- access_method: "code" | "card" | "mobile_key";
18875
- code?: string | null | undefined;
18876
- starts_at?: string | undefined;
18877
- ends_at?: string | undefined;
18878
- visionline_metadata?: {
18879
- card_function_type: "guest" | "staff";
18880
- auto_join?: boolean | undefined;
18881
- joiner_acs_credential_ids?: string[] | undefined;
18882
- guest_acs_entrance_ids?: string[] | undefined;
18883
- common_acs_entrance_ids?: string[] | undefined;
18884
- is_valid?: boolean | undefined;
18885
- card_id?: string | undefined;
18886
- credential_id?: string | undefined;
18887
- } | undefined;
18888
- assa_abloy_vostio_metadata?: {
18889
- key_id?: string | undefined;
18890
- endpoint_id?: string | undefined;
18891
- auto_join?: boolean | undefined;
18892
- override_guest_acs_entrance_ids?: string[] | undefined;
18893
- key_issuing_request_id?: string | undefined;
18894
- door_names?: string[] | undefined;
18895
- } | undefined;
18896
- is_one_time_use?: boolean | undefined;
18897
- user_identity_id?: string | undefined;
18898
- issued_at?: string | null | undefined;
18899
- is_issued?: boolean | undefined;
18900
- 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;
18901
- external_type_display_name?: string | undefined;
18902
- acs_user_id?: string | undefined;
19786
+ 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;
19787
+ external_type_display_name?: string | undefined;
18903
19788
  acs_credential_pool_id?: string | undefined;
18904
19789
  parent_acs_credential_id?: string | undefined;
18905
19790
  card_number?: string | null | undefined;
@@ -18969,9 +19854,9 @@ declare const batch: z.ZodObject<{
18969
19854
  user_identity_id?: string | undefined;
18970
19855
  issued_at?: string | null | undefined;
18971
19856
  is_issued?: boolean | undefined;
19857
+ acs_user_id?: string | undefined;
18972
19858
  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;
18973
19859
  external_type_display_name?: string | undefined;
18974
- acs_user_id?: string | undefined;
18975
19860
  acs_credential_pool_id?: string | undefined;
18976
19861
  parent_acs_credential_id?: string | undefined;
18977
19862
  card_number?: string | null | undefined;
@@ -19078,9 +19963,9 @@ declare const batch: z.ZodObject<{
19078
19963
  user_identity_id?: string | undefined;
19079
19964
  issued_at?: string | null | undefined;
19080
19965
  is_issued?: boolean | undefined;
19966
+ acs_user_id?: string | undefined;
19081
19967
  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;
19082
19968
  external_type_display_name?: string | undefined;
19083
- acs_user_id?: string | undefined;
19084
19969
  acs_credential_pool_id?: string | undefined;
19085
19970
  parent_acs_credential_id?: string | undefined;
19086
19971
  card_number?: string | null | undefined;
@@ -19150,9 +20035,9 @@ declare const batch: z.ZodObject<{
19150
20035
  user_identity_id?: string | undefined;
19151
20036
  issued_at?: string | null | undefined;
19152
20037
  is_issued?: boolean | undefined;
20038
+ acs_user_id?: string | undefined;
19153
20039
  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;
19154
20040
  external_type_display_name?: string | undefined;
19155
- acs_user_id?: string | undefined;
19156
20041
  acs_credential_pool_id?: string | undefined;
19157
20042
  parent_acs_credential_id?: string | undefined;
19158
20043
  card_number?: string | null | undefined;
@@ -19249,9 +20134,9 @@ declare const batch: z.ZodObject<{
19249
20134
  user_identity_id?: string | undefined;
19250
20135
  issued_at?: string | null | undefined;
19251
20136
  is_issued?: boolean | undefined;
20137
+ acs_user_id?: string | undefined;
19252
20138
  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;
19253
20139
  external_type_display_name?: string | undefined;
19254
- acs_user_id?: string | undefined;
19255
20140
  acs_credential_pool_id?: string | undefined;
19256
20141
  parent_acs_credential_id?: string | undefined;
19257
20142
  card_number?: string | null | undefined;
@@ -19321,9 +20206,9 @@ declare const batch: z.ZodObject<{
19321
20206
  user_identity_id?: string | undefined;
19322
20207
  issued_at?: string | null | undefined;
19323
20208
  is_issued?: boolean | undefined;
20209
+ acs_user_id?: string | undefined;
19324
20210
  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;
19325
20211
  external_type_display_name?: string | undefined;
19326
- acs_user_id?: string | undefined;
19327
20212
  acs_credential_pool_id?: string | undefined;
19328
20213
  parent_acs_credential_id?: string | undefined;
19329
20214
  card_number?: string | null | undefined;
@@ -19425,9 +20310,9 @@ declare const batch: z.ZodObject<{
19425
20310
  user_identity_id?: string | undefined;
19426
20311
  issued_at?: string | null | undefined;
19427
20312
  is_issued?: boolean | undefined;
20313
+ acs_user_id?: string | undefined;
19428
20314
  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;
19429
20315
  external_type_display_name?: string | undefined;
19430
- acs_user_id?: string | undefined;
19431
20316
  acs_credential_pool_id?: string | undefined;
19432
20317
  parent_acs_credential_id?: string | undefined;
19433
20318
  card_number?: string | null | undefined;
@@ -19497,9 +20382,9 @@ declare const batch: z.ZodObject<{
19497
20382
  user_identity_id?: string | undefined;
19498
20383
  issued_at?: string | null | undefined;
19499
20384
  is_issued?: boolean | undefined;
20385
+ acs_user_id?: string | undefined;
19500
20386
  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;
19501
20387
  external_type_display_name?: string | undefined;
19502
- acs_user_id?: string | undefined;
19503
20388
  acs_credential_pool_id?: string | undefined;
19504
20389
  parent_acs_credential_id?: string | undefined;
19505
20390
  card_number?: string | null | undefined;
@@ -19602,9 +20487,9 @@ declare const batch: z.ZodObject<{
19602
20487
  user_identity_id?: string | undefined;
19603
20488
  issued_at?: string | null | undefined;
19604
20489
  is_issued?: boolean | undefined;
20490
+ acs_user_id?: string | undefined;
19605
20491
  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;
19606
20492
  external_type_display_name?: string | undefined;
19607
- acs_user_id?: string | undefined;
19608
20493
  acs_credential_pool_id?: string | undefined;
19609
20494
  parent_acs_credential_id?: string | undefined;
19610
20495
  card_number?: string | null | undefined;
@@ -19674,9 +20559,9 @@ declare const batch: z.ZodObject<{
19674
20559
  user_identity_id?: string | undefined;
19675
20560
  issued_at?: string | null | undefined;
19676
20561
  is_issued?: boolean | undefined;
20562
+ acs_user_id?: string | undefined;
19677
20563
  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;
19678
20564
  external_type_display_name?: string | undefined;
19679
- acs_user_id?: string | undefined;
19680
20565
  acs_credential_pool_id?: string | undefined;
19681
20566
  parent_acs_credential_id?: string | undefined;
19682
20567
  card_number?: string | null | undefined;
@@ -20021,9 +20906,9 @@ declare const batch: z.ZodObject<{
20021
20906
  user_identity_id?: string | undefined;
20022
20907
  issued_at?: string | null | undefined;
20023
20908
  is_issued?: boolean | undefined;
20909
+ acs_user_id?: string | undefined;
20024
20910
  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;
20025
20911
  external_type_display_name?: string | undefined;
20026
- acs_user_id?: string | undefined;
20027
20912
  acs_credential_pool_id?: string | undefined;
20028
20913
  parent_acs_credential_id?: string | undefined;
20029
20914
  card_number?: string | null | undefined;
@@ -20093,9 +20978,9 @@ declare const batch: z.ZodObject<{
20093
20978
  user_identity_id?: string | undefined;
20094
20979
  issued_at?: string | null | undefined;
20095
20980
  is_issued?: boolean | undefined;
20981
+ acs_user_id?: string | undefined;
20096
20982
  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;
20097
20983
  external_type_display_name?: string | undefined;
20098
- acs_user_id?: string | undefined;
20099
20984
  acs_credential_pool_id?: string | undefined;
20100
20985
  parent_acs_credential_id?: string | undefined;
20101
20986
  card_number?: string | null | undefined;
@@ -20330,9 +21215,9 @@ declare const batch: z.ZodObject<{
20330
21215
  user_identity_id?: string | undefined;
20331
21216
  issued_at?: string | null | undefined;
20332
21217
  is_issued?: boolean | undefined;
21218
+ acs_user_id?: string | undefined;
20333
21219
  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;
20334
21220
  external_type_display_name?: string | undefined;
20335
- acs_user_id?: string | undefined;
20336
21221
  acs_credential_pool_id?: string | undefined;
20337
21222
  parent_acs_credential_id?: string | undefined;
20338
21223
  card_number?: string | null | undefined;
@@ -20402,9 +21287,9 @@ declare const batch: z.ZodObject<{
20402
21287
  user_identity_id?: string | undefined;
20403
21288
  issued_at?: string | null | undefined;
20404
21289
  is_issued?: boolean | undefined;
21290
+ acs_user_id?: string | undefined;
20405
21291
  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;
20406
21292
  external_type_display_name?: string | undefined;
20407
- acs_user_id?: string | undefined;
20408
21293
  acs_credential_pool_id?: string | undefined;
20409
21294
  parent_acs_credential_id?: string | undefined;
20410
21295
  card_number?: string | null | undefined;
@@ -20479,9 +21364,9 @@ declare const batch: z.ZodObject<{
20479
21364
  user_identity_id?: string | undefined;
20480
21365
  issued_at?: string | null | undefined;
20481
21366
  is_issued?: boolean | undefined;
21367
+ acs_user_id?: string | undefined;
20482
21368
  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;
20483
21369
  external_type_display_name?: string | undefined;
20484
- acs_user_id?: string | undefined;
20485
21370
  acs_credential_pool_id?: string | undefined;
20486
21371
  parent_acs_credential_id?: string | undefined;
20487
21372
  card_number?: string | null | undefined;
@@ -20551,9 +21436,9 @@ declare const batch: z.ZodObject<{
20551
21436
  user_identity_id?: string | undefined;
20552
21437
  issued_at?: string | null | undefined;
20553
21438
  is_issued?: boolean | undefined;
21439
+ acs_user_id?: string | undefined;
20554
21440
  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;
20555
21441
  external_type_display_name?: string | undefined;
20556
- acs_user_id?: string | undefined;
20557
21442
  acs_credential_pool_id?: string | undefined;
20558
21443
  parent_acs_credential_id?: string | undefined;
20559
21444
  card_number?: string | null | undefined;
@@ -20629,9 +21514,9 @@ declare const batch: z.ZodObject<{
20629
21514
  user_identity_id?: string | undefined;
20630
21515
  issued_at?: string | null | undefined;
20631
21516
  is_issued?: boolean | undefined;
21517
+ acs_user_id?: string | undefined;
20632
21518
  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;
20633
21519
  external_type_display_name?: string | undefined;
20634
- acs_user_id?: string | undefined;
20635
21520
  acs_credential_pool_id?: string | undefined;
20636
21521
  parent_acs_credential_id?: string | undefined;
20637
21522
  card_number?: string | null | undefined;
@@ -20701,9 +21586,9 @@ declare const batch: z.ZodObject<{
20701
21586
  user_identity_id?: string | undefined;
20702
21587
  issued_at?: string | null | undefined;
20703
21588
  is_issued?: boolean | undefined;
21589
+ acs_user_id?: string | undefined;
20704
21590
  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;
20705
21591
  external_type_display_name?: string | undefined;
20706
- acs_user_id?: string | undefined;
20707
21592
  acs_credential_pool_id?: string | undefined;
20708
21593
  parent_acs_credential_id?: string | undefined;
20709
21594
  card_number?: string | null | undefined;
@@ -22405,8 +23290,8 @@ declare const batch: z.ZodObject<{
22405
23290
  warning_code: "latch_resident_user";
22406
23291
  })[];
22407
23292
  is_managed: false;
22408
- acs_system_id: string;
22409
23293
  acs_user_id: string;
23294
+ acs_system_id: string;
22410
23295
  last_successful_sync_at: string | null;
22411
23296
  email?: string | undefined;
22412
23297
  user_identity_id?: string | undefined;
@@ -22536,8 +23421,8 @@ declare const batch: z.ZodObject<{
22536
23421
  warning_code: "latch_resident_user";
22537
23422
  })[];
22538
23423
  is_managed: false;
22539
- acs_system_id: string;
22540
23424
  acs_user_id: string;
23425
+ acs_system_id: string;
22541
23426
  last_successful_sync_at: string | null;
22542
23427
  email?: string | undefined;
22543
23428
  user_identity_id?: string | undefined;
@@ -22669,6 +23554,199 @@ declare const batch: z.ZodObject<{
22669
23554
  starts_at: string;
22670
23555
  ends_at: string | null;
22671
23556
  }>>;
23557
+ pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
23558
+ created_at: z.ZodString;
23559
+ message: z.ZodString;
23560
+ } & {
23561
+ mutation_code: z.ZodLiteral<"creating">;
23562
+ }, "strip", z.ZodTypeAny, {
23563
+ message: string;
23564
+ created_at: string;
23565
+ mutation_code: "creating";
23566
+ }, {
23567
+ message: string;
23568
+ created_at: string;
23569
+ mutation_code: "creating";
23570
+ }>, z.ZodObject<{
23571
+ created_at: z.ZodString;
23572
+ message: z.ZodString;
23573
+ } & {
23574
+ mutation_code: z.ZodLiteral<"deleting">;
23575
+ }, "strip", z.ZodTypeAny, {
23576
+ message: string;
23577
+ created_at: string;
23578
+ mutation_code: "deleting";
23579
+ }, {
23580
+ message: string;
23581
+ created_at: string;
23582
+ mutation_code: "deleting";
23583
+ }>, z.ZodObject<{
23584
+ created_at: z.ZodString;
23585
+ message: z.ZodString;
23586
+ } & {
23587
+ mutation_code: z.ZodLiteral<"updating_group_information">;
23588
+ from: z.ZodObject<{
23589
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23590
+ }, "strip", z.ZodTypeAny, {
23591
+ name?: string | null | undefined;
23592
+ }, {
23593
+ name?: string | null | undefined;
23594
+ }>;
23595
+ to: z.ZodObject<{
23596
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23597
+ }, "strip", z.ZodTypeAny, {
23598
+ name?: string | null | undefined;
23599
+ }, {
23600
+ name?: string | null | undefined;
23601
+ }>;
23602
+ }, "strip", z.ZodTypeAny, {
23603
+ message: string;
23604
+ created_at: string;
23605
+ mutation_code: "updating_group_information";
23606
+ from: {
23607
+ name?: string | null | undefined;
23608
+ };
23609
+ to: {
23610
+ name?: string | null | undefined;
23611
+ };
23612
+ }, {
23613
+ message: string;
23614
+ created_at: string;
23615
+ mutation_code: "updating_group_information";
23616
+ from: {
23617
+ name?: string | null | undefined;
23618
+ };
23619
+ to: {
23620
+ name?: string | null | undefined;
23621
+ };
23622
+ }>, z.ZodObject<{
23623
+ created_at: z.ZodString;
23624
+ message: z.ZodString;
23625
+ } & {
23626
+ mutation_code: z.ZodLiteral<"updating_access_schedule">;
23627
+ from: z.ZodObject<{
23628
+ starts_at: z.ZodNullable<z.ZodString>;
23629
+ ends_at: z.ZodNullable<z.ZodString>;
23630
+ }, "strip", z.ZodTypeAny, {
23631
+ starts_at: string | null;
23632
+ ends_at: string | null;
23633
+ }, {
23634
+ starts_at: string | null;
23635
+ ends_at: string | null;
23636
+ }>;
23637
+ to: z.ZodObject<{
23638
+ starts_at: z.ZodNullable<z.ZodString>;
23639
+ ends_at: z.ZodNullable<z.ZodString>;
23640
+ }, "strip", z.ZodTypeAny, {
23641
+ starts_at: string | null;
23642
+ ends_at: string | null;
23643
+ }, {
23644
+ starts_at: string | null;
23645
+ ends_at: string | null;
23646
+ }>;
23647
+ }, "strip", z.ZodTypeAny, {
23648
+ message: string;
23649
+ created_at: string;
23650
+ mutation_code: "updating_access_schedule";
23651
+ from: {
23652
+ starts_at: string | null;
23653
+ ends_at: string | null;
23654
+ };
23655
+ to: {
23656
+ starts_at: string | null;
23657
+ ends_at: string | null;
23658
+ };
23659
+ }, {
23660
+ message: string;
23661
+ created_at: string;
23662
+ mutation_code: "updating_access_schedule";
23663
+ from: {
23664
+ starts_at: string | null;
23665
+ ends_at: string | null;
23666
+ };
23667
+ to: {
23668
+ starts_at: string | null;
23669
+ ends_at: string | null;
23670
+ };
23671
+ }>, z.ZodObject<{
23672
+ created_at: z.ZodString;
23673
+ message: z.ZodString;
23674
+ } & {
23675
+ mutation_code: z.ZodLiteral<"updating_user_membership">;
23676
+ from: z.ZodObject<{
23677
+ acs_user_id: z.ZodNullable<z.ZodString>;
23678
+ }, "strip", z.ZodTypeAny, {
23679
+ acs_user_id: string | null;
23680
+ }, {
23681
+ acs_user_id: string | null;
23682
+ }>;
23683
+ to: z.ZodObject<{
23684
+ acs_user_id: z.ZodNullable<z.ZodString>;
23685
+ }, "strip", z.ZodTypeAny, {
23686
+ acs_user_id: string | null;
23687
+ }, {
23688
+ acs_user_id: string | null;
23689
+ }>;
23690
+ }, "strip", z.ZodTypeAny, {
23691
+ message: string;
23692
+ created_at: string;
23693
+ mutation_code: "updating_user_membership";
23694
+ from: {
23695
+ acs_user_id: string | null;
23696
+ };
23697
+ to: {
23698
+ acs_user_id: string | null;
23699
+ };
23700
+ }, {
23701
+ message: string;
23702
+ created_at: string;
23703
+ mutation_code: "updating_user_membership";
23704
+ from: {
23705
+ acs_user_id: string | null;
23706
+ };
23707
+ to: {
23708
+ acs_user_id: string | null;
23709
+ };
23710
+ }>, z.ZodObject<{
23711
+ created_at: z.ZodString;
23712
+ message: z.ZodString;
23713
+ } & {
23714
+ mutation_code: z.ZodLiteral<"updating_entrance_membership">;
23715
+ from: z.ZodObject<{
23716
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
23717
+ }, "strip", z.ZodTypeAny, {
23718
+ acs_entrance_id: string | null;
23719
+ }, {
23720
+ acs_entrance_id: string | null;
23721
+ }>;
23722
+ to: z.ZodObject<{
23723
+ acs_entrance_id: z.ZodNullable<z.ZodString>;
23724
+ }, "strip", z.ZodTypeAny, {
23725
+ acs_entrance_id: string | null;
23726
+ }, {
23727
+ acs_entrance_id: string | null;
23728
+ }>;
23729
+ }, "strip", z.ZodTypeAny, {
23730
+ message: string;
23731
+ created_at: string;
23732
+ mutation_code: "updating_entrance_membership";
23733
+ from: {
23734
+ acs_entrance_id: string | null;
23735
+ };
23736
+ to: {
23737
+ acs_entrance_id: string | null;
23738
+ };
23739
+ }, {
23740
+ message: string;
23741
+ created_at: string;
23742
+ mutation_code: "updating_entrance_membership";
23743
+ from: {
23744
+ acs_entrance_id: string | null;
23745
+ };
23746
+ to: {
23747
+ acs_entrance_id: string | null;
23748
+ };
23749
+ }>]>, "many">;
22672
23750
  } & {
22673
23751
  is_managed: z.ZodLiteral<false>;
22674
23752
  }, "strip", z.ZodTypeAny, {
@@ -22687,6 +23765,57 @@ declare const batch: z.ZodObject<{
22687
23765
  warning_code: "being_deleted";
22688
23766
  })[];
22689
23767
  is_managed: false;
23768
+ pending_mutations: ({
23769
+ message: string;
23770
+ created_at: string;
23771
+ mutation_code: "creating";
23772
+ } | {
23773
+ message: string;
23774
+ created_at: string;
23775
+ mutation_code: "deleting";
23776
+ } | {
23777
+ message: string;
23778
+ created_at: string;
23779
+ mutation_code: "updating_group_information";
23780
+ from: {
23781
+ name?: string | null | undefined;
23782
+ };
23783
+ to: {
23784
+ name?: string | null | undefined;
23785
+ };
23786
+ } | {
23787
+ message: string;
23788
+ created_at: string;
23789
+ mutation_code: "updating_access_schedule";
23790
+ from: {
23791
+ starts_at: string | null;
23792
+ ends_at: string | null;
23793
+ };
23794
+ to: {
23795
+ starts_at: string | null;
23796
+ ends_at: string | null;
23797
+ };
23798
+ } | {
23799
+ message: string;
23800
+ created_at: string;
23801
+ mutation_code: "updating_user_membership";
23802
+ from: {
23803
+ acs_user_id: string | null;
23804
+ };
23805
+ to: {
23806
+ acs_user_id: string | null;
23807
+ };
23808
+ } | {
23809
+ message: string;
23810
+ created_at: string;
23811
+ mutation_code: "updating_entrance_membership";
23812
+ from: {
23813
+ acs_entrance_id: string | null;
23814
+ };
23815
+ to: {
23816
+ acs_entrance_id: string | null;
23817
+ };
23818
+ })[];
22690
23819
  acs_access_group_id: string;
22691
23820
  acs_system_id: string;
22692
23821
  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";
@@ -22713,6 +23842,57 @@ declare const batch: z.ZodObject<{
22713
23842
  warning_code: "being_deleted";
22714
23843
  })[];
22715
23844
  is_managed: false;
23845
+ pending_mutations: ({
23846
+ message: string;
23847
+ created_at: string;
23848
+ mutation_code: "creating";
23849
+ } | {
23850
+ message: string;
23851
+ created_at: string;
23852
+ mutation_code: "deleting";
23853
+ } | {
23854
+ message: string;
23855
+ created_at: string;
23856
+ mutation_code: "updating_group_information";
23857
+ from: {
23858
+ name?: string | null | undefined;
23859
+ };
23860
+ to: {
23861
+ name?: string | null | undefined;
23862
+ };
23863
+ } | {
23864
+ message: string;
23865
+ created_at: string;
23866
+ mutation_code: "updating_access_schedule";
23867
+ from: {
23868
+ starts_at: string | null;
23869
+ ends_at: string | null;
23870
+ };
23871
+ to: {
23872
+ starts_at: string | null;
23873
+ ends_at: string | null;
23874
+ };
23875
+ } | {
23876
+ message: string;
23877
+ created_at: string;
23878
+ mutation_code: "updating_user_membership";
23879
+ from: {
23880
+ acs_user_id: string | null;
23881
+ };
23882
+ to: {
23883
+ acs_user_id: string | null;
23884
+ };
23885
+ } | {
23886
+ message: string;
23887
+ created_at: string;
23888
+ mutation_code: "updating_entrance_membership";
23889
+ from: {
23890
+ acs_entrance_id: string | null;
23891
+ };
23892
+ to: {
23893
+ acs_entrance_id: string | null;
23894
+ };
23895
+ })[];
22716
23896
  acs_access_group_id: string;
22717
23897
  acs_system_id: string;
22718
23898
  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";
@@ -29154,8 +30334,8 @@ declare const batch: z.ZodObject<{
29154
30334
  }, "strip", z.ZodTypeAny, {
29155
30335
  workspace_id: string;
29156
30336
  created_at: string;
29157
- acs_system_id: string;
29158
30337
  acs_user_id: string;
30338
+ acs_system_id: string;
29159
30339
  event_id: string;
29160
30340
  occurred_at: string;
29161
30341
  event_type: "acs_user.created";
@@ -29163,8 +30343,8 @@ declare const batch: z.ZodObject<{
29163
30343
  }, {
29164
30344
  workspace_id: string;
29165
30345
  created_at: string;
29166
- acs_system_id: string;
29167
30346
  acs_user_id: string;
30347
+ acs_system_id: string;
29168
30348
  event_id: string;
29169
30349
  occurred_at: string;
29170
30350
  event_type: "acs_user.created";
@@ -29184,8 +30364,8 @@ declare const batch: z.ZodObject<{
29184
30364
  }, "strip", z.ZodTypeAny, {
29185
30365
  workspace_id: string;
29186
30366
  created_at: string;
29187
- acs_system_id: string;
29188
30367
  acs_user_id: string;
30368
+ acs_system_id: string;
29189
30369
  event_id: string;
29190
30370
  occurred_at: string;
29191
30371
  event_type: "acs_user.deleted";
@@ -29193,8 +30373,8 @@ declare const batch: z.ZodObject<{
29193
30373
  }, {
29194
30374
  workspace_id: string;
29195
30375
  created_at: string;
29196
- acs_system_id: string;
29197
30376
  acs_user_id: string;
30377
+ acs_system_id: string;
29198
30378
  event_id: string;
29199
30379
  occurred_at: string;
29200
30380
  event_type: "acs_user.deleted";
@@ -29304,8 +30484,8 @@ declare const batch: z.ZodObject<{
29304
30484
  }, "strip", z.ZodTypeAny, {
29305
30485
  workspace_id: string;
29306
30486
  created_at: string;
29307
- acs_system_id: string;
29308
30487
  acs_entrance_id: string;
30488
+ acs_system_id: string;
29309
30489
  event_id: string;
29310
30490
  occurred_at: string;
29311
30491
  event_type: "acs_entrance.added";
@@ -29313,8 +30493,8 @@ declare const batch: z.ZodObject<{
29313
30493
  }, {
29314
30494
  workspace_id: string;
29315
30495
  created_at: string;
29316
- acs_system_id: string;
29317
30496
  acs_entrance_id: string;
30497
+ acs_system_id: string;
29318
30498
  event_id: string;
29319
30499
  occurred_at: string;
29320
30500
  event_type: "acs_entrance.added";
@@ -29334,8 +30514,8 @@ declare const batch: z.ZodObject<{
29334
30514
  }, "strip", z.ZodTypeAny, {
29335
30515
  workspace_id: string;
29336
30516
  created_at: string;
29337
- acs_system_id: string;
29338
30517
  acs_entrance_id: string;
30518
+ acs_system_id: string;
29339
30519
  event_id: string;
29340
30520
  occurred_at: string;
29341
30521
  event_type: "acs_entrance.removed";
@@ -29343,8 +30523,8 @@ declare const batch: z.ZodObject<{
29343
30523
  }, {
29344
30524
  workspace_id: string;
29345
30525
  created_at: string;
29346
- acs_system_id: string;
29347
30526
  acs_entrance_id: string;
30527
+ acs_system_id: string;
29348
30528
  event_id: string;
29349
30529
  occurred_at: string;
29350
30530
  event_type: "acs_entrance.removed";
@@ -31409,9 +32589,9 @@ declare const batch: z.ZodObject<{
31409
32589
  customer_key?: string | undefined;
31410
32590
  access_code_id?: string | undefined;
31411
32591
  user_identity_id?: string | undefined;
31412
- acs_system_id?: string | undefined;
31413
32592
  acs_user_id?: string | undefined;
31414
32593
  acs_entrance_id?: string | undefined;
32594
+ acs_system_id?: string | undefined;
31415
32595
  action_attempt_id?: string | undefined;
31416
32596
  device_custom_metadata?: Record<string, string | boolean> | undefined;
31417
32597
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -31428,9 +32608,9 @@ declare const batch: z.ZodObject<{
31428
32608
  customer_key?: string | undefined;
31429
32609
  access_code_id?: string | undefined;
31430
32610
  user_identity_id?: string | undefined;
31431
- acs_system_id?: string | undefined;
31432
32611
  acs_user_id?: string | undefined;
31433
32612
  acs_entrance_id?: string | undefined;
32613
+ acs_system_id?: string | undefined;
31434
32614
  action_attempt_id?: string | undefined;
31435
32615
  device_custom_metadata?: Record<string, string | boolean> | undefined;
31436
32616
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -35215,8 +36395,8 @@ declare const batch: z.ZodObject<{
35215
36395
  message: string;
35216
36396
  created_at: string;
35217
36397
  error_code: "issue_with_acs_user";
35218
- acs_system_id: string;
35219
36398
  acs_user_id: string;
36399
+ acs_system_id: string;
35220
36400
  }[];
35221
36401
  warnings: ({
35222
36402
  message: string;
@@ -36061,8 +37241,8 @@ declare const batch: z.ZodObject<{
36061
37241
  }[];
36062
37242
  connected_account_id: string;
36063
37243
  space_ids: string[];
36064
- acs_system_id: string;
36065
37244
  acs_entrance_id: string;
37245
+ acs_system_id: string;
36066
37246
  salto_ks_metadata?: {
36067
37247
  lock_type: string;
36068
37248
  battery_level: string;
@@ -36237,8 +37417,8 @@ declare const batch: z.ZodObject<{
36237
37417
  warning_code: "latch_resident_user";
36238
37418
  })[];
36239
37419
  is_managed: true;
36240
- acs_system_id: string;
36241
37420
  acs_user_id: string;
37421
+ acs_system_id: string;
36242
37422
  last_successful_sync_at: string | null;
36243
37423
  email?: string | undefined;
36244
37424
  user_identity_id?: string | undefined;
@@ -36337,6 +37517,57 @@ declare const batch: z.ZodObject<{
36337
37517
  warning_code: "being_deleted";
36338
37518
  })[];
36339
37519
  is_managed: true;
37520
+ pending_mutations: ({
37521
+ message: string;
37522
+ created_at: string;
37523
+ mutation_code: "creating";
37524
+ } | {
37525
+ message: string;
37526
+ created_at: string;
37527
+ mutation_code: "deleting";
37528
+ } | {
37529
+ message: string;
37530
+ created_at: string;
37531
+ mutation_code: "updating_group_information";
37532
+ from: {
37533
+ name?: string | null | undefined;
37534
+ };
37535
+ to: {
37536
+ name?: string | null | undefined;
37537
+ };
37538
+ } | {
37539
+ message: string;
37540
+ created_at: string;
37541
+ mutation_code: "updating_access_schedule";
37542
+ from: {
37543
+ starts_at: string | null;
37544
+ ends_at: string | null;
37545
+ };
37546
+ to: {
37547
+ starts_at: string | null;
37548
+ ends_at: string | null;
37549
+ };
37550
+ } | {
37551
+ message: string;
37552
+ created_at: string;
37553
+ mutation_code: "updating_user_membership";
37554
+ from: {
37555
+ acs_user_id: string | null;
37556
+ };
37557
+ to: {
37558
+ acs_user_id: string | null;
37559
+ };
37560
+ } | {
37561
+ message: string;
37562
+ created_at: string;
37563
+ mutation_code: "updating_entrance_membership";
37564
+ from: {
37565
+ acs_entrance_id: string | null;
37566
+ };
37567
+ to: {
37568
+ acs_entrance_id: string | null;
37569
+ };
37570
+ })[];
36340
37571
  acs_access_group_id: string;
36341
37572
  acs_system_id: string;
36342
37573
  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";
@@ -36424,9 +37655,9 @@ declare const batch: z.ZodObject<{
36424
37655
  user_identity_id?: string | undefined;
36425
37656
  issued_at?: string | null | undefined;
36426
37657
  is_issued?: boolean | undefined;
37658
+ acs_user_id?: string | undefined;
36427
37659
  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;
36428
37660
  external_type_display_name?: string | undefined;
36429
- acs_user_id?: string | undefined;
36430
37661
  acs_credential_pool_id?: string | undefined;
36431
37662
  parent_acs_credential_id?: string | undefined;
36432
37663
  card_number?: string | null | undefined;
@@ -36497,9 +37728,9 @@ declare const batch: z.ZodObject<{
36497
37728
  user_identity_id?: string | undefined;
36498
37729
  issued_at?: string | null | undefined;
36499
37730
  is_issued?: boolean | undefined;
37731
+ acs_user_id?: string | undefined;
36500
37732
  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;
36501
37733
  external_type_display_name?: string | undefined;
36502
- acs_user_id?: string | undefined;
36503
37734
  acs_credential_pool_id?: string | undefined;
36504
37735
  parent_acs_credential_id?: string | undefined;
36505
37736
  card_number?: string | null | undefined;
@@ -36756,81 +37987,81 @@ declare const batch: z.ZodObject<{
36756
37987
  user_identity_id?: string | undefined;
36757
37988
  issued_at?: string | null | undefined;
36758
37989
  is_issued?: boolean | undefined;
36759
- 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;
36760
- external_type_display_name?: string | undefined;
36761
37990
  acs_user_id?: string | undefined;
36762
- acs_credential_pool_id?: string | undefined;
36763
- parent_acs_credential_id?: string | undefined;
36764
- card_number?: string | null | undefined;
36765
- is_multi_phone_sync_credential?: boolean | undefined;
36766
- is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
36767
- latest_desired_state_synced_with_provider_at?: string | null | undefined;
36768
- } | {
36769
- display_name: string;
36770
- workspace_id: string;
36771
- created_at: string;
36772
- errors: {
36773
- message: string;
36774
- error_code: string;
36775
- }[];
36776
- connected_account_id: string;
36777
- warnings: ({
36778
- message: string;
36779
- created_at: string;
36780
- warning_code: "waiting_to_be_issued";
36781
- } | {
36782
- message: string;
36783
- created_at: string;
36784
- warning_code: "schedule_externally_modified";
36785
- } | {
36786
- message: string;
36787
- created_at: string;
36788
- warning_code: "schedule_modified";
36789
- } | {
36790
- message: string;
36791
- created_at: string;
36792
- warning_code: "being_deleted";
36793
- } | {
36794
- message: string;
36795
- created_at: string;
36796
- warning_code: "unknown_issue_with_acs_credential";
36797
- } | {
36798
- message: string;
36799
- created_at: string;
36800
- warning_code: "needs_to_be_reissued";
36801
- })[];
36802
- is_managed: false;
36803
- acs_system_id: string;
36804
- acs_credential_id: string;
36805
- access_method: "code" | "card" | "mobile_key";
36806
- code?: string | null | undefined;
36807
- starts_at?: string | undefined;
36808
- ends_at?: string | undefined;
36809
- visionline_metadata?: {
36810
- card_function_type: "guest" | "staff";
36811
- auto_join?: boolean | undefined;
36812
- joiner_acs_credential_ids?: string[] | undefined;
36813
- guest_acs_entrance_ids?: string[] | undefined;
36814
- common_acs_entrance_ids?: string[] | undefined;
36815
- is_valid?: boolean | undefined;
36816
- card_id?: string | undefined;
36817
- credential_id?: string | undefined;
36818
- } | undefined;
36819
- assa_abloy_vostio_metadata?: {
36820
- key_id?: string | undefined;
36821
- endpoint_id?: string | undefined;
36822
- auto_join?: boolean | undefined;
36823
- override_guest_acs_entrance_ids?: string[] | undefined;
36824
- key_issuing_request_id?: string | undefined;
36825
- door_names?: string[] | undefined;
36826
- } | undefined;
36827
- is_one_time_use?: boolean | undefined;
36828
- user_identity_id?: string | undefined;
36829
- issued_at?: string | null | undefined;
36830
- is_issued?: boolean | undefined;
36831
37991
  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;
36832
37992
  external_type_display_name?: string | undefined;
36833
- acs_user_id?: string | undefined;
37993
+ acs_credential_pool_id?: string | undefined;
37994
+ parent_acs_credential_id?: string | undefined;
37995
+ card_number?: string | null | undefined;
37996
+ is_multi_phone_sync_credential?: boolean | undefined;
37997
+ is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
37998
+ latest_desired_state_synced_with_provider_at?: string | null | undefined;
37999
+ } | {
38000
+ display_name: string;
38001
+ workspace_id: string;
38002
+ created_at: string;
38003
+ errors: {
38004
+ message: string;
38005
+ error_code: string;
38006
+ }[];
38007
+ connected_account_id: string;
38008
+ warnings: ({
38009
+ message: string;
38010
+ created_at: string;
38011
+ warning_code: "waiting_to_be_issued";
38012
+ } | {
38013
+ message: string;
38014
+ created_at: string;
38015
+ warning_code: "schedule_externally_modified";
38016
+ } | {
38017
+ message: string;
38018
+ created_at: string;
38019
+ warning_code: "schedule_modified";
38020
+ } | {
38021
+ message: string;
38022
+ created_at: string;
38023
+ warning_code: "being_deleted";
38024
+ } | {
38025
+ message: string;
38026
+ created_at: string;
38027
+ warning_code: "unknown_issue_with_acs_credential";
38028
+ } | {
38029
+ message: string;
38030
+ created_at: string;
38031
+ warning_code: "needs_to_be_reissued";
38032
+ })[];
38033
+ is_managed: false;
38034
+ acs_system_id: string;
38035
+ acs_credential_id: string;
38036
+ access_method: "code" | "card" | "mobile_key";
38037
+ code?: string | null | undefined;
38038
+ starts_at?: string | undefined;
38039
+ ends_at?: string | undefined;
38040
+ visionline_metadata?: {
38041
+ card_function_type: "guest" | "staff";
38042
+ auto_join?: boolean | undefined;
38043
+ joiner_acs_credential_ids?: string[] | undefined;
38044
+ guest_acs_entrance_ids?: string[] | undefined;
38045
+ common_acs_entrance_ids?: string[] | undefined;
38046
+ is_valid?: boolean | undefined;
38047
+ card_id?: string | undefined;
38048
+ credential_id?: string | undefined;
38049
+ } | undefined;
38050
+ assa_abloy_vostio_metadata?: {
38051
+ key_id?: string | undefined;
38052
+ endpoint_id?: string | undefined;
38053
+ auto_join?: boolean | undefined;
38054
+ override_guest_acs_entrance_ids?: string[] | undefined;
38055
+ key_issuing_request_id?: string | undefined;
38056
+ door_names?: string[] | undefined;
38057
+ } | undefined;
38058
+ is_one_time_use?: boolean | undefined;
38059
+ user_identity_id?: string | undefined;
38060
+ issued_at?: string | null | undefined;
38061
+ is_issued?: boolean | undefined;
38062
+ acs_user_id?: string | undefined;
38063
+ 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;
38064
+ external_type_display_name?: string | undefined;
36834
38065
  acs_credential_pool_id?: string | undefined;
36835
38066
  parent_acs_credential_id?: string | undefined;
36836
38067
  card_number?: string | null | undefined;
@@ -37027,9 +38258,9 @@ declare const batch: z.ZodObject<{
37027
38258
  user_identity_id?: string | undefined;
37028
38259
  issued_at?: string | null | undefined;
37029
38260
  is_issued?: boolean | undefined;
38261
+ acs_user_id?: string | undefined;
37030
38262
  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;
37031
38263
  external_type_display_name?: string | undefined;
37032
- acs_user_id?: string | undefined;
37033
38264
  acs_credential_pool_id?: string | undefined;
37034
38265
  parent_acs_credential_id?: string | undefined;
37035
38266
  card_number?: string | null | undefined;
@@ -37099,9 +38330,9 @@ declare const batch: z.ZodObject<{
37099
38330
  user_identity_id?: string | undefined;
37100
38331
  issued_at?: string | null | undefined;
37101
38332
  is_issued?: boolean | undefined;
38333
+ acs_user_id?: string | undefined;
37102
38334
  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;
37103
38335
  external_type_display_name?: string | undefined;
37104
- acs_user_id?: string | undefined;
37105
38336
  acs_credential_pool_id?: string | undefined;
37106
38337
  parent_acs_credential_id?: string | undefined;
37107
38338
  card_number?: string | null | undefined;
@@ -37299,8 +38530,8 @@ declare const batch: z.ZodObject<{
37299
38530
  warning_code: "latch_resident_user";
37300
38531
  })[];
37301
38532
  is_managed: false;
37302
- acs_system_id: string;
37303
38533
  acs_user_id: string;
38534
+ acs_system_id: string;
37304
38535
  last_successful_sync_at: string | null;
37305
38536
  email?: string | undefined;
37306
38537
  user_identity_id?: string | undefined;
@@ -37399,6 +38630,57 @@ declare const batch: z.ZodObject<{
37399
38630
  warning_code: "being_deleted";
37400
38631
  })[];
37401
38632
  is_managed: false;
38633
+ pending_mutations: ({
38634
+ message: string;
38635
+ created_at: string;
38636
+ mutation_code: "creating";
38637
+ } | {
38638
+ message: string;
38639
+ created_at: string;
38640
+ mutation_code: "deleting";
38641
+ } | {
38642
+ message: string;
38643
+ created_at: string;
38644
+ mutation_code: "updating_group_information";
38645
+ from: {
38646
+ name?: string | null | undefined;
38647
+ };
38648
+ to: {
38649
+ name?: string | null | undefined;
38650
+ };
38651
+ } | {
38652
+ message: string;
38653
+ created_at: string;
38654
+ mutation_code: "updating_access_schedule";
38655
+ from: {
38656
+ starts_at: string | null;
38657
+ ends_at: string | null;
38658
+ };
38659
+ to: {
38660
+ starts_at: string | null;
38661
+ ends_at: string | null;
38662
+ };
38663
+ } | {
38664
+ message: string;
38665
+ created_at: string;
38666
+ mutation_code: "updating_user_membership";
38667
+ from: {
38668
+ acs_user_id: string | null;
38669
+ };
38670
+ to: {
38671
+ acs_user_id: string | null;
38672
+ };
38673
+ } | {
38674
+ message: string;
38675
+ created_at: string;
38676
+ mutation_code: "updating_entrance_membership";
38677
+ from: {
38678
+ acs_entrance_id: string | null;
38679
+ };
38680
+ to: {
38681
+ acs_entrance_id: string | null;
38682
+ };
38683
+ })[];
37402
38684
  acs_access_group_id: string;
37403
38685
  acs_system_id: string;
37404
38686
  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";
@@ -38347,8 +39629,8 @@ declare const batch: z.ZodObject<{
38347
39629
  } | {
38348
39630
  workspace_id: string;
38349
39631
  created_at: string;
38350
- acs_system_id: string;
38351
39632
  acs_entrance_id: string;
39633
+ acs_system_id: string;
38352
39634
  event_id: string;
38353
39635
  occurred_at: string;
38354
39636
  event_type: "acs_entrance.added";
@@ -38356,8 +39638,8 @@ declare const batch: z.ZodObject<{
38356
39638
  } | {
38357
39639
  workspace_id: string;
38358
39640
  created_at: string;
38359
- acs_system_id: string;
38360
39641
  acs_entrance_id: string;
39642
+ acs_system_id: string;
38361
39643
  event_id: string;
38362
39644
  occurred_at: string;
38363
39645
  event_type: "acs_entrance.removed";
@@ -38409,8 +39691,8 @@ declare const batch: z.ZodObject<{
38409
39691
  } | {
38410
39692
  workspace_id: string;
38411
39693
  created_at: string;
38412
- acs_system_id: string;
38413
39694
  acs_user_id: string;
39695
+ acs_system_id: string;
38414
39696
  event_id: string;
38415
39697
  occurred_at: string;
38416
39698
  event_type: "acs_user.deleted";
@@ -38418,8 +39700,8 @@ declare const batch: z.ZodObject<{
38418
39700
  } | {
38419
39701
  workspace_id: string;
38420
39702
  created_at: string;
38421
- acs_system_id: string;
38422
39703
  acs_user_id: string;
39704
+ acs_system_id: string;
38423
39705
  event_id: string;
38424
39706
  occurred_at: string;
38425
39707
  event_type: "acs_user.created";
@@ -39017,9 +40299,9 @@ declare const batch: z.ZodObject<{
39017
40299
  customer_key?: string | undefined;
39018
40300
  access_code_id?: string | undefined;
39019
40301
  user_identity_id?: string | undefined;
39020
- acs_system_id?: string | undefined;
39021
40302
  acs_user_id?: string | undefined;
39022
40303
  acs_entrance_id?: string | undefined;
40304
+ acs_system_id?: string | undefined;
39023
40305
  action_attempt_id?: string | undefined;
39024
40306
  device_custom_metadata?: Record<string, string | boolean> | undefined;
39025
40307
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -39850,8 +41132,8 @@ declare const batch: z.ZodObject<{
39850
41132
  message: string;
39851
41133
  created_at: string;
39852
41134
  error_code: "issue_with_acs_user";
39853
- acs_system_id: string;
39854
41135
  acs_user_id: string;
41136
+ acs_system_id: string;
39855
41137
  }[];
39856
41138
  warnings: ({
39857
41139
  message: string;
@@ -40696,8 +41978,8 @@ declare const batch: z.ZodObject<{
40696
41978
  }[];
40697
41979
  connected_account_id: string;
40698
41980
  space_ids: string[];
40699
- acs_system_id: string;
40700
41981
  acs_entrance_id: string;
41982
+ acs_system_id: string;
40701
41983
  salto_ks_metadata?: {
40702
41984
  lock_type: string;
40703
41985
  battery_level: string;
@@ -40872,8 +42154,8 @@ declare const batch: z.ZodObject<{
40872
42154
  warning_code: "latch_resident_user";
40873
42155
  })[];
40874
42156
  is_managed: true;
40875
- acs_system_id: string;
40876
42157
  acs_user_id: string;
42158
+ acs_system_id: string;
40877
42159
  last_successful_sync_at: string | null;
40878
42160
  email?: string | undefined;
40879
42161
  user_identity_id?: string | undefined;
@@ -40972,6 +42254,57 @@ declare const batch: z.ZodObject<{
40972
42254
  warning_code: "being_deleted";
40973
42255
  })[];
40974
42256
  is_managed: true;
42257
+ pending_mutations: ({
42258
+ message: string;
42259
+ created_at: string;
42260
+ mutation_code: "creating";
42261
+ } | {
42262
+ message: string;
42263
+ created_at: string;
42264
+ mutation_code: "deleting";
42265
+ } | {
42266
+ message: string;
42267
+ created_at: string;
42268
+ mutation_code: "updating_group_information";
42269
+ from: {
42270
+ name?: string | null | undefined;
42271
+ };
42272
+ to: {
42273
+ name?: string | null | undefined;
42274
+ };
42275
+ } | {
42276
+ message: string;
42277
+ created_at: string;
42278
+ mutation_code: "updating_access_schedule";
42279
+ from: {
42280
+ starts_at: string | null;
42281
+ ends_at: string | null;
42282
+ };
42283
+ to: {
42284
+ starts_at: string | null;
42285
+ ends_at: string | null;
42286
+ };
42287
+ } | {
42288
+ message: string;
42289
+ created_at: string;
42290
+ mutation_code: "updating_user_membership";
42291
+ from: {
42292
+ acs_user_id: string | null;
42293
+ };
42294
+ to: {
42295
+ acs_user_id: string | null;
42296
+ };
42297
+ } | {
42298
+ message: string;
42299
+ created_at: string;
42300
+ mutation_code: "updating_entrance_membership";
42301
+ from: {
42302
+ acs_entrance_id: string | null;
42303
+ };
42304
+ to: {
42305
+ acs_entrance_id: string | null;
42306
+ };
42307
+ })[];
40975
42308
  acs_access_group_id: string;
40976
42309
  acs_system_id: string;
40977
42310
  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";
@@ -41059,9 +42392,9 @@ declare const batch: z.ZodObject<{
41059
42392
  user_identity_id?: string | undefined;
41060
42393
  issued_at?: string | null | undefined;
41061
42394
  is_issued?: boolean | undefined;
42395
+ acs_user_id?: string | undefined;
41062
42396
  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;
41063
42397
  external_type_display_name?: string | undefined;
41064
- acs_user_id?: string | undefined;
41065
42398
  acs_credential_pool_id?: string | undefined;
41066
42399
  parent_acs_credential_id?: string | undefined;
41067
42400
  card_number?: string | null | undefined;
@@ -41132,9 +42465,9 @@ declare const batch: z.ZodObject<{
41132
42465
  user_identity_id?: string | undefined;
41133
42466
  issued_at?: string | null | undefined;
41134
42467
  is_issued?: boolean | undefined;
42468
+ acs_user_id?: string | undefined;
41135
42469
  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;
41136
42470
  external_type_display_name?: string | undefined;
41137
- acs_user_id?: string | undefined;
41138
42471
  acs_credential_pool_id?: string | undefined;
41139
42472
  parent_acs_credential_id?: string | undefined;
41140
42473
  card_number?: string | null | undefined;
@@ -41391,9 +42724,9 @@ declare const batch: z.ZodObject<{
41391
42724
  user_identity_id?: string | undefined;
41392
42725
  issued_at?: string | null | undefined;
41393
42726
  is_issued?: boolean | undefined;
42727
+ acs_user_id?: string | undefined;
41394
42728
  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;
41395
42729
  external_type_display_name?: string | undefined;
41396
- acs_user_id?: string | undefined;
41397
42730
  acs_credential_pool_id?: string | undefined;
41398
42731
  parent_acs_credential_id?: string | undefined;
41399
42732
  card_number?: string | null | undefined;
@@ -41463,9 +42796,9 @@ declare const batch: z.ZodObject<{
41463
42796
  user_identity_id?: string | undefined;
41464
42797
  issued_at?: string | null | undefined;
41465
42798
  is_issued?: boolean | undefined;
42799
+ acs_user_id?: string | undefined;
41466
42800
  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;
41467
42801
  external_type_display_name?: string | undefined;
41468
- acs_user_id?: string | undefined;
41469
42802
  acs_credential_pool_id?: string | undefined;
41470
42803
  parent_acs_credential_id?: string | undefined;
41471
42804
  card_number?: string | null | undefined;
@@ -41662,9 +42995,9 @@ declare const batch: z.ZodObject<{
41662
42995
  user_identity_id?: string | undefined;
41663
42996
  issued_at?: string | null | undefined;
41664
42997
  is_issued?: boolean | undefined;
42998
+ acs_user_id?: string | undefined;
41665
42999
  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;
41666
43000
  external_type_display_name?: string | undefined;
41667
- acs_user_id?: string | undefined;
41668
43001
  acs_credential_pool_id?: string | undefined;
41669
43002
  parent_acs_credential_id?: string | undefined;
41670
43003
  card_number?: string | null | undefined;
@@ -41734,9 +43067,9 @@ declare const batch: z.ZodObject<{
41734
43067
  user_identity_id?: string | undefined;
41735
43068
  issued_at?: string | null | undefined;
41736
43069
  is_issued?: boolean | undefined;
43070
+ acs_user_id?: string | undefined;
41737
43071
  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;
41738
43072
  external_type_display_name?: string | undefined;
41739
- acs_user_id?: string | undefined;
41740
43073
  acs_credential_pool_id?: string | undefined;
41741
43074
  parent_acs_credential_id?: string | undefined;
41742
43075
  card_number?: string | null | undefined;
@@ -41934,8 +43267,8 @@ declare const batch: z.ZodObject<{
41934
43267
  warning_code: "latch_resident_user";
41935
43268
  })[];
41936
43269
  is_managed: false;
41937
- acs_system_id: string;
41938
43270
  acs_user_id: string;
43271
+ acs_system_id: string;
41939
43272
  last_successful_sync_at: string | null;
41940
43273
  email?: string | undefined;
41941
43274
  user_identity_id?: string | undefined;
@@ -42034,6 +43367,57 @@ declare const batch: z.ZodObject<{
42034
43367
  warning_code: "being_deleted";
42035
43368
  })[];
42036
43369
  is_managed: false;
43370
+ pending_mutations: ({
43371
+ message: string;
43372
+ created_at: string;
43373
+ mutation_code: "creating";
43374
+ } | {
43375
+ message: string;
43376
+ created_at: string;
43377
+ mutation_code: "deleting";
43378
+ } | {
43379
+ message: string;
43380
+ created_at: string;
43381
+ mutation_code: "updating_group_information";
43382
+ from: {
43383
+ name?: string | null | undefined;
43384
+ };
43385
+ to: {
43386
+ name?: string | null | undefined;
43387
+ };
43388
+ } | {
43389
+ message: string;
43390
+ created_at: string;
43391
+ mutation_code: "updating_access_schedule";
43392
+ from: {
43393
+ starts_at: string | null;
43394
+ ends_at: string | null;
43395
+ };
43396
+ to: {
43397
+ starts_at: string | null;
43398
+ ends_at: string | null;
43399
+ };
43400
+ } | {
43401
+ message: string;
43402
+ created_at: string;
43403
+ mutation_code: "updating_user_membership";
43404
+ from: {
43405
+ acs_user_id: string | null;
43406
+ };
43407
+ to: {
43408
+ acs_user_id: string | null;
43409
+ };
43410
+ } | {
43411
+ message: string;
43412
+ created_at: string;
43413
+ mutation_code: "updating_entrance_membership";
43414
+ from: {
43415
+ acs_entrance_id: string | null;
43416
+ };
43417
+ to: {
43418
+ acs_entrance_id: string | null;
43419
+ };
43420
+ })[];
42037
43421
  acs_access_group_id: string;
42038
43422
  acs_system_id: string;
42039
43423
  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";
@@ -42982,8 +44366,8 @@ declare const batch: z.ZodObject<{
42982
44366
  } | {
42983
44367
  workspace_id: string;
42984
44368
  created_at: string;
42985
- acs_system_id: string;
42986
44369
  acs_entrance_id: string;
44370
+ acs_system_id: string;
42987
44371
  event_id: string;
42988
44372
  occurred_at: string;
42989
44373
  event_type: "acs_entrance.added";
@@ -42991,8 +44375,8 @@ declare const batch: z.ZodObject<{
42991
44375
  } | {
42992
44376
  workspace_id: string;
42993
44377
  created_at: string;
42994
- acs_system_id: string;
42995
44378
  acs_entrance_id: string;
44379
+ acs_system_id: string;
42996
44380
  event_id: string;
42997
44381
  occurred_at: string;
42998
44382
  event_type: "acs_entrance.removed";
@@ -43044,8 +44428,8 @@ declare const batch: z.ZodObject<{
43044
44428
  } | {
43045
44429
  workspace_id: string;
43046
44430
  created_at: string;
43047
- acs_system_id: string;
43048
44431
  acs_user_id: string;
44432
+ acs_system_id: string;
43049
44433
  event_id: string;
43050
44434
  occurred_at: string;
43051
44435
  event_type: "acs_user.deleted";
@@ -43053,8 +44437,8 @@ declare const batch: z.ZodObject<{
43053
44437
  } | {
43054
44438
  workspace_id: string;
43055
44439
  created_at: string;
43056
- acs_system_id: string;
43057
44440
  acs_user_id: string;
44441
+ acs_system_id: string;
43058
44442
  event_id: string;
43059
44443
  occurred_at: string;
43060
44444
  event_type: "acs_user.created";
@@ -43652,9 +45036,9 @@ declare const batch: z.ZodObject<{
43652
45036
  customer_key?: string | undefined;
43653
45037
  access_code_id?: string | undefined;
43654
45038
  user_identity_id?: string | undefined;
43655
- acs_system_id?: string | undefined;
43656
45039
  acs_user_id?: string | undefined;
43657
45040
  acs_entrance_id?: string | undefined;
45041
+ acs_system_id?: string | undefined;
43658
45042
  action_attempt_id?: string | undefined;
43659
45043
  device_custom_metadata?: Record<string, string | boolean> | undefined;
43660
45044
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -56229,8 +57613,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56229
57613
  }, "strip", z.ZodTypeAny, {
56230
57614
  workspace_id: string;
56231
57615
  created_at: string;
56232
- acs_system_id: string;
56233
57616
  acs_user_id: string;
57617
+ acs_system_id: string;
56234
57618
  event_id: string;
56235
57619
  occurred_at: string;
56236
57620
  event_type: "acs_user.created";
@@ -56238,8 +57622,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56238
57622
  }, {
56239
57623
  workspace_id: string;
56240
57624
  created_at: string;
56241
- acs_system_id: string;
56242
57625
  acs_user_id: string;
57626
+ acs_system_id: string;
56243
57627
  event_id: string;
56244
57628
  occurred_at: string;
56245
57629
  event_type: "acs_user.created";
@@ -56259,8 +57643,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56259
57643
  }, "strip", z.ZodTypeAny, {
56260
57644
  workspace_id: string;
56261
57645
  created_at: string;
56262
- acs_system_id: string;
56263
57646
  acs_user_id: string;
57647
+ acs_system_id: string;
56264
57648
  event_id: string;
56265
57649
  occurred_at: string;
56266
57650
  event_type: "acs_user.deleted";
@@ -56268,8 +57652,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56268
57652
  }, {
56269
57653
  workspace_id: string;
56270
57654
  created_at: string;
56271
- acs_system_id: string;
56272
57655
  acs_user_id: string;
57656
+ acs_system_id: string;
56273
57657
  event_id: string;
56274
57658
  occurred_at: string;
56275
57659
  event_type: "acs_user.deleted";
@@ -56379,8 +57763,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56379
57763
  }, "strip", z.ZodTypeAny, {
56380
57764
  workspace_id: string;
56381
57765
  created_at: string;
56382
- acs_system_id: string;
56383
57766
  acs_entrance_id: string;
57767
+ acs_system_id: string;
56384
57768
  event_id: string;
56385
57769
  occurred_at: string;
56386
57770
  event_type: "acs_entrance.added";
@@ -56388,8 +57772,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56388
57772
  }, {
56389
57773
  workspace_id: string;
56390
57774
  created_at: string;
56391
- acs_system_id: string;
56392
57775
  acs_entrance_id: string;
57776
+ acs_system_id: string;
56393
57777
  event_id: string;
56394
57778
  occurred_at: string;
56395
57779
  event_type: "acs_entrance.added";
@@ -56409,8 +57793,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56409
57793
  }, "strip", z.ZodTypeAny, {
56410
57794
  workspace_id: string;
56411
57795
  created_at: string;
56412
- acs_system_id: string;
56413
57796
  acs_entrance_id: string;
57797
+ acs_system_id: string;
56414
57798
  event_id: string;
56415
57799
  occurred_at: string;
56416
57800
  event_type: "acs_entrance.removed";
@@ -56418,8 +57802,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
56418
57802
  }, {
56419
57803
  workspace_id: string;
56420
57804
  created_at: string;
56421
- acs_system_id: string;
56422
57805
  acs_entrance_id: string;
57806
+ acs_system_id: string;
56423
57807
  event_id: string;
56424
57808
  occurred_at: string;
56425
57809
  event_type: "acs_entrance.removed";
@@ -58484,9 +59868,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
58484
59868
  customer_key?: string | undefined;
58485
59869
  access_code_id?: string | undefined;
58486
59870
  user_identity_id?: string | undefined;
58487
- acs_system_id?: string | undefined;
58488
59871
  acs_user_id?: string | undefined;
58489
59872
  acs_entrance_id?: string | undefined;
59873
+ acs_system_id?: string | undefined;
58490
59874
  action_attempt_id?: string | undefined;
58491
59875
  device_custom_metadata?: Record<string, string | boolean> | undefined;
58492
59876
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -58503,9 +59887,9 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
58503
59887
  customer_key?: string | undefined;
58504
59888
  access_code_id?: string | undefined;
58505
59889
  user_identity_id?: string | undefined;
58506
- acs_system_id?: string | undefined;
58507
59890
  acs_user_id?: string | undefined;
58508
59891
  acs_entrance_id?: string | undefined;
59892
+ acs_system_id?: string | undefined;
58509
59893
  action_attempt_id?: string | undefined;
58510
59894
  device_custom_metadata?: Record<string, string | boolean> | undefined;
58511
59895
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
@@ -59416,14 +60800,14 @@ declare const user_identity: z.ZodObject<{
59416
60800
  message: string;
59417
60801
  created_at: string;
59418
60802
  error_code: "issue_with_acs_user";
59419
- acs_system_id: string;
59420
60803
  acs_user_id: string;
60804
+ acs_system_id: string;
59421
60805
  }, {
59422
60806
  message: string;
59423
60807
  created_at: string;
59424
60808
  error_code: "issue_with_acs_user";
59425
- acs_system_id: string;
59426
60809
  acs_user_id: string;
60810
+ acs_system_id: string;
59427
60811
  }>]>, "many">;
59428
60812
  warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
59429
60813
  created_at: z.ZodString;
@@ -59461,8 +60845,8 @@ declare const user_identity: z.ZodObject<{
59461
60845
  message: string;
59462
60846
  created_at: string;
59463
60847
  error_code: "issue_with_acs_user";
59464
- acs_system_id: string;
59465
60848
  acs_user_id: string;
60849
+ acs_system_id: string;
59466
60850
  }[];
59467
60851
  warnings: ({
59468
60852
  message: string;
@@ -59487,8 +60871,8 @@ declare const user_identity: z.ZodObject<{
59487
60871
  message: string;
59488
60872
  created_at: string;
59489
60873
  error_code: "issue_with_acs_user";
59490
- acs_system_id: string;
59491
60874
  acs_user_id: string;
60875
+ acs_system_id: string;
59492
60876
  }[];
59493
60877
  warnings: ({
59494
60878
  message: string;
@@ -60781,6 +62165,262 @@ declare const _default: {
60781
62165
  description: string;
60782
62166
  type: string;
60783
62167
  };
62168
+ pending_mutations: {
62169
+ description: string;
62170
+ items: {
62171
+ discriminator: {
62172
+ propertyName: string;
62173
+ };
62174
+ oneOf: ({
62175
+ description: string;
62176
+ properties: {
62177
+ created_at: {
62178
+ description: string;
62179
+ format: string;
62180
+ type: string;
62181
+ };
62182
+ message: {
62183
+ description: string;
62184
+ type: string;
62185
+ };
62186
+ mutation_code: {
62187
+ description: string;
62188
+ enum: string[];
62189
+ type: string;
62190
+ };
62191
+ from?: never;
62192
+ to?: never;
62193
+ };
62194
+ required: string[];
62195
+ type: string;
62196
+ } | {
62197
+ description: string;
62198
+ properties: {
62199
+ created_at: {
62200
+ description: string;
62201
+ format: string;
62202
+ type: string;
62203
+ };
62204
+ from: {
62205
+ description: string;
62206
+ properties: {
62207
+ name: {
62208
+ description: string;
62209
+ nullable: boolean;
62210
+ type: string;
62211
+ };
62212
+ ends_at?: never;
62213
+ starts_at?: never;
62214
+ acs_user_id?: never;
62215
+ acs_entrance_id?: never;
62216
+ };
62217
+ type: string;
62218
+ required?: never;
62219
+ };
62220
+ message: {
62221
+ description: string;
62222
+ type: string;
62223
+ };
62224
+ mutation_code: {
62225
+ description: string;
62226
+ enum: string[];
62227
+ type: string;
62228
+ };
62229
+ to: {
62230
+ description: string;
62231
+ properties: {
62232
+ name: {
62233
+ description: string;
62234
+ nullable: boolean;
62235
+ type: string;
62236
+ };
62237
+ ends_at?: never;
62238
+ starts_at?: never;
62239
+ acs_user_id?: never;
62240
+ acs_entrance_id?: never;
62241
+ };
62242
+ type: string;
62243
+ required?: never;
62244
+ };
62245
+ };
62246
+ required: string[];
62247
+ type: string;
62248
+ } | {
62249
+ description: string;
62250
+ properties: {
62251
+ created_at: {
62252
+ description: string;
62253
+ format: string;
62254
+ type: string;
62255
+ };
62256
+ from: {
62257
+ description: string;
62258
+ properties: {
62259
+ ends_at: {
62260
+ description: string;
62261
+ format: string;
62262
+ nullable: boolean;
62263
+ type: string;
62264
+ };
62265
+ starts_at: {
62266
+ description: string;
62267
+ format: string;
62268
+ nullable: boolean;
62269
+ type: string;
62270
+ };
62271
+ name?: never;
62272
+ acs_user_id?: never;
62273
+ acs_entrance_id?: never;
62274
+ };
62275
+ required: string[];
62276
+ type: string;
62277
+ };
62278
+ message: {
62279
+ description: string;
62280
+ type: string;
62281
+ };
62282
+ mutation_code: {
62283
+ description: string;
62284
+ enum: string[];
62285
+ type: string;
62286
+ };
62287
+ to: {
62288
+ description: string;
62289
+ properties: {
62290
+ ends_at: {
62291
+ description: string;
62292
+ format: string;
62293
+ nullable: boolean;
62294
+ type: string;
62295
+ };
62296
+ starts_at: {
62297
+ description: string;
62298
+ format: string;
62299
+ nullable: boolean;
62300
+ type: string;
62301
+ };
62302
+ name?: never;
62303
+ acs_user_id?: never;
62304
+ acs_entrance_id?: never;
62305
+ };
62306
+ required: string[];
62307
+ type: string;
62308
+ };
62309
+ };
62310
+ required: string[];
62311
+ type: string;
62312
+ } | {
62313
+ description: string;
62314
+ properties: {
62315
+ created_at: {
62316
+ description: string;
62317
+ format: string;
62318
+ type: string;
62319
+ };
62320
+ from: {
62321
+ description: string;
62322
+ properties: {
62323
+ acs_user_id: {
62324
+ description: string;
62325
+ format: string;
62326
+ nullable: boolean;
62327
+ type: string;
62328
+ };
62329
+ name?: never;
62330
+ ends_at?: never;
62331
+ starts_at?: never;
62332
+ acs_entrance_id?: never;
62333
+ };
62334
+ required: string[];
62335
+ type: string;
62336
+ };
62337
+ message: {
62338
+ description: string;
62339
+ type: string;
62340
+ };
62341
+ mutation_code: {
62342
+ description: string;
62343
+ enum: string[];
62344
+ type: string;
62345
+ };
62346
+ to: {
62347
+ description: string;
62348
+ properties: {
62349
+ acs_user_id: {
62350
+ description: string;
62351
+ format: string;
62352
+ nullable: boolean;
62353
+ type: string;
62354
+ };
62355
+ name?: never;
62356
+ ends_at?: never;
62357
+ starts_at?: never;
62358
+ acs_entrance_id?: never;
62359
+ };
62360
+ required: string[];
62361
+ type: string;
62362
+ };
62363
+ };
62364
+ required: string[];
62365
+ type: string;
62366
+ } | {
62367
+ description: string;
62368
+ properties: {
62369
+ created_at: {
62370
+ description: string;
62371
+ format: string;
62372
+ type: string;
62373
+ };
62374
+ from: {
62375
+ description: string;
62376
+ properties: {
62377
+ acs_entrance_id: {
62378
+ description: string;
62379
+ format: string;
62380
+ nullable: boolean;
62381
+ type: string;
62382
+ };
62383
+ name?: never;
62384
+ ends_at?: never;
62385
+ starts_at?: never;
62386
+ acs_user_id?: never;
62387
+ };
62388
+ required: string[];
62389
+ type: string;
62390
+ };
62391
+ message: {
62392
+ description: string;
62393
+ type: string;
62394
+ };
62395
+ mutation_code: {
62396
+ description: string;
62397
+ enum: string[];
62398
+ type: string;
62399
+ };
62400
+ to: {
62401
+ description: string;
62402
+ properties: {
62403
+ acs_entrance_id: {
62404
+ description: string;
62405
+ format: string;
62406
+ nullable: boolean;
62407
+ type: string;
62408
+ };
62409
+ name?: never;
62410
+ ends_at?: never;
62411
+ starts_at?: never;
62412
+ acs_user_id?: never;
62413
+ };
62414
+ required: string[];
62415
+ type: string;
62416
+ };
62417
+ };
62418
+ required: string[];
62419
+ type: string;
62420
+ })[];
62421
+ };
62422
+ type: string;
62423
+ };
60784
62424
  warnings: {
60785
62425
  description: string;
60786
62426
  items: {
@@ -75754,6 +77394,262 @@ declare const _default: {
75754
77394
  description: string;
75755
77395
  type: string;
75756
77396
  };
77397
+ pending_mutations: {
77398
+ description: string;
77399
+ items: {
77400
+ discriminator: {
77401
+ propertyName: string;
77402
+ };
77403
+ oneOf: ({
77404
+ description: string;
77405
+ properties: {
77406
+ created_at: {
77407
+ description: string;
77408
+ format: string;
77409
+ type: string;
77410
+ };
77411
+ message: {
77412
+ description: string;
77413
+ type: string;
77414
+ };
77415
+ mutation_code: {
77416
+ description: string;
77417
+ enum: string[];
77418
+ type: string;
77419
+ };
77420
+ from?: never;
77421
+ to?: never;
77422
+ };
77423
+ required: string[];
77424
+ type: string;
77425
+ } | {
77426
+ description: string;
77427
+ properties: {
77428
+ created_at: {
77429
+ description: string;
77430
+ format: string;
77431
+ type: string;
77432
+ };
77433
+ from: {
77434
+ description: string;
77435
+ properties: {
77436
+ name: {
77437
+ description: string;
77438
+ nullable: boolean;
77439
+ type: string;
77440
+ };
77441
+ ends_at?: never;
77442
+ starts_at?: never;
77443
+ acs_user_id?: never;
77444
+ acs_entrance_id?: never;
77445
+ };
77446
+ type: string;
77447
+ required?: never;
77448
+ };
77449
+ message: {
77450
+ description: string;
77451
+ type: string;
77452
+ };
77453
+ mutation_code: {
77454
+ description: string;
77455
+ enum: string[];
77456
+ type: string;
77457
+ };
77458
+ to: {
77459
+ description: string;
77460
+ properties: {
77461
+ name: {
77462
+ description: string;
77463
+ nullable: boolean;
77464
+ type: string;
77465
+ };
77466
+ ends_at?: never;
77467
+ starts_at?: never;
77468
+ acs_user_id?: never;
77469
+ acs_entrance_id?: never;
77470
+ };
77471
+ type: string;
77472
+ required?: never;
77473
+ };
77474
+ };
77475
+ required: string[];
77476
+ type: string;
77477
+ } | {
77478
+ description: string;
77479
+ properties: {
77480
+ created_at: {
77481
+ description: string;
77482
+ format: string;
77483
+ type: string;
77484
+ };
77485
+ from: {
77486
+ description: string;
77487
+ properties: {
77488
+ ends_at: {
77489
+ description: string;
77490
+ format: string;
77491
+ nullable: boolean;
77492
+ type: string;
77493
+ };
77494
+ starts_at: {
77495
+ description: string;
77496
+ format: string;
77497
+ nullable: boolean;
77498
+ type: string;
77499
+ };
77500
+ name?: never;
77501
+ acs_user_id?: never;
77502
+ acs_entrance_id?: never;
77503
+ };
77504
+ required: string[];
77505
+ type: string;
77506
+ };
77507
+ message: {
77508
+ description: string;
77509
+ type: string;
77510
+ };
77511
+ mutation_code: {
77512
+ description: string;
77513
+ enum: string[];
77514
+ type: string;
77515
+ };
77516
+ to: {
77517
+ description: string;
77518
+ properties: {
77519
+ ends_at: {
77520
+ description: string;
77521
+ format: string;
77522
+ nullable: boolean;
77523
+ type: string;
77524
+ };
77525
+ starts_at: {
77526
+ description: string;
77527
+ format: string;
77528
+ nullable: boolean;
77529
+ type: string;
77530
+ };
77531
+ name?: never;
77532
+ acs_user_id?: never;
77533
+ acs_entrance_id?: never;
77534
+ };
77535
+ required: string[];
77536
+ type: string;
77537
+ };
77538
+ };
77539
+ required: string[];
77540
+ type: string;
77541
+ } | {
77542
+ description: string;
77543
+ properties: {
77544
+ created_at: {
77545
+ description: string;
77546
+ format: string;
77547
+ type: string;
77548
+ };
77549
+ from: {
77550
+ description: string;
77551
+ properties: {
77552
+ acs_user_id: {
77553
+ description: string;
77554
+ format: string;
77555
+ nullable: boolean;
77556
+ type: string;
77557
+ };
77558
+ name?: never;
77559
+ ends_at?: never;
77560
+ starts_at?: never;
77561
+ acs_entrance_id?: never;
77562
+ };
77563
+ required: string[];
77564
+ type: string;
77565
+ };
77566
+ message: {
77567
+ description: string;
77568
+ type: string;
77569
+ };
77570
+ mutation_code: {
77571
+ description: string;
77572
+ enum: string[];
77573
+ type: string;
77574
+ };
77575
+ to: {
77576
+ description: string;
77577
+ properties: {
77578
+ acs_user_id: {
77579
+ description: string;
77580
+ format: string;
77581
+ nullable: boolean;
77582
+ type: string;
77583
+ };
77584
+ name?: never;
77585
+ ends_at?: never;
77586
+ starts_at?: never;
77587
+ acs_entrance_id?: never;
77588
+ };
77589
+ required: string[];
77590
+ type: string;
77591
+ };
77592
+ };
77593
+ required: string[];
77594
+ type: string;
77595
+ } | {
77596
+ description: string;
77597
+ properties: {
77598
+ created_at: {
77599
+ description: string;
77600
+ format: string;
77601
+ type: string;
77602
+ };
77603
+ from: {
77604
+ description: string;
77605
+ properties: {
77606
+ acs_entrance_id: {
77607
+ description: string;
77608
+ format: string;
77609
+ nullable: boolean;
77610
+ type: string;
77611
+ };
77612
+ name?: never;
77613
+ ends_at?: never;
77614
+ starts_at?: never;
77615
+ acs_user_id?: never;
77616
+ };
77617
+ required: string[];
77618
+ type: string;
77619
+ };
77620
+ message: {
77621
+ description: string;
77622
+ type: string;
77623
+ };
77624
+ mutation_code: {
77625
+ description: string;
77626
+ enum: string[];
77627
+ type: string;
77628
+ };
77629
+ to: {
77630
+ description: string;
77631
+ properties: {
77632
+ acs_entrance_id: {
77633
+ description: string;
77634
+ format: string;
77635
+ nullable: boolean;
77636
+ type: string;
77637
+ };
77638
+ name?: never;
77639
+ ends_at?: never;
77640
+ starts_at?: never;
77641
+ acs_user_id?: never;
77642
+ };
77643
+ required: string[];
77644
+ type: string;
77645
+ };
77646
+ };
77647
+ required: string[];
77648
+ type: string;
77649
+ })[];
77650
+ };
77651
+ type: string;
77652
+ };
75757
77653
  warnings: {
75758
77654
  description: string;
75759
77655
  items: {
@@ -140096,6 +141992,94 @@ type Routes = {
140096
141992
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
140097
141993
  ends_at: string | null;
140098
141994
  } | undefined;
141995
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
141996
+ pending_mutations: ({
141997
+ /** Date and time at which the mutation was created. */
141998
+ created_at: string;
141999
+ /** Detailed description of the mutation. */
142000
+ message: string;
142001
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
142002
+ mutation_code: 'creating';
142003
+ } | {
142004
+ /** Date and time at which the mutation was created. */
142005
+ created_at: string;
142006
+ /** Detailed description of the mutation. */
142007
+ message: string;
142008
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
142009
+ mutation_code: 'deleting';
142010
+ } | {
142011
+ /** Date and time at which the mutation was created. */
142012
+ created_at: string;
142013
+ /** Detailed description of the mutation. */
142014
+ message: string;
142015
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
142016
+ mutation_code: 'updating_group_information';
142017
+ /** Old access group information. */
142018
+ from: {
142019
+ /** Name of the access group. */
142020
+ name?: (string | null) | undefined;
142021
+ };
142022
+ /** New access group information. */
142023
+ to: {
142024
+ /** Name of the access group. */
142025
+ name?: (string | null) | undefined;
142026
+ };
142027
+ } | {
142028
+ /** Date and time at which the mutation was created. */
142029
+ created_at: string;
142030
+ /** Detailed description of the mutation. */
142031
+ message: string;
142032
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
142033
+ mutation_code: 'updating_access_schedule';
142034
+ /** Old access schedule information. */
142035
+ from: {
142036
+ /** Starting time for the access schedule. */
142037
+ starts_at: string | null;
142038
+ /** Ending time for the access schedule. */
142039
+ ends_at: string | null;
142040
+ };
142041
+ /** New access schedule information. */
142042
+ to: {
142043
+ /** Starting time for the access schedule. */
142044
+ starts_at: string | null;
142045
+ /** Ending time for the access schedule. */
142046
+ ends_at: string | null;
142047
+ };
142048
+ } | {
142049
+ /** Date and time at which the mutation was created. */
142050
+ created_at: string;
142051
+ /** Detailed description of the mutation. */
142052
+ message: string;
142053
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
142054
+ mutation_code: 'updating_user_membership';
142055
+ /** Old user membership. */
142056
+ from: {
142057
+ /** Old user ID. */
142058
+ acs_user_id: string | null;
142059
+ };
142060
+ /** New user membership. */
142061
+ to: {
142062
+ /** New user ID. */
142063
+ acs_user_id: string | null;
142064
+ };
142065
+ } | {
142066
+ /** Date and time at which the mutation was created. */
142067
+ created_at: string;
142068
+ /** Detailed description of the mutation. */
142069
+ message: string;
142070
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
142071
+ mutation_code: 'updating_entrance_membership';
142072
+ /** Old entrance membership. */
142073
+ from: {
142074
+ /** Old entrance ID. */
142075
+ acs_entrance_id: string | null;
142076
+ };
142077
+ /** New entrance membership. */
142078
+ to: {
142079
+ /** New entrance ID. */
142080
+ acs_entrance_id: string | null;
142081
+ };
142082
+ })[];
140099
142083
  is_managed: true;
140100
142084
  }[] | undefined;
140101
142085
  access_methods?: {
@@ -144711,6 +146695,94 @@ type Routes = {
144711
146695
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
144712
146696
  ends_at: string | null;
144713
146697
  } | undefined;
146698
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
146699
+ pending_mutations: ({
146700
+ /** Date and time at which the mutation was created. */
146701
+ created_at: string;
146702
+ /** Detailed description of the mutation. */
146703
+ message: string;
146704
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
146705
+ mutation_code: 'creating';
146706
+ } | {
146707
+ /** Date and time at which the mutation was created. */
146708
+ created_at: string;
146709
+ /** Detailed description of the mutation. */
146710
+ message: string;
146711
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
146712
+ mutation_code: 'deleting';
146713
+ } | {
146714
+ /** Date and time at which the mutation was created. */
146715
+ created_at: string;
146716
+ /** Detailed description of the mutation. */
146717
+ message: string;
146718
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
146719
+ mutation_code: 'updating_group_information';
146720
+ /** Old access group information. */
146721
+ from: {
146722
+ /** Name of the access group. */
146723
+ name?: (string | null) | undefined;
146724
+ };
146725
+ /** New access group information. */
146726
+ to: {
146727
+ /** Name of the access group. */
146728
+ name?: (string | null) | undefined;
146729
+ };
146730
+ } | {
146731
+ /** Date and time at which the mutation was created. */
146732
+ created_at: string;
146733
+ /** Detailed description of the mutation. */
146734
+ message: string;
146735
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
146736
+ mutation_code: 'updating_access_schedule';
146737
+ /** Old access schedule information. */
146738
+ from: {
146739
+ /** Starting time for the access schedule. */
146740
+ starts_at: string | null;
146741
+ /** Ending time for the access schedule. */
146742
+ ends_at: string | null;
146743
+ };
146744
+ /** New access schedule information. */
146745
+ to: {
146746
+ /** Starting time for the access schedule. */
146747
+ starts_at: string | null;
146748
+ /** Ending time for the access schedule. */
146749
+ ends_at: string | null;
146750
+ };
146751
+ } | {
146752
+ /** Date and time at which the mutation was created. */
146753
+ created_at: string;
146754
+ /** Detailed description of the mutation. */
146755
+ message: string;
146756
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
146757
+ mutation_code: 'updating_user_membership';
146758
+ /** Old user membership. */
146759
+ from: {
146760
+ /** Old user ID. */
146761
+ acs_user_id: string | null;
146762
+ };
146763
+ /** New user membership. */
146764
+ to: {
146765
+ /** New user ID. */
146766
+ acs_user_id: string | null;
146767
+ };
146768
+ } | {
146769
+ /** Date and time at which the mutation was created. */
146770
+ created_at: string;
146771
+ /** Detailed description of the mutation. */
146772
+ message: string;
146773
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
146774
+ mutation_code: 'updating_entrance_membership';
146775
+ /** Old entrance membership. */
146776
+ from: {
146777
+ /** Old entrance ID. */
146778
+ acs_entrance_id: string | null;
146779
+ };
146780
+ /** New entrance membership. */
146781
+ to: {
146782
+ /** New entrance ID. */
146783
+ acs_entrance_id: string | null;
146784
+ };
146785
+ })[];
144714
146786
  is_managed: true;
144715
146787
  };
144716
146788
  };
@@ -144780,6 +146852,94 @@ type Routes = {
144780
146852
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
144781
146853
  ends_at: string | null;
144782
146854
  } | undefined;
146855
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
146856
+ pending_mutations: ({
146857
+ /** Date and time at which the mutation was created. */
146858
+ created_at: string;
146859
+ /** Detailed description of the mutation. */
146860
+ message: string;
146861
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
146862
+ mutation_code: 'creating';
146863
+ } | {
146864
+ /** Date and time at which the mutation was created. */
146865
+ created_at: string;
146866
+ /** Detailed description of the mutation. */
146867
+ message: string;
146868
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
146869
+ mutation_code: 'deleting';
146870
+ } | {
146871
+ /** Date and time at which the mutation was created. */
146872
+ created_at: string;
146873
+ /** Detailed description of the mutation. */
146874
+ message: string;
146875
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
146876
+ mutation_code: 'updating_group_information';
146877
+ /** Old access group information. */
146878
+ from: {
146879
+ /** Name of the access group. */
146880
+ name?: (string | null) | undefined;
146881
+ };
146882
+ /** New access group information. */
146883
+ to: {
146884
+ /** Name of the access group. */
146885
+ name?: (string | null) | undefined;
146886
+ };
146887
+ } | {
146888
+ /** Date and time at which the mutation was created. */
146889
+ created_at: string;
146890
+ /** Detailed description of the mutation. */
146891
+ message: string;
146892
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
146893
+ mutation_code: 'updating_access_schedule';
146894
+ /** Old access schedule information. */
146895
+ from: {
146896
+ /** Starting time for the access schedule. */
146897
+ starts_at: string | null;
146898
+ /** Ending time for the access schedule. */
146899
+ ends_at: string | null;
146900
+ };
146901
+ /** New access schedule information. */
146902
+ to: {
146903
+ /** Starting time for the access schedule. */
146904
+ starts_at: string | null;
146905
+ /** Ending time for the access schedule. */
146906
+ ends_at: string | null;
146907
+ };
146908
+ } | {
146909
+ /** Date and time at which the mutation was created. */
146910
+ created_at: string;
146911
+ /** Detailed description of the mutation. */
146912
+ message: string;
146913
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
146914
+ mutation_code: 'updating_user_membership';
146915
+ /** Old user membership. */
146916
+ from: {
146917
+ /** Old user ID. */
146918
+ acs_user_id: string | null;
146919
+ };
146920
+ /** New user membership. */
146921
+ to: {
146922
+ /** New user ID. */
146923
+ acs_user_id: string | null;
146924
+ };
146925
+ } | {
146926
+ /** Date and time at which the mutation was created. */
146927
+ created_at: string;
146928
+ /** Detailed description of the mutation. */
146929
+ message: string;
146930
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
146931
+ mutation_code: 'updating_entrance_membership';
146932
+ /** Old entrance membership. */
146933
+ from: {
146934
+ /** Old entrance ID. */
146935
+ acs_entrance_id: string | null;
146936
+ };
146937
+ /** New entrance membership. */
146938
+ to: {
146939
+ /** New entrance ID. */
146940
+ acs_entrance_id: string | null;
146941
+ };
146942
+ })[];
144783
146943
  is_managed: true;
144784
146944
  }[];
144785
146945
  };
@@ -145242,6 +147402,94 @@ type Routes = {
145242
147402
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
145243
147403
  ends_at: string | null;
145244
147404
  } | undefined;
147405
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
147406
+ pending_mutations: ({
147407
+ /** Date and time at which the mutation was created. */
147408
+ created_at: string;
147409
+ /** Detailed description of the mutation. */
147410
+ message: string;
147411
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
147412
+ mutation_code: 'creating';
147413
+ } | {
147414
+ /** Date and time at which the mutation was created. */
147415
+ created_at: string;
147416
+ /** Detailed description of the mutation. */
147417
+ message: string;
147418
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
147419
+ mutation_code: 'deleting';
147420
+ } | {
147421
+ /** Date and time at which the mutation was created. */
147422
+ created_at: string;
147423
+ /** Detailed description of the mutation. */
147424
+ message: string;
147425
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
147426
+ mutation_code: 'updating_group_information';
147427
+ /** Old access group information. */
147428
+ from: {
147429
+ /** Name of the access group. */
147430
+ name?: (string | null) | undefined;
147431
+ };
147432
+ /** New access group information. */
147433
+ to: {
147434
+ /** Name of the access group. */
147435
+ name?: (string | null) | undefined;
147436
+ };
147437
+ } | {
147438
+ /** Date and time at which the mutation was created. */
147439
+ created_at: string;
147440
+ /** Detailed description of the mutation. */
147441
+ message: string;
147442
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
147443
+ mutation_code: 'updating_access_schedule';
147444
+ /** Old access schedule information. */
147445
+ from: {
147446
+ /** Starting time for the access schedule. */
147447
+ starts_at: string | null;
147448
+ /** Ending time for the access schedule. */
147449
+ ends_at: string | null;
147450
+ };
147451
+ /** New access schedule information. */
147452
+ to: {
147453
+ /** Starting time for the access schedule. */
147454
+ starts_at: string | null;
147455
+ /** Ending time for the access schedule. */
147456
+ ends_at: string | null;
147457
+ };
147458
+ } | {
147459
+ /** Date and time at which the mutation was created. */
147460
+ created_at: string;
147461
+ /** Detailed description of the mutation. */
147462
+ message: string;
147463
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
147464
+ mutation_code: 'updating_user_membership';
147465
+ /** Old user membership. */
147466
+ from: {
147467
+ /** Old user ID. */
147468
+ acs_user_id: string | null;
147469
+ };
147470
+ /** New user membership. */
147471
+ to: {
147472
+ /** New user ID. */
147473
+ acs_user_id: string | null;
147474
+ };
147475
+ } | {
147476
+ /** Date and time at which the mutation was created. */
147477
+ created_at: string;
147478
+ /** Detailed description of the mutation. */
147479
+ message: string;
147480
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
147481
+ mutation_code: 'updating_entrance_membership';
147482
+ /** Old entrance membership. */
147483
+ from: {
147484
+ /** Old entrance ID. */
147485
+ acs_entrance_id: string | null;
147486
+ };
147487
+ /** New entrance membership. */
147488
+ to: {
147489
+ /** New entrance ID. */
147490
+ acs_entrance_id: string | null;
147491
+ };
147492
+ })[];
145245
147493
  is_managed: false;
145246
147494
  };
145247
147495
  };
@@ -145309,6 +147557,94 @@ type Routes = {
145309
147557
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
145310
147558
  ends_at: string | null;
145311
147559
  } | undefined;
147560
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
147561
+ pending_mutations: ({
147562
+ /** Date and time at which the mutation was created. */
147563
+ created_at: string;
147564
+ /** Detailed description of the mutation. */
147565
+ message: string;
147566
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
147567
+ mutation_code: 'creating';
147568
+ } | {
147569
+ /** Date and time at which the mutation was created. */
147570
+ created_at: string;
147571
+ /** Detailed description of the mutation. */
147572
+ message: string;
147573
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
147574
+ mutation_code: 'deleting';
147575
+ } | {
147576
+ /** Date and time at which the mutation was created. */
147577
+ created_at: string;
147578
+ /** Detailed description of the mutation. */
147579
+ message: string;
147580
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
147581
+ mutation_code: 'updating_group_information';
147582
+ /** Old access group information. */
147583
+ from: {
147584
+ /** Name of the access group. */
147585
+ name?: (string | null) | undefined;
147586
+ };
147587
+ /** New access group information. */
147588
+ to: {
147589
+ /** Name of the access group. */
147590
+ name?: (string | null) | undefined;
147591
+ };
147592
+ } | {
147593
+ /** Date and time at which the mutation was created. */
147594
+ created_at: string;
147595
+ /** Detailed description of the mutation. */
147596
+ message: string;
147597
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
147598
+ mutation_code: 'updating_access_schedule';
147599
+ /** Old access schedule information. */
147600
+ from: {
147601
+ /** Starting time for the access schedule. */
147602
+ starts_at: string | null;
147603
+ /** Ending time for the access schedule. */
147604
+ ends_at: string | null;
147605
+ };
147606
+ /** New access schedule information. */
147607
+ to: {
147608
+ /** Starting time for the access schedule. */
147609
+ starts_at: string | null;
147610
+ /** Ending time for the access schedule. */
147611
+ ends_at: string | null;
147612
+ };
147613
+ } | {
147614
+ /** Date and time at which the mutation was created. */
147615
+ created_at: string;
147616
+ /** Detailed description of the mutation. */
147617
+ message: string;
147618
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
147619
+ mutation_code: 'updating_user_membership';
147620
+ /** Old user membership. */
147621
+ from: {
147622
+ /** Old user ID. */
147623
+ acs_user_id: string | null;
147624
+ };
147625
+ /** New user membership. */
147626
+ to: {
147627
+ /** New user ID. */
147628
+ acs_user_id: string | null;
147629
+ };
147630
+ } | {
147631
+ /** Date and time at which the mutation was created. */
147632
+ created_at: string;
147633
+ /** Detailed description of the mutation. */
147634
+ message: string;
147635
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
147636
+ mutation_code: 'updating_entrance_membership';
147637
+ /** Old entrance membership. */
147638
+ from: {
147639
+ /** Old entrance ID. */
147640
+ acs_entrance_id: string | null;
147641
+ };
147642
+ /** New entrance membership. */
147643
+ to: {
147644
+ /** New entrance ID. */
147645
+ acs_entrance_id: string | null;
147646
+ };
147647
+ })[];
145312
147648
  is_managed: false;
145313
147649
  }[];
145314
147650
  };
@@ -213981,6 +216317,94 @@ type Routes = {
213981
216317
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
213982
216318
  ends_at: string | null;
213983
216319
  } | undefined;
216320
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
216321
+ pending_mutations: ({
216322
+ /** Date and time at which the mutation was created. */
216323
+ created_at: string;
216324
+ /** Detailed description of the mutation. */
216325
+ message: string;
216326
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
216327
+ mutation_code: 'creating';
216328
+ } | {
216329
+ /** Date and time at which the mutation was created. */
216330
+ created_at: string;
216331
+ /** Detailed description of the mutation. */
216332
+ message: string;
216333
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
216334
+ mutation_code: 'deleting';
216335
+ } | {
216336
+ /** Date and time at which the mutation was created. */
216337
+ created_at: string;
216338
+ /** Detailed description of the mutation. */
216339
+ message: string;
216340
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
216341
+ mutation_code: 'updating_group_information';
216342
+ /** Old access group information. */
216343
+ from: {
216344
+ /** Name of the access group. */
216345
+ name?: (string | null) | undefined;
216346
+ };
216347
+ /** New access group information. */
216348
+ to: {
216349
+ /** Name of the access group. */
216350
+ name?: (string | null) | undefined;
216351
+ };
216352
+ } | {
216353
+ /** Date and time at which the mutation was created. */
216354
+ created_at: string;
216355
+ /** Detailed description of the mutation. */
216356
+ message: string;
216357
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
216358
+ mutation_code: 'updating_access_schedule';
216359
+ /** Old access schedule information. */
216360
+ from: {
216361
+ /** Starting time for the access schedule. */
216362
+ starts_at: string | null;
216363
+ /** Ending time for the access schedule. */
216364
+ ends_at: string | null;
216365
+ };
216366
+ /** New access schedule information. */
216367
+ to: {
216368
+ /** Starting time for the access schedule. */
216369
+ starts_at: string | null;
216370
+ /** Ending time for the access schedule. */
216371
+ ends_at: string | null;
216372
+ };
216373
+ } | {
216374
+ /** Date and time at which the mutation was created. */
216375
+ created_at: string;
216376
+ /** Detailed description of the mutation. */
216377
+ message: string;
216378
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
216379
+ mutation_code: 'updating_user_membership';
216380
+ /** Old user membership. */
216381
+ from: {
216382
+ /** Old user ID. */
216383
+ acs_user_id: string | null;
216384
+ };
216385
+ /** New user membership. */
216386
+ to: {
216387
+ /** New user ID. */
216388
+ acs_user_id: string | null;
216389
+ };
216390
+ } | {
216391
+ /** Date and time at which the mutation was created. */
216392
+ created_at: string;
216393
+ /** Detailed description of the mutation. */
216394
+ message: string;
216395
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
216396
+ mutation_code: 'updating_entrance_membership';
216397
+ /** Old entrance membership. */
216398
+ from: {
216399
+ /** Old entrance ID. */
216400
+ acs_entrance_id: string | null;
216401
+ };
216402
+ /** New entrance membership. */
216403
+ to: {
216404
+ /** New entrance ID. */
216405
+ acs_entrance_id: string | null;
216406
+ };
216407
+ })[];
213984
216408
  is_managed: true;
213985
216409
  }[] | undefined;
213986
216410
  acs_encoders?: {
@@ -215560,6 +217984,94 @@ type Routes = {
215560
217984
  /** Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
215561
217985
  ends_at: string | null;
215562
217986
  } | undefined;
217987
+ /** Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system. */
217988
+ pending_mutations: ({
217989
+ /** Date and time at which the mutation was created. */
217990
+ created_at: string;
217991
+ /** Detailed description of the mutation. */
217992
+ message: string;
217993
+ /** Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system. */
217994
+ mutation_code: 'creating';
217995
+ } | {
217996
+ /** Date and time at which the mutation was created. */
217997
+ created_at: string;
217998
+ /** Detailed description of the mutation. */
217999
+ message: string;
218000
+ /** Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system. */
218001
+ mutation_code: 'deleting';
218002
+ } | {
218003
+ /** Date and time at which the mutation was created. */
218004
+ created_at: string;
218005
+ /** Detailed description of the mutation. */
218006
+ message: string;
218007
+ /** Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system. */
218008
+ mutation_code: 'updating_group_information';
218009
+ /** Old access group information. */
218010
+ from: {
218011
+ /** Name of the access group. */
218012
+ name?: (string | null) | undefined;
218013
+ };
218014
+ /** New access group information. */
218015
+ to: {
218016
+ /** Name of the access group. */
218017
+ name?: (string | null) | undefined;
218018
+ };
218019
+ } | {
218020
+ /** Date and time at which the mutation was created. */
218021
+ created_at: string;
218022
+ /** Detailed description of the mutation. */
218023
+ message: string;
218024
+ /** Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system. */
218025
+ mutation_code: 'updating_access_schedule';
218026
+ /** Old access schedule information. */
218027
+ from: {
218028
+ /** Starting time for the access schedule. */
218029
+ starts_at: string | null;
218030
+ /** Ending time for the access schedule. */
218031
+ ends_at: string | null;
218032
+ };
218033
+ /** New access schedule information. */
218034
+ to: {
218035
+ /** Starting time for the access schedule. */
218036
+ starts_at: string | null;
218037
+ /** Ending time for the access schedule. */
218038
+ ends_at: string | null;
218039
+ };
218040
+ } | {
218041
+ /** Date and time at which the mutation was created. */
218042
+ created_at: string;
218043
+ /** Detailed description of the mutation. */
218044
+ message: string;
218045
+ /** Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system. */
218046
+ mutation_code: 'updating_user_membership';
218047
+ /** Old user membership. */
218048
+ from: {
218049
+ /** Old user ID. */
218050
+ acs_user_id: string | null;
218051
+ };
218052
+ /** New user membership. */
218053
+ to: {
218054
+ /** New user ID. */
218055
+ acs_user_id: string | null;
218056
+ };
218057
+ } | {
218058
+ /** Date and time at which the mutation was created. */
218059
+ created_at: string;
218060
+ /** Detailed description of the mutation. */
218061
+ message: string;
218062
+ /** Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system. */
218063
+ mutation_code: 'updating_entrance_membership';
218064
+ /** Old entrance membership. */
218065
+ from: {
218066
+ /** Old entrance ID. */
218067
+ acs_entrance_id: string | null;
218068
+ };
218069
+ /** New entrance membership. */
218070
+ to: {
218071
+ /** New entrance ID. */
218072
+ acs_entrance_id: string | null;
218073
+ };
218074
+ })[];
215563
218075
  is_managed: false;
215564
218076
  }[] | undefined;
215565
218077
  unmanaged_devices?: {