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 d7c3401b730c6..dd0886d550fce 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 @@ -4,7 +4,7 @@ export default { key: "hubspot-add-contact-to-list", 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.18", + version: "0.0.19", 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 deddecbd7835b..d7e56551187ea 100644 --- a/components/hubspot/actions/batch-create-companies/batch-create-companies.mjs +++ b/components/hubspot/actions/batch-create-companies/batch-create-companies.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-batch-create-companies", 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.1", + version: "0.0.2", 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 72241e603e45f..e00b217f1c1bf 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 @@ -4,7 +4,7 @@ export default { key: "hubspot-batch-create-or-update-contact", 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.15", + version: "0.0.16", 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 d5d8815f7930f..4c48deec7bd08 100644 --- a/components/hubspot/actions/batch-update-companies/batch-update-companies.mjs +++ b/components/hubspot/actions/batch-update-companies/batch-update-companies.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-batch-update-companies", 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.1", + version: "0.0.2", 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 a378f412e2197..8ed00efd8bc77 100644 --- a/components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs +++ b/components/hubspot/actions/batch-upsert-companies/batch-upsert-companies.mjs @@ -7,7 +7,7 @@ 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.1", + version: "0.0.2", 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 d657ee19df368..d0e8bb03a5276 100644 --- a/components/hubspot/actions/create-associations/create-associations.mjs +++ b/components/hubspot/actions/create-associations/create-associations.mjs @@ -5,7 +5,7 @@ export default { key: "hubspot-create-associations", 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.4", + version: "1.0.5", 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 bcdc207a462fc..4944a37406b40 100644 --- a/components/hubspot/actions/create-communication/create-communication.mjs +++ b/components/hubspot/actions/create-communication/create-communication.mjs @@ -8,7 +8,7 @@ export default { key: "hubspot-create-communication", 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.11", + version: "0.0.12", 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 1f14f84939ccb..a37bd9cd80e91 100644 --- a/components/hubspot/actions/create-company/create-company.mjs +++ b/components/hubspot/actions/create-company/create-company.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-create-company", 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.22", + version: "0.0.23", type: "action", methods: { ...common.methods, 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 404ce1021f180..f6ce819191a65 100644 --- a/components/hubspot/actions/create-custom-object/create-custom-object.mjs +++ b/components/hubspot/actions/create-custom-object/create-custom-object.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-create-custom-object", 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.4", + version: "1.0.5", 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 3b5432119ca27..00ededc13773d 100644 --- a/components/hubspot/actions/create-deal/create-deal.mjs +++ b/components/hubspot/actions/create-deal/create-deal.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-create-deal", 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.22", + version: "0.0.23", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-engagement/create-engagement.mjs b/components/hubspot/actions/create-engagement/create-engagement.mjs index 7b4c6725a1cce..f146dc1b8f6a4 100644 --- a/components/hubspot/actions/create-engagement/create-engagement.mjs +++ b/components/hubspot/actions/create-engagement/create-engagement.mjs @@ -9,7 +9,7 @@ export default { key: "hubspot-create-engagement", 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.21", + version: "0.0.22", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-lead/create-lead.mjs b/components/hubspot/actions/create-lead/create-lead.mjs index 803a647f60af6..152f9f7d75d35 100644 --- a/components/hubspot/actions/create-lead/create-lead.mjs +++ b/components/hubspot/actions/create-lead/create-lead.mjs @@ -9,7 +9,7 @@ export default { key: "hubspot-create-lead", 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.10", + version: "0.0.11", 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 82e814e13575d..8b555b96f3f62 100644 --- a/components/hubspot/actions/create-meeting/create-meeting.mjs +++ b/components/hubspot/actions/create-meeting/create-meeting.mjs @@ -10,7 +10,7 @@ export default { key: "hubspot-create-meeting", 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.3", + version: "0.0.4", 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 c985deb60e41a..26745c941f06e 100644 --- a/components/hubspot/actions/create-note/create-note.mjs +++ b/components/hubspot/actions/create-note/create-note.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-create-note", name: "Create Note", description: "Create a new note. [See the documentation](https://developers.hubspot.com/docs/api/crm/engagements)", - version: "0.0.2", + version: "0.0.3", 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 7c746fa99cdf5..57e6a9541b549 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 @@ -6,7 +6,7 @@ export default { key: "hubspot-create-or-update-contact", 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.20", + version: "0.0.21", type: "action", props: { ...common.props, diff --git a/components/hubspot/actions/create-task/create-task.mjs b/components/hubspot/actions/create-task/create-task.mjs index 306d7c7336a51..5ed45c0b23f5d 100644 --- a/components/hubspot/actions/create-task/create-task.mjs +++ b/components/hubspot/actions/create-task/create-task.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-create-task", name: "Create Task", description: "Create a new task. [See the documentation](https://developers.hubspot.com/docs/api/crm/engagements)", - version: "0.0.3", + version: "0.0.4", 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 0c051233a7f30..2fefc8412ed94 100644 --- a/components/hubspot/actions/create-ticket/create-ticket.mjs +++ b/components/hubspot/actions/create-ticket/create-ticket.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-create-ticket", name: "Create Ticket", description: "Create a ticket in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/tickets)", - version: "0.0.13", + version: "0.0.14", type: "action", props: { ...common.props, 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 4e6d7ca72ac88..7ea15ab29748c 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 @@ -4,7 +4,7 @@ export default { key: "hubspot-enroll-contact-into-workflow", 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.18", + version: "0.0.19", 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 9fcdfa18e1b64..1f76631fd49cc 100644 --- a/components/hubspot/actions/get-associated-meetings/get-associated-meetings.mjs +++ b/components/hubspot/actions/get-associated-meetings/get-associated-meetings.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-get-associated-meetings", 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.3", + version: "0.0.4", 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 429b0152c4176..b3c25d872987b 100644 --- a/components/hubspot/actions/get-company/get-company.mjs +++ b/components/hubspot/actions/get-company/get-company.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-get-company", 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.18", + version: "0.0.19", 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 3b3e763d57dc9..d8ad93d83d07b 100644 --- a/components/hubspot/actions/get-contact/get-contact.mjs +++ b/components/hubspot/actions/get-contact/get-contact.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-get-contact", 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.18", + version: "0.0.19", 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 de373ad78dc62..473ce1e6acff2 100644 --- a/components/hubspot/actions/get-deal/get-deal.mjs +++ b/components/hubspot/actions/get-deal/get-deal.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-get-deal", 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.18", + version: "0.0.19", 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 740629ccc28a8..598924ce6dc46 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 @@ -4,7 +4,7 @@ export default { key: "hubspot-get-file-public-url", 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.18", + version: "0.0.19", 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 b6f5e97d50ba8..0fbabb3ad0012 100644 --- a/components/hubspot/actions/get-meeting/get-meeting.mjs +++ b/components/hubspot/actions/get-meeting/get-meeting.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-get-meeting", 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.3", + version: "0.0.4", 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 new file mode 100644 index 0000000000000..ea559e95c059e --- /dev/null +++ b/components/hubspot/actions/get-subscription-preferences/get-subscription-preferences.mjs @@ -0,0 +1,30 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-get-subscription-preferences", + 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.1", + type: "action", + props: { + hubspot, + contactEmail: { + propDefinition: [ + hubspot, + "contactEmail", + ], + }, + }, + async run({ $ }) { + const response = await this.hubspot.getSubscriptionPreferences({ + $, + email: this.contactEmail, + params: { + channel: "EMAIL", + }, + }); + + $.export("$summary", `Retrieved subscription preferences for ${this.contactEmail}`); + return response; + }, +}; diff --git a/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs b/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs new file mode 100644 index 0000000000000..199e11ce3c5bf --- /dev/null +++ b/components/hubspot/actions/list-blog-posts/list-blog-posts.mjs @@ -0,0 +1,115 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-blog-posts", + 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.1", + type: "action", + props: { + hubspot, + createdAt: { + type: "string", + label: "Created At", + description: "Only return Blog Posts created at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + createdAfter: { + type: "string", + label: "Created After", + description: "Only return Blog Posts created after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + createdBefore: { + type: "string", + label: "Created Before", + description: "Only return Blog Posts created before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedAt: { + type: "string", + label: "Updated At", + description: "Only return Blog Posts updated at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedAfter: { + type: "string", + label: "Updated After", + description: "Only return Blog Posts updated after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedBefore: { + type: "string", + label: "Updated Before", + description: "Only return Blog Posts updated before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + archived: { + type: "boolean", + label: "Archived", + description: "Specifies whether to return deleted Blog Posts", + optional: true, + }, + sort: { + type: "string", + label: "Sort", + description: "Sort the results by the specified field", + options: [ + "name", + "createdAt", + "updatedAt", + "createdBy", + "updatedBy", + ], + optional: true, + }, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + let hasMore, count = 0; + + const params = { + createdAt: this.createdAt, + createdAfter: this.createdAfter, + createdBefore: this.createdBefore, + updatedAt: this.updatedAt, + updatedAfter: this.updatedAfter, + updatedBefore: this.updatedBefore, + archived: this.archived, + sort: this.sort, + }; + + do { + const { + paging, results, + } = await this.hubspot.getBlogPosts({ + $, + params, + }); + if (!results?.length) { + break; + } + for (const item of results) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = paging?.next.after; + params.after = paging?.next.after; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} page${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/list-campaigns/list-campaigns.mjs b/components/hubspot/actions/list-campaigns/list-campaigns.mjs new file mode 100644 index 0000000000000..9eeaf4a577dfe --- /dev/null +++ b/components/hubspot/actions/list-campaigns/list-campaigns.mjs @@ -0,0 +1,67 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-campaigns", + 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.1", + type: "action", + props: { + hubspot, + sort: { + type: "string", + label: "Sort", + description: "The field by which to sort the results. An optional '-' before the property name can denote descending order", + options: [ + "hs_name", + "-hs_name", + "createdAt", + "-createdAt", + "updatedAt", + "-updatedAt", + ], + optional: true, + }, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + let hasMore, count = 0; + + const params = { + sort: this.sort, + }; + + do { + const { + paging, results, + } = await this.hubspot.listCampaigns({ + $, + params, + }); + if (!results?.length) { + break; + } + for (const item of results) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = paging?.next.after; + params.after = paging?.next.after; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} campaign${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/list-forms/list-forms.mjs b/components/hubspot/actions/list-forms/list-forms.mjs new file mode 100644 index 0000000000000..fe07009437c33 --- /dev/null +++ b/components/hubspot/actions/list-forms/list-forms.mjs @@ -0,0 +1,59 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-forms", + 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.1", + type: "action", + props: { + hubspot, + archived: { + type: "boolean", + label: "Archived", + description: "Whether to return only results that have been archived", + optional: true, + }, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + let hasMore, count = 0; + + const params = { + archived: this.archived, + }; + + do { + const { + paging, results, + } = await this.hubspot.listMarketingForms({ + $, + params, + }); + if (!results?.length) { + break; + } + for (const item of results) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = paging?.next.after; + params.after = paging?.next.after; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} form${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs b/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs new file mode 100644 index 0000000000000..fe372cc6bd52a --- /dev/null +++ b/components/hubspot/actions/list-marketing-emails/list-marketing-emails.mjs @@ -0,0 +1,122 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-marketing-emails", + 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.1", + type: "action", + props: { + hubspot, + createdAt: { + type: "string", + label: "Created At", + description: "Only return Marketing Emails created at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + createdAfter: { + type: "string", + label: "Created After", + description: "Only return Marketing Emails created after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + createdBefore: { + type: "string", + label: "Created Before", + description: "Only return Marketing Emails created before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedAt: { + type: "string", + label: "Updated At", + description: "Only return Marketing Emails updated at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedAfter: { + type: "string", + label: "Updated After", + description: "Only return Marketing Emails updated after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedBefore: { + type: "string", + label: "Updated Before", + description: "Only return Marketing Emails updated before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + includeStats: { + type: "boolean", + label: "Include Stats", + description: "Include statistics with emails", + optional: true, + }, + archived: { + type: "boolean", + label: "Archived", + description: "Specifies whether to return deleted Marketing Emails", + optional: true, + }, + sort: { + type: "string", + label: "Sort", + description: "Sort the results by the specified field", + options: [ + "name", + "createdAt", + "updatedAt", + "createdBy", + "updatedBy", + ], + optional: true, + }, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + let hasMore, count = 0; + + const params = { + createdAt: this.createdAt, + createdAfter: this.createdAfter, + createdBefore: this.createdBefore, + updatedAt: this.updatedAt, + updatedAfter: this.updatedAfter, + updatedBefore: this.updatedBefore, + includeStats: this.includeStats, + archived: this.archived, + sort: this.sort, + }; + + do { + const { + paging, results, + } = await this.hubspot.listMarketingEmails({ + $, + params, + }); + if (!results?.length) { + break; + } + for (const item of results) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = paging?.next.after; + params.after = paging?.next.after; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} email${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs b/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs new file mode 100644 index 0000000000000..ba01767b3ff0e --- /dev/null +++ b/components/hubspot/actions/list-marketing-events/list-marketing-events.mjs @@ -0,0 +1,52 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-marketing-events", + 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.1", + type: "action", + props: { + hubspot, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + const params = { + limit: 100, + }; + let hasMore, count = 0; + + do { + const { + paging, results, + } = await this.hubspot.listMarketingEvents({ + $, + params, + }); + if (!results?.length) { + break; + } + for (const item of results) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = paging?.next.after; + params.after = paging?.next.after; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} event${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/list-pages/list-pages.mjs b/components/hubspot/actions/list-pages/list-pages.mjs new file mode 100644 index 0000000000000..d87f40f306f81 --- /dev/null +++ b/components/hubspot/actions/list-pages/list-pages.mjs @@ -0,0 +1,115 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-pages", + 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.1", + type: "action", + props: { + hubspot, + createdAt: { + type: "string", + label: "Created At", + description: "Only return Site Pages created at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + createdAfter: { + type: "string", + label: "Created After", + description: "Only return Site Pages created after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + createdBefore: { + type: "string", + label: "Created Before", + description: "Only return Site Pages created before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedAt: { + type: "string", + label: "Updated At", + description: "Only return Site Pages updated at exactly the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedAfter: { + type: "string", + label: "Updated After", + description: "Only return Site Pages updated after the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + updatedBefore: { + type: "string", + label: "Updated Before", + description: "Only return Site Pages updated before the specified time. Format: YYYY-MM-DDTHH:MM:SSZ", + optional: true, + }, + archived: { + type: "boolean", + label: "Archived", + description: "Specifies whether to return deleted Site Pages", + optional: true, + }, + sort: { + type: "string", + label: "Sort", + description: "Sort the results by the specified field", + options: [ + "name", + "createdAt", + "updatedAt", + "createdBy", + "updatedBy", + ], + optional: true, + }, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + let hasMore, count = 0; + + const params = { + createdAt: this.createdAt, + createdAfter: this.createdAfter, + createdBefore: this.createdBefore, + updatedAt: this.updatedAt, + updatedAfter: this.updatedAfter, + updatedBefore: this.updatedBefore, + archived: this.archived, + sort: this.sort, + }; + + do { + const { + paging, results, + } = await this.hubspot.listPages({ + $, + params, + }); + if (!results?.length) { + break; + } + for (const item of results) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = paging?.next.after; + params.after = paging?.next.after; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} page${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/list-templates/list-templates.mjs b/components/hubspot/actions/list-templates/list-templates.mjs new file mode 100644 index 0000000000000..9410cbef0cf50 --- /dev/null +++ b/components/hubspot/actions/list-templates/list-templates.mjs @@ -0,0 +1,53 @@ +import hubspot from "../../hubspot.app.mjs"; + +export default { + key: "hubspot-list-templates", + name: "List Templates", + description: "Retrieves a list of templates. [See the documentation](https://developers.hubspot.com/docs/reference/api/cms/templates)", + version: "0.0.1", + type: "action", + props: { + hubspot, + maxResults: { + type: "integer", + label: "Max Results", + description: "The maximum number of results to return", + default: 100, + optional: true, + }, + }, + async run({ $ }) { + const results = []; + const params = { + limit: 100, + offset: 0, + }; + let hasMore, count = 0; + + do { + const { + total_count: total, objects, + } = await this.hubspot.listTemplates({ + $, + params, + }); + if (!objects?.length) { + break; + } + for (const item of objects) { + results.push(item); + count++; + if (count >= this.maxResults) { + break; + } + } + hasMore = count < total; + params.offset += params.limit; + } while (hasMore && count < this.maxResults); + + $.export("$summary", `Found ${results.length} template${results.length === 1 + ? "" + : "s"}`); + return results; + }, +}; diff --git a/components/hubspot/actions/search-crm/search-crm.mjs b/components/hubspot/actions/search-crm/search-crm.mjs index 86a79ae6ab742..3af72b49b6be0 100644 --- a/components/hubspot/actions/search-crm/search-crm.mjs +++ b/components/hubspot/actions/search-crm/search-crm.mjs @@ -17,7 +17,7 @@ export default { key: "hubspot-search-crm", 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.5", + version: "1.0.6", 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 49640f68a42cb..f27f64b420e82 100644 --- a/components/hubspot/actions/update-company/update-company.mjs +++ b/components/hubspot/actions/update-company/update-company.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-update-company", name: "Update Company", description: "Update a company in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies)", - version: "0.0.18", + version: "0.0.19", 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 1687c8d7e795a..41f67830b2dd9 100644 --- a/components/hubspot/actions/update-contact/update-contact.mjs +++ b/components/hubspot/actions/update-contact/update-contact.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-update-contact", 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.19", + version: "0.0.20", 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 b4d651b38892b..39e0abf52b837 100644 --- a/components/hubspot/actions/update-custom-object/update-custom-object.mjs +++ b/components/hubspot/actions/update-custom-object/update-custom-object.mjs @@ -6,7 +6,7 @@ export default { key: "hubspot-update-custom-object", 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.4", + version: "1.0.5", 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 0fe8caf1f62bc..2801b9a63c60b 100644 --- a/components/hubspot/actions/update-deal/update-deal.mjs +++ b/components/hubspot/actions/update-deal/update-deal.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-update-deal", 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.9", + version: "0.0.10", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/actions/update-lead/update-lead.mjs b/components/hubspot/actions/update-lead/update-lead.mjs index 870f3d73ad0cb..5f8449834e930 100644 --- a/components/hubspot/actions/update-lead/update-lead.mjs +++ b/components/hubspot/actions/update-lead/update-lead.mjs @@ -7,7 +7,7 @@ export default { key: "hubspot-update-lead", 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.10", + version: "0.0.11", type: "action", methods: { ...common.methods, diff --git a/components/hubspot/common/constants.mjs b/components/hubspot/common/constants.mjs index 3301483f693cc..f06c89f81b369 100644 --- a/components/hubspot/common/constants.mjs +++ b/components/hubspot/common/constants.mjs @@ -23,6 +23,8 @@ const API_PATH = { DEAL: "/deals/v1", BUSINESS_UNITS: "/business-units/v3", MARKETINGV3: "/marketing/v3", + CONTENT: "/content/api/v2", + COMMUNICATION_PREFERENCES: "/communication-preferences/v4", }; /** Association categories for association types, as defined by the [Hubspot API diff --git a/components/hubspot/hubspot.app.mjs b/components/hubspot/hubspot.app.mjs index 597305fff0115..8d43daf6da70b 100644 --- a/components/hubspot/hubspot.app.mjs +++ b/components/hubspot/hubspot.app.mjs @@ -1142,5 +1142,56 @@ export default { ...opts, }); }, + listPages(opts = {}) { + return this.makeRequest({ + api: API_PATH.CMS, + endpoint: "/pages/site-pages", + ...opts, + }); + }, + listTemplates(opts = {}) { + return this.makeRequest({ + api: API_PATH.CONTENT, + endpoint: "/templates", + ...opts, + }); + }, + listCampaigns(opts = {}) { + return this.makeRequest({ + api: API_PATH.MARKETINGV3, + endpoint: "/campaigns", + ...opts, + }); + }, + listMarketingEmails(opts = {}) { + return this.makeRequest({ + api: API_PATH.MARKETINGV3, + endpoint: "/emails", + ...opts, + }); + }, + listMarketingEvents(opts = {}) { + return this.makeRequest({ + api: API_PATH.MARKETINGV3, + endpoint: "/marketing-events/", + ...opts, + }); + }, + listMarketingForms(opts = {}) { + return this.makeRequest({ + api: API_PATH.MARKETINGV3, + endpoint: "/forms", + ...opts, + }); + }, + getSubscriptionPreferences({ + email, ...opts + }) { + return this.makeRequest({ + api: API_PATH.COMMUNICATION_PREFERENCES, + endpoint: `/statuses/${email}`, + ...opts, + }); + }, }, }; diff --git a/components/hubspot/package.json b/components/hubspot/package.json index 9f4c6fc589320..0f2f0c1494063 100644 --- a/components/hubspot/package.json +++ b/components/hubspot/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/hubspot", - "version": "1.4.0", + "version": "1.5.0", "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 7a1985e6bc8fb..758e42e350691 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.24", + version: "0.0.25", 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 4765b8634fe7b..7277f11e2a71b 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 @@ -7,7 +7,7 @@ export default { 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.17", + version: "0.0.18", dedupe: "unique", type: "source", 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 080f874394f6b..cfe18dc6c92ae 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 @@ -7,7 +7,7 @@ export default { 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.19", + version: "0.0.20", 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 a349f3ffb1e10..25eac8824f589 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 @@ -6,7 +6,7 @@ export default { key: "hubspot-new-custom-object-property-change", 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.9", + version: "0.0.10", 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 a4c0613bad167..1f3e0f26ed9ab 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 @@ -9,7 +9,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.30", + version: "0.0.31", 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 ba3593d0f7604..ffbfcc90c8edf 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 @@ -7,7 +7,7 @@ export default { 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.18", + version: "0.0.19", 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 0a9a1ab135377..92c88f6daaea3 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.27", + version: "0.0.28", 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 1cc6d1367e3a3..22f5bdeec3e7c 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 @@ -6,7 +6,7 @@ export default { 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.24", + version: "0.0.25", 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 f39ba216154aa..4675033e40895 100644 --- a/components/hubspot/sources/new-engagement/new-engagement.mjs +++ b/components/hubspot/sources/new-engagement/new-engagement.mjs @@ -8,7 +8,7 @@ export default { 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.29", + version: "0.0.30", 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 7b334b6135f90..9f96e9ea4df3d 100644 --- a/components/hubspot/sources/new-event/new-event.mjs +++ b/components/hubspot/sources/new-event/new-event.mjs @@ -8,7 +8,7 @@ export default { 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.28", + version: "0.0.29", 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 4c52f09d8e1ae..999cfef83526e 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.29", + version: "0.0.30", 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 2539a8a1d4f06..34f1ed4cb7e65 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.5", + version: "1.0.6", 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 ba443bc1f4b20..be724cfb0463c 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.11", + version: "0.0.12", 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 05ea3d7057644..f2c9aa433c81e 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 @@ -9,7 +9,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.11", + version: "0.0.12", 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 73d3f558cd046..52138efc24506 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 @@ -9,7 +9,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.11", + version: "0.0.12", 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 0a3312de27a14..857bcb93e39ea 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 @@ -7,7 +7,7 @@ export default { 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.24", + version: "0.0.25", 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 16ec178c82f92..89c8a8b92b6c5 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 @@ -7,7 +7,7 @@ export default { 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.13", + version: "0.0.14", 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 49ef1eaf9f6a9..aab0d47134052 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 @@ -9,7 +9,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.11", + version: "0.0.12", 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 b1326373aa7f2..ffd8a00e42d76 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,7 +9,7 @@ export default { 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.11", + version: "0.0.12", 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 f11d40c9bcb79..03a08a5103dc4 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 @@ -9,7 +9,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.11", + version: "0.0.12", 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 f13f97dd4d979..d1d76ff9be1ed 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 @@ -6,7 +6,7 @@ export default { key: "hubspot-new-social-media-message", 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.24", + version: "0.0.25", 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 fd8d8ca0416fb..cf9fcfd71212e 100644 --- a/components/hubspot/sources/new-task/new-task.mjs +++ b/components/hubspot/sources/new-task/new-task.mjs @@ -8,7 +8,7 @@ export default { key: "hubspot-new-task", 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.5", + version: "1.0.6", 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 9ef2177f2f57f..15e370e1cebc2 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 @@ -7,7 +7,7 @@ export default { key: "hubspot-new-ticket-property-change", 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.18", + version: "0.0.19", 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 1fef11fa38167..8feab49c342ce 100644 --- a/components/hubspot/sources/new-ticket/new-ticket.mjs +++ b/components/hubspot/sources/new-ticket/new-ticket.mjs @@ -9,7 +9,7 @@ export default { key: "hubspot-new-ticket", name: "New Ticket", description: "Emit new event for each new ticket created.", - version: "0.0.24", + version: "0.0.25", dedupe: "unique", type: "source", props: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a767b14eeb93a..93c73fa75a994 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1123,8 +1123,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/attentive: - specifiers: {} + components/attentive: {} components/attio: dependencies: @@ -2968,8 +2967,7 @@ importers: components/coinbase_commerce: {} - components/coingecko: - specifiers: {} + components/coingecko: {} components/coinlore: dependencies: @@ -8401,8 +8399,7 @@ importers: specifier: ^1.2.1 version: 1.7.7 - components/matrix: - specifiers: {} + components/matrix: {} components/mattermost: dependencies: @@ -12708,8 +12705,7 @@ importers: specifier: ^1.6.2 version: 1.6.6 - components/sherpa: - specifiers: {} + components/sherpa: {} components/shift4: dependencies: