@keystrokehq/spoki 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-contact-operator.cjs +1 -1
- package/dist/actions/add-contact-operator.cjs.map +1 -1
- package/dist/actions/add-contact-operator.d.cts +1 -1
- package/dist/actions/add-contact-operator.d.cts.map +1 -1
- package/dist/actions/add-contact-operator.d.mts +1 -1
- package/dist/actions/add-contact-operator.d.mts.map +1 -1
- package/dist/actions/add-contact-operator.mjs +1 -1
- package/dist/actions/add-contact-operator.mjs.map +1 -1
- package/dist/actions/add-service-user.cjs +1 -1
- package/dist/actions/add-service-user.cjs.map +1 -1
- package/dist/actions/add-service-user.d.cts +1 -1
- package/dist/actions/add-service-user.d.mts +1 -1
- package/dist/actions/add-service-user.mjs +1 -1
- 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 +1 -1
- package/dist/actions/check-role-private-key.d.mts +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 +4 -4
- package/dist/actions/clone-template.cjs.map +1 -1
- package/dist/actions/clone-template.d.cts +6 -6
- package/dist/actions/clone-template.d.mts +6 -6
- package/dist/actions/clone-template.mjs +4 -4
- package/dist/actions/clone-template.mjs.map +1 -1
- package/dist/actions/create-account-onboarding-link.cjs +1 -1
- package/dist/actions/create-account-onboarding-link.cjs.map +1 -1
- package/dist/actions/create-account-onboarding-link.d.cts +1 -1
- package/dist/actions/create-account-onboarding-link.d.mts +1 -1
- package/dist/actions/create-account-onboarding-link.mjs +1 -1
- package/dist/actions/create-account-onboarding-link.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -1
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +1 -1
- package/dist/actions/create-custom-field.d.mts +1 -1
- package/dist/actions/create-custom-field.mjs +1 -1
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-list.cjs +1 -1
- package/dist/actions/create-list.cjs.map +1 -1
- package/dist/actions/create-list.d.cts +1 -1
- package/dist/actions/create-list.d.mts +1 -1
- package/dist/actions/create-list.mjs +1 -1
- package/dist/actions/create-list.mjs.map +1 -1
- package/dist/actions/create-media.cjs +1 -1
- package/dist/actions/create-media.cjs.map +1 -1
- package/dist/actions/create-media.d.cts +1 -1
- package/dist/actions/create-media.d.mts +1 -1
- package/dist/actions/create-media.mjs +1 -1
- package/dist/actions/create-media.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +2 -2
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +3 -3
- package/dist/actions/create-or-update-contact.d.mts +3 -3
- package/dist/actions/create-or-update-contact.mjs +2 -2
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/create-template.cjs +7 -7
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +11 -9
- package/dist/actions/create-template.d.mts +11 -9
- package/dist/actions/create-template.mjs +7 -7
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-ticket.cjs +4 -4
- package/dist/actions/create-ticket.cjs.map +1 -1
- package/dist/actions/create-ticket.d.cts +5 -5
- package/dist/actions/create-ticket.d.mts +5 -5
- package/dist/actions/create-ticket.mjs +4 -4
- package/dist/actions/create-ticket.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +1 -1
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +1 -1
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-list.cjs +1 -1
- package/dist/actions/delete-list.cjs.map +1 -1
- package/dist/actions/delete-list.d.cts +1 -1
- package/dist/actions/delete-list.d.cts.map +1 -1
- package/dist/actions/delete-list.d.mts +1 -1
- package/dist/actions/delete-list.d.mts.map +1 -1
- package/dist/actions/delete-list.mjs +1 -1
- package/dist/actions/delete-list.mjs.map +1 -1
- package/dist/actions/delete-media.cjs +1 -1
- package/dist/actions/delete-media.cjs.map +1 -1
- package/dist/actions/delete-media.d.cts +1 -1
- package/dist/actions/delete-media.d.cts.map +1 -1
- package/dist/actions/delete-media.d.mts +1 -1
- package/dist/actions/delete-media.d.mts.map +1 -1
- package/dist/actions/delete-media.mjs +1 -1
- package/dist/actions/delete-media.mjs.map +1 -1
- package/dist/actions/delete-role.cjs +1 -1
- package/dist/actions/delete-role.cjs.map +1 -1
- package/dist/actions/delete-role.d.cts +1 -1
- package/dist/actions/delete-role.d.cts.map +1 -1
- package/dist/actions/delete-role.d.mts +1 -1
- package/dist/actions/delete-role.d.mts.map +1 -1
- package/dist/actions/delete-role.mjs +1 -1
- package/dist/actions/delete-role.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +1 -1
- package/dist/actions/delete-template.d.mts +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-ticket.cjs +1 -1
- package/dist/actions/delete-ticket.cjs.map +1 -1
- package/dist/actions/delete-ticket.d.cts +1 -1
- package/dist/actions/delete-ticket.d.cts.map +1 -1
- package/dist/actions/delete-ticket.d.mts +1 -1
- package/dist/actions/delete-ticket.d.mts.map +1 -1
- package/dist/actions/delete-ticket.mjs +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 +1 -1
- package/dist/actions/generate-role-private-key.d.mts +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 +1 -1
- package/dist/actions/get-account-current-report.cjs.map +1 -1
- package/dist/actions/get-account-current-report.d.cts +1 -1
- package/dist/actions/get-account-current-report.d.mts +1 -1
- package/dist/actions/get-account-current-report.mjs +1 -1
- package/dist/actions/get-account-current-report.mjs.map +1 -1
- package/dist/actions/list-accounts.cjs +2 -2
- package/dist/actions/list-accounts.cjs.map +1 -1
- package/dist/actions/list-accounts.d.cts +2 -2
- package/dist/actions/list-accounts.d.mts +2 -2
- package/dist/actions/list-accounts.mjs +2 -2
- package/dist/actions/list-accounts.mjs.map +1 -1
- package/dist/actions/list-automations.cjs +3 -3
- package/dist/actions/list-automations.cjs.map +1 -1
- package/dist/actions/list-automations.d.cts +3 -3
- package/dist/actions/list-automations.d.mts +3 -3
- package/dist/actions/list-automations.mjs +3 -3
- package/dist/actions/list-automations.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +4 -4
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +4 -4
- package/dist/actions/list-campaigns.d.mts +4 -4
- package/dist/actions/list-campaigns.mjs +4 -4
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +5 -5
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +5 -5
- package/dist/actions/list-contacts.d.mts +5 -5
- package/dist/actions/list-contacts.mjs +5 -5
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +2 -2
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +2 -2
- package/dist/actions/list-custom-fields.d.mts +2 -2
- package/dist/actions/list-custom-fields.mjs +2 -2
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-lists.cjs +2 -2
- package/dist/actions/list-lists.cjs.map +1 -1
- package/dist/actions/list-lists.d.cts +2 -2
- package/dist/actions/list-lists.d.mts +2 -2
- package/dist/actions/list-lists.mjs +2 -2
- package/dist/actions/list-lists.mjs.map +1 -1
- package/dist/actions/list-media.cjs +2 -2
- package/dist/actions/list-media.cjs.map +1 -1
- package/dist/actions/list-media.d.cts +2 -2
- package/dist/actions/list-media.d.mts +2 -2
- package/dist/actions/list-media.mjs +2 -2
- package/dist/actions/list-media.mjs.map +1 -1
- package/dist/actions/list-reports.cjs +2 -2
- package/dist/actions/list-reports.cjs.map +1 -1
- package/dist/actions/list-reports.d.cts +2 -2
- package/dist/actions/list-reports.d.mts +2 -2
- package/dist/actions/list-reports.mjs +2 -2
- package/dist/actions/list-reports.mjs.map +1 -1
- package/dist/actions/list-roles.cjs +3 -3
- package/dist/actions/list-roles.cjs.map +1 -1
- package/dist/actions/list-roles.d.cts +3 -3
- package/dist/actions/list-roles.d.mts +3 -3
- package/dist/actions/list-roles.mjs +3 -3
- package/dist/actions/list-roles.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +2 -2
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +2 -2
- package/dist/actions/list-tags.d.mts +2 -2
- package/dist/actions/list-tags.mjs +2 -2
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +6 -6
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +8 -8
- package/dist/actions/list-templates.d.mts +8 -8
- package/dist/actions/list-templates.mjs +6 -6
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-tickets.cjs +5 -5
- package/dist/actions/list-tickets.cjs.map +1 -1
- package/dist/actions/list-tickets.d.cts +6 -6
- package/dist/actions/list-tickets.d.mts +6 -6
- package/dist/actions/list-tickets.mjs +5 -5
- package/dist/actions/list-tickets.mjs.map +1 -1
- package/dist/actions/remove-all-list-contacts.cjs +1 -1
- package/dist/actions/remove-all-list-contacts.cjs.map +1 -1
- package/dist/actions/remove-all-list-contacts.d.cts +1 -1
- package/dist/actions/remove-all-list-contacts.d.mts +1 -1
- package/dist/actions/remove-all-list-contacts.mjs +1 -1
- package/dist/actions/remove-all-list-contacts.mjs.map +1 -1
- package/dist/actions/remove-contact-operator.cjs +1 -1
- package/dist/actions/remove-contact-operator.cjs.map +1 -1
- package/dist/actions/remove-contact-operator.d.cts +1 -1
- package/dist/actions/remove-contact-operator.d.mts +1 -1
- package/dist/actions/remove-contact-operator.mjs +1 -1
- package/dist/actions/remove-contact-operator.mjs.map +1 -1
- package/dist/actions/remove-list-contacts.cjs +1 -1
- package/dist/actions/remove-list-contacts.cjs.map +1 -1
- package/dist/actions/remove-list-contacts.d.cts +1 -1
- package/dist/actions/remove-list-contacts.d.mts +1 -1
- package/dist/actions/remove-list-contacts.mjs +1 -1
- package/dist/actions/remove-list-contacts.mjs.map +1 -1
- package/dist/actions/resend-invitation.cjs +1 -1
- package/dist/actions/resend-invitation.cjs.map +1 -1
- package/dist/actions/resend-invitation.d.cts +1 -1
- package/dist/actions/resend-invitation.d.mts +1 -1
- package/dist/actions/resend-invitation.mjs +1 -1
- package/dist/actions/resend-invitation.mjs.map +1 -1
- package/dist/actions/retrieve-account.cjs +1 -1
- package/dist/actions/retrieve-account.cjs.map +1 -1
- package/dist/actions/retrieve-account.d.cts +1 -1
- package/dist/actions/retrieve-account.d.mts +1 -1
- package/dist/actions/retrieve-account.mjs +1 -1
- package/dist/actions/retrieve-account.mjs.map +1 -1
- package/dist/actions/retrieve-automation.cjs +2 -2
- package/dist/actions/retrieve-automation.cjs.map +1 -1
- package/dist/actions/retrieve-automation.d.cts +2 -2
- package/dist/actions/retrieve-automation.d.mts +2 -2
- package/dist/actions/retrieve-automation.mjs +2 -2
- package/dist/actions/retrieve-automation.mjs.map +1 -1
- package/dist/actions/retrieve-contact.cjs +6 -6
- package/dist/actions/retrieve-contact.cjs.map +1 -1
- package/dist/actions/retrieve-contact.d.cts +6 -6
- package/dist/actions/retrieve-contact.d.mts +6 -6
- package/dist/actions/retrieve-contact.mjs +6 -6
- package/dist/actions/retrieve-contact.mjs.map +1 -1
- package/dist/actions/retrieve-custom-field.cjs +1 -1
- package/dist/actions/retrieve-custom-field.cjs.map +1 -1
- package/dist/actions/retrieve-custom-field.d.cts +1 -1
- package/dist/actions/retrieve-custom-field.d.mts +1 -1
- package/dist/actions/retrieve-custom-field.mjs +1 -1
- package/dist/actions/retrieve-custom-field.mjs.map +1 -1
- package/dist/actions/retrieve-list.cjs +1 -1
- package/dist/actions/retrieve-list.cjs.map +1 -1
- package/dist/actions/retrieve-list.d.cts +1 -1
- package/dist/actions/retrieve-list.d.mts +1 -1
- package/dist/actions/retrieve-list.mjs +1 -1
- package/dist/actions/retrieve-list.mjs.map +1 -1
- package/dist/actions/retrieve-media.cjs +1 -1
- package/dist/actions/retrieve-media.cjs.map +1 -1
- package/dist/actions/retrieve-media.d.cts +1 -1
- package/dist/actions/retrieve-media.d.mts +1 -1
- package/dist/actions/retrieve-media.mjs +1 -1
- package/dist/actions/retrieve-media.mjs.map +1 -1
- package/dist/actions/retrieve-role.cjs +2 -2
- package/dist/actions/retrieve-role.cjs.map +1 -1
- package/dist/actions/retrieve-role.d.cts +2 -2
- package/dist/actions/retrieve-role.d.mts +2 -2
- package/dist/actions/retrieve-role.mjs +2 -2
- package/dist/actions/retrieve-role.mjs.map +1 -1
- package/dist/actions/retrieve-tag.cjs +1 -1
- package/dist/actions/retrieve-tag.cjs.map +1 -1
- package/dist/actions/retrieve-tag.d.cts +1 -1
- package/dist/actions/retrieve-tag.d.mts +1 -1
- package/dist/actions/retrieve-tag.mjs +1 -1
- package/dist/actions/retrieve-tag.mjs.map +1 -1
- package/dist/actions/retrieve-template.cjs +5 -5
- package/dist/actions/retrieve-template.cjs.map +1 -1
- package/dist/actions/retrieve-template.d.cts +7 -7
- package/dist/actions/retrieve-template.d.mts +7 -7
- package/dist/actions/retrieve-template.mjs +5 -5
- 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 +1 -1
- package/dist/actions/revert-template-to-draft.d.mts +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 +5 -5
- package/dist/actions/sync-contacts-bulk.cjs.map +1 -1
- package/dist/actions/sync-contacts-bulk.d.cts +7 -6
- package/dist/actions/sync-contacts-bulk.d.cts.map +1 -1
- package/dist/actions/sync-contacts-bulk.d.mts +7 -6
- package/dist/actions/sync-contacts-bulk.d.mts.map +1 -1
- package/dist/actions/sync-contacts-bulk.mjs +5 -5
- package/dist/actions/sync-contacts-bulk.mjs.map +1 -1
- package/dist/actions/sync-list-contacts.cjs +3 -3
- package/dist/actions/sync-list-contacts.cjs.map +1 -1
- package/dist/actions/sync-list-contacts.d.cts +6 -5
- package/dist/actions/sync-list-contacts.d.cts.map +1 -1
- package/dist/actions/sync-list-contacts.d.mts +6 -5
- package/dist/actions/sync-list-contacts.d.mts.map +1 -1
- package/dist/actions/sync-list-contacts.mjs +3 -3
- package/dist/actions/sync-list-contacts.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -1
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +1 -1
- package/dist/actions/update-campaign.d.mts +1 -1
- package/dist/actions/update-campaign.mjs +1 -1
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +2 -2
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -3
- package/dist/actions/update-contact.d.mts +3 -3
- package/dist/actions/update-contact.mjs +2 -2
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +1 -1
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +1 -1
- package/dist/actions/update-custom-field.d.mts +1 -1
- package/dist/actions/update-custom-field.mjs +1 -1
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-invitation-role.cjs +1 -1
- package/dist/actions/update-invitation-role.cjs.map +1 -1
- package/dist/actions/update-invitation-role.d.cts +1 -1
- package/dist/actions/update-invitation-role.d.mts +1 -1
- package/dist/actions/update-invitation-role.mjs +1 -1
- package/dist/actions/update-invitation-role.mjs.map +1 -1
- package/dist/actions/update-media.cjs +1 -1
- package/dist/actions/update-media.cjs.map +1 -1
- package/dist/actions/update-media.d.cts +1 -1
- package/dist/actions/update-media.d.mts +1 -1
- package/dist/actions/update-media.mjs +1 -1
- package/dist/actions/update-media.mjs.map +1 -1
- package/dist/actions/update-role.cjs +1 -1
- package/dist/actions/update-role.cjs.map +1 -1
- package/dist/actions/update-role.d.cts +1 -1
- package/dist/actions/update-role.d.mts +1 -1
- package/dist/actions/update-role.mjs +1 -1
- package/dist/actions/update-role.mjs.map +1 -1
- package/dist/actions/update-template.cjs +8 -8
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +10 -8
- package/dist/actions/update-template.d.mts +10 -8
- package/dist/actions/update-template.mjs +8 -8
- package/dist/actions/update-template.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ declare const SpokiRemoveListContactsInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const SpokiRemoveListContactsOutput: z.ZodObject<{
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spokiRemoveListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
list_id: number;
|
|
13
13
|
contacts: number[];
|
|
@@ -7,7 +7,7 @@ declare const SpokiRemoveListContactsInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const SpokiRemoveListContactsOutput: z.ZodObject<{
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spokiRemoveListContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
list_id: number;
|
|
13
13
|
contacts: number[];
|
|
@@ -8,7 +8,7 @@ const spokiRemoveListContacts = action("SPOKI_REMOVE_LIST_CONTACTS", {
|
|
|
8
8
|
list_id: z.number().int().describe("The ID of the list from which contacts should be removed"),
|
|
9
9
|
contacts: z.array(z.number().int()).describe("Array of contact IDs to remove from the list. Each ID must be a valid contact identifier")
|
|
10
10
|
}).describe("Request parameters for removing specific contacts from a list."),
|
|
11
|
-
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the contacts were successfully removed from the list").nullable().optional() }).describe("Response from removing contacts from a list. Returns success status.")
|
|
11
|
+
output: z.object({ success: z.boolean().default(true).describe("Indicates whether the contacts were successfully removed from the list").nullable().optional() }).passthrough().describe("Response from removing contacts from a list. Returns success status.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { spokiRemoveListContacts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-list-contacts.mjs","names":[],"sources":["../../src/actions/remove-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveListContactsInput = z.object({\n list_id: z.number().int().describe(\"The ID of the list from which contacts should be removed\"),\n contacts: z.array(z.number().int()).describe(\"Array of contact IDs to remove from the list. Each ID must be a valid contact identifier\"),\n}).describe(\"Request parameters for removing specific contacts from a list.\");\nexport const SpokiRemoveListContactsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the contacts were successfully removed from the list\").nullable().optional(),\n}).describe(\"Response from removing contacts from a list. Returns success status.\");\n\nexport const spokiRemoveListContacts = action(\"SPOKI_REMOVE_LIST_CONTACTS\", {\n slug: \"spoki-remove-list-contacts\",\n name: \"Remove Contacts from List\",\n description: \"Tool to remove specific contacts from a list. Use when you need to unsubscribe or remove multiple contacts from a particular list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveListContactsInput,\n output: SpokiRemoveListContactsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAC7F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACzI,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"remove-list-contacts.mjs","names":[],"sources":["../../src/actions/remove-list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRemoveListContactsInput = z.object({\n list_id: z.number().int().describe(\"The ID of the list from which contacts should be removed\"),\n contacts: z.array(z.number().int()).describe(\"Array of contact IDs to remove from the list. Each ID must be a valid contact identifier\"),\n}).describe(\"Request parameters for removing specific contacts from a list.\");\nexport const SpokiRemoveListContactsOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the contacts were successfully removed from the list\").nullable().optional(),\n}).passthrough().describe(\"Response from removing contacts from a list. Returns success status.\");\n\nexport const spokiRemoveListContacts = action(\"SPOKI_REMOVE_LIST_CONTACTS\", {\n slug: \"spoki-remove-list-contacts\",\n name: \"Remove Contacts from List\",\n description: \"Tool to remove specific contacts from a list. Use when you need to unsubscribe or remove multiple contacts from a particular list. Rate limit: 5 requests per minute.\",\n input: SpokiRemoveListContactsInput,\n output: SpokiRemoveListContactsOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAC7F,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACzI,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpokiResendInvitationInput = zod.z.object({ id: zod.z.number().int().descr
|
|
|
5
5
|
const SpokiResendInvitationOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Message from the API about the resend operation").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the invitation was successfully resent").nullable().optional()
|
|
8
|
-
}).describe("Response from resending an invitation email. API returns success confirmation.");
|
|
8
|
+
}).passthrough().describe("Response from resending an invitation email. API returns success confirmation.");
|
|
9
9
|
const spokiResendInvitation = require_action.action("SPOKI_RESEND_INVITATION", {
|
|
10
10
|
slug: "spoki-resend-invitation",
|
|
11
11
|
name: "Resend Invitation",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-invitation.cjs","names":["z","action"],"sources":["../../src/actions/resend-invitation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiResendInvitationInput = z.object({\n id: z.number().int().describe(\"The invitation ID to resend\"),\n}).describe(\"Request parameters for resending an invitation email.\");\nexport const SpokiResendInvitationOutput = z.object({\n message: z.string().describe(\"Message from the API about the resend operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invitation was successfully resent\").nullable().optional(),\n}).describe(\"Response from resending an invitation email. API returns success confirmation.\");\n\nexport const spokiResendInvitation = action(\"SPOKI_RESEND_INVITATION\", {\n slug: \"spoki-resend-invitation\",\n name: \"Resend Invitation\",\n description: \"Tool to resend an invitation email. Use when you need to resend an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiResendInvitationInput,\n output: SpokiResendInvitationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,gFAAgF;
|
|
1
|
+
{"version":3,"file":"resend-invitation.cjs","names":["z","action"],"sources":["../../src/actions/resend-invitation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiResendInvitationInput = z.object({\n id: z.number().int().describe(\"The invitation ID to resend\"),\n}).describe(\"Request parameters for resending an invitation email.\");\nexport const SpokiResendInvitationOutput = z.object({\n message: z.string().describe(\"Message from the API about the resend operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invitation was successfully resent\").nullable().optional(),\n}).passthrough().describe(\"Response from resending an invitation email. API returns success confirmation.\");\n\nexport const spokiResendInvitation = action(\"SPOKI_RESEND_INVITATION\", {\n slug: \"spoki-resend-invitation\",\n name: \"Resend Invitation\",\n description: \"Tool to resend an invitation email. Use when you need to resend an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiResendInvitationInput,\n output: SpokiResendInvitationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAE1G,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SpokiResendInvitationInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpokiResendInvitationOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spokiResendInvitation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SpokiResendInvitationInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpokiResendInvitationOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spokiResendInvitation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const spokiResendInvitation = action("SPOKI_RESEND_INVITATION", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Message from the API about the resend operation").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the invitation was successfully resent").nullable().optional()
|
|
11
|
-
}).describe("Response from resending an invitation email. API returns success confirmation.")
|
|
11
|
+
}).passthrough().describe("Response from resending an invitation email. API returns success confirmation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { spokiResendInvitation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-invitation.mjs","names":[],"sources":["../../src/actions/resend-invitation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiResendInvitationInput = z.object({\n id: z.number().int().describe(\"The invitation ID to resend\"),\n}).describe(\"Request parameters for resending an invitation email.\");\nexport const SpokiResendInvitationOutput = z.object({\n message: z.string().describe(\"Message from the API about the resend operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invitation was successfully resent\").nullable().optional(),\n}).describe(\"Response from resending an invitation email. API returns success confirmation.\");\n\nexport const spokiResendInvitation = action(\"SPOKI_RESEND_INVITATION\", {\n slug: \"spoki-resend-invitation\",\n name: \"Resend Invitation\",\n description: \"Tool to resend an invitation email. Use when you need to resend an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiResendInvitationInput,\n output: SpokiResendInvitationOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"resend-invitation.mjs","names":[],"sources":["../../src/actions/resend-invitation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiResendInvitationInput = z.object({\n id: z.number().int().describe(\"The invitation ID to resend\"),\n}).describe(\"Request parameters for resending an invitation email.\");\nexport const SpokiResendInvitationOutput = z.object({\n message: z.string().describe(\"Message from the API about the resend operation\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invitation was successfully resent\").nullable().optional(),\n}).passthrough().describe(\"Response from resending an invitation email. API returns success confirmation.\");\n\nexport const spokiResendInvitation = action(\"SPOKI_RESEND_INVITATION\", {\n slug: \"spoki-resend-invitation\",\n name: \"Resend Invitation\",\n description: \"Tool to resend an invitation email. Use when you need to resend an existing invitation. Rate limit: 5 requests per minute.\",\n input: SpokiResendInvitationInput,\n output: SpokiResendInvitationOutput,\n});\n"],"mappings":";;AAYA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,EAC7D,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAOhB;AACV,CAAC"}
|
|
@@ -30,7 +30,7 @@ const SpokiRetrieveAccountOutput = zod.z.object({
|
|
|
30
30
|
facebook_conversions_api_token: zod.z.string().describe("Facebook Conversions API token if configured").nullable().optional(),
|
|
31
31
|
facebook_conversions_api_enabled: zod.z.boolean().default(false).describe("Whether Facebook Conversions API is enabled").nullable().optional(),
|
|
32
32
|
estimated_available_conversations: zod.z.number().int().describe("Estimated available conversations").nullable()
|
|
33
|
-
}).describe("Response model for a Spoki account.");
|
|
33
|
+
}).passthrough().describe("Response model for a Spoki account.");
|
|
34
34
|
const spokiRetrieveAccount = require_action.action("SPOKI_RETRIEVE_ACCOUNT", {
|
|
35
35
|
slug: "spoki-retrieve-account",
|
|
36
36
|
name: "Retrieve Account",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-account.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAccountInput = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the Spoki account to retrieve. Must be a valid account ID accessible to the authenticated user.\"),\n}).describe(\"Request model for retrieving a specific Spoki account.\");\nexport const SpokiRetrieveAccountOutput = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).describe(\"Response model for a Spoki account.\");\n\nexport const spokiRetrieveAccount = action(\"SPOKI_RETRIEVE_ACCOUNT\", {\n slug: \"spoki-retrieve-account\",\n name: \"Retrieve Account\",\n description: \"Retrieves detailed information about a specific Spoki WhatsApp Business account. Returns comprehensive account details including credit balance, verification status, messaging limits, quality metrics, timezone settings, and Facebook integration configuration. Use this action when you need to check account status, credit levels, or configuration details. Note: You must have access permissions for the specified account ID.\",\n input: SpokiRetrieveAccountInput,\n output: SpokiRetrieveAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAClK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+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CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnH,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,kCAAkCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"retrieve-account.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAccountInput = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the Spoki account to retrieve. Must be a valid account ID accessible to the authenticated user.\"),\n}).describe(\"Request model for retrieving a specific Spoki account.\");\nexport const SpokiRetrieveAccountOutput = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Response model for a Spoki account.\");\n\nexport const spokiRetrieveAccount = action(\"SPOKI_RETRIEVE_ACCOUNT\", {\n slug: \"spoki-retrieve-account\",\n name: \"Retrieve Account\",\n description: \"Retrieves detailed information about a specific Spoki WhatsApp Business account. Returns comprehensive account details including credit balance, verification status, messaging limits, quality metrics, timezone settings, and Facebook integration configuration. Use this action when you need to check account status, credit levels, or configuration details. Note: You must have access permissions for the specified account ID.\",\n input: SpokiRetrieveAccountInput,\n output: SpokiRetrieveAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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AAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -32,7 +32,7 @@ declare const SpokiRetrieveAccountOutput: z.ZodObject<{
|
|
|
32
32
|
facebook_conversions_api_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
facebook_conversions_api_enabled: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
34
34
|
estimated_available_conversations: z.ZodNullable<z.ZodNumber>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const spokiRetrieveAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
account_id: number;
|
|
38
38
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -32,7 +32,7 @@ declare const SpokiRetrieveAccountOutput: z.ZodObject<{
|
|
|
32
32
|
facebook_conversions_api_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
facebook_conversions_api_enabled: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
34
34
|
estimated_available_conversations: z.ZodNullable<z.ZodNumber>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const spokiRetrieveAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
account_id: number;
|
|
38
38
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -33,7 +33,7 @@ const spokiRetrieveAccount = action("SPOKI_RETRIEVE_ACCOUNT", {
|
|
|
33
33
|
facebook_conversions_api_token: z.string().describe("Facebook Conversions API token if configured").nullable().optional(),
|
|
34
34
|
facebook_conversions_api_enabled: z.boolean().default(false).describe("Whether Facebook Conversions API is enabled").nullable().optional(),
|
|
35
35
|
estimated_available_conversations: z.number().int().describe("Estimated available conversations").nullable()
|
|
36
|
-
}).describe("Response model for a Spoki account.")
|
|
36
|
+
}).passthrough().describe("Response model for a Spoki account.")
|
|
37
37
|
});
|
|
38
38
|
//#endregion
|
|
39
39
|
export { spokiRetrieveAccount };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-account.mjs","names":[],"sources":["../../src/actions/retrieve-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAccountInput = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the Spoki account to retrieve. Must be a valid account ID accessible to the authenticated user.\"),\n}).describe(\"Request model for retrieving a specific Spoki account.\");\nexport const SpokiRetrieveAccountOutput = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).describe(\"Response model for a Spoki account.\");\n\nexport const spokiRetrieveAccount = action(\"SPOKI_RETRIEVE_ACCOUNT\", {\n slug: \"spoki-retrieve-account\",\n name: \"Retrieve Account\",\n description: \"Retrieves detailed information about a specific Spoki WhatsApp Business account. Returns comprehensive account details including credit balance, verification status, messaging limits, quality metrics, timezone settings, and Facebook integration configuration. Use this action when you need to check account status, credit levels, or configuration details. Note: You must have access permissions for the specified account ID.\",\n input: SpokiRetrieveAccountInput,\n output: SpokiRetrieveAccountOutput,\n});\n"],"mappings":";;AAqCA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAClK,CAAC,CAAC,CAAC,SAAS,wDAmCH;CACP,QAnCwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAA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AAC,CAAC,SAAS;EACnE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3E,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EACjF,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACnH,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,kCAAkC,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"retrieve-account.mjs","names":[],"sources":["../../src/actions/retrieve-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAccountInput = z.object({\n account_id: z.number().int().describe(\"The unique identifier of the Spoki account to retrieve. Must be a valid account ID accessible to the authenticated user.\"),\n}).describe(\"Request model for retrieving a specific Spoki account.\");\nexport const SpokiRetrieveAccountOutput = z.object({\n id: z.number().int().describe(\"Unique account identifier\").nullable(),\n name: z.string().describe(\"Name of the account\").nullable(),\n phone: z.string().describe(\"Associated phone number\").nullable(),\n status: z.string().describe(\"Account status\").nullable(),\n timezone: z.string().describe(\"Timezone of the account\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n daily_limit: z.number().int().describe(\"Daily message limit\").nullable(),\n account_type: z.number().int().describe(\"Account type: 1=Sandbox, 2=Standard, 4=Agency\").nullable(),\n country_code: z.string().describe(\"Country code of the account\").nullable(),\n phone_status: z.string().describe(\"Phone status\").nullable(),\n quality_score: z.number().int().describe(\"Quality score of the account\").nullable(),\n current_credit: z.number().int().describe(\"Current credit balance\").nullable(),\n default_prefix: z.string().describe(\"Default phone prefix\").nullable(),\n contacted_in_7d: z.number().int().describe(\"Number of contacts contacted in last 7 days\").nullable(),\n quality_reasons: z.string().describe(\"Reasons for the quality score\").nullable().optional(),\n contacted_in_24h: z.number().int().describe(\"Number of contacts contacted in last 24 hours\").nullable(),\n default_language: z.string().describe(\"Default language\").nullable(),\n facebook_pixel_id: z.string().describe(\"Facebook Pixel ID if configured\").nullable().optional(),\n default_country_code: z.string().describe(\"Default country code\").nullable(),\n has_low_credit_alert: z.boolean().describe(\"Whether low credit alert is enabled\").nullable(),\n low_credit_threshold: z.number().int().describe(\"Low credit threshold\").nullable(),\n default_pricing_delta: z.number().int().describe(\"Default pricing delta\").nullable(),\n facebook_test_event_code: z.string().describe(\"Facebook test event code if configured\").nullable().optional(),\n has_official_verification: z.boolean().describe(\"Whether the account has official WhatsApp verification\").nullable(),\n facebook_conversions_api_token: z.string().describe(\"Facebook Conversions API token if configured\").nullable().optional(),\n facebook_conversions_api_enabled: z.boolean().default(false).describe(\"Whether Facebook Conversions API is enabled\").nullable().optional(),\n estimated_available_conversations: z.number().int().describe(\"Estimated available conversations\").nullable(),\n}).passthrough().describe(\"Response model for a Spoki account.\");\n\nexport const spokiRetrieveAccount = action(\"SPOKI_RETRIEVE_ACCOUNT\", {\n slug: \"spoki-retrieve-account\",\n name: \"Retrieve Account\",\n description: \"Retrieves detailed information about a specific Spoki WhatsApp Business account. Returns comprehensive account details including credit balance, verification status, messaging limits, quality metrics, timezone settings, and Facebook integration configuration. Use this action when you need to check account status, credit levels, or configuration details. Note: You must have access permissions for the specified account ID.\",\n input: SpokiRetrieveAccountInput,\n output: SpokiRetrieveAccountOutput,\n});\n"],"mappings":";;AAqCA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCuC,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,EAClK,CAAC,CAAC,CAAC,SAAS,wDAmCH;CACP,QAnCwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EAC3D,eAAe,EAAE,OAAO,CAAC,C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kC,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,mCAAmC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ const SpokiRetrieveAutomation_AutomationWebhookSchema = zod.z.object({
|
|
|
7
7
|
uuid: zod.z.string().describe("Webhook UUID").nullable(),
|
|
8
8
|
secret: zod.z.string().describe("Webhook secret token").nullable(),
|
|
9
9
|
is_active: zod.z.boolean().describe("Whether this webhook is active").nullable()
|
|
10
|
-
}).describe("Webhook configuration for an automation");
|
|
10
|
+
}).passthrough().describe("Webhook configuration for an automation");
|
|
11
11
|
const SpokiRetrieveAutomationOutput = zod.z.object({
|
|
12
12
|
id: zod.z.number().int().describe("Automation ID").nullable(),
|
|
13
13
|
name: zod.z.string().describe("Automation name").nullable(),
|
|
@@ -19,7 +19,7 @@ const SpokiRetrieveAutomationOutput = zod.z.object({
|
|
|
19
19
|
updated_datetime: zod.z.string().describe("Last updated timestamp in ISO 8601 format").nullable(),
|
|
20
20
|
automation_groups: zod.z.array(zod.z.unknown()).describe("List of automation groups this automation belongs to").nullable().optional(),
|
|
21
21
|
first_message_text: zod.z.string().describe("First message text, if any").nullable().optional()
|
|
22
|
-
}).describe("Response model for automation details");
|
|
22
|
+
}).passthrough().describe("Response model for automation details");
|
|
23
23
|
const spokiRetrieveAutomation = require_action.action("SPOKI_RETRIEVE_AUTOMATION", {
|
|
24
24
|
slug: "spoki-retrieve-automation",
|
|
25
25
|
name: "Retrieve Automation",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-automation.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"retrieve-automation.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).passthrough().describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACxF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,13 +14,13 @@ declare const SpokiRetrieveAutomationOutput: z.ZodObject<{
|
|
|
14
14
|
uuid: z.ZodNullable<z.ZodString>;
|
|
15
15
|
secret: z.ZodNullable<z.ZodString>;
|
|
16
16
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
updated_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
created_datetime: z.ZodNullable<z.ZodString>;
|
|
20
20
|
updated_datetime: z.ZodNullable<z.ZodString>;
|
|
21
21
|
automation_groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
22
22
|
first_message_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const spokiRetrieveAutomation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,13 +14,13 @@ declare const SpokiRetrieveAutomationOutput: z.ZodObject<{
|
|
|
14
14
|
uuid: z.ZodNullable<z.ZodString>;
|
|
15
15
|
secret: z.ZodNullable<z.ZodString>;
|
|
16
16
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
updated_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
created_datetime: z.ZodNullable<z.ZodString>;
|
|
20
20
|
updated_datetime: z.ZodNullable<z.ZodString>;
|
|
21
21
|
automation_groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
22
22
|
first_message_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const spokiRetrieveAutomation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
id: number;
|
|
26
26
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ const SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({
|
|
|
7
7
|
uuid: z.string().describe("Webhook UUID").nullable(),
|
|
8
8
|
secret: z.string().describe("Webhook secret token").nullable(),
|
|
9
9
|
is_active: z.boolean().describe("Whether this webhook is active").nullable()
|
|
10
|
-
}).describe("Webhook configuration for an automation");
|
|
10
|
+
}).passthrough().describe("Webhook configuration for an automation");
|
|
11
11
|
const spokiRetrieveAutomation = action("SPOKI_RETRIEVE_AUTOMATION", {
|
|
12
12
|
slug: "spoki-retrieve-automation",
|
|
13
13
|
name: "Retrieve Automation",
|
|
@@ -24,7 +24,7 @@ const spokiRetrieveAutomation = action("SPOKI_RETRIEVE_AUTOMATION", {
|
|
|
24
24
|
updated_datetime: z.string().describe("Last updated timestamp in ISO 8601 format").nullable(),
|
|
25
25
|
automation_groups: z.array(z.unknown()).describe("List of automation groups this automation belongs to").nullable().optional(),
|
|
26
26
|
first_message_text: z.string().describe("First message text, if any").nullable().optional()
|
|
27
|
-
}).describe("Response model for automation details")
|
|
27
|
+
}).passthrough().describe("Response model for automation details")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { spokiRetrieveAutomation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-automation.mjs","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"retrieve-automation.mjs","names":[],"sources":["../../src/actions/retrieve-automation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveAutomationInput = z.object({\n id: z.number().int().describe(\"ID of the automation to retrieve\"),\n}).describe(\"Request model for retrieving a specific automation\");\nconst SpokiRetrieveAutomation_AutomationWebhookSchema = z.object({\n link: z.string().describe(\"Webhook URL\").nullable(),\n uuid: z.string().describe(\"Webhook UUID\").nullable(),\n secret: z.string().describe(\"Webhook secret token\").nullable(),\n is_active: z.boolean().describe(\"Whether this webhook is active\").nullable(),\n}).passthrough().describe(\"Webhook configuration for an automation\");\nexport const SpokiRetrieveAutomationOutput = z.object({\n id: z.number().int().describe(\"Automation ID\").nullable(),\n name: z.string().describe(\"Automation name\").nullable(),\n is_active: z.boolean().describe(\"Whether the automation is active\").nullable(),\n is_favorite: z.boolean().describe(\"Whether the automation is marked as favorite\").nullable(),\n webhook_set: z.array(SpokiRetrieveAutomation_AutomationWebhookSchema).describe(\"List of webhooks configured for this automation\").nullable().optional(),\n updated_user: z.string().describe(\"User who last updated the automation\").nullable().optional(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n updated_datetime: z.string().describe(\"Last updated timestamp in ISO 8601 format\").nullable(),\n automation_groups: z.array(z.unknown()).describe(\"List of automation groups this automation belongs to\").nullable().optional(),\n first_message_text: z.string().describe(\"First message text, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for automation details\");\n\nexport const spokiRetrieveAutomation = action(\"SPOKI_RETRIEVE_AUTOMATION\", {\n slug: \"spoki-retrieve-automation\",\n name: \"Retrieve Automation\",\n description: \"Tool to retrieve details of a specific automation. Use when you need name, first message, webhooks and timestamps of an existing automation.\",\n input: SpokiRetrieveAutomationInput,\n output: SpokiRetrieveAutomationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EAClE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,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string().describe("Name of the tag").nullable(),
|
|
8
8
|
color: zod.z.string().describe("Hex color code for the tag").nullable(),
|
|
9
9
|
order: zod.z.number().int().describe("Ordering index for display purposes").nullable()
|
|
10
|
-
}).describe("Tag assigned to a contact.");
|
|
10
|
+
}).passthrough().describe("Tag assigned to a contact.");
|
|
11
11
|
const SpokiRetrieveContact_ContactListSchema = zod.z.object({
|
|
12
12
|
id: zod.z.number().int().describe("Unique list identifier").nullable(),
|
|
13
13
|
name: zod.z.string().describe("Name of the contact list").nullable(),
|
|
14
14
|
color: zod.z.string().describe("Hex color for the list, if any").nullable().optional(),
|
|
15
15
|
contacts_count: zod.z.number().int().describe("Number of contacts in this list").nullable(),
|
|
16
16
|
created_datetime: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable()
|
|
17
|
-
}).describe("List membership details for a contact.");
|
|
17
|
+
}).passthrough().describe("List membership details for a contact.");
|
|
18
18
|
const SpokiRetrieveContact_RoleSchema = zod.z.object({
|
|
19
19
|
id: zod.z.number().int().describe("Unique role identifier").nullable(),
|
|
20
20
|
name: zod.z.string().describe("Name of the role").nullable()
|
|
21
|
-
}).describe("Role assigned to a contact.");
|
|
21
|
+
}).passthrough().describe("Role assigned to a contact.");
|
|
22
22
|
const SpokiRetrieveContact_ContactFieldSchema = zod.z.object({
|
|
23
23
|
id: zod.z.number().int().describe("Unique identifier of the contact field entry").nullable(),
|
|
24
24
|
field: zod.z.number().int().describe("ID of the custom field definition").nullable(),
|
|
25
25
|
value: zod.z.string().describe("Value stored in the custom field").nullable(),
|
|
26
26
|
visual_code: zod.z.string().describe("Placeholder code for the field, e.g., %%WEBSITE%%").nullable(),
|
|
27
27
|
value_datetime: zod.z.string().describe("Datetime value if the field is date/time, ISO 8601 format").nullable().optional()
|
|
28
|
-
}).describe("Custom field assigned to a contact.");
|
|
28
|
+
}).passthrough().describe("Custom field assigned to a contact.");
|
|
29
29
|
const SpokiRetrieveContactOutput = zod.z.object({
|
|
30
30
|
id: zod.z.number().int().describe("Contact ID").nullable(),
|
|
31
31
|
email: zod.z.string().describe("Contact's email address, if available").nullable().optional(),
|
|
@@ -43,8 +43,8 @@ const SpokiRetrieveContactOutput = zod.z.object({
|
|
|
43
43
|
contactfield_set: zod.z.array(SpokiRetrieveContact_ContactFieldSchema).describe("List of custom fields and their values").nullable().optional(),
|
|
44
44
|
created_datetime: zod.z.string().describe("Timestamp when the contact was created, ISO 8601").nullable(),
|
|
45
45
|
has_invalid_phone: zod.z.boolean().describe("Indicates if the stored phone number is invalid").nullable(),
|
|
46
|
-
contactfield_values: zod.z.
|
|
47
|
-
}).describe("Full contact details returned by Spoki.");
|
|
46
|
+
contactfield_values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping custom field codes to their values").nullable().optional()
|
|
47
|
+
}).passthrough().describe("Full contact details returned by Spoki.");
|
|
48
48
|
const spokiRetrieveContact = require_action.action("SPOKI_RETRIEVE_CONTACT", {
|
|
49
49
|
slug: "spoki-retrieve-contact",
|
|
50
50
|
name: "Retrieve Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-contact.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.
|
|
1
|
+
{"version":3,"file":"retrieve-contact.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).passthrough().describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).passthrough().describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).passthrough().describe(\"Full contact details returned by Spoki.\");\n\nexport const spokiRetrieveContact = action(\"SPOKI_RETRIEVE_CONTACT\", {\n slug: \"spoki-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Tool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.\",\n input: SpokiRetrieveContactInput,\n output: SpokiRetrieveContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,YAAYA,IAAAA,EAAE,OAAO,CAA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const SpokiRetrieveContactOutput: z.ZodObject<{
|
|
|
14
14
|
name: z.ZodNullable<z.ZodString>;
|
|
15
15
|
color: z.ZodNullable<z.ZodString>;
|
|
16
16
|
order: z.ZodNullable<z.ZodNumber>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
language: z.ZodNullable<z.ZodString>;
|
|
19
19
|
list_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodNullable<z.ZodNumber>;
|
|
@@ -22,11 +22,11 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
|
|
|
22
22
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
contacts_count: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
created_datetime: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
26
|
role_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
27
|
id: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
name: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
chat_link: z.ZodNullable<z.ZodString>;
|
|
31
31
|
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,11 +38,11 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
|
|
|
38
38
|
value: z.ZodNullable<z.ZodString>;
|
|
39
39
|
visual_code: z.ZodNullable<z.ZodString>;
|
|
40
40
|
value_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
created_datetime: z.ZodNullable<z.ZodString>;
|
|
43
43
|
has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
|
|
44
|
-
contactfield_values: z.ZodOptional<z.ZodNullable<z.
|
|
45
|
-
}, z.core.$
|
|
44
|
+
contactfield_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const spokiRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
contact_id: number;
|
|
48
48
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,7 +14,7 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
|
|
|
14
14
|
name: z.ZodNullable<z.ZodString>;
|
|
15
15
|
color: z.ZodNullable<z.ZodString>;
|
|
16
16
|
order: z.ZodNullable<z.ZodNumber>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
language: z.ZodNullable<z.ZodString>;
|
|
19
19
|
list_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodNullable<z.ZodNumber>;
|
|
@@ -22,11 +22,11 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
|
|
|
22
22
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
contacts_count: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
created_datetime: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>>>;
|
|
26
26
|
role_set: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27
27
|
id: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
name: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
chat_link: z.ZodNullable<z.ZodString>;
|
|
31
31
|
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -38,11 +38,11 @@ declare const SpokiRetrieveContactOutput: z.ZodObject<{
|
|
|
38
38
|
value: z.ZodNullable<z.ZodString>;
|
|
39
39
|
visual_code: z.ZodNullable<z.ZodString>;
|
|
40
40
|
value_datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
}, z.core.$
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
created_datetime: z.ZodNullable<z.ZodString>;
|
|
43
43
|
has_invalid_phone: z.ZodNullable<z.ZodBoolean>;
|
|
44
|
-
contactfield_values: z.ZodOptional<z.ZodNullable<z.
|
|
45
|
-
}, z.core.$
|
|
44
|
+
contactfield_values: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
46
|
declare const spokiRetrieveContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
47
|
contact_id: number;
|
|
48
48
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,25 +7,25 @@ const SpokiRetrieveContact_TagSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the tag").nullable(),
|
|
8
8
|
color: z.string().describe("Hex color code for the tag").nullable(),
|
|
9
9
|
order: z.number().int().describe("Ordering index for display purposes").nullable()
|
|
10
|
-
}).describe("Tag assigned to a contact.");
|
|
10
|
+
}).passthrough().describe("Tag assigned to a contact.");
|
|
11
11
|
const SpokiRetrieveContact_ContactListSchema = z.object({
|
|
12
12
|
id: z.number().int().describe("Unique list identifier").nullable(),
|
|
13
13
|
name: z.string().describe("Name of the contact list").nullable(),
|
|
14
14
|
color: z.string().describe("Hex color for the list, if any").nullable().optional(),
|
|
15
15
|
contacts_count: z.number().int().describe("Number of contacts in this list").nullable(),
|
|
16
16
|
created_datetime: z.string().describe("Creation timestamp in ISO 8601 format").nullable()
|
|
17
|
-
}).describe("List membership details for a contact.");
|
|
17
|
+
}).passthrough().describe("List membership details for a contact.");
|
|
18
18
|
const SpokiRetrieveContact_RoleSchema = z.object({
|
|
19
19
|
id: z.number().int().describe("Unique role identifier").nullable(),
|
|
20
20
|
name: z.string().describe("Name of the role").nullable()
|
|
21
|
-
}).describe("Role assigned to a contact.");
|
|
21
|
+
}).passthrough().describe("Role assigned to a contact.");
|
|
22
22
|
const SpokiRetrieveContact_ContactFieldSchema = z.object({
|
|
23
23
|
id: z.number().int().describe("Unique identifier of the contact field entry").nullable(),
|
|
24
24
|
field: z.number().int().describe("ID of the custom field definition").nullable(),
|
|
25
25
|
value: z.string().describe("Value stored in the custom field").nullable(),
|
|
26
26
|
visual_code: z.string().describe("Placeholder code for the field, e.g., %%WEBSITE%%").nullable(),
|
|
27
27
|
value_datetime: z.string().describe("Datetime value if the field is date/time, ISO 8601 format").nullable().optional()
|
|
28
|
-
}).describe("Custom field assigned to a contact.");
|
|
28
|
+
}).passthrough().describe("Custom field assigned to a contact.");
|
|
29
29
|
const spokiRetrieveContact = action("SPOKI_RETRIEVE_CONTACT", {
|
|
30
30
|
slug: "spoki-retrieve-contact",
|
|
31
31
|
name: "Retrieve Contact",
|
|
@@ -48,8 +48,8 @@ const spokiRetrieveContact = action("SPOKI_RETRIEVE_CONTACT", {
|
|
|
48
48
|
contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe("List of custom fields and their values").nullable().optional(),
|
|
49
49
|
created_datetime: z.string().describe("Timestamp when the contact was created, ISO 8601").nullable(),
|
|
50
50
|
has_invalid_phone: z.boolean().describe("Indicates if the stored phone number is invalid").nullable(),
|
|
51
|
-
contactfield_values: z.
|
|
52
|
-
}).describe("Full contact details returned by Spoki.")
|
|
51
|
+
contactfield_values: z.record(z.string(), z.unknown()).describe("Dictionary mapping custom field codes to their values").nullable().optional()
|
|
52
|
+
}).passthrough().describe("Full contact details returned by Spoki.")
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
55
55
|
export { spokiRetrieveContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-contact.mjs","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.
|
|
1
|
+
{"version":3,"file":"retrieve-contact.mjs","names":[],"sources":["../../src/actions/retrieve-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpokiRetrieveContactInput = z.object({\n contact_id: z.number().int().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific contact.\");\nconst SpokiRetrieveContact_TagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Name of the tag\").nullable(),\n color: z.string().describe(\"Hex color code for the tag\").nullable(),\n order: z.number().int().describe(\"Ordering index for display purposes\").nullable(),\n}).passthrough().describe(\"Tag assigned to a contact.\");\nconst SpokiRetrieveContact_ContactListSchema = z.object({\n id: z.number().int().describe(\"Unique list identifier\").nullable(),\n name: z.string().describe(\"Name of the contact list\").nullable(),\n color: z.string().describe(\"Hex color for the list, if any\").nullable().optional(),\n contacts_count: z.number().int().describe(\"Number of contacts in this list\").nullable(),\n created_datetime: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"List membership details for a contact.\");\nconst SpokiRetrieveContact_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique role identifier\").nullable(),\n name: z.string().describe(\"Name of the role\").nullable(),\n}).passthrough().describe(\"Role assigned to a contact.\");\nconst SpokiRetrieveContact_ContactFieldSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the contact field entry\").nullable(),\n field: z.number().int().describe(\"ID of the custom field definition\").nullable(),\n value: z.string().describe(\"Value stored in the custom field\").nullable(),\n visual_code: z.string().describe(\"Placeholder code for the field, e.g., %%WEBSITE%%\").nullable(),\n value_datetime: z.string().describe(\"Datetime value if the field is date/time, ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Custom field assigned to a contact.\");\nexport const SpokiRetrieveContactOutput = z.object({\n id: z.number().int().describe(\"Contact ID\").nullable(),\n email: z.string().describe(\"Contact's email address, if available\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number in E.164 format\").nullable(),\n status: z.string().describe(\"Contact's status, e.g., 'Not Declared'\").nullable(),\n tag_set: z.array(SpokiRetrieveContact_TagSchema).describe(\"List of tags assigned to the contact\").nullable().optional(),\n language: z.string().describe(\"Contact's language code, e.g., 'en'\").nullable(),\n list_set: z.array(SpokiRetrieveContact_ContactListSchema).describe(\"Lists that the contact belongs to\").nullable().optional(),\n role_set: z.array(SpokiRetrieveContact_RoleSchema).describe(\"List of roles assigned to the contact\").nullable().optional(),\n chat_link: z.string().describe(\"URL to open the contact's chat in Spoki\").nullable(),\n last_name: z.string().describe(\"Contact's last name, if provided\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name, if provided\").nullable().optional(),\n is_blocked: z.boolean().describe(\"Indicates if the contact is blocked from communication\").nullable(),\n is_restricted: z.boolean().describe(\"Indicates if the contact has restricted access\").nullable(),\n contactfield_set: z.array(SpokiRetrieveContact_ContactFieldSchema).describe(\"List of custom fields and their values\").nullable().optional(),\n created_datetime: z.string().describe(\"Timestamp when the contact was created, ISO 8601\").nullable(),\n has_invalid_phone: z.boolean().describe(\"Indicates if the stored phone number is invalid\").nullable(),\n contactfield_values: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping custom field codes to their values\").nullable().optional(),\n}).passthrough().describe(\"Full contact details returned by Spoki.\");\n\nexport const spokiRetrieveContact = action(\"SPOKI_RETRIEVE_CONTACT\", {\n slug: \"spoki-retrieve-contact\",\n name: \"Retrieve Contact\",\n description: \"Tool to retrieve details of a specific contact. Use when you have a contact ID and need full profile details.\",\n input: SpokiRetrieveContactInput,\n output: SpokiRetrieveContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EACtF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC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,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACpG,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const SpokiRetrieveCustomFieldOutput = zod.z.object({
|
|
|
13
13
|
zod.z.literal(2),
|
|
14
14
|
zod.z.literal(3)
|
|
15
15
|
]).describe("The type of the custom field: 1=TEXT, 2=DATE, 3=DATETIME").nullable()
|
|
16
|
-
}).describe("Response model containing details of the retrieved custom field.");
|
|
16
|
+
}).passthrough().describe("Response model containing details of the retrieved custom field.");
|
|
17
17
|
const spokiRetrieveCustomField = require_action.action("SPOKI_RETRIEVE_CUSTOM_FIELD", {
|
|
18
18
|
slug: "spoki-retrieve-custom-field",
|
|
19
19
|
name: "Retrieve Custom Field",
|