@seamapi/types 1.1098.0 → 1.1100.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 (23) hide show
  1. package/lib/seam/connect/models/access-grants/access-grant.d.ts +87 -8
  2. package/lib/seam/connect/models/access-grants/access-grant.js +12 -0
  3. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  4. package/lib/seam/connect/models/access-grants/access-method.d.ts +74 -8
  5. package/lib/seam/connect/models/access-grants/access-method.js +15 -1
  6. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +112 -8
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
  9. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +37 -8
  11. package/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.d.ts +77 -0
  12. package/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.js +31 -0
  13. package/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.js.map +1 -0
  14. package/lib/seam/connect/openapi.js +215 -0
  15. package/lib/seam/connect/openapi.js.map +1 -1
  16. package/lib/seam/connect/route-types.d.ts +1667 -106
  17. package/package.json +1 -1
  18. package/src/lib/seam/connect/models/access-grants/access-grant.ts +13 -0
  19. package/src/lib/seam/connect/models/access-grants/access-method.ts +16 -1
  20. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
  21. package/src/lib/seam/connect/models/action-attempts/convert-access-code-to-managed.ts +44 -0
  22. package/src/lib/seam/connect/openapi.ts +246 -0
  23. package/src/lib/seam/connect/route-types.ts +2451 -629
@@ -1206,14 +1206,21 @@ export type Routes = {
1206
1206
  warning_code: 'user_identity_missing_phone_number';
1207
1207
  })[];
