Skip to content

Commit 83c45d7

Browse files
committed
[ACTION] Hubspot Meetings
1 parent 0dc0ec4 commit 83c45d7

File tree

54 files changed

+622
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+622
-55
lines changed

components/hubspot/actions/add-contact-to-list/add-contact-to-list.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "hubspot-add-contact-to-list",
55
name: "Add Contact to List",
66
description: "Adds a contact to a specific static list. [See the documentation](https://legacydocs.hubspot.com/docs/methods/lists/add_contact_to_list)",
7-
version: "0.0.15",
7+
version: "0.0.16",
88
type: "action",
99
props: {
1010
hubspot,

components/hubspot/actions/batch-create-or-update-contact/batch-create-or-update-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "hubspot-batch-create-or-update-contact",
55
name: "Batch Create or Update Contact",
66
description: "Create or update a batch of contacts by its ID or email. [See the documentation](https://developers.hubspot.com/docs/api/crm/contacts)",
7-
version: "0.0.12",
7+
version: "0.0.13",
88
type: "action",
99
props: {
1010
hubspot,

components/hubspot/actions/common/common-get-object.mjs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {
66
DEFAULT_TICKET_PROPERTIES,
77
DEFAULT_PRODUCT_PROPERTIES,
88
DEFAULT_LINE_ITEM_PROPERTIES,
9+
DEFAULT_MEETING_PROPERTIES,
10+
OBJECT_TYPE,
911
} from "../../common/constants.mjs";
1012

1113
export default {
@@ -62,18 +64,20 @@ export default {
6264
throw new Error("getObjectType is not implemented");
6365
},
6466
getDefaultProperties(objectType) {
65-
if (objectType === "contact") {
67+
if (objectType === OBJECT_TYPE.CONTACT) {
6668
return DEFAULT_CONTACT_PROPERTIES;
67-
} else if (objectType === "company") {
69+
} else if (objectType === OBJECT_TYPE.COMPANY) {
6870
return DEFAULT_COMPANY_PROPERTIES;
69-
} else if (objectType === "deal") {
71+
} else if (objectType === OBJECT_TYPE.DEAL) {
7072
return DEFAULT_DEAL_PROPERTIES;
71-
} else if (objectType === "ticket") {
73+
} else if (objectType === OBJECT_TYPE.TICKET) {
7274
return DEFAULT_TICKET_PROPERTIES;
73-
} else if (objectType === "product") {
75+
} else if (objectType === OBJECT_TYPE.PRODUCT) {
7476
return DEFAULT_PRODUCT_PROPERTIES;
75-
} else if (objectType === "line_item") {
77+
} else if (objectType === OBJECT_TYPE.LINE_ITEM) {
7678
return DEFAULT_LINE_ITEM_PROPERTIES;
79+
} else if (objectType === OBJECT_TYPE.MEETING) {
80+
return DEFAULT_MEETING_PROPERTIES;
7781
} else {
7882
return [];
7983
}

components/hubspot/actions/create-associations/create-associations.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "hubspot-create-associations",
66
name: "Create Associations",
77
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)",
8-
version: "1.0.1",
8+
version: "1.0.2",
99
type: "action",
1010
props: {
1111
hubspot,

components/hubspot/actions/create-communication/create-communication.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default {
88
key: "hubspot-create-communication",
99
name: "Create Communication",
1010
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)",
11-
version: "0.0.8",
11+
version: "0.0.9",
1212
type: "action",
1313
props: {
1414
...appProp.props,

components/hubspot/actions/create-company/create-company.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "hubspot-create-company",
77
name: "Create Company",
88
description: "Create a company in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/companies#endpoint?spec=POST-/crm/v3/objects/companies)",
9-
version: "0.0.19",
9+
version: "0.0.20",
1010
type: "action",
1111
methods: {
1212
...common.methods,

components/hubspot/actions/create-custom-object/create-custom-object.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "hubspot-create-custom-object",
77
name: "Create Custom Object",
88
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)",
9-
version: "1.0.1",
9+
version: "1.0.2",
1010
type: "action",
1111
props: {
1212
...appProp.props,

components/hubspot/actions/create-deal/create-deal.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "hubspot-create-deal",
77
name: "Create Deal",
88
description: "Create a deal in Hubspot. [See the documentation](https://developers.hubspot.com/docs/api/crm/deals#endpoint?spec=POST-/crm/v3/objects/deals)",
9-
version: "0.0.19",
9+
version: "0.0.20",
1010
type: "action",
1111
props: {
1212
...common.props,

components/hubspot/actions/create-engagement/create-engagement.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
key: "hubspot-create-engagement",
1010
name: "Create Engagement",
1111
description: "Create a new engagement for a contact. [See the documentation](https://developers.hubspot.com/docs/api/crm/engagements)",
12-
version: "0.0.18",
12+
version: "0.0.19",
1313
type: "action",
1414
props: {
1515
...common.props,

components/hubspot/actions/create-lead/create-lead.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default {
99
key: "hubspot-create-lead",
1010
name: "Create Lead",
1111
description: "Create a lead in Hubspot. [See the documentation](https://developers.hubspot.com/beta-docs/guides/api/crm/objects/leads#create-leads)",
12-
version: "0.0.7",
12+
version: "0.0.8",
1313
type: "action",
1414
props: {
1515
...appProp.props,

0 commit comments

Comments
 (0)