@pipedream/jira_service_desk 0.1.2 → 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.
@@ -0,0 +1,25 @@
1
+ import jira_service_desk from "../../jira_service_desk.app.mjs";
2
+
3
+ export default {
4
+ key: "jira_service_desk-list-cloud-id-options",
5
+ name: "List Cloud ID Options",
6
+ description: "Retrieves available options for the Cloud 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
+ jira_service_desk,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await jira_service_desk.propDefinitions.cloudId.options
19
+ .call(this.jira_service_desk);
20
+ $.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
21
+ ? ""
22
+ : "s"}`);
23
+ return options;
24
+ },
25
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/jira_service_desk",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Pipedream Jira Service Desk Components",
5
5
  "main": "jira_service_desk.app.mjs",
6
6
  "keywords": [