@activepieces/piece-enrichlayer 0.0.3 → 0.0.5
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/package.json +7 -12
- package/src/index.js +13 -80
- package/src/index.d.ts +0 -2
- package/src/index.d.ts.map +0 -1
- package/src/index.js.map +0 -1
- package/src/lib/actions/get-company-id-lookup.d.ts +0 -4
- package/src/lib/actions/get-company-id-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-company-id-lookup.js +0 -34
- package/src/lib/actions/get-company-id-lookup.js.map +0 -1
- package/src/lib/actions/get-company-lookup.d.ts +0 -7
- package/src/lib/actions/get-company-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-company-lookup.js +0 -58
- package/src/lib/actions/get-company-lookup.js.map +0 -1
- package/src/lib/actions/get-company-picture.d.ts +0 -4
- package/src/lib/actions/get-company-picture.d.ts.map +0 -1
- package/src/lib/actions/get-company-picture.js +0 -34
- package/src/lib/actions/get-company-picture.js.map +0 -1
- package/src/lib/actions/get-company-profile.d.ts +0 -11
- package/src/lib/actions/get-company-profile.d.ts.map +0 -1
- package/src/lib/actions/get-company-profile.js +0 -118
- package/src/lib/actions/get-company-profile.js.map +0 -1
- package/src/lib/actions/get-company-search.d.ts +0 -29
- package/src/lib/actions/get-company-search.d.ts.map +0 -1
- package/src/lib/actions/get-company-search.js +0 -218
- package/src/lib/actions/get-company-search.js.map +0 -1
- package/src/lib/actions/get-credit-balance.d.ts +0 -2
- package/src/lib/actions/get-credit-balance.d.ts.map +0 -1
- package/src/lib/actions/get-credit-balance.js +0 -26
- package/src/lib/actions/get-credit-balance.js.map +0 -1
- package/src/lib/actions/get-disposable-email-check.d.ts +0 -4
- package/src/lib/actions/get-disposable-email-check.d.ts.map +0 -1
- package/src/lib/actions/get-disposable-email-check.js +0 -34
- package/src/lib/actions/get-disposable-email-check.js.map +0 -1
- package/src/lib/actions/get-employee-count.d.ts +0 -9
- package/src/lib/actions/get-employee-count.d.ts.map +0 -1
- package/src/lib/actions/get-employee-count.js +0 -89
- package/src/lib/actions/get-employee-count.js.map +0 -1
- package/src/lib/actions/get-employee-listing.d.ts +0 -14
- package/src/lib/actions/get-employee-listing.d.ts.map +0 -1
- package/src/lib/actions/get-employee-listing.js +0 -133
- package/src/lib/actions/get-employee-listing.js.map +0 -1
- package/src/lib/actions/get-employee-search.d.ts +0 -10
- package/src/lib/actions/get-employee-search.d.ts.map +0 -1
- package/src/lib/actions/get-employee-search.js +0 -82
- package/src/lib/actions/get-employee-search.js.map +0 -1
- package/src/lib/actions/get-job-count.d.ts +0 -10
- package/src/lib/actions/get-job-count.d.ts.map +0 -1
- package/src/lib/actions/get-job-count.js +0 -107
- package/src/lib/actions/get-job-count.js.map +0 -1
- package/src/lib/actions/get-job-profile.d.ts +0 -4
- package/src/lib/actions/get-job-profile.d.ts.map +0 -1
- package/src/lib/actions/get-job-profile.js +0 -34
- package/src/lib/actions/get-job-profile.js.map +0 -1
- package/src/lib/actions/get-job-search.d.ts +0 -10
- package/src/lib/actions/get-job-search.d.ts.map +0 -1
- package/src/lib/actions/get-job-search.js +0 -107
- package/src/lib/actions/get-job-search.js.map +0 -1
- package/src/lib/actions/get-person-lookup.d.ts +0 -10
- package/src/lib/actions/get-person-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-person-lookup.js +0 -82
- package/src/lib/actions/get-person-lookup.js.map +0 -1
- package/src/lib/actions/get-person-picture.d.ts +0 -4
- package/src/lib/actions/get-person-picture.d.ts.map +0 -1
- package/src/lib/actions/get-person-picture.js +0 -34
- package/src/lib/actions/get-person-picture.js.map +0 -1
- package/src/lib/actions/get-person-profile.d.ts +0 -17
- package/src/lib/actions/get-person-profile.d.ts.map +0 -1
- package/src/lib/actions/get-person-profile.js +0 -178
- package/src/lib/actions/get-person-profile.js.map +0 -1
- package/src/lib/actions/get-person-search.d.ts +0 -57
- package/src/lib/actions/get-person-search.d.ts.map +0 -1
- package/src/lib/actions/get-person-search.js +0 -386
- package/src/lib/actions/get-person-search.js.map +0 -1
- package/src/lib/actions/get-personal-contact.d.ts +0 -7
- package/src/lib/actions/get-personal-contact.d.ts.map +0 -1
- package/src/lib/actions/get-personal-contact.js +0 -52
- package/src/lib/actions/get-personal-contact.js.map +0 -1
- package/src/lib/actions/get-personal-email.d.ts +0 -8
- package/src/lib/actions/get-personal-email.d.ts.map +0 -1
- package/src/lib/actions/get-personal-email.js +0 -68
- package/src/lib/actions/get-personal-email.js.map +0 -1
- package/src/lib/actions/get-reverse-email-lookup.d.ts +0 -6
- package/src/lib/actions/get-reverse-email-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-reverse-email-lookup.js +0 -61
- package/src/lib/actions/get-reverse-email-lookup.js.map +0 -1
- package/src/lib/actions/get-reverse-phone-lookup.d.ts +0 -4
- package/src/lib/actions/get-reverse-phone-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-reverse-phone-lookup.js +0 -34
- package/src/lib/actions/get-reverse-phone-lookup.js.map +0 -1
- package/src/lib/actions/get-role-lookup.d.ts +0 -6
- package/src/lib/actions/get-role-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-role-lookup.js +0 -52
- package/src/lib/actions/get-role-lookup.js.map +0 -1
- package/src/lib/actions/get-school-profile.d.ts +0 -6
- package/src/lib/actions/get-school-profile.d.ts.map +0 -1
- package/src/lib/actions/get-school-profile.js +0 -58
- package/src/lib/actions/get-school-profile.js.map +0 -1
- package/src/lib/actions/get-student-listing.d.ts +0 -11
- package/src/lib/actions/get-student-listing.d.ts.map +0 -1
- package/src/lib/actions/get-student-listing.js +0 -102
- package/src/lib/actions/get-student-listing.js.map +0 -1
- package/src/lib/actions/get-work-email-lookup.d.ts +0 -5
- package/src/lib/actions/get-work-email-lookup.d.ts.map +0 -1
- package/src/lib/actions/get-work-email-lookup.js +0 -40
- package/src/lib/actions/get-work-email-lookup.js.map +0 -1
- package/src/lib/auth.d.ts +0 -2
- package/src/lib/auth.d.ts.map +0 -1
- package/src/lib/auth.js +0 -22
- package/src/lib/auth.js.map +0 -1
- package/src/lib/common/client.d.ts +0 -2
- package/src/lib/common/client.d.ts.map +0 -1
- package/src/lib/common/client.js +0 -28
- package/src/lib/common/client.js.map +0 -1
- package/src/lib/common/constants.d.ts +0 -29
- package/src/lib/common/constants.d.ts.map +0 -1
- package/src/lib/common/constants.js +0 -32
- package/src/lib/common/constants.js.map +0 -1
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getJobSearch = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../auth");
|
|
7
|
-
const client_1 = require("../common/client");
|
|
8
|
-
const constants_1 = require("../common/constants");
|
|
9
|
-
exports.getJobSearch = (0, pieces_framework_1.createAction)({
|
|
10
|
-
name: 'get_job_search',
|
|
11
|
-
auth: auth_1.enrichlayerAuth,
|
|
12
|
-
displayName: 'Search Company Jobs',
|
|
13
|
-
description: 'List jobs posted by a company with optional filters (2 credits)',
|
|
14
|
-
audience: 'both',
|
|
15
|
-
aiMetadata: {
|
|
16
|
-
description: 'List job postings from a company, filterable by keyword, job type, experience level, recency, and work flexibility. Read-only and safe to retry. Use when you need the actual job listings; to get only the matching count without the listings use Get Job Count. Requires the company search_id obtained from a company profile lookup.',
|
|
17
|
-
idempotent: true,
|
|
18
|
-
},
|
|
19
|
-
props: {
|
|
20
|
-
search_id: pieces_framework_1.Property.ShortText({
|
|
21
|
-
displayName: 'Company Search ID',
|
|
22
|
-
description: 'The search_id of the company (from Company Profile API)',
|
|
23
|
-
required: false,
|
|
24
|
-
}),
|
|
25
|
-
keyword: pieces_framework_1.Property.ShortText({
|
|
26
|
-
displayName: 'Keyword',
|
|
27
|
-
description: 'Keyword to search for (e.g., engineer)',
|
|
28
|
-
required: false,
|
|
29
|
-
}),
|
|
30
|
-
job_type: pieces_framework_1.Property.StaticDropdown({
|
|
31
|
-
displayName: 'Job Type',
|
|
32
|
-
description: 'Filter by job type',
|
|
33
|
-
required: false,
|
|
34
|
-
options: {
|
|
35
|
-
options: [
|
|
36
|
-
{ label: 'Anything (default)', value: 'anything' },
|
|
37
|
-
{ label: 'Full-time', value: 'full-time' },
|
|
38
|
-
{ label: 'Part-time', value: 'part-time' },
|
|
39
|
-
{ label: 'Contract', value: 'contract' },
|
|
40
|
-
{ label: 'Internship', value: 'internship' },
|
|
41
|
-
{ label: 'Temporary', value: 'temporary' },
|
|
42
|
-
{ label: 'Volunteer', value: 'volunteer' },
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
}),
|
|
46
|
-
experience_level: pieces_framework_1.Property.StaticDropdown({
|
|
47
|
-
displayName: 'Experience Level',
|
|
48
|
-
description: 'Filter by experience level',
|
|
49
|
-
required: false,
|
|
50
|
-
options: {
|
|
51
|
-
options: [
|
|
52
|
-
{ label: 'Anything (default)', value: 'anything' },
|
|
53
|
-
{ label: 'Internship', value: 'internship' },
|
|
54
|
-
{ label: 'Entry Level', value: 'entry_level' },
|
|
55
|
-
{ label: 'Associate', value: 'associate' },
|
|
56
|
-
{ label: 'Mid-Senior Level', value: 'mid_senior_level' },
|
|
57
|
-
{ label: 'Director', value: 'director' },
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
}),
|
|
61
|
-
when: pieces_framework_1.Property.StaticDropdown({
|
|
62
|
-
displayName: 'When Posted',
|
|
63
|
-
description: 'Filter by when the job was posted',
|
|
64
|
-
required: false,
|
|
65
|
-
options: {
|
|
66
|
-
options: [
|
|
67
|
-
{ label: 'Anytime (default)', value: 'anytime' },
|
|
68
|
-
{ label: 'Yesterday', value: 'yesterday' },
|
|
69
|
-
{ label: 'Past Week', value: 'past-week' },
|
|
70
|
-
{ label: 'Past Month', value: 'past-month' },
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
}),
|
|
74
|
-
flexibility: pieces_framework_1.Property.StaticDropdown({
|
|
75
|
-
displayName: 'Flexibility',
|
|
76
|
-
description: 'Filter by work flexibility',
|
|
77
|
-
required: false,
|
|
78
|
-
options: {
|
|
79
|
-
options: [
|
|
80
|
-
{ label: 'Anything (default)', value: 'anything' },
|
|
81
|
-
{ label: 'Remote', value: 'remote' },
|
|
82
|
-
{ label: 'On-site', value: 'on-site' },
|
|
83
|
-
{ label: 'Hybrid', value: 'hybrid' },
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
}),
|
|
87
|
-
geo_id: pieces_framework_1.Property.ShortText({
|
|
88
|
-
displayName: 'Geo ID',
|
|
89
|
-
description: 'Geographic location ID (e.g., 92000000 for worldwide)',
|
|
90
|
-
required: false,
|
|
91
|
-
}),
|
|
92
|
-
},
|
|
93
|
-
run(context) {
|
|
94
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
95
|
-
return yield (0, client_1.enrichlayerApiCall)(context.auth.secret_text, constants_1.ENDPOINTS.JOB_SEARCH, {
|
|
96
|
-
search_id: context.propsValue.search_id,
|
|
97
|
-
keyword: context.propsValue.keyword,
|
|
98
|
-
job_type: context.propsValue.job_type,
|
|
99
|
-
experience_level: context.propsValue.experience_level,
|
|
100
|
-
when: context.propsValue.when,
|
|
101
|
-
flexibility: context.propsValue.flexibility,
|
|
102
|
-
geo_id: context.propsValue.geo_id,
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
},
|
|
106
|
-
});
|
|
107
|
-
//# sourceMappingURL=get-job-search.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-job-search.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-job-search.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAA0C;AAC1C,6CAAsD;AACtD,mDAAgD;AAEnC,QAAA,YAAY,GAAG,IAAA,+BAAY,EAAC;IACvC,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,sBAAe;IACrB,WAAW,EAAE,qB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,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,QAAQ;YACrB,WAAW,EACT,uDAAuD;YACzD,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,MAAM,IAAA,2BAAkB,EAC7B,OAAO,CAAC,IAAI,CAAC,WAAqB,EAClC,qBAAS,CAAC,UAAU,EACpB;gBACE,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,SAAS;gBACvC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO;gBACnC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,QAAQ;gBACrC,gBAAgB,EAAE,OAAO,CAAC,UAAU,CAAC,gBAAgB;gBACrD,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,IAAI;gBAC7B,WAAW,EAAE,OAAO,CAAC,UAAU,CAAC,WAAW;gBAC3C,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM;aAClC,CACF,CAAC;QACJ,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const getPersonLookup: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
first_name: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
company_domain: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
4
|
-
last_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
5
|
-
title: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
6
|
-
location: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
7
|
-
enrich_profile: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
8
|
-
similarity_checks: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=get-person-lookup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-lookup.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-lookup.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;EAgF1B,CAAC"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPersonLookup = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../auth");
|
|
7
|
-
const client_1 = require("../common/client");
|
|
8
|
-
const constants_1 = require("../common/constants");
|
|
9
|
-
exports.getPersonLookup = (0, pieces_framework_1.createAction)({
|
|
10
|
-
name: 'get_person_lookup',
|
|
11
|
-
auth: auth_1.enrichlayerAuth,
|
|
12
|
-
displayName: 'Look Up Person',
|
|
13
|
-
description: 'Look up a person by name and company information (2 credits)',
|
|
14
|
-
audience: 'both',
|
|
15
|
-
aiMetadata: {
|
|
16
|
-
description: "Resolve a single person's professional-network profile from their first name plus a company name or domain (both required), optionally refined by last name, title, or location. Read-only and safe to retry. Use this as the entry point when you have a name and employer but no profile URL; once you have the URL use Get Person Profile to enrich. Similarity checks consume credits even when no match is found.",
|
|
17
|
-
idempotent: true,
|
|
18
|
-
},
|
|
19
|
-
props: {
|
|
20
|
-
first_name: pieces_framework_1.Property.ShortText({
|
|
21
|
-
displayName: 'First Name',
|
|
22
|
-
description: 'First name of the person (e.g., Bill)',
|
|
23
|
-
required: true,
|
|
24
|
-
}),
|
|
25
|
-
company_domain: pieces_framework_1.Property.ShortText({
|
|
26
|
-
displayName: 'Company Name or Domain',
|
|
27
|
-
description: 'Company name or domain (e.g., gatesfoundation.org)',
|
|
28
|
-
required: true,
|
|
29
|
-
}),
|
|
30
|
-
last_name: pieces_framework_1.Property.ShortText({
|
|
31
|
-
displayName: 'Last Name',
|
|
32
|
-
description: 'Last name of the person (e.g., Gates)',
|
|
33
|
-
required: false,
|
|
34
|
-
}),
|
|
35
|
-
title: pieces_framework_1.Property.ShortText({
|
|
36
|
-
displayName: 'Title',
|
|
37
|
-
description: 'Title the person holds at their current job (e.g., Co-chair)',
|
|
38
|
-
required: false,
|
|
39
|
-
}),
|
|
40
|
-
location: pieces_framework_1.Property.ShortText({
|
|
41
|
-
displayName: 'Location',
|
|
42
|
-
description: 'Country, city, or state name (e.g., Seattle)',
|
|
43
|
-
required: false,
|
|
44
|
-
}),
|
|
45
|
-
enrich_profile: pieces_framework_1.Property.StaticDropdown({
|
|
46
|
-
displayName: 'Enrich Profile',
|
|
47
|
-
description: 'Enrich the result with cached profile data (+1 credit)',
|
|
48
|
-
required: false,
|
|
49
|
-
options: {
|
|
50
|
-
options: [
|
|
51
|
-
{ label: 'Skip (default)', value: 'skip' },
|
|
52
|
-
{ label: 'Enrich (+1 credit)', value: 'enrich' },
|
|
53
|
-
],
|
|
54
|
-
},
|
|
55
|
-
}),
|
|
56
|
-
similarity_checks: pieces_framework_1.Property.StaticDropdown({
|
|
57
|
-
displayName: 'Similarity Checks',
|
|
58
|
-
description: 'Perform similarity checks to eliminate false positives. Credits are deducted even if null is returned.',
|
|
59
|
-
required: false,
|
|
60
|
-
options: {
|
|
61
|
-
options: [
|
|
62
|
-
{ label: 'Include (default)', value: 'include' },
|
|
63
|
-
{ label: 'Skip (no credits if no result)', value: 'skip' },
|
|
64
|
-
],
|
|
65
|
-
},
|
|
66
|
-
}),
|
|
67
|
-
},
|
|
68
|
-
run(context) {
|
|
69
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
70
|
-
return yield (0, client_1.enrichlayerApiCall)(context.auth.secret_text, constants_1.ENDPOINTS.PERSON_LOOKUP, {
|
|
71
|
-
first_name: context.propsValue.first_name,
|
|
72
|
-
company_domain: context.propsValue.company_domain,
|
|
73
|
-
last_name: context.propsValue.last_name,
|
|
74
|
-
title: context.propsValue.title,
|
|
75
|
-
location: context.propsValue.location,
|
|
76
|
-
enrich_profile: context.propsValue.enrich_profile,
|
|
77
|
-
similarity_checks: context.propsValue.similarity_checks,
|
|
78
|
-
});
|
|
79
|
-
});
|
|
80
|
-
},
|
|
81
|
-
});
|
|
82
|
-
//# sourceMappingURL=get-person-lookup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-lookup.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-lookup.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAA0C;AAC1C,6CAAsD;AACtD,mDAAgD;AAEnC,QAAA,eAAe,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,sBAAe;IACrB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EACT,8DAA8D;IAChE,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,wZAAwZ;QAC1Z,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,uCAAuC;YACpD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,cAAc,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACjC,WAAW,EAAE,wBAAwB;YACrC,WAAW,EACT,oDAAoD;YACtD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC5B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,uCAAuC;YACpD,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EACT,8DAA8D;YAChE,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,UAAU;YACvB,WAAW,EAAE,8CAA8C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
export declare const getPersonPicture: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
person_profile_url: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
3
|
-
}>;
|
|
4
|
-
//# sourceMappingURL=get-person-picture.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-picture.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-picture.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;EA6B3B,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPersonPicture = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../auth");
|
|
7
|
-
const client_1 = require("../common/client");
|
|
8
|
-
const constants_1 = require("../common/constants");
|
|
9
|
-
exports.getPersonPicture = (0, pieces_framework_1.createAction)({
|
|
10
|
-
name: 'get_person_picture',
|
|
11
|
-
auth: auth_1.enrichlayerAuth,
|
|
12
|
-
displayName: 'Get Person Profile Picture',
|
|
13
|
-
description: 'Get the profile picture URL of a person from cached profiles (0 credits)',
|
|
14
|
-
audience: 'both',
|
|
15
|
-
aiMetadata: {
|
|
16
|
-
description: "Return the profile picture URL for a person from a known professional-network profile URL, served from cached profiles. Read-only, free, and safe to retry. Use only when you need the avatar image link; for full profile data use Get Person Profile.",
|
|
17
|
-
idempotent: true,
|
|
18
|
-
},
|
|
19
|
-
props: {
|
|
20
|
-
person_profile_url: pieces_framework_1.Property.ShortText({
|
|
21
|
-
displayName: 'Person Profile URL',
|
|
22
|
-
description: 'Professional network person URL (e.g., https://www.linkedin.com/in/williamhgates/)',
|
|
23
|
-
required: true,
|
|
24
|
-
}),
|
|
25
|
-
},
|
|
26
|
-
run(context) {
|
|
27
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
28
|
-
return yield (0, client_1.enrichlayerApiCall)(context.auth.secret_text, constants_1.ENDPOINTS.PERSON_PICTURE, {
|
|
29
|
-
person_profile_url: context.propsValue.person_profile_url,
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=get-person-picture.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-picture.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-picture.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAA0C;AAC1C,6CAAsD;AACtD,mDAAgD;AAEnC,QAAA,gBAAgB,GAAG,IAAA,+BAAY,EAAC;IAC3C,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,sBAAe;IACrB,WAAW,EAAE,4BAA4B;IACzC,WAAW,EACT,0EAA0E;IAC5E,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,yPAAyP;QAC3P,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,kBAAkB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACrC,WAAW,EAAE,oBAAoB;YACjC,WAAW,EACT,oFAAoF;YACtF,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,MAAM,IAAA,2BAAkB,EAC7B,OAAO,CAAC,IAAI,CAAC,WAAqB,EAClC,qBAAS,CAAC,cAAc,EACxB;gBACE,kBAAkB,EAAE,OAAO,CAAC,UAAU,CAAC,kBAAkB;aAC1D,CACF,CAAC;QACJ,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const getPersonProfile: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
profile_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
3
|
-
twitter_profile_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
4
|
-
facebook_profile_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
5
|
-
extra: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
6
|
-
github_profile_id: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
7
|
-
facebook_profile_id: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
8
|
-
twitter_profile_id: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
9
|
-
personal_contact_number: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
10
|
-
personal_email: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
11
|
-
skills: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
12
|
-
inferred_salary: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
13
|
-
use_cache: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
14
|
-
fallback_to_cache: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
15
|
-
live_fetch: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
16
|
-
}>;
|
|
17
|
-
//# sourceMappingURL=get-person-profile.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-profile.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-profile.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;EAgL3B,CAAC"}
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPersonProfile = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
6
|
-
const auth_1 = require("../auth");
|
|
7
|
-
const client_1 = require("../common/client");
|
|
8
|
-
const constants_1 = require("../common/constants");
|
|
9
|
-
exports.getPersonProfile = (0, pieces_framework_1.createAction)({
|
|
10
|
-
name: 'get_person_profile',
|
|
11
|
-
auth: auth_1.enrichlayerAuth,
|
|
12
|
-
displayName: 'Get Person Profile',
|
|
13
|
-
description: 'Get structured data of a Person Profile from a professional network URL (1 credit)',
|
|
14
|
-
audience: 'both',
|
|
15
|
-
aiMetadata: {
|
|
16
|
-
description: "Retrieve a full structured person profile from a known professional-network, Twitter/X, or Facebook URL (supply exactly one); read-only and safe to retry. Use when you already have the profile URL. If you only have a name and company, call Look Up Person first to resolve the URL. Optional enrichments (contact numbers, personal emails, social IDs, Live Fetch) add credits.",
|
|
17
|
-
idempotent: true,
|
|
18
|
-
},
|
|
19
|
-
props: {
|
|
20
|
-
profile_url: pieces_framework_1.Property.ShortText({
|
|
21
|
-
displayName: 'Profile URL',
|
|
22
|
-
description: 'Professional network profile URL (e.g., https://linkedin.com/in/johnrmarty/). Provide only one of Profile URL, Twitter URL, or Facebook URL.',
|
|
23
|
-
required: false,
|
|
24
|
-
}),
|
|
25
|
-
twitter_profile_url: pieces_framework_1.Property.ShortText({
|
|
26
|
-
displayName: 'Twitter/X Profile URL',
|
|
27
|
-
description: 'Twitter/X profile URL (e.g., https://x.com/johnrmarty/). Provide only one of Profile URL, Twitter URL, or Facebook URL.',
|
|
28
|
-
required: false,
|
|
29
|
-
}),
|
|
30
|
-
facebook_profile_url: pieces_framework_1.Property.ShortText({
|
|
31
|
-
displayName: 'Facebook Profile URL',
|
|
32
|
-
description: 'Facebook profile URL (e.g., https://facebook.com/johnrmarty/). Provide only one of Profile URL, Twitter URL, or Facebook URL.',
|
|
33
|
-
required: false,
|
|
34
|
-
}),
|
|
35
|
-
extra: pieces_framework_1.Property.StaticDropdown({
|
|
36
|
-
displayName: 'Include Extra Data',
|
|
37
|
-
description: 'Enrich with gender, birth date, industry, and interests (+1 credit)',
|
|
38
|
-
required: false,
|
|
39
|
-
options: {
|
|
40
|
-
options: [
|
|
41
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
42
|
-
{ label: 'Include (+1 credit)', value: 'include' },
|
|
43
|
-
],
|
|
44
|
-
},
|
|
45
|
-
}),
|
|
46
|
-
github_profile_id: pieces_framework_1.Property.StaticDropdown({
|
|
47
|
-
displayName: 'Include GitHub Profile ID',
|
|
48
|
-
description: 'Enrich with GitHub ID (+1 credit)',
|
|
49
|
-
required: false,
|
|
50
|
-
options: {
|
|
51
|
-
options: [
|
|
52
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
53
|
-
{ label: 'Include (+1 credit)', value: 'include' },
|
|
54
|
-
],
|
|
55
|
-
},
|
|
56
|
-
}),
|
|
57
|
-
facebook_profile_id: pieces_framework_1.Property.StaticDropdown({
|
|
58
|
-
displayName: 'Include Facebook Profile ID',
|
|
59
|
-
description: 'Enrich with Facebook ID (+1 credit)',
|
|
60
|
-
required: false,
|
|
61
|
-
options: {
|
|
62
|
-
options: [
|
|
63
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
64
|
-
{ label: 'Include (+1 credit)', value: 'include' },
|
|
65
|
-
],
|
|
66
|
-
},
|
|
67
|
-
}),
|
|
68
|
-
twitter_profile_id: pieces_framework_1.Property.StaticDropdown({
|
|
69
|
-
displayName: 'Include Twitter Profile ID',
|
|
70
|
-
description: 'Enrich with Twitter ID (+1 credit)',
|
|
71
|
-
required: false,
|
|
72
|
-
options: {
|
|
73
|
-
options: [
|
|
74
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
75
|
-
{ label: 'Include (+1 credit)', value: 'include' },
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
}),
|
|
79
|
-
personal_contact_number: pieces_framework_1.Property.StaticDropdown({
|
|
80
|
-
displayName: 'Include Personal Contact Numbers',
|
|
81
|
-
description: 'Enrich with personal numbers (+1 credit per number)',
|
|
82
|
-
required: false,
|
|
83
|
-
options: {
|
|
84
|
-
options: [
|
|
85
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
86
|
-
{ label: 'Include (+1 credit per number)', value: 'include' },
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
}),
|
|
90
|
-
personal_email: pieces_framework_1.Property.StaticDropdown({
|
|
91
|
-
displayName: 'Include Personal Emails',
|
|
92
|
-
description: 'Enrich with personal emails (+1 credit per email)',
|
|
93
|
-
required: false,
|
|
94
|
-
options: {
|
|
95
|
-
options: [
|
|
96
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
97
|
-
{ label: 'Include (+1 credit per email)', value: 'include' },
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
}),
|
|
101
|
-
skills: pieces_framework_1.Property.StaticDropdown({
|
|
102
|
-
displayName: 'Include Skills',
|
|
103
|
-
description: 'Include skills data (no extra credit)',
|
|
104
|
-
required: false,
|
|
105
|
-
options: {
|
|
106
|
-
options: [
|
|
107
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
108
|
-
{ label: 'Include (no extra credit)', value: 'include' },
|
|
109
|
-
],
|
|
110
|
-
},
|
|
111
|
-
}),
|
|
112
|
-
inferred_salary: pieces_framework_1.Property.StaticDropdown({
|
|
113
|
-
displayName: 'Include Inferred Salary (Deprecated)',
|
|
114
|
-
description: 'Include inferred salary range (+1 credit)',
|
|
115
|
-
required: false,
|
|
116
|
-
options: {
|
|
117
|
-
options: [
|
|
118
|
-
{ label: 'Exclude (default)', value: 'exclude' },
|
|
119
|
-
{ label: 'Include (+1 credit)', value: 'include' },
|
|
120
|
-
],
|
|
121
|
-
},
|
|
122
|
-
}),
|
|
123
|
-
use_cache: pieces_framework_1.Property.StaticDropdown({
|
|
124
|
-
displayName: 'Cache Strategy',
|
|
125
|
-
description: 'Control how cached data is used',
|
|
126
|
-
required: false,
|
|
127
|
-
options: {
|
|
128
|
-
options: [
|
|
129
|
-
{ label: 'If Present (default)', value: 'if-present' },
|
|
130
|
-
{ label: 'If Recent (+1 credit)', value: 'if-recent' },
|
|
131
|
-
],
|
|
132
|
-
},
|
|
133
|
-
}),
|
|
134
|
-
fallback_to_cache: pieces_framework_1.Property.StaticDropdown({
|
|
135
|
-
displayName: 'Fallback to Cache',
|
|
136
|
-
description: 'Fallback behavior if fetching a fresh profile fails',
|
|
137
|
-
required: false,
|
|
138
|
-
options: {
|
|
139
|
-
options: [
|
|
140
|
-
{ label: 'On Error (default)', value: 'on-error' },
|
|
141
|
-
{ label: 'Never', value: 'never' },
|
|
142
|
-
],
|
|
143
|
-
},
|
|
144
|
-
}),
|
|
145
|
-
live_fetch: pieces_framework_1.Property.StaticDropdown({
|
|
146
|
-
displayName: 'Live Fetch',
|
|
147
|
-
description: 'Force a fresh profile fetch (+9 credits)',
|
|
148
|
-
required: false,
|
|
149
|
-
options: {
|
|
150
|
-
options: [
|
|
151
|
-
{ label: 'Default', value: 'default' },
|
|
152
|
-
{ label: 'Force (+9 credits)', value: 'force' },
|
|
153
|
-
],
|
|
154
|
-
},
|
|
155
|
-
}),
|
|
156
|
-
},
|
|
157
|
-
run(context) {
|
|
158
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
159
|
-
return yield (0, client_1.enrichlayerApiCall)(context.auth.secret_text, constants_1.ENDPOINTS.PERSON_PROFILE, {
|
|
160
|
-
profile_url: context.propsValue.profile_url,
|
|
161
|
-
twitter_profile_url: context.propsValue.twitter_profile_url,
|
|
162
|
-
facebook_profile_url: context.propsValue.facebook_profile_url,
|
|
163
|
-
extra: context.propsValue.extra,
|
|
164
|
-
github_profile_id: context.propsValue.github_profile_id,
|
|
165
|
-
facebook_profile_id: context.propsValue.facebook_profile_id,
|
|
166
|
-
twitter_profile_id: context.propsValue.twitter_profile_id,
|
|
167
|
-
personal_contact_number: context.propsValue.personal_contact_number,
|
|
168
|
-
personal_email: context.propsValue.personal_email,
|
|
169
|
-
skills: context.propsValue.skills,
|
|
170
|
-
inferred_salary: context.propsValue.inferred_salary,
|
|
171
|
-
use_cache: context.propsValue.use_cache,
|
|
172
|
-
fallback_to_cache: context.propsValue.fallback_to_cache,
|
|
173
|
-
live_fetch: context.propsValue.live_fetch,
|
|
174
|
-
});
|
|
175
|
-
});
|
|
176
|
-
},
|
|
177
|
-
});
|
|
178
|
-
//# sourceMappingURL=get-person-profile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-profile.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-profile.ts"],"names":[],"mappings":";;;;AAAA,qEAAwE;AACxE,kCAA0C;AAC1C,6CAAsD;AACtD,mDAAgD;AAEnC,QAAA,gBAAgB,GAAG,IAAA,+BAAY,EAAC;IAC3C,IAAI,EAAE,oBAAoB;IAC1B,IAAI,EAAE,sBAAe;IACrB,WAAW,EAAE,oBAAoB;IACjC,WAAW,EACT,oFAAoF;IACtF,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE;QACV,WAAW,EACT,uXAAuX;QACzX,UAAU,EAAE,IAAI;KACjB;IACD,KAAK,EAAE;QACL,WAAW,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC9B,WAAW,EAAE,aAAa;YAC1B,WAAW,EACT,8IAA8I;YAChJ,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,mBAAmB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACtC,WAAW,EAAE,uBAAuB;YACpC,WAAW,EACT,yHAAyH;YAC3H,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,oBAAoB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACvC,WAAW,EAAE,sBAAsB;YACnC,WAAW,EACT,+HAA+H;YACjI,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC7B,WAAW,EAAE,oBAAoB;YACjC,WAAW,EACT,qEAAqE;YACvE,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,EAAE,KAAK,EAAE,mBAAmB,EA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zD,uBAAuB,EAAE,OAAO,CAAC,UAAU,CAAC,uBAAuB;gBACnE,cAAc,EAAE,OAAO,CAAC,UAAU,CAAC,cAAc;gBACjD,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM;gBACjC,eAAe,EAAE,OAAO,CAAC,UAAU,CAAC,eAAe;gBACnD,SAAS,EAAE,OAAO,CAAC,UAAU,CAAC,SAAS;gBACvC,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,iBAAiB;gBACvD,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,UAAU;aAC1C,CACF,CAAC;QACJ,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare const getPersonSearch: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").SecretTextProperty<true>, {
|
|
2
|
-
country: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
3
|
-
region: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
4
|
-
city: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
5
|
-
first_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
6
|
-
last_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
7
|
-
headline: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
8
|
-
summary: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
9
|
-
current_role_title: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
10
|
-
past_role_title: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
11
|
-
current_role_before: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
12
|
-
current_role_after: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
13
|
-
current_company_profile_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
14
|
-
past_company_profile_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
15
|
-
current_company_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
16
|
-
past_company_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
17
|
-
current_job_description: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
18
|
-
past_job_description: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
19
|
-
current_company_country: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
20
|
-
current_company_region: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
21
|
-
current_company_city: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
22
|
-
current_company_type: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
23
|
-
current_company_industry: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
24
|
-
current_company_primary_industry: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
25
|
-
current_company_specialities: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
26
|
-
current_company_employee_count_category: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
27
|
-
current_company_employee_count_min: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
28
|
-
current_company_employee_count_max: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
29
|
-
current_company_follower_count_min: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
30
|
-
current_company_follower_count_max: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
31
|
-
current_company_description: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
32
|
-
current_company_founded_after_year: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
33
|
-
current_company_founded_before_year: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
34
|
-
current_company_funding_amount_min: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
35
|
-
current_company_funding_amount_max: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
36
|
-
current_company_funding_raised_after: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
37
|
-
current_company_funding_raised_before: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
38
|
-
current_company_domain_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
39
|
-
education_field_of_study: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
40
|
-
education_degree_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
41
|
-
education_school_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
42
|
-
education_school_profile_url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
43
|
-
industries: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
44
|
-
interests: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
45
|
-
skills: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
46
|
-
skills_all_in_list: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
47
|
-
languages: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
48
|
-
groups: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
49
|
-
follower_count_min: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
50
|
-
follower_count_max: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
51
|
-
public_identifier_in_list: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
52
|
-
public_identifier_not_in_list: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
53
|
-
page_size: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
54
|
-
enrich_profiles: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
55
|
-
use_cache: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
56
|
-
}>;
|
|
57
|
-
//# sourceMappingURL=get-person-search.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-person-search.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-search.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Z1B,CAAC"}
|