diff --git a/components/hubspot/actions/add-contact-to-list/add-contact-to-list.mjs b/components/hubspot/actions/add-contact-to-list/add-contact-to-list.mjs index dbe619d2e6a79..67ab271fbac32 100644 --- a/components/hubspot/actions/add-contact-to-list/add-contact-to-list.mjs +++ b/components/hubspot/actions/add-contact-to-list/add-contact-to-list.mjs @@ -5,7 +5,7 @@ export default { name: "Add Contact to List", description: "Adds a contact to a specific static list. [See the documentation](https://legacydocs.hubspot.com/docs/methods/lists/add_contact_to_list)", - version: "0.0.23", + version: "0.0.24", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/batch-create-companies/batch-create-companies.mjs b/components/hubspot/actions/batch-create-companies/batch-create-companies.mjs index a49540822501a..88f97a290a7a6 100644 --- a/components/hubspot/actions/batch-create-companies/batch-create-companies.mjs +++ b/components/hubspot/actions/batch-create-companies/batch-create-companies.mjs @@ -8,7 +8,7 @@ export default { name: "Batch Create Companies", description: "Create a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fcreate)", - version: "0.0.6", + version: "0.0.7", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/batch-create-or-update-contact/batch-create-or-update-contact.mjs b/components/hubspot/actions/batch-create-or-update-contact/batch-create-or-update-contact.mjs index 2548bf1781126..1ea8195af6ba7 100644 --- a/components/hubspot/actions/batch-create-or-update-contact/batch-create-or-update-contact.mjs +++ b/components/hubspot/actions/batch-create-or-update-contact/batch-create-or-update-contact.mjs @@ -5,7 +5,7 @@ export default { name: "Batch Create or Update Contact", description: "Create or update a batch of contacts by its ID or email. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts)", - version: "0.0.20", + version: "0.0.21", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/batch-update-companies/batch-update-companies.mjs b/components/hubspot/actions/batch-update-companies/batch-update-companies.mjs index 4fa4c37ac95fa..e1c84dfe28984 100644 --- a/components/hubspot/actions/batch-update-companies/batch-update-companies.mjs +++ b/components/hubspot/actions/batch-update-companies/batch-update-companies.mjs @@ -8,7 +8,7 @@ export default { name: "Batch Update Companies", description: "Update a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fupdate)", - version: "0.0.6", + version: "0.0.7", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs b/components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs index 4878a9e35c957..d58293df8aa71 100644 --- a/components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs +++ b/components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs @@ -6,9 +6,8 @@ import hubspot from "../../hubspot.app.mjs"; export default { key: "hubspot-batch-upsert-companies", name: "Batch Upsert Companies", - description: - "Upsert a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fupsert)", - version: "0.0.6", + description: "Upsert a batch of companies in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/objects/companies#post-%2Fcrm%2Fv3%2Fobjects%2Fcompanies%2Fbatch%2Fupsert)", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/clone-email/clone-email.mjs b/components/hubspot/actions/clone-email/clone-email.mjs index b5a79c5c33446..f4b1f21569872 100644 --- a/components/hubspot/actions/clone-email/clone-email.mjs +++ b/components/hubspot/actions/clone-email/clone-email.mjs @@ -6,7 +6,7 @@ export default { name: "Clone Marketing Email", description: "Clone a marketing email in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/emails/marketing-emails#post-%2Fmarketing%2Fv3%2Femails%2Fclone)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/clone-site-page/clone-site-page.mjs b/components/hubspot/actions/clone-site-page/clone-site-page.mjs index 6a6bd4c562d46..44c7bb6b4e5a7 100644 --- a/components/hubspot/actions/clone-site-page/clone-site-page.mjs +++ b/components/hubspot/actions/clone-site-page/clone-site-page.mjs @@ -5,7 +5,7 @@ export default { name: "Clone Site Page", description: "Clone a site page in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#post-%2Fcms%2Fv3%2Fpages%2Fsite-pages%2Fclone)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-associations/create-associations.mjs b/components/hubspot/actions/create-associations/create-associations.mjs index 630985abed061..d77240f50284b 100644 --- a/components/hubspot/actions/create-associations/create-associations.mjs +++ b/components/hubspot/actions/create-associations/create-associations.mjs @@ -6,7 +6,7 @@ export default { name: "Create Associations", description: "Create associations between objects. [See the documentation](https://developers.hubspot.com/docs/api/crm/associations#endpoint?spec=POST-/crm/v3/associations/{fromObjectType}/{toObjectType}/batch/create)", - version: "1.0.9", + version: "1.0.10", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-communication/create-communication.mjs b/components/hubspot/actions/create-communication/create-communication.mjs index 9347933c3853e..29e945e3f55ba 100644 --- a/components/hubspot/actions/create-communication/create-communication.mjs +++ b/components/hubspot/actions/create-communication/create-communication.mjs @@ -9,7 +9,7 @@ export default { name: "Create Communication", description: "Create a WhatsApp, LinkedIn, or SMS message. [See the documentation](https://developers.hubspot.com/beta-docs/reference/api/crm/engagements/communications/v3#post-%2Fcrm%2Fv3%2Fobjects%2Fcommunications)", - version: "0.0.16", + version: "0.0.17", type: "action", props: { ...appProp.props, diff --git a/components/hubspot/actions/create-company/create-company.mjs b/components/hubspot/actions/create-company/create-company.mjs index 2a555e202c7ea..337310d0a7836 100644 --- a/components/hubspot/actions/create-company/create-company.mjs +++ b/components/hubspot/actions/create-company/create-company.mjs @@ -7,7 +7,7 @@ export default { name: "Create Company", description: "Create a company in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies#endpoint?spec=POST-/crm/v3/objects/companies)", - version: "0.0.27", + version: "0.0.28", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/create-contact-workflow/create-contact-workflow.mjs b/components/hubspot/actions/create-contact-workflow/create-contact-workflow.mjs index 3da4b1bb29f04..7798cfebe7dab 100644 --- a/components/hubspot/actions/create-contact-workflow/create-contact-workflow.mjs +++ b/components/hubspot/actions/create-contact-workflow/create-contact-workflow.mjs @@ -6,7 +6,7 @@ export default { name: "Create Contact Workflow", description: "Create a contact workflow in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/automation/create-manage-workflows#post-%2Fautomation%2Fv4%2Fflows)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-custom-object/create-custom-object.mjs b/components/hubspot/actions/create-custom-object/create-custom-object.mjs index 8d28bd245a304..4d39639a5b860 100644 --- a/components/hubspot/actions/create-custom-object/create-custom-object.mjs +++ b/components/hubspot/actions/create-custom-object/create-custom-object.mjs @@ -7,7 +7,7 @@ export default { name: "Create Custom Object", description: "Create a new custom object in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/custom-objects#create-a-custom-object)", - version: "1.0.9", + version: "1.0.10", type: "action", props: { ...appProp.props, diff --git a/components/hubspot/actions/create-deal/create-deal.mjs b/components/hubspot/actions/create-deal/create-deal.mjs index c62ccb391d5a4..f0a92fe3f7f38 100644 --- a/components/hubspot/actions/create-deal/create-deal.mjs +++ b/components/hubspot/actions/create-deal/create-deal.mjs @@ -7,7 +7,7 @@ export default { name: "Create Deal", description: "Create a deal in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/deals#endpoint?spec=POST-/crm/v3/objects/deals)", - version: "0.0.27", + version: "0.0.28", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-email/create-email.mjs b/components/hubspot/actions/create-email/create-email.mjs index 5e34df4abef15..8d29994e56af4 100644 --- a/components/hubspot/actions/create-email/create-email.mjs +++ b/components/hubspot/actions/create-email/create-email.mjs @@ -10,7 +10,7 @@ export default { name: "Create Marketing Email", description: "Create a marketing email in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/emails/marketing-emails#post-%2Fmarketing%2Fv3%2Femails%2F)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-engagement/create-engagement.mjs b/components/hubspot/actions/create-engagement/create-engagement.mjs index a18502863dc43..449e1d2a0a04f 100644 --- a/components/hubspot/actions/create-engagement/create-engagement.mjs +++ b/components/hubspot/actions/create-engagement/create-engagement.mjs @@ -11,7 +11,7 @@ export default { name: "Create Engagement", description: "Create a new engagement for a contact. [See the documentation](https://developers.hubspot.com/docs/api/crm/engagements)", - version: "0.0.26", + version: "0.0.27", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-form/create-form.mjs b/components/hubspot/actions/create-form/create-form.mjs index 01d81499c0b6f..569368b82e0d9 100644 --- a/components/hubspot/actions/create-form/create-form.mjs +++ b/components/hubspot/actions/create-form/create-form.mjs @@ -10,7 +10,7 @@ export default { name: "Create Form", description: "Create a form in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/forms#post-%2Fmarketing%2Fv3%2Fforms%2F)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-landing-page/create-landing-page.mjs b/components/hubspot/actions/create-landing-page/create-landing-page.mjs index 71013eafe223a..e83b642ec7804 100644 --- a/components/hubspot/actions/create-landing-page/create-landing-page.mjs +++ b/components/hubspot/actions/create-landing-page/create-landing-page.mjs @@ -7,7 +7,7 @@ export default { name: "Create Landing Page", description: "Create a landing page in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#post-%2Fcms%2Fv3%2Fpages%2Flanding-pages)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-lead/create-lead.mjs b/components/hubspot/actions/create-lead/create-lead.mjs index 03ff7e73983e0..cedf06d47fbac 100644 --- a/components/hubspot/actions/create-lead/create-lead.mjs +++ b/components/hubspot/actions/create-lead/create-lead.mjs @@ -10,7 +10,7 @@ export default { name: "Create Lead", description: "Create a lead in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/leads#create-leads)", - version: "0.0.15", + version: "0.0.16", type: "action", props: { ...appProp.props, diff --git a/components/hubspot/actions/create-meeting/create-meeting.mjs b/components/hubspot/actions/create-meeting/create-meeting.mjs index 2c4bbfd18a111..35b7c1313aee1 100644 --- a/components/hubspot/actions/create-meeting/create-meeting.mjs +++ b/components/hubspot/actions/create-meeting/create-meeting.mjs @@ -11,7 +11,7 @@ export default { name: "Create Meeting", description: "Creates a new meeting with optional associations to other objects. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/engagements/meetings#post-%2Fcrm%2Fv3%2Fobjects%2Fmeetings)", - version: "0.0.8", + version: "0.0.9", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-note/create-note.mjs b/components/hubspot/actions/create-note/create-note.mjs index 1740ee13568c7..e11f01bb7a568 100644 --- a/components/hubspot/actions/create-note/create-note.mjs +++ b/components/hubspot/actions/create-note/create-note.mjs @@ -8,7 +8,7 @@ export default { name: "Create Note", description: "Create a new note. [See the documentation](https://developers.hubspot.com/docs/api/crm/engagements)", - version: "0.0.7", + version: "0.0.8", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-or-update-contact/create-or-update-contact.mjs b/components/hubspot/actions/create-or-update-contact/create-or-update-contact.mjs index 8ce619b9fca36..91ae9c32d4561 100644 --- a/components/hubspot/actions/create-or-update-contact/create-or-update-contact.mjs +++ b/components/hubspot/actions/create-or-update-contact/create-or-update-contact.mjs @@ -7,7 +7,7 @@ export default { name: "Create or Update Contact", description: "Create or update a contact in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts#endpoint?spec=POST-/crm/v3/objects/contacts)", - version: "0.0.25", + version: "0.0.26", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-page/create-page.mjs b/components/hubspot/actions/create-page/create-page.mjs index 525a215cf4052..cd3ef2c43e819 100644 --- a/components/hubspot/actions/create-page/create-page.mjs +++ b/components/hubspot/actions/create-page/create-page.mjs @@ -7,7 +7,7 @@ export default { name: "Create Page", description: "Create a page in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#post-%2Fcms%2Fv3%2Fpages%2Fsite-pages)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/create-task/create-task.mjs b/components/hubspot/actions/create-task/create-task.mjs index 8cb724d934cde..6a6e2efd517a9 100644 --- a/components/hubspot/actions/create-task/create-task.mjs +++ b/components/hubspot/actions/create-task/create-task.mjs @@ -8,7 +8,7 @@ export default { name: "Create Task", description: "Create a new task. [See the documentation](https://developers.hubspot.com/docs/api/crm/engagements)", - version: "0.0.8", + version: "0.0.9", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-ticket/create-ticket.mjs b/components/hubspot/actions/create-ticket/create-ticket.mjs index 51becf7d6b393..3ff83727a0888 100644 --- a/components/hubspot/actions/create-ticket/create-ticket.mjs +++ b/components/hubspot/actions/create-ticket/create-ticket.mjs @@ -7,7 +7,7 @@ export default { name: "Create Ticket", description: "Create a ticket in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/tickets)", - version: "0.0.18", + version: "0.0.19", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-workflow/create-workflow.mjs b/components/hubspot/actions/create-workflow/create-workflow.mjs new file mode 100644 index 0000000000000..f22d6df100426 --- /dev/null +++ b/components/hubspot/actions/create-workflow/create-workflow.mjs @@ -0,0 +1,43 @@ +import { parseObject } from "../../common/utils.mjs"; +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-create-workflow", + name: "Create a New Workflow", + description: "Create a new workflow. [See the documentation](https://developers.hubspot.com/docs/api-reference/legacy/create-manage-workflows-v3/post-automation-v3-workflows)", + version: "0.0.1", + type: "action", + props: { + hubspot, + name: { + type: "string", + label: "Workflow Name", + description: "The name of the workflow to create", + }, + type: { + propDefinition: [ + hubspot, + "type", + ], + }, + actions: { + propDefinition: [ + hubspot, + "actions", + ], + }, + }, + async run({ $ }) { + const response = await this.hubspot.createWorkflow({ + data: { + name: this.name, + type: this.type, + actions: parseObject(this.actions), + }, + $, + }); + + $.export("$summary", `Successfully created workflow: ${this.name}`); + return response; + }, +}; diff --git a/components/hubspot/actions/delete-workflow/delete-workflow.mjs b/components/hubspot/actions/delete-workflow/delete-workflow.mjs new file mode 100644 index 0000000000000..b32d5b54e1feb --- /dev/null +++ b/components/hubspot/actions/delete-workflow/delete-workflow.mjs @@ -0,0 +1,28 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-delete-workflow", + name: "Delete a Workflow", + description: "Delete a workflow by ID. [See the documentation](https://developers.hubspot.com/docs/api-reference/legacy/create-manage-workflows-v3/delete-automation-v3-workflows-workflowId)", + version: "0.0.1", + type: "action", + props: { + hubspot, + workflowId: { + propDefinition: [ + hubspot, + "workflow", + ], + description: "The ID of the workflow to delete", + }, + }, + async run({ $ }) { + const response = await this.hubspot.deleteWorkflow({ + workflowId: this.workflowId, + $, + }); + + $.export("$summary", `Successfully deleted workflow ${this.workflowId}`); + return response; + }, +}; diff --git a/components/hubspot/actions/enroll-contact-into-workflow/enroll-contact-into-workflow.mjs b/components/hubspot/actions/enroll-contact-into-workflow/enroll-contact-into-workflow.mjs index fae5fbb1d8f5e..61e4221e01389 100644 --- a/components/hubspot/actions/enroll-contact-into-workflow/enroll-contact-into-workflow.mjs +++ b/components/hubspot/actions/enroll-contact-into-workflow/enroll-contact-into-workflow.mjs @@ -5,7 +5,7 @@ export default { name: "Enroll Contact Into Workflow", description: "Add a contact to a workflow. Note: The Workflows API currently only supports contact-based workflows and is only available for Marketing Hub Enterprise accounts. [See the documentation](https://legacydocs.hubspot.com/docs/methods/workflows/add_contact)", - version: "0.0.23", + version: "0.0.24", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/get-associated-emails/get-associated-emails.mjs b/components/hubspot/actions/get-associated-emails/get-associated-emails.mjs index 9834686b87a7f..fe514323eedd1 100644 --- a/components/hubspot/actions/get-associated-emails/get-associated-emails.mjs +++ b/components/hubspot/actions/get-associated-emails/get-associated-emails.mjs @@ -6,7 +6,7 @@ export default { name: "Get Associated Emails", description: "Retrieves emails associated with a specific object (contact, company, or deal). [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/search)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/get-associated-meetings/get-associated-meetings.mjs b/components/hubspot/actions/get-associated-meetings/get-associated-meetings.mjs index bfa3ec6e05d2d..dd7611765d77d 100644 --- a/components/hubspot/actions/get-associated-meetings/get-associated-meetings.mjs +++ b/components/hubspot/actions/get-associated-meetings/get-associated-meetings.mjs @@ -7,7 +7,7 @@ export default { name: "Get Associated Meetings", description: "Retrieves meetings associated with a specific object (contact, company, or deal) with optional time filtering. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/associations/association-details#get-%2Fcrm%2Fv4%2Fobjects%2F%7Bobjecttype%7D%2F%7Bobjectid%7D%2Fassociations%2F%7Btoobjecttype%7D)", - version: "0.0.8", + version: "0.0.9", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/get-company/get-company.mjs b/components/hubspot/actions/get-company/get-company.mjs index 5625f498e5348..7a101e85a3e54 100644 --- a/components/hubspot/actions/get-company/get-company.mjs +++ b/components/hubspot/actions/get-company/get-company.mjs @@ -7,7 +7,7 @@ export default { name: "Get Company", description: "Gets a company. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies#endpoint?spec=GET-/crm/v3/objects/companies/{companyId})", - version: "0.0.23", + version: "0.0.24", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/get-contact/get-contact.mjs b/components/hubspot/actions/get-contact/get-contact.mjs index 5c2d758b564a1..9b80bedfd78b8 100644 --- a/components/hubspot/actions/get-contact/get-contact.mjs +++ b/components/hubspot/actions/get-contact/get-contact.mjs @@ -7,7 +7,7 @@ export default { name: "Get Contact", description: "Gets a contact. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts#endpoint?spec=GET-/crm/v3/objects/contacts/{contactId})", - version: "0.0.23", + version: "0.0.24", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/get-deal/get-deal.mjs b/components/hubspot/actions/get-deal/get-deal.mjs index cdb8a687cdc87..c0f627c16fed3 100644 --- a/components/hubspot/actions/get-deal/get-deal.mjs +++ b/components/hubspot/actions/get-deal/get-deal.mjs @@ -7,7 +7,7 @@ export default { name: "Get Deal", description: "Gets a deal. [See the documentation](https://developers.hubspot.com/docs/api/crm/deals#endpoint?spec=GET-/crm/v3/objects/deals/{dealId})", - version: "0.0.23", + version: "0.0.24", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/get-file-public-url/get-file-public-url.mjs b/components/hubspot/actions/get-file-public-url/get-file-public-url.mjs index 5ce7e09d551e5..95ae571c9054e 100644 --- a/components/hubspot/actions/get-file-public-url/get-file-public-url.mjs +++ b/components/hubspot/actions/get-file-public-url/get-file-public-url.mjs @@ -5,7 +5,7 @@ export default { name: "Get File Public URL", description: "Get a publicly available URL for a file that was uploaded using a Hubspot form. [See the documentation](https://developers.hubspot.com/docs/api/files/files#endpoint?spec=GET-/files/v3/files/{fileId}/signed-url)", - version: "0.0.23", + version: "0.0.24", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/get-meeting/get-meeting.mjs b/components/hubspot/actions/get-meeting/get-meeting.mjs index b580848363c97..6471453cecb3d 100644 --- a/components/hubspot/actions/get-meeting/get-meeting.mjs +++ b/components/hubspot/actions/get-meeting/get-meeting.mjs @@ -7,7 +7,7 @@ export default { name: "Get Meeting", description: "Retrieves a specific meeting by its ID. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/engagements/meetings#get-%2Fcrm%2Fv3%2Fobjects%2Fmeetings%2F%7Bmeetingid%7D)", - version: "0.0.8", + version: "0.0.9", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/get-subscription-preferences/get-subscription-preferences.mjs b/components/hubspot/actions/get-subscription-preferences/get-subscription-preferences.mjs index 10e2bf4229c58..e55ebbe0d6500 100644 --- a/components/hubspot/actions/get-subscription-preferences/get-subscription-preferences.mjs +++ b/components/hubspot/actions/get-subscription-preferences/get-subscription-preferences.mjs @@ -5,7 +5,7 @@ export default { name: "Get Subscription Preferences", description: "Retrieves the subscription preferences for a contact. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/subscriptions#get-%2Fcommunication-preferences%2Fv4%2Fstatuses%2F%7Bsubscriberidstring%7D)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs b/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs index cfeeaf388d3ea..80e31b5f1fb35 100644 --- a/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs +++ b/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs @@ -5,7 +5,7 @@ export default { name: "List Blog Posts", description: "Retrieves a list of blog posts. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/blogs/blog-posts)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-campaigns/list-campaigns.mjs b/components/hubspot/actions/list-campaigns/list-campaigns.mjs index f893ac00e4c81..1a03d9db80125 100644 --- a/components/hubspot/actions/list-campaigns/list-campaigns.mjs +++ b/components/hubspot/actions/list-campaigns/list-campaigns.mjs @@ -5,7 +5,7 @@ export default { name: "List Campaigns", description: "Retrieves a list of campaigns. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/campaigns#get-%2Fmarketing%2Fv3%2Fcampaigns%2F)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-forms/list-forms.mjs b/components/hubspot/actions/list-forms/list-forms.mjs index 82390292feeeb..78d9e646b1a00 100644 --- a/components/hubspot/actions/list-forms/list-forms.mjs +++ b/components/hubspot/actions/list-forms/list-forms.mjs @@ -5,7 +5,7 @@ export default { name: "List Forms", description: "Retrieves a list of forms. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/forms#get-%2Fmarketing%2Fv3%2Fforms%2F)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs b/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs index 5e24f1ca7eb38..10fb4298a4a1f 100644 --- a/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs +++ b/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs @@ -5,7 +5,7 @@ export default { name: "List Marketing Emails", description: "Retrieves a list of marketing emails. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/emails/marketing-emails#get-%2Fmarketing%2Fv3%2Femails%2F)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs b/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs index 2cb1eba1d2fa5..d077ab17b75ef 100644 --- a/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs +++ b/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs @@ -5,7 +5,7 @@ export default { name: "List Marketing Events", description: "Retrieves a list of marketing events. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/marketing-events#get-%2Fmarketing%2Fv3%2Fmarketing-events%2F)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-pages/list-pages.mjs b/components/hubspot/actions/list-pages/list-pages.mjs index 2ea70ba1ca8c1..8d6d28e8a1fb3 100644 --- a/components/hubspot/actions/list-pages/list-pages.mjs +++ b/components/hubspot/actions/list-pages/list-pages.mjs @@ -5,7 +5,7 @@ export default { name: "List Pages", description: "Retrieves a list of site pages. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/list-templates/list-templates.mjs b/components/hubspot/actions/list-templates/list-templates.mjs index f856231d3d17e..69298e988459c 100644 --- a/components/hubspot/actions/list-templates/list-templates.mjs +++ b/components/hubspot/actions/list-templates/list-templates.mjs @@ -5,7 +5,7 @@ export default { name: "List Templates", description: "Retrieves a list of templates. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/templates)", - version: "0.0.5", + version: "0.0.6", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/retrieve-migrated-workflow-mappings/retrieve-migrated-workflow-mappings.mjs b/components/hubspot/actions/retrieve-migrated-workflow-mappings/retrieve-migrated-workflow-mappings.mjs new file mode 100644 index 0000000000000..488f9b09978d5 --- /dev/null +++ b/components/hubspot/actions/retrieve-migrated-workflow-mappings/retrieve-migrated-workflow-mappings.mjs @@ -0,0 +1,72 @@ +import { parseObject } from "../../common/utils.mjs"; +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-retrieve-migrated-workflow-mappings", + name: "Retrieve Migrated Workflow Mappings", + description: "Retrieve the IDs of v3 workflows that have been migrated to the v4 API. [See the documentation](https://developers.hubspot.com/docs/api-reference/automation-automation-v4-v4/workflow-id-mappings/post-automation-v4-workflow-id-mappings-batch-read)", + version: "0.0.1", + type: "action", + props: { + hubspot, + flowIds: { + propDefinition: [ + hubspot, + "workflow", + () => ({ + version: "V4", + }), + ], + type: "string[]", + label: "Flow IDs", + description: "A list of flowIds from the V4 API.", + optional: true, + }, + workflow: { + propDefinition: [ + hubspot, + "workflow", + () => ({ + version: "V3", + }), + ], + type: "string[]", + label: "Workflow IDs", + description: "A list of workflowIds from the V3 API.", + optional: true, + }, + }, + async run({ $ }) { + const parsedFlowIds = parseObject(this.flowIds) || []; + const parsedWorkflowIds = parseObject(this.workflowIds) || []; + + const flowIds = []; + const workflowIds = []; + + for (const flowId of parsedFlowIds) { + flowIds.push({ + flowMigrationStatuses: `${flowId}`, + type: "FLOW_ID", + }); + } + for (const workflowId of parsedWorkflowIds) { + workflowIds.push({ + flowMigrationStatusForClassicWorkflows: `${workflowId}`, + type: "WORKFLOW_ID", + }); + } + + const response = await this.hubspot.getMigratedWorkflowMappings({ + $, + data: { + inputs: [ + ...flowIds, + ...workflowIds, + ], + }, + }); + + $.export("$summary", `Successfully retrieved ${response.results.length} migrated result(s) with ${response.errors?.length || 0} error(s)`); + return response; + }, +}; diff --git a/components/hubspot/actions/retrieve-workflow-details/retrieve-workflow-details.mjs b/components/hubspot/actions/retrieve-workflow-details/retrieve-workflow-details.mjs new file mode 100644 index 0000000000000..74871bbc1bef7 --- /dev/null +++ b/components/hubspot/actions/retrieve-workflow-details/retrieve-workflow-details.mjs @@ -0,0 +1,29 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-retrieve-workflow-details", + name: "Retrieve Workflow Details", + description: "Retrieve detailed information about a specific workflow. [See the documentation](https://developers.hubspot.com/docs/api-reference/legacy/create-manage-workflows-v3/get-automation-v3-workflows-workflowId)", + version: "0.0.1", + type: "action", + props: { + hubspot, + workflowId: { + propDefinition: [ + hubspot, + "workflow", + ], + label: "Workflow ID", + description: "The ID of the workflow you wish to see details for.", + }, + }, + async run({ $ }) { + const response = await this.hubspot.getWorkflowDetails({ + workflowId: this.workflowId, + $, + }); + + $.export("$summary", `Successfully retrieved details for workflow ${this.workflowId}`); + return response; + }, +}; diff --git a/components/hubspot/actions/retrieve-workflow-emails/retrieve-workflow-emails.mjs b/components/hubspot/actions/retrieve-workflow-emails/retrieve-workflow-emails.mjs new file mode 100644 index 0000000000000..a888ef774b703 --- /dev/null +++ b/components/hubspot/actions/retrieve-workflow-emails/retrieve-workflow-emails.mjs @@ -0,0 +1,51 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-retrieve-workflow-emails", + name: "Retrieve Workflow Emails", + description: "Retrieve emails sent by a workflow by ID. [See the documentation](https://developers.hubspot.com/docs/api-reference/automation-automation-v4-v4/email-campaigns/get-automation-v4-flows-email-campaigns)", + version: "0.0.1", + type: "action", + props: { + hubspot, + workflowId: { + propDefinition: [ + hubspot, + "workflow", + ], + }, + after: { + type: "string", + label: "After", + description: "The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.", + optional: true, + }, + before: { + type: "string", + label: "Before", + description: "The paging cursor token of the last successfully read resource will be returned as the `paging.next.before` JSON property of a paged response containing more results.", + optional: true, + }, + limit: { + type: "integer", + label: "Limit", + description: "The maximum number of results to display per page.", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const response = await this.hubspot.getWorkflowEmails({ + $, + params: { + flowId: this.workflowId, + after: this.after, + before: this.before, + limit: this.limit, + }, + }); + + $.export("$summary", `Successfully retrieved ${response.results.length} emails for workflow ${this.workflowId}`); + return response; + }, +}; diff --git a/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs b/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs new file mode 100644 index 0000000000000..864d650f04ebf --- /dev/null +++ b/components/hubspot/actions/retrieve-workflows/retrieve-workflows.mjs @@ -0,0 +1,20 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-retrieve-workflows", + name: "Retrieve Workflows", + description: "Retrieve a list of all workflows. [See the documentation](https://developers.hubspot.com/docs/api-reference/legacy/create-manage-workflows-v3/get-automation-v3-workflows)", + version: "0.0.1", + type: "action", + props: { + hubspot, + }, + async run({ $ }) { + const response = await this.hubspot.listWorkflows({ + $, + }); + + $.export("$summary", `Successfully retrieved ${response.results.length} workflows`); + return response; + }, +}; diff --git a/components/hubspot/actions/search-crm/search-crm.mjs b/components/hubspot/actions/search-crm/search-crm.mjs index 0888c902e45d7..848361b10ced4 100644 --- a/components/hubspot/actions/search-crm/search-crm.mjs +++ b/components/hubspot/actions/search-crm/search-crm.mjs @@ -18,7 +18,7 @@ export default { name: "Search CRM", description: "Search companies, contacts, deals, feedback submissions, products, tickets, line-items, quotes, leads, or custom objects. [See the documentation](https://developers.hubspot.com/docs/api/crm/search)", - version: "1.0.10", + version: "1.0.11", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/update-company/update-company.mjs b/components/hubspot/actions/update-company/update-company.mjs index e3e68a1f615f4..b5574608e10f8 100644 --- a/components/hubspot/actions/update-company/update-company.mjs +++ b/components/hubspot/actions/update-company/update-company.mjs @@ -8,7 +8,7 @@ export default { name: "Update Company", description: "Update a company in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies)", - version: "0.0.23", + version: "0.0.24", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/update-contact/update-contact.mjs b/components/hubspot/actions/update-contact/update-contact.mjs index b8eb3ebd0d8d4..0668f7be8230e 100644 --- a/components/hubspot/actions/update-contact/update-contact.mjs +++ b/components/hubspot/actions/update-contact/update-contact.mjs @@ -8,7 +8,7 @@ export default { name: "Update Contact", description: "Update a contact in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts#endpoint?spec=POST-/crm/v3/objects/contacts)", - version: "0.0.24", + version: "0.0.25", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/update-custom-object/update-custom-object.mjs b/components/hubspot/actions/update-custom-object/update-custom-object.mjs index acb462b4ea264..c639fb1a50c22 100644 --- a/components/hubspot/actions/update-custom-object/update-custom-object.mjs +++ b/components/hubspot/actions/update-custom-object/update-custom-object.mjs @@ -7,7 +7,7 @@ export default { name: "Update Custom Object", description: "Update a custom object in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/custom-objects#update-existing-custom-objects)", - version: "1.0.9", + version: "1.0.10", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/update-deal/update-deal.mjs b/components/hubspot/actions/update-deal/update-deal.mjs index 6889cfdb80a47..abc881b0b8685 100644 --- a/components/hubspot/actions/update-deal/update-deal.mjs +++ b/components/hubspot/actions/update-deal/update-deal.mjs @@ -8,7 +8,7 @@ export default { name: "Update Deal", description: "Update a deal in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/deals#update-deals)", - version: "0.0.14", + version: "0.0.15", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/update-fields-on-the-form/update-fields-on-the-form.mjs b/components/hubspot/actions/update-fields-on-the-form/update-fields-on-the-form.mjs index 534afa62a16b0..66ab37002ae6e 100644 --- a/components/hubspot/actions/update-fields-on-the-form/update-fields-on-the-form.mjs +++ b/components/hubspot/actions/update-fields-on-the-form/update-fields-on-the-form.mjs @@ -10,7 +10,7 @@ export default { name: "Update Fields on the Form", description: "Update some of the form definition components. [See the documentation](https://developers.hubspot.com/docs/reference/api/marketing/forms#patch-%2Fmarketing%2Fv3%2Fforms%2F%7Bformid%7D)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/update-landing-page/update-landing-page.mjs b/components/hubspot/actions/update-landing-page/update-landing-page.mjs index 8a49edb8fbd78..40115c02b3916 100644 --- a/components/hubspot/actions/update-landing-page/update-landing-page.mjs +++ b/components/hubspot/actions/update-landing-page/update-landing-page.mjs @@ -7,7 +7,7 @@ export default { name: "Update Landing Page", description: "Update a landing page in HubSpot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#patch-%2Fcms%2Fv3%2Fpages%2Flanding-pages%2F%7Bobjectid%7D)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/actions/update-lead/update-lead.mjs b/components/hubspot/actions/update-lead/update-lead.mjs index e8893787cf41f..ee6140e240ce4 100644 --- a/components/hubspot/actions/update-lead/update-lead.mjs +++ b/components/hubspot/actions/update-lead/update-lead.mjs @@ -8,7 +8,7 @@ export default { name: "Update Lead", description: "Update a lead in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/leads#update-leads)", - version: "0.0.15", + version: "0.0.16", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/update-page/update-page.mjs b/components/hubspot/actions/update-page/update-page.mjs index 494af8a602d1a..6a1fccf41c120 100644 --- a/components/hubspot/actions/update-page/update-page.mjs +++ b/components/hubspot/actions/update-page/update-page.mjs @@ -7,7 +7,7 @@ export default { name: "Update Page", description: "Update a page in Hubspot. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/pages#patch-%2Fcms%2Fv3%2Fpages%2Fsite-pages%2F%7Bobjectid%7D)", - version: "0.0.4", + version: "0.0.5", type: "action", props: { hubspot, diff --git a/components/hubspot/common/constants.mjs b/components/hubspot/common/constants.mjs index b08b8469d9c83..bd9701078a1e8 100644 --- a/components/hubspot/common/constants.mjs +++ b/components/hubspot/common/constants.mjs @@ -20,6 +20,7 @@ const API_PATH = { CRMV4: "/crm/v4", CMS: "/cms/v3", AUTOMATION: "/automation/v2", + AUTOMATIONV3: "/automation/v3", AUTOMATIONV4: "/automation/v4", DEAL: "/deals/v1", BUSINESS_UNITS: "/business-units/v3", diff --git a/components/hubspot/hubspot.app.mjs b/components/hubspot/hubspot.app.mjs index 132aeab57efe2..bb8ae218b60cd 100644 --- a/components/hubspot/hubspot.app.mjs +++ b/components/hubspot/hubspot.app.mjs @@ -344,6 +344,7 @@ export default { description: "The ID of the workflow you wish to see metadata for.", async options() { const { workflows } = await this.listWorkflows(); + return { options: workflows.map(({ name: label, id: value, @@ -676,6 +677,31 @@ export default { }; }, }, + type: { + type: "string", + label: "Type", + description: "The type of workflow to create", + options: [ + { + label: "Drip Delay", + value: "DRIP_DELAY", + }, + { + label: "Static Anchor", + value: "STATIC_ANCHOR", + }, + { + label: "Property Anchor", + value: "PROPERTY_ANCHOR", + }, + ], + }, + actions: { + type: "string[]", + label: "Actions", + description: "A list of objects representing the workflow actions. [See the documentation](https://developers.hubspot.com/docs/api-reference/automation-automation-v4-v4/guide#action-types) for more information.", + optional: true, + }, }, methods: { _getHeaders() { @@ -1208,7 +1234,7 @@ export default { }, listWorkflows(opts = {}) { return this.makeRequest({ - api: API_PATH.AUTOMATION, + api: API_PATH["AUTOMATIONV3"], endpoint: "/workflows", ...opts, }); @@ -1223,6 +1249,48 @@ export default { ...opts, }); }, + getWorkflowEmails(opts = {}) { + return this.makeRequest({ + api: API_PATH.AUTOMATIONV4, + endpoint: "/flows/email-campaigns", + ...opts, + }); + }, + getWorkflowDetails({ + workflowId, ...opts + }) { + return this.makeRequest({ + api: API_PATH.AUTOMATIONV3, + endpoint: `/workflows/${workflowId}`, + ...opts, + }); + }, + createWorkflow(opts = {}) { + return this.makeRequest({ + method: "POST", + api: API_PATH.AUTOMATIONV3, + endpoint: "/workflows", + ...opts, + }); + }, + deleteWorkflow({ + workflowId, ...opts + }) { + return this.makeRequest({ + method: "DELETE", + api: API_PATH.AUTOMATIONV3, + endpoint: `/workflows/${workflowId}`, + ...opts, + }); + }, + getMigratedWorkflowMappings(opts = {}) { + return this.makeRequest({ + api: API_PATH.AUTOMATIONV4, + endpoint: "/workflow-id-mappings/batch/read", + method: "POST", + ...opts, + }); + }, batchCreateContacts(opts = {}) { return this.makeRequest({ api: API_PATH.CRMV3, diff --git a/components/hubspot/package.json b/components/hubspot/package.json index cf0e6b86ce2ff..afa33b8390937 100644 --- a/components/hubspot/package.json +++ b/components/hubspot/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/hubspot", - "version": "1.7.0", + "version": "1.7.1", "description": "Pipedream Hubspot Components", "main": "hubspot.app.mjs", "keywords": [ diff --git a/components/hubspot/sources/delete-blog-article/delete-blog-article.mjs b/components/hubspot/sources/delete-blog-article/delete-blog-article.mjs index aa5837adc3a93..8fe616ad72754 100644 --- a/components/hubspot/sources/delete-blog-article/delete-blog-article.mjs +++ b/components/hubspot/sources/delete-blog-article/delete-blog-article.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-delete-blog-article", name: "Deleted Blog Posts", description: "Emit new event for each deleted blog post.", - version: "0.0.29", + version: "0.0.30", dedupe: "unique", type: "source", methods: { diff --git a/components/hubspot/sources/new-company-property-change/new-company-property-change.mjs b/components/hubspot/sources/new-company-property-change/new-company-property-change.mjs index f88a48845eaeb..948b9725a77c8 100644 --- a/components/hubspot/sources/new-company-property-change/new-company-property-change.mjs +++ b/components/hubspot/sources/new-company-property-change/new-company-property-change.mjs @@ -6,9 +6,8 @@ export default { ...common, key: "hubspot-new-company-property-change", name: "New Company Property Change", - description: - "Emit new event when a specified property is provided or updated on a company. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies)", - version: "0.0.22", + description: "Emit new event when a specified property is provided or updated on a company. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies)", + version: "0.0.23", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-contact-added-to-list/new-contact-added-to-list.mjs b/components/hubspot/sources/new-contact-added-to-list/new-contact-added-to-list.mjs index 239797a0c6c5f..aa091409cbe75 100644 --- a/components/hubspot/sources/new-contact-added-to-list/new-contact-added-to-list.mjs +++ b/components/hubspot/sources/new-contact-added-to-list/new-contact-added-to-list.mjs @@ -12,7 +12,7 @@ export default { name: "New Contact Added to List", description: "Emit new event when a contact is added to a HubSpot list. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/lists#get-%2Fcrm%2Fv3%2Flists%2F%7Blistid%7D%2Fmemberships%2Fjoin-order)", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", props: { diff --git a/components/hubspot/sources/new-contact-property-change/new-contact-property-change.mjs b/components/hubspot/sources/new-contact-property-change/new-contact-property-change.mjs index 7b1fa91ca50db..0ae07d5095d5f 100644 --- a/components/hubspot/sources/new-contact-property-change/new-contact-property-change.mjs +++ b/components/hubspot/sources/new-contact-property-change/new-contact-property-change.mjs @@ -6,9 +6,8 @@ export default { ...common, key: "hubspot-new-contact-property-change", name: "New Contact Property Change", - description: - "Emit new event when a specified property is provided or updated on a contact. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts)", - version: "0.0.24", + description: "Emit new event when a specified property is provided or updated on a contact. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts)", + version: "0.0.25", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-custom-object-property-change/new-custom-object-property-change.mjs b/components/hubspot/sources/new-custom-object-property-change/new-custom-object-property-change.mjs index 49da904ba1049..69c4653df924d 100644 --- a/components/hubspot/sources/new-custom-object-property-change/new-custom-object-property-change.mjs +++ b/components/hubspot/sources/new-custom-object-property-change/new-custom-object-property-change.mjs @@ -7,7 +7,7 @@ export default { name: "New Custom Object Property Change", description: "Emit new event when a specified property is provided or updated on a custom object.", - version: "0.0.14", + version: "0.0.15", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-deal-in-stage/new-deal-in-stage.mjs b/components/hubspot/sources/new-deal-in-stage/new-deal-in-stage.mjs index 9ed00e01bed42..ca55e15821489 100644 --- a/components/hubspot/sources/new-deal-in-stage/new-deal-in-stage.mjs +++ b/components/hubspot/sources/new-deal-in-stage/new-deal-in-stage.mjs @@ -11,7 +11,7 @@ export default { key: "hubspot-new-deal-in-stage", name: "New Deal In Stage", description: "Emit new event for each new deal in a stage.", - version: "0.0.35", + version: "0.0.36", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-deal-property-change/new-deal-property-change.mjs b/components/hubspot/sources/new-deal-property-change/new-deal-property-change.mjs index 57635cf858a74..36c2b6556a28f 100644 --- a/components/hubspot/sources/new-deal-property-change/new-deal-property-change.mjs +++ b/components/hubspot/sources/new-deal-property-change/new-deal-property-change.mjs @@ -6,9 +6,8 @@ export default { ...common, key: "hubspot-new-deal-property-change", name: "New Deal Property Change", - description: - "Emit new event when a specified property is provided or updated on a deal. [See the documentation](https://developers.hubspot.com/docs/api/crm/deals)", - version: "0.0.23", + description: "Emit new event when a specified property is provided or updated on a deal. [See the documentation](https://developers.hubspot.com/docs/api/crm/deals)", + version: "0.0.24", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-email-event/new-email-event.mjs b/components/hubspot/sources/new-email-event/new-email-event.mjs index 32e7c112e5e68..d7d852e58f6a2 100644 --- a/components/hubspot/sources/new-email-event/new-email-event.mjs +++ b/components/hubspot/sources/new-email-event/new-email-event.mjs @@ -8,7 +8,7 @@ export default { key: "hubspot-new-email-event", name: "New Email Event", description: "Emit new event for each new Hubspot email event.", - version: "0.0.32", + version: "0.0.33", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-email-subscriptions-timeline/new-email-subscriptions-timeline.mjs b/components/hubspot/sources/new-email-subscriptions-timeline/new-email-subscriptions-timeline.mjs index e14902e6396d7..bafd36389eb8b 100644 --- a/components/hubspot/sources/new-email-subscriptions-timeline/new-email-subscriptions-timeline.mjs +++ b/components/hubspot/sources/new-email-subscriptions-timeline/new-email-subscriptions-timeline.mjs @@ -5,9 +5,8 @@ export default { ...common, key: "hubspot-new-email-subscriptions-timeline", name: "New Email Subscriptions Timeline", - description: - "Emit new event when a new email timeline subscription is added for the portal.", - version: "0.0.29", + description: "Emit new event when a new email timeline subscription is added for the portal.", + version: "0.0.30", dedupe: "unique", type: "source", methods: { diff --git a/components/hubspot/sources/new-engagement/new-engagement.mjs b/components/hubspot/sources/new-engagement/new-engagement.mjs index ebbc27993edb3..8b5c5cc02106e 100644 --- a/components/hubspot/sources/new-engagement/new-engagement.mjs +++ b/components/hubspot/sources/new-engagement/new-engagement.mjs @@ -7,9 +7,8 @@ export default { ...common, key: "hubspot-new-engagement", name: "New Engagement", - description: - "Emit new event for each new engagement created. This action returns a maximum of 5000 records at a time, make sure you set a correct time range so you don't miss any events", - version: "0.0.34", + description: "Emit new event for each new engagement created. This action returns a maximum of 5000 records at a time, make sure you set a correct time range so you don't miss any events", + version: "0.0.35", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-event/new-event.mjs b/components/hubspot/sources/new-event/new-event.mjs index d3eb366352cfa..86697c4a8c901 100644 --- a/components/hubspot/sources/new-event/new-event.mjs +++ b/components/hubspot/sources/new-event/new-event.mjs @@ -7,9 +7,8 @@ export default { ...common, key: "hubspot-new-event", name: "New Events", - description: - "Emit new event for each new Hubspot event. Note: Only available for Marketing Hub Enterprise, Sales Hub Enterprise, Service Hub Enterprise, or CMS Hub Enterprise accounts", - version: "0.0.33", + description: "Emit new event for each new Hubspot event. Note: Only available for Marketing Hub Enterprise, Sales Hub Enterprise, Service Hub Enterprise, or CMS Hub Enterprise accounts", + version: "0.0.34", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-form-submission/new-form-submission.mjs b/components/hubspot/sources/new-form-submission/new-form-submission.mjs index 7be00798effd4..50c028593ccd3 100644 --- a/components/hubspot/sources/new-form-submission/new-form-submission.mjs +++ b/components/hubspot/sources/new-form-submission/new-form-submission.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-new-form-submission", name: "New Form Submission", description: "Emit new event for each new submission of a form.", - version: "0.0.34", + version: "0.0.35", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-note/new-note.mjs b/components/hubspot/sources/new-note/new-note.mjs index 70beb99f2f757..6f1be782e40d3 100644 --- a/components/hubspot/sources/new-note/new-note.mjs +++ b/components/hubspot/sources/new-note/new-note.mjs @@ -8,7 +8,7 @@ export default { key: "hubspot-new-note", name: "New Note Created", description: "Emit new event for each new note created. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/engagements/notes#get-%2Fcrm%2Fv3%2Fobjects%2Fnotes)", - version: "1.0.10", + version: "1.0.11", type: "source", dedupe: "unique", methods: { diff --git a/components/hubspot/sources/new-or-updated-blog-article/new-or-updated-blog-article.mjs b/components/hubspot/sources/new-or-updated-blog-article/new-or-updated-blog-article.mjs index 136c748b5a45a..6ea5be3ea2915 100644 --- a/components/hubspot/sources/new-or-updated-blog-article/new-or-updated-blog-article.mjs +++ b/components/hubspot/sources/new-or-updated-blog-article/new-or-updated-blog-article.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-new-or-updated-blog-article", name: "New or Updated Blog Post", description: "Emit new event for each new or updated blog post in Hubspot.", - version: "0.0.16", + version: "0.0.17", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-company/new-or-updated-company.mjs b/components/hubspot/sources/new-or-updated-company/new-or-updated-company.mjs index a0925a0acb961..5a8e4ab788bd2 100644 --- a/components/hubspot/sources/new-or-updated-company/new-or-updated-company.mjs +++ b/components/hubspot/sources/new-or-updated-company/new-or-updated-company.mjs @@ -10,7 +10,7 @@ export default { key: "hubspot-new-or-updated-company", name: "New or Updated Company", description: "Emit new event for each new or updated company in Hubspot.", - version: "0.0.16", + version: "0.0.17", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-contact/new-or-updated-contact.mjs b/components/hubspot/sources/new-or-updated-contact/new-or-updated-contact.mjs index e2a89562cd52c..417e98705ca75 100644 --- a/components/hubspot/sources/new-or-updated-contact/new-or-updated-contact.mjs +++ b/components/hubspot/sources/new-or-updated-contact/new-or-updated-contact.mjs @@ -10,7 +10,7 @@ export default { key: "hubspot-new-or-updated-contact", name: "New or Updated Contact", description: "Emit new event for each new or updated contact in Hubspot.", - version: "0.0.17", + version: "0.0.18", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-crm-object/new-or-updated-crm-object.mjs b/components/hubspot/sources/new-or-updated-crm-object/new-or-updated-crm-object.mjs index c77cc3de920f8..92362415b042c 100644 --- a/components/hubspot/sources/new-or-updated-crm-object/new-or-updated-crm-object.mjs +++ b/components/hubspot/sources/new-or-updated-crm-object/new-or-updated-crm-object.mjs @@ -6,9 +6,8 @@ export default { ...common, key: "hubspot-new-or-updated-crm-object", name: "New or Updated CRM Object", - description: - "Emit new event each time a CRM Object of the specified object type is updated.", - version: "0.0.29", + description: "Emit new event each time a CRM Object of the specified object type is updated.", + version: "0.0.30", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-custom-object/new-or-updated-custom-object.mjs b/components/hubspot/sources/new-or-updated-custom-object/new-or-updated-custom-object.mjs index 9d951e5eb288c..9942cbcf35bb2 100644 --- a/components/hubspot/sources/new-or-updated-custom-object/new-or-updated-custom-object.mjs +++ b/components/hubspot/sources/new-or-updated-custom-object/new-or-updated-custom-object.mjs @@ -6,9 +6,8 @@ export default { ...common, key: "hubspot-new-or-updated-custom-object", name: "New or Updated Custom Object", - description: - "Emit new event each time a Custom Object of the specified schema is updated.", - version: "0.0.18", + description: "Emit new event each time a Custom Object of the specified schema is updated.", + version: "0.0.19", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-deal/new-or-updated-deal.mjs b/components/hubspot/sources/new-or-updated-deal/new-or-updated-deal.mjs index 1398f76528aa3..91191ce9d214f 100644 --- a/components/hubspot/sources/new-or-updated-deal/new-or-updated-deal.mjs +++ b/components/hubspot/sources/new-or-updated-deal/new-or-updated-deal.mjs @@ -10,7 +10,7 @@ export default { key: "hubspot-new-or-updated-deal", name: "New or Updated Deal", description: "Emit new event for each new or updated deal in Hubspot", - version: "0.0.16", + version: "0.0.17", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-line-item/new-or-updated-line-item.mjs b/components/hubspot/sources/new-or-updated-line-item/new-or-updated-line-item.mjs index 0b4b3a76f09ce..298c7d57af3c9 100644 --- a/components/hubspot/sources/new-or-updated-line-item/new-or-updated-line-item.mjs +++ b/components/hubspot/sources/new-or-updated-line-item/new-or-updated-line-item.mjs @@ -9,9 +9,8 @@ export default { ...common, key: "hubspot-new-or-updated-line-item", name: "New or Updated Line Item", - description: - "Emit new event for each new line item added or updated in Hubspot.", - version: "0.0.16", + description: "Emit new event for each new line item added or updated in Hubspot.", + version: "0.0.17", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-or-updated-product/new-or-updated-product.mjs b/components/hubspot/sources/new-or-updated-product/new-or-updated-product.mjs index 3ec83022a5a32..1f7924d79c4e9 100644 --- a/components/hubspot/sources/new-or-updated-product/new-or-updated-product.mjs +++ b/components/hubspot/sources/new-or-updated-product/new-or-updated-product.mjs @@ -10,7 +10,7 @@ export default { key: "hubspot-new-or-updated-product", name: "New or Updated Product", description: "Emit new event for each new or updated product in Hubspot.", - version: "0.0.16", + version: "0.0.17", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-social-media-message/new-social-media-message.mjs b/components/hubspot/sources/new-social-media-message/new-social-media-message.mjs index 33332bc052699..95b2b7298c96a 100644 --- a/components/hubspot/sources/new-social-media-message/new-social-media-message.mjs +++ b/components/hubspot/sources/new-social-media-message/new-social-media-message.mjs @@ -7,7 +7,7 @@ export default { name: "New Social Media Message", description: "Emit new event when a message is posted from HubSpot to the specified social media channel. Note: Only available for Marketing Hub Enterprise accounts", - version: "0.0.29", + version: "0.0.30", type: "source", dedupe: "unique", props: { diff --git a/components/hubspot/sources/new-task/new-task.mjs b/components/hubspot/sources/new-task/new-task.mjs index dabdf8cda7892..6b3f432059a75 100644 --- a/components/hubspot/sources/new-task/new-task.mjs +++ b/components/hubspot/sources/new-task/new-task.mjs @@ -9,7 +9,7 @@ export default { name: "New Task Created", description: "Emit new event for each new task created. [See the documentation](https://developers.hubspot.com/docs/reference/api/crm/engagements/tasks#get-%2Fcrm%2Fv3%2Fobjects%2Ftasks)", - version: "1.0.10", + version: "1.0.11", type: "source", dedupe: "unique", methods: { diff --git a/components/hubspot/sources/new-ticket-property-change/new-ticket-property-change.mjs b/components/hubspot/sources/new-ticket-property-change/new-ticket-property-change.mjs index 2288b15cb6f29..ee6e1c8598b9a 100644 --- a/components/hubspot/sources/new-ticket-property-change/new-ticket-property-change.mjs +++ b/components/hubspot/sources/new-ticket-property-change/new-ticket-property-change.mjs @@ -8,7 +8,7 @@ export default { name: "New Ticket Property Change", description: "Emit new event when a specified property is provided or updated on a ticket. [See the documentation](https://developers.hubspot.com/docs/api/crm/tickets)", - version: "0.0.23", + version: "0.0.24", dedupe: "unique", type: "source", props: { diff --git a/components/hubspot/sources/new-ticket/new-ticket.mjs b/components/hubspot/sources/new-ticket/new-ticket.mjs index 2f6b128650f88..3dfdcae0fc3a3 100644 --- a/components/hubspot/sources/new-ticket/new-ticket.mjs +++ b/components/hubspot/sources/new-ticket/new-ticket.mjs @@ -10,7 +10,7 @@ export default { key: "hubspot-new-ticket", name: "New Ticket", description: "Emit new event for each new ticket created.", - version: "0.0.29", + version: "0.0.30", dedupe: "unique", type: "source", props: { diff --git a/components/xano_metadata_api/xano_metadata_api.app.mjs b/components/xano_metadata_api/xano_metadata_api.app.mjs index 6c8548b8e0ddb..8c5bfa75f5e9f 100644 --- a/components/xano_metadata_api/xano_metadata_api.app.mjs +++ b/components/xano_metadata_api/xano_metadata_api.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +};