@seamapi/types 1.1027.0 → 1.1028.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.
@@ -1948,6 +1948,33 @@ export type Routes = {
1948
1948
  created_at?: string | undefined;
1949
1949
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1950
1950
  error_code: 'code_constraints_violated';
1951
+ } | {
1952
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1953
+ message: string;
1954
+ /** Indicates that this is an access code error. */
1955
+ is_access_code_error: true;
1956
+ /** Date and time at which Seam created the error. */
1957
+ created_at?: string | undefined;
1958
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1959
+ error_code: 'failed_to_issue';
1960
+ } | {
1961
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1962
+ message: string;
1963
+ /** Indicates that this is an access code error. */
1964
+ is_access_code_error: true;
1965
+ /** Date and time at which Seam created the error. */
1966
+ created_at?: string | undefined;
1967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1968
+ error_code: 'failed_to_apply_mutations';
1969
+ } | {
1970
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1971
+ message: string;
1972
+ /** Indicates that this is an access code error. */
1973
+ is_access_code_error: true;
1974
+ /** Date and time at which Seam created the error. */
1975
+ created_at?: string | undefined;
1976
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1977
+ error_code: 'failed_to_expire';
1951
1978
  } | {
1952
1979
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1953
1980
  message: string;
@@ -2132,6 +2159,20 @@ export type Routes = {
2132
2159
  created_at?: string | undefined;
2133
2160
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2134
2161
  warning_code: 'delay_in_removing_from_device';
2162
+ } | {
2163
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2164
+ message: string;
2165
+ /** Date and time at which Seam created the warning. */
2166
+ created_at?: string | undefined;
2167
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2168
+ warning_code: 'delay_in_issuing';
2169
+ } | {
2170
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2171
+ message: string;
2172
+ /** Date and time at which Seam created the warning. */
2173
+ created_at?: string | undefined;
2174
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2175
+ warning_code: 'delay_in_applying_mutations';
2135
2176
  } | {
2136
2177
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2137
2178
  message: string;
@@ -2445,6 +2486,33 @@ export type Routes = {
2445
2486
  created_at?: string | undefined;
2446
2487
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2447
2488
  error_code: 'code_constraints_violated';
2489
+ } | {
2490
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2491
+ message: string;
2492
+ /** Indicates that this is an access code error. */
2493
+ is_access_code_error: true;
2494
+ /** Date and time at which Seam created the error. */
2495
+ created_at?: string | undefined;
2496
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2497
+ error_code: 'failed_to_issue';
2498
+ } | {
2499
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2500
+ message: string;
2501
+ /** Indicates that this is an access code error. */
2502
+ is_access_code_error: true;
2503
+ /** Date and time at which Seam created the error. */
2504
+ created_at?: string | undefined;
2505
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2506
+ error_code: 'failed_to_apply_mutations';
2507
+ } | {
2508
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2509
+ message: string;
2510
+ /** Indicates that this is an access code error. */
2511
+ is_access_code_error: true;
2512
+ /** Date and time at which Seam created the error. */
2513
+ created_at?: string | undefined;
2514
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2515
+ error_code: 'failed_to_expire';
2448
2516
  } | {
2449
2517
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2450
2518
  message: string;
@@ -2629,6 +2697,20 @@ export type Routes = {
2629
2697
  created_at?: string | undefined;
2630
2698
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2631
2699
  warning_code: 'delay_in_removing_from_device';
2700
+ } | {
2701
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2702
+ message: string;
2703
+ /** Date and time at which Seam created the warning. */
2704
+ created_at?: string | undefined;
2705
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2706
+ warning_code: 'delay_in_issuing';
2707
+ } | {
2708
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2709
+ message: string;
2710
+ /** Date and time at which Seam created the warning. */
2711
+ created_at?: string | undefined;
2712
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2713
+ warning_code: 'delay_in_applying_mutations';
2632
2714
  } | {
2633
2715
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2634
2716
  message: string;
@@ -4746,6 +4828,33 @@ export type Routes = {
4746
4828
  created_at?: string | undefined;
4747
4829
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4748
4830
  error_code: 'code_constraints_violated';
4831
+ } | {
4832
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4833
+ message: string;
4834
+ /** Indicates that this is an access code error. */
4835
+ is_access_code_error: true;
4836
+ /** Date and time at which Seam created the error. */
4837
+ created_at?: string | undefined;
4838
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4839
+ error_code: 'failed_to_issue';
4840
+ } | {
4841
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4842
+ message: string;
4843
+ /** Indicates that this is an access code error. */
4844
+ is_access_code_error: true;
4845
+ /** Date and time at which Seam created the error. */
4846
+ created_at?: string | undefined;
4847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4848
+ error_code: 'failed_to_apply_mutations';
4849
+ } | {
4850
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4851
+ message: string;
4852
+ /** Indicates that this is an access code error. */
4853
+ is_access_code_error: true;
4854
+ /** Date and time at which Seam created the error. */
4855
+ created_at?: string | undefined;
4856
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4857
+ error_code: 'failed_to_expire';
4749
4858
  } | {
4750
4859
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4751
4860
  message: string;
@@ -4930,6 +5039,20 @@ export type Routes = {
4930
5039
  created_at?: string | undefined;
4931
5040
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4932
5041
  warning_code: 'delay_in_removing_from_device';
5042
+ } | {
5043
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5044
+ message: string;
5045
+ /** Date and time at which Seam created the warning. */
5046
+ created_at?: string | undefined;
5047
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5048
+ warning_code: 'delay_in_issuing';
5049
+ } | {
5050
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5051
+ message: string;
5052
+ /** Date and time at which Seam created the warning. */
5053
+ created_at?: string | undefined;
5054
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5055
+ warning_code: 'delay_in_applying_mutations';
4933
5056
  } | {
4934
5057
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
4935
5058
  message: string;
@@ -5291,6 +5414,33 @@ export type Routes = {
5291
5414
  created_at?: string | undefined;
5292
5415
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5293
5416
  error_code: 'code_constraints_violated';
5417
+ } | {
5418
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5419
+ message: string;
5420
+ /** Indicates that this is an access code error. */
5421
+ is_access_code_error: true;
5422
+ /** Date and time at which Seam created the error. */
5423
+ created_at?: string | undefined;
5424
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5425
+ error_code: 'failed_to_issue';
5426
+ } | {
5427
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5428
+ message: string;
5429
+ /** Indicates that this is an access code error. */
5430
+ is_access_code_error: true;
5431
+ /** Date and time at which Seam created the error. */
5432
+ created_at?: string | undefined;
5433
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5434
+ error_code: 'failed_to_apply_mutations';
5435
+ } | {
5436
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5437
+ message: string;
5438
+ /** Indicates that this is an access code error. */
5439
+ is_access_code_error: true;
5440
+ /** Date and time at which Seam created the error. */
5441
+ created_at?: string | undefined;
5442
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5443
+ error_code: 'failed_to_expire';
5294
5444
  } | {
5295
5445
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5296
5446
  message: string;
@@ -5475,6 +5625,20 @@ export type Routes = {
5475
5625
  created_at?: string | undefined;
5476
5626
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5477
5627
  warning_code: 'delay_in_removing_from_device';
5628
+ } | {
5629
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5630
+ message: string;
5631
+ /** Date and time at which Seam created the warning. */
5632
+ created_at?: string | undefined;
5633
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5634
+ warning_code: 'delay_in_issuing';
5635
+ } | {
5636
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5637
+ message: string;
5638
+ /** Date and time at which Seam created the warning. */
5639
+ created_at?: string | undefined;
5640
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5641
+ warning_code: 'delay_in_applying_mutations';
5478
5642
  } | {
5479
5643
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5480
5644
  message: string;
@@ -5779,6 +5943,33 @@ export type Routes = {
5779
5943
  created_at?: string | undefined;
5780
5944
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5781
5945
  error_code: 'code_constraints_violated';
5946
+ } | {
5947
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5948
+ message: string;
5949
+ /** Indicates that this is an access code error. */
5950
+ is_access_code_error: true;
5951
+ /** Date and time at which Seam created the error. */
5952
+ created_at?: string | undefined;
5953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5954
+ error_code: 'failed_to_issue';
5955
+ } | {
5956
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5957
+ message: string;
5958
+ /** Indicates that this is an access code error. */
5959
+ is_access_code_error: true;
5960
+ /** Date and time at which Seam created the error. */
5961
+ created_at?: string | undefined;
5962
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5963
+ error_code: 'failed_to_apply_mutations';
5964
+ } | {
5965
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5966
+ message: string;
5967
+ /** Indicates that this is an access code error. */
5968
+ is_access_code_error: true;
5969
+ /** Date and time at which Seam created the error. */
5970
+ created_at?: string | undefined;
5971
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5972
+ error_code: 'failed_to_expire';
5782
5973
  } | {
5783
5974
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5784
5975
  message: string;
@@ -5963,6 +6154,20 @@ export type Routes = {
5963
6154
  created_at?: string | undefined;
5964
6155
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5965
6156
  warning_code: 'delay_in_removing_from_device';
6157
+ } | {
6158
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6159
+ message: string;
6160
+ /** Date and time at which Seam created the warning. */
6161
+ created_at?: string | undefined;
6162
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6163
+ warning_code: 'delay_in_issuing';
6164
+ } | {
6165
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6166
+ message: string;
6167
+ /** Date and time at which Seam created the warning. */
6168
+ created_at?: string | undefined;
6169
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6170
+ warning_code: 'delay_in_applying_mutations';
5966
6171
  } | {
5967
6172
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5968
6173
  message: string;
@@ -6244,6 +6449,33 @@ export type Routes = {
6244
6449
  created_at?: string | undefined;
6245
6450
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6246
6451
  error_code: 'code_constraints_violated';
6452
+ } | {
6453
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6454
+ message: string;
6455
+ /** Indicates that this is an access code error. */
6456
+ is_access_code_error: true;
6457
+ /** Date and time at which Seam created the error. */
6458
+ created_at?: string | undefined;
6459
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6460
+ error_code: 'failed_to_issue';
6461
+ } | {
6462
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6463
+ message: string;
6464
+ /** Indicates that this is an access code error. */
6465
+ is_access_code_error: true;
6466
+ /** Date and time at which Seam created the error. */
6467
+ created_at?: string | undefined;
6468
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6469
+ error_code: 'failed_to_apply_mutations';
6470
+ } | {
6471
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6472
+ message: string;
6473
+ /** Indicates that this is an access code error. */
6474
+ is_access_code_error: true;
6475
+ /** Date and time at which Seam created the error. */
6476
+ created_at?: string | undefined;
6477
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6478
+ error_code: 'failed_to_expire';
6247
6479
  } | {
6248
6480
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6249
6481
  message: string;
@@ -6428,6 +6660,20 @@ export type Routes = {
6428
6660
  created_at?: string | undefined;
6429
6661
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6430
6662
  warning_code: 'delay_in_removing_from_device';
6663
+ } | {
6664
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6665
+ message: string;
6666
+ /** Date and time at which Seam created the warning. */
6667
+ created_at?: string | undefined;
6668
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6669
+ warning_code: 'delay_in_issuing';
6670
+ } | {
6671
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6672
+ message: string;
6673
+ /** Date and time at which Seam created the warning. */
6674
+ created_at?: string | undefined;
6675
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6676
+ warning_code: 'delay_in_applying_mutations';
6431
6677
  } | {
6432
6678
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6433
6679
  message: string;
@@ -6742,6 +6988,33 @@ export type Routes = {
6742
6988
  created_at?: string | undefined;
6743
6989
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6744
6990
  error_code: 'code_constraints_violated';
6991
+ } | {
6992
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6993
+ message: string;
6994
+ /** Indicates that this is an access code error. */
6995
+ is_access_code_error: true;
6996
+ /** Date and time at which Seam created the error. */
6997
+ created_at?: string | undefined;
6998
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6999
+ error_code: 'failed_to_issue';
7000
+ } | {
7001
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7002
+ message: string;
7003
+ /** Indicates that this is an access code error. */
7004
+ is_access_code_error: true;
7005
+ /** Date and time at which Seam created the error. */
7006
+ created_at?: string | undefined;
7007
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7008
+ error_code: 'failed_to_apply_mutations';
7009
+ } | {
7010
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7011
+ message: string;
7012
+ /** Indicates that this is an access code error. */
7013
+ is_access_code_error: true;
7014
+ /** Date and time at which Seam created the error. */
7015
+ created_at?: string | undefined;
7016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7017
+ error_code: 'failed_to_expire';
6745
7018
  } | {
6746
7019
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6747
7020
  message: string;
@@ -6926,6 +7199,20 @@ export type Routes = {
6926
7199
  created_at?: string | undefined;
6927
7200
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6928
7201
  warning_code: 'delay_in_removing_from_device';
7202
+ } | {
7203
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7204
+ message: string;
7205
+ /** Date and time at which Seam created the warning. */
7206
+ created_at?: string | undefined;
7207
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7208
+ warning_code: 'delay_in_issuing';
7209
+ } | {
7210
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7211
+ message: string;
7212
+ /** Date and time at which Seam created the warning. */
7213
+ created_at?: string | undefined;
7214
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7215
+ warning_code: 'delay_in_applying_mutations';
6929
7216
  } | {
6930
7217
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6931
7218
  message: string;
@@ -8952,6 +9239,33 @@ export type Routes = {
8952
9239
  created_at?: string | undefined;
8953
9240
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8954
9241
  error_code: 'code_constraints_violated';
9242
+ } | {
9243
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9244
+ message: string;
9245
+ /** Indicates that this is an access code error. */
9246
+ is_access_code_error: true;
9247
+ /** Date and time at which Seam created the error. */
9248
+ created_at?: string | undefined;
9249
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9250
+ error_code: 'failed_to_issue';
9251
+ } | {
9252
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9253
+ message: string;
9254
+ /** Indicates that this is an access code error. */
9255
+ is_access_code_error: true;
9256
+ /** Date and time at which Seam created the error. */
9257
+ created_at?: string | undefined;
9258
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9259
+ error_code: 'failed_to_apply_mutations';
9260
+ } | {
9261
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9262
+ message: string;
9263
+ /** Indicates that this is an access code error. */
9264
+ is_access_code_error: true;
9265
+ /** Date and time at which Seam created the error. */
9266
+ created_at?: string | undefined;
9267
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9268
+ error_code: 'failed_to_expire';
8955
9269
  } | {
8956
9270
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8957
9271
  message: string;
@@ -9136,6 +9450,20 @@ export type Routes = {
9136
9450
  created_at?: string | undefined;
9137
9451
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9138
9452
  warning_code: 'delay_in_removing_from_device';
9453
+ } | {
9454
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9455
+ message: string;
9456
+ /** Date and time at which Seam created the warning. */
9457
+ created_at?: string | undefined;
9458
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9459
+ warning_code: 'delay_in_issuing';
9460
+ } | {
9461
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9462
+ message: string;
9463
+ /** Date and time at which Seam created the warning. */
9464
+ created_at?: string | undefined;
9465
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9466
+ warning_code: 'delay_in_applying_mutations';
9139
9467
  } | {
9140
9468
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9141
9469
  message: string;
@@ -9336,6 +9664,33 @@ export type Routes = {
9336
9664
  created_at?: string | undefined;
9337
9665
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9338
9666
  error_code: 'code_constraints_violated';
9667
+ } | {
9668
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9669
+ message: string;
9670
+ /** Indicates that this is an access code error. */
9671
+ is_access_code_error: true;
9672
+ /** Date and time at which Seam created the error. */
9673
+ created_at?: string | undefined;
9674
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9675
+ error_code: 'failed_to_issue';
9676
+ } | {
9677
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9678
+ message: string;
9679
+ /** Indicates that this is an access code error. */
9680
+ is_access_code_error: true;
9681
+ /** Date and time at which Seam created the error. */
9682
+ created_at?: string | undefined;
9683
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9684
+ error_code: 'failed_to_apply_mutations';
9685
+ } | {
9686
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9687
+ message: string;
9688
+ /** Indicates that this is an access code error. */
9689
+ is_access_code_error: true;
9690
+ /** Date and time at which Seam created the error. */
9691
+ created_at?: string | undefined;
9692
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9693
+ error_code: 'failed_to_expire';
9339
9694
  } | {
9340
9695
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9341
9696
  message: string;
@@ -9520,6 +9875,20 @@ export type Routes = {
9520
9875
  created_at?: string | undefined;
9521
9876
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9522
9877
  warning_code: 'delay_in_removing_from_device';
9878
+ } | {
9879
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9880
+ message: string;
9881
+ /** Date and time at which Seam created the warning. */
9882
+ created_at?: string | undefined;
9883
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9884
+ warning_code: 'delay_in_issuing';
9885
+ } | {
9886
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9887
+ message: string;
9888
+ /** Date and time at which Seam created the warning. */
9889
+ created_at?: string | undefined;
9890
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
9891
+ warning_code: 'delay_in_applying_mutations';
9523
9892
  } | {
9524
9893
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
9525
9894
  message: string;
@@ -47713,6 +48082,434 @@ export type Routes = {
47713
48082
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47714
48083
  warning_code: string;
47715
48084
  }[];
48085
+ } | {
48086
+ /** ID of the event. */
48087
+ event_id: string;
48088
+ /** ID of the workspace associated with the event. */
48089
+ workspace_id: string;
48090
+ /** Date and time at which the event was created. */
48091
+ created_at: string;
48092
+ /** Date and time at which the event occurred. */
48093
+ occurred_at: string;
48094
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
48095
+ event_description?: string | undefined;
48096
+ /** ID of the affected access code. */
48097
+ access_code_id: string;
48098
+ /** ID of the device associated with the affected access code. */
48099
+ device_id: string;
48100
+ /** ID of the connected account associated with the affected access code. */
48101
+ connected_account_id: string;
48102
+ /** Custom metadata of the device, present when device_id is provided. */
48103
+ device_custom_metadata?: {
48104
+ [x: string]: string | boolean;
48105
+ } | undefined;
48106
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48107
+ connected_account_custom_metadata?: {
48108
+ [x: string]: string | boolean;
48109
+ } | undefined;
48110
+ event_type: 'access_code.issued';
48111
+ /** Code for the affected access code. */
48112
+ code: string;
48113
+ } | {
48114
+ /** ID of the event. */
48115
+ event_id: string;
48116
+ /** ID of the workspace associated with the event. */
48117
+ workspace_id: string;
48118
+ /** Date and time at which the event was created. */
48119
+ created_at: string;
48120
+ /** Date and time at which the event occurred. */
48121
+ occurred_at: string;
48122
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
48123
+ event_description?: string | undefined;
48124
+ /** ID of the affected access code. */
48125
+ access_code_id: string;
48126
+ /** ID of the device associated with the affected access code. */
48127
+ device_id: string;
48128
+ /** ID of the connected account associated with the affected access code. */
48129
+ connected_account_id: string;
48130
+ /** Custom metadata of the device, present when device_id is provided. */
48131
+ device_custom_metadata?: {
48132
+ [x: string]: string | boolean;
48133
+ } | undefined;
48134
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48135
+ connected_account_custom_metadata?: {
48136
+ [x: string]: string | boolean;
48137
+ } | undefined;
48138
+ event_type: 'access_code.delay_in_issuing';
48139
+ /** Errors associated with the connected account. */
48140
+ connected_account_errors: {
48141
+ /** Date and time at which Seam created the error. */
48142
+ created_at: string;
48143
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48144
+ message: string;
48145
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48146
+ error_code: string;
48147
+ }[];
48148
+ /** Warnings associated with the connected account. */
48149
+ connected_account_warnings: {
48150
+ /** Date and time at which Seam created the warning. */
48151
+ created_at: string;
48152
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48153
+ message: string;
48154
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48155
+ warning_code: string;
48156
+ }[];
48157
+ /** Errors associated with the device. */
48158
+ device_errors: {
48159
+ /** Date and time at which Seam created the error. */
48160
+ created_at: string;
48161
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48162
+ message: string;
48163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48164
+ error_code: string;
48165
+ }[];
48166
+ /** Warnings associated with the device. */
48167
+ device_warnings: {
48168
+ /** Date and time at which Seam created the warning. */
48169
+ created_at: string;
48170
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48171
+ message: string;
48172
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48173
+ warning_code: string;
48174
+ }[];
48175
+ /** Errors associated with the access code. */
48176
+ access_code_errors: {
48177
+ /** Date and time at which Seam created the error. */
48178
+ created_at: string;
48179
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48180
+ message: string;
48181
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48182
+ error_code: string;
48183
+ }[];
48184
+ /** Warnings associated with the access code. */
48185
+ access_code_warnings: {
48186
+ /** Date and time at which Seam created the warning. */
48187
+ created_at: string;
48188
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48189
+ message: string;
48190
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48191
+ warning_code: string;
48192
+ }[];
48193
+ } | {
48194
+ /** ID of the event. */
48195
+ event_id: string;
48196
+ /** ID of the workspace associated with the event. */
48197
+ workspace_id: string;
48198
+ /** Date and time at which the event was created. */
48199
+ created_at: string;
48200
+ /** Date and time at which the event occurred. */
48201
+ occurred_at: string;
48202
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
48203
+ event_description?: string | undefined;
48204
+ /** ID of the affected access code. */
48205
+ access_code_id: string;
48206
+ /** ID of the device associated with the affected access code. */
48207
+ device_id: string;
48208
+ /** ID of the connected account associated with the affected access code. */
48209
+ connected_account_id: string;
48210
+ /** Custom metadata of the device, present when device_id is provided. */
48211
+ device_custom_metadata?: {
48212
+ [x: string]: string | boolean;
48213
+ } | undefined;
48214
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48215
+ connected_account_custom_metadata?: {
48216
+ [x: string]: string | boolean;
48217
+ } | undefined;
48218
+ event_type: 'access_code.failed_to_issue';
48219
+ /** Errors associated with the connected account. */
48220
+ connected_account_errors: {
48221
+ /** Date and time at which Seam created the error. */
48222
+ created_at: string;
48223
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48224
+ message: string;
48225
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48226
+ error_code: string;
48227
+ }[];
48228
+ /** Warnings associated with the connected account. */
48229
+ connected_account_warnings: {
48230
+ /** Date and time at which Seam created the warning. */
48231
+ created_at: string;
48232
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48233
+ message: string;
48234
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48235
+ warning_code: string;
48236
+ }[];
48237
+ /** Errors associated with the device. */
48238
+ device_errors: {
48239
+ /** Date and time at which Seam created the error. */
48240
+ created_at: string;
48241
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48242
+ message: string;
48243
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48244
+ error_code: string;
48245
+ }[];
48246
+ /** Warnings associated with the device. */
48247
+ device_warnings: {
48248
+ /** Date and time at which Seam created the warning. */
48249
+ created_at: string;
48250
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48251
+ message: string;
48252
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48253
+ warning_code: string;
48254
+ }[];
48255
+ /** Errors associated with the access code. */
48256
+ access_code_errors: {
48257
+ /** Date and time at which Seam created the error. */
48258
+ created_at: string;
48259
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48260
+ message: string;
48261
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48262
+ error_code: string;
48263
+ }[];
48264
+ /** Warnings associated with the access code. */
48265
+ access_code_warnings: {
48266
+ /** Date and time at which Seam created the warning. */
48267
+ created_at: string;
48268
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48269
+ message: string;
48270
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48271
+ warning_code: string;
48272
+ }[];
48273
+ } | {
48274
+ /** ID of the event. */
48275
+ event_id: string;
48276
+ /** ID of the workspace associated with the event. */
48277
+ workspace_id: string;
48278
+ /** Date and time at which the event was created. */
48279
+ created_at: string;
48280
+ /** Date and time at which the event occurred. */
48281
+ occurred_at: string;
48282
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
48283
+ event_description?: string | undefined;
48284
+ /** ID of the affected access code. */
48285
+ access_code_id: string;
48286
+ /** ID of the device associated with the affected access code. */
48287
+ device_id: string;
48288
+ /** ID of the connected account associated with the affected access code. */
48289
+ connected_account_id: string;
48290
+ /** Custom metadata of the device, present when device_id is provided. */
48291
+ device_custom_metadata?: {
48292
+ [x: string]: string | boolean;
48293
+ } | undefined;
48294
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48295
+ connected_account_custom_metadata?: {
48296
+ [x: string]: string | boolean;
48297
+ } | undefined;
48298
+ event_type: 'access_code.delay_in_applying_mutations';
48299
+ /** Errors associated with the connected account. */
48300
+ connected_account_errors: {
48301
+ /** Date and time at which Seam created the error. */
48302
+ created_at: string;
48303
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48304
+ message: string;
48305
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48306
+ error_code: string;
48307
+ }[];
48308
+ /** Warnings associated with the connected account. */
48309
+ connected_account_warnings: {
48310
+ /** Date and time at which Seam created the warning. */
48311
+ created_at: string;
48312
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48313
+ message: string;
48314
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48315
+ warning_code: string;
48316
+ }[];
48317
+ /** Errors associated with the device. */
48318
+ device_errors: {
48319
+ /** Date and time at which Seam created the error. */
48320
+ created_at: string;
48321
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48322
+ message: string;
48323
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48324
+ error_code: string;
48325
+ }[];
48326
+ /** Warnings associated with the device. */
48327
+ device_warnings: {
48328
+ /** Date and time at which Seam created the warning. */
48329
+ created_at: string;
48330
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48331
+ message: string;
48332
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48333
+ warning_code: string;
48334
+ }[];
48335
+ /** Errors associated with the access code. */
48336
+ access_code_errors: {
48337
+ /** Date and time at which Seam created the error. */
48338
+ created_at: string;
48339
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48340
+ message: string;
48341
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48342
+ error_code: string;
48343
+ }[];
48344
+ /** Warnings associated with the access code. */
48345
+ access_code_warnings: {
48346
+ /** Date and time at which Seam created the warning. */
48347
+ created_at: string;
48348
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48349
+ message: string;
48350
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48351
+ warning_code: string;
48352
+ }[];
48353
+ } | {
48354
+ /** ID of the event. */
48355
+ event_id: string;
48356
+ /** ID of the workspace associated with the event. */
48357
+ workspace_id: string;
48358
+ /** Date and time at which the event was created. */
48359
+ created_at: string;
48360
+ /** Date and time at which the event occurred. */
48361
+ occurred_at: string;
48362
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
48363
+ event_description?: string | undefined;
48364
+ /** ID of the affected access code. */
48365
+ access_code_id: string;
48366
+ /** ID of the device associated with the affected access code. */
48367
+ device_id: string;
48368
+ /** ID of the connected account associated with the affected access code. */
48369
+ connected_account_id: string;
48370
+ /** Custom metadata of the device, present when device_id is provided. */
48371
+ device_custom_metadata?: {
48372
+ [x: string]: string | boolean;
48373
+ } | undefined;
48374
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48375
+ connected_account_custom_metadata?: {
48376
+ [x: string]: string | boolean;
48377
+ } | undefined;
48378
+ event_type: 'access_code.failed_to_apply_mutations';
48379
+ /** Errors associated with the connected account. */
48380
+ connected_account_errors: {
48381
+ /** Date and time at which Seam created the error. */
48382
+ created_at: string;
48383
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48384
+ message: string;
48385
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48386
+ error_code: string;
48387
+ }[];
48388
+ /** Warnings associated with the connected account. */
48389
+ connected_account_warnings: {
48390
+ /** Date and time at which Seam created the warning. */
48391
+ created_at: string;
48392
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48393
+ message: string;
48394
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48395
+ warning_code: string;
48396
+ }[];
48397
+ /** Errors associated with the device. */
48398
+ device_errors: {
48399
+ /** Date and time at which Seam created the error. */
48400
+ created_at: string;
48401
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48402
+ message: string;
48403
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48404
+ error_code: string;
48405
+ }[];
48406
+ /** Warnings associated with the device. */
48407
+ device_warnings: {
48408
+ /** Date and time at which Seam created the warning. */
48409
+ created_at: string;
48410
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48411
+ message: string;
48412
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48413
+ warning_code: string;
48414
+ }[];
48415
+ /** Errors associated with the access code. */
48416
+ access_code_errors: {
48417
+ /** Date and time at which Seam created the error. */
48418
+ created_at: string;
48419
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48420
+ message: string;
48421
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48422
+ error_code: string;
48423
+ }[];
48424
+ /** Warnings associated with the access code. */
48425
+ access_code_warnings: {
48426
+ /** Date and time at which Seam created the warning. */
48427
+ created_at: string;
48428
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48429
+ message: string;
48430
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48431
+ warning_code: string;
48432
+ }[];
48433
+ } | {
48434
+ /** ID of the event. */
48435
+ event_id: string;
48436
+ /** ID of the workspace associated with the event. */
48437
+ workspace_id: string;
48438
+ /** Date and time at which the event was created. */
48439
+ created_at: string;
48440
+ /** Date and time at which the event occurred. */
48441
+ occurred_at: string;
48442
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
48443
+ event_description?: string | undefined;
48444
+ /** ID of the affected access code. */
48445
+ access_code_id: string;
48446
+ /** ID of the device associated with the affected access code. */
48447
+ device_id: string;
48448
+ /** ID of the connected account associated with the affected access code. */
48449
+ connected_account_id: string;
48450
+ /** Custom metadata of the device, present when device_id is provided. */
48451
+ device_custom_metadata?: {
48452
+ [x: string]: string | boolean;
48453
+ } | undefined;
48454
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48455
+ connected_account_custom_metadata?: {
48456
+ [x: string]: string | boolean;
48457
+ } | undefined;
48458
+ event_type: 'access_code.failed_to_expire';
48459
+ /** Errors associated with the connected account. */
48460
+ connected_account_errors: {
48461
+ /** Date and time at which Seam created the error. */
48462
+ created_at: string;
48463
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48464
+ message: string;
48465
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48466
+ error_code: string;
48467
+ }[];
48468
+ /** Warnings associated with the connected account. */
48469
+ connected_account_warnings: {
48470
+ /** Date and time at which Seam created the warning. */
48471
+ created_at: string;
48472
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48473
+ message: string;
48474
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48475
+ warning_code: string;
48476
+ }[];
48477
+ /** Errors associated with the device. */
48478
+ device_errors: {
48479
+ /** Date and time at which Seam created the error. */
48480
+ created_at: string;
48481
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48482
+ message: string;
48483
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48484
+ error_code: string;
48485
+ }[];
48486
+ /** Warnings associated with the device. */
48487
+ device_warnings: {
48488
+ /** Date and time at which Seam created the warning. */
48489
+ created_at: string;
48490
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48491
+ message: string;
48492
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48493
+ warning_code: string;
48494
+ }[];
48495
+ /** Errors associated with the access code. */
48496
+ access_code_errors: {
48497
+ /** Date and time at which Seam created the error. */
48498
+ created_at: string;
48499
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48500
+ message: string;
48501
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48502
+ error_code: string;
48503
+ }[];
48504
+ /** Warnings associated with the access code. */
48505
+ access_code_warnings: {
48506
+ /** Date and time at which Seam created the warning. */
48507
+ created_at: string;
48508
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48509
+ message: string;
48510
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48511
+ warning_code: string;
48512
+ }[];
47716
48513
  } | {
47717
48514
  /** ID of the event. */
47718
48515
  event_id: string;
@@ -50491,9 +51288,9 @@ export type Routes = {
50491
51288
  /** IDs of the access codes for which you want to list events. */
50492
51289
  access_code_ids?: string[] | undefined;
50493
51290
  /** Type of the events that you want to list. */
50494
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
51291
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.delay_in_applying_mutations' | 'access_code.failed_to_apply_mutations' | 'access_code.failed_to_expire' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
50495
51292
  /** Types of the events that you want to list. */
50496
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
51293
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.delay_in_applying_mutations' | 'access_code.failed_to_apply_mutations' | 'access_code.failed_to_expire' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
50497
51294
  /** ID of the connected account for which you want to list events. */
50498
51295
  connected_account_id?: string | undefined;
50499
51296
  /** ID of the Connect Webview for which you want to list events. */
@@ -51016,9 +51813,9 @@ export type Routes = {
51016
51813
  connected_account_custom_metadata?: {
51017
51814
  [x: string]: string | boolean;
51018
51815
  } | undefined;
51019
- event_type: 'access_code.deleted';
51816
+ event_type: 'access_code.issued';
51020
51817
  /** Code for the affected access code. */
51021
- code: string | null;
51818
+ code: string;
51022
51819
  } | {
51023
51820
  /** ID of the event. */
51024
51821
  event_id: string;
@@ -51044,7 +51841,7 @@ export type Routes = {
51044
51841
  connected_account_custom_metadata?: {
51045
51842
  [x: string]: string | boolean;
51046
51843
  } | undefined;
51047
- event_type: 'access_code.delay_in_removing_from_device';
51844
+ event_type: 'access_code.delay_in_issuing';
51048
51845
  /** Errors associated with the connected account. */
51049
51846
  connected_account_errors: {
51050
51847
  /** Date and time at which Seam created the error. */
@@ -51124,7 +51921,7 @@ export type Routes = {
51124
51921
  connected_account_custom_metadata?: {
51125
51922
  [x: string]: string | boolean;
51126
51923
  } | undefined;
51127
- event_type: 'access_code.failed_to_remove_from_device';
51924
+ event_type: 'access_code.failed_to_issue';
51128
51925
  /** Errors associated with the connected account. */
51129
51926
  connected_account_errors: {
51130
51927
  /** Date and time at which Seam created the error. */
@@ -51204,7 +52001,435 @@ export type Routes = {
51204
52001
  connected_account_custom_metadata?: {
51205
52002
  [x: string]: string | boolean;
51206
52003
  } | undefined;
51207
- event_type: 'access_code.modified_external_to_seam';
52004
+ event_type: 'access_code.delay_in_applying_mutations';
52005
+ /** Errors associated with the connected account. */
52006
+ connected_account_errors: {
52007
+ /** Date and time at which Seam created the error. */
52008
+ created_at: string;
52009
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52010
+ message: string;
52011
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52012
+ error_code: string;
52013
+ }[];
52014
+ /** Warnings associated with the connected account. */
52015
+ connected_account_warnings: {
52016
+ /** Date and time at which Seam created the warning. */
52017
+ created_at: string;
52018
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52019
+ message: string;
52020
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52021
+ warning_code: string;
52022
+ }[];
52023
+ /** Errors associated with the device. */
52024
+ device_errors: {
52025
+ /** Date and time at which Seam created the error. */
52026
+ created_at: string;
52027
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52028
+ message: string;
52029
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52030
+ error_code: string;
52031
+ }[];
52032
+ /** Warnings associated with the device. */
52033
+ device_warnings: {
52034
+ /** Date and time at which Seam created the warning. */
52035
+ created_at: string;
52036
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52037
+ message: string;
52038
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52039
+ warning_code: string;
52040
+ }[];
52041
+ /** Errors associated with the access code. */
52042
+ access_code_errors: {
52043
+ /** Date and time at which Seam created the error. */
52044
+ created_at: string;
52045
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52046
+ message: string;
52047
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52048
+ error_code: string;
52049
+ }[];
52050
+ /** Warnings associated with the access code. */
52051
+ access_code_warnings: {
52052
+ /** Date and time at which Seam created the warning. */
52053
+ created_at: string;
52054
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52055
+ message: string;
52056
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52057
+ warning_code: string;
52058
+ }[];
52059
+ } | {
52060
+ /** ID of the event. */
52061
+ event_id: string;
52062
+ /** ID of the workspace associated with the event. */
52063
+ workspace_id: string;
52064
+ /** Date and time at which the event was created. */
52065
+ created_at: string;
52066
+ /** Date and time at which the event occurred. */
52067
+ occurred_at: string;
52068
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
52069
+ event_description?: string | undefined;
52070
+ /** ID of the affected access code. */
52071
+ access_code_id: string;
52072
+ /** ID of the device associated with the affected access code. */
52073
+ device_id: string;
52074
+ /** ID of the connected account associated with the affected access code. */
52075
+ connected_account_id: string;
52076
+ /** Custom metadata of the device, present when device_id is provided. */
52077
+ device_custom_metadata?: {
52078
+ [x: string]: string | boolean;
52079
+ } | undefined;
52080
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52081
+ connected_account_custom_metadata?: {
52082
+ [x: string]: string | boolean;
52083
+ } | undefined;
52084
+ event_type: 'access_code.failed_to_apply_mutations';
52085
+ /** Errors associated with the connected account. */
52086
+ connected_account_errors: {
52087
+ /** Date and time at which Seam created the error. */
52088
+ created_at: string;
52089
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52090
+ message: string;
52091
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52092
+ error_code: string;
52093
+ }[];
52094
+ /** Warnings associated with the connected account. */
52095
+ connected_account_warnings: {
52096
+ /** Date and time at which Seam created the warning. */
52097
+ created_at: string;
52098
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52099
+ message: string;
52100
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52101
+ warning_code: string;
52102
+ }[];
52103
+ /** Errors associated with the device. */
52104
+ device_errors: {
52105
+ /** Date and time at which Seam created the error. */
52106
+ created_at: string;
52107
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52108
+ message: string;
52109
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52110
+ error_code: string;
52111
+ }[];
52112
+ /** Warnings associated with the device. */
52113
+ device_warnings: {
52114
+ /** Date and time at which Seam created the warning. */
52115
+ created_at: string;
52116
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52117
+ message: string;
52118
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52119
+ warning_code: string;
52120
+ }[];
52121
+ /** Errors associated with the access code. */
52122
+ access_code_errors: {
52123
+ /** Date and time at which Seam created the error. */
52124
+ created_at: string;
52125
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52126
+ message: string;
52127
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52128
+ error_code: string;
52129
+ }[];
52130
+ /** Warnings associated with the access code. */
52131
+ access_code_warnings: {
52132
+ /** Date and time at which Seam created the warning. */
52133
+ created_at: string;
52134
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52135
+ message: string;
52136
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52137
+ warning_code: string;
52138
+ }[];
52139
+ } | {
52140
+ /** ID of the event. */
52141
+ event_id: string;
52142
+ /** ID of the workspace associated with the event. */
52143
+ workspace_id: string;
52144
+ /** Date and time at which the event was created. */
52145
+ created_at: string;
52146
+ /** Date and time at which the event occurred. */
52147
+ occurred_at: string;
52148
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
52149
+ event_description?: string | undefined;
52150
+ /** ID of the affected access code. */
52151
+ access_code_id: string;
52152
+ /** ID of the device associated with the affected access code. */
52153
+ device_id: string;
52154
+ /** ID of the connected account associated with the affected access code. */
52155
+ connected_account_id: string;
52156
+ /** Custom metadata of the device, present when device_id is provided. */
52157
+ device_custom_metadata?: {
52158
+ [x: string]: string | boolean;
52159
+ } | undefined;
52160
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52161
+ connected_account_custom_metadata?: {
52162
+ [x: string]: string | boolean;
52163
+ } | undefined;
52164
+ event_type: 'access_code.failed_to_expire';
52165
+ /** Errors associated with the connected account. */
52166
+ connected_account_errors: {
52167
+ /** Date and time at which Seam created the error. */
52168
+ created_at: string;
52169
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52170
+ message: string;
52171
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52172
+ error_code: string;
52173
+ }[];
52174
+ /** Warnings associated with the connected account. */
52175
+ connected_account_warnings: {
52176
+ /** Date and time at which Seam created the warning. */
52177
+ created_at: string;
52178
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52179
+ message: string;
52180
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52181
+ warning_code: string;
52182
+ }[];
52183
+ /** Errors associated with the device. */
52184
+ device_errors: {
52185
+ /** Date and time at which Seam created the error. */
52186
+ created_at: string;
52187
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52188
+ message: string;
52189
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52190
+ error_code: string;
52191
+ }[];
52192
+ /** Warnings associated with the device. */
52193
+ device_warnings: {
52194
+ /** Date and time at which Seam created the warning. */
52195
+ created_at: string;
52196
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52197
+ message: string;
52198
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52199
+ warning_code: string;
52200
+ }[];
52201
+ /** Errors associated with the access code. */
52202
+ access_code_errors: {
52203
+ /** Date and time at which Seam created the error. */
52204
+ created_at: string;
52205
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52206
+ message: string;
52207
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52208
+ error_code: string;
52209
+ }[];
52210
+ /** Warnings associated with the access code. */
52211
+ access_code_warnings: {
52212
+ /** Date and time at which Seam created the warning. */
52213
+ created_at: string;
52214
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52215
+ message: string;
52216
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52217
+ warning_code: string;
52218
+ }[];
52219
+ } | {
52220
+ /** ID of the event. */
52221
+ event_id: string;
52222
+ /** ID of the workspace associated with the event. */
52223
+ workspace_id: string;
52224
+ /** Date and time at which the event was created. */
52225
+ created_at: string;
52226
+ /** Date and time at which the event occurred. */
52227
+ occurred_at: string;
52228
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
52229
+ event_description?: string | undefined;
52230
+ /** ID of the affected access code. */
52231
+ access_code_id: string;
52232
+ /** ID of the device associated with the affected access code. */
52233
+ device_id: string;
52234
+ /** ID of the connected account associated with the affected access code. */
52235
+ connected_account_id: string;
52236
+ /** Custom metadata of the device, present when device_id is provided. */
52237
+ device_custom_metadata?: {
52238
+ [x: string]: string | boolean;
52239
+ } | undefined;
52240
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52241
+ connected_account_custom_metadata?: {
52242
+ [x: string]: string | boolean;
52243
+ } | undefined;
52244
+ event_type: 'access_code.deleted';
52245
+ /** Code for the affected access code. */
52246
+ code: string | null;
52247
+ } | {
52248
+ /** ID of the event. */
52249
+ event_id: string;
52250
+ /** ID of the workspace associated with the event. */
52251
+ workspace_id: string;
52252
+ /** Date and time at which the event was created. */
52253
+ created_at: string;
52254
+ /** Date and time at which the event occurred. */
52255
+ occurred_at: string;
52256
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
52257
+ event_description?: string | undefined;
52258
+ /** ID of the affected access code. */
52259
+ access_code_id: string;
52260
+ /** ID of the device associated with the affected access code. */
52261
+ device_id: string;
52262
+ /** ID of the connected account associated with the affected access code. */
52263
+ connected_account_id: string;
52264
+ /** Custom metadata of the device, present when device_id is provided. */
52265
+ device_custom_metadata?: {
52266
+ [x: string]: string | boolean;
52267
+ } | undefined;
52268
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52269
+ connected_account_custom_metadata?: {
52270
+ [x: string]: string | boolean;
52271
+ } | undefined;
52272
+ event_type: 'access_code.delay_in_removing_from_device';
52273
+ /** Errors associated with the connected account. */
52274
+ connected_account_errors: {
52275
+ /** Date and time at which Seam created the error. */
52276
+ created_at: string;
52277
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52278
+ message: string;
52279
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52280
+ error_code: string;
52281
+ }[];
52282
+ /** Warnings associated with the connected account. */
52283
+ connected_account_warnings: {
52284
+ /** Date and time at which Seam created the warning. */
52285
+ created_at: string;
52286
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52287
+ message: string;
52288
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52289
+ warning_code: string;
52290
+ }[];
52291
+ /** Errors associated with the device. */
52292
+ device_errors: {
52293
+ /** Date and time at which Seam created the error. */
52294
+ created_at: string;
52295
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52296
+ message: string;
52297
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52298
+ error_code: string;
52299
+ }[];
52300
+ /** Warnings associated with the device. */
52301
+ device_warnings: {
52302
+ /** Date and time at which Seam created the warning. */
52303
+ created_at: string;
52304
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52305
+ message: string;
52306
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52307
+ warning_code: string;
52308
+ }[];
52309
+ /** Errors associated with the access code. */
52310
+ access_code_errors: {
52311
+ /** Date and time at which Seam created the error. */
52312
+ created_at: string;
52313
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52314
+ message: string;
52315
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52316
+ error_code: string;
52317
+ }[];
52318
+ /** Warnings associated with the access code. */
52319
+ access_code_warnings: {
52320
+ /** Date and time at which Seam created the warning. */
52321
+ created_at: string;
52322
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52323
+ message: string;
52324
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52325
+ warning_code: string;
52326
+ }[];
52327
+ } | {
52328
+ /** ID of the event. */
52329
+ event_id: string;
52330
+ /** ID of the workspace associated with the event. */
52331
+ workspace_id: string;
52332
+ /** Date and time at which the event was created. */
52333
+ created_at: string;
52334
+ /** Date and time at which the event occurred. */
52335
+ occurred_at: string;
52336
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
52337
+ event_description?: string | undefined;
52338
+ /** ID of the affected access code. */
52339
+ access_code_id: string;
52340
+ /** ID of the device associated with the affected access code. */
52341
+ device_id: string;
52342
+ /** ID of the connected account associated with the affected access code. */
52343
+ connected_account_id: string;
52344
+ /** Custom metadata of the device, present when device_id is provided. */
52345
+ device_custom_metadata?: {
52346
+ [x: string]: string | boolean;
52347
+ } | undefined;
52348
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52349
+ connected_account_custom_metadata?: {
52350
+ [x: string]: string | boolean;
52351
+ } | undefined;
52352
+ event_type: 'access_code.failed_to_remove_from_device';
52353
+ /** Errors associated with the connected account. */
52354
+ connected_account_errors: {
52355
+ /** Date and time at which Seam created the error. */
52356
+ created_at: string;
52357
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52358
+ message: string;
52359
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52360
+ error_code: string;
52361
+ }[];
52362
+ /** Warnings associated with the connected account. */
52363
+ connected_account_warnings: {
52364
+ /** Date and time at which Seam created the warning. */
52365
+ created_at: string;
52366
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52367
+ message: string;
52368
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52369
+ warning_code: string;
52370
+ }[];
52371
+ /** Errors associated with the device. */
52372
+ device_errors: {
52373
+ /** Date and time at which Seam created the error. */
52374
+ created_at: string;
52375
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52376
+ message: string;
52377
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52378
+ error_code: string;
52379
+ }[];
52380
+ /** Warnings associated with the device. */
52381
+ device_warnings: {
52382
+ /** Date and time at which Seam created the warning. */
52383
+ created_at: string;
52384
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52385
+ message: string;
52386
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52387
+ warning_code: string;
52388
+ }[];
52389
+ /** Errors associated with the access code. */
52390
+ access_code_errors: {
52391
+ /** Date and time at which Seam created the error. */
52392
+ created_at: string;
52393
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52394
+ message: string;
52395
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52396
+ error_code: string;
52397
+ }[];
52398
+ /** Warnings associated with the access code. */
52399
+ access_code_warnings: {
52400
+ /** Date and time at which Seam created the warning. */
52401
+ created_at: string;
52402
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52403
+ message: string;
52404
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52405
+ warning_code: string;
52406
+ }[];
52407
+ } | {
52408
+ /** ID of the event. */
52409
+ event_id: string;
52410
+ /** ID of the workspace associated with the event. */
52411
+ workspace_id: string;
52412
+ /** Date and time at which the event was created. */
52413
+ created_at: string;
52414
+ /** Date and time at which the event occurred. */
52415
+ occurred_at: string;
52416
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
52417
+ event_description?: string | undefined;
52418
+ /** ID of the affected access code. */
52419
+ access_code_id: string;
52420
+ /** ID of the device associated with the affected access code. */
52421
+ device_id: string;
52422
+ /** ID of the connected account associated with the affected access code. */
52423
+ connected_account_id: string;
52424
+ /** Custom metadata of the device, present when device_id is provided. */
52425
+ device_custom_metadata?: {
52426
+ [x: string]: string | boolean;
52427
+ } | undefined;
52428
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52429
+ connected_account_custom_metadata?: {
52430
+ [x: string]: string | boolean;
52431
+ } | undefined;
52432
+ event_type: 'access_code.modified_external_to_seam';
51208
52433
  } | {
51209
52434
  /** ID of the event. */
51210
52435
  event_id: string;
@@ -81861,9 +83086,9 @@ export type Routes = {
81861
83086
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
81862
83087
  between?: string[] | undefined;
81863
83088
  /** Type of the events that you want to list. */
81864
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
83089
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.delay_in_applying_mutations' | 'access_code.failed_to_apply_mutations' | 'access_code.failed_to_expire' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
81865
83090
  /** Types of the events that you want to list. */
81866
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
83091
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.delay_in_applying_mutations' | 'access_code.failed_to_apply_mutations' | 'access_code.failed_to_expire' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
81867
83092
  /** Numerical limit on the number of events to return. */
81868
83093
  limit?: number;
81869
83094
  };
@@ -82331,6 +83556,434 @@ export type Routes = {
82331
83556
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82332
83557
  warning_code: string;
82333
83558
  }[];
83559
+ } | {
83560
+ /** ID of the event. */
83561
+ event_id: string;
83562
+ /** ID of the workspace associated with the event. */
83563
+ workspace_id: string;
83564
+ /** Date and time at which the event was created. */
83565
+ created_at: string;
83566
+ /** Date and time at which the event occurred. */
83567
+ occurred_at: string;
83568
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
83569
+ event_description?: string | undefined;
83570
+ /** ID of the affected access code. */
83571
+ access_code_id: string;
83572
+ /** ID of the device associated with the affected access code. */
83573
+ device_id: string;
83574
+ /** ID of the connected account associated with the affected access code. */
83575
+ connected_account_id: string;
83576
+ /** Custom metadata of the device, present when device_id is provided. */
83577
+ device_custom_metadata?: {
83578
+ [x: string]: string | boolean;
83579
+ } | undefined;
83580
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83581
+ connected_account_custom_metadata?: {
83582
+ [x: string]: string | boolean;
83583
+ } | undefined;
83584
+ event_type: 'access_code.issued';
83585
+ /** Code for the affected access code. */
83586
+ code: string;
83587
+ } | {
83588
+ /** ID of the event. */
83589
+ event_id: string;
83590
+ /** ID of the workspace associated with the event. */
83591
+ workspace_id: string;
83592
+ /** Date and time at which the event was created. */
83593
+ created_at: string;
83594
+ /** Date and time at which the event occurred. */
83595
+ occurred_at: string;
83596
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
83597
+ event_description?: string | undefined;
83598
+ /** ID of the affected access code. */
83599
+ access_code_id: string;
83600
+ /** ID of the device associated with the affected access code. */
83601
+ device_id: string;
83602
+ /** ID of the connected account associated with the affected access code. */
83603
+ connected_account_id: string;
83604
+ /** Custom metadata of the device, present when device_id is provided. */
83605
+ device_custom_metadata?: {
83606
+ [x: string]: string | boolean;
83607
+ } | undefined;
83608
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83609
+ connected_account_custom_metadata?: {
83610
+ [x: string]: string | boolean;
83611
+ } | undefined;
83612
+ event_type: 'access_code.delay_in_issuing';
83613
+ /** Errors associated with the connected account. */
83614
+ connected_account_errors: {
83615
+ /** Date and time at which Seam created the error. */
83616
+ created_at: string;
83617
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83618
+ message: string;
83619
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83620
+ error_code: string;
83621
+ }[];
83622
+ /** Warnings associated with the connected account. */
83623
+ connected_account_warnings: {
83624
+ /** Date and time at which Seam created the warning. */
83625
+ created_at: string;
83626
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83627
+ message: string;
83628
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83629
+ warning_code: string;
83630
+ }[];
83631
+ /** Errors associated with the device. */
83632
+ device_errors: {
83633
+ /** Date and time at which Seam created the error. */
83634
+ created_at: string;
83635
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83636
+ message: string;
83637
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83638
+ error_code: string;
83639
+ }[];
83640
+ /** Warnings associated with the device. */
83641
+ device_warnings: {
83642
+ /** Date and time at which Seam created the warning. */
83643
+ created_at: string;
83644
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83645
+ message: string;
83646
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83647
+ warning_code: string;
83648
+ }[];
83649
+ /** Errors associated with the access code. */
83650
+ access_code_errors: {
83651
+ /** Date and time at which Seam created the error. */
83652
+ created_at: string;
83653
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83654
+ message: string;
83655
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83656
+ error_code: string;
83657
+ }[];
83658
+ /** Warnings associated with the access code. */
83659
+ access_code_warnings: {
83660
+ /** Date and time at which Seam created the warning. */
83661
+ created_at: string;
83662
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83663
+ message: string;
83664
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83665
+ warning_code: string;
83666
+ }[];
83667
+ } | {
83668
+ /** ID of the event. */
83669
+ event_id: string;
83670
+ /** ID of the workspace associated with the event. */
83671
+ workspace_id: string;
83672
+ /** Date and time at which the event was created. */
83673
+ created_at: string;
83674
+ /** Date and time at which the event occurred. */
83675
+ occurred_at: string;
83676
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
83677
+ event_description?: string | undefined;
83678
+ /** ID of the affected access code. */
83679
+ access_code_id: string;
83680
+ /** ID of the device associated with the affected access code. */
83681
+ device_id: string;
83682
+ /** ID of the connected account associated with the affected access code. */
83683
+ connected_account_id: string;
83684
+ /** Custom metadata of the device, present when device_id is provided. */
83685
+ device_custom_metadata?: {
83686
+ [x: string]: string | boolean;
83687
+ } | undefined;
83688
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83689
+ connected_account_custom_metadata?: {
83690
+ [x: string]: string | boolean;
83691
+ } | undefined;
83692
+ event_type: 'access_code.failed_to_issue';
83693
+ /** Errors associated with the connected account. */
83694
+ connected_account_errors: {
83695
+ /** Date and time at which Seam created the error. */
83696
+ created_at: string;
83697
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83698
+ message: string;
83699
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83700
+ error_code: string;
83701
+ }[];
83702
+ /** Warnings associated with the connected account. */
83703
+ connected_account_warnings: {
83704
+ /** Date and time at which Seam created the warning. */
83705
+ created_at: string;
83706
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83707
+ message: string;
83708
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83709
+ warning_code: string;
83710
+ }[];
83711
+ /** Errors associated with the device. */
83712
+ device_errors: {
83713
+ /** Date and time at which Seam created the error. */
83714
+ created_at: string;
83715
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83716
+ message: string;
83717
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83718
+ error_code: string;
83719
+ }[];
83720
+ /** Warnings associated with the device. */
83721
+ device_warnings: {
83722
+ /** Date and time at which Seam created the warning. */
83723
+ created_at: string;
83724
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83725
+ message: string;
83726
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83727
+ warning_code: string;
83728
+ }[];
83729
+ /** Errors associated with the access code. */
83730
+ access_code_errors: {
83731
+ /** Date and time at which Seam created the error. */
83732
+ created_at: string;
83733
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83734
+ message: string;
83735
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83736
+ error_code: string;
83737
+ }[];
83738
+ /** Warnings associated with the access code. */
83739
+ access_code_warnings: {
83740
+ /** Date and time at which Seam created the warning. */
83741
+ created_at: string;
83742
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83743
+ message: string;
83744
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83745
+ warning_code: string;
83746
+ }[];
83747
+ } | {
83748
+ /** ID of the event. */
83749
+ event_id: string;
83750
+ /** ID of the workspace associated with the event. */
83751
+ workspace_id: string;
83752
+ /** Date and time at which the event was created. */
83753
+ created_at: string;
83754
+ /** Date and time at which the event occurred. */
83755
+ occurred_at: string;
83756
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
83757
+ event_description?: string | undefined;
83758
+ /** ID of the affected access code. */
83759
+ access_code_id: string;
83760
+ /** ID of the device associated with the affected access code. */
83761
+ device_id: string;
83762
+ /** ID of the connected account associated with the affected access code. */
83763
+ connected_account_id: string;
83764
+ /** Custom metadata of the device, present when device_id is provided. */
83765
+ device_custom_metadata?: {
83766
+ [x: string]: string | boolean;
83767
+ } | undefined;
83768
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83769
+ connected_account_custom_metadata?: {
83770
+ [x: string]: string | boolean;
83771
+ } | undefined;
83772
+ event_type: 'access_code.delay_in_applying_mutations';
83773
+ /** Errors associated with the connected account. */
83774
+ connected_account_errors: {
83775
+ /** Date and time at which Seam created the error. */
83776
+ created_at: string;
83777
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83778
+ message: string;
83779
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83780
+ error_code: string;
83781
+ }[];
83782
+ /** Warnings associated with the connected account. */
83783
+ connected_account_warnings: {
83784
+ /** Date and time at which Seam created the warning. */
83785
+ created_at: string;
83786
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83787
+ message: string;
83788
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83789
+ warning_code: string;
83790
+ }[];
83791
+ /** Errors associated with the device. */
83792
+ device_errors: {
83793
+ /** Date and time at which Seam created the error. */
83794
+ created_at: string;
83795
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83796
+ message: string;
83797
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83798
+ error_code: string;
83799
+ }[];
83800
+ /** Warnings associated with the device. */
83801
+ device_warnings: {
83802
+ /** Date and time at which Seam created the warning. */
83803
+ created_at: string;
83804
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83805
+ message: string;
83806
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83807
+ warning_code: string;
83808
+ }[];
83809
+ /** Errors associated with the access code. */
83810
+ access_code_errors: {
83811
+ /** Date and time at which Seam created the error. */
83812
+ created_at: string;
83813
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83814
+ message: string;
83815
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83816
+ error_code: string;
83817
+ }[];
83818
+ /** Warnings associated with the access code. */
83819
+ access_code_warnings: {
83820
+ /** Date and time at which Seam created the warning. */
83821
+ created_at: string;
83822
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83823
+ message: string;
83824
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83825
+ warning_code: string;
83826
+ }[];
83827
+ } | {
83828
+ /** ID of the event. */
83829
+ event_id: string;
83830
+ /** ID of the workspace associated with the event. */
83831
+ workspace_id: string;
83832
+ /** Date and time at which the event was created. */
83833
+ created_at: string;
83834
+ /** Date and time at which the event occurred. */
83835
+ occurred_at: string;
83836
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
83837
+ event_description?: string | undefined;
83838
+ /** ID of the affected access code. */
83839
+ access_code_id: string;
83840
+ /** ID of the device associated with the affected access code. */
83841
+ device_id: string;
83842
+ /** ID of the connected account associated with the affected access code. */
83843
+ connected_account_id: string;
83844
+ /** Custom metadata of the device, present when device_id is provided. */
83845
+ device_custom_metadata?: {
83846
+ [x: string]: string | boolean;
83847
+ } | undefined;
83848
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83849
+ connected_account_custom_metadata?: {
83850
+ [x: string]: string | boolean;
83851
+ } | undefined;
83852
+ event_type: 'access_code.failed_to_apply_mutations';
83853
+ /** Errors associated with the connected account. */
83854
+ connected_account_errors: {
83855
+ /** Date and time at which Seam created the error. */
83856
+ created_at: string;
83857
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83858
+ message: string;
83859
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83860
+ error_code: string;
83861
+ }[];
83862
+ /** Warnings associated with the connected account. */
83863
+ connected_account_warnings: {
83864
+ /** Date and time at which Seam created the warning. */
83865
+ created_at: string;
83866
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83867
+ message: string;
83868
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83869
+ warning_code: string;
83870
+ }[];
83871
+ /** Errors associated with the device. */
83872
+ device_errors: {
83873
+ /** Date and time at which Seam created the error. */
83874
+ created_at: string;
83875
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83876
+ message: string;
83877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83878
+ error_code: string;
83879
+ }[];
83880
+ /** Warnings associated with the device. */
83881
+ device_warnings: {
83882
+ /** Date and time at which Seam created the warning. */
83883
+ created_at: string;
83884
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83885
+ message: string;
83886
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83887
+ warning_code: string;
83888
+ }[];
83889
+ /** Errors associated with the access code. */
83890
+ access_code_errors: {
83891
+ /** Date and time at which Seam created the error. */
83892
+ created_at: string;
83893
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83894
+ message: string;
83895
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83896
+ error_code: string;
83897
+ }[];
83898
+ /** Warnings associated with the access code. */
83899
+ access_code_warnings: {
83900
+ /** Date and time at which Seam created the warning. */
83901
+ created_at: string;
83902
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83903
+ message: string;
83904
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83905
+ warning_code: string;
83906
+ }[];
83907
+ } | {
83908
+ /** ID of the event. */
83909
+ event_id: string;
83910
+ /** ID of the workspace associated with the event. */
83911
+ workspace_id: string;
83912
+ /** Date and time at which the event was created. */
83913
+ created_at: string;
83914
+ /** Date and time at which the event occurred. */
83915
+ occurred_at: string;
83916
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
83917
+ event_description?: string | undefined;
83918
+ /** ID of the affected access code. */
83919
+ access_code_id: string;
83920
+ /** ID of the device associated with the affected access code. */
83921
+ device_id: string;
83922
+ /** ID of the connected account associated with the affected access code. */
83923
+ connected_account_id: string;
83924
+ /** Custom metadata of the device, present when device_id is provided. */
83925
+ device_custom_metadata?: {
83926
+ [x: string]: string | boolean;
83927
+ } | undefined;
83928
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83929
+ connected_account_custom_metadata?: {
83930
+ [x: string]: string | boolean;
83931
+ } | undefined;
83932
+ event_type: 'access_code.failed_to_expire';
83933
+ /** Errors associated with the connected account. */
83934
+ connected_account_errors: {
83935
+ /** Date and time at which Seam created the error. */
83936
+ created_at: string;
83937
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83938
+ message: string;
83939
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83940
+ error_code: string;
83941
+ }[];
83942
+ /** Warnings associated with the connected account. */
83943
+ connected_account_warnings: {
83944
+ /** Date and time at which Seam created the warning. */
83945
+ created_at: string;
83946
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83947
+ message: string;
83948
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83949
+ warning_code: string;
83950
+ }[];
83951
+ /** Errors associated with the device. */
83952
+ device_errors: {
83953
+ /** Date and time at which Seam created the error. */
83954
+ created_at: string;
83955
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83956
+ message: string;
83957
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83958
+ error_code: string;
83959
+ }[];
83960
+ /** Warnings associated with the device. */
83961
+ device_warnings: {
83962
+ /** Date and time at which Seam created the warning. */
83963
+ created_at: string;
83964
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83965
+ message: string;
83966
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83967
+ warning_code: string;
83968
+ }[];
83969
+ /** Errors associated with the access code. */
83970
+ access_code_errors: {
83971
+ /** Date and time at which Seam created the error. */
83972
+ created_at: string;
83973
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83974
+ message: string;
83975
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83976
+ error_code: string;
83977
+ }[];
83978
+ /** Warnings associated with the access code. */
83979
+ access_code_warnings: {
83980
+ /** Date and time at which Seam created the warning. */
83981
+ created_at: string;
83982
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83983
+ message: string;
83984
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83985
+ warning_code: string;
83986
+ }[];
82334
83987
  } | {
82335
83988
  /** ID of the event. */
82336
83989
  event_id: string;
@@ -121726,20 +123379,290 @@ export type Routes = {
121726
123379
  connected_account_custom_metadata?: {
121727
123380
  [x: string]: string | boolean;
121728
123381
  } | undefined;
121729
- event_type: 'access_code.mutations_requested';
121730
- /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
121731
- requested_mutations: {
121732
- /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
121733
- mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
121734
- /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
121735
- from?: {
121736
- [x: string]: unknown;
121737
- } | undefined;
121738
- /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
121739
- to?: {
121740
- [x: string]: unknown;
121741
- } | undefined;
121742
- }[];
123382
+ event_type: 'access_code.mutations_requested';
123383
+ /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
123384
+ requested_mutations: {
123385
+ /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
123386
+ mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
123387
+ /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
123388
+ from?: {
123389
+ [x: string]: unknown;
123390
+ } | undefined;
123391
+ /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
123392
+ to?: {
123393
+ [x: string]: unknown;
123394
+ } | undefined;
123395
+ }[];
123396
+ } | {
123397
+ /** ID of the event. */
123398
+ event_id: string;
123399
+ /** ID of the workspace associated with the event. */
123400
+ workspace_id: string;
123401
+ /** Date and time at which the event was created. */
123402
+ created_at: string;
123403
+ /** Date and time at which the event occurred. */
123404
+ occurred_at: string;
123405
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
123406
+ event_description?: string | undefined;
123407
+ /** ID of the affected access code. */
123408
+ access_code_id: string;
123409
+ /** ID of the device associated with the affected access code. */
123410
+ device_id: string;
123411
+ /** ID of the connected account associated with the affected access code. */
123412
+ connected_account_id: string;
123413
+ /** Custom metadata of the device, present when device_id is provided. */
123414
+ device_custom_metadata?: {
123415
+ [x: string]: string | boolean;
123416
+ } | undefined;
123417
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
123418
+ connected_account_custom_metadata?: {
123419
+ [x: string]: string | boolean;
123420
+ } | undefined;
123421
+ event_type: 'access_code.scheduled_on_device';
123422
+ /** Code for the affected access code. */
123423
+ code: string;
123424
+ } | {
123425
+ /** ID of the event. */
123426
+ event_id: string;
123427
+ /** ID of the workspace associated with the event. */
123428
+ workspace_id: string;
123429
+ /** Date and time at which the event was created. */
123430
+ created_at: string;
123431
+ /** Date and time at which the event occurred. */
123432
+ occurred_at: string;
123433
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
123434
+ event_description?: string | undefined;
123435
+ /** ID of the affected access code. */
123436
+ access_code_id: string;
123437
+ /** ID of the device associated with the affected access code. */
123438
+ device_id: string;
123439
+ /** ID of the connected account associated with the affected access code. */
123440
+ connected_account_id: string;
123441
+ /** Custom metadata of the device, present when device_id is provided. */
123442
+ device_custom_metadata?: {
123443
+ [x: string]: string | boolean;
123444
+ } | undefined;
123445
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
123446
+ connected_account_custom_metadata?: {
123447
+ [x: string]: string | boolean;
123448
+ } | undefined;
123449
+ event_type: 'access_code.set_on_device';
123450
+ /** Code for the affected access code. */
123451
+ code: string;
123452
+ } | {
123453
+ /** ID of the event. */
123454
+ event_id: string;
123455
+ /** ID of the workspace associated with the event. */
123456
+ workspace_id: string;
123457
+ /** Date and time at which the event was created. */
123458
+ created_at: string;
123459
+ /** Date and time at which the event occurred. */
123460
+ occurred_at: string;
123461
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
123462
+ event_description?: string | undefined;
123463
+ /** ID of the affected access code. */
123464
+ access_code_id: string;
123465
+ /** ID of the device associated with the affected access code. */
123466
+ device_id: string;
123467
+ /** ID of the connected account associated with the affected access code. */
123468
+ connected_account_id: string;
123469
+ /** Custom metadata of the device, present when device_id is provided. */
123470
+ device_custom_metadata?: {
123471
+ [x: string]: string | boolean;
123472
+ } | undefined;
123473
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
123474
+ connected_account_custom_metadata?: {
123475
+ [x: string]: string | boolean;
123476
+ } | undefined;
123477
+ event_type: 'access_code.removed_from_device';
123478
+ } | {
123479
+ /** ID of the event. */
123480
+ event_id: string;
123481
+ /** ID of the workspace associated with the event. */
123482
+ workspace_id: string;
123483
+ /** Date and time at which the event was created. */
123484
+ created_at: string;
123485
+ /** Date and time at which the event occurred. */
123486
+ occurred_at: string;
123487
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
123488
+ event_description?: string | undefined;
123489
+ /** ID of the affected access code. */
123490
+ access_code_id: string;
123491
+ /** ID of the device associated with the affected access code. */
123492
+ device_id: string;
123493
+ /** ID of the connected account associated with the affected access code. */
123494
+ connected_account_id: string;
123495
+ /** Custom metadata of the device, present when device_id is provided. */
123496
+ device_custom_metadata?: {
123497
+ [x: string]: string | boolean;
123498
+ } | undefined;
123499
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
123500
+ connected_account_custom_metadata?: {
123501
+ [x: string]: string | boolean;
123502
+ } | undefined;
123503
+ event_type: 'access_code.delay_in_setting_on_device';
123504
+ /** Errors associated with the connected account. */
123505
+ connected_account_errors: {
123506
+ /** Date and time at which Seam created the error. */
123507
+ created_at: string;
123508
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123509
+ message: string;
123510
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123511
+ error_code: string;
123512
+ }[];
123513
+ /** Warnings associated with the connected account. */
123514
+ connected_account_warnings: {
123515
+ /** Date and time at which Seam created the warning. */
123516
+ created_at: string;
123517
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123518
+ message: string;
123519
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123520
+ warning_code: string;
123521
+ }[];
123522
+ /** Errors associated with the device. */
123523
+ device_errors: {
123524
+ /** Date and time at which Seam created the error. */
123525
+ created_at: string;
123526
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123527
+ message: string;
123528
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123529
+ error_code: string;
123530
+ }[];
123531
+ /** Warnings associated with the device. */
123532
+ device_warnings: {
123533
+ /** Date and time at which Seam created the warning. */
123534
+ created_at: string;
123535
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123536
+ message: string;
123537
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123538
+ warning_code: string;
123539
+ }[];
123540
+ /** Errors associated with the access code. */
123541
+ access_code_errors: {
123542
+ /** Date and time at which Seam created the error. */
123543
+ created_at: string;
123544
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123545
+ message: string;
123546
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123547
+ error_code: string;
123548
+ }[];
123549
+ /** Warnings associated with the access code. */
123550
+ access_code_warnings: {
123551
+ /** Date and time at which Seam created the warning. */
123552
+ created_at: string;
123553
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123554
+ message: string;
123555
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123556
+ warning_code: string;
123557
+ }[];
123558
+ } | {
123559
+ /** ID of the event. */
123560
+ event_id: string;
123561
+ /** ID of the workspace associated with the event. */
123562
+ workspace_id: string;
123563
+ /** Date and time at which the event was created. */
123564
+ created_at: string;
123565
+ /** Date and time at which the event occurred. */
123566
+ occurred_at: string;
123567
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
123568
+ event_description?: string | undefined;
123569
+ /** ID of the affected access code. */
123570
+ access_code_id: string;
123571
+ /** ID of the device associated with the affected access code. */
123572
+ device_id: string;
123573
+ /** ID of the connected account associated with the affected access code. */
123574
+ connected_account_id: string;
123575
+ /** Custom metadata of the device, present when device_id is provided. */
123576
+ device_custom_metadata?: {
123577
+ [x: string]: string | boolean;
123578
+ } | undefined;
123579
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
123580
+ connected_account_custom_metadata?: {
123581
+ [x: string]: string | boolean;
123582
+ } | undefined;
123583
+ event_type: 'access_code.failed_to_set_on_device';
123584
+ /** Errors associated with the connected account. */
123585
+ connected_account_errors: {
123586
+ /** Date and time at which Seam created the error. */
123587
+ created_at: string;
123588
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123589
+ message: string;
123590
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123591
+ error_code: string;
123592
+ }[];
123593
+ /** Warnings associated with the connected account. */
123594
+ connected_account_warnings: {
123595
+ /** Date and time at which Seam created the warning. */
123596
+ created_at: string;
123597
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123598
+ message: string;
123599
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123600
+ warning_code: string;
123601
+ }[];
123602
+ /** Errors associated with the device. */
123603
+ device_errors: {
123604
+ /** Date and time at which Seam created the error. */
123605
+ created_at: string;
123606
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123607
+ message: string;
123608
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123609
+ error_code: string;
123610
+ }[];
123611
+ /** Warnings associated with the device. */
123612
+ device_warnings: {
123613
+ /** Date and time at which Seam created the warning. */
123614
+ created_at: string;
123615
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123616
+ message: string;
123617
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123618
+ warning_code: string;
123619
+ }[];
123620
+ /** Errors associated with the access code. */
123621
+ access_code_errors: {
123622
+ /** Date and time at which Seam created the error. */
123623
+ created_at: string;
123624
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123625
+ message: string;
123626
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123627
+ error_code: string;
123628
+ }[];
123629
+ /** Warnings associated with the access code. */
123630
+ access_code_warnings: {
123631
+ /** Date and time at which Seam created the warning. */
123632
+ created_at: string;
123633
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123634
+ message: string;
123635
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123636
+ warning_code: string;
123637
+ }[];
123638
+ } | {
123639
+ /** ID of the event. */
123640
+ event_id: string;
123641
+ /** ID of the workspace associated with the event. */
123642
+ workspace_id: string;
123643
+ /** Date and time at which the event was created. */
123644
+ created_at: string;
123645
+ /** Date and time at which the event occurred. */
123646
+ occurred_at: string;
123647
+ /** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
123648
+ event_description?: string | undefined;
123649
+ /** ID of the affected access code. */
123650
+ access_code_id: string;
123651
+ /** ID of the device associated with the affected access code. */
123652
+ device_id: string;
123653
+ /** ID of the connected account associated with the affected access code. */
123654
+ connected_account_id: string;
123655
+ /** Custom metadata of the device, present when device_id is provided. */
123656
+ device_custom_metadata?: {
123657
+ [x: string]: string | boolean;
123658
+ } | undefined;
123659
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
123660
+ connected_account_custom_metadata?: {
123661
+ [x: string]: string | boolean;
123662
+ } | undefined;
123663
+ event_type: 'access_code.issued';
123664
+ /** Code for the affected access code. */
123665
+ code: string;
121743
123666
  } | {
121744
123667
  /** ID of the event. */
121745
123668
  event_id: string;
@@ -121765,9 +123688,61 @@ export type Routes = {
121765
123688
  connected_account_custom_metadata?: {
121766
123689
  [x: string]: string | boolean;
121767
123690
  } | undefined;
121768
- event_type: 'access_code.scheduled_on_device';
121769
- /** Code for the affected access code. */
121770
- code: string;
123691
+ event_type: 'access_code.delay_in_issuing';
123692
+ /** Errors associated with the connected account. */
123693
+ connected_account_errors: {
123694
+ /** Date and time at which Seam created the error. */
123695
+ created_at: string;
123696
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123697
+ message: string;
123698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123699
+ error_code: string;
123700
+ }[];
123701
+ /** Warnings associated with the connected account. */
123702
+ connected_account_warnings: {
123703
+ /** Date and time at which Seam created the warning. */
123704
+ created_at: string;
123705
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123706
+ message: string;
123707
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123708
+ warning_code: string;
123709
+ }[];
123710
+ /** Errors associated with the device. */
123711
+ device_errors: {
123712
+ /** Date and time at which Seam created the error. */
123713
+ created_at: string;
123714
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123715
+ message: string;
123716
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123717
+ error_code: string;
123718
+ }[];
123719
+ /** Warnings associated with the device. */
123720
+ device_warnings: {
123721
+ /** Date and time at which Seam created the warning. */
123722
+ created_at: string;
123723
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123724
+ message: string;
123725
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123726
+ warning_code: string;
123727
+ }[];
123728
+ /** Errors associated with the access code. */
123729
+ access_code_errors: {
123730
+ /** Date and time at which Seam created the error. */
123731
+ created_at: string;
123732
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123733
+ message: string;
123734
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123735
+ error_code: string;
123736
+ }[];
123737
+ /** Warnings associated with the access code. */
123738
+ access_code_warnings: {
123739
+ /** Date and time at which Seam created the warning. */
123740
+ created_at: string;
123741
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123742
+ message: string;
123743
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123744
+ warning_code: string;
123745
+ }[];
121771
123746
  } | {
121772
123747
  /** ID of the event. */
121773
123748
  event_id: string;
@@ -121793,9 +123768,61 @@ export type Routes = {
121793
123768
  connected_account_custom_metadata?: {
121794
123769
  [x: string]: string | boolean;
121795
123770
  } | undefined;
121796
- event_type: 'access_code.set_on_device';
121797
- /** Code for the affected access code. */
121798
- code: string;
123771
+ event_type: 'access_code.failed_to_issue';
123772
+ /** Errors associated with the connected account. */
123773
+ connected_account_errors: {
123774
+ /** Date and time at which Seam created the error. */
123775
+ created_at: string;
123776
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123777
+ message: string;
123778
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123779
+ error_code: string;
123780
+ }[];
123781
+ /** Warnings associated with the connected account. */
123782
+ connected_account_warnings: {
123783
+ /** Date and time at which Seam created the warning. */
123784
+ created_at: string;
123785
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123786
+ message: string;
123787
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123788
+ warning_code: string;
123789
+ }[];
123790
+ /** Errors associated with the device. */
123791
+ device_errors: {
123792
+ /** Date and time at which Seam created the error. */
123793
+ created_at: string;
123794
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123795
+ message: string;
123796
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123797
+ error_code: string;
123798
+ }[];
123799
+ /** Warnings associated with the device. */
123800
+ device_warnings: {
123801
+ /** Date and time at which Seam created the warning. */
123802
+ created_at: string;
123803
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123804
+ message: string;
123805
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123806
+ warning_code: string;
123807
+ }[];
123808
+ /** Errors associated with the access code. */
123809
+ access_code_errors: {
123810
+ /** Date and time at which Seam created the error. */
123811
+ created_at: string;
123812
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123813
+ message: string;
123814
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123815
+ error_code: string;
123816
+ }[];
123817
+ /** Warnings associated with the access code. */
123818
+ access_code_warnings: {
123819
+ /** Date and time at which Seam created the warning. */
123820
+ created_at: string;
123821
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123822
+ message: string;
123823
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123824
+ warning_code: string;
123825
+ }[];
121799
123826
  } | {
121800
123827
  /** ID of the event. */
121801
123828
  event_id: string;
@@ -121821,7 +123848,61 @@ export type Routes = {
121821
123848
  connected_account_custom_metadata?: {
121822
123849
  [x: string]: string | boolean;
121823
123850
  } | undefined;
121824
- event_type: 'access_code.removed_from_device';
123851
+ event_type: 'access_code.delay_in_applying_mutations';
123852
+ /** Errors associated with the connected account. */
123853
+ connected_account_errors: {
123854
+ /** Date and time at which Seam created the error. */
123855
+ created_at: string;
123856
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123857
+ message: string;
123858
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123859
+ error_code: string;
123860
+ }[];
123861
+ /** Warnings associated with the connected account. */
123862
+ connected_account_warnings: {
123863
+ /** Date and time at which Seam created the warning. */
123864
+ created_at: string;
123865
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123866
+ message: string;
123867
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123868
+ warning_code: string;
123869
+ }[];
123870
+ /** Errors associated with the device. */
123871
+ device_errors: {
123872
+ /** Date and time at which Seam created the error. */
123873
+ created_at: string;
123874
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123875
+ message: string;
123876
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123877
+ error_code: string;
123878
+ }[];
123879
+ /** Warnings associated with the device. */
123880
+ device_warnings: {
123881
+ /** Date and time at which Seam created the warning. */
123882
+ created_at: string;
123883
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123884
+ message: string;
123885
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123886
+ warning_code: string;
123887
+ }[];
123888
+ /** Errors associated with the access code. */
123889
+ access_code_errors: {
123890
+ /** Date and time at which Seam created the error. */
123891
+ created_at: string;
123892
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123893
+ message: string;
123894
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123895
+ error_code: string;
123896
+ }[];
123897
+ /** Warnings associated with the access code. */
123898
+ access_code_warnings: {
123899
+ /** Date and time at which Seam created the warning. */
123900
+ created_at: string;
123901
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
123902
+ message: string;
123903
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
123904
+ warning_code: string;
123905
+ }[];
121825
123906
  } | {
121826
123907
  /** ID of the event. */
121827
123908
  event_id: string;
@@ -121847,7 +123928,7 @@ export type Routes = {
121847
123928
  connected_account_custom_metadata?: {
121848
123929
  [x: string]: string | boolean;
121849
123930
  } | undefined;
121850
- event_type: 'access_code.delay_in_setting_on_device';
123931
+ event_type: 'access_code.failed_to_apply_mutations';
121851
123932
  /** Errors associated with the connected account. */
121852
123933
  connected_account_errors: {
121853
123934
  /** Date and time at which Seam created the error. */
@@ -121927,7 +124008,7 @@ export type Routes = {
121927
124008
  connected_account_custom_metadata?: {
121928
124009
  [x: string]: string | boolean;
121929
124010
  } | undefined;
121930
- event_type: 'access_code.failed_to_set_on_device';
124011
+ event_type: 'access_code.failed_to_expire';
121931
124012
  /** Errors associated with the connected account. */
121932
124013
  connected_account_errors: {
121933
124014
  /** Date and time at which Seam created the error. */
@@ -125160,6 +127241,33 @@ export type Routes = {
125160
127241
  created_at?: string | undefined;
125161
127242
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125162
127243
  error_code: 'code_constraints_violated';
127244
+ } | {
127245
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127246
+ message: string;
127247
+ /** Indicates that this is an access code error. */
127248
+ is_access_code_error: true;
127249
+ /** Date and time at which Seam created the error. */
127250
+ created_at?: string | undefined;
127251
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127252
+ error_code: 'failed_to_issue';
127253
+ } | {
127254
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127255
+ message: string;
127256
+ /** Indicates that this is an access code error. */
127257
+ is_access_code_error: true;
127258
+ /** Date and time at which Seam created the error. */
127259
+ created_at?: string | undefined;
127260
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127261
+ error_code: 'failed_to_apply_mutations';
127262
+ } | {
127263
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127264
+ message: string;
127265
+ /** Indicates that this is an access code error. */
127266
+ is_access_code_error: true;
127267
+ /** Date and time at which Seam created the error. */
127268
+ created_at?: string | undefined;
127269
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127270
+ error_code: 'failed_to_expire';
125163
127271
  } | {
125164
127272
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125165
127273
  message: string;
@@ -125344,6 +127452,20 @@ export type Routes = {
125344
127452
  created_at?: string | undefined;
125345
127453
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
125346
127454
  warning_code: 'delay_in_removing_from_device';
127455
+ } | {
127456
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
127457
+ message: string;
127458
+ /** Date and time at which Seam created the warning. */
127459
+ created_at?: string | undefined;
127460
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
127461
+ warning_code: 'delay_in_issuing';
127462
+ } | {
127463
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
127464
+ message: string;
127465
+ /** Date and time at which Seam created the warning. */
127466
+ created_at?: string | undefined;
127467
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
127468
+ warning_code: 'delay_in_applying_mutations';
125347
127469
  } | {
125348
127470
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
125349
127471
  message: string;
@@ -125528,6 +127650,33 @@ export type Routes = {
125528
127650
  created_at?: string | undefined;
125529
127651
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125530
127652
  error_code: 'code_constraints_violated';
127653
+ } | {
127654
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127655
+ message: string;
127656
+ /** Indicates that this is an access code error. */
127657
+ is_access_code_error: true;
127658
+ /** Date and time at which Seam created the error. */
127659
+ created_at?: string | undefined;
127660
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127661
+ error_code: 'failed_to_issue';
127662
+ } | {
127663
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127664
+ message: string;
127665
+ /** Indicates that this is an access code error. */
127666
+ is_access_code_error: true;
127667
+ /** Date and time at which Seam created the error. */
127668
+ created_at?: string | undefined;
127669
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127670
+ error_code: 'failed_to_apply_mutations';
127671
+ } | {
127672
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
127673
+ message: string;
127674
+ /** Indicates that this is an access code error. */
127675
+ is_access_code_error: true;
127676
+ /** Date and time at which Seam created the error. */
127677
+ created_at?: string | undefined;
127678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
127679
+ error_code: 'failed_to_expire';
125531
127680
  } | {
125532
127681
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125533
127682
  message: string;
@@ -125712,6 +127861,20 @@ export type Routes = {
125712
127861
  created_at?: string | undefined;
125713
127862
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
125714
127863
  warning_code: 'delay_in_removing_from_device';
127864
+ } | {
127865
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
127866
+ message: string;
127867
+ /** Date and time at which Seam created the warning. */
127868
+ created_at?: string | undefined;
127869
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
127870
+ warning_code: 'delay_in_issuing';
127871
+ } | {
127872
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
127873
+ message: string;
127874
+ /** Date and time at which Seam created the warning. */
127875
+ created_at?: string | undefined;
127876
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
127877
+ warning_code: 'delay_in_applying_mutations';
125715
127878
  } | {
125716
127879
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
125717
127880
  message: string;