@pipedream/tomba 0.0.4 → 0.1.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.
- package/README.md +48 -21
- package/actions/enrich-email/enrich-email.mjs +33 -0
- package/actions/find-author/find-author.mjs +36 -0
- package/actions/find-email/find-email.mjs +50 -0
- package/actions/find-linkedin-email/find-linkedin-email.mjs +36 -0
- package/actions/find-phone/find-phone.mjs +64 -0
- package/actions/find-similar-domains/find-similar-domains.mjs +36 -0
- package/actions/get-account/get-account.mjs +26 -0
- package/actions/get-domain-status/get-domain-status.mjs +36 -0
- package/actions/get-domain-suggestions/get-domain-suggestions.mjs +37 -0
- package/actions/get-email-count/get-email-count.mjs +36 -0
- package/actions/get-email-format/get-email-format.mjs +36 -0
- package/actions/get-email-sources/get-email-sources.mjs +33 -0
- package/actions/get-location/get-location.mjs +36 -0
- package/actions/get-logs/get-logs.mjs +45 -0
- package/actions/get-technology/get-technology.mjs +36 -0
- package/actions/get-usage/get-usage.mjs +26 -0
- package/actions/search-companies/search-companies.mjs +59 -0
- package/actions/search-domain/search-domain.mjs +66 -0
- package/actions/validate-phone/validate-phone.mjs +43 -0
- package/actions/verify-email/verify-email.mjs +33 -0
- package/package.json +16 -7
- package/tomba.app.mjs +563 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import app from "../../tomba.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "tomba-search-companies",
|
|
5
|
+
name: "Search Companies",
|
|
6
|
+
description:
|
|
7
|
+
"Search for companies using natural language queries or structured filters. The AI assistant will automatically generate appropriate filters from your query. [See the documentation](https://docs.tomba.io/api/reveal#search-companies)",
|
|
8
|
+
version: "0.0.1",
|
|
9
|
+
type: "action",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: true,
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
app,
|
|
17
|
+
query: {
|
|
18
|
+
propDefinition: [
|
|
19
|
+
app,
|
|
20
|
+
"query",
|
|
21
|
+
],
|
|
22
|
+
description:
|
|
23
|
+
"Natural language query to search for companies (e.g., 'tech companies in San Francisco with 100+ employees')",
|
|
24
|
+
},
|
|
25
|
+
filters: {
|
|
26
|
+
propDefinition: [
|
|
27
|
+
app,
|
|
28
|
+
"filters",
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
limit: {
|
|
32
|
+
propDefinition: [
|
|
33
|
+
app,
|
|
34
|
+
"limit",
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
page: {
|
|
38
|
+
propDefinition: [
|
|
39
|
+
app,
|
|
40
|
+
"page",
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
async run({ $ }) {
|
|
45
|
+
const response = await this.app.searchCompanies({
|
|
46
|
+
$,
|
|
47
|
+
query: this.query,
|
|
48
|
+
filters: this.filters,
|
|
49
|
+
limit: this.limit,
|
|
50
|
+
page: this.page,
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
$.export(
|
|
54
|
+
"$summary",
|
|
55
|
+
`Successfully searched companies with query: ${this.query}`,
|
|
56
|
+
);
|
|
57
|
+
return response;
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import app from "../../tomba.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "tomba-search-domain",
|
|
5
|
+
name: "Search Domain",
|
|
6
|
+
description:
|
|
7
|
+
"Get every email address found on the internet using a given domain name, with sources. [See the documentation](https://docs.tomba.io/api/finder#domain-search)",
|
|
8
|
+
version: "0.0.1",
|
|
9
|
+
type: "action",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: true,
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
app,
|
|
17
|
+
domain: {
|
|
18
|
+
propDefinition: [
|
|
19
|
+
app,
|
|
20
|
+
"domain",
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
page: {
|
|
24
|
+
propDefinition: [
|
|
25
|
+
app,
|
|
26
|
+
"page",
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
limitDomainSearch: {
|
|
30
|
+
propDefinition: [
|
|
31
|
+
app,
|
|
32
|
+
"limitDomainSearch",
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
country: {
|
|
36
|
+
propDefinition: [
|
|
37
|
+
app,
|
|
38
|
+
"country",
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
department: {
|
|
42
|
+
propDefinition: [
|
|
43
|
+
app,
|
|
44
|
+
"department",
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
async run({ $ }) {
|
|
49
|
+
const response = await this.app.searchDomain({
|
|
50
|
+
$,
|
|
51
|
+
domain: this.domain,
|
|
52
|
+
page: this.page,
|
|
53
|
+
limit: this.limitDomainSearch,
|
|
54
|
+
country: this.country,
|
|
55
|
+
department: this.department,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
$.export(
|
|
59
|
+
"$summary",
|
|
60
|
+
`Successfully found ${
|
|
61
|
+
response.data?.emails?.length || 0
|
|
62
|
+
} email addresses for domain: ${this.domain}`,
|
|
63
|
+
);
|
|
64
|
+
return response;
|
|
65
|
+
},
|
|
66
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import app from "../../tomba.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "tomba-validate-phone",
|
|
5
|
+
name: "Validate Phone",
|
|
6
|
+
description:
|
|
7
|
+
"Validate a phone number and retrieve its associated information. [See the documentation](https://docs.tomba.io/api/phone#phone-validator)",
|
|
8
|
+
version: "0.0.1",
|
|
9
|
+
type: "action",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: true,
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
app,
|
|
17
|
+
phoneNumber: {
|
|
18
|
+
propDefinition: [
|
|
19
|
+
app,
|
|
20
|
+
"phoneNumber",
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
country: {
|
|
24
|
+
propDefinition: [
|
|
25
|
+
app,
|
|
26
|
+
"country",
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
async run({ $ }) {
|
|
31
|
+
const response = await this.app.validatePhone({
|
|
32
|
+
$,
|
|
33
|
+
phoneNumber: this.phoneNumber,
|
|
34
|
+
country: this.country,
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
$.export(
|
|
38
|
+
"$summary",
|
|
39
|
+
`Successfully validated phone number: ${this.phoneNumber}`,
|
|
40
|
+
);
|
|
41
|
+
return response;
|
|
42
|
+
},
|
|
43
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import app from "../../tomba.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "tomba-verify-email",
|
|
5
|
+
name: "Verify Email",
|
|
6
|
+
description:
|
|
7
|
+
"Verify the deliverability of an email address. [See the documentation](https://docs.tomba.io/api/verifier#email-verifier)",
|
|
8
|
+
version: "0.0.1",
|
|
9
|
+
type: "action",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: true,
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
app,
|
|
17
|
+
email: {
|
|
18
|
+
propDefinition: [
|
|
19
|
+
app,
|
|
20
|
+
"email",
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
async run({ $ }) {
|
|
25
|
+
const response = await this.app.verifyEmail({
|
|
26
|
+
$,
|
|
27
|
+
email: this.email,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
$.export("$summary", `Successfully verified email: ${this.email}`);
|
|
31
|
+
return response;
|
|
32
|
+
},
|
|
33
|
+
};
|
package/package.json
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/tomba",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "Pipedream Tomba
|
|
5
|
-
"main": "
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Pipedream Tomba Components - Email finder, verifier, enrichment, company search, and account management tools",
|
|
5
|
+
"main": "tomba.app.mjs",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"pipedream",
|
|
8
|
-
"tomba"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
8
|
+
"tomba",
|
|
9
|
+
"email",
|
|
10
|
+
"finder",
|
|
11
|
+
"verifier",
|
|
12
|
+
"enrichment",
|
|
13
|
+
"domain",
|
|
14
|
+
"phone",
|
|
15
|
+
"linkedin",
|
|
16
|
+
"company",
|
|
17
|
+
"search"
|
|
12
18
|
],
|
|
13
19
|
"homepage": "https://pipedream.com/apps/tomba",
|
|
14
20
|
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
|
|
15
21
|
"publishConfig": {
|
|
16
22
|
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@pipedream/platform": "^3.0.3"
|
|
17
26
|
}
|
|
18
27
|
}
|