@seamapi/types 1.18.5 → 1.18.7
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 +46 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +84 -0
- package/dist/devicedb.cjs +5 -2
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +34 -18
- package/lib/seam/connect/openapi.d.ts +49 -0
- package/lib/seam/connect/openapi.js +46 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +35 -0
- package/lib/seam/connect/unstable/model-types.d.ts +1 -1
- package/lib/seam/connect/unstable/models/acs/access_group.d.ts +8 -2
- package/lib/seam/connect/unstable/models/acs/access_group.js +7 -3
- package/lib/seam/connect/unstable/models/acs/access_group.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +8 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +3 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +8 -2
- package/lib/seam/connect/unstable/models/acs/system.js +7 -3
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +8 -0
- package/lib/seam/connect/unstable/models/acs/user.js +3 -0
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/lib/seam/devicedb/public-models/device-model-v1.d.ts +22 -10
- package/lib/seam/devicedb/public-models/device-model-v1.js +4 -1
- package/lib/seam/devicedb/public-models/device-model-v1.js.map +1 -1
- package/lib/seam/devicedb/public-models/manufacturer.d.ts +3 -3
- package/lib/seam/devicedb/public-models/manufacturer.js +1 -1
- package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
- package/lib/seam/devicedb/route-types.d.ts +9 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +46 -5
- package/src/lib/seam/connect/route-types.ts +35 -0
- package/src/lib/seam/connect/unstable/model-types.ts +5 -2
- package/src/lib/seam/connect/unstable/models/acs/access_group.ts +12 -4
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +8 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +10 -4
- package/src/lib/seam/connect/unstable/models/acs/user.ts +6 -0
- package/src/lib/seam/connect/unstable/schemas.ts +4 -2
- package/src/lib/seam/devicedb/public-models/device-model-v1.ts +5 -1
- package/src/lib/seam/devicedb/public-models/manufacturer.ts +1 -1
- package/src/lib/seam/devicedb/route-types.ts +16 -5
|
@@ -47,11 +47,20 @@ export default {
|
|
|
47
47
|
},
|
|
48
48
|
acs_access_group: {
|
|
49
49
|
properties: {
|
|
50
|
-
access_group_type: {
|
|
51
|
-
|
|
50
|
+
access_group_type: {
|
|
51
|
+
description: 'deprecated: use external_type',
|
|
52
|
+
enum: ['pti_unit'],
|
|
53
|
+
type: 'string',
|
|
54
|
+
},
|
|
55
|
+
access_group_type_display_name: {
|
|
56
|
+
description: 'deprecated: use external_type_display_name',
|
|
57
|
+
type: 'string',
|
|
58
|
+
},
|
|
52
59
|
acs_access_group_id: { format: 'uuid', type: 'string' },
|
|
53
60
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
54
61
|
created_at: { format: 'date-time', type: 'string' },
|
|
62
|
+
external_type: { enum: ['pti_unit'], type: 'string' },
|
|
63
|
+
external_type_display_name: { type: 'string' },
|
|
55
64
|
name: { type: 'string' },
|
|
56
65
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
57
66
|
},
|
|
@@ -62,6 +71,8 @@ export default {
|
|
|
62
71
|
'name',
|
|
63
72
|
'access_group_type',
|
|
64
73
|
'access_group_type_display_name',
|
|
74
|
+
'external_type',
|
|
75
|
+
'external_type_display_name',
|
|
65
76
|
'created_at',
|
|
66
77
|
],
|
|
67
78
|
type: 'object',
|
|
@@ -70,12 +81,23 @@ export default {
|
|
|
70
81
|
properties: {
|
|
71
82
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
72
83
|
created_at: { format: 'date-time', type: 'string' },
|
|
84
|
+
external_type: { enum: ['pti_site', 'alta_org'], type: 'string' },
|
|
85
|
+
external_type_display_name: { type: 'string' },
|
|
73
86
|
name: { type: 'string' },
|
|
74
|
-
system_type: {
|
|
75
|
-
|
|
87
|
+
system_type: {
|
|
88
|
+
description: 'deprecated: use external_type',
|
|
89
|
+
enum: ['pti_site', 'alta_org'],
|
|
90
|
+
type: 'string',
|
|
91
|
+
},
|
|
92
|
+
system_type_display_name: {
|
|
93
|
+
description: 'deprecated: use external_type_display_name',
|
|
94
|
+
type: 'string',
|
|
95
|
+
},
|
|
76
96
|
},
|
|
77
97
|
required: [
|
|
78
98
|
'acs_system_id',
|
|
99
|
+
'external_type',
|
|
100
|
+
'external_type_display_name',
|
|
79
101
|
'system_type',
|
|
80
102
|
'system_type_display_name',
|
|
81
103
|
'name',
|
|
@@ -90,6 +112,8 @@ export default {
|
|
|
90
112
|
created_at: { format: 'date-time', type: 'string' },
|
|
91
113
|
display_name: { type: 'string' },
|
|
92
114
|
email: { format: 'email', type: 'string' },
|
|
115
|
+
external_type: { enum: ['pti_user'], type: 'string' },
|
|
116
|
+
external_type_display_name: { type: 'string' },
|
|
93
117
|
full_name: { type: 'string' },
|
|
94
118
|
is_being_deleted: { type: 'boolean' },
|
|
95
119
|
phone_number: { nullable: true, type: 'string' },
|
|
@@ -101,6 +125,8 @@ export default {
|
|
|
101
125
|
'workspace_id',
|
|
102
126
|
'created_at',
|
|
103
127
|
'display_name',
|
|
128
|
+
'external_type',
|
|
129
|
+
'external_type_display_name',
|
|
104
130
|
'is_being_deleted',
|
|
105
131
|
],
|
|
106
132
|
type: 'object',
|
|
@@ -2269,7 +2295,10 @@ export default {
|
|
|
2269
2295
|
content: {
|
|
2270
2296
|
'application/json': {
|
|
2271
2297
|
schema: {
|
|
2272
|
-
properties: {
|
|
2298
|
+
properties: {
|
|
2299
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
2300
|
+
user_identifier_key: { type: 'string' },
|
|
2301
|
+
},
|
|
2273
2302
|
required: ['device_id'],
|
|
2274
2303
|
type: 'object',
|
|
2275
2304
|
},
|
|
@@ -3054,6 +3083,8 @@ export default {
|
|
|
3054
3083
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3055
3084
|
code: { nullable: true, type: 'string' },
|
|
3056
3085
|
created_at: { format: 'date-time', type: 'string' },
|
|
3086
|
+
external_type: { enum: ['pti_card'], type: 'string' },
|
|
3087
|
+
external_type_display_name: { type: 'string' },
|
|
3057
3088
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3058
3089
|
},
|
|
3059
3090
|
required: [
|
|
@@ -3061,6 +3092,8 @@ export default {
|
|
|
3061
3092
|
'acs_user_id',
|
|
3062
3093
|
'acs_system_id',
|
|
3063
3094
|
'code',
|
|
3095
|
+
'external_type',
|
|
3096
|
+
'external_type_display_name',
|
|
3064
3097
|
'created_at',
|
|
3065
3098
|
'workspace_id',
|
|
3066
3099
|
],
|
|
@@ -3161,6 +3194,8 @@ export default {
|
|
|
3161
3194
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3162
3195
|
code: { nullable: true, type: 'string' },
|
|
3163
3196
|
created_at: { format: 'date-time', type: 'string' },
|
|
3197
|
+
external_type: { enum: ['pti_card'], type: 'string' },
|
|
3198
|
+
external_type_display_name: { type: 'string' },
|
|
3164
3199
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3165
3200
|
},
|
|
3166
3201
|
required: [
|
|
@@ -3168,6 +3203,8 @@ export default {
|
|
|
3168
3203
|
'acs_user_id',
|
|
3169
3204
|
'acs_system_id',
|
|
3170
3205
|
'code',
|
|
3206
|
+
'external_type',
|
|
3207
|
+
'external_type_display_name',
|
|
3171
3208
|
'created_at',
|
|
3172
3209
|
'workspace_id',
|
|
3173
3210
|
],
|
|
@@ -3224,6 +3261,8 @@ export default {
|
|
|
3224
3261
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3225
3262
|
code: { nullable: true, type: 'string' },
|
|
3226
3263
|
created_at: { format: 'date-time', type: 'string' },
|
|
3264
|
+
external_type: { enum: ['pti_card'], type: 'string' },
|
|
3265
|
+
external_type_display_name: { type: 'string' },
|
|
3227
3266
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3228
3267
|
},
|
|
3229
3268
|
required: [
|
|
@@ -3231,6 +3270,8 @@ export default {
|
|
|
3231
3270
|
'acs_user_id',
|
|
3232
3271
|
'acs_system_id',
|
|
3233
3272
|
'code',
|
|
3273
|
+
'external_type',
|
|
3274
|
+
'external_type_display_name',
|
|
3234
3275
|
'created_at',
|
|
3235
3276
|
'workspace_id',
|
|
3236
3277
|
],
|
|
@@ -389,6 +389,7 @@ export interface Routes {
|
|
|
389
389
|
jsonBody: {}
|
|
390
390
|
commonParams: {
|
|
391
391
|
device_id: string
|
|
392
|
+
user_identifier_key?: string | undefined
|
|
392
393
|
}
|
|
393
394
|
formData: {}
|
|
394
395
|
jsonResponse: {
|
|
@@ -499,8 +500,12 @@ export interface Routes {
|
|
|
499
500
|
acs_system_id: string
|
|
500
501
|
workspace_id: string
|
|
501
502
|
name: string
|
|
503
|
+
/** deprecated: use external_type */
|
|
502
504
|
access_group_type: 'pti_unit'
|
|
505
|
+
/** deprecated: use external_type_display_name */
|
|
503
506
|
access_group_type_display_name: string
|
|
507
|
+
external_type: 'pti_unit'
|
|
508
|
+
external_type_display_name: string
|
|
504
509
|
created_at: string
|
|
505
510
|
}
|
|
506
511
|
}
|
|
@@ -531,8 +536,12 @@ export interface Routes {
|
|
|
531
536
|
acs_system_id: string
|
|
532
537
|
workspace_id: string
|
|
533
538
|
name: string
|
|
539
|
+
/** deprecated: use external_type */
|
|
534
540
|
access_group_type: 'pti_unit'
|
|
541
|
+
/** deprecated: use external_type_display_name */
|
|
535
542
|
access_group_type_display_name: string
|
|
543
|
+
external_type: 'pti_unit'
|
|
544
|
+
external_type_display_name: string
|
|
536
545
|
created_at: string
|
|
537
546
|
}
|
|
538
547
|
}
|
|
@@ -553,8 +562,12 @@ export interface Routes {
|
|
|
553
562
|
acs_system_id: string
|
|
554
563
|
workspace_id: string
|
|
555
564
|
name: string
|
|
565
|
+
/** deprecated: use external_type */
|
|
556
566
|
access_group_type: 'pti_unit'
|
|
567
|
+
/** deprecated: use external_type_display_name */
|
|
557
568
|
access_group_type_display_name: string
|
|
569
|
+
external_type: 'pti_unit'
|
|
570
|
+
external_type_display_name: string
|
|
558
571
|
created_at: string
|
|
559
572
|
}>
|
|
560
573
|
}
|
|
@@ -575,6 +588,8 @@ export interface Routes {
|
|
|
575
588
|
workspace_id: string
|
|
576
589
|
created_at: string
|
|
577
590
|
display_name: string
|
|
591
|
+
external_type: 'pti_user'
|
|
592
|
+
external_type_display_name: string
|
|
578
593
|
is_being_deleted: boolean
|
|
579
594
|
full_name?: string | undefined
|
|
580
595
|
email?: string | undefined
|
|
@@ -622,6 +637,8 @@ export interface Routes {
|
|
|
622
637
|
acs_user_id: string
|
|
623
638
|
acs_system_id: string
|
|
624
639
|
code: string | null
|
|
640
|
+
external_type: 'pti_card'
|
|
641
|
+
external_type_display_name: string
|
|
625
642
|
created_at: string
|
|
626
643
|
workspace_id: string
|
|
627
644
|
}
|
|
@@ -653,6 +670,8 @@ export interface Routes {
|
|
|
653
670
|
acs_user_id: string
|
|
654
671
|
acs_system_id: string
|
|
655
672
|
code: string | null
|
|
673
|
+
external_type: 'pti_card'
|
|
674
|
+
external_type_display_name: string
|
|
656
675
|
created_at: string
|
|
657
676
|
workspace_id: string
|
|
658
677
|
}
|
|
@@ -673,6 +692,8 @@ export interface Routes {
|
|
|
673
692
|
acs_user_id: string
|
|
674
693
|
acs_system_id: string
|
|
675
694
|
code: string | null
|
|
695
|
+
external_type: 'pti_card'
|
|
696
|
+
external_type_display_name: string
|
|
676
697
|
created_at: string
|
|
677
698
|
workspace_id: string
|
|
678
699
|
}>
|
|
@@ -690,7 +711,11 @@ export interface Routes {
|
|
|
690
711
|
jsonResponse: {
|
|
691
712
|
acs_system: {
|
|
692
713
|
acs_system_id: string
|
|
714
|
+
external_type: 'pti_site' | 'alta_org'
|
|
715
|
+
external_type_display_name: string
|
|
716
|
+
/** deprecated: use external_type */
|
|
693
717
|
system_type: 'pti_site' | 'alta_org'
|
|
718
|
+
/** deprecated: use external_type_display_name */
|
|
694
719
|
system_type_display_name: string
|
|
695
720
|
name: string
|
|
696
721
|
created_at: string
|
|
@@ -709,7 +734,11 @@ export interface Routes {
|
|
|
709
734
|
jsonResponse: {
|
|
710
735
|
acs_systems: Array<{
|
|
711
736
|
acs_system_id: string
|
|
737
|
+
external_type: 'pti_site' | 'alta_org'
|
|
738
|
+
external_type_display_name: string
|
|
739
|
+
/** deprecated: use external_type */
|
|
712
740
|
system_type: 'pti_site' | 'alta_org'
|
|
741
|
+
/** deprecated: use external_type_display_name */
|
|
713
742
|
system_type_display_name: string
|
|
714
743
|
name: string
|
|
715
744
|
created_at: string
|
|
@@ -748,6 +777,8 @@ export interface Routes {
|
|
|
748
777
|
workspace_id: string
|
|
749
778
|
created_at: string
|
|
750
779
|
display_name: string
|
|
780
|
+
external_type: 'pti_user'
|
|
781
|
+
external_type_display_name: string
|
|
751
782
|
is_being_deleted: boolean
|
|
752
783
|
full_name?: string | undefined
|
|
753
784
|
email?: string | undefined
|
|
@@ -782,6 +813,8 @@ export interface Routes {
|
|
|
782
813
|
workspace_id: string
|
|
783
814
|
created_at: string
|
|
784
815
|
display_name: string
|
|
816
|
+
external_type: 'pti_user'
|
|
817
|
+
external_type_display_name: string
|
|
785
818
|
is_being_deleted: boolean
|
|
786
819
|
full_name?: string | undefined
|
|
787
820
|
email?: string | undefined
|
|
@@ -805,6 +838,8 @@ export interface Routes {
|
|
|
805
838
|
workspace_id: string
|
|
806
839
|
created_at: string
|
|
807
840
|
display_name: string
|
|
841
|
+
external_type: 'pti_user'
|
|
842
|
+
external_type_display_name: string
|
|
808
843
|
is_being_deleted: boolean
|
|
809
844
|
full_name?: string | undefined
|
|
810
845
|
email?: string | undefined
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
export type {
|
|
2
2
|
AccessCodeConstraint,
|
|
3
3
|
AcsAccessGroup,
|
|
4
|
-
|
|
4
|
+
AcsAccessGroupExternalType,
|
|
5
|
+
AcsCredential,
|
|
6
|
+
AcsCredentialExternalType,
|
|
5
7
|
AcsSystem,
|
|
6
|
-
|
|
8
|
+
AcsSystemExternalType,
|
|
7
9
|
AcsUser,
|
|
10
|
+
AcsUserExternalType,
|
|
8
11
|
AnyDeviceType,
|
|
9
12
|
BatteryStatus,
|
|
10
13
|
Capabilities,
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
// If changed, update seam.acs_access_group.access_group_type check constraint
|
|
4
|
-
export const
|
|
4
|
+
export const acs_access_group_external_type = z.enum(['pti_unit'])
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type AcsAccessGroupExternalType = z.infer<
|
|
7
|
+
typeof acs_access_group_external_type
|
|
8
|
+
>
|
|
7
9
|
|
|
8
10
|
export const acs_access_group = z.object({
|
|
9
11
|
acs_access_group_id: z.string().uuid(),
|
|
10
12
|
acs_system_id: z.string().uuid(),
|
|
11
13
|
workspace_id: z.string().uuid(),
|
|
12
14
|
name: z.string(),
|
|
13
|
-
access_group_type:
|
|
14
|
-
|
|
15
|
+
access_group_type: acs_access_group_external_type.describe(
|
|
16
|
+
'deprecated: use external_type',
|
|
17
|
+
),
|
|
18
|
+
access_group_type_display_name: z
|
|
19
|
+
.string()
|
|
20
|
+
.describe('deprecated: use external_type_display_name'),
|
|
21
|
+
external_type: acs_access_group_external_type,
|
|
22
|
+
external_type_display_name: z.string(),
|
|
15
23
|
created_at: z.string().datetime(),
|
|
16
24
|
})
|
|
17
25
|
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
export const acs_credential_external_type = z.enum(['pti_card'])
|
|
4
|
+
|
|
5
|
+
export type AcsCredentialExternalType = z.infer<
|
|
6
|
+
typeof acs_credential_external_type
|
|
7
|
+
>
|
|
8
|
+
|
|
3
9
|
export const acs_credential = z.object({
|
|
4
10
|
acs_credential_id: z.string().uuid(),
|
|
5
11
|
acs_user_id: z.string().uuid(),
|
|
6
12
|
acs_system_id: z.string().uuid(),
|
|
7
13
|
code: z.string().nullable(),
|
|
14
|
+
external_type: acs_credential_external_type,
|
|
15
|
+
external_type_display_name: z.string(),
|
|
8
16
|
// TODO: credential_type: z.enum([...]) we don't know what enum types we want yet
|
|
9
17
|
created_at: z.string().datetime(),
|
|
10
18
|
workspace_id: z.string().uuid(),
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
// If changed, update seam.acs_system.system_type check constraint
|
|
4
|
-
export const
|
|
4
|
+
export const acs_system_external_type = z.enum(['pti_site', 'alta_org'])
|
|
5
5
|
|
|
6
|
-
export type
|
|
6
|
+
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>
|
|
7
7
|
|
|
8
8
|
export const acs_system = z.object({
|
|
9
9
|
acs_system_id: z.string().uuid(),
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
external_type: acs_system_external_type,
|
|
11
|
+
external_type_display_name: z.string(),
|
|
12
|
+
system_type: acs_system_external_type.describe(
|
|
13
|
+
'deprecated: use external_type',
|
|
14
|
+
),
|
|
15
|
+
system_type_display_name: z
|
|
16
|
+
.string()
|
|
17
|
+
.describe('deprecated: use external_type_display_name'),
|
|
12
18
|
name: z.string(),
|
|
13
19
|
created_at: z.string().datetime(),
|
|
14
20
|
})
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
export const acs_user_external_type = z.enum(['pti_user'])
|
|
4
|
+
|
|
5
|
+
export type AcsUserExternalType = z.infer<typeof acs_user_external_type>
|
|
6
|
+
|
|
3
7
|
const phone_number = z.coerce
|
|
4
8
|
.string()
|
|
5
9
|
.trim()
|
|
@@ -26,6 +30,8 @@ export const acs_user = z
|
|
|
26
30
|
workspace_id: z.string().uuid(),
|
|
27
31
|
created_at: z.string().datetime(),
|
|
28
32
|
display_name: z.string(),
|
|
33
|
+
external_type: acs_user_external_type,
|
|
34
|
+
external_type_display_name: z.string(),
|
|
29
35
|
is_being_deleted: z.boolean(),
|
|
30
36
|
})
|
|
31
37
|
.merge(user_fields)
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export {
|
|
2
2
|
access_code_code_constraint,
|
|
3
3
|
acs_access_group,
|
|
4
|
-
|
|
4
|
+
acs_access_group_external_type,
|
|
5
5
|
acs_credential,
|
|
6
|
+
acs_credential_external_type,
|
|
6
7
|
acs_system,
|
|
7
|
-
|
|
8
|
+
acs_system_external_type,
|
|
8
9
|
acs_user,
|
|
10
|
+
acs_user_external_type,
|
|
9
11
|
any_device_type,
|
|
10
12
|
battery_status,
|
|
11
13
|
capabilities,
|
|
@@ -52,9 +52,13 @@ const thermostat = z.object({
|
|
|
52
52
|
}),
|
|
53
53
|
})
|
|
54
54
|
|
|
55
|
+
const relay = z.object({
|
|
56
|
+
main_category: z.literal('relay'),
|
|
57
|
+
})
|
|
58
|
+
|
|
55
59
|
export const device_model_category_specific_properties = z.discriminatedUnion(
|
|
56
60
|
'main_category',
|
|
57
|
-
[smartlock, sensor, thermostat],
|
|
61
|
+
[smartlock, sensor, thermostat, relay],
|
|
58
62
|
)
|
|
59
63
|
|
|
60
64
|
export const base_device_model_v1 = z.object({
|
|
@@ -6,7 +6,7 @@ export const manufacturer = z.object({
|
|
|
6
6
|
manufacturer_id: z.string().uuid(),
|
|
7
7
|
display_name: z.string(),
|
|
8
8
|
logo: image_reference.optional(),
|
|
9
|
-
integration: z.enum(['stable', 'beta', 'planned', 'unsupported']),
|
|
9
|
+
integration: z.enum(['stable', 'beta', 'planned', 'unsupported', 'inquire']),
|
|
10
10
|
is_connect_webview_supported: z.boolean(),
|
|
11
11
|
requires_seam_support_to_add_account: z.boolean(),
|
|
12
12
|
})
|
|
@@ -21,7 +21,7 @@ export interface Routes {
|
|
|
21
21
|
height: number
|
|
22
22
|
}
|
|
23
23
|
| undefined
|
|
24
|
-
integration: 'stable' | 'beta' | 'planned' | 'unsupported'
|
|
24
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported' | 'inquire'
|
|
25
25
|
is_connect_webview_supported: boolean
|
|
26
26
|
requires_seam_support_to_add_account: boolean
|
|
27
27
|
}
|
|
@@ -103,6 +103,9 @@ export interface Routes {
|
|
|
103
103
|
can_program_climate_schedules: boolean
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
+
| {
|
|
107
|
+
main_category: 'relay'
|
|
108
|
+
}
|
|
106
109
|
)
|
|
107
110
|
}
|
|
108
111
|
}
|
|
@@ -113,7 +116,7 @@ export interface Routes {
|
|
|
113
116
|
main_category?: string | undefined
|
|
114
117
|
manufacturer_id?: string | undefined
|
|
115
118
|
integration_status?:
|
|
116
|
-
| ('stable' | 'beta' | 'planned' | 'unsupported')
|
|
119
|
+
| ('stable' | 'beta' | 'planned' | 'unsupported' | 'inquire')
|
|
117
120
|
| undefined
|
|
118
121
|
text_search?: string | undefined
|
|
119
122
|
}
|
|
@@ -134,7 +137,12 @@ export interface Routes {
|
|
|
134
137
|
height: number
|
|
135
138
|
}
|
|
136
139
|
| undefined
|
|
137
|
-
integration:
|
|
140
|
+
integration:
|
|
141
|
+
| 'stable'
|
|
142
|
+
| 'beta'
|
|
143
|
+
| 'planned'
|
|
144
|
+
| 'unsupported'
|
|
145
|
+
| 'inquire'
|
|
138
146
|
is_connect_webview_supported: boolean
|
|
139
147
|
requires_seam_support_to_add_account: boolean
|
|
140
148
|
}
|
|
@@ -216,6 +224,9 @@ export interface Routes {
|
|
|
216
224
|
can_program_climate_schedules: boolean
|
|
217
225
|
}
|
|
218
226
|
}
|
|
227
|
+
| {
|
|
228
|
+
main_category: 'relay'
|
|
229
|
+
}
|
|
219
230
|
)
|
|
220
231
|
>
|
|
221
232
|
}
|
|
@@ -240,7 +251,7 @@ export interface Routes {
|
|
|
240
251
|
height: number
|
|
241
252
|
}
|
|
242
253
|
| undefined
|
|
243
|
-
integration: 'stable' | 'beta' | 'planned' | 'unsupported'
|
|
254
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported' | 'inquire'
|
|
244
255
|
is_connect_webview_supported: boolean
|
|
245
256
|
requires_seam_support_to_add_account: boolean
|
|
246
257
|
}
|
|
@@ -264,7 +275,7 @@ export interface Routes {
|
|
|
264
275
|
height: number
|
|
265
276
|
}
|
|
266
277
|
| undefined
|
|
267
|
-
integration: 'stable' | 'beta' | 'planned' | 'unsupported'
|
|
278
|
+
integration: 'stable' | 'beta' | 'planned' | 'unsupported' | 'inquire'
|
|
268
279
|
is_connect_webview_supported: boolean
|
|
269
280
|
requires_seam_support_to_add_account: boolean
|
|
270
281
|
}>
|