@activepieces/piece-enrichlayer 0.0.1

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.
Files changed (117) hide show
  1. package/package.json +17 -0
  2. package/src/index.d.ts +2 -0
  3. package/src/index.d.ts.map +1 -0
  4. package/src/index.js +80 -0
  5. package/src/index.js.map +1 -0
  6. package/src/lib/actions/get-company-id-lookup.d.ts +4 -0
  7. package/src/lib/actions/get-company-id-lookup.d.ts.map +1 -0
  8. package/src/lib/actions/get-company-id-lookup.js +29 -0
  9. package/src/lib/actions/get-company-id-lookup.js.map +1 -0
  10. package/src/lib/actions/get-company-lookup.d.ts +7 -0
  11. package/src/lib/actions/get-company-lookup.d.ts.map +1 -0
  12. package/src/lib/actions/get-company-lookup.js +53 -0
  13. package/src/lib/actions/get-company-lookup.js.map +1 -0
  14. package/src/lib/actions/get-company-picture.d.ts +4 -0
  15. package/src/lib/actions/get-company-picture.d.ts.map +1 -0
  16. package/src/lib/actions/get-company-picture.js +29 -0
  17. package/src/lib/actions/get-company-picture.js.map +1 -0
  18. package/src/lib/actions/get-company-profile.d.ts +11 -0
  19. package/src/lib/actions/get-company-profile.d.ts.map +1 -0
  20. package/src/lib/actions/get-company-profile.js +113 -0
  21. package/src/lib/actions/get-company-profile.js.map +1 -0
  22. package/src/lib/actions/get-company-search.d.ts +29 -0
  23. package/src/lib/actions/get-company-search.d.ts.map +1 -0
  24. package/src/lib/actions/get-company-search.js +213 -0
  25. package/src/lib/actions/get-company-search.js.map +1 -0
  26. package/src/lib/actions/get-credit-balance.d.ts +2 -0
  27. package/src/lib/actions/get-credit-balance.d.ts.map +1 -0
  28. package/src/lib/actions/get-credit-balance.js +21 -0
  29. package/src/lib/actions/get-credit-balance.js.map +1 -0
  30. package/src/lib/actions/get-disposable-email-check.d.ts +4 -0
  31. package/src/lib/actions/get-disposable-email-check.d.ts.map +1 -0
  32. package/src/lib/actions/get-disposable-email-check.js +29 -0
  33. package/src/lib/actions/get-disposable-email-check.js.map +1 -0
  34. package/src/lib/actions/get-employee-count.d.ts +9 -0
  35. package/src/lib/actions/get-employee-count.d.ts.map +1 -0
  36. package/src/lib/actions/get-employee-count.js +84 -0
  37. package/src/lib/actions/get-employee-count.js.map +1 -0
  38. package/src/lib/actions/get-employee-listing.d.ts +14 -0
  39. package/src/lib/actions/get-employee-listing.d.ts.map +1 -0
  40. package/src/lib/actions/get-employee-listing.js +128 -0
  41. package/src/lib/actions/get-employee-listing.js.map +1 -0
  42. package/src/lib/actions/get-employee-search.d.ts +10 -0
  43. package/src/lib/actions/get-employee-search.d.ts.map +1 -0
  44. package/src/lib/actions/get-employee-search.js +77 -0
  45. package/src/lib/actions/get-employee-search.js.map +1 -0
  46. package/src/lib/actions/get-job-count.d.ts +10 -0
  47. package/src/lib/actions/get-job-count.d.ts.map +1 -0
  48. package/src/lib/actions/get-job-count.js +102 -0
  49. package/src/lib/actions/get-job-count.js.map +1 -0
  50. package/src/lib/actions/get-job-profile.d.ts +4 -0
  51. package/src/lib/actions/get-job-profile.d.ts.map +1 -0
  52. package/src/lib/actions/get-job-profile.js +29 -0
  53. package/src/lib/actions/get-job-profile.js.map +1 -0
  54. package/src/lib/actions/get-job-search.d.ts +10 -0
  55. package/src/lib/actions/get-job-search.d.ts.map +1 -0
  56. package/src/lib/actions/get-job-search.js +102 -0
  57. package/src/lib/actions/get-job-search.js.map +1 -0
  58. package/src/lib/actions/get-person-lookup.d.ts +10 -0
  59. package/src/lib/actions/get-person-lookup.d.ts.map +1 -0
  60. package/src/lib/actions/get-person-lookup.js +77 -0
  61. package/src/lib/actions/get-person-lookup.js.map +1 -0
  62. package/src/lib/actions/get-person-picture.d.ts +4 -0
  63. package/src/lib/actions/get-person-picture.d.ts.map +1 -0
  64. package/src/lib/actions/get-person-picture.js +29 -0
  65. package/src/lib/actions/get-person-picture.js.map +1 -0
  66. package/src/lib/actions/get-person-profile.d.ts +17 -0
  67. package/src/lib/actions/get-person-profile.d.ts.map +1 -0
  68. package/src/lib/actions/get-person-profile.js +173 -0
  69. package/src/lib/actions/get-person-profile.js.map +1 -0
  70. package/src/lib/actions/get-person-search.d.ts +57 -0
  71. package/src/lib/actions/get-person-search.d.ts.map +1 -0
  72. package/src/lib/actions/get-person-search.js +381 -0
  73. package/src/lib/actions/get-person-search.js.map +1 -0
  74. package/src/lib/actions/get-personal-contact.d.ts +7 -0
  75. package/src/lib/actions/get-personal-contact.d.ts.map +1 -0
  76. package/src/lib/actions/get-personal-contact.js +47 -0
  77. package/src/lib/actions/get-personal-contact.js.map +1 -0
  78. package/src/lib/actions/get-personal-email.d.ts +8 -0
  79. package/src/lib/actions/get-personal-email.d.ts.map +1 -0
  80. package/src/lib/actions/get-personal-email.js +63 -0
  81. package/src/lib/actions/get-personal-email.js.map +1 -0
  82. package/src/lib/actions/get-reverse-email-lookup.d.ts +6 -0
  83. package/src/lib/actions/get-reverse-email-lookup.d.ts.map +1 -0
  84. package/src/lib/actions/get-reverse-email-lookup.js +56 -0
  85. package/src/lib/actions/get-reverse-email-lookup.js.map +1 -0
  86. package/src/lib/actions/get-reverse-phone-lookup.d.ts +4 -0
  87. package/src/lib/actions/get-reverse-phone-lookup.d.ts.map +1 -0
  88. package/src/lib/actions/get-reverse-phone-lookup.js +29 -0
  89. package/src/lib/actions/get-reverse-phone-lookup.js.map +1 -0
  90. package/src/lib/actions/get-role-lookup.d.ts +6 -0
  91. package/src/lib/actions/get-role-lookup.d.ts.map +1 -0
  92. package/src/lib/actions/get-role-lookup.js +47 -0
  93. package/src/lib/actions/get-role-lookup.js.map +1 -0
  94. package/src/lib/actions/get-school-profile.d.ts +6 -0
  95. package/src/lib/actions/get-school-profile.d.ts.map +1 -0
  96. package/src/lib/actions/get-school-profile.js +53 -0
  97. package/src/lib/actions/get-school-profile.js.map +1 -0
  98. package/src/lib/actions/get-student-listing.d.ts +11 -0
  99. package/src/lib/actions/get-student-listing.d.ts.map +1 -0
  100. package/src/lib/actions/get-student-listing.js +97 -0
  101. package/src/lib/actions/get-student-listing.js.map +1 -0
  102. package/src/lib/actions/get-work-email-lookup.d.ts +5 -0
  103. package/src/lib/actions/get-work-email-lookup.d.ts.map +1 -0
  104. package/src/lib/actions/get-work-email-lookup.js +35 -0
  105. package/src/lib/actions/get-work-email-lookup.js.map +1 -0
  106. package/src/lib/auth.d.ts +2 -0
  107. package/src/lib/auth.d.ts.map +1 -0
  108. package/src/lib/auth.js +22 -0
  109. package/src/lib/auth.js.map +1 -0
  110. package/src/lib/common/client.d.ts +2 -0
  111. package/src/lib/common/client.d.ts.map +1 -0
  112. package/src/lib/common/client.js +28 -0
  113. package/src/lib/common/client.js.map +1 -0
  114. package/src/lib/common/constants.d.ts +29 -0
  115. package/src/lib/common/constants.d.ts.map +1 -0
  116. package/src/lib/common/constants.js +32 -0
  117. package/src/lib/common/constants.js.map +1 -0
