@keystrokehq/simplekpi 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-user-group-item.cjs +1 -0
- package/dist/actions/add-user-group-item.cjs.map +1 -1
- package/dist/actions/add-user-group-item.d.cts +3 -24
- package/dist/actions/add-user-group-item.d.cts.map +1 -1
- package/dist/actions/add-user-group-item.d.mts +3 -24
- package/dist/actions/add-user-group-item.d.mts.map +1 -1
- package/dist/actions/add-user-group-item.mjs +1 -0
- package/dist/actions/add-user-group-item.mjs.map +1 -1
- package/dist/actions/add-user-kpi.cjs +1 -0
- package/dist/actions/add-user-kpi.cjs.map +1 -1
- package/dist/actions/add-user-kpi.d.cts +3 -26
- package/dist/actions/add-user-kpi.d.cts.map +1 -1
- package/dist/actions/add-user-kpi.d.mts +3 -26
- package/dist/actions/add-user-kpi.d.mts.map +1 -1
- package/dist/actions/add-user-kpi.mjs +1 -0
- package/dist/actions/add-user-kpi.mjs.map +1 -1
- package/dist/actions/create-category-kpi.cjs +1 -0
- package/dist/actions/create-category-kpi.cjs.map +1 -1
- package/dist/actions/create-category-kpi.d.cts +3 -31
- package/dist/actions/create-category-kpi.d.cts.map +1 -1
- package/dist/actions/create-category-kpi.d.mts +3 -31
- package/dist/actions/create-category-kpi.d.mts.map +1 -1
- package/dist/actions/create-category-kpi.mjs +1 -0
- package/dist/actions/create-category-kpi.mjs.map +1 -1
- package/dist/actions/create-group-item.cjs +1 -0
- package/dist/actions/create-group-item.cjs.map +1 -1
- package/dist/actions/create-group-item.d.cts +3 -25
- package/dist/actions/create-group-item.d.cts.map +1 -1
- package/dist/actions/create-group-item.d.mts +3 -25
- package/dist/actions/create-group-item.d.mts.map +1 -1
- package/dist/actions/create-group-item.mjs +1 -0
- package/dist/actions/create-group-item.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -24
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -24
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-kpi-category.cjs +1 -0
- package/dist/actions/create-kpi-category.cjs.map +1 -1
- package/dist/actions/create-kpi-category.d.cts +3 -24
- package/dist/actions/create-kpi-category.d.cts.map +1 -1
- package/dist/actions/create-kpi-category.d.mts +3 -24
- package/dist/actions/create-kpi-category.d.mts.map +1 -1
- package/dist/actions/create-kpi-category.mjs +1 -0
- package/dist/actions/create-kpi-category.mjs.map +1 -1
- package/dist/actions/create-kpi-unit.cjs +1 -0
- package/dist/actions/create-kpi-unit.cjs.map +1 -1
- package/dist/actions/create-kpi-unit.d.cts +3 -26
- package/dist/actions/create-kpi-unit.d.cts.map +1 -1
- package/dist/actions/create-kpi-unit.d.mts +3 -26
- package/dist/actions/create-kpi-unit.d.mts.map +1 -1
- package/dist/actions/create-kpi-unit.mjs +1 -0
- package/dist/actions/create-kpi-unit.mjs.map +1 -1
- package/dist/actions/create-kpi.cjs +1 -0
- package/dist/actions/create-kpi.cjs.map +1 -1
- package/dist/actions/create-kpi.d.cts +3 -31
- package/dist/actions/create-kpi.d.cts.map +1 -1
- package/dist/actions/create-kpi.d.mts +3 -31
- package/dist/actions/create-kpi.d.mts.map +1 -1
- package/dist/actions/create-kpi.mjs +1 -0
- package/dist/actions/create-kpi.mjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.cjs +1 -0
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.cts +3 -39
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.mts +3 -39
- package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.mjs +1 -0
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -30
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -30
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-category-kpi.cjs +1 -0
- package/dist/actions/delete-category-kpi.cjs.map +1 -1
- package/dist/actions/delete-category-kpi.d.cts +3 -24
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +3 -24
- package/dist/actions/delete-category-kpi.d.mts.map +1 -1
- package/dist/actions/delete-category-kpi.mjs +1 -0
- package/dist/actions/delete-category-kpi.mjs.map +1 -1
- package/dist/actions/delete-group-item.cjs +1 -0
- package/dist/actions/delete-group-item.cjs.map +1 -1
- package/dist/actions/delete-group-item.d.cts +3 -24
- package/dist/actions/delete-group-item.d.cts.map +1 -1
- package/dist/actions/delete-group-item.d.mts +3 -24
- package/dist/actions/delete-group-item.d.mts.map +1 -1
- package/dist/actions/delete-group-item.mjs +1 -0
- package/dist/actions/delete-group-item.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -23
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -23
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-kpi-category.cjs +1 -0
- package/dist/actions/delete-kpi-category.cjs.map +1 -1
- package/dist/actions/delete-kpi-category.d.cts +3 -23
- package/dist/actions/delete-kpi-category.d.cts.map +1 -1
- package/dist/actions/delete-kpi-category.d.mts +3 -23
- package/dist/actions/delete-kpi-category.d.mts.map +1 -1
- package/dist/actions/delete-kpi-category.mjs +1 -0
- package/dist/actions/delete-kpi-category.mjs.map +1 -1
- package/dist/actions/delete-kpi-entry.cjs +1 -0
- package/dist/actions/delete-kpi-entry.cjs.map +1 -1
- package/dist/actions/delete-kpi-entry.d.cts +3 -23
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +3 -23
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
- package/dist/actions/delete-kpi-entry.mjs +1 -0
- package/dist/actions/delete-kpi-entry.mjs.map +1 -1
- package/dist/actions/delete-kpi-unit.cjs +1 -0
- package/dist/actions/delete-kpi-unit.cjs.map +1 -1
- package/dist/actions/delete-kpi-unit.d.cts +3 -23
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +3 -23
- package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
- package/dist/actions/delete-kpi-unit.mjs +1 -0
- package/dist/actions/delete-kpi-unit.mjs.map +1 -1
- package/dist/actions/delete-kpi.cjs +1 -0
- package/dist/actions/delete-kpi.cjs.map +1 -1
- package/dist/actions/delete-kpi.d.cts +3 -23
- package/dist/actions/delete-kpi.d.cts.map +1 -1
- package/dist/actions/delete-kpi.d.mts +3 -23
- package/dist/actions/delete-kpi.d.mts.map +1 -1
- package/dist/actions/delete-kpi.mjs +1 -0
- package/dist/actions/delete-kpi.mjs.map +1 -1
- package/dist/actions/delete-user-group-item.cjs +1 -0
- package/dist/actions/delete-user-group-item.cjs.map +1 -1
- package/dist/actions/delete-user-group-item.d.cts +3 -24
- package/dist/actions/delete-user-group-item.d.cts.map +1 -1
- package/dist/actions/delete-user-group-item.d.mts +3 -24
- package/dist/actions/delete-user-group-item.d.mts.map +1 -1
- package/dist/actions/delete-user-group-item.mjs +1 -0
- package/dist/actions/delete-user-group-item.mjs.map +1 -1
- package/dist/actions/delete-user-kpi.cjs +1 -0
- package/dist/actions/delete-user-kpi.cjs.map +1 -1
- package/dist/actions/delete-user-kpi.d.cts +3 -24
- package/dist/actions/delete-user-kpi.d.cts.map +1 -1
- package/dist/actions/delete-user-kpi.d.mts +3 -24
- package/dist/actions/delete-user-kpi.d.mts.map +1 -1
- package/dist/actions/delete-user-kpi.mjs +1 -0
- package/dist/actions/delete-user-kpi.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -23
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -23
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-all-data-entries.cjs +1 -0
- package/dist/actions/get-all-data-entries.cjs.map +1 -1
- package/dist/actions/get-all-data-entries.d.cts +3 -27
- package/dist/actions/get-all-data-entries.d.cts.map +1 -1
- package/dist/actions/get-all-data-entries.d.mts +3 -27
- package/dist/actions/get-all-data-entries.d.mts.map +1 -1
- package/dist/actions/get-all-data-entries.mjs +1 -0
- package/dist/actions/get-all-data-entries.mjs.map +1 -1
- package/dist/actions/get-category-kpi.cjs +1 -0
- package/dist/actions/get-category-kpi.cjs.map +1 -1
- package/dist/actions/get-category-kpi.d.cts +3 -24
- package/dist/actions/get-category-kpi.d.cts.map +1 -1
- package/dist/actions/get-category-kpi.d.mts +3 -24
- package/dist/actions/get-category-kpi.d.mts.map +1 -1
- package/dist/actions/get-category-kpi.mjs +1 -0
- package/dist/actions/get-category-kpi.mjs.map +1 -1
- package/dist/actions/get-group-item.cjs +1 -0
- package/dist/actions/get-group-item.cjs.map +1 -1
- package/dist/actions/get-group-item.d.cts +3 -24
- package/dist/actions/get-group-item.d.cts.map +1 -1
- package/dist/actions/get-group-item.d.mts +3 -24
- package/dist/actions/get-group-item.d.mts.map +1 -1
- package/dist/actions/get-group-item.mjs +1 -0
- package/dist/actions/get-group-item.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -0
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +3 -23
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +3 -23
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +1 -0
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-kpi-category.cjs +1 -0
- package/dist/actions/get-kpi-category.cjs.map +1 -1
- package/dist/actions/get-kpi-category.d.cts +3 -23
- package/dist/actions/get-kpi-category.d.cts.map +1 -1
- package/dist/actions/get-kpi-category.d.mts +3 -23
- package/dist/actions/get-kpi-category.d.mts.map +1 -1
- package/dist/actions/get-kpi-category.mjs +1 -0
- package/dist/actions/get-kpi-category.mjs.map +1 -1
- package/dist/actions/get-kpi-entry.cjs +1 -0
- package/dist/actions/get-kpi-entry.cjs.map +1 -1
- package/dist/actions/get-kpi-entry.d.cts +3 -23
- package/dist/actions/get-kpi-entry.d.cts.map +1 -1
- package/dist/actions/get-kpi-entry.d.mts +3 -23
- package/dist/actions/get-kpi-entry.d.mts.map +1 -1
- package/dist/actions/get-kpi-entry.mjs +1 -0
- package/dist/actions/get-kpi-entry.mjs.map +1 -1
- package/dist/actions/get-kpi-frequency.cjs +1 -0
- package/dist/actions/get-kpi-frequency.cjs.map +1 -1
- package/dist/actions/get-kpi-frequency.d.cts +3 -23
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +3 -23
- package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
- package/dist/actions/get-kpi-frequency.mjs +1 -0
- package/dist/actions/get-kpi-frequency.mjs.map +1 -1
- package/dist/actions/get-kpi-icon.cjs +1 -0
- package/dist/actions/get-kpi-icon.cjs.map +1 -1
- package/dist/actions/get-kpi-icon.d.cts +3 -23
- package/dist/actions/get-kpi-icon.d.cts.map +1 -1
- package/dist/actions/get-kpi-icon.d.mts +3 -23
- package/dist/actions/get-kpi-icon.d.mts.map +1 -1
- package/dist/actions/get-kpi-icon.mjs +1 -0
- package/dist/actions/get-kpi-icon.mjs.map +1 -1
- package/dist/actions/get-kpi-unit.cjs +1 -0
- package/dist/actions/get-kpi-unit.cjs.map +1 -1
- package/dist/actions/get-kpi-unit.d.cts +3 -23
- package/dist/actions/get-kpi-unit.d.cts.map +1 -1
- package/dist/actions/get-kpi-unit.d.mts +3 -23
- package/dist/actions/get-kpi-unit.d.mts.map +1 -1
- package/dist/actions/get-kpi-unit.mjs +1 -0
- package/dist/actions/get-kpi-unit.mjs.map +1 -1
- package/dist/actions/get-kpi.cjs +1 -0
- package/dist/actions/get-kpi.cjs.map +1 -1
- package/dist/actions/get-kpi.d.cts +3 -23
- package/dist/actions/get-kpi.d.cts.map +1 -1
- package/dist/actions/get-kpi.d.mts +3 -23
- package/dist/actions/get-kpi.d.mts.map +1 -1
- package/dist/actions/get-kpi.mjs +1 -0
- package/dist/actions/get-kpi.mjs.map +1 -1
- package/dist/actions/get-user-group-item.cjs +1 -0
- package/dist/actions/get-user-group-item.cjs.map +1 -1
- package/dist/actions/get-user-group-item.d.cts +3 -24
- package/dist/actions/get-user-group-item.d.cts.map +1 -1
- package/dist/actions/get-user-group-item.d.mts +3 -24
- package/dist/actions/get-user-group-item.d.mts.map +1 -1
- package/dist/actions/get-user-group-item.mjs +1 -0
- package/dist/actions/get-user-group-item.mjs.map +1 -1
- package/dist/actions/get-user-kpi.cjs +1 -0
- package/dist/actions/get-user-kpi.cjs.map +1 -1
- package/dist/actions/get-user-kpi.d.cts +3 -24
- package/dist/actions/get-user-kpi.d.cts.map +1 -1
- package/dist/actions/get-user-kpi.d.mts +3 -24
- package/dist/actions/get-user-kpi.d.mts.map +1 -1
- package/dist/actions/get-user-kpi.mjs +1 -0
- package/dist/actions/get-user-kpi.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -23
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -23
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-category-kpis.cjs +1 -0
- package/dist/actions/list-category-kpis.cjs.map +1 -1
- package/dist/actions/list-category-kpis.d.cts +3 -23
- package/dist/actions/list-category-kpis.d.cts.map +1 -1
- package/dist/actions/list-category-kpis.d.mts +3 -23
- package/dist/actions/list-category-kpis.d.mts.map +1 -1
- package/dist/actions/list-category-kpis.mjs +1 -0
- package/dist/actions/list-category-kpis.mjs.map +1 -1
- package/dist/actions/list-group-items.cjs +1 -0
- package/dist/actions/list-group-items.cjs.map +1 -1
- package/dist/actions/list-group-items.d.cts +3 -23
- package/dist/actions/list-group-items.d.cts.map +1 -1
- package/dist/actions/list-group-items.d.mts +3 -23
- package/dist/actions/list-group-items.d.mts.map +1 -1
- package/dist/actions/list-group-items.mjs +1 -0
- package/dist/actions/list-group-items.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -21
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -21
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-kpi-categories.cjs +1 -0
- package/dist/actions/list-kpi-categories.cjs.map +1 -1
- package/dist/actions/list-kpi-categories.d.cts +3 -21
- package/dist/actions/list-kpi-categories.d.cts.map +1 -1
- package/dist/actions/list-kpi-categories.d.mts +3 -21
- package/dist/actions/list-kpi-categories.d.mts.map +1 -1
- package/dist/actions/list-kpi-categories.mjs +1 -0
- package/dist/actions/list-kpi-categories.mjs.map +1 -1
- package/dist/actions/list-kpi-entries.cjs +1 -0
- package/dist/actions/list-kpi-entries.cjs.map +1 -1
- package/dist/actions/list-kpi-entries.d.cts +3 -28
- package/dist/actions/list-kpi-entries.d.cts.map +1 -1
- package/dist/actions/list-kpi-entries.d.mts +3 -28
- package/dist/actions/list-kpi-entries.d.mts.map +1 -1
- package/dist/actions/list-kpi-entries.mjs +1 -0
- package/dist/actions/list-kpi-entries.mjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.cjs +1 -0
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.cts +3 -21
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.mts +3 -21
- package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
- package/dist/actions/list-kpi-frequencies.mjs +1 -0
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
- package/dist/actions/list-kpi-icons.cjs +1 -0
- package/dist/actions/list-kpi-icons.cjs.map +1 -1
- package/dist/actions/list-kpi-icons.d.cts +3 -21
- package/dist/actions/list-kpi-icons.d.cts.map +1 -1
- package/dist/actions/list-kpi-icons.d.mts +3 -21
- package/dist/actions/list-kpi-icons.d.mts.map +1 -1
- package/dist/actions/list-kpi-icons.mjs +1 -0
- package/dist/actions/list-kpi-icons.mjs.map +1 -1
- package/dist/actions/list-kpi-units.cjs +1 -0
- package/dist/actions/list-kpi-units.cjs.map +1 -1
- package/dist/actions/list-kpi-units.d.cts +3 -21
- package/dist/actions/list-kpi-units.d.cts.map +1 -1
- package/dist/actions/list-kpi-units.d.mts +3 -21
- package/dist/actions/list-kpi-units.d.mts.map +1 -1
- package/dist/actions/list-kpi-units.mjs +1 -0
- package/dist/actions/list-kpi-units.mjs.map +1 -1
- package/dist/actions/list-kpis.cjs +1 -0
- package/dist/actions/list-kpis.cjs.map +1 -1
- package/dist/actions/list-kpis.d.cts +3 -21
- package/dist/actions/list-kpis.d.cts.map +1 -1
- package/dist/actions/list-kpis.d.mts +3 -21
- package/dist/actions/list-kpis.d.mts.map +1 -1
- package/dist/actions/list-kpis.mjs +1 -0
- package/dist/actions/list-kpis.mjs.map +1 -1
- package/dist/actions/list-user-group-items.cjs +1 -0
- package/dist/actions/list-user-group-items.cjs.map +1 -1
- package/dist/actions/list-user-group-items.d.cts +3 -23
- package/dist/actions/list-user-group-items.d.cts.map +1 -1
- package/dist/actions/list-user-group-items.d.mts +3 -23
- package/dist/actions/list-user-group-items.d.mts.map +1 -1
- package/dist/actions/list-user-group-items.mjs +1 -0
- package/dist/actions/list-user-group-items.mjs.map +1 -1
- package/dist/actions/list-user-kpis.cjs +1 -0
- package/dist/actions/list-user-kpis.cjs.map +1 -1
- package/dist/actions/list-user-kpis.d.cts +3 -23
- package/dist/actions/list-user-kpis.d.cts.map +1 -1
- package/dist/actions/list-user-kpis.d.mts +3 -23
- package/dist/actions/list-user-kpis.d.mts.map +1 -1
- package/dist/actions/list-user-kpis.mjs +1 -0
- package/dist/actions/list-user-kpis.mjs.map +1 -1
- package/dist/actions/update-category-kpi.cjs +1 -0
- package/dist/actions/update-category-kpi.cjs.map +1 -1
- package/dist/actions/update-category-kpi.d.cts +3 -34
- package/dist/actions/update-category-kpi.d.cts.map +1 -1
- package/dist/actions/update-category-kpi.d.mts +3 -34
- package/dist/actions/update-category-kpi.d.mts.map +1 -1
- package/dist/actions/update-category-kpi.mjs +1 -0
- package/dist/actions/update-category-kpi.mjs.map +1 -1
- package/dist/actions/update-group-item.cjs +1 -0
- package/dist/actions/update-group-item.cjs.map +1 -1
- package/dist/actions/update-group-item.d.cts +3 -26
- package/dist/actions/update-group-item.d.cts.map +1 -1
- package/dist/actions/update-group-item.d.mts +3 -26
- package/dist/actions/update-group-item.d.mts.map +1 -1
- package/dist/actions/update-group-item.mjs +1 -0
- package/dist/actions/update-group-item.mjs.map +1 -1
- package/dist/actions/update-group.cjs +1 -0
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +3 -25
- package/dist/actions/update-group.d.cts.map +1 -1
- package/dist/actions/update-group.d.mts +3 -25
- package/dist/actions/update-group.d.mts.map +1 -1
- package/dist/actions/update-group.mjs +1 -0
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-kpi-entry.cjs +1 -0
- package/dist/actions/update-kpi-entry.cjs.map +1 -1
- package/dist/actions/update-kpi-entry.d.cts +3 -29
- package/dist/actions/update-kpi-entry.d.cts.map +1 -1
- package/dist/actions/update-kpi-entry.d.mts +3 -29
- package/dist/actions/update-kpi-entry.d.mts.map +1 -1
- package/dist/actions/update-kpi-entry.mjs +1 -0
- package/dist/actions/update-kpi-entry.mjs.map +1 -1
- package/dist/actions/update-kpi-unit.cjs +1 -0
- package/dist/actions/update-kpi-unit.cjs.map +1 -1
- package/dist/actions/update-kpi-unit.d.cts +3 -27
- package/dist/actions/update-kpi-unit.d.cts.map +1 -1
- package/dist/actions/update-kpi-unit.d.mts +3 -27
- package/dist/actions/update-kpi-unit.d.mts.map +1 -1
- package/dist/actions/update-kpi-unit.mjs +1 -0
- package/dist/actions/update-kpi-unit.mjs.map +1 -1
- package/dist/actions/update-kpi.cjs +1 -0
- package/dist/actions/update-kpi.cjs.map +1 -1
- package/dist/actions/update-kpi.d.cts +3 -34
- package/dist/actions/update-kpi.d.cts.map +1 -1
- package/dist/actions/update-kpi.d.mts +3 -34
- package/dist/actions/update-kpi.d.mts.map +1 -1
- package/dist/actions/update-kpi.mjs +1 -0
- package/dist/actions/update-kpi.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -30
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -30
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/app.cjs +8 -7
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-units.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-units.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpi-units.cjs","names":["z","action"],"sources":["../../src/actions/list-kpi-units.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 SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits: AppAction<\n typeof SimplekpiListKpiUnitsInput,\n typeof SimplekpiListKpiUnitsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-kpi-units.d.ts
|
|
@@ -13,27 +15,7 @@ declare const SimplekpiListKpiUnitsOutput: z.ZodObject<{
|
|
|
13
15
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiListKpiUnits:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
username: z.ZodString;
|
|
22
|
-
password: z.ZodString;
|
|
23
|
-
subdomain: z.ZodString;
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
generic_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
username: z.ZodString;
|
|
32
|
-
password: z.ZodString;
|
|
33
|
-
subdomain: z.ZodString;
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const simplekpiListKpiUnits: AppAction<typeof SimplekpiListKpiUnitsInput, typeof SimplekpiListKpiUnitsOutput, typeof simplekpi.credential>;
|
|
37
19
|
//#endregion
|
|
38
20
|
export { simplekpiListKpiUnits };
|
|
39
21
|
//# sourceMappingURL=list-kpi-units.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-units.d.cts","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpi-units.d.cts","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-kpi-units.d.ts
|
|
@@ -13,27 +15,7 @@ declare const SimplekpiListKpiUnitsOutput: z.ZodObject<{
|
|
|
13
15
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const simplekpiListKpiUnits:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
username: z.ZodString;
|
|
22
|
-
password: z.ZodString;
|
|
23
|
-
subdomain: z.ZodString;
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
generic_id: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
username: z.ZodString;
|
|
32
|
-
password: z.ZodString;
|
|
33
|
-
subdomain: z.ZodString;
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const simplekpiListKpiUnits: AppAction<typeof SimplekpiListKpiUnitsInput, typeof SimplekpiListKpiUnitsOutput, typeof simplekpi.credential>;
|
|
37
19
|
//#endregion
|
|
38
20
|
export { simplekpiListKpiUnits };
|
|
39
21
|
//# sourceMappingURL=list-kpi-units.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-units.d.mts","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpi-units.d.mts","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpi-units.mjs","names":[],"sources":["../../src/actions/list-kpi-units.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpi-units.mjs","names":[],"sources":["../../src/actions/list-kpi-units.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 SimplekpiListKpiUnitsInput = z.object({}).describe(\"Request model for listing KPI units. No parameters required.\");\nconst SimplekpiListKpiUnits_KpiUnitSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI unit.\").nullable().optional(),\n name: z.string().describe(\"Unit name identifier (max 25 characters).\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the unit was initially created.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification.\").nullable().optional(),\n entry_format: z.string().describe(\"Format specification for data entry, containing only '0', '#', or '.' characters (max 25 characters).\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Indicates whether the value represents a percentage.\").nullable().optional(),\n display_format: z.string().describe(\"Number format defining how values appear to users (max 25 characters).\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI unit from SimpleKPI.\");\nexport const SimplekpiListKpiUnitsOutput = z.object({\n units: z.array(SimplekpiListKpiUnits_KpiUnitSchema).describe(\"List of all KPI unit objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPI units.\");\n\nexport const simplekpiListKpiUnits: AppAction<\n typeof SimplekpiListKpiUnitsInput,\n typeof SimplekpiListKpiUnitsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_KPI_UNITS\", {\n slug: \"simplekpi-list-kpi-units\",\n name: \"List All KPI Units\",\n description: \"Tool to retrieve all KPI units from a SimpleKPI account. Use when you need to list available units that describe how KPI values are displayed (currency, percentage, etc.).\",\n input: SimplekpiListKpiUnitsInput,\n output: SimplekpiListKpiUnitsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC9H,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAKhF,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis: AppAction<\n typeof SimplekpiListKpisInput,\n typeof SimplekpiListKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,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,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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-kpis.d.ts
|
|
@@ -21,27 +23,7 @@ declare const SimplekpiListKpisOutput: z.ZodObject<{
|
|
|
21
23
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const simplekpiListKpis:
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
username: z.ZodString;
|
|
40
|
-
password: z.ZodString;
|
|
41
|
-
subdomain: z.ZodString;
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
generic_id: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const simplekpiListKpis: AppAction<typeof SimplekpiListKpisInput, typeof SimplekpiListKpisOutput, typeof simplekpi.credential>;
|
|
45
27
|
//#endregion
|
|
46
28
|
export { simplekpiListKpis };
|
|
47
29
|
//# sourceMappingURL=list-kpis.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpis.d.cts","names":[],"sources":["../../src/actions/list-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpis.d.cts","names":[],"sources":["../../src/actions/list-kpis.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-kpis.d.ts
|
|
@@ -21,27 +23,7 @@ declare const SimplekpiListKpisOutput: z.ZodObject<{
|
|
|
21
23
|
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const simplekpiListKpis:
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
username: z.ZodString;
|
|
40
|
-
password: z.ZodString;
|
|
41
|
-
subdomain: z.ZodString;
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
generic_id: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const simplekpiListKpis: AppAction<typeof SimplekpiListKpisInput, typeof SimplekpiListKpisOutput, typeof simplekpi.credential>;
|
|
45
27
|
//#endregion
|
|
46
28
|
export { simplekpiListKpis };
|
|
47
29
|
//# sourceMappingURL=list-kpis.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpis.d.mts","names":[],"sources":["../../src/actions/list-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpis.d.mts","names":[],"sources":["../../src/actions/list-kpis.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-kpis.mjs","names":[],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-kpis.mjs","names":[],"sources":["../../src/actions/list-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListKpisInput = z.object({}).describe(\"Request model for listing all KPIs. No parameters required.\");\nconst SimplekpiListKpis_KpiSchema = z.object({\n id: z.number().int().describe(\"Auto-generated identifier for the KPI.\").nullable().optional(),\n name: z.string().describe(\"KPI designation or title (max 100 characters).\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon assignment identifier for visual representation.\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier for the KPI values.\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active and enables data entry capability.\").nullable().optional(),\n created_at: z.string().describe(\"UTC creation timestamp for the KPI.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display sequence number for ordering KPIs.\").nullable().optional(),\n updated_at: z.string().describe(\"UTC modification timestamp for the KPI.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category identifier for the KPI.\").nullable().optional(),\n description: z.string().describe(\"Optional KPI details or notes (max 150 characters).\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency (uppercase, case-sensitive, 1 character).\").nullable().optional(),\n is_calculated: z.boolean().describe(\"Indicates if the KPI is system-computed (read-only field).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value for the KPI. Can be null if unset.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator for KPI performance: 'U' (Up), 'D' (Down), or 'N' (None).\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method used for aggregation: 'AVG' or 'SUM'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single KPI from SimpleKPI.\");\nexport const SimplekpiListKpisOutput = z.object({\n kpis: z.array(SimplekpiListKpis_KpiSchema).describe(\"List of all KPI objects in the account.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of all KPIs.\");\n\nexport const simplekpiListKpis: AppAction<\n typeof SimplekpiListKpisInput,\n typeof SimplekpiListKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_KPIS\", {\n slug: \"simplekpi-list-kpis\",\n name: \"List All KPIs\",\n description: \"Tool to retrieve all KPIs from a SimpleKPI account. Use when you need to list all available KPIs with their configurations, targets, and metadata.\",\n input: SimplekpiListKpisInput,\n output: SimplekpiListKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).passthrough().describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).passthrough().describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.cjs","names":["z","action"],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).passthrough().describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).passthrough().describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems: AppAction<\n typeof SimplekpiListUserGroupItemsInput,\n typeof SimplekpiListUserGroupItemsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0CAA0C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-group-items.d.ts
|
|
@@ -14,29 +16,7 @@ declare const SimplekpiListUserGroupItemsOutput: z.ZodObject<{
|
|
|
14
16
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserGroupItems:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
username: z.ZodString;
|
|
25
|
-
password: z.ZodString;
|
|
26
|
-
subdomain: z.ZodString;
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
username: z.ZodString;
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
subdomain: z.ZodString;
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const simplekpiListUserGroupItems: AppAction<typeof SimplekpiListUserGroupItemsInput, typeof SimplekpiListUserGroupItemsOutput, typeof simplekpi.credential>;
|
|
40
20
|
//#endregion
|
|
41
21
|
export { simplekpiListUserGroupItems };
|
|
42
22
|
//# sourceMappingURL=list-user-group-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.d.cts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.d.cts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-group-items.d.ts
|
|
@@ -14,29 +16,7 @@ declare const SimplekpiListUserGroupItemsOutput: z.ZodObject<{
|
|
|
14
16
|
group_name: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserGroupItems:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
username: z.ZodString;
|
|
25
|
-
password: z.ZodString;
|
|
26
|
-
subdomain: z.ZodString;
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
username: z.ZodString;
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
subdomain: z.ZodString;
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const simplekpiListUserGroupItems: AppAction<typeof SimplekpiListUserGroupItemsInput, typeof SimplekpiListUserGroupItemsOutput, typeof simplekpi.credential>;
|
|
40
20
|
//#endregion
|
|
41
21
|
export { simplekpiListUserGroupItems };
|
|
42
22
|
//# sourceMappingURL=list-user-group-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.d.mts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.d.mts","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-group-items.mjs","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).passthrough().describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).passthrough().describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-group-items.mjs","names":[],"sources":["../../src/actions/list-user-group-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListUserGroupItemsInput = z.object({\n user_id: z.number().int().describe(\"The ID of the user to retrieve group items for\"),\n}).describe(\"Request model for listing group items assigned to a user.\");\nconst SimplekpiListUserGroupItems_UserGroupItemSchema = z.object({\n id: z.number().int().describe(\"The id of the group item\").nullable(),\n name: z.string().describe(\"The name of the group item (max 100 characters)\").nullable(),\n user_id: z.number().int().describe(\"Id of the user assigned to the group item\").nullable(),\n group_id: z.number().int().describe(\"The id of the group the item is in\").nullable(),\n created_at: z.string().describe(\"The UTC date and time the item was created\").nullable(),\n group_name: z.string().describe(\"The name of the group (max 50 characters)\").nullable(),\n}).passthrough().describe(\"A group item assigned to a user.\");\nexport const SimplekpiListUserGroupItemsOutput = z.object({\n items: z.array(SimplekpiListUserGroupItems_UserGroupItemSchema).describe(\"List of group items assigned to the user\"),\n}).passthrough().describe(\"Response model containing a list of group items assigned to a user.\");\n\nexport const simplekpiListUserGroupItems: AppAction<\n typeof SimplekpiListUserGroupItemsInput,\n typeof SimplekpiListUserGroupItemsOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_USER_GROUP_ITEMS\", {\n slug: \"simplekpi-list-user-group-items\",\n name: \"List User Group Items\",\n description: \"Tool to get all group items assigned to a user. Use when you need to retrieve group assignments for a specific user in SimpleKPI.\",\n input: SimplekpiListUserGroupItemsInput,\n output: SimplekpiListUserGroupItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,EACrF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,0CAA0C,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.cjs","names":["z","action"],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis: AppAction<\n typeof SimplekpiListUserKpisInput,\n typeof SimplekpiListUserKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,EACnE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-kpis.d.ts
|
|
@@ -14,29 +16,7 @@ declare const SimplekpiListUserKpisOutput: z.ZodObject<{
|
|
|
14
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserKpis:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
username: z.ZodString;
|
|
25
|
-
password: z.ZodString;
|
|
26
|
-
subdomain: z.ZodString;
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
username: z.ZodString;
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
subdomain: z.ZodString;
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const simplekpiListUserKpis: AppAction<typeof SimplekpiListUserKpisInput, typeof SimplekpiListUserKpisOutput, typeof simplekpi.credential>;
|
|
40
20
|
//#endregion
|
|
41
21
|
export { simplekpiListUserKpis };
|
|
42
22
|
//# sourceMappingURL=list-user-kpis.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.d.cts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.d.cts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-user-kpis.d.ts
|
|
@@ -14,29 +16,7 @@ declare const SimplekpiListUserKpisOutput: z.ZodObject<{
|
|
|
14
16
|
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const simplekpiListUserKpis:
|
|
18
|
-
user_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
username: z.ZodString;
|
|
25
|
-
password: z.ZodString;
|
|
26
|
-
subdomain: z.ZodString;
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
username: z.ZodString;
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
subdomain: z.ZodString;
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
generic_id: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const simplekpiListUserKpis: AppAction<typeof SimplekpiListUserKpisInput, typeof SimplekpiListUserKpisOutput, typeof simplekpi.credential>;
|
|
40
20
|
//#endregion
|
|
41
21
|
export { simplekpiListUserKpis };
|
|
42
22
|
//# sourceMappingURL=list-user-kpis.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.d.mts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.d.mts","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-user-kpis.mjs","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-user-kpis.mjs","names":[],"sources":["../../src/actions/list-user-kpis.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiListUserKpisInput = z.object({\n user_id: z.number().int().describe(\"User ID to retrieve KPIs for\"),\n}).describe(\"Request model for listing KPIs assigned to a specific user.\");\nconst SimplekpiListUserKpis_UserKpiSchema = z.object({\n id: z.number().int().describe(\"The id of the KPI assigned to the user\").nullable(),\n user_id: z.number().int().describe(\"Identifier linking the KPI assignment to a specific user\").nullable(),\n created_at: z.string().describe(\"UTC timestamp of object creation\").nullable(),\n sort_order: z.number().int().describe(\"Display sequence for KPIs on the entry screen\").nullable(),\n updated_at: z.string().describe(\"UTC timestamp of the most recent modification\").nullable(),\n user_target: z.number().describe(\"Custom target value; populated only when the KPI has a target\").nullable().optional(),\n}).passthrough().describe(\"Represents a KPI assigned to a user.\");\nexport const SimplekpiListUserKpisOutput = z.object({\n kpis: z.array(SimplekpiListUserKpis_UserKpiSchema).describe(\"List of KPIs assigned to the user\"),\n}).passthrough().describe(\"Response model for listing KPIs assigned to a user.\");\n\nexport const simplekpiListUserKpis: AppAction<\n typeof SimplekpiListUserKpisInput,\n typeof SimplekpiListUserKpisOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_LIST_USER_KPIS\", {\n slug: \"simplekpi-list-user-kpis\",\n name: \"List User KPIs\",\n description: \"Tool to get all KPIs assigned to a specific user. Use when you need to retrieve what KPIs a user can enter data against and analyze.\",\n input: SimplekpiListUserKpisInput,\n output: SimplekpiListUserKpisOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,EACnE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,MAAM,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,mCAAmC,EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiUpdateCategoryKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (max 100 characters)\"),\n icon_id: z.number().int().describe(\"Icon identifier for the KPI\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Determines if data entry is permitted for this KPI\"),\n sort_order: z.number().int().describe(\"Display ordering position\"),\n category_id: z.number().int().describe(\"Category ID containing the KPI\"),\n description: z.string().describe(\"KPI description (max 150 characters)\").optional(),\n frequency_id: z.enum([\"W\", \"D\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency: W (Weekly), D (Daily), M (Monthly), Q (Quarterly), or Y (Yearly)\"),\n target_default: z.number().describe(\"Default target value for the KPI\").optional(),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: U (Up), D (Down), or N (None)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method: AVG (Average) or SUM (Sum)\"),\n}).describe(\"Request to update a KPI within a category.\");\nexport const SimplekpiUpdateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable().optional(),\n name: z.string().describe(\"KPI name\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether data entry is permitted\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the KPI was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the KPI was last updated\").nullable().optional(),\n category_id: z.number().int().describe(\"Category ID\").nullable().optional(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable().optional(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated KPI information.\");\n\nexport const simplekpiUpdateCategoryKpi = action(\"SIMPLEKPI_UPDATE_CATEGORY_KPI\", {\n slug: \"simplekpi-update-category-kpi\",\n name: \"Update Category KPI\",\n description: \"Tool to update a KPI within a category. Use when you need to modify KPI details such as name, target, frequency, or aggregation method.\",\n input: SimplekpiUpdateCategoryKpiInput,\n output: SimplekpiUpdateCategoryKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/update-category-kpi.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiUpdateCategoryKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to update\"),\n name: z.string().describe(\"KPI name (max 100 characters)\"),\n icon_id: z.number().int().describe(\"Icon identifier for the KPI\"),\n unit_id: z.number().int().describe(\"Unit of measure identifier\"),\n is_active: z.boolean().describe(\"Determines if data entry is permitted for this KPI\"),\n sort_order: z.number().int().describe(\"Display ordering position\"),\n category_id: z.number().int().describe(\"Category ID containing the KPI\"),\n description: z.string().describe(\"KPI description (max 150 characters)\").optional(),\n frequency_id: z.enum([\"W\", \"D\", \"M\", \"Q\", \"Y\"]).describe(\"Data entry frequency: W (Weekly), D (Daily), M (Monthly), Q (Quarterly), or Y (Yearly)\"),\n target_default: z.number().describe(\"Default target value for the KPI\").optional(),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: U (Up), D (Down), or N (None)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method: AVG (Average) or SUM (Sum)\"),\n}).describe(\"Request to update a KPI within a category.\");\nexport const SimplekpiUpdateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"KPI ID\").nullable().optional(),\n name: z.string().describe(\"KPI name\").nullable().optional(),\n icon_id: z.number().int().describe(\"Icon identifier\").nullable().optional(),\n unit_id: z.number().int().describe(\"Unit of measure identifier\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether data entry is permitted\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the KPI was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the KPI was last updated\").nullable().optional(),\n category_id: z.number().int().describe(\"Category ID\").nullable().optional(),\n description: z.string().describe(\"KPI description\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency\").nullable().optional(),\n target_default: z.number().describe(\"Default target value\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"Calculation method\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated KPI information.\");\n\nexport const simplekpiUpdateCategoryKpi: AppAction<\n typeof SimplekpiUpdateCategoryKpiInput,\n typeof SimplekpiUpdateCategoryKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_UPDATE_CATEGORY_KPI\", {\n slug: \"simplekpi-update-category-kpi\",\n name: \"Update Category KPI\",\n description: \"Tool to update a KPI within a category. Use when you need to modify KPI details such as name, target, frequency, or aggregation method.\",\n input: SimplekpiUpdateCategoryKpiInput,\n output: SimplekpiUpdateCategoryKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,wFAAwF;CACjJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACtG,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACtG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,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,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|