@seamapi/types 1.962.0 → 1.964.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.
@@ -3438,6 +3438,33 @@ declare const access_method: z.ZodObject<{
3438
3438
  created_at: string;
3439
3439
  warning_code: "pulled_backup_access_code";
3440
3440
  original_access_method_id?: string | undefined;
3441
+ }>, z.ZodObject<{
3442
+ created_at: z.ZodString;
3443
+ message: z.ZodString;
3444
+ } & {
3445
+ warning_code: z.ZodLiteral<"delay_in_issuing">;
3446
+ }, "strip", z.ZodTypeAny, {
3447
+ message: string;
3448
+ created_at: string;
3449
+ warning_code: "delay_in_issuing";
3450
+ }, {
3451
+ message: string;
3452
+ created_at: string;
3453
+ warning_code: "delay_in_issuing";
3454
+ }>]>, "many">;
3455
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
3456
+ created_at: z.ZodString;
3457
+ message: z.ZodString;
3458
+ } & {
3459
+ error_code: z.ZodLiteral<"failed_to_issue">;
3460
+ }, "strip", z.ZodTypeAny, {
3461
+ message: string;
3462
+ created_at: string;
3463
+ error_code: "failed_to_issue";
3464
+ }, {
3465
+ message: string;
3466
+ created_at: string;
3467
+ error_code: "failed_to_issue";
3441
3468
  }>]>, "many">;
3442
3469
  pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
3443
3470
  created_at: z.ZodString;
