@seamapi/types 1.1026.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;
@@ -46538,6 +46907,8 @@ export type Routes = {
46538
46907
  custom_metadata: {
46539
46908
  [x: string]: string | boolean;
46540
46909
  };
46910
+ /** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
46911
+ display_name: string;
46541
46912
  /** Indicates that Seam does not manage the device. */
46542
46913
  is_managed: false;
46543
46914
  /** properties of the device. */
@@ -47058,6 +47429,8 @@ export type Routes = {
47058
47429
  custom_metadata: {
47059
47430
  [x: string]: string | boolean;
47060
47431
  };
47432
+ /** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
47433
+ display_name: string;
47061
47434
  /** Indicates that Seam does not manage the device. */
47062
47435
  is_managed: false;
47063
47436
  /** properties of the device. */
@@ -47734,9 +48107,9 @@ export type Routes = {
47734
48107
  connected_account_custom_metadata?: {
47735
48108
  [x: string]: string | boolean;
47736
48109
  } | undefined;
47737
- event_type: 'access_code.deleted';
48110
+ event_type: 'access_code.issued';
47738
48111
  /** Code for the affected access code. */
47739
- code: string | null;
48112
+ code: string;
47740
48113
  } | {
47741
48114
  /** ID of the event. */
47742
48115
  event_id: string;
@@ -47762,7 +48135,7 @@ export type Routes = {
47762
48135
  connected_account_custom_metadata?: {
47763
48136
  [x: string]: string | boolean;
47764
48137
  } | undefined;
47765
- event_type: 'access_code.delay_in_removing_from_device';
48138
+ event_type: 'access_code.delay_in_issuing';
47766
48139
  /** Errors associated with the connected account. */
47767
48140
  connected_account_errors: {
47768
48141
  /** Date and time at which Seam created the error. */
@@ -47842,7 +48215,7 @@ export type Routes = {
47842
48215
  connected_account_custom_metadata?: {
47843
48216
  [x: string]: string | boolean;
47844
48217
  } | undefined;
47845
- event_type: 'access_code.failed_to_remove_from_device';
48218
+ event_type: 'access_code.failed_to_issue';
47846
48219
  /** Errors associated with the connected account. */
47847
48220
  connected_account_errors: {
47848
48221
  /** Date and time at which Seam created the error. */
@@ -47922,7 +48295,61 @@ export type Routes = {
47922
48295
  connected_account_custom_metadata?: {
47923
48296
  [x: string]: string | boolean;
47924
48297
  } | undefined;
47925
- event_type: 'access_code.modified_external_to_seam';
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
+ }[];
47926
48353
  } | {
47927
48354
  /** ID of the event. */
47928
48355
  event_id: string;
@@ -47948,7 +48375,61 @@ export type Routes = {
47948
48375
  connected_account_custom_metadata?: {
47949
48376
  [x: string]: string | boolean;
47950
48377
  } | undefined;
47951
- event_type: 'access_code.deleted_external_to_seam';
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
+ }[];
47952
48433
  } | {
47953
48434
  /** ID of the event. */
47954
48435
  event_id: string;
@@ -47974,9 +48455,61 @@ export type Routes = {
47974
48455
  connected_account_custom_metadata?: {
47975
48456
  [x: string]: string | boolean;
47976
48457
  } | undefined;
47977
- event_type: 'access_code.backup_access_code_pulled';
47978
- /** ID of the backup access code that was pulled from the pool. */
47979
- backup_access_code_id: string;
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
+ }[];
47980
48513
  } | {
47981
48514
  /** ID of the event. */
47982
48515
  event_id: string;
@@ -48002,7 +48535,9 @@ export type Routes = {
48002
48535
  connected_account_custom_metadata?: {
48003
48536
  [x: string]: string | boolean;
48004
48537
  } | undefined;
48005
- event_type: 'access_code.unmanaged.converted_to_managed';
48538
+ event_type: 'access_code.deleted';
48539
+ /** Code for the affected access code. */
48540
+ code: string | null;
48006
48541
  } | {
48007
48542
  /** ID of the event. */
48008
48543
  event_id: string;
@@ -48028,7 +48563,273 @@ export type Routes = {
48028
48563
  connected_account_custom_metadata?: {
48029
48564
  [x: string]: string | boolean;
48030
48565
  } | undefined;
48031
- event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
48566
+ event_type: 'access_code.delay_in_removing_from_device';
48567
+ /** Errors associated with the connected account. */
48568
+ connected_account_errors: {
48569
+ /** Date and time at which Seam created the error. */
48570
+ created_at: string;
48571
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48572
+ message: string;
48573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48574
+ error_code: string;
48575
+ }[];
48576
+ /** Warnings associated with the connected account. */
48577
+ connected_account_warnings: {
48578
+ /** Date and time at which Seam created the warning. */
48579
+ created_at: string;
48580
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48581
+ message: string;
48582
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48583
+ warning_code: string;
48584
+ }[];
48585
+ /** Errors associated with the device. */
48586
+ device_errors: {
48587
+ /** Date and time at which Seam created the error. */
48588
+ created_at: string;
48589
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48590
+ message: string;
48591
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48592
+ error_code: string;
48593
+ }[];
48594
+ /** Warnings associated with the device. */
48595
+ device_warnings: {
48596
+ /** Date and time at which Seam created the warning. */
48597
+ created_at: string;
48598
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48599
+ message: string;
48600
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48601
+ warning_code: string;
48602
+ }[];
48603
+ /** Errors associated with the access code. */
48604
+ access_code_errors: {
48605
+ /** Date and time at which Seam created the error. */
48606
+ created_at: string;
48607
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48608
+ message: string;
48609
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48610
+ error_code: string;
48611
+ }[];
48612
+ /** Warnings associated with the access code. */
48613
+ access_code_warnings: {
48614
+ /** Date and time at which Seam created the warning. */
48615
+ created_at: string;
48616
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48617
+ message: string;
48618
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48619
+ warning_code: string;
48620
+ }[];
48621
+ } | {
48622
+ /** ID of the event. */
48623
+ event_id: string;
48624
+ /** ID of the workspace associated with the event. */
48625
+ workspace_id: string;
48626
+ /** Date and time at which the event was created. */
48627
+ created_at: string;
48628
+ /** Date and time at which the event occurred. */
48629
+ occurred_at: string;
48630
+ /** 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. */
48631
+ event_description?: string | undefined;
48632
+ /** ID of the affected access code. */
48633
+ access_code_id: string;
48634
+ /** ID of the device associated with the affected access code. */
48635
+ device_id: string;
48636
+ /** ID of the connected account associated with the affected access code. */
48637
+ connected_account_id: string;
48638
+ /** Custom metadata of the device, present when device_id is provided. */
48639
+ device_custom_metadata?: {
48640
+ [x: string]: string | boolean;
48641
+ } | undefined;
48642
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48643
+ connected_account_custom_metadata?: {
48644
+ [x: string]: string | boolean;
48645
+ } | undefined;
48646
+ event_type: 'access_code.failed_to_remove_from_device';
48647
+ /** Errors associated with the connected account. */
48648
+ connected_account_errors: {
48649
+ /** Date and time at which Seam created the error. */
48650
+ created_at: string;
48651
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48652
+ message: string;
48653
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48654
+ error_code: string;
48655
+ }[];
48656
+ /** Warnings associated with the connected account. */
48657
+ connected_account_warnings: {
48658
+ /** Date and time at which Seam created the warning. */
48659
+ created_at: string;
48660
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48661
+ message: string;
48662
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48663
+ warning_code: string;
48664
+ }[];
48665
+ /** Errors associated with the device. */
48666
+ device_errors: {
48667
+ /** Date and time at which Seam created the error. */
48668
+ created_at: string;
48669
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48670
+ message: string;
48671
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48672
+ error_code: string;
48673
+ }[];
48674
+ /** Warnings associated with the device. */
48675
+ device_warnings: {
48676
+ /** Date and time at which Seam created the warning. */
48677
+ created_at: string;
48678
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48679
+ message: string;
48680
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48681
+ warning_code: string;
48682
+ }[];
48683
+ /** Errors associated with the access code. */
48684
+ access_code_errors: {
48685
+ /** Date and time at which Seam created the error. */
48686
+ created_at: string;
48687
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48688
+ message: string;
48689
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48690
+ error_code: string;
48691
+ }[];
48692
+ /** Warnings associated with the access code. */
48693
+ access_code_warnings: {
48694
+ /** Date and time at which Seam created the warning. */
48695
+ created_at: string;
48696
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48697
+ message: string;
48698
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48699
+ warning_code: string;
48700
+ }[];
48701
+ } | {
48702
+ /** ID of the event. */
48703
+ event_id: string;
48704
+ /** ID of the workspace associated with the event. */
48705
+ workspace_id: string;
48706
+ /** Date and time at which the event was created. */
48707
+ created_at: string;
48708
+ /** Date and time at which the event occurred. */
48709
+ occurred_at: string;
48710
+ /** 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. */
48711
+ event_description?: string | undefined;
48712
+ /** ID of the affected access code. */
48713
+ access_code_id: string;
48714
+ /** ID of the device associated with the affected access code. */
48715
+ device_id: string;
48716
+ /** ID of the connected account associated with the affected access code. */
48717
+ connected_account_id: string;
48718
+ /** Custom metadata of the device, present when device_id is provided. */
48719
+ device_custom_metadata?: {
48720
+ [x: string]: string | boolean;
48721
+ } | undefined;
48722
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48723
+ connected_account_custom_metadata?: {
48724
+ [x: string]: string | boolean;
48725
+ } | undefined;
48726
+ event_type: 'access_code.modified_external_to_seam';
48727
+ } | {
48728
+ /** ID of the event. */
48729
+ event_id: string;
48730
+ /** ID of the workspace associated with the event. */
48731
+ workspace_id: string;
48732
+ /** Date and time at which the event was created. */
48733
+ created_at: string;
48734
+ /** Date and time at which the event occurred. */
48735
+ occurred_at: string;
48736
+ /** 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. */
48737
+ event_description?: string | undefined;
48738
+ /** ID of the affected access code. */
48739
+ access_code_id: string;
48740
+ /** ID of the device associated with the affected access code. */
48741
+ device_id: string;
48742
+ /** ID of the connected account associated with the affected access code. */
48743
+ connected_account_id: string;
48744
+ /** Custom metadata of the device, present when device_id is provided. */
48745
+ device_custom_metadata?: {
48746
+ [x: string]: string | boolean;
48747
+ } | undefined;
48748
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48749
+ connected_account_custom_metadata?: {
48750
+ [x: string]: string | boolean;
48751
+ } | undefined;
48752
+ event_type: 'access_code.deleted_external_to_seam';
48753
+ } | {
48754
+ /** ID of the event. */
48755
+ event_id: string;
48756
+ /** ID of the workspace associated with the event. */
48757
+ workspace_id: string;
48758
+ /** Date and time at which the event was created. */
48759
+ created_at: string;
48760
+ /** Date and time at which the event occurred. */
48761
+ occurred_at: string;
48762
+ /** 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. */
48763
+ event_description?: string | undefined;
48764
+ /** ID of the affected access code. */
48765
+ access_code_id: string;
48766
+ /** ID of the device associated with the affected access code. */
48767
+ device_id: string;
48768
+ /** ID of the connected account associated with the affected access code. */
48769
+ connected_account_id: string;
48770
+ /** Custom metadata of the device, present when device_id is provided. */
48771
+ device_custom_metadata?: {
48772
+ [x: string]: string | boolean;
48773
+ } | undefined;
48774
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48775
+ connected_account_custom_metadata?: {
48776
+ [x: string]: string | boolean;
48777
+ } | undefined;
48778
+ event_type: 'access_code.backup_access_code_pulled';
48779
+ /** ID of the backup access code that was pulled from the pool. */
48780
+ backup_access_code_id: string;
48781
+ } | {
48782
+ /** ID of the event. */
48783
+ event_id: string;
48784
+ /** ID of the workspace associated with the event. */
48785
+ workspace_id: string;
48786
+ /** Date and time at which the event was created. */
48787
+ created_at: string;
48788
+ /** Date and time at which the event occurred. */
48789
+ occurred_at: string;
48790
+ /** 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. */
48791
+ event_description?: string | undefined;
48792
+ /** ID of the affected access code. */
48793
+ access_code_id: string;
48794
+ /** ID of the device associated with the affected access code. */
48795
+ device_id: string;
48796
+ /** ID of the connected account associated with the affected access code. */
48797
+ connected_account_id: string;
48798
+ /** Custom metadata of the device, present when device_id is provided. */
48799
+ device_custom_metadata?: {
48800
+ [x: string]: string | boolean;
48801
+ } | undefined;
48802
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48803
+ connected_account_custom_metadata?: {
48804
+ [x: string]: string | boolean;
48805
+ } | undefined;
48806
+ event_type: 'access_code.unmanaged.converted_to_managed';
48807
+ } | {
48808
+ /** ID of the event. */
48809
+ event_id: string;
48810
+ /** ID of the workspace associated with the event. */
48811
+ workspace_id: string;
48812
+ /** Date and time at which the event was created. */
48813
+ created_at: string;
48814
+ /** Date and time at which the event occurred. */
48815
+ occurred_at: string;
48816
+ /** 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. */
48817
+ event_description?: string | undefined;
48818
+ /** ID of the affected access code. */
48819
+ access_code_id: string;
48820
+ /** ID of the device associated with the affected access code. */
48821
+ device_id: string;
48822
+ /** ID of the connected account associated with the affected access code. */
48823
+ connected_account_id: string;
48824
+ /** Custom metadata of the device, present when device_id is provided. */
48825
+ device_custom_metadata?: {
48826
+ [x: string]: string | boolean;
48827
+ } | undefined;
48828
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
48829
+ connected_account_custom_metadata?: {
48830
+ [x: string]: string | boolean;
48831
+ } | undefined;
48832
+ event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
48032
48833
  /** Errors associated with the connected account. */
48033
48834
  connected_account_errors: {
48034
48835
  /** Date and time at which Seam created the error. */
@@ -50487,9 +51288,9 @@ export type Routes = {
50487
51288
  /** IDs of the access codes for which you want to list events. */
50488
51289
  access_code_ids?: string[] | undefined;
50489
51290
  /** Type of the events that you want to list. */
50490
- 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;
50491
51292
  /** Types of the events that you want to list. */
50492
- 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;
50493
51294
  /** ID of the connected account for which you want to list events. */
50494
51295
  connected_account_id?: string | undefined;
50495
51296
  /** ID of the Connect Webview for which you want to list events. */
@@ -50987,6 +51788,434 @@ export type Routes = {
50987
51788
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50988
51789
  warning_code: string;
50989
51790
  }[];
51791
+ } | {
51792
+ /** ID of the event. */
51793
+ event_id: string;
51794
+ /** ID of the workspace associated with the event. */
51795
+ workspace_id: string;
51796
+ /** Date and time at which the event was created. */
51797
+ created_at: string;
51798
+ /** Date and time at which the event occurred. */
51799
+ occurred_at: string;
51800
+ /** 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. */
51801
+ event_description?: string | undefined;
51802
+ /** ID of the affected access code. */
51803
+ access_code_id: string;
51804
+ /** ID of the device associated with the affected access code. */
51805
+ device_id: string;
51806
+ /** ID of the connected account associated with the affected access code. */
51807
+ connected_account_id: string;
51808
+ /** Custom metadata of the device, present when device_id is provided. */
51809
+ device_custom_metadata?: {
51810
+ [x: string]: string | boolean;
51811
+ } | undefined;
51812
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
51813
+ connected_account_custom_metadata?: {
51814
+ [x: string]: string | boolean;
51815
+ } | undefined;
51816
+ event_type: 'access_code.issued';
51817
+ /** Code for the affected access code. */
51818
+ code: string;
51819
+ } | {
51820
+ /** ID of the event. */
51821
+ event_id: string;
51822
+ /** ID of the workspace associated with the event. */
51823
+ workspace_id: string;
51824
+ /** Date and time at which the event was created. */
51825
+ created_at: string;
51826
+ /** Date and time at which the event occurred. */
51827
+ occurred_at: string;
51828
+ /** 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. */
51829
+ event_description?: string | undefined;
51830
+ /** ID of the affected access code. */
51831
+ access_code_id: string;
51832
+ /** ID of the device associated with the affected access code. */
51833
+ device_id: string;
51834
+ /** ID of the connected account associated with the affected access code. */
51835
+ connected_account_id: string;
51836
+ /** Custom metadata of the device, present when device_id is provided. */
51837
+ device_custom_metadata?: {
51838
+ [x: string]: string | boolean;
51839
+ } | undefined;
51840
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
51841
+ connected_account_custom_metadata?: {
51842
+ [x: string]: string | boolean;
51843
+ } | undefined;
51844
+ event_type: 'access_code.delay_in_issuing';
51845
+ /** Errors associated with the connected account. */
51846
+ connected_account_errors: {
51847
+ /** Date and time at which Seam created the error. */
51848
+ created_at: string;
51849
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51850
+ message: string;
51851
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51852
+ error_code: string;
51853
+ }[];
51854
+ /** Warnings associated with the connected account. */
51855
+ connected_account_warnings: {
51856
+ /** Date and time at which Seam created the warning. */
51857
+ created_at: string;
51858
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51859
+ message: string;
51860
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51861
+ warning_code: string;
51862
+ }[];
51863
+ /** Errors associated with the device. */
51864
+ device_errors: {
51865
+ /** Date and time at which Seam created the error. */
51866
+ created_at: string;
51867
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51868
+ message: string;
51869
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51870
+ error_code: string;
51871
+ }[];
51872
+ /** Warnings associated with the device. */
51873
+ device_warnings: {
51874
+ /** Date and time at which Seam created the warning. */
51875
+ created_at: string;
51876
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51877
+ message: string;
51878
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51879
+ warning_code: string;
51880
+ }[];
51881
+ /** Errors associated with the access code. */
51882
+ access_code_errors: {
51883
+ /** Date and time at which Seam created the error. */
51884
+ created_at: string;
51885
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51886
+ message: string;
51887
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51888
+ error_code: string;
51889
+ }[];
51890
+ /** Warnings associated with the access code. */
51891
+ access_code_warnings: {
51892
+ /** Date and time at which Seam created the warning. */
51893
+ created_at: string;
51894
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51895
+ message: string;
51896
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51897
+ warning_code: string;
51898
+ }[];
51899
+ } | {
51900
+ /** ID of the event. */
51901
+ event_id: string;
51902
+ /** ID of the workspace associated with the event. */
51903
+ workspace_id: string;
51904
+ /** Date and time at which the event was created. */
51905
+ created_at: string;
51906
+ /** Date and time at which the event occurred. */
51907
+ occurred_at: string;
51908
+ /** 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. */
51909
+ event_description?: string | undefined;
51910
+ /** ID of the affected access code. */
51911
+ access_code_id: string;
51912
+ /** ID of the device associated with the affected access code. */
51913
+ device_id: string;
51914
+ /** ID of the connected account associated with the affected access code. */
51915
+ connected_account_id: string;
51916
+ /** Custom metadata of the device, present when device_id is provided. */
51917
+ device_custom_metadata?: {
51918
+ [x: string]: string | boolean;
51919
+ } | undefined;
51920
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
51921
+ connected_account_custom_metadata?: {
51922
+ [x: string]: string | boolean;
51923
+ } | undefined;
51924
+ event_type: 'access_code.failed_to_issue';
51925
+ /** Errors associated with the connected account. */
51926
+ connected_account_errors: {
51927
+ /** Date and time at which Seam created the error. */
51928
+ created_at: string;
51929
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51930
+ message: string;
51931
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51932
+ error_code: string;
51933
+ }[];
51934
+ /** Warnings associated with the connected account. */
51935
+ connected_account_warnings: {
51936
+ /** Date and time at which Seam created the warning. */
51937
+ created_at: string;
51938
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51939
+ message: string;
51940
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51941
+ warning_code: string;
51942
+ }[];
51943
+ /** Errors associated with the device. */
51944
+ device_errors: {
51945
+ /** Date and time at which Seam created the error. */
51946
+ created_at: string;
51947
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51948
+ message: string;
51949
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51950
+ error_code: string;
51951
+ }[];
51952
+ /** Warnings associated with the device. */
51953
+ device_warnings: {
51954
+ /** Date and time at which Seam created the warning. */
51955
+ created_at: string;
51956
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51957
+ message: string;
51958
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51959
+ warning_code: string;
51960
+ }[];
51961
+ /** Errors associated with the access code. */
51962
+ access_code_errors: {
51963
+ /** Date and time at which Seam created the error. */
51964
+ created_at: string;
51965
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51966
+ message: string;
51967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51968
+ error_code: string;
51969
+ }[];
51970
+ /** Warnings associated with the access code. */
51971
+ access_code_warnings: {
51972
+ /** Date and time at which Seam created the warning. */
51973
+ created_at: string;
51974
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51975
+ message: string;
51976
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51977
+ warning_code: string;
51978
+ }[];
51979
+ } | {
51980
+ /** ID of the event. */
51981
+ event_id: string;
51982
+ /** ID of the workspace associated with the event. */
51983
+ workspace_id: string;
51984
+ /** Date and time at which the event was created. */
51985
+ created_at: string;
51986
+ /** Date and time at which the event occurred. */
51987
+ occurred_at: string;
51988
+ /** 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. */
51989
+ event_description?: string | undefined;
51990
+ /** ID of the affected access code. */
51991
+ access_code_id: string;
51992
+ /** ID of the device associated with the affected access code. */
51993
+ device_id: string;
51994
+ /** ID of the connected account associated with the affected access code. */
51995
+ connected_account_id: string;
51996
+ /** Custom metadata of the device, present when device_id is provided. */
51997
+ device_custom_metadata?: {
51998
+ [x: string]: string | boolean;
51999
+ } | undefined;
52000
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
52001
+ connected_account_custom_metadata?: {
52002
+ [x: string]: string | boolean;
52003
+ } | undefined;
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
+ }[];
50990
52219
  } | {
50991
52220
  /** ID of the event. */
50992
52221
  event_id: string;
@@ -81857,9 +83086,9 @@ export type Routes = {
81857
83086
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
81858
83087
  between?: string[] | undefined;
81859
83088
  /** Type of the events that you want to list. */
81860
- 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;
81861
83090
  /** Types of the events that you want to list. */
81862
- 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;
81863
83092
  /** Numerical limit on the number of events to return. */
81864
83093
  limit?: number;
81865
83094
  };
@@ -82029,23 +83258,304 @@ export type Routes = {
82029
83258
  connected_account_custom_metadata?: {
82030
83259
  [x: string]: string | boolean;
82031
83260
  } | undefined;
82032
- event_type: 'access_code.time_frame_changed';
82033
- /** Previous time frame configuration. */
82034
- from: {
82035
- /** Previous start time. */
82036
- starts_at: string | null;
82037
- /** Previous end time. */
82038
- ends_at: string | null;
82039
- };
82040
- /** New time frame configuration. */
82041
- to: {
82042
- /** New start time. */
82043
- starts_at: string | null;
82044
- /** New end time. */
82045
- ends_at: string | null;
82046
- };
82047
- /** Human-readable description of the change and its source. */
82048
- description: string;
83261
+ event_type: 'access_code.time_frame_changed';
83262
+ /** Previous time frame configuration. */
83263
+ from: {
83264
+ /** Previous start time. */
83265
+ starts_at: string | null;
83266
+ /** Previous end time. */
83267
+ ends_at: string | null;
83268
+ };
83269
+ /** New time frame configuration. */
83270
+ to: {
83271
+ /** New start time. */
83272
+ starts_at: string | null;
83273
+ /** New end time. */
83274
+ ends_at: string | null;
83275
+ };
83276
+ /** Human-readable description of the change and its source. */
83277
+ description: string;
83278
+ } | {
83279
+ /** ID of the event. */
83280
+ event_id: string;
83281
+ /** ID of the workspace associated with the event. */
83282
+ workspace_id: string;
83283
+ /** Date and time at which the event was created. */
83284
+ created_at: string;
83285
+ /** Date and time at which the event occurred. */
83286
+ occurred_at: string;
83287
+ /** 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. */
83288
+ event_description?: string | undefined;
83289
+ /** ID of the affected access code. */
83290
+ access_code_id: string;
83291
+ /** ID of the device associated with the affected access code. */
83292
+ device_id: string;
83293
+ /** ID of the connected account associated with the affected access code. */
83294
+ connected_account_id: string;
83295
+ /** Custom metadata of the device, present when device_id is provided. */
83296
+ device_custom_metadata?: {
83297
+ [x: string]: string | boolean;
83298
+ } | undefined;
83299
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83300
+ connected_account_custom_metadata?: {
83301
+ [x: string]: string | boolean;
83302
+ } | undefined;
83303
+ event_type: 'access_code.mutations_requested';
83304
+ /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
83305
+ requested_mutations: {
83306
+ /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
83307
+ mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
83308
+ /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
83309
+ from?: {
83310
+ [x: string]: unknown;
83311
+ } | undefined;
83312
+ /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
83313
+ to?: {
83314
+ [x: string]: unknown;
83315
+ } | undefined;
83316
+ }[];
83317
+ } | {
83318
+ /** ID of the event. */
83319
+ event_id: string;
83320
+ /** ID of the workspace associated with the event. */
83321
+ workspace_id: string;
83322
+ /** Date and time at which the event was created. */
83323
+ created_at: string;
83324
+ /** Date and time at which the event occurred. */
83325
+ occurred_at: string;
83326
+ /** 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. */
83327
+ event_description?: string | undefined;
83328
+ /** ID of the affected access code. */
83329
+ access_code_id: string;
83330
+ /** ID of the device associated with the affected access code. */
83331
+ device_id: string;
83332
+ /** ID of the connected account associated with the affected access code. */
83333
+ connected_account_id: string;
83334
+ /** Custom metadata of the device, present when device_id is provided. */
83335
+ device_custom_metadata?: {
83336
+ [x: string]: string | boolean;
83337
+ } | undefined;
83338
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83339
+ connected_account_custom_metadata?: {
83340
+ [x: string]: string | boolean;
83341
+ } | undefined;
83342
+ event_type: 'access_code.scheduled_on_device';
83343
+ /** Code for the affected access code. */
83344
+ code: string;
83345
+ } | {
83346
+ /** ID of the event. */
83347
+ event_id: string;
83348
+ /** ID of the workspace associated with the event. */
83349
+ workspace_id: string;
83350
+ /** Date and time at which the event was created. */
83351
+ created_at: string;
83352
+ /** Date and time at which the event occurred. */
83353
+ occurred_at: string;
83354
+ /** 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. */
83355
+ event_description?: string | undefined;
83356
+ /** ID of the affected access code. */
83357
+ access_code_id: string;
83358
+ /** ID of the device associated with the affected access code. */
83359
+ device_id: string;
83360
+ /** ID of the connected account associated with the affected access code. */
83361
+ connected_account_id: string;
83362
+ /** Custom metadata of the device, present when device_id is provided. */
83363
+ device_custom_metadata?: {
83364
+ [x: string]: string | boolean;
83365
+ } | undefined;
83366
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83367
+ connected_account_custom_metadata?: {
83368
+ [x: string]: string | boolean;
83369
+ } | undefined;
83370
+ event_type: 'access_code.set_on_device';
83371
+ /** Code for the affected access code. */
83372
+ code: string;
83373
+ } | {
83374
+ /** ID of the event. */
83375
+ event_id: string;
83376
+ /** ID of the workspace associated with the event. */
83377
+ workspace_id: string;
83378
+ /** Date and time at which the event was created. */
83379
+ created_at: string;
83380
+ /** Date and time at which the event occurred. */
83381
+ occurred_at: string;
83382
+ /** 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. */
83383
+ event_description?: string | undefined;
83384
+ /** ID of the affected access code. */
83385
+ access_code_id: string;
83386
+ /** ID of the device associated with the affected access code. */
83387
+ device_id: string;
83388
+ /** ID of the connected account associated with the affected access code. */
83389
+ connected_account_id: string;
83390
+ /** Custom metadata of the device, present when device_id is provided. */
83391
+ device_custom_metadata?: {
83392
+ [x: string]: string | boolean;
83393
+ } | undefined;
83394
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83395
+ connected_account_custom_metadata?: {
83396
+ [x: string]: string | boolean;
83397
+ } | undefined;
83398
+ event_type: 'access_code.removed_from_device';
83399
+ } | {
83400
+ /** ID of the event. */
83401
+ event_id: string;
83402
+ /** ID of the workspace associated with the event. */
83403
+ workspace_id: string;
83404
+ /** Date and time at which the event was created. */
83405
+ created_at: string;
83406
+ /** Date and time at which the event occurred. */
83407
+ occurred_at: string;
83408
+ /** 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. */
83409
+ event_description?: string | undefined;
83410
+ /** ID of the affected access code. */
83411
+ access_code_id: string;
83412
+ /** ID of the device associated with the affected access code. */
83413
+ device_id: string;
83414
+ /** ID of the connected account associated with the affected access code. */
83415
+ connected_account_id: string;
83416
+ /** Custom metadata of the device, present when device_id is provided. */
83417
+ device_custom_metadata?: {
83418
+ [x: string]: string | boolean;
83419
+ } | undefined;
83420
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83421
+ connected_account_custom_metadata?: {
83422
+ [x: string]: string | boolean;
83423
+ } | undefined;
83424
+ event_type: 'access_code.delay_in_setting_on_device';
83425
+ /** Errors associated with the connected account. */
83426
+ connected_account_errors: {
83427
+ /** Date and time at which Seam created the error. */
83428
+ created_at: string;
83429
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83430
+ message: string;
83431
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83432
+ error_code: string;
83433
+ }[];
83434
+ /** Warnings associated with the connected account. */
83435
+ connected_account_warnings: {
83436
+ /** Date and time at which Seam created the warning. */
83437
+ created_at: string;
83438
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83439
+ message: string;
83440
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83441
+ warning_code: string;
83442
+ }[];
83443
+ /** Errors associated with the device. */
83444
+ device_errors: {
83445
+ /** Date and time at which Seam created the error. */
83446
+ created_at: string;
83447
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83448
+ message: string;
83449
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83450
+ error_code: string;
83451
+ }[];
83452
+ /** Warnings associated with the device. */
83453
+ device_warnings: {
83454
+ /** Date and time at which Seam created the warning. */
83455
+ created_at: string;
83456
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83457
+ message: string;
83458
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83459
+ warning_code: string;
83460
+ }[];
83461
+ /** Errors associated with the access code. */
83462
+ access_code_errors: {
83463
+ /** Date and time at which Seam created the error. */
83464
+ created_at: string;
83465
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83466
+ message: string;
83467
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83468
+ error_code: string;
83469
+ }[];
83470
+ /** Warnings associated with the access code. */
83471
+ access_code_warnings: {
83472
+ /** Date and time at which Seam created the warning. */
83473
+ created_at: string;
83474
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83475
+ message: string;
83476
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83477
+ warning_code: string;
83478
+ }[];
83479
+ } | {
83480
+ /** ID of the event. */
83481
+ event_id: string;
83482
+ /** ID of the workspace associated with the event. */
83483
+ workspace_id: string;
83484
+ /** Date and time at which the event was created. */
83485
+ created_at: string;
83486
+ /** Date and time at which the event occurred. */
83487
+ occurred_at: string;
83488
+ /** 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. */
83489
+ event_description?: string | undefined;
83490
+ /** ID of the affected access code. */
83491
+ access_code_id: string;
83492
+ /** ID of the device associated with the affected access code. */
83493
+ device_id: string;
83494
+ /** ID of the connected account associated with the affected access code. */
83495
+ connected_account_id: string;
83496
+ /** Custom metadata of the device, present when device_id is provided. */
83497
+ device_custom_metadata?: {
83498
+ [x: string]: string | boolean;
83499
+ } | undefined;
83500
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
83501
+ connected_account_custom_metadata?: {
83502
+ [x: string]: string | boolean;
83503
+ } | undefined;
83504
+ event_type: 'access_code.failed_to_set_on_device';
83505
+ /** Errors associated with the connected account. */
83506
+ connected_account_errors: {
83507
+ /** Date and time at which Seam created the error. */
83508
+ created_at: string;
83509
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83510
+ message: string;
83511
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83512
+ error_code: string;
83513
+ }[];
83514
+ /** Warnings associated with the connected account. */
83515
+ connected_account_warnings: {
83516
+ /** Date and time at which Seam created the warning. */
83517
+ created_at: string;
83518
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83519
+ message: string;
83520
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83521
+ warning_code: string;
83522
+ }[];
83523
+ /** Errors associated with the device. */
83524
+ device_errors: {
83525
+ /** Date and time at which Seam created the error. */
83526
+ created_at: string;
83527
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83528
+ message: string;
83529
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83530
+ error_code: string;
83531
+ }[];
83532
+ /** Warnings associated with the device. */
83533
+ device_warnings: {
83534
+ /** Date and time at which Seam created the warning. */
83535
+ created_at: string;
83536
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83537
+ message: string;
83538
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83539
+ warning_code: string;
83540
+ }[];
83541
+ /** Errors associated with the access code. */
83542
+ access_code_errors: {
83543
+ /** Date and time at which Seam created the error. */
83544
+ created_at: string;
83545
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83546
+ message: string;
83547
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83548
+ error_code: string;
83549
+ }[];
83550
+ /** Warnings associated with the access code. */
83551
+ access_code_warnings: {
83552
+ /** Date and time at which Seam created the warning. */
83553
+ created_at: string;
83554
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
83555
+ message: string;
83556
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
83557
+ warning_code: string;
83558
+ }[];
82049
83559
  } | {
82050
83560
  /** ID of the event. */
82051
83561
  event_id: string;
@@ -82071,20 +83581,9 @@ export type Routes = {
82071
83581
  connected_account_custom_metadata?: {
82072
83582
  [x: string]: string | boolean;
82073
83583
  } | undefined;
82074
- event_type: 'access_code.mutations_requested';
82075
- /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
82076
- requested_mutations: {
82077
- /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
82078
- mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
82079
- /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
82080
- from?: {
82081
- [x: string]: unknown;
82082
- } | undefined;
82083
- /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
82084
- to?: {
82085
- [x: string]: unknown;
82086
- } | undefined;
82087
- }[];
83584
+ event_type: 'access_code.issued';
83585
+ /** Code for the affected access code. */
83586
+ code: string;
82088
83587
  } | {
82089
83588
  /** ID of the event. */
82090
83589
  event_id: string;
@@ -82110,9 +83609,61 @@ export type Routes = {
82110
83609
  connected_account_custom_metadata?: {
82111
83610
  [x: string]: string | boolean;
82112
83611
  } | undefined;
82113
- event_type: 'access_code.scheduled_on_device';
82114
- /** Code for the affected access code. */
82115
- code: string;
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
+ }[];
82116
83667
  } | {
82117
83668
  /** ID of the event. */
82118
83669
  event_id: string;
@@ -82138,9 +83689,61 @@ export type Routes = {
82138
83689
  connected_account_custom_metadata?: {
82139
83690
  [x: string]: string | boolean;
82140
83691
  } | undefined;
82141
- event_type: 'access_code.set_on_device';
82142
- /** Code for the affected access code. */
82143
- code: string;
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
+ }[];
82144
83747
  } | {
82145
83748
  /** ID of the event. */
82146
83749
  event_id: string;
@@ -82166,7 +83769,61 @@ export type Routes = {
82166
83769
  connected_account_custom_metadata?: {
82167
83770
  [x: string]: string | boolean;
82168
83771
  } | undefined;
82169
- event_type: 'access_code.removed_from_device';
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
+ }[];
82170
83827
  } | {
82171
83828
  /** ID of the event. */
82172
83829
  event_id: string;
@@ -82192,7 +83849,7 @@ export type Routes = {
82192
83849
  connected_account_custom_metadata?: {
82193
83850
  [x: string]: string | boolean;
82194
83851
  } | undefined;
82195
- event_type: 'access_code.delay_in_setting_on_device';
83852
+ event_type: 'access_code.failed_to_apply_mutations';
82196
83853
  /** Errors associated with the connected account. */
82197
83854
  connected_account_errors: {
82198
83855
  /** Date and time at which Seam created the error. */
@@ -82272,7 +83929,7 @@ export type Routes = {
82272
83929
  connected_account_custom_metadata?: {
82273
83930
  [x: string]: string | boolean;
82274
83931
  } | undefined;
82275
- event_type: 'access_code.failed_to_set_on_device';
83932
+ event_type: 'access_code.failed_to_expire';
82276
83933
  /** Errors associated with the connected account. */
82277
83934
  connected_account_errors: {
82278
83935
  /** Date and time at which Seam created the error. */
@@ -120818,6 +122475,8 @@ export type Routes = {
120818
122475
  custom_metadata: {
120819
122476
  [x: string]: string | boolean;
120820
122477
  };
122478
+ /** Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
122479
+ display_name: string;
120821
122480
  /** Indicates that Seam does not manage the device. */
120822
122481
  is_managed: false;
120823
122482
  /** properties of the device. */
@@ -121720,20 +123379,290 @@ export type Routes = {
121720
123379
  connected_account_custom_metadata?: {
121721
123380
  [x: string]: string | boolean;
121722
123381
  } | undefined;
121723
- event_type: 'access_code.mutations_requested';
121724
- /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
121725
- requested_mutations: {
121726
- /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
121727
- mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
121728
- /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
121729
- from?: {
121730
- [x: string]: unknown;
121731
- } | undefined;
121732
- /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
121733
- to?: {
121734
- [x: string]: unknown;
121735
- } | undefined;
121736
- }[];
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;
121737
123666
  } | {
121738
123667
  /** ID of the event. */
121739
123668
  event_id: string;
@@ -121759,9 +123688,61 @@ export type Routes = {
121759
123688
  connected_account_custom_metadata?: {
121760
123689
  [x: string]: string | boolean;
121761
123690
  } | undefined;
121762
- event_type: 'access_code.scheduled_on_device';
121763
- /** Code for the affected access code. */
121764
- 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
+ }[];
121765
123746
  } | {
121766
123747
  /** ID of the event. */
121767
123748
  event_id: string;
@@ -121787,9 +123768,61 @@ export type Routes = {
121787
123768
  connected_account_custom_metadata?: {
121788
123769
  [x: string]: string | boolean;
121789
123770
  } | undefined;
121790
- event_type: 'access_code.set_on_device';
121791
- /** Code for the affected access code. */
121792
- 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
+ }[];
121793
123826
  } | {
121794
123827
  /** ID of the event. */
121795
123828
  event_id: string;
@@ -121815,7 +123848,61 @@ export type Routes = {
121815
123848
  connected_account_custom_metadata?: {
121816
123849
  [x: string]: string | boolean;
121817
123850
  } | undefined;
121818
- 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
+ }[];
121819
123906
  } | {
121820
123907
  /** ID of the event. */
121821
123908
  event_id: string;
@@ -121841,7 +123928,7 @@ export type Routes = {
121841
123928
  connected_account_custom_metadata?: {
121842
123929
  [x: string]: string | boolean;
121843
123930
  } | undefined;
121844
- event_type: 'access_code.delay_in_setting_on_device';
123931
+ event_type: 'access_code.failed_to_apply_mutations';
121845
123932
  /** Errors associated with the connected account. */
121846
123933
  connected_account_errors: {
121847
123934
  /** Date and time at which Seam created the error. */
@@ -121921,7 +124008,7 @@ export type Routes = {
121921
124008
  connected_account_custom_metadata?: {
121922
124009
  [x: string]: string | boolean;
121923
124010
  } | undefined;
121924
- event_type: 'access_code.failed_to_set_on_device';
124011
+ event_type: 'access_code.failed_to_expire';
121925
124012
  /** Errors associated with the connected account. */
121926
124013
  connected_account_errors: {
121927
124014
  /** Date and time at which Seam created the error. */
@@ -125154,6 +127241,33 @@ export type Routes = {
125154
127241
  created_at?: string | undefined;
125155
127242
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125156
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';
125157
127271
  } | {
125158
127272
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125159
127273
  message: string;
@@ -125338,6 +127452,20 @@ export type Routes = {
125338
127452
  created_at?: string | undefined;
125339
127453
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
125340
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';
125341
127469
  } | {
125342
127470
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
125343
127471
  message: string;
@@ -125522,6 +127650,33 @@ export type Routes = {
125522
127650
  created_at?: string | undefined;
125523
127651
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125524
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';
125525
127680
  } | {
125526
127681
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125527
127682
  message: string;
@@ -125706,6 +127861,20 @@ export type Routes = {
125706
127861
  created_at?: string | undefined;
125707
127862
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
125708
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';
125709
127878
  } | {
125710
127879
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
125711
127880
  message: string;