@keystrokehq/simplekpi 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-user-group-item.cjs +1 -0
- package/dist/actions/add-user-group-item.cjs.map +1 -1
- package/dist/actions/add-user-group-item.d.cts +3 -4
- package/dist/actions/add-user-group-item.d.cts.map +1 -1
- package/dist/actions/add-user-group-item.d.mts +3 -4
- package/dist/actions/add-user-group-item.d.mts.map +1 -1
- package/dist/actions/add-user-group-item.mjs +1 -0
- package/dist/actions/add-user-group-item.mjs.map +1 -1
- package/dist/actions/add-user-kpi.cjs +1 -0
- package/dist/actions/add-user-kpi.cjs.map +1 -1
- package/dist/actions/add-user-kpi.d.cts +3 -6
- package/dist/actions/add-user-kpi.d.cts.map +1 -1
- package/dist/actions/add-user-kpi.d.mts +3 -6
- package/dist/actions/add-user-kpi.d.mts.map +1 -1
- package/dist/actions/add-user-kpi.mjs +1 -0
- package/dist/actions/add-user-kpi.mjs.map +1 -1
- package/dist/actions/create-category-kpi.cjs +1 -0
- package/dist/actions/create-category-kpi.cjs.map +1 -1
- package/dist/actions/create-category-kpi.d.cts +3 -11
- package/dist/actions/create-category-kpi.d.cts.map +1 -1
- package/dist/actions/create-category-kpi.d.mts +3 -11
- package/dist/actions/create-category-kpi.d.mts.map +1 -1
- package/dist/actions/create-category-kpi.mjs +1 -0
- package/dist/actions/create-category-kpi.mjs.map +1 -1
- package/dist/actions/create-group-item.cjs +1 -0
- package/dist/actions/create-group-item.cjs.map +1 -1
- package/dist/actions/create-group-item.d.cts +3 -5
- package/dist/actions/create-group-item.d.cts.map +1 -1
- package/dist/actions/create-group-item.d.mts +3 -5
- package/dist/actions/create-group-item.d.mts.map +1 -1
- package/dist/actions/create-group-item.mjs +1 -0
- package/dist/actions/create-group-item.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -4
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -4
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-kpi-category.cjs +1 -0
- package/dist/actions/create-kpi-category.cjs.map +1 -1
- package/dist/actions/create-kpi-category.d.cts +3 -4
- package/dist/actions/create-kpi-category.d.cts.map +1 -1
- package/dist/actions/create-kpi-category.d.mts +3 -4
- package/dist/actions/create-kpi-category.d.mts.map +1 -1
- package/dist/actions/create-kpi-category.mjs +1 -0
- package/dist/actions/create-kpi-category.mjs.map +1 -1
- package/dist/actions/create-kpi-unit.cjs +1 -0
- package/dist/actions/create-kpi-unit.cjs.map +1 -1
- package/dist/actions/create-kpi-unit.d.cts +3 -6
- package/dist/actions/create-kpi-unit.d.cts.map +1 -1
- package/dist/actions/create-kpi-unit.d.mts +3 -6
- package/dist/actions/create-kpi-unit.d.mts.map +1 -1
- package/dist/actions/create-kpi-unit.mjs +1 -0
- package/dist/actions/create-kpi-unit.mjs.map +1 -1
- package/dist/actions/create-kpi.cjs +1 -0
- package/dist/actions/create-kpi.cjs.map +1 -1
- package/dist/actions/create-kpi.d.cts +3 -11
- package/dist/actions/create-kpi.d.cts.map +1 -1
- package/dist/actions/create-kpi.d.mts +3 -11
- package/dist/actions/create-kpi.d.mts.map +1 -1
- package/dist/actions/create-kpi.mjs +1 -0
- package/dist/actions/create-kpi.mjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.cjs +1 -0
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.cts +3 -19
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.mts +3 -19
- package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.mjs +1 -0
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -10
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -10
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-category-kpi.cjs +1 -0
- package/dist/actions/delete-category-kpi.cjs.map +1 -1
- package/dist/actions/delete-category-kpi.d.cts +3 -4
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +3 -4
- package/dist/actions/delete-category-kpi.d.mts.map +1 -1
- package/dist/actions/delete-category-kpi.mjs +1 -0
- package/dist/actions/delete-category-kpi.mjs.map +1 -1
- package/dist/actions/delete-group-item.cjs +1 -0
- package/dist/actions/delete-group-item.cjs.map +1 -1
- package/dist/actions/delete-group-item.d.cts +3 -4
- package/dist/actions/delete-group-item.d.cts.map +1 -1
- package/dist/actions/delete-group-item.d.mts +3 -4
- package/dist/actions/delete-group-item.d.mts.map +1 -1
- package/dist/actions/delete-group-item.mjs +1 -0
- package/dist/actions/delete-group-item.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-kpi-category.cjs +1 -0
- package/dist/actions/delete-kpi-category.cjs.map +1 -1
- package/dist/actions/delete-kpi-category.d.cts +3 -3
- package/dist/actions/delete-kpi-category.d.cts.map +1 -1
- package/dist/actions/delete-kpi-category.d.mts +3 -3
- package/dist/actions/delete-kpi-category.d.mts.map +1 -1
- package/dist/actions/delete-kpi-category.mjs +1 -0
- package/dist/actions/delete-kpi-category.mjs.map +1 -1
- package/dist/actions/delete-kpi-entry.cjs +1 -0
- package/dist/actions/delete-kpi-entry.cjs.map +1 -1
- package/dist/actions/delete-kpi-entry.d.cts +3 -3
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +3 -3
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
- package/dist/actions/delete-kpi-entry.mjs +1 -0
- package/dist/actions/delete-kpi-entry.mjs.map +1 -1
- package/dist/actions/delete-kpi-unit.cjs +1 -0
- package/dist/actions/delete-kpi-unit.cjs.map +1 -1
- package/dist/actions/delete-kpi-unit.d.cts +3 -3
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +3 -3
- package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
- package/dist/actions/delete-kpi-unit.mjs +1 -0
- package/dist/actions/delete-kpi-unit.mjs.map +1 -1
- package/dist/actions/delete-kpi.cjs +1 -0
- package/dist/actions/delete-kpi.cjs.map +1 -1
- package/dist/actions/delete-kpi.d.cts +3 -3
- package/dist/actions/delete-kpi.d.cts.map +1 -1
- package/dist/actions/delete-kpi.d.mts +3 -3
- package/dist/actions/delete-kpi.d.mts.map +1 -1
- package/dist/actions/delete-kpi.mjs +1 -0
- package/dist/actions/delete-kpi.mjs.map +1 -1
- package/dist/actions/delete-user-group-item.cjs +1 -0
- package/dist/actions/delete-user-group-item.cjs.map +1 -1
- package/dist/actions/delete-user-group-item.d.cts +3 -4
- package/dist/actions/delete-user-group-item.d.cts.map +1 -1
- package/dist/actions/delete-user-group-item.d.mts +3 -4
- package/dist/actions/delete-user-group-item.d.mts.map +1 -1
- package/dist/actions/delete-user-group-item.mjs +1 -0
- package/dist/actions/delete-user-group-item.mjs.map +1 -1
- package/dist/actions/delete-user-kpi.cjs +1 -0
- package/dist/actions/delete-user-kpi.cjs.map +1 -1
- package/dist/actions/delete-user-kpi.d.cts +3 -4
- package/dist/actions/delete-user-kpi.d.cts.map +1 -1
- package/dist/actions/delete-user-kpi.d.mts +3 -4
- package/dist/actions/delete-user-kpi.d.mts.map +1 -1
- package/dist/actions/delete-user-kpi.mjs +1 -0
- package/dist/actions/delete-user-kpi.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-all-data-entries.cjs +1 -0
- package/dist/actions/get-all-data-entries.cjs.map +1 -1
- package/dist/actions/get-all-data-entries.d.cts +3 -7
- package/dist/actions/get-all-data-entries.d.cts.map +1 -1
- package/dist/actions/get-all-data-entries.d.mts +3 -7
- package/dist/actions/get-all-data-entries.d.mts.map +1 -1
- package/dist/actions/get-all-data-entries.mjs +1 -0
- package/dist/actions/get-all-data-entries.mjs.map +1 -1
- package/dist/actions/get-category-kpi.cjs +1 -0
- package/dist/actions/get-category-kpi.cjs.map +1 -1
- package/dist/actions/get-category-kpi.d.cts +3 -4
- package/dist/actions/get-category-kpi.d.cts.map +1 -1
- package/dist/actions/get-category-kpi.d.mts +3 -4
- package/dist/actions/get-category-kpi.d.mts.map +1 -1
- package/dist/actions/get-category-kpi.mjs +1 -0
- package/dist/actions/get-category-kpi.mjs.map +1 -1
- package/dist/actions/get-group-item.cjs +1 -0
- package/dist/actions/get-group-item.cjs.map +1 -1
- package/dist/actions/get-group-item.d.cts +3 -4
- package/dist/actions/get-group-item.d.cts.map +1 -1
- package/dist/actions/get-group-item.d.mts +3 -4
- package/dist/actions/get-group-item.d.mts.map +1 -1
- package/dist/actions/get-group-item.mjs +1 -0
- package/dist/actions/get-group-item.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -0
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +3 -3
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +3 -3
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +1 -0
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-kpi-category.cjs +1 -0
- package/dist/actions/get-kpi-category.cjs.map +1 -1
- package/dist/actions/get-kpi-category.d.cts +3 -3
- package/dist/actions/get-kpi-category.d.cts.map +1 -1
- package/dist/actions/get-kpi-category.d.mts +3 -3
- package/dist/actions/get-kpi-category.d.mts.map +1 -1
- package/dist/actions/get-kpi-category.mjs +1 -0
- package/dist/actions/get-kpi-category.mjs.map +1 -1
- package/dist/actions/get-kpi-entry.cjs +1 -0
- package/dist/actions/get-kpi-entry.cjs.map +1 -1
- package/dist/actions/get-kpi-entry.d.cts +3 -3
- package/dist/actions/get-kpi-entry.d.cts.map +1 -1
- package/dist/actions/get-kpi-entry.d.mts +3 -3
- package/dist/actions/get-kpi-entry.d.mts.map +1 -1
- package/dist/actions/get-kpi-entry.mjs +1 -0
- package/dist/actions/get-kpi-entry.mjs.map +1 -1
- package/dist/actions/get-kpi-frequency.cjs +1 -0
- package/dist/actions/get-kpi-frequency.cjs.map +1 -1
- package/dist/actions/get-kpi-frequency.d.cts +3 -3
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +3 -3
- package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
- package/dist/actions/get-kpi-frequency.mjs +1 -0
- package/dist/actions/get-kpi-frequency.mjs.map +1 -1
- package/dist/actions/get-kpi-icon.cjs +1 -0
- package/dist/actions/get-kpi-icon.cjs.map +1 -1
- package/dist/actions/get-kpi-icon.d.cts +3 -3
- package/dist/actions/get-kpi-icon.d.cts.map +1 -1
- package/dist/actions/get-kpi-icon.d.mts +3 -3
- package/dist/actions/get-kpi-icon.d.mts.map +1 -1
- package/dist/actions/get-kpi-icon.mjs +1 -0
- package/dist/actions/get-kpi-icon.mjs.map +1 -1
- package/dist/actions/get-kpi-unit.cjs +1 -0
- package/dist/actions/get-kpi-unit.cjs.map +1 -1
- package/dist/actions/get-kpi-unit.d.cts +3 -3
- package/dist/actions/get-kpi-unit.d.cts.map +1 -1
- package/dist/actions/get-kpi-unit.d.mts +3 -3
- package/dist/actions/get-kpi-unit.d.mts.map +1 -1
- package/dist/actions/get-kpi-unit.mjs +1 -0
- package/dist/actions/get-kpi-unit.mjs.map +1 -1
- package/dist/actions/get-kpi.cjs +1 -0
- package/dist/actions/get-kpi.cjs.map +1 -1
- package/dist/actions/get-kpi.d.cts +3 -3
- package/dist/actions/get-kpi.d.cts.map +1 -1
- package/dist/actions/get-kpi.d.mts +3 -3
- package/dist/actions/get-kpi.d.mts.map +1 -1
- package/dist/actions/get-kpi.mjs +1 -0
- package/dist/actions/get-kpi.mjs.map +1 -1
- package/dist/actions/get-user-group-item.cjs +1 -0
- package/dist/actions/get-user-group-item.cjs.map +1 -1
- package/dist/actions/get-user-group-item.d.cts +3 -4
- package/dist/actions/get-user-group-item.d.cts.map +1 -1
- package/dist/actions/get-user-group-item.d.mts +3 -4
- package/dist/actions/get-user-group-item.d.mts.map +1 -1
- package/dist/actions/get-user-group-item.mjs +1 -0
- package/dist/actions/get-user-group-item.mjs.map +1 -1
- package/dist/actions/get-user-kpi.cjs +1 -0
- package/dist/actions/get-user-kpi.cjs.map +1 -1
- package/dist/actions/get-user-kpi.d.cts +3 -4
- package/dist/actions/get-user-kpi.d.cts.map +1 -1
- package/dist/actions/get-user-kpi.d.mts +3 -4
- package/dist/actions/get-user-kpi.d.mts.map +1 -1
- package/dist/actions/get-user-kpi.mjs +1 -0
- package/dist/actions/get-user-kpi.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-category-kpis.cjs +1 -0
- package/dist/actions/list-category-kpis.cjs.map +1 -1
- package/dist/actions/list-category-kpis.d.cts +3 -3
- package/dist/actions/list-category-kpis.d.cts.map +1 -1
- package/dist/actions/list-category-kpis.d.mts +3 -3
- package/dist/actions/list-category-kpis.d.mts.map +1 -1
- package/dist/actions/list-category-kpis.mjs +1 -0
- package/dist/actions/list-category-kpis.mjs.map +1 -1
- package/dist/actions/list-group-items.cjs +1 -0
- package/dist/actions/list-group-items.cjs.map +1 -1
- package/dist/actions/list-group-items.d.cts +3 -3
- package/dist/actions/list-group-items.d.cts.map +1 -1
- package/dist/actions/list-group-items.d.mts +3 -3
- package/dist/actions/list-group-items.d.mts.map +1 -1
- package/dist/actions/list-group-items.mjs +1 -0
- package/dist/actions/list-group-items.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -1
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -1
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-kpi-categories.cjs +1 -0
- package/dist/actions/list-kpi-categories.cjs.map +1 -1
- package/dist/actions/list-kpi-categories.d.cts +3 -1
- package/dist/actions/list-kpi-categories.d.cts.map +1 -1
- package/dist/actions/list-kpi-categories.d.mts +3 -1
- package/dist/actions/list-kpi-categories.d.mts.map +1 -1
- package/dist/actions/list-kpi-categories.mjs +1 -0
- package/dist/actions/list-kpi-categories.mjs.map +1 -1
- package/dist/actions/list-kpi-entries.cjs +1 -0
- package/dist/actions/list-kpi-entries.cjs.map +1 -1
- package/dist/actions/list-kpi-entries.d.cts +3 -8
- package/dist/actions/list-kpi-entries.d.cts.map +1 -1
- package/dist/actions/list-kpi-entries.d.mts +3 -8
- package/dist/actions/list-kpi-entries.d.mts.map +1 -1
- package/dist/actions/list-kpi-entries.mjs +1 -0
- package/dist/actions/list-kpi-entries.mjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.cjs +1 -0
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.cts +3 -1
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.mts +3 -1
- package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
- package/dist/actions/list-kpi-frequencies.mjs +1 -0
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
- package/dist/actions/list-kpi-icons.cjs +1 -0
- package/dist/actions/list-kpi-icons.cjs.map +1 -1
- package/dist/actions/list-kpi-icons.d.cts +3 -1
- package/dist/actions/list-kpi-icons.d.cts.map +1 -1
- package/dist/actions/list-kpi-icons.d.mts +3 -1
- package/dist/actions/list-kpi-icons.d.mts.map +1 -1
- package/dist/actions/list-kpi-icons.mjs +1 -0
- package/dist/actions/list-kpi-icons.mjs.map +1 -1
- package/dist/actions/list-kpi-units.cjs +1 -0
- package/dist/actions/list-kpi-units.cjs.map +1 -1
- package/dist/actions/list-kpi-units.d.cts +3 -1
- package/dist/actions/list-kpi-units.d.cts.map +1 -1
- package/dist/actions/list-kpi-units.d.mts +3 -1
- package/dist/actions/list-kpi-units.d.mts.map +1 -1
- package/dist/actions/list-kpi-units.mjs +1 -0
- package/dist/actions/list-kpi-units.mjs.map +1 -1
- package/dist/actions/list-kpis.cjs +1 -0
- package/dist/actions/list-kpis.cjs.map +1 -1
- package/dist/actions/list-kpis.d.cts +3 -1
- package/dist/actions/list-kpis.d.cts.map +1 -1
- package/dist/actions/list-kpis.d.mts +3 -1
- package/dist/actions/list-kpis.d.mts.map +1 -1
- package/dist/actions/list-kpis.mjs +1 -0
- package/dist/actions/list-kpis.mjs.map +1 -1
- package/dist/actions/list-user-group-items.cjs +1 -0
- package/dist/actions/list-user-group-items.cjs.map +1 -1
- package/dist/actions/list-user-group-items.d.cts +3 -3
- package/dist/actions/list-user-group-items.d.cts.map +1 -1
- package/dist/actions/list-user-group-items.d.mts +3 -3
- package/dist/actions/list-user-group-items.d.mts.map +1 -1
- package/dist/actions/list-user-group-items.mjs +1 -0
- package/dist/actions/list-user-group-items.mjs.map +1 -1
- package/dist/actions/list-user-kpis.cjs +1 -0
- package/dist/actions/list-user-kpis.cjs.map +1 -1
- package/dist/actions/list-user-kpis.d.cts +3 -3
- package/dist/actions/list-user-kpis.d.cts.map +1 -1
- package/dist/actions/list-user-kpis.d.mts +3 -3
- package/dist/actions/list-user-kpis.d.mts.map +1 -1
- package/dist/actions/list-user-kpis.mjs +1 -0
- package/dist/actions/list-user-kpis.mjs.map +1 -1
- package/dist/actions/update-category-kpi.cjs +1 -0
- package/dist/actions/update-category-kpi.cjs.map +1 -1
- package/dist/actions/update-category-kpi.d.cts +3 -14
- package/dist/actions/update-category-kpi.d.cts.map +1 -1
- package/dist/actions/update-category-kpi.d.mts +3 -14
- package/dist/actions/update-category-kpi.d.mts.map +1 -1
- package/dist/actions/update-category-kpi.mjs +1 -0
- package/dist/actions/update-category-kpi.mjs.map +1 -1
- package/dist/actions/update-group-item.cjs +1 -0
- package/dist/actions/update-group-item.cjs.map +1 -1
- package/dist/actions/update-group-item.d.cts +3 -6
- package/dist/actions/update-group-item.d.cts.map +1 -1
- package/dist/actions/update-group-item.d.mts +3 -6
- package/dist/actions/update-group-item.d.mts.map +1 -1
- package/dist/actions/update-group-item.mjs +1 -0
- package/dist/actions/update-group-item.mjs.map +1 -1
- package/dist/actions/update-group.cjs +1 -0
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +3 -5
- package/dist/actions/update-group.d.cts.map +1 -1
- package/dist/actions/update-group.d.mts +3 -5
- package/dist/actions/update-group.d.mts.map +1 -1
- package/dist/actions/update-group.mjs +1 -0
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-kpi-entry.cjs +1 -0
- package/dist/actions/update-kpi-entry.cjs.map +1 -1
- package/dist/actions/update-kpi-entry.d.cts +3 -9
- package/dist/actions/update-kpi-entry.d.cts.map +1 -1
- package/dist/actions/update-kpi-entry.d.mts +3 -9
- package/dist/actions/update-kpi-entry.d.mts.map +1 -1
- package/dist/actions/update-kpi-entry.mjs +1 -0
- package/dist/actions/update-kpi-entry.mjs.map +1 -1
- package/dist/actions/update-kpi-unit.cjs +1 -0
- package/dist/actions/update-kpi-unit.cjs.map +1 -1
- package/dist/actions/update-kpi-unit.d.cts +3 -7
- package/dist/actions/update-kpi-unit.d.cts.map +1 -1
- package/dist/actions/update-kpi-unit.d.mts +3 -7
- package/dist/actions/update-kpi-unit.d.mts.map +1 -1
- package/dist/actions/update-kpi-unit.mjs +1 -0
- package/dist/actions/update-kpi-unit.mjs.map +1 -1
- package/dist/actions/update-kpi.cjs +1 -0
- package/dist/actions/update-kpi.cjs.map +1 -1
- package/dist/actions/update-kpi.d.cts +3 -14
- package/dist/actions/update-kpi.d.cts.map +1 -1
- package/dist/actions/update-kpi.d.mts +3 -14
- package/dist/actions/update-kpi.d.mts.map +1 -1
- package/dist/actions/update-kpi.mjs +1 -0
- package/dist/actions/update-kpi.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -10
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -10
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/app.cjs +12 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +11 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +11 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +9 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-kpis.mjs","names":[],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\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: AppAction<\n typeof SimplekpiListKpisInput,\n typeof SimplekpiListKpisOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,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,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,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,6CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\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: AppAction<\n typeof SimplekpiListUserGroupItemsInput,\n typeof SimplekpiListUserGroupItemsOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-group-items.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SimplekpiListUserGroupItemsOutput: z.ZodObject<{
|
|
|
14
16
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserGroupItems:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const simplekpiListUserGroupItems: AppAction<typeof SimplekpiListUserGroupItemsInput, typeof SimplekpiListUserGroupItemsOutput, typeof simplekpi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListUserGroupItems };
|
|
22
22
|
//# sourceMappingURL=list-user-group-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.d.cts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.d.cts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-group-items.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SimplekpiListUserGroupItemsOutput: z.ZodObject<{
|
|
|
14
16
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserGroupItems:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const simplekpiListUserGroupItems: AppAction<typeof SimplekpiListUserGroupItemsInput, typeof SimplekpiListUserGroupItemsOutput, typeof simplekpi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListUserGroupItems };
|
|
22
22
|
//# sourceMappingURL=list-user-group-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.d.mts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.d.mts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.mjs","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\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: AppAction<\n typeof SimplekpiListUserGroupItemsInput,\n typeof SimplekpiListUserGroupItemsOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,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,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0CAA0C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis: AppAction<\n typeof SimplekpiListUserKpisInput,\n typeof SimplekpiListUserKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,EACnE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-kpis.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SimplekpiListUserKpisOutput: z.ZodObject<{
|
|
|
14
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserKpis:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const simplekpiListUserKpis: AppAction<typeof SimplekpiListUserKpisInput, typeof SimplekpiListUserKpisOutput, typeof simplekpi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListUserKpis };
|
|
22
22
|
//# sourceMappingURL=list-user-kpis.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.d.cts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.d.cts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-kpis.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SimplekpiListUserKpisOutput: z.ZodObject<{
|
|
|
14
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserKpis:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const simplekpiListUserKpis: AppAction<typeof SimplekpiListUserKpisInput, typeof SimplekpiListUserKpisOutput, typeof simplekpi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListUserKpis };
|
|
22
22
|
//# sourceMappingURL=list-user-kpis.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.d.mts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.d.mts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.mjs","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.mjs","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis: AppAction<\n typeof SimplekpiListUserKpisInput,\n typeof SimplekpiListUserKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,EACnE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateCategoryKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (max 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(\"Determines if data entry is permitted for this KPI\"),\n sort_order: z.number().int().describe(\"Display ordering position\"),\n category_id: z.number().int().describe(\"Category ID containing the KPI\"),\n description: z.string().describe(\"KPI description (max 150 characters)\").optional(),\n frequency_id: z.enum([\"W\", \"D\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency: W (Weekly), D (Daily), M (Monthly), Q (Quarterly), or Y (Yearly)\"),\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 (Up), D (Down), or N (None)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method: AVG (Average) or SUM (Sum)\"),\n}).describe(\"Request to update a KPI within a category.\");\nexport const SimplekpiUpdateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable().optional(),\n name: z.string().describe(\"KPI name\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether data entry is permitted\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the KPI was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the KPI was last updated\").nullable().optional(),\n category_id: z.number().int().describe(\"Category ID\").nullable().optional(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable().optional(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated KPI information.\");\n\nexport const simplekpiUpdateCategoryKpi = action(\"SIMPLEKPI_UPDATE_CATEGORY_KPI\", {\n slug: \"simplekpi-update-category-kpi\",\n name: \"Update Category KPI\",\n description: \"Tool to update a KPI within a category. Use when you need to modify KPI details such as name, target, frequency, or aggregation method.\",\n input: SimplekpiUpdateCategoryKpiInput,\n output: SimplekpiUpdateCategoryKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-category-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateCategoryKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (max 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(\"Determines if data entry is permitted for this KPI\"),\n sort_order: z.number().int().describe(\"Display ordering position\"),\n category_id: z.number().int().describe(\"Category ID containing the KPI\"),\n description: z.string().describe(\"KPI description (max 150 characters)\").optional(),\n frequency_id: z.enum([\"W\", \"D\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency: W (Weekly), D (Daily), M (Monthly), Q (Quarterly), or Y (Yearly)\"),\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 (Up), D (Down), or N (None)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method: AVG (Average) or SUM (Sum)\"),\n}).describe(\"Request to update a KPI within a category.\");\nexport const SimplekpiUpdateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable().optional(),\n name: z.string().describe(\"KPI name\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether data entry is permitted\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the KPI was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the KPI was last updated\").nullable().optional(),\n category_id: z.number().int().describe(\"Category ID\").nullable().optional(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable().optional(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated KPI information.\");\n\nexport const simplekpiUpdateCategoryKpi: AppAction<\n typeof SimplekpiUpdateCategoryKpiInput,\n typeof SimplekpiUpdateCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_CATEGORY_KPI\", {\n slug: \"simplekpi-update-category-kpi\",\n name: \"Update Category KPI\",\n description: \"Tool to update a KPI within a category. Use when you need to modify KPI details such as name, target, frequency, or aggregation method.\",\n input: SimplekpiUpdateCategoryKpiInput,\n output: SimplekpiUpdateCategoryKpiOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-category-kpi.d.ts
|
|
@@ -44,20 +46,7 @@ declare const SimplekpiUpdateCategoryKpiOutput: z.ZodObject<{
|
|
|
44
46
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const simplekpiUpdateCategoryKpi:
|
|
48
|
-
id: number;
|
|
49
|
-
name: string;
|
|
50
|
-
icon_id: number;
|
|
51
|
-
unit_id: number;
|
|
52
|
-
is_active: boolean;
|
|
53
|
-
sort_order: number;
|
|
54
|
-
category_id: number;
|
|
55
|
-
frequency_id: "D" | "W" | "M" | "Q" | "Y";
|
|
56
|
-
value_direction: "U" | "D" | "N";
|
|
57
|
-
aggregate_function: "AVG" | "SUM";
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
target_default?: number | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const simplekpiUpdateCategoryKpi: AppAction<typeof SimplekpiUpdateCategoryKpiInput, typeof SimplekpiUpdateCategoryKpiOutput, typeof simplekpi.credential>;
|
|
61
50
|
//#endregion
|
|
62
51
|
export { simplekpiUpdateCategoryKpi };
|
|
63
52
|
//# sourceMappingURL=update-category-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-category-kpi.d.cts","names":[],"sources":["../../src/actions/update-category-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-category-kpi.d.cts","names":[],"sources":["../../src/actions/update-category-kpi.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-category-kpi.d.ts
|
|
@@ -44,20 +46,7 @@ declare const SimplekpiUpdateCategoryKpiOutput: z.ZodObject<{
|
|
|
44
46
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
47
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const simplekpiUpdateCategoryKpi:
|
|
48
|
-
id: number;
|
|
49
|
-
name: string;
|
|
50
|
-
icon_id: number;
|
|
51
|
-
unit_id: number;
|
|
52
|
-
is_active: boolean;
|
|
53
|
-
sort_order: number;
|
|
54
|
-
category_id: number;
|
|
55
|
-
frequency_id: "D" | "W" | "M" | "Q" | "Y";
|
|
56
|
-
value_direction: "U" | "D" | "N";
|
|
57
|
-
aggregate_function: "AVG" | "SUM";
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
target_default?: number | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
49
|
+
declare const simplekpiUpdateCategoryKpi: AppAction<typeof SimplekpiUpdateCategoryKpiInput, typeof SimplekpiUpdateCategoryKpiOutput, typeof simplekpi.credential>;
|
|
61
50
|
//#endregion
|
|
62
51
|
export { simplekpiUpdateCategoryKpi };
|
|
63
52
|
//# sourceMappingURL=update-category-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-category-kpi.d.mts","names":[],"sources":["../../src/actions/update-category-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-category-kpi.d.mts","names":[],"sources":["../../src/actions/update-category-kpi.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-category-kpi.mjs","names":[],"sources":["../../src/actions/update-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateCategoryKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (max 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(\"Determines if data entry is permitted for this KPI\"),\n sort_order: z.number().int().describe(\"Display ordering position\"),\n category_id: z.number().int().describe(\"Category ID containing the KPI\"),\n description: z.string().describe(\"KPI description (max 150 characters)\").optional(),\n frequency_id: z.enum([\"W\", \"D\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency: W (Weekly), D (Daily), M (Monthly), Q (Quarterly), or Y (Yearly)\"),\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 (Up), D (Down), or N (None)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method: AVG (Average) or SUM (Sum)\"),\n}).describe(\"Request to update a KPI within a category.\");\nexport const SimplekpiUpdateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable().optional(),\n name: z.string().describe(\"KPI name\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether data entry is permitted\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the KPI was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the KPI was last updated\").nullable().optional(),\n category_id: z.number().int().describe(\"Category ID\").nullable().optional(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable().optional(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated KPI information.\");\n\nexport const simplekpiUpdateCategoryKpi = action(\"SIMPLEKPI_UPDATE_CATEGORY_KPI\", {\n slug: \"simplekpi-update-category-kpi\",\n name: \"Update Category KPI\",\n description: \"Tool to update a KPI within a category. Use when you need to modify KPI details such as name, target, frequency, or aggregation method.\",\n input: SimplekpiUpdateCategoryKpiInput,\n output: SimplekpiUpdateCategoryKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-category-kpi.mjs","names":[],"sources":["../../src/actions/update-category-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateCategoryKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (max 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(\"Determines if data entry is permitted for this KPI\"),\n sort_order: z.number().int().describe(\"Display ordering position\"),\n category_id: z.number().int().describe(\"Category ID containing the KPI\"),\n description: z.string().describe(\"KPI description (max 150 characters)\").optional(),\n frequency_id: z.enum([\"W\", \"D\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency: W (Weekly), D (Daily), M (Monthly), Q (Quarterly), or Y (Yearly)\"),\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 (Up), D (Down), or N (None)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method: AVG (Average) or SUM (Sum)\"),\n}).describe(\"Request to update a KPI within a category.\");\nexport const SimplekpiUpdateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable().optional(),\n name: z.string().describe(\"KPI name\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether data entry is permitted\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the KPI was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the KPI was last updated\").nullable().optional(),\n category_id: z.number().int().describe(\"Category ID\").nullable().optional(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable().optional(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated KPI information.\");\n\nexport const simplekpiUpdateCategoryKpi: AppAction<\n typeof SimplekpiUpdateCategoryKpiInput,\n typeof SimplekpiUpdateCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_CATEGORY_KPI\", {\n slug: \"simplekpi-update-category-kpi\",\n name: \"Update Category KPI\",\n description: \"Tool to update a KPI within a category. Use when you need to modify KPI details such as name, target, frequency, or aggregation method.\",\n input: SimplekpiUpdateCategoryKpiInput,\n output: SimplekpiUpdateCategoryKpiOutput,\n});\n"],"mappings":";;;AAqCA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvC6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,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,oDAAoD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAClF,cAAc,EAAE,KAAK;GAAC;GAAK;GAAK;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,wFAAwF;EACjJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;EACtG,oBAAoB,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD;CACtG,CAAC,CAAC,CAAC,SAAS,4CA0BH;CACP,QA1B8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-item.cjs","names":["z","action"],"sources":["../../src/actions/update-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to update.\"),\n name: z.string().describe(\"The new name for the item. Maximum length is 50 characters.\"),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\"),\n sort_order: z.number().int().describe(\"The display order of the item. Must be a 16-bit integer (range: -32768 to 32767).\"),\n}).describe(\"Request model for updating an existing group item.\");\nexport const SimplekpiUpdateGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the updated item.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the item.\").nullable().optional(),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model for update group item action.\");\n\nexport const simplekpiUpdateGroupItem = action(\"SIMPLEKPI_UPDATE_GROUP_ITEM\", {\n slug: \"simplekpi-update-group-item\",\n name: \"Update Group Item\",\n description: \"Tool to update an existing item in a SimpleKPI group. Use when you need to modify the name or sort order of a group item. Requires both group_id and item id to identify the item to update. Both name and sort_order must be provided.\",\n input: SimplekpiUpdateGroupItemInput,\n output: SimplekpiUpdateGroupItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-item.cjs","names":["z","action"],"sources":["../../src/actions/update-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to update.\"),\n name: z.string().describe(\"The new name for the item. Maximum length is 50 characters.\"),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\"),\n sort_order: z.number().int().describe(\"The display order of the item. Must be a 16-bit integer (range: -32768 to 32767).\"),\n}).describe(\"Request model for updating an existing group item.\");\nexport const SimplekpiUpdateGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the updated item.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the item.\").nullable().optional(),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model for update group item action.\");\n\nexport const simplekpiUpdateGroupItem: AppAction<\n typeof SimplekpiUpdateGroupItemInput,\n typeof SimplekpiUpdateGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_GROUP_ITEM\", {\n slug: \"simplekpi-update-group-item\",\n name: \"Update Group Item\",\n description: \"Tool to update an existing item in a SimpleKPI group. Use when you need to modify the name or sort order of a group item. Requires both group_id and item id to identify the item to update. Both name and sort_order must be provided.\",\n input: SimplekpiUpdateGroupItemInput,\n output: SimplekpiUpdateGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;AAC3H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-group-item.d.ts
|
|
@@ -13,12 +15,7 @@ declare const SimplekpiUpdateGroupItemOutput: z.ZodObject<{
|
|
|
13
15
|
group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiUpdateGroupItem:
|
|
17
|
-
id: number;
|
|
18
|
-
name: string;
|
|
19
|
-
group_id: number;
|
|
20
|
-
sort_order: number;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const simplekpiUpdateGroupItem: AppAction<typeof SimplekpiUpdateGroupItemInput, typeof SimplekpiUpdateGroupItemOutput, typeof simplekpi.credential>;
|
|
22
19
|
//#endregion
|
|
23
20
|
export { simplekpiUpdateGroupItem };
|
|
24
21
|
//# sourceMappingURL=update-group-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-item.d.cts","names":[],"sources":["../../src/actions/update-group-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-item.d.cts","names":[],"sources":["../../src/actions/update-group-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-group-item.d.ts
|
|
@@ -13,12 +15,7 @@ declare const SimplekpiUpdateGroupItemOutput: z.ZodObject<{
|
|
|
13
15
|
group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiUpdateGroupItem:
|
|
17
|
-
id: number;
|
|
18
|
-
name: string;
|
|
19
|
-
group_id: number;
|
|
20
|
-
sort_order: number;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const simplekpiUpdateGroupItem: AppAction<typeof SimplekpiUpdateGroupItemInput, typeof SimplekpiUpdateGroupItemOutput, typeof simplekpi.credential>;
|
|
22
19
|
//#endregion
|
|
23
20
|
export { simplekpiUpdateGroupItem };
|
|
24
21
|
//# sourceMappingURL=update-group-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-item.d.mts","names":[],"sources":["../../src/actions/update-group-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-item.d.mts","names":[],"sources":["../../src/actions/update-group-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAO9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-item.mjs","names":[],"sources":["../../src/actions/update-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to update.\"),\n name: z.string().describe(\"The new name for the item. Maximum length is 50 characters.\"),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\"),\n sort_order: z.number().int().describe(\"The display order of the item. Must be a 16-bit integer (range: -32768 to 32767).\"),\n}).describe(\"Request model for updating an existing group item.\");\nexport const SimplekpiUpdateGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the updated item.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the item.\").nullable().optional(),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model for update group item action.\");\n\nexport const simplekpiUpdateGroupItem = action(\"SIMPLEKPI_UPDATE_GROUP_ITEM\", {\n slug: \"simplekpi-update-group-item\",\n name: \"Update Group Item\",\n description: \"Tool to update an existing item in a SimpleKPI group. Use when you need to modify the name or sort order of a group item. Requires both group_id and item id to identify the item to update. Both name and sort_order must be provided.\",\n input: SimplekpiUpdateGroupItemInput,\n output: SimplekpiUpdateGroupItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group-item.mjs","names":[],"sources":["../../src/actions/update-group-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateGroupItemInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the item to update.\"),\n name: z.string().describe(\"The new name for the item. Maximum length is 50 characters.\"),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\"),\n sort_order: z.number().int().describe(\"The display order of the item. Must be a 16-bit integer (range: -32768 to 32767).\"),\n}).describe(\"Request model for updating an existing group item.\");\nexport const SimplekpiUpdateGroupItemOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the updated item.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the item.\").nullable().optional(),\n group_id: z.number().int().describe(\"The unique identifier of the group containing the item.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the item.\").nullable().optional(),\n}).passthrough().describe(\"Response model for update group item action.\");\n\nexport const simplekpiUpdateGroupItem: AppAction<\n typeof SimplekpiUpdateGroupItemInput,\n typeof SimplekpiUpdateGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_GROUP_ITEM\", {\n slug: \"simplekpi-update-group-item\",\n name: \"Update Group Item\",\n description: \"Tool to update an existing item in a SimpleKPI group. Use when you need to modify the name or sort order of a group item. Requires both group_id and item id to identify the item to update. Both name and sort_order must be provided.\",\n input: SimplekpiUpdateGroupItemInput,\n output: SimplekpiUpdateGroupItemOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CAC3H,CAAC,CAAC,CAAC,SAAS,oDAgBH;CACP,QAhB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group.cjs","names":["z","action"],"sources":["../../src/actions/update-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateGroupInput = z.object({\n id: z.number().int().describe(\"The unique ID of the group to update.\"),\n name: z.string().describe(\"The new name for the group (max 50 characters).\"),\n sort_order: z.number().int().describe(\"The display order for the group. Lower values appear first.\"),\n}).describe(\"Request model for updating an existing SimpleKPI group.\");\nexport const SimplekpiUpdateGroupOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the updated group.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the group.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a SimpleKPI group.\");\n\nexport const simplekpiUpdateGroup = action(\"SIMPLEKPI_UPDATE_GROUP\", {\n slug: \"simplekpi-update-group\",\n name: \"Update Group\",\n description: \"Tool to update an existing group in SimpleKPI. Use when you need to modify a group's name or display order.\",\n input: SimplekpiUpdateGroupInput,\n output: SimplekpiUpdateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group.cjs","names":["z","action"],"sources":["../../src/actions/update-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateGroupInput = z.object({\n id: z.number().int().describe(\"The unique ID of the group to update.\"),\n name: z.string().describe(\"The new name for the group (max 50 characters).\"),\n sort_order: z.number().int().describe(\"The display order for the group. Lower values appear first.\"),\n}).describe(\"Request model for updating an existing SimpleKPI group.\");\nexport const SimplekpiUpdateGroupOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the updated group.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the group.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a SimpleKPI group.\");\n\nexport const simplekpiUpdateGroup: AppAction<\n typeof SimplekpiUpdateGroupInput,\n typeof SimplekpiUpdateGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_GROUP\", {\n slug: \"simplekpi-update-group\",\n name: \"Update Group\",\n description: \"Tool to update an existing group in SimpleKPI. Use when you need to modify a group's name or display order.\",\n input: SimplekpiUpdateGroupInput,\n output: SimplekpiUpdateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;AACrG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-group.d.ts
|
|
@@ -11,11 +13,7 @@ declare const SimplekpiUpdateGroupOutput: z.ZodObject<{
|
|
|
11
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const simplekpiUpdateGroup:
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
sort_order: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const simplekpiUpdateGroup: AppAction<typeof SimplekpiUpdateGroupInput, typeof SimplekpiUpdateGroupOutput, typeof simplekpi.credential>;
|
|
19
17
|
//#endregion
|
|
20
18
|
export { simplekpiUpdateGroup };
|
|
21
19
|
//# sourceMappingURL=update-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group.d.cts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group.d.cts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-group.d.ts
|
|
@@ -11,11 +13,7 @@ declare const SimplekpiUpdateGroupOutput: z.ZodObject<{
|
|
|
11
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const simplekpiUpdateGroup:
|
|
15
|
-
id: number;
|
|
16
|
-
name: string;
|
|
17
|
-
sort_order: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const simplekpiUpdateGroup: AppAction<typeof SimplekpiUpdateGroupInput, typeof SimplekpiUpdateGroupOutput, typeof simplekpi.credential>;
|
|
19
17
|
//#endregion
|
|
20
18
|
export { simplekpiUpdateGroup };
|
|
21
19
|
//# sourceMappingURL=update-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group.d.mts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group.d.mts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group.mjs","names":[],"sources":["../../src/actions/update-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateGroupInput = z.object({\n id: z.number().int().describe(\"The unique ID of the group to update.\"),\n name: z.string().describe(\"The new name for the group (max 50 characters).\"),\n sort_order: z.number().int().describe(\"The display order for the group. Lower values appear first.\"),\n}).describe(\"Request model for updating an existing SimpleKPI group.\");\nexport const SimplekpiUpdateGroupOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the updated group.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the group.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a SimpleKPI group.\");\n\nexport const simplekpiUpdateGroup = action(\"SIMPLEKPI_UPDATE_GROUP\", {\n slug: \"simplekpi-update-group\",\n name: \"Update Group\",\n description: \"Tool to update an existing group in SimpleKPI. Use when you need to modify a group's name or display order.\",\n input: SimplekpiUpdateGroupInput,\n output: SimplekpiUpdateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-group.mjs","names":[],"sources":["../../src/actions/update-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateGroupInput = z.object({\n id: z.number().int().describe(\"The unique ID of the group to update.\"),\n name: z.string().describe(\"The new name for the group (max 50 characters).\"),\n sort_order: z.number().int().describe(\"The display order for the group. Lower values appear first.\"),\n}).describe(\"Request model for updating an existing SimpleKPI group.\");\nexport const SimplekpiUpdateGroupOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the updated group.\").nullable().optional(),\n name: z.string().describe(\"The updated name of the group.\").nullable().optional(),\n sort_order: z.number().int().describe(\"The updated display order of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after updating a SimpleKPI group.\");\n\nexport const simplekpiUpdateGroup: AppAction<\n typeof SimplekpiUpdateGroupInput,\n typeof SimplekpiUpdateGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_GROUP\", {\n slug: \"simplekpi-update-group\",\n name: \"Update Group\",\n description: \"Tool to update an existing group in SimpleKPI. Use when you need to modify a group's name or display order.\",\n input: SimplekpiUpdateGroupInput,\n output: SimplekpiUpdateGroupOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CACrG,CAAC,CAAC,CAAC,SAAS,yDAeH;CACP,QAfwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-entry.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiEntryInput = z.object({\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").optional(),\n actual: z.number().describe(\"The actual value. Cannot be null if the target and notes are both null\").optional(),\n kpi_id: z.number().int().describe(\"The KPI must be active and cannot be a calculated KPI. The KPI must also be assigned to the user\"),\n target: z.number().describe(\"The target value of the entry. This value will be ignored if the KPI has a null target\").optional(),\n user_id: z.number().int().describe(\"An ID of an active user to assign to the KPI entry\"),\n entry_date: z.string().describe(\"The date of the entry. Date time format without timezone, e.g. '2019-01-01T00:00:00'\"),\n kpientryid: z.number().int().describe(\"The ID of the KPI entry to update (required)\"),\n}).describe(\"Request model for updating an existing KPI entry in SimpleKPI.\");\nexport const SimplekpiUpdateKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI entry\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry\").nullable().optional(),\n actual: z.number().describe(\"The actual value of the entry\").nullable().optional(),\n kpi_id: z.number().int().describe(\"The ID of the associated KPI\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to this KPI entry\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the KPI entry was created. Date time format without timezone, e.g. '2012-11-30T11:20:00'\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry in date time format without timezone, e.g. '2012-06-25'\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time the KPI entry was updated. Date time format without timezone, e.g. '2013-02-15T16:01:00'\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated KPI entry details.\");\n\nexport const simplekpiUpdateKpiEntry = action(\"SIMPLEKPI_UPDATE_KPI_ENTRY\", {\n slug: \"simplekpi-update-kpi-entry\",\n name: \"Update KPI Entry\",\n description: \"Tool to update an existing KPI entry in SimpleKPI. Use when modifying entry values, targets, or notes for a specific KPI entry. At least one of actual, target, or notes must be provided (actual cannot be null if both target and notes are null).\",\n input: SimplekpiUpdateKpiEntryInput,\n output: SimplekpiUpdateKpiEntryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-kpi-entry.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi-entry.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateKpiEntryInput = z.object({\n notes: z.string().describe(\"The note associated with the KPI entry (max 500 characters)\").optional(),\n actual: z.number().describe(\"The actual value. Cannot be null if the target and notes are both null\").optional(),\n kpi_id: z.number().int().describe(\"The KPI must be active and cannot be a calculated KPI. The KPI must also be assigned to the user\"),\n target: z.number().describe(\"The target value of the entry. This value will be ignored if the KPI has a null target\").optional(),\n user_id: z.number().int().describe(\"An ID of an active user to assign to the KPI entry\"),\n entry_date: z.string().describe(\"The date of the entry. Date time format without timezone, e.g. '2019-01-01T00:00:00'\"),\n kpientryid: z.number().int().describe(\"The ID of the KPI entry to update (required)\"),\n}).describe(\"Request model for updating an existing KPI entry in SimpleKPI.\");\nexport const SimplekpiUpdateKpiEntryOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI entry\").nullable(),\n notes: z.string().describe(\"The note associated with the KPI entry\").nullable().optional(),\n actual: z.number().describe(\"The actual value of the entry\").nullable().optional(),\n kpi_id: z.number().int().describe(\"The ID of the associated KPI\").nullable(),\n target: z.number().describe(\"The target value of the entry\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to this KPI entry\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the KPI entry was created. Date time format without timezone, e.g. '2012-11-30T11:20:00'\").nullable().optional(),\n entry_date: z.string().describe(\"The date of the entry in date time format without timezone, e.g. '2012-06-25'\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time the KPI entry was updated. Date time format without timezone, e.g. '2013-02-15T16:01:00'\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated KPI entry details.\");\n\nexport const simplekpiUpdateKpiEntry: AppAction<\n typeof SimplekpiUpdateKpiEntryInput,\n typeof SimplekpiUpdateKpiEntryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_KPI_ENTRY\", {\n slug: \"simplekpi-update-kpi-entry\",\n name: \"Update KPI Entry\",\n description: \"Tool to update an existing KPI entry in SimpleKPI. Use when modifying entry values, targets, or notes for a specific KPI entry. At least one of actual, target, or notes must be provided (actual cannot be null if both target and notes are null).\",\n input: SimplekpiUpdateKpiEntryInput,\n output: SimplekpiUpdateKpiEntryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;CACpI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACtF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|