@@ -3572,6 +3599,11 @@ declare const access_method: z.ZodObject<{
3572
3599
  display_name: string;
3573
3600
  workspace_id: string;
3574
3601
  created_at: string;
3602
+ errors: {
3603
+ message: string;
3604
+ created_at: string;
3605
+ error_code: "failed_to_issue";
3606
+ }[];
3575
3607
  warnings: ({
3576
3608
  message: string;
3577
3609
  created_at: string;
@@ -3585,6 +3617,10 @@ declare const access_method: z.ZodObject<{
3585
3617
  created_at: string;
3586
3618
  warning_code: "pulled_backup_access_code";
3587
3619
  original_access_method_id?: string | undefined;
3620
+ } | {
3621
+ message: string;
3622
+ created_at: string;
3623
+ warning_code: "delay_in_issuing";
3588
3624
  })[];
3589
3625
  pending_mutations: ({
3590
3626
  message: string;
@@ -3635,6 +3671,11 @@ declare const access_method: z.ZodObject<{
3635
3671
  display_name: string;
3636
3672
  workspace_id: string;
3637
3673
  created_at: string;
3674
+ errors: {
3675
+ message: string;
3676
+ created_at: string;
3677
+ error_code: "failed_to_issue";
3678
+ }[];
3638
3679
  warnings: ({
3639
3680
  message: string;
3640
3681
  created_at: string;
@@ -3648,6 +3689,10 @@ declare const access_method: z.ZodObject<{
3648
3689
  created_at: string;
3649
3690
  warning_code: "pulled_backup_access_code";
3650
3691
  original_access_method_id?: string | undefined;
3692
+ } | {
3693
+ message: string;
3694
+ created_at: string;
3695
+ warning_code: "delay_in_issuing";
3651
3696
  })[];
3652
3697
  pending_mutations: ({
3653
3698
  message: string;
@@ -11126,6 +11171,33 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11126
11171
  created_at: string;
11127
11172
  warning_code: "pulled_backup_access_code";
11128
11173
  original_access_method_id?: string | undefined;
11174
+ }>, z.ZodObject<{
11175
+ created_at: z.ZodString;
11176
+ message: z.ZodString;
11177
+ } & {
11178
+ warning_code: z.ZodLiteral<"delay_in_issuing">;
11179
+ }, "strip", z.ZodTypeAny, {
11180
+ message: string;
11181
+ created_at: string;
11182
+ warning_code: "delay_in_issuing";
11183
+ }, {
11184
+ message: string;
11185
+ created_at: string;
11186
+ warning_code: "delay_in_issuing";
11187
+ }>]>, "many">;
11188
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
11189
+ created_at: z.ZodString;
11190
+ message: z.ZodString;
11191
+ } & {
11192
+ error_code: z.ZodLiteral<"failed_to_issue">;
11193
+ }, "strip", z.ZodTypeAny, {
11194
+ message: string;
11195
+ created_at: string;
11196
+ error_code: "failed_to_issue";
11197
+ }, {
11198
+ message: string;
11199
+ created_at: string;
11200
+ error_code: "failed_to_issue";
11129
11201
  }>]>, "many">;
11130
11202
  pending_mutations: z.ZodArray<z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
11131
11203
  created_at: z.ZodString;
@@ -11260,6 +11332,11 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11260
11332
  display_name: string;
11261
11333
  workspace_id: string;
11262
11334
  created_at: string;
11335
+ errors: {
11336
+ message: string;
11337
+ created_at: string;
11338
+ error_code: "failed_to_issue";
11339
+ }[];
11263
11340
  warnings: ({
11264
11341
  message: string;
11265
11342
  created_at: string;
@@ -11273,6 +11350,10 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11273
11350
  created_at: string;
11274
11351
  warning_code: "pulled_backup_access_code";
11275
11352
  original_access_method_id?: string | undefined;
11353
+ } | {
11354
+ message: string;
11355
+ created_at: string;
11356
+ warning_code: "delay_in_issuing";
11276
11357
  })[];
11277
11358
  pending_mutations: ({
11278
11359
  message: string;
@@ -11323,6 +11404,11 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11323
11404
  display_name: string;
11324
11405
  workspace_id: string;
11325
11406
  created_at: string;
11407
+ errors: {
11408
+ message: string;
11409
+ created_at: string;
11410
+ error_code: "failed_to_issue";
11411
+ }[];
11326
11412
  warnings: ({
11327
11413
  message: string;
11328
11414
  created_at: string;
@@ -11336,6 +11422,10 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11336
11422
  created_at: string;
11337
11423
  warning_code: "pulled_backup_access_code";
11338
11424
  original_access_method_id?: string | undefined;
11425
+ } | {
11426
+ message: string;
11427
+ created_at: string;
11428
+ warning_code: "delay_in_issuing";
11339
11429
  })[];
11340
11430
  pending_mutations: ({
11341
11431
  message: string;
@@ -11391,6 +11481,11 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11391
11481
  display_name: string;
11392
11482
  workspace_id: string;
11393
11483
  created_at: string;
11484
+ errors: {
11485
+ message: string;
11486
+ created_at: string;
11487
+ error_code: "failed_to_issue";
11488
+ }[];
11394
11489
  warnings: ({
11395
11490
  message: string;
11396
11491
  created_at: string;
@@ -11404,6 +11499,10 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11404
11499
  created_at: string;
11405
11500
  warning_code: "pulled_backup_access_code";
11406
11501
  original_access_method_id?: string | undefined;
11502
+ } | {
11503
+ message: string;
11504
+ created_at: string;
11505
+ warning_code: "delay_in_issuing";
11407
11506
  })[];
11408
11507
  pending_mutations: ({
11409
11508
  message: string;
@@ -11460,6 +11559,11 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11460
11559
  display_name: string;
11461
11560
  workspace_id: string;
11462
11561
  created_at: string;
11562
+ errors: {
11563
+ message: string;
11564
+ created_at: string;
11565
+ error_code: "failed_to_issue";
11566
+ }[];
11463
11567
  warnings: ({
11464
11568
  message: string;
11465
11569
  created_at: string;
@@ -11473,6 +11577,10 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<{
11473
11577
  created_at: string;
11474
11578
  warning_code: "pulled_backup_access_code";
11475
11579
  original_access_method_id?: string | undefined;
11580
+ } | {
11581
+ message: string;
11582
+ created_at: string;
11583
+ warning_code: "delay_in_issuing";
11476
11584
  })[];
11477
11585
  pending_mutations: ({
11478
11586
  message: string;
@@ -25735,6 +25843,70 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
25735
25843
  created_at: z.ZodString;
25736
25844
  occurred_at: z.ZodString;
25737
25845
  event_description: z.ZodOptional<z.ZodString>;
25846
+ } & {
25847
+ access_method_id: z.ZodString;
25848
+ access_grant_ids: z.ZodArray<z.ZodString, "many">;
25849
+ access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25850
+ } & {
25851
+ event_type: z.ZodLiteral<"access_method.delay_in_issuing">;
25852
+ }, "strip", z.ZodTypeAny, {
25853
+ workspace_id: string;
25854
+ created_at: string;
25855
+ access_method_id: string;
25856
+ event_id: string;
25857
+ occurred_at: string;
25858
+ event_type: "access_method.delay_in_issuing";
25859
+ access_grant_ids: string[];
25860
+ event_description?: string | undefined;
25861
+ access_grant_keys?: string[] | undefined;
25862
+ }, {
25863
+ workspace_id: string;
25864
+ created_at: string;
25865
+ access_method_id: string;
25866
+ event_id: string;
25867
+ occurred_at: string;
25868
+ event_type: "access_method.delay_in_issuing";
25869
+ access_grant_ids: string[];
25870
+ event_description?: string | undefined;
25871
+ access_grant_keys?: string[] | undefined;
25872
+ }>, z.ZodObject<{
25873
+ event_id: z.ZodString;
25874
+ workspace_id: z.ZodString;
25875
+ created_at: z.ZodString;
25876
+ occurred_at: z.ZodString;
25877
+ event_description: z.ZodOptional<z.ZodString>;
25878
+ } & {
25879
+ access_method_id: z.ZodString;
25880
+ access_grant_ids: z.ZodArray<z.ZodString, "many">;
25881
+ access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25882
+ } & {
25883
+ event_type: z.ZodLiteral<"access_method.failed_to_issue">;
25884
+ }, "strip", z.ZodTypeAny, {
25885
+ workspace_id: string;
25886
+ created_at: string;
25887
+ access_method_id: string;
25888
+ event_id: string;
25889
+ occurred_at: string;
25890
+ event_type: "access_method.failed_to_issue";
25891
+ access_grant_ids: string[];
25892
+ event_description?: string | undefined;
25893
+ access_grant_keys?: string[] | undefined;
25894
+ }, {
25895
+ workspace_id: string;
25896
+ created_at: string;
25897
+ access_method_id: string;
25898
+ event_id: string;
25899
+ occurred_at: string;
25900
+ event_type: "access_method.failed_to_issue";
25901
+ access_grant_ids: string[];
25902
+ event_description?: string | undefined;
25903
+ access_grant_keys?: string[] | undefined;
25904
+ }>, z.ZodObject<{
25905
+ event_id: z.ZodString;
25906
+ workspace_id: z.ZodString;
25907
+ created_at: z.ZodString;
25908
+ occurred_at: z.ZodString;
25909
+ event_description: z.ZodOptional<z.ZodString>;
25738
25910
  } & {
25739
25911
  connected_account_id: z.ZodOptional<z.ZodString>;
25740
25912
  acs_system_id: z.ZodString;
@@ -30963,7 +31135,23 @@ type Routes = {
30963
31135
  warning_code: 'pulled_backup_access_code';
30964
31136
  /** ID of the original access method from which this backup access method was split, if applicable. */
30965
31137
  original_access_method_id?: string | undefined;
31138
+ } | {
31139
+ /** Date and time at which Seam created the warning. */
31140
+ created_at: string;
31141
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
31142
+ message: string;
31143
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31144
+ warning_code: 'delay_in_issuing';
30966
31145
  })[];
31146
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
31147
+ errors: {
31148
+ /** Date and time at which Seam created the error. */
31149
+ created_at: string;
31150
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31151
+ message: string;
31152
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31153
+ error_code: 'failed_to_issue';
31154
+ }[];
30967
31155
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
30968
31156
  pending_mutations: ({
30969
31157
  /** Date and time at which the mutation was created. */
@@ -33587,7 +33775,23 @@ type Routes = {
33587
33775
  warning_code: 'pulled_backup_access_code';
33588
33776
  /** ID of the original access method from which this backup access method was split, if applicable. */
33589
33777
  original_access_method_id?: string | undefined;
33778
+ } | {
33779
+ /** Date and time at which Seam created the warning. */
33780
+ created_at: string;
33781
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
33782
+ message: string;
33783
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
33784
+ warning_code: 'delay_in_issuing';
33590
33785
  })[];
33786
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
33787
+ errors: {
33788
+ /** Date and time at which Seam created the error. */
33789
+ created_at: string;
33790
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
33791
+ message: string;
33792
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
33793
+ error_code: 'failed_to_issue';
33794
+ }[];
33591
33795
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
33592
33796
  pending_mutations: ({
33593
33797
  /** Date and time at which the mutation was created. */
@@ -37644,7 +37848,23 @@ type Routes = {
37644
37848
  warning_code: 'pulled_backup_access_code';
37645
37849
  /** ID of the original access method from which this backup access method was split, if applicable. */
37646
37850
  original_access_method_id?: string | undefined;
37851
+ } | {
37852
+ /** Date and time at which Seam created the warning. */
37853
+ created_at: string;
37854
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37855
+ message: string;
37856
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37857
+ warning_code: 'delay_in_issuing';
37647
37858
  })[];
37859
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
37860
+ errors: {
37861
+ /** Date and time at which Seam created the error. */
37862
+ created_at: string;
37863
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37864
+ message: string;
37865
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37866
+ error_code: 'failed_to_issue';
37867
+ }[];
37648
37868
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
37649
37869
  pending_mutations: ({
37650
37870
  /** Date and time at which the mutation was created. */
@@ -40148,7 +40368,23 @@ type Routes = {
40148
40368
  warning_code: 'pulled_backup_access_code';
40149
40369
  /** ID of the original access method from which this backup access method was split, if applicable. */
40150
40370
  original_access_method_id?: string | undefined;
40371
+ } | {
40372
+ /** Date and time at which Seam created the warning. */
40373
+ created_at: string;
40374
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
40375
+ message: string;
40376
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40377
+ warning_code: 'delay_in_issuing';
40151
40378
  })[];
40379
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
40380
+ errors: {
40381
+ /** Date and time at which Seam created the error. */
40382
+ created_at: string;
40383
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
40384
+ message: string;
40385
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40386
+ error_code: 'failed_to_issue';
40387
+ }[];
40152
40388
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
40153
40389
  pending_mutations: ({
40154
40390
  /** Date and time at which the mutation was created. */
@@ -43537,7 +43773,23 @@ type Routes = {
43537
43773
  warning_code: 'pulled_backup_access_code';
43538
43774
  /** ID of the original access method from which this backup access method was split, if applicable. */
43539
43775
  original_access_method_id?: string | undefined;
43776
+ } | {
43777
+ /** Date and time at which Seam created the warning. */
43778
+ created_at: string;
43779
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
43780
+ message: string;
43781
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43782
+ warning_code: 'delay_in_issuing';
43540
43783
  })[];
43784
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
43785
+ errors: {
43786
+ /** Date and time at which Seam created the error. */
43787
+ created_at: string;
43788
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
43789
+ message: string;
43790
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43791
+ error_code: 'failed_to_issue';
43792
+ }[];
43541
43793
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
43542
43794
  pending_mutations: ({
43543
43795
  /** Date and time at which the mutation was created. */
@@ -45516,7 +45768,23 @@ type Routes = {
45516
45768
  warning_code: 'pulled_backup_access_code';
45517
45769
  /** ID of the original access method from which this backup access method was split, if applicable. */
45518
45770
  original_access_method_id?: string | undefined;
45771
+ } | {
45772
+ /** Date and time at which Seam created the warning. */
45773
+ created_at: string;
45774
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45775
+ message: string;
45776
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45777
+ warning_code: 'delay_in_issuing';
45519
45778
  })[];
45779
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
45780
+ errors: {
45781
+ /** Date and time at which Seam created the error. */
45782
+ created_at: string;
45783
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
45784
+ message: string;
45785
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45786
+ error_code: 'failed_to_issue';
45787
+ }[];
45520
45788
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
45521
45789
  pending_mutations: ({
45522
45790
  /** Date and time at which the mutation was created. */
@@ -47217,7 +47485,23 @@ type Routes = {
47217
47485
  warning_code: 'pulled_backup_access_code';
47218
47486
  /** ID of the original access method from which this backup access method was split, if applicable. */
47219
47487
  original_access_method_id?: string | undefined;
47488
+ } | {
47489
+ /** Date and time at which Seam created the warning. */
47490
+ created_at: string;
47491
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47492
+ message: string;
47493
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47494
+ warning_code: 'delay_in_issuing';
47220
47495
  })[];
47496
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
47497
+ errors: {
47498
+ /** Date and time at which Seam created the error. */
47499
+ created_at: string;
47500
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
47501
+ message: string;
47502
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
47503
+ error_code: 'failed_to_issue';
47504
+ }[];
47221
47505
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
47222
47506
  pending_mutations: ({
47223
47507
  /** Date and time at which the mutation was created. */
@@ -47908,7 +48192,23 @@ type Routes = {
47908
48192
  warning_code: 'pulled_backup_access_code';
47909
48193
  /** ID of the original access method from which this backup access method was split, if applicable. */
47910
48194
  original_access_method_id?: string | undefined;
48195
+ } | {
48196
+ /** Date and time at which Seam created the warning. */
48197
+ created_at: string;
48198
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
48199
+ message: string;
48200
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
48201
+ warning_code: 'delay_in_issuing';
47911
48202
  })[];
48203
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
48204
+ errors: {
48205
+ /** Date and time at which Seam created the error. */
48206
+ created_at: string;
48207
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48208
+ message: string;
48209
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48210
+ error_code: 'failed_to_issue';
48211
+ }[];
47912
48212
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
47913
48213
  pending_mutations: ({
47914
48214
  /** Date and time at which the mutation was created. */
@@ -49895,7 +50195,23 @@ type Routes = {
49895
50195
  warning_code: 'pulled_backup_access_code';
49896
50196
  /** ID of the original access method from which this backup access method was split, if applicable. */
49897
50197
  original_access_method_id?: string | undefined;
50198
+ } | {
50199
+ /** Date and time at which Seam created the warning. */
50200
+ created_at: string;
50201
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
50202
+ message: string;
50203
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50204
+ warning_code: 'delay_in_issuing';
49898
50205
  })[];
50206
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
50207
+ errors: {
50208
+ /** Date and time at which Seam created the error. */
50209
+ created_at: string;
50210
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
50211
+ message: string;
50212
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50213
+ error_code: 'failed_to_issue';
50214
+ }[];
49899
50215
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
49900
50216
  pending_mutations: ({
49901
50217
  /** Date and time at which the mutation was created. */
@@ -50221,7 +50537,23 @@ type Routes = {
50221
50537
  warning_code: 'pulled_backup_access_code';
50222
50538
  /** ID of the original access method from which this backup access method was split, if applicable. */
50223
50539
  original_access_method_id?: string | undefined;
50540
+ } | {
50541
+ /** Date and time at which Seam created the warning. */
50542
+ created_at: string;
50543
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
50544
+ message: string;
50545
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
50546
+ warning_code: 'delay_in_issuing';
50224
50547
  })[];
50548
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
50549
+ errors: {
50550
+ /** Date and time at which Seam created the error. */
50551
+ created_at: string;
50552
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
50553
+ message: string;
50554
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50555
+ error_code: 'failed_to_issue';
50556
+ }[];
50225
50557
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
50226
50558
  pending_mutations: ({
50227
50559
  /** Date and time at which the mutation was created. */
@@ -51341,7 +51673,23 @@ type Routes = {
51341
51673
  warning_code: 'pulled_backup_access_code';
51342
51674
  /** ID of the original access method from which this backup access method was split, if applicable. */
51343
51675
  original_access_method_id?: string | undefined;
51676
+ } | {
51677
+ /** Date and time at which Seam created the warning. */
51678
+ created_at: string;
51679
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
51680
+ message: string;
51681
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
51682
+ warning_code: 'delay_in_issuing';
51344
51683
  })[];
51684
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
51685
+ errors: {
51686
+ /** Date and time at which Seam created the error. */
51687
+ created_at: string;
51688
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51689
+ message: string;
51690
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
51691
+ error_code: 'failed_to_issue';
51692
+ }[];
51345
51693
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
51346
51694
  pending_mutations: ({
51347
51695
  /** Date and time at which the mutation was created. */
@@ -52028,7 +52376,23 @@ type Routes = {
52028
52376
  warning_code: 'pulled_backup_access_code';
52029
52377
  /** ID of the original access method from which this backup access method was split, if applicable. */
52030
52378
  original_access_method_id?: string | undefined;
52379
+ } | {
52380
+ /** Date and time at which Seam created the warning. */
52381
+ created_at: string;
52382
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52383
+ message: string;
52384
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52385
+ warning_code: 'delay_in_issuing';
52031
52386
  })[];
52387
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
52388
+ errors: {
52389
+ /** Date and time at which Seam created the error. */
52390
+ created_at: string;
52391
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52392
+ message: string;
52393
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52394
+ error_code: 'failed_to_issue';
52395
+ }[];
52032
52396
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
52033
52397
  pending_mutations: ({
52034
52398
  /** Date and time at which the mutation was created. */
@@ -52156,7 +52520,23 @@ type Routes = {
52156
52520
  warning_code: 'pulled_backup_access_code';
52157
52521
  /** ID of the original access method from which this backup access method was split, if applicable. */
52158
52522
  original_access_method_id?: string | undefined;
52523
+ } | {
52524
+ /** Date and time at which Seam created the warning. */
52525
+ created_at: string;
52526
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
52527
+ message: string;
52528
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
52529
+ warning_code: 'delay_in_issuing';
52159
52530
  })[];
52531
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
52532
+ errors: {
52533
+ /** Date and time at which Seam created the error. */
52534
+ created_at: string;
52535
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52536
+ message: string;
52537
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52538
+ error_code: 'failed_to_issue';
52539
+ }[];
52160
52540
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
52161
52541
  pending_mutations: ({
52162
52542
  /** Date and time at which the mutation was created. */
@@ -56274,7 +56654,23 @@ type Routes = {
56274
56654
  warning_code: 'pulled_backup_access_code';
56275
56655
  /** ID of the original access method from which this backup access method was split, if applicable. */
56276
56656
  original_access_method_id?: string | undefined;
56657
+ } | {
56658
+ /** Date and time at which Seam created the warning. */
56659
+ created_at: string;
56660
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
56661
+ message: string;
56662
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
56663
+ warning_code: 'delay_in_issuing';
56277
56664
  })[];
56665
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
56666
+ errors: {
56667
+ /** Date and time at which Seam created the error. */
56668
+ created_at: string;
56669
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56670
+ message: string;
56671
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56672
+ error_code: 'failed_to_issue';
56673
+ }[];
56278
56674
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
56279
56675
  pending_mutations: ({
56280
56676
  /** Date and time at which the mutation was created. */
@@ -58067,7 +58463,23 @@ type Routes = {
58067
58463
  warning_code: 'pulled_backup_access_code';
58068
58464
  /** ID of the original access method from which this backup access method was split, if applicable. */
58069
58465
  original_access_method_id?: string | undefined;
58466
+ } | {
58467
+ /** Date and time at which Seam created the warning. */
58468
+ created_at: string;
58469
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
58470
+ message: string;
58471
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58472
+ warning_code: 'delay_in_issuing';
58070
58473
  })[];
58474
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
58475
+ errors: {
58476
+ /** Date and time at which Seam created the error. */
58477
+ created_at: string;
58478
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58479
+ message: string;
58480
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58481
+ error_code: 'failed_to_issue';
58482
+ }[];
58071
58483
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
58072
58484
  pending_mutations: ({
58073
58485
  /** Date and time at which the mutation was created. */
@@ -59756,7 +60168,23 @@ type Routes = {
59756
60168
  warning_code: 'pulled_backup_access_code';
59757
60169
  /** ID of the original access method from which this backup access method was split, if applicable. */
59758
60170
  original_access_method_id?: string | undefined;
60171
+ } | {
60172
+ /** Date and time at which Seam created the warning. */
60173
+ created_at: string;
60174
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
60175
+ message: string;
60176
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
60177
+ warning_code: 'delay_in_issuing';
59759
60178
  })[];
60179
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
60180
+ errors: {
60181
+ /** Date and time at which Seam created the error. */
60182
+ created_at: string;
60183
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
60184
+ message: string;
60185
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60186
+ error_code: 'failed_to_issue';
60187
+ }[];
59760
60188
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
59761
60189
  pending_mutations: ({
59762
60190
  /** Date and time at which the mutation was created. */
@@ -62120,7 +62548,23 @@ type Routes = {
62120
62548
  warning_code: 'pulled_backup_access_code';
62121
62549
  /** ID of the original access method from which this backup access method was split, if applicable. */
62122
62550
  original_access_method_id?: string | undefined;
62551
+ } | {
62552
+ /** Date and time at which Seam created the warning. */
62553
+ created_at: string;
62554
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
62555
+ message: string;
62556
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62557
+ warning_code: 'delay_in_issuing';
62123
62558
  })[];
62559
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
62560
+ errors: {
62561
+ /** Date and time at which Seam created the error. */
62562
+ created_at: string;
62563
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
62564
+ message: string;
62565
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62566
+ error_code: 'failed_to_issue';
62567
+ }[];
62124
62568
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
62125
62569
  pending_mutations: ({
62126
62570
  /** Date and time at which the mutation was created. */
@@ -66044,7 +66488,23 @@ type Routes = {
66044
66488
  warning_code: 'pulled_backup_access_code';
66045
66489
  /** ID of the original access method from which this backup access method was split, if applicable. */
66046
66490
  original_access_method_id?: string | undefined;
66491
+ } | {
66492
+ /** Date and time at which Seam created the warning. */
66493
+ created_at: string;
66494
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
66495
+ message: string;
66496
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66497
+ warning_code: 'delay_in_issuing';
66047
66498
  })[];
66499
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
66500
+ errors: {
66501
+ /** Date and time at which Seam created the error. */
66502
+ created_at: string;
66503
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
66504
+ message: string;
66505
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66506
+ error_code: 'failed_to_issue';
66507
+ }[];
66048
66508
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
66049
66509
  pending_mutations: ({
66050
66510
  /** Date and time at which the mutation was created. */
@@ -67725,7 +68185,23 @@ type Routes = {
67725
68185
  warning_code: 'pulled_backup_access_code';
67726
68186
  /** ID of the original access method from which this backup access method was split, if applicable. */
67727
68187
  original_access_method_id?: string | undefined;
68188
+ } | {
68189
+ /** Date and time at which Seam created the warning. */
68190
+ created_at: string;
68191
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
68192
+ message: string;
68193
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
68194
+ warning_code: 'delay_in_issuing';
67728
68195
  })[];
68196
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
68197
+ errors: {
68198
+ /** Date and time at which Seam created the error. */
68199
+ created_at: string;
68200
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68201
+ message: string;
68202
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68203
+ error_code: 'failed_to_issue';
68204
+ }[];
67729
68205
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
67730
68206
  pending_mutations: ({
67731
68207
  /** Date and time at which the mutation was created. */
@@ -75880,6 +76356,42 @@ type Routes = {
75880
76356
  /** Keys of the access grants associated with this access method (if present). */
75881
76357
  access_grant_keys?: string[] | undefined;
75882
76358
  event_type: 'access_method.created';
76359
+ } | {
76360
+ /** ID of the event. */
76361
+ event_id: string;
76362
+ /** ID of the workspace associated with the event. */
76363
+ workspace_id: string;
76364
+ /** Date and time at which the event was created. */
76365
+ created_at: string;
76366
+ /** Date and time at which the event occurred. */
76367
+ occurred_at: string;
76368
+ /** 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. */
76369
+ event_description?: string | undefined;
76370
+ /** ID of the affected access method. */
76371
+ access_method_id: string;
76372
+ /** IDs of the access grants associated with this access method. */
76373
+ access_grant_ids: string[];
76374
+ /** Keys of the access grants associated with this access method (if present). */
76375
+ access_grant_keys?: string[] | undefined;
76376
+ event_type: 'access_method.delay_in_issuing';
76377
+ } | {
76378
+ /** ID of the event. */
76379
+ event_id: string;
76380
+ /** ID of the workspace associated with the event. */
76381
+ workspace_id: string;
76382
+ /** Date and time at which the event was created. */
76383
+ created_at: string;
76384
+ /** Date and time at which the event occurred. */
76385
+ occurred_at: string;
76386
+ /** 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. */
76387
+ event_description?: string | undefined;
76388
+ /** ID of the affected access method. */
76389
+ access_method_id: string;
76390
+ /** IDs of the access grants associated with this access method. */
76391
+ access_grant_ids: string[];
76392
+ /** Keys of the access grants associated with this access method (if present). */
76393
+ access_grant_keys?: string[] | undefined;
76394
+ event_type: 'access_method.failed_to_issue';
75883
76395
  } | {
75884
76396
  /** ID of the event. */
75885
76397
  event_id: string;
@@ -77992,9 +78504,9 @@ type Routes = {
77992
78504
  /** IDs of the access codes for which you want to list events. */
77993
78505
  access_code_ids?: string[] | undefined;
77994
78506
  /** Type of the events that you want to list. */
77995
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
78507
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
77996
78508
  /** Types of the events that you want to list. */
77997
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
78509
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
77998
78510
  /** ID of the connected account for which you want to list events. */
77999
78511
  connected_account_id?: string | undefined;
78000
78512
  /** ID of the Connect Webview for which you want to list events. */
@@ -79146,6 +79658,42 @@ type Routes = {
79146
79658
  /** Keys of the access grants associated with this access method (if present). */
79147
79659
  access_grant_keys?: string[] | undefined;
79148
79660
  event_type: 'access_method.created';
79661
+ } | {
79662
+ /** ID of the event. */
79663
+ event_id: string;
79664
+ /** ID of the workspace associated with the event. */
79665
+ workspace_id: string;
79666
+ /** Date and time at which the event was created. */
79667
+ created_at: string;
79668
+ /** Date and time at which the event occurred. */
79669
+ occurred_at: string;
79670
+ /** 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. */
79671
+ event_description?: string | undefined;
79672
+ /** ID of the affected access method. */
79673
+ access_method_id: string;
79674
+ /** IDs of the access grants associated with this access method. */
79675
+ access_grant_ids: string[];
79676
+ /** Keys of the access grants associated with this access method (if present). */
79677
+ access_grant_keys?: string[] | undefined;
79678
+ event_type: 'access_method.delay_in_issuing';
79679
+ } | {
79680
+ /** ID of the event. */
79681
+ event_id: string;
79682
+ /** ID of the workspace associated with the event. */
79683
+ workspace_id: string;
79684
+ /** Date and time at which the event was created. */
79685
+ created_at: string;
79686
+ /** Date and time at which the event occurred. */
79687
+ occurred_at: string;
79688
+ /** 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. */
79689
+ event_description?: string | undefined;
79690
+ /** ID of the affected access method. */
79691
+ access_method_id: string;
79692
+ /** IDs of the access grants associated with this access method. */
79693
+ access_grant_ids: string[];
79694
+ /** Keys of the access grants associated with this access method (if present). */
79695
+ access_grant_keys?: string[] | undefined;
79696
+ event_type: 'access_method.failed_to_issue';
79149
79697
  } | {
79150
79698
  /** ID of the event. */
79151
79699
  event_id: string;
@@ -82388,7 +82936,23 @@ type Routes = {
82388
82936
  warning_code: 'pulled_backup_access_code';
82389
82937
  /** ID of the original access method from which this backup access method was split, if applicable. */
82390
82938
  original_access_method_id?: string | undefined;
82939
+ } | {
82940
+ /** Date and time at which Seam created the warning. */
82941
+ created_at: string;
82942
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
82943
+ message: string;
82944
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
82945
+ warning_code: 'delay_in_issuing';
82391
82946
  })[];
82947
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
82948
+ errors: {
82949
+ /** Date and time at which Seam created the error. */
82950
+ created_at: string;
82951
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82952
+ message: string;
82953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82954
+ error_code: 'failed_to_issue';
82955
+ }[];
82392
82956
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
82393
82957
  pending_mutations: ({
82394
82958
  /** Date and time at which the mutation was created. */
@@ -89927,7 +90491,23 @@ type Routes = {
89927
90491
  warning_code: 'pulled_backup_access_code';
89928
90492
  /** ID of the original access method from which this backup access method was split, if applicable. */
89929
90493
  original_access_method_id?: string | undefined;
90494
+ } | {
90495
+ /** Date and time at which Seam created the warning. */
90496
+ created_at: string;
90497
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
90498
+ message: string;
90499
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
90500
+ warning_code: 'delay_in_issuing';
89930
90501
  })[];
90502
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
90503
+ errors: {
90504
+ /** Date and time at which Seam created the error. */
90505
+ created_at: string;
90506
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
90507
+ message: string;
90508
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
90509
+ error_code: 'failed_to_issue';
90510
+ }[];
89931
90511
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
89932
90512
  pending_mutations: ({
89933
90513
  /** Date and time at which the mutation was created. */
@@ -91609,7 +92189,23 @@ type Routes = {
91609
92189
  warning_code: 'pulled_backup_access_code';
91610
92190
  /** ID of the original access method from which this backup access method was split, if applicable. */
91611
92191
  original_access_method_id?: string | undefined;
92192
+ } | {
92193
+ /** Date and time at which Seam created the warning. */
92194
+ created_at: string;
92195
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
92196
+ message: string;
92197
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
92198
+ warning_code: 'delay_in_issuing';
91612
92199
  })[];
92200
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
92201
+ errors: {
92202
+ /** Date and time at which Seam created the error. */
92203
+ created_at: string;
92204
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
92205
+ message: string;
92206
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
92207
+ error_code: 'failed_to_issue';
92208
+ }[];
91613
92209
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
91614
92210
  pending_mutations: ({
91615
92211
  /** Date and time at which the mutation was created. */
@@ -93289,7 +93885,23 @@ type Routes = {
93289
93885
  warning_code: 'pulled_backup_access_code';
93290
93886
  /** ID of the original access method from which this backup access method was split, if applicable. */
93291
93887
  original_access_method_id?: string | undefined;
93888
+ } | {
93889
+ /** Date and time at which Seam created the warning. */
93890
+ created_at: string;
93891
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
93892
+ message: string;
93893
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
93894
+ warning_code: 'delay_in_issuing';
93292
93895
  })[];
93896
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
93897
+ errors: {
93898
+ /** Date and time at which Seam created the error. */
93899
+ created_at: string;
93900
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
93901
+ message: string;
93902
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
93903
+ error_code: 'failed_to_issue';
93904
+ }[];
93293
93905
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
93294
93906
  pending_mutations: ({
93295
93907
  /** Date and time at which the mutation was created. */
@@ -94971,7 +95583,23 @@ type Routes = {
94971
95583
  warning_code: 'pulled_backup_access_code';
94972
95584
  /** ID of the original access method from which this backup access method was split, if applicable. */
94973
95585
  original_access_method_id?: string | undefined;
95586
+ } | {
95587
+ /** Date and time at which Seam created the warning. */
95588
+ created_at: string;
95589
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95590
+ message: string;
95591
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95592
+ warning_code: 'delay_in_issuing';
94974
95593
  })[];
95594
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
95595
+ errors: {
95596
+ /** Date and time at which Seam created the error. */
95597
+ created_at: string;
95598
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
95599
+ message: string;
95600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
95601
+ error_code: 'failed_to_issue';
95602
+ }[];
94975
95603
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
94976
95604
  pending_mutations: ({
94977
95605
  /** Date and time at which the mutation was created. */
@@ -99608,7 +100236,23 @@ type Routes = {
99608
100236
  warning_code: 'pulled_backup_access_code';
99609
100237
  /** ID of the original access method from which this backup access method was split, if applicable. */
99610
100238
  original_access_method_id?: string | undefined;
100239
+ } | {
100240
+ /** Date and time at which Seam created the warning. */
100241
+ created_at: string;
100242
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
100243
+ message: string;
100244
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
100245
+ warning_code: 'delay_in_issuing';
99611
100246
  })[];
100247
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
100248
+ errors: {
100249
+ /** Date and time at which Seam created the error. */
100250
+ created_at: string;
100251
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100252
+ message: string;
100253
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100254
+ error_code: 'failed_to_issue';
100255
+ }[];
99612
100256
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
99613
100257
  pending_mutations: ({
99614
100258
  /** Date and time at which the mutation was created. */
@@ -101309,7 +101953,23 @@ type Routes = {
101309
101953
  warning_code: 'pulled_backup_access_code';
101310
101954
  /** ID of the original access method from which this backup access method was split, if applicable. */
101311
101955
  original_access_method_id?: string | undefined;
101956
+ } | {
101957
+ /** Date and time at which Seam created the warning. */
101958
+ created_at: string;
101959
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
101960
+ message: string;
101961
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
101962
+ warning_code: 'delay_in_issuing';
101312
101963
  })[];
101964
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
101965
+ errors: {
101966
+ /** Date and time at which Seam created the error. */
101967
+ created_at: string;
101968
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101969
+ message: string;
101970
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
101971
+ error_code: 'failed_to_issue';
101972
+ }[];
101313
101973
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
101314
101974
  pending_mutations: ({
101315
101975
  /** Date and time at which the mutation was created. */
@@ -103066,7 +103726,23 @@ type Routes = {
103066
103726
  warning_code: 'pulled_backup_access_code';
103067
103727
  /** ID of the original access method from which this backup access method was split, if applicable. */
103068
103728
  original_access_method_id?: string | undefined;
103729
+ } | {
103730
+ /** Date and time at which Seam created the warning. */
103731
+ created_at: string;
103732
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
103733
+ message: string;
103734
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
103735
+ warning_code: 'delay_in_issuing';
103069
103736
  })[];
103737
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
103738
+ errors: {
103739
+ /** Date and time at which Seam created the error. */
103740
+ created_at: string;
103741
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
103742
+ message: string;
103743
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
103744
+ error_code: 'failed_to_issue';
103745
+ }[];
103070
103746
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
103071
103747
  pending_mutations: ({
103072
103748
  /** Date and time at which the mutation was created. */
@@ -106590,7 +107266,23 @@ type Routes = {
106590
107266
  warning_code: 'pulled_backup_access_code';
106591
107267
  /** ID of the original access method from which this backup access method was split, if applicable. */
106592
107268
  original_access_method_id?: string | undefined;
107269
+ } | {
107270
+ /** Date and time at which Seam created the warning. */
107271
+ created_at: string;
107272
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107273
+ message: string;
107274
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107275
+ warning_code: 'delay_in_issuing';
106593
107276
  })[];
107277
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
107278
+ errors: {
107279
+ /** Date and time at which Seam created the error. */
107280
+ created_at: string;
107281
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107282
+ message: string;
107283
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107284
+ error_code: 'failed_to_issue';
107285
+ }[];
106594
107286
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
106595
107287
  pending_mutations: ({
106596
107288
  /** Date and time at which the mutation was created. */
@@ -108062,9 +108754,9 @@ type Routes = {
108062
108754
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
108063
108755
  between?: (string | Date)[] | undefined;
108064
108756
  /** Type of the events that you want to list. */
108065
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
108757
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
108066
108758
  /** Types of the events that you want to list. */
108067
- event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
108759
+ event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
108068
108760
  /** Numerical limit on the number of events to return. */
108069
108761
  limit?: number;
108070
108762
  };
@@ -109186,6 +109878,42 @@ type Routes = {
109186
109878
  /** Keys of the access grants associated with this access method (if present). */
109187
109879
  access_grant_keys?: string[] | undefined;
109188
109880
  event_type: 'access_method.created';
109881
+ } | {
109882
+ /** ID of the event. */
109883
+ event_id: string;
109884
+ /** ID of the workspace associated with the event. */
109885
+ workspace_id: string;
109886
+ /** Date and time at which the event was created. */
109887
+ created_at: string;
109888
+ /** Date and time at which the event occurred. */
109889
+ occurred_at: string;
109890
+ /** 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. */
109891
+ event_description?: string | undefined;
109892
+ /** ID of the affected access method. */
109893
+ access_method_id: string;
109894
+ /** IDs of the access grants associated with this access method. */
109895
+ access_grant_ids: string[];
109896
+ /** Keys of the access grants associated with this access method (if present). */
109897
+ access_grant_keys?: string[] | undefined;
109898
+ event_type: 'access_method.delay_in_issuing';
109899
+ } | {
109900
+ /** ID of the event. */
109901
+ event_id: string;
109902
+ /** ID of the workspace associated with the event. */
109903
+ workspace_id: string;
109904
+ /** Date and time at which the event was created. */
109905
+ created_at: string;
109906
+ /** Date and time at which the event occurred. */
109907
+ occurred_at: string;
109908
+ /** 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. */
109909
+ event_description?: string | undefined;
109910
+ /** ID of the affected access method. */
109911
+ access_method_id: string;
109912
+ /** IDs of the access grants associated with this access method. */
109913
+ access_grant_ids: string[];
109914
+ /** Keys of the access grants associated with this access method (if present). */
109915
+ access_grant_keys?: string[] | undefined;
109916
+ event_type: 'access_method.failed_to_issue';
109189
109917
  } | {
109190
109918
  /** ID of the event. */
109191
109919
  event_id: string;
@@ -113183,6 +113911,16 @@ type Routes = {
113183
113911
  };
113184
113912
  maxDuration: undefined;
113185
113913
  };
113914
+ '/seam/webhooks/[provider]/[subscription_id]': {
113915
+ route: '/seam/webhooks/[provider]/[subscription_id]';
113916
+ method: 'POST';
113917
+ queryParams: {};
113918
+ jsonBody: any;
113919
+ commonParams: {};
113920
+ formData: {};
113921
+ jsonResponse: {};
113922
+ maxDuration: undefined;
113923
+ };
113186
113924
  '/spaces/add_acs_entrances': {
113187
113925
  route: '/spaces/add_acs_entrances';
113188
113926
  method: 'POST' | 'PUT';
@@ -115442,7 +116180,23 @@ type Routes = {
115442
116180
  warning_code: 'pulled_backup_access_code';
115443
116181
  /** ID of the original access method from which this backup access method was split, if applicable. */
115444
116182
  original_access_method_id?: string | undefined;
116183
+ } | {
116184
+ /** Date and time at which Seam created the warning. */
116185
+ created_at: string;
116186
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
116187
+ message: string;
116188
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
116189
+ warning_code: 'delay_in_issuing';
115445
116190
  })[];
116191
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
116192
+ errors: {
116193
+ /** Date and time at which Seam created the error. */
116194
+ created_at: string;
116195
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
116196
+ message: string;
116197
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
116198
+ error_code: 'failed_to_issue';
116199
+ }[];
115446
116200
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
115447
116201
  pending_mutations: ({
115448
116202
  /** Date and time at which the mutation was created. */
@@ -116767,7 +117521,23 @@ type Routes = {
116767
117521
  warning_code: 'pulled_backup_access_code';
116768
117522
  /** ID of the original access method from which this backup access method was split, if applicable. */
116769
117523
  original_access_method_id?: string | undefined;
117524
+ } | {
117525
+ /** Date and time at which Seam created the warning. */
117526
+ created_at: string;
117527
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117528
+ message: string;
117529
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117530
+ warning_code: 'delay_in_issuing';
116770
117531
  })[];
117532
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
117533
+ errors: {
117534
+ /** Date and time at which Seam created the error. */
117535
+ created_at: string;
117536
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117537
+ message: string;
117538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117539
+ error_code: 'failed_to_issue';
117540
+ }[];
116771
117541
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
116772
117542
  pending_mutations: ({
116773
117543
  /** Date and time at which the mutation was created. */
@@ -118453,7 +119223,23 @@ type Routes = {
118453
119223
  warning_code: 'pulled_backup_access_code';
118454
119224
  /** ID of the original access method from which this backup access method was split, if applicable. */
118455
119225
  original_access_method_id?: string | undefined;
119226
+ } | {
119227
+ /** Date and time at which Seam created the warning. */
119228
+ created_at: string;
119229
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119230
+ message: string;
119231
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119232
+ warning_code: 'delay_in_issuing';
118456
119233
  })[];
119234
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
119235
+ errors: {
119236
+ /** Date and time at which Seam created the error. */
119237
+ created_at: string;
119238
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119239
+ message: string;
119240
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119241
+ error_code: 'failed_to_issue';
119242
+ }[];
118457
119243
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
118458
119244
  pending_mutations: ({
118459
119245
  /** Date and time at which the mutation was created. */
@@ -120245,7 +121031,23 @@ type Routes = {
120245
121031
  warning_code: 'pulled_backup_access_code';
120246
121032
  /** ID of the original access method from which this backup access method was split, if applicable. */
120247
121033
  original_access_method_id?: string | undefined;
121034
+ } | {
121035
+ /** Date and time at which Seam created the warning. */
121036
+ created_at: string;
121037
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
121038
+ message: string;
121039
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
121040
+ warning_code: 'delay_in_issuing';
120248
121041
  })[];
121042
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
121043
+ errors: {
121044
+ /** Date and time at which Seam created the error. */
121045
+ created_at: string;
121046
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121047
+ message: string;
121048
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121049
+ error_code: 'failed_to_issue';
121050
+ }[];
120249
121051
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
120250
121052
  pending_mutations: ({
120251
121053
  /** Date and time at which the mutation was created. */
@@ -123410,7 +124212,23 @@ type Routes = {
123410
124212
  warning_code: 'pulled_backup_access_code';
123411
124213
  /** ID of the original access method from which this backup access method was split, if applicable. */
123412
124214
  original_access_method_id?: string | undefined;
124215
+ } | {
124216
+ /** Date and time at which Seam created the warning. */
124217
+ created_at: string;
124218
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
124219
+ message: string;
124220
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124221
+ warning_code: 'delay_in_issuing';
123413
124222
  })[];
124223
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
124224
+ errors: {
124225
+ /** Date and time at which Seam created the error. */
124226
+ created_at: string;
124227
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
124228
+ message: string;
124229
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
124230
+ error_code: 'failed_to_issue';
124231
+ }[];
123414
124232
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
123415
124233
  pending_mutations: ({
123416
124234
  /** Date and time at which the mutation was created. */
@@ -125100,7 +125918,23 @@ type Routes = {
125100
125918
  warning_code: 'pulled_backup_access_code';
125101
125919
  /** ID of the original access method from which this backup access method was split, if applicable. */
125102
125920
  original_access_method_id?: string | undefined;
125921
+ } | {
125922
+ /** Date and time at which Seam created the warning. */
125923
+ created_at: string;
125924
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
125925
+ message: string;
125926
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
125927
+ warning_code: 'delay_in_issuing';
125103
125928
  })[];
125929
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
125930
+ errors: {
125931
+ /** Date and time at which Seam created the error. */
125932
+ created_at: string;
125933
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125934
+ message: string;
125935
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125936
+ error_code: 'failed_to_issue';
125937
+ }[];
125104
125938
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
125105
125939
  pending_mutations: ({
125106
125940
  /** Date and time at which the mutation was created. */
@@ -129727,7 +130561,23 @@ type Routes = {
129727
130561
  warning_code: 'pulled_backup_access_code';
129728
130562
  /** ID of the original access method from which this backup access method was split, if applicable. */
129729
130563
  original_access_method_id?: string | undefined;
130564
+ } | {
130565
+ /** Date and time at which Seam created the warning. */
130566
+ created_at: string;
130567
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
130568
+ message: string;
130569
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130570
+ warning_code: 'delay_in_issuing';
129730
130571
  })[];
130572
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
130573
+ errors: {
130574
+ /** Date and time at which Seam created the error. */
130575
+ created_at: string;
130576
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130577
+ message: string;
130578
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130579
+ error_code: 'failed_to_issue';
130580
+ }[];
129731
130581
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
129732
130582
  pending_mutations: ({
129733
130583
  /** Date and time at which the mutation was created. */
@@ -131612,7 +132462,23 @@ type Routes = {
131612
132462
  warning_code: 'pulled_backup_access_code';
131613
132463
  /** ID of the original access method from which this backup access method was split, if applicable. */
131614
132464
  original_access_method_id?: string | undefined;
132465
+ } | {
132466
+ /** Date and time at which Seam created the warning. */
132467
+ created_at: string;
132468
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
132469
+ message: string;
132470
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
132471
+ warning_code: 'delay_in_issuing';
131615
132472
  })[];
132473
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
132474
+ errors: {
132475
+ /** Date and time at which Seam created the error. */
132476
+ created_at: string;
132477
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
132478
+ message: string;
132479
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
132480
+ error_code: 'failed_to_issue';
132481
+ }[];
131616
132482
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
131617
132483
  pending_mutations: ({
131618
132484
  /** Date and time at which the mutation was created. */
@@ -133325,7 +134191,23 @@ type Routes = {
133325
134191
  warning_code: 'pulled_backup_access_code';
133326
134192
  /** ID of the original access method from which this backup access method was split, if applicable. */
133327
134193
  original_access_method_id?: string | undefined;
134194
+ } | {
134195
+ /** Date and time at which Seam created the warning. */
134196
+ created_at: string;
134197
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
134198
+ message: string;
134199
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
134200
+ warning_code: 'delay_in_issuing';
133328
134201
  })[];
134202
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
134203
+ errors: {
134204
+ /** Date and time at which Seam created the error. */
134205
+ created_at: string;
134206
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
134207
+ message: string;
134208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
134209
+ error_code: 'failed_to_issue';
134210
+ }[];
133329
134211
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
133330
134212
  pending_mutations: ({
133331
134213
  /** Date and time at which the mutation was created. */
@@ -135150,7 +136032,23 @@ type Routes = {
135150
136032
  warning_code: 'pulled_backup_access_code';
135151
136033
  /** ID of the original access method from which this backup access method was split, if applicable. */
135152
136034
  original_access_method_id?: string | undefined;
136035
+ } | {
136036
+ /** Date and time at which Seam created the warning. */
136037
+ created_at: string;
136038
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
136039
+ message: string;
136040
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
136041
+ warning_code: 'delay_in_issuing';
135153
136042
  })[];
136043
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
136044
+ errors: {
136045
+ /** Date and time at which Seam created the error. */
136046
+ created_at: string;
136047
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
136048
+ message: string;
136049
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
136050
+ error_code: 'failed_to_issue';
136051
+ }[];
135154
136052
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
135155
136053
  pending_mutations: ({
135156
136054
  /** Date and time at which the mutation was created. */
@@ -143796,7 +144694,23 @@ type Routes = {
143796
144694
  warning_code: 'pulled_backup_access_code';
143797
144695
  /** ID of the original access method from which this backup access method was split, if applicable. */
143798
144696
  original_access_method_id?: string | undefined;
144697
+ } | {
144698
+ /** Date and time at which Seam created the warning. */
144699
+ created_at: string;
144700
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
144701
+ message: string;
144702
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
144703
+ warning_code: 'delay_in_issuing';
143799
144704
  })[];
144705
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
144706
+ errors: {
144707
+ /** Date and time at which Seam created the error. */
144708
+ created_at: string;
144709
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
144710
+ message: string;
144711
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
144712
+ error_code: 'failed_to_issue';
144713
+ }[];
143800
144714
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
143801
144715
  pending_mutations: ({
143802
144716
  /** Date and time at which the mutation was created. */
@@ -145480,7 +146394,23 @@ type Routes = {
145480
146394
  warning_code: 'pulled_backup_access_code';
145481
146395
  /** ID of the original access method from which this backup access method was split, if applicable. */
145482
146396
  original_access_method_id?: string | undefined;
146397
+ } | {
146398
+ /** Date and time at which Seam created the warning. */
146399
+ created_at: string;
146400
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
146401
+ message: string;
146402
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
146403
+ warning_code: 'delay_in_issuing';
145483
146404
  })[];
146405
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
146406
+ errors: {
146407
+ /** Date and time at which Seam created the error. */
146408
+ created_at: string;
146409
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
146410
+ message: string;
146411
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
146412
+ error_code: 'failed_to_issue';
146413
+ }[];
145484
146414
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
145485
146415
  pending_mutations: ({
145486
146416
  /** Date and time at which the mutation was created. */
@@ -147016,6 +147946,42 @@ type Routes = {
147016
147946
  /** Keys of the access grants associated with this access method (if present). */
147017
147947
  access_grant_keys?: string[] | undefined;
147018
147948
  event_type: 'access_method.created';
147949
+ } | {
147950
+ /** ID of the event. */
147951
+ event_id: string;
147952
+ /** ID of the workspace associated with the event. */
147953
+ workspace_id: string;
147954
+ /** Date and time at which the event was created. */
147955
+ created_at: string;
147956
+ /** Date and time at which the event occurred. */
147957
+ occurred_at: string;
147958
+ /** 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. */
147959
+ event_description?: string | undefined;
147960
+ /** ID of the affected access method. */
147961
+ access_method_id: string;
147962
+ /** IDs of the access grants associated with this access method. */
147963
+ access_grant_ids: string[];
147964
+ /** Keys of the access grants associated with this access method (if present). */
147965
+ access_grant_keys?: string[] | undefined;
147966
+ event_type: 'access_method.delay_in_issuing';
147967
+ } | {
147968
+ /** ID of the event. */
147969
+ event_id: string;
147970
+ /** ID of the workspace associated with the event. */
147971
+ workspace_id: string;
147972
+ /** Date and time at which the event was created. */
147973
+ created_at: string;
147974
+ /** Date and time at which the event occurred. */
147975
+ occurred_at: string;
147976
+ /** 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. */
147977
+ event_description?: string | undefined;
147978
+ /** ID of the affected access method. */
147979
+ access_method_id: string;
147980
+ /** IDs of the access grants associated with this access method. */
147981
+ access_grant_ids: string[];
147982
+ /** Keys of the access grants associated with this access method (if present). */
147983
+ access_grant_keys?: string[] | undefined;
147984
+ event_type: 'access_method.failed_to_issue';
147019
147985
  } | {
147020
147986
  /** ID of the event. */
147021
147987
  event_id: string;
@@ -151415,7 +152381,23 @@ type Routes = {
151415
152381
  warning_code: 'pulled_backup_access_code';
151416
152382
  /** ID of the original access method from which this backup access method was split, if applicable. */
151417
152383
  original_access_method_id?: string | undefined;
152384
+ } | {
152385
+ /** Date and time at which Seam created the warning. */
152386
+ created_at: string;
152387
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
152388
+ message: string;
152389
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152390
+ warning_code: 'delay_in_issuing';
151418
152391
  })[];
152392
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
152393
+ errors: {
152394
+ /** Date and time at which Seam created the error. */
152395
+ created_at: string;
152396
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152397
+ message: string;
152398
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152399
+ error_code: 'failed_to_issue';
152400
+ }[];
151419
152401
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
151420
152402
  pending_mutations: ({
151421
152403
  /** Date and time at which the mutation was created. */