@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":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup: AppAction<\n typeof SimplekpiCreateGroupInput,\n typeof SimplekpiCreateGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;AAC1G,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-group.d.ts
|
|
@@ -12,30 +14,7 @@ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
|
|
|
12
14
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const simplekpiCreateGroup:
|
|
16
|
-
name: string;
|
|
17
|
-
sort_order: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
subdomain: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const simplekpiCreateGroup: AppAction<typeof SimplekpiCreateGroupInput, typeof SimplekpiCreateGroupOutput, typeof simplekpi.credential>;
|
|
39
18
|
//#endregion
|
|
40
19
|
export { simplekpiCreateGroup };
|
|
41
20
|
//# sourceMappingURL=create-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-group.d.ts
|
|
@@ -12,30 +14,7 @@ declare const SimplekpiCreateGroupOutput: z.ZodObject<{
|
|
|
12
14
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const simplekpiCreateGroup:
|
|
16
|
-
name: string;
|
|
17
|
-
sort_order: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
subdomain: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const simplekpiCreateGroup: AppAction<typeof SimplekpiCreateGroupInput, typeof SimplekpiCreateGroupOutput, typeof simplekpi.credential>;
|
|
39
18
|
//#endregion
|
|
40
19
|
export { simplekpiCreateGroup };
|
|
41
20
|
//# sourceMappingURL=create-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAIzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiCreateGroupInput = z.object({\n name: z.string().describe(\"Group name. Must not exceed 50 characters.\"),\n sort_order: z.number().int().describe(\"Display order for the group. Lower values appear first in lists.\"),\n}).describe(\"Request parameters for creating a new group in SimpleKPI.\");\nexport const SimplekpiCreateGroupOutput = z.object({\n id: z.number().int().describe(\"System-assigned unique identifier for the group\").nullable(),\n name: z.string().describe(\"Group name (max 50 characters)\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the group was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display ordering value for the group\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the group was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response containing the newly created group details.\");\n\nexport const simplekpiCreateGroup: AppAction<\n typeof SimplekpiCreateGroupInput,\n typeof SimplekpiCreateGroupOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_GROUP\", {\n slug: \"simplekpi-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in SimpleKPI. Use when you need to organize KPIs or users into logical groups for better organization and reporting.\",\n input: SimplekpiCreateGroupInput,\n output: SimplekpiCreateGroupOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE;CAC1G,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-category.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-category.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 SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory: AppAction<\n typeof SimplekpiCreateKpiCategoryInput,\n typeof SimplekpiCreateKpiCategoryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-kpi-category.d.ts
|
|
@@ -12,30 +14,7 @@ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
|
|
|
12
14
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const simplekpiCreateKpiCategory:
|
|
16
|
-
name: string;
|
|
17
|
-
sort_order: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
subdomain: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const simplekpiCreateKpiCategory: AppAction<typeof SimplekpiCreateKpiCategoryInput, typeof SimplekpiCreateKpiCategoryOutput, typeof simplekpi.credential>;
|
|
39
18
|
//#endregion
|
|
40
19
|
export { simplekpiCreateKpiCategory };
|
|
41
20
|
//# sourceMappingURL=create-kpi-category.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-category.d.cts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-category.d.cts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-kpi-category.d.ts
|
|
@@ -12,30 +14,7 @@ declare const SimplekpiCreateKpiCategoryOutput: z.ZodObject<{
|
|
|
12
14
|
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const simplekpiCreateKpiCategory:
|
|
16
|
-
name: string;
|
|
17
|
-
sort_order: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
subdomain: z.ZodString;
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
generic_id: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
subdomain: z.ZodString;
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const simplekpiCreateKpiCategory: AppAction<typeof SimplekpiCreateKpiCategoryInput, typeof SimplekpiCreateKpiCategoryOutput, typeof simplekpi.credential>;
|
|
39
18
|
//#endregion
|
|
40
19
|
export { simplekpiCreateKpiCategory };
|
|
41
20
|
//# sourceMappingURL=create-kpi-category.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-category.d.mts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-category.d.mts","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAQhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-category.mjs","names":[],"sources":["../../src/actions/create-kpi-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-category.mjs","names":[],"sources":["../../src/actions/create-kpi-category.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 SimplekpiCreateKpiCategoryInput = z.object({\n name: z.string().describe(\"Category name (maximum 50 characters)\"),\n sort_order: z.number().int().describe(\"Display order for the category (integer value)\"),\n});\nexport const SimplekpiCreateKpiCategoryOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI category\").nullable(),\n name: z.string().describe(\"Name of the created KPI category\").nullable(),\n created_at: z.string().describe(\"UTC datetime when the category was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order of the created KPI category\").nullable(),\n updated_at: z.string().describe(\"UTC datetime when the category was last updated (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateKpiCategory: AppAction<\n typeof SimplekpiCreateKpiCategoryInput,\n typeof SimplekpiCreateKpiCategoryOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI_CATEGORY\", {\n slug: \"simplekpi-create-kpi-category\",\n name: \"Create KPI Category\",\n description: \"Tool to create a new KPI category in SimpleKPI. Use when you need to organize KPIs into logical groups or categories.\",\n input: SimplekpiCreateKpiCategoryInput,\n output: SimplekpiCreateKpiCategoryOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACxF,CAiBS;CACP,QAjB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-unit.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit: AppAction<\n typeof SimplekpiCreateKpiUnitInput,\n typeof SimplekpiCreateKpiUnitOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAClI,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;AACxI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-kpi-unit.d.ts
|
|
@@ -16,32 +18,7 @@ declare const SimplekpiCreateKpiUnitOutput: z.ZodObject<{
|
|
|
16
18
|
is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
19
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const simplekpiCreateKpiUnit:
|
|
20
|
-
name: string;
|
|
21
|
-
entry_format: string;
|
|
22
|
-
is_percentage: boolean;
|
|
23
|
-
display_format: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
21
|
+
declare const simplekpiCreateKpiUnit: AppAction<typeof SimplekpiCreateKpiUnitInput, typeof SimplekpiCreateKpiUnitOutput, typeof simplekpi.credential>;
|
|
45
22
|
//#endregion
|
|
46
23
|
export { simplekpiCreateKpiUnit };
|
|
47
24
|
//# sourceMappingURL=create-kpi-unit.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-unit.d.cts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-unit.d.cts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplekpi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-kpi-unit.d.ts
|
|
@@ -16,32 +18,7 @@ declare const SimplekpiCreateKpiUnitOutput: z.ZodObject<{
|
|
|
16
18
|
is_percentage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
19
|
display_format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const simplekpiCreateKpiUnit:
|
|
20
|
-
name: string;
|
|
21
|
-
entry_format: string;
|
|
22
|
-
is_percentage: boolean;
|
|
23
|
-
display_format: string;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
subdomain: z.ZodString;
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
21
|
+
declare const simplekpiCreateKpiUnit: AppAction<typeof SimplekpiCreateKpiUnitInput, typeof SimplekpiCreateKpiUnitOutput, typeof simplekpi.credential>;
|
|
45
22
|
//#endregion
|
|
46
23
|
export { simplekpiCreateKpiUnit };
|
|
47
24
|
//# sourceMappingURL=create-kpi-unit.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-unit.d.mts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-unit.d.mts","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAU5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi-unit.mjs","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi-unit.mjs","names":[],"sources":["../../src/actions/create-kpi-unit.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiCreateKpiUnitInput = z.object({\n name: z.string().describe(\"Unit name (maximum 25 characters)\"),\n entry_format: z.string().describe(\"Entry format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n is_percentage: z.boolean().describe(\"Whether the unit represents a percentage value\"),\n display_format: z.string().describe(\"Display format for the unit (maximum 25 characters). Use '###' as placeholder for numeric values\"),\n}).describe(\"Request model for creating a new KPI unit.\");\nexport const SimplekpiCreateKpiUnitOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the created KPI unit\").nullable().optional(),\n name: z.string().describe(\"Name of the created KPI unit\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the unit was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the unit was last updated\").nullable().optional(),\n entry_format: z.string().describe(\"Entry format of the created KPI unit\").nullable().optional(),\n is_percentage: z.boolean().describe(\"Whether the unit is a percentage\").nullable().optional(),\n display_format: z.string().describe(\"Display format of the created KPI unit\").nullable().optional(),\n}).passthrough().describe(\"Response model for created KPI unit.\");\n\nexport const simplekpiCreateKpiUnit: AppAction<\n typeof SimplekpiCreateKpiUnitInput,\n typeof SimplekpiCreateKpiUnitOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI_UNIT\", {\n slug: \"simplekpi-create-kpi-unit\",\n name: \"Create KPI Unit\",\n description: \"Tool to create a new KPI unit in SimpleKPI. Use when you need to define a measurement unit for KPI tracking.\",\n input: SimplekpiCreateKpiUnitInput,\n output: SimplekpiCreateKpiUnitOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAClI,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CACxI,CAAC,CAAC,CAAC,SAAS,4CAmBH;CACP,QAnB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).passthrough().describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-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 SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).passthrough().describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi: AppAction<\n typeof SimplekpiCreateKpiInput,\n typeof SimplekpiCreateKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC5F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;CACnH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CAC7I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,8EAA8E;CAChI,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gFAAgF;AACtI,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACvE,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC9E,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/create-kpi.d.ts
|
|
@@ -36,37 +38,7 @@ declare const SimplekpiCreateKpiOutput: z.ZodObject<{
|
|
|
36
38
|
value_direction: z.ZodNullable<z.ZodString>;
|
|
37
39
|
aggregate_function: z.ZodNullable<z.ZodString>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const simplekpiCreateKpi:
|
|
40
|
-
name: string;
|
|
41
|
-
icon_id: number;
|
|
42
|
-
unit_id: number;
|
|
43
|
-
is_active: boolean;
|
|
44
|
-
sort_order: number;
|
|
45
|
-
category_id: number;
|
|
46
|
-
frequency_id: string;
|
|
47
|
-
value_direction: "U" | "D" | "N";
|
|
48
|
-
aggregate_function: "AVG" | "SUM";
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
username: z.ZodString;
|
|
55
|
-
password: z.ZodString;
|
|
56
|
-
subdomain: z.ZodString;
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
generic_id: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
username: z.ZodString;
|
|
65
|
-
password: z.ZodString;
|
|
66
|
-
subdomain: z.ZodString;
|
|
67
|
-
generic_api_key: z.ZodString;
|
|
68
|
-
generic_id: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const simplekpiCreateKpi: AppAction<typeof SimplekpiCreateKpiInput, typeof SimplekpiCreateKpiOutput, typeof simplekpi.credential>;
|
|
70
42
|
//#endregion
|
|
71
43
|
export { simplekpiCreateKpi };
|
|
72
44
|
//# sourceMappingURL=create-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi.d.cts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi.d.cts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/create-kpi.d.ts
|
|
@@ -36,37 +38,7 @@ declare const SimplekpiCreateKpiOutput: z.ZodObject<{
|
|
|
36
38
|
value_direction: z.ZodNullable<z.ZodString>;
|
|
37
39
|
aggregate_function: z.ZodNullable<z.ZodString>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const simplekpiCreateKpi:
|
|
40
|
-
name: string;
|
|
41
|
-
icon_id: number;
|
|
42
|
-
unit_id: number;
|
|
43
|
-
is_active: boolean;
|
|
44
|
-
sort_order: number;
|
|
45
|
-
category_id: number;
|
|
46
|
-
frequency_id: string;
|
|
47
|
-
value_direction: "U" | "D" | "N";
|
|
48
|
-
aggregate_function: "AVG" | "SUM";
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
username: z.ZodString;
|
|
55
|
-
password: z.ZodString;
|
|
56
|
-
subdomain: z.ZodString;
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
generic_id: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplekpi", z.ZodObject<{
|
|
60
|
-
connectionId: z.ZodString;
|
|
61
|
-
entityId: z.ZodString;
|
|
62
|
-
instanceId: z.ZodString;
|
|
63
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
64
|
-
username: z.ZodString;
|
|
65
|
-
password: z.ZodString;
|
|
66
|
-
subdomain: z.ZodString;
|
|
67
|
-
generic_api_key: z.ZodString;
|
|
68
|
-
generic_id: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const simplekpiCreateKpi: AppAction<typeof SimplekpiCreateKpiInput, typeof SimplekpiCreateKpiOutput, typeof simplekpi.credential>;
|
|
70
42
|
//#endregion
|
|
71
43
|
export { simplekpiCreateKpi };
|
|
72
44
|
//# sourceMappingURL=create-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi.d.mts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi.d.mts","names":[],"sources":["../../src/actions/create-kpi.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-kpi.mjs","names":[],"sources":["../../src/actions/create-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).passthrough().describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-kpi.mjs","names":[],"sources":["../../src/actions/create-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 SimplekpiCreateKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI.\"),\n icon_id: z.number().int().describe(\"Icon ID for the KPI display.\"),\n unit_id: z.number().int().describe(\"Unit ID that defines the measurement unit for this KPI.\"),\n is_active: z.boolean().describe(\"Active status indicating whether the KPI is currently active.\"),\n sort_order: z.number().int().describe(\"Display order for sorting KPIs in the interface.\"),\n category_id: z.number().int().describe(\"KPI Category ID. Use GET /api/kpicategories to fetch available categories.\"),\n frequency_id: z.string().describe(\"Frequency ID that determines data entry frequency (e.g., 'M' for monthly, 'W' for weekly, 'D' for daily).\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Direction indicator: 'U' (up is good), 'D' (down is good), or 'N' (neutral).\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Calculation method for aggregating KPI values: 'AVG' (average) or 'SUM' (sum).\"),\n}).describe(\"Request model for creating a new KPI.\");\nexport const SimplekpiCreateKpiOutput = z.object({\n id: z.number().int().describe(\"Auto-generated KPI identifier.\").nullable(),\n name: z.string().describe(\"KPI name.\").nullable(),\n icon_id: z.number().int().describe(\"Icon ID.\").nullable(),\n unit_id: z.number().int().describe(\"Unit of measure ID.\").nullable(),\n is_active: z.boolean().describe(\"Active status.\").nullable(),\n created_at: z.string().describe(\"UTC creation timestamp.\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order.\").nullable(),\n updated_at: z.string().describe(\"UTC update timestamp.\").nullable().optional(),\n category_id: z.number().int().describe(\"Associated category ID.\").nullable(),\n description: z.string().describe(\"KPI description.\").nullable().optional(),\n frequency_id: z.string().describe(\"Data entry frequency ID.\").nullable(),\n is_calculated: z.boolean().describe(\"Calculated KPI flag (read-only).\").nullable().optional(),\n target_default: z.number().describe(\"Default target value.\").nullable().optional(),\n value_direction: z.string().describe(\"Direction indicator (U/D/N).\").nullable(),\n aggregate_function: z.string().describe(\"Calculation method (AVG or SUM).\").nullable(),\n}).passthrough().describe(\"Response model for created KPI.\");\n\nexport const simplekpiCreateKpi: AppAction<\n typeof SimplekpiCreateKpiInput,\n typeof SimplekpiCreateKpiOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_KPI\", {\n slug: \"simplekpi-create-kpi\",\n name: \"Create KPI\",\n description: \"Tool to create a new KPI with specified configuration. Use when you need to add a new Key Performance Indicator to track metrics.\",\n input: SimplekpiCreateKpiInput,\n output: SimplekpiCreateKpiOutput,\n});\n"],"mappings":";;;AAmCA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAC5F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E;EACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EAC7I,iBAAiB,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,8EAA8E;EAChI,oBAAoB,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,gFAAgF;CACtI,CAAC,CAAC,CAAC,SAAS,uCA2BH;CACP,QA3BsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACvE,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC9E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-kpi-entries.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateOrUpdateKpiEntriesInput = z.object({\n entries: z.array(z.object({\n email: z.string().describe(\"Email address of the user. Use this OR user_id to identify the user\").optional(),\n notes: z.string().describe(\"Notes or comments for this KPI entry\").optional(),\n actual: z.number().describe(\"Actual value for this KPI entry\").optional(),\n kpi_id: z.number().int().describe(\"ID of the KPI to which this entry belongs\"),\n target: z.number().describe(\"Target value for this KPI entry\").optional(),\n user_id: z.number().int().describe(\"ID of the user. Use this OR email to identify the user\").optional(),\n setNotes: z.boolean().describe(\"Whether to set the notes field (true) or leave it unchanged (false)\").optional(),\n setActual: z.boolean().describe(\"Whether to set the actual value (true) or leave it unchanged (false)\").optional(),\n setTarget: z.boolean().describe(\"Whether to set the target value (true) or leave it unchanged (false)\").optional(),\n entry_date: z.string().describe(\"Date of the entry in ISO 8601 format (e.g., '2026-02-01T00:00:00')\"),\n addToActual: z.boolean().describe(\"Whether to add to the existing actual value (true) or replace it (false)\").optional(),\n}).passthrough().describe(\"Individual KPI entry within a batch operation.\")).describe(\"Array of KPI entry objects to create or update. Maximum 5000 entries per batch\"),\n hasNotes: z.boolean().describe(\"Indicates whether the batch contains notes. Helps optimize processing\").optional(),\n hasActuals: z.boolean().describe(\"Indicates whether the batch contains actual values. Helps optimize processing\").optional(),\n hasTargets: z.boolean().describe(\"Indicates whether the batch contains target values. Helps optimize processing\").optional(),\n}).describe(\"Request model for batch creating or updating multiple KPI entries.\");\nexport const SimplekpiCreateOrUpdateKpiEntriesOutput = z.object({\n rows_added: z.number().int().describe(\"Number of entries successfully added or updated\").nullable(),\n}).passthrough().describe(\"Response model for batch KPI entries operation.\");\n\nexport const simplekpiCreateOrUpdateKpiEntries = action(\"SIMPLEKPI_CREATE_OR_UPDATE_KPI_ENTRIES\", {\n slug: \"simplekpi-create-or-update-kpi-entries\",\n name: \"Batch KPI Entries\",\n description: \"Tool to batch create or update multiple KPI entries at once. Use when you need to load multiple KPI data points efficiently (up to 5000 entries per batch). Each entry must have a kpi_id, entry_date, and either email or user_id.\",\n input: SimplekpiCreateOrUpdateKpiEntriesInput,\n output: SimplekpiCreateOrUpdateKpiEntriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-or-update-kpi-entries.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-kpi-entries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplekpi } from \"../app\";\n\nexport const SimplekpiCreateOrUpdateKpiEntriesInput = z.object({\n entries: z.array(z.object({\n email: z.string().describe(\"Email address of the user. Use this OR user_id to identify the user\").optional(),\n notes: z.string().describe(\"Notes or comments for this KPI entry\").optional(),\n actual: z.number().describe(\"Actual value for this KPI entry\").optional(),\n kpi_id: z.number().int().describe(\"ID of the KPI to which this entry belongs\"),\n target: z.number().describe(\"Target value for this KPI entry\").optional(),\n user_id: z.number().int().describe(\"ID of the user. Use this OR email to identify the user\").optional(),\n setNotes: z.boolean().describe(\"Whether to set the notes field (true) or leave it unchanged (false)\").optional(),\n setActual: z.boolean().describe(\"Whether to set the actual value (true) or leave it unchanged (false)\").optional(),\n setTarget: z.boolean().describe(\"Whether to set the target value (true) or leave it unchanged (false)\").optional(),\n entry_date: z.string().describe(\"Date of the entry in ISO 8601 format (e.g., '2026-02-01T00:00:00')\"),\n addToActual: z.boolean().describe(\"Whether to add to the existing actual value (true) or replace it (false)\").optional(),\n}).passthrough().describe(\"Individual KPI entry within a batch operation.\")).describe(\"Array of KPI entry objects to create or update. Maximum 5000 entries per batch\"),\n hasNotes: z.boolean().describe(\"Indicates whether the batch contains notes. Helps optimize processing\").optional(),\n hasActuals: z.boolean().describe(\"Indicates whether the batch contains actual values. Helps optimize processing\").optional(),\n hasTargets: z.boolean().describe(\"Indicates whether the batch contains target values. Helps optimize processing\").optional(),\n}).describe(\"Request model for batch creating or updating multiple KPI entries.\");\nexport const SimplekpiCreateOrUpdateKpiEntriesOutput = z.object({\n rows_added: z.number().int().describe(\"Number of entries successfully added or updated\").nullable(),\n}).passthrough().describe(\"Response model for batch KPI entries operation.\");\n\nexport const simplekpiCreateOrUpdateKpiEntries: AppAction<\n typeof SimplekpiCreateOrUpdateKpiEntriesInput,\n typeof SimplekpiCreateOrUpdateKpiEntriesOutput,\n typeof simplekpi.credential\n> = action(\"SIMPLEKPI_CREATE_OR_UPDATE_KPI_ENTRIES\", {\n slug: \"simplekpi-create-or-update-kpi-entries\",\n name: \"Batch KPI Entries\",\n description: \"Tool to batch create or update multiple KPI entries at once. Use when you need to load multiple KPI data points efficiently (up to 5000 entries per batch). Each entry must have a kpi_id, entry_date, and either email or user_id.\",\n input: SimplekpiCreateOrUpdateKpiEntriesInput,\n output: SimplekpiCreateOrUpdateKpiEntriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC3G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACtG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC/G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACjH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACpG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,CAAC,SAAS,gFAAgF;CACpK,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|