Skip to content

Commit ff7dd60

Browse files
authored
feat: Sync with Seam API via 45c25fbd9fac127d3e9ebacf531d8c3a65854749 (#2596)
1 parent 0c53c78 commit ff7dd60

File tree

3 files changed

+0
-184
lines changed

3 files changed

+0
-184
lines changed

src/lib/seam/connect/models/access-codes/managed-access-code.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,6 @@ const no_space_for_access_code_on_device = common_access_code_error
8888
})
8989
.describe('No space for access code on device.')
9090

91-
const igloohome_bridge_too_many_pending_jobs = common_access_code_error
92-
.extend({
93-
error_code: z
94-
.literal('igloohome_bridge_too_many_pending_jobs')
95-
.describe(error_code_description),
96-
})
97-
.describe('Igloohome bridge has too many pending jobs in the queue.')
98-
9991
const kwikset_unable_to_confirm_code = common_access_code_error
10092
.extend({
10193
error_code: z
@@ -232,7 +224,6 @@ const access_code_error = z
232224
duplicate_code_on_device,
233225
duplicate_code_attempt_prevented,
234226
no_space_for_access_code_on_device,
235-
igloohome_bridge_too_many_pending_jobs,
236227
kwikset_unable_to_confirm_code,
237228

238229
kwikset_unable_to_confirm_deletion,
@@ -275,9 +266,6 @@ const _access_code_error_map = z.object({
275266
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented
276267
.optional()
277268
.nullable(),
278-
igloohome_bridge_too_many_pending_jobs: igloohome_bridge_too_many_pending_jobs
279-
.optional()
280-
.nullable(),
281269
kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code
282270
.optional()
283271
.nullable(),

src/lib/seam/connect/openapi.ts

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -289,37 +289,6 @@ export default {
289289
required: ['message', 'is_access_code_error', 'error_code'],
290290
type: 'object',
291291
},
292-
{
293-
description:
294-
'Igloohome bridge has too many pending jobs in the queue.',
295-
properties: {
296-
created_at: {
297-
description:
298-
'Date and time at which Seam created the error.',
299-
format: 'date-time',
300-
type: 'string',
301-
},
302-
error_code: {
303-
description:
304-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
305-
enum: ['igloohome_bridge_too_many_pending_jobs'],
306-
type: 'string',
307-
},
308-
is_access_code_error: {
309-
description:
310-
'Indicates that this is an access code error.',
311-
enum: [true],
312-
type: 'boolean',
313-
},
314-
message: {
315-
description:
316-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
317-
type: 'string',
318-
},
319-
},
320-
required: ['message', 'is_access_code_error', 'error_code'],
321-
type: 'object',
322-
},
323292
{
324293
description:
325294
'Unable to confirm that the access code is set on Kwikset device.',
@@ -22073,37 +22042,6 @@ export default {
2207322042
required: ['message', 'is_access_code_error', 'error_code'],
2207422043
type: 'object',
2207522044
},
22076-
{
22077-
description:
22078-
'Igloohome bridge has too many pending jobs in the queue.',
22079-
properties: {
22080-
created_at: {
22081-
description:
22082-
'Date and time at which Seam created the error.',
22083-
format: 'date-time',
22084-
type: 'string',
22085-
},
22086-
error_code: {
22087-
description:
22088-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
22089-
enum: ['igloohome_bridge_too_many_pending_jobs'],
22090-
type: 'string',
22091-
},
22092-
is_access_code_error: {
22093-
description:
22094-
'Indicates that this is an access code error.',
22095-
enum: [true],
22096-
type: 'boolean',
22097-
},
22098-
message: {
22099-
description:
22100-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22101-
type: 'string',
22102-
},
22103-
},
22104-
required: ['message', 'is_access_code_error', 'error_code'],
22105-
type: 'object',
22106-
},
2210722045
{
2210822046
description:
2210922047
'Unable to confirm that the access code is set on Kwikset device.',

src/lib/seam/connect/route-types.ts

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,16 +1604,6 @@ export type Routes = {
16041604
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16051605
error_code: 'no_space_for_access_code_on_device'
16061606
}
1607-
| {
1608-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1609-
message: string
1610-
/** Indicates that this is an access code error. */
1611-
is_access_code_error: true
1612-
/** Date and time at which Seam created the error. */
1613-
created_at?: string | undefined
1614-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1615-
error_code: 'igloohome_bridge_too_many_pending_jobs'
1616-
}
16171607
| {
16181608
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
16191609
message: string
@@ -2202,16 +2192,6 @@ export type Routes = {
22022192
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22032193
error_code: 'no_space_for_access_code_on_device'
22042194
}
2205-
| {
2206-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2207-
message: string
2208-
/** Indicates that this is an access code error. */
2209-
is_access_code_error: true
2210-
/** Date and time at which Seam created the error. */
2211-
created_at?: string | undefined
2212-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2213-
error_code: 'igloohome_bridge_too_many_pending_jobs'
2214-
}
22152195
| {
22162196
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22172197
message: string
@@ -4257,16 +4237,6 @@ export type Routes = {
42574237
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42584238
error_code: 'no_space_for_access_code_on_device'
42594239
}
4260-
| {
4261-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4262-
message: string
4263-
/** Indicates that this is an access code error. */
4264-
is_access_code_error: true
4265-
/** Date and time at which Seam created the error. */
4266-
created_at?: string | undefined
4267-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4268-
error_code: 'igloohome_bridge_too_many_pending_jobs'
4269-
}
42704240
| {
42714241
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
42724242
message: string
@@ -4829,16 +4799,6 @@ export type Routes = {
48294799
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48304800
error_code: 'no_space_for_access_code_on_device'
48314801
}
4832-
| {
4833-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4834-
message: string
4835-
/** Indicates that this is an access code error. */
4836-
is_access_code_error: true
4837-
/** Date and time at which Seam created the error. */
4838-
created_at?: string | undefined
4839-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4840-
error_code: 'igloohome_bridge_too_many_pending_jobs'
4841-
}
48424802
| {
48434803
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48444804
message: string
@@ -5407,16 +5367,6 @@ export type Routes = {
54075367
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54085368
error_code: 'no_space_for_access_code_on_device'
54095369
}
5410-
| {
5411-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5412-
message: string
5413-
/** Indicates that this is an access code error. */
5414-
is_access_code_error: true
5415-
/** Date and time at which Seam created the error. */
5416-
created_at?: string | undefined
5417-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5418-
error_code: 'igloohome_bridge_too_many_pending_jobs'
5419-
}
54205370
| {
54215371
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
54225372
message: string
@@ -5962,16 +5912,6 @@ export type Routes = {
59625912
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59635913
error_code: 'no_space_for_access_code_on_device'
59645914
}
5965-
| {
5966-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5967-
message: string
5968-
/** Indicates that this is an access code error. */
5969-
is_access_code_error: true
5970-
/** Date and time at which Seam created the error. */
5971-
created_at?: string | undefined
5972-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5973-
error_code: 'igloohome_bridge_too_many_pending_jobs'
5974-
}
59755915
| {
59765916
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59775917
message: string
@@ -6552,16 +6492,6 @@ export type Routes = {
65526492
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65536493
error_code: 'no_space_for_access_code_on_device'
65546494
}
6555-
| {
6556-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6557-
message: string
6558-
/** Indicates that this is an access code error. */
6559-
is_access_code_error: true
6560-
/** Date and time at which Seam created the error. */
6561-
created_at?: string | undefined
6562-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6563-
error_code: 'igloohome_bridge_too_many_pending_jobs'
6564-
}
65656495
| {
65666496
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65676497
message: string
@@ -8594,16 +8524,6 @@ export type Routes = {
85948524
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
85958525
error_code: 'no_space_for_access_code_on_device'
85968526
}
8597-
| {
8598-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8599-
message: string
8600-
/** Indicates that this is an access code error. */
8601-
is_access_code_error: true
8602-
/** Date and time at which Seam created the error. */
8603-
created_at?: string | undefined
8604-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8605-
error_code: 'igloohome_bridge_too_many_pending_jobs'
8606-
}
86078527
| {
86088528
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86098529
message: string
@@ -9144,16 +9064,6 @@ export type Routes = {
91449064
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
91459065
error_code: 'no_space_for_access_code_on_device'
91469066
}
9147-
| {
9148-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9149-
message: string
9150-
/** Indicates that this is an access code error. */
9151-
is_access_code_error: true
9152-
/** Date and time at which Seam created the error. */
9153-
created_at?: string | undefined
9154-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
9155-
error_code: 'igloohome_bridge_too_many_pending_jobs'
9156-
}
91579067
| {
91589068
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
91599069
message: string
@@ -100457,16 +100367,6 @@ export type Routes = {
100457100367
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100458100368
error_code: 'no_space_for_access_code_on_device'
100459100369
}
100460-
| {
100461-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100462-
message: string
100463-
/** Indicates that this is an access code error. */
100464-
is_access_code_error: true
100465-
/** Date and time at which Seam created the error. */
100466-
created_at?: string | undefined
100467-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100468-
error_code: 'igloohome_bridge_too_many_pending_jobs'
100469-
}
100470100370
| {
100471100371
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100472100372
message: string
@@ -100995,16 +100895,6 @@ export type Routes = {
100995100895
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
100996100896
error_code: 'no_space_for_access_code_on_device'
100997100897
}
100998-
| {
100999-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101000-
message: string
101001-
/** Indicates that this is an access code error. */
101002-
is_access_code_error: true
101003-
/** Date and time at which Seam created the error. */
101004-
created_at?: string | undefined
101005-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
101006-
error_code: 'igloohome_bridge_too_many_pending_jobs'
101007-
}
101008100898
| {
101009100899
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
101010100900
message: string

0 commit comments

Comments
 (0)