@keystrokehq/fullenrich 0.1.1 → 0.1.2

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 (47) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-contact-data-list.d.cts +1 -3
  4. package/dist/actions/create-contact-data-list.d.cts.map +1 -1
  5. package/dist/actions/create-contact-data-list.d.mts +1 -3
  6. package/dist/actions/create-contact-data-list.d.mts.map +1 -1
  7. package/dist/actions/get-current-credit-balance.d.cts +1 -3
  8. package/dist/actions/get-current-credit-balance.d.cts.map +1 -1
  9. package/dist/actions/get-current-credit-balance.d.mts +1 -3
  10. package/dist/actions/get-current-credit-balance.d.mts.map +1 -1
  11. package/dist/actions/get-enrichment-result.cjs +55 -55
  12. package/dist/actions/get-enrichment-result.cjs.map +1 -1
  13. package/dist/actions/get-enrichment-result.d.cts +57 -139
  14. package/dist/actions/get-enrichment-result.d.cts.map +1 -1
  15. package/dist/actions/get-enrichment-result.d.mts +57 -139
  16. package/dist/actions/get-enrichment-result.d.mts.map +1 -1
  17. package/dist/actions/get-enrichment-result.mjs +55 -55
  18. package/dist/actions/get-enrichment-result.mjs.map +1 -1
  19. package/dist/actions/get-reverse-email-result.cjs +42 -42
  20. package/dist/actions/get-reverse-email-result.cjs.map +1 -1
  21. package/dist/actions/get-reverse-email-result.d.cts +45 -109
  22. package/dist/actions/get-reverse-email-result.d.mts +45 -109
  23. package/dist/actions/get-reverse-email-result.mjs +42 -42
  24. package/dist/actions/get-reverse-email-result.mjs.map +1 -1
  25. package/dist/actions/reverse-email-lookup.d.cts +1 -3
  26. package/dist/actions/reverse-email-lookup.d.mts +1 -3
  27. package/dist/actions/search-company.cjs +16 -16
  28. package/dist/actions/search-company.cjs.map +1 -1
  29. package/dist/actions/search-company.d.cts +17 -36
  30. package/dist/actions/search-company.d.cts.map +1 -1
  31. package/dist/actions/search-company.d.mts +17 -36
  32. package/dist/actions/search-company.d.mts.map +1 -1
  33. package/dist/actions/search-company.mjs +16 -16
  34. package/dist/actions/search-company.mjs.map +1 -1
  35. package/dist/actions/search-people.cjs +50 -50
  36. package/dist/actions/search-people.cjs.map +1 -1
  37. package/dist/actions/search-people.d.cts +77 -170
  38. package/dist/actions/search-people.d.mts +77 -170
  39. package/dist/actions/search-people.mjs +50 -50
  40. package/dist/actions/search-people.mjs.map +1 -1
  41. package/dist/actions/start-bulk-enrichment.d.cts +1 -3
  42. package/dist/actions/start-bulk-enrichment.d.mts +1 -3
  43. package/dist/actions/verify-api-key.d.cts +1 -3
  44. package/dist/actions/verify-api-key.d.cts.map +1 -1
  45. package/dist/actions/verify-api-key.d.mts +1 -3
  46. package/dist/actions/verify-api-key.d.mts.map +1 -1
  47. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["fullenrich","executeFullenrichTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { fullenrich } from \"./app\";\nimport { executeFullenrichTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return fullenrich.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFullenrichTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["fullenrich","executeFullenrichTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { fullenrich } from \"./app\";\nimport { executeFullenrichTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return fullenrich.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeFullenrichTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { fullenrich } from \"./app\";\nimport { executeFullenrichTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return fullenrich.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFullenrichTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { fullenrich } from \"./app\";\nimport { executeFullenrichTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return fullenrich.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeFullenrichTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
@@ -25,9 +25,7 @@ declare const fullenrichCreateContactDataList: import("@keystrokehq/action").Wor
25
25
  linkedin_url?: string | undefined;
26
26
  enrich_fields?: string[] | undefined;
27
27
  }[];
28
- }, {
29
- datas: Record<string, unknown>[];
30
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
29
  //#endregion
32
30
  export { fullenrichCreateContactDataList };
33
31
  //# sourceMappingURL=create-contact-data-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-data-list.d.cts","names":[],"sources":["../../src/actions/create-contact-data-list.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA;;aAM1C,MAAA;;;;;;;;;SAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"create-contact-data-list.d.cts","names":[],"sources":["../../src/actions/create-contact-data-list.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA;;aAM1C,MAAA"}
@@ -25,9 +25,7 @@ declare const fullenrichCreateContactDataList: import("@keystrokehq/action").Wor
25
25
  linkedin_url?: string | undefined;
26
26
  enrich_fields?: string[] | undefined;
27
27
  }[];
