@keystrokehq/sensibo 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-all-devices.cjs +1 -0
- package/dist/actions/get-all-devices.cjs.map +1 -1
- package/dist/actions/get-all-devices.d.cts +3 -15
- package/dist/actions/get-all-devices.d.cts.map +1 -1
- package/dist/actions/get-all-devices.d.mts +3 -15
- package/dist/actions/get-all-devices.d.mts.map +1 -1
- package/dist/actions/get-all-devices.mjs +1 -0
- package/dist/actions/get-all-devices.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["sensibo","executeSensiboTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sensibo } from \"./app\";\nimport { executeSensiboTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["sensibo","executeSensiboTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sensibo } from \"./app\";\nimport { executeSensiboTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sensibo.credential> {\n return sensibo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSensiboTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { sensibo } from \"./app\";\nimport { executeSensiboTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { sensibo } from \"./app\";\nimport { executeSensiboTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof sensibo.credential> {\n return sensibo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSensiboTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-devices.cjs","names":["z","action"],"sources":["../../src/actions/get-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SensiboGetAllDevicesInput = z.object({\n fields: z.string().describe(\"Comma-separated list of fields to include in the response, defaults to '*'\").optional(),\n});\nconst SensiboGetAllDevices_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n uid: z.string().describe(\"Unique uid of the room\").nullable().optional(),\n name: z.string().describe(\"Name of the room\").nullable().optional(),\n}).passthrough();\nconst SensiboGetAllDevices_AcStateSchema = z.object({\n on: z.boolean().describe(\"AC power status\").nullable(),\n mode: z.string().describe(\"AC operating mode, e.g., 'cool', 'heat'\").nullable(),\n swing: z.string().describe(\"Swing setting\").nullable().optional(),\n fanLevel: z.string().describe(\"Fan level setting\").nullable(),\n targetTemperature: z.number().describe(\"Target temperature setpoint\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_FeaturesSchema = z.object({\n cooling: z.boolean().describe(\"Whether cooling is supported\").nullable(),\n heating: z.boolean().describe(\"Whether heating is supported\").nullable(),\n sensors: z.array(z.string()).describe(\"List of available sensors\"),\n scheduling: z.boolean().describe(\"Whether scheduling is supported\").nullable(),\n humidityControl: z.boolean().describe(\"Whether humidity control is supported\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_MeasurementsSchema = z.object({\n co2: z.number().int().describe(\"CO2 level in ppm\").nullable().optional(),\n tvoc: z.number().int().describe(\"Total volatile organic compounds level\").nullable().optional(),\n humidity: z.number().describe(\"Current humidity percentage\").nullable(),\n temperature: z.number().describe(\"Current temperature in Celsius\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_ConnectionStatusSchema = z.object({\n since: z.string().describe(\"ISO timestamp when status last changed\").nullable(),\n status: z.string().describe(\"Connection status, e.g., 'ONLINE' or 'OFFLINE'\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_PodSchema = z.object({\n id: z.string().describe(\"Unique pod identifier\").nullable(),\n name: z.string().describe(\"Name assigned to the pod\").nullable().optional(),\n room: SensiboGetAllDevices_RoomSchema.nullable(),\n model: z.string().describe(\"Model of the pod device\").nullable().optional(),\n acState: SensiboGetAllDevices_AcStateSchema.nullable(),\n battery: z.record(z.string(), z.unknown()).describe(\"Battery information if applicable, values may include battery level or type\").nullable().optional(),\n podType: z.string().describe(\"Type of pod\").nullable().optional(),\n features: SensiboGetAllDevices_FeaturesSchema.nullable().optional(),\n timezone: z.string().describe(\"Timezone of the pod location\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the pod was created\").nullable().optional(),\n osVersion: z.string().describe(\"Operating system version\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the pod was last updated\").nullable().optional(),\n macAddress: z.string().describe(\"MAC address of the pod\").nullable(),\n measurements: SensiboGetAllDevices_MeasurementsSchema.nullable(),\n connectionStatus: SensiboGetAllDevices_ConnectionStatusSchema.nullable(),\n}).passthrough();\nexport const SensiboGetAllDevicesOutput = z.object({\n result: z.array(SensiboGetAllDevices_PodSchema).describe(\"List of pods associated with user\"),\n status: z.string().describe(\"API result status, e.g., 'success'\").nullable(),\n message: z.string().describe(\"Error message if the call failed\").nullable().optional(),\n}).passthrough();\n\nexport const sensiboGetAllDevices = action(\"SENSIBO_GET_ALL_DEVICES\", {\n slug: \"sensibo-get-all-devices\",\n name: \"Get All Sensibo Devices\",\n description: \"Tool to retrieve all Sensibo pods for the authenticated user. Use when you need an up-to-date list of all devices linked to your Sensibo account.\",\n input: SensiboGetAllDevicesInput,\n output: SensiboGetAllDevicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-devices.cjs","names":["z","action"],"sources":["../../src/actions/get-all-devices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sensibo } from \"../app\";\n\nexport const SensiboGetAllDevicesInput = z.object({\n fields: z.string().describe(\"Comma-separated list of fields to include in the response, defaults to '*'\").optional(),\n});\nconst SensiboGetAllDevices_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n uid: z.string().describe(\"Unique uid of the room\").nullable().optional(),\n name: z.string().describe(\"Name of the room\").nullable().optional(),\n}).passthrough();\nconst SensiboGetAllDevices_AcStateSchema = z.object({\n on: z.boolean().describe(\"AC power status\").nullable(),\n mode: z.string().describe(\"AC operating mode, e.g., 'cool', 'heat'\").nullable(),\n swing: z.string().describe(\"Swing setting\").nullable().optional(),\n fanLevel: z.string().describe(\"Fan level setting\").nullable(),\n targetTemperature: z.number().describe(\"Target temperature setpoint\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_FeaturesSchema = z.object({\n cooling: z.boolean().describe(\"Whether cooling is supported\").nullable(),\n heating: z.boolean().describe(\"Whether heating is supported\").nullable(),\n sensors: z.array(z.string()).describe(\"List of available sensors\"),\n scheduling: z.boolean().describe(\"Whether scheduling is supported\").nullable(),\n humidityControl: z.boolean().describe(\"Whether humidity control is supported\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_MeasurementsSchema = z.object({\n co2: z.number().int().describe(\"CO2 level in ppm\").nullable().optional(),\n tvoc: z.number().int().describe(\"Total volatile organic compounds level\").nullable().optional(),\n humidity: z.number().describe(\"Current humidity percentage\").nullable(),\n temperature: z.number().describe(\"Current temperature in Celsius\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_ConnectionStatusSchema = z.object({\n since: z.string().describe(\"ISO timestamp when status last changed\").nullable(),\n status: z.string().describe(\"Connection status, e.g., 'ONLINE' or 'OFFLINE'\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_PodSchema = z.object({\n id: z.string().describe(\"Unique pod identifier\").nullable(),\n name: z.string().describe(\"Name assigned to the pod\").nullable().optional(),\n room: SensiboGetAllDevices_RoomSchema.nullable(),\n model: z.string().describe(\"Model of the pod device\").nullable().optional(),\n acState: SensiboGetAllDevices_AcStateSchema.nullable(),\n battery: z.record(z.string(), z.unknown()).describe(\"Battery information if applicable, values may include battery level or type\").nullable().optional(),\n podType: z.string().describe(\"Type of pod\").nullable().optional(),\n features: SensiboGetAllDevices_FeaturesSchema.nullable().optional(),\n timezone: z.string().describe(\"Timezone of the pod location\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the pod was created\").nullable().optional(),\n osVersion: z.string().describe(\"Operating system version\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the pod was last updated\").nullable().optional(),\n macAddress: z.string().describe(\"MAC address of the pod\").nullable(),\n measurements: SensiboGetAllDevices_MeasurementsSchema.nullable(),\n connectionStatus: SensiboGetAllDevices_ConnectionStatusSchema.nullable(),\n}).passthrough();\nexport const SensiboGetAllDevicesOutput = z.object({\n result: z.array(SensiboGetAllDevices_PodSchema).describe(\"List of pods associated with user\"),\n status: z.string().describe(\"API result status, e.g., 'success'\").nullable(),\n message: z.string().describe(\"Error message if the call failed\").nullable().optional(),\n}).passthrough();\n\nexport const sensiboGetAllDevices: AppAction<\n typeof SensiboGetAllDevicesInput,\n typeof SensiboGetAllDevicesOutput,\n typeof sensibo.credential\n> = action(\"SENSIBO_GET_ALL_DEVICES\", {\n slug: \"sensibo-get-all-devices\",\n name: \"Get All Sensibo Devices\",\n description: \"Tool to retrieve all Sensibo pods for the authenticated user. Use when you need an up-to-date list of all devices linked to your Sensibo account.\",\n input: SensiboGetAllDevicesInput,\n output: SensiboGetAllDev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AAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sensibo } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-all-devices.d.ts
|
|
@@ -49,21 +51,7 @@ declare const SensiboGetAllDevicesOutput: z.ZodObject<{
|
|
|
49
51
|
status: z.ZodNullable<z.ZodString>;
|
|
50
52
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const sensiboGetAllDevices:
|
|
53
|
-
fields?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sensibo", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sensibo", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>;
|
|
54
|
+
declare const sensiboGetAllDevices: AppAction<typeof SensiboGetAllDevicesInput, typeof SensiboGetAllDevicesOutput, typeof sensibo.credential>;
|
|
67
55
|
//#endregion
|
|
68
56
|
export { sensiboGetAllDevices };
|
|
69
57
|
//# sourceMappingURL=get-all-devices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-devices.d.cts","names":[],"sources":["../../src/actions/get-all-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-devices.d.cts","names":[],"sources":["../../src/actions/get-all-devices.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAiDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { sensibo } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-all-devices.d.ts
|
|
@@ -49,21 +51,7 @@ declare const SensiboGetAllDevicesOutput: z.ZodObject<{
|
|
|
49
51
|
status: z.ZodNullable<z.ZodString>;
|
|
50
52
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const sensiboGetAllDevices:
|
|
53
|
-
fields?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sensibo", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sensibo", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>;
|
|
54
|
+
declare const sensiboGetAllDevices: AppAction<typeof SensiboGetAllDevicesInput, typeof SensiboGetAllDevicesOutput, typeof sensibo.credential>;
|
|
67
55
|
//#endregion
|
|
68
56
|
export { sensiboGetAllDevices };
|
|
69
57
|
//# sourceMappingURL=get-all-devices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-devices.d.mts","names":[],"sources":["../../src/actions/get-all-devices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-devices.d.mts","names":[],"sources":["../../src/actions/get-all-devices.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAiDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-devices.mjs","names":[],"sources":["../../src/actions/get-all-devices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SensiboGetAllDevicesInput = z.object({\n fields: z.string().describe(\"Comma-separated list of fields to include in the response, defaults to '*'\").optional(),\n});\nconst SensiboGetAllDevices_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n uid: z.string().describe(\"Unique uid of the room\").nullable().optional(),\n name: z.string().describe(\"Name of the room\").nullable().optional(),\n}).passthrough();\nconst SensiboGetAllDevices_AcStateSchema = z.object({\n on: z.boolean().describe(\"AC power status\").nullable(),\n mode: z.string().describe(\"AC operating mode, e.g., 'cool', 'heat'\").nullable(),\n swing: z.string().describe(\"Swing setting\").nullable().optional(),\n fanLevel: z.string().describe(\"Fan level setting\").nullable(),\n targetTemperature: z.number().describe(\"Target temperature setpoint\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_FeaturesSchema = z.object({\n cooling: z.boolean().describe(\"Whether cooling is supported\").nullable(),\n heating: z.boolean().describe(\"Whether heating is supported\").nullable(),\n sensors: z.array(z.string()).describe(\"List of available sensors\"),\n scheduling: z.boolean().describe(\"Whether scheduling is supported\").nullable(),\n humidityControl: z.boolean().describe(\"Whether humidity control is supported\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_MeasurementsSchema = z.object({\n co2: z.number().int().describe(\"CO2 level in ppm\").nullable().optional(),\n tvoc: z.number().int().describe(\"Total volatile organic compounds level\").nullable().optional(),\n humidity: z.number().describe(\"Current humidity percentage\").nullable(),\n temperature: z.number().describe(\"Current temperature in Celsius\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_ConnectionStatusSchema = z.object({\n since: z.string().describe(\"ISO timestamp when status last changed\").nullable(),\n status: z.string().describe(\"Connection status, e.g., 'ONLINE' or 'OFFLINE'\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_PodSchema = z.object({\n id: z.string().describe(\"Unique pod identifier\").nullable(),\n name: z.string().describe(\"Name assigned to the pod\").nullable().optional(),\n room: SensiboGetAllDevices_RoomSchema.nullable(),\n model: z.string().describe(\"Model of the pod device\").nullable().optional(),\n acState: SensiboGetAllDevices_AcStateSchema.nullable(),\n battery: z.record(z.string(), z.unknown()).describe(\"Battery information if applicable, values may include battery level or type\").nullable().optional(),\n podType: z.string().describe(\"Type of pod\").nullable().optional(),\n features: SensiboGetAllDevices_FeaturesSchema.nullable().optional(),\n timezone: z.string().describe(\"Timezone of the pod location\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the pod was created\").nullable().optional(),\n osVersion: z.string().describe(\"Operating system version\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the pod was last updated\").nullable().optional(),\n macAddress: z.string().describe(\"MAC address of the pod\").nullable(),\n measurements: SensiboGetAllDevices_MeasurementsSchema.nullable(),\n connectionStatus: SensiboGetAllDevices_ConnectionStatusSchema.nullable(),\n}).passthrough();\nexport const SensiboGetAllDevicesOutput = z.object({\n result: z.array(SensiboGetAllDevices_PodSchema).describe(\"List of pods associated with user\"),\n status: z.string().describe(\"API result status, e.g., 'success'\").nullable(),\n message: z.string().describe(\"Error message if the call failed\").nullable().optional(),\n}).passthrough();\n\nexport const sensiboGetAllDevices = action(\"SENSIBO_GET_ALL_DEVICES\", {\n slug: \"sensibo-get-all-devices\",\n name: \"Get All Sensibo Devices\",\n description: \"Tool to retrieve all Sensibo pods for the authenticated user. Use when you need an up-to-date list of all devices linked to your Sensibo account.\",\n input: SensiboGetAllDevicesInput,\n output: SensiboGetAllDevicesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-devices.mjs","names":[],"sources":["../../src/actions/get-all-devices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { sensibo } from \"../app\";\n\nexport const SensiboGetAllDevicesInput = z.object({\n fields: z.string().describe(\"Comma-separated list of fields to include in the response, defaults to '*'\").optional(),\n});\nconst SensiboGetAllDevices_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n uid: z.string().describe(\"Unique uid of the room\").nullable().optional(),\n name: z.string().describe(\"Name of the room\").nullable().optional(),\n}).passthrough();\nconst SensiboGetAllDevices_AcStateSchema = z.object({\n on: z.boolean().describe(\"AC power status\").nullable(),\n mode: z.string().describe(\"AC operating mode, e.g., 'cool', 'heat'\").nullable(),\n swing: z.string().describe(\"Swing setting\").nullable().optional(),\n fanLevel: z.string().describe(\"Fan level setting\").nullable(),\n targetTemperature: z.number().describe(\"Target temperature setpoint\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_FeaturesSchema = z.object({\n cooling: z.boolean().describe(\"Whether cooling is supported\").nullable(),\n heating: z.boolean().describe(\"Whether heating is supported\").nullable(),\n sensors: z.array(z.string()).describe(\"List of available sensors\"),\n scheduling: z.boolean().describe(\"Whether scheduling is supported\").nullable(),\n humidityControl: z.boolean().describe(\"Whether humidity control is supported\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_MeasurementsSchema = z.object({\n co2: z.number().int().describe(\"CO2 level in ppm\").nullable().optional(),\n tvoc: z.number().int().describe(\"Total volatile organic compounds level\").nullable().optional(),\n humidity: z.number().describe(\"Current humidity percentage\").nullable(),\n temperature: z.number().describe(\"Current temperature in Celsius\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_ConnectionStatusSchema = z.object({\n since: z.string().describe(\"ISO timestamp when status last changed\").nullable(),\n status: z.string().describe(\"Connection status, e.g., 'ONLINE' or 'OFFLINE'\").nullable(),\n}).passthrough();\nconst SensiboGetAllDevices_PodSchema = z.object({\n id: z.string().describe(\"Unique pod identifier\").nullable(),\n name: z.string().describe(\"Name assigned to the pod\").nullable().optional(),\n room: SensiboGetAllDevices_RoomSchema.nullable(),\n model: z.string().describe(\"Model of the pod device\").nullable().optional(),\n acState: SensiboGetAllDevices_AcStateSchema.nullable(),\n battery: z.record(z.string(), z.unknown()).describe(\"Battery information if applicable, values may include battery level or type\").nullable().optional(),\n podType: z.string().describe(\"Type of pod\").nullable().optional(),\n features: SensiboGetAllDevices_FeaturesSchema.nullable().optional(),\n timezone: z.string().describe(\"Timezone of the pod location\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the pod was created\").nullable().optional(),\n osVersion: z.string().describe(\"Operating system version\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the pod was last updated\").nullable().optional(),\n macAddress: z.string().describe(\"MAC address of the pod\").nullable(),\n measurements: SensiboGetAllDevices_MeasurementsSchema.nullable(),\n connectionStatus: SensiboGetAllDevices_ConnectionStatusSchema.nullable(),\n}).passthrough();\nexport const SensiboGetAllDevicesOutput = z.object({\n result: z.array(SensiboGetAllDevices_PodSchema).describe(\"List of pods associated with user\"),\n status: z.string().describe(\"API result status, e.g., 'success'\").nullable(),\n message: z.string().describe(\"Error message if the call failed\").nullable().optional(),\n}).passthrough();\n\nexport const sensiboGetAllDevices: AppAction<\n typeof SensiboGetAllDevicesInput,\n typeof SensiboGetAllDevicesOutput,\n typeof sensibo.credential\n> = action(\"SENSIBO_GET_ALL_DEVICES\", {\n slug: \"sensibo-get-all-devices\",\n name: \"Get All Sensibo Devices\",\n description: \"Tool to retrieve all Sensibo pods for the authenticated user. Use when you need an up-to-date list of all devices linked to your Sensibo account.\",\n input: SensiboGetAllDevicesInput,\n output: SensiboGetAllDevicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACrH,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC5D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,sCAAsC,EAAE,OAAO;CACnD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,QAAQ,CAAC,CAA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zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const sensibo = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "sensibo",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.sensibo = sensibo;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sensibo = defineApp({\n slug: \"sensibo\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sensibo: KeystrokeApp<\"sensibo\", typeof credential> = defineApp({\n slug: \"sensibo\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAgE;CAC3E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const sensibo: KeystrokeApp<"sensibo", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { sensibo };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const sensibo: KeystrokeApp<"sensibo", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { sensibo };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,OAAA,EAAS,YAAY,mBAAmB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const sensibo = defineApp({\n slug: \"sensibo\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const sensibo: KeystrokeApp<\"sensibo\", typeof credential> = defineApp({\n slug: \"sensibo\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,UAAsD,UAAU;CAC3E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sensiboGetAllDevices } from "./actions/get-all-devices.cjs";
|
|
2
1
|
import { sensibo } from "./app.cjs";
|
|
2
|
+
import { sensiboGetAllDevices } from "./actions/get-all-devices.cjs";
|
|
3
3
|
import { sensiboCatalog } from "./catalog.cjs";
|
|
4
4
|
export { sensibo, sensiboCatalog, sensiboGetAllDevices };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { sensiboGetAllDevices } from "./actions/get-all-devices.mjs";
|
|
2
1
|
import { sensibo } from "./app.mjs";
|
|
2
|
+
import { sensiboGetAllDevices } from "./actions/get-all-devices.mjs";
|
|
3
3
|
import { sensiboCatalog } from "./catalog.mjs";
|
|
4
4
|
export { sensibo, sensiboCatalog, sensiboGetAllDevices };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/sensibo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|