@pipedream/linkedin_ads 0.3.3 → 0.4.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,26 @@
1
+ import linkedin_ads from "../../linkedin_ads.app.mjs";
2
+
3
+ export default {
4
+ key: "linkedin_ads-list-accounts-options",
5
+ name: "List Accounts Options",
6
+ description: "Retrieves available options for the Accounts field.",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ linkedin_ads,
16
+ },
17
+ async run({ $ }) {
18
+ const options = await linkedin_ads.propDefinitions.accounts.options.call(this.linkedin_ads, {});
19
+ $.export("$summary", `Successfully retrieved ${options.length} option${
20
+ options.length === 1
21
+ ? ""
22
+ : "s"
23
+ }`);
24
+ return options;
25
+ },
26
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/linkedin_ads",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "Pipedream LinkedIn Ads Components",
5
5
  "main": "linkedin_ads.app.mjs",
6
6
  "keywords": [
@@ -14,6 +14,6 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@pipedream/linkedin": "^0.1.1",
17
- "@pipedream/platform": "^3.1.0"
17
+ "@pipedream/platform": "^3.1.1"
18
18
  }
19
19
  }