28
- }, {
29
- datas: Record<string, unknown>[];
30
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
29
  //#endregion
32
30
  export { fullenrichCreateContactDataList };
33
31
  //# sourceMappingURL=create-contact-data-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact-data-list.d.mts","names":[],"sources":["../../src/actions/create-contact-data-list.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA;;aAM1C,MAAA;;;;;;;;;SAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"create-contact-data-list.d.mts","names":[],"sources":["../../src/actions/create-contact-data-list.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAWpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA;;aAM1C,MAAA"}
@@ -5,9 +5,7 @@ declare const FullenrichGetCurrentCreditBalanceInput: z.ZodObject<{}, z.core.$st
5
5
  declare const FullenrichGetCurrentCreditBalanceOutput: z.ZodObject<{
6
6
  balance: z.ZodNullable<z.ZodNumber>;
7
7
  }, z.core.$strip>;
8
- declare const fullenrichGetCurrentCreditBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
9
- balance: number | null;
10
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const fullenrichGetCurrentCreditBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
9
  //#endregion
12
10
  export { fullenrichGetCurrentCreditBalance };
13
11
  //# sourceMappingURL=get-current-credit-balance.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-credit-balance.d.cts","names":[],"sources":["../../src/actions/get-current-credit-balance.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-current-credit-balance.d.cts","names":[],"sources":["../../src/actions/get-current-credit-balance.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -5,9 +5,7 @@ declare const FullenrichGetCurrentCreditBalanceInput: z.ZodObject<{}, z.core.$st
5
5
  declare const FullenrichGetCurrentCreditBalanceOutput: z.ZodObject<{
6
6
  balance: z.ZodNullable<z.ZodNumber>;
7
7
  }, z.core.$strip>;
8
- declare const fullenrichGetCurrentCreditBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
9
- balance: number | null;
10
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ declare const fullenrichGetCurrentCreditBalance: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
9
  //#endregion
12
10
  export { fullenrichGetCurrentCreditBalance };
13
11
  //# sourceMappingURL=get-current-credit-balance.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-credit-balance.d.mts","names":[],"sources":["../../src/actions/get-current-credit-balance.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"get-current-credit-balance.d.mts","names":[],"sources":["../../src/actions/get-current-credit-balance.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAIvC,iCAAA,gCAAiC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -15,81 +15,81 @@ const FullenrichGetEnrichmentResult_PhoneItemSchema = zod.z.object({
15
15
  region: zod.z.string().describe("Region or country code of the phone number").nullable()
16
16
  });
17
17
  const FullenrichGetEnrichmentResult_DateInfoSchema = zod.z.object({
18
- year: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Year").optional()),
19
- month: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Month (1-12)").optional())
18
+ year: zod.z.number().int().describe("Year").nullable().optional(),
19
+ month: zod.z.number().int().describe("Month (1-12)").nullable().optional()
20
20
  });
21
21
  const FullenrichGetEnrichmentResult_HeadquartersSchema = zod.z.object({
22
- city: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("City").optional()),
23
- region: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Region or state").optional()),
24
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country name").optional()),
25
- postal_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Postal code").optional()),
26
- country_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country code").optional()),
27
- address_line_1: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Primary address line").optional()),
28
- address_line_2: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Secondary address line").optional())
22
+ city: zod.z.string().describe("City").nullable().optional(),
23
+ region: zod.z.string().describe("Region or state").nullable().optional(),
24
+ country: zod.z.string().describe("Country name").nullable().optional(),
25
+ postal_code: zod.z.string().describe("Postal code").nullable().optional(),
26
+ country_code: zod.z.string().describe("Country code").nullable().optional(),
27
+ address_line_1: zod.z.string().describe("Primary address line").nullable().optional(),
28
+ address_line_2: zod.z.string().describe("Secondary address line").nullable().optional()
29
29
  });
30
30
  const FullenrichGetEnrichmentResult_CompanySchema = zod.z.object({
31
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company name").optional()),
32
- domain: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company domain").optional()),
33
- website: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company website URL").optional()),
34
- industry: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Industry sector").optional()),
35
- headcount: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of employees").optional()),
36
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Company description").optional()),
37
- linkedin_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("LinkedIn company ID").optional()),
38
- headquarters: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichGetEnrichmentResult_HeadquartersSchema.optional()),
39
- linkedin_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("LinkedIn company URL").optional()),
40
- year_founded: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Year the company was founded").optional()),
41
- headcount_range: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Employee count range").optional()),
42
- linkedin_handle: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("LinkedIn company handle").optional())
31
+ name: zod.z.string().describe("Company name").nullable().optional(),
32
+ domain: zod.z.string().describe("Company domain").nullable().optional(),
33
+ website: zod.z.string().describe("Company website URL").nullable().optional(),
34
+ industry: zod.z.string().describe("Industry sector").nullable().optional(),
35
+ headcount: zod.z.number().int().describe("Number of employees").nullable().optional(),
36
+ description: zod.z.string().describe("Company description").nullable().optional(),
37
+ linkedin_id: zod.z.number().int().describe("LinkedIn company ID").nullable().optional(),
38
+ headquarters: FullenrichGetEnrichmentResult_HeadquartersSchema.nullable().optional(),
39
+ linkedin_url: zod.z.string().describe("LinkedIn company URL").nullable().optional(),
40
+ year_founded: zod.z.number().int().describe("Year the company was founded").nullable().optional(),
41
+ headcount_range: zod.z.string().describe("Employee count range").nullable().optional(),
42
+ linkedin_handle: zod.z.string().describe("LinkedIn company handle").nullable().optional()
43
43
  });
