@seamapi/types 1.18.2 → 1.18.4
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 +3 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +7 -0
- package/dist/devicedb.d.cts +3 -1
- package/lib/seam/connect/openapi.d.ts +3 -0
- package/lib/seam/connect/openapi.js +2 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -0
- package/lib/seam/connect/unstable/models/acs/user.d.ts +3 -0
- package/lib/seam/connect/unstable/models/acs/user.js +1 -0
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/lib/seam/devicedb/index.d.ts +1 -0
- package/lib/seam/devicedb/route-types.d.ts +2 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +2 -0
- package/src/lib/seam/connect/route-types.ts +4 -0
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -0
- package/src/lib/seam/devicedb/index.ts +6 -0
- package/src/lib/seam/devicedb/route-types.ts +2 -0
|
@@ -561,6 +561,7 @@ export interface Routes {
|
|
|
561
561
|
workspace_id: string;
|
|
562
562
|
created_at: string;
|
|
563
563
|
display_name: string;
|
|
564
|
+
is_being_deleted: boolean;
|
|
564
565
|
full_name?: string | undefined;
|
|
565
566
|
email?: string | undefined;
|
|
566
567
|
phone_number?: string | undefined;
|
|
@@ -733,6 +734,7 @@ export interface Routes {
|
|
|
733
734
|
workspace_id: string;
|
|
734
735
|
created_at: string;
|
|
735
736
|
display_name: string;
|
|
737
|
+
is_being_deleted: boolean;
|
|
736
738
|
full_name?: string | undefined;
|
|
737
739
|
email?: string | undefined;
|
|
738
740
|
phone_number?: string | undefined;
|
|
@@ -766,6 +768,7 @@ export interface Routes {
|
|
|
766
768
|
workspace_id: string;
|
|
767
769
|
created_at: string;
|
|
768
770
|
display_name: string;
|
|
771
|
+
is_being_deleted: boolean;
|
|
769
772
|
full_name?: string | undefined;
|
|
770
773
|
email?: string | undefined;
|
|
771
774
|
phone_number?: string | undefined;
|
|
@@ -788,6 +791,7 @@ export interface Routes {
|
|
|
788
791
|
workspace_id: string;
|
|
789
792
|
created_at: string;
|
|
790
793
|
display_name: string;
|
|
794
|
+
is_being_deleted: boolean;
|
|
791
795
|
full_name?: string | undefined;
|
|
792
796
|
email?: string | undefined;
|
|
793
797
|
phone_number?: string | undefined;
|
|
@@ -5,6 +5,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
5
5
|
acs_system_id: z.ZodString;
|
|
6
6
|
acs_user_id: z.ZodString;
|
|
7
7
|
display_name: z.ZodString;
|
|
8
|
+
is_being_deleted: z.ZodBoolean;
|
|
8
9
|
full_name: z.ZodOptional<z.ZodString>;
|
|
9
10
|
email: z.ZodOptional<z.ZodString>;
|
|
10
11
|
phone_number: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -14,6 +15,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
14
15
|
acs_system_id: string;
|
|
15
16
|
acs_user_id: string;
|
|
16
17
|
display_name: string;
|
|
18
|
+
is_being_deleted: boolean;
|
|
17
19
|
full_name?: string | undefined;
|
|
18
20
|
email?: string | undefined;
|
|
19
21
|
phone_number?: string | undefined;
|
|
@@ -23,6 +25,7 @@ export declare const acs_user: z.ZodObject<{
|
|
|
23
25
|
acs_system_id: string;
|
|
24
26
|
acs_user_id: string;
|
|
25
27
|
display_name: string;
|
|
28
|
+
is_being_deleted: boolean;
|
|
26
29
|
full_name?: string | undefined;
|
|
27
30
|
email?: string | undefined;
|
|
28
31
|
phone_number?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM;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C,MAAM,CAAC;IAC3B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC;KACtB,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE;CAC9B,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
|
|
@@ -25,6 +25,7 @@ export interface Routes {
|
|
|
25
25
|
};
|
|
26
26
|
is_device_supported: boolean;
|
|
27
27
|
display_name: string;
|
|
28
|
+
description: string;
|
|
28
29
|
product_url: string;
|
|
29
30
|
main_connection_type: 'wifi' | 'zwave' | 'zigbee' | 'unknown';
|
|
30
31
|
main_category: 'smartlock' | 'thermostat' | 'noise_sensor';
|
|
@@ -76,6 +77,7 @@ export interface Routes {
|
|
|
76
77
|
};
|
|
77
78
|
is_device_supported: boolean;
|
|
78
79
|
display_name: string;
|
|
80
|
+
description: string;
|
|
79
81
|
product_url: string;
|
|
80
82
|
main_connection_type: 'wifi' | 'zwave' | 'zigbee' | 'unknown';
|
|
81
83
|
main_category: 'smartlock' | 'thermostat' | 'noise_sensor';
|
package/package.json
CHANGED
|
@@ -91,6 +91,7 @@ export default {
|
|
|
91
91
|
display_name: { type: 'string' },
|
|
92
92
|
email: { format: 'email', type: 'string' },
|
|
93
93
|
full_name: { type: 'string' },
|
|
94
|
+
is_being_deleted: { type: 'boolean' },
|
|
94
95
|
phone_number: { nullable: true, type: 'string' },
|
|
95
96
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
96
97
|
},
|
|
@@ -100,6 +101,7 @@ export default {
|
|
|
100
101
|
'workspace_id',
|
|
101
102
|
'created_at',
|
|
102
103
|
'display_name',
|
|
104
|
+
'is_being_deleted',
|
|
103
105
|
],
|
|
104
106
|
type: 'object',
|
|
105
107
|
},
|
|
@@ -575,6 +575,7 @@ export interface Routes {
|
|
|
575
575
|
workspace_id: string
|
|
576
576
|
created_at: string
|
|
577
577
|
display_name: string
|
|
578
|
+
is_being_deleted: boolean
|
|
578
579
|
full_name?: string | undefined
|
|
579
580
|
email?: string | undefined
|
|
580
581
|
phone_number?: string | undefined
|
|
@@ -747,6 +748,7 @@ export interface Routes {
|
|
|
747
748
|
workspace_id: string
|
|
748
749
|
created_at: string
|
|
749
750
|
display_name: string
|
|
751
|
+
is_being_deleted: boolean
|
|
750
752
|
full_name?: string | undefined
|
|
751
753
|
email?: string | undefined
|
|
752
754
|
phone_number?: string | undefined
|
|
@@ -780,6 +782,7 @@ export interface Routes {
|
|
|
780
782
|
workspace_id: string
|
|
781
783
|
created_at: string
|
|
782
784
|
display_name: string
|
|
785
|
+
is_being_deleted: boolean
|
|
783
786
|
full_name?: string | undefined
|
|
784
787
|
email?: string | undefined
|
|
785
788
|
phone_number?: string | undefined
|
|
@@ -802,6 +805,7 @@ export interface Routes {
|
|
|
802
805
|
workspace_id: string
|
|
803
806
|
created_at: string
|
|
804
807
|
display_name: string
|
|
808
|
+
is_being_deleted: boolean
|
|
805
809
|
full_name?: string | undefined
|
|
806
810
|
email?: string | undefined
|
|
807
811
|
phone_number?: string | undefined
|
|
@@ -27,6 +27,7 @@ export interface Routes {
|
|
|
27
27
|
}
|
|
28
28
|
is_device_supported: boolean
|
|
29
29
|
display_name: string
|
|
30
|
+
description: string
|
|
30
31
|
product_url: string
|
|
31
32
|
main_connection_type: 'wifi' | 'zwave' | 'zigbee' | 'unknown'
|
|
32
33
|
main_category: 'smartlock' | 'thermostat' | 'noise_sensor'
|
|
@@ -86,6 +87,7 @@ export interface Routes {
|
|
|
86
87
|
}
|
|
87
88
|
is_device_supported: boolean
|
|
88
89
|
display_name: string
|
|
90
|
+
description: string
|
|
89
91
|
product_url: string
|
|
90
92
|
main_connection_type: 'wifi' | 'zwave' | 'zigbee' | 'unknown'
|
|
91
93
|
main_category: 'smartlock' | 'thermostat' | 'noise_sensor'
|