@pipedream/salesforce_rest_api 0.4.5 → 0.4.7
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/package.json +4 -4
- package/sources/common.mjs +2 -1
- package/sources/new-object/new-object.mjs +1 -1
- package/sources/new-object-instant/new-object-instant.mjs +1 -1
- package/sources/new-outbound-message/new-outbound-message.mjs +1 -1
- package/sources/object-deleted/object-deleted.mjs +1 -1
- package/sources/object-deleted-instant/object-deleted-instant.mjs +1 -1
- package/sources/object-updated/object-updated.mjs +1 -1
- package/sources/object-updated-instant/object-updated-instant.mjs +1 -1
- package/sources/updated-field-on-record/updated-field-on-record.mjs +1 -1
- package/sources/updated-field-on-record-instant/updated-field-on-record-instant.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/salesforce_rest_api",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Pipedream Salesforce (REST API) Components",
|
|
5
5
|
"main": "salesforce_rest_api.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@pipedream/platform": "^
|
|
14
|
+
"@pipedream/platform": "^1.2.0",
|
|
15
15
|
"handlebars": "^4.7.7",
|
|
16
16
|
"lodash": "^4.17.21",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"lodash-es": "^4.17.21",
|
|
18
|
+
"salesforce-webhooks": "^1.1.11"
|
|
19
19
|
},
|
|
20
20
|
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
|
|
21
21
|
"publishConfig": {
|
package/sources/common.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
1
2
|
import salesforce from "../salesforce_rest_api.app.mjs";
|
|
2
3
|
|
|
3
4
|
export default {
|
|
@@ -9,7 +10,7 @@ export default {
|
|
|
9
10
|
timer: {
|
|
10
11
|
type: "$.interface.timer",
|
|
11
12
|
default: {
|
|
12
|
-
intervalSeconds:
|
|
13
|
+
intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL,
|
|
13
14
|
},
|
|
14
15
|
},
|
|
15
16
|
objectType: {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "New Object (of Selectable Type)",
|
|
9
9
|
key: "salesforce_rest_api-new-object",
|
|
10
10
|
description: "Emit new event (at regular intervals) when an object of arbitrary type (selected as an input parameter by the user) is created. See [the docs](https://sforce.co/3yPSJZy) for more information.",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.5",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
14
14
|
isItemRelevant(item, startTimestamp, endTimestamp) {
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "New Object (Instant, of Selectable Type)",
|
|
8
8
|
key: "salesforce_rest_api-new-object-instant",
|
|
9
9
|
description: "Emit new event immediately after an object of arbitrary type (selected as an input parameter by the user) is created",
|
|
10
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.3",
|
|
11
11
|
hooks: {
|
|
12
12
|
...common.hooks,
|
|
13
13
|
async deploy() {
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
name: "New Outbound Message (Instant)",
|
|
7
7
|
key: "salesforce_rest_api-new-outbound-message",
|
|
8
8
|
description: "Emit new event when a new outbound message is received in Salesforce. See Salesforce's guide on setting up [Outbound Messaging](https://sforce.co/3JbZJom). Set the Outbound Message's Endpoint URL to the endpoint of the created source. The \"Send Session ID\" option must be enabled for validating outbound messages from Salesforce.",
|
|
9
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.2",
|
|
10
10
|
dedupe: "unique",
|
|
11
11
|
props: {
|
|
12
12
|
db: "$.service.db",
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "New Deleted Object (of Selectable Type)",
|
|
9
9
|
key: "salesforce_rest_api-object-deleted",
|
|
10
10
|
description: "Emit new event (at regular intervals) when an object of arbitrary type (selected as an input parameter by the user) is deleted. [See the docs](https://sforce.co/3msDDEE) for more information.",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.5",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
14
14
|
generateMeta(item) {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "New Deleted Object (Instant, of Selectable Type)",
|
|
9
9
|
key: "salesforce_rest_api-object-deleted-instant",
|
|
10
10
|
description: "Emit new event immediately after an object of arbitrary type (selected as an input parameter by the user) is deleted",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.2",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
14
14
|
generateMeta(data) {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "New Updated Object (of Selectable Type)",
|
|
9
9
|
key: "salesforce_rest_api-object-updated",
|
|
10
10
|
description: "Emit new event (at regular intervals) when an object of arbitrary type (selected as an input parameter by the user) is updated. [See the docs](https://sforce.co/3yPSJZy) for more information.",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.5",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
14
14
|
generateMeta(item) {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "New Updated Object (Instant, of Selectable Type)",
|
|
9
9
|
key: "salesforce_rest_api-object-updated-instant",
|
|
10
10
|
description: "Emit new event immediately after an object of arbitrary type (selected as an input parameter by the user) is updated",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.2",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
14
14
|
generateMeta(data) {
|
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
name: "New Updated Field on Record (of Selectable Type)",
|
|
16
16
|
key: "salesforce_rest_api-updated-field-on-record",
|
|
17
17
|
description: "Emit new event (at regular intervals) when a field of your choosing is updated on any record of a specified Salesforce object. Field history tracking must be enabled for the chosen field. See the docs on [field history tracking](https://sforce.co/3mtj0rF) and [history objects](https://sforce.co/3Fn4lWB) for more information.",
|
|
18
|
-
version: "0.1.
|
|
18
|
+
version: "0.1.5",
|
|
19
19
|
props: {
|
|
20
20
|
...common.props,
|
|
21
21
|
objectType: {
|
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
name: "New Updated Field on Record (Instant, of Selectable Type)",
|
|
10
10
|
key: "salesforce_rest_api-updated-field-on-record-instant",
|
|
11
11
|
description: "Emit new event immediately after a field of your choosing is updated on any record of a specified Salesforce object",
|
|
12
|
-
version: "0.1.
|
|
12
|
+
version: "0.1.2",
|
|
13
13
|
props: {
|
|
14
14
|
...common.props,
|
|
15
15
|
field: {
|