@seamapi/types 1.364.0 → 1.366.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 (60) hide show
  1. package/dist/connect.cjs +1007 -4
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2441 -178
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-access-group.js +1 -2
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-credential.js +1 -2
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +1 -1
  12. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/{acs-user.d.ts → acs-users/acs-user.d.ts} +540 -18
  15. package/lib/seam/connect/models/acs/{acs-user.js → acs-users/acs-user.js} +10 -4
  16. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -0
  17. package/lib/seam/connect/models/acs/acs-users/index.d.ts +2 -0
  18. package/lib/seam/connect/models/acs/acs-users/index.js +3 -0
  19. package/lib/seam/connect/models/acs/acs-users/index.js.map +1 -0
  20. package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +176 -0
  21. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +42 -0
  22. package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -0
  23. package/lib/seam/connect/models/acs/index.d.ts +1 -1
  24. package/lib/seam/connect/models/acs/index.js +1 -1
  25. package/lib/seam/connect/models/acs/index.js.map +1 -1
  26. package/lib/seam/connect/models/connected-accounts/connected-account.js +1 -2
  27. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  28. package/lib/seam/connect/models/devices/device.js +1 -2
  29. package/lib/seam/connect/models/devices/device.js.map +1 -1
  30. package/lib/seam/connect/models/index.d.ts +1 -0
  31. package/lib/seam/connect/models/index.js +1 -0
  32. package/lib/seam/connect/models/index.js.map +1 -1
  33. package/lib/seam/connect/models/locations/index.d.ts +1 -0
  34. package/lib/seam/connect/models/locations/index.js +2 -0
  35. package/lib/seam/connect/models/locations/index.js.map +1 -0
  36. package/lib/seam/connect/models/locations/location.d.ts +49 -0
  37. package/lib/seam/connect/models/locations/location.js +25 -0
  38. package/lib/seam/connect/models/locations/location.js.map +1 -0
  39. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  40. package/lib/seam/connect/openapi.d.ts +1271 -36
  41. package/lib/seam/connect/openapi.js +955 -0
  42. package/lib/seam/connect/openapi.js.map +1 -1
  43. package/lib/seam/connect/route-types.d.ts +506 -0
  44. package/package.json +1 -1
  45. package/src/lib/seam/connect/internal/schemas.ts +2 -0
  46. package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -2
  47. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -2
  48. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
  49. package/src/lib/seam/connect/models/acs/{acs-user.ts → acs-users/acs-user.ts} +10 -4
  50. package/src/lib/seam/connect/models/acs/acs-users/index.ts +2 -0
  51. package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +56 -0
  52. package/src/lib/seam/connect/models/acs/index.ts +1 -1
  53. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +1 -2
  54. package/src/lib/seam/connect/models/devices/device.ts +1 -2
  55. package/src/lib/seam/connect/models/index.ts +1 -0
  56. package/src/lib/seam/connect/models/locations/index.ts +1 -0
  57. package/src/lib/seam/connect/models/locations/location.ts +30 -0
  58. package/src/lib/seam/connect/openapi.ts +976 -0
  59. package/src/lib/seam/connect/route-types.ts +567 -0
  60. package/lib/seam/connect/models/acs/acs-user.js.map +0 -1
@@ -4743,6 +4743,181 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
4743
4743
  created_at: string;
4744
4744
  error_code: "failed_to_delete_on_acs_system";
4745
4745
  }>]>, "many">;
4746
+ pending_modifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"modification_code", [z.ZodObject<z.objectUtil.extendShape<{
4747
+ created_at: z.ZodString;
4748
+ }, {
4749
+ modification_code: z.ZodLiteral<"profile">;
4750
+ modified_from: z.ZodObject<{
4751
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4752
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4753
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
4754
+ }, "strip", z.ZodTypeAny, {
4755
+ email_address?: string | null | undefined;
4756
+ full_name?: string | null | undefined;
4757
+ phone_number?: string | null | undefined;
4758
+ }, {
4759
+ email_address?: string | null | undefined;
4760
+ full_name?: string | null | undefined;
4761
+ phone_number?: string | null | undefined;
4762
+ }>;
4763
+ modified_to: z.ZodObject<{
4764
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4765
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4766
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
4767
+ }, "strip", z.ZodTypeAny, {
4768
+ email_address?: string | null | undefined;
4769
+ full_name?: string | null | undefined;
4770
+ phone_number?: string | null | undefined;
4771
+ }, {
4772
+ email_address?: string | null | undefined;
4773
+ full_name?: string | null | undefined;
4774
+ phone_number?: string | null | undefined;
4775
+ }>;
4776
+ }>, "strip", z.ZodTypeAny, {
4777
+ created_at: string;
4778
+ modification_code: "profile";
4779
+ modified_from: {
4780
+ email_address?: string | null | undefined;
4781
+ full_name?: string | null | undefined;
4782
+ phone_number?: string | null | undefined;
4783
+ };
4784
+ modified_to: {
4785
+ email_address?: string | null | undefined;
4786
+ full_name?: string | null | undefined;
4787
+ phone_number?: string | null | undefined;
4788
+ };
4789
+ }, {
4790
+ created_at: string;
4791
+ modification_code: "profile";
4792
+ modified_from: {
4793
+ email_address?: string | null | undefined;
4794
+ full_name?: string | null | undefined;
4795
+ phone_number?: string | null | undefined;
4796
+ };
4797
+ modified_to: {
4798
+ email_address?: string | null | undefined;
4799
+ full_name?: string | null | undefined;
4800
+ phone_number?: string | null | undefined;
4801
+ };
4802
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4803
+ created_at: z.ZodString;
4804
+ }, {
4805
+ modification_code: z.ZodLiteral<"access_schedule">;
4806
+ modified_from: z.ZodObject<{
4807
+ starts_at: z.ZodString;
4808
+ ends_at: z.ZodNullable<z.ZodString>;
4809
+ }, "strip", z.ZodTypeAny, {
4810
+ starts_at: string;
4811
+ ends_at: string | null;
4812
+ }, {
4813
+ starts_at: string;
4814
+ ends_at: string | null;
4815
+ }>;
4816
+ modified_to: z.ZodObject<{
4817
+ starts_at: z.ZodString;
4818
+ ends_at: z.ZodNullable<z.ZodString>;
4819
+ }, "strip", z.ZodTypeAny, {
4820
+ starts_at: string;
4821
+ ends_at: string | null;
4822
+ }, {
4823
+ starts_at: string;
4824
+ ends_at: string | null;
4825
+ }>;
4826
+ }>, "strip", z.ZodTypeAny, {
4827
+ created_at: string;
4828
+ modification_code: "access_schedule";
4829
+ modified_from: {
4830
+ starts_at: string;
4831
+ ends_at: string | null;
4832
+ };
4833
+ modified_to: {
4834
+ starts_at: string;
4835
+ ends_at: string | null;
4836
+ };
4837
+ }, {
4838
+ created_at: string;
4839
+ modification_code: "access_schedule";
4840
+ modified_from: {
4841
+ starts_at: string;
4842
+ ends_at: string | null;
4843
+ };
4844
+ modified_to: {
4845
+ starts_at: string;
4846
+ ends_at: string | null;
4847
+ };
4848
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4849
+ created_at: z.ZodString;
4850
+ }, {
4851
+ modification_code: z.ZodLiteral<"suspension_state">;
4852
+ modified_from: z.ZodObject<{
4853
+ is_suspended: z.ZodBoolean;
4854
+ }, "strip", z.ZodTypeAny, {
4855
+ is_suspended: boolean;
4856
+ }, {
4857
+ is_suspended: boolean;
4858
+ }>;
4859
+ modified_to: z.ZodObject<{
4860
+ is_suspended: z.ZodBoolean;
4861
+ }, "strip", z.ZodTypeAny, {
4862
+ is_suspended: boolean;
4863
+ }, {
4864
+ is_suspended: boolean;
4865
+ }>;
4866
+ }>, "strip", z.ZodTypeAny, {
4867
+ created_at: string;
4868
+ modification_code: "suspension_state";
4869
+ modified_from: {
4870
+ is_suspended: boolean;
4871
+ };
4872
+ modified_to: {
4873
+ is_suspended: boolean;
4874
+ };
4875
+ }, {
4876
+ created_at: string;
4877
+ modification_code: "suspension_state";
4878
+ modified_from: {
4879
+ is_suspended: boolean;
4880
+ };
4881
+ modified_to: {
4882
+ is_suspended: boolean;
4883
+ };
4884
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4885
+ created_at: z.ZodString;
4886
+ }, {
4887
+ modification_code: z.ZodLiteral<"acs_access_group_membership">;
4888
+ modified_from: z.ZodObject<{
4889
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
4890
+ }, "strip", z.ZodTypeAny, {
4891
+ acs_access_group_id: string | null;
4892
+ }, {
4893
+ acs_access_group_id: string | null;
4894
+ }>;
4895
+ modified_to: z.ZodObject<{
4896
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
4897
+ }, "strip", z.ZodTypeAny, {
4898
+ acs_access_group_id: string | null;
4899
+ }, {
4900
+ acs_access_group_id: string | null;
4901
+ }>;
4902
+ }>, "strip", z.ZodTypeAny, {
4903
+ created_at: string;
4904
+ modification_code: "acs_access_group_membership";
4905
+ modified_from: {
4906
+ acs_access_group_id: string | null;
4907
+ };
4908
+ modified_to: {
4909
+ acs_access_group_id: string | null;
4910
+ };
4911
+ }, {
4912
+ created_at: string;
4913
+ modification_code: "acs_access_group_membership";
4914
+ modified_from: {
4915
+ acs_access_group_id: string | null;
4916
+ };
4917
+ modified_to: {
4918
+ acs_access_group_id: string | null;
4919
+ };
4920
+ }>]>, "many">>;
4746
4921
  }, {
4747
4922
  full_name: z.ZodOptional<z.ZodString>;
4748
4923
  email: z.ZodOptional<z.ZodString>;
@@ -4797,18 +4972,61 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
4797
4972
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
4798
4973
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
4799
4974
  user_identity_id?: string | undefined;
4800
- full_name?: string | undefined;
4801
4975
  email_address?: string | undefined;
4976
+ full_name?: string | undefined;
4802
4977
  phone_number?: string | undefined;
4803
- hid_acs_system_id?: string | undefined;
4804
- is_suspended?: boolean | undefined;
4805
4978
  access_schedule?: {
4806
4979
  starts_at: string;
4807
4980
  ends_at: string | null;
4808
4981
  } | undefined;
4982
+ is_suspended?: boolean | undefined;
4983
+ hid_acs_system_id?: string | undefined;
4809
4984
  user_identity_full_name?: string | null | undefined;
4810
4985
  user_identity_email_address?: string | null | undefined;
4811
4986
  user_identity_phone_number?: string | null | undefined;
4987
+ pending_modifications?: ({
4988
+ created_at: string;
4989
+ modification_code: "profile";
4990
+ modified_from: {
4991
+ email_address?: string | null | undefined;
4992
+ full_name?: string | null | undefined;
4993
+ phone_number?: string | null | undefined;
4994
+ };
4995
+ modified_to: {
4996
+ email_address?: string | null | undefined;
4997
+ full_name?: string | null | undefined;
4998
+ phone_number?: string | null | undefined;
4999
+ };
5000
+ } | {
5001
+ created_at: string;
5002
+ modification_code: "access_schedule";
5003
+ modified_from: {
5004
+ starts_at: string;
5005
+ ends_at: string | null;
5006
+ };
5007
+ modified_to: {
5008
+ starts_at: string;
5009
+ ends_at: string | null;
5010
+ };
5011
+ } | {
5012
+ created_at: string;
5013
+ modification_code: "suspension_state";
5014
+ modified_from: {
5015
+ is_suspended: boolean;
5016
+ };
5017
+ modified_to: {
5018
+ is_suspended: boolean;
5019
+ };
5020
+ } | {
5021
+ created_at: string;
5022
+ modification_code: "acs_access_group_membership";
5023
+ modified_from: {
5024
+ acs_access_group_id: string | null;
5025
+ };
5026
+ modified_to: {
5027
+ acs_access_group_id: string | null;
5028
+ };
5029
+ })[] | undefined;
4812
5030
  }, {
4813
5031
  display_name: string;
4814
5032
  created_at: string;
@@ -4856,18 +5074,61 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
4856
5074
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
4857
5075
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
4858
5076
  user_identity_id?: string | undefined;
4859
- full_name?: string | undefined;
4860
5077
  email_address?: string | undefined;
5078
+ full_name?: string | undefined;
4861
5079
  phone_number?: string | undefined;
4862
- hid_acs_system_id?: string | undefined;
4863
- is_suspended?: boolean | undefined;
4864
5080
  access_schedule?: {
4865
5081
  starts_at: string;
4866
5082
  ends_at: string | null;
4867
5083
  } | undefined;
5084
+ is_suspended?: boolean | undefined;
5085
+ hid_acs_system_id?: string | undefined;
4868
5086
  user_identity_full_name?: string | null | undefined;
4869
5087
  user_identity_email_address?: string | null | undefined;
4870
5088
  user_identity_phone_number?: string | null | undefined;
5089
+ pending_modifications?: ({
5090
+ created_at: string;
5091
+ modification_code: "profile";
5092
+ modified_from: {
5093
+ email_address?: string | null | undefined;
5094
+ full_name?: string | null | undefined;
5095
+ phone_number?: string | null | undefined;
5096
+ };
5097
+ modified_to: {
5098
+ email_address?: string | null | undefined;
5099
+ full_name?: string | null | undefined;
5100
+ phone_number?: string | null | undefined;
5101
+ };
5102
+ } | {
5103
+ created_at: string;
5104
+ modification_code: "access_schedule";
5105
+ modified_from: {
5106
+ starts_at: string;
5107
+ ends_at: string | null;
5108
+ };
5109
+ modified_to: {
5110
+ starts_at: string;
5111
+ ends_at: string | null;
5112
+ };
5113
+ } | {
5114
+ created_at: string;
5115
+ modification_code: "suspension_state";
5116
+ modified_from: {
5117
+ is_suspended: boolean;
5118
+ };
5119
+ modified_to: {
5120
+ is_suspended: boolean;
5121
+ };
5122
+ } | {
5123
+ created_at: string;
5124
+ modification_code: "acs_access_group_membership";
5125
+ modified_from: {
5126
+ acs_access_group_id: string | null;
5127
+ };
5128
+ modified_to: {
5129
+ acs_access_group_id: string | null;
5130
+ };
5131
+ })[] | undefined;
4871
5132
  }>;