@@ -0,0 +1,173 @@
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
+ props: {
15
+ profile_url: pieces_framework_1.Property.ShortText({
16
+ displayName: 'Profile URL',
17
+ description: 'Professional network profile URL (e.g., https://linkedin.com/in/johnrmarty/). Provide only one of Profile URL, Twitter URL, or Facebook URL.',
18
+ required: false,
19
+ }),
20
+ twitter_profile_url: pieces_framework_1.Property.ShortText({
21
+ displayName: 'Twitter/X Profile URL',
22
+ description: 'Twitter/X profile URL (e.g., https://x.com/johnrmarty/). Provide only one of Profile URL, Twitter URL, or Facebook URL.',
23
+ required: false,
24
+ }),
25
+ facebook_profile_url: pieces_framework_1.Property.ShortText({
26
+ displayName: 'Facebook Profile URL',
27
+ description: 'Facebook profile URL (e.g., https://facebook.com/johnrmarty/). Provide only one of Profile URL, Twitter URL, or Facebook URL.',
28
+ required: false,
29
+ }),
30
+ extra: pieces_framework_1.Property.StaticDropdown({
31
+ displayName: 'Include Extra Data',
32
+ description: 'Enrich with gender, birth date, industry, and interests (+1 credit)',
33
+ required: false,
34
+ options: {
35
+ options: [
36
+ { label: 'Exclude (default)', value: 'exclude' },
37
+ { label: 'Include (+1 credit)', value: 'include' },
38
+ ],
39
+ },
40
+ }),
41
+ github_profile_id: pieces_framework_1.Property.StaticDropdown({
42
+ displayName: 'Include GitHub Profile ID',
43
+ description: 'Enrich with GitHub ID (+1 credit)',
44
+ required: false,
45
+ options: {
46
+ options: [
47
+ { label: 'Exclude (default)', value: 'exclude' },
48
+ { label: 'Include (+1 credit)', value: 'include' },
49
+ ],
50
+ },
51
+ }),
52
+ facebook_profile_id: pieces_framework_1.Property.StaticDropdown({
53
+ displayName: 'Include Facebook Profile ID',
54
+ description: 'Enrich with Facebook ID (+1 credit)',
55
+ required: false,
56
+ options: {
57
+ options: [
58
+ { label: 'Exclude (default)', value: 'exclude' },
59
+ { label: 'Include (+1 credit)', value: 'include' },
60
+ ],
61
+ },
62
+ }),
63
+ twitter_profile_id: pieces_framework_1.Property.StaticDropdown({
64
+ displayName: 'Include Twitter Profile ID',
65
+ description: 'Enrich with Twitter ID (+1 credit)',
66
+ required: false,
67
+ options: {
68
+ options: [
69
+ { label: 'Exclude (default)', value: 'exclude' },
70
+ { label: 'Include (+1 credit)', value: 'include' },
71
+ ],
72
+ },
73
+ }),
74
+ personal_contact_number: pieces_framework_1.Property.StaticDropdown({
75
+ displayName: 'Include Personal Contact Numbers',
76
+ description: 'Enrich with personal numbers (+1 credit per number)',
77
+ required: false,
78
+ options: {
79
+ options: [
80
+ { label: 'Exclude (default)', value: 'exclude' },
81
+ { label: 'Include (+1 credit per number)', value: 'include' },
82
+ ],
83
+ },
84
+ }),
85
+ personal_email: pieces_framework_1.Property.StaticDropdown({
86
+ displayName: 'Include Personal Emails',
87
+ description: 'Enrich with personal emails (+1 credit per email)',
88
+ required: false,
89
+ options: {
90
+ options: [
91
+ { label: 'Exclude (default)', value: 'exclude' },
92
+ { label: 'Include (+1 credit per email)', value: 'include' },
93
+ ],
94
+ },
95
+ }),
96
+ skills: pieces_framework_1.Property.StaticDropdown({
97
+ displayName: 'Include Skills',
98
+ description: 'Include skills data (no extra credit)',
99
+ required: false,
100
+ options: {
101
+ options: [
102
+ { label: 'Exclude (default)', value: 'exclude' },
103
+ { label: 'Include (no extra credit)', value: 'include' },
104
+ ],
105
+ },
106
+ }),
107
+ inferred_salary: pieces_framework_1.Property.StaticDropdown({
108
+ displayName: 'Include Inferred Salary (Deprecated)',
109
+ description: 'Include inferred salary range (+1 credit)',
110
+ required: false,
111
+ options: {
112
+ options: [
113
+ { label: 'Exclude (default)', value: 'exclude' },
114
+ { label: 'Include (+1 credit)', value: 'include' },
115
+ ],
116
+ },
117
+ }),
118
+ use_cache: pieces_framework_1.Property.StaticDropdown({
119
+ displayName: 'Cache Strategy',
120
+ description: 'Control how cached data is used',
121
+ required: false,
122
+ options: {
123
+ options: [
124
+ { label: 'If Present (default)', value: 'if-present' },
125
+ { label: 'If Recent (+1 credit)', value: 'if-recent' },
126
+ ],
127
+ },
128
+ }),
129
+ fallback_to_cache: pieces_framework_1.Property.StaticDropdown({
130
+ displayName: 'Fallback to Cache',
131
+ description: 'Fallback behavior if fetching a fresh profile fails',
132
+ required: false,
133
+ options: {
134
+ options: [
135
+ { label: 'On Error (default)', value: 'on-error' },
136
+ { label: 'Never', value: 'never' },
137
+ ],
138
+ },
139
+ }),
140
+ live_fetch: pieces_framework_1.Property.StaticDropdown({
141
+ displayName: 'Live Fetch',
142
+ description: 'Force a fresh profile fetch (+9 credits)',
143
+ required: false,
144
+ options: {
145
+ options: [
146
+ { label: 'Default', value: 'default' },
147
+ { label: 'Force (+9 credits)', value: 'force' },
148
+ ],
149
+ },
150
+ }),
151
+ },
152
+ run(context) {
153
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
154
+ return yield (0, client_1.enrichlayerApiCall)(context.auth.secret_text, constants_1.ENDPOINTS.PERSON_PROFILE, {
155
+ profile_url: context.propsValue.profile_url,
156
+ twitter_profile_url: context.propsValue.twitter_profile_url,
157
+ facebook_profile_url: context.propsValue.facebook_profile_url,
158
+ extra: context.propsValue.extra,
159
+ github_profile_id: context.propsValue.github_profile_id,
160
+ facebook_profile_id: context.propsValue.facebook_profile_id,
161
+ twitter_profile_id: context.propsValue.twitter_profile_id,
162
+ personal_contact_number: context.propsValue.personal_contact_number,
163
+ personal_email: context.propsValue.personal_email,
164
+ skills: context.propsValue.skills,
165
+ inferred_salary: context.propsValue.inferred_salary,
166
+ use_cache: context.propsValue.use_cache,
167
+ fallback_to_cache: context.propsValue.fallback_to_cache,
168
+ live_fetch: context.propsValue.live_fetch,
169
+ });
170
+ });
171
+ },
172
+ });
173
+ //# sourceMappingURL=get-person-profile.js.map
@@ -0,0 +1 @@
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,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,yHAAy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,EAAE,OAAO,CAAC,UAAU,CAAC,WAAW;gBAC3C,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC,mBAAmB;gBAC3D,oBAAoB,EAAE,OAAO,CAAC,UAAU,CAAC,oBAAoB;gBAC7D,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK;gBAC/B,iBAAiB,EAAE,OAAO,CAAC,UAAU,CAAC,iBAAiB;gBACvD,mBAAmB,EAAE,OAAO,CAAC,UAAU,CAAC,mBAAmB;gBAC3D,kBAAkB,EAAE,OAAO,CAAC,UAAU,CAAC,kBAAkB;gBACzD,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"}
@@ -0,0 +1,57 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-person-search.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-search.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuZ1B,CAAC"}
@@ -0,0 +1,381 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getPersonSearch = 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.getPersonSearch = (0, pieces_framework_1.createAction)({
10
+ name: 'get_person_search',
11
+ auth: auth_1.enrichlayerAuth,
12
+ displayName: 'Search People',
13
+ description: 'Search for people matching a set of criteria across an exhaustive dataset (3 credits per profile URL returned)',
14
+ props: {
15
+ country: pieces_framework_1.Property.ShortText({
16
+ displayName: 'Country',
17
+ description: 'Filter by country (ISO 3166-1 alpha-2, e.g., US)',
18
+ required: false,
19
+ }),
20
+ region: pieces_framework_1.Property.ShortText({
21
+ displayName: 'Region',
22
+ description: 'Filter by state/province (e.g., California or Washington)',
23
+ required: false,
24
+ }),
25
+ city: pieces_framework_1.Property.ShortText({
26
+ displayName: 'City',
27
+ description: 'Filter by city (e.g., Seattle OR "Palo Alto")',
28
+ required: false,
29
+ }),
30
+ first_name: pieces_framework_1.Property.ShortText({
31
+ displayName: 'First Name',
32
+ description: 'Filter by first name (e.g., Bill OR Mark)',
33
+ required: false,
34
+ }),
35
+ last_name: pieces_framework_1.Property.ShortText({
36
+ displayName: 'Last Name',
37
+ description: 'Filter by last name (e.g., Gates or Zuckerberg)',
38
+ required: false,
39
+ }),
40
+ headline: pieces_framework_1.Property.ShortText({
41
+ displayName: 'Headline',
42
+ description: 'Filter by headline (boolean search)',
43
+ required: false,
44
+ }),
45
+ summary: pieces_framework_1.Property.ShortText({
46
+ displayName: 'Summary',
47
+ description: 'Filter by summary (boolean search)',
48
+ required: false,
49
+ }),
50
+ current_role_title: pieces_framework_1.Property.ShortText({
51
+ displayName: 'Current Role Title',
52
+ description: 'Filter by current job title (e.g., CEO || Founder)',
53
+ required: false,
54
+ }),
55
+ past_role_title: pieces_framework_1.Property.ShortText({
56
+ displayName: 'Past Role Title',
57
+ description: 'Filter by past job title (boolean search)',
58
+ required: false,
59
+ }),
60
+ current_role_before: pieces_framework_1.Property.ShortText({
61
+ displayName: 'Current Role Before',
62
+ description: 'People who started current role before this date (YYYY-MM-DD)',
63
+ required: false,
64
+ }),
65
+ current_role_after: pieces_framework_1.Property.ShortText({
66
+ displayName: 'Current Role After',
67
+ description: 'People who started current role after this date (YYYY-MM-DD)',
68
+ required: false,
69
+ }),
70
+ current_company_profile_url: pieces_framework_1.Property.ShortText({
71
+ displayName: 'Current Company Profile URL',
72
+ description: 'Filter by current company profile URL',
73
+ required: false,
74
+ }),
75
+ past_company_profile_url: pieces_framework_1.Property.ShortText({
76
+ displayName: 'Past Company Profile URL',
77
+ description: 'Filter by past company profile URL',
78
+ required: false,
79
+ }),
80
+ current_company_name: pieces_framework_1.Property.ShortText({
81
+ displayName: 'Current Company Name',
82
+ description: 'Filter by current company name (e.g., Stripe OR Apple)',
83
+ required: false,
84
+ }),
85
+ past_company_name: pieces_framework_1.Property.ShortText({
86
+ displayName: 'Past Company Name',
87
+ description: 'Filter by past company name (e.g., Stripe OR Apple)',
88
+ required: false,
89
+ }),
90
+ current_job_description: pieces_framework_1.Property.ShortText({
91
+ displayName: 'Current Job Description',
92
+ description: 'Filter by current job description (boolean search)',
93
+ required: false,
94
+ }),
95
+ past_job_description: pieces_framework_1.Property.ShortText({
96
+ displayName: 'Past Job Description',
97
+ description: 'Filter by past job description (boolean search)',
98
+ required: false,
99
+ }),
100
+ current_company_country: pieces_framework_1.Property.ShortText({
101
+ displayName: 'Current Company Country',
102
+ description: 'Filter by current company country (ISO alpha-2)',
103
+ required: false,
104
+ }),
105
+ current_company_region: pieces_framework_1.Property.ShortText({
106
+ displayName: 'Current Company Region',
107
+ description: 'Filter by current company region',
108
+ required: false,
109
+ }),
110
+ current_company_city: pieces_framework_1.Property.ShortText({
111
+ displayName: 'Current Company City',
112
+ description: 'Filter by current company city',
113
+ required: false,
114
+ }),
115
+ current_company_type: pieces_framework_1.Property.StaticDropdown({
116
+ displayName: 'Current Company Type',
117
+ description: 'Filter by current company type',
118
+ required: false,
119
+ options: {
120
+ options: [
121
+ { label: 'Educational', value: 'EDUCATIONAL' },
122
+ { label: 'Government Agency', value: 'GOVERNMENT_AGENCY' },
123
+ { label: 'Non-Profit', value: 'NON_PROFIT' },
124
+ { label: 'Partnership', value: 'PARTNERSHIP' },
125
+ { label: 'Privately Held', value: 'PRIVATELY_HELD' },
126
+ { label: 'Public Company', value: 'PUBLIC_COMPANY' },
127
+ { label: 'Self-Employed', value: 'SELF_EMPLOYED' },
128
+ { label: 'Sole Proprietorship', value: 'SELF_OWNED' },
129
+ ],
130
+ },
131
+ }),
132
+ current_company_industry: pieces_framework_1.Property.ShortText({
133
+ displayName: 'Current Company Industry',
134
+ description: 'Filter by current company industry (boolean search)',
135
+ required: false,
136
+ }),
137
+ current_company_primary_industry: pieces_framework_1.Property.ShortText({
138
+ displayName: 'Current Company Primary Industry',
139
+ description: 'Filter by current company primary industry',
140
+ required: false,
141
+ }),
142
+ current_company_specialities: pieces_framework_1.Property.ShortText({
143
+ displayName: 'Current Company Specialities',
144
+ description: 'Filter by current company speciality (boolean search)',
145
+ required: false,
146
+ }),
147
+ current_company_employee_count_category: pieces_framework_1.Property.StaticDropdown({
148
+ displayName: 'Current Company Employee Count Category',
149
+ description: 'Filter by current company size category',
150
+ required: false,
151
+ options: {
152
+ options: [
153
+ { label: 'Custom (default)', value: 'custom' },
154
+ { label: 'Startup (1-10)', value: 'startup' },
155
+ { label: 'Small (11-50)', value: 'small' },
156
+ { label: 'Medium (51-250)', value: 'medium' },
157
+ { label: 'Large (251-1000)', value: 'large' },
158
+ { label: 'Enterprise (1001+)', value: 'enterprise' },
159
+ ],
160
+ },
161
+ }),
162
+ current_company_employee_count_min: pieces_framework_1.Property.ShortText({
163
+ displayName: 'Current Company Min Employees',
164
+ description: 'Minimum employees at current company',
165
+ required: false,
166
+ }),
167
+ current_company_employee_count_max: pieces_framework_1.Property.ShortText({
168
+ displayName: 'Current Company Max Employees',
169
+ description: 'Maximum employees at current company',
170
+ required: false,
171
+ }),
172
+ current_company_follower_count_min: pieces_framework_1.Property.ShortText({
173
+ displayName: 'Current Company Min Followers',
174
+ description: 'Minimum follower count at current company',
175
+ required: false,
176
+ }),
177
+ current_company_follower_count_max: pieces_framework_1.Property.ShortText({
178
+ displayName: 'Current Company Max Followers',
179
+ description: 'Maximum follower count at current company',
180
+ required: false,
181
+ }),
182
+ current_company_description: pieces_framework_1.Property.ShortText({
183
+ displayName: 'Current Company Description',
184
+ description: 'Filter by current company description (boolean search)',
185
+ required: false,
186
+ }),
187
+ current_company_founded_after_year: pieces_framework_1.Property.ShortText({
188
+ displayName: 'Current Company Founded After Year',
189
+ description: 'Filter by current company founded after this year',
190
+ required: false,
191
+ }),
192
+ current_company_founded_before_year: pieces_framework_1.Property.ShortText({
193
+ displayName: 'Current Company Founded Before Year',
194
+ description: 'Filter by current company founded before this year',
195
+ required: false,
196
+ }),
197
+ current_company_funding_amount_min: pieces_framework_1.Property.ShortText({
198
+ displayName: 'Current Company Funding Min (USD)',
199
+ description: 'Minimum funding raised by current company',
200
+ required: false,
201
+ }),
202
+ current_company_funding_amount_max: pieces_framework_1.Property.ShortText({
203
+ displayName: 'Current Company Funding Max (USD)',
204
+ description: 'Maximum funding raised by current company',
205
+ required: false,
206
+ }),
207
+ current_company_funding_raised_after: pieces_framework_1.Property.ShortText({
208
+ displayName: 'Current Company Funding Raised After',
209
+ description: 'Current company raised funding after this date (YYYY-MM-DD)',
210
+ required: false,
211
+ }),
212
+ current_company_funding_raised_before: pieces_framework_1.Property.ShortText({
213
+ displayName: 'Current Company Funding Raised Before',
214
+ description: 'Current company raised funding before this date (YYYY-MM-DD)',
215
+ required: false,
216
+ }),
217
+ current_company_domain_name: pieces_framework_1.Property.ShortText({
218
+ displayName: 'Current Company Domain Name',
219
+ description: 'Filter by current company domain (e.g., pfizer.com)',
220
+ required: false,
221
+ }),
222
+ education_field_of_study: pieces_framework_1.Property.ShortText({
223
+ displayName: 'Education Field of Study',
224
+ description: 'Filter by field of study (e.g., computer science)',
225
+ required: false,
226
+ }),
227
+ education_degree_name: pieces_framework_1.Property.ShortText({
228
+ displayName: 'Education Degree Name',
229
+ description: 'Filter by degree name (e.g., MBA)',
230
+ required: false,
231
+ }),
232
+ education_school_name: pieces_framework_1.Property.ShortText({
233
+ displayName: 'Education School Name',
234
+ description: 'Filter by school name (e.g., "Harvard University")',
235
+ required: false,
236
+ }),
237
+ education_school_profile_url: pieces_framework_1.Property.ShortText({
238
+ displayName: 'Education School Profile URL',
239
+ description: 'Filter by school profile URL',
240
+ required: false,
241
+ }),
242
+ industries: pieces_framework_1.Property.ShortText({
243
+ displayName: 'Industries',
244
+ description: "Filter by person's inferred industry (boolean search)",
245
+ required: false,
246
+ }),
247
+ interests: pieces_framework_1.Property.ShortText({
248
+ displayName: 'Interests',
249
+ description: 'Filter by interests (boolean search)',
250
+ required: false,
251
+ }),
252
+ skills: pieces_framework_1.Property.ShortText({
253
+ displayName: 'Skills',
254
+ description: 'Filter by skills (boolean search)',
255
+ required: false,
256
+ }),
257
+ skills_all_in_list: pieces_framework_1.Property.ShortText({
258
+ displayName: 'Skills (All in List)',
259
+ description: 'Filter by all skills in a comma-separated list (e.g., rust,mongodb). Cannot combine with Skills.',
260
+ required: false,
261
+ }),
262
+ languages: pieces_framework_1.Property.ShortText({
263
+ displayName: 'Languages',
264
+ description: 'Filter by language (e.g., Mandarin OR Chinese)',
265
+ required: false,
266
+ }),
267
+ groups: pieces_framework_1.Property.ShortText({
268
+ displayName: 'Groups',
269
+ description: 'Filter by group membership (boolean search)',
270
+ required: false,
271
+ }),
272
+ follower_count_min: pieces_framework_1.Property.ShortText({
273
+ displayName: 'Follower Count Min',
274
+ description: 'Minimum follower count',
275
+ required: false,
276
+ }),
277
+ follower_count_max: pieces_framework_1.Property.ShortText({
278
+ displayName: 'Follower Count Max',
279
+ description: 'Maximum follower count',
280
+ required: false,
281
+ }),
282
+ public_identifier_in_list: pieces_framework_1.Property.ShortText({
283
+ displayName: 'Public Identifier In List',
284
+ description: 'Comma-separated list of public identifiers person must be in',
285
+ required: false,
286
+ }),
287
+ public_identifier_not_in_list: pieces_framework_1.Property.ShortText({
288
+ displayName: 'Public Identifier Not In List',
289
+ description: 'Comma-separated list of public identifiers person must not be in',
290
+ required: false,
291
+ }),
292
+ page_size: pieces_framework_1.Property.ShortText({
293
+ displayName: 'Page Size',
294
+ description: 'Maximum results per call (1-100, default: 100)',
295
+ required: false,
296
+ }),
297
+ enrich_profiles: pieces_framework_1.Property.StaticDropdown({
298
+ displayName: 'Enrich Profiles',
299
+ description: 'Return full profiles instead of just URLs (+1 credit each)',
300
+ required: false,
301
+ options: {
302
+ options: [
303
+ { label: 'Skip (default)', value: 'skip' },
304
+ { label: 'Enrich (+1 credit each)', value: 'enrich' },
305
+ ],
306
+ },
307
+ }),
308
+ use_cache: pieces_framework_1.Property.StaticDropdown({
309
+ displayName: 'Cache Strategy',
310
+ description: 'Control how cached data is used',
311
+ required: false,
312
+ options: {
313
+ options: [
314
+ { label: 'If Present (default)', value: 'if-present' },
315
+ { label: 'If Recent (+1-2 credits per result)', value: 'if-recent' },
316
+ ],
317
+ },
318
+ }),
319
+ },
320
+ run(context) {
321
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
322
+ return yield (0, client_1.enrichlayerApiCall)(context.auth.secret_text, constants_1.ENDPOINTS.PERSON_SEARCH, {
323
+ country: context.propsValue.country,
324
+ region: context.propsValue.region,
325
+ city: context.propsValue.city,
326
+ first_name: context.propsValue.first_name,
327
+ last_name: context.propsValue.last_name,
328
+ headline: context.propsValue.headline,
329
+ summary: context.propsValue.summary,
330
+ current_role_title: context.propsValue.current_role_title,
331
+ past_role_title: context.propsValue.past_role_title,
332
+ current_role_before: context.propsValue.current_role_before,
333
+ current_role_after: context.propsValue.current_role_after,
334
+ current_company_profile_url: context.propsValue.current_company_profile_url,
335
+ past_company_profile_url: context.propsValue.past_company_profile_url,
336
+ current_company_name: context.propsValue.current_company_name,
337
+ past_company_name: context.propsValue.past_company_name,
338
+ current_job_description: context.propsValue.current_job_description,
339
+ past_job_description: context.propsValue.past_job_description,
340
+ current_company_country: context.propsValue.current_company_country,
341
+ current_company_region: context.propsValue.current_company_region,
342
+ current_company_city: context.propsValue.current_company_city,
343
+ current_company_type: context.propsValue.current_company_type,
344
+ current_company_industry: context.propsValue.current_company_industry,
345
+ current_company_primary_industry: context.propsValue.current_company_primary_industry,
346
+ current_company_specialities: context.propsValue.current_company_specialities,
347
+ current_company_employee_count_category: context.propsValue.current_company_employee_count_category,
348
+ current_company_employee_count_min: context.propsValue.current_company_employee_count_min,
349
+ current_company_employee_count_max: context.propsValue.current_company_employee_count_max,
350
+ current_company_follower_count_min: context.propsValue.current_company_follower_count_min,
351
+ current_company_follower_count_max: context.propsValue.current_company_follower_count_max,
352
+ current_company_description: context.propsValue.current_company_description,
353
+ current_company_founded_after_year: context.propsValue.current_company_founded_after_year,
354
+ current_company_founded_before_year: context.propsValue.current_company_founded_before_year,
355
+ current_company_funding_amount_min: context.propsValue.current_company_funding_amount_min,
356
+ current_company_funding_amount_max: context.propsValue.current_company_funding_amount_max,
357
+ current_company_funding_raised_after: context.propsValue.current_company_funding_raised_after,
358
+ current_company_funding_raised_before: context.propsValue.current_company_funding_raised_before,
359
+ current_company_domain_name: context.propsValue.current_company_domain_name,
360
+ education_field_of_study: context.propsValue.education_field_of_study,
361
+ education_degree_name: context.propsValue.education_degree_name,
362
+ education_school_name: context.propsValue.education_school_name,
363
+ education_school_profile_url: context.propsValue.education_school_profile_url,
364
+ industries: context.propsValue.industries,
365
+ interests: context.propsValue.interests,
366
+ skills: context.propsValue.skills,
367
+ skills_all_in_list: context.propsValue.skills_all_in_list,
368
+ languages: context.propsValue.languages,
369
+ groups: context.propsValue.groups,
370
+ follower_count_min: context.propsValue.follower_count_min,
371
+ follower_count_max: context.propsValue.follower_count_max,
372
+ public_identifier_in_list: context.propsValue.public_identifier_in_list,
373
+ public_identifier_not_in_list: context.propsValue.public_identifier_not_in_list,
374
+ page_size: context.propsValue.page_size,
375
+ enrich_profiles: context.propsValue.enrich_profiles,
376
+ use_cache: context.propsValue.use_cache,
377
+ });
378
+ });
379
+ },
380
+ });
381
+ //# sourceMappingURL=get-person-search.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-person-search.js","sourceRoot":"","sources":["../../../../src/lib/actions/get-person-search.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,eAAe;IAC5B,WAAW,EACT,gHAAgH;IAClH,KAAK,EAAE;QACL,OAAO,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC1B,WAAW,EAAE,SAAS;YACtB,WAAW,EAAE,kDAAkD;YAC/D,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,MAAM,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,QAAQ;YACrB,WAAW,EACT,2DAA2D;YAC7D,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,IAAI,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACvB,WAAW,EAAE,MAAM;YACnB,WAAW,EAAE,+CAA+C;YAC5D,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,2CAA2C;YACxD,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC5B,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,iDAAiD;YAC9D,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAA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