@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
|
@@ -19,8 +19,8 @@ const SimplekpiListKpiEntries_KpiEntrySchema = zod.z.object({
|
|
|
19
19
|
created_at: zod.z.string().describe("UTC timestamp of creation").nullable().optional(),
|
|
20
20
|
entry_date: zod.z.string().describe("Date of the data entry").nullable().optional(),
|
|
21
21
|
updated_at: zod.z.string().describe("UTC timestamp of last modification").nullable().optional()
|
|
22
|
-
});
|
|
23
|
-
const SimplekpiListKpiEntriesOutput = zod.z.object({ entries: zod.z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe("List of KPI entries matching the filter criteria (max 500 per page)").nullable().optional() });
|
|
22
|
+
}).passthrough();
|
|
23
|
+
const SimplekpiListKpiEntriesOutput = zod.z.object({ entries: zod.z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe("List of KPI entries matching the filter criteria (max 500 per page)").nullable().optional() }).passthrough();
|
|
24
24
|
const simplekpiListKpiEntries = require_action.action("SIMPLEKPI_LIST_KPI_ENTRIES", {
|
|
25
25
|
slug: "simplekpi-list-kpi-entries",
|
|
26
26
|
name: "List KPI Entries",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-entries.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiEntriesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n rows: z.number().int().describe(\"Maximum number of entries to return per page (max 500)\").optional(),\n kpiid: z.number().int().describe(\"Filter by specific KPI ID to get entries only for that KPI\").optional(),\n dateTo: z.string().describe(\"End date for filtering KPI entries in YYYY-MM-DD format\"),\n userid: z.number().int().describe(\"Filter by specific user ID to get entries only for that user\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering KPI entries in YYYY-MM-DD format\"),\n});\nconst SimplekpiListKpiEntries_KpiEntrySchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI entry\").nullable().optional(),\n notes: z.string().describe(\"Additional comments (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"Measured/actual value\").nullable().optional(),\n kpi_id: z.number().int().describe(\"Related KPI identifier\").nullable().optional(),\n target: z.number().describe(\"Target value for comparison\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user identifier\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation\").nullable().optional(),\n entry_date: z.string().describe(\"Date of the data entry\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n});\nexport const SimplekpiListKpiEntriesOutput = z.object({\n entries: z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe(\"List of KPI entries matching the filter criteria (max 500 per page)\").nullable().optional(),\n});\n\nexport const simplekpiListKpiEntries = action(\"SIMPLEKPI_LIST_KPI_ENTRIES\", {\n slug: \"simplekpi-list-kpi-entries\",\n name: \"List KPI Entries\",\n description: \"Tool to get all KPI entries filtered by date range and optional criteria. Use when you need to retrieve KPI data for analysis or reporting. Returns a maximum of 500 entries per page. Use pagination parameters (rows, page) to retrieve additional entries.\",\n input: SimplekpiListKpiEntriesInput,\n output: SimplekpiListKpiEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC3F,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;
|
|
1
|
+
{"version":3,"file":"list-kpi-entries.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiEntriesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n rows: z.number().int().describe(\"Maximum number of entries to return per page (max 500)\").optional(),\n kpiid: z.number().int().describe(\"Filter by specific KPI ID to get entries only for that KPI\").optional(),\n dateTo: z.string().describe(\"End date for filtering KPI entries in YYYY-MM-DD format\"),\n userid: z.number().int().describe(\"Filter by specific user ID to get entries only for that user\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering KPI entries in YYYY-MM-DD format\"),\n});\nconst SimplekpiListKpiEntries_KpiEntrySchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI entry\").nullable().optional(),\n notes: z.string().describe(\"Additional comments (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"Measured/actual value\").nullable().optional(),\n kpi_id: z.number().int().describe(\"Related KPI identifier\").nullable().optional(),\n target: z.number().describe(\"Target value for comparison\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user identifier\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation\").nullable().optional(),\n entry_date: z.string().describe(\"Date of the data entry\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n}).passthrough();\nexport const SimplekpiListKpiEntriesOutput = z.object({\n entries: z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe(\"List of KPI entries matching the filter criteria (max 500 per page)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiListKpiEntries = action(\"SIMPLEKPI_LIST_KPI_ENTRIES\", {\n slug: \"simplekpi-list-kpi-entries\",\n name: \"List KPI Entries\",\n description: \"Tool to get all KPI entries filtered by date range and optional criteria. Use when you need to retrieve KPI data for analysis or reporting. Returns a maximum of 500 entries per page. Use pagination parameters (rows, page) to retrieve additional entries.\",\n input: SimplekpiListKpiEntriesInput,\n output: SimplekpiListKpiEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC3F,CAAC;AACD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -20,8 +20,8 @@ declare const SimplekpiListKpiEntriesOutput: z.ZodObject<{
|
|
|
20
20
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
entry_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const simplekpiListKpiEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
dateTo: string;
|
|
27
27
|
dateFrom: string;
|
|
@@ -20,8 +20,8 @@ declare const SimplekpiListKpiEntriesOutput: z.ZodObject<{
|
|
|
20
20
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
entry_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const simplekpiListKpiEntries: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
dateTo: string;
|
|
27
27
|
dateFrom: string;
|
|
@@ -19,13 +19,13 @@ const SimplekpiListKpiEntries_KpiEntrySchema = z.object({
|
|
|
19
19
|
created_at: z.string().describe("UTC timestamp of creation").nullable().optional(),
|
|
20
20
|
entry_date: z.string().describe("Date of the data entry").nullable().optional(),
|
|
21
21
|
updated_at: z.string().describe("UTC timestamp of last modification").nullable().optional()
|
|
22
|
-
});
|
|
22
|
+
}).passthrough();
|
|
23
23
|
const simplekpiListKpiEntries = action("SIMPLEKPI_LIST_KPI_ENTRIES", {
|
|
24
24
|
slug: "simplekpi-list-kpi-entries",
|
|
25
25
|
name: "List KPI Entries",
|
|
26
26
|
description: "Tool to get all KPI entries filtered by date range and optional criteria. Use when you need to retrieve KPI data for analysis or reporting. Returns a maximum of 500 entries per page. Use pagination parameters (rows, page) to retrieve additional entries.",
|
|
27
27
|
input: SimplekpiListKpiEntriesInput,
|
|
28
|
-
output: z.object({ entries: z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe("List of KPI entries matching the filter criteria (max 500 per page)").nullable().optional() })
|
|
28
|
+
output: z.object({ entries: z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe("List of KPI entries matching the filter criteria (max 500 per page)").nullable().optional() }).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { simplekpiListKpiEntries };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-entries.mjs","names":[],"sources":["../../src/actions/list-kpi-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiEntriesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n rows: z.number().int().describe(\"Maximum number of entries to return per page (max 500)\").optional(),\n kpiid: z.number().int().describe(\"Filter by specific KPI ID to get entries only for that KPI\").optional(),\n dateTo: z.string().describe(\"End date for filtering KPI entries in YYYY-MM-DD format\"),\n userid: z.number().int().describe(\"Filter by specific user ID to get entries only for that user\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering KPI entries in YYYY-MM-DD format\"),\n});\nconst SimplekpiListKpiEntries_KpiEntrySchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI entry\").nullable().optional(),\n notes: z.string().describe(\"Additional comments (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"Measured/actual value\").nullable().optional(),\n kpi_id: z.number().int().describe(\"Related KPI identifier\").nullable().optional(),\n target: z.number().describe(\"Target value for comparison\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user identifier\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation\").nullable().optional(),\n entry_date: z.string().describe(\"Date of the data entry\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n});\nexport const SimplekpiListKpiEntriesOutput = z.object({\n entries: z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe(\"List of KPI entries matching the filter criteria (max 500 per page)\").nullable().optional(),\n});\n\nexport const simplekpiListKpiEntries = action(\"SIMPLEKPI_LIST_KPI_ENTRIES\", {\n slug: \"simplekpi-list-kpi-entries\",\n name: \"List KPI Entries\",\n description: \"Tool to get all KPI entries filtered by date range and optional criteria. Use when you need to retrieve KPI data for analysis or reporting. Returns a maximum of 500 entries per page. Use pagination parameters (rows, page) to retrieve additional entries.\",\n input: SimplekpiListKpiEntriesInput,\n output: SimplekpiListKpiEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC3F,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;
|
|
1
|
+
{"version":3,"file":"list-kpi-entries.mjs","names":[],"sources":["../../src/actions/list-kpi-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiEntriesInput = z.object({\n page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n rows: z.number().int().describe(\"Maximum number of entries to return per page (max 500)\").optional(),\n kpiid: z.number().int().describe(\"Filter by specific KPI ID to get entries only for that KPI\").optional(),\n dateTo: z.string().describe(\"End date for filtering KPI entries in YYYY-MM-DD format\"),\n userid: z.number().int().describe(\"Filter by specific user ID to get entries only for that user\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering KPI entries in YYYY-MM-DD format\"),\n});\nconst SimplekpiListKpiEntries_KpiEntrySchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI entry\").nullable().optional(),\n notes: z.string().describe(\"Additional comments (max 500 characters)\").nullable().optional(),\n actual: z.number().describe(\"Measured/actual value\").nullable().optional(),\n kpi_id: z.number().int().describe(\"Related KPI identifier\").nullable().optional(),\n target: z.number().describe(\"Target value for comparison\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user identifier\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation\").nullable().optional(),\n entry_date: z.string().describe(\"Date of the data entry\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n}).passthrough();\nexport const SimplekpiListKpiEntriesOutput = z.object({\n entries: z.array(SimplekpiListKpiEntries_KpiEntrySchema).describe(\"List of KPI entries matching the filter criteria (max 500 per page)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiListKpiEntries = action(\"SIMPLEKPI_LIST_KPI_ENTRIES\", {\n slug: \"simplekpi-list-kpi-entries\",\n name: \"List KPI Entries\",\n description: \"Tool to get all KPI entries filtered by date range and optional criteria. Use when you need to retrieve KPI data for analysis or reporting. Returns a maximum of 500 entries per page. Use pagination parameters (rows, page) to retrieve additional entries.\",\n input: SimplekpiListKpiEntriesInput,\n output: SimplekpiListKpiEntriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC3F,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/J,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ const SimplekpiListKpiFrequenciesInput = zod.z.object({}).describe("Request mode
|
|
|
5
5
|
const SimplekpiListKpiFrequencies_KpiFrequencyItemSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Internal frequency identifier (e.g., 'D', 'W')").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Human-readable frequency name (e.g., 'Daily', 'Weekly')").nullable()
|
|
8
|
-
}).describe("KPI frequency object representing data entry frequency options.");
|
|
9
|
-
const SimplekpiListKpiFrequenciesOutput = zod.z.object({ frequencies: zod.z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe("List of all available KPI frequencies") }).describe("Response model for listing KPI frequencies.");
|
|
8
|
+
}).passthrough().describe("KPI frequency object representing data entry frequency options.");
|
|
9
|
+
const SimplekpiListKpiFrequenciesOutput = zod.z.object({ frequencies: zod.z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe("List of all available KPI frequencies") }).passthrough().describe("Response model for listing KPI frequencies.");
|
|
10
10
|
const simplekpiListKpiFrequencies = require_action.action("SIMPLEKPI_LIST_KPI_FREQUENCIES", {
|
|
11
11
|
slug: "simplekpi-list-kpi-frequencies",
|
|
12
12
|
name: "List KPI Frequencies",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-frequencies.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-frequencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiFrequenciesInput = z.object({}).describe(\"Request model for listing KPI frequencies. No parameters required.\");\nconst SimplekpiListKpiFrequencies_KpiFrequencyItemSchema = z.object({\n id: z.string().describe(\"Internal frequency identifier (e.g., 'D', 'W')\").nullable(),\n name: z.string().describe(\"Human-readable frequency name (e.g., 'Daily', 'Weekly')\").nullable(),\n}).describe(\"KPI frequency object representing data entry frequency options.\");\nexport const SimplekpiListKpiFrequenciesOutput = z.object({\n frequencies: z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe(\"List of all available KPI frequencies\"),\n}).describe(\"Response model for listing KPI frequencies.\");\n\nexport const simplekpiListKpiFrequencies = action(\"SIMPLEKPI_LIST_KPI_FREQUENCIES\", {\n slug: \"simplekpi-list-kpi-frequencies\",\n name: \"List KPI Frequencies\",\n description: \"Tool to get all KPI frequencies. Use when you need to retrieve available data entry frequency options (Daily, Weekly, Monthly, etc.) for KPI configuration.\",\n input: SimplekpiListKpiFrequenciesInput,\n output: SimplekpiListKpiFrequenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1I,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;
|
|
1
|
+
{"version":3,"file":"list-kpi-frequencies.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-frequencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiFrequenciesInput = z.object({}).describe(\"Request model for listing KPI frequencies. No parameters required.\");\nconst SimplekpiListKpiFrequencies_KpiFrequencyItemSchema = z.object({\n id: z.string().describe(\"Internal frequency identifier (e.g., 'D', 'W')\").nullable(),\n name: z.string().describe(\"Human-readable frequency name (e.g., 'Daily', 'Weekly')\").nullable(),\n}).passthrough().describe(\"KPI frequency object representing data entry frequency options.\");\nexport const SimplekpiListKpiFrequenciesOutput = z.object({\n frequencies: z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe(\"List of all available KPI frequencies\"),\n}).passthrough().describe(\"Response model for listing KPI frequencies.\");\n\nexport const simplekpiListKpiFrequencies = action(\"SIMPLEKPI_LIST_KPI_FREQUENCIES\", {\n slug: \"simplekpi-list-kpi-frequencies\",\n name: \"List KPI Frequencies\",\n description: \"Tool to get all KPI frequencies. Use when you need to retrieve available data entry frequency options (Daily, Weekly, Monthly, etc.) for KPI configuration.\",\n input: SimplekpiListKpiFrequenciesInput,\n output: SimplekpiListKpiFrequenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1I,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uCAAuC,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ declare const SimplekpiListKpiFrequenciesOutput: z.ZodObject<{
|
|
|
6
6
|
frequencies: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const simplekpiListKpiFrequencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { simplekpiListKpiFrequencies };
|
|
@@ -6,8 +6,8 @@ declare const SimplekpiListKpiFrequenciesOutput: z.ZodObject<{
|
|
|
6
6
|
frequencies: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const simplekpiListKpiFrequencies: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { simplekpiListKpiFrequencies };
|
|
@@ -5,13 +5,13 @@ const SimplekpiListKpiFrequenciesInput = z.object({}).describe("Request model fo
|
|
|
5
5
|
const SimplekpiListKpiFrequencies_KpiFrequencyItemSchema = z.object({
|
|
6
6
|
id: z.string().describe("Internal frequency identifier (e.g., 'D', 'W')").nullable(),
|
|
7
7
|
name: z.string().describe("Human-readable frequency name (e.g., 'Daily', 'Weekly')").nullable()
|
|
8
|
-
}).describe("KPI frequency object representing data entry frequency options.");
|
|
8
|
+
}).passthrough().describe("KPI frequency object representing data entry frequency options.");
|
|
9
9
|
const simplekpiListKpiFrequencies = action("SIMPLEKPI_LIST_KPI_FREQUENCIES", {
|
|
10
10
|
slug: "simplekpi-list-kpi-frequencies",
|
|
11
11
|
name: "List KPI Frequencies",
|
|
12
12
|
description: "Tool to get all KPI frequencies. Use when you need to retrieve available data entry frequency options (Daily, Weekly, Monthly, etc.) for KPI configuration.",
|
|
13
13
|
input: SimplekpiListKpiFrequenciesInput,
|
|
14
|
-
output: z.object({ frequencies: z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe("List of all available KPI frequencies") }).describe("Response model for listing KPI frequencies.")
|
|
14
|
+
output: z.object({ frequencies: z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe("List of all available KPI frequencies") }).passthrough().describe("Response model for listing KPI frequencies.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { simplekpiListKpiFrequencies };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-frequencies.mjs","names":[],"sources":["../../src/actions/list-kpi-frequencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiFrequenciesInput = z.object({}).describe(\"Request model for listing KPI frequencies. No parameters required.\");\nconst SimplekpiListKpiFrequencies_KpiFrequencyItemSchema = z.object({\n id: z.string().describe(\"Internal frequency identifier (e.g., 'D', 'W')\").nullable(),\n name: z.string().describe(\"Human-readable frequency name (e.g., 'Daily', 'Weekly')\").nullable(),\n}).describe(\"KPI frequency object representing data entry frequency options.\");\nexport const SimplekpiListKpiFrequenciesOutput = z.object({\n frequencies: z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe(\"List of all available KPI frequencies\"),\n}).describe(\"Response model for listing KPI frequencies.\");\n\nexport const simplekpiListKpiFrequencies = action(\"SIMPLEKPI_LIST_KPI_FREQUENCIES\", {\n slug: \"simplekpi-list-kpi-frequencies\",\n name: \"List KPI Frequencies\",\n description: \"Tool to get all KPI frequencies. Use when you need to retrieve available data entry frequency options (Daily, Weekly, Monthly, etc.) for KPI configuration.\",\n input: SimplekpiListKpiFrequenciesInput,\n output: SimplekpiListKpiFrequenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1I,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;
|
|
1
|
+
{"version":3,"file":"list-kpi-frequencies.mjs","names":[],"sources":["../../src/actions/list-kpi-frequencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiFrequenciesInput = z.object({}).describe(\"Request model for listing KPI frequencies. No parameters required.\");\nconst SimplekpiListKpiFrequencies_KpiFrequencyItemSchema = z.object({\n id: z.string().describe(\"Internal frequency identifier (e.g., 'D', 'W')\").nullable(),\n name: z.string().describe(\"Human-readable frequency name (e.g., 'Daily', 'Weekly')\").nullable(),\n}).passthrough().describe(\"KPI frequency object representing data entry frequency options.\");\nexport const SimplekpiListKpiFrequenciesOutput = z.object({\n frequencies: z.array(SimplekpiListKpiFrequencies_KpiFrequencyItemSchema).describe(\"List of all available KPI frequencies\"),\n}).passthrough().describe(\"Response model for listing KPI frequencies.\");\n\nexport const simplekpiListKpiFrequencies = action(\"SIMPLEKPI_LIST_KPI_FREQUENCIES\", {\n slug: \"simplekpi-list-kpi-frequencies\",\n name: \"List KPI Frequencies\",\n description: \"Tool to get all KPI frequencies. Use when you need to retrieve available data entry frequency options (Daily, Weekly, Monthly, etc.) for KPI configuration.\",\n input: SimplekpiListKpiFrequenciesInput,\n output: SimplekpiListKpiFrequenciesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1I,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAK3F,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,aAAa,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uCAAuC,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const SimplekpiListKpiIcons_KpiIconSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the KPI icon").nullable(),
|
|
8
8
|
large_pos: zod.z.number().int().describe("Position for large icon display").nullable().optional(),
|
|
9
9
|
small_pos: zod.z.number().int().describe("Position for small icon display").nullable().optional()
|
|
10
|
-
}).describe("Model representing a single KPI icon.");
|
|
11
|
-
const SimplekpiListKpiIconsOutput = zod.z.object({ icons: zod.z.array(SimplekpiListKpiIcons_KpiIconSchema).describe("List of all KPI icon objects available in the account").nullable().optional() }).describe("Response model containing list of all KPI icons.");
|
|
10
|
+
}).passthrough().describe("Model representing a single KPI icon.");
|
|
11
|
+
const SimplekpiListKpiIconsOutput = zod.z.object({ icons: zod.z.array(SimplekpiListKpiIcons_KpiIconSchema).describe("List of all KPI icon objects available in the account").nullable().optional() }).passthrough().describe("Response model containing list of all KPI icons.");
|
|
12
12
|
const simplekpiListKpiIcons = require_action.action("SIMPLEKPI_LIST_KPI_ICONS", {
|
|
13
13
|
slug: "simplekpi-list-kpi-icons",
|
|
14
14
|
name: "List KPI Icons",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-icons.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-icons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiIconsInput = z.object({}).describe(\"Request model for listing KPI icons. No parameters required.\");\nconst SimplekpiListKpiIcons_KpiIconSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the KPI icon\").nullable(),\n name: z.string().describe(\"Name of the KPI icon\").nullable(),\n large_pos: z.number().int().describe(\"Position for large icon display\").nullable().optional(),\n small_pos: z.number().int().describe(\"Position for small icon display\").nullable().optional(),\n}).describe(\"Model representing a single KPI icon.\");\nexport const SimplekpiListKpiIconsOutput = z.object({\n icons: z.array(SimplekpiListKpiIcons_KpiIconSchema).describe(\"List of all KPI icon objects available in the account\").nullable().optional(),\n}).describe(\"Response model containing list of all KPI icons.\");\n\nexport const simplekpiListKpiIcons = action(\"SIMPLEKPI_LIST_KPI_ICONS\", {\n slug: \"simplekpi-list-kpi-icons\",\n name: \"List KPI Icons\",\n description: \"Tool to retrieve all KPI icons from SimpleKPI. Use when you need to get available icons for display purposes or to help identify KPIs.\",\n input: SimplekpiListKpiIconsInput,\n output: SimplekpiListKpiIconsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-kpi-icons.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-icons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiIconsInput = z.object({}).describe(\"Request model for listing KPI icons. No parameters required.\");\nconst SimplekpiListKpiIcons_KpiIconSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the KPI icon\").nullable(),\n name: z.string().describe(\"Name of the KPI icon\").nullable(),\n large_pos: z.number().int().describe(\"Position for large icon display\").nullable().optional(),\n small_pos: z.number().int().describe(\"Position for small icon display\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI icon.\");\nexport const SimplekpiListKpiIconsOutput = z.object({\n icons: z.array(SimplekpiListKpiIcons_KpiIconSchema).describe(\"List of all KPI icon objects available in the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI icons.\");\n\nexport const simplekpiListKpiIcons = action(\"SIMPLEKPI_LIST_KPI_ICONS\", {\n slug: \"simplekpi-list-kpi-icons\",\n name: \"List KPI Icons\",\n description: \"Tool to retrieve all KPI icons from SimpleKPI. Use when you need to get available icons for display purposes or to help identify KPIs.\",\n input: SimplekpiListKpiIconsInput,\n output: SimplekpiListKpiIconsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const SimplekpiListKpiIconsOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
large_pos: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
small_pos: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const simplekpiListKpiIcons: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { simplekpiListKpiIcons };
|
|
@@ -8,8 +8,8 @@ declare const SimplekpiListKpiIconsOutput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
9
|
large_pos: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
small_pos: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const simplekpiListKpiIcons: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { simplekpiListKpiIcons };
|
|
@@ -7,13 +7,13 @@ const SimplekpiListKpiIcons_KpiIconSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the KPI icon").nullable(),
|
|
8
8
|
large_pos: z.number().int().describe("Position for large icon display").nullable().optional(),
|
|
9
9
|
small_pos: z.number().int().describe("Position for small icon display").nullable().optional()
|
|
10
|
-
}).describe("Model representing a single KPI icon.");
|
|
10
|
+
}).passthrough().describe("Model representing a single KPI icon.");
|
|
11
11
|
const simplekpiListKpiIcons = action("SIMPLEKPI_LIST_KPI_ICONS", {
|
|
12
12
|
slug: "simplekpi-list-kpi-icons",
|
|
13
13
|
name: "List KPI Icons",
|
|
14
14
|
description: "Tool to retrieve all KPI icons from SimpleKPI. Use when you need to get available icons for display purposes or to help identify KPIs.",
|
|
15
15
|
input: SimplekpiListKpiIconsInput,
|
|
16
|
-
output: z.object({ icons: z.array(SimplekpiListKpiIcons_KpiIconSchema).describe("List of all KPI icon objects available in the account").nullable().optional() }).describe("Response model containing list of all KPI icons.")
|
|
16
|
+
output: z.object({ icons: z.array(SimplekpiListKpiIcons_KpiIconSchema).describe("List of all KPI icon objects available in the account").nullable().optional() }).passthrough().describe("Response model containing list of all KPI icons.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { simplekpiListKpiIcons };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-icons.mjs","names":[],"sources":["../../src/actions/list-kpi-icons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiIconsInput = z.object({}).describe(\"Request model for listing KPI icons. No parameters required.\");\nconst SimplekpiListKpiIcons_KpiIconSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the KPI icon\").nullable(),\n name: z.string().describe(\"Name of the KPI icon\").nullable(),\n large_pos: z.number().int().describe(\"Position for large icon display\").nullable().optional(),\n small_pos: z.number().int().describe(\"Position for small icon display\").nullable().optional(),\n}).describe(\"Model representing a single KPI icon.\");\nexport const SimplekpiListKpiIconsOutput = z.object({\n icons: z.array(SimplekpiListKpiIcons_KpiIconSchema).describe(\"List of all KPI icon objects available in the account\").nullable().optional(),\n}).describe(\"Response model containing list of all KPI icons.\");\n\nexport const simplekpiListKpiIcons = action(\"SIMPLEKPI_LIST_KPI_ICONS\", {\n slug: \"simplekpi-list-kpi-icons\",\n name: \"List KPI Icons\",\n description: \"Tool to retrieve all KPI icons from SimpleKPI. Use when you need to get available icons for display purposes or to help identify KPIs.\",\n input: SimplekpiListKpiIconsInput,\n output: SimplekpiListKpiIconsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-kpi-icons.mjs","names":[],"sources":["../../src/actions/list-kpi-icons.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiIconsInput = z.object({}).describe(\"Request model for listing KPI icons. No parameters required.\");\nconst SimplekpiListKpiIcons_KpiIconSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the KPI icon\").nullable(),\n name: z.string().describe(\"Name of the KPI icon\").nullable(),\n large_pos: z.number().int().describe(\"Position for large icon display\").nullable().optional(),\n small_pos: z.number().int().describe(\"Position for small icon display\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI icon.\");\nexport const SimplekpiListKpiIconsOutput = z.object({\n icons: z.array(SimplekpiListKpiIcons_KpiIconSchema).describe(\"List of all KPI icon objects available in the account\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI icons.\");\n\nexport const simplekpiListKpiIcons = action(\"SIMPLEKPI_LIST_KPI_ICONS\", {\n slug: \"simplekpi-list-kpi-icons\",\n name: \"List KPI Icons\",\n description: \"Tool to retrieve all KPI icons from SimpleKPI. Use when you need to get available icons for display purposes or to help identify KPIs.\",\n input: SimplekpiListKpiIconsInput,\n output: SimplekpiListKpiIconsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const SimplekpiListKpiUnits_KpiUnitSchema = zod.z.object({
|
|
|
10
10
|
entry_format: zod.z.string().describe("Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).").nullable().optional(),
|
|
11
11
|
is_percentage: zod.z.boolean().describe("Indicates whether the value represents a percentage.").nullable().optional(),
|
|
12
12
|
display_format: zod.z.string().describe("Number format defining how values appear to users (max 25 characters).").nullable().optional()
|
|
13
|
-
}).describe("Model representing a single KPI unit from SimpleKPI.");
|
|
14
|
-
const SimplekpiListKpiUnitsOutput = zod.z.object({ units: zod.z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe("List of all KPI unit objects in the account.").nullable().optional() }).describe("Response model containing list of all KPI units.");
|
|
13
|
+
}).passthrough().describe("Model representing a single KPI unit from SimpleKPI.");
|
|
14
|
+
const SimplekpiListKpiUnitsOutput = zod.z.object({ units: zod.z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe("List of all KPI unit objects in the account.").nullable().optional() }).passthrough().describe("Response model containing list of all KPI units.");
|
|
15
15
|
const simplekpiListKpiUnits = require_action.action("SIMPLEKPI_LIST_KPI_UNITS", {
|
|
16
16
|
slug: "simplekpi-list-kpi-units",
|
|
17
17
|
name: "List All KPI Units",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-units.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-units.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"list-kpi-units.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-units.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const SimplekpiListKpiUnitsOutput: z.ZodObject<{
|
|
|
11
11
|
entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simplekpiListKpiUnits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { simplekpiListKpiUnits };
|
|
@@ -11,8 +11,8 @@ declare const SimplekpiListKpiUnitsOutput: z.ZodObject<{
|
|
|
11
11
|
entry_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simplekpiListKpiUnits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { simplekpiListKpiUnits };
|
|
@@ -10,13 +10,13 @@ const SimplekpiListKpiUnits_KpiUnitSchema = z.object({
|
|
|
10
10
|
entry_format: z.string().describe("Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).").nullable().optional(),
|
|
11
11
|
is_percentage: z.boolean().describe("Indicates whether the value represents a percentage.").nullable().optional(),
|
|
12
12
|
display_format: z.string().describe("Number format defining how values appear to users (max 25 characters).").nullable().optional()
|
|
13
|
-
}).describe("Model representing a single KPI unit from SimpleKPI.");
|
|
13
|
+
}).passthrough().describe("Model representing a single KPI unit from SimpleKPI.");
|
|
14
14
|
const simplekpiListKpiUnits = action("SIMPLEKPI_LIST_KPI_UNITS", {
|
|
15
15
|
slug: "simplekpi-list-kpi-units",
|
|
16
16
|
name: "List All KPI Units",
|
|
17
17
|
description: "Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).",
|
|
18
18
|
input: SimplekpiListKpiUnitsInput,
|
|
19
|
-
output: z.object({ units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe("List of all KPI unit objects in the account.").nullable().optional() }).describe("Response model containing list of all KPI units.")
|
|
19
|
+
output: z.object({ units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe("List of all KPI unit objects in the account.").nullable().optional() }).passthrough().describe("Response model containing list of all KPI units.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { simplekpiListKpiUnits };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-units.mjs","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,sDAAsD;
|
|
1
|
+
{"version":3,"file":"list-kpi-units.mjs","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -18,8 +18,8 @@ const SimplekpiListKpis_KpiSchema = zod.z.object({
|
|
|
18
18
|
target_default: zod.z.number().describe("Default target value for the KPI. Can be null if unset.").nullable().optional(),
|
|
19
19
|
value_direction: zod.z.string().describe("Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).").nullable().optional(),
|
|
20
20
|
aggregate_function: zod.z.string().describe("Calculation method used for aggregation: 'AVG' or 'SUM'.").nullable().optional()
|
|
21
|
-
}).describe("Model representing a single KPI from SimpleKPI.");
|
|
22
|
-
const SimplekpiListKpisOutput = zod.z.object({ kpis: zod.z.array(SimplekpiListKpis_KpiSchema).describe("List of all KPI objects in the account.").nullable().optional() }).describe("Response model containing list of all KPIs.");
|
|
21
|
+
}).passthrough().describe("Model representing a single KPI from SimpleKPI.");
|
|
22
|
+
const SimplekpiListKpisOutput = zod.z.object({ kpis: zod.z.array(SimplekpiListKpis_KpiSchema).describe("List of all KPI objects in the account.").nullable().optional() }).passthrough().describe("Response model containing list of all KPIs.");
|
|
23
23
|
const simplekpiListKpis = require_action.action("SIMPLEKPI_LIST_KPIS", {
|
|
24
24
|
slug: "simplekpi-list-kpis",
|
|
25
25
|
name: "List All KPIs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"list-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ declare const SimplekpiListKpisOutput: z.ZodObject<{
|
|
|
19
19
|
target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const simplekpiListKpis: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { simplekpiListKpis };
|
|
@@ -19,8 +19,8 @@ declare const SimplekpiListKpisOutput: z.ZodObject<{
|
|
|
19
19
|
target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const simplekpiListKpis: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { simplekpiListKpis };
|
|
@@ -18,13 +18,13 @@ const SimplekpiListKpis_KpiSchema = z.object({
|
|
|
18
18
|
target_default: z.number().describe("Default target value for the KPI. Can be null if unset.").nullable().optional(),
|
|
19
19
|
value_direction: z.string().describe("Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).").nullable().optional(),
|
|
20
20
|
aggregate_function: z.string().describe("Calculation method used for aggregation: 'AVG' or 'SUM'.").nullable().optional()
|
|
21
|
-
}).describe("Model representing a single KPI from SimpleKPI.");
|
|
21
|
+
}).passthrough().describe("Model representing a single KPI from SimpleKPI.");
|
|
22
22
|
const simplekpiListKpis = action("SIMPLEKPI_LIST_KPIS", {
|
|
23
23
|
slug: "simplekpi-list-kpis",
|
|
24
24
|
name: "List All KPIs",
|
|
25
25
|
description: "Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.",
|
|
26
26
|
input: SimplekpiListKpisInput,
|
|
27
|
-
output: z.object({ kpis: z.array(SimplekpiListKpis_KpiSchema).describe("List of all KPI objects in the account.").nullable().optional() }).describe("Response model containing list of all KPIs.")
|
|
27
|
+
output: z.object({ kpis: z.array(SimplekpiListKpis_KpiSchema).describe("List of all KPI objects in the account.").nullable().optional() }).passthrough().describe("Response model containing list of all KPIs.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { simplekpiListKpis };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpis.mjs","names":[],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"list-kpis.mjs","names":[],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const SimplekpiListUserGroupItems_UserGroupItemSchema = zod.z.object({
|
|
|
9
9
|
group_id: zod.z.number().int().describe("The id of the group the item is in").nullable(),
|
|
10
10
|
created_at: zod.z.string().describe("The UTC date and time the item was created").nullable(),
|
|
11
11
|
group_name: zod.z.string().describe("The name of the group (max 50 characters)").nullable()
|
|
12
|
-
}).describe("A group item assigned to a user.");
|
|
13
|
-
const SimplekpiListUserGroupItemsOutput = zod.z.object({ items: zod.z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe("List of group items assigned to the user") }).describe("Response model containing a list of group items assigned to a user.");
|
|
12
|
+
}).passthrough().describe("A group item assigned to a user.");
|
|
13
|
+
const SimplekpiListUserGroupItemsOutput = zod.z.object({ items: zod.z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe("List of group items assigned to the user") }).passthrough().describe("Response model containing a list of group items assigned to a user.");
|
|
14
14
|
const simplekpiListUserGroupItems = require_action.action("SIMPLEKPI_LIST_USER_GROUP_ITEMS", {
|
|
15
15
|
slug: "simplekpi-list-user-group-items",
|
|
16
16
|
name: "List User Group Items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-user-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).passthrough().describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).passthrough().describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0CAA0C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const SimplekpiListUserGroupItemsOutput: z.ZodObject<{
|
|
|
12
12
|
group_id: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
created_at: z.ZodNullable<z.ZodString>;
|
|
14
14
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const simplekpiListUserGroupItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
user_id: number;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,8 +12,8 @@ declare const SimplekpiListUserGroupItemsOutput: z.ZodObject<{
|
|
|
12
12
|
group_id: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
created_at: z.ZodNullable<z.ZodString>;
|
|
14
14
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const simplekpiListUserGroupItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
user_id: number;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,13 +9,13 @@ const SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({
|
|
|
9
9
|
group_id: z.number().int().describe("The id of the group the item is in").nullable(),
|
|
10
10
|
created_at: z.string().describe("The UTC date and time the item was created").nullable(),
|
|
11
11
|
group_name: z.string().describe("The name of the group (max 50 characters)").nullable()
|
|
12
|
-
}).describe("A group item assigned to a user.");
|
|
12
|
+
}).passthrough().describe("A group item assigned to a user.");
|
|
13
13
|
const simplekpiListUserGroupItems = action("SIMPLEKPI_LIST_USER_GROUP_ITEMS", {
|
|
14
14
|
slug: "simplekpi-list-user-group-items",
|
|
15
15
|
name: "List User Group Items",
|
|
16
16
|
description: "Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.",
|
|
17
17
|
input: SimplekpiListUserGroupItemsInput,
|
|
18
|
-
output: z.object({ items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe("List of group items assigned to the user") }).describe("Response model containing a list of group items assigned to a user.")
|
|
18
|
+
output: z.object({ items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe("List of group items assigned to the user") }).passthrough().describe("Response model containing a list of group items assigned to a user.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListUserGroupItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.mjs","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"list-user-group-items.mjs","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).passthrough().describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).passthrough().describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0CAA0C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const SimplekpiListUserKpis_UserKpiSchema = zod.z.object({
|
|
|
9
9
|
sort_order: zod.z.number().int().describe("Display sequence for KPIs on the entry screen").nullable(),
|
|
10
10
|
updated_at: zod.z.string().describe("UTC timestamp of the most recent modification").nullable(),
|
|
11
11
|
user_target: zod.z.number().describe("Custom target value; populated only when the KPI has a target").nullable().optional()
|
|
12
|
-
}).describe("Represents a KPI assigned to a user.");
|
|
13
|
-
const SimplekpiListUserKpisOutput = zod.z.object({ kpis: zod.z.array(SimplekpiListUserKpis_UserKpiSchema).describe("List of KPIs assigned to the user") }).describe("Response model for listing KPIs assigned to a user.");
|
|
12
|
+
}).passthrough().describe("Represents a KPI assigned to a user.");
|
|
13
|
+
const SimplekpiListUserKpisOutput = zod.z.object({ kpis: zod.z.array(SimplekpiListUserKpis_UserKpiSchema).describe("List of KPIs assigned to the user") }).passthrough().describe("Response model for listing KPIs assigned to a user.");
|
|
14
14
|
const simplekpiListUserKpis = require_action.action("SIMPLEKPI_LIST_USER_KPIS", {
|
|
15
15
|
slug: "simplekpi-list-user-kpis",
|
|
16
16
|
name: "List User KPIs",
|