@seamapi/types 1.695.0 → 1.697.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.
@@ -3716,6 +3716,20 @@ declare const access_grant: z.ZodObject<{
3716
3716
  created_at: string;
3717
3717
  warning_code: "being_deleted";
3718
3718
  }>]>, "many">;
3719
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
3720
+ created_at: z.ZodString;
3721
+ message: z.ZodString;
3722
+ } & {
3723
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
3724
+ }, "strip", z.ZodTypeAny, {
3725
+ message: string;
3726
+ created_at: string;
3727
+ error_code: "cannot_create_requested_access_methods";
3728
+ }, {
3729
+ message: string;
3730
+ created_at: string;
3731
+ error_code: "cannot_create_requested_access_methods";
3732
+ }>]>, "many">;
3719
3733
  customization_profile_id: z.ZodOptional<z.ZodString>;
3720
3734
  }, "strip", z.ZodTypeAny, {
3721
3735
  name: string | null;
@@ -3724,6 +3738,11 @@ declare const access_grant: z.ZodObject<{
3724
3738
  created_at: string;
3725
3739
  starts_at: string;
3726
3740
  ends_at: string | null;
3741
+ errors: {
3742
+ message: string;
3743
+ created_at: string;
3744
+ error_code: "cannot_create_requested_access_methods";
3745
+ }[];
3727
3746
  warnings: {
3728
3747
  message: string;
3729
3748
  created_at: string;
@@ -3753,6 +3772,11 @@ declare const access_grant: z.ZodObject<{
3753
3772
  created_at: string;
3754
3773
  starts_at: string;
3755
3774
  ends_at: string | null;
3775
+ errors: {
3776
+ message: string;
3777
+ created_at: string;
3778
+ error_code: "cannot_create_requested_access_methods";
3779
+ }[];
3756
3780
  warnings: {
3757
3781
  message: string;
3758
3782
  created_at: string;
@@ -25693,6 +25717,20 @@ declare const batch: z.ZodObject<{
25693
25717
  created_at: string;
25694
25718
  warning_code: "being_deleted";
25695
25719
  }>]>, "many">;
25720
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
25721
+ created_at: z.ZodString;
25722
+ message: z.ZodString;
25723
+ } & {
25724
+ error_code: z.ZodLiteral<"cannot_create_requested_access_methods">;
25725
+ }, "strip", z.ZodTypeAny, {
25726
+ message: string;
25727
+ created_at: string;
25728
+ error_code: "cannot_create_requested_access_methods";
25729
+ }, {
25730
+ message: string;
25731
+ created_at: string;
25732
+ error_code: "cannot_create_requested_access_methods";
25733
+ }>]>, "many">;
25696
25734
  customization_profile_id: z.ZodOptional<z.ZodString>;
25697
25735
  }, "strip", z.ZodTypeAny, {
25698
25736
  name: string | null;
@@ -25701,6 +25739,11 @@ declare const batch: z.ZodObject<{
25701
25739
  created_at: string;
25702
25740
  starts_at: string;
25703
25741
  ends_at: string | null;
25742
+ errors: {
25743
+ message: string;
25744
+ created_at: string;
25745
+ error_code: "cannot_create_requested_access_methods";
25746
+ }[];
25704
25747
  warnings: {
25705
25748
  message: string;
25706
25749
  created_at: string;
@@ -25730,6 +25773,11 @@ declare const batch: z.ZodObject<{
25730
25773
  created_at: string;
25731
25774
  starts_at: string;
25732
25775
  ends_at: string | null;
25776
+ errors: {
25777
+ message: string;
25778
+ created_at: string;
25779
+ error_code: "cannot_create_requested_access_methods";
25780
+ }[];
25733
25781
  warnings: {
25734
25782
  message: string;
25735
25783
  created_at: string;
@@ -28814,6 +28862,70 @@ declare const batch: z.ZodObject<{
28814
28862
  device_ids: string[];
28815
28863
  acs_entrance_ids: string[];
28816
28864
  space_key?: string | undefined;
28865
+ }>, z.ZodObject<{
28866
+ event_id: z.ZodString;
28867
+ workspace_id: z.ZodString;
28868
+ created_at: z.ZodString;
28869
+ occurred_at: z.ZodString;
28870
+ } & {
28871
+ space_id: z.ZodString;
28872
+ } & {
28873
+ event_type: z.ZodLiteral<"space.created">;
28874
+ space_key: z.ZodOptional<z.ZodString>;
28875
+ device_ids: z.ZodArray<z.ZodString, "many">;
28876
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
28877
+ }, "strip", z.ZodTypeAny, {
28878
+ workspace_id: string;
28879
+ created_at: string;
28880
+ event_id: string;
28881
+ occurred_at: string;
28882
+ event_type: "space.created";
28883
+ space_id: string;
28884
+ device_ids: string[];
28885
+ acs_entrance_ids: string[];
28886
+ space_key?: string | undefined;
28887
+ }, {
28888
+ workspace_id: string;
28889
+ created_at: string;
28890
+ event_id: string;
28891
+ occurred_at: string;
28892
+ event_type: "space.created";
28893
+ space_id: string;
28894
+ device_ids: string[];
28895
+ acs_entrance_ids: string[];
28896
+ space_key?: string | undefined;
28897
+ }>, z.ZodObject<{
28898
+ event_id: z.ZodString;
28899
+ workspace_id: z.ZodString;
28900
+ created_at: z.ZodString;
28901
+ occurred_at: z.ZodString;
28902
+ } & {
28903
+ space_id: z.ZodString;
28904
+ } & {
28905
+ event_type: z.ZodLiteral<"space.deleted">;
28906
+ space_key: z.ZodOptional<z.ZodString>;
28907
+ device_ids: z.ZodArray<z.ZodString, "many">;
28908
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
28909
+ }, "strip", z.ZodTypeAny, {
28910
+ workspace_id: string;
28911
+ created_at: string;
28912
+ event_id: string;
28913
+ occurred_at: string;
28914
+ event_type: "space.deleted";
28915
+ space_id: string;
28916
+ device_ids: string[];
28917
+ acs_entrance_ids: string[];
28918
+ space_key?: string | undefined;
28919
+ }, {
28920
+ workspace_id: string;
28921
+ created_at: string;
28922
+ event_id: string;
28923
+ occurred_at: string;
28924
+ event_type: "space.deleted";
28925
+ space_id: string;
28926
+ device_ids: string[];
28927
+ acs_entrance_ids: string[];
28928
+ space_key?: string | undefined;
28817
28929
  }>]>, "many">>;
28818
28930
  instant_keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
28819
28931
  instant_key_id: z.ZodString;
@@ -34558,6 +34670,11 @@ declare const batch: z.ZodObject<{
34558
34670
  created_at: string;
34559
34671
  starts_at: string;
34560
34672
  ends_at: string | null;
34673
+ errors: {
34674
+ message: string;
34675
+ created_at: string;
34676
+ error_code: "cannot_create_requested_access_methods";
34677
+ }[];
34561
34678
  warnings: {
34562
34679
  message: string;
34563
34680
  created_at: string;
@@ -35529,6 +35646,26 @@ declare const batch: z.ZodObject<{
35529
35646
  device_ids: string[];
35530
35647
  acs_entrance_ids: string[];
35531
35648
  space_key?: string | undefined;
35649
+ } | {
35650
+ workspace_id: string;
35651
+ created_at: string;
35652
+ event_id: string;
35653
+ occurred_at: string;
35654
+ event_type: "space.created";
35655
+ space_id: string;
35656
+ device_ids: string[];
35657
+ acs_entrance_ids: string[];
35658
+ space_key?: string | undefined;
35659
+ } | {
35660
+ workspace_id: string;
35661
+ created_at: string;
35662
+ event_id: string;
35663
+ occurred_at: string;
35664
+ event_type: "space.deleted";
35665
+ space_id: string;
35666
+ device_ids: string[];
35667
+ acs_entrance_ids: string[];
35668
+ space_key?: string | undefined;
35532
35669
  })[] | undefined;
35533
35670
  instant_keys?: {
35534
35671
  workspace_id: string;
@@ -38635,6 +38772,11 @@ declare const batch: z.ZodObject<{
38635
38772
  created_at: string;
38636
38773
  starts_at: string;
38637
38774
  ends_at: string | null;
38775
+ errors: {
38776
+ message: string;
38777
+ created_at: string;
38778
+ error_code: "cannot_create_requested_access_methods";
38779
+ }[];
38638
38780
  warnings: {
38639
38781
  message: string;
38640
38782
  created_at: string;
@@ -39606,6 +39748,26 @@ declare const batch: z.ZodObject<{
39606
39748
  device_ids: string[];
39607
39749
  acs_entrance_ids: string[];
39608
39750
  space_key?: string | undefined;
39751
+ } | {
39752
+ workspace_id: string;
39753
+ created_at: string;
39754
+ event_id: string;
39755
+ occurred_at: string;
39756
+ event_type: "space.created";
39757
+ space_id: string;
39758
+ device_ids: string[];
39759
+ acs_entrance_ids: string[];
39760
+ space_key?: string | undefined;
39761
+ } | {
39762
+ workspace_id: string;
39763
+ created_at: string;
39764
+ event_id: string;
39765
+ occurred_at: string;
39766
+ event_type: "space.deleted";
39767
+ space_id: string;
39768
+ device_ids: string[];
39769
+ acs_entrance_ids: string[];
39770
+ space_key?: string | undefined;
39609
39771
  })[] | undefined;
39610
39772
  instant_keys?: {
39611
39773
  workspace_id: string;
@@ -52710,6 +52872,70 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
52710
52872
  device_ids: string[];
52711
52873
  acs_entrance_ids: string[];
52712
52874
  space_key?: string | undefined;
52875
+ }>, z.ZodObject<{
52876
+ event_id: z.ZodString;
52877
+ workspace_id: z.ZodString;
52878
+ created_at: z.ZodString;
52879
+ occurred_at: z.ZodString;
52880
+ } & {
52881
+ space_id: z.ZodString;
52882
+ } & {
52883
+ event_type: z.ZodLiteral<"space.created">;
52884
+ space_key: z.ZodOptional<z.ZodString>;
52885
+ device_ids: z.ZodArray<z.ZodString, "many">;
52886
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
52887
+ }, "strip", z.ZodTypeAny, {
52888
+ workspace_id: string;
52889
+ created_at: string;
52890
+ event_id: string;
52891
+ occurred_at: string;
52892
+ event_type: "space.created";
52893
+ space_id: string;
52894
+ device_ids: string[];
52895
+ acs_entrance_ids: string[];
52896
+ space_key?: string | undefined;
52897
+ }, {
52898
+ workspace_id: string;
52899
+ created_at: string;
52900
+ event_id: string;
52901
+ occurred_at: string;
52902
+ event_type: "space.created";
52903
+ space_id: string;
52904
+ device_ids: string[];
52905
+ acs_entrance_ids: string[];
52906
+ space_key?: string | undefined;
52907
+ }>, z.ZodObject<{
52908
+ event_id: z.ZodString;
52909
+ workspace_id: z.ZodString;
52910
+ created_at: z.ZodString;
52911
+ occurred_at: z.ZodString;
52912
+ } & {
52913
+ space_id: z.ZodString;
52914
+ } & {
52915
+ event_type: z.ZodLiteral<"space.deleted">;
52916
+ space_key: z.ZodOptional<z.ZodString>;
52917
+ device_ids: z.ZodArray<z.ZodString, "many">;
52918
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
52919
+ }, "strip", z.ZodTypeAny, {
52920
+ workspace_id: string;
52921
+ created_at: string;
52922
+ event_id: string;
52923
+ occurred_at: string;
52924
+ event_type: "space.deleted";
52925
+ space_id: string;
52926
+ device_ids: string[];
52927
+ acs_entrance_ids: string[];
52928
+ space_key?: string | undefined;
52929
+ }, {
52930
+ workspace_id: string;
52931
+ created_at: string;
52932
+ event_id: string;
52933
+ occurred_at: string;
52934
+ event_type: "space.deleted";
52935
+ space_id: string;
52936
+ device_ids: string[];
52937
+ acs_entrance_ids: string[];
52938
+ space_key?: string | undefined;
52713
52939
  }>]>;
52714
52940
  type SeamEvent = z.infer<typeof seam_event>;
52715
52941
  type SeamEventType = SeamEvent['event_type'];
@@ -53717,6 +53943,35 @@ declare const _default: {
53717
53943
  nullable: boolean;
53718
53944
  type: string;
53719
53945
  };
53946
+ errors: {
53947
+ description: string;
53948
+ items: {
53949
+ discriminator: {
53950
+ propertyName: string;
53951
+ };
53952
+ oneOf: {
53953
+ properties: {
53954
+ created_at: {
53955
+ description: string;
53956
+ format: string;
53957
+ type: string;
53958
+ };
53959
+ error_code: {
53960
+ description: string;
53961
+ enum: string[];
53962
+ type: string;
53963
+ };
53964
+ message: {
53965
+ description: string;
53966
+ type: string;
53967
+ };
53968
+ };
53969
+ required: string[];
53970
+ type: string;
53971
+ }[];
53972
+ };
53973
+ type: string;
53974
+ };
53720
53975
  instant_key_url: {
53721
53976
  description: string;
53722
53977
  format: string;
@@ -73079,6 +73334,35 @@ declare const _default: {
73079
73334
  nullable: boolean;
73080
73335
  type: string;
73081
73336
  };
73337
+ errors: {
73338
+ description: string;
73339
+ items: {
73340
+ discriminator: {
73341
+ propertyName: string;
73342
+ };
73343
+ oneOf: {
73344
+ properties: {
73345
+ created_at: {
73346
+ description: string;
73347
+ format: string;
73348
+ type: string;
73349
+ };
73350
+ error_code: {
73351
+ description: string;
73352
+ enum: string[];
73353
+ type: string;
73354
+ };
73355
+ message: {
73356
+ description: string;
73357
+ type: string;
73358
+ };
73359
+ };
73360
+ required: string[];
73361
+ type: string;
73362
+ }[];
73363
+ };
73364
+ type: string;
73365
+ };
73082
73366
  location_ids: {
73083
73367
  deprecated: boolean;
73084
73368
  items: {
@@ -73301,6 +73585,35 @@ declare const _default: {
73301
73585
  nullable: boolean;
73302
73586
  type: string;
73303
73587
  };
73588
+ errors: {
73589
+ description: string;
73590
+ items: {
73591
+ discriminator: {
73592
+ propertyName: string;
73593
+ };
73594
+ oneOf: {
73595
+ properties: {
73596
+ created_at: {
73597
+ description: string;
73598
+ format: string;
73599
+ type: string;
73600
+ };
73601
+ error_code: {
73602
+ description: string;
73603
+ enum: string[];
73604
+ type: string;
73605
+ };
73606
+ message: {
73607
+ description: string;
73608
+ type: string;
73609
+ };
73610
+ };
73611
+ required: string[];
73612
+ type: string;
73613
+ }[];
73614
+ };
73615
+ type: string;
73616
+ };
73304
73617
  location_ids: {
73305
73618
  deprecated: boolean;
73306
73619
  items: {
@@ -73526,6 +73839,35 @@ declare const _default: {
73526
73839
  nullable: boolean;
73527
73840
  type: string;
73528
73841
  };
73842
+ errors: {
73843
+ description: string;
73844
+ items: {
73845
+ discriminator: {
73846
+ propertyName: string;
73847
+ };
73848
+ oneOf: {
73849
+ properties: {
73850
+ created_at: {
73851
+ description: string;
73852
+ format: string;
73853
+ type: string;
73854
+ };
73855
+ error_code: {
73856
+ description: string;
73857
+ enum: string[];
73858
+ type: string;
73859
+ };
73860
+ message: {
73861
+ description: string;
73862
+ type: string;
73863
+ };
73864
+ };
73865
+ required: string[];
73866
+ type: string;
73867
+ }[];
73868
+ };
73869
+ type: string;
73870
+ };
73529
73871
  location_ids: {
73530
73872
  deprecated: boolean;
73531
73873
  items: {
@@ -73764,6 +74106,35 @@ declare const _default: {
73764
74106
  nullable: boolean;
73765
74107
  type: string;
73766
74108
  };
74109
+ errors: {
74110
+ description: string;
74111
+ items: {
74112
+ discriminator: {
74113
+ propertyName: string;
74114
+ };
74115
+ oneOf: {
74116
+ properties: {
74117
+ created_at: {
74118
+ description: string;
74119
+ format: string;
74120
+ type: string;
74121
+ };
74122
+ error_code: {
74123
+ description: string;
74124
+ enum: string[];
74125
+ type: string;
74126
+ };
74127
+ message: {
74128
+ description: string;
74129
+ type: string;
74130
+ };
74131
+ };
74132
+ required: string[];
74133
+ type: string;
74134
+ }[];
74135
+ };
74136
+ type: string;
74137
+ };
73767
74138
  location_ids: {
73768
74139
  deprecated: boolean;
73769
74140
  items: {
@@ -124821,6 +125192,15 @@ type Routes = {
124821
125192
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124822
125193
  warning_code: 'being_deleted';
124823
125194
  }[];
125195
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
125196
+ errors: {
125197
+ /** Date and time at which Seam created the error. */
125198
+ created_at: string;
125199
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125200
+ message: string;
125201
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125202
+ error_code: 'cannot_create_requested_access_methods';
125203
+ }[];
124824
125204
  /** ID of the customization profile associated with the Access Grant. */
124825
125205
  customization_profile_id?: string | undefined;
124826
125206
  };
@@ -124909,6 +125289,15 @@ type Routes = {
124909
125289
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124910
125290
  warning_code: 'being_deleted';
124911
125291
  }[];
125292
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
125293
+ errors: {
125294
+ /** Date and time at which Seam created the error. */
125295
+ created_at: string;
125296
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125297
+ message: string;
125298
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125299
+ error_code: 'cannot_create_requested_access_methods';
125300
+ }[];
124912
125301
  /** ID of the customization profile associated with the Access Grant. */
124913
125302
  customization_profile_id?: string | undefined;
124914
125303
  };
@@ -126737,6 +127126,15 @@ type Routes = {
126737
127126
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126738
127127
  warning_code: 'being_deleted';
126739
127128
  }[];
127129
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127130
+ errors: {
127131
+ /** Date and time at which Seam created the error. */
127132
+ created_at: string;
127133
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127134
+ message: string;
127135
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127136
+ error_code: 'cannot_create_requested_access_methods';
127137
+ }[];
126740
127138
  /** ID of the customization profile associated with the Access Grant. */
126741
127139
  customization_profile_id?: string | undefined;
126742
127140
  }[];
@@ -126816,6 +127214,15 @@ type Routes = {
126816
127214
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126817
127215
  warning_code: 'being_deleted';
126818
127216
  }[];
127217
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127218
+ errors: {
127219
+ /** Date and time at which Seam created the error. */
127220
+ created_at: string;
127221
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127222
+ message: string;
127223
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127224
+ error_code: 'cannot_create_requested_access_methods';
127225
+ }[];
126819
127226
  /** ID of the customization profile associated with the Access Grant. */
126820
127227
  customization_profile_id?: string | undefined;
126821
127228
  };
@@ -126880,6 +127287,15 @@ type Routes = {
126880
127287
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126881
127288
  warning_code: 'being_deleted';
126882
127289
  }[];
127290
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127291
+ errors: {
127292
+ /** Date and time at which Seam created the error. */
127293
+ created_at: string;
127294
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127295
+ message: string;
127296
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127297
+ error_code: 'cannot_create_requested_access_methods';
127298
+ }[];
126883
127299
  /** ID of user identity to which the Access Grant gives access. */
126884
127300
  user_identity_id?: string | undefined;
126885
127301
  };
@@ -126949,6 +127365,15 @@ type Routes = {
126949
127365
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
126950
127366
  warning_code: 'being_deleted';
126951
127367
  }[];
127368
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
127369
+ errors: {
127370
+ /** Date and time at which Seam created the error. */
127371
+ created_at: string;
127372
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127373
+ message: string;
127374
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127375
+ error_code: 'cannot_create_requested_access_methods';
127376
+ }[];
126952
127377
  /** ID of user identity to which the Access Grant gives access. */
126953
127378
  user_identity_id?: string | undefined;
126954
127379
  }[];
@@ -129781,6 +130206,15 @@ type Routes = {
129781
130206
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
129782
130207
  warning_code: 'being_deleted';
129783
130208
  }[];
130209
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
130210
+ errors: {
130211
+ /** Date and time at which Seam created the error. */
130212
+ created_at: string;
130213
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130214
+ message: string;
130215
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130216
+ error_code: 'cannot_create_requested_access_methods';
130217
+ }[];
129784
130218
  /** ID of the customization profile associated with the Access Grant. */
129785
130219
  customization_profile_id?: string | undefined;
129786
130220
  }[] | undefined;
@@ -147659,6 +148093,44 @@ type Routes = {
147659
148093
  device_ids: string[];
147660
148094
  /** IDs of all ACS entrances currently attached to the space. */
147661
148095
  acs_entrance_ids: string[];
148096
+ } | {
148097
+ /** ID of the event. */
148098
+ event_id: string;
148099
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
148100
+ workspace_id: string;
148101
+ /** Date and time at which the event was created. */
148102
+ created_at: string;
148103
+ /** Date and time at which the event occurred. */
148104
+ occurred_at: string;
148105
+ /** ID of the affected space. */
148106
+ space_id: string;
148107
+ /** Type of the event. */
148108
+ event_type: 'space.created';
148109
+ /** Unique key for the space within the workspace. */
148110
+ space_key?: string | undefined;
148111
+ /** IDs of all devices attached to the space when it was created. */
148112
+ device_ids: string[];
148113
+ /** IDs of all ACS entrances attached to the space when it was created. */
148114
+ acs_entrance_ids: string[];
148115
+ } | {
148116
+ /** ID of the event. */
148117
+ event_id: string;
148118
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
148119
+ workspace_id: string;
148120
+ /** Date and time at which the event was created. */
148121
+ created_at: string;
148122
+ /** Date and time at which the event occurred. */
148123
+ occurred_at: string;
148124
+ /** ID of the affected space. */
148125
+ space_id: string;
148126
+ /** Type of the event. */
148127
+ event_type: 'space.deleted';
148128
+ /** Unique key for the space within the workspace. */
148129
+ space_key?: string | undefined;
148130
+ /** IDs of all devices attached to the space when it was deleted. */
148131
+ device_ids: string[];
148132
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
148133
+ acs_entrance_ids: string[];
147662
148134
  }) | undefined;
147663
148135
  message?: string | undefined;
147664
148136
  };
@@ -147691,9 +148163,9 @@ type Routes = {
147691
148163
  /** IDs of the access codes for which you want to list events. */
147692
148164
  access_code_ids?: string[] | undefined;
147693
148165
  /** Type of the events that you want to list. */
147694
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed') | undefined;
148166
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
147695
148167
  /** Types of the events that you want to list. */
147696
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed')[] | undefined;
148168
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
147697
148169
  /** ID of the connected account for which you want to list events. */
147698
148170
  connected_account_id?: string | undefined;
147699
148171
  /** ID of the Connect Webview for which you want to list events. */
@@ -149657,6 +150129,44 @@ type Routes = {
149657
150129
  device_ids: string[];
149658
150130
  /** IDs of all ACS entrances currently attached to the space. */
149659
150131
  acs_entrance_ids: string[];
150132
+ } | {
150133
+ /** ID of the event. */
150134
+ event_id: string;
150135
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
150136
+ workspace_id: string;
150137
+ /** Date and time at which the event was created. */
150138
+ created_at: string;
150139
+ /** Date and time at which the event occurred. */
150140
+ occurred_at: string;
150141
+ /** ID of the affected space. */
150142
+ space_id: string;
150143
+ /** Type of the event. */
150144
+ event_type: 'space.created';
150145
+ /** Unique key for the space within the workspace. */
150146
+ space_key?: string | undefined;
150147
+ /** IDs of all devices attached to the space when it was created. */
150148
+ device_ids: string[];
150149
+ /** IDs of all ACS entrances attached to the space when it was created. */
150150
+ acs_entrance_ids: string[];
150151
+ } | {
150152
+ /** ID of the event. */
150153
+ event_id: string;
150154
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
150155
+ workspace_id: string;
150156
+ /** Date and time at which the event was created. */
150157
+ created_at: string;
150158
+ /** Date and time at which the event occurred. */
150159
+ occurred_at: string;
150160
+ /** ID of the affected space. */
150161
+ space_id: string;
150162
+ /** Type of the event. */
150163
+ event_type: 'space.deleted';
150164
+ /** Unique key for the space within the workspace. */
150165
+ space_key?: string | undefined;
150166
+ /** IDs of all devices attached to the space when it was deleted. */
150167
+ device_ids: string[];
150168
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
150169
+ acs_entrance_ids: string[];
149660
150170
  })[];
149661
150171
  };
149662
150172
  maxDuration: undefined;
@@ -167079,6 +167589,15 @@ type Routes = {
167079
167589
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
167080
167590
  warning_code: 'being_deleted';
167081
167591
  }[];
167592
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
167593
+ errors: {
167594
+ /** Date and time at which Seam created the error. */
167595
+ created_at: string;
167596
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
167597
+ message: string;
167598
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
167599
+ error_code: 'cannot_create_requested_access_methods';
167600
+ }[];
167082
167601
  /** ID of the customization profile associated with the Access Grant. */
167083
167602
  customization_profile_id?: string | undefined;
167084
167603
  }[];
@@ -167591,9 +168110,9 @@ type Routes = {
167591
168110
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
167592
168111
  between?: (string | Date)[] | undefined;
167593
168112
  /** Type of the events that you want to list. */
167594
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed') | undefined;
168113
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
167595
168114
  /** Types of the events that you want to list. */
167596
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed')[] | undefined;
168115
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
167597
168116
  /** Numerical limit on the number of events to return. */
167598
168117
  limit?: number;
167599
168118
  };
@@ -169545,6 +170064,44 @@ type Routes = {
169545
170064
  device_ids: string[];
169546
170065
  /** IDs of all ACS entrances currently attached to the space. */
169547
170066
  acs_entrance_ids: string[];
170067
+ } | {
170068
+ /** ID of the event. */
170069
+ event_id: string;
170070
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170071
+ workspace_id: string;
170072
+ /** Date and time at which the event was created. */
170073
+ created_at: string;
170074
+ /** Date and time at which the event occurred. */
170075
+ occurred_at: string;
170076
+ /** ID of the affected space. */
170077
+ space_id: string;
170078
+ /** Type of the event. */
170079
+ event_type: 'space.created';
170080
+ /** Unique key for the space within the workspace. */
170081
+ space_key?: string | undefined;
170082
+ /** IDs of all devices attached to the space when it was created. */
170083
+ device_ids: string[];
170084
+ /** IDs of all ACS entrances attached to the space when it was created. */
170085
+ acs_entrance_ids: string[];
170086
+ } | {
170087
+ /** ID of the event. */
170088
+ event_id: string;
170089
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170090
+ workspace_id: string;
170091
+ /** Date and time at which the event was created. */
170092
+ created_at: string;
170093
+ /** Date and time at which the event occurred. */
170094
+ occurred_at: string;
170095
+ /** ID of the affected space. */
170096
+ space_id: string;
170097
+ /** Type of the event. */
170098
+ event_type: 'space.deleted';
170099
+ /** Unique key for the space within the workspace. */
170100
+ space_key?: string | undefined;
170101
+ /** IDs of all devices attached to the space when it was deleted. */
170102
+ device_ids: string[];
170103
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
170104
+ acs_entrance_ids: string[];
169548
170105
  })[];
169549
170106
  };
169550
170107
  maxDuration: undefined;
@@ -169953,6 +170510,15 @@ type Routes = {
169953
170510
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
169954
170511
  warning_code: 'being_deleted';
169955
170512
  }[];
170513
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
170514
+ errors: {
170515
+ /** Date and time at which Seam created the error. */
170516
+ created_at: string;
170517
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
170518
+ message: string;
170519
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
170520
+ error_code: 'cannot_create_requested_access_methods';
170521
+ }[];
169956
170522
  /** ID of the customization profile associated with the Access Grant. */
169957
170523
  customization_profile_id?: string | undefined;
169958
170524
  };
@@ -196194,6 +196760,15 @@ type Routes = {
196194
196760
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
196195
196761
  warning_code: 'being_deleted';
196196
196762
  }[];
196763
+ /** Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
196764
+ errors: {
196765
+ /** Date and time at which Seam created the error. */
196766
+ created_at: string;
196767
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
196768
+ message: string;
196769
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
196770
+ error_code: 'cannot_create_requested_access_methods';
196771
+ }[];
196197
196772
  /** ID of the customization profile associated with the Access Grant. */
196198
196773
  customization_profile_id?: string | undefined;
196199
196774
  }[] | undefined;
