@keystrokehq/simplekpi 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-user-group-item.cjs +1 -0
- package/dist/actions/add-user-group-item.cjs.map +1 -1
- package/dist/actions/add-user-group-item.d.cts +3 -4
- package/dist/actions/add-user-group-item.d.cts.map +1 -1
- package/dist/actions/add-user-group-item.d.mts +3 -4
- package/dist/actions/add-user-group-item.d.mts.map +1 -1
- package/dist/actions/add-user-group-item.mjs +1 -0
- package/dist/actions/add-user-group-item.mjs.map +1 -1
- package/dist/actions/add-user-kpi.cjs +1 -0
- package/dist/actions/add-user-kpi.cjs.map +1 -1
- package/dist/actions/add-user-kpi.d.cts +3 -6
- package/dist/actions/add-user-kpi.d.cts.map +1 -1
- package/dist/actions/add-user-kpi.d.mts +3 -6
- package/dist/actions/add-user-kpi.d.mts.map +1 -1
- package/dist/actions/add-user-kpi.mjs +1 -0
- package/dist/actions/add-user-kpi.mjs.map +1 -1
- package/dist/actions/create-category-kpi.cjs +1 -0
- package/dist/actions/create-category-kpi.cjs.map +1 -1
- package/dist/actions/create-category-kpi.d.cts +3 -11
- package/dist/actions/create-category-kpi.d.cts.map +1 -1
- package/dist/actions/create-category-kpi.d.mts +3 -11
- package/dist/actions/create-category-kpi.d.mts.map +1 -1
- package/dist/actions/create-category-kpi.mjs +1 -0
- package/dist/actions/create-category-kpi.mjs.map +1 -1
- package/dist/actions/create-group-item.cjs +1 -0
- package/dist/actions/create-group-item.cjs.map +1 -1
- package/dist/actions/create-group-item.d.cts +3 -5
- package/dist/actions/create-group-item.d.cts.map +1 -1
- package/dist/actions/create-group-item.d.mts +3 -5
- package/dist/actions/create-group-item.d.mts.map +1 -1
- package/dist/actions/create-group-item.mjs +1 -0
- package/dist/actions/create-group-item.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -4
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -4
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-kpi-category.cjs +1 -0
- package/dist/actions/create-kpi-category.cjs.map +1 -1
- package/dist/actions/create-kpi-category.d.cts +3 -4
- package/dist/actions/create-kpi-category.d.cts.map +1 -1
- package/dist/actions/create-kpi-category.d.mts +3 -4
- package/dist/actions/create-kpi-category.d.mts.map +1 -1
- package/dist/actions/create-kpi-category.mjs +1 -0
- package/dist/actions/create-kpi-category.mjs.map +1 -1
- package/dist/actions/create-kpi-unit.cjs +1 -0
- package/dist/actions/create-kpi-unit.cjs.map +1 -1
- package/dist/actions/create-kpi-unit.d.cts +3 -6
- package/dist/actions/create-kpi-unit.d.cts.map +1 -1
- package/dist/actions/create-kpi-unit.d.mts +3 -6
- package/dist/actions/create-kpi-unit.d.mts.map +1 -1
- package/dist/actions/create-kpi-unit.mjs +1 -0
- package/dist/actions/create-kpi-unit.mjs.map +1 -1
- package/dist/actions/create-kpi.cjs +1 -0
- package/dist/actions/create-kpi.cjs.map +1 -1
- package/dist/actions/create-kpi.d.cts +3 -11
- package/dist/actions/create-kpi.d.cts.map +1 -1
- package/dist/actions/create-kpi.d.mts +3 -11
- package/dist/actions/create-kpi.d.mts.map +1 -1
- package/dist/actions/create-kpi.mjs +1 -0
- package/dist/actions/create-kpi.mjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.cjs +1 -0
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.cts +3 -19
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.mts +3 -19
- package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.mjs +1 -0
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -10
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -10
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-category-kpi.cjs +1 -0
- package/dist/actions/delete-category-kpi.cjs.map +1 -1
- package/dist/actions/delete-category-kpi.d.cts +3 -4
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +3 -4
- package/dist/actions/delete-category-kpi.d.mts.map +1 -1
- package/dist/actions/delete-category-kpi.mjs +1 -0
- package/dist/actions/delete-category-kpi.mjs.map +1 -1
- package/dist/actions/delete-group-item.cjs +1 -0
- package/dist/actions/delete-group-item.cjs.map +1 -1
- package/dist/actions/delete-group-item.d.cts +3 -4
- package/dist/actions/delete-group-item.d.cts.map +1 -1
- package/dist/actions/delete-group-item.d.mts +3 -4
- package/dist/actions/delete-group-item.d.mts.map +1 -1
- package/dist/actions/delete-group-item.mjs +1 -0
- package/dist/actions/delete-group-item.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-kpi-category.cjs +1 -0
- package/dist/actions/delete-kpi-category.cjs.map +1 -1
- package/dist/actions/delete-kpi-category.d.cts +3 -3
- package/dist/actions/delete-kpi-category.d.cts.map +1 -1
- package/dist/actions/delete-kpi-category.d.mts +3 -3
- package/dist/actions/delete-kpi-category.d.mts.map +1 -1
- package/dist/actions/delete-kpi-category.mjs +1 -0
- package/dist/actions/delete-kpi-category.mjs.map +1 -1
- package/dist/actions/delete-kpi-entry.cjs +1 -0
- package/dist/actions/delete-kpi-entry.cjs.map +1 -1
- package/dist/actions/delete-kpi-entry.d.cts +3 -3
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +3 -3
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
- package/dist/actions/delete-kpi-entry.mjs +1 -0
- package/dist/actions/delete-kpi-entry.mjs.map +1 -1
- package/dist/actions/delete-kpi-unit.cjs +1 -0
- package/dist/actions/delete-kpi-unit.cjs.map +1 -1
- package/dist/actions/delete-kpi-unit.d.cts +3 -3
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +3 -3
- package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
- package/dist/actions/delete-kpi-unit.mjs +1 -0
- package/dist/actions/delete-kpi-unit.mjs.map +1 -1
- package/dist/actions/delete-kpi.cjs +1 -0
- package/dist/actions/delete-kpi.cjs.map +1 -1
- package/dist/actions/delete-kpi.d.cts +3 -3
- package/dist/actions/delete-kpi.d.cts.map +1 -1
- package/dist/actions/delete-kpi.d.mts +3 -3
- package/dist/actions/delete-kpi.d.mts.map +1 -1
- package/dist/actions/delete-kpi.mjs +1 -0
- package/dist/actions/delete-kpi.mjs.map +1 -1
- package/dist/actions/delete-user-group-item.cjs +1 -0
- package/dist/actions/delete-user-group-item.cjs.map +1 -1
- package/dist/actions/delete-user-group-item.d.cts +3 -4
- package/dist/actions/delete-user-group-item.d.cts.map +1 -1
- package/dist/actions/delete-user-group-item.d.mts +3 -4
- package/dist/actions/delete-user-group-item.d.mts.map +1 -1
- package/dist/actions/delete-user-group-item.mjs +1 -0
- package/dist/actions/delete-user-group-item.mjs.map +1 -1
- package/dist/actions/delete-user-kpi.cjs +1 -0
- package/dist/actions/delete-user-kpi.cjs.map +1 -1
- package/dist/actions/delete-user-kpi.d.cts +3 -4
- package/dist/actions/delete-user-kpi.d.cts.map +1 -1
- package/dist/actions/delete-user-kpi.d.mts +3 -4
- package/dist/actions/delete-user-kpi.d.mts.map +1 -1
- package/dist/actions/delete-user-kpi.mjs +1 -0
- package/dist/actions/delete-user-kpi.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-all-data-entries.cjs +1 -0
- package/dist/actions/get-all-data-entries.cjs.map +1 -1
- package/dist/actions/get-all-data-entries.d.cts +3 -7
- package/dist/actions/get-all-data-entries.d.cts.map +1 -1
- package/dist/actions/get-all-data-entries.d.mts +3 -7
- package/dist/actions/get-all-data-entries.d.mts.map +1 -1
- package/dist/actions/get-all-data-entries.mjs +1 -0
- package/dist/actions/get-all-data-entries.mjs.map +1 -1
- package/dist/actions/get-category-kpi.cjs +1 -0
- package/dist/actions/get-category-kpi.cjs.map +1 -1
- package/dist/actions/get-category-kpi.d.cts +3 -4
- package/dist/actions/get-category-kpi.d.cts.map +1 -1
- package/dist/actions/get-category-kpi.d.mts +3 -4
- package/dist/actions/get-category-kpi.d.mts.map +1 -1
- package/dist/actions/get-category-kpi.mjs +1 -0
- package/dist/actions/get-category-kpi.mjs.map +1 -1
- package/dist/actions/get-group-item.cjs +1 -0
- package/dist/actions/get-group-item.cjs.map +1 -1
- package/dist/actions/get-group-item.d.cts +3 -4
- package/dist/actions/get-group-item.d.cts.map +1 -1
- package/dist/actions/get-group-item.d.mts +3 -4
- package/dist/actions/get-group-item.d.mts.map +1 -1
- package/dist/actions/get-group-item.mjs +1 -0
- package/dist/actions/get-group-item.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -0
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +3 -3
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +3 -3
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +1 -0
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-kpi-category.cjs +1 -0
- package/dist/actions/get-kpi-category.cjs.map +1 -1
- package/dist/actions/get-kpi-category.d.cts +3 -3
- package/dist/actions/get-kpi-category.d.cts.map +1 -1
- package/dist/actions/get-kpi-category.d.mts +3 -3
- package/dist/actions/get-kpi-category.d.mts.map +1 -1
- package/dist/actions/get-kpi-category.mjs +1 -0
- package/dist/actions/get-kpi-category.mjs.map +1 -1
- package/dist/actions/get-kpi-entry.cjs +1 -0
- package/dist/actions/get-kpi-entry.cjs.map +1 -1
- package/dist/actions/get-kpi-entry.d.cts +3 -3
- package/dist/actions/get-kpi-entry.d.cts.map +1 -1
- package/dist/actions/get-kpi-entry.d.mts +3 -3
- package/dist/actions/get-kpi-entry.d.mts.map +1 -1
- package/dist/actions/get-kpi-entry.mjs +1 -0
- package/dist/actions/get-kpi-entry.mjs.map +1 -1
- package/dist/actions/get-kpi-frequency.cjs +1 -0
- package/dist/actions/get-kpi-frequency.cjs.map +1 -1
- package/dist/actions/get-kpi-frequency.d.cts +3 -3
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +3 -3
- package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
- package/dist/actions/get-kpi-frequency.mjs +1 -0
- package/dist/actions/get-kpi-frequency.mjs.map +1 -1
- package/dist/actions/get-kpi-icon.cjs +1 -0
- package/dist/actions/get-kpi-icon.cjs.map +1 -1
- package/dist/actions/get-kpi-icon.d.cts +3 -3
- package/dist/actions/get-kpi-icon.d.cts.map +1 -1
- package/dist/actions/get-kpi-icon.d.mts +3 -3
- package/dist/actions/get-kpi-icon.d.mts.map +1 -1
- package/dist/actions/get-kpi-icon.mjs +1 -0
- package/dist/actions/get-kpi-icon.mjs.map +1 -1
- package/dist/actions/get-kpi-unit.cjs +1 -0
- package/dist/actions/get-kpi-unit.cjs.map +1 -1
- package/dist/actions/get-kpi-unit.d.cts +3 -3
- package/dist/actions/get-kpi-unit.d.cts.map +1 -1
- package/dist/actions/get-kpi-unit.d.mts +3 -3
- package/dist/actions/get-kpi-unit.d.mts.map +1 -1
- package/dist/actions/get-kpi-unit.mjs +1 -0
- package/dist/actions/get-kpi-unit.mjs.map +1 -1
- package/dist/actions/get-kpi.cjs +1 -0
- package/dist/actions/get-kpi.cjs.map +1 -1
- package/dist/actions/get-kpi.d.cts +3 -3
- package/dist/actions/get-kpi.d.cts.map +1 -1
- package/dist/actions/get-kpi.d.mts +3 -3
- package/dist/actions/get-kpi.d.mts.map +1 -1
- package/dist/actions/get-kpi.mjs +1 -0
- package/dist/actions/get-kpi.mjs.map +1 -1
- package/dist/actions/get-user-group-item.cjs +1 -0
- package/dist/actions/get-user-group-item.cjs.map +1 -1
- package/dist/actions/get-user-group-item.d.cts +3 -4
- package/dist/actions/get-user-group-item.d.cts.map +1 -1
- package/dist/actions/get-user-group-item.d.mts +3 -4
- package/dist/actions/get-user-group-item.d.mts.map +1 -1
- package/dist/actions/get-user-group-item.mjs +1 -0
- package/dist/actions/get-user-group-item.mjs.map +1 -1
- package/dist/actions/get-user-kpi.cjs +1 -0
- package/dist/actions/get-user-kpi.cjs.map +1 -1
- package/dist/actions/get-user-kpi.d.cts +3 -4
- package/dist/actions/get-user-kpi.d.cts.map +1 -1
- package/dist/actions/get-user-kpi.d.mts +3 -4
- package/dist/actions/get-user-kpi.d.mts.map +1 -1
- package/dist/actions/get-user-kpi.mjs +1 -0
- package/dist/actions/get-user-kpi.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-category-kpis.cjs +1 -0
- package/dist/actions/list-category-kpis.cjs.map +1 -1
- package/dist/actions/list-category-kpis.d.cts +3 -3
- package/dist/actions/list-category-kpis.d.cts.map +1 -1
- package/dist/actions/list-category-kpis.d.mts +3 -3
- package/dist/actions/list-category-kpis.d.mts.map +1 -1
- package/dist/actions/list-category-kpis.mjs +1 -0
- package/dist/actions/list-category-kpis.mjs.map +1 -1
- package/dist/actions/list-group-items.cjs +1 -0
- package/dist/actions/list-group-items.cjs.map +1 -1
- package/dist/actions/list-group-items.d.cts +3 -3
- package/dist/actions/list-group-items.d.cts.map +1 -1
- package/dist/actions/list-group-items.d.mts +3 -3
- package/dist/actions/list-group-items.d.mts.map +1 -1
- package/dist/actions/list-group-items.mjs +1 -0
- package/dist/actions/list-group-items.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -1
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -1
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-kpi-categories.cjs +1 -0
- package/dist/actions/list-kpi-categories.cjs.map +1 -1
- package/dist/actions/list-kpi-categories.d.cts +3 -1
- package/dist/actions/list-kpi-categories.d.cts.map +1 -1
- package/dist/actions/list-kpi-categories.d.mts +3 -1
- package/dist/actions/list-kpi-categories.d.mts.map +1 -1
- package/dist/actions/list-kpi-categories.mjs +1 -0
- package/dist/actions/list-kpi-categories.mjs.map +1 -1
- package/dist/actions/list-kpi-entries.cjs +1 -0
- package/dist/actions/list-kpi-entries.cjs.map +1 -1
- package/dist/actions/list-kpi-entries.d.cts +3 -8
- package/dist/actions/list-kpi-entries.d.cts.map +1 -1
- package/dist/actions/list-kpi-entries.d.mts +3 -8
- package/dist/actions/list-kpi-entries.d.mts.map +1 -1
- package/dist/actions/list-kpi-entries.mjs +1 -0
- package/dist/actions/list-kpi-entries.mjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.cjs +1 -0
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.cts +3 -1
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.mts +3 -1
- package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
- package/dist/actions/list-kpi-frequencies.mjs +1 -0
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
- package/dist/actions/list-kpi-icons.cjs +1 -0
- package/dist/actions/list-kpi-icons.cjs.map +1 -1
- package/dist/actions/list-kpi-icons.d.cts +3 -1
- package/dist/actions/list-kpi-icons.d.cts.map +1 -1
- package/dist/actions/list-kpi-icons.d.mts +3 -1
- package/dist/actions/list-kpi-icons.d.mts.map +1 -1
- package/dist/actions/list-kpi-icons.mjs +1 -0
- package/dist/actions/list-kpi-icons.mjs.map +1 -1
- package/dist/actions/list-kpi-units.cjs +1 -0
- package/dist/actions/list-kpi-units.cjs.map +1 -1
- package/dist/actions/list-kpi-units.d.cts +3 -1
- package/dist/actions/list-kpi-units.d.cts.map +1 -1
- package/dist/actions/list-kpi-units.d.mts +3 -1
- package/dist/actions/list-kpi-units.d.mts.map +1 -1
- package/dist/actions/list-kpi-units.mjs +1 -0
- package/dist/actions/list-kpi-units.mjs.map +1 -1
- package/dist/actions/list-kpis.cjs +1 -0
- package/dist/actions/list-kpis.cjs.map +1 -1
- package/dist/actions/list-kpis.d.cts +3 -1
- package/dist/actions/list-kpis.d.cts.map +1 -1
- package/dist/actions/list-kpis.d.mts +3 -1
- package/dist/actions/list-kpis.d.mts.map +1 -1
- package/dist/actions/list-kpis.mjs +1 -0
- package/dist/actions/list-kpis.mjs.map +1 -1
- package/dist/actions/list-user-group-items.cjs +1 -0
- package/dist/actions/list-user-group-items.cjs.map +1 -1
- package/dist/actions/list-user-group-items.d.cts +3 -3
- package/dist/actions/list-user-group-items.d.cts.map +1 -1
- package/dist/actions/list-user-group-items.d.mts +3 -3
- package/dist/actions/list-user-group-items.d.mts.map +1 -1
- package/dist/actions/list-user-group-items.mjs +1 -0
- package/dist/actions/list-user-group-items.mjs.map +1 -1
- package/dist/actions/list-user-kpis.cjs +1 -0
- package/dist/actions/list-user-kpis.cjs.map +1 -1
- package/dist/actions/list-user-kpis.d.cts +3 -3
- package/dist/actions/list-user-kpis.d.cts.map +1 -1
- package/dist/actions/list-user-kpis.d.mts +3 -3
- package/dist/actions/list-user-kpis.d.mts.map +1 -1
- package/dist/actions/list-user-kpis.mjs +1 -0
- package/dist/actions/list-user-kpis.mjs.map +1 -1
- package/dist/actions/update-category-kpi.cjs +1 -0
- package/dist/actions/update-category-kpi.cjs.map +1 -1
- package/dist/actions/update-category-kpi.d.cts +3 -14
- package/dist/actions/update-category-kpi.d.cts.map +1 -1
- package/dist/actions/update-category-kpi.d.mts +3 -14
- package/dist/actions/update-category-kpi.d.mts.map +1 -1
- package/dist/actions/update-category-kpi.mjs +1 -0
- package/dist/actions/update-category-kpi.mjs.map +1 -1
- package/dist/actions/update-group-item.cjs +1 -0
- package/dist/actions/update-group-item.cjs.map +1 -1
- package/dist/actions/update-group-item.d.cts +3 -6
- package/dist/actions/update-group-item.d.cts.map +1 -1
- package/dist/actions/update-group-item.d.mts +3 -6
- package/dist/actions/update-group-item.d.mts.map +1 -1
- package/dist/actions/update-group-item.mjs +1 -0
- package/dist/actions/update-group-item.mjs.map +1 -1
- package/dist/actions/update-group.cjs +1 -0
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +3 -5
- package/dist/actions/update-group.d.cts.map +1 -1
- package/dist/actions/update-group.d.mts +3 -5
- package/dist/actions/update-group.d.mts.map +1 -1
- package/dist/actions/update-group.mjs +1 -0
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-kpi-entry.cjs +1 -0
- package/dist/actions/update-kpi-entry.cjs.map +1 -1
- package/dist/actions/update-kpi-entry.d.cts +3 -9
- package/dist/actions/update-kpi-entry.d.cts.map +1 -1
- package/dist/actions/update-kpi-entry.d.mts +3 -9
- package/dist/actions/update-kpi-entry.d.mts.map +1 -1
- package/dist/actions/update-kpi-entry.mjs +1 -0
- package/dist/actions/update-kpi-entry.mjs.map +1 -1
- package/dist/actions/update-kpi-unit.cjs +1 -0
- package/dist/actions/update-kpi-unit.cjs.map +1 -1
- package/dist/actions/update-kpi-unit.d.cts +3 -7
- package/dist/actions/update-kpi-unit.d.cts.map +1 -1
- package/dist/actions/update-kpi-unit.d.mts +3 -7
- package/dist/actions/update-kpi-unit.d.mts.map +1 -1
- package/dist/actions/update-kpi-unit.mjs +1 -0
- package/dist/actions/update-kpi-unit.mjs.map +1 -1
- package/dist/actions/update-kpi.cjs +1 -0
- package/dist/actions/update-kpi.cjs.map +1 -1
- package/dist/actions/update-kpi.d.cts +3 -14
- package/dist/actions/update-kpi.d.cts.map +1 -1
- package/dist/actions/update-kpi.d.mts +3 -14
- package/dist/actions/update-kpi.d.mts.map +1 -1
- package/dist/actions/update-kpi.mjs +1 -0
- package/dist/actions/update-kpi.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -10
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -10
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/app.cjs +12 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +11 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +11 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +9 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-kpi.mjs","names":[],"sources":["../../src/actions/get-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetKpiInput = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI\").nullable().optional(),\n name: z.string().describe(\"The KPI's name (max 100 characters)\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon identifier assigned to the KPI (16 bit integer)\").nullable().optional(),\n unit_id: z.number().int().describe(\"References the unit of measure for the KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if data entry is permitted for this KPI\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of KPI creation\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering sequence (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(\"References the category containing the KPI\").nullable().optional(),\n description: z.string().describe(\"Optional description 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 (case-sensitive, uppercase)\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only; calculated KPIs cannot be modified via API\").nullable().optional(),\n target_default: z.number().describe(\"Default target value; null if not set\").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 (average) or SUM (sum)\").nullable().optional(),\n}).passthrough().describe(\"Complete response schema for a KPI object.\");\n\nexport const simplekpiGetKpi = action(\"SIMPLEKPI_GET_KPI\", {\n slug: \"simplekpi-get-kpi\",\n name: \"Get KPI by ID\",\n description: \"Tool to retrieve a specific KPI by ID from SimpleKPI. Use when you need detailed information about a particular KPI including its configuration, targets, and metadata.\",\n input: SimplekpiGetKpiInput,\n output: SimplekpiGetKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-kpi.mjs","names":[],"sources":["../../src/actions/get-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 SimplekpiGetKpiInput = z.object({\n kpi_id: z.number().int().describe(\"The unique identifier of the KPI to retrieve\"),\n});\nexport const SimplekpiGetKpiOutput = z.object({\n id: z.number().int().describe(\"Automatically generated identifier for the KPI\").nullable().optional(),\n name: z.string().describe(\"The KPI's name (max 100 characters)\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon identifier assigned to the KPI (16 bit integer)\").nullable().optional(),\n unit_id: z.number().int().describe(\"References the unit of measure for the KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates if data entry is permitted for this KPI\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp of KPI creation\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering sequence (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(\"References the category containing the KPI\").nullable().optional(),\n description: z.string().describe(\"Optional description 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 (case-sensitive, uppercase)\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only; calculated KPIs cannot be modified via API\").nullable().optional(),\n target_default: z.number().describe(\"Default target value; null if not set\").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 (average) or SUM (sum)\").nullable().optional(),\n}).passthrough().describe(\"Complete response schema for a KPI object.\");\n\nexport const simplekpiGetKpi: AppAction<\n typeof SimplekpiGetKpiInput,\n typeof SimplekpiGetKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_KPI\", {\n slug: \"simplekpi-get-kpi\",\n name: \"Get KPI by ID\",\n description: \"Tool to retrieve a specific KPI by ID from SimpleKPI. Use when you need detailed information about a particular KPI including its configuration, targets, and metadata.\",\n input: SimplekpiGetKpiInput,\n output: SimplekpiGetKpiOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BkC,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAClF,CA2BS;CACP,QA3BmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem: AppAction<\n typeof SimplekpiGetUserGroupItemInput,\n typeof SimplekpiGetUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;AACjE,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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-user-group-item.d.ts
|
|
@@ -13,10 +15,7 @@ declare const SimplekpiGetUserGroupItemOutput: z.ZodObject<{
|
|
|
13
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiGetUserGroupItem:
|
|
17
|
-
id: number;
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const simplekpiGetUserGroupItem: AppAction<typeof SimplekpiGetUserGroupItemInput, typeof SimplekpiGetUserGroupItemOutput, typeof simplekpi.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { simplekpiGetUserGroupItem };
|
|
22
21
|
//# sourceMappingURL=get-user-group-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-group-item.d.cts","names":[],"sources":["../../src/actions/get-user-group-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-group-item.d.cts","names":[],"sources":["../../src/actions/get-user-group-item.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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-user-group-item.d.ts
|
|
@@ -13,10 +15,7 @@ declare const SimplekpiGetUserGroupItemOutput: z.ZodObject<{
|
|
|
13
15
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiGetUserGroupItem:
|
|
17
|
-
id: number;
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const simplekpiGetUserGroupItem: AppAction<typeof SimplekpiGetUserGroupItemInput, typeof SimplekpiGetUserGroupItemOutput, typeof simplekpi.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { simplekpiGetUserGroupItem };
|
|
22
21
|
//# sourceMappingURL=get-user-group-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-group-item.d.mts","names":[],"sources":["../../src/actions/get-user-group-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-group-item.d.mts","names":[],"sources":["../../src/actions/get-user-group-item.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-group-item.mjs","names":[],"sources":["../../src/actions/get-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-group-item.mjs","names":[],"sources":["../../src/actions/get-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 SimplekpiGetUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The identifier of the group item to retrieve\"),\n user_id: z.number().int().describe(\"The identifier of the user\"),\n});\nexport const SimplekpiGetUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"Group item identifier\").nullable(),\n name: z.string().describe(\"Name of the group item (max 100 chars)\").nullable(),\n user_id: z.number().int().describe(\"Identifier of the assigned user\").nullable(),\n group_id: z.number().int().describe(\"Identifier of the parent group\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp in ISO format\").nullable().optional(),\n group_name: z.string().describe(\"Name of the group (max 50 chars)\").nullable(),\n}).passthrough();\n\nexport const simplekpiGetUserGroupItem: AppAction<\n typeof SimplekpiGetUserGroupItemInput,\n typeof SimplekpiGetUserGroupItemOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_GROUP_ITEM\", {\n slug: \"simplekpi-get-user-group-item\",\n name: \"Get User Group Item\",\n description: \"Tool to get a specific group item assigned to a user. Use when you need to retrieve details of a particular group item for a user.\",\n input: SimplekpiGetUserGroupItemInput,\n output: SimplekpiGetUserGroupItemOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CACjE,CAkBS;CACP,QAlB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\"),\n user_id: z.number().int().describe(\"The ID of the user.\"),\n});\nexport const SimplekpiGetUserKpiOutput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to the KPI.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the user KPI assignment was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of KPIs on the KPI Entry screen.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the last modification to the user KPI assignment.\").nullable().optional(),\n user_target: z.number().describe(\"Custom target for the user; only populated if the KPI has a target.\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetUserKpi = action(\"SIMPLEKPI_GET_USER_KPI\", {\n slug: \"simplekpi-get-user-kpi\",\n name: \"Get User KPI\",\n description: \"Tool to retrieve a specific KPI assigned to a user. Use when you need details about a particular KPI assignment for a user.\",\n input: SimplekpiGetUserKpiInput,\n output: SimplekpiGetUserKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\"),\n user_id: z.number().int().describe(\"The ID of the user.\"),\n});\nexport const SimplekpiGetUserKpiOutput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to the KPI.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the user KPI assignment was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of KPIs on the KPI Entry screen.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the last modification to the user KPI assignment.\").nullable().optional(),\n user_target: z.number().describe(\"Custom target for the user; only populated if the KPI has a target.\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetUserKpi: AppAction<\n typeof SimplekpiGetUserKpiInput,\n typeof SimplekpiGetUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_KPI\", {\n slug: \"simplekpi-get-user-kpi\",\n name: \"Get User KPI\",\n description: \"Tool to retrieve a specific KPI assigned to a user. Use when you need details about a particular KPI assignment for a user.\",\n input: SimplekpiGetUserKpiInput,\n output: SimplekpiGetUserKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;AAC1D,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,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/get-user-kpi.d.ts
|
|
@@ -13,10 +15,7 @@ declare const SimplekpiGetUserKpiOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiGetUserKpi:
|
|
17
|
-
id: number;
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const simplekpiGetUserKpi: AppAction<typeof SimplekpiGetUserKpiInput, typeof SimplekpiGetUserKpiOutput, typeof simplekpi.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { simplekpiGetUserKpi };
|
|
22
21
|
//# sourceMappingURL=get-user-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-kpi.d.cts","names":[],"sources":["../../src/actions/get-user-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-kpi.d.cts","names":[],"sources":["../../src/actions/get-user-kpi.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,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/get-user-kpi.d.ts
|
|
@@ -13,10 +15,7 @@ declare const SimplekpiGetUserKpiOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiGetUserKpi:
|
|
17
|
-
id: number;
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const simplekpiGetUserKpi: AppAction<typeof SimplekpiGetUserKpiInput, typeof SimplekpiGetUserKpiOutput, typeof simplekpi.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { simplekpiGetUserKpi };
|
|
22
21
|
//# sourceMappingURL=get-user-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-kpi.d.mts","names":[],"sources":["../../src/actions/get-user-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-kpi.d.mts","names":[],"sources":["../../src/actions/get-user-kpi.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-kpi.mjs","names":[],"sources":["../../src/actions/get-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\"),\n user_id: z.number().int().describe(\"The ID of the user.\"),\n});\nexport const SimplekpiGetUserKpiOutput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to the KPI.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the user KPI assignment was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of KPIs on the KPI Entry screen.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the last modification to the user KPI assignment.\").nullable().optional(),\n user_target: z.number().describe(\"Custom target for the user; only populated if the KPI has a target.\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetUserKpi = action(\"SIMPLEKPI_GET_USER_KPI\", {\n slug: \"simplekpi-get-user-kpi\",\n name: \"Get User KPI\",\n description: \"Tool to retrieve a specific KPI assigned to a user. Use when you need details about a particular KPI assignment for a user.\",\n input: SimplekpiGetUserKpiInput,\n output: SimplekpiGetUserKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-kpi.mjs","names":[],"sources":["../../src/actions/get-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 SimplekpiGetUserKpiInput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\"),\n user_id: z.number().int().describe(\"The ID of the user.\"),\n});\nexport const SimplekpiGetUserKpiOutput = z.object({\n id: z.number().int().describe(\"The ID of the KPI assigned to the user.\").nullable().optional(),\n user_id: z.number().int().describe(\"The ID of the user assigned to the KPI.\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the user KPI assignment was created.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of KPIs on the KPI Entry screen.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the last modification to the user KPI assignment.\").nullable().optional(),\n user_target: z.number().describe(\"Custom target for the user; only populated if the KPI has a target.\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiGetUserKpi: AppAction<\n typeof SimplekpiGetUserKpiInput,\n typeof SimplekpiGetUserKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER_KPI\", {\n slug: \"simplekpi-get-user-kpi\",\n name: \"Get User KPI\",\n description: \"Tool to retrieve a specific KPI assigned to a user. Use when you need details about a particular KPI assignment for a user.\",\n input: SimplekpiGetUserKpiInput,\n output: SimplekpiGetUserKpiOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CAC1D,CAkBS;CACP,QAlBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserInput = z.object({\n id: z.number().int().describe(\"The unique user ID to retrieve\"),\n}).describe(\"Request parameters for getting a specific user by ID.\");\nexport const SimplekpiGetUserOutput = z.object({\n id: z.number().int().describe(\"Unique user identifier (auto-assigned)\").nullable(),\n email: z.string().describe(\"Valid email address used for login (max 150 chars)\").nullable(),\n password: z.string().describe(\"Always null in responses; write-only on creation\").nullable().optional(),\n last_name: z.string().describe(\"User's surname (max 50 chars)\").nullable().optional(),\n user_type: z.string().describe(\"User type: 'Admin', 'Director', 'Manager', or 'User'\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of user creation\").nullable().optional(),\n first_name: z.string().describe(\"User's given name (max 50 chars)\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n last_login_at: z.string().describe(\"UTC timestamp of most recent login\").nullable().optional(),\n user_status_id: z.string().describe(\"User status: 'A' (Active) or 'L' (Locked)\").nullable(),\n can_manage_users: z.boolean().describe(\"Allows Manager-type users to administer group members\").nullable(),\n can_admin_settings: z.boolean().describe(\"Grants Admin-type users Settings and Billing access\").nullable(),\n last_password_changed_at: z.string().describe(\"UTC timestamp of password modification\").nullable().optional(),\n}).passthrough().describe(\"Response schema for user information.\");\n\nexport const simplekpiGetUser = action(\"SIMPLEKPI_GET_USER\", {\n slug: \"simplekpi-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user by ID. Use when you need to get details about a particular user account.\",\n input: SimplekpiGetUserInput,\n output: SimplekpiGetUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-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 SimplekpiGetUserInput = z.object({\n id: z.number().int().describe(\"The unique user ID to retrieve\"),\n}).describe(\"Request parameters for getting a specific user by ID.\");\nexport const SimplekpiGetUserOutput = z.object({\n id: z.number().int().describe(\"Unique user identifier (auto-assigned)\").nullable(),\n email: z.string().describe(\"Valid email address used for login (max 150 chars)\").nullable(),\n password: z.string().describe(\"Always null in responses; write-only on creation\").nullable().optional(),\n last_name: z.string().describe(\"User's surname (max 50 chars)\").nullable().optional(),\n user_type: z.string().describe(\"User type: 'Admin', 'Director', 'Manager', or 'User'\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of user creation\").nullable().optional(),\n first_name: z.string().describe(\"User's given name (max 50 chars)\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n last_login_at: z.string().describe(\"UTC timestamp of most recent login\").nullable().optional(),\n user_status_id: z.string().describe(\"User status: 'A' (Active) or 'L' (Locked)\").nullable(),\n can_manage_users: z.boolean().describe(\"Allows Manager-type users to administer group members\").nullable(),\n can_admin_settings: z.boolean().describe(\"Grants Admin-type users Settings and Billing access\").nullable(),\n last_password_changed_at: z.string().describe(\"UTC timestamp of password modification\").nullable().optional(),\n}).passthrough().describe(\"Response schema for user information.\");\n\nexport const simplekpiGetUser: AppAction<\n typeof SimplekpiGetUserInput,\n typeof SimplekpiGetUserOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER\", {\n slug: \"simplekpi-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user by ID. Use when you need to get details about a particular user account.\",\n input: SimplekpiGetUserInput,\n output: SimplekpiGetUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,EAChE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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-user.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SimplekpiGetUserOutput: z.ZodObject<{
|
|
|
19
21
|
can_admin_settings: z.ZodNullable<z.ZodBoolean>;
|
|
20
22
|
last_password_changed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const simplekpiGetUser:
|
|
23
|
-
id: number;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const simplekpiGetUser: AppAction<typeof SimplekpiGetUserInput, typeof SimplekpiGetUserOutput, typeof simplekpi.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { simplekpiGetUser };
|
|
27
27
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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-user.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SimplekpiGetUserOutput: z.ZodObject<{
|
|
|
19
21
|
can_admin_settings: z.ZodNullable<z.ZodBoolean>;
|
|
20
22
|
last_password_changed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const simplekpiGetUser:
|
|
23
|
-
id: number;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const simplekpiGetUser: AppAction<typeof SimplekpiGetUserInput, typeof SimplekpiGetUserOutput, typeof simplekpi.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { simplekpiGetUser };
|
|
27
27
|
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAGrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiGetUserInput = z.object({\n id: z.number().int().describe(\"The unique user ID to retrieve\"),\n}).describe(\"Request parameters for getting a specific user by ID.\");\nexport const SimplekpiGetUserOutput = z.object({\n id: z.number().int().describe(\"Unique user identifier (auto-assigned)\").nullable(),\n email: z.string().describe(\"Valid email address used for login (max 150 chars)\").nullable(),\n password: z.string().describe(\"Always null in responses; write-only on creation\").nullable().optional(),\n last_name: z.string().describe(\"User's surname (max 50 chars)\").nullable().optional(),\n user_type: z.string().describe(\"User type: 'Admin', 'Director', 'Manager', or 'User'\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of user creation\").nullable().optional(),\n first_name: z.string().describe(\"User's given name (max 50 chars)\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n last_login_at: z.string().describe(\"UTC timestamp of most recent login\").nullable().optional(),\n user_status_id: z.string().describe(\"User status: 'A' (Active) or 'L' (Locked)\").nullable(),\n can_manage_users: z.boolean().describe(\"Allows Manager-type users to administer group members\").nullable(),\n can_admin_settings: z.boolean().describe(\"Grants Admin-type users Settings and Billing access\").nullable(),\n last_password_changed_at: z.string().describe(\"UTC timestamp of password modification\").nullable().optional(),\n}).passthrough().describe(\"Response schema for user information.\");\n\nexport const simplekpiGetUser = action(\"SIMPLEKPI_GET_USER\", {\n slug: \"simplekpi-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user by ID. Use when you need to get details about a particular user account.\",\n input: SimplekpiGetUserInput,\n output: SimplekpiGetUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-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 SimplekpiGetUserInput = z.object({\n id: z.number().int().describe(\"The unique user ID to retrieve\"),\n}).describe(\"Request parameters for getting a specific user by ID.\");\nexport const SimplekpiGetUserOutput = z.object({\n id: z.number().int().describe(\"Unique user identifier (auto-assigned)\").nullable(),\n email: z.string().describe(\"Valid email address used for login (max 150 chars)\").nullable(),\n password: z.string().describe(\"Always null in responses; write-only on creation\").nullable().optional(),\n last_name: z.string().describe(\"User's surname (max 50 chars)\").nullable().optional(),\n user_type: z.string().describe(\"User type: 'Admin', 'Director', 'Manager', or 'User'\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of user creation\").nullable().optional(),\n first_name: z.string().describe(\"User's given name (max 50 chars)\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of last modification\").nullable().optional(),\n last_login_at: z.string().describe(\"UTC timestamp of most recent login\").nullable().optional(),\n user_status_id: z.string().describe(\"User status: 'A' (Active) or 'L' (Locked)\").nullable(),\n can_manage_users: z.boolean().describe(\"Allows Manager-type users to administer group members\").nullable(),\n can_admin_settings: z.boolean().describe(\"Grants Admin-type users Settings and Billing access\").nullable(),\n last_password_changed_at: z.string().describe(\"UTC timestamp of password modification\").nullable().optional(),\n}).passthrough().describe(\"Response schema for user information.\");\n\nexport const simplekpiGetUser: AppAction<\n typeof SimplekpiGetUserInput,\n typeof SimplekpiGetUserOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_GET_USER\", {\n slug: \"simplekpi-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user by ID. Use when you need to get details about a particular user account.\",\n input: SimplekpiGetUserInput,\n output: SimplekpiGetUserOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BmC,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,EAChE,CAAC,CAAC,CAAC,SAAS,uDAyBH;CACP,QAzBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACzG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-category-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-category-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListCategoryKpisInput = z.object({\n category_id: z.number().int().describe(\"The ID of the category to retrieve KPIs from\"),\n}).describe(\"Request model for listing KPIs within a specific category.\");\nconst SimplekpiListCategoryKpis_KPISchema = z.object({\n id: z.number().int().describe(\"Automatically generated KPI identifier\").nullable().optional(),\n name: z.string().describe(\"KPI name, maximum 100 characters\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active; active KPIs can have data entered\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the KPI was created (read-only)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering for the KPI\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the KPI was last updated (read-only)\").nullable().optional(),\n category_id: z.number().int().describe(\"References the parent category\").nullable().optional(),\n description: z.string().describe(\"KPI description, maximum 150 characters\").nullable().optional(),\n frequency_id: z.string().describe(\"Frequency identifier, case sensitive and must be uppercase\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only indicator if this is a calculated KPI\").nullable().optional(),\n target_default: z.number().describe(\"Optional default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Value direction: U (Up), D (Down), or N (None)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Aggregation function: AVG (Average) or SUM (Total Sum)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single KPI within a category.\");\nexport const SimplekpiListCategoryKpisOutput = z.object({\n kpis: z.array(SimplekpiListCategoryKpis_KPISchema).describe(\"Array of KPI objects within the specified category\"),\n}).passthrough().describe(\"Response model containing all KPIs within a specific category.\");\n\nexport const simplekpiListCategoryKpis = action(\"SIMPLEKPI_LIST_CATEGORY_KPIS\", {\n slug: \"simplekpi-list-category-kpis\",\n name: \"List Category KPIs\",\n description: \"Tool to retrieve all KPIs within a specific category. Use when you need to list or inspect KPIs belonging to a particular category.\",\n input: SimplekpiListCategoryKpisInput,\n output: SimplekpiListCategoryKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-category-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-category-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListCategoryKpisInput = z.object({\n category_id: z.number().int().describe(\"The ID of the category to retrieve KPIs from\"),\n}).describe(\"Request model for listing KPIs within a specific category.\");\nconst SimplekpiListCategoryKpis_KPISchema = z.object({\n id: z.number().int().describe(\"Automatically generated KPI identifier\").nullable().optional(),\n name: z.string().describe(\"KPI name, maximum 100 characters\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active; active KPIs can have data entered\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the KPI was created (read-only)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering for the KPI\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the KPI was last updated (read-only)\").nullable().optional(),\n category_id: z.number().int().describe(\"References the parent category\").nullable().optional(),\n description: z.string().describe(\"KPI description, maximum 150 characters\").nullable().optional(),\n frequency_id: z.string().describe(\"Frequency identifier, case sensitive and must be uppercase\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only indicator if this is a calculated KPI\").nullable().optional(),\n target_default: z.number().describe(\"Optional default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Value direction: U (Up), D (Down), or N (None)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Aggregation function: AVG (Average) or SUM (Total Sum)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single KPI within a category.\");\nexport const SimplekpiListCategoryKpisOutput = z.object({\n kpis: z.array(SimplekpiListCategoryKpis_KPISchema).describe(\"Array of KPI objects within the specified category\"),\n}).passthrough().describe(\"Response model containing all KPIs within a specific category.\");\n\nexport const simplekpiListCategoryKpis: AppAction<\n typeof SimplekpiListCategoryKpisInput,\n typeof SimplekpiListCategoryKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_CATEGORY_KPIS\", {\n slug: \"simplekpi-list-category-kpis\",\n name: \"List Category KPIs\",\n description: \"Tool to retrieve all KPIs within a specific category. Use when you need to list or inspect KPIs belonging to a particular category.\",\n input: SimplekpiListCategoryKpisInput,\n output: SimplekpiListCategoryKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACvF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-category-kpis.d.ts
|
|
@@ -23,9 +25,7 @@ declare const SimplekpiListCategoryKpisOutput: z.ZodObject<{
|
|
|
23
25
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const simplekpiListCategoryKpis:
|
|
27
|
-
category_id: number;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const simplekpiListCategoryKpis: AppAction<typeof SimplekpiListCategoryKpisInput, typeof SimplekpiListCategoryKpisOutput, typeof simplekpi.credential>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { simplekpiListCategoryKpis };
|
|
31
31
|
//# sourceMappingURL=list-category-kpis.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-category-kpis.d.cts","names":[],"sources":["../../src/actions/list-category-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-category-kpis.d.cts","names":[],"sources":["../../src/actions/list-category-kpis.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-category-kpis.d.ts
|
|
@@ -23,9 +25,7 @@ declare const SimplekpiListCategoryKpisOutput: z.ZodObject<{
|
|
|
23
25
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const simplekpiListCategoryKpis:
|
|
27
|
-
category_id: number;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const simplekpiListCategoryKpis: AppAction<typeof SimplekpiListCategoryKpisInput, typeof SimplekpiListCategoryKpisOutput, typeof simplekpi.credential>;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { simplekpiListCategoryKpis };
|
|
31
31
|
//# sourceMappingURL=list-category-kpis.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-category-kpis.d.mts","names":[],"sources":["../../src/actions/list-category-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-category-kpis.d.mts","names":[],"sources":["../../src/actions/list-category-kpis.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-category-kpis.mjs","names":[],"sources":["../../src/actions/list-category-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListCategoryKpisInput = z.object({\n category_id: z.number().int().describe(\"The ID of the category to retrieve KPIs from\"),\n}).describe(\"Request model for listing KPIs within a specific category.\");\nconst SimplekpiListCategoryKpis_KPISchema = z.object({\n id: z.number().int().describe(\"Automatically generated KPI identifier\").nullable().optional(),\n name: z.string().describe(\"KPI name, maximum 100 characters\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active; active KPIs can have data entered\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the KPI was created (read-only)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering for the KPI\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the KPI was last updated (read-only)\").nullable().optional(),\n category_id: z.number().int().describe(\"References the parent category\").nullable().optional(),\n description: z.string().describe(\"KPI description, maximum 150 characters\").nullable().optional(),\n frequency_id: z.string().describe(\"Frequency identifier, case sensitive and must be uppercase\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only indicator if this is a calculated KPI\").nullable().optional(),\n target_default: z.number().describe(\"Optional default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Value direction: U (Up), D (Down), or N (None)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Aggregation function: AVG (Average) or SUM (Total Sum)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single KPI within a category.\");\nexport const SimplekpiListCategoryKpisOutput = z.object({\n kpis: z.array(SimplekpiListCategoryKpis_KPISchema).describe(\"Array of KPI objects within the specified category\"),\n}).passthrough().describe(\"Response model containing all KPIs within a specific category.\");\n\nexport const simplekpiListCategoryKpis = action(\"SIMPLEKPI_LIST_CATEGORY_KPIS\", {\n slug: \"simplekpi-list-category-kpis\",\n name: \"List Category KPIs\",\n description: \"Tool to retrieve all KPIs within a specific category. Use when you need to list or inspect KPIs belonging to a particular category.\",\n input: SimplekpiListCategoryKpisInput,\n output: SimplekpiListCategoryKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-category-kpis.mjs","names":[],"sources":["../../src/actions/list-category-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListCategoryKpisInput = z.object({\n category_id: z.number().int().describe(\"The ID of the category to retrieve KPIs from\"),\n}).describe(\"Request model for listing KPIs within a specific category.\");\nconst SimplekpiListCategoryKpis_KPISchema = z.object({\n id: z.number().int().describe(\"Automatically generated KPI identifier\").nullable().optional(),\n name: z.string().describe(\"KPI name, maximum 100 characters\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active; active KPIs can have data entered\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the KPI was created (read-only)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering for the KPI\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the KPI was last updated (read-only)\").nullable().optional(),\n category_id: z.number().int().describe(\"References the parent category\").nullable().optional(),\n description: z.string().describe(\"KPI description, maximum 150 characters\").nullable().optional(),\n frequency_id: z.string().describe(\"Frequency identifier, case sensitive and must be uppercase\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Read-only indicator if this is a calculated KPI\").nullable().optional(),\n target_default: z.number().describe(\"Optional default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Value direction: U (Up), D (Down), or N (None)\").nullable().optional(),\n aggregate_function: z.string().describe(\"Aggregation function: AVG (Average) or SUM (Total Sum)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single KPI within a category.\");\nexport const SimplekpiListCategoryKpisOutput = z.object({\n kpis: z.array(SimplekpiListCategoryKpis_KPISchema).describe(\"Array of KPI objects within the specified category\"),\n}).passthrough().describe(\"Response model containing all KPIs within a specific category.\");\n\nexport const simplekpiListCategoryKpis: AppAction<\n typeof SimplekpiListCategoryKpisInput,\n typeof SimplekpiListCategoryKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_CATEGORY_KPIS\", {\n slug: \"simplekpi-list-category-kpis\",\n name: \"List Category KPIs\",\n description: \"Tool to retrieve all KPIs within a specific category. Use when you need to list or inspect KPIs belonging to a particular category.\",\n input: SimplekpiListCategoryKpisInput,\n output: SimplekpiListCategoryKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACvF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListGroupItemsInput = z.object({\n group_id: z.number().int().describe(\"The identifier of the group containing the items\"),\n}).describe(\"Request model for listing all items within a group.\");\nconst SimplekpiListGroupItems_GroupItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group item (read-only)\").nullable().optional(),\n name: z.string().describe(\"Name of the group item (max 100 characters)\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the item was created (UTC datetime)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Sort order of the item within the group\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the item was last updated (UTC datetime)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single group item.\");\nexport const SimplekpiListGroupItemsOutput = z.object({\n items: z.array(SimplekpiListGroupItems_GroupItemSchema).describe(\"List of items within the group\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of group items.\");\n\nexport const simplekpiListGroupItems = action(\"SIMPLEKPI_LIST_GROUP_ITEMS\", {\n slug: \"simplekpi-list-group-items\",\n name: \"List Group Items\",\n description: \"Tool to get all items within a group. Use when you need to retrieve the complete list of items belonging to a specific group.\",\n input: SimplekpiListGroupItemsInput,\n output: SimplekpiListGroupItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-group-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListGroupItemsInput = z.object({\n group_id: z.number().int().describe(\"The identifier of the group containing the items\"),\n}).describe(\"Request model for listing all items within a group.\");\nconst SimplekpiListGroupItems_GroupItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group item (read-only)\").nullable().optional(),\n name: z.string().describe(\"Name of the group item (max 100 characters)\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the item was created (UTC datetime)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Sort order of the item within the group\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the item was last updated (UTC datetime)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single group item.\");\nexport const SimplekpiListGroupItemsOutput = z.object({\n items: z.array(SimplekpiListGroupItems_GroupItemSchema).describe(\"List of items within the group\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of group items.\");\n\nexport const simplekpiListGroupItems: AppAction<\n typeof SimplekpiListGroupItemsInput,\n typeof SimplekpiListGroupItemsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_GROUP_ITEMS\", {\n slug: \"simplekpi-list-group-items\",\n name: \"List Group Items\",\n description: \"Tool to get all items within a group. Use when you need to retrieve the complete list of items belonging to a specific group.\",\n input: SimplekpiListGroupItemsInput,\n output: SimplekpiListGroupItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EACxF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,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/list-group-items.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SimplekpiListGroupItemsOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListGroupItems:
|
|
18
|
-
group_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const simplekpiListGroupItems: AppAction<typeof SimplekpiListGroupItemsInput, typeof SimplekpiListGroupItemsOutput, typeof simplekpi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListGroupItems };
|
|
22
22
|
//# sourceMappingURL=list-group-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-items.d.cts","names":[],"sources":["../../src/actions/list-group-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-items.d.cts","names":[],"sources":["../../src/actions/list-group-items.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,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/list-group-items.d.ts
|
|
@@ -14,9 +16,7 @@ declare const SimplekpiListGroupItemsOutput: z.ZodObject<{
|
|
|
14
16
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListGroupItems:
|
|
18
|
-
group_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const simplekpiListGroupItems: AppAction<typeof SimplekpiListGroupItemsInput, typeof SimplekpiListGroupItemsOutput, typeof simplekpi.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiListGroupItems };
|
|
22
22
|
//# sourceMappingURL=list-group-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-items.d.mts","names":[],"sources":["../../src/actions/list-group-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-items.d.mts","names":[],"sources":["../../src/actions/list-group-items.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-items.mjs","names":[],"sources":["../../src/actions/list-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListGroupItemsInput = z.object({\n group_id: z.number().int().describe(\"The identifier of the group containing the items\"),\n}).describe(\"Request model for listing all items within a group.\");\nconst SimplekpiListGroupItems_GroupItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group item (read-only)\").nullable().optional(),\n name: z.string().describe(\"Name of the group item (max 100 characters)\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the item was created (UTC datetime)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Sort order of the item within the group\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the item was last updated (UTC datetime)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single group item.\");\nexport const SimplekpiListGroupItemsOutput = z.object({\n items: z.array(SimplekpiListGroupItems_GroupItemSchema).describe(\"List of items within the group\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of group items.\");\n\nexport const simplekpiListGroupItems = action(\"SIMPLEKPI_LIST_GROUP_ITEMS\", {\n slug: \"simplekpi-list-group-items\",\n name: \"List Group Items\",\n description: \"Tool to get all items within a group. Use when you need to retrieve the complete list of items belonging to a specific group.\",\n input: SimplekpiListGroupItemsInput,\n output: SimplekpiListGroupItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-items.mjs","names":[],"sources":["../../src/actions/list-group-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListGroupItemsInput = z.object({\n group_id: z.number().int().describe(\"The identifier of the group containing the items\"),\n}).describe(\"Request model for listing all items within a group.\");\nconst SimplekpiListGroupItems_GroupItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the group item (read-only)\").nullable().optional(),\n name: z.string().describe(\"Name of the group item (max 100 characters)\").nullable().optional(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the item was created (UTC datetime)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Sort order of the item within the group\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the item was last updated (UTC datetime)\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single group item.\");\nexport const SimplekpiListGroupItemsOutput = z.object({\n items: z.array(SimplekpiListGroupItems_GroupItemSchema).describe(\"List of items within the group\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of group items.\");\n\nexport const simplekpiListGroupItems: AppAction<\n typeof SimplekpiListGroupItemsInput,\n typeof SimplekpiListGroupItemsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_GROUP_ITEMS\", {\n slug: \"simplekpi-list-group-items\",\n name: \"List Group Items\",\n description: \"Tool to get all items within a group. Use when you need to retrieve the complete list of items belonging to a specific group.\",\n input: SimplekpiListGroupItemsInput,\n output: SimplekpiListGroupItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EACxF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListGroupsInput = z.object({}).describe(\"Request model for listing SimpleKPI groups.\");\nconst SimplekpiListGroups_GroupItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n created_at: z.string().describe(\"Timestamp when the group was created\").nullable(),\n sort_order: z.number().int().describe(\"Sort order for displaying groups\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the group was last updated\").nullable(),\n}).passthrough().describe(\"Group object representing a grouping of users and data.\");\nexport const SimplekpiListGroupsOutput = z.object({\n groups: z.array(SimplekpiListGroups_GroupItemSchema).describe(\"List of all groups in the organization\"),\n}).passthrough().describe(\"Response model for listing SimpleKPI groups.\");\n\nexport const simplekpiListGroups = action(\"SIMPLEKPI_LIST_GROUPS\", {\n slug: \"simplekpi-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups from SimpleKPI. Use when you need to list groups for organizing users and company hierarchy.\",\n input: SimplekpiListGroupsInput,\n output: SimplekpiListGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.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 SimplekpiListGroupsInput = z.object({}).describe(\"Request model for listing SimpleKPI groups.\");\nconst SimplekpiListGroups_GroupItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n created_at: z.string().describe(\"Timestamp when the group was created\").nullable(),\n sort_order: z.number().int().describe(\"Sort order for displaying groups\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the group was last updated\").nullable(),\n}).passthrough().describe(\"Group object representing a grouping of users and data.\");\nexport const SimplekpiListGroupsOutput = z.object({\n groups: z.array(SimplekpiListGroups_GroupItemSchema).describe(\"List of all groups in the organization\"),\n}).passthrough().describe(\"Response model for listing SimpleKPI groups.\");\n\nexport const simplekpiListGroups: AppAction<\n typeof SimplekpiListGroupsInput,\n typeof SimplekpiListGroupsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_GROUPS\", {\n slug: \"simplekpi-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups from SimpleKPI. Use when you need to list groups for organizing users and company hierarchy.\",\n input: SimplekpiListGroupsInput,\n output: SimplekpiListGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAC3G,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,QAAQA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wCAAwC,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,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/list-groups.d.ts
|
|
@@ -11,7 +13,7 @@ declare const SimplekpiListGroupsOutput: z.ZodObject<{
|
|
|
11
13
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const simplekpiListGroups:
|
|
16
|
+
declare const simplekpiListGroups: AppAction<typeof SimplekpiListGroupsInput, typeof SimplekpiListGroupsOutput, typeof simplekpi.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { simplekpiListGroups };
|
|
17
19
|
//# sourceMappingURL=list-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAIzB,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/list-groups.d.ts
|
|
@@ -11,7 +13,7 @@ declare const SimplekpiListGroupsOutput: z.ZodObject<{
|
|
|
11
13
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const simplekpiListGroups:
|
|
16
|
+
declare const simplekpiListGroups: AppAction<typeof SimplekpiListGroupsInput, typeof SimplekpiListGroupsOutput, typeof simplekpi.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { simplekpiListGroups };
|
|
17
19
|
//# sourceMappingURL=list-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|