44
44
  const FullenrichGetEnrichmentResult_PositionSchema = zod.z.object({
45
- title: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Job title").optional()),
46
- end_at: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichGetEnrichmentResult_DateInfoSchema.optional()),
47
- company: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichGetEnrichmentResult_CompanySchema.optional()),
48
- start_at: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichGetEnrichmentResult_DateInfoSchema.optional()),
49
- description: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Position description").optional())
45
+ title: zod.z.string().describe("Job title").nullable().optional(),
46
+ end_at: FullenrichGetEnrichmentResult_DateInfoSchema.nullable().optional(),
47
+ company: FullenrichGetEnrichmentResult_CompanySchema.nullable().optional(),
48
+ start_at: FullenrichGetEnrichmentResult_DateInfoSchema.nullable().optional(),
49
+ description: zod.z.string().describe("Position description").nullable().optional()
50
50
  });
51
51
  const FullenrichGetEnrichmentResult_ContactProfileSchema = zod.z.object({
52
- summary: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Profile summary or bio").optional()),
53
- headline: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Profile headline or title").optional()),
54
- lastname: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Last name as detected on profile").optional()),
55
- location: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Profile location").optional()),
56
- position: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichGetEnrichmentResult_PositionSchema.optional()),
57
- firstname: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("First name as detected on profile").optional()),
58
- linkedin_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("LinkedIn profile ID").optional()),
59
- linkedin_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("LinkedIn profile URL").optional()),
60
- linkedin_handle: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("LinkedIn handle or username").optional()),
61
- premium_account: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the profile has a premium account").optional()),
62
- sales_navigator_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Sales Navigator profile ID").optional())
52
+ summary: zod.z.string().describe("Profile summary or bio").nullable().optional(),
53
+ headline: zod.z.string().describe("Profile headline or title").nullable().optional(),
54
+ lastname: zod.z.string().describe("Last name as detected on profile").nullable().optional(),
55
+ location: zod.z.string().describe("Profile location").nullable().optional(),
56
+ position: FullenrichGetEnrichmentResult_PositionSchema.nullable().optional(),
57
+ firstname: zod.z.string().describe("First name as detected on profile").nullable().optional(),
58
+ linkedin_id: zod.z.number().int().describe("LinkedIn profile ID").nullable().optional(),
59
+ linkedin_url: zod.z.string().describe("LinkedIn profile URL").nullable().optional(),
60
+ linkedin_handle: zod.z.string().describe("LinkedIn handle or username").nullable().optional(),
61
+ premium_account: zod.z.boolean().describe("Whether the profile has a premium account").nullable().optional(),
62
+ sales_navigator_id: zod.z.string().describe("Sales Navigator profile ID").nullable().optional()
63
63
  });
64
64
  const FullenrichGetEnrichmentResult_SocialMediaItemSchema = zod.z.object({
65
65
  url: zod.z.string().describe("URL of the social media profile").nullable(),
66
66
  type: zod.z.string().describe("Type of social media (e.g., LinkedIn, Twitter)").nullable()
67
67
  });
