@seamapi/types 1.826.0 → 1.828.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.
- package/dist/connect.cjs +51 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +99 -0
- package/dist/index.cjs +51 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +13 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -0
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +18 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +26 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +6 -0
- package/lib/seam/connect/models/events/access-grants.js +4 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -0
- package/lib/seam/connect/openapi.js +40 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +52 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +7 -0
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/models/events/access-grants.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +48 -0
- package/src/lib/seam/connect/route-types.ts +52 -0
|
@@ -1459,6 +1459,8 @@ export type Routes = {
|
|
|
1459
1459
|
error_code: 'duplicate_code_on_device';
|
|
1460
1460
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
1461
1461
|
unmanaged_access_code_id?: string | undefined;
|
|
1462
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
1463
|
+
managed_access_code_id?: string | undefined;
|
|
1462
1464
|
} | {
|
|
1463
1465
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1464
1466
|
message: string;
|
|
@@ -2098,6 +2100,8 @@ export type Routes = {
|
|
|
2098
2100
|
error_code: 'duplicate_code_on_device';
|
|
2099
2101
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
2100
2102
|
unmanaged_access_code_id?: string | undefined;
|
|
2103
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
2104
|
+
managed_access_code_id?: string | undefined;
|
|
2101
2105
|
} | {
|
|
2102
2106
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2103
2107
|
message: string;
|
|
@@ -4083,6 +4087,8 @@ export type Routes = {
|
|
|
4083
4087
|
error_code: 'duplicate_code_on_device';
|
|
4084
4088
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
4085
4089
|
unmanaged_access_code_id?: string | undefined;
|
|
4090
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
4091
|
+
managed_access_code_id?: string | undefined;
|
|
4086
4092
|
} | {
|
|
4087
4093
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4088
4094
|
message: string;
|
|
@@ -4768,6 +4774,8 @@ export type Routes = {
|
|
|
4768
4774
|
error_code: 'duplicate_code_on_device';
|
|
4769
4775
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
4770
4776
|
unmanaged_access_code_id?: string | undefined;
|
|
4777
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
4778
|
+
managed_access_code_id?: string | undefined;
|
|
4771
4779
|
} | {
|
|
4772
4780
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4773
4781
|
message: string;
|
|
@@ -5396,6 +5404,8 @@ export type Routes = {
|
|
|
5396
5404
|
error_code: 'duplicate_code_on_device';
|
|
5397
5405
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
5398
5406
|
unmanaged_access_code_id?: string | undefined;
|
|
5407
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
5408
|
+
managed_access_code_id?: string | undefined;
|
|
5399
5409
|
} | {
|
|
5400
5410
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5401
5411
|
message: string;
|
|
@@ -6001,6 +6011,8 @@ export type Routes = {
|
|
|
6001
6011
|
error_code: 'duplicate_code_on_device';
|
|
6002
6012
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6003
6013
|
unmanaged_access_code_id?: string | undefined;
|
|
6014
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6015
|
+
managed_access_code_id?: string | undefined;
|
|
6004
6016
|
} | {
|
|
6005
6017
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6006
6018
|
message: string;
|
|
@@ -6641,6 +6653,8 @@ export type Routes = {
|
|
|
6641
6653
|
error_code: 'duplicate_code_on_device';
|
|
6642
6654
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6643
6655
|
unmanaged_access_code_id?: string | undefined;
|
|
6656
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6657
|
+
managed_access_code_id?: string | undefined;
|
|
6644
6658
|
} | {
|
|
6645
6659
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6646
6660
|
message: string;
|
|
@@ -8533,6 +8547,8 @@ export type Routes = {
|
|
|
8533
8547
|
error_code: 'duplicate_code_on_device';
|
|
8534
8548
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
8535
8549
|
unmanaged_access_code_id?: string | undefined;
|
|
8550
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
8551
|
+
managed_access_code_id?: string | undefined;
|
|
8536
8552
|
} | {
|
|
8537
8553
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8538
8554
|
message: string;
|
|
@@ -9055,6 +9071,8 @@ export type Routes = {
|
|
|
9055
9071
|
error_code: 'duplicate_code_on_device';
|
|
9056
9072
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
9057
9073
|
unmanaged_access_code_id?: string | undefined;
|
|
9074
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
9075
|
+
managed_access_code_id?: string | undefined;
|
|
9058
9076
|
} | {
|
|
9059
9077
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9060
9078
|
message: string;
|
|
@@ -11117,6 +11135,8 @@ export type Routes = {
|
|
|
11117
11135
|
message: string;
|
|
11118
11136
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
11119
11137
|
error_code: 'cannot_create_requested_access_methods';
|
|
11138
|
+
/** 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. */
|
|
11139
|
+
missing_device_ids?: string[] | undefined;
|
|
11120
11140
|
}[];
|
|
11121
11141
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11122
11142
|
customization_profile_id?: string | undefined;
|
|
@@ -11325,6 +11345,8 @@ export type Routes = {
|
|
|
11325
11345
|
message: string;
|
|
11326
11346
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
11327
11347
|
error_code: 'cannot_create_requested_access_methods';
|
|
11348
|
+
/** 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. */
|
|
11349
|
+
missing_device_ids?: string[] | undefined;
|
|
11328
11350
|
}[];
|
|
11329
11351
|
/** ID of the customization profile associated with the Access Grant. */
|
|
11330
11352
|
customization_profile_id?: string | undefined;
|
|
@@ -13632,6 +13654,8 @@ export type Routes = {
|
|
|
13632
13654
|
message: string;
|
|
13633
13655
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13634
13656
|
error_code: 'cannot_create_requested_access_methods';
|
|
13657
|
+
/** 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. */
|
|
13658
|
+
missing_device_ids?: string[] | undefined;
|
|
13635
13659
|
}[];
|
|
13636
13660
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13637
13661
|
customization_profile_id?: string | undefined;
|
|
@@ -13842,6 +13866,8 @@ export type Routes = {
|
|
|
13842
13866
|
message: string;
|
|
13843
13867
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
13844
13868
|
error_code: 'cannot_create_requested_access_methods';
|
|
13869
|
+
/** 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. */
|
|
13870
|
+
missing_device_ids?: string[] | undefined;
|
|
13845
13871
|
}[];
|
|
13846
13872
|
/** ID of the customization profile associated with the Access Grant. */
|
|
13847
13873
|
customization_profile_id?: string | undefined;
|
|
@@ -14026,6 +14052,8 @@ export type Routes = {
|
|
|
14026
14052
|
message: string;
|
|
14027
14053
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14028
14054
|
error_code: 'cannot_create_requested_access_methods';
|
|
14055
|
+
/** 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. */
|
|
14056
|
+
missing_device_ids?: string[] | undefined;
|
|
14029
14057
|
}[];
|
|
14030
14058
|
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
14031
14059
|
pending_mutations: ({
|
|
@@ -14219,6 +14247,8 @@ export type Routes = {
|
|
|
14219
14247
|
message: string;
|
|
14220
14248
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
14221
14249
|
error_code: 'cannot_create_requested_access_methods';
|
|
14250
|
+
/** 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. */
|
|
14251
|
+
missing_device_ids?: string[] | undefined;
|
|
14222
14252
|
}[];
|
|
14223
14253
|
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
14224
14254
|
pending_mutations: ({
|
|
@@ -17440,6 +17470,8 @@ export type Routes = {
|
|
|
17440
17470
|
message: string;
|
|
17441
17471
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
17442
17472
|
error_code: 'cannot_create_requested_access_methods';
|
|
17473
|
+
/** 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. */
|
|
17474
|
+
missing_device_ids?: string[] | undefined;
|
|
17443
17475
|
}[];
|
|
17444
17476
|
/** ID of the customization profile associated with the Access Grant. */
|
|
17445
17477
|
customization_profile_id?: string | undefined;
|
|
@@ -37098,6 +37130,8 @@ export type Routes = {
|
|
|
37098
37130
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
37099
37131
|
/** Description of why the access methods could not be created. */
|
|
37100
37132
|
error_message: string;
|
|
37133
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
37134
|
+
missing_device_ids?: string[] | undefined;
|
|
37101
37135
|
} | {
|
|
37102
37136
|
/** ID of the event. */
|
|
37103
37137
|
event_id: string;
|
|
@@ -39942,6 +39976,8 @@ export type Routes = {
|
|
|
39942
39976
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
39943
39977
|
/** Description of why the access methods could not be created. */
|
|
39944
39978
|
error_message: string;
|
|
39979
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
39980
|
+
missing_device_ids?: string[] | undefined;
|
|
39945
39981
|
} | {
|
|
39946
39982
|
/** ID of the event. */
|
|
39947
39983
|
event_id: string;
|
|
@@ -61965,6 +62001,8 @@ export type Routes = {
|
|
|
61965
62001
|
message: string;
|
|
61966
62002
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
61967
62003
|
error_code: 'cannot_create_requested_access_methods';
|
|
62004
|
+
/** 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. */
|
|
62005
|
+
missing_device_ids?: string[] | undefined;
|
|
61968
62006
|
}[];
|
|
61969
62007
|
/** ID of the customization profile associated with the Access Grant. */
|
|
61970
62008
|
customization_profile_id?: string | undefined;
|
|
@@ -64990,6 +65028,8 @@ export type Routes = {
|
|
|
64990
65028
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
64991
65029
|
/** Description of why the access methods could not be created. */
|
|
64992
65030
|
error_message: string;
|
|
65031
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
65032
|
+
missing_device_ids?: string[] | undefined;
|
|
64993
65033
|
} | {
|
|
64994
65034
|
/** ID of the event. */
|
|
64995
65035
|
event_id: string;
|
|
@@ -67539,6 +67579,8 @@ export type Routes = {
|
|
|
67539
67579
|
message: string;
|
|
67540
67580
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67541
67581
|
error_code: 'cannot_create_requested_access_methods';
|
|
67582
|
+
/** 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. */
|
|
67583
|
+
missing_device_ids?: string[] | undefined;
|
|
67542
67584
|
}[];
|
|
67543
67585
|
/** ID of the customization profile associated with the Access Grant. */
|
|
67544
67586
|
customization_profile_id?: string | undefined;
|
|
@@ -68003,6 +68045,8 @@ export type Routes = {
|
|
|
68003
68045
|
message: string;
|
|
68004
68046
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
68005
68047
|
error_code: 'cannot_create_requested_access_methods';
|
|
68048
|
+
/** 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. */
|
|
68049
|
+
missing_device_ids?: string[] | undefined;
|
|
68006
68050
|
}[];
|
|
68007
68051
|
/** ID of the customization profile associated with the Access Grant. */
|
|
68008
68052
|
customization_profile_id?: string | undefined;
|
|
@@ -96513,6 +96557,8 @@ export type Routes = {
|
|
|
96513
96557
|
message: string;
|
|
96514
96558
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
96515
96559
|
error_code: 'cannot_create_requested_access_methods';
|
|
96560
|
+
/** 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. */
|
|
96561
|
+
missing_device_ids?: string[] | undefined;
|
|
96516
96562
|
}[];
|
|
96517
96563
|
/** ID of the customization profile associated with the Access Grant. */
|
|
96518
96564
|
customization_profile_id?: string | undefined;
|
|
@@ -97480,6 +97526,8 @@ export type Routes = {
|
|
|
97480
97526
|
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
97481
97527
|
/** Description of why the access methods could not be created. */
|
|
97482
97528
|
error_message: string;
|
|
97529
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
97530
|
+
missing_device_ids?: string[] | undefined;
|
|
97483
97531
|
} | {
|
|
97484
97532
|
/** ID of the event. */
|
|
97485
97533
|
event_id: string;
|
|
@@ -99835,6 +99883,8 @@ export type Routes = {
|
|
|
99835
99883
|
error_code: 'duplicate_code_on_device';
|
|
99836
99884
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
99837
99885
|
unmanaged_access_code_id?: string | undefined;
|
|
99886
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
99887
|
+
managed_access_code_id?: string | undefined;
|
|
99838
99888
|
} | {
|
|
99839
99889
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
99840
99890
|
message: string;
|
|
@@ -100341,6 +100391,8 @@ export type Routes = {
|
|
|
100341
100391
|
error_code: 'duplicate_code_on_device';
|
|
100342
100392
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
100343
100393
|
unmanaged_access_code_id?: string | undefined;
|
|
100394
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
100395
|
+
managed_access_code_id?: string | undefined;
|
|
100344
100396
|
} | {
|
|
100345
100397
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
100346
100398
|
message: string;
|
package/package.json
CHANGED
|
@@ -77,6 +77,13 @@ const duplicate_code_on_device = common_access_code_error
|
|
|
77
77
|
.describe(
|
|
78
78
|
'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
|
|
79
79
|
),
|
|
80
|
+
managed_access_code_id: z
|
|
81
|
+
.string()
|
|
82
|
+
.uuid()
|
|
83
|
+
.optional()
|
|
84
|
+
.describe(
|
|
85
|
+
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
|
|
86
|
+
),
|
|
80
87
|
})
|
|
81
88
|
.describe('Duplicate access code detected on device.')
|
|
82
89
|
|
|
@@ -23,6 +23,12 @@ const cannot_create_requested_access_methods_error =
|
|
|
23
23
|
error_code: z
|
|
24
24
|
.literal('cannot_create_requested_access_methods')
|
|
25
25
|
.describe(error_code_description),
|
|
26
|
+
missing_device_ids: z
|
|
27
|
+
.array(z.string().uuid())
|
|
28
|
+
.optional()
|
|
29
|
+
.describe(
|
|
30
|
+
'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.',
|
|
31
|
+
),
|
|
26
32
|
})
|
|
27
33
|
|
|
28
34
|
const common_access_grant_warning = z.object({
|
|
@@ -113,6 +113,12 @@ export const access_grant_could_not_create_requested_access_methods_event =
|
|
|
113
113
|
error_message: z
|
|
114
114
|
.string()
|
|
115
115
|
.describe('Description of why the access methods could not be created.'),
|
|
116
|
+
missing_device_ids: z
|
|
117
|
+
.array(z.string().uuid())
|
|
118
|
+
.optional()
|
|
119
|
+
.describe(
|
|
120
|
+
'IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.',
|
|
121
|
+
),
|
|
116
122
|
}).describe(`
|
|
117
123
|
---
|
|
118
124
|
route_path: /access_grants
|
|
@@ -277,6 +277,12 @@ const openapi: OpenAPISpec = {
|
|
|
277
277
|
enum: [true],
|
|
278
278
|
type: 'boolean',
|
|
279
279
|
},
|
|
280
|
+
managed_access_code_id: {
|
|
281
|
+
description:
|
|
282
|
+
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
|
|
283
|
+
format: 'uuid',
|
|
284
|
+
type: 'string',
|
|
285
|
+
},
|
|
280
286
|
message: {
|
|
281
287
|
description:
|
|
282
288
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
@@ -2199,6 +2205,12 @@ const openapi: OpenAPISpec = {
|
|
|
2199
2205
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
2200
2206
|
type: 'string',
|
|
2201
2207
|
},
|
|
2208
|
+
missing_device_ids: {
|
|
2209
|
+
description:
|
|
2210
|
+
'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.',
|
|
2211
|
+
items: { format: 'uuid', type: 'string' },
|
|
2212
|
+
type: 'array',
|
|
2213
|
+
},
|
|
2202
2214
|
},
|
|
2203
2215
|
required: ['created_at', 'message', 'error_code'],
|
|
2204
2216
|
type: 'object',
|
|
@@ -18165,6 +18177,12 @@ const openapi: OpenAPISpec = {
|
|
|
18165
18177
|
],
|
|
18166
18178
|
type: 'string',
|
|
18167
18179
|
},
|
|
18180
|
+
missing_device_ids: {
|
|
18181
|
+
description:
|
|
18182
|
+
'IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant.',
|
|
18183
|
+
items: { format: 'uuid', type: 'string' },
|
|
18184
|
+
type: 'array',
|
|
18185
|
+
},
|
|
18168
18186
|
occurred_at: {
|
|
18169
18187
|
description: 'Date and time at which the event occurred.',
|
|
18170
18188
|
format: 'date-time',
|
|
@@ -26478,6 +26496,12 @@ const openapi: OpenAPISpec = {
|
|
|
26478
26496
|
enum: [true],
|
|
26479
26497
|
type: 'boolean',
|
|
26480
26498
|
},
|
|
26499
|
+
managed_access_code_id: {
|
|
26500
|
+
description:
|
|
26501
|
+
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
|
|
26502
|
+
format: 'uuid',
|
|
26503
|
+
type: 'string',
|
|
26504
|
+
},
|
|
26481
26505
|
message: {
|
|
26482
26506
|
description:
|
|
26483
26507
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
@@ -35941,6 +35965,12 @@ const openapi: OpenAPISpec = {
|
|
|
35941
35965
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
35942
35966
|
type: 'string',
|
|
35943
35967
|
},
|
|
35968
|
+
missing_device_ids: {
|
|
35969
|
+
description:
|
|
35970
|
+
'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.',
|
|
35971
|
+
items: { format: 'uuid', type: 'string' },
|
|
35972
|
+
type: 'array',
|
|
35973
|
+
},
|
|
35944
35974
|
},
|
|
35945
35975
|
required: [
|
|
35946
35976
|
'created_at',
|
|
@@ -36644,6 +36674,12 @@ const openapi: OpenAPISpec = {
|
|
|
36644
36674
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
36645
36675
|
type: 'string',
|
|
36646
36676
|
},
|
|
36677
|
+
missing_device_ids: {
|
|
36678
|
+
description:
|
|
36679
|
+
'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.',
|
|
36680
|
+
items: { format: 'uuid', type: 'string' },
|
|
36681
|
+
type: 'array',
|
|
36682
|
+
},
|
|
36647
36683
|
},
|
|
36648
36684
|
required: [
|
|
36649
36685
|
'created_at',
|
|
@@ -37393,6 +37429,12 @@ const openapi: OpenAPISpec = {
|
|
|
37393
37429
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
37394
37430
|
type: 'string',
|
|
37395
37431
|
},
|
|
37432
|
+
missing_device_ids: {
|
|
37433
|
+
description:
|
|
37434
|
+
'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.',
|
|
37435
|
+
items: { format: 'uuid', type: 'string' },
|
|
37436
|
+
type: 'array',
|
|
37437
|
+
},
|
|
37396
37438
|
},
|
|
37397
37439
|
required: [
|
|
37398
37440
|
'created_at',
|
|
@@ -38134,6 +38176,12 @@ const openapi: OpenAPISpec = {
|
|
|
38134
38176
|
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
38135
38177
|
type: 'string',
|
|
38136
38178
|
},
|
|
38179
|
+
missing_device_ids: {
|
|
38180
|
+
description:
|
|
38181
|
+
'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.',
|
|
38182
|
+
items: { format: 'uuid', type: 'string' },
|
|
38183
|
+
type: 'array',
|
|
38184
|
+
},
|
|
38137
38185
|
},
|
|
38138
38186
|
required: [
|
|
38139
38187
|
'created_at',
|
|
@@ -1673,6 +1673,8 @@ export type Routes = {
|
|
|
1673
1673
|
error_code: 'duplicate_code_on_device'
|
|
1674
1674
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
1675
1675
|
unmanaged_access_code_id?: string | undefined
|
|
1676
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
1677
|
+
managed_access_code_id?: string | undefined
|
|
1676
1678
|
}
|
|
1677
1679
|
| {
|
|
1678
1680
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -2376,6 +2378,8 @@ export type Routes = {
|
|
|
2376
2378
|
error_code: 'duplicate_code_on_device'
|
|
2377
2379
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
2378
2380
|
unmanaged_access_code_id?: string | undefined
|
|
2381
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
2382
|
+
managed_access_code_id?: string | undefined
|
|
2379
2383
|
}
|
|
2380
2384
|
| {
|
|
2381
2385
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -4633,6 +4637,8 @@ export type Routes = {
|
|
|
4633
4637
|
error_code: 'duplicate_code_on_device'
|
|
4634
4638
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
4635
4639
|
unmanaged_access_code_id?: string | undefined
|
|
4640
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
4641
|
+
managed_access_code_id?: string | undefined
|
|
4636
4642
|
}
|
|
4637
4643
|
| {
|
|
4638
4644
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -5423,6 +5429,8 @@ export type Routes = {
|
|
|
5423
5429
|
error_code: 'duplicate_code_on_device'
|
|
5424
5430
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
5425
5431
|
unmanaged_access_code_id?: string | undefined
|
|
5432
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
5433
|
+
managed_access_code_id?: string | undefined
|
|
5426
5434
|
}
|
|
5427
5435
|
| {
|
|
5428
5436
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6115,6 +6123,8 @@ export type Routes = {
|
|
|
6115
6123
|
error_code: 'duplicate_code_on_device'
|
|
6116
6124
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6117
6125
|
unmanaged_access_code_id?: string | undefined
|
|
6126
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6127
|
+
managed_access_code_id?: string | undefined
|
|
6118
6128
|
}
|
|
6119
6129
|
| {
|
|
6120
6130
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6784,6 +6794,8 @@ export type Routes = {
|
|
|
6784
6794
|
error_code: 'duplicate_code_on_device'
|
|
6785
6795
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6786
6796
|
unmanaged_access_code_id?: string | undefined
|
|
6797
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
6798
|
+
managed_access_code_id?: string | undefined
|
|
6787
6799
|
}
|
|
6788
6800
|
| {
|
|
6789
6801
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -7488,6 +7500,8 @@ export type Routes = {
|
|
|
7488
7500
|
error_code: 'duplicate_code_on_device'
|
|
7489
7501
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
7490
7502
|
unmanaged_access_code_id?: string | undefined
|
|
7503
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
7504
|
+
managed_access_code_id?: string | undefined
|
|
7491
7505
|
}
|
|
7492
7506
|
| {
|
|
7493
7507
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -9645,6 +9659,8 @@ export type Routes = {
|
|
|
9645
9659
|
error_code: 'duplicate_code_on_device'
|
|
9646
9660
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
9647
9661
|
unmanaged_access_code_id?: string | undefined
|
|
9662
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
9663
|
+
managed_access_code_id?: string | undefined
|
|
9648
9664
|
}
|
|
9649
9665
|
| {
|
|
9650
9666
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -10224,6 +10240,8 @@ export type Routes = {
|
|
|
10224
10240
|
error_code: 'duplicate_code_on_device'
|
|
10225
10241
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
10226
10242
|
unmanaged_access_code_id?: string | undefined
|
|
10243
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
10244
|
+
managed_access_code_id?: string | undefined
|
|
10227
10245
|
}
|
|
10228
10246
|
| {
|
|
10229
10247
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -12563,6 +12581,8 @@ export type Routes = {
|
|
|
12563
12581
|
message: string
|
|
12564
12582
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12565
12583
|
error_code: 'cannot_create_requested_access_methods'
|
|
12584
|
+
/** 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. */
|
|
12585
|
+
missing_device_ids?: string[] | undefined
|
|
12566
12586
|
}[]
|
|
12567
12587
|
/** ID of the customization profile associated with the Access Grant. */
|
|
12568
12588
|
customization_profile_id?: string | undefined
|
|
@@ -12789,6 +12809,8 @@ export type Routes = {
|
|
|
12789
12809
|
message: string
|
|
12790
12810
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
12791
12811
|
error_code: 'cannot_create_requested_access_methods'
|
|
12812
|
+
/** 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. */
|
|
12813
|
+
missing_device_ids?: string[] | undefined
|
|
12792
12814
|
}[]
|
|
12793
12815
|
/** ID of the customization profile associated with the Access Grant. */
|
|
12794
12816
|
customization_profile_id?: string | undefined
|
|
@@ -15644,6 +15666,8 @@ export type Routes = {
|
|
|
15644
15666
|
message: string
|
|
15645
15667
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15646
15668
|
error_code: 'cannot_create_requested_access_methods'
|
|
15669
|
+
/** 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. */
|
|
15670
|
+
missing_device_ids?: string[] | undefined
|
|
15647
15671
|
}[]
|
|
15648
15672
|
/** ID of the customization profile associated with the Access Grant. */
|
|
15649
15673
|
customization_profile_id?: string | undefined
|
|
@@ -15870,6 +15894,8 @@ export type Routes = {
|
|
|
15870
15894
|
message: string
|
|
15871
15895
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15872
15896
|
error_code: 'cannot_create_requested_access_methods'
|
|
15897
|
+
/** 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. */
|
|
15898
|
+
missing_device_ids?: string[] | undefined
|
|
15873
15899
|
}[]
|
|
15874
15900
|
/** ID of the customization profile associated with the Access Grant. */
|
|
15875
15901
|
customization_profile_id?: string | undefined
|
|
@@ -16070,6 +16096,8 @@ export type Routes = {
|
|
|
16070
16096
|
message: string
|
|
16071
16097
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
16072
16098
|
error_code: 'cannot_create_requested_access_methods'
|
|
16099
|
+
/** 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. */
|
|
16100
|
+
missing_device_ids?: string[] | undefined
|
|
16073
16101
|
}[]
|
|
16074
16102
|
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
16075
16103
|
pending_mutations: (
|
|
@@ -16279,6 +16307,8 @@ export type Routes = {
|
|
|
16279
16307
|
message: string
|
|
16280
16308
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
16281
16309
|
error_code: 'cannot_create_requested_access_methods'
|
|
16310
|
+
/** 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. */
|
|
16311
|
+
missing_device_ids?: string[] | undefined
|
|
16282
16312
|
}[]
|
|
16283
16313
|
/** List of pending mutations for the access grant. This shows updates that are in progress. */
|
|
16284
16314
|
pending_mutations: (
|
|
@@ -20150,6 +20180,8 @@ export type Routes = {
|
|
|
20150
20180
|
message: string
|
|
20151
20181
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20152
20182
|
error_code: 'cannot_create_requested_access_methods'
|
|
20183
|
+
/** 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. */
|
|
20184
|
+
missing_device_ids?: string[] | undefined
|
|
20153
20185
|
}[]
|
|
20154
20186
|
/** ID of the customization profile associated with the Access Grant. */
|
|
20155
20187
|
customization_profile_id?: string | undefined
|
|
@@ -44398,6 +44430,8 @@ export type Routes = {
|
|
|
44398
44430
|
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
44399
44431
|
/** Description of why the access methods could not be created. */
|
|
44400
44432
|
error_message: string
|
|
44433
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
44434
|
+
missing_device_ids?: string[] | undefined
|
|
44401
44435
|
}
|
|
44402
44436
|
| {
|
|
44403
44437
|
/** ID of the event. */
|
|
@@ -47816,6 +47850,8 @@ export type Routes = {
|
|
|
47816
47850
|
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
47817
47851
|
/** Description of why the access methods could not be created. */
|
|
47818
47852
|
error_message: string
|
|
47853
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
47854
|
+
missing_device_ids?: string[] | undefined
|
|
47819
47855
|
}
|
|
47820
47856
|
| {
|
|
47821
47857
|
/** ID of the event. */
|
|
@@ -73976,6 +74012,8 @@ export type Routes = {
|
|
|
73976
74012
|
message: string
|
|
73977
74013
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
73978
74014
|
error_code: 'cannot_create_requested_access_methods'
|
|
74015
|
+
/** 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. */
|
|
74016
|
+
missing_device_ids?: string[] | undefined
|
|
73979
74017
|
}[]
|
|
73980
74018
|
/** ID of the customization profile associated with the Access Grant. */
|
|
73981
74019
|
customization_profile_id?: string | undefined
|
|
@@ -77685,6 +77723,8 @@ export type Routes = {
|
|
|
77685
77723
|
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
77686
77724
|
/** Description of why the access methods could not be created. */
|
|
77687
77725
|
error_message: string
|
|
77726
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
77727
|
+
missing_device_ids?: string[] | undefined
|
|
77688
77728
|
}
|
|
77689
77729
|
| {
|
|
77690
77730
|
/** ID of the event. */
|
|
@@ -80583,6 +80623,8 @@ export type Routes = {
|
|
|
80583
80623
|
message: string
|
|
80584
80624
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
80585
80625
|
error_code: 'cannot_create_requested_access_methods'
|
|
80626
|
+
/** 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. */
|
|
80627
|
+
missing_device_ids?: string[] | undefined
|
|
80586
80628
|
}[]
|
|
80587
80629
|
/** ID of the customization profile associated with the Access Grant. */
|
|
80588
80630
|
customization_profile_id?: string | undefined
|
|
@@ -81096,6 +81138,8 @@ export type Routes = {
|
|
|
81096
81138
|
message: string
|
|
81097
81139
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
81098
81140
|
error_code: 'cannot_create_requested_access_methods'
|
|
81141
|
+
/** 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. */
|
|
81142
|
+
missing_device_ids?: string[] | undefined
|
|
81099
81143
|
}[]
|
|
81100
81144
|
/** ID of the customization profile associated with the Access Grant. */
|
|
81101
81145
|
customization_profile_id?: string | undefined
|
|
@@ -114942,6 +114986,8 @@ export type Routes = {
|
|
|
114942
114986
|
message: string
|
|
114943
114987
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
114944
114988
|
error_code: 'cannot_create_requested_access_methods'
|
|
114989
|
+
/** 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. */
|
|
114990
|
+
missing_device_ids?: string[] | undefined
|
|
114945
114991
|
}[]
|
|
114946
114992
|
/** ID of the customization profile associated with the Access Grant. */
|
|
114947
114993
|
customization_profile_id?: string | undefined
|
|
@@ -116026,6 +116072,8 @@ export type Routes = {
|
|
|
116026
116072
|
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
116027
116073
|
/** Description of why the access methods could not be created. */
|
|
116028
116074
|
error_message: string
|
|
116075
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
116076
|
+
missing_device_ids?: string[] | undefined
|
|
116029
116077
|
}
|
|
116030
116078
|
| {
|
|
116031
116079
|
/** ID of the event. */
|
|
@@ -118726,6 +118774,8 @@ export type Routes = {
|
|
|
118726
118774
|
error_code: 'duplicate_code_on_device'
|
|
118727
118775
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
118728
118776
|
unmanaged_access_code_id?: string | undefined
|
|
118777
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
118778
|
+
managed_access_code_id?: string | undefined
|
|
118729
118779
|
}
|
|
118730
118780
|
| {
|
|
118731
118781
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -119291,6 +119341,8 @@ export type Routes = {
|
|
|
119291
119341
|
error_code: 'duplicate_code_on_device'
|
|
119292
119342
|
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
|
|
119293
119343
|
unmanaged_access_code_id?: string | undefined
|
|
119344
|
+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
|
|
119345
|
+
managed_access_code_id?: string | undefined
|
|
119294
119346
|
}
|
|
119295
119347
|
| {
|
|
119296
119348
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|