@seamapi/types 1.961.0 → 1.963.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.
Files changed (26) hide show
  1. package/dist/connect.cjs +564 -22
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +979 -6
  4. package/dist/index.cjs +564 -22
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-grants/access-method.d.ts +143 -0
  7. package/lib/seam/connect/models/access-grants/access-method.js +36 -0
  8. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  9. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +63 -0
  10. package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +63 -0
  11. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  12. package/lib/seam/connect/models/devices/device-provider.js +2 -1
  13. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  14. package/lib/seam/connect/models/events/access-methods.d.ts +130 -0
  15. package/lib/seam/connect/models/events/access-methods.js +18 -0
  16. package/lib/seam/connect/models/events/access-methods.js.map +1 -1
  17. package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
  18. package/lib/seam/connect/openapi.js +492 -0
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +806 -6
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-grants/access-method.ts +53 -0
  23. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
  24. package/src/lib/seam/connect/models/events/access-methods.ts +20 -0
  25. package/src/lib/seam/connect/openapi.ts +560 -0
  26. package/src/lib/seam/connect/route-types.ts +859 -0
@@ -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;
@@ -19477,6 +19585,7 @@ declare const DEVICE_PROVIDERS: {
19477
19585
  readonly DOORKING: "doorking";
19478
19586
  readonly SALTO: "salto";
19479
19587
  readonly SALTO_KS: "salto_ks";
19588
+ readonly SALTO_KS_ACCEPT: "salto_ks_accept";
19480
19589
  readonly LOCKLY: "lockly";
19481
19590
  readonly TTLOCK: "ttlock";
19482
19591
  readonly LINEAR: "linear";
@@ -25734,6 +25843,70 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
25734
25843
  created_at: z.ZodString;
25735
25844
  occurred_at: z.ZodString;
25736
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>;
25737
25910
  } & {
25738
25911
  connected_account_id: z.ZodOptional<z.ZodString>;
25739
25912
  acs_system_id: z.ZodString;
@@ -30962,7 +31135,23 @@ type Routes = {
30962
31135
  warning_code: 'pulled_backup_access_code';
30963
31136
  /** ID of the original access method from which this backup access method was split, if applicable. */
30964
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';
30965
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
+ }[];
30966
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. */
30967
31156
  pending_mutations: ({
30968
31157
  /** Date and time at which the mutation was created. */
@@ -33586,7 +33775,23 @@ type Routes = {
33586
33775
  warning_code: 'pulled_backup_access_code';
33587
33776
  /** ID of the original access method from which this backup access method was split, if applicable. */
33588
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';
33589
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
+ }[];
33590
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. */
33591
33796
  pending_mutations: ({
33592
33797
  /** Date and time at which the mutation was created. */
@@ -37643,7 +37848,23 @@ type Routes = {
37643
37848
  warning_code: 'pulled_backup_access_code';
37644
37849
  /** ID of the original access method from which this backup access method was split, if applicable. */
37645
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';
37646
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
+ }[];
37647
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. */
37648
37869
  pending_mutations: ({
37649
37870
  /** Date and time at which the mutation was created. */
@@ -40147,7 +40368,23 @@ type Routes = {
40147
40368
  warning_code: 'pulled_backup_access_code';
40148
40369
  /** ID of the original access method from which this backup access method was split, if applicable. */
40149
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';
40150
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
+ }[];
40151
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. */
40152
40389
  pending_mutations: ({
40153
40390
  /** Date and time at which the mutation was created. */
@@ -43536,7 +43773,23 @@ type Routes = {
43536
43773
  warning_code: 'pulled_backup_access_code';
43537
43774
  /** ID of the original access method from which this backup access method was split, if applicable. */
43538
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';
43539
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
+ }[];
43540
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. */
43541
43794
  pending_mutations: ({
43542
43795
  /** Date and time at which the mutation was created. */
@@ -45515,7 +45768,23 @@ type Routes = {
45515
45768
  warning_code: 'pulled_backup_access_code';
45516
45769
  /** ID of the original access method from which this backup access method was split, if applicable. */
45517
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';
45518
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
+ }[];
45519
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. */
45520
45789
  pending_mutations: ({
45521
45790
  /** Date and time at which the mutation was created. */
@@ -47216,7 +47485,23 @@ type Routes = {
47216
47485
  warning_code: 'pulled_backup_access_code';
47217
47486
  /** ID of the original access method from which this backup access method was split, if applicable. */
47218
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';
47219
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
+ }[];
47220
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. */
47221
47506
  pending_mutations: ({
47222
47507
  /** Date and time at which the mutation was created. */
@@ -47907,7 +48192,23 @@ type Routes = {
47907
48192
  warning_code: 'pulled_backup_access_code';
47908
48193
  /** ID of the original access method from which this backup access method was split, if applicable. */
47909
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';
47910
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
+ }[];
47911
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. */
47912
48213
  pending_mutations: ({
47913
48214
  /** Date and time at which the mutation was created. */
@@ -49894,7 +50195,23 @@ type Routes = {
49894
50195
  warning_code: 'pulled_backup_access_code';
49895
50196
  /** ID of the original access method from which this backup access method was split, if applicable. */
49896
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';
49897
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
+ }[];
49898
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. */
49899
50216
  pending_mutations: ({
49900
50217
  /** Date and time at which the mutation was created. */
@@ -50220,7 +50537,23 @@ type Routes = {
50220
50537
  warning_code: 'pulled_backup_access_code';
50221
50538
  /** ID of the original access method from which this backup access method was split, if applicable. */
50222
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';
50223
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
+ }[];
50224
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. */
50225
50558
  pending_mutations: ({
50226
50559
  /** Date and time at which the mutation was created. */
@@ -51340,7 +51673,23 @@ type Routes = {
51340
51673
  warning_code: 'pulled_backup_access_code';
51341
51674
  /** ID of the original access method from which this backup access method was split, if applicable. */
51342
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';
51343
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
+ }[];
51344
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. */
51345
51694
  pending_mutations: ({
51346
51695
  /** Date and time at which the mutation was created. */
@@ -52027,7 +52376,23 @@ type Routes = {
52027
52376
  warning_code: 'pulled_backup_access_code';
52028
52377
  /** ID of the original access method from which this backup access method was split, if applicable. */
52029
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';
52030
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
+ }[];
52031
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. */
52032
52397
  pending_mutations: ({
52033
52398
  /** Date and time at which the mutation was created. */
@@ -52155,7 +52520,23 @@ type Routes = {
52155
52520
  warning_code: 'pulled_backup_access_code';
52156
52521
  /** ID of the original access method from which this backup access method was split, if applicable. */
52157
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';
52158
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
+ }[];
52159
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. */
52160
52541
  pending_mutations: ({
52161
52542
  /** Date and time at which the mutation was created. */
@@ -56273,7 +56654,23 @@ type Routes = {
56273
56654
  warning_code: 'pulled_backup_access_code';
56274
56655
  /** ID of the original access method from which this backup access method was split, if applicable. */
56275
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';
56276
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
+ }[];
56277
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. */
56278
56675
  pending_mutations: ({
56279
56676
  /** Date and time at which the mutation was created. */
@@ -58066,7 +58463,23 @@ type Routes = {
58066
58463
  warning_code: 'pulled_backup_access_code';
58067
58464
  /** ID of the original access method from which this backup access method was split, if applicable. */
58068
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';
58069
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
+ }[];
58070
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. */
58071
58484
  pending_mutations: ({
58072
58485
  /** Date and time at which the mutation was created. */
@@ -59755,7 +60168,23 @@ type Routes = {
59755
60168
  warning_code: 'pulled_backup_access_code';
59756
60169
  /** ID of the original access method from which this backup access method was split, if applicable. */
59757
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';
59758
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
+ }[];
59759
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. */
59760
60189
  pending_mutations: ({
59761
60190
  /** Date and time at which the mutation was created. */
@@ -62119,7 +62548,23 @@ type Routes = {
62119
62548
  warning_code: 'pulled_backup_access_code';
62120
62549
  /** ID of the original access method from which this backup access method was split, if applicable. */
62121
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';
62122
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
+ }[];
62123
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. */
62124
62569
  pending_mutations: ({
62125
62570
  /** Date and time at which the mutation was created. */
@@ -66043,7 +66488,23 @@ type Routes = {
66043
66488
  warning_code: 'pulled_backup_access_code';
66044
66489
  /** ID of the original access method from which this backup access method was split, if applicable. */
66045
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';
66046
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
+ }[];
66047
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. */
66048
66509
  pending_mutations: ({
66049
66510
  /** Date and time at which the mutation was created. */
@@ -67724,7 +68185,23 @@ type Routes = {
67724
68185
  warning_code: 'pulled_backup_access_code';
67725
68186
  /** ID of the original access method from which this backup access method was split, if applicable. */
67726
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';
67727
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
+ }[];
67728
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. */
67729
68206
  pending_mutations: ({
67730
68207
  /** Date and time at which the mutation was created. */
@@ -68729,7 +69206,7 @@ type Routes = {
68729
69206
  /** Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error. */
68730
69207
  customer_key?: string | undefined;
68731
69208
  /** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/api/devices/list_device_providers) with no filters. */
68732
- accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'yale_access' | 'hid_cm' | 'google_nest' | 'slack')[] | undefined;
69209
+ accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'salto_ks_accept' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'yale_access' | 'hid_cm' | 'google_nest' | 'slack')[] | undefined;
68733
69210
  /** Specifies the category of providers that you want to include. To list all providers within a category, use [`/devices/list_device_providers`](https://docs.seam.co/api/devices/list_device_providers) with the desired `provider_category` filter. */
68734
69211
  provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
68735
69212
  /** Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://docs.seam.co/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://docs.seam.co/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). */
@@ -73516,7 +73993,7 @@ type Routes = {
73516
73993
  jsonResponse: {
73517
73994
  device_providers: {
73518
73995
  /** Name of the device provider. */
73519
- device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi';
73996
+ device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'salto_ks_accept' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'dusaw' | 'sifely' | 'thirty_three_lock' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi';
73520
73997
  /** Display name for the device provider. */
73521
73998
  display_name: string;
73522
73999
  /** Image URL for the device provider. */
@@ -75879,6 +76356,42 @@ type Routes = {
75879
76356
  /** Keys of the access grants associated with this access method (if present). */
75880
76357
  access_grant_keys?: string[] | undefined;
75881
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';
75882
76395
  } | {
75883
76396
  /** ID of the event. */
75884
76397
  event_id: string;
@@ -77991,9 +78504,9 @@ type Routes = {
77991
78504
  /** IDs of the access codes for which you want to list events. */
77992
78505
  access_code_ids?: string[] | undefined;
77993
78506
  /** Type of the events that you want to list. */
77994
- 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;
77995
78508
  /** Types of the events that you want to list. */
77996
- 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;
77997
78510
  /** ID of the connected account for which you want to list events. */
77998
78511
  connected_account_id?: string | undefined;
77999
78512
  /** ID of the Connect Webview for which you want to list events. */
@@ -79145,6 +79658,42 @@ type Routes = {
79145
79658
  /** Keys of the access grants associated with this access method (if present). */
79146
79659
  access_grant_keys?: string[] | undefined;
79147
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';
79148
79697
  } | {
79149
79698
  /** ID of the event. */
79150
79699
  event_id: string;
@@ -82387,7 +82936,23 @@ type Routes = {
82387
82936
  warning_code: 'pulled_backup_access_code';
82388
82937
  /** ID of the original access method from which this backup access method was split, if applicable. */
82389
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';
82390
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
+ }[];
82391
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. */
82392
82957
  pending_mutations: ({
82393
82958
  /** Date and time at which the mutation was created. */
@@ -89926,7 +90491,23 @@ type Routes = {
89926
90491
  warning_code: 'pulled_backup_access_code';
89927
90492
  /** ID of the original access method from which this backup access method was split, if applicable. */
89928
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';
89929
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
+ }[];
89930
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. */
89931
90512
  pending_mutations: ({
89932
90513
  /** Date and time at which the mutation was created. */
@@ -91608,7 +92189,23 @@ type Routes = {
91608
92189
  warning_code: 'pulled_backup_access_code';
91609
92190
  /** ID of the original access method from which this backup access method was split, if applicable. */
91610
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';
91611
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
+ }[];
91612
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. */
91613
92210
  pending_mutations: ({
91614
92211
  /** Date and time at which the mutation was created. */
@@ -93288,7 +93885,23 @@ type Routes = {
93288
93885
  warning_code: 'pulled_backup_access_code';
93289
93886
  /** ID of the original access method from which this backup access method was split, if applicable. */
93290
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';
93291
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
+ }[];
93292
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. */
93293
93906
  pending_mutations: ({
93294
93907
  /** Date and time at which the mutation was created. */
@@ -94970,7 +95583,23 @@ type Routes = {
94970
95583
  warning_code: 'pulled_backup_access_code';
94971
95584
  /** ID of the original access method from which this backup access method was split, if applicable. */
94972
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';
94973
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
+ }[];
94974
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. */
94975
95604
  pending_mutations: ({
94976
95605
  /** Date and time at which the mutation was created. */
@@ -99607,7 +100236,23 @@ type Routes = {
99607
100236
  warning_code: 'pulled_backup_access_code';
99608
100237
  /** ID of the original access method from which this backup access method was split, if applicable. */
99609
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';
99610
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
+ }[];
99611
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. */
99612
100257
  pending_mutations: ({
99613
100258
  /** Date and time at which the mutation was created. */
@@ -101308,7 +101953,23 @@ type Routes = {
101308
101953
  warning_code: 'pulled_backup_access_code';
101309
101954
  /** ID of the original access method from which this backup access method was split, if applicable. */
101310
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';
101311
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
+ }[];
101312
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. */
101313
101974
  pending_mutations: ({
101314
101975
  /** Date and time at which the mutation was created. */
@@ -103065,7 +103726,23 @@ type Routes = {
103065
103726
  warning_code: 'pulled_backup_access_code';
103066
103727
  /** ID of the original access method from which this backup access method was split, if applicable. */
103067
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';
103068
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
+ }[];
103069
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. */
103070
103747
  pending_mutations: ({
103071
103748
  /** Date and time at which the mutation was created. */
@@ -106589,7 +107266,23 @@ type Routes = {
106589
107266
  warning_code: 'pulled_backup_access_code';
106590
107267
  /** ID of the original access method from which this backup access method was split, if applicable. */
106591
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';
106592
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
+ }[];
106593
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. */
106594
107287
  pending_mutations: ({
106595
107288
  /** Date and time at which the mutation was created. */
@@ -108061,9 +108754,9 @@ type Routes = {
108061
108754
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
108062
108755
  between?: (string | Date)[] | undefined;
108063
108756
  /** Type of the events that you want to list. */
108064
- 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;
108065
108758
  /** Types of the events that you want to list. */
108066
- 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;
108067
108760
  /** Numerical limit on the number of events to return. */
108068
108761
  limit?: number;
108069
108762
  };
@@ -109185,6 +109878,42 @@ type Routes = {
109185
109878
  /** Keys of the access grants associated with this access method (if present). */
109186
109879
  access_grant_keys?: string[] | undefined;
109187
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';
109188
109917
  } | {
109189
109918
  /** ID of the event. */
109190
109919
  event_id: string;
@@ -115441,7 +116170,23 @@ type Routes = {
115441
116170
  warning_code: 'pulled_backup_access_code';
115442
116171
  /** ID of the original access method from which this backup access method was split, if applicable. */
115443
116172
  original_access_method_id?: string | undefined;
116173
+ } | {
116174
+ /** Date and time at which Seam created the warning. */
116175
+ created_at: string;
116176
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
116177
+ message: string;
116178
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
116179
+ warning_code: 'delay_in_issuing';
115444
116180
  })[];
116181
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
116182
+ errors: {
116183
+ /** Date and time at which Seam created the error. */
116184
+ created_at: string;
116185
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
116186
+ message: string;
116187
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
116188
+ error_code: 'failed_to_issue';
116189
+ }[];
115445
116190
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
115446
116191
  pending_mutations: ({
115447
116192
  /** Date and time at which the mutation was created. */
@@ -116766,7 +117511,23 @@ type Routes = {
116766
117511
  warning_code: 'pulled_backup_access_code';
116767
117512
  /** ID of the original access method from which this backup access method was split, if applicable. */
116768
117513
  original_access_method_id?: string | undefined;
117514
+ } | {
117515
+ /** Date and time at which Seam created the warning. */
117516
+ created_at: string;
117517
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
117518
+ message: string;
117519
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
117520
+ warning_code: 'delay_in_issuing';
116769
117521
  })[];
117522
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
117523
+ errors: {
117524
+ /** Date and time at which Seam created the error. */
117525
+ created_at: string;
117526
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117527
+ message: string;
117528
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117529
+ error_code: 'failed_to_issue';
117530
+ }[];
116770
117531
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
116771
117532
  pending_mutations: ({
116772
117533
  /** Date and time at which the mutation was created. */
@@ -118452,7 +119213,23 @@ type Routes = {
118452
119213
  warning_code: 'pulled_backup_access_code';
118453
119214
  /** ID of the original access method from which this backup access method was split, if applicable. */
118454
119215
  original_access_method_id?: string | undefined;
119216
+ } | {
119217
+ /** Date and time at which Seam created the warning. */
119218
+ created_at: string;
119219
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
119220
+ message: string;
119221
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
119222
+ warning_code: 'delay_in_issuing';
118455
119223
  })[];
119224
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
119225
+ errors: {
119226
+ /** Date and time at which Seam created the error. */
119227
+ created_at: string;
119228
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119229
+ message: string;
119230
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119231
+ error_code: 'failed_to_issue';
119232
+ }[];
118456
119233
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
118457
119234
  pending_mutations: ({
118458
119235
  /** Date and time at which the mutation was created. */
@@ -120244,7 +121021,23 @@ type Routes = {
120244
121021
  warning_code: 'pulled_backup_access_code';
120245
121022
  /** ID of the original access method from which this backup access method was split, if applicable. */
120246
121023
  original_access_method_id?: string | undefined;
121024
+ } | {
121025
+ /** Date and time at which Seam created the warning. */
121026
+ created_at: string;
121027
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
121028
+ message: string;
121029
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
121030
+ warning_code: 'delay_in_issuing';
120247
121031
  })[];
121032
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
121033
+ errors: {
121034
+ /** Date and time at which Seam created the error. */
121035
+ created_at: string;
121036
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121037
+ message: string;
121038
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121039
+ error_code: 'failed_to_issue';
121040
+ }[];
120248
121041
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
120249
121042
  pending_mutations: ({
120250
121043
  /** Date and time at which the mutation was created. */
@@ -123409,7 +124202,23 @@ type Routes = {
123409
124202
  warning_code: 'pulled_backup_access_code';
123410
124203
  /** ID of the original access method from which this backup access method was split, if applicable. */
123411
124204
  original_access_method_id?: string | undefined;
124205
+ } | {
124206
+ /** Date and time at which Seam created the warning. */
124207
+ created_at: string;
124208
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
124209
+ message: string;
124210
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
124211
+ warning_code: 'delay_in_issuing';
123412
124212
  })[];
124213
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
124214
+ errors: {
124215
+ /** Date and time at which Seam created the error. */
124216
+ created_at: string;
124217
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
124218
+ message: string;
124219
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
124220
+ error_code: 'failed_to_issue';
124221
+ }[];
123413
124222
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
123414
124223
  pending_mutations: ({
123415
124224
  /** Date and time at which the mutation was created. */
@@ -125099,7 +125908,23 @@ type Routes = {
125099
125908
  warning_code: 'pulled_backup_access_code';
125100
125909
  /** ID of the original access method from which this backup access method was split, if applicable. */
125101
125910
  original_access_method_id?: string | undefined;
125911
+ } | {
125912
+ /** Date and time at which Seam created the warning. */
125913
+ created_at: string;
125914
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
125915
+ message: string;
125916
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
125917
+ warning_code: 'delay_in_issuing';
125102
125918
  })[];
125919
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
125920
+ errors: {
125921
+ /** Date and time at which Seam created the error. */
125922
+ created_at: string;
125923
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125924
+ message: string;
125925
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125926
+ error_code: 'failed_to_issue';
125927
+ }[];
125103
125928
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
125104
125929
  pending_mutations: ({
125105
125930
  /** Date and time at which the mutation was created. */
@@ -129726,7 +130551,23 @@ type Routes = {
129726
130551
  warning_code: 'pulled_backup_access_code';
129727
130552
  /** ID of the original access method from which this backup access method was split, if applicable. */
129728
130553
  original_access_method_id?: string | undefined;
130554
+ } | {
130555
+ /** Date and time at which Seam created the warning. */
130556
+ created_at: string;
130557
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
130558
+ message: string;
130559
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
130560
+ warning_code: 'delay_in_issuing';
129729
130561
  })[];
130562
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
130563
+ errors: {
130564
+ /** Date and time at which Seam created the error. */
130565
+ created_at: string;
130566
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130567
+ message: string;
130568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130569
+ error_code: 'failed_to_issue';
130570
+ }[];
129730
130571
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
129731
130572
  pending_mutations: ({
129732
130573
  /** Date and time at which the mutation was created. */
@@ -131611,7 +132452,23 @@ type Routes = {
131611
132452
  warning_code: 'pulled_backup_access_code';
131612
132453
  /** ID of the original access method from which this backup access method was split, if applicable. */
131613
132454
  original_access_method_id?: string | undefined;
132455
+ } | {
132456
+ /** Date and time at which Seam created the warning. */
132457
+ created_at: string;
132458
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
132459
+ message: string;
132460
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
132461
+ warning_code: 'delay_in_issuing';
131614
132462
  })[];
132463
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
132464
+ errors: {
132465
+ /** Date and time at which Seam created the error. */
132466
+ created_at: string;
132467
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
132468
+ message: string;
132469
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
132470
+ error_code: 'failed_to_issue';
132471
+ }[];
131615
132472
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
131616
132473
  pending_mutations: ({
131617
132474
  /** Date and time at which the mutation was created. */
@@ -133324,7 +134181,23 @@ type Routes = {
133324
134181
  warning_code: 'pulled_backup_access_code';
133325
134182
  /** ID of the original access method from which this backup access method was split, if applicable. */
133326
134183
  original_access_method_id?: string | undefined;
134184
+ } | {
134185
+ /** Date and time at which Seam created the warning. */
134186
+ created_at: string;
134187
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
134188
+ message: string;
134189
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
134190
+ warning_code: 'delay_in_issuing';
133327
134191
  })[];
134192
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
134193
+ errors: {
134194
+ /** Date and time at which Seam created the error. */
134195
+ created_at: string;
134196
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
134197
+ message: string;
134198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
134199
+ error_code: 'failed_to_issue';
134200
+ }[];
133328
134201
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
133329
134202
  pending_mutations: ({
133330
134203
  /** Date and time at which the mutation was created. */
@@ -135149,7 +136022,23 @@ type Routes = {
135149
136022
  warning_code: 'pulled_backup_access_code';
135150
136023
  /** ID of the original access method from which this backup access method was split, if applicable. */
135151
136024
  original_access_method_id?: string | undefined;
136025
+ } | {
136026
+ /** Date and time at which Seam created the warning. */
136027
+ created_at: string;
136028
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
136029
+ message: string;
136030
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
136031
+ warning_code: 'delay_in_issuing';
135152
136032
  })[];
136033
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
136034
+ errors: {
136035
+ /** Date and time at which Seam created the error. */
136036
+ created_at: string;
136037
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
136038
+ message: string;
136039
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
136040
+ error_code: 'failed_to_issue';
136041
+ }[];
135153
136042
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
135154
136043
  pending_mutations: ({
135155
136044
  /** Date and time at which the mutation was created. */
@@ -143795,7 +144684,23 @@ type Routes = {
143795
144684
  warning_code: 'pulled_backup_access_code';
143796
144685
  /** ID of the original access method from which this backup access method was split, if applicable. */
143797
144686
  original_access_method_id?: string | undefined;
144687
+ } | {
144688
+ /** Date and time at which Seam created the warning. */
144689
+ created_at: string;
144690
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
144691
+ message: string;
144692
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
144693
+ warning_code: 'delay_in_issuing';
143798
144694
  })[];
144695
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
144696
+ errors: {
144697
+ /** Date and time at which Seam created the error. */
144698
+ created_at: string;
144699
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
144700
+ message: string;
144701
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
144702
+ error_code: 'failed_to_issue';
144703
+ }[];
143799
144704
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
143800
144705
  pending_mutations: ({
143801
144706
  /** Date and time at which the mutation was created. */
@@ -145479,7 +146384,23 @@ type Routes = {
145479
146384
  warning_code: 'pulled_backup_access_code';
145480
146385
  /** ID of the original access method from which this backup access method was split, if applicable. */
145481
146386
  original_access_method_id?: string | undefined;
146387
+ } | {
146388
+ /** Date and time at which Seam created the warning. */
146389
+ created_at: string;
146390
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
146391
+ message: string;
146392
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
146393
+ warning_code: 'delay_in_issuing';
145482
146394
  })[];
146395
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
146396
+ errors: {
146397
+ /** Date and time at which Seam created the error. */
146398
+ created_at: string;
146399
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
146400
+ message: string;
146401
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
146402
+ error_code: 'failed_to_issue';
146403
+ }[];
145483
146404
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
145484
146405
  pending_mutations: ({
145485
146406
  /** Date and time at which the mutation was created. */
@@ -147015,6 +147936,42 @@ type Routes = {
147015
147936
  /** Keys of the access grants associated with this access method (if present). */
147016
147937
  access_grant_keys?: string[] | undefined;
147017
147938
  event_type: 'access_method.created';
147939
+ } | {
147940
+ /** ID of the event. */
147941
+ event_id: string;
147942
+ /** ID of the workspace associated with the event. */
147943
+ workspace_id: string;
147944
+ /** Date and time at which the event was created. */
147945
+ created_at: string;
147946
+ /** Date and time at which the event occurred. */
147947
+ occurred_at: string;
147948
+ /** 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. */
147949
+ event_description?: string | undefined;
147950
+ /** ID of the affected access method. */
147951
+ access_method_id: string;
147952
+ /** IDs of the access grants associated with this access method. */
147953
+ access_grant_ids: string[];
147954
+ /** Keys of the access grants associated with this access method (if present). */
147955
+ access_grant_keys?: string[] | undefined;
147956
+ event_type: 'access_method.delay_in_issuing';
147957
+ } | {
147958
+ /** ID of the event. */
147959
+ event_id: string;
147960
+ /** ID of the workspace associated with the event. */
147961
+ workspace_id: string;
147962
+ /** Date and time at which the event was created. */
147963
+ created_at: string;
147964
+ /** Date and time at which the event occurred. */
147965
+ occurred_at: string;
147966
+ /** 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. */
147967
+ event_description?: string | undefined;
147968
+ /** ID of the affected access method. */
147969
+ access_method_id: string;
147970
+ /** IDs of the access grants associated with this access method. */
147971
+ access_grant_ids: string[];
147972
+ /** Keys of the access grants associated with this access method (if present). */
147973
+ access_grant_keys?: string[] | undefined;
147974
+ event_type: 'access_method.failed_to_issue';
147018
147975
  } | {
147019
147976
  /** ID of the event. */
147020
147977
  event_id: string;
@@ -151414,7 +152371,23 @@ type Routes = {
151414
152371
  warning_code: 'pulled_backup_access_code';
151415
152372
  /** ID of the original access method from which this backup access method was split, if applicable. */
151416
152373
  original_access_method_id?: string | undefined;
152374
+ } | {
152375
+ /** Date and time at which Seam created the warning. */
152376
+ created_at: string;
152377
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
152378
+ message: string;
152379
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
152380
+ warning_code: 'delay_in_issuing';
151417
152381
  })[];
152382
+ /** Errors associated with the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). */
152383
+ errors: {
152384
+ /** Date and time at which Seam created the error. */
152385
+ created_at: string;
152386
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
152387
+ message: string;
152388
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
152389
+ error_code: 'failed_to_issue';
152390
+ }[];
151418
152391
  /** Pending mutations for the [access method](https://docs.seam.co/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
151419
152392
  pending_mutations: ({
151420
152393
  /** Date and time at which the mutation was created. */