@keystrokehq/simplekpi 0.1.5 → 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 -24
- package/dist/actions/add-user-group-item.d.cts.map +1 -1
- package/dist/actions/add-user-group-item.d.mts +3 -24
- 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 -26
- package/dist/actions/add-user-kpi.d.cts.map +1 -1
- package/dist/actions/add-user-kpi.d.mts +3 -26
- 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 -31
- package/dist/actions/create-category-kpi.d.cts.map +1 -1
- package/dist/actions/create-category-kpi.d.mts +3 -31
- 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 -25
- package/dist/actions/create-group-item.d.cts.map +1 -1
- package/dist/actions/create-group-item.d.mts +3 -25
- 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 -24
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -24
- 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 -24
- package/dist/actions/create-kpi-category.d.cts.map +1 -1
- package/dist/actions/create-kpi-category.d.mts +3 -24
- 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 -26
- package/dist/actions/create-kpi-unit.d.cts.map +1 -1
- package/dist/actions/create-kpi-unit.d.mts +3 -26
- 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 -31
- package/dist/actions/create-kpi.d.cts.map +1 -1
- package/dist/actions/create-kpi.d.mts +3 -31
- 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 -39
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.mts +3 -39
- 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 -30
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -30
- 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 -24
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +3 -24
- 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 -24
- package/dist/actions/delete-group-item.d.cts.map +1 -1
- package/dist/actions/delete-group-item.d.mts +3 -24
- 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 -23
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -23
- 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 -23
- package/dist/actions/delete-kpi-category.d.cts.map +1 -1
- package/dist/actions/delete-kpi-category.d.mts +3 -23
- 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 -23
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +3 -23
- 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 -23
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +3 -23
- 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 -23
- package/dist/actions/delete-kpi.d.cts.map +1 -1
- package/dist/actions/delete-kpi.d.mts +3 -23
- 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 -24
- package/dist/actions/delete-user-group-item.d.cts.map +1 -1
- package/dist/actions/delete-user-group-item.d.mts +3 -24
- 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 -24
- package/dist/actions/delete-user-kpi.d.cts.map +1 -1
- package/dist/actions/delete-user-kpi.d.mts +3 -24
- 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 -23
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -23
- 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 -27
- package/dist/actions/get-all-data-entries.d.cts.map +1 -1
- package/dist/actions/get-all-data-entries.d.mts +3 -27
- 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 -24
- package/dist/actions/get-category-kpi.d.cts.map +1 -1
- package/dist/actions/get-category-kpi.d.mts +3 -24
- 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 -24
- package/dist/actions/get-group-item.d.cts.map +1 -1
- package/dist/actions/get-group-item.d.mts +3 -24
- 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 -23
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +3 -23
- 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 -23
- package/dist/actions/get-kpi-category.d.cts.map +1 -1
- package/dist/actions/get-kpi-category.d.mts +3 -23
- 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 -23
- package/dist/actions/get-kpi-entry.d.cts.map +1 -1
- package/dist/actions/get-kpi-entry.d.mts +3 -23
- 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 -23
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +3 -23
- 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 -23
- package/dist/actions/get-kpi-icon.d.cts.map +1 -1
- package/dist/actions/get-kpi-icon.d.mts +3 -23
- 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 -23
- package/dist/actions/get-kpi-unit.d.cts.map +1 -1
- package/dist/actions/get-kpi-unit.d.mts +3 -23
- 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 -23
- package/dist/actions/get-kpi.d.cts.map +1 -1
- package/dist/actions/get-kpi.d.mts +3 -23
- 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 -24
- package/dist/actions/get-user-group-item.d.cts.map +1 -1
- package/dist/actions/get-user-group-item.d.mts +3 -24
- 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 -24
- package/dist/actions/get-user-kpi.d.cts.map +1 -1
- package/dist/actions/get-user-kpi.d.mts +3 -24
- 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 -23
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -23
- 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 -23
- package/dist/actions/list-category-kpis.d.cts.map +1 -1
- package/dist/actions/list-category-kpis.d.mts +3 -23
- 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 -23
- package/dist/actions/list-group-items.d.cts.map +1 -1
- package/dist/actions/list-group-items.d.mts +3 -23
- 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 -21
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -21
- 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 -21
- package/dist/actions/list-kpi-categories.d.cts.map +1 -1
- package/dist/actions/list-kpi-categories.d.mts +3 -21
- 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 -28
- package/dist/actions/list-kpi-entries.d.cts.map +1 -1
- package/dist/actions/list-kpi-entries.d.mts +3 -28
- 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 -21
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.mts +3 -21
- 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 -21
- package/dist/actions/list-kpi-icons.d.cts.map +1 -1
- package/dist/actions/list-kpi-icons.d.mts +3 -21
- 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 -21
- package/dist/actions/list-kpi-units.d.cts.map +1 -1
- package/dist/actions/list-kpi-units.d.mts +3 -21
- 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 -21
- package/dist/actions/list-kpis.d.cts.map +1 -1
- package/dist/actions/list-kpis.d.mts +3 -21
- 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 -23
- package/dist/actions/list-user-group-items.d.cts.map +1 -1
- package/dist/actions/list-user-group-items.d.mts +3 -23
- 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 -23
- package/dist/actions/list-user-kpis.d.cts.map +1 -1
- package/dist/actions/list-user-kpis.d.mts +3 -23
- 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 -34
- package/dist/actions/update-category-kpi.d.cts.map +1 -1
- package/dist/actions/update-category-kpi.d.mts +3 -34
- 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 -26
- package/dist/actions/update-group-item.d.cts.map +1 -1
- package/dist/actions/update-group-item.d.mts +3 -26
- 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 -25
- package/dist/actions/update-group.d.cts.map +1 -1
- package/dist/actions/update-group.d.mts +3 -25
- 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 -29
- package/dist/actions/update-kpi-entry.d.cts.map +1 -1
- package/dist/actions/update-kpi-entry.d.mts +3 -29
- 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 -27
- package/dist/actions/update-kpi-unit.d.cts.map +1 -1
- package/dist/actions/update-kpi-unit.d.mts +3 -27
- 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 -34
- package/dist/actions/update-kpi.d.cts.map +1 -1
- package/dist/actions/update-kpi.d.mts +3 -34
- 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 -30
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -30
- 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 +8 -7
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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,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,40 +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<"simplekpi", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
username: z.ZodString;
|
|
66
|
-
password: z.ZodString;
|
|
67
|
-
subdomain: z.ZodString;
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
generic_id: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
71
|
-
connectionId: z.ZodString;
|
|
72
|
-
entityId: z.ZodString;
|
|
73
|
-
instanceId: z.ZodString;
|
|
74
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
-
username: z.ZodString;
|
|
76
|
-
password: z.ZodString;
|
|
77
|
-
subdomain: z.ZodString;
|
|
78
|
-
generic_api_key: z.ZodString;
|
|
79
|
-
generic_id: z.ZodString;
|
|
80
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const simplekpiUpdateCategoryKpi: AppAction<typeof SimplekpiUpdateCategoryKpiInput, typeof SimplekpiUpdateCategoryKpiOutput, typeof simplekpi.credential>;
|
|
81
50
|
//#endregion
|
|
82
51
|
export { simplekpiUpdateCategoryKpi };
|
|
83
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,40 +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<"simplekpi", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
username: z.ZodString;
|
|
66
|
-
password: z.ZodString;
|
|
67
|
-
subdomain: z.ZodString;
|
|
68
|
-
generic_api_key: z.ZodString;
|
|
69
|
-
generic_id: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
71
|
-
connectionId: z.ZodString;
|
|
72
|
-
entityId: z.ZodString;
|
|
73
|
-
instanceId: z.ZodString;
|
|
74
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
-
username: z.ZodString;
|
|
76
|
-
password: z.ZodString;
|
|
77
|
-
subdomain: z.ZodString;
|
|
78
|
-
generic_api_key: z.ZodString;
|
|
79
|
-
generic_id: z.ZodString;
|
|
80
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const simplekpiUpdateCategoryKpi: AppAction<typeof SimplekpiUpdateCategoryKpiInput, typeof SimplekpiUpdateCategoryKpiOutput, typeof simplekpi.credential>;
|
|
81
50
|
//#endregion
|
|
82
51
|
export { simplekpiUpdateCategoryKpi };
|
|
83
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,32 +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<"simplekpi", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
username: z.ZodString;
|
|
27
|
-
password: z.ZodString;
|
|
28
|
-
subdomain: z.ZodString;
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
generic_id: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
username: z.ZodString;
|
|
37
|
-
password: z.ZodString;
|
|
38
|
-
subdomain: z.ZodString;
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
generic_id: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const simplekpiUpdateGroupItem: AppAction<typeof SimplekpiUpdateGroupItemInput, typeof SimplekpiUpdateGroupItemOutput, typeof simplekpi.credential>;
|
|
42
19
|
//#endregion
|
|
43
20
|
export { simplekpiUpdateGroupItem };
|
|
44
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,32 +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<"simplekpi", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
username: z.ZodString;
|
|
27
|
-
password: z.ZodString;
|
|
28
|
-
subdomain: z.ZodString;
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
generic_id: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
username: z.ZodString;
|
|
37
|
-
password: z.ZodString;
|
|
38
|
-
subdomain: z.ZodString;
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
generic_id: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const simplekpiUpdateGroupItem: AppAction<typeof SimplekpiUpdateGroupItemInput, typeof SimplekpiUpdateGroupItemOutput, typeof simplekpi.credential>;
|
|
42
19
|
//#endregion
|
|
43
20
|
export { simplekpiUpdateGroupItem };
|
|
44
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,31 +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<"simplekpi", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
subdomain: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const simplekpiUpdateGroup: AppAction<typeof SimplekpiUpdateGroupInput, typeof SimplekpiUpdateGroupOutput, typeof simplekpi.credential>;
|
|
39
17
|
//#endregion
|
|
40
18
|
export { simplekpiUpdateGroup };
|
|
41
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,31 +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<"simplekpi", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
subdomain: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const simplekpiUpdateGroup: AppAction<typeof SimplekpiUpdateGroupInput, typeof SimplekpiUpdateGroupOutput, typeof simplekpi.credential>;
|
|
39
17
|
//#endregion
|
|
40
18
|
export { simplekpiUpdateGroup };
|
|
41
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"}
|
|
@@ -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-kpi-entry.d.ts
|
|
@@ -21,35 +23,7 @@ declare const SimplekpiUpdateKpiEntryOutput: z.ZodObject<{
|
|
|
21
23
|
entry_date: z.ZodNullable<z.ZodString>;
|
|
22
24
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const simplekpiUpdateKpiEntry:
|
|
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<"simplekpi", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
username: z.ZodString;
|
|
38
|
-
password: z.ZodString;
|
|
39
|
-
subdomain: z.ZodString;
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
username: z.ZodString;
|
|
48
|
-
password: z.ZodString;
|
|
49
|
-
subdomain: z.ZodString;
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
generic_id: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const simplekpiUpdateKpiEntry: AppAction<typeof SimplekpiUpdateKpiEntryInput, typeof SimplekpiUpdateKpiEntryOutput, typeof simplekpi.credential>;
|
|
53
27
|
//#endregion
|
|
54
28
|
export { simplekpiUpdateKpiEntry };
|
|
55
29
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-kpi-entry.d.cts","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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-kpi-entry.d.ts
|
|
@@ -21,35 +23,7 @@ declare const SimplekpiUpdateKpiEntryOutput: z.ZodObject<{
|
|
|
21
23
|
entry_date: z.ZodNullable<z.ZodString>;
|
|
22
24
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const simplekpiUpdateKpiEntry:
|
|
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<"simplekpi", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
username: z.ZodString;
|
|
38
|
-
password: z.ZodString;
|
|
39
|
-
subdomain: z.ZodString;
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
username: z.ZodString;
|
|
48
|
-
password: z.ZodString;
|
|
49
|
-
subdomain: z.ZodString;
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
generic_id: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const simplekpiUpdateKpiEntry: AppAction<typeof SimplekpiUpdateKpiEntryInput, typeof SimplekpiUpdateKpiEntryOutput, typeof simplekpi.credential>;
|
|
53
27
|
//#endregion
|
|
54
28
|
export { simplekpiUpdateKpiEntry };
|
|
55
29
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"update-kpi-entry.d.mts","names":[],"sources":["../../src/actions/update-kpi-entry.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAS5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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 = 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.mjs","names":[],"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":";;;AA2BA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B0C,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,gEAqBH;CACP,QArB2C,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,0DAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"update-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/update-kpi-unit.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 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: AppAction<\n typeof SimplekpiUpdateKpiUnitInput,\n typeof SimplekpiUpdateKpiUnitOutput,\n typeof simplekpi.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|