@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.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user-group-item.d.ts
|
|
@@ -8,30 +10,7 @@ declare const SimplekpiDeleteUserGroupItemInput: z.ZodObject<{
|
|
|
8
10
|
declare const SimplekpiDeleteUserGroupItemOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const simplekpiDeleteUserGroupItem:
|
|
12
|
-
id: number;
|
|
13
|
-
user_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
username: z.ZodString;
|
|
20
|
-
password: z.ZodString;
|
|
21
|
-
subdomain: z.ZodString;
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
generic_id: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const simplekpiDeleteUserGroupItem: AppAction<typeof SimplekpiDeleteUserGroupItemInput, typeof SimplekpiDeleteUserGroupItemOutput, typeof simplekpi.credential>;
|
|
35
14
|
//#endregion
|
|
36
15
|
export { simplekpiDeleteUserGroupItem };
|
|
37
16
|
//# sourceMappingURL=delete-user-group-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-group-item.d.mts","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user-group-item.d.mts","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-group-item.mjs","names":[],"sources":["../../src/actions/delete-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserGroupItemInput = z.object({\n id: z.number().int().describe(\"Group item ID to remove from the user.\"),\n user_id: z.number().int().describe(\"User ID to remove the group item assignment from.\"),\n}).describe(\"Request model for deleting a user group item assignment.\");\nexport const SimplekpiDeleteUserGroupItemOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user group item operation.\");\n\nexport const simplekpiDeleteUserGroupItem = action(\"SIMPLEKPI_DELETE_USER_GROUP_ITEM\", {\n slug: \"simplekpi-delete-user-group-item\",\n name: \"Delete User Group Item\",\n description: \"Tool to remove a group item assignment from a user. Use when you need to unassign a specific group item from a user.\",\n input: SimplekpiDeleteUserGroupItemInput,\n output: SimplekpiDeleteUserGroupItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user-group-item.mjs","names":[],"sources":["../../src/actions/delete-user-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 SimplekpiDeleteUserGroupItemInput = z.object({\n id: z.number().int().describe(\"Group item ID to remove from the user.\"),\n user_id: z.number().int().describe(\"User ID to remove the group item assignment from.\"),\n}).describe(\"Request model for deleting a user group item assignment.\");\nexport const SimplekpiDeleteUserGroupItemOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the delete operation was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user group item operation.\");\n\nexport const simplekpiDeleteUserGroupItem: AppAction<\n typeof SimplekpiDeleteUserGroupItemInput,\n typeof SimplekpiDeleteUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_USER_GROUP_ITEM\", {\n slug: \"simplekpi-delete-user-group-item\",\n name: \"Delete User Group Item\",\n description: \"Tool to remove a group item assignment from a user. Use when you need to unassign a specific group item from a user.\",\n input: SimplekpiDeleteUserGroupItemInput,\n output: SimplekpiDeleteUserGroupItemOutput,\n});\n"],"mappings":";;;AAcA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACxF,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAbgD,EAAE,OAAO,EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assignment to remove from the user\"),\n user_id: z.number().int().describe(\"The ID of the user from whom to remove the KPI assignment\"),\n}).describe(\"Request model for deleting a KPI assignment from a user.\");\nexport const SimplekpiDeleteUserKpiOutput = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi = action(\"SIMPLEKPI_DELETE_USER_KPI\", {\n slug: \"simplekpi-delete-user-kpi\",\n name: \"Delete User KPI\",\n description: \"Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.\",\n input: SimplekpiDeleteUserKpiInput,\n output: SimplekpiDeleteUserKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-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 SimplekpiDeleteUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assignment to remove from the user\"),\n user_id: z.number().int().describe(\"The ID of the user from whom to remove the KPI assignment\"),\n}).describe(\"Request model for deleting a KPI assignment from a user.\");\nexport const SimplekpiDeleteUserKpiOutput = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi: AppAction<\n typeof SimplekpiDeleteUserKpiInput,\n typeof SimplekpiDeleteUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_USER_KPI\", {\n slug: \"simplekpi-delete-user-kpi\",\n name: \"Delete User KPI\",\n description: \"Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.\",\n input: SimplekpiDeleteUserKpiInput,\n output: SimplekpiDeleteUserKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAChG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/delete-user-kpi.d.ts
|
|
@@ -9,30 +11,7 @@ declare const SimplekpiDeleteUserKpiOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const simplekpiDeleteUserKpi:
|
|
13
|
-
id: number;
|
|
14
|
-
user_id: number;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
username: z.ZodString;
|
|
21
|
-
password: z.ZodString;
|
|
22
|
-
subdomain: z.ZodString;
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
generic_id: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
username: z.ZodString;
|
|
31
|
-
password: z.ZodString;
|
|
32
|
-
subdomain: z.ZodString;
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const simplekpiDeleteUserKpi: AppAction<typeof SimplekpiDeleteUserKpiInput, typeof SimplekpiDeleteUserKpiOutput, typeof simplekpi.credential>;
|
|
36
15
|
//#endregion
|
|
37
16
|
export { simplekpiDeleteUserKpi };
|
|
38
17
|
//# sourceMappingURL=delete-user-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-kpi.d.cts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user-kpi.d.cts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/delete-user-kpi.d.ts
|
|
@@ -9,30 +11,7 @@ declare const SimplekpiDeleteUserKpiOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodNullable<z.ZodString>;
|
|
10
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const simplekpiDeleteUserKpi:
|
|
13
|
-
id: number;
|
|
14
|
-
user_id: number;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
username: z.ZodString;
|
|
21
|
-
password: z.ZodString;
|
|
22
|
-
subdomain: z.ZodString;
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
generic_id: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
username: z.ZodString;
|
|
31
|
-
password: z.ZodString;
|
|
32
|
-
subdomain: z.ZodString;
|
|
33
|
-
generic_api_key: z.ZodString;
|
|
34
|
-
generic_id: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const simplekpiDeleteUserKpi: AppAction<typeof SimplekpiDeleteUserKpiInput, typeof SimplekpiDeleteUserKpiOutput, typeof simplekpi.credential>;
|
|
36
15
|
//#endregion
|
|
37
16
|
export { simplekpiDeleteUserKpi };
|
|
38
17
|
//# sourceMappingURL=delete-user-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-kpi.d.mts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user-kpi.d.mts","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user-kpi.mjs","names":[],"sources":["../../src/actions/delete-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assignment to remove from the user\"),\n user_id: z.number().int().describe(\"The ID of the user from whom to remove the KPI assignment\"),\n}).describe(\"Request model for deleting a KPI assignment from a user.\");\nexport const SimplekpiDeleteUserKpiOutput = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi = action(\"SIMPLEKPI_DELETE_USER_KPI\", {\n slug: \"simplekpi-delete-user-kpi\",\n name: \"Delete User KPI\",\n description: \"Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.\",\n input: SimplekpiDeleteUserKpiInput,\n output: SimplekpiDeleteUserKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user-kpi.mjs","names":[],"sources":["../../src/actions/delete-user-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 SimplekpiDeleteUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assignment to remove from the user\"),\n user_id: z.number().int().describe(\"The ID of the user from whom to remove the KPI assignment\"),\n}).describe(\"Request model for deleting a KPI assignment from a user.\");\nexport const SimplekpiDeleteUserKpiOutput = z.object({\n message: z.string().describe(\"Status message describing the outcome of the operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the KPI assignment was successfully removed\").nullable(),\n}).passthrough().describe(\"Response model for delete user KPI action.\");\n\nexport const simplekpiDeleteUserKpi: AppAction<\n typeof SimplekpiDeleteUserKpiInput,\n typeof SimplekpiDeleteUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_USER_KPI\", {\n slug: \"simplekpi-delete-user-kpi\",\n name: \"Delete User KPI\",\n description: \"Tool to remove a KPI assignment from a user. Use when you need to unassign or delete a specific KPI from a user's profile.\",\n input: SimplekpiDeleteUserKpiInput,\n output: SimplekpiDeleteUserKpiOutput,\n});\n"],"mappings":";;;AAeA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAChG,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserInput = z.object({\n id: z.number().int().describe(\"User ID to delete\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const SimplekpiDeleteUserOutput = z.object({\n message: z.string().default(\"User deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser = action(\"SIMPLEKPI_DELETE_USER\", {\n slug: \"simplekpi-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.\",\n input: SimplekpiDeleteUserInput,\n output: SimplekpiDeleteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.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 SimplekpiDeleteUserInput = z.object({\n id: z.number().int().describe(\"User ID to delete\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const SimplekpiDeleteUserOutput = z.object({\n message: z.string().default(\"User deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser: AppAction<\n typeof SimplekpiDeleteUserInput,\n typeof SimplekpiDeleteUserOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_USER\", {\n slug: \"simplekpi-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.\",\n input: SimplekpiDeleteUserInput,\n output: SimplekpiDeleteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/delete-user.d.ts
|
|
@@ -8,29 +10,7 @@ declare const SimplekpiDeleteUserOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const simplekpiDeleteUser:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
username: z.ZodString;
|
|
19
|
-
password: z.ZodString;
|
|
20
|
-
subdomain: z.ZodString;
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
username: z.ZodString;
|
|
29
|
-
password: z.ZodString;
|
|
30
|
-
subdomain: z.ZodString;
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
generic_id: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const simplekpiDeleteUser: AppAction<typeof SimplekpiDeleteUserInput, typeof SimplekpiDeleteUserOutput, typeof simplekpi.credential>;
|
|
34
14
|
//#endregion
|
|
35
15
|
export { simplekpiDeleteUser };
|
|
36
16
|
//# sourceMappingURL=delete-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/delete-user.d.ts
|
|
@@ -8,29 +10,7 @@ declare const SimplekpiDeleteUserOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const simplekpiDeleteUser:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
username: z.ZodString;
|
|
19
|
-
password: z.ZodString;
|
|
20
|
-
subdomain: z.ZodString;
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
username: z.ZodString;
|
|
29
|
-
password: z.ZodString;
|
|
30
|
-
subdomain: z.ZodString;
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
generic_id: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const simplekpiDeleteUser: AppAction<typeof SimplekpiDeleteUserInput, typeof SimplekpiDeleteUserOutput, typeof simplekpi.credential>;
|
|
34
14
|
//#endregion
|
|
35
15
|
export { simplekpiDeleteUser };
|
|
36
16
|
//# sourceMappingURL=delete-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiDeleteUserInput = z.object({\n id: z.number().int().describe(\"User ID to delete\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const SimplekpiDeleteUserOutput = z.object({\n message: z.string().default(\"User deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser = action(\"SIMPLEKPI_DELETE_USER\", {\n slug: \"simplekpi-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.\",\n input: SimplekpiDeleteUserInput,\n output: SimplekpiDeleteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.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 SimplekpiDeleteUserInput = z.object({\n id: z.number().int().describe(\"User ID to delete\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const SimplekpiDeleteUserOutput = z.object({\n message: z.string().default(\"User deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete user action.\");\n\nexport const simplekpiDeleteUser: AppAction<\n typeof SimplekpiDeleteUserInput,\n typeof SimplekpiDeleteUserOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_DELETE_USER\", {\n slug: \"simplekpi-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account by ID. Use when you need to permanently remove a user from the system.\",\n input: SimplekpiDeleteUserInput,\n output: SimplekpiDeleteUserOutput,\n});\n"],"mappings":";;;AAcA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,EACnD,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAduC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-data-entries.cjs","names":["z","action"],"sources":["../../src/actions/get-all-data-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetAllDataEntriesInput = z.object({\n dateTo: z.string().describe(\"End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n kpiIds: z.string().describe(\"Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs\").optional(),\n userIds: z.string().describe(\"Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n groupItemIds: z.string().describe(\"Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items\").optional(),\n});\nconst SimplekpiGetAllDataEntries_DataEntrySchema = z.object({\n kpiId: z.number().int().describe(\"Identifier for the KPI\").nullable().optional(),\n notes: z.string().describe(\"Additional contextual information or comments\").nullable().optional(),\n actual: z.number().describe(\"Recorded KPI value (actual measurement)\").nullable().optional(),\n itemId: z.number().int().describe(\"Identifier for the group item or user\").nullable().optional(),\n period: z.string().describe(\"Human-readable period description (e.g., 'Daily', 'Weekly')\").nullable().optional(),\n target: z.number().describe(\"Target KPI value for comparison\").nullable().optional(),\n kpiName: z.string().describe(\"Name of the KPI\").nullable().optional(),\n itemName: z.string().describe(\"Name of the person or item\").nullable().optional(),\n periodId: z.string().describe(\"Code for the reporting period (e.g., 'D' for Daily)\").nullable().optional(),\n direction: z.string().describe(\"Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)\").nullable().optional(),\n entryDate: z.string().describe(\"Date of the data entry in YYYY-MM-DD format\").nullable().optional(),\n hasTarget: z.number().int().describe(\"Boolean flag (0 or 1) indicating if entry has a target value\").nullable().optional(),\n labelFormat: z.string().describe(\"Number formatting pattern (e.g., '#,##0')\").nullable().optional(),\n isPercentage: z.number().int().describe(\"Boolean flag (0 or 1) indicating if value should be displayed as percentage\").nullable().optional(),\n directionName: z.string().describe(\"Readable direction label (e.g., 'Up', 'Down')\").nullable().optional(),\n kpiDescription: z.string().describe(\"Descriptive text about the KPI\").nullable().optional(),\n}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = z.object({\n entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe(\"List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetAllDataEntries = action(\"SIMPLEKPI_GET_ALL_DATA_ENTRIES\", {\n slug: \"simplekpi-get-all-data-entries\",\n name: \"Get All Data Entries\",\n description: \"Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.\",\n input: SimplekpiGetAllDataEntriesInput,\n output: SimplekpiGetAllDataEntriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-data-entries.cjs","names":["z","action"],"sources":["../../src/actions/get-all-data-entries.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 SimplekpiGetAllDataEntriesInput = z.object({\n dateTo: z.string().describe(\"End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n kpiIds: z.string().describe(\"Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs\").optional(),\n userIds: z.string().describe(\"Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n groupItemIds: z.string().describe(\"Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items\").optional(),\n});\nconst SimplekpiGetAllDataEntries_DataEntrySchema = z.object({\n kpiId: z.number().int().describe(\"Identifier for the KPI\").nullable().optional(),\n notes: z.string().describe(\"Additional contextual information or comments\").nullable().optional(),\n actual: z.number().describe(\"Recorded KPI value (actual measurement)\").nullable().optional(),\n itemId: z.number().int().describe(\"Identifier for the group item or user\").nullable().optional(),\n period: z.string().describe(\"Human-readable period description (e.g., 'Daily', 'Weekly')\").nullable().optional(),\n target: z.number().describe(\"Target KPI value for comparison\").nullable().optional(),\n kpiName: z.string().describe(\"Name of the KPI\").nullable().optional(),\n itemName: z.string().describe(\"Name of the person or item\").nullable().optional(),\n periodId: z.string().describe(\"Code for the reporting period (e.g., 'D' for Daily)\").nullable().optional(),\n direction: z.string().describe(\"Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)\").nullable().optional(),\n entryDate: z.string().describe(\"Date of the data entry in YYYY-MM-DD format\").nullable().optional(),\n hasTarget: z.number().int().describe(\"Boolean flag (0 or 1) indicating if entry has a target value\").nullable().optional(),\n labelFormat: z.string().describe(\"Number formatting pattern (e.g., '#,##0')\").nullable().optional(),\n isPercentage: z.number().int().describe(\"Boolean flag (0 or 1) indicating if value should be displayed as percentage\").nullable().optional(),\n directionName: z.string().describe(\"Readable direction label (e.g., 'Up', 'Down')\").nullable().optional(),\n kpiDescription: z.string().describe(\"Descriptive text about the KPI\").nullable().optional(),\n}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = z.object({\n entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe(\"List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetAllDataEntries: AppAction<\n typeof SimplekpiGetAllDataEntriesInput,\n typeof SimplekpiGetAllDataEntriesOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_ALL_DATA_ENTRIES\", {\n slug: \"simplekpi-get-all-data-entries\",\n name: \"Get All Data Entries\",\n description: \"Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.\",\n input: SimplekpiGetAllDataEntriesInput,\n output: SimplekpiGetAllDataEntriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC7J,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/get-all-data-entries.d.ts
|
|
@@ -28,33 +30,7 @@ declare const SimplekpiGetAllDataEntriesOutput: z.ZodObject<{
|
|
|
28
30
|
kpiDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const simplekpiGetAllDataEntries:
|
|
32
|
-
dateTo?: string | undefined;
|
|
33
|
-
kpiIds?: string | undefined;
|
|
34
|
-
userIds?: string | undefined;
|
|
35
|
-
dateFrom?: string | undefined;
|
|
36
|
-
groupItemIds?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
username: z.ZodString;
|
|
43
|
-
password: z.ZodString;
|
|
44
|
-
subdomain: z.ZodString;
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
generic_id: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
username: z.ZodString;
|
|
53
|
-
password: z.ZodString;
|
|
54
|
-
subdomain: z.ZodString;
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
generic_id: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const simplekpiGetAllDataEntries: AppAction<typeof SimplekpiGetAllDataEntriesInput, typeof SimplekpiGetAllDataEntriesOutput, typeof simplekpi.credential>;
|
|
58
34
|
//#endregion
|
|
59
35
|
export { simplekpiGetAllDataEntries };
|
|
60
36
|
//# sourceMappingURL=get-all-data-entries.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-data-entries.d.cts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-data-entries.d.cts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,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/get-all-data-entries.d.ts
|
|
@@ -28,33 +30,7 @@ declare const SimplekpiGetAllDataEntriesOutput: z.ZodObject<{
|
|
|
28
30
|
kpiDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
31
|
}, z.core.$loose>>>>;
|
|
30
32
|
}, z.core.$loose>;
|
|
31
|
-
declare const simplekpiGetAllDataEntries:
|
|
32
|
-
dateTo?: string | undefined;
|
|
33
|
-
kpiIds?: string | undefined;
|
|
34
|
-
userIds?: string | undefined;
|
|
35
|
-
dateFrom?: string | undefined;
|
|
36
|
-
groupItemIds?: string | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
username: z.ZodString;
|
|
43
|
-
password: z.ZodString;
|
|
44
|
-
subdomain: z.ZodString;
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
generic_id: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
username: z.ZodString;
|
|
53
|
-
password: z.ZodString;
|
|
54
|
-
subdomain: z.ZodString;
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
generic_id: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const simplekpiGetAllDataEntries: AppAction<typeof SimplekpiGetAllDataEntriesInput, typeof SimplekpiGetAllDataEntriesOutput, typeof simplekpi.credential>;
|
|
58
34
|
//#endregion
|
|
59
35
|
export { simplekpiGetAllDataEntries };
|
|
60
36
|
//# sourceMappingURL=get-all-data-entries.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-data-entries.d.mts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-data-entries.d.mts","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-data-entries.mjs","names":[],"sources":["../../src/actions/get-all-data-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetAllDataEntriesInput = z.object({\n dateTo: z.string().describe(\"End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n kpiIds: z.string().describe(\"Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs\").optional(),\n userIds: z.string().describe(\"Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n groupItemIds: z.string().describe(\"Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items\").optional(),\n});\nconst SimplekpiGetAllDataEntries_DataEntrySchema = z.object({\n kpiId: z.number().int().describe(\"Identifier for the KPI\").nullable().optional(),\n notes: z.string().describe(\"Additional contextual information or comments\").nullable().optional(),\n actual: z.number().describe(\"Recorded KPI value (actual measurement)\").nullable().optional(),\n itemId: z.number().int().describe(\"Identifier for the group item or user\").nullable().optional(),\n period: z.string().describe(\"Human-readable period description (e.g., 'Daily', 'Weekly')\").nullable().optional(),\n target: z.number().describe(\"Target KPI value for comparison\").nullable().optional(),\n kpiName: z.string().describe(\"Name of the KPI\").nullable().optional(),\n itemName: z.string().describe(\"Name of the person or item\").nullable().optional(),\n periodId: z.string().describe(\"Code for the reporting period (e.g., 'D' for Daily)\").nullable().optional(),\n direction: z.string().describe(\"Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)\").nullable().optional(),\n entryDate: z.string().describe(\"Date of the data entry in YYYY-MM-DD format\").nullable().optional(),\n hasTarget: z.number().int().describe(\"Boolean flag (0 or 1) indicating if entry has a target value\").nullable().optional(),\n labelFormat: z.string().describe(\"Number formatting pattern (e.g., '#,##0')\").nullable().optional(),\n isPercentage: z.number().int().describe(\"Boolean flag (0 or 1) indicating if value should be displayed as percentage\").nullable().optional(),\n directionName: z.string().describe(\"Readable direction label (e.g., 'Up', 'Down')\").nullable().optional(),\n kpiDescription: z.string().describe(\"Descriptive text about the KPI\").nullable().optional(),\n}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = z.object({\n entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe(\"List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetAllDataEntries = action(\"SIMPLEKPI_GET_ALL_DATA_ENTRIES\", {\n slug: \"simplekpi-get-all-data-entries\",\n name: \"Get All Data Entries\",\n description: \"Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.\",\n input: SimplekpiGetAllDataEntriesInput,\n output: SimplekpiGetAllDataEntriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-data-entries.mjs","names":[],"sources":["../../src/actions/get-all-data-entries.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 SimplekpiGetAllDataEntriesInput = z.object({\n dateTo: z.string().describe(\"End date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n kpiIds: z.string().describe(\"Comma-separated list of KPI IDs to filter entries (e.g., '1,2,3'). If not provided, returns entries for all KPIs\").optional(),\n userIds: z.string().describe(\"Comma-separated list of user IDs to filter entries (e.g., '5,15,25'). Filters by specific users\").optional(),\n dateFrom: z.string().describe(\"Start date for filtering entries in YYYY-MM-DD format. Defaults to today if not provided\").optional(),\n groupItemIds: z.string().describe(\"Comma-separated list of group item IDs to filter entries (e.g., '10,20,30'). Filters by specific group items\").optional(),\n});\nconst SimplekpiGetAllDataEntries_DataEntrySchema = z.object({\n kpiId: z.number().int().describe(\"Identifier for the KPI\").nullable().optional(),\n notes: z.string().describe(\"Additional contextual information or comments\").nullable().optional(),\n actual: z.number().describe(\"Recorded KPI value (actual measurement)\").nullable().optional(),\n itemId: z.number().int().describe(\"Identifier for the group item or user\").nullable().optional(),\n period: z.string().describe(\"Human-readable period description (e.g., 'Daily', 'Weekly')\").nullable().optional(),\n target: z.number().describe(\"Target KPI value for comparison\").nullable().optional(),\n kpiName: z.string().describe(\"Name of the KPI\").nullable().optional(),\n itemName: z.string().describe(\"Name of the person or item\").nullable().optional(),\n periodId: z.string().describe(\"Code for the reporting period (e.g., 'D' for Daily)\").nullable().optional(),\n direction: z.string().describe(\"Single character code for KPI direction (e.g., 'U' for Up, 'D' for Down)\").nullable().optional(),\n entryDate: z.string().describe(\"Date of the data entry in YYYY-MM-DD format\").nullable().optional(),\n hasTarget: z.number().int().describe(\"Boolean flag (0 or 1) indicating if entry has a target value\").nullable().optional(),\n labelFormat: z.string().describe(\"Number formatting pattern (e.g., '#,##0')\").nullable().optional(),\n isPercentage: z.number().int().describe(\"Boolean flag (0 or 1) indicating if value should be displayed as percentage\").nullable().optional(),\n directionName: z.string().describe(\"Readable direction label (e.g., 'Up', 'Down')\").nullable().optional(),\n kpiDescription: z.string().describe(\"Descriptive text about the KPI\").nullable().optional(),\n}).passthrough();\nexport const SimplekpiGetAllDataEntriesOutput = z.object({\n entries: z.array(SimplekpiGetAllDataEntries_DataEntrySchema).describe(\"List of processed KPI data entries including calculated KPIs (maximum 10,000 entries)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetAllDataEntries: AppAction<\n typeof SimplekpiGetAllDataEntriesInput,\n typeof SimplekpiGetAllDataEntriesOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_ALL_DATA_ENTRIES\", {\n slug: \"simplekpi-get-all-data-entries\",\n name: \"Get All Data Entries\",\n description: \"Tool to retrieve processed KPI data entries for reports including calculated KPIs. Use when you need comprehensive report data with KPI metrics, targets, and metadata. Returns up to 10,000 entries with details like kpiId, kpiName, itemName, period, actual, target, and notes.\",\n input: SimplekpiGetAllDataEntriesInput,\n output: SimplekpiGetAllDataEntriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACzJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACzI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnI,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AAC7J,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to retrieve.\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI.\"),\n}).describe(\"Request model for retrieving a specific KPI within a category.\");\nexport const SimplekpiGetCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\n icon_id: z.number().int().describe(\"The ID of the icon assigned to the KPI (16-bit integer).\").nullable().optional(),\n unit_id: z.number().int().describe(\"The ID of the unit of measure assigned to the KPI.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI accepts data entries.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering of the KPI (16-bit integer).\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification.\").nullable().optional(),\n category_id: z.number().int().describe(\"The identifier of the category containing the KPI.\").nullable(),\n description: z.string().describe(\"Optional explanation of the KPI (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"The ID of the frequency of data entry for the KPI. This field is case sensitive.\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Calculated KPIs cannot be amended via the API.\").nullable().optional(),\n target_default: z.union([z.number(), z.string()]).nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG or SUM (max 3 characters).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi = action(\"SIMPLEKPI_GET_CATEGORY_KPI\", {\n slug: \"simplekpi-get-category-kpi\",\n name: \"Get Category KPI\",\n description: \"Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.\",\n input: SimplekpiGetCategoryKpiInput,\n output: SimplekpiGetCategoryKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetCategoryKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI to retrieve.\"),\n category_id: z.number().int().describe(\"The ID of the category containing the KPI.\"),\n}).describe(\"Request model for retrieving a specific KPI within a category.\");\nexport const SimplekpiGetCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI.\").nullable(),\n name: z.string().describe(\"The name of the KPI (max 100 characters).\").nullable(),\n icon_id: z.number().int().describe(\"The ID of the icon assigned to the KPI (16-bit integer).\").nullable().optional(),\n unit_id: z.number().int().describe(\"The ID of the unit of measure assigned to the KPI.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI accepts data entries.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of creation.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering of the KPI (16-bit integer).\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of last modification.\").nullable().optional(),\n category_id: z.number().int().describe(\"The identifier of the category containing the KPI.\").nullable(),\n description: z.string().describe(\"Optional explanation of the KPI (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"The ID of the frequency of data entry for the KPI. This field is case sensitive.\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Calculated KPIs cannot be amended via the API.\").nullable().optional(),\n target_default: z.union([z.number(), z.string()]).nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator: U(p), D(own), or N(one).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method: AVG or SUM (max 3 characters).\").nullable().optional(),\n}).passthrough().describe(\"Response model for a specific KPI within a category.\");\n\nexport const simplekpiGetCategoryKpi: AppAction<\n typeof SimplekpiGetCategoryKpiInput,\n typeof SimplekpiGetCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_CATEGORY_KPI\", {\n slug: \"simplekpi-get-category-kpi\",\n name: \"Get Category KPI\",\n description: \"Tool to retrieve a specific KPI within a category. Use when you need detailed information about a particular KPI including its name, description, target values, and configuration settings.\",\n input: SimplekpiGetCategoryKpiInput,\n output: SimplekpiGetCategoryKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACrF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,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/get-category-kpi.d.ts
|
|
@@ -22,30 +24,7 @@ declare const SimplekpiGetCategoryKpiOutput: z.ZodObject<{
|
|
|
22
24
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const simplekpiGetCategoryKpi:
|
|
26
|
-
id: number;
|
|
27
|
-
category_id: number;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
username: z.ZodString;
|
|
44
|
-
password: z.ZodString;
|
|
45
|
-
subdomain: z.ZodString;
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
generic_id: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const simplekpiGetCategoryKpi: AppAction<typeof SimplekpiGetCategoryKpiInput, typeof SimplekpiGetCategoryKpiOutput, typeof simplekpi.credential>;
|
|
49
28
|
//#endregion
|
|
50
29
|
export { simplekpiGetCategoryKpi };
|
|
51
30
|
//# sourceMappingURL=get-category-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-category-kpi.d.cts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-category-kpi.d.cts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB7B,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/get-category-kpi.d.ts
|
|
@@ -22,30 +24,7 @@ declare const SimplekpiGetCategoryKpiOutput: z.ZodObject<{
|
|
|
22
24
|
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const simplekpiGetCategoryKpi:
|
|
26
|
-
id: number;
|
|
27
|
-
category_id: number;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
username: z.ZodString;
|
|
44
|
-
password: z.ZodString;
|
|
45
|
-
subdomain: z.ZodString;
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
generic_id: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const simplekpiGetCategoryKpi: AppAction<typeof SimplekpiGetCategoryKpiInput, typeof SimplekpiGetCategoryKpiOutput, typeof simplekpi.credential>;
|
|
49
28
|
//#endregion
|
|
50
29
|
export { simplekpiGetCategoryKpi };
|
|
51
30
|
//# sourceMappingURL=get-category-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-category-kpi.d.mts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-category-kpi.d.mts","names":[],"sources":["../../src/actions/get-category-kpi.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|