@seamapi/types 1.464.0 → 1.464.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/LICENSE.txt +1 -1
- package/dist/connect.d.cts +2793 -2269
- package/dist/devicedb.d.cts +0 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-system.d.ts +6 -6
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
- package/lib/seam/connect/models/batch.d.ts +2564 -2564
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +12 -12
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
- package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
- package/lib/seam/connect/models/devices/device.d.ts +132 -132
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -100
- package/lib/seam/connect/models/events/devices.d.ts +16 -16
- package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
- package/lib/seam/connect/openapi.js +6 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2793 -2269
- package/lib/seam/devicedb/models/device-model.d.ts +116 -116
- package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
- package/lib/seam/devicedb/route-specs.d.ts +210 -214
- package/package.json +12 -13
- package/src/lib/seam/connect/route-types.ts +3007 -2362
|
@@ -339,7 +339,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
339
339
|
event_id: string;
|
|
340
340
|
occurred_at: string;
|
|
341
341
|
event_type: "device.battery_status_changed";
|
|
342
|
-
battery_status: "
|
|
342
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
343
343
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
344
344
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
345
345
|
}, {
|
|
@@ -351,7 +351,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
351
351
|
event_id: string;
|
|
352
352
|
occurred_at: string;
|
|
353
353
|
event_type: "device.battery_status_changed";
|
|
354
|
-
battery_status: "
|
|
354
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
355
355
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
356
356
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
357
357
|
}>;
|
|
@@ -832,7 +832,6 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
832
832
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
833
833
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
834
834
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
836
835
|
device_id: string;
|
|
837
836
|
workspace_id: string;
|
|
838
837
|
created_at: string;
|
|
@@ -840,12 +839,12 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
840
839
|
event_id: string;
|
|
841
840
|
occurred_at: string;
|
|
842
841
|
event_type: "lock.locked";
|
|
842
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
843
843
|
access_code_id?: string | undefined;
|
|
844
844
|
action_attempt_id?: string | undefined;
|
|
845
845
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
846
846
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
847
847
|
}, {
|
|
848
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
849
848
|
device_id: string;
|
|
850
849
|
workspace_id: string;
|
|
851
850
|
created_at: string;
|
|
@@ -853,6 +852,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
853
852
|
event_id: string;
|
|
854
853
|
occurred_at: string;
|
|
855
854
|
event_type: "lock.locked";
|
|
855
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
856
856
|
access_code_id?: string | undefined;
|
|
857
857
|
action_attempt_id?: string | undefined;
|
|
858
858
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -875,7 +875,6 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
875
875
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
876
876
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
879
878
|
device_id: string;
|
|
880
879
|
workspace_id: string;
|
|
881
880
|
created_at: string;
|
|
@@ -883,12 +882,12 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
883
882
|
event_id: string;
|
|
884
883
|
occurred_at: string;
|
|
885
884
|
event_type: "lock.unlocked";
|
|
885
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
886
886
|
access_code_id?: string | undefined;
|
|
887
887
|
action_attempt_id?: string | undefined;
|
|
888
888
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
889
889
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
890
890
|
}, {
|
|
891
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
892
891
|
device_id: string;
|
|
893
892
|
workspace_id: string;
|
|
894
893
|
created_at: string;
|
|
@@ -896,6 +895,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
896
895
|
event_id: string;
|
|
897
896
|
occurred_at: string;
|
|
898
897
|
event_type: "lock.unlocked";
|
|
898
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
899
899
|
access_code_id?: string | undefined;
|
|
900
900
|
action_attempt_id?: string | undefined;
|
|
901
901
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -1025,7 +1025,6 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1025
1025
|
owner: "user" | "system";
|
|
1026
1026
|
}>>>;
|
|
1027
1027
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
1028
|
-
method: "external" | "seam";
|
|
1029
1028
|
device_id: string;
|
|
1030
1029
|
workspace_id: string;
|
|
1031
1030
|
created_at: string;
|
|
@@ -1033,6 +1032,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1033
1032
|
event_id: string;
|
|
1034
1033
|
occurred_at: string;
|
|
1035
1034
|
event_type: "thermostat.manually_adjusted";
|
|
1035
|
+
method: "seam" | "external";
|
|
1036
1036
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1037
1037
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
|
|
1038
1038
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1042,7 +1042,6 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1042
1042
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1043
1043
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1044
1044
|
}, {
|
|
1045
|
-
method: "external" | "seam";
|
|
1046
1045
|
device_id: string;
|
|
1047
1046
|
workspace_id: string;
|
|
1048
1047
|
created_at: string;
|
|
@@ -1050,6 +1049,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1050
1049
|
event_id: string;
|
|
1051
1050
|
occurred_at: string;
|
|
1052
1051
|
event_type: "thermostat.manually_adjusted";
|
|
1052
|
+
method: "seam" | "external";
|
|
1053
1053
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1054
1054
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
|
|
1055
1055
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1607,7 +1607,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1607
1607
|
event_id: string;
|
|
1608
1608
|
occurred_at: string;
|
|
1609
1609
|
event_type: "device.battery_status_changed";
|
|
1610
|
-
battery_status: "
|
|
1610
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
1611
1611
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1612
1612
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1613
1613
|
}, {
|
|
@@ -1619,7 +1619,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1619
1619
|
event_id: string;
|
|
1620
1620
|
occurred_at: string;
|
|
1621
1621
|
event_type: "device.battery_status_changed";
|
|
1622
|
-
battery_status: "
|
|
1622
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
1623
1623
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1624
1624
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1625
1625
|
}>, z.ZodObject<{
|
|
@@ -2072,7 +2072,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2072
2072
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2073
2073
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2074
2074
|
}, "strip", z.ZodTypeAny, {
|
|
2075
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2076
2075
|
device_id: string;
|
|
2077
2076
|
workspace_id: string;
|
|
2078
2077
|
created_at: string;
|
|
@@ -2080,12 +2079,12 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2080
2079
|
event_id: string;
|
|
2081
2080
|
occurred_at: string;
|
|
2082
2081
|
event_type: "lock.locked";
|
|
2082
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2083
2083
|
access_code_id?: string | undefined;
|
|
2084
2084
|
action_attempt_id?: string | undefined;
|
|
2085
2085
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2086
2086
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2087
2087
|
}, {
|
|
2088
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2089
2088
|
device_id: string;
|
|
2090
2089
|
workspace_id: string;
|
|
2091
2090
|
created_at: string;
|
|
@@ -2093,6 +2092,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2093
2092
|
event_id: string;
|
|
2094
2093
|
occurred_at: string;
|
|
2095
2094
|
event_type: "lock.locked";
|
|
2095
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2096
2096
|
access_code_id?: string | undefined;
|
|
2097
2097
|
action_attempt_id?: string | undefined;
|
|
2098
2098
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2113,7 +2113,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2113
2113
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2114
2114
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2115
2115
|
}, "strip", z.ZodTypeAny, {
|
|
2116
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2117
2116
|
device_id: string;
|
|
2118
2117
|
workspace_id: string;
|
|
2119
2118
|
created_at: string;
|
|
@@ -2121,12 +2120,12 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2121
2120
|
event_id: string;
|
|
2122
2121
|
occurred_at: string;
|
|
2123
2122
|
event_type: "lock.unlocked";
|
|
2123
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2124
2124
|
access_code_id?: string | undefined;
|
|
2125
2125
|
action_attempt_id?: string | undefined;
|
|
2126
2126
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2127
2127
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2128
2128
|
}, {
|
|
2129
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2130
2129
|
device_id: string;
|
|
2131
2130
|
workspace_id: string;
|
|
2132
2131
|
created_at: string;
|
|
@@ -2134,6 +2133,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2134
2133
|
event_id: string;
|
|
2135
2134
|
occurred_at: string;
|
|
2136
2135
|
event_type: "lock.unlocked";
|
|
2136
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2137
2137
|
access_code_id?: string | undefined;
|
|
2138
2138
|
action_attempt_id?: string | undefined;
|
|
2139
2139
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2256,7 +2256,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2256
2256
|
owner: "user" | "system";
|
|
2257
2257
|
}>>>;
|
|
2258
2258
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
2259
|
-
method: "external" | "seam";
|
|
2260
2259
|
device_id: string;
|
|
2261
2260
|
workspace_id: string;
|
|
2262
2261
|
created_at: string;
|
|
@@ -2264,6 +2263,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2264
2263
|
event_id: string;
|
|
2265
2264
|
occurred_at: string;
|
|
2266
2265
|
event_type: "thermostat.manually_adjusted";
|
|
2266
|
+
method: "seam" | "external";
|
|
2267
2267
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
2268
2268
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
|
|
2269
2269
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -2273,7 +2273,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2273
2273
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2274
2274
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2275
2275
|
}, {
|
|
2276
|
-
method: "external" | "seam";
|
|
2277
2276
|
device_id: string;
|
|
2278
2277
|
workspace_id: string;
|
|
2279
2278
|
created_at: string;
|
|
@@ -2281,6 +2280,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2281
2280
|
event_id: string;
|
|
2282
2281
|
occurred_at: string;
|
|
2283
2282
|
event_type: "thermostat.manually_adjusted";
|
|
2283
|
+
method: "seam" | "external";
|
|
2284
2284
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
2285
2285
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
|
|
2286
2286
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1952,7 +1952,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1952
1952
|
event_id: string;
|
|
1953
1953
|
occurred_at: string;
|
|
1954
1954
|
event_type: "device.battery_status_changed";
|
|
1955
|
-
battery_status: "
|
|
1955
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
1956
1956
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1957
1957
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1958
1958
|
}, {
|
|
@@ -1964,7 +1964,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1964
1964
|
event_id: string;
|
|
1965
1965
|
occurred_at: string;
|
|
1966
1966
|
event_type: "device.battery_status_changed";
|
|
1967
|
-
battery_status: "
|
|
1967
|
+
battery_status: "critical" | "low" | "good" | "full";
|
|
1968
1968
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1969
1969
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1970
1970
|
}>, z.ZodObject<{
|
|
@@ -2417,7 +2417,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2417
2417
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2418
2418
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2419
2419
|
}, "strip", z.ZodTypeAny, {
|
|
2420
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2421
2420
|
device_id: string;
|
|
2422
2421
|
workspace_id: string;
|
|
2423
2422
|
created_at: string;
|
|
@@ -2425,12 +2424,12 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2425
2424
|
event_id: string;
|
|
2426
2425
|
occurred_at: string;
|
|
2427
2426
|
event_type: "lock.locked";
|
|
2427
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2428
2428
|
access_code_id?: string | undefined;
|
|
2429
2429
|
action_attempt_id?: string | undefined;
|
|
2430
2430
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2431
2431
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2432
2432
|
}, {
|
|
2433
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2434
2433
|
device_id: string;
|
|
2435
2434
|
workspace_id: string;
|
|
2436
2435
|
created_at: string;
|
|
@@ -2438,6 +2437,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2438
2437
|
event_id: string;
|
|
2439
2438
|
occurred_at: string;
|
|
2440
2439
|
event_type: "lock.locked";
|
|
2440
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2441
2441
|
access_code_id?: string | undefined;
|
|
2442
2442
|
action_attempt_id?: string | undefined;
|
|
2443
2443
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2458,7 +2458,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2458
2458
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2459
2459
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2460
2460
|
}, "strip", z.ZodTypeAny, {
|
|
2461
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2462
2461
|
device_id: string;
|
|
2463
2462
|
workspace_id: string;
|
|
2464
2463
|
created_at: string;
|
|
@@ -2466,12 +2465,12 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2466
2465
|
event_id: string;
|
|
2467
2466
|
occurred_at: string;
|
|
2468
2467
|
event_type: "lock.unlocked";
|
|
2468
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2469
2469
|
access_code_id?: string | undefined;
|
|
2470
2470
|
action_attempt_id?: string | undefined;
|
|
2471
2471
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2472
2472
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2473
2473
|
}, {
|
|
2474
|
-
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2475
2474
|
device_id: string;
|
|
2476
2475
|
workspace_id: string;
|
|
2477
2476
|
created_at: string;
|
|
@@ -2479,6 +2478,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2479
2478
|
event_id: string;
|
|
2480
2479
|
occurred_at: string;
|
|
2481
2480
|
event_type: "lock.unlocked";
|
|
2481
|
+
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2482
2482
|
access_code_id?: string | undefined;
|
|
2483
2483
|
action_attempt_id?: string | undefined;
|
|
2484
2484
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2601,7 +2601,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2601
2601
|
owner: "user" | "system";
|
|
2602
2602
|
}>>>;
|
|
2603
2603
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
2604
|
-
method: "external" | "seam";
|
|
2605
2604
|
device_id: string;
|
|
2606
2605
|
workspace_id: string;
|
|
2607
2606
|
created_at: string;
|
|
@@ -2609,6 +2608,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2609
2608
|
event_id: string;
|
|
2610
2609
|
occurred_at: string;
|
|
2611
2610
|
event_type: "thermostat.manually_adjusted";
|
|
2611
|
+
method: "seam" | "external";
|
|
2612
2612
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
2613
2613
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
|
|
2614
2614
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -2618,7 +2618,6 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2618
2618
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2619
2619
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2620
2620
|
}, {
|
|
2621
|
-
method: "external" | "seam";
|
|
2622
2621
|
device_id: string;
|
|
2623
2622
|
workspace_id: string;
|
|
2624
2623
|
created_at: string;
|
|
@@ -2626,6 +2625,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2626
2625
|
event_id: string;
|
|
2627
2626
|
occurred_at: string;
|
|
2628
2627
|
event_type: "thermostat.manually_adjusted";
|
|
2628
|
+
method: "seam" | "external";
|
|
2629
2629
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
2630
2630
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | "eco" | undefined;
|
|
2631
2631
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -32,21 +32,21 @@ export declare const location: z.ZodObject<{
|
|
|
32
32
|
workspace_id: string;
|
|
33
33
|
created_at: string;
|
|
34
34
|
location_id: string;
|
|
35
|
+
time_zone?: string | undefined;
|
|
35
36
|
geolocation?: {
|
|
36
37
|
latitude: number;
|
|
37
38
|
longitude: number;
|
|
38
39
|
} | undefined;
|
|
39
|
-
time_zone?: string | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
name: string;
|
|
42
42
|
display_name: string;
|
|
43
43
|
workspace_id: string;
|
|
44
44
|
created_at: string;
|
|
45
45
|
location_id: string;
|
|
46
|
+
time_zone?: string | undefined;
|
|
46
47
|
geolocation?: {
|
|
47
48
|
latitude: number;
|
|
48
49
|
longitude: number;
|
|
49
50
|
} | undefined;
|
|
50
|
-
time_zone?: string | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
export type Location = z.infer<typeof location>;
|
|
@@ -9,18 +9,18 @@ export declare const magic_link: z.ZodObject<{
|
|
|
9
9
|
workspace_id: z.ZodString;
|
|
10
10
|
created_at: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
url: string;
|
|
13
12
|
workspace_id: string;
|
|
14
13
|
created_at: string;
|
|
15
14
|
customer_key: string;
|
|
16
15
|
expires_at: string;
|
|
16
|
+
url: string;
|
|
17
17
|
building_block_type: "manage_devices" | "connect_accounts" | "organize_spaces" | "console";
|
|
18
18
|
}, {
|
|
19
|
-
url: string;
|
|
20
19
|
workspace_id: string;
|
|
21
20
|
created_at: string;
|
|
22
21
|
customer_key: string;
|
|
23
22
|
expires_at: string;
|
|
23
|
+
url: string;
|
|
24
24
|
building_block_type: "manage_devices" | "connect_accounts" | "organize_spaces" | "console";
|
|
25
25
|
}>;
|
|
26
26
|
export type MagicLink = z.infer<typeof magic_link>;
|
|
@@ -98,11 +98,11 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
98
98
|
owner: "user" | "system";
|
|
99
99
|
}>>>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
name?: string | null | undefined;
|
|
102
101
|
climate_preset_key?: string | undefined;
|
|
103
102
|
can_edit?: boolean | undefined;
|
|
104
103
|
can_delete?: boolean | undefined;
|
|
105
104
|
can_program?: boolean | undefined;
|
|
105
|
+
name?: string | null | undefined;
|
|
106
106
|
display_name?: string | undefined;
|
|
107
107
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
108
108
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -118,11 +118,11 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
118
118
|
owner: "user" | "system";
|
|
119
119
|
} | undefined;
|
|
120
120
|
}, {
|
|
121
|
-
name?: string | null | undefined;
|
|
122
121
|
climate_preset_key?: string | undefined;
|
|
123
122
|
can_edit?: boolean | undefined;
|
|
124
123
|
can_delete?: boolean | undefined;
|
|
125
124
|
can_program?: boolean | undefined;
|
|
125
|
+
name?: string | null | undefined;
|
|
126
126
|
display_name?: string | undefined;
|
|
127
127
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
128
128
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -21,8 +21,8 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
21
21
|
error_code: string;
|
|
22
22
|
}>, "many">;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
name: string | null;
|
|
25
24
|
climate_preset_key: string;
|
|
25
|
+
name: string | null;
|
|
26
26
|
device_id: string;
|
|
27
27
|
workspace_id: string;
|
|
28
28
|
created_at: string;
|
|
@@ -36,8 +36,8 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
36
36
|
max_override_period_minutes?: number | null | undefined;
|
|
37
37
|
is_override_allowed?: boolean | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
name: string | null;
|
|
40
39
|
climate_preset_key: string;
|
|
40
|
+
name: string | null;
|
|
41
41
|
device_id: string;
|
|
42
42
|
workspace_id: string;
|
|
43
43
|
created_at: string;
|
|
@@ -7,12 +7,12 @@ export declare const webhook: z.ZodObject<{
|
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
url: string;
|
|
9
9
|
webhook_id: string;
|
|
10
|
-
secret?: string | undefined;
|
|
11
10
|
event_types?: string[] | undefined;
|
|
11
|
+
secret?: string | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
url: string;
|
|
14
14
|
webhook_id: string;
|
|
15
|
-
secret?: string | undefined;
|
|
16
15
|
event_types?: string[] | undefined;
|
|
16
|
+
secret?: string | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export type Webhook = z.infer<typeof webhook>;
|
|
@@ -14,13 +14,13 @@ export declare const workspace: z.ZodObject<{
|
|
|
14
14
|
primary_button_color?: string | undefined;
|
|
15
15
|
primary_button_text_color?: string | undefined;
|
|
16
16
|
success_message?: string | undefined;
|
|
17
|
-
logo_shape?: "
|
|
17
|
+
logo_shape?: "circle" | "square" | undefined;
|
|
18
18
|
inviter_logo_url?: string | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
primary_button_color?: string | undefined;
|
|
21
21
|
primary_button_text_color?: string | undefined;
|
|
22
22
|
success_message?: string | undefined;
|
|
23
|
-
logo_shape?: "
|
|
23
|
+
logo_shape?: "circle" | "square" | undefined;
|
|
24
24
|
inviter_logo_url?: string | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
is_suspended: z.ZodBoolean;
|
|
@@ -35,7 +35,7 @@ export declare const workspace: z.ZodObject<{
|
|
|
35
35
|
primary_button_color?: string | undefined;
|
|
36
36
|
primary_button_text_color?: string | undefined;
|
|
37
37
|
success_message?: string | undefined;
|
|
38
|
-
logo_shape?: "
|
|
38
|
+
logo_shape?: "circle" | "square" | undefined;
|
|
39
39
|
inviter_logo_url?: string | undefined;
|
|
40
40
|
};
|
|
41
41
|
connect_partner_name: string | null;
|
|
@@ -49,7 +49,7 @@ export declare const workspace: z.ZodObject<{
|
|
|
49
49
|
primary_button_color?: string | undefined;
|
|
50
50
|
primary_button_text_color?: string | undefined;
|
|
51
51
|
success_message?: string | undefined;
|
|
52
|
-
logo_shape?: "
|
|
52
|
+
logo_shape?: "circle" | "square" | undefined;
|
|
53
53
|
inviter_logo_url?: string | undefined;
|
|
54
54
|
};
|
|
55
55
|
connect_partner_name: string | null;
|
|
@@ -23479,7 +23479,7 @@ export default {
|
|
|
23479
23479
|
in: 'query',
|
|
23480
23480
|
name: 'limit',
|
|
23481
23481
|
schema: {
|
|
23482
|
-
default:
|
|
23482
|
+
default: 55_000,
|
|
23483
23483
|
description: 'Numerical limit on the number of access codes to return.',
|
|
23484
23484
|
format: 'float',
|
|
23485
23485
|
type: 'number',
|
|
@@ -23556,7 +23556,7 @@ export default {
|
|
|
23556
23556
|
type: 'string',
|
|
23557
23557
|
},
|
|
23558
23558
|
limit: {
|
|
23559
|
-
default:
|
|
23559
|
+
default: 55_000,
|
|
23560
23560
|
description: 'Numerical limit on the number of access codes to return.',
|
|
23561
23561
|
format: 'float',
|
|
23562
23562
|
type: 'number',
|
|
@@ -24228,7 +24228,7 @@ export default {
|
|
|
24228
24228
|
name: 'limit',
|
|
24229
24229
|
required: false,
|
|
24230
24230
|
schema: {
|
|
24231
|
-
default:
|
|
24231
|
+
default: 300_000,
|
|
24232
24232
|
description: 'Numerical limit on the number of unmanaged access codes to return.',
|
|
24233
24233
|
format: 'float',
|
|
24234
24234
|
type: 'number',
|
|
@@ -24298,7 +24298,7 @@ export default {
|
|
|
24298
24298
|
type: 'string',
|
|
24299
24299
|
},
|
|
24300
24300
|
limit: {
|
|
24301
|
-
default:
|
|
24301
|
+
default: 300_000,
|
|
24302
24302
|
description: 'Numerical limit on the number of unmanaged access codes to return.',
|
|
24303
24303
|
format: 'float',
|
|
24304
24304
|
type: 'number',
|
|
@@ -34384,7 +34384,7 @@ export default {
|
|
|
34384
34384
|
in: 'query',
|
|
34385
34385
|
name: 'limit',
|
|
34386
34386
|
schema: {
|
|
34387
|
-
default:
|
|
34387
|
+
default: 11_000,
|
|
34388
34388
|
description: 'Maximum number of records to return per page.',
|
|
34389
34389
|
exclusiveMinimum: true,
|
|
34390
34390
|
minimum: 0,
|
|
@@ -34458,7 +34458,7 @@ export default {
|
|
|
34458
34458
|
type: 'string',
|
|
34459
34459
|
},
|
|
34460
34460
|
limit: {
|
|
34461
|
-
default:
|
|
34461
|
+
default: 11_000,
|
|
34462
34462
|
description: 'Maximum number of records to return per page.',
|
|
34463
34463
|
exclusiveMinimum: true,
|
|
34464
34464
|
minimum: 0,
|