1208
1208
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
1209
- errors: {
1209
+ errors: ({
1210
1210
  /** Date and time at which Seam created the error. */
1211
1211
  created_at: string;
1212
1212
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1213
1213
  message: string;
1214
1214
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1215
1215
  error_code: 'failed_to_issue';
1216
- }[];
1216
+ } | {
1217
+ /** Date and time at which Seam created the error. */
1218
+ created_at: string;
1219
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1220
+ message: string;
1221
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1222
+ error_code: 'access_not_provisioned';
1223
+ })[];
1217
1224
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
1218
1225
  pending_mutations: ({
1219
1226
  /** Date and time at which the mutation was created. */
@@ -1613,6 +1620,41 @@ export type Routes = {
1613
1620
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1614
1621
  message: string;
1615
1622
  };
1623
+ } | {
1624
+ /** ID of the action attempt. */
1625
+ action_attempt_id: string;
1626
+ status: 'pending';
1627
+ /** Result of the action attempt. Null for pending action attempts. */
1628
+ result: null;
1629
+ /** Errors associated with the action attempt. Null for pending action attempts. */
1630
+ error: null;
1631
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
1632
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
1633
+ } | {
1634
+ /** ID of the action attempt. */
1635
+ action_attempt_id: string;
1636
+ status: 'success';
1637
+ /** Errors associated with the action attempt. Null for successful action attempts. */
1638
+ error: null;
1639
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
1640
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
1641
+ /** Result of the action. */
1642
+ result: {};
1643
+ } | {
1644
+ /** ID of the action attempt. */
1645
+ action_attempt_id: string;
1646
+ status: 'error';
1647
+ /** Result of the action attempt. Null for failed action attempts. */
1648
+ result: null;
1649
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
1650
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
1651
+ /** Error associated with the action. */
1652
+ error: {
1653
+ /** Type of the error. */
1654
+ type: string;
1655
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1656
+ message: string;
1657
+ };
1616
1658
  } | {
1617
1659
  /** ID of the action attempt. */
1618
1660
  action_attempt_id: string;
@@ -4091,14 +4133,21 @@ export type Routes = {
4091
4133
  warning_code: 'user_identity_missing_phone_number';
4092
4134
  })[];
4093
4135
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
4094
- errors: {
4136
+ errors: ({
4095
4137
  /** Date and time at which Seam created the error. */
4096
4138
  created_at: string;
4097
4139
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4098
4140
  message: string;
4099
4141
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4100
4142
  error_code: 'failed_to_issue';
4101
- }[];
4143
+ } | {
4144
+ /** Date and time at which Seam created the error. */
4145
+ created_at: string;
4146
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4147
+ message: string;
4148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4149
+ error_code: 'access_not_provisioned';
4150
+ })[];
4102
4151
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
4103
4152
  pending_mutations: ({
4104
4153
  /** Date and time at which the mutation was created. */
@@ -4498,6 +4547,41 @@ export type Routes = {
4498
4547
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4499
4548
  message: string;
4500
4549
  };
4550
+ } | {
4551
+ /** ID of the action attempt. */
4552
+ action_attempt_id: string;
4553
+ status: 'pending';
4554
+ /** Result of the action attempt. Null for pending action attempts. */
4555
+ result: null;
4556
+ /** Errors associated with the action attempt. Null for pending action attempts. */
4557
+ error: null;
4558
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
4559
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
4560
+ } | {
4561
+ /** ID of the action attempt. */
4562
+ action_attempt_id: string;
4563
+ status: 'success';
4564
+ /** Errors associated with the action attempt. Null for successful action attempts. */
4565
+ error: null;
4566
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
4567
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
4568
+ /** Result of the action. */
4569
+ result: {};
4570
+ } | {
4571
+ /** ID of the action attempt. */
4572
+ action_attempt_id: string;
4573
+ status: 'error';
4574
+ /** Result of the action attempt. Null for failed action attempts. */
4575
+ result: null;
4576
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
4577
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
4578
+ /** Error associated with the action. */
4579
+ error: {
4580
+ /** Type of the error. */
4581
+ type: string;
4582
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4583
+ message: string;
4584
+ };
4501
4585
  } | {
4502
4586
  /** ID of the action attempt. */
4503
4587
  action_attempt_id: string;
@@ -8553,14 +8637,21 @@ export type Routes = {
8553
8637
  warning_code: 'user_identity_missing_phone_number';
8554
8638
  })[];
8555
8639
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
8556
- errors: {
8640
+ errors: ({
8557
8641
  /** Date and time at which Seam created the error. */
8558
8642
  created_at: string;
8559
8643
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8560
8644
  message: string;
8561
8645
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8562
8646
  error_code: 'failed_to_issue';
8563
- }[];
8647
+ } | {
8648
+ /** Date and time at which Seam created the error. */
8649
+ created_at: string;
8650
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8651
+ message: string;
8652
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8653
+ error_code: 'access_not_provisioned';
8654
+ })[];
8564
8655
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
8565
8656
  pending_mutations: ({
8566
8657
  /** Date and time at which the mutation was created. */
@@ -8960,6 +9051,41 @@ export type Routes = {
8960
9051
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8961
9052
  message: string;
8962
9053
  };
9054
+ } | {
9055
+ /** ID of the action attempt. */
9056
+ action_attempt_id: string;
9057
+ status: 'pending';
9058
+ /** Result of the action attempt. Null for pending action attempts. */
9059
+ result: null;
9060
+ /** Errors associated with the action attempt. Null for pending action attempts. */
9061
+ error: null;
9062
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
9063
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
9064
+ } | {
9065
+ /** ID of the action attempt. */
9066
+ action_attempt_id: string;
9067
+ status: 'success';
9068
+ /** Errors associated with the action attempt. Null for successful action attempts. */
9069
+ error: null;
9070
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
9071
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
9072
+ /** Result of the action. */
9073
+ result: {};
9074
+ } | {
9075
+ /** ID of the action attempt. */
9076
+ action_attempt_id: string;
9077
+ status: 'error';
9078
+ /** Result of the action attempt. Null for failed action attempts. */
9079
+ result: null;
9080
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
9081
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
9082
+ /** Error associated with the action. */
9083
+ error: {
9084
+ /** Type of the error. */
9085
+ type: string;
9086
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9087
+ message: string;
9088
+ };
8963
9089
  } | {
8964
9090
  /** ID of the action attempt. */
8965
9091
  action_attempt_id: string;
@@ -11303,14 +11429,21 @@ export type Routes = {
11303
11429
  warning_code: 'user_identity_missing_phone_number';
11304
11430
  })[];
11305
11431
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
11306
- errors: {
11432
+ errors: ({
11307
11433
  /** Date and time at which Seam created the error. */
11308
11434
  created_at: string;
11309
11435
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11310
11436
  message: string;
11311
11437
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11312
11438
  error_code: 'failed_to_issue';
11313
- }[];
11439
+ } | {
11440
+ /** Date and time at which Seam created the error. */
11441
+ created_at: string;
11442
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11443
+ message: string;
11444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11445
+ error_code: 'access_not_provisioned';
11446
+ })[];
11314
11447
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
11315
11448
  pending_mutations: ({
11316
11449
  /** Date and time at which the mutation was created. */
@@ -11710,6 +11843,41 @@ export type Routes = {
11710
11843
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11711
11844
  message: string;
11712
11845
  };
11846
+ } | {
11847
+ /** ID of the action attempt. */
11848
+ action_attempt_id: string;
11849
+ status: 'pending';
11850
+ /** Result of the action attempt. Null for pending action attempts. */
11851
+ result: null;
11852
+ /** Errors associated with the action attempt. Null for pending action attempts. */
11853
+ error: null;
11854
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
11855
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
11856
+ } | {
11857
+ /** ID of the action attempt. */
11858
+ action_attempt_id: string;
11859
+ status: 'success';
11860
+ /** Errors associated with the action attempt. Null for successful action attempts. */
11861
+ error: null;
11862
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
11863
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
11864
+ /** Result of the action. */
11865
+ result: {};
11866
+ } | {
11867
+ /** ID of the action attempt. */
11868
+ action_attempt_id: string;
11869
+ status: 'error';
11870
+ /** Result of the action attempt. Null for failed action attempts. */
11871
+ result: null;
11872
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
11873
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
11874
+ /** Error associated with the action. */
11875
+ error: {
11876
+ /** Type of the error. */
11877
+ type: string;
11878
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
11879
+ message: string;
11880
+ };
11713
11881
  } | {
11714
11882
  /** ID of the action attempt. */
11715
11883
  action_attempt_id: string;
@@ -12196,7 +12364,7 @@ export type Routes = {
12196
12364
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
12197
12365
  })[];
12198
12366
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
12199
- errors: {
12367
+ errors: ({
12200
12368
  /** Date and time at which Seam created the error. */
12201
12369
  created_at: string;
12202
12370
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -12205,7 +12373,14 @@ export type Routes = {
12205
12373
  error_code: 'cannot_create_requested_access_methods';
12206
12374
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
12207
12375
  missing_device_ids?: string[] | undefined;
12208
- }[];
12376
+ } | {
12377
+ /** Date and time at which Seam created the error. */
12378
+ created_at: string;
12379
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
12380
+ message: string;
12381
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12382
+ error_code: 'access_not_provisioned';
12383
+ })[];
12209
12384
  /** ID of the customization profile associated with the Access Grant. */
12210
12385
  customization_profile_id?: string | undefined;
12211
12386
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -12408,7 +12583,7 @@ export type Routes = {
12408
12583
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
12409
12584
  })[];
12410
12585
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
12411
- errors: {
12586
+ errors: ({
12412
12587
  /** Date and time at which Seam created the error. */
12413
12588
  created_at: string;
12414
12589
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -12417,7 +12592,14 @@ export type Routes = {
12417
12592
  error_code: 'cannot_create_requested_access_methods';
12418
12593
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
12419
12594
  missing_device_ids?: string[] | undefined;
12420
- }[];
12595
+ } | {
12596
+ /** Date and time at which Seam created the error. */
12597
+ created_at: string;
12598
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
12599
+ message: string;
12600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12601
+ error_code: 'access_not_provisioned';
12602
+ })[];
12421
12603
  /** ID of the customization profile associated with the Access Grant. */
12422
12604
  customization_profile_id?: string | undefined;
12423
12605
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -14912,14 +15094,21 @@ export type Routes = {
14912
15094
  warning_code: 'user_identity_missing_phone_number';
14913
15095
  })[];
14914
15096
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
14915
- errors: {
15097
+ errors: ({
14916
15098
  /** Date and time at which Seam created the error. */
14917
15099
  created_at: string;
14918
15100
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14919
15101
  message: string;
14920
15102
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14921
15103
  error_code: 'failed_to_issue';
14922
- }[];
15104
+ } | {
15105
+ /** Date and time at which Seam created the error. */
15106
+ created_at: string;
15107
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15108
+ message: string;
15109
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15110
+ error_code: 'access_not_provisioned';
15111
+ })[];
14923
15112
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
14924
15113
  pending_mutations: ({
14925
15114
  /** Date and time at which the mutation was created. */
@@ -15146,7 +15335,7 @@ export type Routes = {
15146
15335
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
15147
15336
  })[];
15148
15337
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
15149
- errors: {
15338
+ errors: ({
15150
15339
  /** Date and time at which Seam created the error. */
15151
15340
  created_at: string;
15152
15341
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -15155,7 +15344,14 @@ export type Routes = {
15155
15344
  error_code: 'cannot_create_requested_access_methods';
15156
15345
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
15157
15346
  missing_device_ids?: string[] | undefined;
15158
- }[];
15347
+ } | {
15348
+ /** Date and time at which Seam created the error. */
15349
+ created_at: string;
15350
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15351
+ message: string;
15352
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15353
+ error_code: 'access_not_provisioned';
15354
+ })[];
15159
15355
  /** ID of the customization profile associated with the Access Grant. */
15160
15356
  customization_profile_id?: string | undefined;
15161
15357
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -15360,7 +15556,7 @@ export type Routes = {
15360
15556
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
15361
15557
  })[];
15362
15558
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
15363
- errors: {
15559
+ errors: ({
15364
15560
  /** Date and time at which Seam created the error. */
15365
15561
  created_at: string;
15366
15562
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -15369,7 +15565,14 @@ export type Routes = {
15369
15565
  error_code: 'cannot_create_requested_access_methods';
15370
15566
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
15371
15567
  missing_device_ids?: string[] | undefined;
15372
- }[];
15568
+ } | {
15569
+ /** Date and time at which Seam created the error. */
15570
+ created_at: string;
15571
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15572
+ message: string;
15573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15574
+ error_code: 'access_not_provisioned';
15575
+ })[];
15373
15576
  /** ID of the customization profile associated with the Access Grant. */
15374
15577
  customization_profile_id?: string | undefined;
15375
15578
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -15546,7 +15749,7 @@ export type Routes = {
15546
15749
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
15547
15750
  })[];
15548
15751
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
15549
- errors: {
15752
+ errors: ({
15550
15753
  /** Date and time at which Seam created the error. */
15551
15754
  created_at: string;
15552
15755
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -15555,7 +15758,14 @@ export type Routes = {
15555
15758
  error_code: 'cannot_create_requested_access_methods';
15556
15759
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
15557
15760
  missing_device_ids?: string[] | undefined;
15558
- }[];
15761
+ } | {
15762
+ /** Date and time at which Seam created the error. */
15763
+ created_at: string;
15764
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15765
+ message: string;
15766
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15767
+ error_code: 'access_not_provisioned';
15768
+ })[];
15559
15769
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
15560
15770
  pending_mutations: ({
15561
15771
  /** Date and time at which the mutation was created. */
@@ -15741,7 +15951,7 @@ export type Routes = {
15741
15951
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
15742
15952
  })[];
15743
15953
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
15744
- errors: {
15954
+ errors: ({
15745
15955
  /** Date and time at which Seam created the error. */
15746
15956
  created_at: string;
15747
15957
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -15750,7 +15960,14 @@ export type Routes = {
15750
15960
  error_code: 'cannot_create_requested_access_methods';
15751
15961
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
15752
15962
  missing_device_ids?: string[] | undefined;
15753
- }[];
15963
+ } | {
15964
+ /** Date and time at which Seam created the error. */
15965
+ created_at: string;
15966
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15967
+ message: string;
15968
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15969
+ error_code: 'access_not_provisioned';
15970
+ })[];
15754
15971
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
15755
15972
  pending_mutations: ({
15756
15973
  /** Date and time at which the mutation was created. */
@@ -17019,14 +17236,21 @@ export type Routes = {
17019
17236
  warning_code: 'user_identity_missing_phone_number';
17020
17237
  })[];
17021
17238
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
17022
- errors: {
17239
+ errors: ({
17023
17240
  /** Date and time at which Seam created the error. */
17024
17241
  created_at: string;
17025
17242
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17026
17243
  message: string;
17027
17244
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17028
17245
  error_code: 'failed_to_issue';
17029
- }[];
17246
+ } | {
17247
+ /** Date and time at which Seam created the error. */
17248
+ created_at: string;
17249
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17250
+ message: string;
17251
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17252
+ error_code: 'access_not_provisioned';
17253
+ })[];
17030
17254
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
17031
17255
  pending_mutations: ({
17032
17256
  /** Date and time at which the mutation was created. */
@@ -17426,6 +17650,41 @@ export type Routes = {
17426
17650
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17427
17651
  message: string;
17428
17652
  };
17653
+ } | {
17654
+ /** ID of the action attempt. */
17655
+ action_attempt_id: string;
17656
+ status: 'pending';
17657
+ /** Result of the action attempt. Null for pending action attempts. */
17658
+ result: null;
17659
+ /** Errors associated with the action attempt. Null for pending action attempts. */
17660
+ error: null;
17661
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
17662
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
17663
+ } | {
17664
+ /** ID of the action attempt. */
17665
+ action_attempt_id: string;
17666
+ status: 'success';
17667
+ /** Errors associated with the action attempt. Null for successful action attempts. */
17668
+ error: null;
17669
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
17670
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
17671
+ /** Result of the action. */
17672
+ result: {};
17673
+ } | {
17674
+ /** ID of the action attempt. */
17675
+ action_attempt_id: string;
17676
+ status: 'error';
17677
+ /** Result of the action attempt. Null for failed action attempts. */
17678
+ result: null;
17679
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
17680
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
17681
+ /** Error associated with the action. */
17682
+ error: {
17683
+ /** Type of the error. */
17684
+ type: string;
17685
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17686
+ message: string;
17687
+ };
17429
17688
  } | {
17430
17689
  /** ID of the action attempt. */
17431
17690
  action_attempt_id: string;
@@ -18885,14 +19144,21 @@ export type Routes = {
18885
19144
  warning_code: 'user_identity_missing_phone_number';
18886
19145
  })[];
18887
19146
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
18888
- errors: {
19147
+ errors: ({
18889
19148
  /** Date and time at which Seam created the error. */
18890
19149
  created_at: string;
18891
19150
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18892
19151
  message: string;
18893
19152
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18894
19153
  error_code: 'failed_to_issue';
18895
- }[];
19154
+ } | {
19155
+ /** Date and time at which Seam created the error. */
19156
+ created_at: string;
19157
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19158
+ message: string;
19159
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19160
+ error_code: 'access_not_provisioned';
19161
+ })[];
18896
19162
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
18897
19163
  pending_mutations: ({
18898
19164
  /** Date and time at which the mutation was created. */
@@ -19292,6 +19558,41 @@ export type Routes = {
19292
19558
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19293
19559
  message: string;
19294
19560
  };
19561
+ } | {
19562
+ /** ID of the action attempt. */
19563
+ action_attempt_id: string;
19564
+ status: 'pending';
19565
+ /** Result of the action attempt. Null for pending action attempts. */
19566
+ result: null;
19567
+ /** Errors associated with the action attempt. Null for pending action attempts. */
19568
+ error: null;
19569
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
19570
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
19571
+ } | {
19572
+ /** ID of the action attempt. */
19573
+ action_attempt_id: string;
19574
+ status: 'success';
19575
+ /** Errors associated with the action attempt. Null for successful action attempts. */
19576
+ error: null;
19577
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
19578
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
19579
+ /** Result of the action. */
19580
+ result: {};
19581
+ } | {
19582
+ /** ID of the action attempt. */
19583
+ action_attempt_id: string;
19584
+ status: 'error';
19585
+ /** Result of the action attempt. Null for failed action attempts. */
19586
+ result: null;
19587
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
19588
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
19589
+ /** Error associated with the action. */
19590
+ error: {
19591
+ /** Type of the error. */
19592
+ type: string;
19593
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19594
+ message: string;
19595
+ };
19295
19596
  } | {
19296
19597
  /** ID of the action attempt. */
19297
19598
  action_attempt_id: string;
@@ -19651,14 +19952,21 @@ export type Routes = {
19651
19952
  warning_code: 'user_identity_missing_phone_number';
19652
19953
  })[];
19653
19954
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
19654
- errors: {
19955
+ errors: ({
19655
19956
  /** Date and time at which Seam created the error. */
19656
19957
  created_at: string;
19657
19958
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19658
19959
  message: string;
19659
19960
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19660
19961
  error_code: 'failed_to_issue';
19661
- }[];
19962
+ } | {
19963
+ /** Date and time at which Seam created the error. */
19964
+ created_at: string;
19965
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19966
+ message: string;
19967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19968
+ error_code: 'access_not_provisioned';
19969
+ })[];
19662
19970
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
19663
19971
  pending_mutations: ({
19664
19972
  /** Date and time at which the mutation was created. */
@@ -21660,7 +21968,7 @@ export type Routes = {
21660
21968
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
21661
21969
  })[];
21662
21970
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
21663
- errors: {
21971
+ errors: ({
21664
21972
  /** Date and time at which Seam created the error. */
21665
21973
  created_at: string;
21666
21974
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -21669,7 +21977,14 @@ export type Routes = {
21669
21977
  error_code: 'cannot_create_requested_access_methods';
21670
21978
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
21671
21979
  missing_device_ids?: string[] | undefined;
21672
- }[];
21980
+ } | {
21981
+ /** Date and time at which Seam created the error. */
21982
+ created_at: string;
21983
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
21984
+ message: string;
21985
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21986
+ error_code: 'access_not_provisioned';
21987
+ })[];
21673
21988
  /** ID of the customization profile associated with the Access Grant. */
21674
21989
  customization_profile_id?: string | undefined;
21675
21990
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -21795,14 +22110,21 @@ export type Routes = {
21795
22110
  warning_code: 'user_identity_missing_phone_number';
21796
22111
  })[];
21797
22112
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
21798
- errors: {
22113
+ errors: ({
21799
22114
  /** Date and time at which Seam created the error. */
21800
22115
  created_at: string;
21801
22116
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
21802
22117
  message: string;
21803
22118
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21804
22119
  error_code: 'failed_to_issue';
21805
- }[];
22120
+ } | {
22121
+ /** Date and time at which Seam created the error. */
22122
+ created_at: string;
22123
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22124
+ message: string;
22125
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22126
+ error_code: 'access_not_provisioned';
22127
+ })[];
21806
22128
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
21807
22129
  pending_mutations: ({
21808
22130
  /** Date and time at which the mutation was created. */
@@ -22175,14 +22497,21 @@ export type Routes = {
22175
22497
  warning_code: 'user_identity_missing_phone_number';
22176
22498
  })[];
22177
22499
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
22178
- errors: {
22500
+ errors: ({
22179
22501
  /** Date and time at which Seam created the error. */
22180
22502
  created_at: string;
22181
22503
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22182
22504
  message: string;
22183
22505
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22184
22506
  error_code: 'failed_to_issue';
22185
- }[];
22507
+ } | {
22508
+ /** Date and time at which Seam created the error. */
22509
+ created_at: string;
22510
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22511
+ message: string;
22512
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22513
+ error_code: 'access_not_provisioned';
22514
+ })[];
22186
22515
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
22187
22516
  pending_mutations: ({
22188
22517
  /** Date and time at which the mutation was created. */
@@ -23426,14 +23755,21 @@ export type Routes = {
23426
23755
  warning_code: 'user_identity_missing_phone_number';
23427
23756
  })[];
23428
23757
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
23429
- errors: {
23758
+ errors: ({
23430
23759
  /** Date and time at which Seam created the error. */
23431
23760
  created_at: string;
23432
23761
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
23433
23762
  message: string;
23434
23763
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23435
23764
  error_code: 'failed_to_issue';
23436
- }[];
23765
+ } | {
23766
+ /** Date and time at which Seam created the error. */
23767
+ created_at: string;
23768
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
23769
+ message: string;
23770
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23771
+ error_code: 'access_not_provisioned';
23772
+ })[];
23437
23773
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
23438
23774
  pending_mutations: ({
23439
23775
  /** Date and time at which the mutation was created. */
@@ -23833,6 +24169,41 @@ export type Routes = {
23833
24169
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
23834
24170
  message: string;
23835
24171
  };
24172
+ } | {
24173
+ /** ID of the action attempt. */
24174
+ action_attempt_id: string;
24175
+ status: 'pending';
24176
+ /** Result of the action attempt. Null for pending action attempts. */
24177
+ result: null;
24178
+ /** Errors associated with the action attempt. Null for pending action attempts. */
24179
+ error: null;
24180
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
24181
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
24182
+ } | {
24183
+ /** ID of the action attempt. */
24184
+ action_attempt_id: string;
24185
+ status: 'success';
24186
+ /** Errors associated with the action attempt. Null for successful action attempts. */
24187
+ error: null;
24188
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
24189
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
24190
+ /** Result of the action. */
24191
+ result: {};
24192
+ } | {
24193
+ /** ID of the action attempt. */
24194
+ action_attempt_id: string;
24195
+ status: 'error';
24196
+ /** Result of the action attempt. Null for failed action attempts. */
24197
+ result: null;
24198
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
24199
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
24200
+ /** Error associated with the action. */
24201
+ error: {
24202
+ /** Type of the error. */
24203
+ type: string;
24204
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24205
+ message: string;
24206
+ };
23836
24207
  } | {
23837
24208
  /** ID of the action attempt. */
23838
24209
  action_attempt_id: string;
@@ -24188,14 +24559,21 @@ export type Routes = {
24188
24559
  warning_code: 'user_identity_missing_phone_number';
24189
24560
  })[];
24190
24561
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
24191
- errors: {
24562
+ errors: ({
24192
24563
  /** Date and time at which Seam created the error. */
24193
24564
  created_at: string;
24194
24565
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24195
24566
  message: string;
24196
24567
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24197
24568
  error_code: 'failed_to_issue';
24198
- }[];
24569
+ } | {
24570
+ /** Date and time at which Seam created the error. */
24571
+ created_at: string;
24572
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24573
+ message: string;
24574
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24575
+ error_code: 'access_not_provisioned';
24576
+ })[];
24199
24577
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
24200
24578
  pending_mutations: ({
24201
24579
  /** Date and time at which the mutation was created. */
@@ -24348,14 +24726,21 @@ export type Routes = {
24348
24726
  warning_code: 'user_identity_missing_phone_number';
24349
24727
  })[];
24350
24728
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
24351
- errors: {
24729
+ errors: ({
24352
24730
  /** Date and time at which Seam created the error. */
24353
24731
  created_at: string;
24354
24732
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24355
24733
  message: string;
24356
24734
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24357
24735
  error_code: 'failed_to_issue';
24358
- }[];
24736
+ } | {
24737
+ /** Date and time at which Seam created the error. */
24738
+ created_at: string;
24739
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24740
+ message: string;
24741
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24742
+ error_code: 'access_not_provisioned';
24743
+ })[];
24359
24744
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
24360
24745
  pending_mutations: ({
24361
24746
  /** Date and time at which the mutation was created. */
@@ -28781,14 +29166,21 @@ export type Routes = {
28781
29166
  warning_code: 'user_identity_missing_phone_number';
28782
29167
  })[];
28783
29168
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
28784
- errors: {
29169
+ errors: ({
28785
29170
  /** Date and time at which Seam created the error. */
28786
29171
  created_at: string;
28787
29172
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28788
29173
  message: string;
28789
29174
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28790
29175
  error_code: 'failed_to_issue';
28791
- }[];
29176
+ } | {
29177
+ /** Date and time at which Seam created the error. */
29178
+ created_at: string;
29179
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29180
+ message: string;
29181
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29182
+ error_code: 'access_not_provisioned';
29183
+ })[];
28792
29184
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
28793
29185
  pending_mutations: ({
28794
29186
  /** Date and time at which the mutation was created. */
@@ -29188,6 +29580,41 @@ export type Routes = {
29188
29580
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29189
29581
  message: string;
29190
29582
  };
29583
+ } | {
29584
+ /** ID of the action attempt. */
29585
+ action_attempt_id: string;
29586
+ status: 'pending';
29587
+ /** Result of the action attempt. Null for pending action attempts. */
29588
+ result: null;
29589
+ /** Errors associated with the action attempt. Null for pending action attempts. */
29590
+ error: null;
29591
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
29592
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
29593
+ } | {
29594
+ /** ID of the action attempt. */
29595
+ action_attempt_id: string;
29596
+ status: 'success';
29597
+ /** Errors associated with the action attempt. Null for successful action attempts. */
29598
+ error: null;
29599
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
29600
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
29601
+ /** Result of the action. */
29602
+ result: {};
29603
+ } | {
29604
+ /** ID of the action attempt. */
29605
+ action_attempt_id: string;
29606
+ status: 'error';
29607
+ /** Result of the action attempt. Null for failed action attempts. */
29608
+ result: null;
29609
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
29610
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
29611
+ /** Error associated with the action. */
29612
+ error: {
29613
+ /** Type of the error. */
29614
+ type: string;
29615
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29616
+ message: string;
29617
+ };
29191
29618
  } | {
29192
29619
  /** ID of the action attempt. */
29193
29620
  action_attempt_id: string;
@@ -30736,14 +31163,21 @@ export type Routes = {
30736
31163
  warning_code: 'user_identity_missing_phone_number';
30737
31164
  })[];
30738
31165
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
30739
- errors: {
31166
+ errors: ({
30740
31167
  /** Date and time at which Seam created the error. */
30741
31168
  created_at: string;
30742
31169
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30743
31170
  message: string;
30744
31171
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30745
31172
  error_code: 'failed_to_issue';
30746
- }[];
31173
+ } | {
31174
+ /** Date and time at which Seam created the error. */
31175
+ created_at: string;
31176
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31177
+ message: string;
31178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31179
+ error_code: 'access_not_provisioned';
31180
+ })[];
30747
31181
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
30748
31182
  pending_mutations: ({
30749
31183
  /** Date and time at which the mutation was created. */
@@ -31143,6 +31577,41 @@ export type Routes = {
31143
31577
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31144
31578
  message: string;
31145
31579
  };
31580
+ } | {
31581
+ /** ID of the action attempt. */
31582
+ action_attempt_id: string;
31583
+ status: 'pending';
31584
+ /** Result of the action attempt. Null for pending action attempts. */
31585
+ result: null;
31586
+ /** Errors associated with the action attempt. Null for pending action attempts. */
31587
+ error: null;
31588
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
31589
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
31590
+ } | {
31591
+ /** ID of the action attempt. */
31592
+ action_attempt_id: string;
31593
+ status: 'success';
31594
+ /** Errors associated with the action attempt. Null for successful action attempts. */
31595
+ error: null;
31596
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
31597
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
31598
+ /** Result of the action. */
31599
+ result: {};
31600
+ } | {
31601
+ /** ID of the action attempt. */
31602
+ action_attempt_id: string;
31603
+ status: 'error';
31604
+ /** Result of the action attempt. Null for failed action attempts. */
31605
+ result: null;
31606
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
31607
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
31608
+ /** Error associated with the action. */
31609
+ error: {
31610
+ /** Type of the error. */
31611
+ type: string;
31612
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
31613
+ message: string;
31614
+ };
31146
31615
  } | {
31147
31616
  /** ID of the action attempt. */
31148
31617
  action_attempt_id: string;
@@ -32590,14 +33059,21 @@ export type Routes = {
32590
33059
  warning_code: 'user_identity_missing_phone_number';
32591
33060
  })[];
32592
33061
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
32593
- errors: {
33062
+ errors: ({
32594
33063
  /** Date and time at which Seam created the error. */
32595
33064
  created_at: string;
32596
33065
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32597
33066
  message: string;
32598
33067
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32599
33068
  error_code: 'failed_to_issue';
32600
- }[];
33069
+ } | {
33070
+ /** Date and time at which Seam created the error. */
33071
+ created_at: string;
33072
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
33073
+ message: string;
33074
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
33075
+ error_code: 'access_not_provisioned';
33076
+ })[];
32601
33077
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
32602
33078
  pending_mutations: ({
32603
33079
  /** Date and time at which the mutation was created. */
@@ -32997,6 +33473,41 @@ export type Routes = {
32997
33473
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
32998
33474
  message: string;
32999
33475
  };
33476
+ } | {
33477
+ /** ID of the action attempt. */
33478
+ action_attempt_id: string;
33479
+ status: 'pending';
33480
+ /** Result of the action attempt. Null for pending action attempts. */
33481
+ result: null;
33482
+ /** Errors associated with the action attempt. Null for pending action attempts. */
33483
+ error: null;
33484
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
33485
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
33486
+ } | {
33487
+ /** ID of the action attempt. */
33488
+ action_attempt_id: string;
33489
+ status: 'success';
33490
+ /** Errors associated with the action attempt. Null for successful action attempts. */
33491
+ error: null;
33492
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
33493
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
33494
+ /** Result of the action. */
33495
+ result: {};
33496
+ } | {
33497
+ /** ID of the action attempt. */
33498
+ action_attempt_id: string;
33499
+ status: 'error';
33500
+ /** Result of the action attempt. Null for failed action attempts. */
33501
+ result: null;
33502
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
33503
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
33504
+ /** Error associated with the action. */
33505
+ error: {
33506
+ /** Type of the error. */
33507
+ type: string;
33508
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
33509
+ message: string;
33510
+ };
33000
33511
  } | {
33001
33512
  /** ID of the action attempt. */
33002
33513
  action_attempt_id: string;
@@ -35175,14 +35686,21 @@ export type Routes = {
35175
35686
  warning_code: 'user_identity_missing_phone_number';
35176
35687
  })[];
35177
35688
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
35178
- errors: {
35689
+ errors: ({
35179
35690
  /** Date and time at which Seam created the error. */
35180
35691
  created_at: string;
35181
35692
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35182
35693
  message: string;
35183
35694
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35184
35695
  error_code: 'failed_to_issue';
35185
- }[];
35696
+ } | {
35697
+ /** Date and time at which Seam created the error. */
35698
+ created_at: string;
35699
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35700
+ message: string;
35701
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35702
+ error_code: 'access_not_provisioned';
35703
+ })[];
35186
35704
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
35187
35705
  pending_mutations: ({
35188
35706
  /** Date and time at which the mutation was created. */
@@ -35582,6 +36100,41 @@ export type Routes = {
35582
36100
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
35583
36101
  message: string;
35584
36102
  };
36103
+ } | {
36104
+ /** ID of the action attempt. */
36105
+ action_attempt_id: string;
36106
+ status: 'pending';
36107
+ /** Result of the action attempt. Null for pending action attempts. */
36108
+ result: null;
36109
+ /** Errors associated with the action attempt. Null for pending action attempts. */
36110
+ error: null;
36111
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
36112
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
36113
+ } | {
36114
+ /** ID of the action attempt. */
36115
+ action_attempt_id: string;
36116
+ status: 'success';
36117
+ /** Errors associated with the action attempt. Null for successful action attempts. */
36118
+ error: null;
36119
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
36120
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
36121
+ /** Result of the action. */
36122
+ result: {};
36123
+ } | {
36124
+ /** ID of the action attempt. */
36125
+ action_attempt_id: string;
36126
+ status: 'error';
36127
+ /** Result of the action attempt. Null for failed action attempts. */
36128
+ result: null;
36129
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
36130
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
36131
+ /** Error associated with the action. */
36132
+ error: {
36133
+ /** Type of the error. */
36134
+ type: string;
36135
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36136
+ message: string;
36137
+ };
35585
36138
  } | {
35586
36139
  /** ID of the action attempt. */
35587
36140
  action_attempt_id: string;
@@ -39379,14 +39932,21 @@ export type Routes = {
39379
39932
  warning_code: 'user_identity_missing_phone_number';
39380
39933
  })[];
39381
39934
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
39382
- errors: {
39935
+ errors: ({
39383
39936
  /** Date and time at which Seam created the error. */
39384
39937
  created_at: string;
39385
39938
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39386
39939
  message: string;
39387
39940
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39388
39941
  error_code: 'failed_to_issue';
39389
- }[];
39942
+ } | {
39943
+ /** Date and time at which Seam created the error. */
39944
+ created_at: string;
39945
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39946
+ message: string;
39947
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39948
+ error_code: 'access_not_provisioned';
39949
+ })[];
39390
39950
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
39391
39951
  pending_mutations: ({
39392
39952
  /** Date and time at which the mutation was created. */
@@ -39786,6 +40346,41 @@ export type Routes = {
39786
40346
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39787
40347
  message: string;
39788
40348
  };
40349
+ } | {
40350
+ /** ID of the action attempt. */
40351
+ action_attempt_id: string;
40352
+ status: 'pending';
40353
+ /** Result of the action attempt. Null for pending action attempts. */
40354
+ result: null;
40355
+ /** Errors associated with the action attempt. Null for pending action attempts. */
40356
+ error: null;
40357
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
40358
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
40359
+ } | {
40360
+ /** ID of the action attempt. */
40361
+ action_attempt_id: string;
40362
+ status: 'success';
40363
+ /** Errors associated with the action attempt. Null for successful action attempts. */
40364
+ error: null;
40365
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
40366
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
40367
+ /** Result of the action. */
40368
+ result: {};
40369
+ } | {
40370
+ /** ID of the action attempt. */
40371
+ action_attempt_id: string;
40372
+ status: 'error';
40373
+ /** Result of the action attempt. Null for failed action attempts. */
40374
+ result: null;
40375
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
40376
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
40377
+ /** Error associated with the action. */
40378
+ error: {
40379
+ /** Type of the error. */
40380
+ type: string;
40381
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
40382
+ message: string;
40383
+ };
39789
40384
  } | {
39790
40385
  /** ID of the action attempt. */
39791
40386
  action_attempt_id: string;
@@ -41225,14 +41820,21 @@ export type Routes = {
41225
41820
  warning_code: 'user_identity_missing_phone_number';
41226
41821
  })[];
41227
41822
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
41228
- errors: {
41823
+ errors: ({
41229
41824
  /** Date and time at which Seam created the error. */
41230
41825
  created_at: string;
41231
41826
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41232
41827
  message: string;
41233
41828
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41234
41829
  error_code: 'failed_to_issue';
41235
- }[];
41830
+ } | {
41831
+ /** Date and time at which Seam created the error. */
41832
+ created_at: string;
41833
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41834
+ message: string;
41835
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41836
+ error_code: 'access_not_provisioned';
41837
+ })[];
41236
41838
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
41237
41839
  pending_mutations: ({
41238
41840
  /** Date and time at which the mutation was created. */
@@ -41632,6 +42234,41 @@ export type Routes = {
41632
42234
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41633
42235
  message: string;
41634
42236
  };
42237
+ } | {
42238
+ /** ID of the action attempt. */
42239
+ action_attempt_id: string;
42240
+ status: 'pending';
42241
+ /** Result of the action attempt. Null for pending action attempts. */
42242
+ result: null;
42243
+ /** Errors associated with the action attempt. Null for pending action attempts. */
42244
+ error: null;
42245
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
42246
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
42247
+ } | {
42248
+ /** ID of the action attempt. */
42249
+ action_attempt_id: string;
42250
+ status: 'success';
42251
+ /** Errors associated with the action attempt. Null for successful action attempts. */
42252
+ error: null;
42253
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
42254
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
42255
+ /** Result of the action. */
42256
+ result: {};
42257
+ } | {
42258
+ /** ID of the action attempt. */
42259
+ action_attempt_id: string;
42260
+ status: 'error';
42261
+ /** Result of the action attempt. Null for failed action attempts. */
42262
+ result: null;
42263
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
42264
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
42265
+ /** Error associated with the action. */
42266
+ error: {
42267
+ /** Type of the error. */
42268
+ type: string;
42269
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
42270
+ message: string;
42271
+ };
41635
42272
  } | {
41636
42273
  /** ID of the action attempt. */
41637
42274
  action_attempt_id: string;
@@ -57098,14 +57735,21 @@ export type Routes = {
57098
57735
  warning_code: 'user_identity_missing_phone_number';
57099
57736
  })[];
57100
57737
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
57101
- errors: {
57738
+ errors: ({
57102
57739
  /** Date and time at which Seam created the error. */
57103
57740
  created_at: string;
57104
57741
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57105
57742
  message: string;
57106
57743
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57107
57744
  error_code: 'failed_to_issue';
57108
- }[];
57745
+ } | {
57746
+ /** Date and time at which Seam created the error. */
57747
+ created_at: string;
57748
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57749
+ message: string;
57750
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57751
+ error_code: 'access_not_provisioned';
57752
+ })[];
57109
57753
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
57110
57754
  pending_mutations: ({
57111
57755
  /** Date and time at which the mutation was created. */
@@ -57505,6 +58149,41 @@ export type Routes = {
57505
58149
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57506
58150
  message: string;
57507
58151
  };
58152
+ } | {
58153
+ /** ID of the action attempt. */
58154
+ action_attempt_id: string;
58155
+ status: 'pending';
58156
+ /** Result of the action attempt. Null for pending action attempts. */
58157
+ result: null;
58158
+ /** Errors associated with the action attempt. Null for pending action attempts. */
58159
+ error: null;
58160
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
58161
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
58162
+ } | {
58163
+ /** ID of the action attempt. */
58164
+ action_attempt_id: string;
58165
+ status: 'success';
58166
+ /** Errors associated with the action attempt. Null for successful action attempts. */
58167
+ error: null;
58168
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
58169
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
58170
+ /** Result of the action. */
58171
+ result: {};
58172
+ } | {
58173
+ /** ID of the action attempt. */
58174
+ action_attempt_id: string;
58175
+ status: 'error';
58176
+ /** Result of the action attempt. Null for failed action attempts. */
58177
+ result: null;
58178
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
58179
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
58180
+ /** Error associated with the action. */
58181
+ error: {
58182
+ /** Type of the error. */
58183
+ type: string;
58184
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58185
+ message: string;
58186
+ };
57508
58187
  } | {
57509
58188
  /** ID of the action attempt. */
57510
58189
  action_attempt_id: string;
@@ -65159,14 +65838,21 @@ export type Routes = {
65159
65838
  warning_code: 'user_identity_missing_phone_number';
65160
65839
  })[];
65161
65840
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
65162
- errors: {
65841
+ errors: ({
65163
65842
  /** Date and time at which Seam created the error. */
65164
65843
  created_at: string;
65165
65844
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65166
65845
  message: string;
65167
65846
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65168
65847
  error_code: 'failed_to_issue';
65169
- }[];
65848
+ } | {
65849
+ /** Date and time at which Seam created the error. */
65850
+ created_at: string;
65851
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65852
+ message: string;
65853
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65854
+ error_code: 'access_not_provisioned';
65855
+ })[];
65170
65856
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
65171
65857
  pending_mutations: ({
65172
65858
  /** Date and time at which the mutation was created. */
@@ -65566,6 +66252,41 @@ export type Routes = {
65566
66252
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65567
66253
  message: string;
65568
66254
  };
66255
+ } | {
66256
+ /** ID of the action attempt. */
66257
+ action_attempt_id: string;
66258
+ status: 'pending';
66259
+ /** Result of the action attempt. Null for pending action attempts. */
66260
+ result: null;
66261
+ /** Errors associated with the action attempt. Null for pending action attempts. */
66262
+ error: null;
66263
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
66264
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
66265
+ } | {
66266
+ /** ID of the action attempt. */
66267
+ action_attempt_id: string;
66268
+ status: 'success';
66269
+ /** Errors associated with the action attempt. Null for successful action attempts. */
66270
+ error: null;
66271
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
66272
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
66273
+ /** Result of the action. */
66274
+ result: {};
66275
+ } | {
66276
+ /** ID of the action attempt. */
66277
+ action_attempt_id: string;
66278
+ status: 'error';
66279
+ /** Result of the action attempt. Null for failed action attempts. */
66280
+ result: null;
66281
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
66282
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
66283
+ /** Error associated with the action. */
66284
+ error: {
66285
+ /** Type of the error. */
66286
+ type: string;
66287
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
66288
+ message: string;
66289
+ };
65569
66290
  } | {
65570
66291
  /** ID of the action attempt. */
65571
66292
  action_attempt_id: string;
@@ -67006,14 +67727,21 @@ export type Routes = {
67006
67727
  warning_code: 'user_identity_missing_phone_number';
67007
67728
  })[];
67008
67729
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
67009
- errors: {
67730
+ errors: ({
67010
67731
  /** Date and time at which Seam created the error. */
67011
67732
  created_at: string;
67012
67733
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67013
67734
  message: string;
67014
67735
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67015
67736
  error_code: 'failed_to_issue';
67016
- }[];
67737
+ } | {
67738
+ /** Date and time at which Seam created the error. */
67739
+ created_at: string;
67740
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67741
+ message: string;
67742
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
67743
+ error_code: 'access_not_provisioned';
67744
+ })[];
67017
67745
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
67018
67746
  pending_mutations: ({
67019
67747
  /** Date and time at which the mutation was created. */
@@ -67413,6 +68141,41 @@ export type Routes = {
67413
68141
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
67414
68142
  message: string;
67415
68143
  };
68144
+ } | {
68145
+ /** ID of the action attempt. */
68146
+ action_attempt_id: string;
68147
+ status: 'pending';
68148
+ /** Result of the action attempt. Null for pending action attempts. */
68149
+ result: null;
68150
+ /** Errors associated with the action attempt. Null for pending action attempts. */
68151
+ error: null;
68152
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
68153
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
68154
+ } | {
68155
+ /** ID of the action attempt. */
68156
+ action_attempt_id: string;
68157
+ status: 'success';
68158
+ /** Errors associated with the action attempt. Null for successful action attempts. */
68159
+ error: null;
68160
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
68161
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
68162
+ /** Result of the action. */
68163
+ result: {};
68164
+ } | {
68165
+ /** ID of the action attempt. */
68166
+ action_attempt_id: string;
68167
+ status: 'error';
68168
+ /** Result of the action attempt. Null for failed action attempts. */
68169
+ result: null;
68170
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
68171
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
68172
+ /** Error associated with the action. */
68173
+ error: {
68174
+ /** Type of the error. */
68175
+ type: string;
68176
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68177
+ message: string;
68178
+ };
67416
68179
  } | {
67417
68180
  /** ID of the action attempt. */
67418
68181
  action_attempt_id: string;
@@ -68851,14 +69614,21 @@ export type Routes = {
68851
69614
  warning_code: 'user_identity_missing_phone_number';
68852
69615
  })[];
68853
69616
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
68854
- errors: {
69617
+ errors: ({
68855
69618
  /** Date and time at which Seam created the error. */
68856
69619
  created_at: string;
68857
69620
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68858
69621
  message: string;
68859
69622
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68860
69623
  error_code: 'failed_to_issue';
68861
- }[];
69624
+ } | {
69625
+ /** Date and time at which Seam created the error. */
69626
+ created_at: string;
69627
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69628
+ message: string;
69629
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69630
+ error_code: 'access_not_provisioned';
69631
+ })[];
68862
69632
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
68863
69633
  pending_mutations: ({
68864
69634
  /** Date and time at which the mutation was created. */
@@ -69258,6 +70028,41 @@ export type Routes = {
69258
70028
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69259
70029
  message: string;
69260
70030
  };
70031
+ } | {
70032
+ /** ID of the action attempt. */
70033
+ action_attempt_id: string;
70034
+ status: 'pending';
70035
+ /** Result of the action attempt. Null for pending action attempts. */
70036
+ result: null;
70037
+ /** Errors associated with the action attempt. Null for pending action attempts. */
70038
+ error: null;
70039
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
70040
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
70041
+ } | {
70042
+ /** ID of the action attempt. */
70043
+ action_attempt_id: string;
70044
+ status: 'success';
70045
+ /** Errors associated with the action attempt. Null for successful action attempts. */
70046
+ error: null;
70047
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
70048
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
70049
+ /** Result of the action. */
70050
+ result: {};
70051
+ } | {
70052
+ /** ID of the action attempt. */
70053
+ action_attempt_id: string;
70054
+ status: 'error';
70055
+ /** Result of the action attempt. Null for failed action attempts. */
70056
+ result: null;
70057
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
70058
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
70059
+ /** Error associated with the action. */
70060
+ error: {
70061
+ /** Type of the error. */
70062
+ type: string;
70063
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70064
+ message: string;
70065
+ };
69261
70066
  } | {
69262
70067
  /** ID of the action attempt. */
69263
70068
  action_attempt_id: string;
@@ -70698,14 +71503,21 @@ export type Routes = {
70698
71503
  warning_code: 'user_identity_missing_phone_number';
70699
71504
  })[];
70700
71505
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
70701
- errors: {
71506
+ errors: ({
70702
71507
  /** Date and time at which Seam created the error. */
70703
71508
  created_at: string;
70704
71509
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70705
71510
  message: string;
70706
71511
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
70707
71512
  error_code: 'failed_to_issue';
70708
- }[];
71513
+ } | {
71514
+ /** Date and time at which Seam created the error. */
71515
+ created_at: string;
71516
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71517
+ message: string;
71518
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71519
+ error_code: 'access_not_provisioned';
71520
+ })[];
70709
71521
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
70710
71522
  pending_mutations: ({
70711
71523
  /** Date and time at which the mutation was created. */
@@ -71105,6 +71917,41 @@ export type Routes = {
71105
71917
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71106
71918
  message: string;
71107
71919
  };
71920
+ } | {
71921
+ /** ID of the action attempt. */
71922
+ action_attempt_id: string;
71923
+ status: 'pending';
71924
+ /** Result of the action attempt. Null for pending action attempts. */
71925
+ result: null;
71926
+ /** Errors associated with the action attempt. Null for pending action attempts. */
71927
+ error: null;
71928
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
71929
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
71930
+ } | {
71931
+ /** ID of the action attempt. */
71932
+ action_attempt_id: string;
71933
+ status: 'success';
71934
+ /** Errors associated with the action attempt. Null for successful action attempts. */
71935
+ error: null;
71936
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
71937
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
71938
+ /** Result of the action. */
71939
+ result: {};
71940
+ } | {
71941
+ /** ID of the action attempt. */
71942
+ action_attempt_id: string;
71943
+ status: 'error';
71944
+ /** Result of the action attempt. Null for failed action attempts. */
71945
+ result: null;
71946
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
71947
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
71948
+ /** Error associated with the action. */
71949
+ error: {
71950
+ /** Type of the error. */
71951
+ type: string;
71952
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71953
+ message: string;
71954
+ };
71108
71955
  } | {
71109
71956
  /** ID of the action attempt. */
71110
71957
  action_attempt_id: string;
@@ -75706,14 +76553,21 @@ export type Routes = {
75706
76553
  warning_code: 'user_identity_missing_phone_number';
75707
76554
  })[];
75708
76555
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
75709
- errors: {
76556
+ errors: ({
75710
76557
  /** Date and time at which Seam created the error. */
75711
76558
  created_at: string;
75712
76559
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
75713
76560
  message: string;
75714
76561
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
75715
76562
  error_code: 'failed_to_issue';
75716
- }[];
76563
+ } | {
76564
+ /** Date and time at which Seam created the error. */
76565
+ created_at: string;
76566
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
76567
+ message: string;
76568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76569
+ error_code: 'access_not_provisioned';
76570
+ })[];
75717
76571
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
75718
76572
  pending_mutations: ({
75719
76573
  /** Date and time at which the mutation was created. */
@@ -76113,6 +76967,41 @@ export type Routes = {
76113
76967
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
76114
76968
  message: string;
76115
76969
  };
76970
+ } | {
76971
+ /** ID of the action attempt. */
76972
+ action_attempt_id: string;
76973
+ status: 'pending';
76974
+ /** Result of the action attempt. Null for pending action attempts. */
76975
+ result: null;
76976
+ /** Errors associated with the action attempt. Null for pending action attempts. */
76977
+ error: null;
76978
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
76979
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
76980
+ } | {
76981
+ /** ID of the action attempt. */
76982
+ action_attempt_id: string;
76983
+ status: 'success';
76984
+ /** Errors associated with the action attempt. Null for successful action attempts. */
76985
+ error: null;
76986
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
76987
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
76988
+ /** Result of the action. */
76989
+ result: {};
76990
+ } | {
76991
+ /** ID of the action attempt. */
76992
+ action_attempt_id: string;
76993
+ status: 'error';
76994
+ /** Result of the action attempt. Null for failed action attempts. */
76995
+ result: null;
76996
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
76997
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
76998
+ /** Error associated with the action. */
76999
+ error: {
77000
+ /** Type of the error. */
77001
+ type: string;
77002
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77003
+ message: string;
77004
+ };
76116
77005
  } | {
76117
77006
  /** ID of the action attempt. */
76118
77007
  action_attempt_id: string;
@@ -77572,14 +78461,21 @@ export type Routes = {
77572
78461
  warning_code: 'user_identity_missing_phone_number';
77573
78462
  })[];
77574
78463
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
77575
- errors: {
78464
+ errors: ({
77576
78465
  /** Date and time at which Seam created the error. */
77577
78466
  created_at: string;
77578
78467
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77579
78468
  message: string;
77580
78469
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
77581
78470
  error_code: 'failed_to_issue';
77582
- }[];
78471
+ } | {
78472
+ /** Date and time at which Seam created the error. */
78473
+ created_at: string;
78474
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
78475
+ message: string;
78476
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78477
+ error_code: 'access_not_provisioned';
78478
+ })[];
77583
78479
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
77584
78480
  pending_mutations: ({
77585
78481
  /** Date and time at which the mutation was created. */
@@ -77979,6 +78875,41 @@ export type Routes = {
77979
78875
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77980
78876
  message: string;
77981
78877
  };
78878
+ } | {
78879
+ /** ID of the action attempt. */
78880
+ action_attempt_id: string;
78881
+ status: 'pending';
78882
+ /** Result of the action attempt. Null for pending action attempts. */
78883
+ result: null;
78884
+ /** Errors associated with the action attempt. Null for pending action attempts. */
78885
+ error: null;
78886
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
78887
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
78888
+ } | {
78889
+ /** ID of the action attempt. */
78890
+ action_attempt_id: string;
78891
+ status: 'success';
78892
+ /** Errors associated with the action attempt. Null for successful action attempts. */
78893
+ error: null;
78894
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
78895
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
78896
+ /** Result of the action. */
78897
+ result: {};
78898
+ } | {
78899
+ /** ID of the action attempt. */
78900
+ action_attempt_id: string;
78901
+ status: 'error';
78902
+ /** Result of the action attempt. Null for failed action attempts. */
78903
+ result: null;
78904
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
78905
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
78906
+ /** Error associated with the action. */
78907
+ error: {
78908
+ /** Type of the error. */
78909
+ type: string;
78910
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
78911
+ message: string;
78912
+ };
77982
78913
  } | {
77983
78914
  /** ID of the action attempt. */
77984
78915
  action_attempt_id: string;
@@ -79494,14 +80425,21 @@ export type Routes = {
79494
80425
  warning_code: 'user_identity_missing_phone_number';
79495
80426
  })[];
79496
80427
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
79497
- errors: {
80428
+ errors: ({
79498
80429
  /** Date and time at which Seam created the error. */
79499
80430
  created_at: string;
79500
80431
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
79501
80432
  message: string;
79502
80433
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79503
80434
  error_code: 'failed_to_issue';
79504
- }[];
80435
+ } | {
80436
+ /** Date and time at which Seam created the error. */
80437
+ created_at: string;
80438
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
80439
+ message: string;
80440
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
80441
+ error_code: 'access_not_provisioned';
80442
+ })[];
79505
80443
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
79506
80444
  pending_mutations: ({
79507
80445
  /** Date and time at which the mutation was created. */
@@ -79901,6 +80839,41 @@ export type Routes = {
79901
80839
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
79902
80840
  message: string;
79903
80841
  };
80842
+ } | {
80843
+ /** ID of the action attempt. */
80844
+ action_attempt_id: string;
80845
+ status: 'pending';
80846
+ /** Result of the action attempt. Null for pending action attempts. */
80847
+ result: null;
80848
+ /** Errors associated with the action attempt. Null for pending action attempts. */
80849
+ error: null;
80850
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
80851
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
80852
+ } | {
80853
+ /** ID of the action attempt. */
80854
+ action_attempt_id: string;
80855
+ status: 'success';
80856
+ /** Errors associated with the action attempt. Null for successful action attempts. */
80857
+ error: null;
80858
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
80859
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
80860
+ /** Result of the action. */
80861
+ result: {};
80862
+ } | {
80863
+ /** ID of the action attempt. */
80864
+ action_attempt_id: string;
80865
+ status: 'error';
80866
+ /** Result of the action attempt. Null for failed action attempts. */
80867
+ result: null;
80868
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
80869
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
80870
+ /** Error associated with the action. */
80871
+ error: {
80872
+ /** Type of the error. */
80873
+ type: string;
80874
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
80875
+ message: string;
80876
+ };
79904
80877
  } | {
79905
80878
  /** ID of the action attempt. */
79906
80879
  action_attempt_id: string;
@@ -81982,7 +82955,7 @@ export type Routes = {
81982
82955
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
81983
82956
  })[];
81984
82957
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
81985
- errors: {
82958
+ errors: ({
81986
82959
  /** Date and time at which Seam created the error. */
81987
82960
  created_at: string;
81988
82961
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -81991,7 +82964,14 @@ export type Routes = {
81991
82964
  error_code: 'cannot_create_requested_access_methods';
81992
82965
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
81993
82966
  missing_device_ids?: string[] | undefined;
81994
- }[];
82967
+ } | {
82968
+ /** Date and time at which Seam created the error. */
82969
+ created_at: string;
82970
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82971
+ message: string;
82972
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
82973
+ error_code: 'access_not_provisioned';
82974
+ })[];
81995
82975
  /** ID of the customization profile associated with the Access Grant. */
81996
82976
  customization_profile_id?: string | undefined;
81997
82977
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -83228,14 +84208,21 @@ export type Routes = {
83228
84208
  warning_code: 'user_identity_missing_phone_number';
83229
84209
  })[];
83230
84210
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
83231
- errors: {
84211
+ errors: ({
83232
84212
  /** Date and time at which Seam created the error. */
83233
84213
  created_at: string;
83234
84214
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83235
84215
  message: string;
83236
84216
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83237
84217
  error_code: 'failed_to_issue';
83238
- }[];
84218
+ } | {
84219
+ /** Date and time at which Seam created the error. */
84220
+ created_at: string;
84221
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84222
+ message: string;
84223
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84224
+ error_code: 'access_not_provisioned';
84225
+ })[];
83239
84226
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
83240
84227
  pending_mutations: ({
83241
84228
  /** Date and time at which the mutation was created. */
@@ -83635,6 +84622,41 @@ export type Routes = {
83635
84622
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83636
84623
  message: string;
83637
84624
  };
84625
+ } | {
84626
+ /** ID of the action attempt. */
84627
+ action_attempt_id: string;
84628
+ status: 'pending';
84629
+ /** Result of the action attempt. Null for pending action attempts. */
84630
+ result: null;
84631
+ /** Errors associated with the action attempt. Null for pending action attempts. */
84632
+ error: null;
84633
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
84634
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
84635
+ } | {
84636
+ /** ID of the action attempt. */
84637
+ action_attempt_id: string;
84638
+ status: 'success';
84639
+ /** Errors associated with the action attempt. Null for successful action attempts. */
84640
+ error: null;
84641
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
84642
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
84643
+ /** Result of the action. */
84644
+ result: {};
84645
+ } | {
84646
+ /** ID of the action attempt. */
84647
+ action_attempt_id: string;
84648
+ status: 'error';
84649
+ /** Result of the action attempt. Null for failed action attempts. */
84650
+ result: null;
84651
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
84652
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
84653
+ /** Error associated with the action. */
84654
+ error: {
84655
+ /** Type of the error. */
84656
+ type: string;
84657
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84658
+ message: string;
84659
+ };
83638
84660
  } | {
83639
84661
  /** ID of the action attempt. */
83640
84662
  action_attempt_id: string;
@@ -89000,7 +90022,7 @@ export type Routes = {
89000
90022
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
89001
90023
  })[];
89002
90024
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
89003
- errors: {
90025
+ errors: ({
89004
90026
  /** Date and time at which Seam created the error. */
89005
90027
  created_at: string;
89006
90028
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -89009,7 +90031,14 @@ export type Routes = {
89009
90031
  error_code: 'cannot_create_requested_access_methods';
89010
90032
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
89011
90033
  missing_device_ids?: string[] | undefined;
89012
- }[];
90034
+ } | {
90035
+ /** Date and time at which Seam created the error. */
90036
+ created_at: string;
90037
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
90038
+ message: string;
90039
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
90040
+ error_code: 'access_not_provisioned';
90041
+ })[];
89013
90042
  /** ID of the customization profile associated with the Access Grant. */
89014
90043
  customization_profile_id?: string | undefined;
89015
90044
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -89521,7 +90550,7 @@ export type Routes = {
89521
90550
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
89522
90551
  })[];
89523
90552
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
89524
- errors: {
90553
+ errors: ({
89525
90554
  /** Date and time at which Seam created the error. */
89526
90555
  created_at: string;
89527
90556
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -89530,7 +90559,14 @@ export type Routes = {
89530
90559
  error_code: 'cannot_create_requested_access_methods';
89531
90560
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
89532
90561
  missing_device_ids?: string[] | undefined;
89533
- }[];
90562
+ } | {
90563
+ /** Date and time at which Seam created the error. */
90564
+ created_at: string;
90565
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
90566
+ message: string;
90567
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
90568
+ error_code: 'access_not_provisioned';
90569
+ })[];
89534
90570
  /** ID of the customization profile associated with the Access Grant. */
89535
90571
  customization_profile_id?: string | undefined;
89536
90572
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -96541,14 +97577,21 @@ export type Routes = {
96541
97577
  warning_code: 'user_identity_missing_phone_number';
96542
97578
  })[];
96543
97579
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
96544
- errors: {
97580
+ errors: ({
96545
97581
  /** Date and time at which Seam created the error. */
96546
97582
  created_at: string;
96547
97583
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
96548
97584
  message: string;
96549
97585
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
96550
97586
  error_code: 'failed_to_issue';
96551
- }[];
97587
+ } | {
97588
+ /** Date and time at which Seam created the error. */
97589
+ created_at: string;
97590
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
97591
+ message: string;
97592
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
97593
+ error_code: 'access_not_provisioned';
97594
+ })[];
96552
97595
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
96553
97596
  pending_mutations: ({
96554
97597
  /** Date and time at which the mutation was created. */
@@ -98006,14 +99049,21 @@ export type Routes = {
98006
99049
  warning_code: 'user_identity_missing_phone_number';
98007
99050
  })[];
98008
99051
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
98009
- errors: {
99052
+ errors: ({
98010
99053
  /** Date and time at which Seam created the error. */
98011
99054
  created_at: string;
98012
99055
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
98013
99056
  message: string;
98014
99057
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
98015
99058
  error_code: 'failed_to_issue';
98016
- }[];
99059
+ } | {
99060
+ /** Date and time at which Seam created the error. */
99061
+ created_at: string;
99062
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99063
+ message: string;
99064
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99065
+ error_code: 'access_not_provisioned';
99066
+ })[];
98017
99067
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
98018
99068
  pending_mutations: ({
98019
99069
  /** Date and time at which the mutation was created. */
@@ -98413,6 +99463,41 @@ export type Routes = {
98413
99463
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
98414
99464
  message: string;
98415
99465
  };
99466
+ } | {
99467
+ /** ID of the action attempt. */
99468
+ action_attempt_id: string;
99469
+ status: 'pending';
99470
+ /** Result of the action attempt. Null for pending action attempts. */
99471
+ result: null;
99472
+ /** Errors associated with the action attempt. Null for pending action attempts. */
99473
+ error: null;
99474
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
99475
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
99476
+ } | {
99477
+ /** ID of the action attempt. */
99478
+ action_attempt_id: string;
99479
+ status: 'success';
99480
+ /** Errors associated with the action attempt. Null for successful action attempts. */
99481
+ error: null;
99482
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
99483
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
99484
+ /** Result of the action. */
99485
+ result: {};
99486
+ } | {
99487
+ /** ID of the action attempt. */
99488
+ action_attempt_id: string;
99489
+ status: 'error';
99490
+ /** Result of the action attempt. Null for failed action attempts. */
99491
+ result: null;
99492
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
99493
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
99494
+ /** Error associated with the action. */
99495
+ error: {
99496
+ /** Type of the error. */
99497
+ type: string;
99498
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99499
+ message: string;
99500
+ };
98416
99501
  } | {
98417
99502
  /** ID of the action attempt. */
98418
99503
  action_attempt_id: string;
@@ -99853,14 +100938,21 @@ export type Routes = {
99853
100938
  warning_code: 'user_identity_missing_phone_number';
99854
100939
  })[];
99855
100940
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
99856
- errors: {
100941
+ errors: ({
99857
100942
  /** Date and time at which Seam created the error. */
99858
100943
  created_at: string;
99859
100944
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99860
100945
  message: string;
99861
100946
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99862
100947
  error_code: 'failed_to_issue';
99863
- }[];
100948
+ } | {
100949
+ /** Date and time at which Seam created the error. */
100950
+ created_at: string;
100951
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100952
+ message: string;
100953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100954
+ error_code: 'access_not_provisioned';
100955
+ })[];
99864
100956
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
99865
100957
  pending_mutations: ({
99866
100958
  /** Date and time at which the mutation was created. */
@@ -100260,6 +101352,41 @@ export type Routes = {
100260
101352
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100261
101353
  message: string;
100262
101354
  };
101355
+ } | {
101356
+ /** ID of the action attempt. */
101357
+ action_attempt_id: string;
101358
+ status: 'pending';
101359
+ /** Result of the action attempt. Null for pending action attempts. */
101360
+ result: null;
101361
+ /** Errors associated with the action attempt. Null for pending action attempts. */
101362
+ error: null;
101363
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
101364
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
101365
+ } | {
101366
+ /** ID of the action attempt. */
101367
+ action_attempt_id: string;
101368
+ status: 'success';
101369
+ /** Errors associated with the action attempt. Null for successful action attempts. */
101370
+ error: null;
101371
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
101372
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
101373
+ /** Result of the action. */
101374
+ result: {};
101375
+ } | {
101376
+ /** ID of the action attempt. */
101377
+ action_attempt_id: string;
101378
+ status: 'error';
101379
+ /** Result of the action attempt. Null for failed action attempts. */
101380
+ result: null;
101381
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
101382
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
101383
+ /** Error associated with the action. */
101384
+ error: {
101385
+ /** Type of the error. */
101386
+ type: string;
101387
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101388
+ message: string;
101389
+ };
100263
101390
  } | {
100264
101391
  /** ID of the action attempt. */
100265
101392
  action_attempt_id: string;
@@ -101704,14 +102831,21 @@ export type Routes = {
101704
102831
  warning_code: 'user_identity_missing_phone_number';
101705
102832
  })[];
101706
102833
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
101707
- errors: {
102834
+ errors: ({
101708
102835
  /** Date and time at which Seam created the error. */
101709
102836
  created_at: string;
101710
102837
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101711
102838
  message: string;
101712
102839
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
101713
102840
  error_code: 'failed_to_issue';
101714
- }[];
102841
+ } | {
102842
+ /** Date and time at which Seam created the error. */
102843
+ created_at: string;
102844
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
102845
+ message: string;
102846
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
102847
+ error_code: 'access_not_provisioned';
102848
+ })[];
101715
102849
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
101716
102850
  pending_mutations: ({
101717
102851
  /** Date and time at which the mutation was created. */
@@ -102111,6 +103245,41 @@ export type Routes = {
102111
103245
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
102112
103246
  message: string;
102113
103247
  };
103248
+ } | {
103249
+ /** ID of the action attempt. */
103250
+ action_attempt_id: string;
103251
+ status: 'pending';
103252
+ /** Result of the action attempt. Null for pending action attempts. */
103253
+ result: null;
103254
+ /** Errors associated with the action attempt. Null for pending action attempts. */
103255
+ error: null;
103256
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
103257
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
103258
+ } | {
103259
+ /** ID of the action attempt. */
103260
+ action_attempt_id: string;
103261
+ status: 'success';
103262
+ /** Errors associated with the action attempt. Null for successful action attempts. */
103263
+ error: null;
103264
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
103265
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
103266
+ /** Result of the action. */
103267
+ result: {};
103268
+ } | {
103269
+ /** ID of the action attempt. */
103270
+ action_attempt_id: string;
103271
+ status: 'error';
103272
+ /** Result of the action attempt. Null for failed action attempts. */
103273
+ result: null;
103274
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
103275
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
103276
+ /** Error associated with the action. */
103277
+ error: {
103278
+ /** Type of the error. */
103279
+ type: string;
103280
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
103281
+ message: string;
103282
+ };
102114
103283
  } | {
102115
103284
  /** ID of the action attempt. */
102116
103285
  action_attempt_id: string;
@@ -103661,14 +104830,21 @@ export type Routes = {
103661
104830
  warning_code: 'user_identity_missing_phone_number';
103662
104831
  })[];
103663
104832
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
103664
- errors: {
104833
+ errors: ({
103665
104834
  /** Date and time at which Seam created the error. */
103666
104835
  created_at: string;
103667
104836
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
103668
104837
  message: string;
103669
104838
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
103670
104839
  error_code: 'failed_to_issue';
103671
- }[];
104840
+ } | {
104841
+ /** Date and time at which Seam created the error. */
104842
+ created_at: string;
104843
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
104844
+ message: string;
104845
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
104846
+ error_code: 'access_not_provisioned';
104847
+ })[];
103672
104848
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
103673
104849
  pending_mutations: ({
103674
104850
  /** Date and time at which the mutation was created. */
@@ -104068,6 +105244,41 @@ export type Routes = {
104068
105244
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
104069
105245
  message: string;
104070
105246
  };
105247
+ } | {
105248
+ /** ID of the action attempt. */
105249
+ action_attempt_id: string;
105250
+ status: 'pending';
105251
+ /** Result of the action attempt. Null for pending action attempts. */
105252
+ result: null;
105253
+ /** Errors associated with the action attempt. Null for pending action attempts. */
105254
+ error: null;
105255
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
105256
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
105257
+ } | {
105258
+ /** ID of the action attempt. */
105259
+ action_attempt_id: string;
105260
+ status: 'success';
105261
+ /** Errors associated with the action attempt. Null for successful action attempts. */
105262
+ error: null;
105263
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
105264
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
105265
+ /** Result of the action. */
105266
+ result: {};
105267
+ } | {
105268
+ /** ID of the action attempt. */
105269
+ action_attempt_id: string;
105270
+ status: 'error';
105271
+ /** Result of the action attempt. Null for failed action attempts. */
105272
+ result: null;
105273
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
105274
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
105275
+ /** Error associated with the action. */
105276
+ error: {
105277
+ /** Type of the error. */
105278
+ type: string;
105279
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
105280
+ message: string;
105281
+ };
104071
105282
  } | {
104072
105283
  /** ID of the action attempt. */
104073
105284
  action_attempt_id: string;
@@ -107087,14 +108298,21 @@ export type Routes = {
107087
108298
  warning_code: 'user_identity_missing_phone_number';
107088
108299
  })[];
107089
108300
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
107090
- errors: {
108301
+ errors: ({
107091
108302
  /** Date and time at which Seam created the error. */
107092
108303
  created_at: string;
107093
108304
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107094
108305
  message: string;
107095
108306
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107096
108307
  error_code: 'failed_to_issue';
107097
- }[];
108308
+ } | {
108309
+ /** Date and time at which Seam created the error. */
108310
+ created_at: string;
108311
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108312
+ message: string;
108313
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108314
+ error_code: 'access_not_provisioned';
108315
+ })[];
107098
108316
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
107099
108317
  pending_mutations: ({
107100
108318
  /** Date and time at which the mutation was created. */
@@ -107494,6 +108712,41 @@ export type Routes = {
107494
108712
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107495
108713
  message: string;
107496
108714
  };
108715
+ } | {
108716
+ /** ID of the action attempt. */
108717
+ action_attempt_id: string;
108718
+ status: 'pending';
108719
+ /** Result of the action attempt. Null for pending action attempts. */
108720
+ result: null;
108721
+ /** Errors associated with the action attempt. Null for pending action attempts. */
108722
+ error: null;
108723
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
108724
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
108725
+ } | {
108726
+ /** ID of the action attempt. */
108727
+ action_attempt_id: string;
108728
+ status: 'success';
108729
+ /** Errors associated with the action attempt. Null for successful action attempts. */
108730
+ error: null;
108731
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
108732
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
108733
+ /** Result of the action. */
108734
+ result: {};
108735
+ } | {
108736
+ /** ID of the action attempt. */
108737
+ action_attempt_id: string;
108738
+ status: 'error';
108739
+ /** Result of the action attempt. Null for failed action attempts. */
108740
+ result: null;
108741
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
108742
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
108743
+ /** Error associated with the action. */
108744
+ error: {
108745
+ /** Type of the error. */
108746
+ type: string;
108747
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108748
+ message: string;
108749
+ };
107497
108750
  } | {
107498
108751
  /** ID of the action attempt. */
107499
108752
  action_attempt_id: string;
@@ -108942,14 +110195,21 @@ export type Routes = {
108942
110195
  warning_code: 'user_identity_missing_phone_number';
108943
110196
  })[];
108944
110197
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
108945
- errors: {
110198
+ errors: ({
108946
110199
  /** Date and time at which Seam created the error. */
108947
110200
  created_at: string;
108948
110201
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108949
110202
  message: string;
108950
110203
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108951
110204
  error_code: 'failed_to_issue';
108952
- }[];
110205
+ } | {
110206
+ /** Date and time at which Seam created the error. */
110207
+ created_at: string;
110208
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
110209
+ message: string;
110210
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
110211
+ error_code: 'access_not_provisioned';
110212
+ })[];
108953
110213
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
108954
110214
  pending_mutations: ({
108955
110215
  /** Date and time at which the mutation was created. */
@@ -109349,6 +110609,41 @@ export type Routes = {
109349
110609
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
109350
110610
  message: string;
109351
110611
  };
110612
+ } | {
110613
+ /** ID of the action attempt. */
110614
+ action_attempt_id: string;
110615
+ status: 'pending';
110616
+ /** Result of the action attempt. Null for pending action attempts. */
110617
+ result: null;
110618
+ /** Errors associated with the action attempt. Null for pending action attempts. */
110619
+ error: null;
110620
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
110621
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
110622
+ } | {
110623
+ /** ID of the action attempt. */
110624
+ action_attempt_id: string;
110625
+ status: 'success';
110626
+ /** Errors associated with the action attempt. Null for successful action attempts. */
110627
+ error: null;
110628
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
110629
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
110630
+ /** Result of the action. */
110631
+ result: {};
110632
+ } | {
110633
+ /** ID of the action attempt. */
110634
+ action_attempt_id: string;
110635
+ status: 'error';
110636
+ /** Result of the action attempt. Null for failed action attempts. */
110637
+ result: null;
110638
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
110639
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
110640
+ /** Error associated with the action. */
110641
+ error: {
110642
+ /** Type of the error. */
110643
+ type: string;
110644
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
110645
+ message: string;
110646
+ };
109352
110647
  } | {
109353
110648
  /** ID of the action attempt. */
109354
110649
  action_attempt_id: string;
@@ -113899,14 +115194,21 @@ export type Routes = {
113899
115194
  warning_code: 'user_identity_missing_phone_number';
113900
115195
  })[];
113901
115196
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
113902
- errors: {
115197
+ errors: ({
113903
115198
  /** Date and time at which Seam created the error. */
113904
115199
  created_at: string;
113905
115200
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
113906
115201
  message: string;
113907
115202
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
113908
115203
  error_code: 'failed_to_issue';
113909
- }[];
115204
+ } | {
115205
+ /** Date and time at which Seam created the error. */
115206
+ created_at: string;
115207
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
115208
+ message: string;
115209
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
115210
+ error_code: 'access_not_provisioned';
115211
+ })[];
113910
115212
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
113911
115213
  pending_mutations: ({
113912
115214
  /** Date and time at which the mutation was created. */
@@ -114306,6 +115608,41 @@ export type Routes = {
114306
115608
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
114307
115609
  message: string;
114308
115610
  };
115611
+ } | {
115612
+ /** ID of the action attempt. */
115613
+ action_attempt_id: string;
115614
+ status: 'pending';
115615
+ /** Result of the action attempt. Null for pending action attempts. */
115616
+ result: null;
115617
+ /** Errors associated with the action attempt. Null for pending action attempts. */
115618
+ error: null;
115619
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
115620
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
115621
+ } | {
115622
+ /** ID of the action attempt. */
115623
+ action_attempt_id: string;
115624
+ status: 'success';
115625
+ /** Errors associated with the action attempt. Null for successful action attempts. */
115626
+ error: null;
115627
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
115628
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
115629
+ /** Result of the action. */
115630
+ result: {};
115631
+ } | {
115632
+ /** ID of the action attempt. */
115633
+ action_attempt_id: string;
115634
+ status: 'error';
115635
+ /** Result of the action attempt. Null for failed action attempts. */
115636
+ result: null;
115637
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
115638
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
115639
+ /** Error associated with the action. */
115640
+ error: {
115641
+ /** Type of the error. */
115642
+ type: string;
115643
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
115644
+ message: string;
115645
+ };
114309
115646
  } | {
114310
115647
  /** ID of the action attempt. */
114311
115648
  action_attempt_id: string;
@@ -115955,14 +117292,21 @@ export type Routes = {
115955
117292
  warning_code: 'user_identity_missing_phone_number';
115956
117293
  })[];
115957
117294
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
115958
- errors: {
117295
+ errors: ({
115959
117296
  /** Date and time at which Seam created the error. */
115960
117297
  created_at: string;
115961
117298
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
115962
117299
  message: string;
115963
117300
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
115964
117301
  error_code: 'failed_to_issue';
115965
- }[];
117302
+ } | {
117303
+ /** Date and time at which Seam created the error. */
117304
+ created_at: string;
117305
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117306
+ message: string;
117307
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117308
+ error_code: 'access_not_provisioned';
117309
+ })[];
115966
117310
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
115967
117311
  pending_mutations: ({
115968
117312
  /** Date and time at which the mutation was created. */
@@ -116362,6 +117706,41 @@ export type Routes = {
116362
117706
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
116363
117707
  message: string;
116364
117708
  };
117709
+ } | {
117710
+ /** ID of the action attempt. */
117711
+ action_attempt_id: string;
117712
+ status: 'pending';
117713
+ /** Result of the action attempt. Null for pending action attempts. */
117714
+ result: null;
117715
+ /** Errors associated with the action attempt. Null for pending action attempts. */
117716
+ error: null;
117717
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
117718
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
117719
+ } | {
117720
+ /** ID of the action attempt. */
117721
+ action_attempt_id: string;
117722
+ status: 'success';
117723
+ /** Errors associated with the action attempt. Null for successful action attempts. */
117724
+ error: null;
117725
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
117726
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
117727
+ /** Result of the action. */
117728
+ result: {};
117729
+ } | {
117730
+ /** ID of the action attempt. */
117731
+ action_attempt_id: string;
117732
+ status: 'error';
117733
+ /** Result of the action attempt. Null for failed action attempts. */
117734
+ result: null;
117735
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
117736
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
117737
+ /** Error associated with the action. */
117738
+ error: {
117739
+ /** Type of the error. */
117740
+ type: string;
117741
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117742
+ message: string;
117743
+ };
116365
117744
  } | {
116366
117745
  /** ID of the action attempt. */
116367
117746
  action_attempt_id: string;
@@ -117833,14 +119212,21 @@ export type Routes = {
117833
119212
  warning_code: 'user_identity_missing_phone_number';
117834
119213
  })[];
117835
119214
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
117836
- errors: {
119215
+ errors: ({
117837
119216
  /** Date and time at which Seam created the error. */
117838
119217
  created_at: string;
117839
119218
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117840
119219
  message: string;
117841
119220
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117842
119221
  error_code: 'failed_to_issue';
117843
- }[];
119222
+ } | {
119223
+ /** Date and time at which Seam created the error. */
119224
+ created_at: string;
119225
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119226
+ message: string;
119227
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119228
+ error_code: 'access_not_provisioned';
119229
+ })[];
117844
119230
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
117845
119231
  pending_mutations: ({
117846
119232
  /** Date and time at which the mutation was created. */
@@ -118240,6 +119626,41 @@ export type Routes = {
118240
119626
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118241
119627
  message: string;
118242
119628
  };
119629
+ } | {
119630
+ /** ID of the action attempt. */
119631
+ action_attempt_id: string;
119632
+ status: 'pending';
119633
+ /** Result of the action attempt. Null for pending action attempts. */
119634
+ result: null;
119635
+ /** Errors associated with the action attempt. Null for pending action attempts. */
119636
+ error: null;
119637
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
119638
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
119639
+ } | {
119640
+ /** ID of the action attempt. */
119641
+ action_attempt_id: string;
119642
+ status: 'success';
119643
+ /** Errors associated with the action attempt. Null for successful action attempts. */
119644
+ error: null;
119645
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
119646
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
119647
+ /** Result of the action. */
119648
+ result: {};
119649
+ } | {
119650
+ /** ID of the action attempt. */
119651
+ action_attempt_id: string;
119652
+ status: 'error';
119653
+ /** Result of the action attempt. Null for failed action attempts. */
119654
+ result: null;
119655
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
119656
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
119657
+ /** Error associated with the action. */
119658
+ error: {
119659
+ /** Type of the error. */
119660
+ type: string;
119661
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119662
+ message: string;
119663
+ };
118243
119664
  } | {
118244
119665
  /** ID of the action attempt. */
118245
119666
  action_attempt_id: string;
@@ -119823,14 +121244,21 @@ export type Routes = {
119823
121244
  warning_code: 'user_identity_missing_phone_number';
119824
121245
  })[];
119825
121246
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
119826
- errors: {
121247
+ errors: ({
119827
121248
  /** Date and time at which Seam created the error. */
119828
121249
  created_at: string;
119829
121250
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119830
121251
  message: string;
119831
121252
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119832
121253
  error_code: 'failed_to_issue';
119833
- }[];
121254
+ } | {
121255
+ /** Date and time at which Seam created the error. */
121256
+ created_at: string;
121257
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121258
+ message: string;
121259
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121260
+ error_code: 'access_not_provisioned';
121261
+ })[];
119834
121262
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
119835
121263
  pending_mutations: ({
119836
121264
  /** Date and time at which the mutation was created. */
@@ -120230,6 +121658,41 @@ export type Routes = {
120230
121658
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
120231
121659
  message: string;
120232
121660
  };
121661
+ } | {
121662
+ /** ID of the action attempt. */
121663
+ action_attempt_id: string;
121664
+ status: 'pending';
121665
+ /** Result of the action attempt. Null for pending action attempts. */
121666
+ result: null;
121667
+ /** Errors associated with the action attempt. Null for pending action attempts. */
121668
+ error: null;
121669
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
121670
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
121671
+ } | {
121672
+ /** ID of the action attempt. */
121673
+ action_attempt_id: string;
121674
+ status: 'success';
121675
+ /** Errors associated with the action attempt. Null for successful action attempts. */
121676
+ error: null;
121677
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
121678
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
121679
+ /** Result of the action. */
121680
+ result: {};
121681
+ } | {
121682
+ /** ID of the action attempt. */
121683
+ action_attempt_id: string;
121684
+ status: 'error';
121685
+ /** Result of the action attempt. Null for failed action attempts. */
121686
+ result: null;
121687
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
121688
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
121689
+ /** Error associated with the action. */
121690
+ error: {
121691
+ /** Type of the error. */
121692
+ type: string;
121693
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121694
+ message: string;
121695
+ };
120233
121696
  } | {
120234
121697
  /** ID of the action attempt. */
120235
121698
  action_attempt_id: string;
@@ -129058,14 +130521,21 @@ export type Routes = {
129058
130521
  warning_code: 'user_identity_missing_phone_number';
129059
130522
  })[];
129060
130523
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
129061
- errors: {
130524
+ errors: ({
129062
130525
  /** Date and time at which Seam created the error. */
129063
130526
  created_at: string;
129064
130527
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129065
130528
  message: string;
129066
130529
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129067
130530
  error_code: 'failed_to_issue';
129068
- }[];
130531
+ } | {
130532
+ /** Date and time at which Seam created the error. */
130533
+ created_at: string;
130534
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130535
+ message: string;
130536
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130537
+ error_code: 'access_not_provisioned';
130538
+ })[];
129069
130539
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
129070
130540
  pending_mutations: ({
129071
130541
  /** Date and time at which the mutation was created. */
@@ -129465,6 +130935,41 @@ export type Routes = {
129465
130935
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129466
130936
  message: string;
129467
130937
  };
130938
+ } | {
130939
+ /** ID of the action attempt. */
130940
+ action_attempt_id: string;
130941
+ status: 'pending';
130942
+ /** Result of the action attempt. Null for pending action attempts. */
130943
+ result: null;
130944
+ /** Errors associated with the action attempt. Null for pending action attempts. */
130945
+ error: null;
130946
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
130947
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
130948
+ } | {
130949
+ /** ID of the action attempt. */
130950
+ action_attempt_id: string;
130951
+ status: 'success';
130952
+ /** Errors associated with the action attempt. Null for successful action attempts. */
130953
+ error: null;
130954
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
130955
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
130956
+ /** Result of the action. */
130957
+ result: {};
130958
+ } | {
130959
+ /** ID of the action attempt. */
130960
+ action_attempt_id: string;
130961
+ status: 'error';
130962
+ /** Result of the action attempt. Null for failed action attempts. */
130963
+ result: null;
130964
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
130965
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
130966
+ /** Error associated with the action. */
130967
+ error: {
130968
+ /** Type of the error. */
130969
+ type: string;
130970
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130971
+ message: string;
130972
+ };
129468
130973
  } | {
129469
130974
  /** ID of the action attempt. */
129470
130975
  action_attempt_id: string;
@@ -130857,14 +132362,21 @@ export type Routes = {
130857
132362
  warning_code: 'user_identity_missing_phone_number';
130858
132363
  })[];
130859
132364
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
130860
- errors: {
132365
+ errors: ({
130861
132366
  /** Date and time at which Seam created the error. */
130862
132367
  created_at: string;
130863
132368
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130864
132369
  message: string;
130865
132370
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130866
132371
  error_code: 'failed_to_issue';
130867
- }[];
132372
+ } | {
132373
+ /** Date and time at which Seam created the error. */
132374
+ created_at: string;
132375
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
132376
+ message: string;
132377
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
132378
+ error_code: 'access_not_provisioned';
132379
+ })[];
130868
132380
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
130869
132381
  pending_mutations: ({
130870
132382
  /** Date and time at which the mutation was created. */
@@ -131049,7 +132561,7 @@ export type Routes = {
131049
132561
  reason: 'duration_exceeds_max' | 'times_do_not_match_slots' | 'ongoing_not_supported';
131050
132562
  })[];
131051
132563
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
131052
- errors: {
132564
+ errors: ({
131053
132565
  /** Date and time at which Seam created the error. */
131054
132566
  created_at: string;
131055
132567
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -131058,7 +132570,14 @@ export type Routes = {
131058
132570
  error_code: 'cannot_create_requested_access_methods';
131059
132571
  /** IDs of the devices that did not receive an access code at grant creation. Use these to identify which specific devices failed when the message reports a partial failure. */
131060
132572
  missing_device_ids?: string[] | undefined;
131061
- }[];
132573
+ } | {
132574
+ /** Date and time at which Seam created the error. */
132575
+ created_at: string;
132576
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
132577
+ message: string;
132578
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
132579
+ error_code: 'access_not_provisioned';
132580
+ })[];
131062
132581
  /** ID of the customization profile associated with the Access Grant. */
131063
132582
  customization_profile_id?: string | undefined;
131064
132583
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -137421,14 +138940,21 @@ export type Routes = {
137421
138940
  warning_code: 'user_identity_missing_phone_number';
137422
138941
  })[];
137423
138942
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
137424
- errors: {
138943
+ errors: ({
137425
138944
  /** Date and time at which Seam created the error. */
137426
138945
  created_at: string;
137427
138946
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
137428
138947
  message: string;
137429
138948
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
137430
138949
  error_code: 'failed_to_issue';
137431
- }[];
138950
+ } | {
138951
+ /** Date and time at which Seam created the error. */
138952
+ created_at: string;
138953
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
138954
+ message: string;
138955
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
138956
+ error_code: 'access_not_provisioned';
138957
+ })[];
137432
138958
  /** Pending mutations for the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). Indicates operations that are in progress. */
137433
138959
  pending_mutations: ({
137434
138960
  /** Date and time at which the mutation was created. */
@@ -137828,6 +139354,41 @@ export type Routes = {
137828
139354
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
137829
139355
  message: string;
137830
139356
  };
139357
+ } | {
139358
+ /** ID of the action attempt. */
139359
+ action_attempt_id: string;
139360
+ status: 'pending';
139361
+ /** Result of the action attempt. Null for pending action attempts. */
139362
+ result: null;
139363
+ /** Errors associated with the action attempt. Null for pending action attempts. */
139364
+ error: null;
139365
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
139366
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
139367
+ } | {
139368
+ /** ID of the action attempt. */
139369
+ action_attempt_id: string;
139370
+ status: 'success';
139371
+ /** Errors associated with the action attempt. Null for successful action attempts. */
139372
+ error: null;
139373
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
139374
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
139375
+ /** Result of the action. */
139376
+ result: {};
139377
+ } | {
139378
+ /** ID of the action attempt. */
139379
+ action_attempt_id: string;
139380
+ status: 'error';
139381
+ /** Result of the action attempt. Null for failed action attempts. */
139382
+ result: null;
139383
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
139384
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED';
139385
+ /** Error associated with the action. */
139386
+ error: {
139387
+ /** Type of the error. */
139388
+ type: string;
139389
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
139390
+ message: string;
139391
+ };
137831
139392
  } | {
137832
139393
  /** ID of the action attempt. */
137833
139394
  action_attempt_id: string;