@seamapi/types 1.147.0 → 1.148.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 +32 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +96 -188
- package/lib/seam/connect/internal/model-types.d.ts +2 -1
- package/lib/seam/connect/internal/model-types.js +1 -1
- package/lib/seam/connect/internal/model-types.js.map +1 -1
- package/lib/seam/connect/internal/schemas.d.ts +2 -1
- package/lib/seam/connect/internal/schemas.js +2 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/custom-metadata.d.ts +4 -2
- package/lib/seam/connect/models/custom-metadata.js +2 -1
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/managed-device.d.ts +53 -3
- package/lib/seam/connect/models/devices/managed-device.js +7 -1
- package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +3 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +25 -0
- package/lib/seam/connect/openapi.d.ts +32 -160
- package/lib/seam/connect/openapi.js +25 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +59 -23
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +2 -32
- package/src/lib/seam/connect/internal/schemas.ts +2 -2
- package/src/lib/seam/connect/models/custom-metadata.ts +9 -2
- package/src/lib/seam/connect/models/devices/managed-device.ts +7 -1
- package/src/lib/seam/connect/openapi.ts +26 -60
- package/src/lib/seam/connect/route-types.ts +77 -23
package/dist/connect.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ declare const connect_webview: z.ZodObject<{
|
|
|
15
15
|
status: z.ZodEnum<["pending", "failed", "authorized"]>;
|
|
16
16
|
custom_redirect_url: z.ZodNullable<z.ZodString>;
|
|
17
17
|
custom_redirect_failure_url: z.ZodNullable<z.ZodString>;
|
|
18
|
-
custom_metadata: z.
|
|
18
|
+
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
19
19
|
automatically_manage_new_devices: z.ZodBoolean;
|
|
20
20
|
wait_for_device_creation: z.ZodBoolean;
|
|
21
21
|
authorized_at: z.ZodNullable<z.ZodString>;
|
|
@@ -34,7 +34,7 @@ declare const connect_webview: z.ZodObject<{
|
|
|
34
34
|
login_successful: boolean;
|
|
35
35
|
custom_redirect_url: string | null;
|
|
36
36
|
custom_redirect_failure_url: string | null;
|
|
37
|
-
custom_metadata: Record<string, string | boolean
|
|
37
|
+
custom_metadata: Record<string, string | boolean>;
|
|
38
38
|
automatically_manage_new_devices: boolean;
|
|
39
39
|
wait_for_device_creation: boolean;
|
|
40
40
|
authorized_at: string | null;
|
|
@@ -54,7 +54,7 @@ declare const connect_webview: z.ZodObject<{
|
|
|
54
54
|
login_successful: boolean;
|
|
55
55
|
custom_redirect_url: string | null;
|
|
56
56
|
custom_redirect_failure_url: string | null;
|
|
57
|
-
custom_metadata: Record<string, string | boolean
|
|
57
|
+
custom_metadata: Record<string, string | boolean>;
|
|
58
58
|
automatically_manage_new_devices: boolean;
|
|
59
59
|
wait_for_device_creation: boolean;
|
|
60
60
|
authorized_at: string | null;
|
|
@@ -63,8 +63,8 @@ declare const connect_webview: z.ZodObject<{
|
|
|
63
63
|
}>;
|
|
64
64
|
type ConnectWebview = z.infer<typeof connect_webview>;
|
|
65
65
|
|
|
66
|
-
declare const custom_metadata: z.
|
|
67
|
-
type CustomMetadata = z.
|
|
66
|
+
declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
67
|
+
type CustomMetadata = z.output<typeof custom_metadata>;
|
|
68
68
|
|
|
69
69
|
declare const schemas_connect_webview: typeof connect_webview;
|
|
70
70
|
declare const schemas_custom_metadata: typeof custom_metadata;
|
|
@@ -599,23 +599,9 @@ declare const _default: {
|
|
|
599
599
|
};
|
|
600
600
|
custom_metadata: {
|
|
601
601
|
additionalProperties: {
|
|
602
|
-
|
|
603
|
-
oneOf: ({
|
|
604
|
-
maxLength: number;
|
|
605
|
-
type: string;
|
|
606
|
-
format?: never;
|
|
607
|
-
nullable?: never;
|
|
608
|
-
} | {
|
|
602
|
+
oneOf: {
|
|
609
603
|
type: string;
|
|
610
|
-
|
|
611
|
-
format?: never;
|
|
612
|
-
nullable?: never;
|
|
613
|
-
} | {
|
|
614
|
-
format: string;
|
|
615
|
-
nullable: boolean;
|
|
616
|
-
type: string;
|
|
617
|
-
maxLength?: never;
|
|
618
|
-
})[];
|
|
604
|
+
}[];
|
|
619
605
|
};
|
|
620
606
|
type: string;
|
|
621
607
|
};
|
|
@@ -680,23 +666,9 @@ declare const _default: {
|
|
|
680
666
|
};
|
|
681
667
|
custom_metadata: {
|
|
682
668
|
additionalProperties: {
|
|
683
|
-
|
|
684
|
-
oneOf: ({
|
|
685
|
-
maxLength: number;
|
|
686
|
-
type: string;
|
|
687
|
-
format?: never;
|
|
688
|
-
nullable?: never;
|
|
689
|
-
} | {
|
|
669
|
+
oneOf: {
|
|
690
670
|
type: string;
|
|
691
|
-
|
|
692
|
-
format?: never;
|
|
693
|
-
nullable?: never;
|
|
694
|
-
} | {
|
|
695
|
-
format: string;
|
|
696
|
-
nullable: boolean;
|
|
697
|
-
type: string;
|
|
698
|
-
maxLength?: never;
|
|
699
|
-
})[];
|
|
671
|
+
}[];
|
|
700
672
|
};
|
|
701
673
|
type: string;
|
|
702
674
|
};
|
|
@@ -764,23 +736,9 @@ declare const _default: {
|
|
|
764
736
|
};
|
|
765
737
|
custom_metadata: {
|
|
766
738
|
additionalProperties: {
|
|
767
|
-
|
|
768
|
-
oneOf: ({
|
|
769
|
-
maxLength: number;
|
|
770
|
-
type: string;
|
|
771
|
-
format?: never;
|
|
772
|
-
nullable?: never;
|
|
773
|
-
} | {
|
|
774
|
-
type: string;
|
|
775
|
-
maxLength?: never;
|
|
776
|
-
format?: never;
|
|
777
|
-
nullable?: never;
|
|
778
|
-
} | {
|
|
779
|
-
format: string;
|
|
780
|
-
nullable: boolean;
|
|
739
|
+
oneOf: {
|
|
781
740
|
type: string;
|
|
782
|
-
|
|
783
|
-
})[];
|
|
741
|
+
}[];
|
|
784
742
|
};
|
|
785
743
|
type: string;
|
|
786
744
|
};
|
|
@@ -848,6 +806,18 @@ declare const _default: {
|
|
|
848
806
|
accessory_keypad: {
|
|
849
807
|
description: string;
|
|
850
808
|
properties: {
|
|
809
|
+
battery: {
|
|
810
|
+
description: string;
|
|
811
|
+
properties: {
|
|
812
|
+
level: {
|
|
813
|
+
maximum: number;
|
|
814
|
+
minimum: number;
|
|
815
|
+
type: string;
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
required: string[];
|
|
819
|
+
type: string;
|
|
820
|
+
};
|
|
851
821
|
is_connected: {
|
|
852
822
|
description: string;
|
|
853
823
|
type: string;
|
|
@@ -2416,23 +2386,9 @@ declare const _default: {
|
|
|
2416
2386
|
};
|
|
2417
2387
|
custom_metadata: {
|
|
2418
2388
|
additionalProperties: {
|
|
2419
|
-
|
|
2420
|
-
oneOf: ({
|
|
2421
|
-
maxLength: number;
|
|
2422
|
-
type: string;
|
|
2423
|
-
format?: never;
|
|
2424
|
-
nullable?: never;
|
|
2425
|
-
} | {
|
|
2389
|
+
oneOf: {
|
|
2426
2390
|
type: string;
|
|
2427
|
-
|
|
2428
|
-
format?: never;
|
|
2429
|
-
nullable?: never;
|
|
2430
|
-
} | {
|
|
2431
|
-
format: string;
|
|
2432
|
-
nullable: boolean;
|
|
2433
|
-
type: string;
|
|
2434
|
-
maxLength?: never;
|
|
2435
|
-
})[];
|
|
2391
|
+
}[];
|
|
2436
2392
|
};
|
|
2437
2393
|
type: string;
|
|
2438
2394
|
};
|
|
@@ -10057,23 +10013,9 @@ declare const _default: {
|
|
|
10057
10013
|
properties: {
|
|
10058
10014
|
custom_metadata_has: {
|
|
10059
10015
|
additionalProperties: {
|
|
10060
|
-
|
|
10061
|
-
oneOf: ({
|
|
10062
|
-
maxLength: number;
|
|
10063
|
-
type: string;
|
|
10064
|
-
format?: never;
|
|
10065
|
-
nullable?: never;
|
|
10066
|
-
} | {
|
|
10067
|
-
type: string;
|
|
10068
|
-
maxLength?: never;
|
|
10069
|
-
format?: never;
|
|
10070
|
-
nullable?: never;
|
|
10071
|
-
} | {
|
|
10072
|
-
format: string;
|
|
10073
|
-
nullable: boolean;
|
|
10016
|
+
oneOf: {
|
|
10074
10017
|
type: string;
|
|
10075
|
-
|
|
10076
|
-
})[];
|
|
10018
|
+
}[];
|
|
10077
10019
|
};
|
|
10078
10020
|
description: string;
|
|
10079
10021
|
type: string;
|
|
@@ -10332,23 +10274,9 @@ declare const _default: {
|
|
|
10332
10274
|
properties: {
|
|
10333
10275
|
custom_metadata_has: {
|
|
10334
10276
|
additionalProperties: {
|
|
10335
|
-
|
|
10336
|
-
oneOf: ({
|
|
10337
|
-
maxLength: number;
|
|
10338
|
-
type: string;
|
|
10339
|
-
format?: never;
|
|
10340
|
-
nullable?: never;
|
|
10341
|
-
} | {
|
|
10342
|
-
type: string;
|
|
10343
|
-
maxLength?: never;
|
|
10344
|
-
format?: never;
|
|
10345
|
-
nullable?: never;
|
|
10346
|
-
} | {
|
|
10347
|
-
format: string;
|
|
10348
|
-
nullable: boolean;
|
|
10277
|
+
oneOf: {
|
|
10349
10278
|
type: string;
|
|
10350
|
-
|
|
10351
|
-
})[];
|
|
10279
|
+
}[];
|
|
10352
10280
|
};
|
|
10353
10281
|
description: string;
|
|
10354
10282
|
type: string;
|
|
@@ -10669,23 +10597,9 @@ declare const _default: {
|
|
|
10669
10597
|
};
|
|
10670
10598
|
custom_metadata_has: {
|
|
10671
10599
|
additionalProperties: {
|
|
10672
|
-
|
|
10673
|
-
oneOf: ({
|
|
10674
|
-
maxLength: number;
|
|
10675
|
-
type: string;
|
|
10676
|
-
format?: never;
|
|
10677
|
-
nullable?: never;
|
|
10678
|
-
} | {
|
|
10679
|
-
type: string;
|
|
10680
|
-
maxLength?: never;
|
|
10681
|
-
format?: never;
|
|
10682
|
-
nullable?: never;
|
|
10683
|
-
} | {
|
|
10684
|
-
format: string;
|
|
10685
|
-
nullable: boolean;
|
|
10600
|
+
oneOf: {
|
|
10686
10601
|
type: string;
|
|
10687
|
-
|
|
10688
|
-
})[];
|
|
10602
|
+
}[];
|
|
10689
10603
|
};
|
|
10690
10604
|
type: string;
|
|
10691
10605
|
};
|
|
@@ -11041,23 +10955,9 @@ declare const _default: {
|
|
|
11041
10955
|
};
|
|
11042
10956
|
custom_metadata_has: {
|
|
11043
10957
|
additionalProperties: {
|
|
11044
|
-
|
|
11045
|
-
oneOf: ({
|
|
11046
|
-
maxLength: number;
|
|
11047
|
-
type: string;
|
|
11048
|
-
format?: never;
|
|
11049
|
-
nullable?: never;
|
|
11050
|
-
} | {
|
|
11051
|
-
type: string;
|
|
11052
|
-
maxLength?: never;
|
|
11053
|
-
format?: never;
|
|
11054
|
-
nullable?: never;
|
|
11055
|
-
} | {
|
|
11056
|
-
format: string;
|
|
11057
|
-
nullable: boolean;
|
|
10958
|
+
oneOf: {
|
|
11058
10959
|
type: string;
|
|
11059
|
-
|
|
11060
|
-
})[];
|
|
10960
|
+
}[];
|
|
11061
10961
|
};
|
|
11062
10962
|
type: string;
|
|
11063
10963
|
};
|
|
@@ -12086,23 +11986,9 @@ declare const _default: {
|
|
|
12086
11986
|
};
|
|
12087
11987
|
custom_metadata_has: {
|
|
12088
11988
|
additionalProperties: {
|
|
12089
|
-
|
|
12090
|
-
oneOf: ({
|
|
12091
|
-
maxLength: number;
|
|
12092
|
-
type: string;
|
|
12093
|
-
format?: never;
|
|
12094
|
-
nullable?: never;
|
|
12095
|
-
} | {
|
|
12096
|
-
type: string;
|
|
12097
|
-
maxLength?: never;
|
|
12098
|
-
format?: never;
|
|
12099
|
-
nullable?: never;
|
|
12100
|
-
} | {
|
|
12101
|
-
format: string;
|
|
12102
|
-
nullable: boolean;
|
|
11989
|
+
oneOf: {
|
|
12103
11990
|
type: string;
|
|
12104
|
-
|
|
12105
|
-
})[];
|
|
11991
|
+
}[];
|
|
12106
11992
|
};
|
|
12107
11993
|
type: string;
|
|
12108
11994
|
};
|
|
@@ -14525,23 +14411,9 @@ declare const _default: {
|
|
|
14525
14411
|
};
|
|
14526
14412
|
custom_metadata_has: {
|
|
14527
14413
|
additionalProperties: {
|
|
14528
|
-
|
|
14529
|
-
oneOf: ({
|
|
14530
|
-
maxLength: number;
|
|
14531
|
-
type: string;
|
|
14532
|
-
format?: never;
|
|
14533
|
-
nullable?: never;
|
|
14534
|
-
} | {
|
|
14535
|
-
type: string;
|
|
14536
|
-
maxLength?: never;
|
|
14537
|
-
format?: never;
|
|
14538
|
-
nullable?: never;
|
|
14539
|
-
} | {
|
|
14540
|
-
format: string;
|
|
14541
|
-
nullable: boolean;
|
|
14414
|
+
oneOf: {
|
|
14542
14415
|
type: string;
|
|
14543
|
-
|
|
14544
|
-
})[];
|
|
14416
|
+
}[];
|
|
14545
14417
|
};
|
|
14546
14418
|
type: string;
|
|
14547
14419
|
};
|
|
@@ -19136,7 +19008,7 @@ interface Routes {
|
|
|
19136
19008
|
status: 'pending' | 'failed' | 'authorized';
|
|
19137
19009
|
custom_redirect_url: string | null;
|
|
19138
19010
|
custom_redirect_failure_url: string | null;
|
|
19139
|
-
custom_metadata: Record<string, string | boolean
|
|
19011
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19140
19012
|
automatically_manage_new_devices: boolean;
|
|
19141
19013
|
wait_for_device_creation: boolean;
|
|
19142
19014
|
authorized_at: string | null;
|
|
@@ -19180,7 +19052,7 @@ interface Routes {
|
|
|
19180
19052
|
status: 'pending' | 'failed' | 'authorized';
|
|
19181
19053
|
custom_redirect_url: string | null;
|
|
19182
19054
|
custom_redirect_failure_url: string | null;
|
|
19183
|
-
custom_metadata: Record<string, string | boolean
|
|
19055
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19184
19056
|
automatically_manage_new_devices: boolean;
|
|
19185
19057
|
wait_for_device_creation: boolean;
|
|
19186
19058
|
authorized_at: string | null;
|
|
@@ -19196,7 +19068,7 @@ interface Routes {
|
|
|
19196
19068
|
commonParams: {
|
|
19197
19069
|
user_identifier_key?: string | undefined;
|
|
19198
19070
|
/** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
|
|
19199
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
19071
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
19200
19072
|
};
|
|
19201
19073
|
formData: {};
|
|
19202
19074
|
jsonResponse: {
|
|
@@ -19215,7 +19087,7 @@ interface Routes {
|
|
|
19215
19087
|
status: 'pending' | 'failed' | 'authorized';
|
|
19216
19088
|
custom_redirect_url: string | null;
|
|
19217
19089
|
custom_redirect_failure_url: string | null;
|
|
19218
|
-
custom_metadata: Record<string, string | boolean
|
|
19090
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19219
19091
|
automatically_manage_new_devices: boolean;
|
|
19220
19092
|
wait_for_device_creation: boolean;
|
|
19221
19093
|
authorized_at: string | null;
|
|
@@ -19273,7 +19145,7 @@ interface Routes {
|
|
|
19273
19145
|
account_type_display_name: string;
|
|
19274
19146
|
errors?: any;
|
|
19275
19147
|
warnings?: any;
|
|
19276
|
-
custom_metadata
|
|
19148
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19277
19149
|
automatically_manage_new_devices: boolean;
|
|
19278
19150
|
};
|
|
19279
19151
|
};
|
|
@@ -19285,7 +19157,7 @@ interface Routes {
|
|
|
19285
19157
|
jsonBody: {};
|
|
19286
19158
|
commonParams: {
|
|
19287
19159
|
/** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
|
|
19288
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
19160
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
19289
19161
|
};
|
|
19290
19162
|
formData: {};
|
|
19291
19163
|
jsonResponse: {
|
|
@@ -19303,7 +19175,7 @@ interface Routes {
|
|
|
19303
19175
|
account_type_display_name: string;
|
|
19304
19176
|
errors?: any;
|
|
19305
19177
|
warnings?: any;
|
|
19306
|
-
custom_metadata
|
|
19178
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19307
19179
|
automatically_manage_new_devices: boolean;
|
|
19308
19180
|
}>;
|
|
19309
19181
|
};
|
|
@@ -19334,7 +19206,7 @@ interface Routes {
|
|
|
19334
19206
|
account_type_display_name: string;
|
|
19335
19207
|
errors?: any;
|
|
19336
19208
|
warnings?: any;
|
|
19337
|
-
custom_metadata
|
|
19209
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19338
19210
|
automatically_manage_new_devices: boolean;
|
|
19339
19211
|
};
|
|
19340
19212
|
};
|
|
@@ -19387,6 +19259,10 @@ interface Routes {
|
|
|
19387
19259
|
accessory_keypad?: {
|
|
19388
19260
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
19389
19261
|
is_connected: boolean;
|
|
19262
|
+
/** Indicates if the keypad battery properties. */
|
|
19263
|
+
battery?: {
|
|
19264
|
+
level: number;
|
|
19265
|
+
} | undefined;
|
|
19390
19266
|
} | undefined;
|
|
19391
19267
|
appearance: {
|
|
19392
19268
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -19855,7 +19731,7 @@ interface Routes {
|
|
|
19855
19731
|
created_at: string;
|
|
19856
19732
|
/** Indicates whether Seam manages the device. */
|
|
19857
19733
|
is_managed: true;
|
|
19858
|
-
custom_metadata
|
|
19734
|
+
custom_metadata: Record<string, string | boolean>;
|
|
19859
19735
|
can_remotely_unlock?: boolean | undefined;
|
|
19860
19736
|
can_remotely_lock?: boolean | undefined;
|
|
19861
19737
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -19880,7 +19756,7 @@ interface Routes {
|
|
|
19880
19756
|
limit?: number;
|
|
19881
19757
|
created_before?: Date | undefined;
|
|
19882
19758
|
user_identifier_key?: string | undefined;
|
|
19883
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
19759
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
19884
19760
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
19885
19761
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
19886
19762
|
};
|
|
@@ -19912,6 +19788,10 @@ interface Routes {
|
|
|
19912
19788
|
accessory_keypad?: {
|
|
19913
19789
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
19914
19790
|
is_connected: boolean;
|
|
19791
|
+
/** Indicates if the keypad battery properties. */
|
|
19792
|
+
battery?: {
|
|
19793
|
+
level: number;
|
|
19794
|
+
} | undefined;
|
|
19915
19795
|
} | undefined;
|
|
19916
19796
|
appearance: {
|
|
19917
19797
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -20380,7 +20260,7 @@ interface Routes {
|
|
|
20380
20260
|
created_at: string;
|
|
20381
20261
|
/** Indicates whether Seam manages the device. */
|
|
20382
20262
|
is_managed: true;
|
|
20383
|
-
custom_metadata
|
|
20263
|
+
custom_metadata: Record<string, string | boolean>;
|
|
20384
20264
|
can_remotely_unlock?: boolean | undefined;
|
|
20385
20265
|
can_remotely_lock?: boolean | undefined;
|
|
20386
20266
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -20525,7 +20405,7 @@ interface Routes {
|
|
|
20525
20405
|
limit?: number;
|
|
20526
20406
|
created_before?: Date | undefined;
|
|
20527
20407
|
user_identifier_key?: string | undefined;
|
|
20528
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
20408
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
20529
20409
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
20530
20410
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
20531
20411
|
};
|
|
@@ -20803,6 +20683,10 @@ interface Routes {
|
|
|
20803
20683
|
accessory_keypad?: {
|
|
20804
20684
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
20805
20685
|
is_connected: boolean;
|
|
20686
|
+
/** Indicates if the keypad battery properties. */
|
|
20687
|
+
battery?: {
|
|
20688
|
+
level: number;
|
|
20689
|
+
} | undefined;
|
|
20806
20690
|
} | undefined;
|
|
20807
20691
|
appearance: {
|
|
20808
20692
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -21271,7 +21155,7 @@ interface Routes {
|
|
|
21271
21155
|
created_at: string;
|
|
21272
21156
|
/** Indicates whether Seam manages the device. */
|
|
21273
21157
|
is_managed: true;
|
|
21274
|
-
custom_metadata
|
|
21158
|
+
custom_metadata: Record<string, string | boolean>;
|
|
21275
21159
|
can_remotely_unlock?: boolean | undefined;
|
|
21276
21160
|
can_remotely_lock?: boolean | undefined;
|
|
21277
21161
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -21303,6 +21187,10 @@ interface Routes {
|
|
|
21303
21187
|
accessory_keypad?: {
|
|
21304
21188
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
21305
21189
|
is_connected: boolean;
|
|
21190
|
+
/** Indicates if the keypad battery properties. */
|
|
21191
|
+
battery?: {
|
|
21192
|
+
level: number;
|
|
21193
|
+
} | undefined;
|
|
21306
21194
|
} | undefined;
|
|
21307
21195
|
appearance: {
|
|
21308
21196
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -21771,7 +21659,7 @@ interface Routes {
|
|
|
21771
21659
|
created_at: string;
|
|
21772
21660
|
/** Indicates whether Seam manages the device. */
|
|
21773
21661
|
is_managed: true;
|
|
21774
|
-
custom_metadata
|
|
21662
|
+
custom_metadata: Record<string, string | boolean>;
|
|
21775
21663
|
can_remotely_unlock?: boolean | undefined;
|
|
21776
21664
|
can_remotely_lock?: boolean | undefined;
|
|
21777
21665
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -21796,7 +21684,7 @@ interface Routes {
|
|
|
21796
21684
|
limit?: number;
|
|
21797
21685
|
created_before?: Date | undefined;
|
|
21798
21686
|
user_identifier_key?: string | undefined;
|
|
21799
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
21687
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
21800
21688
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
21801
21689
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
21802
21690
|
};
|
|
@@ -21828,6 +21716,10 @@ interface Routes {
|
|
|
21828
21716
|
accessory_keypad?: {
|
|
21829
21717
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
21830
21718
|
is_connected: boolean;
|
|
21719
|
+
/** Indicates if the keypad battery properties. */
|
|
21720
|
+
battery?: {
|
|
21721
|
+
level: number;
|
|
21722
|
+
} | undefined;
|
|
21831
21723
|
} | undefined;
|
|
21832
21724
|
appearance: {
|
|
21833
21725
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -22296,7 +22188,7 @@ interface Routes {
|
|
|
22296
22188
|
created_at: string;
|
|
22297
22189
|
/** Indicates whether Seam manages the device. */
|
|
22298
22190
|
is_managed: true;
|
|
22299
|
-
custom_metadata
|
|
22191
|
+
custom_metadata: Record<string, string | boolean>;
|
|
22300
22192
|
can_remotely_unlock?: boolean | undefined;
|
|
22301
22193
|
can_remotely_lock?: boolean | undefined;
|
|
22302
22194
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -22328,6 +22220,10 @@ interface Routes {
|
|
|
22328
22220
|
accessory_keypad?: {
|
|
22329
22221
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
22330
22222
|
is_connected: boolean;
|
|
22223
|
+
/** Indicates if the keypad battery properties. */
|
|
22224
|
+
battery?: {
|
|
22225
|
+
level: number;
|
|
22226
|
+
} | undefined;
|
|
22331
22227
|
} | undefined;
|
|
22332
22228
|
appearance: {
|
|
22333
22229
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -22796,7 +22692,7 @@ interface Routes {
|
|
|
22796
22692
|
created_at: string;
|
|
22797
22693
|
/** Indicates whether Seam manages the device. */
|
|
22798
22694
|
is_managed: true;
|
|
22799
|
-
custom_metadata
|
|
22695
|
+
custom_metadata: Record<string, string | boolean>;
|
|
22800
22696
|
can_remotely_unlock?: boolean | undefined;
|
|
22801
22697
|
can_remotely_lock?: boolean | undefined;
|
|
22802
22698
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -23151,7 +23047,7 @@ interface Routes {
|
|
|
23151
23047
|
created_at: string;
|
|
23152
23048
|
/** Indicates whether Seam manages the device. */
|
|
23153
23049
|
is_managed: true;
|
|
23154
|
-
custom_metadata
|
|
23050
|
+
custom_metadata: Record<string, string | boolean>;
|
|
23155
23051
|
can_remotely_unlock?: boolean | undefined;
|
|
23156
23052
|
can_remotely_lock?: boolean | undefined;
|
|
23157
23053
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -23226,7 +23122,7 @@ interface Routes {
|
|
|
23226
23122
|
created_at: string;
|
|
23227
23123
|
/** Indicates whether Seam manages the device. */
|
|
23228
23124
|
is_managed: true;
|
|
23229
|
-
custom_metadata
|
|
23125
|
+
custom_metadata: Record<string, string | boolean>;
|
|
23230
23126
|
can_remotely_unlock?: boolean | undefined;
|
|
23231
23127
|
can_remotely_lock?: boolean | undefined;
|
|
23232
23128
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -23469,6 +23365,10 @@ interface Routes {
|
|
|
23469
23365
|
accessory_keypad?: {
|
|
23470
23366
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
23471
23367
|
is_connected: boolean;
|
|
23368
|
+
/** Indicates if the keypad battery properties. */
|
|
23369
|
+
battery?: {
|
|
23370
|
+
level: number;
|
|
23371
|
+
} | undefined;
|
|
23472
23372
|
} | undefined;
|
|
23473
23373
|
appearance: {
|
|
23474
23374
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -23937,7 +23837,7 @@ interface Routes {
|
|
|
23937
23837
|
created_at: string;
|
|
23938
23838
|
/** Indicates whether Seam manages the device. */
|
|
23939
23839
|
is_managed: true;
|
|
23940
|
-
custom_metadata
|
|
23840
|
+
custom_metadata: Record<string, string | boolean>;
|
|
23941
23841
|
can_remotely_unlock?: boolean | undefined;
|
|
23942
23842
|
can_remotely_lock?: boolean | undefined;
|
|
23943
23843
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -24038,7 +23938,7 @@ interface Routes {
|
|
|
24038
23938
|
limit?: number;
|
|
24039
23939
|
created_before?: Date | undefined;
|
|
24040
23940
|
user_identifier_key?: string | undefined;
|
|
24041
|
-
custom_metadata_has?: Record<string, string | boolean
|
|
23941
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined;
|
|
24042
23942
|
include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
24043
23943
|
exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
|
|
24044
23944
|
};
|
|
@@ -24070,6 +23970,10 @@ interface Routes {
|
|
|
24070
23970
|
accessory_keypad?: {
|
|
24071
23971
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
24072
23972
|
is_connected: boolean;
|
|
23973
|
+
/** Indicates if the keypad battery properties. */
|
|
23974
|
+
battery?: {
|
|
23975
|
+
level: number;
|
|
23976
|
+
} | undefined;
|
|
24073
23977
|
} | undefined;
|
|
24074
23978
|
appearance: {
|
|
24075
23979
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -24538,7 +24442,7 @@ interface Routes {
|
|
|
24538
24442
|
created_at: string;
|
|
24539
24443
|
/** Indicates whether Seam manages the device. */
|
|
24540
24444
|
is_managed: true;
|
|
24541
|
-
custom_metadata
|
|
24445
|
+
custom_metadata: Record<string, string | boolean>;
|
|
24542
24446
|
can_remotely_unlock?: boolean | undefined;
|
|
24543
24447
|
can_remotely_lock?: boolean | undefined;
|
|
24544
24448
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -24854,6 +24758,10 @@ interface Routes {
|
|
|
24854
24758
|
accessory_keypad?: {
|
|
24855
24759
|
/** Indicates if the accessory_keypad is connected to the device. */
|
|
24856
24760
|
is_connected: boolean;
|
|
24761
|
+
/** Indicates if the keypad battery properties. */
|
|
24762
|
+
battery?: {
|
|
24763
|
+
level: number;
|
|
24764
|
+
} | undefined;
|
|
24857
24765
|
} | undefined;
|
|
24858
24766
|
appearance: {
|
|
24859
24767
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
@@ -25322,7 +25230,7 @@ interface Routes {
|
|
|
25322
25230
|
created_at: string;
|
|
25323
25231
|
/** Indicates whether Seam manages the device. */
|
|
25324
25232
|
is_managed: true;
|
|
25325
|
-
custom_metadata
|
|
25233
|
+
custom_metadata: Record<string, string | boolean>;
|
|
25326
25234
|
can_remotely_unlock?: boolean | undefined;
|
|
25327
25235
|
can_remotely_lock?: boolean | undefined;
|
|
25328
25236
|
can_program_online_access_codes?: boolean | undefined;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { ManagedDevice as Device } from '../models/index.js';
|
|
2
|
+
export * from '../models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from '../models/index.js';
|
|
2
2
|
//# sourceMappingURL=model-types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-types.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/model-types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"model-types.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/model-types.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties,
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, custom_metadata_input, device_capability_flags, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
|
|
2
|
+
export * from '../schemas.js';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties,
|
|
1
|
+
export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, custom_metadata_input, device_capability_flags, dormakaba_oracode_time_slot, enrollment_automation, fan_mode_setting, lock_device_type, managed_access_code, managed_device, network, noise_sensor_device_type, phone, phone_number, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from '../models/index.js';
|
|
2
|
+
export * from '../schemas.js';
|
|
2
3
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,OAAO,EACP,wBAAwB,EACxB,KAAK,EACL,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
|