4872
5133
  declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4873
5134
  acs_user_id: z.ZodString;
@@ -5001,6 +5262,181 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5001
5262
  created_at: string;
5002
5263
  error_code: "failed_to_delete_on_acs_system";
5003
5264
  }>]>, "many">;
5265
+ pending_modifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"modification_code", [z.ZodObject<z.objectUtil.extendShape<{
5266
+ created_at: z.ZodString;
5267
+ }, {
5268
+ modification_code: z.ZodLiteral<"profile">;
5269
+ modified_from: z.ZodObject<{
5270
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5271
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5272
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
5273
+ }, "strip", z.ZodTypeAny, {
5274
+ email_address?: string | null | undefined;
5275
+ full_name?: string | null | undefined;
5276
+ phone_number?: string | null | undefined;
5277
+ }, {
5278
+ email_address?: string | null | undefined;
5279
+ full_name?: string | null | undefined;
5280
+ phone_number?: string | null | undefined;
5281
+ }>;
5282
+ modified_to: z.ZodObject<{
5283
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5284
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5285
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>>;
5286
+ }, "strip", z.ZodTypeAny, {
5287
+ email_address?: string | null | undefined;
5288
+ full_name?: string | null | undefined;
5289
+ phone_number?: string | null | undefined;
5290
+ }, {
5291
+ email_address?: string | null | undefined;
5292
+ full_name?: string | null | undefined;
5293
+ phone_number?: string | null | undefined;
5294
+ }>;
5295
+ }>, "strip", z.ZodTypeAny, {
5296
+ created_at: string;
5297
+ modification_code: "profile";
5298
+ modified_from: {
5299
+ email_address?: string | null | undefined;
5300
+ full_name?: string | null | undefined;
5301
+ phone_number?: string | null | undefined;
5302
+ };
5303
+ modified_to: {
5304
+ email_address?: string | null | undefined;
5305
+ full_name?: string | null | undefined;
5306
+ phone_number?: string | null | undefined;
5307
+ };
5308
+ }, {
5309
+ created_at: string;
5310
+ modification_code: "profile";
5311
+ modified_from: {
5312
+ email_address?: string | null | undefined;
5313
+ full_name?: string | null | undefined;
5314
+ phone_number?: string | null | undefined;
5315
+ };
5316
+ modified_to: {
5317
+ email_address?: string | null | undefined;
5318
+ full_name?: string | null | undefined;
5319
+ phone_number?: string | null | undefined;
5320
+ };
5321
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5322
+ created_at: z.ZodString;
5323
+ }, {
5324
+ modification_code: z.ZodLiteral<"access_schedule">;
5325
+ modified_from: z.ZodObject<{
5326
+ starts_at: z.ZodString;
5327
+ ends_at: z.ZodNullable<z.ZodString>;
5328
+ }, "strip", z.ZodTypeAny, {
5329
+ starts_at: string;
5330
+ ends_at: string | null;
5331
+ }, {
5332
+ starts_at: string;
5333
+ ends_at: string | null;
5334
+ }>;
5335
+ modified_to: z.ZodObject<{
5336
+ starts_at: z.ZodString;
5337
+ ends_at: z.ZodNullable<z.ZodString>;
5338
+ }, "strip", z.ZodTypeAny, {
5339
+ starts_at: string;
5340
+ ends_at: string | null;
5341
+ }, {
5342
+ starts_at: string;
5343
+ ends_at: string | null;
5344
+ }>;
5345
+ }>, "strip", z.ZodTypeAny, {
5346
+ created_at: string;
5347
+ modification_code: "access_schedule";
5348
+ modified_from: {
5349
+ starts_at: string;
5350
+ ends_at: string | null;
5351
+ };
5352
+ modified_to: {
5353
+ starts_at: string;
5354
+ ends_at: string | null;
5355
+ };
5356
+ }, {
5357
+ created_at: string;
5358
+ modification_code: "access_schedule";
5359
+ modified_from: {
5360
+ starts_at: string;
5361
+ ends_at: string | null;
5362
+ };
5363
+ modified_to: {
5364
+ starts_at: string;
5365
+ ends_at: string | null;
5366
+ };
5367
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5368
+ created_at: z.ZodString;
5369
+ }, {
5370
+ modification_code: z.ZodLiteral<"suspension_state">;
5371
+ modified_from: z.ZodObject<{
5372
+ is_suspended: z.ZodBoolean;
5373
+ }, "strip", z.ZodTypeAny, {
5374
+ is_suspended: boolean;
5375
+ }, {
5376
+ is_suspended: boolean;
5377
+ }>;
5378
+ modified_to: z.ZodObject<{
5379
+ is_suspended: z.ZodBoolean;
5380
+ }, "strip", z.ZodTypeAny, {
5381
+ is_suspended: boolean;
5382
+ }, {
5383
+ is_suspended: boolean;
5384
+ }>;
5385
+ }>, "strip", z.ZodTypeAny, {
5386
+ created_at: string;
5387
+ modification_code: "suspension_state";
5388
+ modified_from: {
5389
+ is_suspended: boolean;
5390
+ };
5391
+ modified_to: {
5392
+ is_suspended: boolean;
5393
+ };
5394
+ }, {
5395
+ created_at: string;
5396
+ modification_code: "suspension_state";
5397
+ modified_from: {
5398
+ is_suspended: boolean;
5399
+ };
5400
+ modified_to: {
5401
+ is_suspended: boolean;
5402
+ };
5403
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5404
+ created_at: z.ZodString;
5405
+ }, {
5406
+ modification_code: z.ZodLiteral<"acs_access_group_membership">;
5407
+ modified_from: z.ZodObject<{
5408
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
5409
+ }, "strip", z.ZodTypeAny, {
5410
+ acs_access_group_id: string | null;
5411
+ }, {
5412
+ acs_access_group_id: string | null;
5413
+ }>;
5414
+ modified_to: z.ZodObject<{
5415
+ acs_access_group_id: z.ZodNullable<z.ZodString>;
5416
+ }, "strip", z.ZodTypeAny, {
5417
+ acs_access_group_id: string | null;
5418
+ }, {
5419
+ acs_access_group_id: string | null;
5420
+ }>;
5421
+ }>, "strip", z.ZodTypeAny, {
5422
+ created_at: string;
5423
+ modification_code: "acs_access_group_membership";
5424
+ modified_from: {
5425
+ acs_access_group_id: string | null;
5426
+ };
5427
+ modified_to: {
5428
+ acs_access_group_id: string | null;
5429
+ };
5430
+ }, {
5431
+ created_at: string;
5432
+ modification_code: "acs_access_group_membership";
5433
+ modified_from: {
5434
+ acs_access_group_id: string | null;
5435
+ };
5436
+ modified_to: {
5437
+ acs_access_group_id: string | null;
5438
+ };
5439
+ }>]>, "many">>;
5004
5440
  }, {
5005
5441
  full_name: z.ZodOptional<z.ZodString>;
5006
5442
  email: z.ZodOptional<z.ZodString>;
@@ -5055,18 +5491,61 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5055
5491
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
5056
5492
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
5057
5493
  user_identity_id?: string | undefined;
5058
- full_name?: string | undefined;
5059
5494
  email_address?: string | undefined;
5495
+ full_name?: string | undefined;
5060
5496
  phone_number?: string | undefined;
5061
- hid_acs_system_id?: string | undefined;
5062
- is_suspended?: boolean | undefined;
5063
5497
  access_schedule?: {
5064
5498
  starts_at: string;
5065
5499
  ends_at: string | null;
5066
5500
  } | undefined;
5501
+ is_suspended?: boolean | undefined;
5502
+ hid_acs_system_id?: string | undefined;
5067
5503
  user_identity_full_name?: string | null | undefined;
5068
5504
  user_identity_email_address?: string | null | undefined;
5069
5505
  user_identity_phone_number?: string | null | undefined;
5506
+ pending_modifications?: ({
5507
+ created_at: string;
5508
+ modification_code: "profile";
5509
+ modified_from: {
5510
+ email_address?: string | null | undefined;
5511
+ full_name?: string | null | undefined;
5512
+ phone_number?: string | null | undefined;
5513
+ };
5514
+ modified_to: {
5515
+ email_address?: string | null | undefined;
5516
+ full_name?: string | null | undefined;
5517
+ phone_number?: string | null | undefined;
5518
+ };
5519
+ } | {
5520
+ created_at: string;
5521
+ modification_code: "access_schedule";
5522
+ modified_from: {
5523
+ starts_at: string;
5524
+ ends_at: string | null;
5525
+ };
5526
+ modified_to: {
5527
+ starts_at: string;
5528
+ ends_at: string | null;
5529
+ };
5530
+ } | {
5531
+ created_at: string;
5532
+ modification_code: "suspension_state";
5533
+ modified_from: {
5534
+ is_suspended: boolean;
5535
+ };
5536
+ modified_to: {
5537
+ is_suspended: boolean;
5538
+ };
5539
+ } | {
5540
+ created_at: string;
5541
+ modification_code: "acs_access_group_membership";
5542
+ modified_from: {
5543
+ acs_access_group_id: string | null;
5544
+ };
5545
+ modified_to: {
5546
+ acs_access_group_id: string | null;
5547
+ };
5548
+ })[] | undefined;
5070
5549
  }, {
5071
5550
  display_name: string;
5072
5551
  created_at: string;
@@ -5114,18 +5593,61 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
5114
5593
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
5115
5594
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
5116
5595
  user_identity_id?: string | undefined;
5117
- full_name?: string | undefined;
5118
5596
  email_address?: string | undefined;
5597
+ full_name?: string | undefined;
5119
5598
  phone_number?: string | undefined;
5120
- hid_acs_system_id?: string | undefined;
5121
- is_suspended?: boolean | undefined;
5122
5599
  access_schedule?: {
5123
5600
  starts_at: string;
5124
5601
  ends_at: string | null;
5125
5602
  } | undefined;
5603
+ is_suspended?: boolean | undefined;
5604
+ hid_acs_system_id?: string | undefined;
5126
5605
  user_identity_full_name?: string | null | undefined;
5127
5606
  user_identity_email_address?: string | null | undefined;
5128
5607
  user_identity_phone_number?: string | null | undefined;
5608
+ pending_modifications?: ({
5609
+ created_at: string;
5610
+ modification_code: "profile";
5611
+ modified_from: {
5612
+ email_address?: string | null | undefined;
5613
+ full_name?: string | null | undefined;
5614
+ phone_number?: string | null | undefined;
5615
+ };
5616
+ modified_to: {
5617
+ email_address?: string | null | undefined;
5618
+ full_name?: string | null | undefined;
5619
+ phone_number?: string | null | undefined;
5620
+ };
5621
+ } | {
5622
+ created_at: string;
5623
+ modification_code: "access_schedule";
5624
+ modified_from: {
5625
+ starts_at: string;
5626
+ ends_at: string | null;
5627
+ };
5628
+ modified_to: {
5629
+ starts_at: string;
5630
+ ends_at: string | null;
5631
+ };
5632
+ } | {
5633
+ created_at: string;
5634
+ modification_code: "suspension_state";
5635
+ modified_from: {
5636
+ is_suspended: boolean;
5637
+ };
5638
+ modified_to: {
5639
+ is_suspended: boolean;
5640
+ };
5641
+ } | {
5642
+ created_at: string;
5643
+ modification_code: "acs_access_group_membership";
5644
+ modified_from: {
5645
+ acs_access_group_id: string | null;
5646
+ };
5647
+ modified_to: {
5648
+ acs_access_group_id: string | null;
5649
+ };
5650
+ })[] | undefined;
5129
5651
  }>;
