@pipedream/rejoiner 0.1.0 → 0.2.0

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.
@@ -4,7 +4,12 @@ export default {
4
4
  key: "rejoiner-add-customer-to-list",
5
5
  name: "Add Customer to List",
6
6
  description: "Adds a customer to a specific list, or if the customer already exists, will update the record of that customer with the supplied data. [See the documentation](https://docs.rejoiner.com/reference/add-customer-to-list)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  rejoiner,
@@ -0,0 +1,26 @@
1
+ import rejoiner from "../../rejoiner.app.mjs";
2
+
3
+ export default {
4
+ key: "rejoiner-list-list-id-options",
5
+ name: "List List ID Options",
6
+ description: "Retrieves available options for the List ID field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ rejoiner,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await rejoiner.propDefinitions.listId.options.call(this.rejoiner, {});
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${
20
+ options.length === 1
21
+ ? ""
22
+ : "s"
23
+ }`);
24
+ return options;
25
+ },
26
+ };
@@ -4,7 +4,12 @@ export default {
4
4
  key: "rejoiner-start-journey",
5
5
  name: "Start Journey",
6
6
  description: "Triggers the beginning of a customer journey in Rejoiner. [See the documentation](https://docs.rejoiner.com/reference/trigger-webhook-journey)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: false,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  rejoiner,
@@ -4,7 +4,12 @@ export default {
4
4
  key: "rejoiner-update-customer-profile",
5
5
  name: "Update Customer Profile",
6
6
  description: "Updates a customer's profile information. [See the documentation](https://docs.rejoiner.com/reference/update-customer-profile)",
7
- version: "0.0.1",
7
+ version: "0.0.2",
8
+ annotations: {
9
+ destructiveHint: true,
10
+ openWorldHint: true,
11
+ readOnlyHint: false,
12
+ },
8
13
  type: "action",
9
14
  props: {
10
15
  rejoiner,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/rejoiner",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Pipedream Rejoiner Components",
5
5
  "main": "rejoiner.app.mjs",
6
6
  "keywords": [
@@ -13,6 +13,6 @@
13
13
  "access": "public"
14
14
  },
15
15
  "dependencies": {
16
- "@pipedream/platform": "^3.0.3"
16
+ "@pipedream/platform": "^3.1.1"
17
17
  }
18
18
  }