@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":"update-campaign.mjs","names":[],"sources":["../../src/actions/update-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCampaignInput = z.object({\n id: z.string().describe(\"The unique identifier of the campaign to update\"),\n name: z.string().describe(\"New name for the campaign\").optional(),\n status: z.enum([\"Draft\", \"Scheduled\"]).describe(\"Allowed campaign status values.\").optional(),\n scheduled_datetime: z.string().describe(\"Scheduled start time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ). Required when status is 'Scheduled'\").optional(),\n}).describe(\"Request model for updating an existing campaign.\\nAll body fields are optional - only provided fields will be updated.\");\nexport const SpokiUpdateCampaignOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n status: z.string().describe(\"Campaign status (Draft, Scheduled, Processing, or Completed)\").nullable(),\n created_datetime: z.string().describe(\"When this campaign was created (ISO 8601)\").nullable(),\n scheduled_datetime: z.string().describe(\"When the campaign is scheduled to run (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Response model containing details of the updated campaign.\");\n\nexport const spokiUpdateCampaign = action(\"SPOKI_UPDATE_CAMPAIGN\", {\n slug: \"spoki-update-campaign\",\n name: \"Update Campaign\",\n description: \"Tool to update an existing campaign's name, status, or scheduled time. Use when you need to modify campaign details after creation. Rate limited to 5 requests per minute.\",\n input: SpokiUpdateCampaignInput,\n output: SpokiUpdateCampaignOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-campaign.mjs","names":[],"sources":["../../src/actions/update-campaign.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 SpokiUpdateCampaignInput = z.object({\n id: z.string().describe(\"The unique identifier of the campaign to update\"),\n name: z.string().describe(\"New name for the campaign\").optional(),\n status: z.enum([\"Draft\", \"Scheduled\"]).describe(\"Allowed campaign status values.\").optional(),\n scheduled_datetime: z.string().describe(\"Scheduled start time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ). Required when status is 'Scheduled'\").optional(),\n}).describe(\"Request model for updating an existing campaign.\\nAll body fields are optional - only provided fields will be updated.\");\nexport const SpokiUpdateCampaignOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the campaign\").nullable(),\n name: z.string().describe(\"Campaign name\").nullable(),\n status: z.string().describe(\"Campaign status (Draft, Scheduled, Processing, or Completed)\").nullable(),\n created_datetime: z.string().describe(\"When this campaign was created (ISO 8601)\").nullable(),\n scheduled_datetime: z.string().describe(\"When the campaign is scheduled to run (ISO 8601)\").nullable(),\n}).passthrough().describe(\"Response model containing details of the updated campaign.\");\n\nexport const spokiUpdateCampaign: AppAction<\n typeof SpokiUpdateCampaignInput,\n typeof SpokiUpdateCampaignOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_CAMPAIGN\", {\n slug: \"spoki-update-campaign\",\n name: \"Update Campaign\",\n description: \"Tool to update an existing campaign's name, status, or scheduled time. Use when you need to modify campaign details after creation. Rate limited to 5 requests per minute.\",\n input: SpokiUpdateCampaignInput,\n output: SpokiUpdateCampaignOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,QAAQ,EAAE,KAAK,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,wHAiBH;CACP,QAjBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update. This is the contact ID returned when creating or listing contacts\"),\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+393331234567' (Italy), '+14155552671' (USA), '+447700900123' (UK)\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code for the contact's preferred language. Common values: 'en' (English), 'it' (Italian), 'es' (Spanish), 'de' (German), 'pt' (Portuguese), 'fr' (French)\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Supports Unicode characters and special characters like hyphens and apostrophes (e.g., 'O'Brien-Müller')\").optional(),\n first_name: z.string().describe(\"First name of the contact. Supports Unicode characters for international names (e.g., 'François', 'María', 'João')\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})\").optional(),\n});\nexport const SpokiUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").nullable(),\n language: z.string().describe(\"Language code of the contact (e.g., 'en', 'it', 'es')\").nullable(),\n role_set: z.array(z.string()).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"Direct link to chat with this contact on Spoki platform\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Whether the contact is blocked\").nullable(),\n is_restricted: z.boolean().describe(\"Whether the contact is restricted\").nullable().optional(),\n has_invalid_phone: z.boolean().describe(\"Whether the phone number is invalid\").nullable().optional(),\n is_first_message_sent: z.boolean().describe(\"Whether the first message has been sent to this contact\").nullable().optional(),\n}).passthrough();\n\nexport const spokiUpdateContact = action(\"SPOKI_UPDATE_CONTACT\", {\n slug: \"spoki-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.\",\n input: SpokiUpdateContactInput,\n output: SpokiUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.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 SpokiUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update. This is the contact ID returned when creating or listing contacts\"),\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+393331234567' (Italy), '+14155552671' (USA), '+447700900123' (UK)\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code for the contact's preferred language. Common values: 'en' (English), 'it' (Italian), 'es' (Spanish), 'de' (German), 'pt' (Portuguese), 'fr' (French)\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Supports Unicode characters and special characters like hyphens and apostrophes (e.g., 'O'Brien-Müller')\").optional(),\n first_name: z.string().describe(\"First name of the contact. Supports Unicode characters for international names (e.g., 'François', 'María', 'João')\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})\").optional(),\n});\nexport const SpokiUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").nullable(),\n language: z.string().describe(\"Language code of the contact (e.g., 'en', 'it', 'es')\").nullable(),\n role_set: z.array(z.string()).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"Direct link to chat with this contact on Spoki platform\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Whether the contact is blocked\").nullable(),\n is_restricted: z.boolean().describe(\"Whether the contact is restricted\").nullable().optional(),\n has_invalid_phone: z.boolean().describe(\"Whether the phone number is invalid\").nullable().optional(),\n is_first_message_sent: z.boolean().describe(\"Whether the first message has been sent to this contact\").nullable().optional(),\n}).passthrough();\n\nexport const spokiUpdateContact: AppAction<\n typeof SpokiUpdateContactInput,\n typeof SpokiUpdateContactOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_CONTACT\", {\n slug: \"spoki-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.\",\n input: SpokiUpdateContactInput,\n output: SpokiUpdateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CACvI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAClO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC9K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC/J,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;AAChQ,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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/update-contact.d.ts
|
|
@@ -24,27 +26,7 @@ declare const SpokiUpdateContactOutput: z.ZodObject<{
|
|
|
24
26
|
has_invalid_phone: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
27
|
is_first_message_sent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const spokiUpdateContact:
|
|
28
|
-
id: string;
|
|
29
|
-
email?: string | undefined;
|
|
30
|
-
phone?: string | undefined;
|
|
31
|
-
language?: string | undefined;
|
|
32
|
-
last_name?: string | undefined;
|
|
33
|
-
first_name?: string | undefined;
|
|
34
|
-
custom_fields?: Record<string, unknown> | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const spokiUpdateContact: AppAction<typeof SpokiUpdateContactInput, typeof SpokiUpdateContactOutput, typeof spoki.credential>;
|
|
48
30
|
//#endregion
|
|
49
31
|
export { spokiUpdateContact };
|
|
50
32
|
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/update-contact.d.ts
|
|
@@ -24,27 +26,7 @@ declare const SpokiUpdateContactOutput: z.ZodObject<{
|
|
|
24
26
|
has_invalid_phone: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
25
27
|
is_first_message_sent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const spokiUpdateContact:
|
|
28
|
-
id: string;
|
|
29
|
-
email?: string | undefined;
|
|
30
|
-
phone?: string | undefined;
|
|
31
|
-
language?: string | undefined;
|
|
32
|
-
last_name?: string | undefined;
|
|
33
|
-
first_name?: string | undefined;
|
|
34
|
-
custom_fields?: Record<string, unknown> | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const spokiUpdateContact: AppAction<typeof SpokiUpdateContactInput, typeof SpokiUpdateContactOutput, typeof spoki.credential>;
|
|
48
30
|
//#endregion
|
|
49
31
|
export { spokiUpdateContact };
|
|
50
32
|
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cASvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAexB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update. This is the contact ID returned when creating or listing contacts\"),\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+393331234567' (Italy), '+14155552671' (USA), '+447700900123' (UK)\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code for the contact's preferred language. Common values: 'en' (English), 'it' (Italian), 'es' (Spanish), 'de' (German), 'pt' (Portuguese), 'fr' (French)\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Supports Unicode characters and special characters like hyphens and apostrophes (e.g., 'O'Brien-Müller')\").optional(),\n first_name: z.string().describe(\"First name of the contact. Supports Unicode characters for international names (e.g., 'François', 'María', 'João')\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})\").optional(),\n});\nexport const SpokiUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").nullable(),\n language: z.string().describe(\"Language code of the contact (e.g., 'en', 'it', 'es')\").nullable(),\n role_set: z.array(z.string()).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"Direct link to chat with this contact on Spoki platform\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Whether the contact is blocked\").nullable(),\n is_restricted: z.boolean().describe(\"Whether the contact is restricted\").nullable().optional(),\n has_invalid_phone: z.boolean().describe(\"Whether the phone number is invalid\").nullable().optional(),\n is_first_message_sent: z.boolean().describe(\"Whether the first message has been sent to this contact\").nullable().optional(),\n}).passthrough();\n\nexport const spokiUpdateContact = action(\"SPOKI_UPDATE_CONTACT\", {\n slug: \"spoki-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.\",\n input: SpokiUpdateContactInput,\n output: SpokiUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.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 SpokiUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update. This is the contact ID returned when creating or listing contacts\"),\n email: z.string().describe(\"Email address of the contact. Must be a valid email format\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 international format (must include country code with + prefix). Examples: '+393331234567' (Italy), '+14155552671' (USA), '+447700900123' (UK)\").optional(),\n language: z.string().describe(\"ISO 639-1 two-letter language code for the contact's preferred language. Common values: 'en' (English), 'it' (Italian), 'es' (Spanish), 'de' (German), 'pt' (Portuguese), 'fr' (French)\").optional(),\n last_name: z.string().describe(\"Last name of the contact. Supports Unicode characters and special characters like hyphens and apostrophes (e.g., 'O'Brien-Müller')\").optional(),\n first_name: z.string().describe(\"First name of the contact. Supports Unicode characters for international names (e.g., 'François', 'María', 'João')\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Dictionary of custom field names and their values. Use this to store additional contact information beyond standard fields (e.g., {'company': 'Acme Corp', 'employee_id': 'EMP-12345'})\").optional(),\n});\nexport const SpokiUpdateContactOutput = z.object({\n id: z.number().int().describe(\"Unique ID of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").nullable(),\n language: z.string().describe(\"Language code of the contact (e.g., 'en', 'it', 'es')\").nullable(),\n role_set: z.array(z.string()).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"Direct link to chat with this contact on Spoki platform\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Whether the contact is blocked\").nullable(),\n is_restricted: z.boolean().describe(\"Whether the contact is restricted\").nullable().optional(),\n has_invalid_phone: z.boolean().describe(\"Whether the phone number is invalid\").nullable().optional(),\n is_first_message_sent: z.boolean().describe(\"Whether the first message has been sent to this contact\").nullable().optional(),\n}).passthrough();\n\nexport const spokiUpdateContact: AppAction<\n typeof SpokiUpdateContactInput,\n typeof SpokiUpdateContactOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_CONTACT\", {\n slug: \"spoki-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in Spoki. Use when you need to modify contact information for a specific contact ID. Only the fields provided will be updated; other fields remain unchanged.\",\n input: SpokiUpdateContactInput,\n output: SpokiUpdateContactOutput,\n});\n"],"mappings":";;;AA8BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhCqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACvI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EAClO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC/J,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAChQ,CAwBS;CACP,QAxBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC5E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCustomFieldInput = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"Human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/update-custom-field.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 SpokiUpdateCustomFieldInput = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"Human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField: AppAction<\n typeof SpokiUpdateCustomFieldInput,\n typeof SpokiUpdateCustomFieldOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/update-custom-field.d.ts
|
|
@@ -13,22 +15,7 @@ declare const SpokiUpdateCustomFieldOutput: z.ZodObject<{
|
|
|
13
15
|
is_linked: z.ZodNullable<z.ZodBoolean>;
|
|
14
16
|
field_type: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const spokiUpdateCustomField:
|
|
17
|
-
label: string;
|
|
18
|
-
custom_field_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
18
|
+
declare const spokiUpdateCustomField: AppAction<typeof SpokiUpdateCustomFieldInput, typeof SpokiUpdateCustomFieldOutput, typeof spoki.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { spokiUpdateCustomField };
|
|
34
21
|
//# sourceMappingURL=update-custom-field.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-field.d.cts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-field.d.cts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/update-custom-field.d.ts
|
|
@@ -13,22 +15,7 @@ declare const SpokiUpdateCustomFieldOutput: z.ZodObject<{
|
|
|
13
15
|
is_linked: z.ZodNullable<z.ZodBoolean>;
|
|
14
16
|
field_type: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const spokiUpdateCustomField:
|
|
17
|
-
label: string;
|
|
18
|
-
custom_field_id: number;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
18
|
+
declare const spokiUpdateCustomField: AppAction<typeof SpokiUpdateCustomFieldInput, typeof SpokiUpdateCustomFieldOutput, typeof spoki.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { spokiUpdateCustomField };
|
|
34
21
|
//# sourceMappingURL=update-custom-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-field.d.mts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-field.d.mts","names":[],"sources":["../../src/actions/update-custom-field.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAS5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateCustomFieldInput = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"Human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-custom-field.mjs","names":[],"sources":["../../src/actions/update-custom-field.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 SpokiUpdateCustomFieldInput = z.object({\n label: z.string().describe(\"New display label of the custom field\"),\n custom_field_id: z.number().int().describe(\"Unique identifier of the custom field to update\"),\n}).describe(\"Request model for updating a specific custom field.\");\nexport const SpokiUpdateCustomFieldOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Programmatic code used to reference the custom field\").nullable(),\n label: z.string().describe(\"Human-readable label of the custom field\").nullable(),\n example: z.string().describe(\"Example or default value for the custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether the custom field is linked/associated with contacts\").nullable(),\n field_type: z.union([z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n}).passthrough().describe(\"Response model containing details of the updated custom field.\");\n\nexport const spokiUpdateCustomField: AppAction<\n typeof SpokiUpdateCustomFieldInput,\n typeof SpokiUpdateCustomFieldOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_CUSTOM_FIELD\", {\n slug: \"spoki-update-custom-field\",\n name: \"Update Custom Field\",\n description: \"Tool to update a specific custom field. Use after retrieving a field to change its label.\",\n input: SpokiUpdateCustomFieldInput,\n output: SpokiUpdateCustomFieldOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAkBH;CACP,QAlB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invitation-role.cjs","names":["z","action"],"sources":["../../src/actions/update-invitation-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateInvitationRoleInput = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-invitation-role.cjs","names":["z","action"],"sources":["../../src/actions/update-invitation-role.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 SpokiUpdateInvitationRoleInput = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole: AppAction<\n typeof SpokiUpdateInvitationRoleInput,\n typeof SpokiUpdateInvitationRoleOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AACjJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/update-invitation-role.d.ts
|
|
@@ -11,22 +13,7 @@ declare const SpokiUpdateInvitationRoleOutput: z.ZodObject<{
|
|
|
11
13
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spokiUpdateInvitationRole:
|
|
15
|
-
id: string;
|
|
16
|
-
role: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spokiUpdateInvitationRole: AppAction<typeof SpokiUpdateInvitationRoleInput, typeof SpokiUpdateInvitationRoleOutput, typeof spoki.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { spokiUpdateInvitationRole };
|
|
32
19
|
//# sourceMappingURL=update-invitation-role.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invitation-role.d.cts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-invitation-role.d.cts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/update-invitation-role.d.ts
|
|
@@ -11,22 +13,7 @@ declare const SpokiUpdateInvitationRoleOutput: z.ZodObject<{
|
|
|
11
13
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spokiUpdateInvitationRole:
|
|
15
|
-
id: string;
|
|
16
|
-
role: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spokiUpdateInvitationRole: AppAction<typeof SpokiUpdateInvitationRoleInput, typeof SpokiUpdateInvitationRoleOutput, typeof spoki.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { spokiUpdateInvitationRole };
|
|
32
19
|
//# sourceMappingURL=update-invitation-role.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invitation-role.d.mts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-invitation-role.d.mts","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAO/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-invitation-role.mjs","names":[],"sources":["../../src/actions/update-invitation-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateInvitationRoleInput = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-invitation-role.mjs","names":[],"sources":["../../src/actions/update-invitation-role.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 SpokiUpdateInvitationRoleInput = z.object({\n id: z.string().describe(\"The invitation ID to update the role for\"),\n role: z.string().describe(\"New role to assign to the invitation. Common roles include 'Administrator', 'Chat Operator', 'Admin', 'Agent', etc.\"),\n}).describe(\"Request parameters for updating an invitation role.\");\nexport const SpokiUpdateInvitationRoleOutput = z.object({\n id: z.number().int().describe(\"The invitation ID\").nullable().optional(),\n role: z.string().describe(\"The updated role for the invitation\").nullable().optional(),\n message: z.string().describe(\"Message from the API about the update operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the role update was successful\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an invitation role.\");\n\nexport const spokiUpdateInvitationRole: AppAction<\n typeof SpokiUpdateInvitationRoleInput,\n typeof SpokiUpdateInvitationRoleOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_INVITATION_ROLE\", {\n slug: \"spoki-update-invitation-role\",\n name: \"Update Invitation Role\",\n description: \"Tool to update the role of a pending invitation. Use when you need to change the role assigned to an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiUpdateInvitationRoleInput,\n output: SpokiUpdateInvitationRoleOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACjJ,CAAC,CAAC,CAAC,SAAS,qDAgBH;CACP,QAhB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-media.cjs","names":["z","action"],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateMediaInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-media.cjs","names":["z","action"],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiUpdateMediaInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia: AppAction<\n typeof SpokiUpdateMediaInput,\n typeof SpokiUpdateMediaOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;AAC3D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/update-media.d.ts
|
|
@@ -15,22 +17,7 @@ declare const SpokiUpdateMediaOutput: z.ZodObject<{
|
|
|
15
17
|
created_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
updated_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const spokiUpdateMedia:
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const spokiUpdateMedia: AppAction<typeof SpokiUpdateMediaInput, typeof SpokiUpdateMediaOutput, typeof spoki.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { spokiUpdateMedia };
|
|
36
23
|
//# sourceMappingURL=update-media.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-media.d.cts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-media.d.cts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAWtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spoki } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-media.d.ts
|
|
@@ -15,22 +17,7 @@ declare const SpokiUpdateMediaOutput: z.ZodObject<{
|
|
|
15
17
|
created_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
updated_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const spokiUpdateMedia:
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
generic_api_key: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const spokiUpdateMedia: AppAction<typeof SpokiUpdateMediaInput, typeof SpokiUpdateMediaOutput, typeof spoki.credential>;
|
|
34
21
|
//#endregion
|
|
35
22
|
export { spokiUpdateMedia };
|
|
36
23
|
//# sourceMappingURL=update-media.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-media.d.mts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-media.d.mts","names":[],"sources":["../../src/actions/update-media.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAIrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAWtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-media.mjs","names":[],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateMediaInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-media.mjs","names":[],"sources":["../../src/actions/update-media.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spoki } from \"../app\";\n\nexport const SpokiUpdateMediaInput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file to update\"),\n title: z.string().describe(\"New title for the media file\"),\n}).describe(\"Request model for updating a media file.\");\nexport const SpokiUpdateMediaOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n url: z.string().describe(\"URL where the media file is accessible\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n file_name: z.string().describe(\"Name of the media file\").nullable().optional(),\n file_size: z.number().int().describe(\"Size of the file in bytes\").nullable().optional(),\n mime_type: z.string().describe(\"MIME type of the media file\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the media was created, ISO 8601 format\").nullable().optional(),\n updated_datetime: z.string().describe(\"Timestamp when the media was last updated, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model containing details of the updated media file.\");\n\nexport const spokiUpdateMedia: AppAction<\n typeof SpokiUpdateMediaInput,\n typeof SpokiUpdateMediaOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_MEDIA\", {\n slug: \"spoki-update-media\",\n name: \"Update Media\",\n description: \"Tool to update an existing media file in Spoki. Use when you need to modify media file details like title. Rate limit: 120 requests per minute.\",\n input: SpokiUpdateMediaInput,\n output: SpokiUpdateMediaOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,CAAC,CAAC,CAAC,SAAS,0CAoBH;CACP,QApBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-role.cjs","names":["z","action"],"sources":["../../src/actions/update-role.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiUpdateRoleInput = z.object({\n id: z.string().describe(\"The role ID to update\"),\n role: z.string().describe(\"New role name to assign to the user\"),\n}).describe(\"Request parameters for updating a user's role. Provide the role ID and the new role name.\");\nexport const SpokiUpdateRoleOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the role\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n permission_set: z.array(z.string()).describe(\"List of permissions assigned to this role\").nullable().optional(),\n}).passthrough().describe(\"Response containing details of the updated role.\");\n\nexport const spokiUpdateRole = action(\"SPOKI_UPDATE_ROLE\", {\n slug: \"spoki-update-role\",\n name: \"Update Role\",\n description: \"Tool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateRoleInput,\n output: SpokiUpdateRoleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-role.cjs","names":["z","action"],"sources":["../../src/actions/update-role.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 SpokiUpdateRoleInput = z.object({\n id: z.string().describe(\"The role ID to update\"),\n role: z.string().describe(\"New role name to assign to the user\"),\n}).describe(\"Request parameters for updating a user's role. Provide the role ID and the new role name.\");\nexport const SpokiUpdateRoleOutput = z.object({\n id: z.number().int().describe(\"Unique identifier of the role\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n permission_set: z.array(z.string()).describe(\"List of permissions assigned to this role\").nullable().optional(),\n}).passthrough().describe(\"Response containing details of the updated role.\");\n\nexport const spokiUpdateRole: AppAction<\n typeof SpokiUpdateRoleInput,\n typeof SpokiUpdateRoleOutput,\n typeof spoki.credential\n> = action(\"SPOKI_UPDATE_ROLE\", {\n slug: \"spoki-update-role\",\n name: \"Update Role\",\n description: \"Tool to update a user's role. Use when you need to change a user's role assignment. Rate limit: 10 requests per minute.\",\n input: SpokiUpdateRoleInput,\n output: SpokiUpdateRoleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACjE,CAAC,CAAC,CAAC,SAAS,2FAA2F;AACvG,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,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/update-role.d.ts
|
|
@@ -10,22 +12,7 @@ declare const SpokiUpdateRoleOutput: z.ZodObject<{
|
|
|
10
12
|
name: z.ZodNullable<z.ZodString>;
|
|
11
13
|
permission_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const spokiUpdateRole:
|
|
14
|
-
id: string;
|
|
15
|
-
role: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const spokiUpdateRole: AppAction<typeof SpokiUpdateRoleInput, typeof SpokiUpdateRoleOutput, typeof spoki.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { spokiUpdateRole };
|
|
31
18
|
//# sourceMappingURL=update-role.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-role.d.cts","names":[],"sources":["../../src/actions/update-role.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-role.d.cts","names":[],"sources":["../../src/actions/update-role.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAMrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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/update-role.d.ts
|
|
@@ -10,22 +12,7 @@ declare const SpokiUpdateRoleOutput: z.ZodObject<{
|
|
|
10
12
|
name: z.ZodNullable<z.ZodString>;
|
|
11
13
|
permission_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const spokiUpdateRole:
|
|
14
|
-
id: string;
|
|
15
|
-
role: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spoki", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const spokiUpdateRole: AppAction<typeof SpokiUpdateRoleInput, typeof SpokiUpdateRoleOutput, typeof spoki.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { spokiUpdateRole };
|
|
31
18
|
//# sourceMappingURL=update-role.d.mts.map
|