@@ -198272,6 +198847,44 @@ type Routes = {
198272
198847
  device_ids: string[];
198273
198848
  /** IDs of all ACS entrances currently attached to the space. */
198274
198849
  acs_entrance_ids: string[];
198850
+ } | {
198851
+ /** ID of the event. */
198852
+ event_id: string;
198853
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
198854
+ workspace_id: string;
198855
+ /** Date and time at which the event was created. */
198856
+ created_at: string;
198857
+ /** Date and time at which the event occurred. */
198858
+ occurred_at: string;
198859
+ /** ID of the affected space. */
198860
+ space_id: string;
198861
+ /** Type of the event. */
198862
+ event_type: 'space.created';
198863
+ /** Unique key for the space within the workspace. */
198864
+ space_key?: string | undefined;
198865
+ /** IDs of all devices attached to the space when it was created. */
198866
+ device_ids: string[];
198867
+ /** IDs of all ACS entrances attached to the space when it was created. */
198868
+ acs_entrance_ids: string[];
198869
+ } | {
198870
+ /** ID of the event. */
198871
+ event_id: string;
198872
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
198873
+ workspace_id: string;
198874
+ /** Date and time at which the event was created. */
198875
+ created_at: string;
198876
+ /** Date and time at which the event occurred. */
198877
+ occurred_at: string;
198878
+ /** ID of the affected space. */
198879
+ space_id: string;
198880
+ /** Type of the event. */
198881
+ event_type: 'space.deleted';
198882
+ /** Unique key for the space within the workspace. */
198883
+ space_key?: string | undefined;
198884
+ /** IDs of all devices attached to the space when it was deleted. */
198885
+ device_ids: string[];
198886
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
198887
+ acs_entrance_ids: string[];
198275
198888
  })[] | undefined;
198276
198889
  instant_keys?: {
198277
198890
  /** ID of the Instant Key. */