@seamapi/types 1.1027.0 → 1.1028.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2263,6 +2263,36 @@ export type Routes = {
2263
2263
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2264
2264
  error_code: 'code_constraints_violated'
2265
2265
  }
2266
+ | {
2267
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2268
+ message: string
2269
+ /** Indicates that this is an access code error. */
2270
+ is_access_code_error: true
2271
+ /** Date and time at which Seam created the error. */
2272
+ created_at?: string | undefined
2273
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2274
+ error_code: 'failed_to_issue'
2275
+ }
2276
+ | {
2277
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2278
+ message: string
2279
+ /** Indicates that this is an access code error. */
2280
+ is_access_code_error: true
2281
+ /** Date and time at which Seam created the error. */
2282
+ created_at?: string | undefined
2283
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2284
+ error_code: 'failed_to_apply_mutations'
2285
+ }
2286
+ | {
2287
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2288
+ message: string
2289
+ /** Indicates that this is an access code error. */
2290
+ is_access_code_error: true
2291
+ /** Date and time at which Seam created the error. */
2292
+ created_at?: string | undefined
2293
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2294
+ error_code: 'failed_to_expire'
2295
+ }
2266
2296
  | {
2267
2297
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2268
2298
  message: string
@@ -2469,6 +2499,22 @@ export type Routes = {
2469
2499
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2470
2500
  warning_code: 'delay_in_removing_from_device'
2471
2501
  }
2502
+ | {
2503
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2504
+ message: string
2505
+ /** Date and time at which Seam created the warning. */
2506
+ created_at?: string | undefined
2507
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2508
+ warning_code: 'delay_in_issuing'
2509
+ }
2510
+ | {
2511
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2512
+ message: string
2513
+ /** Date and time at which Seam created the warning. */
2514
+ created_at?: string | undefined
2515
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2516
+ warning_code: 'delay_in_applying_mutations'
2517
+ }
2472
2518
  | {
2473
2519
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
2474
2520
  message: string
@@ -2808,6 +2854,36 @@ export type Routes = {
2808
2854
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2809
2855
  error_code: 'code_constraints_violated'
2810
2856
  }
2857
+ | {
2858
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2859
+ message: string
2860
+ /** Indicates that this is an access code error. */
2861
+ is_access_code_error: true
2862
+ /** Date and time at which Seam created the error. */
2863
+ created_at?: string | undefined
2864
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2865
+ error_code: 'failed_to_issue'
2866
+ }
2867
+ | {
2868
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2869
+ message: string
2870
+ /** Indicates that this is an access code error. */
2871
+ is_access_code_error: true
2872
+ /** Date and time at which Seam created the error. */
2873
+ created_at?: string | undefined
2874
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2875
+ error_code: 'failed_to_apply_mutations'
2876
+ }
2877
+ | {
2878
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2879
+ message: string
2880
+ /** Indicates that this is an access code error. */
2881
+ is_access_code_error: true
2882
+ /** Date and time at which Seam created the error. */
2883
+ created_at?: string | undefined
2884
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2885
+ error_code: 'failed_to_expire'
2886
+ }
2811
2887
  | {
2812
2888
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2813
2889
  message: string
@@ -3014,6 +3090,22 @@ export type Routes = {
3014
3090
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3015
3091
  warning_code: 'delay_in_removing_from_device'
3016
3092
  }
3093
+ | {
3094
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3095
+ message: string
3096
+ /** Date and time at which Seam created the warning. */
3097
+ created_at?: string | undefined
3098
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3099
+ warning_code: 'delay_in_issuing'
3100
+ }
3101
+ | {
3102
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3103
+ message: string
3104
+ /** Date and time at which Seam created the warning. */
3105
+ created_at?: string | undefined
3106
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3107
+ warning_code: 'delay_in_applying_mutations'
3108
+ }
3017
3109
  | {
3018
3110
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3019
3111
  message: string
@@ -5461,6 +5553,36 @@ export type Routes = {
5461
5553
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5462
5554
  error_code: 'code_constraints_violated'
5463
5555
  }
5556
+ | {
5557
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5558
+ message: string
5559
+ /** Indicates that this is an access code error. */
5560
+ is_access_code_error: true
5561
+ /** Date and time at which Seam created the error. */
5562
+ created_at?: string | undefined
5563
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5564
+ error_code: 'failed_to_issue'
5565
+ }
5566
+ | {
5567
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5568
+ message: string
5569
+ /** Indicates that this is an access code error. */
5570
+ is_access_code_error: true
5571
+ /** Date and time at which Seam created the error. */
5572
+ created_at?: string | undefined
5573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5574
+ error_code: 'failed_to_apply_mutations'
5575
+ }
5576
+ | {
5577
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5578
+ message: string
5579
+ /** Indicates that this is an access code error. */
5580
+ is_access_code_error: true
5581
+ /** Date and time at which Seam created the error. */
5582
+ created_at?: string | undefined
5583
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5584
+ error_code: 'failed_to_expire'
5585
+ }
5464
5586
  | {
5465
5587
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5466
5588
  message: string
@@ -5667,6 +5789,22 @@ export type Routes = {
5667
5789
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5668
5790
  warning_code: 'delay_in_removing_from_device'
5669
5791
  }
5792
+ | {
5793
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5794
+ message: string
5795
+ /** Date and time at which Seam created the warning. */
5796
+ created_at?: string | undefined
5797
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5798
+ warning_code: 'delay_in_issuing'
5799
+ }
5800
+ | {
5801
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5802
+ message: string
5803
+ /** Date and time at which Seam created the warning. */
5804
+ created_at?: string | undefined
5805
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5806
+ warning_code: 'delay_in_applying_mutations'
5807
+ }
5670
5808
  | {
5671
5809
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
5672
5810
  message: string
@@ -6107,6 +6245,36 @@ export type Routes = {
6107
6245
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6108
6246
  error_code: 'code_constraints_violated'
6109
6247
  }
6248
+ | {
6249
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6250
+ message: string
6251
+ /** Indicates that this is an access code error. */
6252
+ is_access_code_error: true
6253
+ /** Date and time at which Seam created the error. */
6254
+ created_at?: string | undefined
6255
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6256
+ error_code: 'failed_to_issue'
6257
+ }
6258
+ | {
6259
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6260
+ message: string
6261
+ /** Indicates that this is an access code error. */
6262
+ is_access_code_error: true
6263
+ /** Date and time at which Seam created the error. */
6264
+ created_at?: string | undefined
6265
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6266
+ error_code: 'failed_to_apply_mutations'
6267
+ }
6268
+ | {
6269
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6270
+ message: string
6271
+ /** Indicates that this is an access code error. */
6272
+ is_access_code_error: true
6273
+ /** Date and time at which Seam created the error. */
6274
+ created_at?: string | undefined
6275
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6276
+ error_code: 'failed_to_expire'
6277
+ }
6110
6278
  | {
6111
6279
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6112
6280
  message: string
@@ -6313,6 +6481,22 @@ export type Routes = {
6313
6481
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6314
6482
  warning_code: 'delay_in_removing_from_device'
6315
6483
  }
6484
+ | {
6485
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6486
+ message: string
6487
+ /** Date and time at which Seam created the warning. */
6488
+ created_at?: string | undefined
6489
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6490
+ warning_code: 'delay_in_issuing'
6491
+ }
6492
+ | {
6493
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6494
+ message: string
6495
+ /** Date and time at which Seam created the warning. */
6496
+ created_at?: string | undefined
6497
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6498
+ warning_code: 'delay_in_applying_mutations'
6499
+ }
6316
6500
  | {
6317
6501
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6318
6502
  message: string
@@ -6643,6 +6827,36 @@ export type Routes = {
6643
6827
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6644
6828
  error_code: 'code_constraints_violated'
6645
6829
  }
6830
+ | {
6831
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6832
+ message: string
6833
+ /** Indicates that this is an access code error. */
6834
+ is_access_code_error: true
6835
+ /** Date and time at which Seam created the error. */
6836
+ created_at?: string | undefined
6837
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6838
+ error_code: 'failed_to_issue'
6839
+ }
6840
+ | {
6841
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6842
+ message: string
6843
+ /** Indicates that this is an access code error. */
6844
+ is_access_code_error: true
6845
+ /** Date and time at which Seam created the error. */
6846
+ created_at?: string | undefined
6847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6848
+ error_code: 'failed_to_apply_mutations'
6849
+ }
6850
+ | {
6851
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6852
+ message: string
6853
+ /** Indicates that this is an access code error. */
6854
+ is_access_code_error: true
6855
+ /** Date and time at which Seam created the error. */
6856
+ created_at?: string | undefined
6857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6858
+ error_code: 'failed_to_expire'
6859
+ }
6646
6860
  | {
6647
6861
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6648
6862
  message: string
@@ -6849,6 +7063,22 @@ export type Routes = {
6849
7063
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
6850
7064
  warning_code: 'delay_in_removing_from_device'
6851
7065
  }
7066
+ | {
7067
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7068
+ message: string
7069
+ /** Date and time at which Seam created the warning. */
7070
+ created_at?: string | undefined
7071
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7072
+ warning_code: 'delay_in_issuing'
7073
+ }
7074
+ | {
7075
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7076
+ message: string
7077
+ /** Date and time at which Seam created the warning. */
7078
+ created_at?: string | undefined
7079
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7080
+ warning_code: 'delay_in_applying_mutations'
7081
+ }
6852
7082
  | {
6853
7083
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
6854
7084
  message: string
@@ -7156,6 +7386,36 @@ export type Routes = {
7156
7386
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7157
7387
  error_code: 'code_constraints_violated'
7158
7388
  }
7389
+ | {
7390
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7391
+ message: string
7392
+ /** Indicates that this is an access code error. */
7393
+ is_access_code_error: true
7394
+ /** Date and time at which Seam created the error. */
7395
+ created_at?: string | undefined
7396
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7397
+ error_code: 'failed_to_issue'
7398
+ }
7399
+ | {
7400
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7401
+ message: string
7402
+ /** Indicates that this is an access code error. */
7403
+ is_access_code_error: true
7404
+ /** Date and time at which Seam created the error. */
7405
+ created_at?: string | undefined
7406
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7407
+ error_code: 'failed_to_apply_mutations'
7408
+ }
7409
+ | {
7410
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7411
+ message: string
7412
+ /** Indicates that this is an access code error. */
7413
+ is_access_code_error: true
7414
+ /** Date and time at which Seam created the error. */
7415
+ created_at?: string | undefined
7416
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7417
+ error_code: 'failed_to_expire'
7418
+ }
7159
7419
  | {
7160
7420
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7161
7421
  message: string
@@ -7362,6 +7622,22 @@ export type Routes = {
7362
7622
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7363
7623
  warning_code: 'delay_in_removing_from_device'
7364
7624
  }
7625
+ | {
7626
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7627
+ message: string
7628
+ /** Date and time at which Seam created the warning. */
7629
+ created_at?: string | undefined
7630
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7631
+ warning_code: 'delay_in_issuing'
7632
+ }
7633
+ | {
7634
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7635
+ message: string
7636
+ /** Date and time at which Seam created the warning. */
7637
+ created_at?: string | undefined
7638
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7639
+ warning_code: 'delay_in_applying_mutations'
7640
+ }
7365
7641
  | {
7366
7642
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7367
7643
  message: string
@@ -7702,6 +7978,36 @@ export type Routes = {
7702
7978
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7703
7979
  error_code: 'code_constraints_violated'
7704
7980
  }
7981
+ | {
7982
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7983
+ message: string
7984
+ /** Indicates that this is an access code error. */
7985
+ is_access_code_error: true
7986
+ /** Date and time at which Seam created the error. */
7987
+ created_at?: string | undefined
7988
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7989
+ error_code: 'failed_to_issue'
7990
+ }
7991
+ | {
7992
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7993
+ message: string
7994
+ /** Indicates that this is an access code error. */
7995
+ is_access_code_error: true
7996
+ /** Date and time at which Seam created the error. */
7997
+ created_at?: string | undefined
7998
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7999
+ error_code: 'failed_to_apply_mutations'
8000
+ }
8001
+ | {
8002
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8003
+ message: string
8004
+ /** Indicates that this is an access code error. */
8005
+ is_access_code_error: true
8006
+ /** Date and time at which Seam created the error. */
8007
+ created_at?: string | undefined
8008
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8009
+ error_code: 'failed_to_expire'
8010
+ }
7705
8011
  | {
7706
8012
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7707
8013
  message: string
@@ -7908,6 +8214,22 @@ export type Routes = {
7908
8214
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
7909
8215
  warning_code: 'delay_in_removing_from_device'
7910
8216
  }
8217
+ | {
8218
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8219
+ message: string
8220
+ /** Date and time at which Seam created the warning. */
8221
+ created_at?: string | undefined
8222
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8223
+ warning_code: 'delay_in_issuing'
8224
+ }
8225
+ | {
8226
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
8227
+ message: string
8228
+ /** Date and time at which Seam created the warning. */
8229
+ created_at?: string | undefined
8230
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
8231
+ warning_code: 'delay_in_applying_mutations'
8232
+ }
7911
8233
  | {
7912
8234
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
7913
8235
  message: string
@@ -10257,6 +10579,36 @@ export type Routes = {
10257
10579
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10258
10580
  error_code: 'code_constraints_violated'
10259
10581
  }
10582
+ | {
10583
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10584
+ message: string
10585
+ /** Indicates that this is an access code error. */
10586
+ is_access_code_error: true
10587
+ /** Date and time at which Seam created the error. */
10588
+ created_at?: string | undefined
10589
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10590
+ error_code: 'failed_to_issue'
10591
+ }
10592
+ | {
10593
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10594
+ message: string
10595
+ /** Indicates that this is an access code error. */
10596
+ is_access_code_error: true
10597
+ /** Date and time at which Seam created the error. */
10598
+ created_at?: string | undefined
10599
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10600
+ error_code: 'failed_to_apply_mutations'
10601
+ }
10602
+ | {
10603
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10604
+ message: string
10605
+ /** Indicates that this is an access code error. */
10606
+ is_access_code_error: true
10607
+ /** Date and time at which Seam created the error. */
10608
+ created_at?: string | undefined
10609
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10610
+ error_code: 'failed_to_expire'
10611
+ }
10260
10612
  | {
10261
10613
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10262
10614
  message: string
@@ -10463,6 +10815,22 @@ export type Routes = {
10463
10815
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10464
10816
  warning_code: 'delay_in_removing_from_device'
10465
10817
  }
10818
+ | {
10819
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10820
+ message: string
10821
+ /** Date and time at which Seam created the warning. */
10822
+ created_at?: string | undefined
10823
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10824
+ warning_code: 'delay_in_issuing'
10825
+ }
10826
+ | {
10827
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10828
+ message: string
10829
+ /** Date and time at which Seam created the warning. */
10830
+ created_at?: string | undefined
10831
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10832
+ warning_code: 'delay_in_applying_mutations'
10833
+ }
10466
10834
  | {
10467
10835
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10468
10836
  message: string
@@ -10682,6 +11050,36 @@ export type Routes = {
10682
11050
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
10683
11051
  error_code: 'code_constraints_violated'
10684
11052
  }
11053
+ | {
11054
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11055
+ message: string
11056
+ /** Indicates that this is an access code error. */
11057
+ is_access_code_error: true
11058
+ /** Date and time at which Seam created the error. */
11059
+ created_at?: string | undefined
11060
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11061
+ error_code: 'failed_to_issue'
11062
+ }
11063
+ | {
11064
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11065
+ message: string
11066
+ /** Indicates that this is an access code error. */
11067
+ is_access_code_error: true
11068
+ /** Date and time at which Seam created the error. */
11069
+ created_at?: string | undefined
11070
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11071
+ error_code: 'failed_to_apply_mutations'
11072
+ }
11073
+ | {
11074
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11075
+ message: string
11076
+ /** Indicates that this is an access code error. */
11077
+ is_access_code_error: true
11078
+ /** Date and time at which Seam created the error. */
11079
+ created_at?: string | undefined
11080
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11081
+ error_code: 'failed_to_expire'
11082
+ }
10685
11083
  | {
10686
11084
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10687
11085
  message: string
@@ -10888,6 +11286,22 @@ export type Routes = {
10888
11286
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
10889
11287
  warning_code: 'delay_in_removing_from_device'
10890
11288
  }
11289
+ | {
11290
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11291
+ message: string
11292
+ /** Date and time at which Seam created the warning. */
11293
+ created_at?: string | undefined
11294
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11295
+ warning_code: 'delay_in_issuing'
11296
+ }
11297
+ | {
11298
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11299
+ message: string
11300
+ /** Date and time at which Seam created the warning. */
11301
+ created_at?: string | undefined
11302
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11303
+ warning_code: 'delay_in_applying_mutations'
11304
+ }
10891
11305
  | {
10892
11306
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
10893
11307
  message: string
@@ -57926,9 +58340,9 @@ export type Routes = {
57926
58340
  [x: string]: string | boolean
57927
58341
  }
57928
58342
  | undefined
57929
- event_type: 'access_code.deleted'
58343
+ event_type: 'access_code.issued'
57930
58344
  /** Code for the affected access code. */
57931
- code: string | null
58345
+ code: string
57932
58346
  }
57933
58347
  | {
57934
58348
  /** ID of the event. */
@@ -57959,7 +58373,7 @@ export type Routes = {
57959
58373
  [x: string]: string | boolean
57960
58374
  }
57961
58375
  | undefined
57962
- event_type: 'access_code.delay_in_removing_from_device'
58376
+ event_type: 'access_code.delay_in_issuing'
57963
58377
  /** Errors associated with the connected account. */
57964
58378
  connected_account_errors: {
57965
58379
  /** Date and time at which Seam created the error. */
@@ -58044,7 +58458,7 @@ export type Routes = {
58044
58458
  [x: string]: string | boolean
58045
58459
  }
58046
58460
  | undefined
58047
- event_type: 'access_code.failed_to_remove_from_device'
58461
+ event_type: 'access_code.failed_to_issue'
58048
58462
  /** Errors associated with the connected account. */
58049
58463
  connected_account_errors: {
58050
58464
  /** Date and time at which Seam created the error. */
@@ -58129,7 +58543,61 @@ export type Routes = {
58129
58543
  [x: string]: string | boolean
58130
58544
  }
58131
58545
  | undefined
58132
- event_type: 'access_code.modified_external_to_seam'
58546
+ event_type: 'access_code.delay_in_applying_mutations'
58547
+ /** Errors associated with the connected account. */
58548
+ connected_account_errors: {
58549
+ /** Date and time at which Seam created the error. */
58550
+ created_at: string
58551
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58552
+ message: string
58553
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58554
+ error_code: string
58555
+ }[]
58556
+ /** Warnings associated with the connected account. */
58557
+ connected_account_warnings: {
58558
+ /** Date and time at which Seam created the warning. */
58559
+ created_at: string
58560
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58561
+ message: string
58562
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58563
+ warning_code: string
58564
+ }[]
58565
+ /** Errors associated with the device. */
58566
+ device_errors: {
58567
+ /** Date and time at which Seam created the error. */
58568
+ created_at: string
58569
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58570
+ message: string
58571
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58572
+ error_code: string
58573
+ }[]
58574
+ /** Warnings associated with the device. */
58575
+ device_warnings: {
58576
+ /** Date and time at which Seam created the warning. */
58577
+ created_at: string
58578
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58579
+ message: string
58580
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58581
+ warning_code: string
58582
+ }[]
58583
+ /** Errors associated with the access code. */
58584
+ access_code_errors: {
58585
+ /** Date and time at which Seam created the error. */
58586
+ created_at: string
58587
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58588
+ message: string
58589
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58590
+ error_code: string
58591
+ }[]
58592
+ /** Warnings associated with the access code. */
58593
+ access_code_warnings: {
58594
+ /** Date and time at which Seam created the warning. */
58595
+ created_at: string
58596
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58597
+ message: string
58598
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58599
+ warning_code: string
58600
+ }[]
58133
58601
  }
58134
58602
  | {
58135
58603
  /** ID of the event. */
@@ -58160,7 +58628,61 @@ export type Routes = {
58160
58628
  [x: string]: string | boolean
58161
58629
  }
58162
58630
  | undefined
58163
- event_type: 'access_code.deleted_external_to_seam'
58631
+ event_type: 'access_code.failed_to_apply_mutations'
58632
+ /** Errors associated with the connected account. */
58633
+ connected_account_errors: {
58634
+ /** Date and time at which Seam created the error. */
58635
+ created_at: string
58636
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58637
+ message: string
58638
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58639
+ error_code: string
58640
+ }[]
58641
+ /** Warnings associated with the connected account. */
58642
+ connected_account_warnings: {
58643
+ /** Date and time at which Seam created the warning. */
58644
+ created_at: string
58645
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58646
+ message: string
58647
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58648
+ warning_code: string
58649
+ }[]
58650
+ /** Errors associated with the device. */
58651
+ device_errors: {
58652
+ /** Date and time at which Seam created the error. */
58653
+ created_at: string
58654
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58655
+ message: string
58656
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58657
+ error_code: string
58658
+ }[]
58659
+ /** Warnings associated with the device. */
58660
+ device_warnings: {
58661
+ /** Date and time at which Seam created the warning. */
58662
+ created_at: string
58663
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58664
+ message: string
58665
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58666
+ warning_code: string
58667
+ }[]
58668
+ /** Errors associated with the access code. */
58669
+ access_code_errors: {
58670
+ /** Date and time at which Seam created the error. */
58671
+ created_at: string
58672
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58673
+ message: string
58674
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58675
+ error_code: string
58676
+ }[]
58677
+ /** Warnings associated with the access code. */
58678
+ access_code_warnings: {
58679
+ /** Date and time at which Seam created the warning. */
58680
+ created_at: string
58681
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58682
+ message: string
58683
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58684
+ warning_code: string
58685
+ }[]
58164
58686
  }
58165
58687
  | {
58166
58688
  /** ID of the event. */
@@ -58191,9 +58713,359 @@ export type Routes = {
58191
58713
  [x: string]: string | boolean
58192
58714
  }
58193
58715
  | undefined
58194
- event_type: 'access_code.backup_access_code_pulled'
58195
- /** ID of the backup access code that was pulled from the pool. */
58196
- backup_access_code_id: string
58716
+ event_type: 'access_code.failed_to_expire'
58717
+ /** Errors associated with the connected account. */
58718
+ connected_account_errors: {
58719
+ /** Date and time at which Seam created the error. */
58720
+ created_at: string
58721
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58722
+ message: string
58723
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58724
+ error_code: string
58725
+ }[]
58726
+ /** Warnings associated with the connected account. */
58727
+ connected_account_warnings: {
58728
+ /** Date and time at which Seam created the warning. */
58729
+ created_at: string
58730
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58731
+ message: string
58732
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58733
+ warning_code: string
58734
+ }[]
58735
+ /** Errors associated with the device. */
58736
+ device_errors: {
58737
+ /** Date and time at which Seam created the error. */
58738
+ created_at: string
58739
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58740
+ message: string
58741
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58742
+ error_code: string
58743
+ }[]
58744
+ /** Warnings associated with the device. */
58745
+ device_warnings: {
58746
+ /** Date and time at which Seam created the warning. */
58747
+ created_at: string
58748
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58749
+ message: string
58750
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58751
+ warning_code: string
58752
+ }[]
58753
+ /** Errors associated with the access code. */
58754
+ access_code_errors: {
58755
+ /** Date and time at which Seam created the error. */
58756
+ created_at: string
58757
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58758
+ message: string
58759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58760
+ error_code: string
58761
+ }[]
58762
+ /** Warnings associated with the access code. */
58763
+ access_code_warnings: {
58764
+ /** Date and time at which Seam created the warning. */
58765
+ created_at: string
58766
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58767
+ message: string
58768
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58769
+ warning_code: string
58770
+ }[]
58771
+ }
58772
+ | {
58773
+ /** ID of the event. */
58774
+ event_id: string
58775
+ /** ID of the workspace associated with the event. */
58776
+ workspace_id: string
58777
+ /** Date and time at which the event was created. */
58778
+ created_at: string
58779
+ /** Date and time at which the event occurred. */
58780
+ occurred_at: string
58781
+ /** 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. */
58782
+ event_description?: string | undefined
58783
+ /** ID of the affected access code. */
58784
+ access_code_id: string
58785
+ /** ID of the device associated with the affected access code. */
58786
+ device_id: string
58787
+ /** ID of the connected account associated with the affected access code. */
58788
+ connected_account_id: string
58789
+ /** Custom metadata of the device, present when device_id is provided. */
58790
+ device_custom_metadata?:
58791
+ | {
58792
+ [x: string]: string | boolean
58793
+ }
58794
+ | undefined
58795
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
58796
+ connected_account_custom_metadata?:
58797
+ | {
58798
+ [x: string]: string | boolean
58799
+ }
58800
+ | undefined
58801
+ event_type: 'access_code.deleted'
58802
+ /** Code for the affected access code. */
58803
+ code: string | null
58804
+ }
58805
+ | {
58806
+ /** ID of the event. */
58807
+ event_id: string
58808
+ /** ID of the workspace associated with the event. */
58809
+ workspace_id: string
58810
+ /** Date and time at which the event was created. */
58811
+ created_at: string
58812
+ /** Date and time at which the event occurred. */
58813
+ occurred_at: string
58814
+ /** 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. */
58815
+ event_description?: string | undefined
58816
+ /** ID of the affected access code. */
58817
+ access_code_id: string
58818
+ /** ID of the device associated with the affected access code. */
58819
+ device_id: string
58820
+ /** ID of the connected account associated with the affected access code. */
58821
+ connected_account_id: string
58822
+ /** Custom metadata of the device, present when device_id is provided. */
58823
+ device_custom_metadata?:
58824
+ | {
58825
+ [x: string]: string | boolean
58826
+ }
58827
+ | undefined
58828
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
58829
+ connected_account_custom_metadata?:
58830
+ | {
58831
+ [x: string]: string | boolean
58832
+ }
58833
+ | undefined
58834
+ event_type: 'access_code.delay_in_removing_from_device'
58835
+ /** Errors associated with the connected account. */
58836
+ connected_account_errors: {
58837
+ /** Date and time at which Seam created the error. */
58838
+ created_at: string
58839
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58840
+ message: string
58841
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58842
+ error_code: string
58843
+ }[]
58844
+ /** Warnings associated with the connected account. */
58845
+ connected_account_warnings: {
58846
+ /** Date and time at which Seam created the warning. */
58847
+ created_at: string
58848
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58849
+ message: string
58850
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58851
+ warning_code: string
58852
+ }[]
58853
+ /** Errors associated with the device. */
58854
+ device_errors: {
58855
+ /** Date and time at which Seam created the error. */
58856
+ created_at: string
58857
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58858
+ message: string
58859
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58860
+ error_code: string
58861
+ }[]
58862
+ /** Warnings associated with the device. */
58863
+ device_warnings: {
58864
+ /** Date and time at which Seam created the warning. */
58865
+ created_at: string
58866
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58867
+ message: string
58868
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58869
+ warning_code: string
58870
+ }[]
58871
+ /** Errors associated with the access code. */
58872
+ access_code_errors: {
58873
+ /** Date and time at which Seam created the error. */
58874
+ created_at: string
58875
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58876
+ message: string
58877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58878
+ error_code: string
58879
+ }[]
58880
+ /** Warnings associated with the access code. */
58881
+ access_code_warnings: {
58882
+ /** Date and time at which Seam created the warning. */
58883
+ created_at: string
58884
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58885
+ message: string
58886
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58887
+ warning_code: string
58888
+ }[]
58889
+ }
58890
+ | {
58891
+ /** ID of the event. */
58892
+ event_id: string
58893
+ /** ID of the workspace associated with the event. */
58894
+ workspace_id: string
58895
+ /** Date and time at which the event was created. */
58896
+ created_at: string
58897
+ /** Date and time at which the event occurred. */
58898
+ occurred_at: string
58899
+ /** 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. */
58900
+ event_description?: string | undefined
58901
+ /** ID of the affected access code. */
58902
+ access_code_id: string
58903
+ /** ID of the device associated with the affected access code. */
58904
+ device_id: string
58905
+ /** ID of the connected account associated with the affected access code. */
58906
+ connected_account_id: string
58907
+ /** Custom metadata of the device, present when device_id is provided. */
58908
+ device_custom_metadata?:
58909
+ | {
58910
+ [x: string]: string | boolean
58911
+ }
58912
+ | undefined
58913
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
58914
+ connected_account_custom_metadata?:
58915
+ | {
58916
+ [x: string]: string | boolean
58917
+ }
58918
+ | undefined
58919
+ event_type: 'access_code.failed_to_remove_from_device'
58920
+ /** Errors associated with the connected account. */
58921
+ connected_account_errors: {
58922
+ /** Date and time at which Seam created the error. */
58923
+ created_at: string
58924
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58925
+ message: string
58926
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58927
+ error_code: string
58928
+ }[]
58929
+ /** Warnings associated with the connected account. */
58930
+ connected_account_warnings: {
58931
+ /** Date and time at which Seam created the warning. */
58932
+ created_at: string
58933
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58934
+ message: string
58935
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58936
+ warning_code: string
58937
+ }[]
58938
+ /** Errors associated with the device. */
58939
+ device_errors: {
58940
+ /** Date and time at which Seam created the error. */
58941
+ created_at: string
58942
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58943
+ message: string
58944
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58945
+ error_code: string
58946
+ }[]
58947
+ /** Warnings associated with the device. */
58948
+ device_warnings: {
58949
+ /** Date and time at which Seam created the warning. */
58950
+ created_at: string
58951
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58952
+ message: string
58953
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58954
+ warning_code: string
58955
+ }[]
58956
+ /** Errors associated with the access code. */
58957
+ access_code_errors: {
58958
+ /** Date and time at which Seam created the error. */
58959
+ created_at: string
58960
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58961
+ message: string
58962
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58963
+ error_code: string
58964
+ }[]
58965
+ /** Warnings associated with the access code. */
58966
+ access_code_warnings: {
58967
+ /** Date and time at which Seam created the warning. */
58968
+ created_at: string
58969
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58970
+ message: string
58971
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58972
+ warning_code: string
58973
+ }[]
58974
+ }
58975
+ | {
58976
+ /** ID of the event. */
58977
+ event_id: string
58978
+ /** ID of the workspace associated with the event. */
58979
+ workspace_id: string
58980
+ /** Date and time at which the event was created. */
58981
+ created_at: string
58982
+ /** Date and time at which the event occurred. */
58983
+ occurred_at: string
58984
+ /** 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. */
58985
+ event_description?: string | undefined
58986
+ /** ID of the affected access code. */
58987
+ access_code_id: string
58988
+ /** ID of the device associated with the affected access code. */
58989
+ device_id: string
58990
+ /** ID of the connected account associated with the affected access code. */
58991
+ connected_account_id: string
58992
+ /** Custom metadata of the device, present when device_id is provided. */
58993
+ device_custom_metadata?:
58994
+ | {
58995
+ [x: string]: string | boolean
58996
+ }
58997
+ | undefined
58998
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
58999
+ connected_account_custom_metadata?:
59000
+ | {
59001
+ [x: string]: string | boolean
59002
+ }
59003
+ | undefined
59004
+ event_type: 'access_code.modified_external_to_seam'
59005
+ }
59006
+ | {
59007
+ /** ID of the event. */
59008
+ event_id: string
59009
+ /** ID of the workspace associated with the event. */
59010
+ workspace_id: string
59011
+ /** Date and time at which the event was created. */
59012
+ created_at: string
59013
+ /** Date and time at which the event occurred. */
59014
+ occurred_at: string
59015
+ /** 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. */
59016
+ event_description?: string | undefined
59017
+ /** ID of the affected access code. */
59018
+ access_code_id: string
59019
+ /** ID of the device associated with the affected access code. */
59020
+ device_id: string
59021
+ /** ID of the connected account associated with the affected access code. */
59022
+ connected_account_id: string
59023
+ /** Custom metadata of the device, present when device_id is provided. */
59024
+ device_custom_metadata?:
59025
+ | {
59026
+ [x: string]: string | boolean
59027
+ }
59028
+ | undefined
59029
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
59030
+ connected_account_custom_metadata?:
59031
+ | {
59032
+ [x: string]: string | boolean
59033
+ }
59034
+ | undefined
59035
+ event_type: 'access_code.deleted_external_to_seam'
59036
+ }
59037
+ | {
59038
+ /** ID of the event. */
59039
+ event_id: string
59040
+ /** ID of the workspace associated with the event. */
59041
+ workspace_id: string
59042
+ /** Date and time at which the event was created. */
59043
+ created_at: string
59044
+ /** Date and time at which the event occurred. */
59045
+ occurred_at: string
59046
+ /** 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. */
59047
+ event_description?: string | undefined
59048
+ /** ID of the affected access code. */
59049
+ access_code_id: string
59050
+ /** ID of the device associated with the affected access code. */
59051
+ device_id: string
59052
+ /** ID of the connected account associated with the affected access code. */
59053
+ connected_account_id: string
59054
+ /** Custom metadata of the device, present when device_id is provided. */
59055
+ device_custom_metadata?:
59056
+ | {
59057
+ [x: string]: string | boolean
59058
+ }
59059
+ | undefined
59060
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
59061
+ connected_account_custom_metadata?:
59062
+ | {
59063
+ [x: string]: string | boolean
59064
+ }
59065
+ | undefined
59066
+ event_type: 'access_code.backup_access_code_pulled'
59067
+ /** ID of the backup access code that was pulled from the pool. */
59068
+ backup_access_code_id: string
58197
59069
  }
58198
59070
  | {
58199
59071
  /** ID of the event. */
@@ -61024,6 +61896,12 @@ export type Routes = {
61024
61896
  | 'access_code.removed_from_device'
61025
61897
  | 'access_code.delay_in_setting_on_device'
61026
61898
  | 'access_code.failed_to_set_on_device'
61899
+ | 'access_code.issued'
61900
+ | 'access_code.delay_in_issuing'
61901
+ | 'access_code.failed_to_issue'
61902
+ | 'access_code.delay_in_applying_mutations'
61903
+ | 'access_code.failed_to_apply_mutations'
61904
+ | 'access_code.failed_to_expire'
61027
61905
  | 'access_code.deleted'
61028
61906
  | 'access_code.delay_in_removing_from_device'
61029
61907
  | 'access_code.failed_to_remove_from_device'
@@ -61138,6 +62016,12 @@ export type Routes = {
61138
62016
  | 'access_code.removed_from_device'
61139
62017
  | 'access_code.delay_in_setting_on_device'
61140
62018
  | 'access_code.failed_to_set_on_device'
62019
+ | 'access_code.issued'
62020
+ | 'access_code.delay_in_issuing'
62021
+ | 'access_code.failed_to_issue'
62022
+ | 'access_code.delay_in_applying_mutations'
62023
+ | 'access_code.failed_to_apply_mutations'
62024
+ | 'access_code.failed_to_expire'
61141
62025
  | 'access_code.deleted'
61142
62026
  | 'access_code.delay_in_removing_from_device'
61143
62027
  | 'access_code.failed_to_remove_from_device'
@@ -61803,6 +62687,464 @@ export type Routes = {
61803
62687
  warning_code: string
61804
62688
  }[]
61805
62689
  }
62690
+ | {
62691
+ /** ID of the event. */
62692
+ event_id: string
62693
+ /** ID of the workspace associated with the event. */
62694
+ workspace_id: string
62695
+ /** Date and time at which the event was created. */
62696
+ created_at: string
62697
+ /** Date and time at which the event occurred. */
62698
+ occurred_at: string
62699
+ /** 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. */
62700
+ event_description?: string | undefined
62701
+ /** ID of the affected access code. */
62702
+ access_code_id: string
62703
+ /** ID of the device associated with the affected access code. */
62704
+ device_id: string
62705
+ /** ID of the connected account associated with the affected access code. */
62706
+ connected_account_id: string
62707
+ /** Custom metadata of the device, present when device_id is provided. */
62708
+ device_custom_metadata?:
62709
+ | {
62710
+ [x: string]: string | boolean
62711
+ }
62712
+ | undefined
62713
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
62714
+ connected_account_custom_metadata?:
62715
+ | {
62716
+ [x: string]: string | boolean
62717
+ }
62718
+ | undefined
62719
+ event_type: 'access_code.issued'
62720
+ /** Code for the affected access code. */
62721
+ code: string
62722
+ }
62723
+ | {
62724
+ /** ID of the event. */
62725
+ event_id: string
62726
+ /** ID of the workspace associated with the event. */
62727
+ workspace_id: string
62728
+ /** Date and time at which the event was created. */
62729
+ created_at: string
62730
+ /** Date and time at which the event occurred. */
62731
+ occurred_at: string
62732
+ /** 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. */
62733
+ event_description?: string | undefined
62734
+ /** ID of the affected access code. */
62735
+ access_code_id: string
62736
+ /** ID of the device associated with the affected access code. */
62737
+ device_id: string
62738
+ /** ID of the connected account associated with the affected access code. */
62739
+ connected_account_id: string
62740
+ /** Custom metadata of the device, present when device_id is provided. */
62741
+ device_custom_metadata?:
62742
+ | {
62743
+ [x: string]: string | boolean
62744
+ }
62745
+ | undefined
62746
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
62747
+ connected_account_custom_metadata?:
62748
+ | {
62749
+ [x: string]: string | boolean
62750
+ }
62751
+ | undefined
62752
+ event_type: 'access_code.delay_in_issuing'
62753
+ /** Errors associated with the connected account. */
62754
+ connected_account_errors: {
62755
+ /** Date and time at which Seam created the error. */
62756
+ created_at: string
62757
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62758
+ message: string
62759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62760
+ error_code: string
62761
+ }[]
62762
+ /** Warnings associated with the connected account. */
62763
+ connected_account_warnings: {
62764
+ /** Date and time at which Seam created the warning. */
62765
+ created_at: string
62766
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62767
+ message: string
62768
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62769
+ warning_code: string
62770
+ }[]
62771
+ /** Errors associated with the device. */
62772
+ device_errors: {
62773
+ /** Date and time at which Seam created the error. */
62774
+ created_at: string
62775
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62776
+ message: string
62777
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62778
+ error_code: string
62779
+ }[]
62780
+ /** Warnings associated with the device. */
62781
+ device_warnings: {
62782
+ /** Date and time at which Seam created the warning. */
62783
+ created_at: string
62784
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62785
+ message: string
62786
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62787
+ warning_code: string
62788
+ }[]
62789
+ /** Errors associated with the access code. */
62790
+ access_code_errors: {
62791
+ /** Date and time at which Seam created the error. */
62792
+ created_at: string
62793
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62794
+ message: string
62795
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62796
+ error_code: string
62797
+ }[]
62798
+ /** Warnings associated with the access code. */
62799
+ access_code_warnings: {
62800
+ /** Date and time at which Seam created the warning. */
62801
+ created_at: string
62802
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62803
+ message: string
62804
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62805
+ warning_code: string
62806
+ }[]
62807
+ }
62808
+ | {
62809
+ /** ID of the event. */
62810
+ event_id: string
62811
+ /** ID of the workspace associated with the event. */
62812
+ workspace_id: string
62813
+ /** Date and time at which the event was created. */
62814
+ created_at: string
62815
+ /** Date and time at which the event occurred. */
62816
+ occurred_at: string
62817
+ /** 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. */
62818
+ event_description?: string | undefined
62819
+ /** ID of the affected access code. */
62820
+ access_code_id: string
62821
+ /** ID of the device associated with the affected access code. */
62822
+ device_id: string
62823
+ /** ID of the connected account associated with the affected access code. */
62824
+ connected_account_id: string
62825
+ /** Custom metadata of the device, present when device_id is provided. */
62826
+ device_custom_metadata?:
62827
+ | {
62828
+ [x: string]: string | boolean
62829
+ }
62830
+ | undefined
62831
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
62832
+ connected_account_custom_metadata?:
62833
+ | {
62834
+ [x: string]: string | boolean
62835
+ }
62836
+ | undefined
62837
+ event_type: 'access_code.failed_to_issue'
62838
+ /** Errors associated with the connected account. */
62839
+ connected_account_errors: {
62840
+ /** Date and time at which Seam created the error. */
62841
+ created_at: string
62842
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62843
+ message: string
62844
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62845
+ error_code: string
62846
+ }[]
62847
+ /** Warnings associated with the connected account. */
62848
+ connected_account_warnings: {
62849
+ /** Date and time at which Seam created the warning. */
62850
+ created_at: string
62851
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62852
+ message: string
62853
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62854
+ warning_code: string
62855
+ }[]
62856
+ /** Errors associated with the device. */
62857
+ device_errors: {
62858
+ /** Date and time at which Seam created the error. */
62859
+ created_at: string
62860
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62861
+ message: string
62862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62863
+ error_code: string
62864
+ }[]
62865
+ /** Warnings associated with the device. */
62866
+ device_warnings: {
62867
+ /** Date and time at which Seam created the warning. */
62868
+ created_at: string
62869
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62870
+ message: string
62871
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62872
+ warning_code: string
62873
+ }[]
62874
+ /** Errors associated with the access code. */
62875
+ access_code_errors: {
62876
+ /** Date and time at which Seam created the error. */
62877
+ created_at: string
62878
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62879
+ message: string
62880
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62881
+ error_code: string
62882
+ }[]
62883
+ /** Warnings associated with the access code. */
62884
+ access_code_warnings: {
62885
+ /** Date and time at which Seam created the warning. */
62886
+ created_at: string
62887
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62888
+ message: string
62889
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62890
+ warning_code: string
62891
+ }[]
62892
+ }
62893
+ | {
62894
+ /** ID of the event. */
62895
+ event_id: string
62896
+ /** ID of the workspace associated with the event. */
62897
+ workspace_id: string
62898
+ /** Date and time at which the event was created. */
62899
+ created_at: string
62900
+ /** Date and time at which the event occurred. */
62901
+ occurred_at: string
62902
+ /** 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. */
62903
+ event_description?: string | undefined
62904
+ /** ID of the affected access code. */
62905
+ access_code_id: string
62906
+ /** ID of the device associated with the affected access code. */
62907
+ device_id: string
62908
+ /** ID of the connected account associated with the affected access code. */
62909
+ connected_account_id: string
62910
+ /** Custom metadata of the device, present when device_id is provided. */
62911
+ device_custom_metadata?:
62912
+ | {
62913
+ [x: string]: string | boolean
62914
+ }
62915
+ | undefined
62916
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
62917
+ connected_account_custom_metadata?:
62918
+ | {
62919
+ [x: string]: string | boolean
62920
+ }
62921
+ | undefined
62922
+ event_type: 'access_code.delay_in_applying_mutations'
62923
+ /** Errors associated with the connected account. */
62924
+ connected_account_errors: {
62925
+ /** Date and time at which Seam created the error. */
62926
+ created_at: string
62927
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62928
+ message: string
62929
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62930
+ error_code: string
62931
+ }[]
62932
+ /** Warnings associated with the connected account. */
62933
+ connected_account_warnings: {
62934
+ /** Date and time at which Seam created the warning. */
62935
+ created_at: string
62936
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62937
+ message: string
62938
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62939
+ warning_code: string
62940
+ }[]
62941
+ /** Errors associated with the device. */
62942
+ device_errors: {
62943
+ /** Date and time at which Seam created the error. */
62944
+ created_at: string
62945
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62946
+ message: string
62947
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62948
+ error_code: string
62949
+ }[]
62950
+ /** Warnings associated with the device. */
62951
+ device_warnings: {
62952
+ /** Date and time at which Seam created the warning. */
62953
+ created_at: string
62954
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62955
+ message: string
62956
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62957
+ warning_code: string
62958
+ }[]
62959
+ /** Errors associated with the access code. */
62960
+ access_code_errors: {
62961
+ /** Date and time at which Seam created the error. */
62962
+ created_at: string
62963
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62964
+ message: string
62965
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62966
+ error_code: string
62967
+ }[]
62968
+ /** Warnings associated with the access code. */
62969
+ access_code_warnings: {
62970
+ /** Date and time at which Seam created the warning. */
62971
+ created_at: string
62972
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62973
+ message: string
62974
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62975
+ warning_code: string
62976
+ }[]
62977
+ }
62978
+ | {
62979
+ /** ID of the event. */
62980
+ event_id: string
62981
+ /** ID of the workspace associated with the event. */
62982
+ workspace_id: string
62983
+ /** Date and time at which the event was created. */
62984
+ created_at: string
62985
+ /** Date and time at which the event occurred. */
62986
+ occurred_at: string
62987
+ /** 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. */
62988
+ event_description?: string | undefined
62989
+ /** ID of the affected access code. */
62990
+ access_code_id: string
62991
+ /** ID of the device associated with the affected access code. */
62992
+ device_id: string
62993
+ /** ID of the connected account associated with the affected access code. */
62994
+ connected_account_id: string
62995
+ /** Custom metadata of the device, present when device_id is provided. */
62996
+ device_custom_metadata?:
62997
+ | {
62998
+ [x: string]: string | boolean
62999
+ }
63000
+ | undefined
63001
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
63002
+ connected_account_custom_metadata?:
63003
+ | {
63004
+ [x: string]: string | boolean
63005
+ }
63006
+ | undefined
63007
+ event_type: 'access_code.failed_to_apply_mutations'
63008
+ /** Errors associated with the connected account. */
63009
+ connected_account_errors: {
63010
+ /** Date and time at which Seam created the error. */
63011
+ created_at: string
63012
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63013
+ message: string
63014
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63015
+ error_code: string
63016
+ }[]
63017
+ /** Warnings associated with the connected account. */
63018
+ connected_account_warnings: {
63019
+ /** Date and time at which Seam created the warning. */
63020
+ created_at: string
63021
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63022
+ message: string
63023
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63024
+ warning_code: string
63025
+ }[]
63026
+ /** Errors associated with the device. */
63027
+ device_errors: {
63028
+ /** Date and time at which Seam created the error. */
63029
+ created_at: string
63030
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63031
+ message: string
63032
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63033
+ error_code: string
63034
+ }[]
63035
+ /** Warnings associated with the device. */
63036
+ device_warnings: {
63037
+ /** Date and time at which Seam created the warning. */
63038
+ created_at: string
63039
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63040
+ message: string
63041
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63042
+ warning_code: string
63043
+ }[]
63044
+ /** Errors associated with the access code. */
63045
+ access_code_errors: {
63046
+ /** Date and time at which Seam created the error. */
63047
+ created_at: string
63048
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63049
+ message: string
63050
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63051
+ error_code: string
63052
+ }[]
63053
+ /** Warnings associated with the access code. */
63054
+ access_code_warnings: {
63055
+ /** Date and time at which Seam created the warning. */
63056
+ created_at: string
63057
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63058
+ message: string
63059
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63060
+ warning_code: string
63061
+ }[]
63062
+ }
63063
+ | {
63064
+ /** ID of the event. */
63065
+ event_id: string
63066
+ /** ID of the workspace associated with the event. */
63067
+ workspace_id: string
63068
+ /** Date and time at which the event was created. */
63069
+ created_at: string
63070
+ /** Date and time at which the event occurred. */
63071
+ occurred_at: string
63072
+ /** 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. */
63073
+ event_description?: string | undefined
63074
+ /** ID of the affected access code. */
63075
+ access_code_id: string
63076
+ /** ID of the device associated with the affected access code. */
63077
+ device_id: string
63078
+ /** ID of the connected account associated with the affected access code. */
63079
+ connected_account_id: string
63080
+ /** Custom metadata of the device, present when device_id is provided. */
63081
+ device_custom_metadata?:
63082
+ | {
63083
+ [x: string]: string | boolean
63084
+ }
63085
+ | undefined
63086
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
63087
+ connected_account_custom_metadata?:
63088
+ | {
63089
+ [x: string]: string | boolean
63090
+ }
63091
+ | undefined
63092
+ event_type: 'access_code.failed_to_expire'
63093
+ /** Errors associated with the connected account. */
63094
+ connected_account_errors: {
63095
+ /** Date and time at which Seam created the error. */
63096
+ created_at: string
63097
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63098
+ message: string
63099
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63100
+ error_code: string
63101
+ }[]
63102
+ /** Warnings associated with the connected account. */
63103
+ connected_account_warnings: {
63104
+ /** Date and time at which Seam created the warning. */
63105
+ created_at: string
63106
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63107
+ message: string
63108
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63109
+ warning_code: string
63110
+ }[]
63111
+ /** Errors associated with the device. */
63112
+ device_errors: {
63113
+ /** Date and time at which Seam created the error. */
63114
+ created_at: string
63115
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63116
+ message: string
63117
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63118
+ error_code: string
63119
+ }[]
63120
+ /** Warnings associated with the device. */
63121
+ device_warnings: {
63122
+ /** Date and time at which Seam created the warning. */
63123
+ created_at: string
63124
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63125
+ message: string
63126
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63127
+ warning_code: string
63128
+ }[]
63129
+ /** Errors associated with the access code. */
63130
+ access_code_errors: {
63131
+ /** Date and time at which Seam created the error. */
63132
+ created_at: string
63133
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
63134
+ message: string
63135
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63136
+ error_code: string
63137
+ }[]
63138
+ /** Warnings associated with the access code. */
63139
+ access_code_warnings: {
63140
+ /** Date and time at which Seam created the warning. */
63141
+ created_at: string
63142
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63143
+ message: string
63144
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63145
+ warning_code: string
63146
+ }[]
63147
+ }
61806
63148
  | {
61807
63149
  /** ID of the event. */
61808
63150
  event_id: string
@@ -98393,6 +99735,12 @@ export type Routes = {
98393
99735
  | 'access_code.removed_from_device'
98394
99736
  | 'access_code.delay_in_setting_on_device'
98395
99737
  | 'access_code.failed_to_set_on_device'
99738
+ | 'access_code.issued'
99739
+ | 'access_code.delay_in_issuing'
99740
+ | 'access_code.failed_to_issue'
99741
+ | 'access_code.delay_in_applying_mutations'
99742
+ | 'access_code.failed_to_apply_mutations'
99743
+ | 'access_code.failed_to_expire'
98396
99744
  | 'access_code.deleted'
98397
99745
  | 'access_code.delay_in_removing_from_device'
98398
99746
  | 'access_code.failed_to_remove_from_device'
@@ -98507,6 +99855,12 @@ export type Routes = {
98507
99855
  | 'access_code.removed_from_device'
98508
99856
  | 'access_code.delay_in_setting_on_device'
98509
99857
  | 'access_code.failed_to_set_on_device'
99858
+ | 'access_code.issued'
99859
+ | 'access_code.delay_in_issuing'
99860
+ | 'access_code.failed_to_issue'
99861
+ | 'access_code.delay_in_applying_mutations'
99862
+ | 'access_code.failed_to_apply_mutations'
99863
+ | 'access_code.failed_to_expire'
98510
99864
  | 'access_code.deleted'
98511
99865
  | 'access_code.delay_in_removing_from_device'
98512
99866
  | 'access_code.failed_to_remove_from_device'
@@ -99142,6 +100496,464 @@ export type Routes = {
99142
100496
  warning_code: string
99143
100497
  }[]
99144
100498
  }
100499
+ | {
100500
+ /** ID of the event. */
100501
+ event_id: string
100502
+ /** ID of the workspace associated with the event. */
100503
+ workspace_id: string
100504
+ /** Date and time at which the event was created. */
100505
+ created_at: string
100506
+ /** Date and time at which the event occurred. */
100507
+ occurred_at: string
100508
+ /** 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. */
100509
+ event_description?: string | undefined
100510
+ /** ID of the affected access code. */
100511
+ access_code_id: string
100512
+ /** ID of the device associated with the affected access code. */
100513
+ device_id: string
100514
+ /** ID of the connected account associated with the affected access code. */
100515
+ connected_account_id: string
100516
+ /** Custom metadata of the device, present when device_id is provided. */
100517
+ device_custom_metadata?:
100518
+ | {
100519
+ [x: string]: string | boolean
100520
+ }
100521
+ | undefined
100522
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100523
+ connected_account_custom_metadata?:
100524
+ | {
100525
+ [x: string]: string | boolean
100526
+ }
100527
+ | undefined
100528
+ event_type: 'access_code.issued'
100529
+ /** Code for the affected access code. */
100530
+ code: string
100531
+ }
100532
+ | {
100533
+ /** ID of the event. */
100534
+ event_id: string
100535
+ /** ID of the workspace associated with the event. */
100536
+ workspace_id: string
100537
+ /** Date and time at which the event was created. */
100538
+ created_at: string
100539
+ /** Date and time at which the event occurred. */
100540
+ occurred_at: string
100541
+ /** 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. */
100542
+ event_description?: string | undefined
100543
+ /** ID of the affected access code. */
100544
+ access_code_id: string
100545
+ /** ID of the device associated with the affected access code. */
100546
+ device_id: string
100547
+ /** ID of the connected account associated with the affected access code. */
100548
+ connected_account_id: string
100549
+ /** Custom metadata of the device, present when device_id is provided. */
100550
+ device_custom_metadata?:
100551
+ | {
100552
+ [x: string]: string | boolean
100553
+ }
100554
+ | undefined
100555
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100556
+ connected_account_custom_metadata?:
100557
+ | {
100558
+ [x: string]: string | boolean
100559
+ }
100560
+ | undefined
100561
+ event_type: 'access_code.delay_in_issuing'
100562
+ /** Errors associated with the connected account. */
100563
+ connected_account_errors: {
100564
+ /** Date and time at which Seam created the error. */
100565
+ created_at: string
100566
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100567
+ message: string
100568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100569
+ error_code: string
100570
+ }[]
100571
+ /** Warnings associated with the connected account. */
100572
+ connected_account_warnings: {
100573
+ /** Date and time at which Seam created the warning. */
100574
+ created_at: string
100575
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100576
+ message: string
100577
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100578
+ warning_code: string
100579
+ }[]
100580
+ /** Errors associated with the device. */
100581
+ device_errors: {
100582
+ /** Date and time at which Seam created the error. */
100583
+ created_at: string
100584
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100585
+ message: string
100586
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100587
+ error_code: string
100588
+ }[]
100589
+ /** Warnings associated with the device. */
100590
+ device_warnings: {
100591
+ /** Date and time at which Seam created the warning. */
100592
+ created_at: string
100593
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100594
+ message: string
100595
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100596
+ warning_code: string
100597
+ }[]
100598
+ /** Errors associated with the access code. */
100599
+ access_code_errors: {
100600
+ /** Date and time at which Seam created the error. */
100601
+ created_at: string
100602
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100603
+ message: string
100604
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100605
+ error_code: string
100606
+ }[]
100607
+ /** Warnings associated with the access code. */
100608
+ access_code_warnings: {
100609
+ /** Date and time at which Seam created the warning. */
100610
+ created_at: string
100611
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100612
+ message: string
100613
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100614
+ warning_code: string
100615
+ }[]
100616
+ }
100617
+ | {
100618
+ /** ID of the event. */
100619
+ event_id: string
100620
+ /** ID of the workspace associated with the event. */
100621
+ workspace_id: string
100622
+ /** Date and time at which the event was created. */
100623
+ created_at: string
100624
+ /** Date and time at which the event occurred. */
100625
+ occurred_at: string
100626
+ /** 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. */
100627
+ event_description?: string | undefined
100628
+ /** ID of the affected access code. */
100629
+ access_code_id: string
100630
+ /** ID of the device associated with the affected access code. */
100631
+ device_id: string
100632
+ /** ID of the connected account associated with the affected access code. */
100633
+ connected_account_id: string
100634
+ /** Custom metadata of the device, present when device_id is provided. */
100635
+ device_custom_metadata?:
100636
+ | {
100637
+ [x: string]: string | boolean
100638
+ }
100639
+ | undefined
100640
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100641
+ connected_account_custom_metadata?:
100642
+ | {
100643
+ [x: string]: string | boolean
100644
+ }
100645
+ | undefined
100646
+ event_type: 'access_code.failed_to_issue'
100647
+ /** Errors associated with the connected account. */
100648
+ connected_account_errors: {
100649
+ /** Date and time at which Seam created the error. */
100650
+ created_at: string
100651
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100652
+ message: string
100653
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100654
+ error_code: string
100655
+ }[]
100656
+ /** Warnings associated with the connected account. */
100657
+ connected_account_warnings: {
100658
+ /** Date and time at which Seam created the warning. */
100659
+ created_at: string
100660
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100661
+ message: string
100662
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100663
+ warning_code: string
100664
+ }[]
100665
+ /** Errors associated with the device. */
100666
+ device_errors: {
100667
+ /** Date and time at which Seam created the error. */
100668
+ created_at: string
100669
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100670
+ message: string
100671
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100672
+ error_code: string
100673
+ }[]
100674
+ /** Warnings associated with the device. */
100675
+ device_warnings: {
100676
+ /** Date and time at which Seam created the warning. */
100677
+ created_at: string
100678
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100679
+ message: string
100680
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100681
+ warning_code: string
100682
+ }[]
100683
+ /** Errors associated with the access code. */
100684
+ access_code_errors: {
100685
+ /** Date and time at which Seam created the error. */
100686
+ created_at: string
100687
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100688
+ message: string
100689
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100690
+ error_code: string
100691
+ }[]
100692
+ /** Warnings associated with the access code. */
100693
+ access_code_warnings: {
100694
+ /** Date and time at which Seam created the warning. */
100695
+ created_at: string
100696
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100697
+ message: string
100698
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100699
+ warning_code: string
100700
+ }[]
100701
+ }
100702
+ | {
100703
+ /** ID of the event. */
100704
+ event_id: string
100705
+ /** ID of the workspace associated with the event. */
100706
+ workspace_id: string
100707
+ /** Date and time at which the event was created. */
100708
+ created_at: string
100709
+ /** Date and time at which the event occurred. */
100710
+ occurred_at: string
100711
+ /** 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. */
100712
+ event_description?: string | undefined
100713
+ /** ID of the affected access code. */
100714
+ access_code_id: string
100715
+ /** ID of the device associated with the affected access code. */
100716
+ device_id: string
100717
+ /** ID of the connected account associated with the affected access code. */
100718
+ connected_account_id: string
100719
+ /** Custom metadata of the device, present when device_id is provided. */
100720
+ device_custom_metadata?:
100721
+ | {
100722
+ [x: string]: string | boolean
100723
+ }
100724
+ | undefined
100725
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100726
+ connected_account_custom_metadata?:
100727
+ | {
100728
+ [x: string]: string | boolean
100729
+ }
100730
+ | undefined
100731
+ event_type: 'access_code.delay_in_applying_mutations'
100732
+ /** Errors associated with the connected account. */
100733
+ connected_account_errors: {
100734
+ /** Date and time at which Seam created the error. */
100735
+ created_at: string
100736
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100737
+ message: string
100738
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100739
+ error_code: string
100740
+ }[]
100741
+ /** Warnings associated with the connected account. */
100742
+ connected_account_warnings: {
100743
+ /** Date and time at which Seam created the warning. */
100744
+ created_at: string
100745
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100746
+ message: string
100747
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100748
+ warning_code: string
100749
+ }[]
100750
+ /** Errors associated with the device. */
100751
+ device_errors: {
100752
+ /** Date and time at which Seam created the error. */
100753
+ created_at: string
100754
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100755
+ message: string
100756
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100757
+ error_code: string
100758
+ }[]
100759
+ /** Warnings associated with the device. */
100760
+ device_warnings: {
100761
+ /** Date and time at which Seam created the warning. */
100762
+ created_at: string
100763
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100764
+ message: string
100765
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100766
+ warning_code: string
100767
+ }[]
100768
+ /** Errors associated with the access code. */
100769
+ access_code_errors: {
100770
+ /** Date and time at which Seam created the error. */
100771
+ created_at: string
100772
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100773
+ message: string
100774
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100775
+ error_code: string
100776
+ }[]
100777
+ /** Warnings associated with the access code. */
100778
+ access_code_warnings: {
100779
+ /** Date and time at which Seam created the warning. */
100780
+ created_at: string
100781
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100782
+ message: string
100783
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100784
+ warning_code: string
100785
+ }[]
100786
+ }
100787
+ | {
100788
+ /** ID of the event. */
100789
+ event_id: string
100790
+ /** ID of the workspace associated with the event. */
100791
+ workspace_id: string
100792
+ /** Date and time at which the event was created. */
100793
+ created_at: string
100794
+ /** Date and time at which the event occurred. */
100795
+ occurred_at: string
100796
+ /** 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. */
100797
+ event_description?: string | undefined
100798
+ /** ID of the affected access code. */
100799
+ access_code_id: string
100800
+ /** ID of the device associated with the affected access code. */
100801
+ device_id: string
100802
+ /** ID of the connected account associated with the affected access code. */
100803
+ connected_account_id: string
100804
+ /** Custom metadata of the device, present when device_id is provided. */
100805
+ device_custom_metadata?:
100806
+ | {
100807
+ [x: string]: string | boolean
100808
+ }
100809
+ | undefined
100810
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100811
+ connected_account_custom_metadata?:
100812
+ | {
100813
+ [x: string]: string | boolean
100814
+ }
100815
+ | undefined
100816
+ event_type: 'access_code.failed_to_apply_mutations'
100817
+ /** Errors associated with the connected account. */
100818
+ connected_account_errors: {
100819
+ /** Date and time at which Seam created the error. */
100820
+ created_at: string
100821
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100822
+ message: string
100823
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100824
+ error_code: string
100825
+ }[]
100826
+ /** Warnings associated with the connected account. */
100827
+ connected_account_warnings: {
100828
+ /** Date and time at which Seam created the warning. */
100829
+ created_at: string
100830
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100831
+ message: string
100832
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100833
+ warning_code: string
100834
+ }[]
100835
+ /** Errors associated with the device. */
100836
+ device_errors: {
100837
+ /** Date and time at which Seam created the error. */
100838
+ created_at: string
100839
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100840
+ message: string
100841
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100842
+ error_code: string
100843
+ }[]
100844
+ /** Warnings associated with the device. */
100845
+ device_warnings: {
100846
+ /** Date and time at which Seam created the warning. */
100847
+ created_at: string
100848
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100849
+ message: string
100850
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100851
+ warning_code: string
100852
+ }[]
100853
+ /** Errors associated with the access code. */
100854
+ access_code_errors: {
100855
+ /** Date and time at which Seam created the error. */
100856
+ created_at: string
100857
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100858
+ message: string
100859
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100860
+ error_code: string
100861
+ }[]
100862
+ /** Warnings associated with the access code. */
100863
+ access_code_warnings: {
100864
+ /** Date and time at which Seam created the warning. */
100865
+ created_at: string
100866
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100867
+ message: string
100868
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100869
+ warning_code: string
100870
+ }[]
100871
+ }
100872
+ | {
100873
+ /** ID of the event. */
100874
+ event_id: string
100875
+ /** ID of the workspace associated with the event. */
100876
+ workspace_id: string
100877
+ /** Date and time at which the event was created. */
100878
+ created_at: string
100879
+ /** Date and time at which the event occurred. */
100880
+ occurred_at: string
100881
+ /** 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. */
100882
+ event_description?: string | undefined
100883
+ /** ID of the affected access code. */
100884
+ access_code_id: string
100885
+ /** ID of the device associated with the affected access code. */
100886
+ device_id: string
100887
+ /** ID of the connected account associated with the affected access code. */
100888
+ connected_account_id: string
100889
+ /** Custom metadata of the device, present when device_id is provided. */
100890
+ device_custom_metadata?:
100891
+ | {
100892
+ [x: string]: string | boolean
100893
+ }
100894
+ | undefined
100895
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100896
+ connected_account_custom_metadata?:
100897
+ | {
100898
+ [x: string]: string | boolean
100899
+ }
100900
+ | undefined
100901
+ event_type: 'access_code.failed_to_expire'
100902
+ /** Errors associated with the connected account. */
100903
+ connected_account_errors: {
100904
+ /** Date and time at which Seam created the error. */
100905
+ created_at: string
100906
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100907
+ message: string
100908
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100909
+ error_code: string
100910
+ }[]
100911
+ /** Warnings associated with the connected account. */
100912
+ connected_account_warnings: {
100913
+ /** Date and time at which Seam created the warning. */
100914
+ created_at: string
100915
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100916
+ message: string
100917
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100918
+ warning_code: string
100919
+ }[]
100920
+ /** Errors associated with the device. */
100921
+ device_errors: {
100922
+ /** Date and time at which Seam created the error. */
100923
+ created_at: string
100924
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100925
+ message: string
100926
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100927
+ error_code: string
100928
+ }[]
100929
+ /** Warnings associated with the device. */
100930
+ device_warnings: {
100931
+ /** Date and time at which Seam created the warning. */
100932
+ created_at: string
100933
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100934
+ message: string
100935
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100936
+ warning_code: string
100937
+ }[]
100938
+ /** Errors associated with the access code. */
100939
+ access_code_errors: {
100940
+ /** Date and time at which Seam created the error. */
100941
+ created_at: string
100942
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100943
+ message: string
100944
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100945
+ error_code: string
100946
+ }[]
100947
+ /** Warnings associated with the access code. */
100948
+ access_code_warnings: {
100949
+ /** Date and time at which Seam created the warning. */
100950
+ created_at: string
100951
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100952
+ message: string
100953
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100954
+ warning_code: string
100955
+ }[]
100956
+ }
99145
100957
  | {
99146
100958
  /** ID of the event. */
99147
100959
  event_id: string
@@ -145979,29 +147791,584 @@ export type Routes = {
145979
147791
  [x: string]: string | boolean
145980
147792
  }
145981
147793
  | undefined
145982
- event_type: 'access_code.mutations_requested'
145983
- /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
145984
- requested_mutations: {
145985
- /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
145986
- mutation_code:
145987
- | 'updating_name'
145988
- | 'updating_code'
145989
- | 'updating_time_frame'
145990
- | 'deleting'
145991
- | 'creating'
145992
- | 'deferring_creation'
145993
- /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
145994
- from?:
145995
- | {
145996
- [x: string]: unknown
145997
- }
145998
- | undefined
145999
- /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
146000
- to?:
146001
- | {
146002
- [x: string]: unknown
146003
- }
146004
- | undefined
147794
+ event_type: 'access_code.mutations_requested'
147795
+ /** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
147796
+ requested_mutations: {
147797
+ /** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
147798
+ mutation_code:
147799
+ | 'updating_name'
147800
+ | 'updating_code'
147801
+ | 'updating_time_frame'
147802
+ | 'deleting'
147803
+ | 'creating'
147804
+ | 'deferring_creation'
147805
+ /** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
147806
+ from?:
147807
+ | {
147808
+ [x: string]: unknown
147809
+ }
147810
+ | undefined
147811
+ /** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
147812
+ to?:
147813
+ | {
147814
+ [x: string]: unknown
147815
+ }
147816
+ | undefined
147817
+ }[]
147818
+ }
147819
+ | {
147820
+ /** ID of the event. */
147821
+ event_id: string
147822
+ /** ID of the workspace associated with the event. */
147823
+ workspace_id: string
147824
+ /** Date and time at which the event was created. */
147825
+ created_at: string
147826
+ /** Date and time at which the event occurred. */
147827
+ occurred_at: string
147828
+ /** 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. */
147829
+ event_description?: string | undefined
147830
+ /** ID of the affected access code. */
147831
+ access_code_id: string
147832
+ /** ID of the device associated with the affected access code. */
147833
+ device_id: string
147834
+ /** ID of the connected account associated with the affected access code. */
147835
+ connected_account_id: string
147836
+ /** Custom metadata of the device, present when device_id is provided. */
147837
+ device_custom_metadata?:
147838
+ | {
147839
+ [x: string]: string | boolean
147840
+ }
147841
+ | undefined
147842
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
147843
+ connected_account_custom_metadata?:
147844
+ | {
147845
+ [x: string]: string | boolean
147846
+ }
147847
+ | undefined
147848
+ event_type: 'access_code.scheduled_on_device'
147849
+ /** Code for the affected access code. */
147850
+ code: string
147851
+ }
147852
+ | {
147853
+ /** ID of the event. */
147854
+ event_id: string
147855
+ /** ID of the workspace associated with the event. */
147856
+ workspace_id: string
147857
+ /** Date and time at which the event was created. */
147858
+ created_at: string
147859
+ /** Date and time at which the event occurred. */
147860
+ occurred_at: string
147861
+ /** 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. */
147862
+ event_description?: string | undefined
147863
+ /** ID of the affected access code. */
147864
+ access_code_id: string
147865
+ /** ID of the device associated with the affected access code. */
147866
+ device_id: string
147867
+ /** ID of the connected account associated with the affected access code. */
147868
+ connected_account_id: string
147869
+ /** Custom metadata of the device, present when device_id is provided. */
147870
+ device_custom_metadata?:
147871
+ | {
147872
+ [x: string]: string | boolean
147873
+ }
147874
+ | undefined
147875
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
147876
+ connected_account_custom_metadata?:
147877
+ | {
147878
+ [x: string]: string | boolean
147879
+ }
147880
+ | undefined
147881
+ event_type: 'access_code.set_on_device'
147882
+ /** Code for the affected access code. */
147883
+ code: string
147884
+ }
147885
+ | {
147886
+ /** ID of the event. */
147887
+ event_id: string
147888
+ /** ID of the workspace associated with the event. */
147889
+ workspace_id: string
147890
+ /** Date and time at which the event was created. */
147891
+ created_at: string
147892
+ /** Date and time at which the event occurred. */
147893
+ occurred_at: string
147894
+ /** 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. */
147895
+ event_description?: string | undefined
147896
+ /** ID of the affected access code. */
147897
+ access_code_id: string
147898
+ /** ID of the device associated with the affected access code. */
147899
+ device_id: string
147900
+ /** ID of the connected account associated with the affected access code. */
147901
+ connected_account_id: string
147902
+ /** Custom metadata of the device, present when device_id is provided. */
147903
+ device_custom_metadata?:
147904
+ | {
147905
+ [x: string]: string | boolean
147906
+ }
147907
+ | undefined
147908
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
147909
+ connected_account_custom_metadata?:
147910
+ | {
147911
+ [x: string]: string | boolean
147912
+ }
147913
+ | undefined
147914
+ event_type: 'access_code.removed_from_device'
147915
+ }
147916
+ | {
147917
+ /** ID of the event. */
147918
+ event_id: string
147919
+ /** ID of the workspace associated with the event. */
147920
+ workspace_id: string
147921
+ /** Date and time at which the event was created. */
147922
+ created_at: string
147923
+ /** Date and time at which the event occurred. */
147924
+ occurred_at: string
147925
+ /** 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. */
147926
+ event_description?: string | undefined
147927
+ /** ID of the affected access code. */
147928
+ access_code_id: string
147929
+ /** ID of the device associated with the affected access code. */
147930
+ device_id: string
147931
+ /** ID of the connected account associated with the affected access code. */
147932
+ connected_account_id: string
147933
+ /** Custom metadata of the device, present when device_id is provided. */
147934
+ device_custom_metadata?:
147935
+ | {
147936
+ [x: string]: string | boolean
147937
+ }
147938
+ | undefined
147939
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
147940
+ connected_account_custom_metadata?:
147941
+ | {
147942
+ [x: string]: string | boolean
147943
+ }
147944
+ | undefined
147945
+ event_type: 'access_code.delay_in_setting_on_device'
147946
+ /** Errors associated with the connected account. */
147947
+ connected_account_errors: {
147948
+ /** Date and time at which Seam created the error. */
147949
+ created_at: string
147950
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
147951
+ message: string
147952
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
147953
+ error_code: string
147954
+ }[]
147955
+ /** Warnings associated with the connected account. */
147956
+ connected_account_warnings: {
147957
+ /** Date and time at which Seam created the warning. */
147958
+ created_at: string
147959
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147960
+ message: string
147961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147962
+ warning_code: string
147963
+ }[]
147964
+ /** Errors associated with the device. */
147965
+ device_errors: {
147966
+ /** Date and time at which Seam created the error. */
147967
+ created_at: string
147968
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
147969
+ message: string
147970
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
147971
+ error_code: string
147972
+ }[]
147973
+ /** Warnings associated with the device. */
147974
+ device_warnings: {
147975
+ /** Date and time at which Seam created the warning. */
147976
+ created_at: string
147977
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147978
+ message: string
147979
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147980
+ warning_code: string
147981
+ }[]
147982
+ /** Errors associated with the access code. */
147983
+ access_code_errors: {
147984
+ /** Date and time at which Seam created the error. */
147985
+ created_at: string
147986
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
147987
+ message: string
147988
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
147989
+ error_code: string
147990
+ }[]
147991
+ /** Warnings associated with the access code. */
147992
+ access_code_warnings: {
147993
+ /** Date and time at which Seam created the warning. */
147994
+ created_at: string
147995
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
147996
+ message: string
147997
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147998
+ warning_code: string
147999
+ }[]
148000
+ }
148001
+ | {
148002
+ /** ID of the event. */
148003
+ event_id: string
148004
+ /** ID of the workspace associated with the event. */
148005
+ workspace_id: string
148006
+ /** Date and time at which the event was created. */
148007
+ created_at: string
148008
+ /** Date and time at which the event occurred. */
148009
+ occurred_at: string
148010
+ /** 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. */
148011
+ event_description?: string | undefined
148012
+ /** ID of the affected access code. */
148013
+ access_code_id: string
148014
+ /** ID of the device associated with the affected access code. */
148015
+ device_id: string
148016
+ /** ID of the connected account associated with the affected access code. */
148017
+ connected_account_id: string
148018
+ /** Custom metadata of the device, present when device_id is provided. */
148019
+ device_custom_metadata?:
148020
+ | {
148021
+ [x: string]: string | boolean
148022
+ }
148023
+ | undefined
148024
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
148025
+ connected_account_custom_metadata?:
148026
+ | {
148027
+ [x: string]: string | boolean
148028
+ }
148029
+ | undefined
148030
+ event_type: 'access_code.failed_to_set_on_device'
148031
+ /** Errors associated with the connected account. */
148032
+ connected_account_errors: {
148033
+ /** Date and time at which Seam created the error. */
148034
+ created_at: string
148035
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148036
+ message: string
148037
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148038
+ error_code: string
148039
+ }[]
148040
+ /** Warnings associated with the connected account. */
148041
+ connected_account_warnings: {
148042
+ /** Date and time at which Seam created the warning. */
148043
+ created_at: string
148044
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148045
+ message: string
148046
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148047
+ warning_code: string
148048
+ }[]
148049
+ /** Errors associated with the device. */
148050
+ device_errors: {
148051
+ /** Date and time at which Seam created the error. */
148052
+ created_at: string
148053
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148054
+ message: string
148055
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148056
+ error_code: string
148057
+ }[]
148058
+ /** Warnings associated with the device. */
148059
+ device_warnings: {
148060
+ /** Date and time at which Seam created the warning. */
148061
+ created_at: string
148062
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148063
+ message: string
148064
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148065
+ warning_code: string
148066
+ }[]
148067
+ /** Errors associated with the access code. */
148068
+ access_code_errors: {
148069
+ /** Date and time at which Seam created the error. */
148070
+ created_at: string
148071
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148072
+ message: string
148073
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148074
+ error_code: string
148075
+ }[]
148076
+ /** Warnings associated with the access code. */
148077
+ access_code_warnings: {
148078
+ /** Date and time at which Seam created the warning. */
148079
+ created_at: string
148080
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148081
+ message: string
148082
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148083
+ warning_code: string
148084
+ }[]
148085
+ }
148086
+ | {
148087
+ /** ID of the event. */
148088
+ event_id: string
148089
+ /** ID of the workspace associated with the event. */
148090
+ workspace_id: string
148091
+ /** Date and time at which the event was created. */
148092
+ created_at: string
148093
+ /** Date and time at which the event occurred. */
148094
+ occurred_at: string
148095
+ /** 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. */
148096
+ event_description?: string | undefined
148097
+ /** ID of the affected access code. */
148098
+ access_code_id: string
148099
+ /** ID of the device associated with the affected access code. */
148100
+ device_id: string
148101
+ /** ID of the connected account associated with the affected access code. */
148102
+ connected_account_id: string
148103
+ /** Custom metadata of the device, present when device_id is provided. */
148104
+ device_custom_metadata?:
148105
+ | {
148106
+ [x: string]: string | boolean
148107
+ }
148108
+ | undefined
148109
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
148110
+ connected_account_custom_metadata?:
148111
+ | {
148112
+ [x: string]: string | boolean
148113
+ }
148114
+ | undefined
148115
+ event_type: 'access_code.issued'
148116
+ /** Code for the affected access code. */
148117
+ code: string
148118
+ }
148119
+ | {
148120
+ /** ID of the event. */
148121
+ event_id: string
148122
+ /** ID of the workspace associated with the event. */
148123
+ workspace_id: string
148124
+ /** Date and time at which the event was created. */
148125
+ created_at: string
148126
+ /** Date and time at which the event occurred. */
148127
+ occurred_at: string
148128
+ /** 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. */
148129
+ event_description?: string | undefined
148130
+ /** ID of the affected access code. */
148131
+ access_code_id: string
148132
+ /** ID of the device associated with the affected access code. */
148133
+ device_id: string
148134
+ /** ID of the connected account associated with the affected access code. */
148135
+ connected_account_id: string
148136
+ /** Custom metadata of the device, present when device_id is provided. */
148137
+ device_custom_metadata?:
148138
+ | {
148139
+ [x: string]: string | boolean
148140
+ }
148141
+ | undefined
148142
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
148143
+ connected_account_custom_metadata?:
148144
+ | {
148145
+ [x: string]: string | boolean
148146
+ }
148147
+ | undefined
148148
+ event_type: 'access_code.delay_in_issuing'
148149
+ /** Errors associated with the connected account. */
148150
+ connected_account_errors: {
148151
+ /** Date and time at which Seam created the error. */
148152
+ created_at: string
148153
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148154
+ message: string
148155
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148156
+ error_code: string
148157
+ }[]
148158
+ /** Warnings associated with the connected account. */
148159
+ connected_account_warnings: {
148160
+ /** Date and time at which Seam created the warning. */
148161
+ created_at: string
148162
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148163
+ message: string
148164
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148165
+ warning_code: string
148166
+ }[]
148167
+ /** Errors associated with the device. */
148168
+ device_errors: {
148169
+ /** Date and time at which Seam created the error. */
148170
+ created_at: string
148171
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148172
+ message: string
148173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148174
+ error_code: string
148175
+ }[]
148176
+ /** Warnings associated with the device. */
148177
+ device_warnings: {
148178
+ /** Date and time at which Seam created the warning. */
148179
+ created_at: string
148180
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148181
+ message: string
148182
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148183
+ warning_code: string
148184
+ }[]
148185
+ /** Errors associated with the access code. */
148186
+ access_code_errors: {
148187
+ /** Date and time at which Seam created the error. */
148188
+ created_at: string
148189
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148190
+ message: string
148191
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148192
+ error_code: string
148193
+ }[]
148194
+ /** Warnings associated with the access code. */
148195
+ access_code_warnings: {
148196
+ /** Date and time at which Seam created the warning. */
148197
+ created_at: string
148198
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148199
+ message: string
148200
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148201
+ warning_code: string
148202
+ }[]
148203
+ }
148204
+ | {
148205
+ /** ID of the event. */
148206
+ event_id: string
148207
+ /** ID of the workspace associated with the event. */
148208
+ workspace_id: string
148209
+ /** Date and time at which the event was created. */
148210
+ created_at: string
148211
+ /** Date and time at which the event occurred. */
148212
+ occurred_at: string
148213
+ /** 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. */
148214
+ event_description?: string | undefined
148215
+ /** ID of the affected access code. */
148216
+ access_code_id: string
148217
+ /** ID of the device associated with the affected access code. */
148218
+ device_id: string
148219
+ /** ID of the connected account associated with the affected access code. */
148220
+ connected_account_id: string
148221
+ /** Custom metadata of the device, present when device_id is provided. */
148222
+ device_custom_metadata?:
148223
+ | {
148224
+ [x: string]: string | boolean
148225
+ }
148226
+ | undefined
148227
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
148228
+ connected_account_custom_metadata?:
148229
+ | {
148230
+ [x: string]: string | boolean
148231
+ }
148232
+ | undefined
148233
+ event_type: 'access_code.failed_to_issue'
148234
+ /** Errors associated with the connected account. */
148235
+ connected_account_errors: {
148236
+ /** Date and time at which Seam created the error. */
148237
+ created_at: string
148238
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148239
+ message: string
148240
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148241
+ error_code: string
148242
+ }[]
148243
+ /** Warnings associated with the connected account. */
148244
+ connected_account_warnings: {
148245
+ /** Date and time at which Seam created the warning. */
148246
+ created_at: string
148247
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148248
+ message: string
148249
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148250
+ warning_code: string
148251
+ }[]
148252
+ /** Errors associated with the device. */
148253
+ device_errors: {
148254
+ /** Date and time at which Seam created the error. */
148255
+ created_at: string
148256
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148257
+ message: string
148258
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148259
+ error_code: string
148260
+ }[]
148261
+ /** Warnings associated with the device. */
148262
+ device_warnings: {
148263
+ /** Date and time at which Seam created the warning. */
148264
+ created_at: string
148265
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148266
+ message: string
148267
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148268
+ warning_code: string
148269
+ }[]
148270
+ /** Errors associated with the access code. */
148271
+ access_code_errors: {
148272
+ /** Date and time at which Seam created the error. */
148273
+ created_at: string
148274
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148275
+ message: string
148276
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148277
+ error_code: string
148278
+ }[]
148279
+ /** Warnings associated with the access code. */
148280
+ access_code_warnings: {
148281
+ /** Date and time at which Seam created the warning. */
148282
+ created_at: string
148283
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148284
+ message: string
148285
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148286
+ warning_code: string
148287
+ }[]
148288
+ }
148289
+ | {
148290
+ /** ID of the event. */
148291
+ event_id: string
148292
+ /** ID of the workspace associated with the event. */
148293
+ workspace_id: string
148294
+ /** Date and time at which the event was created. */
148295
+ created_at: string
148296
+ /** Date and time at which the event occurred. */
148297
+ occurred_at: string
148298
+ /** 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. */
148299
+ event_description?: string | undefined
148300
+ /** ID of the affected access code. */
148301
+ access_code_id: string
148302
+ /** ID of the device associated with the affected access code. */
148303
+ device_id: string
148304
+ /** ID of the connected account associated with the affected access code. */
148305
+ connected_account_id: string
148306
+ /** Custom metadata of the device, present when device_id is provided. */
148307
+ device_custom_metadata?:
148308
+ | {
148309
+ [x: string]: string | boolean
148310
+ }
148311
+ | undefined
148312
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
148313
+ connected_account_custom_metadata?:
148314
+ | {
148315
+ [x: string]: string | boolean
148316
+ }
148317
+ | undefined
148318
+ event_type: 'access_code.delay_in_applying_mutations'
148319
+ /** Errors associated with the connected account. */
148320
+ connected_account_errors: {
148321
+ /** Date and time at which Seam created the error. */
148322
+ created_at: string
148323
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148324
+ message: string
148325
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148326
+ error_code: string
148327
+ }[]
148328
+ /** Warnings associated with the connected account. */
148329
+ connected_account_warnings: {
148330
+ /** Date and time at which Seam created the warning. */
148331
+ created_at: string
148332
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148333
+ message: string
148334
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148335
+ warning_code: string
148336
+ }[]
148337
+ /** Errors associated with the device. */
148338
+ device_errors: {
148339
+ /** Date and time at which Seam created the error. */
148340
+ created_at: string
148341
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148342
+ message: string
148343
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148344
+ error_code: string
148345
+ }[]
148346
+ /** Warnings associated with the device. */
148347
+ device_warnings: {
148348
+ /** Date and time at which Seam created the warning. */
148349
+ created_at: string
148350
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148351
+ message: string
148352
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148353
+ warning_code: string
148354
+ }[]
148355
+ /** Errors associated with the access code. */
148356
+ access_code_errors: {
148357
+ /** Date and time at which Seam created the error. */
148358
+ created_at: string
148359
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148360
+ message: string
148361
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148362
+ error_code: string
148363
+ }[]
148364
+ /** Warnings associated with the access code. */
148365
+ access_code_warnings: {
148366
+ /** Date and time at which Seam created the warning. */
148367
+ created_at: string
148368
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
148369
+ message: string
148370
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148371
+ warning_code: string
146005
148372
  }[]
146006
148373
  }
146007
148374
  | {
@@ -146033,104 +148400,7 @@ export type Routes = {
146033
148400
  [x: string]: string | boolean
146034
148401
  }
146035
148402
  | undefined
146036
- event_type: 'access_code.scheduled_on_device'
146037
- /** Code for the affected access code. */
146038
- code: string
146039
- }
146040
- | {
146041
- /** ID of the event. */
146042
- event_id: string
146043
- /** ID of the workspace associated with the event. */
146044
- workspace_id: string
146045
- /** Date and time at which the event was created. */
146046
- created_at: string
146047
- /** Date and time at which the event occurred. */
146048
- occurred_at: string
146049
- /** 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. */
146050
- event_description?: string | undefined
146051
- /** ID of the affected access code. */
146052
- access_code_id: string
146053
- /** ID of the device associated with the affected access code. */
146054
- device_id: string
146055
- /** ID of the connected account associated with the affected access code. */
146056
- connected_account_id: string
146057
- /** Custom metadata of the device, present when device_id is provided. */
146058
- device_custom_metadata?:
146059
- | {
146060
- [x: string]: string | boolean
146061
- }
146062
- | undefined
146063
- /** Custom metadata of the connected account, present when connected_account_id is provided. */
146064
- connected_account_custom_metadata?:
146065
- | {
146066
- [x: string]: string | boolean
146067
- }
146068
- | undefined
146069
- event_type: 'access_code.set_on_device'
146070
- /** Code for the affected access code. */
146071
- code: string
146072
- }
146073
- | {
146074
- /** ID of the event. */
146075
- event_id: string
146076
- /** ID of the workspace associated with the event. */
146077
- workspace_id: string
146078
- /** Date and time at which the event was created. */
146079
- created_at: string
146080
- /** Date and time at which the event occurred. */
146081
- occurred_at: string
146082
- /** 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. */
146083
- event_description?: string | undefined
146084
- /** ID of the affected access code. */
146085
- access_code_id: string
146086
- /** ID of the device associated with the affected access code. */
146087
- device_id: string
146088
- /** ID of the connected account associated with the affected access code. */
146089
- connected_account_id: string
146090
- /** Custom metadata of the device, present when device_id is provided. */
146091
- device_custom_metadata?:
146092
- | {
146093
- [x: string]: string | boolean
146094
- }
146095
- | undefined
146096
- /** Custom metadata of the connected account, present when connected_account_id is provided. */
146097
- connected_account_custom_metadata?:
146098
- | {
146099
- [x: string]: string | boolean
146100
- }
146101
- | undefined
146102
- event_type: 'access_code.removed_from_device'
146103
- }
146104
- | {
146105
- /** ID of the event. */
146106
- event_id: string
146107
- /** ID of the workspace associated with the event. */
146108
- workspace_id: string
146109
- /** Date and time at which the event was created. */
146110
- created_at: string
146111
- /** Date and time at which the event occurred. */
146112
- occurred_at: string
146113
- /** 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. */
146114
- event_description?: string | undefined
146115
- /** ID of the affected access code. */
146116
- access_code_id: string
146117
- /** ID of the device associated with the affected access code. */
146118
- device_id: string
146119
- /** ID of the connected account associated with the affected access code. */
146120
- connected_account_id: string
146121
- /** Custom metadata of the device, present when device_id is provided. */
146122
- device_custom_metadata?:
146123
- | {
146124
- [x: string]: string | boolean
146125
- }
146126
- | undefined
146127
- /** Custom metadata of the connected account, present when connected_account_id is provided. */
146128
- connected_account_custom_metadata?:
146129
- | {
146130
- [x: string]: string | boolean
146131
- }
146132
- | undefined
146133
- event_type: 'access_code.delay_in_setting_on_device'
148403
+ event_type: 'access_code.failed_to_apply_mutations'
146134
148404
  /** Errors associated with the connected account. */
146135
148405
  connected_account_errors: {
146136
148406
  /** Date and time at which Seam created the error. */
@@ -146215,7 +148485,7 @@ export type Routes = {
146215
148485
  [x: string]: string | boolean
146216
148486
  }
146217
148487
  | undefined
146218
- event_type: 'access_code.failed_to_set_on_device'
148488
+ event_type: 'access_code.failed_to_expire'
146219
148489
  /** Errors associated with the connected account. */
146220
148490
  connected_account_errors: {
146221
148491
  /** Date and time at which Seam created the error. */
@@ -149879,6 +152149,36 @@ export type Routes = {
149879
152149
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
149880
152150
  error_code: 'code_constraints_violated'
149881
152151
  }
152152
+ | {
152153
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152154
+ message: string
152155
+ /** Indicates that this is an access code error. */
152156
+ is_access_code_error: true
152157
+ /** Date and time at which Seam created the error. */
152158
+ created_at?: string | undefined
152159
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152160
+ error_code: 'failed_to_issue'
152161
+ }
152162
+ | {
152163
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152164
+ message: string
152165
+ /** Indicates that this is an access code error. */
152166
+ is_access_code_error: true
152167
+ /** Date and time at which Seam created the error. */
152168
+ created_at?: string | undefined
152169
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152170
+ error_code: 'failed_to_apply_mutations'
152171
+ }
152172
+ | {
152173
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152174
+ message: string
152175
+ /** Indicates that this is an access code error. */
152176
+ is_access_code_error: true
152177
+ /** Date and time at which Seam created the error. */
152178
+ created_at?: string | undefined
152179
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152180
+ error_code: 'failed_to_expire'
152181
+ }
149882
152182
  | {
149883
152183
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
149884
152184
  message: string
@@ -150085,6 +152385,22 @@ export type Routes = {
150085
152385
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150086
152386
  warning_code: 'delay_in_removing_from_device'
150087
152387
  }
152388
+ | {
152389
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
152390
+ message: string
152391
+ /** Date and time at which Seam created the warning. */
152392
+ created_at?: string | undefined
152393
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152394
+ warning_code: 'delay_in_issuing'
152395
+ }
152396
+ | {
152397
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
152398
+ message: string
152399
+ /** Date and time at which Seam created the warning. */
152400
+ created_at?: string | undefined
152401
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152402
+ warning_code: 'delay_in_applying_mutations'
152403
+ }
150088
152404
  | {
150089
152405
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
150090
152406
  message: string
@@ -150290,6 +152606,36 @@ export type Routes = {
150290
152606
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150291
152607
  error_code: 'code_constraints_violated'
150292
152608
  }
152609
+ | {
152610
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152611
+ message: string
152612
+ /** Indicates that this is an access code error. */
152613
+ is_access_code_error: true
152614
+ /** Date and time at which Seam created the error. */
152615
+ created_at?: string | undefined
152616
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152617
+ error_code: 'failed_to_issue'
152618
+ }
152619
+ | {
152620
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152621
+ message: string
152622
+ /** Indicates that this is an access code error. */
152623
+ is_access_code_error: true
152624
+ /** Date and time at which Seam created the error. */
152625
+ created_at?: string | undefined
152626
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152627
+ error_code: 'failed_to_apply_mutations'
152628
+ }
152629
+ | {
152630
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152631
+ message: string
152632
+ /** Indicates that this is an access code error. */
152633
+ is_access_code_error: true
152634
+ /** Date and time at which Seam created the error. */
152635
+ created_at?: string | undefined
152636
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152637
+ error_code: 'failed_to_expire'
152638
+ }
150293
152639
  | {
150294
152640
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150295
152641
  message: string
@@ -150496,6 +152842,22 @@ export type Routes = {
150496
152842
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150497
152843
  warning_code: 'delay_in_removing_from_device'
150498
152844
  }
152845
+ | {
152846
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
152847
+ message: string
152848
+ /** Date and time at which Seam created the warning. */
152849
+ created_at?: string | undefined
152850
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152851
+ warning_code: 'delay_in_issuing'
152852
+ }
152853
+ | {
152854
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
152855
+ message: string
152856
+ /** Date and time at which Seam created the warning. */
152857
+ created_at?: string | undefined
152858
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152859
+ warning_code: 'delay_in_applying_mutations'
152860
+ }
150499
152861
  | {
150500
152862
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
150501
152863
  message: string