@keystrokehq/spoki 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-contact-operator.cjs +1 -0
- package/dist/actions/add-contact-operator.cjs.map +1 -1
- package/dist/actions/add-contact-operator.d.cts +3 -16
- package/dist/actions/add-contact-operator.d.cts.map +1 -1
- package/dist/actions/add-contact-operator.d.mts +3 -16
- package/dist/actions/add-contact-operator.d.mts.map +1 -1
- package/dist/actions/add-contact-operator.mjs +1 -0
- package/dist/actions/add-contact-operator.mjs.map +1 -1
- package/dist/actions/add-service-user.cjs +1 -0
- package/dist/actions/add-service-user.cjs.map +1 -1
- package/dist/actions/add-service-user.d.cts +3 -16
- package/dist/actions/add-service-user.d.cts.map +1 -1
- package/dist/actions/add-service-user.d.mts +3 -16
- package/dist/actions/add-service-user.d.mts.map +1 -1
- package/dist/actions/add-service-user.mjs +1 -0
- package/dist/actions/add-service-user.mjs.map +1 -1
- package/dist/actions/check-role-private-key.cjs +1 -0
- package/dist/actions/check-role-private-key.cjs.map +1 -1
- package/dist/actions/check-role-private-key.d.cts +3 -15
- package/dist/actions/check-role-private-key.d.cts.map +1 -1
- package/dist/actions/check-role-private-key.d.mts +3 -15
- package/dist/actions/check-role-private-key.d.mts.map +1 -1
- package/dist/actions/check-role-private-key.mjs +1 -0
- package/dist/actions/check-role-private-key.mjs.map +1 -1
- package/dist/actions/clone-template.cjs +1 -0
- package/dist/actions/clone-template.cjs.map +1 -1
- package/dist/actions/clone-template.d.cts +3 -15
- package/dist/actions/clone-template.d.cts.map +1 -1
- package/dist/actions/clone-template.d.mts +3 -15
- package/dist/actions/clone-template.d.mts.map +1 -1
- package/dist/actions/clone-template.mjs +1 -0
- package/dist/actions/clone-template.mjs.map +1 -1
- package/dist/actions/create-account-onboarding-link.cjs +1 -0
- package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
- package/dist/actions/create-account-onboarding-link.d.cts +3 -15
- package/dist/actions/create-account-onboarding-link.d.cts.map +1 -1
- package/dist/actions/create-account-onboarding-link.d.mts +3 -15
- package/dist/actions/create-account-onboarding-link.d.mts.map +1 -1
- package/dist/actions/create-account-onboarding-link.mjs +1 -0
- package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -0
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +3 -18
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +3 -18
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +1 -0
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-list.cjs +1 -0
- package/dist/actions/create-list.cjs.map +1 -1
- package/dist/actions/create-list.d.cts +3 -15
- package/dist/actions/create-list.d.cts.map +1 -1
- package/dist/actions/create-list.d.mts +3 -15
- package/dist/actions/create-list.d.mts.map +1 -1
- package/dist/actions/create-list.mjs +1 -0
- package/dist/actions/create-list.mjs.map +1 -1
- package/dist/actions/create-media.cjs +1 -0
- package/dist/actions/create-media.cjs.map +1 -1
- package/dist/actions/create-media.d.cts +3 -18
- package/dist/actions/create-media.d.cts.map +1 -1
- package/dist/actions/create-media.d.mts +3 -18
- package/dist/actions/create-media.d.mts.map +1 -1
- package/dist/actions/create-media.mjs +1 -0
- package/dist/actions/create-media.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +1 -0
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +3 -20
- package/dist/actions/create-or-update-contact.d.cts.map +1 -1
- package/dist/actions/create-or-update-contact.d.mts +3 -20
- package/dist/actions/create-or-update-contact.d.mts.map +1 -1
- package/dist/actions/create-or-update-contact.mjs +1 -0
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -32
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -32
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +1 -0
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +3 -20
- package/dist/actions/create-ticket.d.cts.map +1 -1
- package/dist/actions/create-ticket.d.mts +3 -20
- package/dist/actions/create-ticket.d.mts.map +1 -1
- package/dist/actions/create-ticket.mjs +1 -0
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -15
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -15
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -0
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +3 -15
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +3 -15
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -0
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-list.cjs +1 -0
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +3 -15
- package/dist/actions/delete-list.d.cts.map +1 -1
- package/dist/actions/delete-list.d.mts +3 -15
- package/dist/actions/delete-list.d.mts.map +1 -1
- package/dist/actions/delete-list.mjs +1 -0
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-media.cjs +1 -0
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +3 -15
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +3 -15
- package/dist/actions/delete-media.d.mts.map +1 -1
- package/dist/actions/delete-media.mjs +1 -0
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-role.cjs +1 -0
- package/dist/actions/delete-role.cjs.map +1 -1
- package/dist/actions/delete-role.d.cts +3 -15
- package/dist/actions/delete-role.d.cts.map +1 -1
- package/dist/actions/delete-role.d.mts +3 -15
- package/dist/actions/delete-role.d.mts.map +1 -1
- package/dist/actions/delete-role.mjs +1 -0
- package/dist/actions/delete-role.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -16
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -16
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-ticket.cjs +1 -0
- package/dist/actions/delete-ticket.cjs.map +1 -1
- package/dist/actions/delete-ticket.d.cts +3 -15
- package/dist/actions/delete-ticket.d.cts.map +1 -1
- package/dist/actions/delete-ticket.d.mts +3 -15
- package/dist/actions/delete-ticket.d.mts.map +1 -1
- package/dist/actions/delete-ticket.mjs +1 -0
- package/dist/actions/delete-ticket.mjs.map +1 -1
- package/dist/actions/generate-role-private-key.cjs +1 -0
- package/dist/actions/generate-role-private-key.cjs.map +1 -1
- package/dist/actions/generate-role-private-key.d.cts +3 -15
- package/dist/actions/generate-role-private-key.d.cts.map +1 -1
- package/dist/actions/generate-role-private-key.d.mts +3 -15
- package/dist/actions/generate-role-private-key.d.mts.map +1 -1
- package/dist/actions/generate-role-private-key.mjs +1 -0
- package/dist/actions/generate-role-private-key.mjs.map +1 -1
- package/dist/actions/get-account-current-report.cjs +1 -0
- package/dist/actions/get-account-current-report.cjs.map +1 -1
- package/dist/actions/get-account-current-report.d.cts +3 -15
- package/dist/actions/get-account-current-report.d.cts.map +1 -1
- package/dist/actions/get-account-current-report.d.mts +3 -15
- package/dist/actions/get-account-current-report.d.mts.map +1 -1
- package/dist/actions/get-account-current-report.mjs +1 -0
- package/dist/actions/get-account-current-report.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +1 -0
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +3 -16
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +3 -16
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +1 -0
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-agencies.cjs +1 -0
- package/dist/actions/list-agencies.cjs.map +1 -1
- package/dist/actions/list-agencies.d.cts +3 -13
- package/dist/actions/list-agencies.d.cts.map +1 -1
- package/dist/actions/list-agencies.d.mts +3 -13
- package/dist/actions/list-agencies.d.mts.map +1 -1
- package/dist/actions/list-agencies.mjs +1 -0
- package/dist/actions/list-agencies.mjs.map +1 -1
- package/dist/actions/list-automations.cjs +1 -0
- package/dist/actions/list-automations.cjs.map +1 -1
- package/dist/actions/list-automations.d.cts +3 -17
- package/dist/actions/list-automations.d.cts.map +1 -1
- package/dist/actions/list-automations.d.mts +3 -17
- package/dist/actions/list-automations.d.mts.map +1 -1
- package/dist/actions/list-automations.mjs +1 -0
- package/dist/actions/list-automations.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -18
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -18
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -24
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -24
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +1 -0
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +3 -16
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +3 -16
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +1 -0
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-lists.cjs +1 -0
- package/dist/actions/list-lists.cjs.map +1 -1
- package/dist/actions/list-lists.d.cts +3 -17
- package/dist/actions/list-lists.d.cts.map +1 -1
- package/dist/actions/list-lists.d.mts +3 -17
- package/dist/actions/list-lists.d.mts.map +1 -1
- package/dist/actions/list-lists.mjs +1 -0
- package/dist/actions/list-lists.mjs.map +1 -1
- package/dist/actions/list-media.cjs +1 -0
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +3 -16
- package/dist/actions/list-media.d.cts.map +1 -1
- package/dist/actions/list-media.d.mts +3 -16
- package/dist/actions/list-media.d.mts.map +1 -1
- package/dist/actions/list-media.mjs +1 -0
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-partners.cjs +1 -0
- package/dist/actions/list-partners.cjs.map +1 -1
- package/dist/actions/list-partners.d.cts +3 -13
- package/dist/actions/list-partners.d.cts.map +1 -1
- package/dist/actions/list-partners.d.mts +3 -13
- package/dist/actions/list-partners.d.mts.map +1 -1
- package/dist/actions/list-partners.mjs +1 -0
- package/dist/actions/list-partners.mjs.map +1 -1
- package/dist/actions/list-reports.cjs +1 -0
- package/dist/actions/list-reports.cjs.map +1 -1
- package/dist/actions/list-reports.d.cts +3 -19
- package/dist/actions/list-reports.d.cts.map +1 -1
- package/dist/actions/list-reports.d.mts +3 -19
- package/dist/actions/list-reports.d.mts.map +1 -1
- package/dist/actions/list-reports.mjs +1 -0
- package/dist/actions/list-reports.mjs.map +1 -1
- package/dist/actions/list-roles.cjs +1 -0
- package/dist/actions/list-roles.cjs.map +1 -1
- package/dist/actions/list-roles.d.cts +3 -13
- package/dist/actions/list-roles.d.cts.map +1 -1
- package/dist/actions/list-roles.d.mts +3 -13
- package/dist/actions/list-roles.d.mts.map +1 -1
- package/dist/actions/list-roles.mjs +1 -0
- package/dist/actions/list-roles.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +1 -0
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +3 -13
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +3 -13
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +1 -0
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -15
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -15
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-tickets.cjs +1 -0
- package/dist/actions/list-tickets.cjs.map +1 -1
- package/dist/actions/list-tickets.d.cts +3 -18
- package/dist/actions/list-tickets.d.cts.map +1 -1
- package/dist/actions/list-tickets.d.mts +3 -18
- package/dist/actions/list-tickets.d.mts.map +1 -1
- package/dist/actions/list-tickets.mjs +1 -0
- package/dist/actions/list-tickets.mjs.map +1 -1
- package/dist/actions/remove-all-list-contacts.cjs +1 -0
- package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
- package/dist/actions/remove-all-list-contacts.d.cts +3 -15
- package/dist/actions/remove-all-list-contacts.d.cts.map +1 -1
- package/dist/actions/remove-all-list-contacts.d.mts +3 -15
- package/dist/actions/remove-all-list-contacts.d.mts.map +1 -1
- package/dist/actions/remove-all-list-contacts.mjs +1 -0
- package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
- package/dist/actions/remove-contact-operator.cjs +1 -0
- package/dist/actions/remove-contact-operator.cjs.map +1 -1
- package/dist/actions/remove-contact-operator.d.cts +3 -16
- package/dist/actions/remove-contact-operator.d.cts.map +1 -1
- package/dist/actions/remove-contact-operator.d.mts +3 -16
- package/dist/actions/remove-contact-operator.d.mts.map +1 -1
- package/dist/actions/remove-contact-operator.mjs +1 -0
- package/dist/actions/remove-contact-operator.mjs.map +1 -1
- package/dist/actions/remove-list-contacts.cjs +1 -0
- package/dist/actions/remove-list-contacts.cjs.map +1 -1
- package/dist/actions/remove-list-contacts.d.cts +3 -16
- package/dist/actions/remove-list-contacts.d.cts.map +1 -1
- package/dist/actions/remove-list-contacts.d.mts +3 -16
- package/dist/actions/remove-list-contacts.d.mts.map +1 -1
- package/dist/actions/remove-list-contacts.mjs +1 -0
- package/dist/actions/remove-list-contacts.mjs.map +1 -1
- package/dist/actions/resend-invitation.cjs +1 -0
- package/dist/actions/resend-invitation.cjs.map +1 -1
- package/dist/actions/resend-invitation.d.cts +3 -15
- package/dist/actions/resend-invitation.d.cts.map +1 -1
- package/dist/actions/resend-invitation.d.mts +3 -15
- package/dist/actions/resend-invitation.d.mts.map +1 -1
- package/dist/actions/resend-invitation.mjs +1 -0
- package/dist/actions/resend-invitation.mjs.map +1 -1
- package/dist/actions/retrieve-account.cjs +1 -0
- package/dist/actions/retrieve-account.cjs.map +1 -1
- package/dist/actions/retrieve-account.d.cts +3 -15
- package/dist/actions/retrieve-account.d.cts.map +1 -1
- package/dist/actions/retrieve-account.d.mts +3 -15
- package/dist/actions/retrieve-account.d.mts.map +1 -1
- package/dist/actions/retrieve-account.mjs +1 -0
- package/dist/actions/retrieve-account.mjs.map +1 -1
- package/dist/actions/retrieve-automation.cjs +1 -0
- package/dist/actions/retrieve-automation.cjs.map +1 -1
- package/dist/actions/retrieve-automation.d.cts +3 -15
- package/dist/actions/retrieve-automation.d.cts.map +1 -1
- package/dist/actions/retrieve-automation.d.mts +3 -15
- package/dist/actions/retrieve-automation.d.mts.map +1 -1
- package/dist/actions/retrieve-automation.mjs +1 -0
- package/dist/actions/retrieve-automation.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +1 -0
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +3 -15
- package/dist/actions/retrieve-contact.d.cts.map +1 -1
- package/dist/actions/retrieve-contact.d.mts +3 -15
- package/dist/actions/retrieve-contact.d.mts.map +1 -1
- package/dist/actions/retrieve-contact.mjs +1 -0
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-custom-field.cjs +1 -0
- package/dist/actions/retrieve-custom-field.cjs.map +1 -1
- package/dist/actions/retrieve-custom-field.d.cts +3 -15
- package/dist/actions/retrieve-custom-field.d.cts.map +1 -1
- package/dist/actions/retrieve-custom-field.d.mts +3 -15
- package/dist/actions/retrieve-custom-field.d.mts.map +1 -1
- package/dist/actions/retrieve-custom-field.mjs +1 -0
- package/dist/actions/retrieve-custom-field.mjs.map +1 -1
- package/dist/actions/retrieve-list.cjs +1 -0
- package/dist/actions/retrieve-list.cjs.map +1 -1
- package/dist/actions/retrieve-list.d.cts +3 -15
- package/dist/actions/retrieve-list.d.cts.map +1 -1
- package/dist/actions/retrieve-list.d.mts +3 -15
- package/dist/actions/retrieve-list.d.mts.map +1 -1
- package/dist/actions/retrieve-list.mjs +1 -0
- package/dist/actions/retrieve-list.mjs.map +1 -1
- package/dist/actions/retrieve-media.cjs +1 -0
- package/dist/actions/retrieve-media.cjs.map +1 -1
- package/dist/actions/retrieve-media.d.cts +3 -15
- package/dist/actions/retrieve-media.d.cts.map +1 -1
- package/dist/actions/retrieve-media.d.mts +3 -15
- package/dist/actions/retrieve-media.d.mts.map +1 -1
- package/dist/actions/retrieve-media.mjs +1 -0
- package/dist/actions/retrieve-media.mjs.map +1 -1
- package/dist/actions/retrieve-role.cjs +1 -0
- package/dist/actions/retrieve-role.cjs.map +1 -1
- package/dist/actions/retrieve-role.d.cts +3 -15
- package/dist/actions/retrieve-role.d.cts.map +1 -1
- package/dist/actions/retrieve-role.d.mts +3 -15
- package/dist/actions/retrieve-role.d.mts.map +1 -1
- package/dist/actions/retrieve-role.mjs +1 -0
- package/dist/actions/retrieve-role.mjs.map +1 -1
- package/dist/actions/retrieve-tag.cjs +1 -0
- package/dist/actions/retrieve-tag.cjs.map +1 -1
- package/dist/actions/retrieve-tag.d.cts +3 -15
- package/dist/actions/retrieve-tag.d.cts.map +1 -1
- package/dist/actions/retrieve-tag.d.mts +3 -15
- package/dist/actions/retrieve-tag.d.mts.map +1 -1
- package/dist/actions/retrieve-tag.mjs +1 -0
- package/dist/actions/retrieve-tag.mjs.map +1 -1
- package/dist/actions/retrieve-template.cjs +1 -0
- package/dist/actions/retrieve-template.cjs.map +1 -1
- package/dist/actions/retrieve-template.d.cts +3 -15
- package/dist/actions/retrieve-template.d.cts.map +1 -1
- package/dist/actions/retrieve-template.d.mts +3 -15
- package/dist/actions/retrieve-template.d.mts.map +1 -1
- package/dist/actions/retrieve-template.mjs +1 -0
- package/dist/actions/retrieve-template.mjs.map +1 -1
- package/dist/actions/revert-template-to-draft.cjs +1 -0
- package/dist/actions/revert-template-to-draft.cjs.map +1 -1
- package/dist/actions/revert-template-to-draft.d.cts +3 -15
- package/dist/actions/revert-template-to-draft.d.cts.map +1 -1
- package/dist/actions/revert-template-to-draft.d.mts +3 -15
- package/dist/actions/revert-template-to-draft.d.mts.map +1 -1
- package/dist/actions/revert-template-to-draft.mjs +1 -0
- package/dist/actions/revert-template-to-draft.mjs.map +1 -1
- package/dist/actions/sync-contacts-bulk.cjs +1 -0
- package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
- package/dist/actions/sync-contacts-bulk.d.cts +3 -23
- package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
- package/dist/actions/sync-contacts-bulk.d.mts +3 -23
- package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
- package/dist/actions/sync-contacts-bulk.mjs +1 -0
- package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
- package/dist/actions/sync-list-contacts.cjs +1 -0
- package/dist/actions/sync-list-contacts.cjs.map +1 -1
- package/dist/actions/sync-list-contacts.d.cts +3 -24
- package/dist/actions/sync-list-contacts.d.cts.map +1 -1
- package/dist/actions/sync-list-contacts.d.mts +3 -24
- package/dist/actions/sync-list-contacts.d.mts.map +1 -1
- package/dist/actions/sync-list-contacts.mjs +1 -0
- package/dist/actions/sync-list-contacts.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -0
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -18
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -18
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -0
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -21
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -21
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +1 -0
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +3 -16
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +3 -16
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +1 -0
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-invitation-role.cjs +1 -0
- package/dist/actions/update-invitation-role.cjs.map +1 -1
- package/dist/actions/update-invitation-role.d.cts +3 -16
- package/dist/actions/update-invitation-role.d.cts.map +1 -1
- package/dist/actions/update-invitation-role.d.mts +3 -16
- package/dist/actions/update-invitation-role.d.mts.map +1 -1
- package/dist/actions/update-invitation-role.mjs +1 -0
- package/dist/actions/update-invitation-role.mjs.map +1 -1
- package/dist/actions/update-media.cjs +1 -0
- package/dist/actions/update-media.cjs.map +1 -1
- package/dist/actions/update-media.d.cts +3 -16
- package/dist/actions/update-media.d.cts.map +1 -1
- package/dist/actions/update-media.d.mts +3 -16
- package/dist/actions/update-media.d.mts.map +1 -1
- package/dist/actions/update-media.mjs +1 -0
- package/dist/actions/update-media.mjs.map +1 -1
- package/dist/actions/update-role.cjs +1 -0
- package/dist/actions/update-role.cjs.map +1 -1
- package/dist/actions/update-role.d.cts +3 -16
- package/dist/actions/update-role.d.cts.map +1 -1
- package/dist/actions/update-role.d.mts +3 -16
- package/dist/actions/update-role.d.mts.map +1 -1
- package/dist/actions/update-role.mjs +1 -0
- package/dist/actions/update-role.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -46
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -46
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.d.mts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-media.d.mts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAcnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).passthrough().describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).passthrough().describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia: AppAction<\n typeof SpokiListMediaInput,\n typeof SpokiListMediaOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAQ7D,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4BAA4B;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-partners.cjs","names":["z","action"],"sources":["../../src/actions/list-partners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListPartnersInput = z.object({}).describe(\"Request model for listing partners. No parameters required.\");\nexport const SpokiListPartnersOutput = z.unknown();\n\nexport const spokiListPartners = action(\"SPOKI_LIST_PARTNERS\", {\n slug: \"spoki-list-partners\",\n name: \"List Partners\",\n description: \"List all partners accessible to the authenticated account. Partners represent business partners or affiliates associated with your Spoki account.\",\n input: SpokiListPartnersInput,\n output: SpokiListPartnersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-partners.cjs","names":["z","action"],"sources":["../../src/actions/list-partners.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListPartnersInput = z.object({}).describe(\"Request model for listing partners. No parameters required.\");\nexport const SpokiListPartnersOutput = z.unknown();\n\nexport const spokiListPartners: AppAction<\n typeof SpokiListPartnersInput,\n typeof SpokiListPartnersOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_PARTNERS\", {\n slug: \"spoki-list-partners\",\n name: \"List Partners\",\n description: \"List all partners accessible to the authenticated account. Partners represent business partners or affiliates associated with your Spoki account.\",\n input: SpokiListPartnersInput,\n output: SpokiListPartnersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzH,MAAa,0BAA0BA,IAAAA,EAAE,QAAQ;AAEjD,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { spoki } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-partners.d.ts
|
|
4
6
|
declare const SpokiListPartnersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const SpokiListPartnersOutput: z.ZodUnknown;
|
|
6
|
-
declare const spokiListPartners:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const spokiListPartners: AppAction<typeof SpokiListPartnersInput, typeof SpokiListPartnersOutput, typeof spoki.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { spokiListPartners };
|
|
21
11
|
//# sourceMappingURL=list-partners.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-partners.d.cts","names":[],"sources":["../../src/actions/list-partners.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-partners.d.cts","names":[],"sources":["../../src/actions/list-partners.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,UAAc;AAAA,cAErC,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,21 +1,11 @@
|
|
|
1
|
+
import { spoki } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-partners.d.ts
|
|
4
6
|
declare const SpokiListPartnersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const SpokiListPartnersOutput: z.ZodUnknown;
|
|
6
|
-
declare const spokiListPartners:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const spokiListPartners: AppAction<typeof SpokiListPartnersInput, typeof SpokiListPartnersOutput, typeof spoki.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { spokiListPartners };
|
|
21
11
|
//# sourceMappingURL=list-partners.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-partners.d.mts","names":[],"sources":["../../src/actions/list-partners.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-partners.d.mts","names":[],"sources":["../../src/actions/list-partners.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtB,uBAAA,EAAuB,CAAA,CAAA,UAAc;AAAA,cAErC,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-partners.mjs","names":[],"sources":["../../src/actions/list-partners.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListPartnersInput = z.object({}).describe(\"Request model for listing partners. No parameters required.\");\nexport const SpokiListPartnersOutput = z.unknown();\n\nexport const spokiListPartners = action(\"SPOKI_LIST_PARTNERS\", {\n slug: \"spoki-list-partners\",\n name: \"List Partners\",\n description: \"List all partners accessible to the authenticated account. Partners represent business partners or affiliates associated with your Spoki account.\",\n input: SpokiListPartnersInput,\n output: SpokiListPartnersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-partners.mjs","names":[],"sources":["../../src/actions/list-partners.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListPartnersInput = z.object({}).describe(\"Request model for listing partners. No parameters required.\");\nexport const SpokiListPartnersOutput = z.unknown();\n\nexport const spokiListPartners: AppAction<\n typeof SpokiListPartnersInput,\n typeof SpokiListPartnersOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_PARTNERS\", {\n slug: \"spoki-list-partners\",\n name: \"List Partners\",\n description: \"List all partners accessible to the authenticated account. Partners represent business partners or affiliates associated with your Spoki account.\",\n input: SpokiListPartnersInput,\n output: SpokiListPartnersOutput,\n});\n"],"mappings":";;;AASA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAWnD;CACP,QAXqC,EAAE,QAW/B;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reports.cjs","names":["z","action"],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).passthrough().describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-reports.cjs","names":["z","action"],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).passthrough().describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports: AppAction<\n typeof SpokiListReportsInput,\n typeof SpokiListReportsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-reports.d.ts
|
|
@@ -29,25 +31,7 @@ declare const SpokiListReportsOutput: z.ZodObject<{
|
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const spokiListReports:
|
|
33
|
-
page?: number | undefined;
|
|
34
|
-
account?: number | undefined;
|
|
35
|
-
per_page?: number | undefined;
|
|
36
|
-
granularity?: string | undefined;
|
|
37
|
-
period_start?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
34
|
+
declare const spokiListReports: AppAction<typeof SpokiListReportsInput, typeof SpokiListReportsOutput, typeof spoki.credential>;
|
|
51
35
|
//#endregion
|
|
52
36
|
export { spokiListReports };
|
|
53
37
|
//# sourceMappingURL=list-reports.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reports.d.cts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-reports.d.cts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAuBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-reports.d.ts
|
|
@@ -29,25 +31,7 @@ declare const SpokiListReportsOutput: z.ZodObject<{
|
|
|
29
31
|
}, z.core.$loose>>;
|
|
30
32
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const spokiListReports:
|
|
33
|
-
page?: number | undefined;
|
|
34
|
-
account?: number | undefined;
|
|
35
|
-
per_page?: number | undefined;
|
|
36
|
-
granularity?: string | undefined;
|
|
37
|
-
period_start?: string | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
34
|
+
declare const spokiListReports: AppAction<typeof SpokiListReportsInput, typeof SpokiListReportsOutput, typeof spoki.credential>;
|
|
51
35
|
//#endregion
|
|
52
36
|
export { spokiListReports };
|
|
53
37
|
//# sourceMappingURL=list-reports.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reports.d.mts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-reports.d.mts","names":[],"sources":["../../src/actions/list-reports.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;cAuBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-reports.mjs","names":[],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).passthrough().describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-reports.mjs","names":[],"sources":["../../src/actions/list-reports.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListReportsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n account: z.number().int().describe(\"Filter reports by account ID\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n granularity: z.string().describe(\"Filter by reporting period granularity (e.g., 'Month', 'Day')\").optional(),\n period_start: z.string().describe(\"Filter reports by period start date (YYYY-MM-DD format)\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering usage reports.\");\nconst SpokiListReports_ReportItemSchema = z.object({\n account: z.number().int().describe(\"Account ID\").nullable().optional(),\n granularity: z.string().describe(\"Reporting period granularity (e.g., 'Month', 'Day')\").nullable().optional(),\n period_start: z.string().describe(\"Start date of the reporting period (YYYY-MM-DD)\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the report was created\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the report was last updated\").nullable().optional(),\n contacted_contacts: z.number().int().describe(\"Number of contacts reached during the period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the period\").nullable().optional(),\n}).passthrough().describe(\"Individual report record with usage metrics.\");\nexport const SpokiListReportsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of reports matching the filters\").nullable(),\n results: z.array(SpokiListReports_ReportItemSchema).describe(\"List of report objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing usage reports.\");\n\nexport const spokiListReports: AppAction<\n typeof SpokiListReportsInput,\n typeof SpokiListReportsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_REPORTS\", {\n slug: \"spoki-list-reports\",\n name: \"List Reports\",\n description: \"Tool to list, search, and filter usage reports. Use when you need to retrieve historical usage metrics with optional filters. Note: results are cached for 30 minutes.\",\n input: SpokiListReportsInput,\n output: SpokiListReportsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-roles.cjs","names":["z","action"],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n}).passthrough().describe(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-roles.cjs","names":["z","action"],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n}).passthrough().describe(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles: AppAction<\n typeof SpokiListRolesInput,\n typeof SpokiListRolesOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC7H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,iCAAiC,SAAS;CAChD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-roles.d.ts
|
|
@@ -23,19 +25,7 @@ declare const SpokiListRolesOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const spokiListRoles:
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const spokiListRoles: AppAction<typeof SpokiListRolesInput, typeof SpokiListRolesOutput, typeof spoki.credential>;
|
|
39
29
|
//#endregion
|
|
40
30
|
export { spokiListRoles };
|
|
41
31
|
//# sourceMappingURL=list-roles.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-roles.d.cts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-roles.d.cts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-roles.d.ts
|
|
@@ -23,19 +25,7 @@ declare const SpokiListRolesOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const spokiListRoles:
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const spokiListRoles: AppAction<typeof SpokiListRolesInput, typeof SpokiListRolesOutput, typeof spoki.credential>;
|
|
39
29
|
//#endregion
|
|
40
30
|
export { spokiListRoles };
|
|
41
31
|
//# sourceMappingURL=list-roles.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-roles.d.mts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-roles.d.mts","names":[],"sources":["../../src/actions/list-roles.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAOpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-roles.mjs","names":[],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n}).passthrough().describe(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-roles.mjs","names":[],"sources":["../../src/actions/list-roles.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListRolesInput = z.object({}).describe(\"Request parameters for listing user roles. No parameters required.\");\nconst SpokiListRoles_UserSummarySchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the user\").nullable(),\n uid: z.string().describe(\"Unique user identifier (UID)\").nullable(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n image: z.string().describe(\"URL of the user profile image\").nullable().optional(),\n surname: z.string().describe(\"Surname of the user\").nullable(),\n firstname: z.string().describe(\"First name of the user\").nullable(),\n is_service: z.boolean().describe(\"Indicates if the user is a service user\").nullable(),\n}).passthrough().describe(\"Represents a user associated with a role.\");\nconst SpokiListRoles_RoleItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the role assignment\").nullable(),\n role: z.string().describe(\"Role name (e.g., Owner, Chat Operator Manager)\").nullable(),\n user: SpokiListRoles_UserSummarySchema.nullable(),\n is_active: z.boolean().describe(\"Indicates if the role is currently active\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the role was created (ISO 8601)\").nullable(),\n updated_datetime: z.string().describe(\"Timestamp when the role was last updated (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Represents a role assignment in the system.\");\nexport const SpokiListRolesOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of roles\").nullable(),\n results: z.array(SpokiListRoles_RoleItemSchema).describe(\"List of role assignment objects\"),\n previous: z.string().describe(\"URL to previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing user roles.\");\n\nexport const spokiListRoles: AppAction<\n typeof SpokiListRolesInput,\n typeof SpokiListRolesOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_ROLES\", {\n slug: \"spoki-list-roles\",\n name: \"List Roles\",\n description: \"Tool to list user roles in the system. Use when you need to retrieve all role assignments for users in the account.\",\n input: SpokiListRolesInput,\n output: SpokiListRolesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC7H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAM,iCAAiC,SAAS;CAChD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAQvE,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,iCAAiC;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tags.cjs","names":["z","action"],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).passthrough().describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tags.\");\n\nexport const spokiListTags = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tags.cjs","names":["z","action"],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).passthrough().describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tags.\");\n\nexport const spokiListTags: AppAction<\n typeof SpokiListTagsInput,\n typeof SpokiListTagsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjH,MAAM,0BAA0BA,IAAAA,EAAE,OAAO;CACvC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,MAAM,uBAAuB,CAAC,CAAC,SAAS,qBAAqB;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-tags.d.ts
|
|
@@ -13,19 +15,7 @@ declare const SpokiListTagsOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const spokiListTags:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const spokiListTags: AppAction<typeof SpokiListTagsInput, typeof SpokiListTagsOutput, typeof spoki.credential>;
|
|
29
19
|
//#endregion
|
|
30
20
|
export { spokiListTags };
|
|
31
21
|
//# sourceMappingURL=list-tags.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tags.d.cts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tags.d.cts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAOnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-tags.d.ts
|
|
@@ -13,19 +15,7 @@ declare const SpokiListTagsOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const spokiListTags:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const spokiListTags: AppAction<typeof SpokiListTagsInput, typeof SpokiListTagsOutput, typeof spoki.credential>;
|
|
29
19
|
//#endregion
|
|
30
20
|
export { spokiListTags };
|
|
31
21
|
//# sourceMappingURL=list-tags.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tags.d.mts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tags.d.mts","names":[],"sources":["../../src/actions/list-tags.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAOnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-tags.mjs","names":[],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).passthrough().describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tags.\");\n\nexport const spokiListTags = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-tags.mjs","names":[],"sources":["../../src/actions/list-tags.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListTagsInput = z.object({}).describe(\"Request model for listing tags. No parameters required.\");\nconst SpokiListTags_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag, e.g. #16d46d\").nullable(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n}).passthrough().describe(\"Represents a tag resource.\");\nexport const SpokiListTagsOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of tags\").nullable(),\n results: z.array(SpokiListTags_TagSchema).describe(\"List of tag objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing tags.\");\n\nexport const spokiListTags: AppAction<\n typeof SpokiListTagsInput,\n typeof SpokiListTagsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_TAGS\", {\n slug: \"spoki-list-tags\",\n name: \"List tags\",\n description: \"Lists all tags in the account. Returns tag details including id, name, color, and order. Use this when you need to view all available tags or find a specific tag by name.\",\n input: SpokiListTagsInput,\n output: SpokiListTagsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjH,MAAM,0BAA0B,EAAE,OAAO;CACvC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAQtD,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBiC,EAAE,OAAO;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,MAAM,uBAAuB,CAAC,CAAC,SAAS,qBAAqB;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListTemplatesInput = z.object({\n search: z.string().describe(\"Search term to filter templates by id, name, or text\").optional(),\n}).describe(\"Optional search parameter to filter templates by id, name, or text\");\nconst SpokiListTemplates_TemplateComponentSchema = z.object({\n text: z.string().describe(\"Text content of the component if applicable\").nullable().optional(),\n format: z.string().describe(\"Format of the component, e.g., text, image\").nullable().optional(),\n component_type: z.string().describe(\"Component type, e.g., body, header, footer\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateButtonSchema = z.object({\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Display text of the button\").nullable(),\n order: z.number().int().describe(\"Order index of the button in the template\").nullable(),\n button_type: z.string().describe(\"Type of button, e.g., quick_reply, url, call\").nullable(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_HeaderMediaSchema = z.object({\n id: z.number().int().describe(\"Media file identifier\").nullable(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the media is deleted\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateLocalizationSchema = z.object({\n body: SpokiListTemplates_TemplateComponentSchema.nullable(),\n footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n header: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n status: z.string().describe(\"Approval status: APPROVED, PENDING, or REJECTED\").nullable(),\n language: z.string().describe(\"Language code of this localization, e.g., 'en', 'it'\").nullable(),\n button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe(\"Buttons defined in this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_TemplateSchema = z.object({\n id: z.number().int().describe(\"Template identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category, e.g., ACCOUNT_UPDATE\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n customfield_set: z.array(z.string()).describe(\"Placeholder codes used in the template body\").nullable().optional(),\n templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe(\"List of localizations for supported languages\"),\n}).passthrough();\nexport const SpokiListTemplatesOutput = z.object({\n next: z.string().describe(\"URL of next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of templates matching the query\").nullable(),\n results: z.array(SpokiListTemplates_TemplateSchema).describe(\"Templates returned in this page\"),\n previous: z.string().describe(\"URL of previous page of results, if any\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListTemplates = action(\"SPOKI_LIST_TEMPLATES\", {\n slug: \"spoki-list-templates\",\n name: \"List templates\",\n description: \"Tool to list, search, and filter WhatsApp templates. Use when you need to retrieve available templates, optionally filtering by keywords.\",\n input: SpokiListTemplatesInput,\n output: SpokiListTemplatesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiListTemplatesInput = z.object({\n search: z.string().describe(\"Search term to filter templates by id, name, or text\").optional(),\n}).describe(\"Optional search parameter to filter templates by id, name, or text\");\nconst SpokiListTemplates_TemplateComponentSchema = z.object({\n text: z.string().describe(\"Text content of the component if applicable\").nullable().optional(),\n format: z.string().describe(\"Format of the component, e.g., text, image\").nullable().optional(),\n component_type: z.string().describe(\"Component type, e.g., body, header, footer\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateButtonSchema = z.object({\n url: z.string().describe(\"URL for URL buttons\").nullable().optional(),\n text: z.string().describe(\"Display text of the button\").nullable(),\n order: z.number().int().describe(\"Order index of the button in the template\").nullable(),\n button_type: z.string().describe(\"Type of button, e.g., quick_reply, url, call\").nullable(),\n phone_number: z.string().describe(\"Phone number for call buttons\").nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_HeaderMediaSchema = z.object({\n id: z.number().int().describe(\"Media file identifier\").nullable(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Whether the media is deleted\").nullable(),\n}).passthrough();\nconst SpokiListTemplates_TemplateLocalizationSchema = z.object({\n body: SpokiListTemplates_TemplateComponentSchema.nullable(),\n footer: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n header: SpokiListTemplates_TemplateComponentSchema.nullable().optional(),\n status: z.string().describe(\"Approval status: APPROVED, PENDING, or REJECTED\").nullable(),\n language: z.string().describe(\"Language code of this localization, e.g., 'en', 'it'\").nullable(),\n button_set: z.array(SpokiListTemplates_TemplateButtonSchema).describe(\"Buttons defined in this localization\").nullable().optional(),\n rejection_reason: z.string().describe(\"Reason for rejection if status is REJECTED\").nullable().optional(),\n default_header_media: SpokiListTemplates_HeaderMediaSchema.nullable().optional(),\n}).passthrough();\nconst SpokiListTemplates_TemplateSchema = z.object({\n id: z.number().int().describe(\"Template identifier\").nullable(),\n name: z.string().describe(\"Template name\").nullable(),\n category: z.string().describe(\"Template category, e.g., ACCOUNT_UPDATE\").nullable(),\n is_approved: z.boolean().describe(\"Whether the template is approved\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the template is marked as favorite\").nullable(),\n customfield_set: z.array(z.string()).describe(\"Placeholder codes used in the template body\").nullable().optional(),\n templatelocalization_set: z.array(SpokiListTemplates_TemplateLocalizationSchema).describe(\"List of localizations for supported languages\"),\n}).passthrough();\nexport const SpokiListTemplatesOutput = z.object({\n next: z.string().describe(\"URL of next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of templates matching the query\").nullable(),\n results: z.array(SpokiListTemplates_TemplateSchema).describe(\"Templates returned in this page\"),\n previous: z.string().describe(\"URL of previous page of results, if any\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListTemplates: AppAction<\n typeof SpokiListTemplatesInput,\n typeof SpokiListTemplatesOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_TEMPLATES\", {\n slug: \"spoki-list-templates\",\n name: \"List templates\",\n description: \"Tool to list, search, and filter WhatsApp templates. Use when you need to retrieve available templates, optionally filtering by keywords.\",\n input: SpokiListTemplatesInput,\n output: SpokiListTemplatesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -49,21 +51,7 @@ declare const SpokiListTemplatesOutput: z.ZodObject<{
|
|
|
49
51
|
}, z.core.$loose>>;
|
|
50
52
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const spokiListTemplates:
|
|
53
|
-
search?: string | undefined;
|
|
54
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
61
|
-
connectionId: z.ZodString;
|
|
62
|
-
entityId: z.ZodString;
|
|
63
|
-
instanceId: z.ZodString;
|
|
64
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
-
generic_api_key: z.ZodString;
|
|
66
|
-
}, z.core.$strip>>]>;
|
|
54
|
+
declare const spokiListTemplates: AppAction<typeof SpokiListTemplatesInput, typeof SpokiListTemplatesOutput, typeof spoki.credential>;
|
|
67
55
|
//#endregion
|
|
68
56
|
export { spokiListTemplates };
|
|
69
57
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAuCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|