@seamapi/types 1.69.0 → 1.71.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 +2600 -895
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +11812 -8664
- package/dist/devicedb.cjs +9 -1
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +263 -2
- package/lib/seam/connect/openapi.d.ts +3483 -1430
- package/lib/seam/connect/openapi.js +2595 -890
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1325 -230
- package/lib/seam/connect/unstable/models/acs/credential.js +1 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.d.ts +22 -2
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js +7 -0
- package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +1 -1
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/devices/index.js +1 -0
- package/lib/seam/connect/unstable/models/devices/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +82 -8
- package/lib/seam/connect/unstable/models/devices/managed-device.js +2 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone-properties.d.ts +44 -0
- package/lib/seam/connect/unstable/models/devices/phone-properties.js +13 -0
- package/lib/seam/connect/unstable/models/devices/phone-properties.js.map +1 -0
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +3529 -0
- package/lib/seam/connect/unstable/models/devices/phone.js +13 -0
- package/lib/seam/connect/unstable/models/devices/phone.js.map +1 -0
- package/lib/seam/connect/unstable/models/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/index.js +1 -0
- package/lib/seam/connect/unstable/models/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/network.d.ts +18 -0
- package/lib/seam/connect/unstable/models/network.js +8 -0
- package/lib/seam/connect/unstable/models/network.js.map +1 -0
- 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/index.d.ts +1 -1
- package/lib/seam/devicedb/public-models/device-model-v1.d.ts +52 -0
- package/lib/seam/devicedb/public-models/manufacturer.d.ts +30 -0
- package/lib/seam/devicedb/public-models/manufacturer.js +6 -0
- package/lib/seam/devicedb/public-models/manufacturer.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +160 -0
- package/lib/seam/devicedb/route-types.d.ts +16 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +2644 -915
- package/src/lib/seam/connect/route-types.ts +1701 -211
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -0
- package/src/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.ts +12 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -1
- package/src/lib/seam/connect/unstable/models/devices/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +2 -0
- package/src/lib/seam/connect/unstable/models/devices/phone-properties.ts +15 -0
- package/src/lib/seam/connect/unstable/models/devices/phone.ts +15 -0
- package/src/lib/seam/connect/unstable/models/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/network.ts +10 -0
- package/src/lib/seam/connect/unstable/schemas.ts +3 -0
- package/src/lib/seam/devicedb/index.ts +1 -0
- package/src/lib/seam/devicedb/public-models/manufacturer.ts +12 -0
- package/src/lib/seam/devicedb/route-types.ts +16 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { managed_device } from './managed-device.js';
|
|
3
|
+
import { phone_specific_properties } from './phone-properties.js';
|
|
4
|
+
export { phone_specific_properties } from './phone-properties.js';
|
|
5
|
+
export const phone = managed_device
|
|
6
|
+
.omit({
|
|
7
|
+
connected_account_id: true,
|
|
8
|
+
})
|
|
9
|
+
.extend({
|
|
10
|
+
device_type: z.enum(['android_phone', 'ios_phone']),
|
|
11
|
+
})
|
|
12
|
+
.merge(phone_specific_properties);
|
|
13
|
+
//# sourceMappingURL=phone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/phone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,KAAK,GAAG,cAAc;KAChC,IAAI,CAAC;IACJ,oBAAoB,EAAE,IAAI;CAC3B,CAAC;KACD,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;CACpD,CAAC;KACD,KAAK,CAAC,yBAAyB,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kCAAkC,CAAA;AAChD,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kCAAkC,CAAA;AAChD,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const network: z.ZodObject<{
|
|
3
|
+
network_id: z.ZodString;
|
|
4
|
+
workspace_id: z.ZodString;
|
|
5
|
+
display_name: z.ZodString;
|
|
6
|
+
created_at: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
workspace_id: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
display_name: string;
|
|
11
|
+
network_id: string;
|
|
12
|
+
}, {
|
|
13
|
+
workspace_id: string;
|
|
14
|
+
created_at: string;
|
|
15
|
+
display_name: string;
|
|
16
|
+
network_id: string;
|
|
17
|
+
}>;
|
|
18
|
+
export type Network = z.infer<typeof network>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"network.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/unstable/models/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC7B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
|
|
@@ -2,4 +2,4 @@ import * as schemas from './public-models/index.js';
|
|
|
2
2
|
export * from './route-specs.js';
|
|
3
3
|
export * from './route-types.js';
|
|
4
4
|
export { schemas };
|
|
5
|
-
export type { DeviceCategory, DeviceConnectionType, DeviceModelV1, ImageReference, Manufacturer, ManufacturerIntegrationSupportLevel, } from './public-models/index.js';
|
|
5
|
+
export type { DeviceCategory, DeviceConnectionType, DeviceModelV1, ImageReference, Manufacturer, ManufacturerAnnotationCode, ManufacturerIntegrationSupportLevel, } from './public-models/index.js';
|
|
@@ -318,6 +318,16 @@ export declare const base_device_model_v1: z.ZodObject<{
|
|
|
318
318
|
is_connect_webview_supported: z.ZodBoolean;
|
|
319
319
|
requires_seam_support_to_add_account: z.ZodBoolean;
|
|
320
320
|
device_model_count: z.ZodNumber;
|
|
321
|
+
annotations: z.ZodArray<z.ZodObject<{
|
|
322
|
+
annotation_code: z.ZodEnum<["subscription_required"]>;
|
|
323
|
+
message: z.ZodString;
|
|
324
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
|
+
message: string;
|
|
326
|
+
annotation_code: "subscription_required";
|
|
327
|
+
}, {
|
|
328
|
+
message: string;
|
|
329
|
+
annotation_code: "subscription_required";
|
|
330
|
+
}>, "many">;
|
|
321
331
|
}, "device_model_count">, "strip", z.ZodTypeAny, {
|
|
322
332
|
display_name: string;
|
|
323
333
|
manufacturer_id: string;
|
|
@@ -325,6 +335,10 @@ export declare const base_device_model_v1: z.ZodObject<{
|
|
|
325
335
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
326
336
|
is_connect_webview_supported: boolean;
|
|
327
337
|
requires_seam_support_to_add_account: boolean;
|
|
338
|
+
annotations: {
|
|
339
|
+
message: string;
|
|
340
|
+
annotation_code: "subscription_required";
|
|
341
|
+
}[];
|
|
328
342
|
logo?: {
|
|
329
343
|
height: number;
|
|
330
344
|
width: number;
|
|
@@ -337,6 +351,10 @@ export declare const base_device_model_v1: z.ZodObject<{
|
|
|
337
351
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
338
352
|
is_connect_webview_supported: boolean;
|
|
339
353
|
requires_seam_support_to_add_account: boolean;
|
|
354
|
+
annotations: {
|
|
355
|
+
message: string;
|
|
356
|
+
annotation_code: "subscription_required";
|
|
357
|
+
}[];
|
|
340
358
|
logo?: {
|
|
341
359
|
height: number;
|
|
342
360
|
width: number;
|
|
@@ -445,6 +463,10 @@ export declare const base_device_model_v1: z.ZodObject<{
|
|
|
445
463
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
446
464
|
is_connect_webview_supported: boolean;
|
|
447
465
|
requires_seam_support_to_add_account: boolean;
|
|
466
|
+
annotations: {
|
|
467
|
+
message: string;
|
|
468
|
+
annotation_code: "subscription_required";
|
|
469
|
+
}[];
|
|
448
470
|
logo?: {
|
|
449
471
|
height: number;
|
|
450
472
|
width: number;
|
|
@@ -487,6 +509,10 @@ export declare const base_device_model_v1: z.ZodObject<{
|
|
|
487
509
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
488
510
|
is_connect_webview_supported: boolean;
|
|
489
511
|
requires_seam_support_to_add_account: boolean;
|
|
512
|
+
annotations: {
|
|
513
|
+
message: string;
|
|
514
|
+
annotation_code: "subscription_required";
|
|
515
|
+
}[];
|
|
490
516
|
logo?: {
|
|
491
517
|
height: number;
|
|
492
518
|
width: number;
|
|
@@ -543,6 +569,16 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
543
569
|
is_connect_webview_supported: z.ZodBoolean;
|
|
544
570
|
requires_seam_support_to_add_account: z.ZodBoolean;
|
|
545
571
|
device_model_count: z.ZodNumber;
|
|
572
|
+
annotations: z.ZodArray<z.ZodObject<{
|
|
573
|
+
annotation_code: z.ZodEnum<["subscription_required"]>;
|
|
574
|
+
message: z.ZodString;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
message: string;
|
|
577
|
+
annotation_code: "subscription_required";
|
|
578
|
+
}, {
|
|
579
|
+
message: string;
|
|
580
|
+
annotation_code: "subscription_required";
|
|
581
|
+
}>, "many">;
|
|
546
582
|
}, "device_model_count">, "strip", z.ZodTypeAny, {
|
|
547
583
|
display_name: string;
|
|
548
584
|
manufacturer_id: string;
|
|
@@ -550,6 +586,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
550
586
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
551
587
|
is_connect_webview_supported: boolean;
|
|
552
588
|
requires_seam_support_to_add_account: boolean;
|
|
589
|
+
annotations: {
|
|
590
|
+
message: string;
|
|
591
|
+
annotation_code: "subscription_required";
|
|
592
|
+
}[];
|
|
553
593
|
logo?: {
|
|
554
594
|
height: number;
|
|
555
595
|
width: number;
|
|
@@ -562,6 +602,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
562
602
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
563
603
|
is_connect_webview_supported: boolean;
|
|
564
604
|
requires_seam_support_to_add_account: boolean;
|
|
605
|
+
annotations: {
|
|
606
|
+
message: string;
|
|
607
|
+
annotation_code: "subscription_required";
|
|
608
|
+
}[];
|
|
565
609
|
logo?: {
|
|
566
610
|
height: number;
|
|
567
611
|
width: number;
|
|
@@ -670,6 +714,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
670
714
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
671
715
|
is_connect_webview_supported: boolean;
|
|
672
716
|
requires_seam_support_to_add_account: boolean;
|
|
717
|
+
annotations: {
|
|
718
|
+
message: string;
|
|
719
|
+
annotation_code: "subscription_required";
|
|
720
|
+
}[];
|
|
673
721
|
logo?: {
|
|
674
722
|
height: number;
|
|
675
723
|
width: number;
|
|
@@ -712,6 +760,10 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
712
760
|
integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
|
|
713
761
|
is_connect_webview_supported: boolean;
|
|
714
762
|
requires_seam_support_to_add_account: boolean;
|
|
763
|
+
annotations: {
|
|
764
|
+
message: string;
|
|
765
|
+
annotation_code: "subscription_required";
|
|
766
|
+
}[];
|
|
715
767
|
logo?: {
|
|
716
768
|
height: number;
|
|
717
769
|
width: number;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const manufacturer_integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
|
|
3
3
|
export type ManufacturerIntegrationSupportLevel = z.infer<typeof manufacturer_integration_support_level>;
|
|
4
|
+
export declare const manufacturer_annotation_code: z.ZodEnum<["subscription_required"]>;
|
|
5
|
+
export type ManufacturerAnnotationCode = z.infer<typeof manufacturer_annotation_code>;
|
|
6
|
+
export declare const manufacturer_annotation: z.ZodObject<{
|
|
7
|
+
annotation_code: z.ZodEnum<["subscription_required"]>;
|
|
8
|
+
message: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
message: string;
|
|
11
|
+
annotation_code: "subscription_required";
|
|
12
|
+
}, {
|
|
13
|
+
message: string;
|
|
14
|
+
annotation_code: "subscription_required";
|
|
15
|
+
}>;
|
|
4
16
|
export declare const manufacturer: z.ZodObject<{
|
|
5
17
|
manufacturer_id: z.ZodString;
|
|
6
18
|
display_name: z.ZodString;
|
|
@@ -23,6 +35,16 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
23
35
|
is_connect_webview_supported: z.ZodBoolean;
|
|
24
36
|
requires_seam_support_to_add_account: z.ZodBoolean;
|
|
25
37
|
device_model_count: z.ZodNumber;
|
|
38
|
+
annotations: z.ZodArray<z.ZodObject<{
|
|
39
|
+
annotation_code: z.ZodEnum<["subscription_required"]>;
|
|
40
|
+
message: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
message: string;
|
|
43
|
+
annotation_code: "subscription_required";
|
|
44
|
+
}, {
|
|
45
|
+
message: string;
|
|
46
|
+
annotation_code: "subscription_required";
|
|
47
|
+
}>, "many">;
|
|
26
48
|
}, "strip", z.ZodTypeAny, {
|
|
27
49
|
display_name: string;
|
|
28
50
|
manufacturer_id: string;
|
|
@@ -31,6 +53,10 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
31
53
|
is_connect_webview_supported: boolean;
|
|
32
54
|
requires_seam_support_to_add_account: boolean;
|
|
33
55
|
device_model_count: number;
|
|
56
|
+
annotations: {
|
|
57
|
+
message: string;
|
|
58
|
+
annotation_code: "subscription_required";
|
|
59
|
+
}[];
|
|
34
60
|
logo?: {
|
|
35
61
|
height: number;
|
|
36
62
|
width: number;
|
|
@@ -44,6 +70,10 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
44
70
|
is_connect_webview_supported: boolean;
|
|
45
71
|
requires_seam_support_to_add_account: boolean;
|
|
46
72
|
device_model_count: number;
|
|
73
|
+
annotations: {
|
|
74
|
+
message: string;
|
|
75
|
+
annotation_code: "subscription_required";
|
|
76
|
+
}[];
|
|
47
77
|
logo?: {
|
|
48
78
|
height: number;
|
|
49
79
|
width: number;
|
|
@@ -7,6 +7,11 @@ export const manufacturer_integration_support_level = z.enum([
|
|
|
7
7
|
'unsupported',
|
|
8
8
|
'inquire',
|
|
9
9
|
]);
|
|
10
|
+
export const manufacturer_annotation_code = z.enum(['subscription_required']);
|
|
11
|
+
export const manufacturer_annotation = z.object({
|
|
12
|
+
annotation_code: manufacturer_annotation_code,
|
|
13
|
+
message: z.string().nonempty(),
|
|
14
|
+
});
|
|
10
15
|
export const manufacturer = z.object({
|
|
11
16
|
manufacturer_id: z.string().uuid(),
|
|
12
17
|
display_name: z.string(),
|
|
@@ -17,5 +22,6 @@ export const manufacturer = z.object({
|
|
|
17
22
|
is_connect_webview_supported: z.boolean(),
|
|
18
23
|
requires_seam_support_to_add_account: z.boolean(),
|
|
19
24
|
device_model_count: z.number(),
|
|
25
|
+
annotations: z.array(manufacturer_annotation),
|
|
20
26
|
});
|
|
21
27
|
//# sourceMappingURL=manufacturer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manufacturer.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/public-models/manufacturer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3D,QAAQ;IACR,MAAM;IACN,SAAS;IACT,aAAa;IACb,SAAS;CACV,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE;IAChC,kBAAkB;IAClB,WAAW,EAAE,sCAAsC;IACnD,yBAAyB,EAAE,sCAAsC;IACjE,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE;IACzC,oCAAoC,EAAE,CAAC,CAAC,OAAO,EAAE;IACjD,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"manufacturer.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/public-models/manufacturer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3D,QAAQ;IACR,MAAM;IACN,SAAS;IACT,aAAa;IACb,SAAS;CACV,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAA;AAM7E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,eAAe,EAAE,4BAA4B;IAC7C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,IAAI,EAAE,eAAe,CAAC,QAAQ,EAAE;IAChC,kBAAkB;IAClB,WAAW,EAAE,sCAAsC;IACnD,yBAAyB,EAAE,sCAAsC;IACjE,4BAA4B,EAAE,CAAC,CAAC,OAAO,EAAE;IACzC,oCAAoC,EAAE,CAAC,CAAC,OAAO,EAAE;IACjD,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC9B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC;CAC9C,CAAC,CAAA"}
|