@scopieflows/app-apollo 0.1.1 → 0.1.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.
Files changed (48) hide show
  1. package/package.json +8 -24
  2. package/src/index.d.ts +2 -2
  3. package/src/index.d.ts.map +1 -0
  4. package/src/index.js +9 -23
  5. package/src/index.js.map +1 -1
  6. package/src/lib/actions/bulk-match.d.ts +7 -0
  7. package/src/lib/actions/bulk-match.d.ts.map +1 -0
  8. package/src/lib/actions/bulk-match.js +96 -0
  9. package/src/lib/actions/bulk-match.js.map +1 -0
  10. package/src/lib/actions/enrich-company.d.ts +4 -3
  11. package/src/lib/actions/enrich-company.d.ts.map +1 -0
  12. package/src/lib/actions/enrich-company.js +4 -4
  13. package/src/lib/actions/enrich-company.js.map +1 -1
  14. package/src/lib/actions/match-person.d.ts +4 -3
  15. package/src/lib/actions/match-person.d.ts.map +1 -0
  16. package/src/lib/actions/match-person.js +4 -4
  17. package/src/lib/actions/match-person.js.map +1 -1
  18. package/src/lib/actions/news-articles-search.d.ts +7 -6
  19. package/src/lib/actions/news-articles-search.d.ts.map +1 -0
  20. package/src/lib/actions/news-articles-search.js +4 -4
  21. package/src/lib/actions/news-articles-search.js.map +1 -1
  22. package/src/lib/actions/organization-job-postings.d.ts +4 -3
  23. package/src/lib/actions/organization-job-postings.d.ts.map +1 -0
  24. package/src/lib/actions/organization-job-postings.js +4 -4
  25. package/src/lib/actions/organization-job-postings.js.map +1 -1
  26. package/src/lib/actions/organization-search.d.ts +13 -9
  27. package/src/lib/actions/organization-search.d.ts.map +1 -0
  28. package/src/lib/actions/organization-search.js +39 -6
  29. package/src/lib/actions/organization-search.js.map +1 -1
  30. package/src/lib/actions/people-search.d.ts +15 -10
  31. package/src/lib/actions/people-search.d.ts.map +1 -0
  32. package/src/lib/actions/people-search.js +53 -4
  33. package/src/lib/actions/people-search.js.map +1 -1
  34. package/src/lib/auth.d.ts +2 -0
  35. package/src/lib/auth.d.ts.map +1 -0
  36. package/src/lib/auth.js +22 -0
  37. package/src/lib/auth.js.map +1 -0
  38. package/README.md +0 -7
  39. package/src/i18n/de.json +0 -78
  40. package/src/i18n/es.json +0 -78
  41. package/src/i18n/fr.json +0 -78
  42. package/src/i18n/ja.json +0 -78
  43. package/src/i18n/nl.json +0 -78
  44. package/src/i18n/pt.json +0 -78
  45. package/src/i18n/ru.json +0 -9
  46. package/src/i18n/translation.json +0 -78
  47. package/src/i18n/vi.json +0 -9
  48. package/src/i18n/zh.json +0 -78
package/package.json CHANGED
@@ -1,28 +1,12 @@
1
1
  {
2
2
  "name": "@scopieflows/app-apollo",
3
- "version": "0.1.1",
3
+ "version": "0.1.5",
4
+ "main": "./src/index.js",
5
+ "types": "./src/index.d.ts",
4
6
  "dependencies": {
5
- "@sinclair/typebox": "0.34.11",
6
- "ai": "^6.0.0",
7
- "axios": "1.13.1",
8
- "axios-retry": "4.4.1",
9
- "deepmerge-ts": "7.1.0",
10
- "form-data": "4.0.4",
11
- "i18next": "23.13.0",
12
- "mime-types": "2.1.35",
13
- "nanoid": "3.3.8",
14
- "semver": "7.6.0",
15
- "socket.io-client": "4.8.1",
16
- "zod": "4.1.13",
17
- "@scopieflows/pieces-common": "0.11.2",
18
- "@scopieflows/pieces-framework": "0.25.0",
19
- "@scopieflows/shared": "0.33.0",
7
+ "@scopieflows/apps-common": "^0.12.3",
8
+ "@scopieflows/apps-framework": "^0.28.3",
9
+ "@scopieflows/shared": "^0.54.0",
20
10
  "tslib": "2.6.2"
21
- },
22
- "resolutions": {
23
- "rollup": "npm:@rollup/wasm-node"
24
- },
25
- "types": "./src/index.d.ts",
26
- "main": "./src/index.js",
27
- "type": "commonjs"
28
- }
11
+ }
12
+ }
package/src/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const apolloAuth: import("@scopieflows/pieces-framework").SecretTextProperty<true>;
2
- export declare const apollo: import("@scopieflows/pieces-framework").Piece<import("@scopieflows/pieces-framework").SecretTextProperty<true>>;
1
+ export declare const apollo: import("@scopieflows/apps-framework").Piece<import("@scopieflows/apps-framework").SecretTextProperty<true>>;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,MAAM,iHA2BjB,CAAC"}
package/src/index.js CHANGED
@@ -1,48 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.apollo = exports.apolloAuth = void 0;
3
+ exports.apollo = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@scopieflows/pieces-framework");
5
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
6
+ const bulk_match_1 = require("./lib/actions/bulk-match");
6
7
  const match_person_1 = require("./lib/actions/match-person");
