@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":"get-account-current-report.cjs","names":["z","action"],"sources":["../../src/actions/get-account-current-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiGetAccountCurrentReportInput = z.object({\n account_id: z.number().int().describe(\"ID of the account to retrieve the current report for\"),\n}).describe(\"Request model for getting current report of a specified account.\");\nexport const SpokiGetAccountCurrentReportOutput = 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 current period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the current period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the current period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the current period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the current period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the current period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the current period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the current period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the current period\").nullable().optional(),\n}).passthrough().describe(\"Response model for current account report.\");\n\nexport const spokiGetAccountCurrentReport = action(\"SPOKI_GET_ACCOUNT_CURRENT_REPORT\", {\n slug: \"spoki-get-account-current-report\",\n name: \"Get Account Current Report\",\n description: \"Tool to get the current report for a specified account. Use when you need up-to-date metrics on messages and conversations for an account. Note: result is cached for 30 minutes.\",\n input: SpokiGetAccountCurrentReportInput,\n output: SpokiGetAccountCurrentReportOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account-current-report.cjs","names":["z","action"],"sources":["../../src/actions/get-account-current-report.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 SpokiGetAccountCurrentReportInput = z.object({\n account_id: z.number().int().describe(\"ID of the account to retrieve the current report for\"),\n}).describe(\"Request model for getting current report of a specified account.\");\nexport const SpokiGetAccountCurrentReportOutput = 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 current period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the current period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the current period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the current period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the current period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the current period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the current period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the current period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the current period\").nullable().optional(),\n}).passthrough().describe(\"Response model for current account report.\");\n\nexport const spokiGetAccountCurrentReport: AppAction<\n typeof SpokiGetAccountCurrentReportInput,\n typeof SpokiGetAccountCurrentReportOutput,\n typeof spoki.credential\n> = action(\"SPOKI_GET_ACCOUNT_CURRENT_REPORT\", {\n slug: \"spoki-get-account-current-report\",\n name: \"Get Account Current Report\",\n description: \"Tool to get the current report for a specified account. Use when you need up-to-date metrics on messages and conversations for an account. Note: result is cached for 30 minutes.\",\n input: SpokiGetAccountCurrentReportInput,\n output: SpokiGetAccountCurrentReportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC9F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,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/get-account-current-report.d.ts
|
|
@@ -20,21 +22,7 @@ declare const SpokiGetAccountCurrentReportOutput: z.ZodObject<{
|
|
|
20
22
|
template_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
delivered_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const spokiGetAccountCurrentReport:
|
|
24
|
-
account_id: number;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const spokiGetAccountCurrentReport: AppAction<typeof SpokiGetAccountCurrentReportInput, typeof SpokiGetAccountCurrentReportOutput, typeof spoki.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { spokiGetAccountCurrentReport };
|
|
40
28
|
//# sourceMappingURL=get-account-current-report.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account-current-report.d.cts","names":[],"sources":["../../src/actions/get-account-current-report.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account-current-report.d.cts","names":[],"sources":["../../src/actions/get-account-current-report.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/get-account-current-report.d.ts
|
|
@@ -20,21 +22,7 @@ declare const SpokiGetAccountCurrentReportOutput: z.ZodObject<{
|
|
|
20
22
|
template_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
23
|
delivered_message_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const spokiGetAccountCurrentReport:
|
|
24
|
-
account_id: number;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const spokiGetAccountCurrentReport: AppAction<typeof SpokiGetAccountCurrentReportInput, typeof SpokiGetAccountCurrentReportOutput, typeof spoki.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { spokiGetAccountCurrentReport };
|
|
40
28
|
//# sourceMappingURL=get-account-current-report.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account-current-report.d.mts","names":[],"sources":["../../src/actions/get-account-current-report.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account-current-report.d.mts","names":[],"sources":["../../src/actions/get-account-current-report.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-account-current-report.mjs","names":[],"sources":["../../src/actions/get-account-current-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiGetAccountCurrentReportInput = z.object({\n account_id: z.number().int().describe(\"ID of the account to retrieve the current report for\"),\n}).describe(\"Request model for getting current report of a specified account.\");\nexport const SpokiGetAccountCurrentReportOutput = 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 current period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the current period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the current period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the current period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the current period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the current period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the current period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the current period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the current period\").nullable().optional(),\n}).passthrough().describe(\"Response model for current account report.\");\n\nexport const spokiGetAccountCurrentReport = action(\"SPOKI_GET_ACCOUNT_CURRENT_REPORT\", {\n slug: \"spoki-get-account-current-report\",\n name: \"Get Account Current Report\",\n description: \"Tool to get the current report for a specified account. Use when you need up-to-date metrics on messages and conversations for an account. Note: result is cached for 30 minutes.\",\n input: SpokiGetAccountCurrentReportInput,\n output: SpokiGetAccountCurrentReportOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-account-current-report.mjs","names":[],"sources":["../../src/actions/get-account-current-report.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 SpokiGetAccountCurrentReportInput = z.object({\n account_id: z.number().int().describe(\"ID of the account to retrieve the current report for\"),\n}).describe(\"Request model for getting current report of a specified account.\");\nexport const SpokiGetAccountCurrentReportOutput = 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 current period\").nullable().optional(),\n conversation_count: z.number().int().describe(\"Number of conversations that took place in the current period\").nullable().optional(),\n exchanged_messages: z.number().int().describe(\"Total number of exchanged messages in the current period\").nullable().optional(),\n free_message_count: z.number().int().describe(\"Number of free messages sent in the current period\").nullable().optional(),\n read_message_count: z.number().int().describe(\"Number of messages read in the current period\").nullable().optional(),\n sent_message_count: z.number().int().describe(\"Number of messages sent in the current period\").nullable().optional(),\n incoming_message_count: z.number().int().describe(\"Number of incoming messages received in the current period\").nullable().optional(),\n template_message_count: z.number().int().describe(\"Number of template messages sent in the current period\").nullable().optional(),\n delivered_message_count: z.number().int().describe(\"Number of messages delivered in the current period\").nullable().optional(),\n}).passthrough().describe(\"Response model for current account report.\");\n\nexport const spokiGetAccountCurrentReport: AppAction<\n typeof SpokiGetAccountCurrentReportInput,\n typeof SpokiGetAccountCurrentReportOutput,\n typeof spoki.credential\n> = action(\"SPOKI_GET_ACCOUNT_CURRENT_REPORT\", {\n slug: \"spoki-get-account-current-report\",\n name: \"Get Account Current Report\",\n description: \"Tool to get the current report for a specified account. Use when you need up-to-date metrics on messages and conversations for an account. Note: result is cached for 30 minutes.\",\n input: SpokiGetAccountCurrentReportInput,\n output: SpokiGetAccountCurrentReportOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B+C,EAAE,OAAO,EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,EAC9F,CAAC,CAAC,CAAC,SAAS,kEA0BH;CACP,QA1BgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListAccountsInput = 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 Spoki accounts.\");\nconst SpokiListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Represents a Spoki WhatsApp Business account.\");\nexport const SpokiListAccountsOutput = 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 accounts\").nullable(),\n results: z.array(SpokiListAccounts_AccountSchema).describe(\"List of account objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Spoki accounts.\");\n\nexport const spokiListAccounts = action(\"SPOKI_LIST_ACCOUNTS\", {\n slug: \"spoki-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to retrieve a list of Spoki WhatsApp Business accounts with their details. Use when you need to view all accounts accessible to the authenticated user, including their credit balances, status, and language settings. Note: This endpoint has a rate limit of 5 requests per minute.\",\n input: SpokiListAccountsInput,\n output: SpokiListAccountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-accounts.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 SpokiListAccountsInput = 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 Spoki accounts.\");\nconst SpokiListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Represents a Spoki WhatsApp Business account.\");\nexport const SpokiListAccountsOutput = 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 accounts\").nullable(),\n results: z.array(SpokiListAccounts_AccountSchema).describe(\"List of account objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Spoki accounts.\");\n\nexport const spokiListAccounts: AppAction<\n typeof SpokiListAccountsInput,\n typeof SpokiListAccountsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_ACCOUNTS\", {\n slug: \"spoki-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to retrieve a list of Spoki WhatsApp Business accounts with their details. Use when you need to view all accounts accessible to the authenticated user, including their credit balances, status, and language settings. Note: This endpoint has a rate limit of 5 requests per minute.\",\n input: SpokiListAccountsInput,\n output: SpokiListAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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AE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,yBAAyB;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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-accounts.d.ts
|
|
@@ -39,22 +41,7 @@ declare const SpokiListAccountsOutput: z.ZodObject<{
|
|
|
39
41
|
}, z.core.$loose>>;
|
|
40
42
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const spokiListAccounts:
|
|
43
|
-
page?: number | undefined;
|
|
44
|
-
per_page?: number | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const spokiListAccounts: AppAction<typeof SpokiListAccountsInput, typeof SpokiListAccountsOutput, typeof spoki.credential>;
|
|
58
45
|
//#endregion
|
|
59
46
|
export { spokiListAccounts };
|
|
60
47
|
//# sourceMappingURL=list-accounts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-accounts.d.cts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAiCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-accounts.d.ts
|
|
@@ -39,22 +41,7 @@ declare const SpokiListAccountsOutput: z.ZodObject<{
|
|
|
39
41
|
}, z.core.$loose>>;
|
|
40
42
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
43
|
}, z.core.$loose>;
|
|
42
|
-
declare const spokiListAccounts:
|
|
43
|
-
page?: number | undefined;
|
|
44
|
-
per_page?: number | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
44
|
+
declare const spokiListAccounts: AppAction<typeof SpokiListAccountsInput, typeof SpokiListAccountsOutput, typeof spoki.credential>;
|
|
58
45
|
//#endregion
|
|
59
46
|
export { spokiListAccounts };
|
|
60
47
|
//# sourceMappingURL=list-accounts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-accounts.d.mts","names":[],"sources":["../../src/actions/list-accounts.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAiCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListAccountsInput = 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 Spoki accounts.\");\nconst SpokiListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Represents a Spoki WhatsApp Business account.\");\nexport const SpokiListAccountsOutput = 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 accounts\").nullable(),\n results: z.array(SpokiListAccounts_AccountSchema).describe(\"List of account objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Spoki accounts.\");\n\nexport const spokiListAccounts = action(\"SPOKI_LIST_ACCOUNTS\", {\n slug: \"spoki-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to retrieve a list of Spoki WhatsApp Business accounts with their details. Use when you need to view all accounts accessible to the authenticated user, including their credit balances, status, and language settings. Note: This endpoint has a rate limit of 5 requests per minute.\",\n input: SpokiListAccountsInput,\n output: SpokiListAccountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-accounts.mjs","names":[],"sources":["../../src/actions/list-accounts.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 SpokiListAccountsInput = 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 Spoki accounts.\");\nconst SpokiListAccounts_AccountSchema = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Represents a Spoki WhatsApp Business account.\");\nexport const SpokiListAccountsOutput = 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 accounts\").nullable(),\n results: z.array(SpokiListAccounts_AccountSchema).describe(\"List of account objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Spoki accounts.\");\n\nexport const spokiListAccounts: AppAction<\n typeof SpokiListAccountsInput,\n typeof SpokiListAccountsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_ACCOUNTS\", {\n slug: \"spoki-list-accounts\",\n name: \"List Accounts\",\n description: \"Tool to retrieve a list of Spoki WhatsApp Business accounts with their details. Use when you need to view all accounts accessible to the authenticated user, including their credit balances, status, and language settings. Note: This endpoint has a rate limit of 5 requests per minute.\",\n input: SpokiListAccountsInput,\n output: SpokiListAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,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,2CAA2C;AACvD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,I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wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnH,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kCAAkC,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,yBAAyB;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agencies.cjs","names":["z","action"],"sources":["../../src/actions/list-agencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListAgenciesInput = z.object({}).describe(\"Request model for listing agencies. No parameters required.\");\nexport const SpokiListAgenciesOutput = z.unknown();\n\nexport const spokiListAgencies = action(\"SPOKI_LIST_AGENCIES\", {\n slug: \"spoki-list-agencies\",\n name: \"List Agencies\",\n description: \"Tool to list all agencies accessible to the user. Use when you need to retrieve all agencies for the authenticated account.\",\n input: SpokiListAgenciesInput,\n output: SpokiListAgenciesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-agencies.cjs","names":["z","action"],"sources":["../../src/actions/list-agencies.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 SpokiListAgenciesInput = z.object({}).describe(\"Request model for listing agencies. No parameters required.\");\nexport const SpokiListAgenciesOutput = z.unknown();\n\nexport const spokiListAgencies: AppAction<\n typeof SpokiListAgenciesInput,\n typeof SpokiListAgenciesOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_AGENCIES\", {\n slug: \"spoki-list-agencies\",\n name: \"List Agencies\",\n description: \"Tool to list all agencies accessible to the user. Use when you need to retrieve all agencies for the authenticated account.\",\n input: SpokiListAgenciesInput,\n output: SpokiListAgenciesOutput,\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-agencies.d.ts
|
|
4
6
|
declare const SpokiListAgenciesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const SpokiListAgenciesOutput: z.ZodUnknown;
|
|
6
|
-
declare const spokiListAgencies:
|
|
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 spokiListAgencies: AppAction<typeof SpokiListAgenciesInput, typeof SpokiListAgenciesOutput, typeof spoki.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { spokiListAgencies };
|
|
21
11
|
//# sourceMappingURL=list-agencies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agencies.d.cts","names":[],"sources":["../../src/actions/list-agencies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-agencies.d.cts","names":[],"sources":["../../src/actions/list-agencies.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-agencies.d.ts
|
|
4
6
|
declare const SpokiListAgenciesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const SpokiListAgenciesOutput: z.ZodUnknown;
|
|
6
|
-
declare const spokiListAgencies:
|
|
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 spokiListAgencies: AppAction<typeof SpokiListAgenciesInput, typeof SpokiListAgenciesOutput, typeof spoki.credential>;
|
|
19
9
|
//#endregion
|
|
20
10
|
export { spokiListAgencies };
|
|
21
11
|
//# sourceMappingURL=list-agencies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-agencies.d.mts","names":[],"sources":["../../src/actions/list-agencies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-agencies.d.mts","names":[],"sources":["../../src/actions/list-agencies.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-agencies.mjs","names":[],"sources":["../../src/actions/list-agencies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListAgenciesInput = z.object({}).describe(\"Request model for listing agencies. No parameters required.\");\nexport const SpokiListAgenciesOutput = z.unknown();\n\nexport const spokiListAgencies = action(\"SPOKI_LIST_AGENCIES\", {\n slug: \"spoki-list-agencies\",\n name: \"List Agencies\",\n description: \"Tool to list all agencies accessible to the user. Use when you need to retrieve all agencies for the authenticated account.\",\n input: SpokiListAgenciesInput,\n output: SpokiListAgenciesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-agencies.mjs","names":[],"sources":["../../src/actions/list-agencies.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 SpokiListAgenciesInput = z.object({}).describe(\"Request model for listing agencies. No parameters required.\");\nexport const SpokiListAgenciesOutput = z.unknown();\n\nexport const spokiListAgencies: AppAction<\n typeof SpokiListAgenciesInput,\n typeof SpokiListAgenciesOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_AGENCIES\", {\n slug: \"spoki-list-agencies\",\n name: \"List Agencies\",\n description: \"Tool to list all agencies accessible to the user. Use when you need to retrieve all agencies for the authenticated account.\",\n input: SpokiListAgenciesInput,\n output: SpokiListAgenciesOutput,\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-automations.cjs","names":["z","action"],"sources":["../../src/actions/list-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListAutomationsInput = z.object({\n search: z.string().describe(\"Search automations by name or webhook link\").optional(),\n is_active: z.boolean().describe(\"Filter by active (true) or inactive (false) automations\").optional(),\n webhook_platform: z.enum([\"Api\", \"Active Campaign\", \"Woocommerce\", \"Magento\", \"Prestashop\", \"Shopify\", \"Zapier\", \"Qapla'\", \"BrainLead\", \"HubSpot\", \"Klaviyo\", \"Zoho\", \"Sendinblue\", \"WPNotif\", \"Connectif\", \"IFTTT\", \"Pipedrive\", \"Meta\", \"Zendesk\"]).describe(\"Filter automations by webhook integration platform\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering automations.\");\nconst SpokiListAutomations_WebhookSetSchema = z.object({\n link: z.string().describe(\"Webhook callback URL\").nullable(),\n uuid: z.string().describe(\"Webhook identifier UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether webhook is active\").nullable(),\n}).passthrough();\nconst SpokiListAutomations_AutomationSummarySchema = z.object({\n id: z.number().int().describe(\"Unique automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Automation active status\").nullable(),\n is_favorite: z.boolean().describe(\"Whether automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiListAutomations_WebhookSetSchema).describe(\"List of webhook endpoints associated\"),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp\").nullable(),\n updated_datetime: z.string().describe(\"Last update timestamp\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"Associated automation groups\").nullable().optional(),\n first_message_text: z.string().describe(\"Initial message text of the automation\").nullable().optional(),\n}).passthrough();\nexport const SpokiListAutomationsOutput = z.object({\n next: z.string().describe(\"URL for next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of automations\").nullable(),\n results: z.array(SpokiListAutomations_AutomationSummarySchema).describe(\"List of automation objects\"),\n previous: z.string().describe(\"URL for previous page of results\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListAutomations = action(\"SPOKI_LIST_AUTOMATIONS\", {\n slug: \"spoki-list-automations\",\n name: \"List Automations\",\n description: \"Tool to list, search, and filter automations. Use after authenticating to retrieve available automations and apply optional search or platform filters.\",\n input: SpokiListAutomationsInput,\n output: SpokiListAutomationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-automations.cjs","names":["z","action"],"sources":["../../src/actions/list-automations.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 SpokiListAutomationsInput = z.object({\n search: z.string().describe(\"Search automations by name or webhook link\").optional(),\n is_active: z.boolean().describe(\"Filter by active (true) or inactive (false) automations\").optional(),\n webhook_platform: z.enum([\"Api\", \"Active Campaign\", \"Woocommerce\", \"Magento\", \"Prestashop\", \"Shopify\", \"Zapier\", \"Qapla'\", \"BrainLead\", \"HubSpot\", \"Klaviyo\", \"Zoho\", \"Sendinblue\", \"WPNotif\", \"Connectif\", \"IFTTT\", \"Pipedrive\", \"Meta\", \"Zendesk\"]).describe(\"Filter automations by webhook integration platform\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering automations.\");\nconst SpokiListAutomations_WebhookSetSchema = z.object({\n link: z.string().describe(\"Webhook callback URL\").nullable(),\n uuid: z.string().describe(\"Webhook identifier UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether webhook is active\").nullable(),\n}).passthrough();\nconst SpokiListAutomations_AutomationSummarySchema = z.object({\n id: z.number().int().describe(\"Unique automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Automation active status\").nullable(),\n is_favorite: z.boolean().describe(\"Whether automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiListAutomations_WebhookSetSchema).describe(\"List of webhook endpoints associated\"),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp\").nullable(),\n updated_datetime: z.string().describe(\"Last update timestamp\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"Associated automation groups\").nullable().optional(),\n first_message_text: z.string().describe(\"Initial message text of the automation\").nullable().optional(),\n}).passthrough();\nexport const SpokiListAutomationsOutput = z.object({\n next: z.string().describe(\"URL for next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of automations\").nullable(),\n results: z.array(SpokiListAutomations_AutomationSummarySchema).describe(\"List of automation objects\"),\n previous: z.string().describe(\"URL for previous page of results\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListAutomations: AppAction<\n typeof SpokiListAutomationsInput,\n typeof SpokiListAutomationsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_AUTOMATIONS\", {\n slug: \"spoki-list-automations\",\n name: \"List Automations\",\n description: \"Tool to list, search, and filter automations. Use after authenticating to retrieve available automations and apply optional search or platform filters.\",\n input: SpokiListAutomationsInput,\n output: SpokiListAutomationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,kBAAkBA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAmB;EAAe;EAAW;EAAc;EAAW;EAAU;EAAU;EAAa;EAAW;EAAW;EAAQ;EAAc;EAAW;EAAa;EAAS;EAAa;EAAQ;CAAS,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAChU,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACxE,CAAC,CA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,CAAC,CAAC,SAAS,4BAA4B;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,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-automations.d.ts
|
|
@@ -48,23 +50,7 @@ declare const SpokiListAutomationsOutput: z.ZodObject<{
|
|
|
48
50
|
}, z.core.$loose>>;
|
|
49
51
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>;
|
|
51
|
-
declare const spokiListAutomations:
|
|
52
|
-
search?: string | undefined;
|
|
53
|
-
is_active?: boolean | undefined;
|
|
54
|
-
webhook_platform?: "Api" | "Active Campaign" | "Woocommerce" | "Magento" | "Prestashop" | "Shopify" | "Zapier" | "Qapla'" | "BrainLead" | "HubSpot" | "Klaviyo" | "Zoho" | "Sendinblue" | "WPNotif" | "Connectif" | "IFTTT" | "Pipedrive" | "Meta" | "Zendesk" | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>;
|
|
53
|
+
declare const spokiListAutomations: AppAction<typeof SpokiListAutomationsInput, typeof SpokiListAutomationsOutput, typeof spoki.credential>;
|
|
68
54
|
//#endregion
|
|
69
55
|
export { spokiListAutomations };
|
|
70
56
|
//# sourceMappingURL=list-automations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-automations.d.cts","names":[],"sources":["../../src/actions/list-automations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-automations.d.cts","names":[],"sources":["../../src/actions/list-automations.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAuBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-automations.d.ts
|
|
@@ -48,23 +50,7 @@ declare const SpokiListAutomationsOutput: z.ZodObject<{
|
|
|
48
50
|
}, z.core.$loose>>;
|
|
49
51
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>;
|
|
51
|
-
declare const spokiListAutomations:
|
|
52
|
-
search?: string | undefined;
|
|
53
|
-
is_active?: boolean | undefined;
|
|
54
|
-
webhook_platform?: "Api" | "Active Campaign" | "Woocommerce" | "Magento" | "Prestashop" | "Shopify" | "Zapier" | "Qapla'" | "BrainLead" | "HubSpot" | "Klaviyo" | "Zoho" | "Sendinblue" | "WPNotif" | "Connectif" | "IFTTT" | "Pipedrive" | "Meta" | "Zendesk" | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
62
|
-
connectionId: z.ZodString;
|
|
63
|
-
entityId: z.ZodString;
|
|
64
|
-
instanceId: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
generic_api_key: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>]>;
|
|
53
|
+
declare const spokiListAutomations: AppAction<typeof SpokiListAutomationsInput, typeof SpokiListAutomationsOutput, typeof spoki.credential>;
|
|
68
54
|
//#endregion
|
|
69
55
|
export { spokiListAutomations };
|
|
70
56
|
//# sourceMappingURL=list-automations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-automations.d.mts","names":[],"sources":["../../src/actions/list-automations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-automations.d.mts","names":[],"sources":["../../src/actions/list-automations.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAuBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-automations.mjs","names":[],"sources":["../../src/actions/list-automations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListAutomationsInput = z.object({\n search: z.string().describe(\"Search automations by name or webhook link\").optional(),\n is_active: z.boolean().describe(\"Filter by active (true) or inactive (false) automations\").optional(),\n webhook_platform: z.enum([\"Api\", \"Active Campaign\", \"Woocommerce\", \"Magento\", \"Prestashop\", \"Shopify\", \"Zapier\", \"Qapla'\", \"BrainLead\", \"HubSpot\", \"Klaviyo\", \"Zoho\", \"Sendinblue\", \"WPNotif\", \"Connectif\", \"IFTTT\", \"Pipedrive\", \"Meta\", \"Zendesk\"]).describe(\"Filter automations by webhook integration platform\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering automations.\");\nconst SpokiListAutomations_WebhookSetSchema = z.object({\n link: z.string().describe(\"Webhook callback URL\").nullable(),\n uuid: z.string().describe(\"Webhook identifier UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether webhook is active\").nullable(),\n}).passthrough();\nconst SpokiListAutomations_AutomationSummarySchema = z.object({\n id: z.number().int().describe(\"Unique automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Automation active status\").nullable(),\n is_favorite: z.boolean().describe(\"Whether automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiListAutomations_WebhookSetSchema).describe(\"List of webhook endpoints associated\"),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp\").nullable(),\n updated_datetime: z.string().describe(\"Last update timestamp\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"Associated automation groups\").nullable().optional(),\n first_message_text: z.string().describe(\"Initial message text of the automation\").nullable().optional(),\n}).passthrough();\nexport const SpokiListAutomationsOutput = z.object({\n next: z.string().describe(\"URL for next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of automations\").nullable(),\n results: z.array(SpokiListAutomations_AutomationSummarySchema).describe(\"List of automation objects\"),\n previous: z.string().describe(\"URL for previous page of results\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListAutomations = action(\"SPOKI_LIST_AUTOMATIONS\", {\n slug: \"spoki-list-automations\",\n name: \"List Automations\",\n description: \"Tool to list, search, and filter automations. Use after authenticating to retrieve available automations and apply optional search or platform filters.\",\n input: SpokiListAutomationsInput,\n output: SpokiListAutomationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-automations.mjs","names":[],"sources":["../../src/actions/list-automations.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 SpokiListAutomationsInput = z.object({\n search: z.string().describe(\"Search automations by name or webhook link\").optional(),\n is_active: z.boolean().describe(\"Filter by active (true) or inactive (false) automations\").optional(),\n webhook_platform: z.enum([\"Api\", \"Active Campaign\", \"Woocommerce\", \"Magento\", \"Prestashop\", \"Shopify\", \"Zapier\", \"Qapla'\", \"BrainLead\", \"HubSpot\", \"Klaviyo\", \"Zoho\", \"Sendinblue\", \"WPNotif\", \"Connectif\", \"IFTTT\", \"Pipedrive\", \"Meta\", \"Zendesk\"]).describe(\"Filter automations by webhook integration platform\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering automations.\");\nconst SpokiListAutomations_WebhookSetSchema = z.object({\n link: z.string().describe(\"Webhook callback URL\").nullable(),\n uuid: z.string().describe(\"Webhook identifier UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether webhook is active\").nullable(),\n}).passthrough();\nconst SpokiListAutomations_AutomationSummarySchema = z.object({\n id: z.number().int().describe(\"Unique automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Automation active status\").nullable(),\n is_favorite: z.boolean().describe(\"Whether automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiListAutomations_WebhookSetSchema).describe(\"List of webhook endpoints associated\"),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp\").nullable(),\n updated_datetime: z.string().describe(\"Last update timestamp\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"Associated automation groups\").nullable().optional(),\n first_message_text: z.string().describe(\"Initial message text of the automation\").nullable().optional(),\n}).passthrough();\nexport const SpokiListAutomationsOutput = z.object({\n next: z.string().describe(\"URL for next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of automations\").nullable(),\n results: z.array(SpokiListAutomations_AutomationSummarySchema).describe(\"List of automation objects\"),\n previous: z.string().describe(\"URL for previous page of results\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListAutomations: AppAction<\n typeof SpokiListAutomationsInput,\n typeof SpokiListAutomationsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_AUTOMATIONS\", {\n slug: \"spoki-list-automations\",\n name: \"List Automations\",\n description: \"Tool to list, search, and filter automations. Use after authenticating to retrieve available automations and apply optional search or platform filters.\",\n input: SpokiListAutomationsInput,\n output: SpokiListAutomationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,KAAK;EAAC;EAAO;EAAmB;EAAe;EAAW;EAAc;EAAW;EAAU;EAAU;EAAa;EAAW;EAAW;EAAQ;EAAc;EAAW;EAAa;EAAS;EAAa;EAAQ;CAAS,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAChU,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO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AS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4BAA4B;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListCampaignsInput = 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 scheduled_datetime_gte: z.string().describe(\"Only include campaigns scheduled on or after this timestamp (ISO 8601).\").optional(),\n scheduled_datetime_lte: z.string().describe(\"Only include campaigns scheduled on or before this timestamp (ISO 8601).\").optional(),\n}).describe(\"Query parameters for listing, searching, and filtering campaigns.\\nUse ISO 8601 strings for date constraints.\");\nconst SpokiListCampaigns_ListResourceSchema = z.object({\n id: z.number().int().describe(\"List ID targeted by the campaign.\").nullable(),\n name: z.string().describe(\"List name.\").nullable(),\n color: z.string().describe(\"List display color, if any.\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list.\").nullable(),\n created_datetime: z.string().describe(\"When this list was created (ISO 8601).\").nullable(),\n}).passthrough();\nconst SpokiListCampaigns_AutomationRefSchema = z.object({\n id: z.number().int().describe(\"Automation ID associated with the campaign.\").nullable(),\n name: z.string().describe(\"Automation name.\").nullable(),\n}).passthrough();\nconst SpokiListCampaigns_CampaignItemSchema = z.object({\n id: z.number().int().describe(\"Campaign unique ID.\").nullable(),\n name: z.string().describe(\"Campaign name.\").nullable(),\n lists: z.array(SpokiListCampaigns_ListResourceSchema).describe(\"Lists associated with the campaign.\"),\n status: z.string().describe(\"Campaign status: Draft, Scheduled, Processing, or Completed.\").nullable(),\n automation: SpokiListCampaigns_AutomationRefSchema.nullable(),\n messages_read: z.number().int().nullable(),\n messages_sent: z.number().int().nullable(),\n contacts_count: z.number().int().describe(\"Total number of contacts.\").nullable(),\n other_contacts: z.array(z.number().int()).describe(\"Additional contact IDs if specified.\"),\n messages_failed: z.number().int().nullable(),\n created_datetime: z.string().describe(\"When this campaign was created (ISO 8601).\").nullable(),\n automation_failed: z.number().int().nullable(),\n messages_received: z.number().int().nullable(),\n automation_started: z.number().int().nullable(),\n scheduled_datetime: z.string().describe(\"Datetime when campaign is scheduled (ISO 8601).\").nullable(),\n automation_completed: z.number().int().nullable(),\n automation_valid_failed: z.number().int().nullable(),\n automation_interacted_with: z.number().int().nullable(),\n}).passthrough().describe(\"A detailed campaign record returned by the list endpoint.\");\nexport const SpokiListCampaignsOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any.\").nullable().optional(),\n count: z.number().int().describe(\"Total count of matched campaigns.\").nullable(),\n results: z.array(SpokiListCampaigns_CampaignItemSchema).describe(\"List of campaign records.\"),\n previous: z.string().describe(\"URL to previous page of results, if any.\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListCampaigns = action(\"SPOKI_LIST_CAMPAIGNS\", {\n slug: \"spoki-list-campaigns\",\n name: \"List campaigns\",\n description: \"Tool to list, search, and filter campaigns. Use when you need to retrieve campaigns optionally filtered by scheduled datetime.\",\n input: SpokiListCampaignsInput,\n output: SpokiListCampaignsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.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 SpokiListCampaignsInput = 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 scheduled_datetime_gte: z.string().describe(\"Only include campaigns scheduled on or after this timestamp (ISO 8601).\").optional(),\n scheduled_datetime_lte: z.string().describe(\"Only include campaigns scheduled on or before this timestamp (ISO 8601).\").optional(),\n}).describe(\"Query parameters for listing, searching, and filtering campaigns.\\nUse ISO 8601 strings for date constraints.\");\nconst SpokiListCampaigns_ListResourceSchema = z.object({\n id: z.number().int().describe(\"List ID targeted by the campaign.\").nullable(),\n name: z.string().describe(\"List name.\").nullable(),\n color: z.string().describe(\"List display color, if any.\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list.\").nullable(),\n created_datetime: z.string().describe(\"When this list was created (ISO 8601).\").nullable(),\n}).passthrough();\nconst SpokiListCampaigns_AutomationRefSchema = z.object({\n id: z.number().int().describe(\"Automation ID associated with the campaign.\").nullable(),\n name: z.string().describe(\"Automation name.\").nullable(),\n}).passthrough();\nconst SpokiListCampaigns_CampaignItemSchema = z.object({\n id: z.number().int().describe(\"Campaign unique ID.\").nullable(),\n name: z.string().describe(\"Campaign name.\").nullable(),\n lists: z.array(SpokiListCampaigns_ListResourceSchema).describe(\"Lists associated with the campaign.\"),\n status: z.string().describe(\"Campaign status: Draft, Scheduled, Processing, or Completed.\").nullable(),\n automation: SpokiListCampaigns_AutomationRefSchema.nullable(),\n messages_read: z.number().int().nullable(),\n messages_sent: z.number().int().nullable(),\n contacts_count: z.number().int().describe(\"Total number of contacts.\").nullable(),\n other_contacts: z.array(z.number().int()).describe(\"Additional contact IDs if specified.\"),\n messages_failed: z.number().int().nullable(),\n created_datetime: z.string().describe(\"When this campaign was created (ISO 8601).\").nullable(),\n automation_failed: z.number().int().nullable(),\n messages_received: z.number().int().nullable(),\n automation_started: z.number().int().nullable(),\n scheduled_datetime: z.string().describe(\"Datetime when campaign is scheduled (ISO 8601).\").nullable(),\n automation_completed: z.number().int().nullable(),\n automation_valid_failed: z.number().int().nullable(),\n automation_interacted_with: z.number().int().nullable(),\n}).passthrough().describe(\"A detailed campaign record returned by the list endpoint.\");\nexport const SpokiListCampaignsOutput = z.object({\n next: z.string().describe(\"URL to next page of results, if any.\").nullable().optional(),\n count: z.number().int().describe(\"Total count of matched campaigns.\").nullable(),\n results: z.array(SpokiListCampaigns_CampaignItemSchema).describe(\"List of campaign records.\"),\n previous: z.string().describe(\"URL to previous page of results, if any.\").nullable().optional(),\n}).passthrough();\n\nexport const spokiListCampaigns: AppAction<\n typeof SpokiListCampaignsInput,\n typeof SpokiListCampaignsOutput,\n typeof spoki.credential\n> = action(\"SPOKI_LIST_CAMPAIGNS\", {\n slug: \"spoki-list-campaigns\",\n name: \"List campaigns\",\n description: \"Tool to list, search, and filter campaigns. Use when you need to retrieve campaigns optionally filtered by scheduled datetime.\",\n input: SpokiListCampaignsInput,\n output: SpokiListCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,OAAOA,IAA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ACN,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-campaigns.d.ts
|
|
@@ -41,24 +43,7 @@ declare const SpokiListCampaignsOutput: z.ZodObject<{
|
|
|
41
43
|
}, z.core.$loose>>;
|
|
42
44
|
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const spokiListCampaigns:
|
|
45
|
-
page?: number | undefined;
|
|
46
|
-
per_page?: number | undefined;
|
|
47
|
-
scheduled_datetime_gte?: string | undefined;
|
|
48
|
-
scheduled_datetime_lte?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>]>;
|
|
46
|
+
declare const spokiListCampaigns: AppAction<typeof SpokiListCampaignsInput, typeof SpokiListCampaignsOutput, typeof spoki.credential>;
|
|
62
47
|
//#endregion
|
|
63
48
|
export { spokiListCampaigns };
|
|
64
49
|
//# sourceMappingURL=list-campaigns.d.cts.map
|