diff --git a/components/close/actions/create-lead/create-lead.mjs b/components/close/actions/create-lead/create-lead.mjs index 7d15d77320ee6..82ace706b0ef7 100644 --- a/components/close/actions/create-lead/create-lead.mjs +++ b/components/close/actions/create-lead/create-lead.mjs @@ -4,9 +4,9 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "close-create-lead", - version: "0.1.0", + version: "0.1.1", name: "Create Lead", - description: "Creates a lead, [See the docs](https://developer.close.com/resources/leads/#create-a-new-lead)", + description: "Creates a lead. [See the documentation](https://developer.close.com/resources/leads/#create-a-new-lead)", props: { close, name: { diff --git a/components/close/actions/custom-action/custom-action.mjs b/components/close/actions/custom-action/custom-action.mjs index 43fa0c55ef366..5826f9653fa7a 100644 --- a/components/close/actions/custom-action/custom-action.mjs +++ b/components/close/actions/custom-action/custom-action.mjs @@ -4,15 +4,15 @@ import utils from "../../common/utils.mjs"; export default { key: "close-custom-action", name: "Custom Action", - description: "Makes an aribitrary call to Close API, [See](https://developer.close.com/) for all options.", - version: "0.1.0", + description: "Makes an arbitrary call to the Close API. [See the documentation](https://developer.close.com/) for all options.", + version: "0.1.1", type: "action", props: { close, requestMethod: { type: "string", label: "Request Method", - description: "Http method to use in the request.", + description: "Http method to use in the request", options: [ "GET", "POST", @@ -24,24 +24,24 @@ export default { relativeUrl: { type: "string", label: "Relative url", - description: "A path relative to Close API, to send the request against, e.g. `/lead`", + description: "A path relative to Close API to send the request against. e.g. `/lead`", }, queryString: { type: "string", label: "Query string", - description: "Query string of the request.", + description: "Query string of the request", optional: true, }, headers: { type: "object", label: "Headers", - description: "Headers to be sent in the request.", + description: "Headers to be sent in the request", optional: true, }, requestBody: { type: "object", label: "Request body", - description: "Body of the request.", + description: "Body of the request", optional: true, }, }, diff --git a/components/close/actions/search-leads/search-leads.mjs b/components/close/actions/search-leads/search-leads.mjs index 6a8e60b1dae53..fcf4e5f8a9639 100644 --- a/components/close/actions/search-leads/search-leads.mjs +++ b/components/close/actions/search-leads/search-leads.mjs @@ -4,14 +4,14 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "close-search-leads", - version: "0.1.0", + version: "0.1.1", name: "Search Leads", - description: "Searching leads with a given field and word, [See the docs](https://developer.close.com/resources/advanced-filtering/)", + description: "Search leads with a given field and word. [See the documentation](https://developer.close.com/resources/advanced-filtering/)", props: { close, field: { label: "Field", - description: "Field name which will be searched in, e.g. 'name'", + description: "Field name which will be searched. e.g. 'name'", type: "string", }, text: { @@ -57,7 +57,9 @@ export default { }, }, }); - $.export("$summary", `${response.data.data.length} Leads has been found.`); + $.export("$summary", `${response.data.data.length} Lead${response.data.data.length === 1 + ? " has" + : "s have"} been found.`); return response.data; }, }; diff --git a/components/close/actions/update-lead/update-lead.mjs b/components/close/actions/update-lead/update-lead.mjs index 57e80e8f70c3a..e69469fc4d629 100644 --- a/components/close/actions/update-lead/update-lead.mjs +++ b/components/close/actions/update-lead/update-lead.mjs @@ -4,9 +4,9 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "close-update-lead", - version: "0.1.0", + version: "0.1.1", name: "Update Lead", - description: "Updates a lead, [See the docs](https://developer.close.com/resources/leads/#update-an-existing-lead)", + description: "Updates a lead. [See the documentation](https://developer.close.com/resources/leads/#update-an-existing-lead)", props: { close, lead: { diff --git a/components/close/close.app.mjs b/components/close/close.app.mjs index 088475cbe86c0..d6551e0d3c41e 100644 --- a/components/close/close.app.mjs +++ b/components/close/close.app.mjs @@ -19,7 +19,7 @@ export default { }, contacts: { label: "Contacts", - description: "Please provide an object structure for each row like e.g.:, \n\ + description: "Please provide an object structure for each row. e.g.:, \n\ { \n\ \"name\": \"Gob\",\n\ \"title\": \"Sr. Vice President\",\n\ @@ -31,7 +31,7 @@ export default { }, addresses: { label: "Addresses", - description: "Please provide an object structure for each row like e.g.:,\n\ + description: "Please provide an object structure for each row. e.g.:,\n\ {\n\ \"label\": \"business\",\n\ \"address_1\": \"747 Howard St\",\n\ @@ -46,7 +46,7 @@ export default { }, moreFields: { label: "More Fields", - description: "Additional properties not listed as a prop", + description: "Additional properties not listed as props", type: "object", optional: true, }, @@ -104,7 +104,7 @@ export default { async createHook(args = {}) { return this._makeRequest({ method: "POST", - path: "/webhook", + path: "/webhook/", ...args, }); }, @@ -114,28 +114,28 @@ export default { } = {}) { return this._makeRequest({ method: "DELETE", - path: `/webhook/${hookId}`, + path: `/webhook/${hookId}/`, ...args, }); }, async listLeads(args = {}) { return this._makeRequest({ method: "GET", - path: "/lead", + path: "/lead/", ...args, }); }, async listLeadStatus(args = {}) { return this._makeRequest({ method: "GET", - path: "/status/lead", + path: "/status/lead/", ...args, }); }, async createLead(args = {}) { return this._makeRequest({ method: "POST", - path: "/lead", + path: "/lead/", ...args, }); }, @@ -145,7 +145,7 @@ export default { } = {}) { return this._makeRequest({ method: "PUT", - path: `/lead/${leadId}`, + path: `/lead/${leadId}/`, ...args, }); }, diff --git a/components/close/package.json b/components/close/package.json index 16cd2136dc940..71715474a21f5 100644 --- a/components/close/package.json +++ b/components/close/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/close", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Close Components", "main": "close.app.mjs", "keywords": [ @@ -10,11 +10,11 @@ ], "homepage": "https://pipedream.com/apps/close", "author": "Pipedream (https://pipedream.com/)", - "dependencies": { - "@pipedream/platform": "^1.4.0" - }, "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^3.0.3" } } diff --git a/components/close/sources/custom-event/custom-event.mjs b/components/close/sources/custom-event/custom-event.mjs index 4d8adea08b8bf..453a3e57aebba 100644 --- a/components/close/sources/custom-event/custom-event.mjs +++ b/components/close/sources/custom-event/custom-event.mjs @@ -4,8 +4,8 @@ export default { ...common, key: "close-custom-event", name: "New Custom Event", - description: "Emit new event when configured type of events triggered, [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)", - version: "0.1.0", + description: "Emit new event when the configured types of events are triggered. [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)", + version: "0.1.1", type: "source", dedupe: "unique", props: { diff --git a/components/close/sources/lead-status-changed/lead-status-changed.mjs b/components/close/sources/lead-status-changed/lead-status-changed.mjs index 1d2b71a4fde0c..4c53cbeec2add 100644 --- a/components/close/sources/lead-status-changed/lead-status-changed.mjs +++ b/components/close/sources/lead-status-changed/lead-status-changed.mjs @@ -4,8 +4,8 @@ export default { ...common, key: "close-lead-status-changed", name: "New Lead Status Change", - description: "Emit new event when a Lead status is changed", - version: "0.1.0", + description: "Emit new event when a Lead's status is changed", + version: "0.1.1", type: "source", dedupe: "unique", methods: { diff --git a/components/close/sources/new-lead/new-lead.mjs b/components/close/sources/new-lead/new-lead.mjs index 111592b6653c8..a1e7036b29fc5 100644 --- a/components/close/sources/new-lead/new-lead.mjs +++ b/components/close/sources/new-lead/new-lead.mjs @@ -5,7 +5,7 @@ export default { key: "close-new-lead", name: "New Lead", description: "Emit new event when a new Lead is created", - version: "0.1.0", + version: "0.1.1", type: "source", dedupe: "unique", methods: { diff --git a/components/close/sources/new-opportunity/new-opportunity.mjs b/components/close/sources/new-opportunity/new-opportunity.mjs index fdcb31e15fe25..673d67b6d231a 100644 --- a/components/close/sources/new-opportunity/new-opportunity.mjs +++ b/components/close/sources/new-opportunity/new-opportunity.mjs @@ -5,7 +5,7 @@ export default { key: "close-new-opportunity", name: "New Opportunity", description: "Emit new event when a new Opportunity is created", - version: "0.1.0", + version: "0.1.1", type: "source", dedupe: "unique", methods: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 990f7c17c9d1d..50ffafa94af54 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2578,8 +2578,8 @@ importers: components/close: dependencies: '@pipedream/platform': - specifier: ^1.4.0 - version: 1.6.6 + specifier: ^3.0.3 + version: 3.0.3 components/cloud_convert: dependencies: @@ -13021,8 +13021,7 @@ importers: specifier: ^1.1.0 version: 1.6.6 - components/syncmate_by_assitro: - specifiers: {} + components/syncmate_by_assitro: {} components/syncro: {}