@seamapi/types 1.565.0 → 1.567.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 +308 -779
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +643 -1002
- package/dist/index.cjs +308 -779
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +3 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +552 -118
- package/lib/seam/connect/models/batch.js +5 -6
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +52 -2
- package/lib/seam/connect/models/customer/customer-portal.js +10 -2
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +16 -0
- package/lib/seam/connect/openapi.d.ts +538 -939
- package/lib/seam/connect/openapi.js +301 -775
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +39 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +3 -0
- package/src/lib/seam/connect/models/batch.ts +5 -6
- package/src/lib/seam/connect/models/customer/customer-portal.ts +12 -2
- package/src/lib/seam/connect/openapi.ts +303 -877
- package/src/lib/seam/connect/route-types.ts +103 -55
|
@@ -31,12 +31,7 @@ export const spaces_batch = z
|
|
|
31
31
|
})
|
|
32
32
|
.array()
|
|
33
33
|
.optional(),
|
|
34
|
-
acs_entrances: acs_entrance
|
|
35
|
-
.extend({
|
|
36
|
-
space_ids: z.array(z.string().uuid()),
|
|
37
|
-
})
|
|
38
|
-
.array()
|
|
39
|
-
.optional(),
|
|
34
|
+
acs_entrances: acs_entrance.array().optional(),
|
|
40
35
|
connected_accounts: connected_account.array().optional(),
|
|
41
36
|
acs_systems: acs_system.array().optional(),
|
|
42
37
|
})
|
|
@@ -56,6 +51,10 @@ export const access_methods_batch = z.object({
|
|
|
56
51
|
spaces: space.array().optional(),
|
|
57
52
|
devices: device.array().optional(),
|
|
58
53
|
acs_entrances: acs_entrance.array().optional(),
|
|
54
|
+
access_grants: access_grant.array().optional(),
|
|
55
|
+
access_methods: access_method.array().optional(),
|
|
56
|
+
instant_keys: instant_key.array().optional(),
|
|
57
|
+
client_sessions: client_session.array().optional(),
|
|
59
58
|
});
|
|
60
59
|
export const workspaces_batch = z
|
|
61
60
|
.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EACL,gBAAgB,EAChB,0BAA0B,GAC3B,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,cAAc,EACd,wBAAwB,GACzB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAA;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAA;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OA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AAY,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,sBAAsB,EAAE,qBAAqB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAChE,yBAAyB,EAAE,wBAAwB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACtE,oBAAoB,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5D,gBAAgB,EAAE,eAAe,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpD,sBAAsB,EAAE,qBAAqB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;CACjE,CAAC;KACD,QAAQ,CAAC,iCAAiC,CAAC,CAAA"}
|
|
@@ -3,10 +3,14 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
3
3
|
features: z.ZodDefault<z.ZodObject<{
|
|
4
4
|
connect: z.ZodDefault<z.ZodObject<{
|
|
5
5
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
+
} & {
|
|
7
|
+
excluded_providers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
8
|
}, "strip", z.ZodTypeAny, {
|
|
7
9
|
exclude: boolean;
|
|
10
|
+
excluded_providers?: string[] | undefined;
|
|
8
11
|
}, {
|
|
9
12
|
exclude?: boolean | undefined;
|
|
13
|
+
excluded_providers?: string[] | undefined;
|
|
10
14
|
}>>;
|
|
11
15
|
manage_devices: z.ZodDefault<z.ZodObject<{
|
|
12
16
|
exclude: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -39,6 +43,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
39
43
|
}, "strip", z.ZodTypeAny, {
|
|
40
44
|
connect: {
|
|
41
45
|
exclude: boolean;
|
|
46
|
+
excluded_providers?: string[] | undefined;
|
|
42
47
|
};
|
|
43
48
|
manage_devices: {
|
|
44
49
|
exclude: boolean;
|
|
@@ -54,6 +59,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
54
59
|
}, {
|
|
55
60
|
connect?: {
|
|
56
61
|
exclude?: boolean | undefined;
|
|
62
|
+
excluded_providers?: string[] | undefined;
|
|
57
63
|
} | undefined;
|
|
58
64
|
manage_devices?: {
|
|
59
65
|
exclude?: boolean | undefined;
|
|
@@ -69,7 +75,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
69
75
|
}>>;
|
|
70
76
|
is_embedded: z.ZodDefault<z.ZodBoolean>;
|
|
71
77
|
landing_page: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
manage: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
78
|
+
manage: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
73
79
|
space_key: z.ZodString;
|
|
74
80
|
}, "strip", z.ZodTypeAny, {
|
|
75
81
|
space_key: string;
|
|
@@ -123,9 +129,33 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
123
129
|
property_listing_key: string;
|
|
124
130
|
}, {
|
|
125
131
|
property_listing_key: string;
|
|
126
|
-
}>]
|
|
132
|
+
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
133
|
+
reservation_key: z.ZodString;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
reservation_key: string;
|
|
136
|
+
}, {
|
|
137
|
+
reservation_key: string;
|
|
138
|
+
}>, z.ZodObject<{
|
|
139
|
+
booking_key: z.ZodString;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
booking_key: string;
|
|
142
|
+
}, {
|
|
143
|
+
booking_key: string;
|
|
144
|
+
}>, z.ZodObject<{
|
|
145
|
+
access_grant_key: z.ZodString;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
access_grant_key: string;
|
|
148
|
+
}, {
|
|
149
|
+
access_grant_key: string;
|
|
150
|
+
}>]>]>>;
|
|
127
151
|
}, "strip", z.ZodTypeAny, {
|
|
128
152
|
manage?: {
|
|
153
|
+
reservation_key: string;
|
|
154
|
+
} | {
|
|
155
|
+
booking_key: string;
|
|
156
|
+
} | {
|
|
157
|
+
access_grant_key: string;
|
|
158
|
+
} | {
|
|
129
159
|
space_key: string;
|
|
130
160
|
} | {
|
|
131
161
|
property_key: string;
|
|
@@ -146,6 +176,12 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
146
176
|
} | undefined;
|
|
147
177
|
}, {
|
|
148
178
|
manage?: {
|
|
179
|
+
reservation_key: string;
|
|
180
|
+
} | {
|
|
181
|
+
booking_key: string;
|
|
182
|
+
} | {
|
|
183
|
+
access_grant_key: string;
|
|
184
|
+
} | {
|
|
149
185
|
space_key: string;
|
|
150
186
|
} | {
|
|
151
187
|
property_key: string;
|
|
@@ -169,6 +205,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
169
205
|
features: {
|
|
170
206
|
connect: {
|
|
171
207
|
exclude: boolean;
|
|
208
|
+
excluded_providers?: string[] | undefined;
|
|
172
209
|
};
|
|
173
210
|
manage_devices: {
|
|
174
211
|
exclude: boolean;
|
|
@@ -185,6 +222,12 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
185
222
|
is_embedded: boolean;
|
|
186
223
|
landing_page?: {
|
|
187
224
|
manage?: {
|
|
225
|
+
reservation_key: string;
|
|
226
|
+
} | {
|
|
227
|
+
booking_key: string;
|
|
228
|
+
} | {
|
|
229
|
+
access_grant_key: string;
|
|
230
|
+
} | {
|
|
188
231
|
space_key: string;
|
|
189
232
|
} | {
|
|
190
233
|
property_key: string;
|
|
@@ -208,6 +251,7 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
208
251
|
features?: {
|
|
209
252
|
connect?: {
|
|
210
253
|
exclude?: boolean | undefined;
|
|
254
|
+
excluded_providers?: string[] | undefined;
|
|
211
255
|
} | undefined;
|
|
212
256
|
manage_devices?: {
|
|
213
257
|
exclude?: boolean | undefined;
|
|
@@ -224,6 +268,12 @@ export declare const portal_configuration: z.ZodDefault<z.ZodObject<{
|
|
|
224
268
|
is_embedded?: boolean | undefined;
|
|
225
269
|
landing_page?: {
|
|
226
270
|
manage?: {
|
|
271
|
+
reservation_key: string;
|
|
272
|
+
} | {
|
|
273
|
+
booking_key: string;
|
|
274
|
+
} | {
|
|
275
|
+
access_grant_key: string;
|
|
276
|
+
} | {
|
|
227
277
|
space_key: string;
|
|
228
278
|
} | {
|
|
229
279
|
property_key: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { access_grant_key_aliases } from './access-grant-resources.js';
|
|
2
3
|
import { location_key_aliases } from './location-resources.js';
|
|
3
4
|
const base_feature = z.object({
|
|
4
5
|
exclude: z
|
|
@@ -6,7 +7,12 @@ const base_feature = z.object({
|
|
|
6
7
|
.default(false)
|
|
7
8
|
.describe('Whether to exclude this feature from the portal.'),
|
|
8
9
|
});
|
|
9
|
-
const base_connect_feature = base_feature
|
|
10
|
+
const base_connect_feature = base_feature.extend({
|
|
11
|
+
excluded_providers: z
|
|
12
|
+
.array(z.string())
|
|
13
|
+
.optional()
|
|
14
|
+
.describe('List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account.'),
|
|
15
|
+
});
|
|
10
16
|
const base_manage_devices_feature = base_feature;
|
|
11
17
|
const base_organize_feature = base_feature;
|
|
12
18
|
const base_configure_feature = base_feature.extend({
|
|
@@ -42,7 +48,9 @@ export const portal_configuration = z
|
|
|
42
48
|
.describe('Whether the portal is embedded in another application.'),
|
|
43
49
|
landing_page: z
|
|
44
50
|
.object({
|
|
45
|
-
manage:
|
|
51
|
+
manage: z
|
|
52
|
+
.union([location_key_aliases, access_grant_key_aliases])
|
|
53
|
+
.optional(),
|
|
46
54
|
})
|
|
47
55
|
.optional()
|
|
48
56
|
.describe('Configuration for the landing page when the portal loads.'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"customer-portal.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAE9D,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;SACV,QAAQ,CACP,6IAA6I,CAC9I;CACJ,CAAC,CAAA;AACF,MAAM,2BAA2B,GAAG,YAAY,CAAA;AAChD,MAAM,qBAAqB,GAAG,YAAY,CAAA;AAE1C,MAAM,sBAAsB,GAAG,YAAY,CAAC,MAAM,CAAC;IACjD,0CAA0C,EAAE,CAAC;SAC1C,OAAO,EAAE;SACT,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,C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d,+BAA+B,EAAE,KAAK,EAAE,UAAU;YAClD,0CAA0C,EAAE,KAAK,EAAE,UAAU;SAC9D;KACF;IACD,WAAW,EAAE,KAAK;CACnB,CAAC;KACD,QAAQ,CAAC,qCAAqC,CAAC,CAAA"}
|
|
@@ -186,6 +186,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
186
186
|
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
187
187
|
acs_system_id: z.ZodString;
|
|
188
188
|
acs_entrance_id: z.ZodString;
|
|
189
|
+
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
189
190
|
created_at: z.ZodString;
|
|
190
191
|
display_name: z.ZodString;
|
|
191
192
|
connected_account_id: z.ZodString;
|
|
@@ -354,6 +355,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
354
355
|
error_code: string;
|
|
355
356
|
}[];
|
|
356
357
|
connected_account_id: string;
|
|
358
|
+
space_ids: string[];
|
|
357
359
|
acs_system_id: string;
|
|
358
360
|
acs_entrance_id: string;
|
|
359
361
|
salto_ks_metadata?: {
|
|
@@ -418,6 +420,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
418
420
|
error_code: string;
|
|
419
421
|
}[];
|
|
420
422
|
connected_account_id: string;
|
|
423
|
+
space_ids: string[];
|
|
421
424
|
acs_system_id: string;
|
|
422
425
|
acs_entrance_id: string;
|
|
423
426
|
salto_ks_metadata?: {
|
|
@@ -521,6 +524,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
521
524
|
error_code: string;
|
|
522
525
|
}[];
|
|
523
526
|
connected_account_id: string;
|
|
527
|
+
space_ids: string[];
|
|
524
528
|
acs_system_id: string;
|
|
525
529
|
acs_entrance_id: string;
|
|
526
530
|
salto_ks_metadata?: {
|
|
@@ -658,6 +662,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
658
662
|
error_code: string;
|
|
659
663
|
}[];
|
|
660
664
|
connected_account_id: string;
|
|
665
|
+
space_ids: string[];
|
|
661
666
|
acs_system_id: string;
|
|
662
667
|
acs_entrance_id: string;
|
|
663
668
|
salto_ks_metadata?: {
|
|
@@ -797,6 +802,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
797
802
|
error_code: string;
|
|
798
803
|
}[];
|
|
799
804
|
connected_account_id: string;
|
|
805
|
+
space_ids: string[];
|
|
800
806
|
acs_system_id: string;
|
|
801
807
|
acs_entrance_id: string;
|
|
802
808
|
salto_ks_metadata?: {
|
|
@@ -942,6 +948,7 @@ declare const phone_provider_session: z.ZodObject<{
|
|
|
942
948
|
error_code: string;
|
|
943
949
|
}[];
|
|
944
950
|
connected_account_id: string;
|
|
951
|
+
space_ids: string[];
|
|
945
952
|
acs_system_id: string;
|
|
946
953
|
acs_entrance_id: string;
|
|
947
954
|
salto_ks_metadata?: {
|
|
@@ -1229,6 +1236,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1229
1236
|
acs_entrances: z.ZodArray<z.ZodObject<{
|
|
1230
1237
|
acs_system_id: z.ZodString;
|
|
1231
1238
|
acs_entrance_id: z.ZodString;
|
|
1239
|
+
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
1232
1240
|
created_at: z.ZodString;
|
|
1233
1241
|
display_name: z.ZodString;
|
|
1234
1242
|
connected_account_id: z.ZodString;
|
|
@@ -1397,6 +1405,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1397
1405
|
error_code: string;
|
|
1398
1406
|
}[];
|
|
1399
1407
|
connected_account_id: string;
|
|
1408
|
+
space_ids: string[];
|
|
1400
1409
|
acs_system_id: string;
|
|
1401
1410
|
acs_entrance_id: string;
|
|
1402
1411
|
salto_ks_metadata?: {
|
|
@@ -1461,6 +1470,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1461
1470
|
error_code: string;
|
|
1462
1471
|
}[];
|
|
1463
1472
|
connected_account_id: string;
|
|
1473
|
+
space_ids: string[];
|
|
1464
1474
|
acs_system_id: string;
|
|
1465
1475
|
acs_entrance_id: string;
|
|
1466
1476
|
salto_ks_metadata?: {
|
|
@@ -1564,6 +1574,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1564
1574
|
error_code: string;
|
|
1565
1575
|
}[];
|
|
1566
1576
|
connected_account_id: string;
|
|
1577
|
+
space_ids: string[];
|
|
1567
1578
|
acs_system_id: string;
|
|
1568
1579
|
acs_entrance_id: string;
|
|
1569
1580
|
salto_ks_metadata?: {
|
|
@@ -1701,6 +1712,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1701
1712
|
error_code: string;
|
|
1702
1713
|
}[];
|
|
1703
1714
|
connected_account_id: string;
|
|
1715
|
+
space_ids: string[];
|
|
1704
1716
|
acs_system_id: string;
|
|
1705
1717
|
acs_entrance_id: string;
|
|
1706
1718
|
salto_ks_metadata?: {
|
|
@@ -1840,6 +1852,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1840
1852
|
error_code: string;
|
|
1841
1853
|
}[];
|
|
1842
1854
|
connected_account_id: string;
|
|
1855
|
+
space_ids: string[];
|
|
1843
1856
|
acs_system_id: string;
|
|
1844
1857
|
acs_entrance_id: string;
|
|
1845
1858
|
salto_ks_metadata?: {
|
|
@@ -1985,6 +1998,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
1985
1998
|
error_code: string;
|
|
1986
1999
|
}[];
|
|
1987
2000
|
connected_account_id: string;
|
|
2001
|
+
space_ids: string[];
|
|
1988
2002
|
acs_system_id: string;
|
|
1989
2003
|
acs_entrance_id: string;
|
|
1990
2004
|
salto_ks_metadata?: {
|
|
@@ -2244,6 +2258,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2244
2258
|
error_code: string;
|
|
2245
2259
|
}[];
|
|
2246
2260
|
connected_account_id: string;
|
|
2261
|
+
space_ids: string[];
|
|
2247
2262
|
acs_system_id: string;
|
|
2248
2263
|
acs_entrance_id: string;
|
|
2249
2264
|
salto_ks_metadata?: {
|
|
@@ -2419,6 +2434,7 @@ export declare const phone_session: z.ZodObject<{
|
|
|
2419
2434
|
error_code: string;
|
|
2420
2435
|
}[];
|
|
2421
2436
|
connected_account_id: string;
|
|
2437
|
+
space_ids: string[];
|
|
2422
2438
|
acs_system_id: string;
|
|
2423
2439
|
acs_entrance_id: string;
|
|
2424
2440
|
salto_ks_metadata?: {
|