@pipedream/selzy 0.1.0 → 0.3.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.
@@ -6,7 +6,12 @@ export default {
6
6
  key: "selzy-create-campaign",
7
7
  name: "Create Campaign",
8
8
  description: "Creates a new campaign. [See the documentation](https://selzy.com/en/support/api/messages/createcampaign/)",
9
- version: "0.0.1",
9
+ version: "0.0.2",
10
+ annotations: {
11
+ destructiveHint: false,
12
+ openWorldHint: true,
13
+ readOnlyHint: false,
14
+ },
10
15
  type: "action",
11
16
  props: {
12
17
  selzy,
@@ -9,7 +9,12 @@ export default {
9
9
  key: "selzy-create-email-message",
10
10
  name: "Create Email Message",
11
11
  description: "Adds a new email message. [See the documentation](https://selzy.com/en/support/category/api/messages/)",
12
- version: "0.0.1",
12
+ version: "0.0.2",
13
+ annotations: {
14
+ destructiveHint: false,
15
+ openWorldHint: true,
16
+ readOnlyHint: false,
17
+ },
13
18
  type: "action",
14
19
  props: {
15
20
  selzy,
@@ -0,0 +1,24 @@
1
+ import selzy from "../../selzy.app.mjs";
2
+
3
+ export default {
4
+ key: "selzy-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
+ selzy,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await selzy.propDefinitions.listId.options.call(this.selzy);
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
20
+ ? ""
21
+ : "s"}`);
22
+ return options;
23
+ },
24
+ };
@@ -0,0 +1,33 @@
1
+ import selzy from "../../selzy.app.mjs";
2
+
3
+ export default {
4
+ key: "selzy-list-message-id-options",
5
+ name: "List Message Id Options",
6
+ description: "Retrieves available options for the Message 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
+ selzy,
16
+ page: {
17
+ type: "integer",
18
+ label: "Page",
19
+ description: "The page of results to retrieve.",
20
+ min: 0,
21
+ default: 0,
22
+ },
23
+ },
24
+ async run({ $ }) {
25
+ const options = await selzy.propDefinitions.messageId.options.call(this.selzy, {
26
+ page: this.page,
27
+ });
28
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
29
+ ? ""
30
+ : "s"}`);
31
+ return options;
32
+ },
33
+ };
@@ -0,0 +1,33 @@
1
+ import selzy from "../../selzy.app.mjs";
2
+
3
+ export default {
4
+ key: "selzy-list-system-template-id-options",
5
+ name: "List System Template Id Options",
6
+ description: "Retrieves available options for the System Template 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
+ selzy,
16
+ page: {
17
+ type: "integer",
18
+ label: "Page",
19
+ description: "The page of results to retrieve.",
20
+ min: 0,
21
+ default: 0,
22
+ },
23
+ },
24
+ async run({ $ }) {
25
+ const options = await selzy.propDefinitions.systemTemplateId.options.call(this.selzy, {
26
+ page: this.page,
27
+ });
28
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
29
+ ? ""
30
+ : "s"}`);
31
+ return options;
32
+ },
33
+ };
@@ -0,0 +1,33 @@
1
+ import selzy from "../../selzy.app.mjs";
2
+
3
+ export default {
4
+ key: "selzy-list-template-id-options",
5
+ name: "List Template Id Options",
6
+ description: "Retrieves available options for the Template 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
+ selzy,
16
+ page: {
17
+ type: "integer",
18
+ label: "Page",
19
+ description: "The page of results to retrieve.",
20
+ min: 0,
21
+ default: 0,
22
+ },
23
+ },
24
+ async run({ $ }) {
25
+ const options = await selzy.propDefinitions.templateId.options.call(this.selzy, {
26
+ page: this.page,
27
+ });
28
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
29
+ ? ""
30
+ : "s"}`);
31
+ return options;
32
+ },
33
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/selzy",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Pipedream Selzy Components",
5
5
  "main": "selzy.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
  }