68
68
  const FullenrichGetEnrichmentResult_ContactSchema = zod.z.object({
69
- domain: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Contact's email domain").optional()),
70
- emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe("List of emails found for the contact").optional()),
71
- phones: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FullenrichGetEnrichmentResult_PhoneItemSchema).describe("List of phone numbers found for the contact").optional()),
72
- profile: zod.z.preprocess((value) => value === null ? void 0 : value, FullenrichGetEnrichmentResult_ContactProfileSchema.optional()),
73
- lastname: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Contact's last name").optional()),
74
- firstname: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Contact's first name").optional()),
75
- social_medias: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FullenrichGetEnrichmentResult_SocialMediaItemSchema).describe("List of social media profiles for the contact").optional()),
76
- personal_emails: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe("List of personal emails found for the contact").optional()),
77
- most_probable_email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Most probable email address").optional()),
78
- most_probable_phone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Most probable phone number").optional()),
79
- most_probable_email_status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status of most probable email").optional()),
80
- most_probable_personal_email: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Most probable personal email address").optional()),
81
- most_probable_personal_email_status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Status of most probable personal email").optional())
69
+ domain: zod.z.string().describe("Contact's email domain").nullable().optional(),
70
+ emails: zod.z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe("List of emails found for the contact").nullable().optional(),
71
+ phones: zod.z.array(FullenrichGetEnrichmentResult_PhoneItemSchema).describe("List of phone numbers found for the contact").nullable().optional(),
72
+ profile: FullenrichGetEnrichmentResult_ContactProfileSchema.nullable().optional(),
73
+ lastname: zod.z.string().describe("Contact's last name").nullable().optional(),
74
+ firstname: zod.z.string().describe("Contact's first name").nullable().optional(),
75
+ social_medias: zod.z.array(FullenrichGetEnrichmentResult_SocialMediaItemSchema).describe("List of social media profiles for the contact").nullable().optional(),
76
+ personal_emails: zod.z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe("List of personal emails found for the contact").nullable().optional(),
77
+ most_probable_email: zod.z.string().describe("Most probable email address").nullable().optional(),
78
+ most_probable_phone: zod.z.string().describe("Most probable phone number").nullable().optional(),
79
+ most_probable_email_status: zod.z.string().describe("Status of most probable email").nullable().optional(),
80
+ most_probable_personal_email: zod.z.string().describe("Most probable personal email address").nullable().optional(),
81
+ most_probable_personal_email_status: zod.z.string().describe("Status of most probable personal email").nullable().optional()
82
82
  });
83
83
  const FullenrichGetEnrichmentResult_DataItemSchema = zod.z.object({
84
- custom: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.object({}).describe("Custom key/value pairs provided in enrichment request").optional()),
84
+ custom: zod.z.object({}).describe("Custom key/value pairs provided in enrichment request").nullable().optional(),
85
85
  contact: FullenrichGetEnrichmentResult_ContactSchema.nullable()
86
86
  });
