@pipedream/salesforce_rest_api 1.11.2 → 1.11.3
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.
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
3
3
|
import contentNote from "../../common/sobjects/content-note.mjs";
|
|
4
4
|
import contentDocumentLink from "../../common/sobjects/content-document-link.mjs";
|
|
5
|
+
import { NOTE_INFO_PROP } from "../../common/props-info.mjs";
|
|
5
6
|
|
|
6
7
|
const docsLink = "https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentnote.htm";
|
|
7
8
|
|
|
@@ -27,7 +28,7 @@ export default {
|
|
|
27
28
|
key: "salesforce_rest_api-create-content-note",
|
|
28
29
|
name: "Create Content Note",
|
|
29
30
|
description: `Creates a content note. [See the documentation](${docsLink}) and [Set Up Notes](https://help.salesforce.com/s/articleView?id=sales.notes_admin_setup.htm&type=5).`,
|
|
30
|
-
version: "0.0.
|
|
31
|
+
version: "0.0.6",
|
|
31
32
|
annotations: {
|
|
32
33
|
destructiveHint: false,
|
|
33
34
|
openWorldHint: true,
|
|
@@ -35,6 +36,7 @@ export default {
|
|
|
35
36
|
},
|
|
36
37
|
type: "action",
|
|
37
38
|
props: {
|
|
39
|
+
noteInfo: NOTE_INFO_PROP,
|
|
38
40
|
...contentNoteProps,
|
|
39
41
|
...contentDocumentLinkProps,
|
|
40
42
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
2
2
|
import note from "../../common/sobjects/note.mjs";
|
|
3
|
+
import { NOTE_INFO_PROP } from "../../common/props-info.mjs";
|
|
3
4
|
|
|
4
5
|
const docsLink = "https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_note.htm";
|
|
5
6
|
|
|
@@ -17,14 +18,17 @@ export default {
|
|
|
17
18
|
key: "salesforce_rest_api-create-note",
|
|
18
19
|
name: "Create Note",
|
|
19
20
|
description: `Creates a note. [See the documentation](${docsLink})`,
|
|
20
|
-
version: "0.3.
|
|
21
|
+
version: "0.3.6",
|
|
21
22
|
annotations: {
|
|
22
23
|
destructiveHint: false,
|
|
23
24
|
openWorldHint: true,
|
|
24
25
|
readOnlyHint: false,
|
|
25
26
|
},
|
|
26
27
|
type: "action",
|
|
27
|
-
props
|
|
28
|
+
props: {
|
|
29
|
+
noteInfo: NOTE_INFO_PROP,
|
|
30
|
+
...props,
|
|
31
|
+
},
|
|
28
32
|
async run({ $ }) {
|
|
29
33
|
/* eslint-disable no-unused-vars */
|
|
30
34
|
const {
|
|
@@ -32,7 +36,7 @@ export default {
|
|
|
32
36
|
getAdvancedProps,
|
|
33
37
|
getAdditionalFields,
|
|
34
38
|
formatDateTimeProps,
|
|
35
|
-
docsInfo,
|
|
39
|
+
docsInfo, noteInfo, ...data
|
|
36
40
|
} = this;
|
|
37
41
|
/* eslint-enable no-unused-vars */
|
|
38
42
|
const response = await salesforce.createRecord("Note", {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
2
2
|
import contentNote from "../../common/sobjects/content-note.mjs";
|
|
3
|
+
import { NOTE_INFO_PROP } from "../../common/props-info.mjs";
|
|
3
4
|
|
|
4
5
|
const docsLink = "https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentnote.htm";
|
|
5
6
|
|
|
@@ -16,7 +17,7 @@ export default {
|
|
|
16
17
|
key: "salesforce_rest_api-update-content-note",
|
|
17
18
|
name: "Update Content Note",
|
|
18
19
|
description: `Updates an enhanced Salesforce content note, which can include formatted text and is part of Salesforce Files. [See the documentation](${docsLink}) and [Set Up Notes](https://help.salesforce.com/s/articleView?id=sales.notes_admin_setup.htm&type=5).`,
|
|
19
|
-
version: "0.0.
|
|
20
|
+
version: "0.0.2",
|
|
20
21
|
type: "action",
|
|
21
22
|
annotations: {
|
|
22
23
|
destructiveHint: true,
|
|
@@ -31,6 +32,7 @@ export default {
|
|
|
31
32
|
},
|
|
32
33
|
props: {
|
|
33
34
|
salesforce,
|
|
35
|
+
noteInfo: NOTE_INFO_PROP,
|
|
34
36
|
contentNoteId: {
|
|
35
37
|
propDefinition: [
|
|
36
38
|
salesforce,
|
|
@@ -58,6 +60,7 @@ export default {
|
|
|
58
60
|
docsInfo,
|
|
59
61
|
dateInfo,
|
|
60
62
|
additionalFields,
|
|
63
|
+
noteInfo,
|
|
61
64
|
...data
|
|
62
65
|
} = this;
|
|
63
66
|
/* eslint-enable no-unused-vars */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import common, { getProps } from "../common/base-create-update.mjs";
|
|
2
2
|
import note from "../../common/sobjects/note.mjs";
|
|
3
|
+
import { NOTE_INFO_PROP } from "../../common/props-info.mjs";
|
|
3
4
|
|
|
4
5
|
const docsLink = "https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_note.htm";
|
|
5
6
|
|
|
@@ -16,7 +17,7 @@ export default {
|
|
|
16
17
|
key: "salesforce_rest_api-update-note",
|
|
17
18
|
name: "Update Note",
|
|
18
19
|
description: `Updates a classic Salesforce note, which can contain up to 32 KB of text and is associated with a parent record. [See the documentation](${docsLink})`,
|
|
19
|
-
version: "0.0.
|
|
20
|
+
version: "0.0.2",
|
|
20
21
|
type: "action",
|
|
21
22
|
annotations: {
|
|
22
23
|
destructiveHint: true,
|
|
@@ -31,6 +32,7 @@ export default {
|
|
|
31
32
|
},
|
|
32
33
|
props: {
|
|
33
34
|
salesforce,
|
|
35
|
+
noteInfo: NOTE_INFO_PROP,
|
|
34
36
|
noteId: {
|
|
35
37
|
propDefinition: [
|
|
36
38
|
salesforce,
|
|
@@ -58,6 +60,7 @@ export default {
|
|
|
58
60
|
docsInfo,
|
|
59
61
|
dateInfo,
|
|
60
62
|
additionalFields,
|
|
63
|
+
noteInfo,
|
|
61
64
|
...data
|
|
62
65
|
} = this;
|
|
63
66
|
/* eslint-enable no-unused-vars */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/salesforce_rest_api",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.3",
|
|
4
4
|
"description": "Pipedream Salesforce (REST API) Components",
|
|
5
5
|
"main": "salesforce_rest_api.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@pipedream/platform": "^3.1.1",
|
|
14
|
-
"fast-xml-parser": "^
|
|
14
|
+
"fast-xml-parser": "^5.3.4",
|
|
15
15
|
"handlebars": "^4.7.7",
|
|
16
16
|
"lodash": "^4.17.23",
|
|
17
17
|
"lodash-es": "^4.17.23",
|