Skip to content

Commit b3eb8aa

Browse files
authored
Merge branch 'master' into 18029-actionhubspot-cms-and-marketing-api
2 parents 52c10b1 + 04803d2 commit b3eb8aa

File tree

773 files changed

+2672
-56066
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

773 files changed

+2672
-56066
lines changed

.github/workflows/docs-pr.yaml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/scheduled-package-validation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Scheduled Package Validation Report
22

33
on:
44
schedule:
5-
# Run every three days at midnight UTC
6-
- cron: '0 0 */3 * *'
5+
# Run weekly on Mondays at 2:00 PM UTC
6+
- cron: '0 14 * * 1'
77
workflow_dispatch: # Allow manual triggering for testing
88

99
jobs:

components/amazon_ses/actions/create-email-template/create-email-template.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "amazon_ses-create-email-template",
66
name: "Create Email Template",
77
description: "Create a HTML or a plain text email template. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/createemailtemplatecommand.html)",
8-
version: "0.0.1",
8+
version: "0.0.2",
99
type: "action",
1010
props: {
1111
...base.props,

components/amazon_ses/actions/get-email-template/get-email-template.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "amazon_ses-get-email-template",
55
name: "Get Email Template",
66
description: "Get an email template. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/getemailtemplatecommand.html)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
...base.props,

components/amazon_ses/actions/send-email/send-email.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
key: "amazon_ses-send-email",
66
name: "Send Email",
77
description: "Send an email using Amazon SES. Supports simple email messaging. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/sendemailcommand.html)",
8-
version: "0.9.0",
8+
version: "0.9.1",
99
type: "action",
1010
props: {
1111
...base.props,

components/amazon_ses/actions/send-templated-email/send-templated-email.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "amazon_ses-send-templated-email",
55
name: "Send Templated Email",
66
description: "Send an email replacing the template tags with values using Amazon SES. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ses/classes/sendtemplatedemailcommand.html)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
...base.props,

components/amazon_ses/actions/update-email-template/update-email-template.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "amazon_ses-update-email-template",
55
name: "Update Email Template",
66
description: "Update an email template. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/updateemailtemplatecommand.html)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
1010
...base.props,

components/amazon_ses/amazon_ses.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import aws from "../aws/aws.app.mjs";
1+
import aws from "@pipedream/aws";
22
import {
33
SESClient,
44
SendTemplatedEmailCommand,

components/amazon_ses/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/amazon_ses",
3-
"version": "0.3.7",
3+
"version": "0.3.8",
44
"description": "Pipedream Amazon SES Components",
55
"main": "amazon_ses.app.mjs",
66
"keywords": [
@@ -13,7 +13,8 @@
1313
"@aws-sdk/client-ec2": "^3.89.0",
1414
"@aws-sdk/client-ses": "^3.95.0",
1515
"@aws-sdk/client-sesv2": "^3.87.0",
16-
"@pipedream/platform": "^0.10.0"
16+
"@pipedream/platform": "^0.10.0",
17+
"@pipedream/aws": "^1.1.0"
1718
},
1819
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
1920
"publishConfig": {
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
import bridgeInteractivePlatform from "../../bridge_interactive_platform.app.mjs";
2+
import { ConfigurationError } from "@pipedream/platform";
3+
4+
export default {
5+
key: "bridge_interactive_platform-get-listings",
6+
name: "Get Listings",
7+
description: "Get MLS listings from a dataset. [See the documentation](https://bridgedataoutput.com/docs/explorer/mls-data)",
8+
version: "0.0.1",
9+
type: "action",
10+
props: {
11+
bridgeInteractivePlatform,
12+
dataset: {
13+
propDefinition: [
14+
bridgeInteractivePlatform,
15+
"dataset",
16+
],
17+
},
18+
near: {
19+
propDefinition: [
20+
bridgeInteractivePlatform,
21+
"near",
22+
],
23+
},
24+
radius: {
25+
propDefinition: [
26+
bridgeInteractivePlatform,
27+
"radius",
28+
],
29+
},
30+
box: {
31+
propDefinition: [
32+
bridgeInteractivePlatform,
33+
"box",
34+
],
35+
},
36+
poly: {
37+
propDefinition: [
38+
bridgeInteractivePlatform,
39+
"poly",
40+
],
41+
},
42+
geohash: {
43+
propDefinition: [
44+
bridgeInteractivePlatform,
45+
"geohash",
46+
],
47+
},
48+
sortBy: {
49+
propDefinition: [
50+
bridgeInteractivePlatform,
51+
"field",
52+
(c) => ({
53+
dataset: c.dataset,
54+
}),
55+
],
56+
label: "Sort By",
57+
},
58+
order: {
59+
type: "string",
60+
label: "Order",
61+
description: "Order of responses",
62+
optional: true,
63+
options: [
64+
"asc",
65+
"desc",
66+
],
67+
},
68+
fields: {
69+
propDefinition: [
70+
bridgeInteractivePlatform,
71+
"field",
72+
(c) => ({
73+
dataset: c.dataset,
74+
}),
75+
],
76+
type: "string[]",
77+
label: "Fields",
78+
description: "Filters Response fields",
79+
},
80+
limit: {
81+
type: "integer",
82+
label: "Limit",
83+
description: "Maximum number of responses",
84+
optional: true,
85+
},
86+
offset: {
87+
type: "integer",
88+
label: "Offset",
89+
description: "Number of responses to skip",
90+
optional: true,
91+
},
92+
},
93+
async run({ $ }) {
94+
const coords = {
95+
near: this.near,
96+
poly: this.poly,
97+
box: this.box,
98+
geohash: this.geohash,
99+
};
100+
101+
if (Object.values(coords).filter(Boolean).length > 1) {
102+
throw new ConfigurationError("Only one of near, poly, box, or geohash can be used");
103+
}
104+
105+
const response = await this.bridgeInteractivePlatform.getListings({
106+
dataset: this.dataset,
107+
params: {
108+
near: this.near,
109+
radius: this.radius,
110+
box: this.box,
111+
poly: this.poly,
112+
geohash: this.geohash,
113+
sortBy: this.sortBy,
114+
order: this.order,
115+
fields: this.fields
116+
? this.fields.join(",")
117+
: undefined,
118+
limit: this.limit,
119+
offset: this.offset,
120+
},
121+
});
122+
$.export("$summary", `Found ${response.bundle.length} listings`);
123+
return response;
124+
},
125+
};

0 commit comments

Comments
 (0)