7
8
  const enrich_company_1 = require("./lib/actions/enrich-company");
8
9
  const news_articles_search_1 = require("./lib/actions/news-articles-search");
9
10
  const organization_job_postings_1 = require("./lib/actions/organization-job-postings");
10
11
  const organization_search_1 = require("./lib/actions/organization-search");
11
12
  const people_search_1 = require("./lib/actions/people-search");
12
- const pieces_common_1 = require("@scopieflows/pieces-common");
13
- exports.apolloAuth = pieces_framework_1.PieceAuth.SecretText({
14
- displayName: 'API Key',
15
- description: `
16
- To create your Apollo API key:
17
-
18
- 1. Go to **Settings** > **[Integrations](https://app.apollo.io/#/settings/integrations)** in Apollo
19
- 2. Click **Connect** beside Apollo API
20
- 3. Click **API Keys** > **Create new key**
21
- 4. Enter a name and description, then select the endpoints you need (or toggle **Set as master key** for full access)
22
- 5. Click **Create API key** and copy it to a secure location
23
-
24
- **Note:** Some endpoints require a master API key. Keep your API keys secure and be careful with whom you share access.
25
-
26
- [Learn more about creating API keys](https://docs.apollo.io/docs/create-api-key)
27
- `,
28
- required: true,
29
- });
13
+ const pieces_common_1 = require("@scopieflows/apps-common");
14
+ const auth_1 = require("./lib/auth");
30
15
  exports.apollo = (0, pieces_framework_1.createPiece)({
31
16
  displayName: 'Apollo',
32
- auth: exports.apolloAuth,
17
+ auth: auth_1.apolloAuth,
33
18
  description: 'AI sales platform for prospecting, lead gen, and deal automation. Close more deals, faster, with smart data.',
34
19
  minimumSupportedRelease: '0.30.0',
35
- logoUrl: '/pieces/apollo.png',
20
+ logoUrl: 'https://cdn.scopieflows.com/pieces/apollo.png',
36
21
  authors: ['abuaboud', 'sanket-a11y'],
37
22
  actions: [
38
23
  match_person_1.matchPerson,
24
+ bulk_match_1.bulkMatch,
39
25
  enrich_company_1.enrichCompany,
40
26
  news_articles_search_1.newsArticlesSearch,
41
27
  organization_job_postings_1.organizationJobPostings,
42
28
  organization_search_1.organizationSearch,
43
29
  people_search_1.peopleSearch,
44
30
  (0, pieces_common_1.createCustomApiCallAction)({
45
- auth: exports.apolloAuth,
31
+ auth: auth_1.apolloAuth,
46
32
  baseUrl: () => 'https://api.apollo.io/api/v1',
47
33
  authMapping: (auth) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
48
34
  return {
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/pieces/community/apollo/src/index.ts"],"names":[],"mappings":";;;;AAAA,oEAAuE;AACvE,6DAAyD;AACzD,iEAA6D;AAC7D,6EAAwE;AACxE,uFAAkF;AAClF,2EAAuE;AACvE,+DAA2D;AAC3D,8DAAuE;AAE1D,QAAA,UAAU,GAAG,4BAAS,CAAC,UAAU,CAAC;IAC7C,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE;;;;;;;;;;;;GAYZ;IACD,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC;AAEU,QAAA,MAAM,GAAG,IAAA,8BAAW,EAAC;IAChC,WAAW,EAAE,QAAQ;IACrB,IAAI,EAAE,kBAAU;IAChB,WAAW,EACT,8GAA8G;IAChH,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,CAAC,U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 -0,0 +1,7 @@
1
+ export declare const bulkMatch: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ details: import("@scopieflows/apps-framework").ArrayProperty<true> | import("@scopieflows/apps-framework").ArrayProperty<false>;
3
+ reveal_personal_emails: import("@scopieflows/apps-framework").CheckboxProperty<false>;
4
+ reveal_phone_number: import("@scopieflows/apps-framework").CheckboxProperty<false>;
5
+ webhook_url: import("@scopieflows/apps-framework").ShortTextProperty<false>;
6
+ }>;
7
+ //# sourceMappingURL=bulk-match.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk-match.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/bulk-match.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;EA8FpB,CAAC"}
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.bulkMatch = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const auth_1 = require("../auth");
6
+ const pieces_common_1 = require("@scopieflows/apps-common");
7
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
8
+ exports.bulkMatch = (0, pieces_framework_1.createAction)({
9
+ auth: auth_1.apolloAuth,
10
+ name: 'bulkMatch',
11
+ displayName: 'Bulk Match',
12
+ description: 'Enrich up to 10 people in a single call using their IDs or identifying details',
13
+ props: {
14
+ details: pieces_framework_1.Property.Array({
15
+ displayName: 'People Details',
16
+ description: 'Up to 10 people to enrich. Provide an Apollo ID, or identifying details such as name, email, organization or domain.',
17
+ required: true,
18
+ properties: {
19
+ id: pieces_framework_1.Property.ShortText({
20
+ displayName: 'Apollo ID',
21
+ description: 'The Apollo ID of the person',
22
+ required: false,
23
+ }),
24
+ first_name: pieces_framework_1.Property.ShortText({
25
+ displayName: 'First Name',
26
+ required: false,
27
+ }),
28
+ last_name: pieces_framework_1.Property.ShortText({
29
+ displayName: 'Last Name',
30
+ required: false,
31
+ }),
32
+ name: pieces_framework_1.Property.ShortText({
33
+ displayName: 'Full Name',
34
+ required: false,
35
+ }),
36
+ email: pieces_framework_1.Property.ShortText({
37
+ displayName: 'Email',
38
+ required: false,
39
+ }),
40
+ organization_name: pieces_framework_1.Property.ShortText({
41
+ displayName: 'Organization Name',
42
+ required: false,
43
+ }),
44
+ domain: pieces_framework_1.Property.ShortText({
45
+ displayName: 'Domain',
46
+ required: false,
47
+ }),
48
+ },
49
+ }),
50
+ reveal_personal_emails: pieces_framework_1.Property.Checkbox({
51
+ displayName: 'Reveal Personal Emails',
52
+ description: 'Include personal emails in the enriched results',
53
+ required: false,
54
+ defaultValue: false,
55
+ }),
56
+ reveal_phone_number: pieces_framework_1.Property.Checkbox({
57
+ displayName: 'Reveal Phone Number',
58
+ description: 'Include phone numbers in the results. Apollo requires a Webhook URL when this is enabled, as numbers are delivered asynchronously.',
59
+ required: false,
60
+ defaultValue: false,
61
+ }),
62
+ webhook_url: pieces_framework_1.Property.ShortText({
63
+ displayName: 'Webhook URL',
64
+ description: 'Destination Apollo posts phone numbers to. Required when Reveal Phone Number is enabled.',
65
+ required: false,
66
+ }),
67
+ },
68
+ run(_a) {
69
+ return tslib_1.__awaiter(this, arguments, void 0, function* ({ propsValue, auth }) {
70
+ const queryParams = new URLSearchParams();
71
+ if (propsValue.reveal_personal_emails) {
72
+ queryParams.append('reveal_personal_emails', 'true');
73
+ }
74
+ if (propsValue.reveal_phone_number) {
75
+ queryParams.append('reveal_phone_number', 'true');
76
+ }
77
+ if (propsValue.webhook_url) {
78
+ queryParams.append('webhook_url', propsValue.webhook_url);
79
+ }
80
+ const result = yield pieces_common_1.httpClient.sendRequest({
81
+ method: pieces_common_1.HttpMethod.POST,
82
+ url: `https://api.apollo.io/api/v1/people/bulk_match?${queryParams.toString()}`,
83
+ headers: {
84
+ 'Content-Type': 'application/json',
85
+ 'Cache-Control': 'no-cache',
86
+ 'x-api-key': `${auth.secret_text}`,
87
+ },
88
+ body: {
89
+ details: propsValue.details,
90
+ },
91
+ });
92
+ return result.body;
93
+ });
94
+ },
95
+ });
96
+ //# sourceMappingURL=bulk-match.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulk-match.js","sourceRoot":"","sources":["../../../../src/lib/actions/bulk-match.ts"],"names":[],"mappings":";;;;AAAA,kCAAqC;AACrC,8DAAoE;AACpE,oEAAuE;AAE1D,QAAA,SAAS,GAAG,IAAA,+BAAY,EAAC;IACpC,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,YAAY;IACzB,WAAW,EACT,gFAAgF;IAClF,KAAK,EAAE;QACL,OAAO,EAAE,2BAAQ,CAAC,KAAK,CAAC;YACtB,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EACT,sHAAsH;YACxH,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE;gBACV,EAAE,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBACrB,WAAW,EAAE,WAAW;oBACxB,WAAW,EAAE,6BAA6B;oBAC1C,QAAQ,EAAE,KAAK;iBAChB,CAAC;gBACF,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBAC7B,WAAW,EAAE,YAAY;oBACzB,QAAQ,EAAE,KAAK;iBAChB,CAAC;gBACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBAC5B,WAAW,EAAE,WAAW;oBACxB,QAAQ,EAAE,KAAK;iBAChB,CAAC;gBACF,IAAI,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBACvB,WAAW,EAAE,WAAW;oBACxB,QAAQ,EAAE,KAAK;iBAChB,CAAC;gBACF,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBACxB,WAAW,EAAE,OAAO;oBACpB,QAAQ,EAAE,KAAK;iBAChB,CAAC;gBACF,iBAAiB,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBACpC,WAAW,EAAE,mBAAmB;oBAChC,QAAQ,EAAE,KAAK;iBAChB,CAAC;gBACF,MAAM,EAAE,2BAAQ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,eAAe,EAAE,UAAU;oBAC3B,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;gBACD,IAAI,EAAE;oBACJ,OAAO,EAAE,UAAU,CAAC,OAAO;iBAC5B;aACF,CAAC,CAAC;YAEH,OAAO,MAAM,CAAC,IAAI,CAAC;QACrB,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
- export declare const enrichCompany: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").SecretTextProperty<true>, {
2
- domain: import("@scopieflows/pieces-framework").ShortTextProperty<true>;
3
- cacheResponse: import("@scopieflows/pieces-framework").CheckboxProperty<false>;
1
+ export declare const enrichCompany: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ domain: import("@scopieflows/apps-framework").ShortTextProperty<true>;
3
+ cacheResponse: import("@scopieflows/apps-framework").CheckboxProperty<false>;
4
4
  }>;
5
+ //# sourceMappingURL=enrich-company.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enrich-company.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/enrich-company.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa;;;EAgDxB,CAAC"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.enrichCompany = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const __1 = require("../../");
6
- const pieces_framework_1 = require("@scopieflows/pieces-framework");
7
- const pieces_common_1 = require("@scopieflows/pieces-common");
5
+ const auth_1 = require("../auth");
6
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
7
+ const pieces_common_1 = require("@scopieflows/apps-common");
8
8
  exports.enrichCompany = (0, pieces_framework_1.createAction)({
9
9
  name: 'enrichCompany',
10
10
  description: '',
@@ -22,7 +22,7 @@ exports.enrichCompany = (0, pieces_framework_1.createAction)({
22
22
  defaultValue: true,
23
23
  }),
24
24
  },
25
- auth: __1.apolloAuth,
25
+ auth: auth_1.apolloAuth,
26
26
  run(_a) {
27
27
  return tslib_1.__awaiter(this, arguments, void 0, function* ({ propsValue, auth, store }) {
28
28
  if (propsValue.cacheResponse) {
@@ -1 +1 @@
1
- {"version":3,"file":"enrich-company.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/apollo/src/lib/actions/enrich-company.ts"],"names":[],"mappings":";;;;AAAA,8BAAoC;AACpC,oEAIuC;AACvC,8DAAoE;AAEvD,QAAA,aAAa,GAAG,IAAA,+BAAY,EAAC;IACxC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,IAAI;SACnB,CAAC;KACH;IACD,IAAI,EAAE,cAAU;IACV,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;YACnC,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAClC,eAAe,UAAU,CAAC,MAAM,EAAE,EAClC,6BAAU,CAAC,OAAO,CACnB,CAAC;gBACF,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAExC;gBACD,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,wDAAwD,UAAU,CAAC,MAAM,EAAE;gBAChF,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;aACF,CAAC,CAAC;YACH,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,IAAI,EAAE,CAAC;YACjD,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CACb,eAAe,UAAU,CAAC,MAAM,EAAE,EAClC,SAAS,EACT,6BAAU,CAAC,OAAO,CACnB,CAAC;YACJ,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"enrich-company.js","sourceRoot":"","sources":["../../../../src/lib/actions/enrich-company.ts"],"names":[],"mappings":";;;;AAAA,kCAAqC;AACrC,oEAIuC;AACvC,8DAAoE;AAEvD,QAAA,aAAa,GAAG,IAAA,+BAAY,EAAC;IACxC,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,IAAI;SACnB,CAAC;KACH;IACD,IAAI,EAAE,iBAAU;IACV,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;YACnC,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAClC,eAAe,UAAU,CAAC,MAAM,EAAE,EAClC,6BAAU,CAAC,OAAO,CACnB,CAAC;gBACF,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAExC;gBACD,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,wDAAwD,UAAU,CAAC,MAAM,EAAE;gBAChF,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;aACF,CAAC,CAAC;YACH,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,IAAI,EAAE,CAAC;YACjD,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CACb,eAAe,UAAU,CAAC,MAAM,EAAE,EAClC,SAAS,EACT,6BAAU,CAAC,OAAO,CACnB,CAAC;YACJ,CAAC;YACD,OAAO,SAAS,CAAC;QACnB,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
- export declare const matchPerson: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").SecretTextProperty<true>, {
2
- email: import("@scopieflows/pieces-framework").ShortTextProperty<true>;
3
- cacheResponse: import("@scopieflows/pieces-framework").CheckboxProperty<false>;
1
+ export declare const matchPerson: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ email: import("@scopieflows/apps-framework").ShortTextProperty<true>;
3
+ cacheResponse: import("@scopieflows/apps-framework").CheckboxProperty<false>;
4
4
  }>;
5
+ //# sourceMappingURL=match-person.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-person.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/match-person.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW;;;EAoDtB,CAAC"}
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.matchPerson = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const __1 = require("../../");
6
- const pieces_common_1 = require("@scopieflows/pieces-common");
7
- const pieces_framework_1 = require("@scopieflows/pieces-framework");
5
+ const auth_1 = require("../auth");
6
+ const pieces_common_1 = require("@scopieflows/apps-common");
7
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
8
8
  exports.matchPerson = (0, pieces_framework_1.createAction)({
9
9
  name: 'matchPerson',
10
10
  displayName: 'Match Person',
@@ -22,7 +22,7 @@ exports.matchPerson = (0, pieces_framework_1.createAction)({
22
22
  defaultValue: true,
23
23
  }),
24
24
  },
25
- auth: __1.apolloAuth,
25
+ auth: auth_1.apolloAuth,
26
26
  run(_a) {
27
27
  return tslib_1.__awaiter(this, arguments, void 0, function* ({ propsValue, auth, store }) {
28
28
  if (propsValue.cacheResponse) {
@@ -1 +1 @@
1
- {"version":3,"file":"match-person.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/apollo/src/lib/actions/match-person.ts"],"names":[],"mappings":";;;;AAAA,8BAAoC;AACpC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,WAAW,GAAG,IAAA,+BAAY,EAAC;IACtC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,oDAAoD;IACjE,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gDAAgD;YAC7D,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,IAAI;SACnB,CAAC;KACH;IACD,IAAI,EAAE,cAAU;IACV,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;YACnC,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAClC,kBAAkB,UAAU,CAAC,KAAK,EAAE,EACpC,6BAAU,CAAC,OAAO,CACnB,CAAC;gBACF,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAExC;gBACD,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,uCAAuC;gBAC5C,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;gBACD,IAAI,EAAE;oBAEJ,KAAK,EAAE,UAAU,CAAC,KAAK;iBACxB;aACF,CAAC,CAAC;YACH,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;YAC9C,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CACb,kBAAkB,UAAU,CAAC,KAAK,EAAE,EACpC,YAAY,EACZ,6BAAU,CAAC,OAAO,CACnB,CAAC;YACJ,CAAC;YACD,OAAO,YAAY,CAAC;QACtB,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"match-person.js","sourceRoot":"","sources":["../../../../src/lib/actions/match-person.ts"],"names":[],"mappings":";;;;AAAA,kCAAqC;AACrC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,WAAW,GAAG,IAAA,+BAAY,EAAC;IACtC,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,oDAAoD;IACjE,KAAK,EAAE;QACL,KAAK,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACxB,WAAW,EAAE,OAAO;YACpB,WAAW,EAAE,gDAAgD;YAC7D,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,IAAI;SACnB,CAAC;KACH;IACD,IAAI,EAAE,iBAAU;IACV,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;YACnC,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAClC,kBAAkB,UAAU,CAAC,KAAK,EAAE,EACpC,6BAAU,CAAC,OAAO,CACnB,CAAC;gBACF,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YACD,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAExC;gBACD,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,uCAAuC;gBAC5C,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;gBACD,IAAI,EAAE;oBAEJ,KAAK,EAAE,UAAU,CAAC,KAAK;iBACxB;aACF,CAAC,CAAC;YACH,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;YAC9C,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CACb,kBAAkB,UAAU,CAAC,KAAK,EAAE,EACpC,YAAY,EACZ,6BAAU,CAAC,OAAO,CACnB,CAAC;YACJ,CAAC;YACD,OAAO,YAAY,CAAC;QACtB,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
- export declare const newsArticlesSearch: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").SecretTextProperty<true>, {
2
- organization_ids: import("@scopieflows/pieces-framework").ArrayProperty<true>;
3
- categories: import("@scopieflows/pieces-framework").ArrayProperty<false>;
4
- published_at_min: import("@scopieflows/pieces-framework").ShortTextProperty<false>;
5
- published_at_max: import("@scopieflows/pieces-framework").ShortTextProperty<false>;
6
- cacheResponse: import("@scopieflows/pieces-framework").CheckboxProperty<false>;
1
+ export declare const newsArticlesSearch: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ organization_ids: import("@scopieflows/apps-framework").ArrayProperty<true>;
3
+ categories: import("@scopieflows/apps-framework").ArrayProperty<false>;
4
+ published_at_min: import("@scopieflows/apps-framework").ShortTextProperty<false>;
5
+ published_at_max: import("@scopieflows/apps-framework").ShortTextProperty<false>;
6
+ cacheResponse: import("@scopieflows/apps-framework").CheckboxProperty<false>;
7
7
  }>;
8
+ //# sourceMappingURL=news-articles-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"news-articles-search.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/news-articles-search.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB;;;;;;EA4F7B,CAAC"}
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.newsArticlesSearch = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const __1 = require("../../");
6
- const pieces_common_1 = require("@scopieflows/pieces-common");
7
- const pieces_framework_1 = require("@scopieflows/pieces-framework");
5
+ const auth_1 = require("../auth");
6
+ const pieces_common_1 = require("@scopieflows/apps-common");
7
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
8
8
  exports.newsArticlesSearch = (0, pieces_framework_1.createAction)({
9
- auth: __1.apolloAuth,
9
+ auth: auth_1.apolloAuth,
10
10
  name: 'newsArticlesSearch',
11
11
  displayName: 'News Articles Search',
12
12
  description: 'Search for news articles related to companies in the Apollo database',
@@ -1 +1 @@
1
- {"version":3,"file":"news-articles-search.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/apollo/src/lib/actions/news-articles-search.ts"],"names":[],"mappings":";;;;AAAA,8BAAoC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Aa,IAAI,EAAE;gBAC9C,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE;aACzC,CAAC;YAEF,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;YAC1D,CAAC;YAED,OAAO,QAAQ,CAAC;QAClB,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"news-articles-search.js","sourceRoot":"","sources":["../../../../src/lib/actions/news-articles-search.ts"],"names":[],"mappings":";;;;AAAA,kCAAqC;AACrC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EACT,sEAAsE;IACxE,KAAK,EAAE;QACL,gBAAgB,EAAE,2BAAQ,CAAC,KAAK,CAAC;YAC/B,WAAW,EAAE,kBAAkB;YAC/B,WAAW,EACT,kIAAkI;YACpI,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,UAAU,EAAE,2BAAQ,CAAC,KAAK,CAAC;YACzB,WAAW,EAAE,YAAY;YACzB,WAAW,EACT,qHAAqH;YACvH,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,gBAAgB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACnC,WAAW,EAAE,oBAAoB;YACjC,WAAW,EAAE,mDAAmD;YAChE,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,gBAAgB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACnC,WAAW,EAAE,oBAAoB;YACjC,WAAW,EAAE,mDAAmD;YAChE,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAA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O,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAGxC;gBACD,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,qDAAqD,WAAW,CAAC,QAAQ,EAAE,EAAE;gBAClF,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,eAAe,EAAE,UAAU;oBAC3B,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;aACF,CAAC,CAAC;YAEH,MAAM,QAAQ,GAAG;gBACf,aAAa,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,EAAE;gBAC9C,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,IAAI,EAAE;aACzC,CAAC;YAEF,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;YAC1D,CAAC;YAED,OAAO,QAAQ,CAAC;QAClB,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
- export declare const organizationJobPostings: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").SecretTextProperty<true>, {
2
- organization_id: import("@scopieflows/pieces-framework").ShortTextProperty<true>;
3
- cacheResponse: import("@scopieflows/pieces-framework").CheckboxProperty<false>;
1
+ export declare const organizationJobPostings: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ organization_id: import("@scopieflows/apps-framework").ShortTextProperty<true>;
3
+ cacheResponse: import("@scopieflows/apps-framework").CheckboxProperty<false>;
4
4
  }>;
5
+ //# sourceMappingURL=organization-job-postings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-job-postings.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/organization-job-postings.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,uBAAuB;;;EAiDlC,CAAC"}
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.organizationJobPostings = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const __1 = require("../../");
6
- const pieces_common_1 = require("@scopieflows/pieces-common");
7
- const pieces_framework_1 = require("@scopieflows/pieces-framework");
5
+ const auth_1 = require("../auth");
6
+ const pieces_common_1 = require("@scopieflows/apps-common");
7
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
8
8
  exports.organizationJobPostings = (0, pieces_framework_1.createAction)({
9
- auth: __1.apolloAuth,
9
+ auth: auth_1.apolloAuth,
10
10
  name: 'organizationJobPostings',
11
11
  displayName: 'Organization Job Postings',
12
12
  description: 'Retrieve current job postings for a company to identify growing headcount areas',
@@ -1 +1 @@
1
- {"version":3,"file":"organization-job-postings.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/apollo/src/lib/actions/organization-job-postings.ts"],"names":[],"mappings":";;;;AAAA,8BAAoC;AACpC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,iFAAiF;IAC9F,KAAK,EAAE;QACL,eAAe,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAClC,WAAW,EAAE,iBAAiB;YAC9B,WAAW,EAAE,2DAA2D;YACxE,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,KAAK;SACpB,CAAC;KACH;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;YACnC,MAAM,QAAQ,GAAG,wBAAwB,UAAU,CAAC,eAAe,EAAE,CAAC;YAEtE,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;gBACnE,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAGxC;gBACD,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,8CAA8C,UAAU,CAAC,eAAe,eAAe;gBAC5F,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,eAAe,EAAE,UAAU;oBAC1B,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACpC;aACF,CAAC,CAAC;YAIH,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAI,EAAE,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;YAC7F,CAAC;YAED,OAAO,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAI,EAAE,CAAC;QACrD,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"organization-job-postings.js","sourceRoot":"","sources":["../../../../src/lib/actions/organization-job-postings.ts"],"names":[],"mappings":";;;;AAAA,kCAAqC;AACrC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,2BAA2B;IACxC,WAAW,EAAE,iFAAiF;IAC9F,KAAK,EAAE;QACL,eAAe,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAClC,WAAW,EAAE,iBAAiB;YAC9B,WAAW,EAAE,2DAA2D;YACxE,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,aAAa,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YAC/B,WAAW,EAAE,gBAAgB;YAC7B,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,KAAK;SACpB,CAAC;KACH;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE;YACnC,MAAM,QAAQ,GAAG,wBAAwB,UAAU,CAAC,eAAe,EAAE,CAAC;YAEtE,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;gBACnE,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAGxC;gBACD,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,8CAA8C,UAAU,CAAC,eAAe,eAAe;gBAC5F,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,eAAe,EAAE,UAAU;oBAC1B,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACpC;aACF,CAAC,CAAC;YAIH,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAI,EAAE,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;YAC7F,CAAC;YAED,OAAO,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAI,EAAE,CAAC;QACrD,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1,10 +1,14 @@
1
- export declare const organizationSearch: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").SecretTextProperty<true>, {
2
- q_organization_name: import("@scopieflows/pieces-framework").ShortTextProperty<false>;
3
- organization_locations: import("@scopieflows/pieces-framework").ArrayProperty<false>;
4
- organization_not_locations: import("@scopieflows/pieces-framework").ArrayProperty<false>;
5
- organization_num_employees_ranges: import("@scopieflows/pieces-framework").ArrayProperty<false>;
6
- organization_ids: import("@scopieflows/pieces-framework").ArrayProperty<false>;
7
- q_organization_domains: import("@scopieflows/pieces-framework").ArrayProperty<false>;
8
- organization_industry_tag_ids: import("@scopieflows/pieces-framework").ArrayProperty<false>;
9
- cacheResponse: import("@scopieflows/pieces-framework").CheckboxProperty<false>;
1
+ export declare const organizationSearch: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ q_organization_name: import("@scopieflows/apps-framework").ShortTextProperty<false>;
3
+ organization_locations: import("@scopieflows/apps-framework").ArrayProperty<false>;
4
+ organization_not_locations: import("@scopieflows/apps-framework").ArrayProperty<false>;
5
+ organization_num_employees_ranges: import("@scopieflows/apps-framework").ArrayProperty<false>;
6
+ organization_ids: import("@scopieflows/apps-framework").ArrayProperty<false>;
7
+ q_organization_domains: import("@scopieflows/apps-framework").ArrayProperty<false>;
8
+ organization_industry_tag_ids: import("@scopieflows/apps-framework").ArrayProperty<false>;
9
+ q_organization_keyword_tags: import("@scopieflows/apps-framework").ArrayProperty<false>;
10
+ page: import("@scopieflows/apps-framework").NumberProperty<false>;
11
+ per_page: import("@scopieflows/apps-framework").NumberProperty<false>;
12
+ cacheResponse: import("@scopieflows/apps-framework").CheckboxProperty<false>;
10
13
  }>;
14
+ //# sourceMappingURL=organization-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization-search.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/organization-search.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAgL7B,CAAC"}
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.organizationSearch = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const __1 = require("../../");
6
- const pieces_common_1 = require("@scopieflows/pieces-common");
7
- const pieces_framework_1 = require("@scopieflows/pieces-framework");
5
+ const auth_1 = require("../auth");
6
+ const pieces_common_1 = require("@scopieflows/apps-common");
7
+ const pieces_framework_1 = require("@scopieflows/apps-framework");
8
8
  exports.organizationSearch = (0, pieces_framework_1.createAction)({
9
- auth: __1.apolloAuth,
9
+ auth: auth_1.apolloAuth,
10
10
  name: 'organizationSearch',
11
11
  displayName: 'Organization Search',
12
12
  description: 'Search for companies in the Apollo database with various filters',
@@ -46,6 +46,23 @@ exports.organizationSearch = (0, pieces_framework_1.createAction)({
46
46
  description: 'Filter by industry tag IDs',
47
47
  required: false,
48
48
  }),
49
+ q_organization_keyword_tags: pieces_framework_1.Property.Array({
50
+ displayName: 'Keyword Tags',
51
+ description: 'Filter by keywords associated with companies (e.g., mining, consulting)',
52
+ required: false,
53
+ }),
54
+ page: pieces_framework_1.Property.Number({
55
+ displayName: 'Page',
56
+ description: 'The page number of the Apollo data to retrieve',
57
+ required: false,
58
+ defaultValue: 1,
59
+ }),
60
+ per_page: pieces_framework_1.Property.Number({
61
+ displayName: 'Per Page',
62
+ description: 'The number of results per page (1–100)',
63
+ required: false,
64
+ defaultValue: 25,
65
+ }),
49
66
  cacheResponse: pieces_framework_1.Property.Checkbox({
50
67
  displayName: 'Cache Response',
51
68
  description: 'Store the response in the project store for future use.',
@@ -94,6 +111,18 @@ exports.organizationSearch = (0, pieces_framework_1.createAction)({
94
111
  queryParams.append('organization_industry_tag_ids[]', tagId);
95
112
  });
96
113
  }
114
+ if (propsValue.q_organization_keyword_tags &&
115
+ propsValue.q_organization_keyword_tags.length > 0) {
116
+ propsValue.q_organization_keyword_tags.forEach((tag) => {
117
+ queryParams.append('q_organization_keyword_tags[]', tag);
118
+ });
119
+ }
120
+ if (propsValue.page) {
121
+ queryParams.append('page', String(propsValue.page));
122
+ }
123
+ if (propsValue.per_page) {
124
+ queryParams.append('per_page', String(propsValue.per_page));
125
+ }
97
126
  const cacheKey = `_apollo_org_search_${queryParams.toString()}`;
98
127
  if (propsValue.cacheResponse) {
99
128
  const cachedResult = yield store.get(cacheKey, pieces_framework_1.StoreScope.PROJECT);
@@ -110,10 +139,14 @@ exports.organizationSearch = (0, pieces_framework_1.createAction)({
110
139
  'x-api-key': `${auth.secret_text}`,
111
140
  },
112
141
  });
142
+ const response = {
143
+ organizations: result.body.organizations || [],
144
+ pagination: result.body.pagination || {},
145
+ };
113
146
  if (propsValue.cacheResponse) {
114
- yield store.put(cacheKey, result.body, pieces_framework_1.StoreScope.PROJECT);
147
+ yield store.put(cacheKey, response, pieces_framework_1.StoreScope.PROJECT);
115
148
  }
116
- return result.body;
149
+ return response;
117
150
  });
118
151
  },
119
152
  });
@@ -1 +1 @@
1
- {"version":3,"file":"organization-search.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/apollo/src/lib/actions/organization-search.ts"],"names":[],"mappings":";;;;AAAA,8BAAoC;AACpC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EACT,kEAAkE;IACpE,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACtC,WAAW,EAAE,mBAAmB;YAChC,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,sBAAsB,EAAE,2BAAQ,CAAC,KAAK,CAAC;YACrC,WAAW,EAAE,wBAAwB;YACrC,WAAW,EAAE,0CAA0C;YACvD,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,0BAA0B,EAAE,2BAAQ,CAAC,KAAK,CAAC;YACzC,WAAW,EAAE,mBAAmB;YAChC,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,KAAK;S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WAAW,CAAC,MAAM,CAAC,iCAAiC,EAAE,KAAe,CAAC,CAAC;gBACzE,CAAC,CAAC,CAAC;YACL,CAAC;YAED,MAAM,QAAQ,GAAG,sBAAsB,WAAW,CAAC,QAAQ,EAAE,EAAE,CAAC;YAEhE,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,YAAY,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;gBACnE,IAAI,YAAY,EAAE,CAAC;oBACjB,OAAO,YAAY,CAAC;gBACtB,CAAC;YACH,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,0BAAU,CAAC,WAAW,CAGxC;gBACD,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,uDAAuD,WAAW,CAAC,QAAQ,EAAE,EAAE;gBACpF,OAAO,EAAE;oBACP,cAAc,EAAE,kBAAkB;oBAClC,eAAe,EAAE,UAAU;oBAC3B,WAAW,EAAE,GAAG,IAAI,CAAC,WAAW,EAAE;iBACnC;aACF,CAAC,CAAC;YAEH,IAAI,UAAU,CAAC,aAAa,EAAE,CAAC;gBAC7B,MAAM,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,EAAE,6BAAU,CAAC,OAAO,CAAC,CAAC;YAC7D,CAAC;YAED,OAAO,MAAM,CAAC,IAAI,CAAC;QACrB,CAAC;KAAA;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"organization-search.js","sourceRoot":"","sources":["../../../../src/lib/actions/organization-search.ts"],"names":[],"mappings":";;;;AAAA,kCAAqC;AACrC,8DAAoE;AACpE,oEAIuC;AAE1B,QAAA,kBAAkB,GAAG,IAAA,+BAAY,EAAC;IAC7C,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EACT,kEAAkE;IACpE,KAAK,EAAE;QACL,mBAAmB,EA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
- export declare const peopleSearch: import("@scopieflows/pieces-framework").IAction<import("@scopieflows/pieces-framework").SecretTextProperty<true>, {
2
- q_keywords: import("@scopieflows/pieces-framework").ShortTextProperty<false>;
3
- person_titles: import("@scopieflows/pieces-framework").ArrayProperty<false>;
4
- person_locations: import("@scopieflows/pieces-framework").ArrayProperty<false>;
5
- person_seniorities: import("@scopieflows/pieces-framework").ArrayProperty<false>;
6
- organization_ids: import("@scopieflows/pieces-framework").ArrayProperty<false>;
7
- organization_num_employees_ranges: import("@scopieflows/pieces-framework").ArrayProperty<false>;
8
- q_organization_domains: import("@scopieflows/pieces-framework").ArrayProperty<false>;
9
- organization_locations: import("@scopieflows/pieces-framework").ArrayProperty<false>;
10
- cacheResponse: import("@scopieflows/pieces-framework").CheckboxProperty<false>;
1
+ export declare const peopleSearch: import("@scopieflows/apps-framework").IAction<import("@scopieflows/apps-framework").SecretTextProperty<true>, {
2
+ q_keywords: import("@scopieflows/apps-framework").ShortTextProperty<false>;
3
+ person_titles: import("@scopieflows/apps-framework").ArrayProperty<false>;
4
+ person_locations: import("@scopieflows/apps-framework").ArrayProperty<false>;
5
+ person_seniorities: import("@scopieflows/apps-framework").ArrayProperty<false>;
6
+ organization_ids: import("@scopieflows/apps-framework").ArrayProperty<false>;
7
+ organization_num_employees_ranges: import("@scopieflows/apps-framework").ArrayProperty<false>;
8
+ q_organization_domains: import("@scopieflows/apps-framework").ArrayProperty<false>;
9
+ organization_locations: import("@scopieflows/apps-framework").ArrayProperty<false>;
10
+ organization_names: import("@scopieflows/apps-framework").ArrayProperty<false>;
11
+ contact_email_status: import("@scopieflows/apps-framework").StaticMultiSelectDropdownProperty<string, false>;
12
+ page: import("@scopieflows/apps-framework").NumberProperty<false>;
13
+ per_page: import("@scopieflows/apps-framework").NumberProperty<false>;
14
+ cacheResponse: import("@scopieflows/apps-framework").CheckboxProperty<false>;
11
15
  }>;
16
+ //# sourceMappingURL=people-search.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"people-search.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/people-search.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;EAiNvB,CAAC"}