@keystrokehq/simplekpi 0.1.0 → 0.1.3
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 +3 -3
- package/dist/actions/add-user-group-item.cjs.map +1 -1
- package/dist/actions/add-user-group-item.d.cts +16 -3
- package/dist/actions/add-user-group-item.d.cts.map +1 -1
- package/dist/actions/add-user-group-item.d.mts +16 -3
- package/dist/actions/add-user-group-item.d.mts.map +1 -1
- package/dist/actions/add-user-group-item.mjs +3 -3
- package/dist/actions/add-user-group-item.mjs.map +1 -1
- package/dist/actions/add-user-kpi.cjs +1 -1
- package/dist/actions/add-user-kpi.cjs.map +1 -1
- package/dist/actions/add-user-kpi.d.cts +20 -3
- package/dist/actions/add-user-kpi.d.cts.map +1 -1
- package/dist/actions/add-user-kpi.d.mts +20 -3
- package/dist/actions/add-user-kpi.d.mts.map +1 -1
- package/dist/actions/add-user-kpi.mjs +1 -1
- package/dist/actions/add-user-kpi.mjs.map +1 -1
- package/dist/actions/create-category-kpi.cjs +1 -1
- package/dist/actions/create-category-kpi.cjs.map +1 -1
- package/dist/actions/create-category-kpi.d.cts +41 -3
- package/dist/actions/create-category-kpi.d.cts.map +1 -1
- package/dist/actions/create-category-kpi.d.mts +41 -3
- package/dist/actions/create-category-kpi.d.mts.map +1 -1
- package/dist/actions/create-category-kpi.mjs +1 -1
- package/dist/actions/create-category-kpi.mjs.map +1 -1
- package/dist/actions/create-group-item.cjs +5 -5
- package/dist/actions/create-group-item.cjs.map +1 -1
- package/dist/actions/create-group-item.d.cts +18 -3
- package/dist/actions/create-group-item.d.cts.map +1 -1
- package/dist/actions/create-group-item.d.mts +18 -3
- package/dist/actions/create-group-item.d.mts.map +1 -1
- package/dist/actions/create-group-item.mjs +5 -5
- package/dist/actions/create-group-item.mjs.map +1 -1
- package/dist/actions/create-group.cjs +4 -4
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +15 -3
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +15 -3
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +4 -4
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-kpi-category.cjs +4 -4
- package/dist/actions/create-kpi-category.cjs.map +1 -1
- package/dist/actions/create-kpi-category.d.cts +15 -3
- package/dist/actions/create-kpi-category.d.cts.map +1 -1
- package/dist/actions/create-kpi-category.d.mts +15 -3
- package/dist/actions/create-kpi-category.d.mts.map +1 -1
- package/dist/actions/create-kpi-category.mjs +4 -4
- package/dist/actions/create-kpi-category.mjs.map +1 -1
- package/dist/actions/create-kpi-unit.cjs +1 -1
- package/dist/actions/create-kpi-unit.cjs.map +1 -1
- package/dist/actions/create-kpi-unit.d.cts +21 -3
- package/dist/actions/create-kpi-unit.d.cts.map +1 -1
- package/dist/actions/create-kpi-unit.d.mts +21 -3
- package/dist/actions/create-kpi-unit.d.mts.map +1 -1
- package/dist/actions/create-kpi-unit.mjs +1 -1
- package/dist/actions/create-kpi-unit.mjs.map +1 -1
- package/dist/actions/create-kpi.cjs +11 -11
- package/dist/actions/create-kpi.cjs.map +1 -1
- package/dist/actions/create-kpi.d.cts +46 -3
- package/dist/actions/create-kpi.d.cts.map +1 -1
- package/dist/actions/create-kpi.d.mts +46 -3
- package/dist/actions/create-kpi.d.mts.map +1 -1
- package/dist/actions/create-kpi.mjs +11 -11
- package/dist/actions/create-kpi.mjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.cjs +2 -2
- package/dist/actions/create-or-update-kpi-entries.cjs.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.cts +40 -3
- package/dist/actions/create-or-update-kpi-entries.d.cts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.d.mts +40 -3
- package/dist/actions/create-or-update-kpi-entries.d.mts.map +1 -1
- package/dist/actions/create-or-update-kpi-entries.mjs +2 -2
- package/dist/actions/create-or-update-kpi-entries.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +40 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +40 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-category-kpi.cjs +1 -1
- package/dist/actions/delete-category-kpi.cjs.map +1 -1
- package/dist/actions/delete-category-kpi.d.cts +9 -3
- package/dist/actions/delete-category-kpi.d.cts.map +1 -1
- package/dist/actions/delete-category-kpi.d.mts +9 -3
- package/dist/actions/delete-category-kpi.d.mts.map +1 -1
- package/dist/actions/delete-category-kpi.mjs +1 -1
- package/dist/actions/delete-category-kpi.mjs.map +1 -1
- package/dist/actions/delete-group-item.cjs +3 -3
- package/dist/actions/delete-group-item.cjs.map +1 -1
- package/dist/actions/delete-group-item.d.cts +12 -3
- package/dist/actions/delete-group-item.d.cts.map +1 -1
- package/dist/actions/delete-group-item.d.mts +12 -3
- package/dist/actions/delete-group-item.d.mts.map +1 -1
- package/dist/actions/delete-group-item.mjs +3 -3
- package/dist/actions/delete-group-item.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +10 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +10 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-kpi-category.cjs +4 -4
- package/dist/actions/delete-kpi-category.cjs.map +1 -1
- package/dist/actions/delete-kpi-category.d.cts +11 -3
- package/dist/actions/delete-kpi-category.d.cts.map +1 -1
- package/dist/actions/delete-kpi-category.d.mts +11 -3
- package/dist/actions/delete-kpi-category.d.mts.map +1 -1
- package/dist/actions/delete-kpi-category.mjs +4 -4
- package/dist/actions/delete-kpi-category.mjs.map +1 -1
- package/dist/actions/delete-kpi-entry.cjs +1 -1
- package/dist/actions/delete-kpi-entry.cjs.map +1 -1
- package/dist/actions/delete-kpi-entry.d.cts +7 -3
- package/dist/actions/delete-kpi-entry.d.cts.map +1 -1
- package/dist/actions/delete-kpi-entry.d.mts +7 -3
- package/dist/actions/delete-kpi-entry.d.mts.map +1 -1
- package/dist/actions/delete-kpi-entry.mjs +1 -1
- package/dist/actions/delete-kpi-entry.mjs.map +1 -1
- package/dist/actions/delete-kpi-unit.cjs +4 -4
- package/dist/actions/delete-kpi-unit.cjs.map +1 -1
- package/dist/actions/delete-kpi-unit.d.cts +11 -3
- package/dist/actions/delete-kpi-unit.d.cts.map +1 -1
- package/dist/actions/delete-kpi-unit.d.mts +11 -3
- package/dist/actions/delete-kpi-unit.d.mts.map +1 -1
- package/dist/actions/delete-kpi-unit.mjs +4 -4
- package/dist/actions/delete-kpi-unit.mjs.map +1 -1
- package/dist/actions/delete-kpi.cjs +3 -3
- package/dist/actions/delete-kpi.cjs.map +1 -1
- package/dist/actions/delete-kpi.d.cts +10 -3
- package/dist/actions/delete-kpi.d.cts.map +1 -1
- package/dist/actions/delete-kpi.d.mts +10 -3
- package/dist/actions/delete-kpi.d.mts.map +1 -1
- package/dist/actions/delete-kpi.mjs +3 -3
- package/dist/actions/delete-kpi.mjs.map +1 -1
- package/dist/actions/delete-user-group-item.cjs +1 -1
- package/dist/actions/delete-user-group-item.cjs.map +1 -1
- package/dist/actions/delete-user-group-item.d.cts +11 -3
- package/dist/actions/delete-user-group-item.d.cts.map +1 -1
- package/dist/actions/delete-user-group-item.d.mts +11 -3
- package/dist/actions/delete-user-group-item.d.mts.map +1 -1
- package/dist/actions/delete-user-group-item.mjs +1 -1
- package/dist/actions/delete-user-group-item.mjs.map +1 -1
- package/dist/actions/delete-user-kpi.cjs +3 -3
- package/dist/actions/delete-user-kpi.cjs.map +1 -1
- package/dist/actions/delete-user-kpi.d.cts +12 -3
- package/dist/actions/delete-user-kpi.d.cts.map +1 -1
- package/dist/actions/delete-user-kpi.d.mts +12 -3
- package/dist/actions/delete-user-kpi.d.mts.map +1 -1
- package/dist/actions/delete-user-kpi.mjs +3 -3
- package/dist/actions/delete-user-kpi.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +10 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +10 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-all-data-entries.cjs +2 -2
- package/dist/actions/get-all-data-entries.cjs.map +1 -1
- package/dist/actions/get-all-data-entries.d.cts +34 -3
- package/dist/actions/get-all-data-entries.d.cts.map +1 -1
- package/dist/actions/get-all-data-entries.d.mts +34 -3
- package/dist/actions/get-all-data-entries.d.mts.map +1 -1
- package/dist/actions/get-all-data-entries.mjs +2 -2
- package/dist/actions/get-all-data-entries.mjs.map +1 -1
- package/dist/actions/get-category-kpi.cjs +4 -4
- package/dist/actions/get-category-kpi.cjs.map +1 -1
- package/dist/actions/get-category-kpi.d.cts +25 -3
- package/dist/actions/get-category-kpi.d.cts.map +1 -1
- package/dist/actions/get-category-kpi.d.mts +25 -3
- package/dist/actions/get-category-kpi.d.mts.map +1 -1
- package/dist/actions/get-category-kpi.mjs +4 -4
- package/dist/actions/get-category-kpi.mjs.map +1 -1
- package/dist/actions/get-group-item.cjs +1 -1
- package/dist/actions/get-group-item.cjs.map +1 -1
- package/dist/actions/get-group-item.d.cts +16 -3
- package/dist/actions/get-group-item.d.cts.map +1 -1
- package/dist/actions/get-group-item.d.mts +16 -3
- package/dist/actions/get-group-item.d.mts.map +1 -1
- package/dist/actions/get-group-item.mjs +1 -1
- package/dist/actions/get-group-item.mjs.map +1 -1
- package/dist/actions/get-group.cjs +1 -1
- package/dist/actions/get-group.cjs.map +1 -1
- package/dist/actions/get-group.d.cts +13 -3
- package/dist/actions/get-group.d.cts.map +1 -1
- package/dist/actions/get-group.d.mts +13 -3
- package/dist/actions/get-group.d.mts.map +1 -1
- package/dist/actions/get-group.mjs +1 -1
- package/dist/actions/get-group.mjs.map +1 -1
- package/dist/actions/get-kpi-category.cjs +1 -1
- package/dist/actions/get-kpi-category.cjs.map +1 -1
- package/dist/actions/get-kpi-category.d.cts +13 -3
- package/dist/actions/get-kpi-category.d.cts.map +1 -1
- package/dist/actions/get-kpi-category.d.mts +13 -3
- package/dist/actions/get-kpi-category.d.mts.map +1 -1
- package/dist/actions/get-kpi-category.mjs +1 -1
- package/dist/actions/get-kpi-category.mjs.map +1 -1
- package/dist/actions/get-kpi-entry.cjs +6 -6
- package/dist/actions/get-kpi-entry.cjs.map +1 -1
- package/dist/actions/get-kpi-entry.d.cts +17 -3
- package/dist/actions/get-kpi-entry.d.cts.map +1 -1
- package/dist/actions/get-kpi-entry.d.mts +17 -3
- package/dist/actions/get-kpi-entry.d.mts.map +1 -1
- package/dist/actions/get-kpi-entry.mjs +6 -6
- package/dist/actions/get-kpi-entry.mjs.map +1 -1
- package/dist/actions/get-kpi-frequency.cjs +1 -1
- package/dist/actions/get-kpi-frequency.cjs.map +1 -1
- package/dist/actions/get-kpi-frequency.d.cts +10 -3
- package/dist/actions/get-kpi-frequency.d.cts.map +1 -1
- package/dist/actions/get-kpi-frequency.d.mts +10 -3
- package/dist/actions/get-kpi-frequency.d.mts.map +1 -1
- package/dist/actions/get-kpi-frequency.mjs +1 -1
- package/dist/actions/get-kpi-frequency.mjs.map +1 -1
- package/dist/actions/get-kpi-icon.cjs +1 -1
- package/dist/actions/get-kpi-icon.cjs.map +1 -1
- package/dist/actions/get-kpi-icon.d.cts +10 -3
- package/dist/actions/get-kpi-icon.d.cts.map +1 -1
- package/dist/actions/get-kpi-icon.d.mts +10 -3
- package/dist/actions/get-kpi-icon.d.mts.map +1 -1
- package/dist/actions/get-kpi-icon.mjs +1 -1
- package/dist/actions/get-kpi-icon.mjs.map +1 -1
- package/dist/actions/get-kpi-unit.cjs +3 -3
- package/dist/actions/get-kpi-unit.cjs.map +1 -1
- package/dist/actions/get-kpi-unit.d.cts +15 -3
- package/dist/actions/get-kpi-unit.d.cts.map +1 -1
- package/dist/actions/get-kpi-unit.d.mts +15 -3
- package/dist/actions/get-kpi-unit.d.mts.map +1 -1
- package/dist/actions/get-kpi-unit.mjs +3 -3
- package/dist/actions/get-kpi-unit.mjs.map +1 -1
- package/dist/actions/get-kpi.cjs +1 -1
- package/dist/actions/get-kpi.cjs.map +1 -1
- package/dist/actions/get-kpi.d.cts +23 -3
- package/dist/actions/get-kpi.d.cts.map +1 -1
- package/dist/actions/get-kpi.d.mts +23 -3
- package/dist/actions/get-kpi.d.mts.map +1 -1
- package/dist/actions/get-kpi.mjs +1 -1
- package/dist/actions/get-kpi.mjs.map +1 -1
- package/dist/actions/get-user-group-item.cjs +6 -6
- package/dist/actions/get-user-group-item.cjs.map +1 -1
- package/dist/actions/get-user-group-item.d.cts +16 -3
- package/dist/actions/get-user-group-item.d.cts.map +1 -1
- package/dist/actions/get-user-group-item.d.mts +16 -3
- package/dist/actions/get-user-group-item.d.mts.map +1 -1
- package/dist/actions/get-user-group-item.mjs +6 -6
- package/dist/actions/get-user-group-item.mjs.map +1 -1
- package/dist/actions/get-user-kpi.cjs +1 -1
- package/dist/actions/get-user-kpi.cjs.map +1 -1
- package/dist/actions/get-user-kpi.d.cts +16 -3
- package/dist/actions/get-user-kpi.d.cts.map +1 -1
- package/dist/actions/get-user-kpi.d.mts +16 -3
- package/dist/actions/get-user-kpi.d.mts.map +1 -1
- package/dist/actions/get-user-kpi.mjs +1 -1
- package/dist/actions/get-user-kpi.mjs.map +1 -1
- package/dist/actions/get-user.cjs +8 -8
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +21 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +21 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +8 -8
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-category-kpis.cjs +2 -2
- package/dist/actions/list-category-kpis.cjs.map +1 -1
- package/dist/actions/list-category-kpis.d.cts +25 -3
- package/dist/actions/list-category-kpis.d.cts.map +1 -1
- package/dist/actions/list-category-kpis.d.mts +25 -3
- package/dist/actions/list-category-kpis.d.mts.map +1 -1
- package/dist/actions/list-category-kpis.mjs +2 -2
- package/dist/actions/list-category-kpis.mjs.map +1 -1
- package/dist/actions/list-group-items.cjs +2 -2
- package/dist/actions/list-group-items.cjs.map +1 -1
- package/dist/actions/list-group-items.d.cts +16 -3
- package/dist/actions/list-group-items.d.cts.map +1 -1
- package/dist/actions/list-group-items.d.mts +16 -3
- package/dist/actions/list-group-items.d.mts.map +1 -1
- package/dist/actions/list-group-items.mjs +2 -2
- package/dist/actions/list-group-items.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +7 -7
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +11 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +11 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +7 -7
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-kpi-categories.cjs +5 -5
- package/dist/actions/list-kpi-categories.cjs.map +1 -1
- package/dist/actions/list-kpi-categories.d.cts +11 -3
- package/dist/actions/list-kpi-categories.d.cts.map +1 -1
- package/dist/actions/list-kpi-categories.d.mts +11 -3
- package/dist/actions/list-kpi-categories.d.mts.map +1 -1
- package/dist/actions/list-kpi-categories.mjs +5 -5
- package/dist/actions/list-kpi-categories.mjs.map +1 -1
- package/dist/actions/list-kpi-entries.cjs +2 -2
- package/dist/actions/list-kpi-entries.cjs.map +1 -1
- package/dist/actions/list-kpi-entries.d.cts +29 -3
- package/dist/actions/list-kpi-entries.d.cts.map +1 -1
- package/dist/actions/list-kpi-entries.d.mts +29 -3
- package/dist/actions/list-kpi-entries.d.mts.map +1 -1
- package/dist/actions/list-kpi-entries.mjs +2 -2
- package/dist/actions/list-kpi-entries.mjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.cjs +4 -4
- package/dist/actions/list-kpi-frequencies.cjs.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.cts +8 -3
- package/dist/actions/list-kpi-frequencies.d.cts.map +1 -1
- package/dist/actions/list-kpi-frequencies.d.mts +8 -3
- package/dist/actions/list-kpi-frequencies.d.mts.map +1 -1
- package/dist/actions/list-kpi-frequencies.mjs +4 -4
- package/dist/actions/list-kpi-frequencies.mjs.map +1 -1
- package/dist/actions/list-kpi-icons.cjs +4 -4
- package/dist/actions/list-kpi-icons.cjs.map +1 -1
- package/dist/actions/list-kpi-icons.d.cts +10 -3
- package/dist/actions/list-kpi-icons.d.cts.map +1 -1
- package/dist/actions/list-kpi-icons.d.mts +10 -3
- package/dist/actions/list-kpi-icons.d.mts.map +1 -1
- package/dist/actions/list-kpi-icons.mjs +4 -4
- package/dist/actions/list-kpi-icons.mjs.map +1 -1
- package/dist/actions/list-kpi-units.cjs +2 -2
- package/dist/actions/list-kpi-units.cjs.map +1 -1
- package/dist/actions/list-kpi-units.d.cts +13 -3
- package/dist/actions/list-kpi-units.d.cts.map +1 -1
- package/dist/actions/list-kpi-units.d.mts +13 -3
- package/dist/actions/list-kpi-units.d.mts.map +1 -1
- package/dist/actions/list-kpi-units.mjs +2 -2
- package/dist/actions/list-kpi-units.mjs.map +1 -1
- package/dist/actions/list-kpis.cjs +2 -2
- package/dist/actions/list-kpis.cjs.map +1 -1
- package/dist/actions/list-kpis.d.cts +21 -3
- package/dist/actions/list-kpis.d.cts.map +1 -1
- package/dist/actions/list-kpis.d.mts +21 -3
- package/dist/actions/list-kpis.d.mts.map +1 -1
- package/dist/actions/list-kpis.mjs +2 -2
- package/dist/actions/list-kpis.mjs.map +1 -1
- package/dist/actions/list-user-group-items.cjs +8 -8
- package/dist/actions/list-user-group-items.cjs.map +1 -1
- package/dist/actions/list-user-group-items.d.cts +16 -3
- package/dist/actions/list-user-group-items.d.cts.map +1 -1
- package/dist/actions/list-user-group-items.d.mts +16 -3
- package/dist/actions/list-user-group-items.d.mts.map +1 -1
- package/dist/actions/list-user-group-items.mjs +8 -8
- package/dist/actions/list-user-group-items.mjs.map +1 -1
- package/dist/actions/list-user-kpis.cjs +7 -7
- package/dist/actions/list-user-kpis.cjs.map +1 -1
- package/dist/actions/list-user-kpis.d.cts +16 -3
- package/dist/actions/list-user-kpis.d.cts.map +1 -1
- package/dist/actions/list-user-kpis.d.mts +16 -3
- package/dist/actions/list-user-kpis.d.mts.map +1 -1
- package/dist/actions/list-user-kpis.mjs +7 -7
- package/dist/actions/list-user-kpis.mjs.map +1 -1
- package/dist/actions/update-category-kpi.cjs +1 -1
- package/dist/actions/update-category-kpi.cjs.map +1 -1
- package/dist/actions/update-category-kpi.d.cts +57 -3
- package/dist/actions/update-category-kpi.d.cts.map +1 -1
- package/dist/actions/update-category-kpi.d.mts +57 -3
- package/dist/actions/update-category-kpi.d.mts.map +1 -1
- package/dist/actions/update-category-kpi.mjs +1 -1
- package/dist/actions/update-category-kpi.mjs.map +1 -1
- package/dist/actions/update-group-item.cjs +1 -1
- package/dist/actions/update-group-item.cjs.map +1 -1
- package/dist/actions/update-group-item.d.cts +18 -3
- package/dist/actions/update-group-item.d.cts.map +1 -1
- package/dist/actions/update-group-item.d.mts +18 -3
- package/dist/actions/update-group-item.d.mts.map +1 -1
- package/dist/actions/update-group-item.mjs +1 -1
- package/dist/actions/update-group-item.mjs.map +1 -1
- package/dist/actions/update-group.cjs +1 -1
- package/dist/actions/update-group.cjs.map +1 -1
- package/dist/actions/update-group.d.cts +15 -3
- package/dist/actions/update-group.d.cts.map +1 -1
- package/dist/actions/update-group.d.mts +15 -3
- package/dist/actions/update-group.d.mts.map +1 -1
- package/dist/actions/update-group.mjs +1 -1
- package/dist/actions/update-group.mjs.map +1 -1
- package/dist/actions/update-kpi-entry.cjs +5 -5
- package/dist/actions/update-kpi-entry.cjs.map +1 -1
- package/dist/actions/update-kpi-entry.d.cts +29 -3
- package/dist/actions/update-kpi-entry.d.cts.map +1 -1
- package/dist/actions/update-kpi-entry.d.mts +29 -3
- package/dist/actions/update-kpi-entry.d.mts.map +1 -1
- package/dist/actions/update-kpi-entry.mjs +5 -5
- package/dist/actions/update-kpi-entry.mjs.map +1 -1
- package/dist/actions/update-kpi-unit.cjs +6 -6
- package/dist/actions/update-kpi-unit.cjs.map +1 -1
- package/dist/actions/update-kpi-unit.d.cts +21 -3
- package/dist/actions/update-kpi-unit.d.cts.map +1 -1
- package/dist/actions/update-kpi-unit.d.mts +21 -3
- package/dist/actions/update-kpi-unit.d.mts.map +1 -1
- package/dist/actions/update-kpi-unit.mjs +6 -6
- package/dist/actions/update-kpi-unit.mjs.map +1 -1
- package/dist/actions/update-kpi.cjs +11 -11
- package/dist/actions/update-kpi.cjs.map +1 -1
- package/dist/actions/update-kpi.d.cts +55 -3
- package/dist/actions/update-kpi.d.cts.map +1 -1
- package/dist/actions/update-kpi.d.mts +55 -3
- package/dist/actions/update-kpi.d.mts.map +1 -1
- package/dist/actions/update-kpi.mjs +11 -11
- package/dist/actions/update-kpi.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +30 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +30 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/catalog.cjs +25 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +24 -0
- package/dist/catalog.d.mts +24 -0
- package/dist/catalog.mjs +25 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["simplekpi","executeSimplekpiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["simplekpi","executeSimplekpiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return simplekpi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSimplekpiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { simplekpi } from \"./app\";\nimport { executeSimplekpiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return simplekpi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSimplekpiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
|
@@ -6,13 +6,13 @@ const SimplekpiAddUserGroupItemInput = zod.z.object({
|
|
|
6
6
|
user_id: zod.z.number().int().describe("The identifier of the user to assign the group item to.")
|
|
7
7
|
}).describe("Request model for assigning a group item to a user.");
|
|
8
8
|
const SimplekpiAddUserGroupItemOutput = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("The group item identifier."),
|
|
9
|
+
id: zod.z.number().int().describe("The group item identifier.").nullable(),
|
|
10
10
|
name: zod.z.string().describe("The name of the group item.").nullable().optional(),
|
|
11
|
-
user_id: zod.z.number().int().describe("The identifier of the user."),
|
|
11
|
+
user_id: zod.z.number().int().describe("The identifier of the user.").nullable(),
|
|
12
12
|
group_id: zod.z.number().int().describe("The identifier of the group this item belongs to.").nullable().optional(),
|
|
13
13
|
created_at: zod.z.string().describe("The timestamp when the user group item assignment was created.").nullable().optional(),
|
|
14
14
|
group_name: zod.z.string().describe("The name of the group.").nullable().optional()
|
|
15
|
-
}).describe("Response model for assigning a group item to a user.");
|
|
15
|
+
}).passthrough().describe("Response model for assigning a group item to a user.");
|
|
16
16
|
const simplekpiAddUserGroupItem = require_action.action("SIMPLEKPI_ADD_USER_GROUP_ITEM", {
|
|
17
17
|
slug: "simplekpi-add-user-group-item",
|
|
18
18
|
name: "Add User Group Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput
|
|
1
|
+
{"version":3,"file":"add-user-group-item.cjs","names":["z","action"],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-user-group-item.d.ts
|
|
4
|
-
declare const SimplekpiAddUserGroupItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiAddUserGroupItemInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
user_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SimplekpiAddUserGroupItemOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
user_id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
group_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const simplekpiAddUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
id: number;
|
|
18
|
+
user_id: number;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { simplekpiAddUserGroupItem };
|
|
9
22
|
//# sourceMappingURL=add-user-group-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-group-item.d.cts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"add-user-group-item.d.cts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-user-group-item.d.ts
|
|
4
|
-
declare const SimplekpiAddUserGroupItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiAddUserGroupItemInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
user_id: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SimplekpiAddUserGroupItemOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
user_id: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
group_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
group_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const simplekpiAddUserGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
id: number;
|
|
18
|
+
user_id: number;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { simplekpiAddUserGroupItem };
|
|
9
22
|
//# sourceMappingURL=add-user-group-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-group-item.d.mts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"add-user-group-item.d.mts","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAS/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -9,13 +9,13 @@ const simplekpiAddUserGroupItem = action("SIMPLEKPI_ADD_USER_GROUP_ITEM", {
|
|
|
9
9
|
user_id: z.number().int().describe("The identifier of the user to assign the group item to.")
|
|
10
10
|
}).describe("Request model for assigning a group item to a user."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
id: z.number().int().describe("The group item identifier."),
|
|
12
|
+
id: z.number().int().describe("The group item identifier.").nullable(),
|
|
13
13
|
name: z.string().describe("The name of the group item.").nullable().optional(),
|
|
14
|
-
user_id: z.number().int().describe("The identifier of the user."),
|
|
14
|
+
user_id: z.number().int().describe("The identifier of the user.").nullable(),
|
|
15
15
|
group_id: z.number().int().describe("The identifier of the group this item belongs to.").nullable().optional(),
|
|
16
16
|
created_at: z.string().describe("The timestamp when the user group item assignment was created.").nullable().optional(),
|
|
17
17
|
group_name: z.string().describe("The name of the group.").nullable().optional()
|
|
18
|
-
}).describe("Response model for assigning a group item to a user.")
|
|
18
|
+
}).passthrough().describe("Response model for assigning a group item to a user.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { simplekpiAddUserGroupItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-group-item.mjs","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput
|
|
1
|
+
{"version":3,"file":"add-user-group-item.mjs","names":[],"sources":["../../src/actions/add-user-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserGroupItemInput = z.object({\n id: z.number().int().describe(\"The group item identifier to assign to the user.\"),\n user_id: z.number().int().describe(\"The identifier of the user to assign the group item to.\"),\n}).describe(\"Request model for assigning a group item to a user.\");\nexport const SimplekpiAddUserGroupItemOutput = z.object({\n id: z.number().int().describe(\"The group item identifier.\").nullable(),\n name: z.string().describe(\"The name of the group item.\").nullable().optional(),\n user_id: z.number().int().describe(\"The identifier of the user.\").nullable(),\n group_id: z.number().int().describe(\"The identifier of the group this item belongs to.\").nullable().optional(),\n created_at: z.string().describe(\"The timestamp when the user group item assignment was created.\").nullable().optional(),\n group_name: z.string().describe(\"The name of the group.\").nullable().optional(),\n}).passthrough().describe(\"Response model for assigning a group item to a user.\");\n\nexport const simplekpiAddUserGroupItem = action(\"SIMPLEKPI_ADD_USER_GROUP_ITEM\", {\n slug: \"simplekpi-add-user-group-item\",\n name: \"Add User Group Item\",\n description: \"Tool to assign a group item to a user in SimpleKPI. Use when you need to add a group item to a specific user's profile.\",\n input: SimplekpiAddUserGroupItemInput,\n output: SimplekpiAddUserGroupItemOutput,\n});\n"],"mappings":";;AAiBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAcH;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const SimplekpiAddUserKpiOutput = zod.z.object({
|
|
|
14
14
|
sort_order: zod.z.number().int().describe("Display order on KPI Entry screen").nullable().optional(),
|
|
15
15
|
updated_at: zod.z.string().describe("UTC timestamp when the assignment was last updated").nullable().optional(),
|
|
16
16
|
user_target: zod.z.number().describe("Custom target value for this user").nullable().optional()
|
|
17
|
-
}).describe("Response containing the assigned user KPI details.");
|
|
17
|
+
}).passthrough().describe("Response containing the assigned user KPI details.");
|
|
18
18
|
const simplekpiAddUserKpi = require_action.action("SIMPLEKPI_ADD_USER_KPI", {
|
|
19
19
|
slug: "simplekpi-add-user-kpi",
|
|
20
20
|
name: "Add User KPI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput
|
|
1
|
+
{"version":3,"file":"add-user-kpi.cjs","names":["z","action"],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,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,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-user-kpi.d.ts
|
|
4
|
-
declare const SimplekpiAddUserKpiInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiAddUserKpiInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
user_id: z.ZodNumber;
|
|
7
|
+
sort_order: z.ZodNumber;
|
|
8
|
+
user_target: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SimplekpiAddUserKpiOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const simplekpiAddUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
id: number;
|
|
20
|
+
user_id: number;
|
|
21
|
+
sort_order: number;
|
|
22
|
+
user_target?: number | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { simplekpiAddUserKpi };
|
|
9
26
|
//# sourceMappingURL=add-user-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-kpi.d.cts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"add-user-kpi.d.cts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-user-kpi.d.ts
|
|
4
|
-
declare const SimplekpiAddUserKpiInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiAddUserKpiInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodNumber;
|
|
6
|
+
user_id: z.ZodNumber;
|
|
7
|
+
sort_order: z.ZodNumber;
|
|
8
|
+
user_target: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const SimplekpiAddUserKpiOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
user_target: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const simplekpiAddUserKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
id: number;
|
|
20
|
+
user_id: number;
|
|
21
|
+
sort_order: number;
|
|
22
|
+
user_target?: number | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { simplekpiAddUserKpi };
|
|
9
26
|
//# sourceMappingURL=add-user-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-kpi.d.mts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"add-user-kpi.d.mts","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cASzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -17,7 +17,7 @@ const simplekpiAddUserKpi = action("SIMPLEKPI_ADD_USER_KPI", {
|
|
|
17
17
|
sort_order: z.number().int().describe("Display order on KPI Entry screen").nullable().optional(),
|
|
18
18
|
updated_at: z.string().describe("UTC timestamp when the assignment was last updated").nullable().optional(),
|
|
19
19
|
user_target: z.number().describe("Custom target value for this user").nullable().optional()
|
|
20
|
-
}).describe("Response containing the assigned user KPI details.")
|
|
20
|
+
}).passthrough().describe("Response containing the assigned user KPI details.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { simplekpiAddUserKpi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-user-kpi.mjs","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput
|
|
1
|
+
{"version":3,"file":"add-user-kpi.mjs","names":[],"sources":["../../src/actions/add-user-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiAddUserKpiInput = z.object({\n id: z.number().int().describe(\"KPI ID to assign to the user\"),\n user_id: z.number().int().describe(\"User ID to assign the KPI to\"),\n sort_order: z.number().int().describe(\"Display order of the KPI on the KPI Entry screen for this user\"),\n user_target: z.number().describe(\"User-specific target value for this KPI (optional). Overrides the default KPI target for this user\").optional(),\n}).describe(\"Request to assign a KPI to a user in SimpleKPI.\");\nexport const SimplekpiAddUserKpiOutput = z.object({\n id: z.number().int().describe(\"KPI identifier\").nullable().optional(),\n user_id: z.number().int().describe(\"User ID the KPI is assigned to\").nullable().optional(),\n created_at: z.string().describe(\"UTC timestamp when the assignment was created\").nullable().optional(),\n sort_order: z.number().int().describe(\"Display order on KPI Entry screen\").nullable().optional(),\n updated_at: z.string().describe(\"UTC timestamp when the assignment was last updated\").nullable().optional(),\n user_target: z.number().describe(\"Custom target value for this user\").nullable().optional(),\n}).passthrough().describe(\"Response containing the assigned user KPI details.\");\n\nexport const simplekpiAddUserKpi = action(\"SIMPLEKPI_ADD_USER_KPI\", {\n slug: \"simplekpi-add-user-kpi\",\n name: \"Add User KPI\",\n description: \"Tool to assign a KPI to a user in SimpleKPI. Use when you need to link a KPI to a specific user with optional custom target and display order.\",\n input: SimplekpiAddUserKpiInput,\n output: SimplekpiAddUserKpiOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAClJ,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAduC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -27,7 +27,7 @@ const SimplekpiCreateCategoryKpiOutput = zod.z.object({
|
|
|
27
27
|
frequency_id: zod.z.string().describe("The frequency ID for this KPI").nullable().optional(),
|
|
28
28
|
value_direction: zod.z.string().describe("The value direction indicator").nullable().optional(),
|
|
29
29
|
aggregate_function: zod.z.string().describe("The aggregate function for this KPI").nullable().optional()
|
|
30
|
-
}).describe("Response model after creating a KPI in a category.");
|
|
30
|
+
}).passthrough().describe("Response model after creating a KPI in a category.");
|
|
31
31
|
const simplekpiCreateCategoryKpi = require_action.action("SIMPLEKPI_CREATE_CATEGORY_KPI", {
|
|
32
32
|
slug: "simplekpi-create-category-kpi",
|
|
33
33
|
name: "Create Category KPI",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput
|
|
1
|
+
{"version":3,"file":"create-category-kpi.cjs","names":["z","action"],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CAC5I,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;CACnJ,oBAAoBA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/H,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-category-kpi.d.ts
|
|
4
|
-
declare const SimplekpiCreateCategoryKpiInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiCreateCategoryKpiInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
icon_id: z.ZodNumber;
|
|
7
|
+
unit_id: z.ZodNumber;
|
|
8
|
+
is_active: z.ZodBoolean;
|
|
9
|
+
sort_order: z.ZodNumber;
|
|
10
|
+
category_id: z.ZodNumber;
|
|
11
|
+
frequency_id: z.ZodString;
|
|
12
|
+
value_direction: z.ZodEnum<{
|
|
13
|
+
U: "U";
|
|
14
|
+
D: "D";
|
|
15
|
+
N: "N";
|
|
16
|
+
}>;
|
|
17
|
+
aggregate_function: z.ZodEnum<{
|
|
18
|
+
AVG: "AVG";
|
|
19
|
+
SUM: "SUM";
|
|
20
|
+
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const SimplekpiCreateCategoryKpiOutput: z.ZodObject<{
|
|
23
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
icon_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
unit_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
frequency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const simplekpiCreateCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
+
name: string;
|
|
36
|
+
icon_id: number;
|
|
37
|
+
unit_id: number;
|
|
38
|
+
is_active: boolean;
|
|
39
|
+
sort_order: number;
|
|
40
|
+
category_id: number;
|
|
41
|
+
frequency_id: string;
|
|
42
|
+
value_direction: "U" | "D" | "N";
|
|
43
|
+
aggregate_function: "AVG" | "SUM";
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { simplekpiCreateCategoryKpi };
|
|
9
47
|
//# sourceMappingURL=create-category-kpi.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category-kpi.d.cts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"create-category-kpi.d.cts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-category-kpi.d.ts
|
|
4
|
-
declare const SimplekpiCreateCategoryKpiInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiCreateCategoryKpiInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
icon_id: z.ZodNumber;
|
|
7
|
+
unit_id: z.ZodNumber;
|
|
8
|
+
is_active: z.ZodBoolean;
|
|
9
|
+
sort_order: z.ZodNumber;
|
|
10
|
+
category_id: z.ZodNumber;
|
|
11
|
+
frequency_id: z.ZodString;
|
|
12
|
+
value_direction: z.ZodEnum<{
|
|
13
|
+
U: "U";
|
|
14
|
+
D: "D";
|
|
15
|
+
N: "N";
|
|
16
|
+
}>;
|
|
17
|
+
aggregate_function: z.ZodEnum<{
|
|
18
|
+
AVG: "AVG";
|
|
19
|
+
SUM: "SUM";
|
|
20
|
+
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const SimplekpiCreateCategoryKpiOutput: z.ZodObject<{
|
|
23
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
icon_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
unit_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
28
|
+
sort_order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
category_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
frequency_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
value_direction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
aggregate_function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
|
+
declare const simplekpiCreateCategoryKpi: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
+
name: string;
|
|
36
|
+
icon_id: number;
|
|
37
|
+
unit_id: number;
|
|
38
|
+
is_active: boolean;
|
|
39
|
+
sort_order: number;
|
|
40
|
+
category_id: number;
|
|
41
|
+
frequency_id: string;
|
|
42
|
+
value_direction: "U" | "D" | "N";
|
|
43
|
+
aggregate_function: "AVG" | "SUM";
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { simplekpiCreateCategoryKpi };
|
|
9
47
|
//# sourceMappingURL=create-category-kpi.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category-kpi.d.mts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"create-category-kpi.d.mts","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAahC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -30,7 +30,7 @@ const simplekpiCreateCategoryKpi = action("SIMPLEKPI_CREATE_CATEGORY_KPI", {
|
|
|
30
30
|
frequency_id: z.string().describe("The frequency ID for this KPI").nullable().optional(),
|
|
31
31
|
value_direction: z.string().describe("The value direction indicator").nullable().optional(),
|
|
32
32
|
aggregate_function: z.string().describe("The aggregate function for this KPI").nullable().optional()
|
|
33
|
-
}).describe("Response model after creating a KPI in a category.")
|
|
33
|
+
}).passthrough().describe("Response model after creating a KPI in a category.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { simplekpiCreateCategoryKpi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category-kpi.mjs","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput
|
|
1
|
+
{"version":3,"file":"create-category-kpi.mjs","names":[],"sources":["../../src/actions/create-category-kpi.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateCategoryKpiInput = z.object({\n name: z.string().describe(\"Name of the KPI (maximum 100 characters)\"),\n icon_id: z.number().int().describe(\"The ID of the icon to use for this KPI\"),\n unit_id: z.number().int().describe(\"The ID of the unit of measurement for this KPI\"),\n is_active: z.boolean().describe(\"Whether the KPI is active and visible\"),\n sort_order: z.number().int().describe(\"Display order position for this KPI within the category\"),\n category_id: z.number().int().describe(\"The ID of the category where the KPI will be created\"),\n frequency_id: z.string().describe(\"Frequency ID as a single uppercase letter: D (daily), W (weekly), M (monthly), Q (quarterly), Y (yearly)\"),\n value_direction: z.enum([\"U\", \"D\", \"N\"]).describe(\"Indicates whether higher (U) or lower (D) values are better, or if direction doesn't matter (N)\"),\n aggregate_function: z.enum([\"AVG\", \"SUM\"]).describe(\"Function to use when aggregating KPI values: AVG (average) or SUM (sum)\"),\n}).describe(\"Request model for creating a new KPI within a category.\");\nexport const SimplekpiCreateCategoryKpiOutput = z.object({\n id: z.number().int().describe(\"The unique ID of the newly created KPI\").nullable().optional(),\n name: z.string().describe(\"The name of the created KPI\").nullable().optional(),\n icon_id: z.number().int().describe(\"The icon ID for this KPI\").nullable().optional(),\n unit_id: z.number().int().describe(\"The unit ID for this KPI\").nullable().optional(),\n is_active: z.boolean().describe(\"Whether the KPI is active\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order position\").nullable().optional(),\n category_id: z.number().int().describe(\"The ID of the category containing this KPI\").nullable().optional(),\n frequency_id: z.string().describe(\"The frequency ID for this KPI\").nullable().optional(),\n value_direction: z.string().describe(\"The value direction indicator\").nullable().optional(),\n aggregate_function: z.string().describe(\"The aggregate function for this KPI\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating a KPI in a category.\");\n\nexport const simplekpiCreateCategoryKpi = action(\"SIMPLEKPI_CREATE_CATEGORY_KPI\", {\n slug: \"simplekpi-create-category-kpi\",\n name: \"Create Category KPI\",\n description: \"Tool to create a new KPI within a category in SimpleKPI. Use when you need to add a new performance indicator to track metrics like sales, revenue, or customer satisfaction.\",\n input: SimplekpiCreateCategoryKpiInput,\n output: SimplekpiCreateCategoryKpiOutput,\n});\n"],"mappings":";;AA4BA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EAC5I,iBAAiB,EAAE,KAAK;GAAC;GAAK;GAAK;EAAG,CAAC,CAAC,CAAC,SAAS,iGAAiG;EACnJ,oBAAoB,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,SAAS,yEAAyE;CAC/H,CAAC,CAAC,CAAC,SAAS,yDAkBH;CACP,QAlB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -7,13 +7,13 @@ const SimplekpiCreateGroupItemInput = zod.z.object({
|
|
|
7
7
|
sort_order: zod.z.number().int().describe("The display order of the item within the group")
|
|
8
8
|
});
|
|
9
9
|
const SimplekpiCreateGroupItemOutput = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Automatically assigned unique identifier for the group item"),
|
|
11
|
-
name: zod.z.string().describe("The name of the group item"),
|
|
12
|
-
group_id: zod.z.number().int().describe("The ID of the group this item belongs to"),
|
|
10
|
+
id: zod.z.number().int().describe("Automatically assigned unique identifier for the group item").nullable(),
|
|
11
|
+
name: zod.z.string().describe("The name of the group item").nullable(),
|
|
12
|
+
group_id: zod.z.number().int().describe("The ID of the group this item belongs to").nullable(),
|
|
13
13
|
created_at: zod.z.string().describe("The UTC date and time when the item was created (ISO 8601 format)").nullable().optional(),
|
|
14
|
-
sort_order: zod.z.number().int().describe("The display order of the item within the group"),
|
|
14
|
+
sort_order: zod.z.number().int().describe("The display order of the item within the group").nullable(),
|
|
15
15
|
updated_at: zod.z.string().describe("The UTC date and time of the last update to the item (ISO 8601 format)").nullable().optional()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const simplekpiCreateGroupItem = require_action.action("SIMPLEKPI_CREATE_GROUP_ITEM", {
|
|
18
18
|
slug: "simplekpi-create-group-item",
|
|
19
19
|
name: "Create Group Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group-item.cjs","names":["z","action"],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput
|
|
1
|
+
{"version":3,"file":"create-group-item.cjs","names":["z","action"],"sources":["../../src/actions/create-group-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimplekpiCreateGroupItemInput = z.object({\n name: z.string().describe(\"The name of the group item (maximum 100 characters)\"),\n group_id: z.number().int().describe(\"The ID of the group to create the item in\"),\n sort_order: z.number().int().describe(\"The display order of the item within the group\"),\n});\nexport const SimplekpiCreateGroupItemOutput = z.object({\n id: z.number().int().describe(\"Automatically assigned unique identifier for the group item\").nullable(),\n name: z.string().describe(\"The name of the group item\").nullable(),\n group_id: z.number().int().describe(\"The ID of the group this item belongs to\").nullable(),\n created_at: z.string().describe(\"The UTC date and time when the item was created (ISO 8601 format)\").nullable().optional(),\n sort_order: z.number().int().describe(\"The display order of the item within the group\").nullable(),\n updated_at: z.string().describe(\"The UTC date and time of the last update to the item (ISO 8601 format)\").nullable().optional(),\n}).passthrough();\n\nexport const simplekpiCreateGroupItem = action(\"SIMPLEKPI_CREATE_GROUP_ITEM\", {\n slug: \"simplekpi-create-group-item\",\n name: \"Create Group Item\",\n description: \"Tool to create a new item within a group in SimpleKPI. Use when you need to add a new item to an existing group for organizing KPIs or data.\",\n input: SimplekpiCreateGroupItemInput,\n output: SimplekpiCreateGroupItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;AACxF,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACtG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-group-item.d.ts
|
|
4
|
-
declare const SimplekpiCreateGroupItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiCreateGroupItemInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
group_id: z.ZodNumber;
|
|
7
|
+
sort_order: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SimplekpiCreateGroupItemOutput: z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
group_id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const simplekpiCreateGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
name: string;
|
|
19
|
+
group_id: number;
|
|
20
|
+
sort_order: number;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { simplekpiCreateGroupItem };
|
|
9
24
|
//# sourceMappingURL=create-group-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group-item.d.cts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"create-group-item.d.cts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-group-item.d.ts
|
|
4
|
-
declare const SimplekpiCreateGroupItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SimplekpiCreateGroupItemInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
group_id: z.ZodNumber;
|
|
7
|
+
sort_order: z.ZodNumber;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SimplekpiCreateGroupItemOutput: z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
group_id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
sort_order: z.ZodNullable<z.ZodNumber>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const simplekpiCreateGroupItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
name: string;
|
|
19
|
+
group_id: number;
|
|
20
|
+
sort_order: number;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { simplekpiCreateGroupItem };
|
|
9
24
|
//# sourceMappingURL=create-group-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-group-item.d.mts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"create-group-item.d.mts","names":[],"sources":["../../src/actions/create-group-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -10,13 +10,13 @@ const simplekpiCreateGroupItem = action("SIMPLEKPI_CREATE_GROUP_ITEM", {
|
|
|
10
10
|
sort_order: z.number().int().describe("The display order of the item within the group")
|
|
11
11
|
}),
|
|
12
12
|
output: z.object({
|
|
13
|
-
id: z.number().int().describe("Automatically assigned unique identifier for the group item"),
|
|
14
|
-
name: z.string().describe("The name of the group item"),
|
|
15
|
-
group_id: z.number().int().describe("The ID of the group this item belongs to"),
|
|
13
|
+
id: z.number().int().describe("Automatically assigned unique identifier for the group item").nullable(),
|
|
14
|
+
name: z.string().describe("The name of the group item").nullable(),
|
|
15
|
+
group_id: z.number().int().describe("The ID of the group this item belongs to").nullable(),
|
|
16
16
|
created_at: z.string().describe("The UTC date and time when the item was created (ISO 8601 format)").nullable().optional(),
|
|
17
|
-
sort_order: z.number().int().describe("The display order of the item within the group"),
|
|
17
|
+
sort_order: z.number().int().describe("The display order of the item within the group").nullable(),
|
|
18
18
|
updated_at: z.string().describe("The UTC date and time of the last update to the item (ISO 8601 format)").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { simplekpiCreateGroupItem };
|