@pipedream/salesforce_rest_api 2.0.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions/add-contact-to-campaign/add-contact-to-campaign.mjs +2 -2
- package/actions/add-lead-to-campaign/add-lead-to-campaign.mjs +2 -2
- package/actions/convert-soap-xml-to-json/convert-soap-xml-to-json.mjs +2 -2
- package/actions/create-account/create-account.mjs +2 -2
- package/actions/create-accounts-batch/create-accounts-batch.mjs +2 -2
- package/actions/create-attachment/create-attachment.mjs +2 -2
- package/actions/create-campaign/create-campaign.mjs +2 -2
- package/actions/create-case/create-case.mjs +2 -2
- package/actions/create-casecomment/create-casecomment.mjs +2 -2
- package/actions/create-contact/create-contact.mjs +2 -2
- package/actions/create-content-note/create-content-note.mjs +2 -2
- package/actions/create-crm-record/create-crm-record.mjs +2 -2
- package/actions/create-event/create-event.mjs +2 -2
- package/actions/create-lead/create-lead.mjs +2 -2
- package/actions/create-note/create-note.mjs +2 -2
- package/actions/create-opportunities-batch/create-opportunities-batch.mjs +2 -2
- package/actions/create-opportunity/create-opportunity.mjs +2 -2
- package/actions/create-record/create-record.mjs +2 -2
- package/actions/create-task/create-task.mjs +2 -2
- package/actions/create-user/create-user.mjs +2 -2
- package/actions/delete-crm-record/delete-crm-record.mjs +2 -2
- package/actions/delete-note/delete-note.mjs +2 -2
- package/actions/delete-opportunity/delete-opportunity.mjs +2 -2
- package/actions/delete-record/delete-record.mjs +2 -2
- package/actions/describe-object/describe-object.mjs +2 -2
- package/actions/find-records/find-records.mjs +2 -2
- package/actions/get-case/get-case.mjs +2 -2
- package/actions/get-current-user/get-current-user.mjs +2 -2
- package/actions/get-knowledge-articles/get-knowledge-articles.mjs +2 -2
- package/actions/get-knowledge-data-category-groups/get-knowledge-data-category-groups.mjs +2 -2
- package/actions/get-record-by-id/get-record-by-id.mjs +2 -2
- package/actions/get-related-records/get-related-records.mjs +2 -2
- package/actions/get-user/get-user.mjs +2 -2
- package/actions/get-user-info/get-user-info.mjs +2 -2
- package/actions/insert-blob-data/insert-blob-data.mjs +2 -2
- package/actions/list-case-comments/list-case-comments.mjs +2 -2
- package/actions/list-case-feed-items/list-case-feed-items.mjs +2 -2
- package/actions/list-cases/list-cases.mjs +2 -2
- package/actions/list-email-messages/list-email-messages.mjs +2 -2
- package/actions/list-email-templates/list-email-templates.mjs +2 -2
- package/actions/list-knowledge-articles/list-knowledge-articles.mjs +2 -2
- package/actions/list-object-fields/list-object-fields.mjs +2 -2
- package/actions/list-objects/list-objects.mjs +2 -2
- package/actions/post-feed-to-chatter/post-feed-to-chatter.mjs +2 -2
- package/actions/search-string/search-string.mjs +2 -2
- package/actions/send-email/send-email.mjs +2 -2
- package/actions/soql-query/soql-query.mjs +2 -2
- package/actions/soql-search/soql-search.mjs +2 -2
- package/actions/sosl-search/sosl-search.mjs +2 -2
- package/actions/text-search/text-search.mjs +2 -2
- package/actions/update-account/update-account.mjs +2 -2
- package/actions/update-accounts-batch/update-accounts-batch.mjs +2 -2
- package/actions/update-contact/update-contact.mjs +2 -2
- package/actions/update-content-note/update-content-note.mjs +2 -2
- package/actions/update-crm-record/update-crm-record.mjs +2 -2
- package/actions/update-email-template/update-email-template.mjs +2 -2
- package/actions/update-note/update-note.mjs +2 -2
- package/actions/update-opportunities-batch/update-opportunities-batch.mjs +2 -2
- package/actions/update-opportunity/update-opportunity.mjs +2 -2
- package/actions/update-record/update-record.mjs +2 -2
- package/actions/upsert-record/upsert-record.mjs +2 -2
- package/common/constants.mjs +5 -0
- package/package.json +1 -1
- package/sources/case-updated-instant/case-updated-instant.mjs +1 -1
- package/sources/email-template-updated-instant/email-template-updated-instant.mjs +1 -1
- package/sources/knowledge-article-updated-instant/knowledge-article-updated-instant.mjs +1 -1
- package/sources/new-case-instant/new-case-instant.mjs +1 -1
- package/sources/new-email-template-instant/new-email-template-instant.mjs +1 -1
- package/sources/new-feed-comment/new-feed-comment.mjs +1 -1
- package/sources/new-feed-item/new-feed-item.mjs +1 -1
- package/sources/new-knowledge-article-instant/new-knowledge-article-instant.mjs +1 -1
- package/sources/new-outbound-message/new-outbound-message.mjs +97 -18
- package/sources/new-record-instant/new-record-instant.mjs +1 -1
- package/sources/record-deleted-instant/record-deleted-instant.mjs +1 -1
- package/sources/record-updated-instant/record-updated-instant.mjs +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
+ " Record owner fields such as `OwnerId` hold user IDs - pass one here to resolve it to a name and email."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_get_field_values.htm)",
|
|
12
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.8",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: true,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
salesforce,
|
|
21
21
|
userId: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -12,8 +11,9 @@ export default {
|
|
|
12
11
|
+ " `{instanceUrl}/lightning/r/{objectType}/{recordId}/view`."
|
|
13
12
|
+ " "
|
|
14
13
|
+ "[See the documentation](https://help.salesforce.com/s/articleView?id=sf.remoteaccess_using_userinfo_endpoint.htm&type=5)",
|
|
15
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.4",
|
|
16
15
|
type: "action",
|
|
16
|
+
ai: "optimized",
|
|
17
17
|
annotations: {
|
|
18
18
|
readOnlyHint: true,
|
|
19
19
|
destructiveHint: false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
+ " The file content must be supplied as a file path or URL, not as raw bytes in the request."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.228.0.api_rest.meta/api_rest/dome_sobject_insert_update_blob.htm)",
|
|
12
|
-
version: "0.2.
|
|
11
|
+
version: "0.2.15",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: false,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
salesforce,
|
|
21
21
|
entiyName: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
import {
|
|
@@ -13,13 +12,14 @@ export default {
|
|
|
13
12
|
+ " Find the case ID with **List Cases** first."
|
|
14
13
|
+ " For example, case ID `5005g00001ABCDeAAI` with `Limit` `20` returns that case's twenty most recent comments."
|
|
15
14
|
+ " [See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_casecomment.htm)",
|
|
16
|
-
version: "0.1.
|
|
15
|
+
version: "0.1.3",
|
|
17
16
|
annotations: {
|
|
18
17
|
destructiveHint: false,
|
|
19
18
|
openWorldHint: true,
|
|
20
19
|
readOnlyHint: true,
|
|
21
20
|
},
|
|
22
21
|
type: "action",
|
|
22
|
+
ai: "optimized",
|
|
23
23
|
props: {
|
|
24
24
|
salesforce,
|
|
25
25
|
caseId: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
import {
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " Use this to read a case's activity trail - text posts, status changes, logged calls, email events and case comment events - in one call."
|
|
13
12
|
+ " The case feed only exists when feed tracking is enabled for Cases in the Salesforce org, so an org without it returns no records."
|
|
14
13
|
+ " [See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm)",
|
|
15
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.4",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: false,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: true,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
props: {
|
|
23
23
|
salesforce,
|
|
24
24
|
caseId: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
import {
|
|
@@ -14,13 +13,14 @@ export default {
|
|
|
14
13
|
+ " For example, `Status` `New` with `Limit` `10` returns the ten newest open cases."
|
|
15
14
|
+ " Status values are org-configurable."
|
|
16
15
|
+ " [See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm)",
|
|
17
|
-
version: "0.0.
|
|
16
|
+
version: "0.0.4",
|
|
18
17
|
annotations: {
|
|
19
18
|
destructiveHint: false,
|
|
20
19
|
openWorldHint: true,
|
|
21
20
|
readOnlyHint: true,
|
|
22
21
|
},
|
|
23
22
|
type: "action",
|
|
23
|
+
ai: "optimized",
|
|
24
24
|
props: {
|
|
25
25
|
salesforce,
|
|
26
26
|
caseNumber: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
import {
|
|
@@ -13,13 +12,14 @@ export default {
|
|
|
13
12
|
+ " Find the case ID with **List Cases** first."
|
|
14
13
|
+ " Omit `Case ID` to list the most recent emails across the org, which can be large - set `Limit`."
|
|
15
14
|
+ " [See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_emailmessage.htm)",
|
|
16
|
-
version: "0.1.
|
|
15
|
+
version: "0.1.3",
|
|
17
16
|
annotations: {
|
|
18
17
|
destructiveHint: false,
|
|
19
18
|
openWorldHint: true,
|
|
20
19
|
readOnlyHint: true,
|
|
21
20
|
},
|
|
22
21
|
type: "action",
|
|
22
|
+
ai: "optimized",
|
|
23
23
|
props: {
|
|
24
24
|
salesforce,
|
|
25
25
|
caseId: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
import {
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " Use this to find a template and its ID before sending with **Send Email**, or before editing with **Update Email Template**."
|
|
13
12
|
+ " For example, run with `Limit` `50`, then pass the `Id` of the template you want to **Send Email**."
|
|
14
13
|
+ " [See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_emailtemplate.htm)",
|
|
15
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.3",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: false,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: true,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
props: {
|
|
23
23
|
salesforce,
|
|
24
24
|
fields: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import constants from "../../common/constants.mjs";
|
|
4
3
|
import {
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " Returns the article container records (`KnowledgeArticle`), not the published article bodies - use **Get Knowledge Articles** to read article content, and **List Knowledge Data Category Groups** to discover the categories articles are filed under."
|
|
13
12
|
+ " This can return a lot of records on a mature org, so set `Limit`."
|
|
14
13
|
+ " [See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticle.htm)",
|
|
15
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.3",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: false,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: true,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
props: {
|
|
23
23
|
salesforce,
|
|
24
24
|
fields: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,8 +8,9 @@ export default {
|
|
|
9
8
|
+ " Use **Describe Object** instead when you also need field types, required flags and picklist values."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_describe.htm)",
|
|
12
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.5",
|
|
13
12
|
type: "action",
|
|
13
|
+
ai: "optimized",
|
|
14
14
|
annotations: {
|
|
15
15
|
destructiveHint: false,
|
|
16
16
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -12,8 +11,9 @@ export default {
|
|
|
12
11
|
+ " Use **Describe Object** to get field details for a specific object type."
|
|
13
12
|
+ " "
|
|
14
13
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_describeGlobal.htm)",
|
|
15
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.4",
|
|
16
15
|
type: "action",
|
|
16
|
+
ai: "optimized",
|
|
17
17
|
annotations: {
|
|
18
18
|
readOnlyHint: true,
|
|
19
19
|
destructiveHint: false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -10,13 +9,14 @@ export default {
|
|
|
10
9
|
+ " The message is built from segments - a plain string becomes text, and `{ \"type\": \"Mention\", \"username\": \"jsmith\" }` mentions a user."
|
|
11
10
|
+ " "
|
|
12
11
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/quickreference_post_feed_item.htm)",
|
|
13
|
-
version: "0.1.
|
|
12
|
+
version: "0.1.7",
|
|
14
13
|
annotations: {
|
|
15
14
|
destructiveHint: false,
|
|
16
15
|
openWorldHint: true,
|
|
17
16
|
readOnlyHint: false,
|
|
18
17
|
},
|
|
19
18
|
type: "action",
|
|
19
|
+
ai: "optimized",
|
|
20
20
|
props: {
|
|
21
21
|
salesforce,
|
|
22
22
|
sobjectType: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
+ " SOSL matches indexed text fields, so it finds partial words but will not filter on numeric or date criteria."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_search_parameterized_get.htm)",
|
|
12
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.11",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: true,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
salesforce,
|
|
21
21
|
infoBox: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
+ " Sent mail is logged against the related record - use **List Email Messages** to read it back."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_action.meta/api_action/actions_obj_email_simple.htm)",
|
|
12
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.3",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: false,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
salesforce,
|
|
21
21
|
emailAddress: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -28,8 +27,9 @@ export default {
|
|
|
28
27
|
+ " using the format `{instanceUrl}/lightning/r/{objectType}/{Id}/view` (get `instanceUrl` from **Get User Info**)."
|
|
29
28
|
+ " "
|
|
30
29
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_query.htm)",
|
|
31
|
-
version: "0.0.
|
|
30
|
+
version: "0.0.4",
|
|
32
31
|
type: "action",
|
|
32
|
+
ai: "optimized",
|
|
33
33
|
annotations: {
|
|
34
34
|
readOnlyHint: true,
|
|
35
35
|
destructiveHint: false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
import { docsInfo } from "../sosl-search/sosl-search.mjs";
|
|
4
3
|
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " SOQL filters on exact field values; use **Text Search** for keyword search."
|
|
13
12
|
+ " "
|
|
14
13
|
+ `[See the documentation](${docsLink})`,
|
|
15
|
-
version: "0.2.
|
|
14
|
+
version: "0.2.16",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: false,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: true,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
props: {
|
|
23
23
|
salesforce,
|
|
24
24
|
docsInfo,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
const docsLink = "https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_sosl_examples.htm";
|
|
@@ -17,13 +16,14 @@ export default {
|
|
|
17
16
|
+ " SOSL matches indexed text fields, so it finds partial words but will not filter on numeric or date criteria."
|
|
18
17
|
+ " "
|
|
19
18
|
+ `[See the documentation](${docsLink})`,
|
|
20
|
-
version: "0.2.
|
|
19
|
+
version: "0.2.15",
|
|
21
20
|
annotations: {
|
|
22
21
|
destructiveHint: false,
|
|
23
22
|
openWorldHint: true,
|
|
24
23
|
readOnlyHint: true,
|
|
25
24
|
},
|
|
26
25
|
type: "action",
|
|
26
|
+
ai: "optimized",
|
|
27
27
|
props: {
|
|
28
28
|
salesforce,
|
|
29
29
|
docsInfo,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -11,8 +10,9 @@ export default {
|
|
|
11
10
|
+ " Results are grouped by object type."
|
|
12
11
|
+ " "
|
|
13
12
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_search.htm)",
|
|
14
|
-
version: "0.0.
|
|
13
|
+
version: "0.0.4",
|
|
15
14
|
type: "action",
|
|
15
|
+
ai: "optimized",
|
|
16
16
|
annotations: {
|
|
17
17
|
readOnlyHint: true,
|
|
18
18
|
destructiveHint: false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
3
2
|
import account from "../../common/sobjects/account.mjs";
|
|
4
3
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
@@ -23,13 +22,14 @@ export default {
|
|
|
23
22
|
+ " Use **Find Records** on `Account` to get the record ID first."
|
|
24
23
|
+ " "
|
|
25
24
|
+ `[See the documentation](${docsLink})`,
|
|
26
|
-
version: "0.4.
|
|
25
|
+
version: "0.4.1",
|
|
27
26
|
annotations: {
|
|
28
27
|
destructiveHint: false,
|
|
29
28
|
openWorldHint: true,
|
|
30
29
|
readOnlyHint: false,
|
|
31
30
|
},
|
|
32
31
|
type: "action",
|
|
32
|
+
ai: "optimized",
|
|
33
33
|
methods: {
|
|
34
34
|
...common.methods,
|
|
35
35
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common from "../common/batch-operation.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " Poll the job in Salesforce to confirm completion; a successful response means the job was accepted, not that every row loaded."
|
|
13
12
|
+ " "
|
|
14
13
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_understanding_bulk2_ingest.htm)",
|
|
15
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.8",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: true,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: false,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
methods: {
|
|
23
23
|
...common.methods,
|
|
24
24
|
getObject() {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
3
2
|
import contact from "../../common/sobjects/contact.mjs";
|
|
4
3
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
@@ -23,13 +22,14 @@ export default {
|
|
|
23
22
|
+ " Use **Find Records** on `Contact` to get the record ID first."
|
|
24
23
|
+ " "
|
|
25
24
|
+ `[See the documentation](${docsLink})`,
|
|
26
|
-
version: "0.4.
|
|
25
|
+
version: "0.4.1",
|
|
27
26
|
annotations: {
|
|
28
27
|
destructiveHint: false,
|
|
29
28
|
openWorldHint: true,
|
|
30
29
|
readOnlyHint: false,
|
|
31
30
|
},
|
|
32
31
|
type: "action",
|
|
32
|
+
ai: "optimized",
|
|
33
33
|
methods: {
|
|
34
34
|
...common.methods,
|
|
35
35
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
3
2
|
import contentNote from "../../common/sobjects/content-note.mjs";
|
|
4
3
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
@@ -27,8 +26,9 @@ export default {
|
|
|
27
26
|
+ "Notes must be enabled in the org first - see [Set Up Notes](https://help.salesforce.com/s/articleView?id=sales.notes_admin_setup.htm&type=5)."
|
|
28
27
|
+ " "
|
|
29
28
|
+ `[See the documentation](${docsLink})`,
|
|
30
|
-
version: "1.0.
|
|
29
|
+
version: "1.0.1",
|
|
31
30
|
type: "action",
|
|
31
|
+
ai: "optimized",
|
|
32
32
|
annotations: {
|
|
33
33
|
destructiveHint: false,
|
|
34
34
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -10,8 +9,9 @@ export default {
|
|
|
10
9
|
+ " Use **SOQL Query** to find the record ID if you only have the name."
|
|
11
10
|
+ " "
|
|
12
11
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_update_fields.htm)",
|
|
13
|
-
version: "0.0.
|
|
12
|
+
version: "0.0.4",
|
|
14
13
|
type: "action",
|
|
14
|
+
ai: "optimized",
|
|
15
15
|
annotations: {
|
|
16
16
|
readOnlyHint: false,
|
|
17
17
|
destructiveHint: false,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
+ " Only the fields you supply change; everything else is left as-is."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_update_fields.htm)",
|
|
12
|
-
version: "1.0.
|
|
11
|
+
version: "1.0.1",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: false,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
salesforce,
|
|
21
21
|
recordId: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
3
2
|
import note from "../../common/sobjects/note.mjs";
|
|
4
3
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
@@ -25,8 +24,9 @@ export default {
|
|
|
25
24
|
+ " Supplying `Body` replaces the note text outright rather than appending to it."
|
|
26
25
|
+ " "
|
|
27
26
|
+ `[See the documentation](${docsLink})`,
|
|
28
|
-
version: "0.1.
|
|
27
|
+
version: "0.1.1",
|
|
29
28
|
type: "action",
|
|
29
|
+
ai: "optimized",
|
|
30
30
|
annotations: {
|
|
31
31
|
destructiveHint: false,
|
|
32
32
|
openWorldHint: true,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common from "../common/batch-operation.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -12,13 +11,14 @@ export default {
|
|
|
12
11
|
+ " Poll the job in Salesforce to confirm completion; a successful response means the job was accepted, not that every row loaded."
|
|
13
12
|
+ " "
|
|
14
13
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_understanding_bulk2_ingest.htm)",
|
|
15
|
-
version: "0.0.
|
|
14
|
+
version: "0.0.8",
|
|
16
15
|
annotations: {
|
|
17
16
|
destructiveHint: true,
|
|
18
17
|
openWorldHint: true,
|
|
19
18
|
readOnlyHint: false,
|
|
20
19
|
},
|
|
21
20
|
type: "action",
|
|
21
|
+
ai: "optimized",
|
|
22
22
|
methods: {
|
|
23
23
|
...common.methods,
|
|
24
24
|
getObject() {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
3
2
|
import opportunity from "../../common/sobjects/opportunity.mjs";
|
|
4
3
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
@@ -24,13 +23,14 @@ export default {
|
|
|
24
23
|
+ " Only the fields you supply change; everything else is left as-is."
|
|
25
24
|
+ " "
|
|
26
25
|
+ `[See the documentation](${docsLink})`,
|
|
27
|
-
version: "0.4.
|
|
26
|
+
version: "0.4.1",
|
|
28
27
|
annotations: {
|
|
29
28
|
destructiveHint: false,
|
|
30
29
|
openWorldHint: true,
|
|
31
30
|
readOnlyHint: false,
|
|
32
31
|
},
|
|
33
32
|
type: "action",
|
|
33
|
+
ai: "optimized",
|
|
34
34
|
methods: {
|
|
35
35
|
...common.methods,
|
|
36
36
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -8,13 +7,14 @@ export default {
|
|
|
8
7
|
+ " Only the fields you supply change; everything else is left as-is."
|
|
9
8
|
+ " "
|
|
10
9
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_update_fields.htm)",
|
|
11
|
-
version: "1.0.
|
|
10
|
+
version: "1.0.1",
|
|
12
11
|
annotations: {
|
|
13
12
|
destructiveHint: false,
|
|
14
13
|
openWorldHint: true,
|
|
15
14
|
readOnlyHint: false,
|
|
16
15
|
},
|
|
17
16
|
type: "action",
|
|
17
|
+
ai: "optimized",
|
|
18
18
|
props: {
|
|
19
19
|
salesforce,
|
|
20
20
|
sobjectType: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// x-pd-ai: optimized
|
|
2
1
|
import salesforce from "../../salesforce_rest_api.app.mjs";
|
|
3
2
|
|
|
4
3
|
export default {
|
|
@@ -9,13 +8,14 @@ export default {
|
|
|
9
8
|
+ " Use **Create CRM Record** or **Update CRM Record** when you already know whether the record exists."
|
|
10
9
|
+ " "
|
|
11
10
|
+ "[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_upsert.htm)",
|
|
12
|
-
version: "1.0.
|
|
11
|
+
version: "1.0.1",
|
|
13
12
|
annotations: {
|
|
14
13
|
destructiveHint: false,
|
|
15
14
|
openWorldHint: true,
|
|
16
15
|
readOnlyHint: false,
|
|
17
16
|
},
|
|
18
17
|
type: "action",
|
|
18
|
+
ai: "optimized",
|
|
19
19
|
props: {
|
|
20
20
|
salesforce,
|
|
21
21
|
objectType: {
|
package/common/constants.mjs
CHANGED
|
@@ -108,4 +108,9 @@ export default {
|
|
|
108
108
|
"CreatedDate",
|
|
109
109
|
]),
|
|
110
110
|
DEPLOY_HISTORICAL_LIMIT: 25,
|
|
111
|
+
// Salesforce IDs are delivered in an 18 character, case-insensitive form whose
|
|
112
|
+
// last 3 characters are a checksum over the case of the leading 15
|
|
113
|
+
ID_SHORT_LENGTH: 15,
|
|
114
|
+
// Minimum gap between re-resolving the connected org after a rejected message
|
|
115
|
+
ORGANIZATION_REFRESH_COOLDOWN_MS: 60000,
|
|
111
116
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Case Updated (Instant, of Selectable Type)",
|
|
8
8
|
key: "salesforce_rest_api-case-updated-instant",
|
|
9
9
|
description: "Emit new event when a case is updated. [See the documentation](https://sforce.co/3yPSJZy)",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.13",
|
|
11
11
|
props: {
|
|
12
12
|
salesforce: common.props.salesforce,
|
|
13
13
|
db: "$.service.db",
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Email Template Updated (Instant, of Selectable Type)",
|
|
8
8
|
key: "salesforce_rest_api-email-template-updated-instant",
|
|
9
9
|
description: "Emit new event when an email template is updated. [See the documentation](https://sforce.co/3yPSJZy)",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.13",
|
|
11
11
|
props: {
|
|
12
12
|
salesforce: common.props.salesforce,
|
|
13
13
|
db: "$.service.db",
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Knowledge Article Updated (Instant, of Selectable Type)",
|
|
8
8
|
key: "salesforce_rest_api-knowledge-article-updated-instant",
|
|
9
9
|
description: "Emit new event when a knowledge article is updated. [See the documentation](https://sforce.co/3yPSJZy)",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.13",
|
|
11
11
|
props: {
|
|
12
12
|
salesforce: common.props.salesforce,
|
|
13
13
|
db: "$.service.db",
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "New Case (Instant, of Selectable Type)",
|
|
8
8
|
key: "salesforce_rest_api-new-case-instant",
|
|
9
9
|
description: "Emit new event when a case is created. [See the documentation](https://sforce.co/3yPSJZy)",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.13",
|
|
11
11
|
props: {
|
|
12
12
|
salesforce: common.props.salesforce,
|
|
13
13
|
db: "$.service.db",
|