87
87
  const FullenrichGetEnrichmentResultOutput = zod.z.object({
88
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Enrichment job ID").optional()),
88
+ id: zod.z.string().describe("Enrichment job ID").nullable().optional(),
89
89
  cost: FullenrichGetEnrichmentResult_CostInfoSchema.nullable(),
90
- name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Enrichment job name").optional()),
90
+ name: zod.z.string().describe("Enrichment job name").nullable().optional(),
91
91
  datas: zod.z.array(FullenrichGetEnrichmentResult_DataItemSchema).describe("Array of enrichment result items"),
92
- status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.enum([
92
+ status: zod.z.enum([
93
93
  "CREATED",
94
94
  "IN_PROGRESS",
95
95
  "CANCELED",
@@ -97,7 +97,7 @@ const FullenrichGetEnrichmentResultOutput = zod.z.object({
97
97
  "FINISHED",
98
98
  "RATE_LIMIT",
99
99
  "UNKNOWN"
100
- ]).describe("Status of the enrichment job").optional())
100
+ ]).describe("Status of the enrichment job").nullable().optional()
101
101
  });
102
102
  const fullenrichGetEnrichmentResult = require_action.action("FULLENRICH_GET_ENRICHMENT_RESULT", {
103
103
  slug: "fullenrich-get-enrichment-result",
@@ -1 +1 @@
1
- {"version":3,"file":"get-enrichment-result.cjs","names":["z","action"],"sources":["../../src/actions/get-enrichment-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichGetEnrichmentResultInput = z.object({\n forceResults: z.boolean().default(false).describe(\"Return partial results even if job is not finished (may be incomplete)\").optional(),\n enrichment_id: z.string().describe(\"Bulk enrichment job ID to fetch\"),\n}).describe(\"Request parameters for retrieving bulk enrichment results.\");\nconst FullenrichGetEnrichmentResult_CostInfoSchema = z.object({\n credits: z.number().int().describe(\"Number of credits consumed by the enrichment job\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_EmailItemSchema = z.object({\n email: z.string().describe(\"Enriched email address\").nullable(),\n status: z.string().describe(\"Status of the email (e.g., verified, risky)\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_PhoneItemSchema = z.object({\n number: z.string().describe(\"Phone number\").nullable(),\n region: z.string().describe(\"Region or country code of the phone number\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_DateInfoSchema = z.object({\n year: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Year\").optional()),\n month: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Month (1-12)\").optional()),\n});\nconst FullenrichGetEnrichmentResult_HeadquartersSchema = z.object({\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region or state\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country name\").optional()),\n postal_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Postal code\").optional()),\n country_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code\").optional()),\n address_line_1: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Primary address line\").optional()),\n address_line_2: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Secondary address line\").optional()),\n});\nconst FullenrichGetEnrichmentResult_CompanySchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company name\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company domain\").optional()),\n website: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company website URL\").optional()),\n industry: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Industry sector\").optional()),\n headcount: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of employees\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company description\").optional()),\n linkedin_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"LinkedIn company ID\").optional()),\n headquarters: z.preprocess((value) => (value === null ? undefined : value), FullenrichGetEnrichmentResult_HeadquartersSchema.optional()),\n linkedin_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn company URL\").optional()),\n year_founded: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Year the company was founded\").optional()),\n headcount_range: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Employee count range\").optional()),\n linkedin_handle: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn company handle\").optional()),\n});\nconst FullenrichGetEnrichmentResult_PositionSchema = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title\").optional()),\n end_at: z.preprocess((value) => (value === null ? undefined : value), FullenrichGetEnrichmentResult_DateInfoSchema.optional()),\n company: z.preprocess((value) => (value === null ? undefined : value), FullenrichGetEnrichmentResult_CompanySchema.optional()),\n start_at: z.preprocess((value) => (value === null ? undefined : value), FullenrichGetEnrichmentResult_DateInfoSchema.optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Position description\").optional()),\n});\nconst FullenrichGetEnrichmentResult_ContactProfileSchema = z.object({\n summary: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Profile summary or bio\").optional()),\n headline: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Profile headline or title\").optional()),\n lastname: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name as detected on profile\").optional()),\n location: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Profile location\").optional()),\n position: z.preprocess((value) => (value === null ? undefined : value), FullenrichGetEnrichmentResult_PositionSchema.optional()),\n firstname: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"First name as detected on profile\").optional()),\n linkedin_id: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"LinkedIn profile ID\").optional()),\n linkedin_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn profile URL\").optional()),\n linkedin_handle: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn handle or username\").optional()),\n premium_account: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the profile has a premium account\").optional()),\n sales_navigator_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Sales Navigator profile ID\").optional()),\n});\nconst FullenrichGetEnrichmentResult_SocialMediaItemSchema = z.object({\n url: z.string().describe(\"URL of the social media profile\").nullable(),\n type: z.string().describe(\"Type of social media (e.g., LinkedIn, Twitter)\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_ContactSchema = z.object({\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Contact's email domain\").optional()),\n emails: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe(\"List of emails found for the contact\").optional()),\n phones: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichGetEnrichmentResult_PhoneItemSchema).describe(\"List of phone numbers found for the contact\").optional()),\n profile: z.preprocess((value) => (value === null ? undefined : value), FullenrichGetEnrichmentResult_ContactProfileSchema.optional()),\n lastname: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Contact's last name\").optional()),\n firstname: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Contact's first name\").optional()),\n social_medias: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichGetEnrichmentResult_SocialMediaItemSchema).describe(\"List of social media profiles for the contact\").optional()),\n personal_emails: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe(\"List of personal emails found for the contact\").optional()),\n most_probable_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Most probable email address\").optional()),\n most_probable_phone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Most probable phone number\").optional()),\n most_probable_email_status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status of most probable email\").optional()),\n most_probable_personal_email: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Most probable personal email address\").optional()),\n most_probable_personal_email_status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Status of most probable personal email\").optional()),\n});\nconst FullenrichGetEnrichmentResult_DataItemSchema = z.object({\n custom: z.preprocess((value) => (value === null ? undefined : value), z.object({}).describe(\"Custom key/value pairs provided in enrichment request\").optional()),\n contact: FullenrichGetEnrichmentResult_ContactSchema.nullable(),\n});\nexport const FullenrichGetEnrichmentResultOutput = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Enrichment job ID\").optional()),\n cost: FullenrichGetEnrichmentResult_CostInfoSchema.nullable(),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Enrichment job name\").optional()),\n datas: z.array(FullenrichGetEnrichmentResult_DataItemSchema).describe(\"Array of enrichment result items\"),\n status: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"CREATED\", \"IN_PROGRESS\", \"CANCELED\", \"CREDITS_INSUFFICIENT\", \"FINISHED\", \"RATE_LIMIT\", \"UNKNOWN\"]).describe(\"Status of the enrichment job\").optional()),\n});\n\nexport const fullenrichGetEnrichmentResult = action(\"FULLENRICH_GET_ENRICHMENT_RESULT\", {\n slug: \"fullenrich-get-enrichment-result\",\n name: \"Get Bulk Enrichment Result\",\n description: \"Tool to retrieve results of a bulk enrichment by enrichment ID. Use after submitting a bulk enrichment job to check its status and get enriched data.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AAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAe;EAAY;EAAwB;EAAY;EAAc;CAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC;AACvO,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-enrichment-result.cjs","names":["z","action"],"sources":["../../src/actions/get-enrichment-result.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichGetEnrichmentResultInput = z.object({\n forceResults: z.boolean().default(false).describe(\"Return partial results even if job is not finished (may be incomplete)\").optional(),\n enrichment_id: z.string().describe(\"Bulk enrichment job ID to fetch\"),\n}).describe(\"Request parameters for retrieving bulk enrichment results.\");\nconst FullenrichGetEnrichmentResult_CostInfoSchema = z.object({\n credits: z.number().int().describe(\"Number of credits consumed by the enrichment job\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_EmailItemSchema = z.object({\n email: z.string().describe(\"Enriched email address\").nullable(),\n status: z.string().describe(\"Status of the email (e.g., verified, risky)\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_PhoneItemSchema = z.object({\n number: z.string().describe(\"Phone number\").nullable(),\n region: z.string().describe(\"Region or country code of the phone number\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_DateInfoSchema = z.object({\n year: z.number().int().describe(\"Year\").nullable().optional(),\n month: z.number().int().describe(\"Month (1-12)\").nullable().optional(),\n});\nconst FullenrichGetEnrichmentResult_HeadquartersSchema = z.object({\n city: z.string().describe(\"City\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n postal_code: z.string().describe(\"Postal code\").nullable().optional(),\n country_code: z.string().describe(\"Country code\").nullable().optional(),\n address_line_1: z.string().describe(\"Primary address line\").nullable().optional(),\n address_line_2: z.string().describe(\"Secondary address line\").nullable().optional(),\n});\nconst FullenrichGetEnrichmentResult_CompanySchema = z.object({\n name: z.string().describe(\"Company name\").nullable().optional(),\n domain: z.string().describe(\"Company domain\").nullable().optional(),\n website: z.string().describe(\"Company website URL\").nullable().optional(),\n industry: z.string().describe(\"Industry sector\").nullable().optional(),\n headcount: z.number().int().describe(\"Number of employees\").nullable().optional(),\n description: z.string().describe(\"Company description\").nullable().optional(),\n linkedin_id: z.number().int().describe(\"LinkedIn company ID\").nullable().optional(),\n headquarters: FullenrichGetEnrichmentResult_HeadquartersSchema.nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn company URL\").nullable().optional(),\n year_founded: z.number().int().describe(\"Year the company was founded\").nullable().optional(),\n headcount_range: z.string().describe(\"Employee count range\").nullable().optional(),\n linkedin_handle: z.string().describe(\"LinkedIn company handle\").nullable().optional(),\n});\nconst FullenrichGetEnrichmentResult_PositionSchema = z.object({\n title: z.string().describe(\"Job title\").nullable().optional(),\n end_at: FullenrichGetEnrichmentResult_DateInfoSchema.nullable().optional(),\n company: FullenrichGetEnrichmentResult_CompanySchema.nullable().optional(),\n start_at: FullenrichGetEnrichmentResult_DateInfoSchema.nullable().optional(),\n description: z.string().describe(\"Position description\").nullable().optional(),\n});\nconst FullenrichGetEnrichmentResult_ContactProfileSchema = z.object({\n summary: z.string().describe(\"Profile summary or bio\").nullable().optional(),\n headline: z.string().describe(\"Profile headline or title\").nullable().optional(),\n lastname: z.string().describe(\"Last name as detected on profile\").nullable().optional(),\n location: z.string().describe(\"Profile location\").nullable().optional(),\n position: FullenrichGetEnrichmentResult_PositionSchema.nullable().optional(),\n firstname: z.string().describe(\"First name as detected on profile\").nullable().optional(),\n linkedin_id: z.number().int().describe(\"LinkedIn profile ID\").nullable().optional(),\n linkedin_url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n linkedin_handle: z.string().describe(\"LinkedIn handle or username\").nullable().optional(),\n premium_account: z.boolean().describe(\"Whether the profile has a premium account\").nullable().optional(),\n sales_navigator_id: z.string().describe(\"Sales Navigator profile ID\").nullable().optional(),\n});\nconst FullenrichGetEnrichmentResult_SocialMediaItemSchema = z.object({\n url: z.string().describe(\"URL of the social media profile\").nullable(),\n type: z.string().describe(\"Type of social media (e.g., LinkedIn, Twitter)\").nullable(),\n});\nconst FullenrichGetEnrichmentResult_ContactSchema = z.object({\n domain: z.string().describe(\"Contact's email domain\").nullable().optional(),\n emails: z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe(\"List of emails found for the contact\").nullable().optional(),\n phones: z.array(FullenrichGetEnrichmentResult_PhoneItemSchema).describe(\"List of phone numbers found for the contact\").nullable().optional(),\n profile: FullenrichGetEnrichmentResult_ContactProfileSchema.nullable().optional(),\n lastname: z.string().describe(\"Contact's last name\").nullable().optional(),\n firstname: z.string().describe(\"Contact's first name\").nullable().optional(),\n social_medias: z.array(FullenrichGetEnrichmentResult_SocialMediaItemSchema).describe(\"List of social media profiles for the contact\").nullable().optional(),\n personal_emails: z.array(FullenrichGetEnrichmentResult_EmailItemSchema).describe(\"List of personal emails found for the contact\").nullable().optional(),\n most_probable_email: z.string().describe(\"Most probable email address\").nullable().optional(),\n most_probable_phone: z.string().describe(\"Most probable phone number\").nullable().optional(),\n most_probable_email_status: z.string().describe(\"Status of most probable email\").nullable().optional(),\n most_probable_personal_email: z.string().describe(\"Most probable personal email address\").nullable().optional(),\n most_probable_personal_email_status: z.string().describe(\"Status of most probable personal email\").nullable().optional(),\n});\nconst FullenrichGetEnrichmentResult_DataItemSchema = z.object({\n custom: z.object({}).describe(\"Custom key/value pairs provided in enrichment request\").nullable().optional(),\n contact: FullenrichGetEnrichmentResult_ContactSchema.nullable(),\n});\nexport const FullenrichGetEnrichmentResultOutput = z.object({\n id: z.string().describe(\"Enrichment job ID\").nullable().optional(),\n cost: FullenrichGetEnrichmentResult_CostInfoSchema.nullable(),\n name: z.string().describe(\"Enrichment job name\").nullable().optional(),\n datas: z.array(FullenrichGetEnrichmentResult_DataItemSchema).describe(\"Array of enrichment result items\"),\n status: z.enum([\"CREATED\", \"IN_PROGRESS\", \"CANCELED\", \"CREDITS_INSUFFICIENT\", \"FINISHED\", \"RATE_LIMIT\", \"UNKNOWN\"]).describe(\"Status of the enrichment job\").nullable().optional(),\n});\n\nexport const fullenrichGetEnrichmentResult = action(\"FULLENRICH_GET_ENRICHMENT_RESULT\", {\n slug: \"fullenrich-get-enrichment-result\",\n name: \"Get Bulk Enrichment Result\",\n description: \"Tool to retrieve results of a bulk enrichment by enrichment ID. Use after submitting a bulk enrichment job to check its status and get enriched data.\",\n input: FullenrichGetEnrichmentResultInput,\n output: FullenrichGetEnrichmentResultOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACrI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACtE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,EAClG,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACtF,CAAC;AACD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,4CAA4C,SAAS;AAChE,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,6CAA6C,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kCAAkC;CACxG,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAe;EAAY;EAAwB;EAAY;EAAc;CAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnL,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,87 +6,87 @@ declare const FullenrichGetEnrichmentResultInput: z.ZodObject<{
6
6
  enrichment_id: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  declare const FullenrichGetEnrichmentResultOutput: z.ZodObject<{
9
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  cost: z.ZodNullable<z.ZodObject<{
11
11
  credits: z.ZodNullable<z.ZodNumber>;
12
12
  }, z.core.$strip>>;
13
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  datas: z.ZodArray<z.ZodObject<{
15
- custom: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{}, z.core.$strip>>>;
15
+ custom: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
16
16
  contact: z.ZodNullable<z.ZodObject<{
17
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
19
19
  email: z.ZodNullable<z.ZodString>;
20
20
  status: z.ZodNullable<z.ZodString>;
21
21
  }, z.core.$strip>>>>;
22
- phones: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
22
+ phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  number: z.ZodNullable<z.ZodString>;
24
24
  region: z.ZodNullable<z.ZodString>;
25
25
  }, z.core.$strip>>>>;
26
- profile: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
27
- summary: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- headline: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- lastname: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
30
- location: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
31
- position: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
32
- title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
- end_at: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
34
- year: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
35
- month: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
26
+ profile: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ headline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ position: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ end_at: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  }, z.core.$strip>>>;
37
- company: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
38
- name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
39
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
40
- website: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
41
- industry: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
42
- headcount: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
43
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
44
- linkedin_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
45
- headquarters: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
46
- city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
47
- region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
48
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
49
- postal_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
50
- country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- address_line_1: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
52
- address_line_2: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ headcount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ headquarters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
46
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  }, z.core.$strip>>>;
54
- linkedin_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
55
- year_founded: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
56
- headcount_range: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
57
- linkedin_handle: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
54
+ linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ year_founded: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
56
+ headcount_range: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ linkedin_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  }, z.core.$strip>>>;
59
- start_at: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
60
- year: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
61
- month: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
59
+ start_at: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
+ year: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
+ month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
62
62
  }, z.core.$strip>>>;
63
- description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
64
  }, z.core.$strip>>>;
65
- firstname: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
66
- linkedin_id: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
67
- linkedin_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
68
- linkedin_handle: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
69
- premium_account: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
70
- sales_navigator_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
65
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ linkedin_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
67
+ linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ linkedin_handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ premium_account: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
70
+ sales_navigator_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
71
  }, z.core.$strip>>>;
72
- lastname: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
73
- firstname: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
74
- social_medias: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
72
+ lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ social_medias: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
75
75
  url: z.ZodNullable<z.ZodString>;
76
76
  type: z.ZodNullable<z.ZodString>;
77
77
  }, z.core.$strip>>>>;
