@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
@@ -1457,14 +1457,24 @@ export type Routes = {
1457
1457
  }
1458
1458
  )[]
1459
1459
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
1460
- errors: {
1461
- /** Date and time at which Seam created the error. */
1462
- created_at: string
1463
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1464
- message: string
1465
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1466
- error_code: 'failed_to_issue'
1467
- }[]
1460
+ errors: (
1461
+ | {
1462
+ /** Date and time at which Seam created the error. */
1463
+ created_at: string
1464
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1465
+ message: string
1466
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1467
+ error_code: 'failed_to_issue'
1468
+ }
1469
+ | {
1470
+ /** Date and time at which Seam created the error. */
1471
+ created_at: string
1472
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1473
+ message: string
1474
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1475
+ error_code: 'access_not_provisioned'
1476
+ }
1477
+ )[]
1468
1478
  /** 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. */
1469
1479
  pending_mutations: (
1470
1480
  | {
@@ -1900,6 +1910,44 @@ export type Routes = {
1900
1910
  message: string
1901
1911
  }
1902
1912
  }
1913
+ | {
1914
+ /** ID of the action attempt. */
1915
+ action_attempt_id: string
1916
+ status: 'pending'
1917
+ /** Result of the action attempt. Null for pending action attempts. */
1918
+ result: null
1919
+ /** Errors associated with the action attempt. Null for pending action attempts. */
1920
+ error: null
1921
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
1922
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
1923
+ }
1924
+ | {
1925
+ /** ID of the action attempt. */
1926
+ action_attempt_id: string
1927
+ status: 'success'
1928
+ /** Errors associated with the action attempt. Null for successful action attempts. */
1929
+ error: null
1930
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
1931
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
1932
+ /** Result of the action. */
1933
+ result: {}
1934
+ }
1935
+ | {
1936
+ /** ID of the action attempt. */
1937
+ action_attempt_id: string
1938
+ status: 'error'
1939
+ /** Result of the action attempt. Null for failed action attempts. */
1940
+ result: null
1941
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
1942
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
1943
+ /** Error associated with the action. */
1944
+ error: {
1945
+ /** Type of the error. */
1946
+ type: string
1947
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1948
+ message: string
1949
+ }
1950
+ }
1903
1951
  | {
1904
1952
  /** ID of the action attempt. */
1905
1953
  action_attempt_id: string
@@ -4755,14 +4803,24 @@ export type Routes = {
4755
4803
  }
4756
4804
  )[]
4757
4805
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
4758
- errors: {
4759
- /** Date and time at which Seam created the error. */
4760
- created_at: string
4761
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4762
- message: string
4763
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4764
- error_code: 'failed_to_issue'
4765
- }[]
4806
+ errors: (
4807
+ | {
4808
+ /** Date and time at which Seam created the error. */
4809
+ created_at: string
4810
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4811
+ message: string
4812
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4813
+ error_code: 'failed_to_issue'
4814
+ }
4815
+ | {
4816
+ /** Date and time at which Seam created the error. */
4817
+ created_at: string
4818
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4819
+ message: string
4820
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4821
+ error_code: 'access_not_provisioned'
4822
+ }
4823
+ )[]
4766
4824
  /** 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. */
4767
4825
  pending_mutations: (
4768
4826
  | {
@@ -5198,6 +5256,44 @@ export type Routes = {
5198
5256
  message: string
5199
5257
  }
5200
5258
  }
5259
+ | {
5260
+ /** ID of the action attempt. */
5261
+ action_attempt_id: string
5262
+ status: 'pending'
5263
+ /** Result of the action attempt. Null for pending action attempts. */
5264
+ result: null
5265
+ /** Errors associated with the action attempt. Null for pending action attempts. */
5266
+ error: null
5267
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
5268
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
5269
+ }
5270
+ | {
5271
+ /** ID of the action attempt. */
5272
+ action_attempt_id: string
5273
+ status: 'success'
5274
+ /** Errors associated with the action attempt. Null for successful action attempts. */
5275
+ error: null
5276
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
5277
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
5278
+ /** Result of the action. */
5279
+ result: {}
5280
+ }
5281
+ | {
5282
+ /** ID of the action attempt. */
5283
+ action_attempt_id: string
5284
+ status: 'error'
5285
+ /** Result of the action attempt. Null for failed action attempts. */
5286
+ result: null
5287
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
5288
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
5289
+ /** Error associated with the action. */
5290
+ error: {
5291
+ /** Type of the error. */
5292
+ type: string
5293
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5294
+ message: string
5295
+ }
5296
+ }
5201
5297
  | {
5202
5298
  /** ID of the action attempt. */
5203
5299
  action_attempt_id: string
@@ -9842,14 +9938,24 @@ export type Routes = {
9842
9938
  }
9843
9939
  )[]
9844
9940
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
9845
- errors: {
9846
- /** Date and time at which Seam created the error. */
9847
- created_at: string
9848
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9849
- message: string
9850
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9851
- error_code: 'failed_to_issue'
9852
- }[]
9941
+ errors: (
9942
+ | {
9943
+ /** Date and time at which Seam created the error. */
9944
+ created_at: string
9945
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9946
+ message: string
9947
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9948
+ error_code: 'failed_to_issue'
9949
+ }
9950
+ | {
9951
+ /** Date and time at which Seam created the error. */
9952
+ created_at: string
9953
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9954
+ message: string
9955
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9956
+ error_code: 'access_not_provisioned'
9957
+ }
9958
+ )[]
9853
9959
  /** 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. */
9854
9960
  pending_mutations: (
9855
9961
  | {
@@ -10285,6 +10391,44 @@ export type Routes = {
10285
10391
  message: string
10286
10392
  }
10287
10393
  }
10394
+ | {
10395
+ /** ID of the action attempt. */
10396
+ action_attempt_id: string
10397
+ status: 'pending'
10398
+ /** Result of the action attempt. Null for pending action attempts. */
10399
+ result: null
10400
+ /** Errors associated with the action attempt. Null for pending action attempts. */
10401
+ error: null
10402
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
10403
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
10404
+ }
10405
+ | {
10406
+ /** ID of the action attempt. */
10407
+ action_attempt_id: string
10408
+ status: 'success'
10409
+ /** Errors associated with the action attempt. Null for successful action attempts. */
10410
+ error: null
10411
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
10412
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
10413
+ /** Result of the action. */
10414
+ result: {}
10415
+ }
10416
+ | {
10417
+ /** ID of the action attempt. */
10418
+ action_attempt_id: string
10419
+ status: 'error'
10420
+ /** Result of the action attempt. Null for failed action attempts. */
10421
+ result: null
10422
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
10423
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
10424
+ /** Error associated with the action. */
10425
+ error: {
10426
+ /** Type of the error. */
10427
+ type: string
10428
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
10429
+ message: string
10430
+ }
10431
+ }
10288
10432
  | {
10289
10433
  /** ID of the action attempt. */
10290
10434
  action_attempt_id: string
@@ -12991,14 +13135,24 @@ export type Routes = {
12991
13135
  }
12992
13136
  )[]
12993
13137
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
12994
- errors: {
12995
- /** Date and time at which Seam created the error. */
12996
- created_at: string
12997
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
12998
- message: string
12999
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13000
- error_code: 'failed_to_issue'
13001
- }[]
13138
+ errors: (
13139
+ | {
13140
+ /** Date and time at which Seam created the error. */
13141
+ created_at: string
13142
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13143
+ message: string
13144
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13145
+ error_code: 'failed_to_issue'
13146
+ }
13147
+ | {
13148
+ /** Date and time at which Seam created the error. */
13149
+ created_at: string
13150
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13151
+ message: string
13152
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13153
+ error_code: 'access_not_provisioned'
13154
+ }
13155
+ )[]
13002
13156
  /** 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. */
13003
13157
  pending_mutations: (
13004
13158
  | {
@@ -13434,6 +13588,44 @@ export type Routes = {
13434
13588
  message: string
13435
13589
  }
13436
13590
  }
13591
+ | {
13592
+ /** ID of the action attempt. */
13593
+ action_attempt_id: string
13594
+ status: 'pending'
13595
+ /** Result of the action attempt. Null for pending action attempts. */
13596
+ result: null
13597
+ /** Errors associated with the action attempt. Null for pending action attempts. */
13598
+ error: null
13599
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
13600
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
13601
+ }
13602
+ | {
13603
+ /** ID of the action attempt. */
13604
+ action_attempt_id: string
13605
+ status: 'success'
13606
+ /** Errors associated with the action attempt. Null for successful action attempts. */
13607
+ error: null
13608
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
13609
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
13610
+ /** Result of the action. */
13611
+ result: {}
13612
+ }
13613
+ | {
13614
+ /** ID of the action attempt. */
13615
+ action_attempt_id: string
13616
+ status: 'error'
13617
+ /** Result of the action attempt. Null for failed action attempts. */
13618
+ result: null
13619
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
13620
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
13621
+ /** Error associated with the action. */
13622
+ error: {
13623
+ /** Type of the error. */
13624
+ type: string
13625
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13626
+ message: string
13627
+ }
13628
+ }
13437
13629
  | {
13438
13630
  /** ID of the action attempt. */
13439
13631
  action_attempt_id: string
@@ -13960,16 +14152,26 @@ export type Routes = {
13960
14152
  }
13961
14153
  )[]
13962
14154
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
13963
- errors: {
13964
- /** Date and time at which Seam created the error. */
13965
- created_at: string
13966
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13967
- message: string
13968
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13969
- error_code: 'cannot_create_requested_access_methods'
13970
- /** 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. */
13971
- missing_device_ids?: string[] | undefined
13972
- }[]
14155
+ errors: (
14156
+ | {
14157
+ /** Date and time at which Seam created the error. */
14158
+ created_at: string
14159
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14160
+ message: string
14161
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14162
+ error_code: 'cannot_create_requested_access_methods'
14163
+ /** 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. */
14164
+ missing_device_ids?: string[] | undefined
14165
+ }
14166
+ | {
14167
+ /** Date and time at which Seam created the error. */
14168
+ created_at: string
14169
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14170
+ message: string
14171
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14172
+ error_code: 'access_not_provisioned'
14173
+ }
14174
+ )[]
13973
14175
  /** ID of the customization profile associated with the Access Grant. */
13974
14176
  customization_profile_id?: string | undefined
13975
14177
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -14190,16 +14392,26 @@ export type Routes = {
14190
14392
  }
14191
14393
  )[]
14192
14394
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
14193
- errors: {
14194
- /** Date and time at which Seam created the error. */
14195
- created_at: string
14196
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14197
- message: string
14198
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14199
- error_code: 'cannot_create_requested_access_methods'
14200
- /** 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. */
14201
- missing_device_ids?: string[] | undefined
14202
- }[]
14395
+ errors: (
14396
+ | {
14397
+ /** Date and time at which Seam created the error. */
14398
+ created_at: string
14399
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14400
+ message: string
14401
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14402
+ error_code: 'cannot_create_requested_access_methods'
14403
+ /** 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. */
14404
+ missing_device_ids?: string[] | undefined
14405
+ }
14406
+ | {
14407
+ /** Date and time at which Seam created the error. */
14408
+ created_at: string
14409
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14410
+ message: string
14411
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14412
+ error_code: 'access_not_provisioned'
14413
+ }
14414
+ )[]
14203
14415
  /** ID of the customization profile associated with the Access Grant. */
14204
14416
  customization_profile_id?: string | undefined
14205
14417
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -17390,14 +17602,24 @@ export type Routes = {
17390
17602
  }
17391
17603
  )[]
17392
17604
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
17393
- errors: {
17394
- /** Date and time at which Seam created the error. */
17395
- created_at: string
17396
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17397
- message: string
17398
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17399
- error_code: 'failed_to_issue'
17400
- }[]
17605
+ errors: (
17606
+ | {
17607
+ /** Date and time at which Seam created the error. */
17608
+ created_at: string
17609
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17610
+ message: string
17611
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17612
+ error_code: 'failed_to_issue'
17613
+ }
17614
+ | {
17615
+ /** Date and time at which Seam created the error. */
17616
+ created_at: string
17617
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17618
+ message: string
17619
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17620
+ error_code: 'access_not_provisioned'
17621
+ }
17622
+ )[]
17401
17623
  /** 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. */
17402
17624
  pending_mutations: (
17403
17625
  | {
@@ -17642,16 +17864,26 @@ export type Routes = {
17642
17864
  }
17643
17865
  )[]
17644
17866
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
17645
- errors: {
17646
- /** Date and time at which Seam created the error. */
17647
- created_at: string
17648
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17649
- message: string
17650
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17651
- error_code: 'cannot_create_requested_access_methods'
17652
- /** 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. */
17653
- missing_device_ids?: string[] | undefined
17654
- }[]
17867
+ errors: (
17868
+ | {
17869
+ /** Date and time at which Seam created the error. */
17870
+ created_at: string
17871
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17872
+ message: string
17873
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17874
+ error_code: 'cannot_create_requested_access_methods'
17875
+ /** 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. */
17876
+ missing_device_ids?: string[] | undefined
17877
+ }
17878
+ | {
17879
+ /** Date and time at which Seam created the error. */
17880
+ created_at: string
17881
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17882
+ message: string
17883
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17884
+ error_code: 'access_not_provisioned'
17885
+ }
17886
+ )[]
17655
17887
  /** ID of the customization profile associated with the Access Grant. */
17656
17888
  customization_profile_id?: string | undefined
17657
17889
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -17872,218 +18104,238 @@ export type Routes = {
17872
18104
  }
17873
18105
  )[]
17874
18106
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
17875
- errors: {
17876
- /** Date and time at which Seam created the error. */
17877
- created_at: string
17878
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
17879
- message: string
17880
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17881
- error_code: 'cannot_create_requested_access_methods'
17882
- /** 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. */
17883
- missing_device_ids?: string[] | undefined
17884
- }[]
17885
- /** ID of the customization profile associated with the Access Grant. */
17886
- customization_profile_id?: string | undefined
17887
- /** List of pending mutations for the access grant. This shows updates that are in progress. */
17888
- pending_mutations: (
17889
- | {
17890
- /** Date and time at which the mutation was created. */
17891
- created_at: string
17892
- /** Detailed description of the mutation. */
17893
- message: string
17894
- /** Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant. */
17895
- mutation_code: 'updating_spaces'
17896
- /** Previous location configuration. */
17897
- from: {
17898
- /** Previous device IDs where access codes existed. */
17899
- device_ids: string[]
17900
- }
17901
- /** New location configuration. */
17902
- to: {
17903
- /** New device IDs where access codes should be created. */
17904
- device_ids: string[]
17905
- /** Common code key to ensure PIN code reuse across devices. */
17906
- common_code_key?: (string | null) | undefined
17907
- }
17908
- }
17909
- | {
17910
- /** Date and time at which the mutation was created. */
17911
- created_at: string
17912
- /** Detailed description of the mutation. */
17913
- message: string
17914
- /** Mutation code to indicate that Seam is in the process of updating the access times for this access grant. */
17915
- mutation_code: 'updating_access_times'
17916
- /** IDs of the access methods being updated. */
17917
- access_method_ids: string[]
17918
- /** Previous access time configuration. */
17919
- from: {
17920
- /** Previous start time for access. */
17921
- starts_at: string | null
17922
- /** Previous end time for access. */
17923
- ends_at: string | null
17924
- }
17925
- /** New access time configuration. */
17926
- to: {
17927
- /** New start time for access. */
17928
- starts_at: string | null
17929
- /** New end time for access. */
17930
- ends_at: string | null
17931
- }
17932
- }
17933
- )[]
17934
- }
17935
- }
17936
- maxDuration: undefined
17937
- }
17938
- '/access_grants/unmanaged/get': {
17939
- route: '/access_grants/unmanaged/get'
17940
- method: 'GET' | 'POST'
17941
- queryParams: {}
17942
- jsonBody: {}
17943
- commonParams: {
17944
- /** ID of unmanaged Access Grant to get. */
17945
- access_grant_id: string
17946
- }
17947
- formData: {}
17948
- jsonResponse: {
17949
- /** Represents an unmanaged Access Grant. Unmanaged Access Grants do not have client sessions, instant keys, customization profiles, or keys. */
17950
- access_grant: {
17951
- /** ID of the Seam workspace associated with the Access Grant. */
17952
- workspace_id: string
17953
- /** ID of the Access Grant. */
17954
- access_grant_id: string
17955
- /** Reservation key for the access grant. */
17956
- reservation_key?: string | undefined
17957
- /**
17958
- * @deprecated Use `space_ids`.*/
17959
- location_ids: string[]
17960
- /** IDs of the spaces to which the Access Grant gives access. */
17961
- space_ids: string[]
17962
- /** Access methods that the user requested for the Access Grant. */
17963
- requested_access_methods: {
17964
- /** Display name of the access method. */
17965
- display_name: string
17966
- /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
17967
- mode: 'code' | 'card' | 'mobile_key' | 'cloud_key'
17968
- /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
17969
- code?: string | undefined
17970
- /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
17971
- instant_key_max_use_count?: number | undefined
17972
- /** Date and time at which the requested access method was added to the Access Grant. */
17973
- created_at: string
17974
- /** IDs of the access methods created for the requested access method. */
17975
- created_access_method_ids: string[]
17976
- }[]
17977
- /** IDs of the access methods created for the Access Grant. */
17978
- access_method_ids: string[]
17979
- /** Name of the Access Grant. If not provided, the display name will be computed. */
17980
- name: string | null
17981
- /** Display name of the Access Grant. */
17982
- display_name: string
17983
- /** Date and time at which the Access Grant was created. */
17984
- created_at: string
17985
- /** Date and time at which the Access Grant starts. */
17986
- starts_at: string
17987
- /** Date and time at which the Access Grant ends. */
17988
- ends_at: string | null
17989
- /** Warnings associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
17990
- warnings: (
17991
- | {
17992
- /** Date and time at which Seam created the warning. */
17993
- created_at: string
17994
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
17995
- message: string
17996
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17997
- warning_code: 'being_deleted'
17998
- }
17999
- | {
18000
- /** Date and time at which Seam created the warning. */
18001
- created_at: string
18002
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18003
- message: string
18004
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18005
- warning_code: 'underprovisioned_access'
18006
- }
18007
- | {
18008
- /** Date and time at which Seam created the warning. */
18009
- created_at: string
18010
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18011
- message: string
18012
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18013
- warning_code: 'overprovisioned_access'
18014
- /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
18015
- failed_devices?:
18016
- | {
18017
- /** Device whose access code could not be revoked. */
18018
- device_id: string
18019
- /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
18020
- error_code: string
18021
- /** Human-readable description of why revocation failed. */
18022
- message: string
18023
- }[]
18024
- | undefined
18025
- }
18026
- | {
18027
- /** Date and time at which Seam created the warning. */
18028
- created_at: string
18029
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18030
- message: string
18031
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18032
- warning_code: 'updating_access_times'
18033
- /** IDs of the access methods being updated. */
18034
- access_method_ids: string[]
18035
- }
18036
- | {
18037
- /** Date and time at which Seam created the warning. */
18038
- created_at: string
18039
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18040
- message: string
18041
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18042
- warning_code: 'requested_code_unavailable'
18043
- /** ID of the device where the requested code was unavailable. */
18044
- device_id: string
18045
- /** The originally requested PIN code that was unavailable. */
18046
- original_code: string
18047
- /** The new PIN code that was assigned instead. */
18048
- new_code: string
18049
- }
18107
+ errors: (
18050
18108
  | {
18051
- /** Date and time at which Seam created the warning. */
18109
+ /** Date and time at which Seam created the error. */
18052
18110
  created_at: string
18053
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18111
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18054
18112
  message: string
18055
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18056
- warning_code: 'device_does_not_support_access_codes'
18057
- /** ID of the device that does not support access codes. */
18058
- device_id: string
18113
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18114
+ error_code: 'cannot_create_requested_access_methods'
18115
+ /** 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. */
18116
+ missing_device_ids?: string[] | undefined
18059
18117
  }
18060
18118
  | {
18061
- /** Date and time at which Seam created the warning. */
18119
+ /** Date and time at which Seam created the error. */
18062
18120
  created_at: string
18063
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18121
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18064
18122
  message: string
18065
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18066
- warning_code: 'device_time_constraints_violated'
18067
- /** ID of the device whose time constraints the access grant violates. */
18068
- device_id: string
18069
- /** Specific reason why the grant's times are not programmable on the device. */
18070
- reason:
18071
- | 'duration_exceeds_max'
18072
- | 'times_do_not_match_slots'
18073
- | 'ongoing_not_supported'
18123
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18124
+ error_code: 'access_not_provisioned'
18125
+ }
18126
+ )[]
18127
+ /** ID of the customization profile associated with the Access Grant. */
18128
+ customization_profile_id?: string | undefined
18129
+ /** List of pending mutations for the access grant. This shows updates that are in progress. */
18130
+ pending_mutations: (
18131
+ | {
18132
+ /** Date and time at which the mutation was created. */
18133
+ created_at: string
18134
+ /** Detailed description of the mutation. */
18135
+ message: string
18136
+ /** Mutation code to indicate that Seam is in the process of updating the spaces (devices) associated with this access grant. */
18137
+ mutation_code: 'updating_spaces'
18138
+ /** Previous location configuration. */
18139
+ from: {
18140
+ /** Previous device IDs where access codes existed. */
18141
+ device_ids: string[]
18142
+ }
18143
+ /** New location configuration. */
18144
+ to: {
18145
+ /** New device IDs where access codes should be created. */
18146
+ device_ids: string[]
18147
+ /** Common code key to ensure PIN code reuse across devices. */
18148
+ common_code_key?: (string | null) | undefined
18149
+ }
18150
+ }
18151
+ | {
18152
+ /** Date and time at which the mutation was created. */
18153
+ created_at: string
18154
+ /** Detailed description of the mutation. */
18155
+ message: string
18156
+ /** Mutation code to indicate that Seam is in the process of updating the access times for this access grant. */
18157
+ mutation_code: 'updating_access_times'
18158
+ /** IDs of the access methods being updated. */
18159
+ access_method_ids: string[]
18160
+ /** Previous access time configuration. */
18161
+ from: {
18162
+ /** Previous start time for access. */
18163
+ starts_at: string | null
18164
+ /** Previous end time for access. */
18165
+ ends_at: string | null
18166
+ }
18167
+ /** New access time configuration. */
18168
+ to: {
18169
+ /** New start time for access. */
18170
+ starts_at: string | null
18171
+ /** New end time for access. */
18172
+ ends_at: string | null
18173
+ }
18174
+ }
18175
+ )[]
18176
+ }
18177
+ }
18178
+ maxDuration: undefined
18179
+ }
18180
+ '/access_grants/unmanaged/get': {
18181
+ route: '/access_grants/unmanaged/get'
18182
+ method: 'GET' | 'POST'
18183
+ queryParams: {}
18184
+ jsonBody: {}
18185
+ commonParams: {
18186
+ /** ID of unmanaged Access Grant to get. */
18187
+ access_grant_id: string
18188
+ }
18189
+ formData: {}
18190
+ jsonResponse: {
18191
+ /** Represents an unmanaged Access Grant. Unmanaged Access Grants do not have client sessions, instant keys, customization profiles, or keys. */
18192
+ access_grant: {
18193
+ /** ID of the Seam workspace associated with the Access Grant. */
18194
+ workspace_id: string
18195
+ /** ID of the Access Grant. */
18196
+ access_grant_id: string
18197
+ /** Reservation key for the access grant. */
18198
+ reservation_key?: string | undefined
18199
+ /**
18200
+ * @deprecated Use `space_ids`.*/
18201
+ location_ids: string[]
18202
+ /** IDs of the spaces to which the Access Grant gives access. */
18203
+ space_ids: string[]
18204
+ /** Access methods that the user requested for the Access Grant. */
18205
+ requested_access_methods: {
18206
+ /** Display name of the access method. */
18207
+ display_name: string
18208
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */
18209
+ mode: 'code' | 'card' | 'mobile_key' | 'cloud_key'
18210
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
18211
+ code?: string | undefined
18212
+ /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */
18213
+ instant_key_max_use_count?: number | undefined
18214
+ /** Date and time at which the requested access method was added to the Access Grant. */
18215
+ created_at: string
18216
+ /** IDs of the access methods created for the requested access method. */
18217
+ created_access_method_ids: string[]
18218
+ }[]
18219
+ /** IDs of the access methods created for the Access Grant. */
18220
+ access_method_ids: string[]
18221
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
18222
+ name: string | null
18223
+ /** Display name of the Access Grant. */
18224
+ display_name: string
18225
+ /** Date and time at which the Access Grant was created. */
18226
+ created_at: string
18227
+ /** Date and time at which the Access Grant starts. */
18228
+ starts_at: string
18229
+ /** Date and time at which the Access Grant ends. */
18230
+ ends_at: string | null
18231
+ /** Warnings associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
18232
+ warnings: (
18233
+ | {
18234
+ /** Date and time at which Seam created the warning. */
18235
+ created_at: string
18236
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18237
+ message: string
18238
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18239
+ warning_code: 'being_deleted'
18240
+ }
18241
+ | {
18242
+ /** Date and time at which Seam created the warning. */
18243
+ created_at: string
18244
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18245
+ message: string
18246
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18247
+ warning_code: 'underprovisioned_access'
18248
+ }
18249
+ | {
18250
+ /** Date and time at which Seam created the warning. */
18251
+ created_at: string
18252
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18253
+ message: string
18254
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18255
+ warning_code: 'overprovisioned_access'
18256
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
18257
+ failed_devices?:
18258
+ | {
18259
+ /** Device whose access code could not be revoked. */
18260
+ device_id: string
18261
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
18262
+ error_code: string
18263
+ /** Human-readable description of why revocation failed. */
18264
+ message: string
18265
+ }[]
18266
+ | undefined
18267
+ }
18268
+ | {
18269
+ /** Date and time at which Seam created the warning. */
18270
+ created_at: string
18271
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18272
+ message: string
18273
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18274
+ warning_code: 'updating_access_times'
18275
+ /** IDs of the access methods being updated. */
18276
+ access_method_ids: string[]
18277
+ }
18278
+ | {
18279
+ /** Date and time at which Seam created the warning. */
18280
+ created_at: string
18281
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18282
+ message: string
18283
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18284
+ warning_code: 'requested_code_unavailable'
18285
+ /** ID of the device where the requested code was unavailable. */
18286
+ device_id: string
18287
+ /** The originally requested PIN code that was unavailable. */
18288
+ original_code: string
18289
+ /** The new PIN code that was assigned instead. */
18290
+ new_code: string
18291
+ }
18292
+ | {
18293
+ /** Date and time at which Seam created the warning. */
18294
+ created_at: string
18295
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18296
+ message: string
18297
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18298
+ warning_code: 'device_does_not_support_access_codes'
18299
+ /** ID of the device that does not support access codes. */
18300
+ device_id: string
18301
+ }
18302
+ | {
18303
+ /** Date and time at which Seam created the warning. */
18304
+ created_at: string
18305
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
18306
+ message: string
18307
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18308
+ warning_code: 'device_time_constraints_violated'
18309
+ /** ID of the device whose time constraints the access grant violates. */
18310
+ device_id: string
18311
+ /** Specific reason why the grant's times are not programmable on the device. */
18312
+ reason:
18313
+ | 'duration_exceeds_max'
18314
+ | 'times_do_not_match_slots'
18315
+ | 'ongoing_not_supported'
18316
+ }
18317
+ )[]
18318
+ /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
18319
+ errors: (
18320
+ | {
18321
+ /** Date and time at which Seam created the error. */
18322
+ created_at: string
18323
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18324
+ message: string
18325
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18326
+ error_code: 'cannot_create_requested_access_methods'
18327
+ /** 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. */
18328
+ missing_device_ids?: string[] | undefined
18329
+ }
18330
+ | {
18331
+ /** Date and time at which Seam created the error. */
18332
+ created_at: string
18333
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18334
+ message: string
18335
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18336
+ error_code: 'access_not_provisioned'
18074
18337
  }
18075
18338
  )[]
18076
- /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
18077
- errors: {
18078
- /** Date and time at which Seam created the error. */
18079
- created_at: string
18080
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18081
- message: string
18082
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18083
- error_code: 'cannot_create_requested_access_methods'
18084
- /** 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. */
18085
- missing_device_ids?: string[] | undefined
18086
- }[]
18087
18339
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
18088
18340
  pending_mutations: (
18089
18341
  | {
@@ -18285,16 +18537,26 @@ export type Routes = {
18285
18537
  }
18286
18538
  )[]
18287
18539
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
18288
- errors: {
18289
- /** Date and time at which Seam created the error. */
18290
- created_at: string
18291
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18292
- message: string
18293
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18294
- error_code: 'cannot_create_requested_access_methods'
18295
- /** 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. */
18296
- missing_device_ids?: string[] | undefined
18297
- }[]
18540
+ errors: (
18541
+ | {
18542
+ /** Date and time at which Seam created the error. */
18543
+ created_at: string
18544
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18545
+ message: string
18546
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18547
+ error_code: 'cannot_create_requested_access_methods'
18548
+ /** 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. */
18549
+ missing_device_ids?: string[] | undefined
18550
+ }
18551
+ | {
18552
+ /** Date and time at which Seam created the error. */
18553
+ created_at: string
18554
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18555
+ message: string
18556
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18557
+ error_code: 'access_not_provisioned'
18558
+ }
18559
+ )[]
18298
18560
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
18299
18561
  pending_mutations: (
18300
18562
  | {
@@ -19817,14 +20079,24 @@ export type Routes = {
19817
20079
  }
19818
20080
  )[]
19819
20081
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
19820
- errors: {
19821
- /** Date and time at which Seam created the error. */
19822
- created_at: string
19823
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
19824
- message: string
19825
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19826
- error_code: 'failed_to_issue'
19827
- }[]
20082
+ errors: (
20083
+ | {
20084
+ /** Date and time at which Seam created the error. */
20085
+ created_at: string
20086
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20087
+ message: string
20088
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20089
+ error_code: 'failed_to_issue'
20090
+ }
20091
+ | {
20092
+ /** Date and time at which Seam created the error. */
20093
+ created_at: string
20094
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20095
+ message: string
20096
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20097
+ error_code: 'access_not_provisioned'
20098
+ }
20099
+ )[]
19828
20100
  /** 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. */
19829
20101
  pending_mutations: (
19830
20102
  | {
@@ -20260,6 +20532,44 @@ export type Routes = {
20260
20532
  message: string
20261
20533
  }
20262
20534
  }
20535
+ | {
20536
+ /** ID of the action attempt. */
20537
+ action_attempt_id: string
20538
+ status: 'pending'
20539
+ /** Result of the action attempt. Null for pending action attempts. */
20540
+ result: null
20541
+ /** Errors associated with the action attempt. Null for pending action attempts. */
20542
+ error: null
20543
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
20544
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
20545
+ }
20546
+ | {
20547
+ /** ID of the action attempt. */
20548
+ action_attempt_id: string
20549
+ status: 'success'
20550
+ /** Errors associated with the action attempt. Null for successful action attempts. */
20551
+ error: null
20552
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
20553
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
20554
+ /** Result of the action. */
20555
+ result: {}
20556
+ }
20557
+ | {
20558
+ /** ID of the action attempt. */
20559
+ action_attempt_id: string
20560
+ status: 'error'
20561
+ /** Result of the action attempt. Null for failed action attempts. */
20562
+ result: null
20563
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
20564
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
20565
+ /** Error associated with the action. */
20566
+ error: {
20567
+ /** Type of the error. */
20568
+ type: string
20569
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20570
+ message: string
20571
+ }
20572
+ }
20263
20573
  | {
20264
20574
  /** ID of the action attempt. */
20265
20575
  action_attempt_id: string
@@ -21995,14 +22305,24 @@ export type Routes = {
21995
22305
  }
21996
22306
  )[]
21997
22307
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
21998
- errors: {
21999
- /** Date and time at which Seam created the error. */
22000
- created_at: string
22001
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22002
- message: string
22003
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22004
- error_code: 'failed_to_issue'
22005
- }[]
22308
+ errors: (
22309
+ | {
22310
+ /** Date and time at which Seam created the error. */
22311
+ created_at: string
22312
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22313
+ message: string
22314
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22315
+ error_code: 'failed_to_issue'
22316
+ }
22317
+ | {
22318
+ /** Date and time at which Seam created the error. */
22319
+ created_at: string
22320
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22321
+ message: string
22322
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22323
+ error_code: 'access_not_provisioned'
22324
+ }
22325
+ )[]
22006
22326
  /** 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. */
22007
22327
  pending_mutations: (
22008
22328
  | {
@@ -22438,6 +22758,44 @@ export type Routes = {
22438
22758
  message: string
22439
22759
  }
22440
22760
  }
22761
+ | {
22762
+ /** ID of the action attempt. */
22763
+ action_attempt_id: string
22764
+ status: 'pending'
22765
+ /** Result of the action attempt. Null for pending action attempts. */
22766
+ result: null
22767
+ /** Errors associated with the action attempt. Null for pending action attempts. */
22768
+ error: null
22769
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
22770
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
22771
+ }
22772
+ | {
22773
+ /** ID of the action attempt. */
22774
+ action_attempt_id: string
22775
+ status: 'success'
22776
+ /** Errors associated with the action attempt. Null for successful action attempts. */
22777
+ error: null
22778
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
22779
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
22780
+ /** Result of the action. */
22781
+ result: {}
22782
+ }
22783
+ | {
22784
+ /** ID of the action attempt. */
22785
+ action_attempt_id: string
22786
+ status: 'error'
22787
+ /** Result of the action attempt. Null for failed action attempts. */
22788
+ result: null
22789
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
22790
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
22791
+ /** Error associated with the action. */
22792
+ error: {
22793
+ /** Type of the error. */
22794
+ type: string
22795
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22796
+ message: string
22797
+ }
22798
+ }
22441
22799
  | {
22442
22800
  /** ID of the action attempt. */
22443
22801
  action_attempt_id: string
@@ -22826,14 +23184,24 @@ export type Routes = {
22826
23184
  }
22827
23185
  )[]
22828
23186
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
22829
- errors: {
22830
- /** Date and time at which Seam created the error. */
22831
- created_at: string
22832
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22833
- message: string
22834
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22835
- error_code: 'failed_to_issue'
22836
- }[]
23187
+ errors: (
23188
+ | {
23189
+ /** Date and time at which Seam created the error. */
23190
+ created_at: string
23191
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
23192
+ message: string
23193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23194
+ error_code: 'failed_to_issue'
23195
+ }
23196
+ | {
23197
+ /** Date and time at which Seam created the error. */
23198
+ created_at: string
23199
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
23200
+ message: string
23201
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23202
+ error_code: 'access_not_provisioned'
23203
+ }
23204
+ )[]
22837
23205
  /** 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. */
22838
23206
  pending_mutations: (
22839
23207
  | {
@@ -25399,16 +25767,26 @@ export type Routes = {
25399
25767
  }
25400
25768
  )[]
25401
25769
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
25402
- errors: {
25403
- /** Date and time at which Seam created the error. */
25404
- created_at: string
25405
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25406
- message: string
25407
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25408
- error_code: 'cannot_create_requested_access_methods'
25409
- /** 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. */
25410
- missing_device_ids?: string[] | undefined
25411
- }[]
25770
+ errors: (
25771
+ | {
25772
+ /** Date and time at which Seam created the error. */
25773
+ created_at: string
25774
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25775
+ message: string
25776
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25777
+ error_code: 'cannot_create_requested_access_methods'
25778
+ /** 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. */
25779
+ missing_device_ids?: string[] | undefined
25780
+ }
25781
+ | {
25782
+ /** Date and time at which Seam created the error. */
25783
+ created_at: string
25784
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25785
+ message: string
25786
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25787
+ error_code: 'access_not_provisioned'
25788
+ }
25789
+ )[]
25412
25790
  /** ID of the customization profile associated with the Access Grant. */
25413
25791
  customization_profile_id?: string | undefined
25414
25792
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -25546,14 +25924,24 @@ export type Routes = {
25546
25924
  }
25547
25925
  )[]
25548
25926
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
25549
- errors: {
25550
- /** Date and time at which Seam created the error. */
25551
- created_at: string
25552
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25553
- message: string
25554
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25555
- error_code: 'failed_to_issue'
25556
- }[]
25927
+ errors: (
25928
+ | {
25929
+ /** Date and time at which Seam created the error. */
25930
+ created_at: string
25931
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25932
+ message: string
25933
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25934
+ error_code: 'failed_to_issue'
25935
+ }
25936
+ | {
25937
+ /** Date and time at which Seam created the error. */
25938
+ created_at: string
25939
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25940
+ message: string
25941
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25942
+ error_code: 'access_not_provisioned'
25943
+ }
25944
+ )[]
25557
25945
  /** 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. */
25558
25946
  pending_mutations: (
25559
25947
  | {
@@ -25982,14 +26370,24 @@ export type Routes = {
25982
26370
  }
25983
26371
  )[]
25984
26372
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
25985
- errors: {
25986
- /** Date and time at which Seam created the error. */
25987
- created_at: string
25988
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
25989
- message: string
25990
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25991
- error_code: 'failed_to_issue'
25992
- }[]
26373
+ errors: (
26374
+ | {
26375
+ /** Date and time at which Seam created the error. */
26376
+ created_at: string
26377
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26378
+ message: string
26379
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26380
+ error_code: 'failed_to_issue'
26381
+ }
26382
+ | {
26383
+ /** Date and time at which Seam created the error. */
26384
+ created_at: string
26385
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26386
+ message: string
26387
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26388
+ error_code: 'access_not_provisioned'
26389
+ }
26390
+ )[]
25993
26391
  /** 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. */
25994
26392
  pending_mutations: (
25995
26393
  | {
@@ -27488,14 +27886,24 @@ export type Routes = {
27488
27886
  }
27489
27887
  )[]
27490
27888
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
27491
- errors: {
27492
- /** Date and time at which Seam created the error. */
27493
- created_at: string
27494
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27495
- message: string
27496
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27497
- error_code: 'failed_to_issue'
27498
- }[]
27889
+ errors: (
27890
+ | {
27891
+ /** Date and time at which Seam created the error. */
27892
+ created_at: string
27893
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27894
+ message: string
27895
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27896
+ error_code: 'failed_to_issue'
27897
+ }
27898
+ | {
27899
+ /** Date and time at which Seam created the error. */
27900
+ created_at: string
27901
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27902
+ message: string
27903
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27904
+ error_code: 'access_not_provisioned'
27905
+ }
27906
+ )[]
27499
27907
  /** 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. */
27500
27908
  pending_mutations: (
27501
27909
  | {
@@ -27931,6 +28339,44 @@ export type Routes = {
27931
28339
  message: string
27932
28340
  }
27933
28341
  }
28342
+ | {
28343
+ /** ID of the action attempt. */
28344
+ action_attempt_id: string
28345
+ status: 'pending'
28346
+ /** Result of the action attempt. Null for pending action attempts. */
28347
+ result: null
28348
+ /** Errors associated with the action attempt. Null for pending action attempts. */
28349
+ error: null
28350
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
28351
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
28352
+ }
28353
+ | {
28354
+ /** ID of the action attempt. */
28355
+ action_attempt_id: string
28356
+ status: 'success'
28357
+ /** Errors associated with the action attempt. Null for successful action attempts. */
28358
+ error: null
28359
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
28360
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
28361
+ /** Result of the action. */
28362
+ result: {}
28363
+ }
28364
+ | {
28365
+ /** ID of the action attempt. */
28366
+ action_attempt_id: string
28367
+ status: 'error'
28368
+ /** Result of the action attempt. Null for failed action attempts. */
28369
+ result: null
28370
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
28371
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
28372
+ /** Error associated with the action. */
28373
+ error: {
28374
+ /** Type of the error. */
28375
+ type: string
28376
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28377
+ message: string
28378
+ }
28379
+ }
27934
28380
  | {
27935
28381
  /** ID of the action attempt. */
27936
28382
  action_attempt_id: string
@@ -28315,14 +28761,24 @@ export type Routes = {
28315
28761
  }
28316
28762
  )[]
28317
28763
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
28318
- errors: {
28319
- /** Date and time at which Seam created the error. */
28320
- created_at: string
28321
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28322
- message: string
28323
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28324
- error_code: 'failed_to_issue'
28325
- }[]
28764
+ errors: (
28765
+ | {
28766
+ /** Date and time at which Seam created the error. */
28767
+ created_at: string
28768
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28769
+ message: string
28770
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28771
+ error_code: 'failed_to_issue'
28772
+ }
28773
+ | {
28774
+ /** Date and time at which Seam created the error. */
28775
+ created_at: string
28776
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28777
+ message: string
28778
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28779
+ error_code: 'access_not_provisioned'
28780
+ }
28781
+ )[]
28326
28782
  /** 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. */
28327
28783
  pending_mutations: (
28328
28784
  | {
@@ -28486,14 +28942,24 @@ export type Routes = {
28486
28942
  }
28487
28943
  )[]
28488
28944
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
28489
- errors: {
28490
- /** Date and time at which Seam created the error. */
28491
- created_at: string
28492
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28493
- message: string
28494
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28495
- error_code: 'failed_to_issue'
28496
- }[]
28945
+ errors: (
28946
+ | {
28947
+ /** Date and time at which Seam created the error. */
28948
+ created_at: string
28949
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28950
+ message: string
28951
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28952
+ error_code: 'failed_to_issue'
28953
+ }
28954
+ | {
28955
+ /** Date and time at which Seam created the error. */
28956
+ created_at: string
28957
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28958
+ message: string
28959
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28960
+ error_code: 'access_not_provisioned'
28961
+ }
28962
+ )[]
28497
28963
  /** 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. */
28498
28964
  pending_mutations: (
28499
28965
  | {
@@ -33782,14 +34248,24 @@ export type Routes = {
33782
34248
  }
33783
34249
  )[]
33784
34250
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
33785
- errors: {
33786
- /** Date and time at which Seam created the error. */
33787
- created_at: string
33788
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
33789
- message: string
33790
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
33791
- error_code: 'failed_to_issue'
33792
- }[]
34251
+ errors: (
34252
+ | {
34253
+ /** Date and time at which Seam created the error. */
34254
+ created_at: string
34255
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34256
+ message: string
34257
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34258
+ error_code: 'failed_to_issue'
34259
+ }
34260
+ | {
34261
+ /** Date and time at which Seam created the error. */
34262
+ created_at: string
34263
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34264
+ message: string
34265
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34266
+ error_code: 'access_not_provisioned'
34267
+ }
34268
+ )[]
33793
34269
  /** 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. */
33794
34270
  pending_mutations: (
33795
34271
  | {
@@ -34225,6 +34701,44 @@ export type Routes = {
34225
34701
  message: string
34226
34702
  }
34227
34703
  }
34704
+ | {
34705
+ /** ID of the action attempt. */
34706
+ action_attempt_id: string
34707
+ status: 'pending'
34708
+ /** Result of the action attempt. Null for pending action attempts. */
34709
+ result: null
34710
+ /** Errors associated with the action attempt. Null for pending action attempts. */
34711
+ error: null
34712
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
34713
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
34714
+ }
34715
+ | {
34716
+ /** ID of the action attempt. */
34717
+ action_attempt_id: string
34718
+ status: 'success'
34719
+ /** Errors associated with the action attempt. Null for successful action attempts. */
34720
+ error: null
34721
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
34722
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
34723
+ /** Result of the action. */
34724
+ result: {}
34725
+ }
34726
+ | {
34727
+ /** ID of the action attempt. */
34728
+ action_attempt_id: string
34729
+ status: 'error'
34730
+ /** Result of the action attempt. Null for failed action attempts. */
34731
+ result: null
34732
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
34733
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
34734
+ /** Error associated with the action. */
34735
+ error: {
34736
+ /** Type of the error. */
34737
+ type: string
34738
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34739
+ message: string
34740
+ }
34741
+ }
34228
34742
  | {
34229
34743
  /** ID of the action attempt. */
34230
34744
  action_attempt_id: string
@@ -36048,14 +36562,24 @@ export type Routes = {
36048
36562
  }
36049
36563
  )[]
36050
36564
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
36051
- errors: {
36052
- /** Date and time at which Seam created the error. */
36053
- created_at: string
36054
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36055
- message: string
36056
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36057
- error_code: 'failed_to_issue'
36058
- }[]
36565
+ errors: (
36566
+ | {
36567
+ /** Date and time at which Seam created the error. */
36568
+ created_at: string
36569
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36570
+ message: string
36571
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36572
+ error_code: 'failed_to_issue'
36573
+ }
36574
+ | {
36575
+ /** Date and time at which Seam created the error. */
36576
+ created_at: string
36577
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
36578
+ message: string
36579
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36580
+ error_code: 'access_not_provisioned'
36581
+ }
36582
+ )[]
36059
36583
  /** 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. */
36060
36584
  pending_mutations: (
36061
36585
  | {
@@ -36491,6 +37015,44 @@ export type Routes = {
36491
37015
  message: string
36492
37016
  }
36493
37017
  }
37018
+ | {
37019
+ /** ID of the action attempt. */
37020
+ action_attempt_id: string
37021
+ status: 'pending'
37022
+ /** Result of the action attempt. Null for pending action attempts. */
37023
+ result: null
37024
+ /** Errors associated with the action attempt. Null for pending action attempts. */
37025
+ error: null
37026
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
37027
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
37028
+ }
37029
+ | {
37030
+ /** ID of the action attempt. */
37031
+ action_attempt_id: string
37032
+ status: 'success'
37033
+ /** Errors associated with the action attempt. Null for successful action attempts. */
37034
+ error: null
37035
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
37036
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
37037
+ /** Result of the action. */
37038
+ result: {}
37039
+ }
37040
+ | {
37041
+ /** ID of the action attempt. */
37042
+ action_attempt_id: string
37043
+ status: 'error'
37044
+ /** Result of the action attempt. Null for failed action attempts. */
37045
+ result: null
37046
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
37047
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
37048
+ /** Error associated with the action. */
37049
+ error: {
37050
+ /** Type of the error. */
37051
+ type: string
37052
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37053
+ message: string
37054
+ }
37055
+ }
36494
37056
  | {
36495
37057
  /** ID of the action attempt. */
36496
37058
  action_attempt_id: string
@@ -38213,14 +38775,24 @@ export type Routes = {
38213
38775
  }
38214
38776
  )[]
38215
38777
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
38216
- errors: {
38217
- /** Date and time at which Seam created the error. */
38218
- created_at: string
38219
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38220
- message: string
38221
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38222
- error_code: 'failed_to_issue'
38223
- }[]
38778
+ errors: (
38779
+ | {
38780
+ /** Date and time at which Seam created the error. */
38781
+ created_at: string
38782
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38783
+ message: string
38784
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38785
+ error_code: 'failed_to_issue'
38786
+ }
38787
+ | {
38788
+ /** Date and time at which Seam created the error. */
38789
+ created_at: string
38790
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
38791
+ message: string
38792
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38793
+ error_code: 'access_not_provisioned'
38794
+ }
38795
+ )[]
38224
38796
  /** 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. */
38225
38797
  pending_mutations: (
38226
38798
  | {
@@ -38656,6 +39228,44 @@ export type Routes = {
38656
39228
  message: string
38657
39229
  }
38658
39230
  }
39231
+ | {
39232
+ /** ID of the action attempt. */
39233
+ action_attempt_id: string
39234
+ status: 'pending'
39235
+ /** Result of the action attempt. Null for pending action attempts. */
39236
+ result: null
39237
+ /** Errors associated with the action attempt. Null for pending action attempts. */
39238
+ error: null
39239
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
39240
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
39241
+ }
39242
+ | {
39243
+ /** ID of the action attempt. */
39244
+ action_attempt_id: string
39245
+ status: 'success'
39246
+ /** Errors associated with the action attempt. Null for successful action attempts. */
39247
+ error: null
39248
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
39249
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
39250
+ /** Result of the action. */
39251
+ result: {}
39252
+ }
39253
+ | {
39254
+ /** ID of the action attempt. */
39255
+ action_attempt_id: string
39256
+ status: 'error'
39257
+ /** Result of the action attempt. Null for failed action attempts. */
39258
+ result: null
39259
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
39260
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
39261
+ /** Error associated with the action. */
39262
+ error: {
39263
+ /** Type of the error. */
39264
+ type: string
39265
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
39266
+ message: string
39267
+ }
39268
+ }
38659
39269
  | {
38660
39270
  /** ID of the action attempt. */
38661
39271
  action_attempt_id: string
@@ -41263,14 +41873,24 @@ export type Routes = {
41263
41873
  }
41264
41874
  )[]
41265
41875
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
41266
- errors: {
41267
- /** Date and time at which Seam created the error. */
41268
- created_at: string
41269
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41270
- message: string
41271
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41272
- error_code: 'failed_to_issue'
41273
- }[]
41876
+ errors: (
41877
+ | {
41878
+ /** Date and time at which Seam created the error. */
41879
+ created_at: string
41880
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41881
+ message: string
41882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41883
+ error_code: 'failed_to_issue'
41884
+ }
41885
+ | {
41886
+ /** Date and time at which Seam created the error. */
41887
+ created_at: string
41888
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41889
+ message: string
41890
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41891
+ error_code: 'access_not_provisioned'
41892
+ }
41893
+ )[]
41274
41894
  /** 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. */
41275
41895
  pending_mutations: (
41276
41896
  | {
@@ -41706,6 +42326,44 @@ export type Routes = {
41706
42326
  message: string
41707
42327
  }
41708
42328
  }
42329
+ | {
42330
+ /** ID of the action attempt. */
42331
+ action_attempt_id: string
42332
+ status: 'pending'
42333
+ /** Result of the action attempt. Null for pending action attempts. */
42334
+ result: null
42335
+ /** Errors associated with the action attempt. Null for pending action attempts. */
42336
+ error: null
42337
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
42338
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
42339
+ }
42340
+ | {
42341
+ /** ID of the action attempt. */
42342
+ action_attempt_id: string
42343
+ status: 'success'
42344
+ /** Errors associated with the action attempt. Null for successful action attempts. */
42345
+ error: null
42346
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
42347
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
42348
+ /** Result of the action. */
42349
+ result: {}
42350
+ }
42351
+ | {
42352
+ /** ID of the action attempt. */
42353
+ action_attempt_id: string
42354
+ status: 'error'
42355
+ /** Result of the action attempt. Null for failed action attempts. */
42356
+ result: null
42357
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
42358
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
42359
+ /** Error associated with the action. */
42360
+ error: {
42361
+ /** Type of the error. */
42362
+ type: string
42363
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
42364
+ message: string
42365
+ }
42366
+ }
41709
42367
  | {
41710
42368
  /** ID of the action attempt. */
41711
42369
  action_attempt_id: string
@@ -46227,14 +46885,24 @@ export type Routes = {
46227
46885
  }
46228
46886
  )[]
46229
46887
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
46230
- errors: {
46231
- /** Date and time at which Seam created the error. */
46232
- created_at: string
46233
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
46234
- message: string
46235
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46236
- error_code: 'failed_to_issue'
46237
- }[]
46888
+ errors: (
46889
+ | {
46890
+ /** Date and time at which Seam created the error. */
46891
+ created_at: string
46892
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
46893
+ message: string
46894
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46895
+ error_code: 'failed_to_issue'
46896
+ }
46897
+ | {
46898
+ /** Date and time at which Seam created the error. */
46899
+ created_at: string
46900
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
46901
+ message: string
46902
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46903
+ error_code: 'access_not_provisioned'
46904
+ }
46905
+ )[]
46238
46906
  /** 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. */
46239
46907
  pending_mutations: (
46240
46908
  | {
@@ -46670,6 +47338,44 @@ export type Routes = {
46670
47338
  message: string
46671
47339
  }
46672
47340
  }
47341
+ | {
47342
+ /** ID of the action attempt. */
47343
+ action_attempt_id: string
47344
+ status: 'pending'
47345
+ /** Result of the action attempt. Null for pending action attempts. */
47346
+ result: null
47347
+ /** Errors associated with the action attempt. Null for pending action attempts. */
47348
+ error: null
47349
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
47350
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
47351
+ }
47352
+ | {
47353
+ /** ID of the action attempt. */
47354
+ action_attempt_id: string
47355
+ status: 'success'
47356
+ /** Errors associated with the action attempt. Null for successful action attempts. */
47357
+ error: null
47358
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
47359
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
47360
+ /** Result of the action. */
47361
+ result: {}
47362
+ }
47363
+ | {
47364
+ /** ID of the action attempt. */
47365
+ action_attempt_id: string
47366
+ status: 'error'
47367
+ /** Result of the action attempt. Null for failed action attempts. */
47368
+ result: null
47369
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
47370
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
47371
+ /** Error associated with the action. */
47372
+ error: {
47373
+ /** Type of the error. */
47374
+ type: string
47375
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
47376
+ message: string
47377
+ }
47378
+ }
46673
47379
  | {
46674
47380
  /** ID of the action attempt. */
46675
47381
  action_attempt_id: string
@@ -48382,14 +49088,24 @@ export type Routes = {
48382
49088
  }
48383
49089
  )[]
48384
49090
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
48385
- errors: {
48386
- /** Date and time at which Seam created the error. */
48387
- created_at: string
48388
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48389
- message: string
48390
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48391
- error_code: 'failed_to_issue'
48392
- }[]
49091
+ errors: (
49092
+ | {
49093
+ /** Date and time at which Seam created the error. */
49094
+ created_at: string
49095
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
49096
+ message: string
49097
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49098
+ error_code: 'failed_to_issue'
49099
+ }
49100
+ | {
49101
+ /** Date and time at which Seam created the error. */
49102
+ created_at: string
49103
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
49104
+ message: string
49105
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49106
+ error_code: 'access_not_provisioned'
49107
+ }
49108
+ )[]
48393
49109
  /** 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. */
48394
49110
  pending_mutations: (
48395
49111
  | {
@@ -48825,6 +49541,44 @@ export type Routes = {
48825
49541
  message: string
48826
49542
  }
48827
49543
  }
49544
+ | {
49545
+ /** ID of the action attempt. */
49546
+ action_attempt_id: string
49547
+ status: 'pending'
49548
+ /** Result of the action attempt. Null for pending action attempts. */
49549
+ result: null
49550
+ /** Errors associated with the action attempt. Null for pending action attempts. */
49551
+ error: null
49552
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
49553
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
49554
+ }
49555
+ | {
49556
+ /** ID of the action attempt. */
49557
+ action_attempt_id: string
49558
+ status: 'success'
49559
+ /** Errors associated with the action attempt. Null for successful action attempts. */
49560
+ error: null
49561
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
49562
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
49563
+ /** Result of the action. */
49564
+ result: {}
49565
+ }
49566
+ | {
49567
+ /** ID of the action attempt. */
49568
+ action_attempt_id: string
49569
+ status: 'error'
49570
+ /** Result of the action attempt. Null for failed action attempts. */
49571
+ result: null
49572
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
49573
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
49574
+ /** Error associated with the action. */
49575
+ error: {
49576
+ /** Type of the error. */
49577
+ type: string
49578
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
49579
+ message: string
49580
+ }
49581
+ }
48828
49582
  | {
48829
49583
  /** ID of the action attempt. */
48830
49584
  action_attempt_id: string
@@ -68811,14 +69565,24 @@ export type Routes = {
68811
69565
  }
68812
69566
  )[]
68813
69567
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
68814
- errors: {
68815
- /** Date and time at which Seam created the error. */
68816
- created_at: string
68817
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
68818
- message: string
68819
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68820
- error_code: 'failed_to_issue'
68821
- }[]
69568
+ errors: (
69569
+ | {
69570
+ /** Date and time at which Seam created the error. */
69571
+ created_at: string
69572
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69573
+ message: string
69574
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69575
+ error_code: 'failed_to_issue'
69576
+ }
69577
+ | {
69578
+ /** Date and time at which Seam created the error. */
69579
+ created_at: string
69580
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
69581
+ message: string
69582
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69583
+ error_code: 'access_not_provisioned'
69584
+ }
69585
+ )[]
68822
69586
  /** 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. */
68823
69587
  pending_mutations: (
68824
69588
  | {
@@ -69254,6 +70018,44 @@ export type Routes = {
69254
70018
  message: string
69255
70019
  }
69256
70020
  }
70021
+ | {
70022
+ /** ID of the action attempt. */
70023
+ action_attempt_id: string
70024
+ status: 'pending'
70025
+ /** Result of the action attempt. Null for pending action attempts. */
70026
+ result: null
70027
+ /** Errors associated with the action attempt. Null for pending action attempts. */
70028
+ error: null
70029
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
70030
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
70031
+ }
70032
+ | {
70033
+ /** ID of the action attempt. */
70034
+ action_attempt_id: string
70035
+ status: 'success'
70036
+ /** Errors associated with the action attempt. Null for successful action attempts. */
70037
+ error: null
70038
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
70039
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
70040
+ /** Result of the action. */
70041
+ result: {}
70042
+ }
70043
+ | {
70044
+ /** ID of the action attempt. */
70045
+ action_attempt_id: string
70046
+ status: 'error'
70047
+ /** Result of the action attempt. Null for failed action attempts. */
70048
+ result: null
70049
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
70050
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
70051
+ /** Error associated with the action. */
70052
+ error: {
70053
+ /** Type of the error. */
70054
+ type: string
70055
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70056
+ message: string
70057
+ }
70058
+ }
69257
70059
  | {
69258
70060
  /** ID of the action attempt. */
69259
70061
  action_attempt_id: string
@@ -78863,14 +79665,24 @@ export type Routes = {
78863
79665
  }
78864
79666
  )[]
78865
79667
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
78866
- errors: {
78867
- /** Date and time at which Seam created the error. */
78868
- created_at: string
78869
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
78870
- message: string
78871
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78872
- error_code: 'failed_to_issue'
78873
- }[]
79668
+ errors: (
79669
+ | {
79670
+ /** Date and time at which Seam created the error. */
79671
+ created_at: string
79672
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
79673
+ message: string
79674
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79675
+ error_code: 'failed_to_issue'
79676
+ }
79677
+ | {
79678
+ /** Date and time at which Seam created the error. */
79679
+ created_at: string
79680
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
79681
+ message: string
79682
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79683
+ error_code: 'access_not_provisioned'
79684
+ }
79685
+ )[]
78874
79686
  /** 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. */
78875
79687
  pending_mutations: (
78876
79688
  | {
@@ -79306,6 +80118,44 @@ export type Routes = {
79306
80118
  message: string
79307
80119
  }
79308
80120
  }
80121
+ | {
80122
+ /** ID of the action attempt. */
80123
+ action_attempt_id: string
80124
+ status: 'pending'
80125
+ /** Result of the action attempt. Null for pending action attempts. */
80126
+ result: null
80127
+ /** Errors associated with the action attempt. Null for pending action attempts. */
80128
+ error: null
80129
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
80130
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
80131
+ }
80132
+ | {
80133
+ /** ID of the action attempt. */
80134
+ action_attempt_id: string
80135
+ status: 'success'
80136
+ /** Errors associated with the action attempt. Null for successful action attempts. */
80137
+ error: null
80138
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
80139
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
80140
+ /** Result of the action. */
80141
+ result: {}
80142
+ }
80143
+ | {
80144
+ /** ID of the action attempt. */
80145
+ action_attempt_id: string
80146
+ status: 'error'
80147
+ /** Result of the action attempt. Null for failed action attempts. */
80148
+ result: null
80149
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
80150
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
80151
+ /** Error associated with the action. */
80152
+ error: {
80153
+ /** Type of the error. */
80154
+ type: string
80155
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
80156
+ message: string
80157
+ }
80158
+ }
79309
80159
  | {
79310
80160
  /** ID of the action attempt. */
79311
80161
  action_attempt_id: string
@@ -81019,14 +81869,24 @@ export type Routes = {
81019
81869
  }
81020
81870
  )[]
81021
81871
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
81022
- errors: {
81023
- /** Date and time at which Seam created the error. */
81024
- created_at: string
81025
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81026
- message: string
81027
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81028
- error_code: 'failed_to_issue'
81029
- }[]
81872
+ errors: (
81873
+ | {
81874
+ /** Date and time at which Seam created the error. */
81875
+ created_at: string
81876
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81877
+ message: string
81878
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81879
+ error_code: 'failed_to_issue'
81880
+ }
81881
+ | {
81882
+ /** Date and time at which Seam created the error. */
81883
+ created_at: string
81884
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81885
+ message: string
81886
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
81887
+ error_code: 'access_not_provisioned'
81888
+ }
81889
+ )[]
81030
81890
  /** 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. */
81031
81891
  pending_mutations: (
81032
81892
  | {
@@ -81462,6 +82322,44 @@ export type Routes = {
81462
82322
  message: string
81463
82323
  }
81464
82324
  }
82325
+ | {
82326
+ /** ID of the action attempt. */
82327
+ action_attempt_id: string
82328
+ status: 'pending'
82329
+ /** Result of the action attempt. Null for pending action attempts. */
82330
+ result: null
82331
+ /** Errors associated with the action attempt. Null for pending action attempts. */
82332
+ error: null
82333
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
82334
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
82335
+ }
82336
+ | {
82337
+ /** ID of the action attempt. */
82338
+ action_attempt_id: string
82339
+ status: 'success'
82340
+ /** Errors associated with the action attempt. Null for successful action attempts. */
82341
+ error: null
82342
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
82343
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
82344
+ /** Result of the action. */
82345
+ result: {}
82346
+ }
82347
+ | {
82348
+ /** ID of the action attempt. */
82349
+ action_attempt_id: string
82350
+ status: 'error'
82351
+ /** Result of the action attempt. Null for failed action attempts. */
82352
+ result: null
82353
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
82354
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
82355
+ /** Error associated with the action. */
82356
+ error: {
82357
+ /** Type of the error. */
82358
+ type: string
82359
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82360
+ message: string
82361
+ }
82362
+ }
81465
82363
  | {
81466
82364
  /** ID of the action attempt. */
81467
82365
  action_attempt_id: string
@@ -83173,14 +84071,24 @@ export type Routes = {
83173
84071
  }
83174
84072
  )[]
83175
84073
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
83176
- errors: {
83177
- /** Date and time at which Seam created the error. */
83178
- created_at: string
83179
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83180
- message: string
83181
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
83182
- error_code: 'failed_to_issue'
83183
- }[]
84074
+ errors: (
84075
+ | {
84076
+ /** Date and time at which Seam created the error. */
84077
+ created_at: string
84078
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84079
+ message: string
84080
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84081
+ error_code: 'failed_to_issue'
84082
+ }
84083
+ | {
84084
+ /** Date and time at which Seam created the error. */
84085
+ created_at: string
84086
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84087
+ message: string
84088
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
84089
+ error_code: 'access_not_provisioned'
84090
+ }
84091
+ )[]
83184
84092
  /** 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. */
83185
84093
  pending_mutations: (
83186
84094
  | {
@@ -83616,6 +84524,44 @@ export type Routes = {
83616
84524
  message: string
83617
84525
  }
83618
84526
  }
84527
+ | {
84528
+ /** ID of the action attempt. */
84529
+ action_attempt_id: string
84530
+ status: 'pending'
84531
+ /** Result of the action attempt. Null for pending action attempts. */
84532
+ result: null
84533
+ /** Errors associated with the action attempt. Null for pending action attempts. */
84534
+ error: null
84535
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
84536
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
84537
+ }
84538
+ | {
84539
+ /** ID of the action attempt. */
84540
+ action_attempt_id: string
84541
+ status: 'success'
84542
+ /** Errors associated with the action attempt. Null for successful action attempts. */
84543
+ error: null
84544
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
84545
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
84546
+ /** Result of the action. */
84547
+ result: {}
84548
+ }
84549
+ | {
84550
+ /** ID of the action attempt. */
84551
+ action_attempt_id: string
84552
+ status: 'error'
84553
+ /** Result of the action attempt. Null for failed action attempts. */
84554
+ result: null
84555
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
84556
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
84557
+ /** Error associated with the action. */
84558
+ error: {
84559
+ /** Type of the error. */
84560
+ type: string
84561
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84562
+ message: string
84563
+ }
84564
+ }
83619
84565
  | {
83620
84566
  /** ID of the action attempt. */
83621
84567
  action_attempt_id: string
@@ -85329,14 +86275,24 @@ export type Routes = {
85329
86275
  }
85330
86276
  )[]
85331
86277
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
85332
- errors: {
85333
- /** Date and time at which Seam created the error. */
85334
- created_at: string
85335
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
85336
- message: string
85337
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
85338
- error_code: 'failed_to_issue'
85339
- }[]
86278
+ errors: (
86279
+ | {
86280
+ /** Date and time at which Seam created the error. */
86281
+ created_at: string
86282
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86283
+ message: string
86284
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86285
+ error_code: 'failed_to_issue'
86286
+ }
86287
+ | {
86288
+ /** Date and time at which Seam created the error. */
86289
+ created_at: string
86290
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86291
+ message: string
86292
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
86293
+ error_code: 'access_not_provisioned'
86294
+ }
86295
+ )[]
85340
86296
  /** 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. */
85341
86297
  pending_mutations: (
85342
86298
  | {
@@ -85772,6 +86728,44 @@ export type Routes = {
85772
86728
  message: string
85773
86729
  }
85774
86730
  }
86731
+ | {
86732
+ /** ID of the action attempt. */
86733
+ action_attempt_id: string
86734
+ status: 'pending'
86735
+ /** Result of the action attempt. Null for pending action attempts. */
86736
+ result: null
86737
+ /** Errors associated with the action attempt. Null for pending action attempts. */
86738
+ error: null
86739
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
86740
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
86741
+ }
86742
+ | {
86743
+ /** ID of the action attempt. */
86744
+ action_attempt_id: string
86745
+ status: 'success'
86746
+ /** Errors associated with the action attempt. Null for successful action attempts. */
86747
+ error: null
86748
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
86749
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
86750
+ /** Result of the action. */
86751
+ result: {}
86752
+ }
86753
+ | {
86754
+ /** ID of the action attempt. */
86755
+ action_attempt_id: string
86756
+ status: 'error'
86757
+ /** Result of the action attempt. Null for failed action attempts. */
86758
+ result: null
86759
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
86760
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
86761
+ /** Error associated with the action. */
86762
+ error: {
86763
+ /** Type of the error. */
86764
+ type: string
86765
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86766
+ message: string
86767
+ }
86768
+ }
85775
86769
  | {
85776
86770
  /** ID of the action attempt. */
85777
86771
  action_attempt_id: string
@@ -91434,14 +92428,24 @@ export type Routes = {
91434
92428
  }
91435
92429
  )[]
91436
92430
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
91437
- errors: {
91438
- /** Date and time at which Seam created the error. */
91439
- created_at: string
91440
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
91441
- message: string
91442
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
91443
- error_code: 'failed_to_issue'
91444
- }[]
92431
+ errors: (
92432
+ | {
92433
+ /** Date and time at which Seam created the error. */
92434
+ created_at: string
92435
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
92436
+ message: string
92437
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
92438
+ error_code: 'failed_to_issue'
92439
+ }
92440
+ | {
92441
+ /** Date and time at which Seam created the error. */
92442
+ created_at: string
92443
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
92444
+ message: string
92445
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
92446
+ error_code: 'access_not_provisioned'
92447
+ }
92448
+ )[]
91445
92449
  /** 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. */
91446
92450
  pending_mutations: (
91447
92451
  | {
@@ -91877,6 +92881,44 @@ export type Routes = {
91877
92881
  message: string
91878
92882
  }
91879
92883
  }
92884
+ | {
92885
+ /** ID of the action attempt. */
92886
+ action_attempt_id: string
92887
+ status: 'pending'
92888
+ /** Result of the action attempt. Null for pending action attempts. */
92889
+ result: null
92890
+ /** Errors associated with the action attempt. Null for pending action attempts. */
92891
+ error: null
92892
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
92893
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
92894
+ }
92895
+ | {
92896
+ /** ID of the action attempt. */
92897
+ action_attempt_id: string
92898
+ status: 'success'
92899
+ /** Errors associated with the action attempt. Null for successful action attempts. */
92900
+ error: null
92901
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
92902
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
92903
+ /** Result of the action. */
92904
+ result: {}
92905
+ }
92906
+ | {
92907
+ /** ID of the action attempt. */
92908
+ action_attempt_id: string
92909
+ status: 'error'
92910
+ /** Result of the action attempt. Null for failed action attempts. */
92911
+ result: null
92912
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
92913
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
92914
+ /** Error associated with the action. */
92915
+ error: {
92916
+ /** Type of the error. */
92917
+ type: string
92918
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
92919
+ message: string
92920
+ }
92921
+ }
91880
92922
  | {
91881
92923
  /** ID of the action attempt. */
91882
92924
  action_attempt_id: string
@@ -93609,14 +94651,24 @@ export type Routes = {
93609
94651
  }
93610
94652
  )[]
93611
94653
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
93612
- errors: {
93613
- /** Date and time at which Seam created the error. */
93614
- created_at: string
93615
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
93616
- message: string
93617
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
93618
- error_code: 'failed_to_issue'
93619
- }[]
94654
+ errors: (
94655
+ | {
94656
+ /** Date and time at which Seam created the error. */
94657
+ created_at: string
94658
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
94659
+ message: string
94660
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
94661
+ error_code: 'failed_to_issue'
94662
+ }
94663
+ | {
94664
+ /** Date and time at which Seam created the error. */
94665
+ created_at: string
94666
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
94667
+ message: string
94668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
94669
+ error_code: 'access_not_provisioned'
94670
+ }
94671
+ )[]
93620
94672
  /** 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. */
93621
94673
  pending_mutations: (
93622
94674
  | {
@@ -94052,6 +95104,44 @@ export type Routes = {
94052
95104
  message: string
94053
95105
  }
94054
95106
  }
95107
+ | {
95108
+ /** ID of the action attempt. */
95109
+ action_attempt_id: string
95110
+ status: 'pending'
95111
+ /** Result of the action attempt. Null for pending action attempts. */
95112
+ result: null
95113
+ /** Errors associated with the action attempt. Null for pending action attempts. */
95114
+ error: null
95115
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
95116
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
95117
+ }
95118
+ | {
95119
+ /** ID of the action attempt. */
95120
+ action_attempt_id: string
95121
+ status: 'success'
95122
+ /** Errors associated with the action attempt. Null for successful action attempts. */
95123
+ error: null
95124
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
95125
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
95126
+ /** Result of the action. */
95127
+ result: {}
95128
+ }
95129
+ | {
95130
+ /** ID of the action attempt. */
95131
+ action_attempt_id: string
95132
+ status: 'error'
95133
+ /** Result of the action attempt. Null for failed action attempts. */
95134
+ result: null
95135
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
95136
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
95137
+ /** Error associated with the action. */
95138
+ error: {
95139
+ /** Type of the error. */
95140
+ type: string
95141
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
95142
+ message: string
95143
+ }
95144
+ }
94055
95145
  | {
94056
95146
  /** ID of the action attempt. */
94057
95147
  action_attempt_id: string
@@ -95840,14 +96930,24 @@ export type Routes = {
95840
96930
  }
95841
96931
  )[]
95842
96932
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
95843
- errors: {
95844
- /** Date and time at which Seam created the error. */
95845
- created_at: string
95846
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
95847
- message: string
95848
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
95849
- error_code: 'failed_to_issue'
95850
- }[]
96933
+ errors: (
96934
+ | {
96935
+ /** Date and time at which Seam created the error. */
96936
+ created_at: string
96937
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
96938
+ message: string
96939
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
96940
+ error_code: 'failed_to_issue'
96941
+ }
96942
+ | {
96943
+ /** Date and time at which Seam created the error. */
96944
+ created_at: string
96945
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
96946
+ message: string
96947
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
96948
+ error_code: 'access_not_provisioned'
96949
+ }
96950
+ )[]
95851
96951
  /** 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. */
95852
96952
  pending_mutations: (
95853
96953
  | {
@@ -96283,6 +97383,44 @@ export type Routes = {
96283
97383
  message: string
96284
97384
  }
96285
97385
  }
97386
+ | {
97387
+ /** ID of the action attempt. */
97388
+ action_attempt_id: string
97389
+ status: 'pending'
97390
+ /** Result of the action attempt. Null for pending action attempts. */
97391
+ result: null
97392
+ /** Errors associated with the action attempt. Null for pending action attempts. */
97393
+ error: null
97394
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
97395
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
97396
+ }
97397
+ | {
97398
+ /** ID of the action attempt. */
97399
+ action_attempt_id: string
97400
+ status: 'success'
97401
+ /** Errors associated with the action attempt. Null for successful action attempts. */
97402
+ error: null
97403
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
97404
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
97405
+ /** Result of the action. */
97406
+ result: {}
97407
+ }
97408
+ | {
97409
+ /** ID of the action attempt. */
97410
+ action_attempt_id: string
97411
+ status: 'error'
97412
+ /** Result of the action attempt. Null for failed action attempts. */
97413
+ result: null
97414
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
97415
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
97416
+ /** Error associated with the action. */
97417
+ error: {
97418
+ /** Type of the error. */
97419
+ type: string
97420
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
97421
+ message: string
97422
+ }
97423
+ }
96286
97424
  | {
96287
97425
  /** ID of the action attempt. */
96288
97426
  action_attempt_id: string
@@ -98494,16 +99632,26 @@ export type Routes = {
98494
99632
  }
98495
99633
  )[]
98496
99634
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
98497
- errors: {
98498
- /** Date and time at which Seam created the error. */
98499
- created_at: string
98500
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
98501
- message: string
98502
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
98503
- error_code: 'cannot_create_requested_access_methods'
98504
- /** 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. */
98505
- missing_device_ids?: string[] | undefined
98506
- }[]
99635
+ errors: (
99636
+ | {
99637
+ /** Date and time at which Seam created the error. */
99638
+ created_at: string
99639
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99640
+ message: string
99641
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99642
+ error_code: 'cannot_create_requested_access_methods'
99643
+ /** 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. */
99644
+ missing_device_ids?: string[] | undefined
99645
+ }
99646
+ | {
99647
+ /** Date and time at which Seam created the error. */
99648
+ created_at: string
99649
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99650
+ message: string
99651
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99652
+ error_code: 'access_not_provisioned'
99653
+ }
99654
+ )[]
98507
99655
  /** ID of the customization profile associated with the Access Grant. */
98508
99656
  customization_profile_id?: string | undefined
98509
99657
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -99994,14 +101142,24 @@ export type Routes = {
99994
101142
  }
99995
101143
  )[]
99996
101144
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
99997
- errors: {
99998
- /** Date and time at which Seam created the error. */
99999
- created_at: string
100000
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100001
- message: string
100002
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100003
- error_code: 'failed_to_issue'
100004
- }[]
101145
+ errors: (
101146
+ | {
101147
+ /** Date and time at which Seam created the error. */
101148
+ created_at: string
101149
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101150
+ message: string
101151
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
101152
+ error_code: 'failed_to_issue'
101153
+ }
101154
+ | {
101155
+ /** Date and time at which Seam created the error. */
101156
+ created_at: string
101157
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101158
+ message: string
101159
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
101160
+ error_code: 'access_not_provisioned'
101161
+ }
101162
+ )[]
100005
101163
  /** 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. */
100006
101164
  pending_mutations: (
100007
101165
  | {
@@ -100437,6 +101595,44 @@ export type Routes = {
100437
101595
  message: string
100438
101596
  }
100439
101597
  }
101598
+ | {
101599
+ /** ID of the action attempt. */
101600
+ action_attempt_id: string
101601
+ status: 'pending'
101602
+ /** Result of the action attempt. Null for pending action attempts. */
101603
+ result: null
101604
+ /** Errors associated with the action attempt. Null for pending action attempts. */
101605
+ error: null
101606
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
101607
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
101608
+ }
101609
+ | {
101610
+ /** ID of the action attempt. */
101611
+ action_attempt_id: string
101612
+ status: 'success'
101613
+ /** Errors associated with the action attempt. Null for successful action attempts. */
101614
+ error: null
101615
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
101616
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
101617
+ /** Result of the action. */
101618
+ result: {}
101619
+ }
101620
+ | {
101621
+ /** ID of the action attempt. */
101622
+ action_attempt_id: string
101623
+ status: 'error'
101624
+ /** Result of the action attempt. Null for failed action attempts. */
101625
+ result: null
101626
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
101627
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
101628
+ /** Error associated with the action. */
101629
+ error: {
101630
+ /** Type of the error. */
101631
+ type: string
101632
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101633
+ message: string
101634
+ }
101635
+ }
100440
101636
  | {
100441
101637
  /** ID of the action attempt. */
100442
101638
  action_attempt_id: string
@@ -106792,16 +107988,26 @@ export type Routes = {
106792
107988
  }
106793
107989
  )[]
106794
107990
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
106795
- errors: {
106796
- /** Date and time at which Seam created the error. */
106797
- created_at: string
106798
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
106799
- message: string
106800
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
106801
- error_code: 'cannot_create_requested_access_methods'
106802
- /** 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. */
106803
- missing_device_ids?: string[] | undefined
106804
- }[]
107991
+ errors: (
107992
+ | {
107993
+ /** Date and time at which Seam created the error. */
107994
+ created_at: string
107995
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107996
+ message: string
107997
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107998
+ error_code: 'cannot_create_requested_access_methods'
107999
+ /** 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. */
108000
+ missing_device_ids?: string[] | undefined
108001
+ }
108002
+ | {
108003
+ /** Date and time at which Seam created the error. */
108004
+ created_at: string
108005
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108006
+ message: string
108007
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108008
+ error_code: 'access_not_provisioned'
108009
+ }
108010
+ )[]
106805
108011
  /** ID of the customization profile associated with the Access Grant. */
106806
108012
  customization_profile_id?: string | undefined
106807
108013
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -107369,16 +108575,26 @@ export type Routes = {
107369
108575
  }
107370
108576
  )[]
107371
108577
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
107372
- errors: {
107373
- /** Date and time at which Seam created the error. */
107374
- created_at: string
107375
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
107376
- message: string
107377
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
107378
- error_code: 'cannot_create_requested_access_methods'
107379
- /** 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. */
107380
- missing_device_ids?: string[] | undefined
107381
- }[]
108578
+ errors: (
108579
+ | {
108580
+ /** Date and time at which Seam created the error. */
108581
+ created_at: string
108582
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108583
+ message: string
108584
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108585
+ error_code: 'cannot_create_requested_access_methods'
108586
+ /** 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. */
108587
+ missing_device_ids?: string[] | undefined
108588
+ }
108589
+ | {
108590
+ /** Date and time at which Seam created the error. */
108591
+ created_at: string
108592
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
108593
+ message: string
108594
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
108595
+ error_code: 'access_not_provisioned'
108596
+ }
108597
+ )[]
107382
108598
  /** ID of the customization profile associated with the Access Grant. */
107383
108599
  customization_profile_id?: string | undefined
107384
108600
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -115845,14 +117061,24 @@ export type Routes = {
115845
117061
  }
115846
117062
  )[]
115847
117063
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
115848
- errors: {
115849
- /** Date and time at which Seam created the error. */
115850
- created_at: string
115851
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
115852
- message: string
115853
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
115854
- error_code: 'failed_to_issue'
115855
- }[]
117064
+ errors: (
117065
+ | {
117066
+ /** Date and time at which Seam created the error. */
117067
+ created_at: string
117068
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117069
+ message: string
117070
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117071
+ error_code: 'failed_to_issue'
117072
+ }
117073
+ | {
117074
+ /** Date and time at which Seam created the error. */
117075
+ created_at: string
117076
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117077
+ message: string
117078
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117079
+ error_code: 'access_not_provisioned'
117080
+ }
117081
+ )[]
115856
117082
  /** 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. */
115857
117083
  pending_mutations: (
115858
117084
  | {
@@ -117576,14 +118802,24 @@ export type Routes = {
117576
118802
  }
117577
118803
  )[]
117578
118804
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
117579
- errors: {
117580
- /** Date and time at which Seam created the error. */
117581
- created_at: string
117582
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
117583
- message: string
117584
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
117585
- error_code: 'failed_to_issue'
117586
- }[]
118805
+ errors: (
118806
+ | {
118807
+ /** Date and time at which Seam created the error. */
118808
+ created_at: string
118809
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118810
+ message: string
118811
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118812
+ error_code: 'failed_to_issue'
118813
+ }
118814
+ | {
118815
+ /** Date and time at which Seam created the error. */
118816
+ created_at: string
118817
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
118818
+ message: string
118819
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
118820
+ error_code: 'access_not_provisioned'
118821
+ }
118822
+ )[]
117587
118823
  /** 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. */
117588
118824
  pending_mutations: (
117589
118825
  | {
@@ -118019,6 +119255,44 @@ export type Routes = {
118019
119255
  message: string
118020
119256
  }
118021
119257
  }
119258
+ | {
119259
+ /** ID of the action attempt. */
119260
+ action_attempt_id: string
119261
+ status: 'pending'
119262
+ /** Result of the action attempt. Null for pending action attempts. */
119263
+ result: null
119264
+ /** Errors associated with the action attempt. Null for pending action attempts. */
119265
+ error: null
119266
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
119267
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
119268
+ }
119269
+ | {
119270
+ /** ID of the action attempt. */
119271
+ action_attempt_id: string
119272
+ status: 'success'
119273
+ /** Errors associated with the action attempt. Null for successful action attempts. */
119274
+ error: null
119275
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
119276
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
119277
+ /** Result of the action. */
119278
+ result: {}
119279
+ }
119280
+ | {
119281
+ /** ID of the action attempt. */
119282
+ action_attempt_id: string
119283
+ status: 'error'
119284
+ /** Result of the action attempt. Null for failed action attempts. */
119285
+ result: null
119286
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
119287
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
119288
+ /** Error associated with the action. */
119289
+ error: {
119290
+ /** Type of the error. */
119291
+ type: string
119292
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119293
+ message: string
119294
+ }
119295
+ }
118022
119296
  | {
118023
119297
  /** ID of the action attempt. */
118024
119298
  action_attempt_id: string
@@ -119732,14 +121006,24 @@ export type Routes = {
119732
121006
  }
119733
121007
  )[]
119734
121008
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
119735
- errors: {
119736
- /** Date and time at which Seam created the error. */
119737
- created_at: string
119738
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
119739
- message: string
119740
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
119741
- error_code: 'failed_to_issue'
119742
- }[]
121009
+ errors: (
121010
+ | {
121011
+ /** Date and time at which Seam created the error. */
121012
+ created_at: string
121013
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121014
+ message: string
121015
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121016
+ error_code: 'failed_to_issue'
121017
+ }
121018
+ | {
121019
+ /** Date and time at which Seam created the error. */
121020
+ created_at: string
121021
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121022
+ message: string
121023
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121024
+ error_code: 'access_not_provisioned'
121025
+ }
121026
+ )[]
119743
121027
  /** 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. */
119744
121028
  pending_mutations: (
119745
121029
  | {
@@ -120175,6 +121459,44 @@ export type Routes = {
120175
121459
  message: string
120176
121460
  }
120177
121461
  }
121462
+ | {
121463
+ /** ID of the action attempt. */
121464
+ action_attempt_id: string
121465
+ status: 'pending'
121466
+ /** Result of the action attempt. Null for pending action attempts. */
121467
+ result: null
121468
+ /** Errors associated with the action attempt. Null for pending action attempts. */
121469
+ error: null
121470
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
121471
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
121472
+ }
121473
+ | {
121474
+ /** ID of the action attempt. */
121475
+ action_attempt_id: string
121476
+ status: 'success'
121477
+ /** Errors associated with the action attempt. Null for successful action attempts. */
121478
+ error: null
121479
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
121480
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
121481
+ /** Result of the action. */
121482
+ result: {}
121483
+ }
121484
+ | {
121485
+ /** ID of the action attempt. */
121486
+ action_attempt_id: string
121487
+ status: 'error'
121488
+ /** Result of the action attempt. Null for failed action attempts. */
121489
+ result: null
121490
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
121491
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
121492
+ /** Error associated with the action. */
121493
+ error: {
121494
+ /** Type of the error. */
121495
+ type: string
121496
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121497
+ message: string
121498
+ }
121499
+ }
120178
121500
  | {
120179
121501
  /** ID of the action attempt. */
120180
121502
  action_attempt_id: string
@@ -121892,14 +123214,24 @@ export type Routes = {
121892
123214
  }
121893
123215
  )[]
121894
123216
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
121895
- errors: {
121896
- /** Date and time at which Seam created the error. */
121897
- created_at: string
121898
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
121899
- message: string
121900
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
121901
- error_code: 'failed_to_issue'
121902
- }[]
123217
+ errors: (
123218
+ | {
123219
+ /** Date and time at which Seam created the error. */
123220
+ created_at: string
123221
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123222
+ message: string
123223
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123224
+ error_code: 'failed_to_issue'
123225
+ }
123226
+ | {
123227
+ /** Date and time at which Seam created the error. */
123228
+ created_at: string
123229
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123230
+ message: string
123231
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
123232
+ error_code: 'access_not_provisioned'
123233
+ }
123234
+ )[]
121903
123235
  /** 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. */
121904
123236
  pending_mutations: (
121905
123237
  | {
@@ -122335,6 +123667,44 @@ export type Routes = {
122335
123667
  message: string
122336
123668
  }
122337
123669
  }
123670
+ | {
123671
+ /** ID of the action attempt. */
123672
+ action_attempt_id: string
123673
+ status: 'pending'
123674
+ /** Result of the action attempt. Null for pending action attempts. */
123675
+ result: null
123676
+ /** Errors associated with the action attempt. Null for pending action attempts. */
123677
+ error: null
123678
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
123679
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
123680
+ }
123681
+ | {
123682
+ /** ID of the action attempt. */
123683
+ action_attempt_id: string
123684
+ status: 'success'
123685
+ /** Errors associated with the action attempt. Null for successful action attempts. */
123686
+ error: null
123687
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
123688
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
123689
+ /** Result of the action. */
123690
+ result: {}
123691
+ }
123692
+ | {
123693
+ /** ID of the action attempt. */
123694
+ action_attempt_id: string
123695
+ status: 'error'
123696
+ /** Result of the action attempt. Null for failed action attempts. */
123697
+ result: null
123698
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
123699
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
123700
+ /** Error associated with the action. */
123701
+ error: {
123702
+ /** Type of the error. */
123703
+ type: string
123704
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
123705
+ message: string
123706
+ }
123707
+ }
122338
123708
  | {
122339
123709
  /** ID of the action attempt. */
122340
123710
  action_attempt_id: string
@@ -124163,14 +125533,24 @@ export type Routes = {
124163
125533
  }
124164
125534
  )[]
124165
125535
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
124166
- errors: {
124167
- /** Date and time at which Seam created the error. */
124168
- created_at: string
124169
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
124170
- message: string
124171
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
124172
- error_code: 'failed_to_issue'
124173
- }[]
125536
+ errors: (
125537
+ | {
125538
+ /** Date and time at which Seam created the error. */
125539
+ created_at: string
125540
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125541
+ message: string
125542
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125543
+ error_code: 'failed_to_issue'
125544
+ }
125545
+ | {
125546
+ /** Date and time at which Seam created the error. */
125547
+ created_at: string
125548
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
125549
+ message: string
125550
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
125551
+ error_code: 'access_not_provisioned'
125552
+ }
125553
+ )[]
124174
125554
  /** 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. */
124175
125555
  pending_mutations: (
124176
125556
  | {
@@ -124606,6 +125986,44 @@ export type Routes = {
124606
125986
  message: string
124607
125987
  }
124608
125988
  }
125989
+ | {
125990
+ /** ID of the action attempt. */
125991
+ action_attempt_id: string
125992
+ status: 'pending'
125993
+ /** Result of the action attempt. Null for pending action attempts. */
125994
+ result: null
125995
+ /** Errors associated with the action attempt. Null for pending action attempts. */
125996
+ error: null
125997
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
125998
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
125999
+ }
126000
+ | {
126001
+ /** ID of the action attempt. */
126002
+ action_attempt_id: string
126003
+ status: 'success'
126004
+ /** Errors associated with the action attempt. Null for successful action attempts. */
126005
+ error: null
126006
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
126007
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
126008
+ /** Result of the action. */
126009
+ result: {}
126010
+ }
126011
+ | {
126012
+ /** ID of the action attempt. */
126013
+ action_attempt_id: string
126014
+ status: 'error'
126015
+ /** Result of the action attempt. Null for failed action attempts. */
126016
+ result: null
126017
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
126018
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
126019
+ /** Error associated with the action. */
126020
+ error: {
126021
+ /** Type of the error. */
126022
+ type: string
126023
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
126024
+ message: string
126025
+ }
126026
+ }
124609
126027
  | {
124610
126028
  /** ID of the action attempt. */
124611
126029
  action_attempt_id: string
@@ -128292,14 +129710,24 @@ export type Routes = {
128292
129710
  }
128293
129711
  )[]
128294
129712
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
128295
- errors: {
128296
- /** Date and time at which Seam created the error. */
128297
- created_at: string
128298
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
128299
- message: string
128300
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
128301
- error_code: 'failed_to_issue'
128302
- }[]
129713
+ errors: (
129714
+ | {
129715
+ /** Date and time at which Seam created the error. */
129716
+ created_at: string
129717
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129718
+ message: string
129719
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129720
+ error_code: 'failed_to_issue'
129721
+ }
129722
+ | {
129723
+ /** Date and time at which Seam created the error. */
129724
+ created_at: string
129725
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
129726
+ message: string
129727
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
129728
+ error_code: 'access_not_provisioned'
129729
+ }
129730
+ )[]
128303
129731
  /** 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. */
128304
129732
  pending_mutations: (
128305
129733
  | {
@@ -128735,6 +130163,44 @@ export type Routes = {
128735
130163
  message: string
128736
130164
  }
128737
130165
  }
130166
+ | {
130167
+ /** ID of the action attempt. */
130168
+ action_attempt_id: string
130169
+ status: 'pending'
130170
+ /** Result of the action attempt. Null for pending action attempts. */
130171
+ result: null
130172
+ /** Errors associated with the action attempt. Null for pending action attempts. */
130173
+ error: null
130174
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
130175
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
130176
+ }
130177
+ | {
130178
+ /** ID of the action attempt. */
130179
+ action_attempt_id: string
130180
+ status: 'success'
130181
+ /** Errors associated with the action attempt. Null for successful action attempts. */
130182
+ error: null
130183
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
130184
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
130185
+ /** Result of the action. */
130186
+ result: {}
130187
+ }
130188
+ | {
130189
+ /** ID of the action attempt. */
130190
+ action_attempt_id: string
130191
+ status: 'error'
130192
+ /** Result of the action attempt. Null for failed action attempts. */
130193
+ result: null
130194
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
130195
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
130196
+ /** Error associated with the action. */
130197
+ error: {
130198
+ /** Type of the error. */
130199
+ type: string
130200
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130201
+ message: string
130202
+ }
130203
+ }
128738
130204
  | {
128739
130205
  /** ID of the action attempt. */
128740
130206
  action_attempt_id: string
@@ -130456,14 +131922,24 @@ export type Routes = {
130456
131922
  }
130457
131923
  )[]
130458
131924
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
130459
- errors: {
130460
- /** Date and time at which Seam created the error. */
130461
- created_at: string
130462
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
130463
- message: string
130464
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
130465
- error_code: 'failed_to_issue'
130466
- }[]
131925
+ errors: (
131926
+ | {
131927
+ /** Date and time at which Seam created the error. */
131928
+ created_at: string
131929
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
131930
+ message: string
131931
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
131932
+ error_code: 'failed_to_issue'
131933
+ }
131934
+ | {
131935
+ /** Date and time at which Seam created the error. */
131936
+ created_at: string
131937
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
131938
+ message: string
131939
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
131940
+ error_code: 'access_not_provisioned'
131941
+ }
131942
+ )[]
130467
131943
  /** 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. */
130468
131944
  pending_mutations: (
130469
131945
  | {
@@ -130899,6 +132375,44 @@ export type Routes = {
130899
132375
  message: string
130900
132376
  }
130901
132377
  }
132378
+ | {
132379
+ /** ID of the action attempt. */
132380
+ action_attempt_id: string
132381
+ status: 'pending'
132382
+ /** Result of the action attempt. Null for pending action attempts. */
132383
+ result: null
132384
+ /** Errors associated with the action attempt. Null for pending action attempts. */
132385
+ error: null
132386
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
132387
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
132388
+ }
132389
+ | {
132390
+ /** ID of the action attempt. */
132391
+ action_attempt_id: string
132392
+ status: 'success'
132393
+ /** Errors associated with the action attempt. Null for successful action attempts. */
132394
+ error: null
132395
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
132396
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
132397
+ /** Result of the action. */
132398
+ result: {}
132399
+ }
132400
+ | {
132401
+ /** ID of the action attempt. */
132402
+ action_attempt_id: string
132403
+ status: 'error'
132404
+ /** Result of the action attempt. Null for failed action attempts. */
132405
+ result: null
132406
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
132407
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
132408
+ /** Error associated with the action. */
132409
+ error: {
132410
+ /** Type of the error. */
132411
+ type: string
132412
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
132413
+ message: string
132414
+ }
132415
+ }
130902
132416
  | {
130903
132417
  /** ID of the action attempt. */
130904
132418
  action_attempt_id: string
@@ -136537,14 +138051,24 @@ export type Routes = {
136537
138051
  }
136538
138052
  )[]
136539
138053
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
136540
- errors: {
136541
- /** Date and time at which Seam created the error. */
136542
- created_at: string
136543
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
136544
- message: string
136545
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
136546
- error_code: 'failed_to_issue'
136547
- }[]
138054
+ errors: (
138055
+ | {
138056
+ /** Date and time at which Seam created the error. */
138057
+ created_at: string
138058
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
138059
+ message: string
138060
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
138061
+ error_code: 'failed_to_issue'
138062
+ }
138063
+ | {
138064
+ /** Date and time at which Seam created the error. */
138065
+ created_at: string
138066
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
138067
+ message: string
138068
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
138069
+ error_code: 'access_not_provisioned'
138070
+ }
138071
+ )[]
136548
138072
  /** 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. */
136549
138073
  pending_mutations: (
136550
138074
  | {
@@ -136980,6 +138504,44 @@ export type Routes = {
136980
138504
  message: string
136981
138505
  }
136982
138506
  }
138507
+ | {
138508
+ /** ID of the action attempt. */
138509
+ action_attempt_id: string
138510
+ status: 'pending'
138511
+ /** Result of the action attempt. Null for pending action attempts. */
138512
+ result: null
138513
+ /** Errors associated with the action attempt. Null for pending action attempts. */
138514
+ error: null
138515
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
138516
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
138517
+ }
138518
+ | {
138519
+ /** ID of the action attempt. */
138520
+ action_attempt_id: string
138521
+ status: 'success'
138522
+ /** Errors associated with the action attempt. Null for successful action attempts. */
138523
+ error: null
138524
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
138525
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
138526
+ /** Result of the action. */
138527
+ result: {}
138528
+ }
138529
+ | {
138530
+ /** ID of the action attempt. */
138531
+ action_attempt_id: string
138532
+ status: 'error'
138533
+ /** Result of the action attempt. Null for failed action attempts. */
138534
+ result: null
138535
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
138536
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
138537
+ /** Error associated with the action. */
138538
+ error: {
138539
+ /** Type of the error. */
138540
+ type: string
138541
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
138542
+ message: string
138543
+ }
138544
+ }
136983
138545
  | {
136984
138546
  /** ID of the action attempt. */
136985
138547
  action_attempt_id: string
@@ -138902,14 +140464,24 @@ export type Routes = {
138902
140464
  }
138903
140465
  )[]
138904
140466
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
138905
- errors: {
138906
- /** Date and time at which Seam created the error. */
138907
- created_at: string
138908
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
138909
- message: string
138910
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
138911
- error_code: 'failed_to_issue'
138912
- }[]
140467
+ errors: (
140468
+ | {
140469
+ /** Date and time at which Seam created the error. */
140470
+ created_at: string
140471
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
140472
+ message: string
140473
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
140474
+ error_code: 'failed_to_issue'
140475
+ }
140476
+ | {
140477
+ /** Date and time at which Seam created the error. */
140478
+ created_at: string
140479
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
140480
+ message: string
140481
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
140482
+ error_code: 'access_not_provisioned'
140483
+ }
140484
+ )[]
138913
140485
  /** 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. */
138914
140486
  pending_mutations: (
138915
140487
  | {
@@ -139345,6 +140917,44 @@ export type Routes = {
139345
140917
  message: string
139346
140918
  }
139347
140919
  }
140920
+ | {
140921
+ /** ID of the action attempt. */
140922
+ action_attempt_id: string
140923
+ status: 'pending'
140924
+ /** Result of the action attempt. Null for pending action attempts. */
140925
+ result: null
140926
+ /** Errors associated with the action attempt. Null for pending action attempts. */
140927
+ error: null
140928
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
140929
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
140930
+ }
140931
+ | {
140932
+ /** ID of the action attempt. */
140933
+ action_attempt_id: string
140934
+ status: 'success'
140935
+ /** Errors associated with the action attempt. Null for successful action attempts. */
140936
+ error: null
140937
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
140938
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
140939
+ /** Result of the action. */
140940
+ result: {}
140941
+ }
140942
+ | {
140943
+ /** ID of the action attempt. */
140944
+ action_attempt_id: string
140945
+ status: 'error'
140946
+ /** Result of the action attempt. Null for failed action attempts. */
140947
+ result: null
140948
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
140949
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
140950
+ /** Error associated with the action. */
140951
+ error: {
140952
+ /** Type of the error. */
140953
+ type: string
140954
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
140955
+ message: string
140956
+ }
140957
+ }
139348
140958
  | {
139349
140959
  /** ID of the action attempt. */
139350
140960
  action_attempt_id: string
@@ -141094,14 +142704,24 @@ export type Routes = {
141094
142704
  }
141095
142705
  )[]
141096
142706
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
141097
- errors: {
141098
- /** Date and time at which Seam created the error. */
141099
- created_at: string
141100
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
141101
- message: string
141102
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
141103
- error_code: 'failed_to_issue'
141104
- }[]
142707
+ errors: (
142708
+ | {
142709
+ /** Date and time at which Seam created the error. */
142710
+ created_at: string
142711
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
142712
+ message: string
142713
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
142714
+ error_code: 'failed_to_issue'
142715
+ }
142716
+ | {
142717
+ /** Date and time at which Seam created the error. */
142718
+ created_at: string
142719
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
142720
+ message: string
142721
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
142722
+ error_code: 'access_not_provisioned'
142723
+ }
142724
+ )[]
141105
142725
  /** 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. */
141106
142726
  pending_mutations: (
141107
142727
  | {
@@ -141537,6 +143157,44 @@ export type Routes = {
141537
143157
  message: string
141538
143158
  }
141539
143159
  }
143160
+ | {
143161
+ /** ID of the action attempt. */
143162
+ action_attempt_id: string
143163
+ status: 'pending'
143164
+ /** Result of the action attempt. Null for pending action attempts. */
143165
+ result: null
143166
+ /** Errors associated with the action attempt. Null for pending action attempts. */
143167
+ error: null
143168
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
143169
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
143170
+ }
143171
+ | {
143172
+ /** ID of the action attempt. */
143173
+ action_attempt_id: string
143174
+ status: 'success'
143175
+ /** Errors associated with the action attempt. Null for successful action attempts. */
143176
+ error: null
143177
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
143178
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
143179
+ /** Result of the action. */
143180
+ result: {}
143181
+ }
143182
+ | {
143183
+ /** ID of the action attempt. */
143184
+ action_attempt_id: string
143185
+ status: 'error'
143186
+ /** Result of the action attempt. Null for failed action attempts. */
143187
+ result: null
143188
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
143189
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
143190
+ /** Error associated with the action. */
143191
+ error: {
143192
+ /** Type of the error. */
143193
+ type: string
143194
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
143195
+ message: string
143196
+ }
143197
+ }
141540
143198
  | {
141541
143199
  /** ID of the action attempt. */
141542
143200
  action_attempt_id: string
@@ -143402,14 +145060,24 @@ export type Routes = {
143402
145060
  }
143403
145061
  )[]
143404
145062
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
143405
- errors: {
143406
- /** Date and time at which Seam created the error. */
143407
- created_at: string
143408
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
143409
- message: string
143410
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
143411
- error_code: 'failed_to_issue'
143412
- }[]
145063
+ errors: (
145064
+ | {
145065
+ /** Date and time at which Seam created the error. */
145066
+ created_at: string
145067
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
145068
+ message: string
145069
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
145070
+ error_code: 'failed_to_issue'
145071
+ }
145072
+ | {
145073
+ /** Date and time at which Seam created the error. */
145074
+ created_at: string
145075
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
145076
+ message: string
145077
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
145078
+ error_code: 'access_not_provisioned'
145079
+ }
145080
+ )[]
143413
145081
  /** 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. */
143414
145082
  pending_mutations: (
143415
145083
  | {
@@ -143845,6 +145513,44 @@ export type Routes = {
143845
145513
  message: string
143846
145514
  }
143847
145515
  }
145516
+ | {
145517
+ /** ID of the action attempt. */
145518
+ action_attempt_id: string
145519
+ status: 'pending'
145520
+ /** Result of the action attempt. Null for pending action attempts. */
145521
+ result: null
145522
+ /** Errors associated with the action attempt. Null for pending action attempts. */
145523
+ error: null
145524
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
145525
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
145526
+ }
145527
+ | {
145528
+ /** ID of the action attempt. */
145529
+ action_attempt_id: string
145530
+ status: 'success'
145531
+ /** Errors associated with the action attempt. Null for successful action attempts. */
145532
+ error: null
145533
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
145534
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
145535
+ /** Result of the action. */
145536
+ result: {}
145537
+ }
145538
+ | {
145539
+ /** ID of the action attempt. */
145540
+ action_attempt_id: string
145541
+ status: 'error'
145542
+ /** Result of the action attempt. Null for failed action attempts. */
145543
+ result: null
145544
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
145545
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
145546
+ /** Error associated with the action. */
145547
+ error: {
145548
+ /** Type of the error. */
145549
+ type: string
145550
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
145551
+ message: string
145552
+ }
145553
+ }
143848
145554
  | {
143849
145555
  /** ID of the action attempt. */
143850
145556
  action_attempt_id: string
@@ -154647,14 +156353,24 @@ export type Routes = {
154647
156353
  }
154648
156354
  )[]
154649
156355
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
154650
- errors: {
154651
- /** Date and time at which Seam created the error. */
154652
- created_at: string
154653
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
154654
- message: string
154655
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
154656
- error_code: 'failed_to_issue'
154657
- }[]
156356
+ errors: (
156357
+ | {
156358
+ /** Date and time at which Seam created the error. */
156359
+ created_at: string
156360
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
156361
+ message: string
156362
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
156363
+ error_code: 'failed_to_issue'
156364
+ }
156365
+ | {
156366
+ /** Date and time at which Seam created the error. */
156367
+ created_at: string
156368
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
156369
+ message: string
156370
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
156371
+ error_code: 'access_not_provisioned'
156372
+ }
156373
+ )[]
154658
156374
  /** 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. */
154659
156375
  pending_mutations: (
154660
156376
  | {
@@ -155090,6 +156806,44 @@ export type Routes = {
155090
156806
  message: string
155091
156807
  }
155092
156808
  }
156809
+ | {
156810
+ /** ID of the action attempt. */
156811
+ action_attempt_id: string
156812
+ status: 'pending'
156813
+ /** Result of the action attempt. Null for pending action attempts. */
156814
+ result: null
156815
+ /** Errors associated with the action attempt. Null for pending action attempts. */
156816
+ error: null
156817
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
156818
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
156819
+ }
156820
+ | {
156821
+ /** ID of the action attempt. */
156822
+ action_attempt_id: string
156823
+ status: 'success'
156824
+ /** Errors associated with the action attempt. Null for successful action attempts. */
156825
+ error: null
156826
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
156827
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
156828
+ /** Result of the action. */
156829
+ result: {}
156830
+ }
156831
+ | {
156832
+ /** ID of the action attempt. */
156833
+ action_attempt_id: string
156834
+ status: 'error'
156835
+ /** Result of the action attempt. Null for failed action attempts. */
156836
+ result: null
156837
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
156838
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
156839
+ /** Error associated with the action. */
156840
+ error: {
156841
+ /** Type of the error. */
156842
+ type: string
156843
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
156844
+ message: string
156845
+ }
156846
+ }
155093
156847
  | {
155094
156848
  /** ID of the action attempt. */
155095
156849
  action_attempt_id: string
@@ -156727,14 +158481,24 @@ export type Routes = {
156727
158481
  }
156728
158482
  )[]
156729
158483
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
156730
- errors: {
156731
- /** Date and time at which Seam created the error. */
156732
- created_at: string
156733
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
156734
- message: string
156735
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
156736
- error_code: 'failed_to_issue'
156737
- }[]
158484
+ errors: (
158485
+ | {
158486
+ /** Date and time at which Seam created the error. */
158487
+ created_at: string
158488
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
158489
+ message: string
158490
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
158491
+ error_code: 'failed_to_issue'
158492
+ }
158493
+ | {
158494
+ /** Date and time at which Seam created the error. */
158495
+ created_at: string
158496
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
158497
+ message: string
158498
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
158499
+ error_code: 'access_not_provisioned'
158500
+ }
158501
+ )[]
156738
158502
  /** 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. */
156739
158503
  pending_mutations: (
156740
158504
  | {
@@ -156938,16 +158702,26 @@ export type Routes = {
156938
158702
  }
156939
158703
  )[]
156940
158704
  /** Errors associated with the [access grant](https://www.seam.co/docs/use-cases/granting-access). */
156941
- errors: {
156942
- /** Date and time at which Seam created the error. */
156943
- created_at: string
156944
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
156945
- message: string
156946
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
156947
- error_code: 'cannot_create_requested_access_methods'
156948
- /** 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. */
156949
- missing_device_ids?: string[] | undefined
156950
- }[]
158705
+ errors: (
158706
+ | {
158707
+ /** Date and time at which Seam created the error. */
158708
+ created_at: string
158709
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
158710
+ message: string
158711
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
158712
+ error_code: 'cannot_create_requested_access_methods'
158713
+ /** 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. */
158714
+ missing_device_ids?: string[] | undefined
158715
+ }
158716
+ | {
158717
+ /** Date and time at which Seam created the error. */
158718
+ created_at: string
158719
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
158720
+ message: string
158721
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
158722
+ error_code: 'access_not_provisioned'
158723
+ }
158724
+ )[]
156951
158725
  /** ID of the customization profile associated with the Access Grant. */
156952
158726
  customization_profile_id?: string | undefined
156953
158727
  /** List of pending mutations for the access grant. This shows updates that are in progress. */
@@ -164230,14 +166004,24 @@ export type Routes = {
164230
166004
  }
164231
166005
  )[]
164232
166006
  /** Errors associated with the [access method](https://www.seam.co/docs/use-cases/granting-access/creating-an-access-grant). */
164233
- errors: {
164234
- /** Date and time at which Seam created the error. */
164235
- created_at: string
164236
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
164237
- message: string
164238
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
164239
- error_code: 'failed_to_issue'
164240
- }[]
166007
+ errors: (
166008
+ | {
166009
+ /** Date and time at which Seam created the error. */
166010
+ created_at: string
166011
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
166012
+ message: string
166013
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
166014
+ error_code: 'failed_to_issue'
166015
+ }
166016
+ | {
166017
+ /** Date and time at which Seam created the error. */
166018
+ created_at: string
166019
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
166020
+ message: string
166021
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
166022
+ error_code: 'access_not_provisioned'
166023
+ }
166024
+ )[]
164241
166025
  /** 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. */
164242
166026
  pending_mutations: (
164243
166027
  | {
@@ -164673,6 +166457,44 @@ export type Routes = {
164673
166457
  message: string
164674
166458
  }
164675
166459
  }
166460
+ | {
166461
+ /** ID of the action attempt. */
166462
+ action_attempt_id: string
166463
+ status: 'pending'
166464
+ /** Result of the action attempt. Null for pending action attempts. */
166465
+ result: null
166466
+ /** Errors associated with the action attempt. Null for pending action attempts. */
166467
+ error: null
166468
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
166469
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
166470
+ }
166471
+ | {
166472
+ /** ID of the action attempt. */
166473
+ action_attempt_id: string
166474
+ status: 'success'
166475
+ /** Errors associated with the action attempt. Null for successful action attempts. */
166476
+ error: null
166477
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
166478
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
166479
+ /** Result of the action. */
166480
+ result: {}
166481
+ }
166482
+ | {
166483
+ /** ID of the action attempt. */
166484
+ action_attempt_id: string
166485
+ status: 'error'
166486
+ /** Result of the action attempt. Null for failed action attempts. */
166487
+ result: null
166488
+ /** Action attempt to track the status of converting an unmanaged access code to a managed access code. */
166489
+ action_type: 'CONVERT_ACCESS_CODE_TO_MANAGED'
166490
+ /** Error associated with the action. */
166491
+ error: {
166492
+ /** Type of the error. */
166493
+ type: string
166494
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
166495
+ message: string
166496
+ }
166497
+ }
164676
166498
  | {
164677
166499
  /** ID of the action attempt. */
164678
166500
  action_attempt_id: string