5130
5652
  type AcsUser = z.output<typeof acs_user>;
5131
5653
 
@@ -18575,8 +19097,8 @@ declare const user_identity: z.ZodObject<{
18575
19097
  created_at: string;
18576
19098
  workspace_id: string;
18577
19099
  user_identity_id: string;
18578
- full_name: string | null;
18579
19100
  email_address: string | null;
19101
+ full_name: string | null;
18580
19102
  phone_number: string | null;
18581
19103
  user_identity_key: string | null;
18582
19104
  }, {
@@ -18584,8 +19106,8 @@ declare const user_identity: z.ZodObject<{
18584
19106
  created_at: string;
18585
19107
  workspace_id: string;
18586
19108
  user_identity_id: string;
18587
- full_name: string | null;
18588
19109
  email_address: string | null;
19110
+ full_name: string | null;
18589
19111
  phone_number: string | null;
18590
19112
  user_identity_key: string | null;
18591
19113
  }>;
@@ -19849,6 +20371,222 @@ declare const _default: {
19849
20371
  type: string;
19850
20372
  'x-undocumented': string;
19851
20373
  };
20374
+ pending_modifications: {
20375
+ items: {
20376
+ discriminator: {
20377
+ propertyName: string;
20378
+ };
20379
+ oneOf: ({
20380
+ properties: {
20381
+ created_at: {
20382
+ format: string;
20383
+ type: string;
20384
+ };
20385
+ modification_code: {
20386
+ enum: string[];
20387
+ type: string;
20388
+ };
20389
+ modified_from: {
20390
+ properties: {
20391
+ email_address: {
20392
+ format: string;
20393
+ nullable: boolean;
20394
+ type: string;
20395
+ };
20396
+ full_name: {
20397
+ nullable: boolean;
20398
+ type: string;
20399
+ };
20400
+ phone_number: {
20401
+ nullable: boolean;
20402
+ type: string;
20403
+ };
20404
+ ends_at?: never;
20405
+ starts_at?: never;
20406
+ is_suspended?: never;
20407
+ acs_access_group_id?: never;
20408
+ };
20409
+ type: string;
20410
+ required?: never;
20411
+ };
20412
+ modified_to: {
20413
+ properties: {
20414
+ email_address: {
20415
+ format: string;
20416
+ nullable: boolean;
20417
+ type: string;
20418
+ };
20419
+ full_name: {
20420
+ nullable: boolean;
20421
+ type: string;
20422
+ };
20423
+ phone_number: {
20424
+ nullable: boolean;
20425
+ type: string;
20426
+ };
20427
+ ends_at?: never;
20428
+ starts_at?: never;
20429
+ is_suspended?: never;
20430
+ acs_access_group_id?: never;
20431
+ };
20432
+ type: string;
20433
+ required?: never;
20434
+ };
20435
+ };
20436
+ required: string[];
20437
+ type: string;
20438
+ } | {
20439
+ properties: {
20440
+ created_at: {
20441
+ format: string;
20442
+ type: string;
20443
+ };
20444
+ modification_code: {
20445
+ enum: string[];
20446
+ type: string;
20447
+ };
20448
+ modified_from: {
20449
+ properties: {
20450
+ ends_at: {
20451
+ description: string;
20452
+ format: string;
20453
+ nullable: boolean;
20454
+ type: string;
20455
+ };
20456
+ starts_at: {
20457
+ description: string;
20458
+ format: string;
20459
+ type: string;
20460
+ };
20461
+ email_address?: never;
20462
+ full_name?: never;
20463
+ phone_number?: never;
20464
+ is_suspended?: never;
20465
+ acs_access_group_id?: never;
20466
+ };
20467
+ required: string[];
20468
+ type: string;
20469
+ };
20470
+ modified_to: {
20471
+ properties: {
20472
+ ends_at: {
20473
+ description: string;
20474
+ format: string;
20475
+ nullable: boolean;
20476
+ type: string;
20477
+ };
20478
+ starts_at: {
20479
+ description: string;
20480
+ format: string;
20481
+ type: string;
20482
+ };
20483
+ email_address?: never;
20484
+ full_name?: never;
20485
+ phone_number?: never;
20486
+ is_suspended?: never;
20487
+ acs_access_group_id?: never;
20488
+ };
20489
+ required: string[];
20490
+ type: string;
20491
+ };
20492
+ };
20493
+ required: string[];
20494
+ type: string;
20495
+ } | {
20496
+ properties: {
20497
+ created_at: {
20498
+ format: string;
20499
+ type: string;
20500
+ };
20501
+ modification_code: {
20502
+ enum: string[];
20503
+ type: string;
20504
+ };
20505
+ modified_from: {
20506
+ properties: {
20507
+ is_suspended: {
20508
+ type: string;
20509
+ };
20510
+ email_address?: never;
20511
+ full_name?: never;
20512
+ phone_number?: never;
20513
+ ends_at?: never;
20514
+ starts_at?: never;
20515
+ acs_access_group_id?: never;
20516
+ };
20517
+ required: string[];
20518
+ type: string;
20519
+ };
20520
+ modified_to: {
20521
+ properties: {
20522
+ is_suspended: {
20523
+ type: string;
20524
+ };
20525
+ email_address?: never;
20526
+ full_name?: never;
20527
+ phone_number?: never;
20528
+ ends_at?: never;
20529
+ starts_at?: never;
20530
+ acs_access_group_id?: never;
20531
+ };
20532
+ required: string[];
20533
+ type: string;
20534
+ };
20535
+ };
20536
+ required: string[];
20537
+ type: string;
20538
+ } | {
20539
+ properties: {
20540
+ created_at: {
20541
+ format: string;
20542
+ type: string;
20543
+ };
20544
+ modification_code: {
20545
+ enum: string[];
20546
+ type: string;
20547
+ };
20548
+ modified_from: {
20549
+ properties: {
20550
+ acs_access_group_id: {
20551
+ format: string;
20552
+ nullable: boolean;
20553
+ type: string;
20554
+ };
20555
+ email_address?: never;
20556
+ full_name?: never;
20557
+ phone_number?: never;
20558
+ ends_at?: never;
20559
+ starts_at?: never;
20560
+ is_suspended?: never;
20561
+ };
20562
+ required: string[];
20563
+ type: string;
20564
+ };
20565
+ modified_to: {
20566
+ properties: {
20567
+ acs_access_group_id: {
20568
+ format: string;
20569
+ nullable: boolean;
20570
+ type: string;
20571
+ };
20572
+ email_address?: never;
20573
+ full_name?: never;
20574
+ phone_number?: never;
20575
+ ends_at?: never;
20576
+ starts_at?: never;
20577
+ is_suspended?: never;
20578
+ };
20579
+ required: string[];
20580
+ type: string;
20581
+ };
20582
+ };
20583
+ required: string[];
20584
+ type: string;
20585
+ })[];
20586
+ };
20587
+ type: string;
20588
+ 'x-undocumented': string;
20589
+ };
19852
20590
  phone_number: {
19853
20591
  description: string;
19854
20592
  type: string;
@@ -26751,6 +27489,222 @@ declare const _default: {
26751
27489
  type: string;
26752
27490
  'x-undocumented': string;
26753
27491
  };
27492
+ pending_modifications: {
27493
+ items: {
27494
+ discriminator: {
27495
+ propertyName: string;
27496
+ };
27497
+ oneOf: ({
27498
+ properties: {
27499
+ created_at: {
27500
+ format: string;
27501
+ type: string;
27502
+ };
27503
+ modification_code: {
27504
+ enum: string[];
27505
+ type: string;
27506
+ };
27507
+ modified_from: {
27508
+ properties: {
27509
+ email_address: {
27510
+ format: string;
27511
+ nullable: boolean;
27512
+ type: string;
27513
+ };
27514
+ full_name: {
27515
+ nullable: boolean;
27516
+ type: string;
27517
+ };
27518
+ phone_number: {
27519
+ nullable: boolean;
27520
+ type: string;
27521
+ };
27522
+ ends_at?: never;
27523
+ starts_at?: never;
27524
+ is_suspended?: never;
27525
+ acs_access_group_id?: never;
27526
+ };
27527
+ type: string;
27528
+ required?: never;
27529
+ };
27530
+ modified_to: {
27531
+ properties: {
27532
+ email_address: {
27533
+ format: string;
27534
+ nullable: boolean;
27535
+ type: string;
27536
+ };
27537
+ full_name: {
27538
+ nullable: boolean;
27539
+ type: string;
27540
+ };
27541
+ phone_number: {
27542
+ nullable: boolean;
27543
+ type: string;
27544
+ };
27545
+ ends_at?: never;
27546
+ starts_at?: never;
27547
+ is_suspended?: never;
27548
+ acs_access_group_id?: never;
27549
+ };
27550
+ type: string;
27551
+ required?: never;
27552
+ };
27553
+ };
27554
+ required: string[];
27555
+ type: string;
27556
+ } | {
27557
+ properties: {
27558
+ created_at: {
27559
+ format: string;
27560
+ type: string;
27561
+ };
27562
+ modification_code: {
27563
+ enum: string[];
27564
+ type: string;
27565
+ };
27566
+ modified_from: {
27567
+ properties: {
27568
+ ends_at: {
27569
+ description: string;
27570
+ format: string;
27571
+ nullable: boolean;
27572
+ type: string;
27573
+ };
27574
+ starts_at: {
27575
+ description: string;
27576
+ format: string;
27577
+ type: string;
27578
+ };
27579
+ email_address?: never;
27580
+ full_name?: never;
27581
+ phone_number?: never;
27582
+ is_suspended?: never;
27583
+ acs_access_group_id?: never;
27584
+ };
27585
+ required: string[];
27586
+ type: string;
27587
+ };
27588
+ modified_to: {
27589
+ properties: {
27590
+ ends_at: {
27591
+ description: string;
27592
+ format: string;
27593
+ nullable: boolean;
27594
+ type: string;
27595
+ };
27596
+ starts_at: {
27597
+ description: string;
27598
+ format: string;
27599
+ type: string;
27600
+ };
27601
+ email_address?: never;
27602
+ full_name?: never;
27603
+ phone_number?: never;
27604
+ is_suspended?: never;
27605
+ acs_access_group_id?: never;
27606
+ };
27607
+ required: string[];
27608
+ type: string;
27609
+ };
27610
+ };
27611
+ required: string[];
27612
+ type: string;
27613
+ } | {
27614
+ properties: {
27615
+ created_at: {
27616
+ format: string;
27617
+ type: string;
27618
+ };
27619
+ modification_code: {
27620
+ enum: string[];
27621
+ type: string;
27622
+ };
27623
+ modified_from: {
27624
+ properties: {
27625
+ is_suspended: {
27626
+ type: string;
27627
+ };
27628
+ email_address?: never;
27629
+ full_name?: never;
27630
+ phone_number?: never;
27631
+ ends_at?: never;
27632
+ starts_at?: never;
27633
+ acs_access_group_id?: never;
27634
+ };
27635
+ required: string[];
27636
+ type: string;
27637
+ };
27638
+ modified_to: {
27639
+ properties: {
27640
+ is_suspended: {
27641
+ type: string;
27642
+ };
27643
+ email_address?: never;
27644
+ full_name?: never;
27645
+ phone_number?: never;
27646
+ ends_at?: never;
27647
+ starts_at?: never;
27648
+ acs_access_group_id?: never;
27649
+ };
27650
+ required: string[];
27651
+ type: string;
27652
+ };
27653
+ };
27654
+ required: string[];
27655
+ type: string;
27656
+ } | {
27657
+ properties: {
27658
+ created_at: {
27659
+ format: string;
27660
+ type: string;
27661
+ };
27662
+ modification_code: {
27663
+ enum: string[];
27664
+ type: string;
27665
+ };
27666
+ modified_from: {
27667
+ properties: {
27668
+ acs_access_group_id: {
27669
+ format: string;
27670
+ nullable: boolean;
27671
+ type: string;
27672
+ };
27673
+ email_address?: never;
27674
+ full_name?: never;
27675
+ phone_number?: never;
27676
+ ends_at?: never;
27677
+ starts_at?: never;
27678
+ is_suspended?: never;
27679
+ };
27680
+ required: string[];
27681
+ type: string;
27682
+ };
27683
+ modified_to: {
27684
+ properties: {
27685
+ acs_access_group_id: {
27686
+ format: string;
27687
+ nullable: boolean;
27688
+ type: string;
27689
+ };
27690
+ email_address?: never;
27691
+ full_name?: never;
27692
+ phone_number?: never;
27693
+ ends_at?: never;
27694
+ starts_at?: never;
27695
+ is_suspended?: never;
27696
+ };
27697
+ required: string[];
27698
+ type: string;
27699
+ };
27700
+ };
27701
+ required: string[];
27702
+ type: string;
27703
+ })[];
27704
+ };
27705
+ type: string;
27706
+ 'x-undocumented': string;
27707
+ };
26754
27708
  phone_number: {
26755
27709
  description: string;
26756
27710
  type: string;
@@ -35758,6 +36712,12 @@ declare const _default: {
35758
36712
  enum: string[];
35759
36713
  type: string;
35760
36714
  };
36715
+ unstable_location_id: {
36716
+ format: string;
36717
+ nullable: boolean;
36718
+ type: string;
36719
+ 'x-undocumented': string;
36720
+ };
35761
36721
  user_identifier_key: {
35762
36722
  description: string;
35763
36723
  type: string;
@@ -36273,6 +37233,12 @@ declare const _default: {
36273
37233
  enum: string[];
36274
37234
  type: string;
36275
37235
  };
37236
+ unstable_location_id: {
37237
+ format: string;
37238
+ nullable: boolean;
37239
+ type: string;
37240
+ 'x-undocumented': string;
37241
+ };
36276
37242
  user_identifier_key: {
36277
37243
  description: string;
36278
37244
  type: string;
@@ -37089,6 +38055,12 @@ declare const _default: {
37089
38055
  enum: string[];
37090
38056
  type: string;
37091
38057
  };
38058
+ unstable_location_id: {
38059
+ format: string;
38060
+ nullable: boolean;
38061
+ type: string;
38062
+ 'x-undocumented': string;
38063
+ };
37092
38064
  user_identifier_key: {
37093
38065
  description: string;
37094
38066
  type: string;
@@ -37557,6 +38529,12 @@ declare const _default: {
37557
38529
  enum: string[];
37558
38530
  type: string;
37559
38531
  };
38532
+ unstable_location_id: {
38533
+ format: string;
38534
+ nullable: boolean;
38535
+ type: string;
38536
+ 'x-undocumented': string;
38537
+ };
37560
38538
  user_identifier_key: {
37561
38539
  description: string;
37562
38540
  type: string;
@@ -39733,6 +40711,12 @@ declare const _default: {
39733
40711
  enum: string[];
39734
40712
  type: string;
39735
40713
  };
40714
+ unstable_location_id: {
40715
+ format: string;
40716
+ nullable: boolean;
40717
+ type: string;
40718
+ 'x-undocumented': string;
40719
+ };
39736
40720
  user_identifier_key: {
39737
40721
  description: string;
39738
40722
  type: string;
@@ -41306,11 +42290,765 @@ declare const _default: {
41306
42290
  console_session_with_workspace?: never;
41307
42291
  })[];
41308
42292
  summary: string;
41309
- tags: string[];
41310
- 'x-fern-ignore': boolean;
42293
+ tags: string[];
42294
+ 'x-fern-ignore': boolean;
42295
+ 'x-response-key': null;
42296
+ 'x-title': string;
42297
+ };
42298
+ post: {
42299
+ description: string;
42300
+ operationId: string;
42301
+ requestBody: {
42302
+ content: {
42303
+ 'application/json': {
42304
+ schema: {
42305
+ properties: {
42306
+ climate_preset_key: {
42307
+ description: string;
42308
+ type: string;
42309
+ };
42310
+ cooling_set_point_celsius: {
42311
+ description: string;
42312
+ format: string;
42313
+ type: string;
42314
+ };
42315
+ cooling_set_point_fahrenheit: {
42316
+ description: string;
42317
+ format: string;
42318
+ type: string;
42319
+ };
42320
+ device_id: {
42321
+ description: string;
42322
+ format: string;
42323
+ type: string;
42324
+ };
42325
+ fan_mode_setting: {
42326
+ description: string;
42327
+ enum: string[];
42328
+ type: string;
42329
+ };
42330
+ heating_set_point_celsius: {
42331
+ description: string;
42332
+ format: string;
42333
+ type: string;
42334
+ };
42335
+ heating_set_point_fahrenheit: {
42336
+ description: string;
42337
+ format: string;
42338
+ type: string;
42339
+ };
42340
+ hvac_mode_setting: {
42341
+ description: string;
42342
+ enum: string[];
42343
+ type: string;
42344
+ };
42345
+ manual_override_allowed: {
42346
+ deprecated: boolean;
42347
+ description: string;
42348
+ type: string;
42349
+ 'x-deprecated': string;
42350
+ };
42351
+ name: {
42352
+ default: null;
42353
+ description: string;
42354
+ nullable: boolean;
42355
+ type: string;
42356
+ };
42357
+ };
42358
+ required: string[];
42359
+ type: string;
42360
+ };
42361
+ };
42362
+ };
42363
+ };
42364
+ responses: {
42365
+ 200: {
42366
+ content: {
42367
+ 'application/json': {
42368
+ schema: {
42369
+ properties: {
42370
+ ok: {
42371
+ type: string;
42372
+ };
42373
+ };
42374
+ required: string[];
42375
+ type: string;
42376
+ };
42377
+ };
42378
+ };
42379
+ description: string;
42380
+ };
42381
+ 400: {
42382
+ description: string;
42383
+ };
42384
+ 401: {
42385
+ description: string;
42386
+ };
42387
+ };
42388
+ security: ({
42389
+ pat_with_workspace: never[];
42390
+ console_session_with_workspace?: never;
42391
+ api_key?: never;
42392
+ } | {
42393
+ console_session_with_workspace: never[];
42394
+ pat_with_workspace?: never;
42395
+ api_key?: never;
42396
+ } | {
42397
+ api_key: never[];
42398
+ pat_with_workspace?: never;
42399
+ console_session_with_workspace?: never;
42400
+ })[];
42401
+ summary: string;
42402
+ tags: string[];
42403
+ 'x-fern-sdk-group-name': string[];
42404
+ 'x-fern-sdk-method-name': string;
42405
+ 'x-response-key': null;
42406
+ 'x-title': string;
42407
+ };
42408
+ };
42409
+ '/unstable_locations/add_devices': {
42410
+ post: {
42411
+ description: string;
42412
+ operationId: string;
42413
+ requestBody: {
42414
+ content: {
42415
+ 'application/json': {
42416
+ schema: {
42417
+ properties: {
42418
+ device_ids: {
42419
+ items: {
42420
+ format: string;
42421
+ type: string;
42422
+ };
42423
+ type: string;
42424
+ };
42425
+ location_id: {
42426
+ format: string;
42427
+ type: string;
42428
+ };
42429
+ };
42430
+ required: string[];
42431
+ type: string;
42432
+ };
42433
+ };
42434
+ };
42435
+ };
42436
+ responses: {
42437
+ 200: {
42438
+ content: {
42439
+ 'application/json': {
42440
+ schema: {
42441
+ properties: {
42442
+ ok: {
42443
+ type: string;
42444
+ };
42445
+ };
42446
+ required: string[];
42447
+ type: string;
42448
+ };
42449
+ };
42450
+ };
42451
+ description: string;
42452
+ };
42453
+ 400: {
42454
+ description: string;
42455
+ };
42456
+ 401: {
42457
+ description: string;
42458
+ };
42459
+ };
42460
+ security: ({
42461
+ pat_with_workspace: never[];
42462
+ console_session_with_workspace?: never;
42463
+ api_key?: never;
42464
+ } | {
42465
+ console_session_with_workspace: never[];
42466
+ pat_with_workspace?: never;
42467
+ api_key?: never;
42468
+ } | {
42469
+ api_key: never[];
42470
+ pat_with_workspace?: never;
42471
+ console_session_with_workspace?: never;
42472
+ })[];
42473
+ summary: string;
42474
+ tags: never[];
42475
+ 'x-fern-sdk-group-name': string[];
42476
+ 'x-fern-sdk-method-name': string;
42477
+ 'x-response-key': null;
42478
+ 'x-title': string;
42479
+ 'x-undocumented': string;
42480
+ };
42481
+ };
42482
+ '/unstable_locations/create': {
42483
+ post: {
42484
+ description: string;
42485
+ operationId: string;
42486
+ requestBody: {
42487
+ content: {
42488
+ 'application/json': {
42489
+ schema: {
42490
+ properties: {
42491
+ geolocation: {
42492
+ properties: {
42493
+ latitude: {
42494
+ format: string;
42495
+ type: string;
42496
+ };
42497
+ longitude: {
42498
+ format: string;
42499
+ type: string;
42500
+ };
42501
+ };
42502
+ required: string[];
42503
+ type: string;
42504
+ };
42505
+ name: {
42506
+ type: string;
42507
+ };
42508
+ time_zone: {
42509
+ type: string;
42510
+ };
42511
+ };
42512
+ required: string[];
42513
+ type: string;
42514
+ };
42515
+ };
42516
+ };
42517
+ };
42518
+ responses: {
42519
+ 200: {
42520
+ content: {
42521
+ 'application/json': {
42522
+ schema: {
42523
+ properties: {
42524
+ location: {
42525
+ properties: {
42526
+ created_at: {
42527
+ description: string;
42528
+ format: string;
42529
+ type: string;
42530
+ };
42531
+ display_name: {
42532
+ description: string;
42533
+ type: string;
42534
+ };
42535
+ geolocation: {
42536
+ description: string;
42537
+ properties: {
42538
+ latitude: {
42539
+ format: string;
42540
+ type: string;
42541
+ };
42542
+ longitude: {
42543
+ format: string;
42544
+ type: string;
42545
+ };
42546
+ };
42547
+ required: string[];
42548
+ type: string;
42549
+ };
42550
+ location_id: {
42551
+ description: string;
42552
+ format: string;
42553
+ type: string;
42554
+ };
42555
+ time_zone: {
42556
+ description: string;
42557
+ type: string;
42558
+ };
42559
+ workspace_id: {
42560
+ description: string;
42561
+ format: string;
42562
+ type: string;
42563
+ };
42564
+ };
42565
+ required: string[];
42566
+ type: string;
42567
+ };
42568
+ ok: {
42569
+ type: string;
42570
+ };
42571
+ };
42572
+ required: string[];
42573
+ type: string;
42574
+ };
42575
+ };
42576
+ };
42577
+ description: string;
42578
+ };
42579
+ 400: {
42580
+ description: string;
42581
+ };
42582
+ 401: {
42583
+ description: string;
42584
+ };
42585
+ };
42586
+ security: ({
42587
+ pat_with_workspace: never[];
42588
+ console_session_with_workspace?: never;
42589
+ api_key?: never;
42590
+ } | {
42591
+ console_session_with_workspace: never[];
42592
+ pat_with_workspace?: never;
42593
+ api_key?: never;
42594
+ } | {
42595
+ api_key: never[];
42596
+ pat_with_workspace?: never;
42597
+ console_session_with_workspace?: never;
42598
+ })[];
42599
+ summary: string;
42600
+ tags: never[];
42601
+ 'x-fern-sdk-group-name': string[];
42602
+ 'x-fern-sdk-method-name': string;
42603
+ 'x-fern-sdk-return-value': string;
42604
+ 'x-response-key': string;
42605
+ 'x-title': string;
42606
+ 'x-undocumented': string;
42607
+ };
42608
+ };
42609
+ '/unstable_locations/delete': {
42610
+ post: {
42611
+ description: string;
42612
+ operationId: string;
42613
+ requestBody: {
42614
+ content: {
42615
+ 'application/json': {
42616
+ schema: {
42617
+ properties: {
42618
+ location_id: {
42619
+ format: string;
42620
+ type: string;
42621
+ };
42622
+ };
42623
+ required: string[];
42624
+ type: string;
42625
+ };
42626
+ };
42627
+ };
42628
+ };
42629
+ responses: {
42630
+ 200: {
42631
+ content: {
42632
+ 'application/json': {
42633
+ schema: {
42634
+ properties: {
42635
+ ok: {
42636
+ type: string;
42637
+ };
42638
+ };
42639
+ required: string[];
42640
+ type: string;
42641
+ };
42642
+ };
42643
+ };
42644
+ description: string;
42645
+ };
42646
+ 400: {
42647
+ description: string;
42648
+ };
42649
+ 401: {
42650
+ description: string;
42651
+ };
42652
+ };
42653
+ security: ({
42654
+ pat_with_workspace: never[];
42655
+ console_session_with_workspace?: never;
42656
+ api_key?: never;
42657
+ } | {
42658
+ console_session_with_workspace: never[];
42659
+ pat_with_workspace?: never;
42660
+ api_key?: never;
42661
+ } | {
42662
+ api_key: never[];
42663
+ pat_with_workspace?: never;
42664
+ console_session_with_workspace?: never;
42665
+ })[];
42666
+ summary: string;
42667
+ tags: never[];
42668
+ 'x-fern-sdk-group-name': string[];
42669
+ 'x-fern-sdk-method-name': string;
42670
+ 'x-response-key': null;
42671
+ 'x-title': string;
42672
+ 'x-undocumented': string;
42673
+ };
42674
+ };
42675
+ '/unstable_locations/get': {
42676
+ post: {
42677
+ description: string;
42678
+ operationId: string;
42679
+ requestBody: {
42680
+ content: {
42681
+ 'application/json': {
42682
+ schema: {
42683
+ properties: {
42684
+ location_id: {
42685
+ format: string;
42686
+ type: string;
42687
+ };
42688
+ };
42689
+ required: string[];
42690
+ type: string;
42691
+ };
42692
+ };
42693
+ };
42694
+ };
42695
+ responses: {
42696
+ 200: {
42697
+ content: {
42698
+ 'application/json': {
42699
+ schema: {
42700
+ properties: {
42701
+ location: {
42702
+ properties: {
42703
+ created_at: {
42704
+ description: string;
42705
+ format: string;
42706
+ type: string;
42707
+ };
42708
+ display_name: {
42709
+ description: string;
42710
+ type: string;
42711
+ };
42712
+ geolocation: {
42713
+ description: string;
42714
+ properties: {
42715
+ latitude: {
42716
+ format: string;
42717
+ type: string;
42718
+ };
42719
+ longitude: {
42720
+ format: string;
42721
+ type: string;
42722
+ };
42723
+ };
42724
+ required: string[];
42725
+ type: string;
42726
+ };
42727
+ location_id: {
42728
+ description: string;
42729
+ format: string;
42730
+ type: string;
42731
+ };
42732
+ time_zone: {
42733
+ description: string;
42734
+ type: string;
42735
+ };
42736
+ workspace_id: {
42737
+ description: string;
42738
+ format: string;
42739
+ type: string;
42740
+ };
42741
+ };
42742
+ required: string[];
42743
+ type: string;
42744
+ };
42745
+ ok: {
42746
+ type: string;
42747
+ };
42748
+ };
42749
+ required: string[];
42750
+ type: string;
42751
+ };
42752
+ };
42753
+ };
42754
+ description: string;
42755
+ };
42756
+ 400: {
42757
+ description: string;
42758
+ };
42759
+ 401: {
42760
+ description: string;
42761
+ };
42762
+ };
42763
+ security: ({
42764
+ pat_with_workspace: never[];
42765
+ console_session_with_workspace?: never;
42766
+ api_key?: never;
42767
+ } | {
42768
+ console_session_with_workspace: never[];
42769
+ pat_with_workspace?: never;
42770
+ api_key?: never;
42771
+ } | {
42772
+ api_key: never[];
42773
+ pat_with_workspace?: never;
42774
+ console_session_with_workspace?: never;
42775
+ })[];
42776
+ summary: string;
42777
+ tags: never[];
42778
+ 'x-fern-sdk-group-name': string[];
42779
+ 'x-fern-sdk-method-name': string;
42780
+ 'x-fern-sdk-return-value': string;
42781
+ 'x-response-key': string;
42782
+ 'x-title': string;
42783
+ 'x-undocumented': string;
42784
+ };
42785
+ };
42786
+ '/unstable_locations/list': {
42787
+ get: {
42788
+ description: string;
42789
+ operationId: string;
42790
+ responses: {
42791
+ 200: {
42792
+ content: {
42793
+ 'application/json': {
42794
+ schema: {
42795
+ properties: {
42796
+ locations: {
42797
+ items: {
42798
+ properties: {
42799
+ created_at: {
42800
+ description: string;
42801
+ format: string;
42802
+ type: string;
42803
+ };
42804
+ display_name: {
42805
+ description: string;
42806
+ type: string;
42807
+ };
42808
+ geolocation: {
42809
+ description: string;
42810
+ properties: {
42811
+ latitude: {
42812
+ format: string;
42813
+ type: string;
42814
+ };
42815
+ longitude: {
42816
+ format: string;
42817
+ type: string;
42818
+ };
42819
+ };
42820
+ required: string[];
42821
+ type: string;
42822
+ };
42823
+ location_id: {
42824
+ description: string;
42825
+ format: string;
42826
+ type: string;
42827
+ };
42828
+ time_zone: {
42829
+ description: string;
42830
+ type: string;
42831
+ };
42832
+ workspace_id: {
42833
+ description: string;
42834
+ format: string;
42835
+ type: string;
42836
+ };
42837
+ };
42838
+ required: string[];
42839
+ type: string;
42840
+ };
42841
+ type: string;
42842
+ };
42843
+ ok: {
42844
+ type: string;
42845
+ };
42846
+ };
42847
+ required: string[];
42848
+ type: string;
42849
+ };
42850
+ };
42851
+ };
42852
+ description: string;
42853
+ };
42854
+ 400: {
42855
+ description: string;
42856
+ };
42857
+ 401: {
42858
+ description: string;
42859
+ };
42860
+ };
42861
+ security: ({
42862
+ pat_with_workspace: never[];
42863
+ console_session_with_workspace?: never;
42864
+ api_key?: never;
42865
+ } | {
42866
+ console_session_with_workspace: never[];
42867
+ pat_with_workspace?: never;
42868
+ api_key?: never;
42869
+ } | {
42870
+ api_key: never[];
42871
+ pat_with_workspace?: never;
42872
+ console_session_with_workspace?: never;
42873
+ })[];
42874
+ summary: string;
42875
+ tags: never[];
42876
+ 'x-fern-ignore': boolean;
42877
+ 'x-response-key': string;
42878
+ 'x-title': string;
42879
+ 'x-undocumented': string;
42880
+ };
42881
+ post: {
42882
+ description: string;
42883
+ operationId: string;
42884
+ responses: {
42885
+ 200: {
42886
+ content: {
42887
+ 'application/json': {
42888
+ schema: {
42889
+ properties: {
42890
+ locations: {
42891
+ items: {
42892
+ properties: {
42893
+ created_at: {
42894
+ description: string;
42895
+ format: string;
42896
+ type: string;
42897
+ };
42898
+ display_name: {
42899
+ description: string;
42900
+ type: string;
42901
+ };
42902
+ geolocation: {
42903
+ description: string;
42904
+ properties: {
42905
+ latitude: {
42906
+ format: string;
42907
+ type: string;
42908
+ };
42909
+ longitude: {
42910
+ format: string;
42911
+ type: string;
42912
+ };
42913
+ };
42914
+ required: string[];
42915
+ type: string;
42916
+ };
42917
+ location_id: {
42918
+ description: string;
42919
+ format: string;
42920
+ type: string;
42921
+ };
42922
+ time_zone: {
42923
+ description: string;
42924
+ type: string;
42925
+ };
42926
+ workspace_id: {
42927
+ description: string;
42928
+ format: string;
42929
+ type: string;
42930
+ };
42931
+ };
42932
+ required: string[];
42933
+ type: string;
42934
+ };
42935
+ type: string;
42936
+ };
42937
+ ok: {
42938
+ type: string;
42939
+ };
42940
+ };
42941
+ required: string[];
42942
+ type: string;
42943
+ };
42944
+ };
42945
+ };
42946
+ description: string;
42947
+ };
42948
+ 400: {
42949
+ description: string;
42950
+ };
42951
+ 401: {
42952
+ description: string;
42953
+ };
42954
+ };
42955
+ security: ({
42956
+ pat_with_workspace: never[];
42957
+ console_session_with_workspace?: never;
42958
+ api_key?: never;
42959
+ } | {
42960
+ console_session_with_workspace: never[];
42961
+ pat_with_workspace?: never;
42962
+ api_key?: never;
42963
+ } | {
42964
+ api_key: never[];
42965
+ pat_with_workspace?: never;
42966
+ console_session_with_workspace?: never;
42967
+ })[];
42968
+ summary: string;
42969
+ tags: never[];
42970
+ 'x-fern-sdk-group-name': string[];
42971
+ 'x-fern-sdk-method-name': string;
42972
+ 'x-fern-sdk-return-value': string;
42973
+ 'x-response-key': string;
42974
+ 'x-title': string;
42975
+ 'x-undocumented': string;
42976
+ };
42977
+ };
42978
+ '/unstable_locations/remove_devices': {
42979
+ post: {
42980
+ description: string;
42981
+ operationId: string;
42982
+ requestBody: {
42983
+ content: {
42984
+ 'application/json': {
42985
+ schema: {
42986
+ properties: {
42987
+ device_ids: {
42988
+ items: {
42989
+ format: string;
42990
+ type: string;
42991
+ };
42992
+ type: string;
42993
+ };
42994
+ location_id: {
42995
+ format: string;
42996
+ type: string;
42997
+ };
42998
+ };
42999
+ required: string[];
43000
+ type: string;
43001
+ };
43002
+ };
43003
+ };
43004
+ };
43005
+ responses: {
43006
+ 200: {
43007
+ content: {
43008
+ 'application/json': {
43009
+ schema: {
43010
+ properties: {
43011
+ ok: {
43012
+ type: string;
43013
+ };
43014
+ };
43015
+ required: string[];
43016
+ type: string;
43017
+ };
43018
+ };
43019
+ };
43020
+ description: string;
43021
+ };
43022
+ 400: {
43023
+ description: string;
43024
+ };
43025
+ 401: {
43026
+ description: string;
43027
+ };
43028
+ };
43029
+ security: ({
43030
+ pat_with_workspace: never[];
43031
+ console_session_with_workspace?: never;
43032
+ api_key?: never;
43033
+ } | {
43034
+ console_session_with_workspace: never[];
43035
+ pat_with_workspace?: never;
43036
+ api_key?: never;
43037
+ } | {
43038
+ api_key: never[];
43039
+ pat_with_workspace?: never;
43040
+ console_session_with_workspace?: never;
43041
+ })[];
43042
+ summary: string;
43043
+ tags: never[];
43044
+ 'x-fern-sdk-group-name': string[];
43045
+ 'x-fern-sdk-method-name': string;
41311
43046
  'x-response-key': null;
41312
43047
  'x-title': string;
43048
+ 'x-undocumented': string;
41313
43049
  };
43050
+ };
43051
+ '/unstable_locations/update': {
41314
43052
  post: {
41315
43053
  description: string;
41316
43054
  operationId: string;
@@ -41319,55 +43057,28 @@ declare const _default: {
41319
43057
  'application/json': {
41320
43058
  schema: {
41321
43059
  properties: {
41322
- climate_preset_key: {
41323
- description: string;
41324
- type: string;
41325
- };
41326
- cooling_set_point_celsius: {
41327
- description: string;
41328
- format: string;
41329
- type: string;
41330
- };
41331
- cooling_set_point_fahrenheit: {
41332
- description: string;
41333
- format: string;
41334
- type: string;
41335
- };
41336
- device_id: {
41337
- description: string;
41338
- format: string;
41339
- type: string;
41340
- };
41341
- fan_mode_setting: {
41342
- description: string;
41343
- enum: string[];
41344
- type: string;
41345
- };
41346
- heating_set_point_celsius: {
41347
- description: string;
41348
- format: string;
43060
+ geolocation: {
43061
+ properties: {
43062
+ latitude: {
43063
+ format: string;
43064
+ type: string;
43065
+ };
43066
+ longitude: {
43067
+ format: string;
43068
+ type: string;
43069
+ };
43070
+ };
43071
+ required: string[];
41349
43072
  type: string;
41350
43073
  };
41351
- heating_set_point_fahrenheit: {
41352
- description: string;
43074
+ location_id: {
41353
43075
  format: string;
41354
43076
  type: string;
41355
43077
  };
41356
- hvac_mode_setting: {
41357
- description: string;
41358
- enum: string[];
41359
- type: string;
41360
- };
41361
- manual_override_allowed: {
41362
- deprecated: boolean;
41363
- description: string;
43078
+ name: {
41364
43079
  type: string;
41365
- 'x-deprecated': string;
41366
43080
  };
41367
- name: {
41368
- default: null;
41369
- description: string;
41370
- nullable: boolean;
43081
+ time_zone: {
41371
43082
  type: string;
41372
43083
  };
41373
43084
  };
@@ -41383,6 +43094,50 @@ declare const _default: {
41383
43094
  'application/json': {
41384
43095
  schema: {
41385
43096
  properties: {
43097
+ location: {
43098
+ properties: {
43099
+ created_at: {
43100
+ description: string;
43101
+ format: string;
43102
+ type: string;
43103
+ };
43104
+ display_name: {
43105
+ description: string;
43106
+ type: string;
43107
+ };
43108
+ geolocation: {
43109
+ description: string;
43110
+ properties: {
43111
+ latitude: {
43112
+ format: string;
43113
+ type: string;
43114
+ };
43115
+ longitude: {
43116
+ format: string;
43117
+ type: string;
43118
+ };
43119
+ };
43120
+ required: string[];
43121
+ type: string;
43122
+ };
43123
+ location_id: {
43124
+ description: string;
43125
+ format: string;
43126
+ type: string;
43127
+ };
43128
+ time_zone: {
43129
+ description: string;
43130
+ type: string;
43131
+ };
43132
+ workspace_id: {
43133
+ description: string;
43134
+ format: string;
43135
+ type: string;
43136
+ };
43137
+ };
43138
+ required: string[];
43139
+ type: string;
43140
+ };
41386
43141
  ok: {
41387
43142
  type: string;
41388
43143
  };
@@ -41415,11 +43170,13 @@ declare const _default: {
41415
43170
  console_session_with_workspace?: never;
41416
43171
  })[];
41417
43172
  summary: string;
41418
- tags: string[];
43173
+ tags: never[];
41419
43174
  'x-fern-sdk-group-name': string[];
41420
43175
  'x-fern-sdk-method-name': string;
41421
- 'x-response-key': null;
43176
+ 'x-fern-sdk-return-value': string;
43177
+ 'x-response-key': string;
41422
43178
  'x-title': string;
43179
+ 'x-undocumented': string;
41423
43180
  };
41424
43181
  };
41425
43182
  '/user_identities/add_acs_user': {
@@ -50799,6 +52556,54 @@ interface Routes {
50799
52556
  message: string;
50800
52557
  error_code: 'failed_to_delete_on_acs_system';
50801
52558
  }>;
52559
+ /** */
52560
+ pending_modifications?: Array<{
52561
+ created_at: string;
52562
+ modification_code: 'profile';
52563
+ modified_from: {
52564
+ email_address?: (string | null) | undefined;
52565
+ full_name?: (string | null) | undefined;
52566
+ phone_number?: ((string | undefined) | null) | undefined;
52567
+ };
52568
+ modified_to: {
52569
+ email_address?: (string | null) | undefined;
52570
+ full_name?: (string | null) | undefined;
52571
+ phone_number?: ((string | undefined) | null) | undefined;
52572
+ };
52573
+ } | {
52574
+ created_at: string;
52575
+ modification_code: 'access_schedule';
52576
+ modified_from: {
52577
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
52578
+ starts_at: string;
52579
+ /** 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. */
52580
+ ends_at: string | null;
52581
+ };
52582
+ modified_to: {
52583
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
52584
+ starts_at: string;
52585
+ /** 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. */
52586
+ ends_at: string | null;
52587
+ };
52588
+ } | {
52589
+ created_at: string;
52590
+ modification_code: 'suspension_state';
52591
+ modified_from: {
52592
+ is_suspended: boolean;
52593
+ };
52594
+ modified_to: {
52595
+ is_suspended: boolean;
52596
+ };
52597
+ } | {
52598
+ created_at: string;
52599
+ modification_code: 'acs_access_group_membership';
52600
+ modified_from: {
52601
+ acs_access_group_id: string | null;
52602
+ };
52603
+ modified_to: {
52604
+ acs_access_group_id: string | null;
52605
+ };
52606
+ }> | undefined;
50802
52607
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
50803
52608
  full_name?: string | undefined;
50804
52609
  /**
@@ -54982,6 +56787,54 @@ interface Routes {
54982
56787
  message: string;
54983
56788
  error_code: 'failed_to_delete_on_acs_system';
54984
56789
  }>;
56790
+ /** */
56791
+ pending_modifications?: Array<{
56792
+ created_at: string;
56793
+ modification_code: 'profile';
56794
+ modified_from: {
56795
+ email_address?: (string | null) | undefined;
56796
+ full_name?: (string | null) | undefined;
56797
+ phone_number?: ((string | undefined) | null) | undefined;
56798
+ };
56799
+ modified_to: {
56800
+ email_address?: (string | null) | undefined;
56801
+ full_name?: (string | null) | undefined;
56802
+ phone_number?: ((string | undefined) | null) | undefined;
56803
+ };
56804
+ } | {
56805
+ created_at: string;
56806
+ modification_code: 'access_schedule';
56807
+ modified_from: {
56808
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56809
+ starts_at: string;
56810
+ /** 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. */
56811
+ ends_at: string | null;
56812
+ };
56813
+ modified_to: {
56814
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56815
+ starts_at: string;
56816
+ /** 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. */
56817
+ ends_at: string | null;
56818
+ };
56819
+ } | {
56820
+ created_at: string;
56821
+ modification_code: 'suspension_state';
56822
+ modified_from: {
56823
+ is_suspended: boolean;
56824
+ };
56825
+ modified_to: {
56826
+ is_suspended: boolean;
56827
+ };
56828
+ } | {
56829
+ created_at: string;
56830
+ modification_code: 'acs_access_group_membership';
56831
+ modified_from: {
56832
+ acs_access_group_id: string | null;
56833
+ };
56834
+ modified_to: {
56835
+ acs_access_group_id: string | null;
56836
+ };
56837
+ }> | undefined;
54985
56838
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
54986
56839
  full_name?: string | undefined;
54987
56840
  /**
@@ -55108,132 +56961,228 @@ interface Routes {
55108
56961
  message: string;
55109
56962
  error_code: 'failed_to_delete_on_acs_system';
55110
56963
  }>;
55111
- /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55112
- full_name?: string | undefined;
55113
- /**
55114
- * @deprecated use email_address. */
55115
- email?: string | undefined;
55116
- /** Email address of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55117
- email_address?: string | undefined;
55118
- /** Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`). */
55119
- phone_number?: string | undefined;
55120
- is_managed: true;
55121
- };
55122
- };
55123
- };
55124
- '/acs/users/list': {
55125
- route: '/acs/users/list';
55126
- method: 'GET' | 'POST';
55127
- queryParams: {};
55128
- jsonBody: {};
55129
- commonParams: {
55130
- /** ID of the user identity for which you want to retrieve all `acs_user`s. */
55131
- user_identity_id?: string | undefined;
55132
- /** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
55133
- user_identity_phone_number?: string | undefined;
55134
- /** Email address of the user identity for which you want to retrieve all `acs_user`s. */
55135
- user_identity_email_address?: string | undefined;
55136
- /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
55137
- acs_system_id?: string | undefined;
55138
- /** String for which to search. Filters returned `acs_user`s to include all records that satisfy a partial match using `full_name`, `phone_number`, or `email_address`. */
55139
- search?: string | undefined;
55140
- /** Maximum number of records to return per page. */
55141
- limit?: number;
55142
- created_before?: Date | undefined;
55143
- /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
55144
- page_cursor?: (string | undefined) | null;
55145
- };
55146
- formData: {};
55147
- jsonResponse: {
55148
- acs_users: Array<{
55149
- /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55150
- acs_user_id: string;
55151
- /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55152
- acs_system_id: string;
55153
- hid_acs_system_id?: string | undefined;
55154
- /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55155
- workspace_id: string;
55156
- /** Date and time at which the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created. */
55157
- created_at: string;
55158
- /** Display name for the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55159
- display_name: string;
55160
- /** Brand-specific terminology for the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) type. */
55161
- external_type?: ('pti_user' | 'brivo_user' | 'hid_credential_manager_user' | 'salto_site_user' | 'latch_user' | 'dormakaba_community_user' | 'salto_space_user') | undefined;
55162
- /** Display name that corresponds to the brand-specific terminology for the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) type. */
55163
- external_type_display_name?: string | undefined;
55164
- /** Indicates whether the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
55165
- is_suspended?: boolean | undefined;
55166
- /** `starts_at` and `ends_at` timestamps for the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) access. */
55167
- access_schedule?: {
55168
- /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
55169
- starts_at: string;
55170
- /** 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. */
55171
- ends_at: string | null;
55172
- } | undefined;
55173
- /** ID of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55174
- user_identity_id?: string | undefined;
55175
- /** Full name of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55176
- user_identity_full_name?: (string | null) | undefined;
55177
- /** Email address of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55178
- user_identity_email_address?: (string | null) | undefined;
55179
- /** Phone number of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`). */
55180
- user_identity_phone_number?: (string | null) | undefined;
55181
56964
  /** */
55182
- latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
55183
- /** */
55184
- is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
55185
- /** Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55186
- warnings: Array<{
55187
- /** Date and time at which Seam created the warning. */
55188
- created_at: string;
55189
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55190
- message: string;
55191
- warning_code: 'being_deleted';
55192
- } | {
55193
- /** Date and time at which Seam created the warning. */
55194
- created_at: string;
55195
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55196
- message: string;
55197
- warning_code: 'salto_ks_user_not_subscribed';
55198
- } | {
55199
- /** Date and time at which Seam created the warning. */
56965
+ pending_modifications?: Array<{
56966
+ created_at: string;
56967
+ modification_code: 'profile';
56968
+ modified_from: {
56969
+ email_address?: (string | null) | undefined;
56970
+ full_name?: (string | null) | undefined;
56971
+ phone_number?: ((string | undefined) | null) | undefined;
56972
+ };
56973
+ modified_to: {
56974
+ email_address?: (string | null) | undefined;
56975
+ full_name?: (string | null) | undefined;
56976
+ phone_number?: ((string | undefined) | null) | undefined;
56977
+ };
56978
+ } | {
56979
+ created_at: string;
56980
+ modification_code: 'access_schedule';
56981
+ modified_from: {
56982
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56983
+ starts_at: string;
56984
+ /** 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. */
56985
+ ends_at: string | null;
56986
+ };
56987
+ modified_to: {
56988
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
56989
+ starts_at: string;
56990
+ /** 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. */
56991
+ ends_at: string | null;
56992
+ };
56993
+ } | {
56994
+ created_at: string;
56995
+ modification_code: 'suspension_state';
56996
+ modified_from: {
56997
+ is_suspended: boolean;
56998
+ };
56999
+ modified_to: {
57000
+ is_suspended: boolean;
57001
+ };
57002
+ } | {
57003
+ created_at: string;
57004
+ modification_code: 'acs_access_group_membership';
57005
+ modified_from: {
57006
+ acs_access_group_id: string | null;
57007
+ };
57008
+ modified_to: {
57009
+ acs_access_group_id: string | null;
57010
+ };
57011
+ }> | undefined;
57012
+ /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57013
+ full_name?: string | undefined;
57014
+ /**
57015
+ * @deprecated use email_address. */
57016
+ email?: string | undefined;
57017
+ /** Email address of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57018
+ email_address?: string | undefined;
57019
+ /** Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`). */
57020
+ phone_number?: string | undefined;
57021
+ is_managed: true;
57022
+ };
57023
+ };
57024
+ };
57025
+ '/acs/users/list': {
57026
+ route: '/acs/users/list';
57027
+ method: 'GET' | 'POST';
57028
+ queryParams: {};
57029
+ jsonBody: {};
57030
+ commonParams: {
57031
+ /** ID of the user identity for which you want to retrieve all `acs_user`s. */
57032
+ user_identity_id?: string | undefined;
57033
+ /** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
57034
+ user_identity_phone_number?: string | undefined;
57035
+ /** Email address of the user identity for which you want to retrieve all `acs_user`s. */
57036
+ user_identity_email_address?: string | undefined;
57037
+ /** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
57038
+ acs_system_id?: string | undefined;
57039
+ /** String for which to search. Filters returned `acs_user`s to include all records that satisfy a partial match using `full_name`, `phone_number`, or `email_address`. */
57040
+ search?: string | undefined;
57041
+ /** Maximum number of records to return per page. */
57042
+ limit?: number;
57043
+ created_before?: Date | undefined;
57044
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
57045
+ page_cursor?: (string | undefined) | null;
57046
+ };
57047
+ formData: {};
57048
+ jsonResponse: {
57049
+ acs_users: Array<{
57050
+ /** ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57051
+ acs_user_id: string;
57052
+ /** ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57053
+ acs_system_id: string;
57054
+ hid_acs_system_id?: string | undefined;
57055
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57056
+ workspace_id: string;
57057
+ /** Date and time at which the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created. */
57058
+ created_at: string;
57059
+ /** Display name for the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57060
+ display_name: string;
57061
+ /** Brand-specific terminology for the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) type. */
57062
+ external_type?: ('pti_user' | 'brivo_user' | 'hid_credential_manager_user' | 'salto_site_user' | 'latch_user' | 'dormakaba_community_user' | 'salto_space_user') | undefined;
57063
+ /** Display name that corresponds to the brand-specific terminology for the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) type. */
57064
+ external_type_display_name?: string | undefined;
57065
+ /** Indicates whether the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
57066
+ is_suspended?: boolean | undefined;
57067
+ /** `starts_at` and `ends_at` timestamps for the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) access. */
57068
+ access_schedule?: {
57069
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57070
+ starts_at: string;
57071
+ /** 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. */
57072
+ ends_at: string | null;
57073
+ } | undefined;
57074
+ /** ID of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57075
+ user_identity_id?: string | undefined;
57076
+ /** Full name of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57077
+ user_identity_full_name?: (string | null) | undefined;
57078
+ /** Email address of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57079
+ user_identity_email_address?: (string | null) | undefined;
57080
+ /** Phone number of the user identity associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`). */
57081
+ user_identity_phone_number?: (string | null) | undefined;
57082
+ /** */
57083
+ latest_desired_state_synced_with_provider_at?: (string | null) | undefined;
57084
+ /** */
57085
+ is_latest_desired_state_synced_with_provider?: (boolean | null) | undefined;
57086
+ /** Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57087
+ warnings: Array<{
57088
+ /** Date and time at which Seam created the warning. */
57089
+ created_at: string;
57090
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57091
+ message: string;
57092
+ warning_code: 'being_deleted';
57093
+ } | {
57094
+ /** Date and time at which Seam created the warning. */
57095
+ created_at: string;
57096
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57097
+ message: string;
57098
+ warning_code: 'salto_ks_user_not_subscribed';
57099
+ } | {
57100
+ /** Date and time at which Seam created the warning. */
57101
+ created_at: string;
57102
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
57103
+ message: string;
57104
+ warning_code: 'unknown_issue_with_acs_user';
57105
+ }>;
57106
+ /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
57107
+ errors: Array<{
57108
+ /** Date and time at which Seam created the error. */
57109
+ created_at: string;
57110
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57111
+ message: string;
57112
+ error_code: 'deleted_externally';
57113
+ } | {
57114
+ /** Date and time at which Seam created the error. */
57115
+ created_at: string;
57116
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57117
+ message: string;
57118
+ error_code: 'salto_ks_subscription_limit_exceeded';
57119
+ } | {
57120
+ /** Date and time at which Seam created the error. */
57121
+ created_at: string;
57122
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57123
+ message: string;
57124
+ error_code: 'failed_to_create_on_acs_system';
57125
+ } | {
57126
+ /** Date and time at which Seam created the error. */
57127
+ created_at: string;
57128
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57129
+ message: string;
57130
+ error_code: 'failed_to_update_on_acs_system';
57131
+ } | {
57132
+ /** Date and time at which Seam created the error. */
57133
+ created_at: string;
57134
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57135
+ message: string;
57136
+ error_code: 'failed_to_delete_on_acs_system';
57137
+ }>;
57138
+ /** */
57139
+ pending_modifications?: Array<{
55200
57140
  created_at: string;
55201
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
55202
- message: string;
55203
- warning_code: 'unknown_issue_with_acs_user';
55204
- }>;
55205
- /** Errors associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55206
- errors: Array<{
55207
- /** Date and time at which Seam created the error. */
55208
- created_at: string;
55209
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55210
- message: string;
55211
- error_code: 'deleted_externally';
55212
- } | {
55213
- /** Date and time at which Seam created the error. */
55214
- created_at: string;
55215
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55216
- message: string;
55217
- error_code: 'salto_ks_subscription_limit_exceeded';
57141
+ modification_code: 'profile';
57142
+ modified_from: {
57143
+ email_address?: (string | null) | undefined;
57144
+ full_name?: (string | null) | undefined;
57145
+ phone_number?: ((string | undefined) | null) | undefined;
57146
+ };
57147
+ modified_to: {
57148
+ email_address?: (string | null) | undefined;
57149
+ full_name?: (string | null) | undefined;
57150
+ phone_number?: ((string | undefined) | null) | undefined;
57151
+ };
55218
57152
  } | {
55219
- /** Date and time at which Seam created the error. */
55220
57153
  created_at: string;
55221
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55222
- message: string;
55223
- error_code: 'failed_to_create_on_acs_system';
57154
+ modification_code: 'access_schedule';
57155
+ modified_from: {
57156
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57157
+ starts_at: string;
57158
+ /** 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. */
57159
+ ends_at: string | null;
57160
+ };
57161
+ modified_to: {
57162
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57163
+ starts_at: string;
57164
+ /** 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. */
57165
+ ends_at: string | null;
57166
+ };
55224
57167
  } | {
55225
- /** Date and time at which Seam created the error. */
55226
57168
  created_at: string;
55227
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55228
- message: string;
55229
- error_code: 'failed_to_update_on_acs_system';
57169
+ modification_code: 'suspension_state';
57170
+ modified_from: {
57171
+ is_suspended: boolean;
57172
+ };
57173
+ modified_to: {
57174
+ is_suspended: boolean;
57175
+ };
55230
57176
  } | {
55231
- /** Date and time at which Seam created the error. */
55232
57177
  created_at: string;
55233
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
55234
- message: string;
55235
- error_code: 'failed_to_delete_on_acs_system';
55236
- }>;
57178
+ modification_code: 'acs_access_group_membership';
57179
+ modified_from: {
57180
+ acs_access_group_id: string | null;
57181
+ };
57182
+ modified_to: {
57183
+ acs_access_group_id: string | null;
57184
+ };
57185
+ }> | undefined;
55237
57186
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55238
57187
  full_name?: string | undefined;
55239
57188
  /**
@@ -55469,6 +57418,54 @@ interface Routes {
55469
57418
  message: string;
55470
57419
  error_code: 'failed_to_delete_on_acs_system';
55471
57420
  }>;
57421
+ /** */
57422
+ pending_modifications?: Array<{
57423
+ created_at: string;
57424
+ modification_code: 'profile';
57425
+ modified_from: {
57426
+ email_address?: (string | null) | undefined;
57427
+ full_name?: (string | null) | undefined;
57428
+ phone_number?: ((string | undefined) | null) | undefined;
57429
+ };
57430
+ modified_to: {
57431
+ email_address?: (string | null) | undefined;
57432
+ full_name?: (string | null) | undefined;
57433
+ phone_number?: ((string | undefined) | null) | undefined;
57434
+ };
57435
+ } | {
57436
+ created_at: string;
57437
+ modification_code: 'access_schedule';
57438
+ modified_from: {
57439
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57440
+ starts_at: string;
57441
+ /** 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. */
57442
+ ends_at: string | null;
57443
+ };
57444
+ modified_to: {
57445
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57446
+ starts_at: string;
57447
+ /** 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. */
57448
+ ends_at: string | null;
57449
+ };
57450
+ } | {
57451
+ created_at: string;
57452
+ modification_code: 'suspension_state';
57453
+ modified_from: {
57454
+ is_suspended: boolean;
57455
+ };
57456
+ modified_to: {
57457
+ is_suspended: boolean;
57458
+ };
57459
+ } | {
57460
+ created_at: string;
57461
+ modification_code: 'acs_access_group_membership';
57462
+ modified_from: {
57463
+ acs_access_group_id: string | null;
57464
+ };
57465
+ modified_to: {
57466
+ acs_access_group_id: string | null;
57467
+ };
57468
+ }> | undefined;
55472
57469
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55473
57470
  full_name?: string | undefined;
55474
57471
  /**
@@ -55585,6 +57582,54 @@ interface Routes {
55585
57582
  message: string;
55586
57583
  error_code: 'failed_to_delete_on_acs_system';
55587
57584
  }>;
57585
+ /** */
57586
+ pending_modifications?: Array<{
57587
+ created_at: string;
57588
+ modification_code: 'profile';
57589
+ modified_from: {
57590
+ email_address?: (string | null) | undefined;
57591
+ full_name?: (string | null) | undefined;
57592
+ phone_number?: ((string | undefined) | null) | undefined;
57593
+ };
57594
+ modified_to: {
57595
+ email_address?: (string | null) | undefined;
57596
+ full_name?: (string | null) | undefined;
57597
+ phone_number?: ((string | undefined) | null) | undefined;
57598
+ };
57599
+ } | {
57600
+ created_at: string;
57601
+ modification_code: 'access_schedule';
57602
+ modified_from: {
57603
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57604
+ starts_at: string;
57605
+ /** 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. */
57606
+ ends_at: string | null;
57607
+ };
57608
+ modified_to: {
57609
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
57610
+ starts_at: string;
57611
+ /** 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. */
57612
+ ends_at: string | null;
57613
+ };
57614
+ } | {
57615
+ created_at: string;
57616
+ modification_code: 'suspension_state';
57617
+ modified_from: {
57618
+ is_suspended: boolean;
57619
+ };
57620
+ modified_to: {
57621
+ is_suspended: boolean;
57622
+ };
57623
+ } | {
57624
+ created_at: string;
57625
+ modification_code: 'acs_access_group_membership';
57626
+ modified_from: {
57627
+ acs_access_group_id: string | null;
57628
+ };
57629
+ modified_to: {
57630
+ acs_access_group_id: string | null;
57631
+ };
57632
+ }> | undefined;
55588
57633
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
55589
57634
  full_name?: string | undefined;
55590
57635
  /**
@@ -58767,6 +60812,8 @@ interface Routes {
58767
60812
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
58768
60813
  /** */
58769
60814
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
60815
+ /** */
60816
+ unstable_location_id?: (string | null) | undefined;
58770
60817
  };
58771
60818
  formData: {};
58772
60819
  jsonResponse: {
@@ -59822,6 +61869,8 @@ interface Routes {
59822
61869
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
59823
61870
  /** */
59824
61871
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
61872
+ /** */
61873
+ unstable_location_id?: (string | null) | undefined;
59825
61874
  };
59826
61875
  formData: {};
59827
61876
  jsonResponse: {
@@ -64037,6 +66086,8 @@ interface Routes {
64037
66086
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
64038
66087
  /** */
64039
66088
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
66089
+ /** */
66090
+ unstable_location_id?: (string | null) | undefined;
64040
66091
  };
64041
66092
  formData: {};
64042
66093
  jsonResponse: {
@@ -67269,6 +69320,8 @@ interface Routes {
67269
69320
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
67270
69321
  /** */
67271
69322
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
69323
+ /** */
69324
+ unstable_location_id?: (string | null) | undefined;
67272
69325
  };
67273
69326
  formData: {};
67274
69327
  jsonResponse: {
@@ -76070,6 +78123,8 @@ interface Routes {
76070
78123
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
76071
78124
  /** */
76072
78125
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_offline_access_codes' | 'can_program_online_access_codes' | 'can_hvac_heat' | 'can_hvac_cool' | 'can_hvac_heat_cool' | 'can_turn_off_hvac' | 'can_simulate_removal' | 'can_simulate_connection' | 'can_simulate_disconnection'> | undefined;
78126
+ /** */
78127
+ unstable_location_id?: (string | null) | undefined;
76073
78128
  };
76074
78129
  formData: {};
76075
78130
  jsonResponse: {
@@ -80462,6 +82517,166 @@ interface Routes {
80462
82517
  formData: {};
80463
82518
  jsonResponse: {};
80464
82519
  };
82520
+ '/unstable_locations/add_devices': {
82521
+ route: '/unstable_locations/add_devices';
82522
+ method: 'POST';
82523
+ queryParams: {};
82524
+ jsonBody: {
82525
+ location_id: string;
82526
+ device_ids: string[];
82527
+ };
82528
+ commonParams: {};
82529
+ formData: {};
82530
+ jsonResponse: {};
82531
+ };
82532
+ '/unstable_locations/create': {
82533
+ route: '/unstable_locations/create';
82534
+ method: 'POST';
82535
+ queryParams: {};
82536
+ jsonBody: {
82537
+ name: string;
82538
+ geolocation?: {
82539
+ latitude: number;
82540
+ longitude: number;
82541
+ } | undefined;
82542
+ time_zone?: string | undefined;
82543
+ };
82544
+ commonParams: {};
82545
+ formData: {};
82546
+ jsonResponse: {
82547
+ location: {
82548
+ /** Unique identifier for the location. */
82549
+ location_id: string;
82550
+ /** Unique identifier for the Seam workspace associated with the location. */
82551
+ workspace_id: string;
82552
+ /** Display name of the location. */
82553
+ display_name: string;
82554
+ /** Geographical location of the location. */
82555
+ geolocation?: {
82556
+ latitude: number;
82557
+ longitude: number;
82558
+ } | undefined;
82559
+ /** Time zone of the location. */
82560
+ time_zone?: string | undefined;
82561
+ /** Date and time at which the location object was created. */
82562
+ created_at: string;
82563
+ };
82564
+ };
82565
+ };
82566
+ '/unstable_locations/delete': {
82567
+ route: '/unstable_locations/delete';
82568
+ method: 'DELETE' | 'POST';
82569
+ queryParams: {};
82570
+ jsonBody: {
82571
+ location_id: string;
82572
+ };
82573
+ commonParams: {};
82574
+ formData: {};
82575
+ jsonResponse: {};
82576
+ };
82577
+ '/unstable_locations/get': {
82578
+ route: '/unstable_locations/get';
82579
+ method: 'GET' | 'POST';
82580
+ queryParams: {};
82581
+ jsonBody: {};
82582
+ commonParams: {
82583
+ location_id: string;
82584
+ };
82585
+ formData: {};
82586
+ jsonResponse: {
82587
+ location: {
82588
+ /** Unique identifier for the location. */
82589
+ location_id: string;
82590
+ /** Unique identifier for the Seam workspace associated with the location. */
82591
+ workspace_id: string;
82592
+ /** Display name of the location. */
82593
+ display_name: string;
82594
+ /** Geographical location of the location. */
82595
+ geolocation?: {
82596
+ latitude: number;
82597
+ longitude: number;
82598
+ } | undefined;
82599
+ /** Time zone of the location. */
82600
+ time_zone?: string | undefined;
82601
+ /** Date and time at which the location object was created. */
82602
+ created_at: string;
82603
+ };
82604
+ };
82605
+ };
82606
+ '/unstable_locations/list': {
82607
+ route: '/unstable_locations/list';
82608
+ method: 'GET' | 'POST';
82609
+ queryParams: {};
82610
+ jsonBody: {};
82611
+ commonParams: {};
82612
+ formData: {};
82613
+ jsonResponse: {
82614
+ locations: Array<{
82615
+ /** Unique identifier for the location. */
82616
+ location_id: string;
82617
+ /** Unique identifier for the Seam workspace associated with the location. */
82618
+ workspace_id: string;
82619
+ /** Display name of the location. */
82620
+ display_name: string;
82621
+ /** Geographical location of the location. */
82622
+ geolocation?: {
82623
+ latitude: number;
82624
+ longitude: number;
82625
+ } | undefined;
82626
+ /** Time zone of the location. */
82627
+ time_zone?: string | undefined;
82628
+ /** Date and time at which the location object was created. */
82629
+ created_at: string;
82630
+ }>;
82631
+ };
82632
+ };
82633
+ '/unstable_locations/remove_devices': {
82634
+ route: '/unstable_locations/remove_devices';
82635
+ method: 'POST';
82636
+ queryParams: {};
82637
+ jsonBody: {
82638
+ location_id: string;
82639
+ device_ids: string[];
82640
+ };
82641
+ commonParams: {};
82642
+ formData: {};
82643
+ jsonResponse: {};
82644
+ };
82645
+ '/unstable_locations/update': {
82646
+ route: '/unstable_locations/update';
82647
+ method: 'POST';
82648
+ queryParams: {};
82649
+ jsonBody: {
82650
+ location_id: string;
82651
+ name?: string | undefined;
82652
+ geolocation?: {
82653
+ latitude: number;
82654
+ longitude: number;
82655
+ } | undefined;
82656
+ time_zone?: string | undefined;
82657
+ };
82658
+ commonParams: {};
82659
+ formData: {};
82660
+ jsonResponse: {
82661
+ location: {
82662
+ /** Unique identifier for the location. */
82663
+ location_id: string;
82664
+ /** Unique identifier for the Seam workspace associated with the location. */
82665
+ workspace_id: string;
82666
+ /** Display name of the location. */
82667
+ display_name: string;
82668
+ /** Geographical location of the location. */
82669
+ geolocation?: {
82670
+ latitude: number;
82671
+ longitude: number;
82672
+ } | undefined;
82673
+ /** Time zone of the location. */
82674
+ time_zone?: string | undefined;
82675
+ /** Date and time at which the location object was created. */
82676
+ created_at: string;
82677
+ };
82678
+ };
82679
+ };
80465
82680
  '/user_identities/add_acs_user': {
80466
82681
  route: '/user_identities/add_acs_user';
80467
82682
  method: 'POST' | 'PUT';
@@ -82308,6 +84523,54 @@ interface Routes {
82308
84523
  message: string;
82309
84524
  error_code: 'failed_to_delete_on_acs_system';
82310
84525
  }>;
84526
+ /** */
84527
+ pending_modifications?: Array<{
84528
+ created_at: string;
84529
+ modification_code: 'profile';
84530
+ modified_from: {
84531
+ email_address?: (string | null) | undefined;
84532
+ full_name?: (string | null) | undefined;
84533
+ phone_number?: ((string | undefined) | null) | undefined;
84534
+ };
84535
+ modified_to: {
84536
+ email_address?: (string | null) | undefined;
84537
+ full_name?: (string | null) | undefined;
84538
+ phone_number?: ((string | undefined) | null) | undefined;
84539
+ };
84540
+ } | {
84541
+ created_at: string;
84542
+ modification_code: 'access_schedule';
84543
+ modified_from: {
84544
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
84545
+ starts_at: string;
84546
+ /** 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. */
84547
+ ends_at: string | null;
84548
+ };
84549
+ modified_to: {
84550
+ /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
84551
+ starts_at: string;
84552
+ /** 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. */
84553
+ ends_at: string | null;
84554
+ };
84555
+ } | {
84556
+ created_at: string;
84557
+ modification_code: 'suspension_state';
84558
+ modified_from: {
84559
+ is_suspended: boolean;
84560
+ };
84561
+ modified_to: {
84562
+ is_suspended: boolean;
84563
+ };
84564
+ } | {
84565
+ created_at: string;
84566
+ modification_code: 'acs_access_group_membership';
84567
+ modified_from: {
84568
+ acs_access_group_id: string | null;
84569
+ };
84570
+ modified_to: {
84571
+ acs_access_group_id: string | null;
84572
+ };
84573
+ }> | undefined;
82311
84574
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
82312
84575
  full_name?: string | undefined;
82313
84576
  /**