@keystrokehq/simplekpi 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-user-group-item.cjs +26 -0
- package/dist/actions/add-user-group-item.cjs.map +1 -0
- package/dist/actions/add-user-group-item.d.cts +9 -0
- package/dist/actions/add-user-group-item.d.cts.map +1 -0
- package/dist/actions/add-user-group-item.d.mts +9 -0
- package/dist/actions/add-user-group-item.d.mts.map +1 -0
- package/dist/actions/add-user-group-item.mjs +23 -0
- package/dist/actions/add-user-group-item.mjs.map +1 -0
- package/dist/actions/add-user-kpi.cjs +28 -0
- package/dist/actions/add-user-kpi.cjs.map +1 -0
- package/dist/actions/add-user-kpi.d.cts +9 -0
- package/dist/actions/add-user-kpi.d.cts.map +1 -0
- package/dist/actions/add-user-kpi.d.mts +9 -0
- package/dist/actions/add-user-kpi.d.mts.map +1 -0
- package/dist/actions/add-user-kpi.mjs +25 -0
- package/dist/actions/add-user-kpi.mjs.map +1 -0
- package/dist/actions/create-category-kpi.cjs +41 -0
- package/dist/actions/create-category-kpi.cjs.map +1 -0
- package/dist/actions/create-category-kpi.d.cts +9 -0
- package/dist/actions/create-category-kpi.d.cts.map +1 -0
- package/dist/actions/create-category-kpi.d.mts +9 -0
- package/dist/actions/create-category-kpi.d.mts.map +1 -0
- package/dist/actions/create-category-kpi.mjs +38 -0
- package/dist/actions/create-category-kpi.mjs.map +1 -0
- package/dist/actions/create-group-item.cjs +27 -0
- package/dist/actions/create-group-item.cjs.map +1 -0
- package/dist/actions/create-group-item.d.cts +9 -0
- package/dist/actions/create-group-item.d.cts.map +1 -0
- package/dist/actions/create-group-item.d.mts +9 -0
- package/dist/actions/create-group-item.d.mts.map +1 -0
- package/dist/actions/create-group-item.mjs +24 -0
- package/dist/actions/create-group-item.mjs.map +1 -0
- package/dist/actions/create-group.cjs +25 -0
- package/dist/actions/create-group.cjs.map +1 -0
- package/dist/actions/create-group.d.cts +9 -0
- package/dist/actions/create-group.d.cts.map +1 -0
- package/dist/actions/create-group.d.mts +9 -0
- package/dist/actions/create-group.d.mts.map +1 -0
- package/dist/actions/create-group.mjs +22 -0
- package/dist/actions/create-group.mjs.map +1 -0
- package/dist/actions/create-kpi-category.cjs +25 -0
- package/dist/actions/create-kpi-category.cjs.map +1 -0
- package/dist/actions/create-kpi-category.d.cts +9 -0
- package/dist/actions/create-kpi-category.d.cts.map +1 -0
- package/dist/actions/create-kpi-category.d.mts +9 -0
- package/dist/actions/create-kpi-category.d.mts.map +1 -0
- package/dist/actions/create-kpi-category.mjs +22 -0
- package/dist/actions/create-kpi-category.mjs.map +1 -0
- package/dist/actions/create-kpi-unit.cjs +29 -0
- package/dist/actions/create-kpi-unit.cjs.map +1 -0
- package/dist/actions/create-kpi-unit.d.cts +9 -0
- package/dist/actions/create-kpi-unit.d.cts.map +1 -0
- package/dist/actions/create-kpi-unit.d.mts +9 -0
- package/dist/actions/create-kpi-unit.d.mts.map +1 -0
- package/dist/actions/create-kpi-unit.mjs +26 -0
- package/dist/actions/create-kpi-unit.mjs.map +1 -0
- package/dist/actions/create-kpi.cjs +46 -0
- package/dist/actions/create-kpi.cjs.map +1 -0
- package/dist/actions/create-kpi.d.cts +9 -0
- package/dist/actions/create-kpi.d.cts.map +1 -0
- package/dist/actions/create-kpi.d.mts +9 -0
- package/dist/actions/create-kpi.d.mts.map +1 -0
- package/dist/actions/create-kpi.mjs +43 -0
- package/dist/actions/create-kpi.mjs.map +1 -0
- package/dist/actions/create-or-update-kpi-entries.cjs +33 -0
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -0
- package/dist/actions/create-or-update-kpi-entries.d.cts +9 -0
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -0
- package/dist/actions/create-or-update-kpi-entries.d.mts +9 -0
- package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -0
- package/dist/actions/create-or-update-kpi-entries.mjs +30 -0
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -0
- package/dist/actions/create-user.cjs +41 -0
- package/dist/actions/create-user.cjs.map +1 -0
- package/dist/actions/create-user.d.cts +9 -0
- package/dist/actions/create-user.d.cts.map +1 -0
- package/dist/actions/create-user.d.mts +9 -0
- package/dist/actions/create-user.d.mts.map +1 -0
- package/dist/actions/create-user.mjs +38 -0
- package/dist/actions/create-user.mjs.map +1 -0
- package/dist/actions/delete-category-kpi.cjs +19 -0
- package/dist/actions/delete-category-kpi.cjs.map +1 -0
- package/dist/actions/delete-category-kpi.d.cts +9 -0
- package/dist/actions/delete-category-kpi.d.cts.map +1 -0
- package/dist/actions/delete-category-kpi.d.mts +9 -0
- package/dist/actions/delete-category-kpi.d.mts.map +1 -0
- package/dist/actions/delete-category-kpi.mjs +16 -0
- package/dist/actions/delete-category-kpi.mjs.map +1 -0
- package/dist/actions/delete-group-item.cjs +22 -0
- package/dist/actions/delete-group-item.cjs.map +1 -0
- package/dist/actions/delete-group-item.d.cts +9 -0
- package/dist/actions/delete-group-item.d.cts.map +1 -0
- package/dist/actions/delete-group-item.d.mts +9 -0
- package/dist/actions/delete-group-item.d.mts.map +1 -0
- package/dist/actions/delete-group-item.mjs +19 -0
- package/dist/actions/delete-group-item.mjs.map +1 -0
- package/dist/actions/delete-group.cjs +19 -0
- package/dist/actions/delete-group.cjs.map +1 -0
- package/dist/actions/delete-group.d.cts +9 -0
- package/dist/actions/delete-group.d.cts.map +1 -0
- package/dist/actions/delete-group.d.mts +9 -0
- package/dist/actions/delete-group.d.mts.map +1 -0
- package/dist/actions/delete-group.mjs +16 -0
- package/dist/actions/delete-group.mjs.map +1 -0
- package/dist/actions/delete-kpi-category.cjs +20 -0
- package/dist/actions/delete-kpi-category.cjs.map +1 -0
- package/dist/actions/delete-kpi-category.d.cts +9 -0
- package/dist/actions/delete-kpi-category.d.cts.map +1 -0
- package/dist/actions/delete-kpi-category.d.mts +9 -0
- package/dist/actions/delete-kpi-category.d.mts.map +1 -0
- package/dist/actions/delete-kpi-category.mjs +17 -0
- package/dist/actions/delete-kpi-category.mjs.map +1 -0
- package/dist/actions/delete-kpi-entry.cjs +16 -0
- package/dist/actions/delete-kpi-entry.cjs.map +1 -0
- package/dist/actions/delete-kpi-entry.d.cts +9 -0
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -0
- package/dist/actions/delete-kpi-entry.d.mts +9 -0
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -0
- package/dist/actions/delete-kpi-entry.mjs +13 -0
- package/dist/actions/delete-kpi-entry.mjs.map +1 -0
- package/dist/actions/delete-kpi-unit.cjs +20 -0
- package/dist/actions/delete-kpi-unit.cjs.map +1 -0
- package/dist/actions/delete-kpi-unit.d.cts +9 -0
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -0
- package/dist/actions/delete-kpi-unit.d.mts +9 -0
- package/dist/actions/delete-kpi-unit.d.mts.map +1 -0
- package/dist/actions/delete-kpi-unit.mjs +17 -0
- package/dist/actions/delete-kpi-unit.mjs.map +1 -0
- package/dist/actions/delete-kpi.cjs +19 -0
- package/dist/actions/delete-kpi.cjs.map +1 -0
- package/dist/actions/delete-kpi.d.cts +9 -0
- package/dist/actions/delete-kpi.d.cts.map +1 -0
- package/dist/actions/delete-kpi.d.mts +9 -0
- package/dist/actions/delete-kpi.d.mts.map +1 -0
- package/dist/actions/delete-kpi.mjs +16 -0
- package/dist/actions/delete-kpi.mjs.map +1 -0
- package/dist/actions/delete-user-group-item.cjs +19 -0
- package/dist/actions/delete-user-group-item.cjs.map +1 -0
- package/dist/actions/delete-user-group-item.d.cts +9 -0
- package/dist/actions/delete-user-group-item.d.cts.map +1 -0
- package/dist/actions/delete-user-group-item.d.mts +9 -0
- package/dist/actions/delete-user-group-item.d.mts.map +1 -0
- package/dist/actions/delete-user-group-item.mjs +16 -0
- package/dist/actions/delete-user-group-item.mjs.map +1 -0
- package/dist/actions/delete-user-kpi.cjs +22 -0
- package/dist/actions/delete-user-kpi.cjs.map +1 -0
- package/dist/actions/delete-user-kpi.d.cts +9 -0
- package/dist/actions/delete-user-kpi.d.cts.map +1 -0
- package/dist/actions/delete-user-kpi.d.mts +9 -0
- package/dist/actions/delete-user-kpi.d.mts.map +1 -0
- package/dist/actions/delete-user-kpi.mjs +19 -0
- package/dist/actions/delete-user-kpi.mjs.map +1 -0
- package/dist/actions/delete-user.cjs +19 -0
- package/dist/actions/delete-user.cjs.map +1 -0
- package/dist/actions/delete-user.d.cts +9 -0
- package/dist/actions/delete-user.d.cts.map +1 -0
- package/dist/actions/delete-user.d.mts +9 -0
- package/dist/actions/delete-user.d.mts.map +1 -0
- package/dist/actions/delete-user.mjs +16 -0
- package/dist/actions/delete-user.mjs.map +1 -0
- package/dist/actions/get-all-data-entries.cjs +40 -0
- package/dist/actions/get-all-data-entries.cjs.map +1 -0
- package/dist/actions/get-all-data-entries.d.cts +9 -0
- package/dist/actions/get-all-data-entries.d.cts.map +1 -0
- package/dist/actions/get-all-data-entries.d.mts +9 -0
- package/dist/actions/get-all-data-entries.d.mts.map +1 -0
- package/dist/actions/get-all-data-entries.mjs +39 -0
- package/dist/actions/get-all-data-entries.mjs.map +1 -0
- package/dist/actions/get-category-kpi.cjs +35 -0
- package/dist/actions/get-category-kpi.cjs.map +1 -0
- package/dist/actions/get-category-kpi.d.cts +9 -0
- package/dist/actions/get-category-kpi.d.cts.map +1 -0
- package/dist/actions/get-category-kpi.d.mts +9 -0
- package/dist/actions/get-category-kpi.d.mts.map +1 -0
- package/dist/actions/get-category-kpi.mjs +32 -0
- package/dist/actions/get-category-kpi.mjs.map +1 -0
- package/dist/actions/get-group-item.cjs +26 -0
- package/dist/actions/get-group-item.cjs.map +1 -0
- package/dist/actions/get-group-item.d.cts +9 -0
- package/dist/actions/get-group-item.d.cts.map +1 -0
- package/dist/actions/get-group-item.d.mts +9 -0
- package/dist/actions/get-group-item.d.mts.map +1 -0
- package/dist/actions/get-group-item.mjs +23 -0
- package/dist/actions/get-group-item.mjs.map +1 -0
- package/dist/actions/get-group.cjs +22 -0
- package/dist/actions/get-group.cjs.map +1 -0
- package/dist/actions/get-group.d.cts +9 -0
- package/dist/actions/get-group.d.cts.map +1 -0
- package/dist/actions/get-group.d.mts +9 -0
- package/dist/actions/get-group.d.mts.map +1 -0
- package/dist/actions/get-group.mjs +19 -0
- package/dist/actions/get-group.mjs.map +1 -0
- package/dist/actions/get-kpi-category.cjs +22 -0
- package/dist/actions/get-kpi-category.cjs.map +1 -0
- package/dist/actions/get-kpi-category.d.cts +9 -0
- package/dist/actions/get-kpi-category.d.cts.map +1 -0
- package/dist/actions/get-kpi-category.d.mts +9 -0
- package/dist/actions/get-kpi-category.d.mts.map +1 -0
- package/dist/actions/get-kpi-category.mjs +19 -0
- package/dist/actions/get-kpi-category.mjs.map +1 -0
- package/dist/actions/get-kpi-entry.cjs +26 -0
- package/dist/actions/get-kpi-entry.cjs.map +1 -0
- package/dist/actions/get-kpi-entry.d.cts +9 -0
- package/dist/actions/get-kpi-entry.d.cts.map +1 -0
- package/dist/actions/get-kpi-entry.d.mts +9 -0
- package/dist/actions/get-kpi-entry.d.mts.map +1 -0
- package/dist/actions/get-kpi-entry.mjs +23 -0
- package/dist/actions/get-kpi-entry.mjs.map +1 -0
- package/dist/actions/get-kpi-frequency.cjs +19 -0
- package/dist/actions/get-kpi-frequency.cjs.map +1 -0
- package/dist/actions/get-kpi-frequency.d.cts +9 -0
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -0
- package/dist/actions/get-kpi-frequency.d.mts +9 -0
- package/dist/actions/get-kpi-frequency.d.mts.map +1 -0
- package/dist/actions/get-kpi-frequency.mjs +16 -0
- package/dist/actions/get-kpi-frequency.mjs.map +1 -0
- package/dist/actions/get-kpi-icon.cjs +19 -0
- package/dist/actions/get-kpi-icon.cjs.map +1 -0
- package/dist/actions/get-kpi-icon.d.cts +9 -0
- package/dist/actions/get-kpi-icon.d.cts.map +1 -0
- package/dist/actions/get-kpi-icon.d.mts +9 -0
- package/dist/actions/get-kpi-icon.d.mts.map +1 -0
- package/dist/actions/get-kpi-icon.mjs +16 -0
- package/dist/actions/get-kpi-icon.mjs.map +1 -0
- package/dist/actions/get-kpi-unit.cjs +24 -0
- package/dist/actions/get-kpi-unit.cjs.map +1 -0
- package/dist/actions/get-kpi-unit.d.cts +9 -0
- package/dist/actions/get-kpi-unit.d.cts.map +1 -0
- package/dist/actions/get-kpi-unit.d.mts +9 -0
- package/dist/actions/get-kpi-unit.d.mts.map +1 -0
- package/dist/actions/get-kpi-unit.mjs +21 -0
- package/dist/actions/get-kpi-unit.mjs.map +1 -0
- package/dist/actions/get-kpi.cjs +32 -0
- package/dist/actions/get-kpi.cjs.map +1 -0
- package/dist/actions/get-kpi.d.cts +9 -0
- package/dist/actions/get-kpi.d.cts.map +1 -0
- package/dist/actions/get-kpi.d.mts +9 -0
- package/dist/actions/get-kpi.d.mts.map +1 -0
- package/dist/actions/get-kpi.mjs +29 -0
- package/dist/actions/get-kpi.mjs.map +1 -0
- package/dist/actions/get-user-group-item.cjs +26 -0
- package/dist/actions/get-user-group-item.cjs.map +1 -0
- package/dist/actions/get-user-group-item.d.cts +9 -0
- package/dist/actions/get-user-group-item.d.cts.map +1 -0
- package/dist/actions/get-user-group-item.d.mts +9 -0
- package/dist/actions/get-user-group-item.d.mts.map +1 -0
- package/dist/actions/get-user-group-item.mjs +23 -0
- package/dist/actions/get-user-group-item.mjs.map +1 -0
- package/dist/actions/get-user-kpi.cjs +26 -0
- package/dist/actions/get-user-kpi.cjs.map +1 -0
- package/dist/actions/get-user-kpi.d.cts +9 -0
- package/dist/actions/get-user-kpi.d.cts.map +1 -0
- package/dist/actions/get-user-kpi.d.mts +9 -0
- package/dist/actions/get-user-kpi.d.mts.map +1 -0
- package/dist/actions/get-user-kpi.mjs +23 -0
- package/dist/actions/get-user-kpi.mjs.map +1 -0
- package/dist/actions/get-user.cjs +30 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +27 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +103 -0
- package/dist/actions/index.d.cts +52 -0
- package/dist/actions/index.d.mts +52 -0
- package/dist/actions/index.mjs +52 -0
- package/dist/actions/list-category-kpis.cjs +33 -0
- package/dist/actions/list-category-kpis.cjs.map +1 -0
- package/dist/actions/list-category-kpis.d.cts +9 -0
- package/dist/actions/list-category-kpis.d.cts.map +1 -0
- package/dist/actions/list-category-kpis.d.mts +9 -0
- package/dist/actions/list-category-kpis.d.mts.map +1 -0
- package/dist/actions/list-category-kpis.mjs +32 -0
- package/dist/actions/list-category-kpis.mjs.map +1 -0
- package/dist/actions/list-group-items.cjs +24 -0
- package/dist/actions/list-group-items.cjs.map +1 -0
- package/dist/actions/list-group-items.d.cts +9 -0
- package/dist/actions/list-group-items.d.cts.map +1 -0
- package/dist/actions/list-group-items.d.mts +9 -0
- package/dist/actions/list-group-items.d.mts.map +1 -0
- package/dist/actions/list-group-items.mjs +23 -0
- package/dist/actions/list-group-items.mjs.map +1 -0
- package/dist/actions/list-groups.cjs +23 -0
- package/dist/actions/list-groups.cjs.map +1 -0
- package/dist/actions/list-groups.d.cts +9 -0
- package/dist/actions/list-groups.d.cts.map +1 -0
- package/dist/actions/list-groups.d.mts +9 -0
- package/dist/actions/list-groups.d.mts.map +1 -0
- package/dist/actions/list-groups.mjs +22 -0
- package/dist/actions/list-groups.mjs.map +1 -0
- package/dist/actions/list-kpi-categories.cjs +23 -0
- package/dist/actions/list-kpi-categories.cjs.map +1 -0
- package/dist/actions/list-kpi-categories.d.cts +9 -0
- package/dist/actions/list-kpi-categories.d.cts.map +1 -0
- package/dist/actions/list-kpi-categories.d.mts +9 -0
- package/dist/actions/list-kpi-categories.d.mts.map +1 -0
- package/dist/actions/list-kpi-categories.mjs +22 -0
- package/dist/actions/list-kpi-categories.mjs.map +1 -0
- package/dist/actions/list-kpi-entries.cjs +34 -0
- package/dist/actions/list-kpi-entries.cjs.map +1 -0
- package/dist/actions/list-kpi-entries.d.cts +9 -0
- package/dist/actions/list-kpi-entries.d.cts.map +1 -0
- package/dist/actions/list-kpi-entries.d.mts +9 -0
- package/dist/actions/list-kpi-entries.d.mts.map +1 -0
- package/dist/actions/list-kpi-entries.mjs +33 -0
- package/dist/actions/list-kpi-entries.mjs.map +1 -0
- package/dist/actions/list-kpi-frequencies.cjs +20 -0
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -0
- package/dist/actions/list-kpi-frequencies.d.cts +9 -0
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -0
- package/dist/actions/list-kpi-frequencies.d.mts +9 -0
- package/dist/actions/list-kpi-frequencies.d.mts.map +1 -0
- package/dist/actions/list-kpi-frequencies.mjs +19 -0
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -0
- package/dist/actions/list-kpi-icons.cjs +22 -0
- package/dist/actions/list-kpi-icons.cjs.map +1 -0
- package/dist/actions/list-kpi-icons.d.cts +9 -0
- package/dist/actions/list-kpi-icons.d.cts.map +1 -0
- package/dist/actions/list-kpi-icons.d.mts +9 -0
- package/dist/actions/list-kpi-icons.d.mts.map +1 -0
- package/dist/actions/list-kpi-icons.mjs +21 -0
- package/dist/actions/list-kpi-icons.mjs.map +1 -0
- package/dist/actions/list-kpi-units.cjs +25 -0
- package/dist/actions/list-kpi-units.cjs.map +1 -0
- package/dist/actions/list-kpi-units.d.cts +9 -0
- package/dist/actions/list-kpi-units.d.cts.map +1 -0
- package/dist/actions/list-kpi-units.d.mts +9 -0
- package/dist/actions/list-kpi-units.d.mts.map +1 -0
- package/dist/actions/list-kpi-units.mjs +24 -0
- package/dist/actions/list-kpi-units.mjs.map +1 -0
- package/dist/actions/list-kpis.cjs +33 -0
- package/dist/actions/list-kpis.cjs.map +1 -0
- package/dist/actions/list-kpis.d.cts +9 -0
- package/dist/actions/list-kpis.d.cts.map +1 -0
- package/dist/actions/list-kpis.d.mts +9 -0
- package/dist/actions/list-kpis.d.mts.map +1 -0
- package/dist/actions/list-kpis.mjs +32 -0
- package/dist/actions/list-kpis.mjs.map +1 -0
- package/dist/actions/list-user-group-items.cjs +24 -0
- package/dist/actions/list-user-group-items.cjs.map +1 -0
- package/dist/actions/list-user-group-items.d.cts +9 -0
- package/dist/actions/list-user-group-items.d.cts.map +1 -0
- package/dist/actions/list-user-group-items.d.mts +9 -0
- package/dist/actions/list-user-group-items.d.mts.map +1 -0
- package/dist/actions/list-user-group-items.mjs +23 -0
- package/dist/actions/list-user-group-items.mjs.map +1 -0
- package/dist/actions/list-user-kpis.cjs +24 -0
- package/dist/actions/list-user-kpis.cjs.map +1 -0
- package/dist/actions/list-user-kpis.d.cts +9 -0
- package/dist/actions/list-user-kpis.d.cts.map +1 -0
- package/dist/actions/list-user-kpis.d.mts +9 -0
- package/dist/actions/list-user-kpis.d.mts.map +1 -0
- package/dist/actions/list-user-kpis.mjs +23 -0
- package/dist/actions/list-user-kpis.mjs.map +1 -0
- package/dist/actions/update-category-kpi.cjs +54 -0
- package/dist/actions/update-category-kpi.cjs.map +1 -0
- package/dist/actions/update-category-kpi.d.cts +9 -0
- package/dist/actions/update-category-kpi.d.cts.map +1 -0
- package/dist/actions/update-category-kpi.d.mts +9 -0
- package/dist/actions/update-category-kpi.d.mts.map +1 -0
- package/dist/actions/update-category-kpi.mjs +51 -0
- package/dist/actions/update-category-kpi.mjs.map +1 -0
- package/dist/actions/update-group-item.cjs +26 -0
- package/dist/actions/update-group-item.cjs.map +1 -0
- package/dist/actions/update-group-item.d.cts +9 -0
- package/dist/actions/update-group-item.d.cts.map +1 -0
- package/dist/actions/update-group-item.d.mts +9 -0
- package/dist/actions/update-group-item.d.mts.map +1 -0
- package/dist/actions/update-group-item.mjs +23 -0
- package/dist/actions/update-group-item.mjs.map +1 -0
- package/dist/actions/update-group.cjs +24 -0
- package/dist/actions/update-group.cjs.map +1 -0
- package/dist/actions/update-group.d.cts +9 -0
- package/dist/actions/update-group.d.cts.map +1 -0
- package/dist/actions/update-group.d.mts +9 -0
- package/dist/actions/update-group.d.mts.map +1 -0
- package/dist/actions/update-group.mjs +21 -0
- package/dist/actions/update-group.mjs.map +1 -0
- package/dist/actions/update-kpi-entry.cjs +34 -0
- package/dist/actions/update-kpi-entry.cjs.map +1 -0
- package/dist/actions/update-kpi-entry.d.cts +9 -0
- package/dist/actions/update-kpi-entry.d.cts.map +1 -0
- package/dist/actions/update-kpi-entry.d.mts +9 -0
- package/dist/actions/update-kpi-entry.d.mts.map +1 -0
- package/dist/actions/update-kpi-entry.mjs +31 -0
- package/dist/actions/update-kpi-entry.mjs.map +1 -0
- package/dist/actions/update-kpi-unit.cjs +28 -0
- package/dist/actions/update-kpi-unit.cjs.map +1 -0
- package/dist/actions/update-kpi-unit.d.cts +9 -0
- package/dist/actions/update-kpi-unit.d.cts.map +1 -0
- package/dist/actions/update-kpi-unit.d.mts +9 -0
- package/dist/actions/update-kpi-unit.d.mts.map +1 -0
- package/dist/actions/update-kpi-unit.mjs +25 -0
- package/dist/actions/update-kpi-unit.mjs.map +1 -0
- package/dist/actions/update-kpi.cjs +52 -0
- package/dist/actions/update-kpi.cjs.map +1 -0
- package/dist/actions/update-kpi.d.cts +9 -0
- package/dist/actions/update-kpi.d.cts.map +1 -0
- package/dist/actions/update-kpi.d.mts +9 -0
- package/dist/actions/update-kpi.d.mts.map +1 -0
- package/dist/actions/update-kpi.mjs +49 -0
- package/dist/actions/update-kpi.mjs.map +1 -0
- package/dist/actions/update-user.cjs +34 -0
- package/dist/actions/update-user.cjs.map +1 -0
- package/dist/actions/update-user.d.cts +9 -0
- package/dist/actions/update-user.d.cts.map +1 -0
- package/dist/actions/update-user.d.mts +9 -0
- package/dist/actions/update-user.d.mts.map +1 -0
- package/dist/actions/update-user.mjs +31 -0
- package/dist/actions/update-user.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +108 -0
- package/dist/index.d.cts +54 -0
- package/dist/index.d.mts +54 -0
- package/dist/index.mjs +55 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-kpi-unit.d.ts
|
|
4
|
+
declare const SimplekpiUpdateKpiUnitInput: z.ZodTypeAny;
|
|
5
|
+
declare const SimplekpiUpdateKpiUnitOutput: z.ZodTypeAny;
|
|
6
|
+
declare const simplekpiUpdateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { simplekpiUpdateKpiUnit };
|
|
9
|
+
//# sourceMappingURL=update-kpi-unit.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.d.mts","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMmB;AAAA,cAClD,4BAAA,EAA8B,CAAA,CAAE,UAMS;AAAA,cAEzC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const simplekpiUpdateKpiUnit = action("SIMPLEKPI_UPDATE_KPI_UNIT", {
|
|
4
|
+
slug: "simplekpi-update-kpi-unit",
|
|
5
|
+
name: "Update KPI Unit",
|
|
6
|
+
description: "Tool to update an existing KPI unit in SimpleKPI. Use when you need to modify unit properties such as name, entry format, display format, or percentage status.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("The unit ID to update"),
|
|
9
|
+
name: z.string().describe("The name of the KPI unit (maximum 25 characters)"),
|
|
10
|
+
entry_format: z.string().describe("The entry format is only for entry and will not have the prefix or suffix (e.g., #.00). Maximum 25 characters."),
|
|
11
|
+
is_percentage: z.boolean().describe("To determine if the value is a percentage as these values are treated differently"),
|
|
12
|
+
display_format: z.string().describe("The display format must be a valid number format (e.g., £ #.00). Maximum 25 characters.")
|
|
13
|
+
}).describe("Request model for updating an existing KPI unit."),
|
|
14
|
+
output: z.object({
|
|
15
|
+
id: z.number().int().describe("The unit ID"),
|
|
16
|
+
name: z.string().describe("The name of the KPI unit"),
|
|
17
|
+
entry_format: z.string().describe("The entry format"),
|
|
18
|
+
is_percentage: z.boolean().describe("Whether the value is a percentage"),
|
|
19
|
+
display_format: z.string().describe("The display format")
|
|
20
|
+
}).describe("Response model for updating a KPI unit.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { simplekpiUpdateKpiUnit };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=update-kpi-unit.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.mjs","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiUnitInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unit ID to update\"),\n name: z.string().describe(\"The name of the KPI unit (maximum 25 characters)\"),\n entry_format: z.string().describe(\"The entry format is only for entry and will not have the prefix or suffix (e.g., #.00). Maximum 25 characters.\"),\n is_percentage: z.boolean().describe(\"To determine if the value is a percentage as these values are treated differently\"),\n display_format: z.string().describe(\"The display format must be a valid number format (e.g., £ #.00). Maximum 25 characters.\"),\n}).describe(\"Request model for updating an existing KPI unit.\");\nexport const SimplekpiUpdateKpiUnitOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unit ID\"),\n name: z.string().describe(\"The name of the KPI unit\"),\n entry_format: z.string().describe(\"The entry format\"),\n is_percentage: z.boolean().describe(\"Whether the value is a percentage\"),\n display_format: z.string().describe(\"The display format\"),\n}).describe(\"Response model for updating a KPI unit.\");\n\nexport const simplekpiUpdateKpiUnit = action(\"SIMPLEKPI_UPDATE_KPI_UNIT\", {\n slug: \"simplekpi-update-kpi-unit\",\n name: \"Update KPI Unit\",\n description: \"Tool to update an existing KPI unit in SimpleKPI. Use when you need to modify unit properties such as name, entry format, display format, or percentage status.\",\n input: SimplekpiUpdateKpiUnitInput,\n output: SimplekpiUpdateKpiUnitOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;EAClJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAbwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACpD,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC1D,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-kpi.ts
|
|
4
|
+
const SimplekpiUpdateKpiInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("KPI ID to update"),
|
|
6
|
+
name: zod.z.string().describe("KPI name (maximum 100 characters)"),
|
|
7
|
+
icon_id: zod.z.number().int().describe("Icon identifier for the KPI"),
|
|
8
|
+
unit_id: zod.z.number().int().describe("Unit of measure identifier"),
|
|
9
|
+
is_active: zod.z.boolean().describe("Activation status for data entry. Set to true to enable data entry, false to disable."),
|
|
10
|
+
sort_order: zod.z.number().int().describe("Display order ranking for the KPI"),
|
|
11
|
+
category_id: zod.z.number().int().describe("KPI Category ID that this KPI belongs to"),
|
|
12
|
+
description: zod.z.string().describe("KPI description (maximum 150 characters)").optional(),
|
|
13
|
+
frequency_id: zod.z.enum([
|
|
14
|
+
"D",
|
|
15
|
+
"W",
|
|
16
|
+
"M",
|
|
17
|
+
"Q",
|
|
18
|
+
"Y"
|
|
19
|
+
]).describe("Data entry frequency (D=Daily, W=Weekly, M=Monthly, Q=Quarterly, Y=Yearly). Case-sensitive, must be uppercase."),
|
|
20
|
+
target_default: zod.z.number().describe("Default target value for the KPI").optional(),
|
|
21
|
+
value_direction: zod.z.enum([
|
|
22
|
+
"U",
|
|
23
|
+
"D",
|
|
24
|
+
"N"
|
|
25
|
+
]).describe("Direction indicator: U(p) means higher is better, D(own) means lower is better, N(one) means no direction"),
|
|
26
|
+
aggregate_function: zod.z.enum(["AVG", "SUM"]).describe("How the KPI is calculated: AVG (Average) or SUM (Total Sum)")
|
|
27
|
+
}).describe("Request model for updating an existing KPI.");
|
|
28
|
+
const SimplekpiUpdateKpiOutput = zod.z.object({
|
|
29
|
+
id: zod.z.number().int().describe("KPI ID"),
|
|
30
|
+
name: zod.z.string().describe("KPI name"),
|
|
31
|
+
icon_id: zod.z.number().int().describe("Icon identifier"),
|
|
32
|
+
unit_id: zod.z.number().int().describe("Unit of measure identifier"),
|
|
33
|
+
is_active: zod.z.boolean().describe("Activation status"),
|
|
34
|
+
sort_order: zod.z.number().int().describe("Display order ranking"),
|
|
35
|
+
category_id: zod.z.number().int().describe("KPI Category ID"),
|
|
36
|
+
description: zod.z.string().describe("KPI description").nullable().optional(),
|
|
37
|
+
frequency_id: zod.z.string().describe("Data entry frequency"),
|
|
38
|
+
target_default: zod.z.number().describe("Default target value").nullable().optional(),
|
|
39
|
+
value_direction: zod.z.string().describe("Direction indicator"),
|
|
40
|
+
aggregate_function: zod.z.string().describe("Aggregate function")
|
|
41
|
+
}).describe("Response model for updating a KPI.");
|
|
42
|
+
const simplekpiUpdateKpi = require_action.action("SIMPLEKPI_UPDATE_KPI", {
|
|
43
|
+
slug: "simplekpi-update-kpi",
|
|
44
|
+
name: "Update KPI",
|
|
45
|
+
description: "Tool to update an existing KPI in SimpleKPI. Use when you need to modify KPI properties such as name, description, target values, or settings.",
|
|
46
|
+
input: SimplekpiUpdateKpiInput,
|
|
47
|
+
output: SimplekpiUpdateKpiOutput
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
exports.simplekpiUpdateKpi = simplekpiUpdateKpi;
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=update-kpi.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"Icon identifier for the KPI\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Activation status for data entry. Set to true to enable data entry, false to disable.\"),\n sort_order: z.number().int().describe(\"Display order ranking for the KPI\"),\n category_id: z.number().int().describe(\"KPI Category ID that this KPI belongs to\"),\n description: z.string().describe(\"KPI description (maximum 150 characters)\").optional(),\n frequency_id: z.enum([\"D\", \"W\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency (D=Daily, W=Weekly, M=Monthly, Q=Quarterly, Y=Yearly). Case-sensitive, must be uppercase.\"),\n target_default: z.number().describe(\"Default target value for the KPI\").optional(),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: U(p) means higher is better, D(own) means lower is better, N(one) means no direction\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"How the KPI is calculated: AVG (Average) or SUM (Total Sum)\"),\n}).describe(\"Request model for updating an existing KPI.\");\nexport const SimplekpiUpdateKpiOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"KPI ID\"),\n name: z.string().describe(\"KPI name\"),\n icon_id: z.number().int().describe(\"Icon identifier\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Activation status\"),\n sort_order: z.number().int().describe(\"Display order ranking\"),\n category_id: z.number().int().describe(\"KPI Category ID\"),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\"),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\"),\n aggregate_function: z.string().describe(\"Aggregate function\"),\n}).describe(\"Response model for updating a KPI.\");\n\nexport const simplekpiUpdateKpi = action(\"SIMPLEKPI_UPDATE_KPI\", {\n slug: \"simplekpi-update-kpi\",\n name: \"Update KPI\",\n description: \"Tool to update an existing KPI in SimpleKPI. Use when you need to modify KPI properties such as name, description, target values, or settings.\",\n input: SimplekpiUpdateKpiInput,\n output: SimplekpiUpdateKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,gHAAgH;CACzK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,2GAA2G;CAC7J,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ;CACtC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;CACpC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mBAAmB;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;CACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACxD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC1D,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;AAC9D,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-kpi.d.ts
|
|
4
|
+
declare const SimplekpiUpdateKpiInput: z.ZodTypeAny;
|
|
5
|
+
declare const SimplekpiUpdateKpiOutput: z.ZodTypeAny;
|
|
6
|
+
declare const simplekpiUpdateKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { simplekpiUpdateKpi };
|
|
9
|
+
//# sourceMappingURL=update-kpi.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-kpi.d.cts","names":[],"sources":["../../src/actions/update-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAakB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAaQ;AAAA,cAEpC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-kpi.d.ts
|
|
4
|
+
declare const SimplekpiUpdateKpiInput: z.ZodTypeAny;
|
|
5
|
+
declare const SimplekpiUpdateKpiOutput: z.ZodTypeAny;
|
|
6
|
+
declare const simplekpiUpdateKpi: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { simplekpiUpdateKpi };
|
|
9
|
+
//# sourceMappingURL=update-kpi.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-kpi.d.mts","names":[],"sources":["../../src/actions/update-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAakB;AAAA,cAC7C,wBAAA,EAA0B,CAAA,CAAE,UAaQ;AAAA,cAEpC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const simplekpiUpdateKpi = action("SIMPLEKPI_UPDATE_KPI", {
|
|
4
|
+
slug: "simplekpi-update-kpi",
|
|
5
|
+
name: "Update KPI",
|
|
6
|
+
description: "Tool to update an existing KPI in SimpleKPI. Use when you need to modify KPI properties such as name, description, target values, or settings.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("KPI ID to update"),
|
|
9
|
+
name: z.string().describe("KPI name (maximum 100 characters)"),
|
|
10
|
+
icon_id: z.number().int().describe("Icon identifier for the KPI"),
|
|
11
|
+
unit_id: z.number().int().describe("Unit of measure identifier"),
|
|
12
|
+
is_active: z.boolean().describe("Activation status for data entry. Set to true to enable data entry, false to disable."),
|
|
13
|
+
sort_order: z.number().int().describe("Display order ranking for the KPI"),
|
|
14
|
+
category_id: z.number().int().describe("KPI Category ID that this KPI belongs to"),
|
|
15
|
+
description: z.string().describe("KPI description (maximum 150 characters)").optional(),
|
|
16
|
+
frequency_id: z.enum([
|
|
17
|
+
"D",
|
|
18
|
+
"W",
|
|
19
|
+
"M",
|
|
20
|
+
"Q",
|
|
21
|
+
"Y"
|
|
22
|
+
]).describe("Data entry frequency (D=Daily, W=Weekly, M=Monthly, Q=Quarterly, Y=Yearly). Case-sensitive, must be uppercase."),
|
|
23
|
+
target_default: z.number().describe("Default target value for the KPI").optional(),
|
|
24
|
+
value_direction: z.enum([
|
|
25
|
+
"U",
|
|
26
|
+
"D",
|
|
27
|
+
"N"
|
|
28
|
+
]).describe("Direction indicator: U(p) means higher is better, D(own) means lower is better, N(one) means no direction"),
|
|
29
|
+
aggregate_function: z.enum(["AVG", "SUM"]).describe("How the KPI is calculated: AVG (Average) or SUM (Total Sum)")
|
|
30
|
+
}).describe("Request model for updating an existing KPI."),
|
|
31
|
+
output: z.object({
|
|
32
|
+
id: z.number().int().describe("KPI ID"),
|
|
33
|
+
name: z.string().describe("KPI name"),
|
|
34
|
+
icon_id: z.number().int().describe("Icon identifier"),
|
|
35
|
+
unit_id: z.number().int().describe("Unit of measure identifier"),
|
|
36
|
+
is_active: z.boolean().describe("Activation status"),
|
|
37
|
+
sort_order: z.number().int().describe("Display order ranking"),
|
|
38
|
+
category_id: z.number().int().describe("KPI Category ID"),
|
|
39
|
+
description: z.string().describe("KPI description").nullable().optional(),
|
|
40
|
+
frequency_id: z.string().describe("Data entry frequency"),
|
|
41
|
+
target_default: z.number().describe("Default target value").nullable().optional(),
|
|
42
|
+
value_direction: z.string().describe("Direction indicator"),
|
|
43
|
+
aggregate_function: z.string().describe("Aggregate function")
|
|
44
|
+
}).describe("Response model for updating a KPI.")
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
export { simplekpiUpdateKpi };
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=update-kpi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-kpi.mjs","names":[],"sources":["../../src/actions/update-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"Icon identifier for the KPI\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Activation status for data entry. Set to true to enable data entry, false to disable.\"),\n sort_order: z.number().int().describe(\"Display order ranking for the KPI\"),\n category_id: z.number().int().describe(\"KPI Category ID that this KPI belongs to\"),\n description: z.string().describe(\"KPI description (maximum 150 characters)\").optional(),\n frequency_id: z.enum([\"D\", \"W\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency (D=Daily, W=Weekly, M=Monthly, Q=Quarterly, Y=Yearly). Case-sensitive, must be uppercase.\"),\n target_default: z.number().describe(\"Default target value for the KPI\").optional(),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: U(p) means higher is better, D(own) means lower is better, N(one) means no direction\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"How the KPI is calculated: AVG (Average) or SUM (Total Sum)\"),\n}).describe(\"Request model for updating an existing KPI.\");\nexport const SimplekpiUpdateKpiOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"KPI ID\"),\n name: z.string().describe(\"KPI name\"),\n icon_id: z.number().int().describe(\"Icon identifier\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Activation status\"),\n sort_order: z.number().int().describe(\"Display order ranking\"),\n category_id: z.number().int().describe(\"KPI Category ID\"),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\"),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\"),\n aggregate_function: z.string().describe(\"Aggregate function\"),\n}).describe(\"Response model for updating a KPI.\");\n\nexport const simplekpiUpdateKpi = action(\"SIMPLEKPI_UPDATE_KPI\", {\n slug: \"simplekpi-update-kpi\",\n name: \"Update KPI\",\n description: \"Tool to update an existing KPI in SimpleKPI. Use when you need to modify KPI properties such as name, description, target values, or settings.\",\n input: SimplekpiUpdateKpiInput,\n output: SimplekpiUpdateKpiOutput,\n});\n"],"mappings":";;AAiCA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjCmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC/D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;EACvH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;EACzE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,KAAK;GAAC;GAAK;GAAK;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,gHAAgH;EACzK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,2GAA2G;EAC7J,oBAAoB,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,6DAA6D;CACnH,CAAC,CAAC,CAAC,SAAS,6CAoBH;CACP,QApBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ;EACtC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;EACpC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC/D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mBAAmB;EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB;EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACxD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAC1D,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9D,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-user.ts
|
|
4
|
+
const SimplekpiUpdateUserInput = zod.z.object({
|
|
5
|
+
id: zod.z.number().int().describe("User ID to update"),
|
|
6
|
+
email: zod.z.string().describe("Email address of the user"),
|
|
7
|
+
last_name: zod.z.string().describe("Last name of the user").optional(),
|
|
8
|
+
user_type: zod.z.string().describe("User type (e.g., 'Standard', 'Manager', 'Director')"),
|
|
9
|
+
first_name: zod.z.string().describe("First name of the user"),
|
|
10
|
+
user_status_id: zod.z.string().describe("User status ID. Use 'A' for Active, 'I' for Inactive"),
|
|
11
|
+
can_manage_users: zod.z.boolean().describe("Whether the user can manage other users. Set to true to grant user management permissions").optional(),
|
|
12
|
+
can_admin_settings: zod.z.boolean().describe("Whether the user can access admin settings. Set to true to grant admin access").optional()
|
|
13
|
+
}).describe("Request to update an existing user account in SimpleKPI.");
|
|
14
|
+
const SimplekpiUpdateUserOutput = zod.z.object({
|
|
15
|
+
id: zod.z.number().int().describe("User ID").nullable().optional(),
|
|
16
|
+
email: zod.z.string().describe("Email address").nullable().optional(),
|
|
17
|
+
last_name: zod.z.string().describe("Last name").nullable().optional(),
|
|
18
|
+
user_type: zod.z.string().describe("User type").nullable().optional(),
|
|
19
|
+
first_name: zod.z.string().describe("First name").nullable().optional(),
|
|
20
|
+
user_status_id: zod.z.string().describe("User status ID").nullable().optional(),
|
|
21
|
+
can_manage_users: zod.z.boolean().describe("Whether user can manage other users").nullable().optional(),
|
|
22
|
+
can_admin_settings: zod.z.boolean().describe("Whether user can access admin settings").nullable().optional()
|
|
23
|
+
}).describe("Response containing the updated user information.");
|
|
24
|
+
const simplekpiUpdateUser = require_action.action("SIMPLEKPI_UPDATE_USER", {
|
|
25
|
+
slug: "simplekpi-update-user",
|
|
26
|
+
name: "Update User",
|
|
27
|
+
description: "Tool to update an existing user account in SimpleKPI. Use when you need to modify user details such as type, status, name, or permissions.",
|
|
28
|
+
input: SimplekpiUpdateUserInput,
|
|
29
|
+
output: SimplekpiUpdateUserOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.simplekpiUpdateUser = simplekpiUpdateUser;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=update-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID to update\"),\n email: z.string().describe(\"Email address of the user\"),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n user_type: z.string().describe(\"User type (e.g., 'Standard', 'Manager', 'Director')\"),\n first_name: z.string().describe(\"First name of the user\"),\n user_status_id: z.string().describe(\"User status ID. Use 'A' for Active, 'I' for Inactive\"),\n can_manage_users: z.boolean().describe(\"Whether the user can manage other users. Set to true to grant user management permissions\").optional(),\n can_admin_settings: z.boolean().describe(\"Whether the user can access admin settings. Set to true to grant admin access\").optional(),\n}).describe(\"Request to update an existing user account in SimpleKPI.\");\nexport const SimplekpiUpdateUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n user_type: z.string().describe(\"User type\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n user_status_id: z.string().describe(\"User status ID\").nullable().optional(),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users\").nullable().optional(),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings\").nullable().optional(),\n}).describe(\"Response containing the updated user information.\");\n\nexport const simplekpiUpdateUser = action(\"SIMPLEKPI_UPDATE_USER\", {\n slug: \"simplekpi-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user account in SimpleKPI. Use when you need to modify user details such as type, status, name, or permissions.\",\n input: SimplekpiUpdateUserInput,\n output: SimplekpiUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACxD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC1F,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC7I,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-user.d.ts
|
|
4
|
+
declare const SimplekpiUpdateUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SimplekpiUpdateUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const simplekpiUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { simplekpiUpdateUser };
|
|
9
|
+
//# sourceMappingURL=update-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAS8B;AAAA,cAC1D,yBAAA,EAA2B,CAAA,CAAE,UASsB;AAAA,cAEnD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-user.d.ts
|
|
4
|
+
declare const SimplekpiUpdateUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const SimplekpiUpdateUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const simplekpiUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { simplekpiUpdateUser };
|
|
9
|
+
//# sourceMappingURL=update-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAS8B;AAAA,cAC1D,yBAAA,EAA2B,CAAA,CAAE,UASsB;AAAA,cAEnD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const simplekpiUpdateUser = action("SIMPLEKPI_UPDATE_USER", {
|
|
4
|
+
slug: "simplekpi-update-user",
|
|
5
|
+
name: "Update User",
|
|
6
|
+
description: "Tool to update an existing user account in SimpleKPI. Use when you need to modify user details such as type, status, name, or permissions.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
id: z.number().int().describe("User ID to update"),
|
|
9
|
+
email: z.string().describe("Email address of the user"),
|
|
10
|
+
last_name: z.string().describe("Last name of the user").optional(),
|
|
11
|
+
user_type: z.string().describe("User type (e.g., 'Standard', 'Manager', 'Director')"),
|
|
12
|
+
first_name: z.string().describe("First name of the user"),
|
|
13
|
+
user_status_id: z.string().describe("User status ID. Use 'A' for Active, 'I' for Inactive"),
|
|
14
|
+
can_manage_users: z.boolean().describe("Whether the user can manage other users. Set to true to grant user management permissions").optional(),
|
|
15
|
+
can_admin_settings: z.boolean().describe("Whether the user can access admin settings. Set to true to grant admin access").optional()
|
|
16
|
+
}).describe("Request to update an existing user account in SimpleKPI."),
|
|
17
|
+
output: z.object({
|
|
18
|
+
id: z.number().int().describe("User ID").nullable().optional(),
|
|
19
|
+
email: z.string().describe("Email address").nullable().optional(),
|
|
20
|
+
last_name: z.string().describe("Last name").nullable().optional(),
|
|
21
|
+
user_type: z.string().describe("User type").nullable().optional(),
|
|
22
|
+
first_name: z.string().describe("First name").nullable().optional(),
|
|
23
|
+
user_status_id: z.string().describe("User status ID").nullable().optional(),
|
|
24
|
+
can_manage_users: z.boolean().describe("Whether user can manage other users").nullable().optional(),
|
|
25
|
+
can_admin_settings: z.boolean().describe("Whether user can access admin settings").nullable().optional()
|
|
26
|
+
}).describe("Response containing the updated user information.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { simplekpiUpdateUser };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=update-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateUserInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID to update\"),\n email: z.string().describe(\"Email address of the user\"),\n last_name: z.string().describe(\"Last name of the user\").optional(),\n user_type: z.string().describe(\"User type (e.g., 'Standard', 'Manager', 'Director')\"),\n first_name: z.string().describe(\"First name of the user\"),\n user_status_id: z.string().describe(\"User status ID. Use 'A' for Active, 'I' for Inactive\"),\n can_manage_users: z.boolean().describe(\"Whether the user can manage other users. Set to true to grant user management permissions\").optional(),\n can_admin_settings: z.boolean().describe(\"Whether the user can access admin settings. Set to true to grant admin access\").optional(),\n}).describe(\"Request to update an existing user account in SimpleKPI.\");\nexport const SimplekpiUpdateUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User ID\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n user_type: z.string().describe(\"User type\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n user_status_id: z.string().describe(\"User status ID\").nullable().optional(),\n can_manage_users: z.boolean().describe(\"Whether user can manage other users\").nullable().optional(),\n can_admin_settings: z.boolean().describe(\"Whether user can access admin settings\").nullable().optional(),\n}).describe(\"Response containing the updated user information.\");\n\nexport const simplekpiUpdateUser = action(\"SIMPLEKPI_UPDATE_USER\", {\n slug: \"simplekpi-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user account in SimpleKPI. Use when you need to modify user details such as type, status, name, or permissions.\",\n input: SimplekpiUpdateUserInput,\n output: SimplekpiUpdateUserOutput,\n});\n"],"mappings":";;AAyBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACxD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAC1F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAC7I,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,0DAgBH;CACP,QAhBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const simplekpi = defineApp({\n slug: \"simplekpi\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const simplekpi = defineApp({\n slug: \"simplekpi\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const simplekpiCatalog = {
|
|
4
|
+
"slug": "simplekpi",
|
|
5
|
+
"name": "Simplekpi",
|
|
6
|
+
"description": "Beautifully simple KPI software. Create, manage and analyse your Key Performance Indicators from the cloud.",
|
|
7
|
+
"category": "Analytics",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/simplekpi",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.simplekpiCatalog = simplekpiCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const simplekpiCatalog = {\n \"slug\": \"simplekpi\",\n \"name\": \"Simplekpi\",\n \"description\": \"Beautifully simple KPI software. Create, manage and analyse your Key Performance Indicators from the cloud.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/simplekpi\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const simplekpiCatalog: {
|
|
4
|
+
readonly slug: "simplekpi";
|
|
5
|
+
readonly name: "Simplekpi";
|
|
6
|
+
readonly description: "Beautifully simple KPI software. Create, manage and analyse your Key Performance Indicators from the cloud.";
|
|
7
|
+
readonly category: "Analytics";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/simplekpi";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { simplekpiCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const simplekpiCatalog: {
|
|
4
|
+
readonly slug: "simplekpi";
|
|
5
|
+
readonly name: "Simplekpi";
|
|
6
|
+
readonly description: "Beautifully simple KPI software. Create, manage and analyse your Key Performance Indicators from the cloud.";
|
|
7
|
+
readonly category: "Analytics";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/simplekpi";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { simplekpiCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const simplekpiCatalog = {
|
|
4
|
+
"slug": "simplekpi",
|
|
5
|
+
"name": "Simplekpi",
|
|
6
|
+
"description": "Beautifully simple KPI software. Create, manage and analyse your Key Performance Indicators from the cloud.",
|
|
7
|
+
"category": "Analytics",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/simplekpi",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { simplekpiCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const simplekpiCatalog = {\n \"slug\": \"simplekpi\",\n \"name\": \"Simplekpi\",\n \"description\": \"Beautifully simple KPI software. Create, manage and analyse your Key Performance Indicators from the cloud.\",\n \"category\": \"Analytics\",\n \"logo\": \"https://logos.composio.dev/api/simplekpi\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "simplekpi";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSimplekpiTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executeSimplekpiTool = executeSimplekpiTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"simplekpi\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSimplekpiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "simplekpi";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executeSimplekpiTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executeSimplekpiTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"simplekpi\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSimplekpiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|