@keystrokehq/spoki 0.1.0 → 0.1.2
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.map +1 -1
- package/dist/actions/add-contact-operator.d.cts +9 -3
- package/dist/actions/add-contact-operator.d.cts.map +1 -1
- package/dist/actions/add-contact-operator.d.mts +9 -3
- package/dist/actions/add-contact-operator.d.mts.map +1 -1
- package/dist/actions/add-contact-operator.mjs.map +1 -1
- package/dist/actions/add-service-user.cjs +3 -3
- package/dist/actions/add-service-user.cjs.map +1 -1
- package/dist/actions/add-service-user.d.cts +13 -3
- package/dist/actions/add-service-user.d.cts.map +1 -1
- package/dist/actions/add-service-user.d.mts +13 -3
- package/dist/actions/add-service-user.d.mts.map +1 -1
- package/dist/actions/add-service-user.mjs +3 -3
- package/dist/actions/add-service-user.mjs.map +1 -1
- package/dist/actions/check-role-private-key.cjs +1 -1
- package/dist/actions/check-role-private-key.cjs.map +1 -1
- package/dist/actions/check-role-private-key.d.cts +9 -3
- package/dist/actions/check-role-private-key.d.cts.map +1 -1
- package/dist/actions/check-role-private-key.d.mts +9 -3
- package/dist/actions/check-role-private-key.d.mts.map +1 -1
- package/dist/actions/check-role-private-key.mjs +1 -1
- package/dist/actions/check-role-private-key.mjs.map +1 -1
- package/dist/actions/clone-template.cjs +12 -12
- package/dist/actions/clone-template.cjs.map +1 -1
- package/dist/actions/clone-template.d.cts +48 -3
- package/dist/actions/clone-template.d.cts.map +1 -1
- package/dist/actions/clone-template.d.mts +48 -3
- package/dist/actions/clone-template.d.mts.map +1 -1
- package/dist/actions/clone-template.mjs +12 -12
- package/dist/actions/clone-template.mjs.map +1 -1
- package/dist/actions/create-account-onboarding-link.cjs +3 -3
- package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
- package/dist/actions/create-account-onboarding-link.d.cts +11 -3
- package/dist/actions/create-account-onboarding-link.d.cts.map +1 -1
- package/dist/actions/create-account-onboarding-link.d.mts +11 -3
- package/dist/actions/create-account-onboarding-link.d.mts.map +1 -1
- package/dist/actions/create-account-onboarding-link.mjs +3 -3
- package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +6 -6
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +20 -3
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +20 -3
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +6 -6
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-list.cjs +4 -4
- package/dist/actions/create-list.cjs.map +1 -1
- package/dist/actions/create-list.d.cts +13 -3
- package/dist/actions/create-list.d.cts.map +1 -1
- package/dist/actions/create-list.d.mts +13 -3
- package/dist/actions/create-list.d.mts.map +1 -1
- package/dist/actions/create-list.mjs +4 -4
- package/dist/actions/create-list.mjs.map +1 -1
- package/dist/actions/create-media.cjs.map +1 -1
- package/dist/actions/create-media.d.cts +19 -3
- package/dist/actions/create-media.d.cts.map +1 -1
- package/dist/actions/create-media.d.mts +19 -3
- package/dist/actions/create-media.d.mts.map +1 -1
- package/dist/actions/create-media.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +8 -8
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +30 -3
- package/dist/actions/create-or-update-contact.d.cts.map +1 -1
- package/dist/actions/create-or-update-contact.d.mts +30 -3
- package/dist/actions/create-or-update-contact.d.mts.map +1 -1
- package/dist/actions/create-or-update-contact.mjs +8 -8
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/create-template.cjs +9 -9
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +93 -3
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +93 -3
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +9 -9
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +21 -21
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +65 -3
- package/dist/actions/create-ticket.d.cts.map +1 -1
- package/dist/actions/create-ticket.d.mts +65 -3
- package/dist/actions/create-ticket.d.mts.map +1 -1
- package/dist/actions/create-ticket.mjs +21 -21
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +7 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +7 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +7 -3
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +7 -3
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +7 -3
- package/dist/actions/delete-list.d.cts.map +1 -1
- package/dist/actions/delete-list.d.mts +7 -3
- package/dist/actions/delete-list.d.mts.map +1 -1
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +7 -3
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +7 -3
- package/dist/actions/delete-media.d.mts.map +1 -1
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-role.cjs.map +1 -1
- package/dist/actions/delete-role.d.cts +7 -3
- package/dist/actions/delete-role.d.cts.map +1 -1
- package/dist/actions/delete-role.d.mts +7 -3
- package/dist/actions/delete-role.d.mts.map +1 -1
- package/dist/actions/delete-role.mjs.map +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +11 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +11 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-ticket.cjs.map +1 -1
- package/dist/actions/delete-ticket.d.cts +7 -3
- package/dist/actions/delete-ticket.d.cts.map +1 -1
- package/dist/actions/delete-ticket.d.mts +7 -3
- package/dist/actions/delete-ticket.d.mts.map +1 -1
- package/dist/actions/delete-ticket.mjs.map +1 -1
- package/dist/actions/generate-role-private-key.cjs +1 -1
- package/dist/actions/generate-role-private-key.cjs.map +1 -1
- package/dist/actions/generate-role-private-key.d.cts +9 -3
- package/dist/actions/generate-role-private-key.d.cts.map +1 -1
- package/dist/actions/generate-role-private-key.d.mts +9 -3
- package/dist/actions/generate-role-private-key.d.mts.map +1 -1
- package/dist/actions/generate-role-private-key.mjs +1 -1
- package/dist/actions/generate-role-private-key.mjs.map +1 -1
- package/dist/actions/get-account-current-report.cjs.map +1 -1
- package/dist/actions/get-account-current-report.d.cts +22 -3
- package/dist/actions/get-account-current-report.d.cts.map +1 -1
- package/dist/actions/get-account-current-report.d.mts +22 -3
- package/dist/actions/get-account-current-report.d.mts.map +1 -1
- package/dist/actions/get-account-current-report.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +23 -23
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +42 -3
- package/dist/actions/list-accounts.d.cts.map +1 -1
- package/dist/actions/list-accounts.d.mts +42 -3
- package/dist/actions/list-accounts.d.mts.map +1 -1
- package/dist/actions/list-accounts.mjs +23 -23
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-agencies.cjs.map +1 -1
- package/dist/actions/list-agencies.d.cts +3 -3
- package/dist/actions/list-agencies.d.cts.map +1 -1
- package/dist/actions/list-agencies.d.mts +3 -3
- package/dist/actions/list-agencies.d.mts.map +1 -1
- package/dist/actions/list-agencies.mjs.map +1 -1
- package/dist/actions/list-automations.cjs +11 -11
- package/dist/actions/list-automations.cjs.map +1 -1
- package/dist/actions/list-automations.d.cts +52 -3
- package/dist/actions/list-automations.d.cts.map +1 -1
- package/dist/actions/list-automations.d.mts +52 -3
- package/dist/actions/list-automations.d.mts.map +1 -1
- package/dist/actions/list-automations.mjs +11 -11
- package/dist/actions/list-automations.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +22 -22
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +46 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +46 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +22 -22
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +18 -18
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +60 -3
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +60 -3
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +18 -18
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +5 -5
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +18 -3
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +18 -3
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +5 -5
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-lists.cjs +5 -5
- package/dist/actions/list-lists.cjs.map +1 -1
- package/dist/actions/list-lists.d.cts +22 -3
- package/dist/actions/list-lists.d.cts.map +1 -1
- package/dist/actions/list-lists.d.mts +22 -3
- package/dist/actions/list-lists.d.mts.map +1 -1
- package/dist/actions/list-lists.mjs +5 -5
- package/dist/actions/list-lists.mjs.map +1 -1
- package/dist/actions/list-media.cjs +7 -7
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +23 -3
- package/dist/actions/list-media.d.cts.map +1 -1
- package/dist/actions/list-media.d.mts +23 -3
- package/dist/actions/list-media.d.mts.map +1 -1
- package/dist/actions/list-media.mjs +7 -7
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-partners.cjs.map +1 -1
- package/dist/actions/list-partners.d.cts +3 -3
- package/dist/actions/list-partners.d.cts.map +1 -1
- package/dist/actions/list-partners.d.mts +3 -3
- package/dist/actions/list-partners.d.mts.map +1 -1
- package/dist/actions/list-partners.mjs.map +1 -1
- package/dist/actions/list-reports.cjs +1 -1
- package/dist/actions/list-reports.cjs.map +1 -1
- package/dist/actions/list-reports.d.cts +35 -3
- package/dist/actions/list-reports.d.cts.map +1 -1
- package/dist/actions/list-reports.d.mts +35 -3
- package/dist/actions/list-reports.d.mts.map +1 -1
- package/dist/actions/list-reports.mjs +1 -1
- package/dist/actions/list-reports.mjs.map +1 -1
- package/dist/actions/list-roles.cjs +12 -12
- package/dist/actions/list-roles.cjs.map +1 -1
- package/dist/actions/list-roles.d.cts +23 -3
- package/dist/actions/list-roles.d.cts.map +1 -1
- package/dist/actions/list-roles.d.mts +23 -3
- package/dist/actions/list-roles.d.mts.map +1 -1
- package/dist/actions/list-roles.mjs +12 -12
- package/dist/actions/list-roles.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +5 -5
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +13 -3
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +13 -3
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +5 -5
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +15 -15
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +51 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +51 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +15 -15
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-tickets.cjs +22 -22
- package/dist/actions/list-tickets.cjs.map +1 -1
- package/dist/actions/list-tickets.d.cts +63 -3
- package/dist/actions/list-tickets.d.cts.map +1 -1
- package/dist/actions/list-tickets.d.mts +63 -3
- package/dist/actions/list-tickets.d.mts.map +1 -1
- package/dist/actions/list-tickets.mjs +22 -22
- package/dist/actions/list-tickets.mjs.map +1 -1
- package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
- package/dist/actions/remove-all-list-contacts.d.cts +9 -3
- package/dist/actions/remove-all-list-contacts.d.cts.map +1 -1
- package/dist/actions/remove-all-list-contacts.d.mts +9 -3
- package/dist/actions/remove-all-list-contacts.d.mts.map +1 -1
- package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
- package/dist/actions/remove-contact-operator.cjs.map +1 -1
- package/dist/actions/remove-contact-operator.d.cts +11 -3
- package/dist/actions/remove-contact-operator.d.cts.map +1 -1
- package/dist/actions/remove-contact-operator.d.mts +11 -3
- package/dist/actions/remove-contact-operator.d.mts.map +1 -1
- package/dist/actions/remove-contact-operator.mjs.map +1 -1
- package/dist/actions/remove-list-contacts.cjs.map +1 -1
- package/dist/actions/remove-list-contacts.d.cts +11 -3
- package/dist/actions/remove-list-contacts.d.cts.map +1 -1
- package/dist/actions/remove-list-contacts.d.mts +11 -3
- package/dist/actions/remove-list-contacts.d.mts.map +1 -1
- package/dist/actions/remove-list-contacts.mjs.map +1 -1
- package/dist/actions/resend-invitation.cjs.map +1 -1
- package/dist/actions/resend-invitation.d.cts +10 -3
- package/dist/actions/resend-invitation.d.cts.map +1 -1
- package/dist/actions/resend-invitation.d.mts +10 -3
- package/dist/actions/resend-invitation.d.mts.map +1 -1
- package/dist/actions/resend-invitation.mjs.map +1 -1
- package/dist/actions/retrieve-account.cjs +22 -22
- package/dist/actions/retrieve-account.cjs.map +1 -1
- package/dist/actions/retrieve-account.d.cts +35 -3
- package/dist/actions/retrieve-account.d.cts.map +1 -1
- package/dist/actions/retrieve-account.d.mts +35 -3
- package/dist/actions/retrieve-account.d.mts.map +1 -1
- package/dist/actions/retrieve-account.mjs +22 -22
- package/dist/actions/retrieve-account.mjs.map +1 -1
- package/dist/actions/retrieve-automation.cjs +10 -10
- package/dist/actions/retrieve-automation.cjs.map +1 -1
- package/dist/actions/retrieve-automation.d.cts +23 -3
- package/dist/actions/retrieve-automation.d.cts.map +1 -1
- package/dist/actions/retrieve-automation.d.mts +23 -3
- package/dist/actions/retrieve-automation.d.mts.map +1 -1
- package/dist/actions/retrieve-automation.mjs +10 -10
- package/dist/actions/retrieve-automation.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +23 -23
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +45 -3
- package/dist/actions/retrieve-contact.d.cts.map +1 -1
- package/dist/actions/retrieve-contact.d.mts +45 -3
- package/dist/actions/retrieve-contact.d.mts.map +1 -1
- package/dist/actions/retrieve-contact.mjs +23 -23
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-custom-field.cjs +5 -5
- package/dist/actions/retrieve-custom-field.cjs.map +1 -1
- package/dist/actions/retrieve-custom-field.d.cts +14 -3
- package/dist/actions/retrieve-custom-field.d.cts.map +1 -1
- package/dist/actions/retrieve-custom-field.d.mts +14 -3
- package/dist/actions/retrieve-custom-field.d.mts.map +1 -1
- package/dist/actions/retrieve-custom-field.mjs +5 -5
- package/dist/actions/retrieve-custom-field.mjs.map +1 -1
- package/dist/actions/retrieve-list.cjs +4 -4
- package/dist/actions/retrieve-list.cjs.map +1 -1
- package/dist/actions/retrieve-list.d.cts +13 -3
- package/dist/actions/retrieve-list.d.cts.map +1 -1
- package/dist/actions/retrieve-list.d.mts +13 -3
- package/dist/actions/retrieve-list.d.mts.map +1 -1
- package/dist/actions/retrieve-list.mjs +4 -4
- package/dist/actions/retrieve-list.mjs.map +1 -1
- package/dist/actions/retrieve-media.cjs.map +1 -1
- package/dist/actions/retrieve-media.d.cts +16 -3
- package/dist/actions/retrieve-media.d.cts.map +1 -1
- package/dist/actions/retrieve-media.d.mts +16 -3
- package/dist/actions/retrieve-media.d.mts.map +1 -1
- package/dist/actions/retrieve-media.mjs.map +1 -1
- package/dist/actions/retrieve-role.cjs.map +1 -1
- package/dist/actions/retrieve-role.d.cts +22 -3
- package/dist/actions/retrieve-role.d.cts.map +1 -1
- package/dist/actions/retrieve-role.d.mts +22 -3
- package/dist/actions/retrieve-role.d.mts.map +1 -1
- package/dist/actions/retrieve-role.mjs.map +1 -1
- package/dist/actions/retrieve-tag.cjs.map +1 -1
- package/dist/actions/retrieve-tag.d.cts +12 -3
- package/dist/actions/retrieve-tag.d.cts.map +1 -1
- package/dist/actions/retrieve-tag.d.mts +12 -3
- package/dist/actions/retrieve-tag.d.mts.map +1 -1
- package/dist/actions/retrieve-tag.mjs.map +1 -1
- package/dist/actions/retrieve-template.cjs +14 -14
- package/dist/actions/retrieve-template.cjs.map +1 -1
- package/dist/actions/retrieve-template.d.cts +45 -3
- package/dist/actions/retrieve-template.d.cts.map +1 -1
- package/dist/actions/retrieve-template.d.mts +45 -3
- package/dist/actions/retrieve-template.d.mts.map +1 -1
- package/dist/actions/retrieve-template.mjs +14 -14
- package/dist/actions/retrieve-template.mjs.map +1 -1
- package/dist/actions/revert-template-to-draft.cjs +1 -1
- package/dist/actions/revert-template-to-draft.cjs.map +1 -1
- package/dist/actions/revert-template-to-draft.d.cts +9 -3
- package/dist/actions/revert-template-to-draft.d.cts.map +1 -1
- package/dist/actions/revert-template-to-draft.d.mts +9 -3
- package/dist/actions/revert-template-to-draft.d.mts.map +1 -1
- package/dist/actions/revert-template-to-draft.mjs +1 -1
- package/dist/actions/revert-template-to-draft.mjs.map +1 -1
- package/dist/actions/sync-contacts-bulk.cjs +8 -8
- package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
- package/dist/actions/sync-contacts-bulk.d.cts +40 -3
- package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
- package/dist/actions/sync-contacts-bulk.d.mts +40 -3
- package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
- package/dist/actions/sync-contacts-bulk.mjs +8 -8
- package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
- package/dist/actions/sync-list-contacts.cjs.map +1 -1
- package/dist/actions/sync-list-contacts.d.cts +25 -3
- package/dist/actions/sync-list-contacts.d.cts.map +1 -1
- package/dist/actions/sync-list-contacts.d.mts +25 -3
- package/dist/actions/sync-list-contacts.d.mts.map +1 -1
- package/dist/actions/sync-list-contacts.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +5 -5
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +22 -3
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +22 -3
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +5 -5
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +5 -5
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +32 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +32 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +5 -5
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +5 -5
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +16 -3
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +16 -3
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +5 -5
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-invitation-role.cjs.map +1 -1
- package/dist/actions/update-invitation-role.d.cts +14 -3
- package/dist/actions/update-invitation-role.d.cts.map +1 -1
- package/dist/actions/update-invitation-role.d.mts +14 -3
- package/dist/actions/update-invitation-role.d.mts.map +1 -1
- package/dist/actions/update-invitation-role.mjs.map +1 -1
- package/dist/actions/update-media.cjs +2 -2
- package/dist/actions/update-media.cjs.map +1 -1
- package/dist/actions/update-media.d.cts +18 -3
- package/dist/actions/update-media.d.cts.map +1 -1
- package/dist/actions/update-media.d.mts +18 -3
- package/dist/actions/update-media.d.mts.map +1 -1
- package/dist/actions/update-media.mjs +2 -2
- package/dist/actions/update-media.mjs.map +1 -1
- package/dist/actions/update-role.cjs +2 -2
- package/dist/actions/update-role.cjs.map +1 -1
- package/dist/actions/update-role.d.cts +13 -3
- package/dist/actions/update-role.d.cts.map +1 -1
- package/dist/actions/update-role.d.mts +13 -3
- package/dist/actions/update-role.d.mts.map +1 -1
- package/dist/actions/update-role.mjs +2 -2
- package/dist/actions/update-role.mjs.map +1 -1
- package/dist/actions/update-template.cjs +5 -5
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +81 -3
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +81 -3
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +5 -5
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -14,38 +14,38 @@ const SpokiListContactsInput = z.object({
|
|
|
14
14
|
is_blocked: z.boolean().describe("Filter blocked contacts only when true").optional()
|
|
15
15
|
}).describe("Request parameters for listing, searching, and filtering contacts.");
|
|
16
16
|
const SpokiListContacts_TagSchema = z.object({
|
|
17
|
-
id: z.number().int().describe("Unique identifier of the tag"),
|
|
18
|
-
name: z.string().describe("Name of the tag"),
|
|
17
|
+
id: z.number().int().describe("Unique identifier of the tag").nullable(),
|
|
18
|
+
name: z.string().describe("Name of the tag").nullable(),
|
|
19
19
|
color: z.string().describe("Color code of the tag").nullable().optional(),
|
|
20
|
-
order: z.number().int().describe("Order index of the tag")
|
|
20
|
+
order: z.number().int().describe("Order index of the tag").nullable()
|
|
21
21
|
});
|
|
22
22
|
const SpokiListContacts_ListBaseSchema = z.object({
|
|
23
|
-
id: z.number().int().describe("Unique identifier of the list"),
|
|
24
|
-
name: z.string().describe("Name of the list"),
|
|
23
|
+
id: z.number().int().describe("Unique identifier of the list").nullable(),
|
|
24
|
+
name: z.string().describe("Name of the list").nullable(),
|
|
25
25
|
color: z.string().describe("Color code of the list").nullable().optional(),
|
|
26
|
-
contacts_count: z.number().int().describe("Number of contacts in the list"),
|
|
27
|
-
created_datetime: z.string().describe("Timestamp when the list was created")
|
|
26
|
+
contacts_count: z.number().int().describe("Number of contacts in the list").nullable(),
|
|
27
|
+
created_datetime: z.string().describe("Timestamp when the list was created").nullable()
|
|
28
28
|
});
|
|
29
29
|
const SpokiListContacts_ContactFieldSchema = z.object({
|
|
30
|
-
id: z.number().int().describe("Unique identifier of the contact field"),
|
|
31
|
-
field: z.number().int().describe("Custom field ID"),
|
|
32
|
-
value: z.string().describe("Value of the custom field"),
|
|
33
|
-
visual_code: z.string().describe("Template placeholder code of the field"),
|
|
30
|
+
id: z.number().int().describe("Unique identifier of the contact field").nullable(),
|
|
31
|
+
field: z.number().int().describe("Custom field ID").nullable(),
|
|
32
|
+
value: z.string().describe("Value of the custom field").nullable(),
|
|
33
|
+
visual_code: z.string().describe("Template placeholder code of the field").nullable(),
|
|
34
34
|
value_datetime: z.string().describe("Datetime value of the custom field if applicable").nullable().optional()
|
|
35
35
|
});
|
|
36
36
|
const SpokiListContacts_ContactSchema = z.object({
|
|
37
|
-
id: z.number().int().describe("Unique identifier of the contact"),
|
|
37
|
+
id: z.number().int().describe("Unique identifier of the contact").nullable(),
|
|
38
38
|
email: z.string().describe("Email address of the contact").nullable().optional(),
|
|
39
|
-
phone: z.string().describe("Phone number of the contact in international format"),
|
|
39
|
+
phone: z.string().describe("Phone number of the contact in international format").nullable(),
|
|
40
40
|
tag_set: z.array(SpokiListContacts_TagSchema).describe("List of tags assigned to the contact"),
|
|
41
|
-
language: z.string().describe("Language code of the contact"),
|
|
41
|
+
language: z.string().describe("Language code of the contact").nullable(),
|
|
42
42
|
list_set: z.array(SpokiListContacts_ListBaseSchema).describe("List of lists the contact belongs to"),
|
|
43
|
-
chat_link: z.string().describe("URL to open the chat with the contact"),
|
|
43
|
+
chat_link: z.string().describe("URL to open the chat with the contact").nullable(),
|
|
44
44
|
last_name: z.string().describe("Last name of the contact").nullable().optional(),
|
|
45
45
|
first_name: z.string().describe("First name of the contact").nullable().optional(),
|
|
46
46
|
contactfield_set: z.array(SpokiListContacts_ContactFieldSchema).describe("List of custom fields associated with the contact"),
|
|
47
|
-
created_datetime: z.string().describe("Timestamp when the contact was created"),
|
|
48
|
-
has_invalid_phone: z.boolean().describe("Indicates if the phone number is invalid")
|
|
47
|
+
created_datetime: z.string().describe("Timestamp when the contact was created").nullable(),
|
|
48
|
+
has_invalid_phone: z.boolean().describe("Indicates if the phone number is invalid").nullable()
|
|
49
49
|
});
|
|
50
50
|
const spokiListContacts = action("SPOKI_LIST_CONTACTS", {
|
|
51
51
|
slug: "spoki-list-contacts",
|
|
@@ -54,7 +54,7 @@ const spokiListContacts = action("SPOKI_LIST_CONTACTS", {
|
|
|
54
54
|
input: SpokiListContactsInput,
|
|
55
55
|
output: z.object({
|
|
56
56
|
next: z.string().describe("URL for the next page of results").nullable().optional(),
|
|
57
|
-
count: z.number().int().describe("Total number of contacts matching the filters"),
|
|
57
|
+
count: z.number().int().describe("Total number of contacts matching the filters").nullable(),
|
|
58
58
|
results: z.array(SpokiListContacts_ContactSchema).describe("List of contact objects"),
|
|
59
59
|
previous: z.string().describe("URL for the previous page of results").nullable().optional()
|
|
60
60
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListContactsInput
|
|
1
|
+
{"version":3,"file":"list-contacts.mjs","names":[],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListContactsInput = z.object({\n tag: z.number().int().describe(\"Filter by tag ID\").optional(),\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n email: z.string().describe(\"Filter by email (exact match)\").optional(),\n phone: z.string().describe(\"Filter by phone (exact match)\").optional(),\n search: z.string().describe(\"Search query for phone, email, first_name, last_name, language, or notes\").optional(),\n language: z.string().describe(\"Filter by language code\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n last_name: z.string().describe(\"Filter by last name\").optional(),\n first_name: z.string().describe(\"Filter by first name\").optional(),\n is_blocked: z.boolean().describe(\"Filter blocked contacts only when true\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering contacts.\");\nconst SpokiListContacts_TagSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the tag\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Color code of the tag\").nullable().optional(),\n order: z.number().int().describe(\"Order index of the tag\").nullable(),\n});\nconst SpokiListContacts_ListBaseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in the list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created\").nullable(),\n});\nconst SpokiListContacts_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field\").nullable(),\n field: z.number().int().describe(\"Custom field ID\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable(),\n visual_code: z.string().describe(\"Template placeholder code of the field\").nullable(),\n value_datetime: z.string().describe(\"Datetime value of the custom field if applicable\").nullable().optional(),\n});\nconst SpokiListContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact in international format\").nullable(),\n tag_set: z.array(SpokiListContacts_TagSchema).describe(\"List of tags assigned to the contact\"),\n language: z.string().describe(\"Language code of the contact\").nullable(),\n list_set: z.array(SpokiListContacts_ListBaseSchema).describe(\"List of lists the contact belongs to\"),\n chat_link: z.string().describe(\"URL to open the chat with the contact\").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 contactfield_set: z.array(SpokiListContacts_ContactFieldSchema).describe(\"List of custom fields associated with the contact\"),\n created_datetime: z.string().describe(\"Timestamp when the contact was created\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the phone number is invalid\").nullable(),\n});\nexport const SpokiListContactsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of contacts matching the filters\").nullable(),\n results: z.array(SpokiListContacts_ContactSchema).describe(\"List of contact objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n});\n\nexport const spokiListContacts = action(\"SPOKI_LIST_CONTACTS\", {\n slug: \"spoki-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list, search, and filter contacts. Use when you need to retrieve contacts with optional search and filters.\",\n input: SpokiListContactsInput,\n output: SpokiListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACxF,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,sCAAsC;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sCAAsC;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD;CAC5H,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC;AAQD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,yBAAyB;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAOU;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const SpokiListCustomFieldsInput = zod.z.object({
|
|
|
6
6
|
label: zod.z.string().describe("Filter custom fields whose label contains this string").optional()
|
|
7
7
|
}).describe("Request parameters for listing, searching, and filtering custom fields.");
|
|
8
8
|
const SpokiListCustomFields_CustomFieldSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier of the custom field"),
|
|
10
|
-
code: zod.z.string().describe("Machine key/code of the custom field"),
|
|
11
|
-
label: zod.z.string().describe("Human-readable name of the custom field"),
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the custom field").nullable(),
|
|
10
|
+
code: zod.z.string().describe("Machine key/code of the custom field").nullable(),
|
|
11
|
+
label: zod.z.string().describe("Human-readable name of the custom field").nullable(),
|
|
12
12
|
example: zod.z.string().describe("Example value for this custom field").nullable().optional(),
|
|
13
|
-
is_linked: zod.z.boolean().describe("Whether this custom field is linked to contacts"),
|
|
14
|
-
field_type: zod.z.number().int().describe("Type of field: 1=TEXT, 2=DATE, 3=DATETIME")
|
|
13
|
+
is_linked: zod.z.boolean().describe("Whether this custom field is linked to contacts").nullable(),
|
|
14
|
+
field_type: zod.z.number().int().describe("Type of field: 1=TEXT, 2=DATE, 3=DATETIME").nullable()
|
|
15
15
|
});
|
|
16
16
|
const SpokiListCustomFieldsOutput = zod.z.object({ custom_fields: zod.z.array(SpokiListCustomFields_CustomFieldSchema).describe("List of matching custom field definitions") }).describe("Response schema for list custom fields.");
|
|
17
17
|
const spokiListCustomFields = require_action.action("SPOKI_LIST_CUSTOM_FIELDS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListCustomFieldsInput
|
|
1
|
+
{"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListCustomFieldsInput = z.object({\n code: z.string().describe(\"Filter custom fields whose code contains this string\").optional(),\n label: z.string().describe(\"Filter custom fields whose label contains this string\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering custom fields.\");\nconst SpokiListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Machine key/code of the custom field\").nullable(),\n label: z.string().describe(\"Human-readable name of the custom field\").nullable(),\n example: z.string().describe(\"Example value for this custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether this custom field is linked to contacts\").nullable(),\n field_type: z.number().int().describe(\"Type of field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n});\nexport const SpokiListCustomFieldsOutput = z.object({\n custom_fields: z.array(SpokiListCustomFields_CustomFieldSchema).describe(\"List of matching custom field definitions\"),\n}).describe(\"Response schema for list custom fields.\");\n\nexport const spokiListCustomFields = action(\"SPOKI_LIST_CUSTOM_FIELDS\", {\n slug: \"spoki-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to list, search, and filter custom fields. Use when you need to fetch available custom-field definitions by label or code.\",\n input: SpokiListCustomFieldsInput,\n output: SpokiListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,eAAeA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,2CAA2C,EACtH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-custom-fields.d.ts
|
|
4
|
-
declare const SpokiListCustomFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpokiListCustomFieldsInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodOptional<z.ZodString>;
|
|
6
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SpokiListCustomFieldsOutput: z.ZodObject<{
|
|
9
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
code: z.ZodNullable<z.ZodString>;
|
|
12
|
+
label: z.ZodNullable<z.ZodString>;
|
|
13
|
+
example: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
is_linked: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
field_type: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const spokiListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
code?: string | undefined;
|
|
20
|
+
label?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { spokiListCustomFields };
|
|
9
24
|
//# sourceMappingURL=list-custom-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-custom-fields.d.ts
|
|
4
|
-
declare const SpokiListCustomFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpokiListCustomFieldsInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodOptional<z.ZodString>;
|
|
6
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SpokiListCustomFieldsOutput: z.ZodObject<{
|
|
9
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
code: z.ZodNullable<z.ZodString>;
|
|
12
|
+
label: z.ZodNullable<z.ZodString>;
|
|
13
|
+
example: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
is_linked: z.ZodNullable<z.ZodBoolean>;
|
|
15
|
+
field_type: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const spokiListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
code?: string | undefined;
|
|
20
|
+
label?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { spokiListCustomFields };
|
|
9
24
|
//# sourceMappingURL=list-custom-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAY1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -6,12 +6,12 @@ const SpokiListCustomFieldsInput = z.object({
|
|
|
6
6
|
label: z.string().describe("Filter custom fields whose label contains this string").optional()
|
|
7
7
|
}).describe("Request parameters for listing, searching, and filtering custom fields.");
|
|
8
8
|
const SpokiListCustomFields_CustomFieldSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the custom field"),
|
|
10
|
-
code: z.string().describe("Machine key/code of the custom field"),
|
|
11
|
-
label: z.string().describe("Human-readable name of the custom field"),
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the custom field").nullable(),
|
|
10
|
+
code: z.string().describe("Machine key/code of the custom field").nullable(),
|
|
11
|
+
label: z.string().describe("Human-readable name of the custom field").nullable(),
|
|
12
12
|
example: z.string().describe("Example value for this custom field").nullable().optional(),
|
|
13
|
-
is_linked: z.boolean().describe("Whether this custom field is linked to contacts"),
|
|
14
|
-
field_type: z.number().int().describe("Type of field: 1=TEXT, 2=DATE, 3=DATETIME")
|
|
13
|
+
is_linked: z.boolean().describe("Whether this custom field is linked to contacts").nullable(),
|
|
14
|
+
field_type: z.number().int().describe("Type of field: 1=TEXT, 2=DATE, 3=DATETIME").nullable()
|
|
15
15
|
});
|
|
16
16
|
const spokiListCustomFields = action("SPOKI_LIST_CUSTOM_FIELDS", {
|
|
17
17
|
slug: "spoki-list-custom-fields",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListCustomFieldsInput
|
|
1
|
+
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListCustomFieldsInput = z.object({\n code: z.string().describe(\"Filter custom fields whose code contains this string\").optional(),\n label: z.string().describe(\"Filter custom fields whose label contains this string\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering custom fields.\");\nconst SpokiListCustomFields_CustomFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the custom field\").nullable(),\n code: z.string().describe(\"Machine key/code of the custom field\").nullable(),\n label: z.string().describe(\"Human-readable name of the custom field\").nullable(),\n example: z.string().describe(\"Example value for this custom field\").nullable().optional(),\n is_linked: z.boolean().describe(\"Whether this custom field is linked to contacts\").nullable(),\n field_type: z.number().int().describe(\"Type of field: 1=TEXT, 2=DATE, 3=DATETIME\").nullable(),\n});\nexport const SpokiListCustomFieldsOutput = z.object({\n custom_fields: z.array(SpokiListCustomFields_CustomFieldSchema).describe(\"List of matching custom field definitions\"),\n}).describe(\"Response schema for list custom fields.\");\n\nexport const spokiListCustomFields = action(\"SPOKI_LIST_CUSTOM_FIELDS\", {\n slug: \"spoki-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to list, search, and filter custom fields. Use when you need to fetch available custom-field definitions by label or code.\",\n input: SpokiListCustomFieldsInput,\n output: SpokiListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC9F,CAAC;AAKD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,eAAe,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,2CAA2C,EACtH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -7,15 +7,15 @@ const SpokiListListsInput = zod.z.object({
|
|
|
7
7
|
per_page: zod.z.number().int().describe("Number of results per page, must be >= 1.").optional()
|
|
8
8
|
}).describe("Request parameters for listing, searching, and filtering contact lists.");
|
|
9
9
|
const SpokiListLists_ListItemSchema = zod.z.object({
|
|
10
|
-
id: zod.z.number().int().describe("Unique identifier of the list"),
|
|
11
|
-
name: zod.z.string().describe("Name of the list"),
|
|
10
|
+
id: zod.z.number().int().describe("Unique identifier of the list").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Name of the list").nullable(),
|
|
12
12
|
color: zod.z.string().describe("Color code of the list").nullable().optional(),
|
|
13
|
-
contacts_count: zod.z.number().int().describe("Number of contacts in the list"),
|
|
14
|
-
created_datetime: zod.z.string().describe("Timestamp when the list was created")
|
|
13
|
+
contacts_count: zod.z.number().int().describe("Number of contacts in the list").nullable(),
|
|
14
|
+
created_datetime: zod.z.string().describe("Timestamp when the list was created").nullable()
|
|
15
15
|
}).describe("Represents a contact list resource.");
|
|
16
16
|
const SpokiListListsOutput = zod.z.object({
|
|
17
17
|
next: zod.z.string().describe("URL for the next page of results").nullable().optional(),
|
|
18
|
-
count: zod.z.number().int().describe("Total number of lists matching the filters"),
|
|
18
|
+
count: zod.z.number().int().describe("Total number of lists matching the filters").nullable(),
|
|
19
19
|
results: zod.z.array(SpokiListLists_ListItemSchema).describe("List of contact list objects"),
|
|
20
20
|
previous: zod.z.string().describe("URL for the previous page of results").nullable().optional()
|
|
21
21
|
}).describe("Response model for listing contact lists.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListListsInput
|
|
1
|
+
{"version":3,"file":"list-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Search query to filter lists by name\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering contact lists.\");\nconst SpokiListLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in the list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created\").nullable(),\n}).describe(\"Represents a contact list resource.\");\nexport const SpokiListListsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of lists matching the filters\").nullable(),\n results: z.array(SpokiListLists_ListItemSchema).describe(\"List of contact list objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).describe(\"Response model for listing contact lists.\");\n\nexport const spokiListLists = action(\"SPOKI_LIST_LISTS\", {\n slug: \"spoki-list-lists\",\n name: \"List Lists\",\n description: \"Tool to list, search, and filter contact lists. Use when you need to retrieve all lists or find specific lists by name. Rate limit: 5 requests per minute.\",\n input: SpokiListListsInput,\n output: SpokiListListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,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,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lists.d.ts
|
|
4
|
-
declare const SpokiListListsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpokiListListsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
search: z.ZodOptional<z.ZodString>;
|
|
7
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SpokiListListsOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
results: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
contacts_count: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
created_datetime: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const spokiListLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
page?: number | undefined;
|
|
23
|
+
search?: string | undefined;
|
|
24
|
+
per_page?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { spokiListLists };
|
|
9
28
|
//# sourceMappingURL=list-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-lists.d.cts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lists.d.ts
|
|
4
|
-
declare const SpokiListListsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpokiListListsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
search: z.ZodOptional<z.ZodString>;
|
|
7
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SpokiListListsOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
results: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
contacts_count: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
created_datetime: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const spokiListLists: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
page?: number | undefined;
|
|
23
|
+
search?: string | undefined;
|
|
24
|
+
per_page?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { spokiListLists };
|
|
9
28
|
//# sourceMappingURL=list-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-lists.d.mts","names":[],"sources":["../../src/actions/list-lists.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAYnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -7,11 +7,11 @@ const SpokiListListsInput = z.object({
|
|
|
7
7
|
per_page: z.number().int().describe("Number of results per page, must be >= 1.").optional()
|
|
8
8
|
}).describe("Request parameters for listing, searching, and filtering contact lists.");
|
|
9
9
|
const SpokiListLists_ListItemSchema = z.object({
|
|
10
|
-
id: z.number().int().describe("Unique identifier of the list"),
|
|
11
|
-
name: z.string().describe("Name of the list"),
|
|
10
|
+
id: z.number().int().describe("Unique identifier of the list").nullable(),
|
|
11
|
+
name: z.string().describe("Name of the list").nullable(),
|
|
12
12
|
color: z.string().describe("Color code of the list").nullable().optional(),
|
|
13
|
-
contacts_count: z.number().int().describe("Number of contacts in the list"),
|
|
14
|
-
created_datetime: z.string().describe("Timestamp when the list was created")
|
|
13
|
+
contacts_count: z.number().int().describe("Number of contacts in the list").nullable(),
|
|
14
|
+
created_datetime: z.string().describe("Timestamp when the list was created").nullable()
|
|
15
15
|
}).describe("Represents a contact list resource.");
|
|
16
16
|
const spokiListLists = action("SPOKI_LIST_LISTS", {
|
|
17
17
|
slug: "spoki-list-lists",
|
|
@@ -20,7 +20,7 @@ const spokiListLists = action("SPOKI_LIST_LISTS", {
|
|
|
20
20
|
input: SpokiListListsInput,
|
|
21
21
|
output: z.object({
|
|
22
22
|
next: z.string().describe("URL for the next page of results").nullable().optional(),
|
|
23
|
-
count: z.number().int().describe("Total number of lists matching the filters"),
|
|
23
|
+
count: z.number().int().describe("Total number of lists matching the filters").nullable(),
|
|
24
24
|
results: z.array(SpokiListLists_ListItemSchema).describe("List of contact list objects"),
|
|
25
25
|
previous: z.string().describe("URL for the previous page of results").nullable().optional()
|
|
26
26
|
}).describe("Response model for listing contact lists.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lists.mjs","names":[],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListListsInput
|
|
1
|
+
{"version":3,"file":"list-lists.mjs","names":[],"sources":["../../src/actions/list-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListListsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n search: z.string().describe(\"Search query to filter lists by name\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request parameters for listing, searching, and filtering contact lists.\");\nconst SpokiListLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the list\").nullable(),\n name: z.string().describe(\"Name of the list\").nullable(),\n color: z.string().describe(\"Color code of the list\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in the list\").nullable(),\n created_datetime: z.string().describe(\"Timestamp when the list was created\").nullable(),\n}).describe(\"Represents a contact list resource.\");\nexport const SpokiListListsOutput = z.object({\n next: z.string().describe(\"URL for the next page of results\").nullable().optional(),\n count: z.number().int().describe(\"Total number of lists matching the filters\").nullable(),\n results: z.array(SpokiListLists_ListItemSchema).describe(\"List of contact list objects\"),\n previous: z.string().describe(\"URL for the previous page of results\").nullable().optional(),\n}).describe(\"Response model for listing contact lists.\");\n\nexport const spokiListLists = action(\"SPOKI_LIST_LISTS\", {\n slug: \"spoki-list-lists\",\n name: \"List Lists\",\n description: \"Tool to list, search, and filter contact lists. Use when you need to retrieve all lists or find specific lists by name. Rate limit: 5 requests per minute.\",\n input: SpokiListListsInput,\n output: SpokiListListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAQjD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -6,18 +6,18 @@ const SpokiListMediaInput = zod.z.object({
|
|
|
6
6
|
per_page: zod.z.number().int().describe("Number of results per page, must be >= 1.").optional()
|
|
7
7
|
}).describe("Request model for listing media files.");
|
|
8
8
|
const SpokiListMedia_MediaItemSchema = zod.z.object({
|
|
9
|
-
id: zod.z.number().int().describe("Unique identifier of the media file"),
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the media file").nullable(),
|
|
10
10
|
media: zod.z.string().describe("Media file URL or reference").nullable().optional(),
|
|
11
|
-
title: zod.z.string().describe("Title of the media file"),
|
|
12
|
-
is_deleted: zod.z.boolean().describe("Indicates whether the media file has been deleted"),
|
|
11
|
+
title: zod.z.string().describe("Title of the media file").nullable(),
|
|
12
|
+
is_deleted: zod.z.boolean().describe("Indicates whether the media file has been deleted").nullable(),
|
|
13
13
|
external_id: zod.z.string().describe("External identifier for the media file, if any").nullable().optional(),
|
|
14
|
-
format_type: zod.z.string().describe("Format type of the media file, e.g. image, video, audio"),
|
|
15
|
-
content_type: zod.z.string().describe("MIME type of the media file, e.g. image/jpeg, video/mp4"),
|
|
16
|
-
external_url: zod.z.string().describe("External URL where the media file is accessible")
|
|
14
|
+
format_type: zod.z.string().describe("Format type of the media file, e.g. image, video, audio").nullable(),
|
|
15
|
+
content_type: zod.z.string().describe("MIME type of the media file, e.g. image/jpeg, video/mp4").nullable(),
|
|
16
|
+
external_url: zod.z.string().describe("External URL where the media file is accessible").nullable()
|
|
17
17
|
}).describe("Represents a media file resource.");
|
|
18
18
|
const SpokiListMediaOutput = zod.z.object({
|
|
19
19
|
next: zod.z.string().describe("URL for next page of results, if any").nullable().optional(),
|
|
20
|
-
count: zod.z.number().int().describe("Total number of media files"),
|
|
20
|
+
count: zod.z.number().int().describe("Total number of media files").nullable(),
|
|
21
21
|
results: zod.z.array(SpokiListMedia_MediaItemSchema).describe("List of media file objects"),
|
|
22
22
|
previous: zod.z.string().describe("URL for previous page of results, if any").nullable().optional()
|
|
23
23
|
}).describe("Response model for listing media files.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.cjs","names":["z","action"],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput
|
|
1
|
+
{"version":3,"file":"list-media.cjs","names":["z","action"],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4BAA4B;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-media.d.ts
|
|
4
|
-
declare const SpokiListMediaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpokiListMediaInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SpokiListMediaOutput: z.ZodObject<{
|
|
9
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
results: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15
|
+
is_deleted: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
format_type: z.ZodNullable<z.ZodString>;
|
|
18
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
external_url: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const spokiListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
per_page?: number | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { spokiListMedia };
|
|
9
29
|
//# sourceMappingURL=list-media.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.d.cts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-media.d.cts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAcnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-media.d.ts
|
|
4
|
-
declare const SpokiListMediaInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpokiListMediaInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
per_page: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const SpokiListMediaOutput: z.ZodObject<{
|
|
9
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
count: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
results: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
title: z.ZodNullable<z.ZodString>;
|
|
15
|
+
is_deleted: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
format_type: z.ZodNullable<z.ZodString>;
|
|
18
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
19
|
+
external_url: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const spokiListMedia: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
per_page?: number | undefined;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { spokiListMedia };
|
|
9
29
|
//# sourceMappingURL=list-media.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.d.mts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-media.d.mts","names":[],"sources":["../../src/actions/list-media.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cAcnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAOpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -6,14 +6,14 @@ const SpokiListMediaInput = z.object({
|
|
|
6
6
|
per_page: z.number().int().describe("Number of results per page, must be >= 1.").optional()
|
|
7
7
|
}).describe("Request model for listing media files.");
|
|
8
8
|
const SpokiListMedia_MediaItemSchema = z.object({
|
|
9
|
-
id: z.number().int().describe("Unique identifier of the media file"),
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the media file").nullable(),
|
|
10
10
|
media: z.string().describe("Media file URL or reference").nullable().optional(),
|
|
11
|
-
title: z.string().describe("Title of the media file"),
|
|
12
|
-
is_deleted: z.boolean().describe("Indicates whether the media file has been deleted"),
|
|
11
|
+
title: z.string().describe("Title of the media file").nullable(),
|
|
12
|
+
is_deleted: z.boolean().describe("Indicates whether the media file has been deleted").nullable(),
|
|
13
13
|
external_id: z.string().describe("External identifier for the media file, if any").nullable().optional(),
|
|
14
|
-
format_type: z.string().describe("Format type of the media file, e.g. image, video, audio"),
|
|
15
|
-
content_type: z.string().describe("MIME type of the media file, e.g. image/jpeg, video/mp4"),
|
|
16
|
-
external_url: z.string().describe("External URL where the media file is accessible")
|
|
14
|
+
format_type: z.string().describe("Format type of the media file, e.g. image, video, audio").nullable(),
|
|
15
|
+
content_type: z.string().describe("MIME type of the media file, e.g. image/jpeg, video/mp4").nullable(),
|
|
16
|
+
external_url: z.string().describe("External URL where the media file is accessible").nullable()
|
|
17
17
|
}).describe("Represents a media file resource.");
|
|
18
18
|
const spokiListMedia = action("SPOKI_LIST_MEDIA", {
|
|
19
19
|
slug: "spoki-list-media",
|
|
@@ -22,7 +22,7 @@ const spokiListMedia = action("SPOKI_LIST_MEDIA", {
|
|
|
22
22
|
input: SpokiListMediaInput,
|
|
23
23
|
output: z.object({
|
|
24
24
|
next: z.string().describe("URL for next page of results, if any").nullable().optional(),
|
|
25
|
-
count: z.number().int().describe("Total number of media files"),
|
|
25
|
+
count: z.number().int().describe("Total number of media files").nullable(),
|
|
26
26
|
results: z.array(SpokiListMedia_MediaItemSchema).describe("List of media file objects"),
|
|
27
27
|
previous: z.string().describe("URL for previous page of results, if any").nullable().optional()
|
|
28
28
|
}).describe("Response model for listing media files.")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput
|
|
1
|
+
{"version":3,"file":"list-media.mjs","names":[],"sources":["../../src/actions/list-media.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiListMediaInput = z.object({\n page: z.number().int().describe(\"Page number for pagination, must be >= 1.\").optional(),\n per_page: z.number().int().describe(\"Number of results per page, must be >= 1.\").optional(),\n}).describe(\"Request model for listing media files.\");\nconst SpokiListMedia_MediaItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the media file\").nullable(),\n media: z.string().describe(\"Media file URL or reference\").nullable().optional(),\n title: z.string().describe(\"Title of the media file\").nullable(),\n is_deleted: z.boolean().describe(\"Indicates whether the media file has been deleted\").nullable(),\n external_id: z.string().describe(\"External identifier for the media file, if any\").nullable().optional(),\n format_type: z.string().describe(\"Format type of the media file, e.g. image, video, audio\").nullable(),\n content_type: z.string().describe(\"MIME type of the media file, e.g. image/jpeg, video/mp4\").nullable(),\n external_url: z.string().describe(\"External URL where the media file is accessible\").nullable(),\n}).describe(\"Represents a media file resource.\");\nexport const SpokiListMediaOutput = z.object({\n next: z.string().describe(\"URL for next page of results, if any\").nullable().optional(),\n count: z.number().int().describe(\"Total number of media files\").nullable(),\n results: z.array(SpokiListMedia_MediaItemSchema).describe(\"List of media file objects\"),\n previous: z.string().describe(\"URL for previous page of results, if any\").nullable().optional(),\n}).describe(\"Response model for listing media files.\");\n\nexport const spokiListMedia = action(\"SPOKI_LIST_MEDIA\", {\n slug: \"spoki-list-media\",\n name: \"List media\",\n description: \"Tool to list media files. Returns all media files with their details including title, content type, format, and URLs. Use when you need to retrieve or browse available media files in the account.\",\n input: SpokiListMediaInput,\n output: SpokiListMediaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAQ/C,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,4BAA4B;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|