78
- personal_emails: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
78
+ personal_emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
79
79
  email: z.ZodNullable<z.ZodString>;
80
80
  status: z.ZodNullable<z.ZodString>;
81
81
  }, z.core.$strip>>>>;
82
- most_probable_email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
83
- most_probable_phone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
84
- most_probable_email_status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
85
- most_probable_personal_email: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
86
- most_probable_personal_email_status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
82
+ most_probable_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ most_probable_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ most_probable_email_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
+ most_probable_personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ most_probable_personal_email_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
87
  }, z.core.$strip>>;
88
88
  }, z.core.$strip>>;
89
- status: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
89
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
90
90
  CREATED: "CREATED";
91
91
  IN_PROGRESS: "IN_PROGRESS";
92
92
  CANCELED: "CANCELED";
@@ -99,89 +99,7 @@ declare const FullenrichGetEnrichmentResultOutput: z.ZodObject<{
99
99
  declare const fullenrichGetEnrichmentResult: import("@keystrokehq/action").WorkflowActionDefinition<{
100
100
  enrichment_id: string;
101
101
  forceResults?: boolean | undefined;
102
- }, {
103
- cost: {
104
- credits: number | null;
105
- } | null;
106
- datas: {
107
- contact: {
108
- domain?: string | undefined;
109
- emails?: {
110
- email: string | null;
111
- status: string | null;
112
- }[] | undefined;
113
- phones?: {
114
- number: string | null;
115
- region: string | null;
116
- }[] | undefined;
117
- profile?: {
118
- summary?: string | undefined;
119
- headline?: string | undefined;
120
- lastname?: string | undefined;
121
- location?: string | undefined;
122
- position?: {
123
- title?: string | undefined;
124
- end_at?: {
125
- year?: number | undefined;
126
- month?: number | undefined;
127
- } | undefined;
128
- company?: {
129
- name?: string | undefined;
130
- domain?: string | undefined;
131
- website?: string | undefined;
132
- industry?: string | undefined;
133
- headcount?: number | undefined;
134
- description?: string | undefined;
135
- linkedin_id?: number | undefined;
136
- headquarters?: {
137
- city?: string | undefined;
138
- region?: string | undefined;
139
- country?: string | undefined;
140
- postal_code?: string | undefined;
141
- country_code?: string | undefined;
142
- address_line_1?: string | undefined;
143
- address_line_2?: string | undefined;
144
- } | undefined;
145
- linkedin_url?: string | undefined;
146
- year_founded?: number | undefined;
147
- headcount_range?: string | undefined;
148
- linkedin_handle?: string | undefined;
149
- } | undefined;
150
- start_at?: {
151
- year?: number | undefined;
152
- month?: number | undefined;
153
- } | undefined;
154
- description?: string | undefined;
155
- } | undefined;
156
- firstname?: string | undefined;
157
- linkedin_id?: number | undefined;
158
- linkedin_url?: string | undefined;
159
- linkedin_handle?: string | undefined;
160
- premium_account?: boolean | undefined;
161
- sales_navigator_id?: string | undefined;
162
- } | undefined;
163
- lastname?: string | undefined;
164
- firstname?: string | undefined;
165
- social_medias?: {
166
- url: string | null;
167
- type: string | null;
168
- }[] | undefined;
169
- personal_emails?: {
170
- email: string | null;
171
- status: string | null;
172
- }[] | undefined;
173
- most_probable_email?: string | undefined;
174
- most_probable_phone?: string | undefined;
175
- most_probable_email_status?: string | undefined;
176
- most_probable_personal_email?: string | undefined;
177
- most_probable_personal_email_status?: string | undefined;
178
- } | null;
179
- custom?: Record<string, never> | undefined;
180
- }[];
181
- id?: string | undefined;
182
- name?: string | undefined;
183
- status?: "CREATED" | "IN_PROGRESS" | "CANCELED" | "CREDITS_INSUFFICIENT" | "FINISHED" | "RATE_LIMIT" | "UNKNOWN" | undefined;
184
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
102
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
185
103
  //#endregion
186
104
  export { fullenrichGetEnrichmentResult };
187
105
  //# sourceMappingURL=get-enrichment-result.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-enrichment-result.d.cts","names":[],"sources":["../../src/actions/get-enrichment-result.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAqFlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQnC,6BAAA,gCAA6B,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAMxC,MAAA;EAAA"}
1
+ {"version":3,"file":"get-enrichment-result.d.cts","names":[],"sources":["../../src/actions/get-enrichment-result.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAqFlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQnC,6BAAA,gCAA6B,wBAAA"}