@keystrokehq/simplekpi 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-user-group-item.cjs +3 -3
- package/dist/actions/add-user-group-item.cjs.map +1 -1
- package/dist/actions/add-user-group-item.d.cts +16 -3
- package/dist/actions/add-user-group-item.d.cts.map +1 -1
- package/dist/actions/add-user-group-item.d.mts +16 -3
- package/dist/actions/add-user-group-item.d.mts.map +1 -1
- package/dist/actions/add-user-group-item.mjs +3 -3
- package/dist/actions/add-user-group-item.mjs.map +1 -1
- package/dist/actions/add-user-kpi.cjs +1 -1
- package/dist/actions/add-user-kpi.cjs.map +1 -1
- package/dist/actions/add-user-kpi.d.cts +20 -3
- package/dist/actions/add-user-kpi.d.cts.map +1 -1
- package/dist/actions/add-user-kpi.d.mts +20 -3
- package/dist/actions/add-user-kpi.d.mts.map +1 -1
- package/dist/actions/add-user-kpi.mjs +1 -1
- package/dist/actions/add-user-kpi.mjs.map +1 -1
- package/dist/actions/create-category-kpi.cjs +1 -1
- package/dist/actions/create-category-kpi.cjs.map +1 -1
- package/dist/actions/create-category-kpi.d.cts +41 -3
- package/dist/actions/create-category-kpi.d.cts.map +1 -1
- package/dist/actions/create-category-kpi.d.mts +41 -3
- package/dist/actions/create-category-kpi.d.mts.map +1 -1
- package/dist/actions/create-category-kpi.mjs +1 -1
- package/dist/actions/create-category-kpi.mjs.map +1 -1
- package/dist/actions/create-group-item.cjs +5 -5
- package/dist/actions/create-group-item.cjs.map +1 -1
- package/dist/actions/create-group-item.d.cts +18 -3
- package/dist/actions/create-group-item.d.cts.map +1 -1
- package/dist/actions/create-group-item.d.mts +18 -3
- package/dist/actions/create-group-item.d.mts.map +1 -1
- package/dist/actions/create-group-item.mjs +5 -5
- package/dist/actions/create-group-item.mjs.map +1 -1
- package/dist/actions/create-group.cjs +4 -4
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +15 -3
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +15 -3
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +4 -4
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-kpi-category.cjs +4 -4
- package/dist/actions/create-kpi-category.cjs.map +1 -1
- package/dist/actions/create-kpi-category.d.cts +15 -3
- package/dist/actions/create-kpi-category.d.cts.map +1 -1
- package/dist/actions/create-kpi-category.d.mts +15 -3
- package/dist/actions/create-kpi-category.d.mts.map +1 -1
- package/dist/actions/create-kpi-category.mjs +4 -4
- package/dist/actions/create-kpi-category.mjs.map +1 -1
- package/dist/actions/create-kpi-unit.cjs +1 -1
- package/dist/actions/create-kpi-unit.cjs.map +1 -1
- package/dist/actions/create-kpi-unit.d.cts +21 -3
- package/dist/actions/create-kpi-unit.d.cts.map +1 -1
- package/dist/actions/create-kpi-unit.d.mts +21 -3
- package/dist/actions/create-kpi-unit.d.mts.map +1 -1
- package/dist/actions/create-kpi-unit.mjs +1 -1
- package/dist/actions/create-kpi-unit.mjs.map +1 -1
- package/dist/actions/create-kpi.cjs +11 -11
- package/dist/actions/create-kpi.cjs.map +1 -1
- package/dist/actions/create-kpi.d.cts +46 -3
- package/dist/actions/create-kpi.d.cts.map +1 -1
- package/dist/actions/create-kpi.d.mts +46 -3
- package/dist/actions/create-kpi.d.mts.map +1 -1
- package/dist/actions/create-kpi.mjs +11 -11
- package/dist/actions/create-kpi.mjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.cjs +2 -2
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.cts +40 -3
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.mts +40 -3
- package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.mjs +2 -2
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +40 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +40 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-category-kpi.cjs +1 -1
- package/dist/actions/delete-category-kpi.cjs.map +1 -1
- package/dist/actions/delete-category-kpi.d.cts +9 -3
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +9 -3
- package/dist/actions/delete-category-kpi.d.mts.map +1 -1
- package/dist/actions/delete-category-kpi.mjs +1 -1
- package/dist/actions/delete-category-kpi.mjs.map +1 -1
- package/dist/actions/delete-group-item.cjs +3 -3
- package/dist/actions/delete-group-item.cjs.map +1 -1
- package/dist/actions/delete-group-item.d.cts +12 -3
- package/dist/actions/delete-group-item.d.cts.map +1 -1
- package/dist/actions/delete-group-item.d.mts +12 -3
- package/dist/actions/delete-group-item.d.mts.map +1 -1
- package/dist/actions/delete-group-item.mjs +3 -3
- package/dist/actions/delete-group-item.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +10 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +10 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-kpi-category.cjs +4 -4
- package/dist/actions/delete-kpi-category.cjs.map +1 -1
- package/dist/actions/delete-kpi-category.d.cts +11 -3
- package/dist/actions/delete-kpi-category.d.cts.map +1 -1
- package/dist/actions/delete-kpi-category.d.mts +11 -3
- package/dist/actions/delete-kpi-category.d.mts.map +1 -1
- package/dist/actions/delete-kpi-category.mjs +4 -4
- package/dist/actions/delete-kpi-category.mjs.map +1 -1
- package/dist/actions/delete-kpi-entry.cjs +1 -1
- package/dist/actions/delete-kpi-entry.cjs.map +1 -1
- package/dist/actions/delete-kpi-entry.d.cts +7 -3
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +7 -3
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
- package/dist/actions/delete-kpi-entry.mjs +1 -1
- package/dist/actions/delete-kpi-entry.mjs.map +1 -1
- package/dist/actions/delete-kpi-unit.cjs +4 -4
- package/dist/actions/delete-kpi-unit.cjs.map +1 -1
- package/dist/actions/delete-kpi-unit.d.cts +11 -3
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +11 -3
- package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
- package/dist/actions/delete-kpi-unit.mjs +4 -4
- package/dist/actions/delete-kpi-unit.mjs.map +1 -1
- package/dist/actions/delete-kpi.cjs +3 -3
- package/dist/actions/delete-kpi.cjs.map +1 -1
- package/dist/actions/delete-kpi.d.cts +10 -3
- package/dist/actions/delete-kpi.d.cts.map +1 -1
- package/dist/actions/delete-kpi.d.mts +10 -3
- package/dist/actions/delete-kpi.d.mts.map +1 -1
- package/dist/actions/delete-kpi.mjs +3 -3
- package/dist/actions/delete-kpi.mjs.map +1 -1
- package/dist/actions/delete-user-group-item.cjs +1 -1
- package/dist/actions/delete-user-group-item.cjs.map +1 -1
- package/dist/actions/delete-user-group-item.d.cts +11 -3
- package/dist/actions/delete-user-group-item.d.cts.map +1 -1
- package/dist/actions/delete-user-group-item.d.mts +11 -3
- package/dist/actions/delete-user-group-item.d.mts.map +1 -1
- package/dist/actions/delete-user-group-item.mjs +1 -1
- package/dist/actions/delete-user-group-item.mjs.map +1 -1
- package/dist/actions/delete-user-kpi.cjs +3 -3
- package/dist/actions/delete-user-kpi.cjs.map +1 -1
- package/dist/actions/delete-user-kpi.d.cts +12 -3
- package/dist/actions/delete-user-kpi.d.cts.map +1 -1
- package/dist/actions/delete-user-kpi.d.mts +12 -3
- package/dist/actions/delete-user-kpi.d.mts.map +1 -1
- package/dist/actions/delete-user-kpi.mjs +3 -3
- package/dist/actions/delete-user-kpi.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +10 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +10 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-all-data-entries.cjs +2 -2
- package/dist/actions/get-all-data-entries.cjs.map +1 -1
- package/dist/actions/get-all-data-entries.d.cts +34 -3
- package/dist/actions/get-all-data-entries.d.cts.map +1 -1
- package/dist/actions/get-all-data-entries.d.mts +34 -3
- package/dist/actions/get-all-data-entries.d.mts.map +1 -1
- package/dist/actions/get-all-data-entries.mjs +2 -2
- package/dist/actions/get-all-data-entries.mjs.map +1 -1
- package/dist/actions/get-category-kpi.cjs +4 -4
- package/dist/actions/get-category-kpi.cjs.map +1 -1
- package/dist/actions/get-category-kpi.d.cts +25 -3
- package/dist/actions/get-category-kpi.d.cts.map +1 -1
- package/dist/actions/get-category-kpi.d.mts +25 -3
- package/dist/actions/get-category-kpi.d.mts.map +1 -1
- package/dist/actions/get-category-kpi.mjs +4 -4
- package/dist/actions/get-category-kpi.mjs.map +1 -1
- package/dist/actions/get-group-item.cjs +1 -1
- package/dist/actions/get-group-item.cjs.map +1 -1
- package/dist/actions/get-group-item.d.cts +16 -3
- package/dist/actions/get-group-item.d.cts.map +1 -1
- package/dist/actions/get-group-item.d.mts +16 -3
- package/dist/actions/get-group-item.d.mts.map +1 -1
- package/dist/actions/get-group-item.mjs +1 -1
- package/dist/actions/get-group-item.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -1
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +13 -3
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +13 -3
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +1 -1
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-kpi-category.cjs +1 -1
- package/dist/actions/get-kpi-category.cjs.map +1 -1
- package/dist/actions/get-kpi-category.d.cts +13 -3
- package/dist/actions/get-kpi-category.d.cts.map +1 -1
- package/dist/actions/get-kpi-category.d.mts +13 -3
- package/dist/actions/get-kpi-category.d.mts.map +1 -1
- package/dist/actions/get-kpi-category.mjs +1 -1
- package/dist/actions/get-kpi-category.mjs.map +1 -1
- package/dist/actions/get-kpi-entry.cjs +6 -6
- package/dist/actions/get-kpi-entry.cjs.map +1 -1
- package/dist/actions/get-kpi-entry.d.cts +17 -3
- package/dist/actions/get-kpi-entry.d.cts.map +1 -1
- package/dist/actions/get-kpi-entry.d.mts +17 -3
- package/dist/actions/get-kpi-entry.d.mts.map +1 -1
- package/dist/actions/get-kpi-entry.mjs +6 -6
- package/dist/actions/get-kpi-entry.mjs.map +1 -1
- package/dist/actions/get-kpi-frequency.cjs +1 -1
- package/dist/actions/get-kpi-frequency.cjs.map +1 -1
- package/dist/actions/get-kpi-frequency.d.cts +10 -3
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +10 -3
- package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
- package/dist/actions/get-kpi-frequency.mjs +1 -1
- package/dist/actions/get-kpi-frequency.mjs.map +1 -1
- package/dist/actions/get-kpi-icon.cjs +1 -1
- package/dist/actions/get-kpi-icon.cjs.map +1 -1
- package/dist/actions/get-kpi-icon.d.cts +10 -3
- package/dist/actions/get-kpi-icon.d.cts.map +1 -1
- package/dist/actions/get-kpi-icon.d.mts +10 -3
- package/dist/actions/get-kpi-icon.d.mts.map +1 -1
- package/dist/actions/get-kpi-icon.mjs +1 -1
- package/dist/actions/get-kpi-icon.mjs.map +1 -1
- package/dist/actions/get-kpi-unit.cjs +3 -3
- package/dist/actions/get-kpi-unit.cjs.map +1 -1
- package/dist/actions/get-kpi-unit.d.cts +15 -3
- package/dist/actions/get-kpi-unit.d.cts.map +1 -1
- package/dist/actions/get-kpi-unit.d.mts +15 -3
- package/dist/actions/get-kpi-unit.d.mts.map +1 -1
- package/dist/actions/get-kpi-unit.mjs +3 -3
- package/dist/actions/get-kpi-unit.mjs.map +1 -1
- package/dist/actions/get-kpi.cjs +1 -1
- package/dist/actions/get-kpi.cjs.map +1 -1
- package/dist/actions/get-kpi.d.cts +23 -3
- package/dist/actions/get-kpi.d.cts.map +1 -1
- package/dist/actions/get-kpi.d.mts +23 -3
- package/dist/actions/get-kpi.d.mts.map +1 -1
- package/dist/actions/get-kpi.mjs +1 -1
- package/dist/actions/get-kpi.mjs.map +1 -1
- package/dist/actions/get-user-group-item.cjs +6 -6
- package/dist/actions/get-user-group-item.cjs.map +1 -1
- package/dist/actions/get-user-group-item.d.cts +16 -3
- package/dist/actions/get-user-group-item.d.cts.map +1 -1
- package/dist/actions/get-user-group-item.d.mts +16 -3
- package/dist/actions/get-user-group-item.d.mts.map +1 -1
- package/dist/actions/get-user-group-item.mjs +6 -6
- package/dist/actions/get-user-group-item.mjs.map +1 -1
- package/dist/actions/get-user-kpi.cjs +1 -1
- package/dist/actions/get-user-kpi.cjs.map +1 -1
- package/dist/actions/get-user-kpi.d.cts +16 -3
- package/dist/actions/get-user-kpi.d.cts.map +1 -1
- package/dist/actions/get-user-kpi.d.mts +16 -3
- package/dist/actions/get-user-kpi.d.mts.map +1 -1
- package/dist/actions/get-user-kpi.mjs +1 -1
- package/dist/actions/get-user-kpi.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +21 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +21 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-category-kpis.cjs +2 -2
- package/dist/actions/list-category-kpis.cjs.map +1 -1
- package/dist/actions/list-category-kpis.d.cts +25 -3
- package/dist/actions/list-category-kpis.d.cts.map +1 -1
- package/dist/actions/list-category-kpis.d.mts +25 -3
- package/dist/actions/list-category-kpis.d.mts.map +1 -1
- package/dist/actions/list-category-kpis.mjs +2 -2
- package/dist/actions/list-category-kpis.mjs.map +1 -1
- package/dist/actions/list-group-items.cjs +2 -2
- package/dist/actions/list-group-items.cjs.map +1 -1
- package/dist/actions/list-group-items.d.cts +16 -3
- package/dist/actions/list-group-items.d.cts.map +1 -1
- package/dist/actions/list-group-items.d.mts +16 -3
- package/dist/actions/list-group-items.d.mts.map +1 -1
- package/dist/actions/list-group-items.mjs +2 -2
- package/dist/actions/list-group-items.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +7 -7
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +11 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +11 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +7 -7
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-kpi-categories.cjs +5 -5
- package/dist/actions/list-kpi-categories.cjs.map +1 -1
- package/dist/actions/list-kpi-categories.d.cts +11 -3
- package/dist/actions/list-kpi-categories.d.cts.map +1 -1
- package/dist/actions/list-kpi-categories.d.mts +11 -3
- package/dist/actions/list-kpi-categories.d.mts.map +1 -1
- package/dist/actions/list-kpi-categories.mjs +5 -5
- package/dist/actions/list-kpi-categories.mjs.map +1 -1
- package/dist/actions/list-kpi-entries.cjs +2 -2
- package/dist/actions/list-kpi-entries.cjs.map +1 -1
- package/dist/actions/list-kpi-entries.d.cts +29 -3
- package/dist/actions/list-kpi-entries.d.cts.map +1 -1
- package/dist/actions/list-kpi-entries.d.mts +29 -3
- package/dist/actions/list-kpi-entries.d.mts.map +1 -1
- package/dist/actions/list-kpi-entries.mjs +2 -2
- package/dist/actions/list-kpi-entries.mjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.cjs +4 -4
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.cts +8 -3
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.mts +8 -3
- package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
- package/dist/actions/list-kpi-frequencies.mjs +4 -4
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
- package/dist/actions/list-kpi-icons.cjs +4 -4
- package/dist/actions/list-kpi-icons.cjs.map +1 -1
- package/dist/actions/list-kpi-icons.d.cts +10 -3
- package/dist/actions/list-kpi-icons.d.cts.map +1 -1
- package/dist/actions/list-kpi-icons.d.mts +10 -3
- package/dist/actions/list-kpi-icons.d.mts.map +1 -1
- package/dist/actions/list-kpi-icons.mjs +4 -4
- package/dist/actions/list-kpi-icons.mjs.map +1 -1
- package/dist/actions/list-kpi-units.cjs +2 -2
- package/dist/actions/list-kpi-units.cjs.map +1 -1
- package/dist/actions/list-kpi-units.d.cts +13 -3
- package/dist/actions/list-kpi-units.d.cts.map +1 -1
- package/dist/actions/list-kpi-units.d.mts +13 -3
- package/dist/actions/list-kpi-units.d.mts.map +1 -1
- package/dist/actions/list-kpi-units.mjs +2 -2
- package/dist/actions/list-kpi-units.mjs.map +1 -1
- package/dist/actions/list-kpis.cjs +2 -2
- package/dist/actions/list-kpis.cjs.map +1 -1
- package/dist/actions/list-kpis.d.cts +21 -3
- package/dist/actions/list-kpis.d.cts.map +1 -1
- package/dist/actions/list-kpis.d.mts +21 -3
- package/dist/actions/list-kpis.d.mts.map +1 -1
- package/dist/actions/list-kpis.mjs +2 -2
- package/dist/actions/list-kpis.mjs.map +1 -1
- package/dist/actions/list-user-group-items.cjs +8 -8
- package/dist/actions/list-user-group-items.cjs.map +1 -1
- package/dist/actions/list-user-group-items.d.cts +16 -3
- package/dist/actions/list-user-group-items.d.cts.map +1 -1
- package/dist/actions/list-user-group-items.d.mts +16 -3
- package/dist/actions/list-user-group-items.d.mts.map +1 -1
- package/dist/actions/list-user-group-items.mjs +8 -8
- package/dist/actions/list-user-group-items.mjs.map +1 -1
- package/dist/actions/list-user-kpis.cjs +7 -7
- package/dist/actions/list-user-kpis.cjs.map +1 -1
- package/dist/actions/list-user-kpis.d.cts +16 -3
- package/dist/actions/list-user-kpis.d.cts.map +1 -1
- package/dist/actions/list-user-kpis.d.mts +16 -3
- package/dist/actions/list-user-kpis.d.mts.map +1 -1
- package/dist/actions/list-user-kpis.mjs +7 -7
- package/dist/actions/list-user-kpis.mjs.map +1 -1
- package/dist/actions/update-category-kpi.cjs +1 -1
- package/dist/actions/update-category-kpi.cjs.map +1 -1
- package/dist/actions/update-category-kpi.d.cts +57 -3
- package/dist/actions/update-category-kpi.d.cts.map +1 -1
- package/dist/actions/update-category-kpi.d.mts +57 -3
- package/dist/actions/update-category-kpi.d.mts.map +1 -1
- package/dist/actions/update-category-kpi.mjs +1 -1
- package/dist/actions/update-category-kpi.mjs.map +1 -1
- package/dist/actions/update-group-item.cjs +1 -1
- package/dist/actions/update-group-item.cjs.map +1 -1
- package/dist/actions/update-group-item.d.cts +18 -3
- package/dist/actions/update-group-item.d.cts.map +1 -1
- package/dist/actions/update-group-item.d.mts +18 -3
- package/dist/actions/update-group-item.d.mts.map +1 -1
- package/dist/actions/update-group-item.mjs +1 -1
- package/dist/actions/update-group-item.mjs.map +1 -1
- package/dist/actions/update-group.cjs +1 -1
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +15 -3
- package/dist/actions/update-group.d.cts.map +1 -1
- package/dist/actions/update-group.d.mts +15 -3
- package/dist/actions/update-group.d.mts.map +1 -1
- package/dist/actions/update-group.mjs +1 -1
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-kpi-entry.cjs +5 -5
- package/dist/actions/update-kpi-entry.cjs.map +1 -1
- package/dist/actions/update-kpi-entry.d.cts +29 -3
- package/dist/actions/update-kpi-entry.d.cts.map +1 -1
- package/dist/actions/update-kpi-entry.d.mts +29 -3
- package/dist/actions/update-kpi-entry.d.mts.map +1 -1
- package/dist/actions/update-kpi-entry.mjs +5 -5
- package/dist/actions/update-kpi-entry.mjs.map +1 -1
- package/dist/actions/update-kpi-unit.cjs +6 -6
- package/dist/actions/update-kpi-unit.cjs.map +1 -1
- package/dist/actions/update-kpi-unit.d.cts +21 -3
- package/dist/actions/update-kpi-unit.d.cts.map +1 -1
- package/dist/actions/update-kpi-unit.d.mts +21 -3
- package/dist/actions/update-kpi-unit.d.mts.map +1 -1
- package/dist/actions/update-kpi-unit.mjs +6 -6
- package/dist/actions/update-kpi-unit.mjs.map +1 -1
- package/dist/actions/update-kpi.cjs +11 -11
- package/dist/actions/update-kpi.cjs.map +1 -1
- package/dist/actions/update-kpi.d.cts +55 -3
- package/dist/actions/update-kpi.d.cts.map +1 -1
- package/dist/actions/update-kpi.d.mts +55 -3
- package/dist/actions/update-kpi.d.mts.map +1 -1
- package/dist/actions/update-kpi.mjs +11 -11
- package/dist/actions/update-kpi.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +30 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +30 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/catalog.cjs +25 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +24 -0
- package/dist/catalog.d.mts +24 -0
- package/dist/catalog.mjs +25 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group.d.cts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"update-group.d.cts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-group.d.ts
|
|
4
|
-
declare const SimplekpiUpdateGroupInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateGroupInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
sort_order: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SimplekpiUpdateGroupOutput: z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const simplekpiUpdateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { simplekpiUpdateGroup };
|
|
9
21
|
//# sourceMappingURL=update-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group.d.mts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"update-group.d.mts","names":[],"sources":["../../src/actions/update-group.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAM1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -13,7 +13,7 @@ const simplekpiUpdateGroup = action("SIMPLEKPI_UPDATE_GROUP", {
|
|
|
13
13
|
id: z.number().int().describe("The unique ID of the updated group.").nullable().optional(),
|
|
14
14
|
name: z.string().describe("The updated name of the group.").nullable().optional(),
|
|
15
15
|
sort_order: z.number().int().describe("The updated display order of the group.").nullable().optional()
|
|
16
|
-
}).describe("Response model returned after updating a SimpleKPI group.")
|
|
16
|
+
}).passthrough().describe("Response model returned after updating a SimpleKPI group.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { simplekpiUpdateGroup };
|
|
@@ -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
|
|
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":";;AAeA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,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,yDAWH;CACP,QAXwC,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,2DAOhB;AACV,CAAC"}
|
|
@@ -11,16 +11,16 @@ const SimplekpiUpdateKpiEntryInput = zod.z.object({
|
|
|
11
11
|
kpientryid: zod.z.number().int().describe("The ID of the KPI entry to update (required)")
|
|
12
12
|
}).describe("Request model for updating an existing KPI entry in SimpleKPI.");
|
|
13
13
|
const SimplekpiUpdateKpiEntryOutput = zod.z.object({
|
|
14
|
-
id: zod.z.number().int().describe("Automatically generated identifier for the KPI entry"),
|
|
14
|
+
id: zod.z.number().int().describe("Automatically generated identifier for the KPI entry").nullable(),
|
|
15
15
|
notes: zod.z.string().describe("The note associated with the KPI entry").nullable().optional(),
|
|
16
16
|
actual: zod.z.number().describe("The actual value of the entry").nullable().optional(),
|
|
17
|
-
kpi_id: zod.z.number().int().describe("The ID of the associated KPI"),
|
|
17
|
+
kpi_id: zod.z.number().int().describe("The ID of the associated KPI").nullable(),
|
|
18
18
|
target: zod.z.number().describe("The target value of the entry").nullable().optional(),
|
|
19
|
-
user_id: zod.z.number().int().describe("The ID of the user assigned to this KPI entry"),
|
|
19
|
+
user_id: zod.z.number().int().describe("The ID of the user assigned to this KPI entry").nullable(),
|
|
20
20
|
created_at: zod.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(),
|
|
21
|
-
entry_date: zod.z.string().describe("The date of the entry in date time format without timezone, e.g. '2012-06-25'"),
|
|
21
|
+
entry_date: zod.z.string().describe("The date of the entry in date time format without timezone, e.g. '2012-06-25'").nullable(),
|
|
22
22
|
updated_at: zod.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()
|
|
23
|
-
}).describe("Response model containing the updated KPI entry details.");
|
|
23
|
+
}).passthrough().describe("Response model containing the updated KPI entry details.");
|
|
24
24
|
const simplekpiUpdateKpiEntry = require_action.action("SIMPLEKPI_UPDATE_KPI_ENTRY", {
|
|
25
25
|
slug: "simplekpi-update-kpi-entry",
|
|
26
26
|
name: "Update KPI Entry",
|
|
@@ -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
|
|
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":";;;AAIA,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,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-kpi-entry.d.ts
|
|
4
|
-
declare const SimplekpiUpdateKpiEntryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateKpiEntryInput: z.ZodObject<{
|
|
5
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
6
|
+
actual: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
kpi_id: z.ZodNumber;
|
|
8
|
+
target: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
user_id: z.ZodNumber;
|
|
10
|
+
entry_date: z.ZodString;
|
|
11
|
+
kpientryid: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const SimplekpiUpdateKpiEntryOutput: z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
actual: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
kpi_id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
user_id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
entry_date: z.ZodNullable<z.ZodString>;
|
|
22
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const simplekpiUpdateKpiEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
kpi_id: number;
|
|
26
|
+
user_id: number;
|
|
27
|
+
entry_date: string;
|
|
28
|
+
kpientryid: number;
|
|
29
|
+
notes?: string | undefined;
|
|
30
|
+
actual?: number | undefined;
|
|
31
|
+
target?: number | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { simplekpiUpdateKpiEntry };
|
|
9
35
|
//# sourceMappingURL=update-kpi-entry.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-entry.d.cts","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-kpi-entry.d.cts","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-kpi-entry.d.ts
|
|
4
|
-
declare const SimplekpiUpdateKpiEntryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateKpiEntryInput: z.ZodObject<{
|
|
5
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
6
|
+
actual: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
kpi_id: z.ZodNumber;
|
|
8
|
+
target: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
user_id: z.ZodNumber;
|
|
10
|
+
entry_date: z.ZodString;
|
|
11
|
+
kpientryid: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const SimplekpiUpdateKpiEntryOutput: z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
actual: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
kpi_id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
user_id: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
entry_date: z.ZodNullable<z.ZodString>;
|
|
22
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const simplekpiUpdateKpiEntry: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
kpi_id: number;
|
|
26
|
+
user_id: number;
|
|
27
|
+
entry_date: string;
|
|
28
|
+
kpientryid: number;
|
|
29
|
+
notes?: string | undefined;
|
|
30
|
+
actual?: number | undefined;
|
|
31
|
+
target?: number | undefined;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
33
|
//#endregion
|
|
8
34
|
export { simplekpiUpdateKpiEntry };
|
|
9
35
|
//# sourceMappingURL=update-kpi-entry.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-entry.d.mts","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"update-kpi-entry.d.mts","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -14,16 +14,16 @@ const simplekpiUpdateKpiEntry = action("SIMPLEKPI_UPDATE_KPI_ENTRY", {
|
|
|
14
14
|
kpientryid: z.number().int().describe("The ID of the KPI entry to update (required)")
|
|
15
15
|
}).describe("Request model for updating an existing KPI entry in SimpleKPI."),
|
|
16
16
|
output: z.object({
|
|
17
|
-
id: z.number().int().describe("Automatically generated identifier for the KPI entry"),
|
|
17
|
+
id: z.number().int().describe("Automatically generated identifier for the KPI entry").nullable(),
|
|
18
18
|
notes: z.string().describe("The note associated with the KPI entry").nullable().optional(),
|
|
19
19
|
actual: z.number().describe("The actual value of the entry").nullable().optional(),
|
|
20
|
-
kpi_id: z.number().int().describe("The ID of the associated KPI"),
|
|
20
|
+
kpi_id: z.number().int().describe("The ID of the associated KPI").nullable(),
|
|
21
21
|
target: z.number().describe("The target value of the entry").nullable().optional(),
|
|
22
|
-
user_id: z.number().int().describe("The ID of the user assigned to this KPI entry"),
|
|
22
|
+
user_id: z.number().int().describe("The ID of the user assigned to this KPI entry").nullable(),
|
|
23
23
|
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(),
|
|
24
|
-
entry_date: z.string().describe("The date of the entry in date time format without timezone, e.g. '2012-06-25'"),
|
|
24
|
+
entry_date: z.string().describe("The date of the entry in date time format without timezone, e.g. '2012-06-25'").nullable(),
|
|
25
25
|
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()
|
|
26
|
-
}).describe("Response model containing the updated KPI entry details.")
|
|
26
|
+
}).passthrough().describe("Response model containing the updated KPI entry details.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { simplekpiUpdateKpiEntry };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-entry.mjs","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiEntryInput
|
|
1
|
+
{"version":3,"file":"update-kpi-entry.mjs","names":[],"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":";;AAyBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG;EACpI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACtF,CAAC,CAAC,CAAC,SAAS,gEAiBH;CACP,QAjB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -9,12 +9,12 @@ const SimplekpiUpdateKpiUnitInput = zod.z.object({
|
|
|
9
9
|
display_format: zod.z.string().describe("The display format must be a valid number format (e.g., £ #.00). Maximum 25 characters.")
|
|
10
10
|
}).describe("Request model for updating an existing KPI unit.");
|
|
11
11
|
const SimplekpiUpdateKpiUnitOutput = zod.z.object({
|
|
12
|
-
id: zod.z.number().int().describe("The unit ID"),
|
|
13
|
-
name: zod.z.string().describe("The name of the KPI unit"),
|
|
14
|
-
entry_format: zod.z.string().describe("The entry format"),
|
|
15
|
-
is_percentage: zod.z.boolean().describe("Whether the value is a percentage"),
|
|
16
|
-
display_format: zod.z.string().describe("The display format")
|
|
17
|
-
}).describe("Response model for updating a KPI unit.");
|
|
12
|
+
id: zod.z.number().int().describe("The unit ID").nullable(),
|
|
13
|
+
name: zod.z.string().describe("The name of the KPI unit").nullable(),
|
|
14
|
+
entry_format: zod.z.string().describe("The entry format").nullable(),
|
|
15
|
+
is_percentage: zod.z.boolean().describe("Whether the value is a percentage").nullable(),
|
|
16
|
+
display_format: zod.z.string().describe("The display format").nullable()
|
|
17
|
+
}).passthrough().describe("Response model for updating a KPI unit.");
|
|
18
18
|
const simplekpiUpdateKpiUnit = require_action.action("SIMPLEKPI_UPDATE_KPI_UNIT", {
|
|
19
19
|
slug: "simplekpi-update-kpi-unit",
|
|
20
20
|
name: "Update KPI Unit",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiUnitInput
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiUnitInput = z.object({\n id: z.number().int().describe(\"The unit ID to update\"),\n name: z.string().describe(\"The name of the KPI unit (maximum 25 characters)\"),\n entry_format: z.string().describe(\"The entry format is only for entry and will not have the prefix or suffix (e.g., #.00). Maximum 25 characters.\"),\n is_percentage: z.boolean().describe(\"To determine if the value is a percentage as these values are treated differently\"),\n display_format: z.string().describe(\"The display format must be a valid number format (e.g., £ #.00). Maximum 25 characters.\"),\n}).describe(\"Request model for updating an existing KPI unit.\");\nexport const SimplekpiUpdateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"The unit ID\").nullable(),\n name: z.string().describe(\"The name of the KPI unit\").nullable(),\n entry_format: z.string().describe(\"The entry format\").nullable(),\n is_percentage: z.boolean().describe(\"Whether the value is a percentage\").nullable(),\n display_format: z.string().describe(\"The display format\").nullable(),\n}).passthrough().describe(\"Response model for updating a KPI unit.\");\n\nexport const simplekpiUpdateKpiUnit = action(\"SIMPLEKPI_UPDATE_KPI_UNIT\", {\n slug: \"simplekpi-update-kpi-unit\",\n name: \"Update KPI Unit\",\n description: \"Tool to update an existing KPI unit in SimpleKPI. Use when you need to modify unit properties such as name, entry format, display format, or percentage status.\",\n input: SimplekpiUpdateKpiUnitInput,\n output: SimplekpiUpdateKpiUnitOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;CAClJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;AAC/H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC/D,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-kpi-unit.d.ts
|
|
4
|
-
declare const SimplekpiUpdateKpiUnitInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateKpiUnitInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
entry_format: z.ZodString;
|
|
8
|
+
is_percentage: z.ZodBoolean;
|
|
9
|
+
display_format: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SimplekpiUpdateKpiUnitOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
entry_format: z.ZodNullable<z.ZodString>;
|
|
15
|
+
is_percentage: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
display_format: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const simplekpiUpdateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
entry_format: string;
|
|
22
|
+
is_percentage: boolean;
|
|
23
|
+
display_format: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { simplekpiUpdateKpiUnit };
|
|
9
27
|
//# sourceMappingURL=update-kpi-unit.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-unit.d.cts","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.d.cts","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-kpi-unit.d.ts
|
|
4
|
-
declare const SimplekpiUpdateKpiUnitInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateKpiUnitInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
entry_format: z.ZodString;
|
|
8
|
+
is_percentage: z.ZodBoolean;
|
|
9
|
+
display_format: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SimplekpiUpdateKpiUnitOutput: z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
entry_format: z.ZodNullable<z.ZodString>;
|
|
15
|
+
is_percentage: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
display_format: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const simplekpiUpdateKpiUnit: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
entry_format: string;
|
|
22
|
+
is_percentage: boolean;
|
|
23
|
+
display_format: string;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { simplekpiUpdateKpiUnit };
|
|
9
27
|
//# sourceMappingURL=update-kpi-unit.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-unit.d.mts","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.d.mts","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;cAQ5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -12,12 +12,12 @@ const simplekpiUpdateKpiUnit = action("SIMPLEKPI_UPDATE_KPI_UNIT", {
|
|
|
12
12
|
display_format: z.string().describe("The display format must be a valid number format (e.g., £ #.00). Maximum 25 characters.")
|
|
13
13
|
}).describe("Request model for updating an existing KPI unit."),
|
|
14
14
|
output: z.object({
|
|
15
|
-
id: z.number().int().describe("The unit ID"),
|
|
16
|
-
name: z.string().describe("The name of the KPI unit"),
|
|
17
|
-
entry_format: z.string().describe("The entry format"),
|
|
18
|
-
is_percentage: z.boolean().describe("Whether the value is a percentage"),
|
|
19
|
-
display_format: z.string().describe("The display format")
|
|
20
|
-
}).describe("Response model for updating a KPI unit.")
|
|
15
|
+
id: z.number().int().describe("The unit ID").nullable(),
|
|
16
|
+
name: z.string().describe("The name of the KPI unit").nullable(),
|
|
17
|
+
entry_format: z.string().describe("The entry format").nullable(),
|
|
18
|
+
is_percentage: z.boolean().describe("Whether the value is a percentage").nullable(),
|
|
19
|
+
display_format: z.string().describe("The display format").nullable()
|
|
20
|
+
}).passthrough().describe("Response model for updating a KPI unit.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { simplekpiUpdateKpiUnit };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi-unit.mjs","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiUnitInput
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.mjs","names":[],"sources":["../../src/actions/update-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiUnitInput = z.object({\n id: z.number().int().describe(\"The unit ID to update\"),\n name: z.string().describe(\"The name of the KPI unit (maximum 25 characters)\"),\n entry_format: z.string().describe(\"The entry format is only for entry and will not have the prefix or suffix (e.g., #.00). Maximum 25 characters.\"),\n is_percentage: z.boolean().describe(\"To determine if the value is a percentage as these values are treated differently\"),\n display_format: z.string().describe(\"The display format must be a valid number format (e.g., £ #.00). Maximum 25 characters.\"),\n}).describe(\"Request model for updating an existing KPI unit.\");\nexport const SimplekpiUpdateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"The unit ID\").nullable(),\n name: z.string().describe(\"The name of the KPI unit\").nullable(),\n entry_format: z.string().describe(\"The entry format\").nullable(),\n is_percentage: z.boolean().describe(\"Whether the value is a percentage\").nullable(),\n display_format: z.string().describe(\"The display format\").nullable(),\n}).passthrough().describe(\"Response model for updating a KPI unit.\");\n\nexport const simplekpiUpdateKpiUnit = action(\"SIMPLEKPI_UPDATE_KPI_UNIT\", {\n slug: \"simplekpi-update-kpi-unit\",\n name: \"Update KPI Unit\",\n description: \"Tool to update an existing KPI unit in SimpleKPI. Use when you need to modify unit properties such as name, entry format, display format, or percentage status.\",\n input: SimplekpiUpdateKpiUnitInput,\n output: SimplekpiUpdateKpiUnitOutput,\n});\n"],"mappings":";;AAmBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH;EAClJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CAC/H,CAAC,CAAC,CAAC,SAAS,kDAaH;CACP,QAb0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC/D,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -26,19 +26,19 @@ const SimplekpiUpdateKpiInput = zod.z.object({
|
|
|
26
26
|
aggregate_function: zod.z.enum(["AVG", "SUM"]).describe("How the KPI is calculated: AVG (Average) or SUM (Total Sum)")
|
|
27
27
|
}).describe("Request model for updating an existing KPI.");
|
|
28
28
|
const SimplekpiUpdateKpiOutput = zod.z.object({
|
|
29
|
-
id: zod.z.number().int().describe("KPI ID"),
|
|
30
|
-
name: zod.z.string().describe("KPI name"),
|
|
31
|
-
icon_id: zod.z.number().int().describe("Icon identifier"),
|
|
32
|
-
unit_id: zod.z.number().int().describe("Unit of measure identifier"),
|
|
33
|
-
is_active: zod.z.boolean().describe("Activation status"),
|
|
34
|
-
sort_order: zod.z.number().int().describe("Display order ranking"),
|
|
35
|
-
category_id: zod.z.number().int().describe("KPI Category ID"),
|
|
29
|
+
id: zod.z.number().int().describe("KPI ID").nullable(),
|
|
30
|
+
name: zod.z.string().describe("KPI name").nullable(),
|
|
31
|
+
icon_id: zod.z.number().int().describe("Icon identifier").nullable(),
|
|
32
|
+
unit_id: zod.z.number().int().describe("Unit of measure identifier").nullable(),
|
|
33
|
+
is_active: zod.z.boolean().describe("Activation status").nullable(),
|
|
34
|
+
sort_order: zod.z.number().int().describe("Display order ranking").nullable(),
|
|
35
|
+
category_id: zod.z.number().int().describe("KPI Category ID").nullable(),
|
|
36
36
|
description: zod.z.string().describe("KPI description").nullable().optional(),
|
|
37
|
-
frequency_id: zod.z.string().describe("Data entry frequency"),
|
|
37
|
+
frequency_id: zod.z.string().describe("Data entry frequency").nullable(),
|
|
38
38
|
target_default: zod.z.number().describe("Default target value").nullable().optional(),
|
|
39
|
-
value_direction: zod.z.string().describe("Direction indicator"),
|
|
40
|
-
aggregate_function: zod.z.string().describe("Aggregate function")
|
|
41
|
-
}).describe("Response model for updating a KPI.");
|
|
39
|
+
value_direction: zod.z.string().describe("Direction indicator").nullable(),
|
|
40
|
+
aggregate_function: zod.z.string().describe("Aggregate function").nullable()
|
|
41
|
+
}).passthrough().describe("Response model for updating a KPI.");
|
|
42
42
|
const simplekpiUpdateKpi = require_action.action("SIMPLEKPI_UPDATE_KPI", {
|
|
43
43
|
slug: "simplekpi-update-kpi",
|
|
44
44
|
name: "Update KPI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiInput
|
|
1
|
+
{"version":3,"file":"update-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"Icon identifier for the KPI\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Activation status for data entry. Set to true to enable data entry, false to disable.\"),\n sort_order: z.number().int().describe(\"Display order ranking for the KPI\"),\n category_id: z.number().int().describe(\"KPI Category ID that this KPI belongs to\"),\n description: z.string().describe(\"KPI description (maximum 150 characters)\").optional(),\n frequency_id: z.enum([\"D\", \"W\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency (D=Daily, W=Weekly, M=Monthly, Q=Quarterly, Y=Yearly). Case-sensitive, must be uppercase.\"),\n target_default: z.number().describe(\"Default target value for the KPI\").optional(),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: U(p) means higher is better, D(own) means lower is better, N(one) means no direction\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"How the KPI is calculated: AVG (Average) or SUM (Total Sum)\"),\n}).describe(\"Request model for updating an existing KPI.\");\nexport const SimplekpiUpdateKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable(),\n name: z.string().describe(\"KPI name\").nullable(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable(),\n is_active: z.boolean().describe(\"Activation status\").nullable(),\n sort_order: z.number().int().describe(\"Display order ranking\").nullable(),\n category_id: z.number().int().describe(\"KPI Category ID\").nullable(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable(),\n aggregate_function: z.string().describe(\"Aggregate function\").nullable(),\n}).passthrough().describe(\"Response model for updating a KPI.\");\n\nexport const simplekpiUpdateKpi = action(\"SIMPLEKPI_UPDATE_KPI\", {\n slug: \"simplekpi-update-kpi\",\n name: \"Update KPI\",\n description: \"Tool to update an existing KPI in SimpleKPI. Use when you need to modify KPI properties such as name, description, target values, or settings.\",\n input: SimplekpiUpdateKpiInput,\n output: SimplekpiUpdateKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACvH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,gHAAgH;CACzK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,2GAA2G;CAC7J,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACrE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-kpi.d.ts
|
|
4
|
-
declare const SimplekpiUpdateKpiInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateKpiInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
icon_id: z.ZodNumber;
|
|
8
|
+
unit_id: z.ZodNumber;
|
|
9
|
+
is_active: z.ZodBoolean;
|
|
10
|
+
sort_order: z.ZodNumber;
|
|
11
|
+
category_id: z.ZodNumber;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
frequency_id: z.ZodEnum<{
|
|
14
|
+
D: "D";
|
|
15
|
+
W: "W";
|
|
16
|
+
M: "M";
|
|
17
|
+
Q: "Q";
|
|
18
|
+
Y: "Y";
|
|
19
|
+
}>;
|
|
20
|
+
target_default: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
value_direction: z.ZodEnum<{
|
|
22
|
+
U: "U";
|
|
23
|
+
D: "D";
|
|
24
|
+
N: "N";
|
|
25
|
+
}>;
|
|
26
|
+
aggregate_function: z.ZodEnum<{
|
|
27
|
+
AVG: "AVG";
|
|
28
|
+
SUM: "SUM";
|
|
29
|
+
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const SimplekpiUpdateKpiOutput: z.ZodObject<{
|
|
32
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
name: z.ZodNullable<z.ZodString>;
|
|
34
|
+
icon_id: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
unit_id: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
37
|
+
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
category_id: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
frequency_id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
value_direction: z.ZodNullable<z.ZodString>;
|
|
43
|
+
aggregate_function: z.ZodNullable<z.ZodString>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
|
+
declare const simplekpiUpdateKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
|
+
id: number;
|
|
47
|
+
name: string;
|
|
48
|
+
icon_id: number;
|
|
49
|
+
unit_id: number;
|
|
50
|
+
is_active: boolean;
|
|
51
|
+
sort_order: number;
|
|
52
|
+
category_id: number;
|
|
53
|
+
frequency_id: "D" | "W" | "M" | "Q" | "Y";
|
|
54
|
+
value_direction: "U" | "D" | "N";
|
|
55
|
+
aggregate_function: "AVG" | "SUM";
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
target_default?: number | undefined;
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
59
|
//#endregion
|
|
8
60
|
export { simplekpiUpdateKpi };
|
|
9
61
|
//# sourceMappingURL=update-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi.d.cts","names":[],"sources":["../../src/actions/update-kpi.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"update-kpi.d.cts","names":[],"sources":["../../src/actions/update-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-kpi.d.ts
|
|
4
|
-
declare const SimplekpiUpdateKpiInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiUpdateKpiInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
icon_id: z.ZodNumber;
|
|
8
|
+
unit_id: z.ZodNumber;
|
|
9
|
+
is_active: z.ZodBoolean;
|
|
10
|
+
sort_order: z.ZodNumber;
|
|
11
|
+
category_id: z.ZodNumber;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
frequency_id: z.ZodEnum<{
|
|
14
|
+
D: "D";
|
|
15
|
+
W: "W";
|
|
16
|
+
M: "M";
|
|
17
|
+
Q: "Q";
|
|
18
|
+
Y: "Y";
|
|
19
|
+
}>;
|
|
20
|
+
target_default: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
value_direction: z.ZodEnum<{
|
|
22
|
+
U: "U";
|
|
23
|
+
D: "D";
|
|
24
|
+
N: "N";
|
|
25
|
+
}>;
|
|
26
|
+
aggregate_function: z.ZodEnum<{
|
|
27
|
+
AVG: "AVG";
|
|
28
|
+
SUM: "SUM";
|
|
29
|
+
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const SimplekpiUpdateKpiOutput: z.ZodObject<{
|
|
32
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
33
|
+
name: z.ZodNullable<z.ZodString>;
|
|
34
|
+
icon_id: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
unit_id: z.ZodNullable<z.ZodNumber>;
|
|
36
|
+
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
37
|
+
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
category_id: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
frequency_id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
target_default: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
value_direction: z.ZodNullable<z.ZodString>;
|
|
43
|
+
aggregate_function: z.ZodNullable<z.ZodString>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
|
+
declare const simplekpiUpdateKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
|
+
id: number;
|
|
47
|
+
name: string;
|
|
48
|
+
icon_id: number;
|
|
49
|
+
unit_id: number;
|
|
50
|
+
is_active: boolean;
|
|
51
|
+
sort_order: number;
|
|
52
|
+
category_id: number;
|
|
53
|
+
frequency_id: "D" | "W" | "M" | "Q" | "Y";
|
|
54
|
+
value_direction: "U" | "D" | "N";
|
|
55
|
+
aggregate_function: "AVG" | "SUM";
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
target_default?: number | undefined;
|
|
58
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
59
|
//#endregion
|
|
8
60
|
export { simplekpiUpdateKpi };
|
|
9
61
|
//# sourceMappingURL=update-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-kpi.d.mts","names":[],"sources":["../../src/actions/update-kpi.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"update-kpi.d.mts","names":[],"sources":["../../src/actions/update-kpi.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,gCAAkB,wBAAA"}
|