@keystrokehq/simplekpi 0.1.2 → 0.1.3
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/actions/add-user-group-item.cjs +1 -1
- package/dist/actions/add-user-group-item.cjs.map +1 -1
- package/dist/actions/add-user-group-item.d.cts +1 -1
- package/dist/actions/add-user-group-item.d.mts +1 -1
- package/dist/actions/add-user-group-item.mjs +1 -1
- package/dist/actions/add-user-group-item.mjs.map +1 -1
- package/dist/actions/add-user-kpi.cjs +1 -1
- package/dist/actions/add-user-kpi.cjs.map +1 -1
- package/dist/actions/add-user-kpi.d.cts +1 -1
- package/dist/actions/add-user-kpi.d.mts +1 -1
- package/dist/actions/add-user-kpi.mjs +1 -1
- package/dist/actions/add-user-kpi.mjs.map +1 -1
- package/dist/actions/create-category-kpi.cjs +1 -1
- package/dist/actions/create-category-kpi.cjs.map +1 -1
- package/dist/actions/create-category-kpi.d.cts +1 -1
- package/dist/actions/create-category-kpi.d.mts +1 -1
- package/dist/actions/create-category-kpi.mjs +1 -1
- package/dist/actions/create-category-kpi.mjs.map +1 -1
- package/dist/actions/create-group-item.cjs +1 -1
- package/dist/actions/create-group-item.cjs.map +1 -1
- package/dist/actions/create-group-item.d.cts +1 -1
- package/dist/actions/create-group-item.d.mts +1 -1
- package/dist/actions/create-group-item.mjs +1 -1
- package/dist/actions/create-group-item.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -1
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +1 -1
- package/dist/actions/create-group.d.mts +1 -1
- package/dist/actions/create-group.mjs +1 -1
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-kpi-category.cjs +1 -1
- package/dist/actions/create-kpi-category.cjs.map +1 -1
- package/dist/actions/create-kpi-category.d.cts +1 -1
- package/dist/actions/create-kpi-category.d.mts +1 -1
- package/dist/actions/create-kpi-category.mjs +1 -1
- package/dist/actions/create-kpi-category.mjs.map +1 -1
- package/dist/actions/create-kpi-unit.cjs +1 -1
- package/dist/actions/create-kpi-unit.cjs.map +1 -1
- package/dist/actions/create-kpi-unit.d.cts +1 -1
- package/dist/actions/create-kpi-unit.d.mts +1 -1
- package/dist/actions/create-kpi-unit.mjs +1 -1
- package/dist/actions/create-kpi-unit.mjs.map +1 -1
- package/dist/actions/create-kpi.cjs +1 -1
- package/dist/actions/create-kpi.cjs.map +1 -1
- package/dist/actions/create-kpi.d.cts +1 -1
- package/dist/actions/create-kpi.d.mts +1 -1
- package/dist/actions/create-kpi.mjs +1 -1
- package/dist/actions/create-kpi.mjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.cjs +2 -2
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.cts +3 -2
- package/dist/actions/create-or-update-kpi-entries.d.mts +3 -2
- package/dist/actions/create-or-update-kpi-entries.mjs +2 -2
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +1 -1
- package/dist/actions/create-user.d.mts +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-category-kpi.cjs +1 -1
- package/dist/actions/delete-category-kpi.cjs.map +1 -1
- package/dist/actions/delete-category-kpi.d.cts +1 -1
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +1 -1
- package/dist/actions/delete-category-kpi.d.mts.map +1 -1
- package/dist/actions/delete-category-kpi.mjs +1 -1
- package/dist/actions/delete-category-kpi.mjs.map +1 -1
- package/dist/actions/delete-group-item.cjs +1 -1
- package/dist/actions/delete-group-item.cjs.map +1 -1
- package/dist/actions/delete-group-item.d.cts +1 -1
- package/dist/actions/delete-group-item.d.mts +1 -1
- package/dist/actions/delete-group-item.mjs +1 -1
- package/dist/actions/delete-group-item.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +1 -1
- package/dist/actions/delete-group.d.mts +1 -1
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-kpi-category.cjs +1 -1
- package/dist/actions/delete-kpi-category.cjs.map +1 -1
- package/dist/actions/delete-kpi-category.d.cts +1 -1
- package/dist/actions/delete-kpi-category.d.mts +1 -1
- package/dist/actions/delete-kpi-category.mjs +1 -1
- package/dist/actions/delete-kpi-category.mjs.map +1 -1
- package/dist/actions/delete-kpi-entry.cjs +1 -1
- package/dist/actions/delete-kpi-entry.cjs.map +1 -1
- package/dist/actions/delete-kpi-entry.d.cts +1 -1
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +1 -1
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
- package/dist/actions/delete-kpi-entry.mjs +1 -1
- package/dist/actions/delete-kpi-entry.mjs.map +1 -1
- package/dist/actions/delete-kpi-unit.cjs +1 -1
- package/dist/actions/delete-kpi-unit.cjs.map +1 -1
- package/dist/actions/delete-kpi-unit.d.cts +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +1 -1
- package/dist/actions/delete-kpi-unit.mjs +1 -1
- package/dist/actions/delete-kpi-unit.mjs.map +1 -1
- package/dist/actions/delete-kpi.cjs +1 -1
- package/dist/actions/delete-kpi.cjs.map +1 -1
- package/dist/actions/delete-kpi.d.cts +1 -1
- package/dist/actions/delete-kpi.d.mts +1 -1
- package/dist/actions/delete-kpi.mjs +1 -1
- package/dist/actions/delete-kpi.mjs.map +1 -1
- package/dist/actions/delete-user-group-item.cjs +1 -1
- package/dist/actions/delete-user-group-item.cjs.map +1 -1
- package/dist/actions/delete-user-group-item.d.cts +1 -1
- package/dist/actions/delete-user-group-item.d.mts +1 -1
- package/dist/actions/delete-user-group-item.mjs +1 -1
- package/dist/actions/delete-user-group-item.mjs.map +1 -1
- package/dist/actions/delete-user-kpi.cjs +1 -1
- package/dist/actions/delete-user-kpi.cjs.map +1 -1
- package/dist/actions/delete-user-kpi.d.cts +1 -1
- package/dist/actions/delete-user-kpi.d.mts +1 -1
- package/dist/actions/delete-user-kpi.mjs +1 -1
- package/dist/actions/delete-user-kpi.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +1 -1
- package/dist/actions/delete-user.d.mts +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-all-data-entries.cjs +2 -2
- package/dist/actions/get-all-data-entries.cjs.map +1 -1
- package/dist/actions/get-all-data-entries.d.cts +2 -2
- package/dist/actions/get-all-data-entries.d.mts +2 -2
- package/dist/actions/get-all-data-entries.mjs +2 -2
- package/dist/actions/get-all-data-entries.mjs.map +1 -1
- package/dist/actions/get-category-kpi.cjs +1 -1
- package/dist/actions/get-category-kpi.cjs.map +1 -1
- package/dist/actions/get-category-kpi.d.cts +1 -1
- package/dist/actions/get-category-kpi.d.mts +1 -1
- package/dist/actions/get-category-kpi.mjs +1 -1
- package/dist/actions/get-category-kpi.mjs.map +1 -1
- package/dist/actions/get-group-item.cjs +1 -1
- package/dist/actions/get-group-item.cjs.map +1 -1
- package/dist/actions/get-group-item.d.cts +1 -1
- package/dist/actions/get-group-item.d.mts +1 -1
- package/dist/actions/get-group-item.mjs +1 -1
- package/dist/actions/get-group-item.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -1
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +1 -1
- package/dist/actions/get-group.d.mts +1 -1
- package/dist/actions/get-group.mjs +1 -1
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-kpi-category.cjs +1 -1
- package/dist/actions/get-kpi-category.cjs.map +1 -1
- package/dist/actions/get-kpi-category.d.cts +1 -1
- package/dist/actions/get-kpi-category.d.mts +1 -1
- package/dist/actions/get-kpi-category.mjs +1 -1
- package/dist/actions/get-kpi-category.mjs.map +1 -1
- package/dist/actions/get-kpi-entry.cjs +1 -1
- package/dist/actions/get-kpi-entry.cjs.map +1 -1
- package/dist/actions/get-kpi-entry.d.cts +1 -1
- package/dist/actions/get-kpi-entry.d.mts +1 -1
- package/dist/actions/get-kpi-entry.mjs +1 -1
- package/dist/actions/get-kpi-entry.mjs.map +1 -1
- package/dist/actions/get-kpi-frequency.cjs +1 -1
- package/dist/actions/get-kpi-frequency.cjs.map +1 -1
- package/dist/actions/get-kpi-frequency.d.cts +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +1 -1
- package/dist/actions/get-kpi-frequency.mjs +1 -1
- package/dist/actions/get-kpi-frequency.mjs.map +1 -1
- package/dist/actions/get-kpi-icon.cjs +1 -1
- package/dist/actions/get-kpi-icon.cjs.map +1 -1
- package/dist/actions/get-kpi-icon.d.cts +1 -1
- package/dist/actions/get-kpi-icon.d.mts +1 -1
- package/dist/actions/get-kpi-icon.mjs +1 -1
- package/dist/actions/get-kpi-icon.mjs.map +1 -1
- package/dist/actions/get-kpi-unit.cjs +1 -1
- package/dist/actions/get-kpi-unit.cjs.map +1 -1
- package/dist/actions/get-kpi-unit.d.cts +1 -1
- package/dist/actions/get-kpi-unit.d.mts +1 -1
- package/dist/actions/get-kpi-unit.mjs +1 -1
- package/dist/actions/get-kpi-unit.mjs.map +1 -1
- package/dist/actions/get-kpi.cjs +1 -1
- package/dist/actions/get-kpi.cjs.map +1 -1
- package/dist/actions/get-kpi.d.cts +1 -1
- package/dist/actions/get-kpi.d.mts +1 -1
- package/dist/actions/get-kpi.mjs +1 -1
- package/dist/actions/get-kpi.mjs.map +1 -1
- package/dist/actions/get-user-group-item.cjs +1 -1
- package/dist/actions/get-user-group-item.cjs.map +1 -1
- package/dist/actions/get-user-group-item.d.cts +1 -1
- package/dist/actions/get-user-group-item.d.mts +1 -1
- package/dist/actions/get-user-group-item.mjs +1 -1
- package/dist/actions/get-user-group-item.mjs.map +1 -1
- package/dist/actions/get-user-kpi.cjs +1 -1
- package/dist/actions/get-user-kpi.cjs.map +1 -1
- package/dist/actions/get-user-kpi.d.cts +1 -1
- package/dist/actions/get-user-kpi.d.mts +1 -1
- package/dist/actions/get-user-kpi.mjs +1 -1
- package/dist/actions/get-user-kpi.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -1
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +1 -1
- package/dist/actions/get-user.d.mts +1 -1
- package/dist/actions/get-user.mjs +1 -1
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-category-kpis.cjs +2 -2
- package/dist/actions/list-category-kpis.cjs.map +1 -1
- package/dist/actions/list-category-kpis.d.cts +2 -2
- package/dist/actions/list-category-kpis.d.mts +2 -2
- package/dist/actions/list-category-kpis.mjs +2 -2
- package/dist/actions/list-category-kpis.mjs.map +1 -1
- package/dist/actions/list-group-items.cjs +2 -2
- package/dist/actions/list-group-items.cjs.map +1 -1
- package/dist/actions/list-group-items.d.cts +2 -2
- package/dist/actions/list-group-items.d.mts +2 -2
- package/dist/actions/list-group-items.mjs +2 -2
- package/dist/actions/list-group-items.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +2 -2
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +2 -2
- package/dist/actions/list-groups.d.mts +2 -2
- package/dist/actions/list-groups.mjs +2 -2
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-kpi-categories.cjs +2 -2
- package/dist/actions/list-kpi-categories.cjs.map +1 -1
- package/dist/actions/list-kpi-categories.d.cts +2 -2
- package/dist/actions/list-kpi-categories.d.mts +2 -2
- package/dist/actions/list-kpi-categories.mjs +2 -2
- package/dist/actions/list-kpi-categories.mjs.map +1 -1
- package/dist/actions/list-kpi-entries.cjs +2 -2
- package/dist/actions/list-kpi-entries.cjs.map +1 -1
- package/dist/actions/list-kpi-entries.d.cts +2 -2
- package/dist/actions/list-kpi-entries.d.mts +2 -2
- package/dist/actions/list-kpi-entries.mjs +2 -2
- package/dist/actions/list-kpi-entries.mjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.cjs +2 -2
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.cts +2 -2
- package/dist/actions/list-kpi-frequencies.d.mts +2 -2
- package/dist/actions/list-kpi-frequencies.mjs +2 -2
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
- package/dist/actions/list-kpi-icons.cjs +2 -2
- package/dist/actions/list-kpi-icons.cjs.map +1 -1
- package/dist/actions/list-kpi-icons.d.cts +2 -2
- package/dist/actions/list-kpi-icons.d.mts +2 -2
- package/dist/actions/list-kpi-icons.mjs +2 -2
- package/dist/actions/list-kpi-icons.mjs.map +1 -1
- package/dist/actions/list-kpi-units.cjs +2 -2
- package/dist/actions/list-kpi-units.cjs.map +1 -1
- package/dist/actions/list-kpi-units.d.cts +2 -2
- package/dist/actions/list-kpi-units.d.mts +2 -2
- package/dist/actions/list-kpi-units.mjs +2 -2
- package/dist/actions/list-kpi-units.mjs.map +1 -1
- package/dist/actions/list-kpis.cjs +2 -2
- package/dist/actions/list-kpis.cjs.map +1 -1
- package/dist/actions/list-kpis.d.cts +2 -2
- package/dist/actions/list-kpis.d.mts +2 -2
- package/dist/actions/list-kpis.mjs +2 -2
- package/dist/actions/list-kpis.mjs.map +1 -1
- package/dist/actions/list-user-group-items.cjs +2 -2
- package/dist/actions/list-user-group-items.cjs.map +1 -1
- package/dist/actions/list-user-group-items.d.cts +2 -2
- package/dist/actions/list-user-group-items.d.mts +2 -2
- package/dist/actions/list-user-group-items.mjs +2 -2
- package/dist/actions/list-user-group-items.mjs.map +1 -1
- package/dist/actions/list-user-kpis.cjs +2 -2
- package/dist/actions/list-user-kpis.cjs.map +1 -1
- package/dist/actions/list-user-kpis.d.cts +2 -2
- package/dist/actions/list-user-kpis.d.mts +2 -2
- package/dist/actions/list-user-kpis.mjs +2 -2
- package/dist/actions/list-user-kpis.mjs.map +1 -1
- package/dist/actions/update-category-kpi.cjs +1 -1
- package/dist/actions/update-category-kpi.cjs.map +1 -1
- package/dist/actions/update-category-kpi.d.cts +1 -1
- package/dist/actions/update-category-kpi.d.mts +1 -1
- package/dist/actions/update-category-kpi.mjs +1 -1
- package/dist/actions/update-category-kpi.mjs.map +1 -1
- package/dist/actions/update-group-item.cjs +1 -1
- package/dist/actions/update-group-item.cjs.map +1 -1
- package/dist/actions/update-group-item.d.cts +1 -1
- package/dist/actions/update-group-item.d.mts +1 -1
- package/dist/actions/update-group-item.mjs +1 -1
- package/dist/actions/update-group-item.mjs.map +1 -1
- package/dist/actions/update-group.cjs +1 -1
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +1 -1
- package/dist/actions/update-group.d.mts +1 -1
- package/dist/actions/update-group.mjs +1 -1
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-kpi-entry.cjs +1 -1
- package/dist/actions/update-kpi-entry.cjs.map +1 -1
- package/dist/actions/update-kpi-entry.d.cts +1 -1
- package/dist/actions/update-kpi-entry.d.mts +1 -1
- package/dist/actions/update-kpi-entry.mjs +1 -1
- package/dist/actions/update-kpi-entry.mjs.map +1 -1
- package/dist/actions/update-kpi-unit.cjs +1 -1
- package/dist/actions/update-kpi-unit.cjs.map +1 -1
- package/dist/actions/update-kpi-unit.d.cts +1 -1
- package/dist/actions/update-kpi-unit.d.mts +1 -1
- package/dist/actions/update-kpi-unit.mjs +1 -1
- package/dist/actions/update-kpi-unit.mjs.map +1 -1
- package/dist/actions/update-kpi.cjs +1 -1
- package/dist/actions/update-kpi.cjs.map +1 -1
- package/dist/actions/update-kpi.d.cts +1 -1
- package/dist/actions/update-kpi.d.mts +1 -1
- package/dist/actions/update-kpi.mjs +1 -1
- package/dist/actions/update-kpi.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +1 -1
- package/dist/actions/update-user.d.mts +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ const SimplekpiAddUserGroupItemOutput = zod.z.object({
|
|
|
12
12
|
group_id: zod.z.number().int().describe("The identifier of the group this item belongs to.").nullable().optional(),
|
|
13
13
|
created_at: zod.z.string().describe("The timestamp when the user group item assignment was created.").nullable().optional(),
|
|
14
14
|
group_name: zod.z.string().describe("The name of the group.").nullable().optional()
|
|
15
|
-
}).describe("Response model for assigning a group item to a user.");
|
|
15
|
+
}).passthrough().describe("Response model for assigning a group item to a user.");
|
|
16
16
|
const simplekpiAddUserGroupItem = require_action.action("SIMPLEKPI_ADD_USER_GROUP_ITEM", {
|
|
17
17
|
slug: "simplekpi-add-user-group-item",
|
|
18
18
|
name: "Add User Group Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"add-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SimplekpiAddUserGroupItemOutput: z.ZodObject<{
|
|
|
12
12
|
group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
group_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simplekpiAddUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: number;
|
|
18
18
|
user_id: number;
|
|
@@ -12,7 +12,7 @@ declare const SimplekpiAddUserGroupItemOutput: z.ZodObject<{
|
|
|
12
12
|
group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
group_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simplekpiAddUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
id: number;
|
|
18
18
|
user_id: number;
|
|
@@ -15,7 +15,7 @@ const simplekpiAddUserGroupItem = action("SIMPLEKPI_ADD_USER_GROUP_ITEM", {
|
|
|
15
15
|
group_id: z.number().int().describe("The identifier of the group this item belongs to.").nullable().optional(),
|
|
16
16
|
created_at: z.string().describe("The timestamp when the user group item assignment was created.").nullable().optional(),
|
|
17
17
|
group_name: z.string().describe("The name of the group.").nullable().optional()
|
|
18
|
-
}).describe("Response model for assigning a group item to a user.")
|
|
18
|
+
}).passthrough().describe("Response model for assigning a group item to a user.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiAddUserGroupItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-group-item.mjs","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-user-group-item.mjs","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const SimplekpiAddUserKpiOutput = zod.z.object({
|
|
|
14
14
|
sort_order: zod.z.number().int().describe("Display order on KPI Entry screen").nullable().optional(),
|
|
15
15
|
updated_at: zod.z.string().describe("UTC timestamp when the assignment was last updated").nullable().optional(),
|
|
16
16
|
user_target: zod.z.number().describe("Custom target value for this user").nullable().optional()
|
|
17
|
-
}).describe("Response containing the assigned user KPI details.");
|
|
17
|
+
}).passthrough().describe("Response containing the assigned user KPI details.");
|
|
18
18
|
const simplekpiAddUserKpi = require_action.action("SIMPLEKPI_ADD_USER_KPI", {
|
|
19
19
|
slug: "simplekpi-add-user-kpi",
|
|
20
20
|
name: "Add User KPI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"add-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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.ZodNumber>>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const simplekpiAddUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: number;
|
|
20
20
|
user_id: number;
|
|
@@ -14,7 +14,7 @@ declare const SimplekpiAddUserKpiOutput: z.ZodObject<{
|
|
|
14
14
|
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const simplekpiAddUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
id: number;
|
|
20
20
|
user_id: number;
|
|
@@ -17,7 +17,7 @@ const simplekpiAddUserKpi = action("SIMPLEKPI_ADD_USER_KPI", {
|
|
|
17
17
|
sort_order: z.number().int().describe("Display order on KPI Entry screen").nullable().optional(),
|
|
18
18
|
updated_at: z.string().describe("UTC timestamp when the assignment was last updated").nullable().optional(),
|
|
19
19
|
user_target: z.number().describe("Custom target value for this user").nullable().optional()
|
|
20
|
-
}).describe("Response containing the assigned user KPI details.")
|
|
20
|
+
}).passthrough().describe("Response containing the assigned user KPI details.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { simplekpiAddUserKpi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-kpi.mjs","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"add-user-kpi.mjs","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -27,7 +27,7 @@ const SimplekpiCreateCategoryKpiOutput = zod.z.object({
|
|
|
27
27
|
frequency_id: zod.z.string().describe("The frequency ID for this KPI").nullable().optional(),
|
|
28
28
|
value_direction: zod.z.string().describe("The value direction indicator").nullable().optional(),
|
|
29
29
|
aggregate_function: zod.z.string().describe("The aggregate function for this KPI").nullable().optional()
|
|
30
|
-
}).describe("Response model after creating a KPI in a category.");
|
|
30
|
+
}).passthrough().describe("Response model after creating a KPI in a category.");
|
|
31
31
|
const simplekpiCreateCategoryKpi = require_action.action("SIMPLEKPI_CREATE_CATEGORY_KPI", {
|
|
32
32
|
slug: "simplekpi-create-category-kpi",
|
|
33
33
|
name: "Create Category KPI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,S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SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"create-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CAC5I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACnJ,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAA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put: z.ZodObject<{
|
|
|
30
30
|
frequency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const simplekpiCreateCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
icon_id: number;
|
|
@@ -30,7 +30,7 @@ declare const SimplekpiCreateCategoryKpiOutput: z.ZodObject<{
|
|
|
30
30
|
frequency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const simplekpiCreateCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
icon_id: number;
|
|
@@ -30,7 +30,7 @@ const simplekpiCreateCategoryKpi = action("SIMPLEKPI_CREATE_CATEGORY_KPI", {
|
|
|
30
30
|
frequency_id: z.string().describe("The frequency ID for this KPI").nullable().optional(),
|
|
31
31
|
value_direction: z.string().describe("The value direction indicator").nullable().optional(),
|
|
32
32
|
aggregate_function: z.string().describe("The aggregate function for this KPI").nullable().optional()
|
|
33
|
-
}).describe("Response model after creating a KPI in a category.")
|
|
33
|
+
}).passthrough().describe("Response model after creating a KPI in a category.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { simplekpiCreateCategoryKpi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category-kpi.mjs","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, rev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C,CAAC,SAAS;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-category-kpi.mjs","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;AA4BA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAC/F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B,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SimplekpiCreateGroupItemOutput = zod.z.object({
|
|
|
13
13
|
created_at: zod.z.string().describe("The UTC date and time when the item was created (ISO 8601 format)").nullable().optional(),
|
|
14
14
|
sort_order: zod.z.number().int().describe("The display order of the item within the group").nullable(),
|
|
15
15
|
updated_at: zod.z.string().describe("The UTC date and time of the last update to the item (ISO 8601 format)").nullable().optional()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const simplekpiCreateGroupItem = require_action.action("SIMPLEKPI_CREATE_GROUP_ITEM", {
|
|
18
18
|
slug: "simplekpi-create-group-item",
|
|
19
19
|
name: "Create Group Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group-item.cjs","names":["z","action"],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC;
|
|
1
|
+
{"version":3,"file":"create-group-item.cjs","names":["z","action"],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SimplekpiCreateGroupItemOutput: z.ZodObject<{
|
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const simplekpiCreateGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
name: string;
|
|
19
19
|
group_id: number;
|
|
@@ -13,7 +13,7 @@ declare const SimplekpiCreateGroupItemOutput: z.ZodObject<{
|
|
|
13
13
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
15
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const simplekpiCreateGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
name: string;
|
|
19
19
|
group_id: number;
|
|
@@ -16,7 +16,7 @@ const simplekpiCreateGroupItem = action("SIMPLEKPI_CREATE_GROUP_ITEM", {
|
|
|
16
16
|
created_at: z.string().describe("The UTC date and time when the item was created (ISO 8601 format)").nullable().optional(),
|
|
17
17
|
sort_order: z.number().int().describe("The display order of the item within the group").nullable(),
|
|
18
18
|
updated_at: z.string().describe("The UTC date and time of the last update to the item (ISO 8601 format)").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { simplekpiCreateGroupItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group-item.mjs","names":[],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAcS;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,
|
|
1
|
+
{"version":3,"file":"create-group-item.mjs","names":[],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAcS;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const SimplekpiCreateGroupOutput = zod.z.object({
|
|
|
11
11
|
created_at: zod.z.string().describe("ISO 8601 timestamp when the group was created").nullable().optional(),
|
|
12
12
|
sort_order: zod.z.number().int().describe("Display ordering value for the group").nullable(),
|
|
13
13
|
updated_at: zod.z.string().describe("ISO 8601 timestamp when the group was last modified").nullable().optional()
|
|
14
|
-
}).describe("Response containing the newly created group details.");
|
|
14
|
+
}).passthrough().describe("Response containing the newly created group details.");
|
|
15
15
|
const simplekpiCreateGroup = require_action.action("SIMPLEKPI_CREATE_GROUP", {
|
|
16
16
|
slug: "simplekpi-create-group",
|
|
17
17
|
name: "Create Group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
name: string;
|
|
17
17
|
sort_order: number;
|
|
@@ -11,7 +11,7 @@ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simplekpiCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
name: string;
|
|
17
17
|
sort_order: number;
|
|
@@ -14,7 +14,7 @@ const simplekpiCreateGroup = action("SIMPLEKPI_CREATE_GROUP", {
|
|
|
14
14
|
created_at: z.string().describe("ISO 8601 timestamp when the group was created").nullable().optional(),
|
|
15
15
|
sort_order: z.number().int().describe("Display ordering value for the group").nullable(),
|
|
16
16
|
updated_at: z.string().describe("ISO 8601 timestamp when the group was last modified").nullable().optional()
|
|
17
|
-
}).describe("Response containing the newly created group details.")
|
|
17
|
+
}).passthrough().describe("Response containing the newly created group details.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { simplekpiCreateGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;AAgBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const SimplekpiCreateKpiCategoryOutput = zod.z.object({
|
|
|
11
11
|
created_at: zod.z.string().describe("UTC datetime when the category was created (ISO 8601 format)").nullable().optional(),
|
|
12
12
|
sort_order: zod.z.number().int().describe("Display order of the created KPI category").nullable(),
|
|
13
13
|
updated_at: zod.z.string().describe("UTC datetime when the category was last updated (ISO 8601 format)").nullable().optional()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const simplekpiCreateKpiCategory = require_action.action("SIMPLEKPI_CREATE_KPI_CATEGORY", {
|
|
16
16
|
slug: "simplekpi-create-kpi-category",
|
|
17
17
|
name: "Create KPI Category",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC;
|
|
1
|
+
{"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
name: string;
|
|
17
17
|
sort_order: number;
|
|
@@ -11,7 +11,7 @@ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
|
|
|
11
11
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const simplekpiCreateKpiCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
name: string;
|
|
17
17
|
sort_order: number;
|
|
@@ -14,7 +14,7 @@ const simplekpiCreateKpiCategory = action("SIMPLEKPI_CREATE_KPI_CATEGORY", {
|
|
|
14
14
|
created_at: z.string().describe("UTC datetime when the category was created (ISO 8601 format)").nullable().optional(),
|
|
15
15
|
sort_order: z.number().int().describe("Display order of the created KPI category").nullable(),
|
|
16
16
|
updated_at: z.string().describe("UTC datetime when the category was last updated (ISO 8601 format)").nullable().optional()
|
|
17
|
-
})
|
|
17
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { simplekpiCreateKpiCategory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-category.mjs","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAaS;CACP,QAb8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,
|
|
1
|
+
{"version":3,"file":"create-kpi-category.mjs","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAaS;CACP,QAb8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const SimplekpiCreateKpiUnitOutput = zod.z.object({
|
|
|
15
15
|
entry_format: zod.z.string().describe("Entry format of the created KPI unit").nullable().optional(),
|
|
16
16
|
is_percentage: zod.z.boolean().describe("Whether the unit is a percentage").nullable().optional(),
|
|
17
17
|
display_format: zod.z.string().describe("Display format of the created KPI unit").nullable().optional()
|
|
18
|
-
}).describe("Response model for created KPI unit.");
|
|
18
|
+
}).passthrough().describe("Response model for created KPI unit.");
|
|
19
19
|
const simplekpiCreateKpiUnit = require_action.action("SIMPLEKPI_CREATE_KPI_UNIT", {
|
|
20
20
|
slug: "simplekpi-create-kpi-unit",
|
|
21
21
|
name: "Create KPI Unit",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,sCAAsC;
|
|
1
|
+
{"version":3,"file":"create-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const SimplekpiCreateKpiUnitOutput: z.ZodObject<{
|
|
|
15
15
|
entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
17
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const simplekpiCreateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
name: string;
|
|
21
21
|
entry_format: string;
|
|
@@ -15,7 +15,7 @@ declare const SimplekpiCreateKpiUnitOutput: z.ZodObject<{
|
|
|
15
15
|
entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
17
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const simplekpiCreateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
name: string;
|
|
21
21
|
entry_format: string;
|
|
@@ -18,7 +18,7 @@ const simplekpiCreateKpiUnit = action("SIMPLEKPI_CREATE_KPI_UNIT", {
|
|
|
18
18
|
entry_format: z.string().describe("Entry format of the created KPI unit").nullable().optional(),
|
|
19
19
|
is_percentage: z.boolean().describe("Whether the unit is a percentage").nullable().optional(),
|
|
20
20
|
display_format: z.string().describe("Display format of the created KPI unit").nullable().optional()
|
|
21
|
-
}).describe("Response model for created KPI unit.")
|
|
21
|
+
}).passthrough().describe("Response model for created KPI unit.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { simplekpiCreateKpiUnit };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-unit.mjs","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAClI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACxI,CAAC,CAAC,CAAC,SAAS,4CAeH;CACP,QAf0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"create-kpi-unit.mjs","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;AAoBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAClI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACxI,CAAC,CAAC,CAAC,SAAS,4CAeH;CACP,QAf0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -32,7 +32,7 @@ const SimplekpiCreateKpiOutput = zod.z.object({
|
|
|
32
32
|
target_default: zod.z.number().describe("Default target value.").nullable().optional(),
|
|
33
33
|
value_direction: zod.z.string().describe("Direction indicator (U/D/N).").nullable(),
|
|
34
34
|
aggregate_function: zod.z.string().describe("Calculation method (AVG or SUM).").nullable()
|
|
35
|
-
}).describe("Response model for created KPI.");
|
|
35
|
+
}).passthrough().describe("Response model for created KPI.");
|
|
36
36
|
const simplekpiCreateKpi = require_action.action("SIMPLEKPI_CREATE_KPI", {
|
|
37
37
|
slug: "simplekpi-create-kpi",
|
|
38
38
|
name: "Create KPI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"m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3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,iCAAiC;
|
|
1
|
+
{"version":3,"file":"create-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).passthrough().describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKp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;
|
|
36
36
|
value_direction: z.ZodNullable<z.ZodString>;
|
|
37
37
|
aggregate_function: z.ZodNullable<z.ZodString>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>;
|
|
39
39
|
declare const simplekpiCreateKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
40
40
|
name: string;
|
|
41
41
|
icon_id: number;
|