@keystrokehq/gender_api 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 (55) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-country-of-origin-v1.cjs +14 -14
  4. package/dist/actions/get-country-of-origin-v1.cjs.map +1 -1
  5. package/dist/actions/get-country-of-origin-v1.d.cts +15 -31
  6. package/dist/actions/get-country-of-origin-v1.d.mts +15 -31
  7. package/dist/actions/get-country-of-origin-v1.mjs +14 -14
  8. package/dist/actions/get-country-of-origin-v1.mjs.map +1 -1
  9. package/dist/actions/get-country-of-origin.cjs +17 -17
  10. package/dist/actions/get-country-of-origin.cjs.map +1 -1
  11. package/dist/actions/get-country-of-origin.d.cts +18 -56
  12. package/dist/actions/get-country-of-origin.d.mts +18 -56
  13. package/dist/actions/get-country-of-origin.mjs +17 -17
  14. package/dist/actions/get-country-of-origin.mjs.map +1 -1
  15. package/dist/actions/get-statistic.d.cts +1 -12
  16. package/dist/actions/get-statistic.d.cts.map +1 -1
  17. package/dist/actions/get-statistic.d.mts +1 -12
  18. package/dist/actions/get-statistic.d.mts.map +1 -1
  19. package/dist/actions/query-by-email-address-multiple.cjs +19 -19
  20. package/dist/actions/query-by-email-address-multiple.cjs.map +1 -1
  21. package/dist/actions/query-by-email-address-multiple.d.cts +19 -46
  22. package/dist/actions/query-by-email-address-multiple.d.mts +19 -46
  23. package/dist/actions/query-by-email-address-multiple.mjs +19 -19
  24. package/dist/actions/query-by-email-address-multiple.mjs.map +1 -1
  25. package/dist/actions/query-by-email-address.cjs +13 -13
  26. package/dist/actions/query-by-email-address.cjs.map +1 -1
  27. package/dist/actions/query-by-email-address.d.cts +13 -34
  28. package/dist/actions/query-by-email-address.d.mts +13 -34
  29. package/dist/actions/query-by-email-address.mjs +13 -13
  30. package/dist/actions/query-by-email-address.mjs.map +1 -1
  31. package/dist/actions/query-by-first-name.cjs +11 -11
  32. package/dist/actions/query-by-first-name.cjs.map +1 -1
  33. package/dist/actions/query-by-first-name.d.cts +11 -30
  34. package/dist/actions/query-by-first-name.d.mts +11 -30
  35. package/dist/actions/query-by-first-name.mjs +11 -11
  36. package/dist/actions/query-by-first-name.mjs.map +1 -1
  37. package/dist/actions/query-by-full-name.cjs +12 -12
  38. package/dist/actions/query-by-full-name.cjs.map +1 -1
  39. package/dist/actions/query-by-full-name.d.cts +12 -32
  40. package/dist/actions/query-by-full-name.d.mts +12 -32
  41. package/dist/actions/query-by-full-name.mjs +12 -12
  42. package/dist/actions/query-by-full-name.mjs.map +1 -1
  43. package/dist/actions/query-gender-by-first-name-multiple.cjs +11 -11
  44. package/dist/actions/query-gender-by-first-name-multiple.cjs.map +1 -1
  45. package/dist/actions/query-gender-by-first-name-multiple.d.cts +11 -32
  46. package/dist/actions/query-gender-by-first-name-multiple.d.mts +11 -32
  47. package/dist/actions/query-gender-by-first-name-multiple.mjs +11 -11
  48. package/dist/actions/query-gender-by-first-name-multiple.mjs.map +1 -1
  49. package/dist/actions/query-gender-by-full-name-multiple.cjs +12 -12
  50. package/dist/actions/query-gender-by-full-name-multiple.cjs.map +1 -1
  51. package/dist/actions/query-gender-by-full-name-multiple.d.cts +12 -34
  52. package/dist/actions/query-gender-by-full-name-multiple.d.mts +12 -34
  53. package/dist/actions/query-gender-by-full-name-multiple.mjs +12 -12
  54. package/dist/actions/query-gender-by-full-name-multiple.mjs.map +1 -1
  55. package/package.json +1 -1
@@ -10,26 +10,26 @@ declare const GenderApiQueryByFirstNameInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
12
12
  input: z.ZodNullable<z.ZodObject<{
13
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- locale: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  first_name: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$strip>>;
19
- gender: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
19
+ gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
22
22
  female: "female";
23
23
  }>>>;
24
24
  details: z.ZodNullable<z.ZodObject<{
25
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- samples: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
- first_name_sanitized: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
+ first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  }, z.core.$strip>>;
31
- first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
31
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  result_found: z.ZodNullable<z.ZodBoolean>;
34
34
  }, z.core.$strip>;
35
35
  declare const genderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -38,26 +38,7 @@ declare const genderApiQueryByFirstName: import("@keystrokehq/action").WorkflowA
38
38
  ip?: string | undefined;
39
39
  locale?: string | undefined;
40
40
  country?: string | undefined;
41
- }, {
42
- input: {
43
- first_name: string | null;
44
- id?: string | undefined;
45
- ip?: string | undefined;
46
- locale?: string | undefined;
47
- country?: string | undefined;
48
- } | null;
49
- details: {
50
- duration: string | null;
51
- credits_used: number | null;
52
- country?: string | undefined;
53
- samples?: number | undefined;
54
- first_name_sanitized?: string | undefined;
55
- } | null;
56
- result_found: boolean | null;
57
- gender?: "unknown" | "male" | "female" | undefined;
58
- first_name?: string | undefined;
59
- probability?: number | undefined;
60
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
61
42
  //#endregion
62
43
  export { genderApiQueryByFirstName };
63
44
  //# sourceMappingURL=query-by-first-name.d.mts.map
@@ -9,18 +9,18 @@ const GenderApiQueryByFirstNameInput = z.object({
9
9
  first_name: z.string().describe("Name to query.")
10
10
  }).describe("Request parameters for querying gender by first name.");
11
11
  const GenderApiQueryByFirstName_QueryByFirstNameInputSchema = z.object({
12
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Client-defined correlation ID, max 50 characters.").optional()),
13
- ip: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Valid IPv4 or IPv6 address.").optional()),
14
- locale: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Browser locale, e.g., 'en-US'.").optional()),
15
- country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 3166 ALPHA-2 country code.").optional()),
12
+ id: z.string().describe("Client-defined correlation ID, max 50 characters.").nullable().optional(),
13
+ ip: z.string().describe("Valid IPv4 or IPv6 address.").nullable().optional(),
14
+ locale: z.string().describe("Browser locale, e.g., 'en-US'.").nullable().optional(),
15
+ country: z.string().describe("ISO 3166 ALPHA-2 country code.").nullable().optional(),
16
16
  first_name: z.string().describe("Name to query.").nullable()
17
17
  });
18
18
  const GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema = z.object({
19
- country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The country found (may be null).").optional()),
20
- samples: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of database records matching the request. Only present when result_found is true.").optional()),
19
+ country: z.string().describe("The country found (may be null).").nullable().optional(),
20
+ samples: z.number().int().describe("Number of database records matching the request. Only present when result_found is true.").nullable().optional(),
21
21
  duration: z.string().describe("Server processing time, e.g., '436ms'.").nullable(),
22
22
  credits_used: z.number().int().describe("Requests (credits) used for this query.").nullable(),
23
- first_name_sanitized: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name after normalization. Only present when result_found is true.").optional())
23
+ first_name_sanitized: z.string().describe("Name after normalization. Only present when result_found is true.").nullable().optional()
24
24
  });
25
25
  const genderApiQueryByFirstName = action("GENDER_API_QUERY_BY_FIRST_NAME", {
26
26
  slug: "gender_api-query-by-first-name",
@@ -29,14 +29,14 @@ const genderApiQueryByFirstName = action("GENDER_API_QUERY_BY_FIRST_NAME", {
29
29
  input: GenderApiQueryByFirstNameInput,
30
30
  output: z.object({
31
31
  input: GenderApiQueryByFirstName_QueryByFirstNameInputSchema.nullable(),
32
- gender: z.preprocess((value) => value === null ? void 0 : value, z.enum([
32
+ gender: z.enum([
33
33
  "male",
34
34
  "female",
35
35
  "unknown"
36
- ]).describe("One of: male, female, unknown. Only present when result_found is true.").optional()),
36
+ ]).describe("One of: male, female, unknown. Only present when result_found is true.").nullable().optional(),
37
37
  details: GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema.nullable(),
38
- first_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("The first name used for genderization. Only present when result_found is true.").optional()),
39
- probability: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Reliability of the result between 0 and 1. Only present when result_found is true.").optional()),
38
+ first_name: z.string().describe("The first name used for genderization. Only present when result_found is true.").nullable().optional(),
39
+ probability: z.number().describe("Reliability of the result between 0 and 1. Only present when result_found is true.").nullable().optional(),
40
40
  result_found: z.boolean().describe("True if a gender could be determined for the name.").nullable()
41
41
  })
42
42
  });
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-first-name.mjs","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByFirstNameInput = z.object({\n id: z.string().describe(\"Client-defined correlation ID, max 50 characters.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address.\").optional(),\n locale: z.string().describe(\"Browser locale, e.g., 'en-US'.\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code.\").optional(),\n first_name: z.string().describe(\"Name to query.\"),\n}).describe(\"Request parameters for querying gender by first name.\");\nconst GenderApiQueryByFirstName_QueryByFirstNameInputSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Client-defined correlation ID, max 50 characters.\").optional()),\n ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Valid IPv4 or IPv6 address.\").optional()),\n locale: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Browser locale, e.g., 'en-US'.\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 3166 ALPHA-2 country code.\").optional()),\n first_name: z.string().describe(\"Name to query.\").nullable(),\n});\nconst GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema = z.object({\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The country found (may be null).\").optional()),\n samples: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of database records matching the request. Only present when result_found is true.\").optional()),\n duration: z.string().describe(\"Server processing time, e.g., '436ms'.\").nullable(),\n credits_used: z.number().int().describe(\"Requests (credits) used for this query.\").nullable(),\n first_name_sanitized: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name after normalization. Only present when result_found is true.\").optional()),\n});\nexport const GenderApiQueryByFirstNameOutput = z.object({\n input: GenderApiQueryByFirstName_QueryByFirstNameInputSchema.nullable(),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"male\", \"female\", \"unknown\"]).describe(\"One of: male, female, unknown. Only present when result_found is true.\").optional()),\n details: GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema.nullable(),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The first name used for genderization. Only present when result_found is true.\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Reliability of the result between 0 and 1. Only present when result_found is true.\").optional()),\n result_found: z.boolean().describe(\"True if a gender could be determined for the name.\").nullable(),\n});\n\nexport const genderApiQueryByFirstName = action(\"GENDER_API_QUERY_BY_FIRST_NAME\", {\n slug: \"gender_api-query-by-first-name\",\n name: \"Gender From First Name\",\n description: \"Tool to determine the gender of a first name. Use when you need to identify gender based on a given name.\",\n input: GenderApiQueryByFirstNameInput,\n output: GenderApiQueryByFirstNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAClD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC;CACrJ,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAA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W,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC;EAC1L,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC;EAC/L,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-first-name.mjs","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByFirstNameInput = z.object({\n id: z.string().describe(\"Client-defined correlation ID, max 50 characters.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address.\").optional(),\n locale: z.string().describe(\"Browser locale, e.g., 'en-US'.\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code.\").optional(),\n first_name: z.string().describe(\"Name to query.\"),\n}).describe(\"Request parameters for querying gender by first name.\");\nconst GenderApiQueryByFirstName_QueryByFirstNameInputSchema = z.object({\n id: z.string().describe(\"Client-defined correlation ID, max 50 characters.\").nullable().optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address.\").nullable().optional(),\n locale: z.string().describe(\"Browser locale, e.g., 'en-US'.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code.\").nullable().optional(),\n first_name: z.string().describe(\"Name to query.\").nullable(),\n});\nconst GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema = z.object({\n country: z.string().describe(\"The country found (may be null).\").nullable().optional(),\n samples: z.number().int().describe(\"Number of database records matching the request. Only present when result_found is true.\").nullable().optional(),\n duration: z.string().describe(\"Server processing time, e.g., '436ms'.\").nullable(),\n credits_used: z.number().int().describe(\"Requests (credits) used for this query.\").nullable(),\n first_name_sanitized: z.string().describe(\"Name after normalization. Only present when result_found is true.\").nullable().optional(),\n});\nexport const GenderApiQueryByFirstNameOutput = z.object({\n input: GenderApiQueryByFirstName_QueryByFirstNameInputSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"One of: male, female, unknown. Only present when result_found is true.\").nullable().optional(),\n details: GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema.nullable(),\n first_name: z.string().describe(\"The first name used for genderization. Only present when result_found is true.\").nullable().optional(),\n probability: z.number().describe(\"Reliability of the result between 0 and 1. Only present when result_found is true.\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender could be determined for the name.\").nullable(),\n});\n\nexport const genderApiQueryByFirstName = action(\"GENDER_API_QUERY_BY_FIRST_NAME\", {\n slug: \"gender_api-query-by-first-name\",\n name: \"Gender From First Name\",\n description: \"Tool to determine the gender of a first name. Use when you need to identify gender based on a given name.\",\n input: GenderApiQueryByFirstNameInput,\n output: GenderApiQueryByFirstNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAClD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,CAA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ACpG,CAOU;AACV,CAAC"}
@@ -9,30 +9,30 @@ const GenderApiQueryByFullNameInput = zod.z.object({
9
9
  full_name: zod.z.string().describe("Full name to query; must contain at least one non-space character.")
10
10
  }).describe("Request model for querying gender by full name.");
11
11
  const GenderApiQueryByFullName_QueryByFullNameRequestSchema = zod.z.object({
12
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Arbitrary ID (max 50 chars) for correlating batch responses.").optional()),
13
- ip: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Valid IPv4 or IPv6 address for geo-based gender inference.").optional()),
14
- locale: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Browser locale string (e.g., en_US) for more accurate inference.").optional()),
15
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 3166 alpha-2 country code to hint regional gender conventions.").optional()),
12
+ id: zod.z.string().describe("Arbitrary ID (max 50 chars) for correlating batch responses.").nullable().optional(),
13
+ ip: zod.z.string().describe("Valid IPv4 or IPv6 address for geo-based gender inference.").nullable().optional(),
14
+ locale: zod.z.string().describe("Browser locale string (e.g., en_US) for more accurate inference.").nullable().optional(),
15
+ country: zod.z.string().describe("ISO 3166 alpha-2 country code to hint regional gender conventions.").nullable().optional(),
16
16
  full_name: zod.z.string().describe("Full name to query; must contain at least one non-space character.").nullable()
17
17
  }).describe("Request model for querying gender by full name.");
18
18
  const GenderApiQueryByFullName_DetailsSchema = zod.z.object({
19
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country code determined by API.").optional()),
20
- samples: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of matching records. May be absent when no result is found.").optional()),
19
+ country: zod.z.string().describe("Country code determined by API.").nullable().optional(),
20
+ samples: zod.z.number().int().describe("Number of matching records. May be absent when no result is found.").nullable().optional(),
21
21
  duration: zod.z.string().describe("Server processing time (e.g., '120ms').").nullable(),
22
22
  credits_used: zod.z.number().int().describe("Number of credits consumed by this query.").nullable(),
23
- first_name_sanitized: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Sanitized first name used for lookup. May be absent when no result is found.").optional())
23
+ first_name_sanitized: zod.z.string().describe("Sanitized first name used for lookup. May be absent when no result is found.").nullable().optional()
24
24
  });
25
25
  const GenderApiQueryByFullNameOutput = zod.z.object({
26
26
  input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),
27
- gender: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.enum([
27
+ gender: zod.z.enum([
28
28
  "male",
29
29
  "female",
30
30
  "unknown"
31
- ]).describe("Inferred gender category. Only present when result_found is true.").optional()),
31
+ ]).describe("Inferred gender category. Only present when result_found is true.").nullable().optional(),
32
32
  details: GenderApiQueryByFullName_DetailsSchema.nullable(),
33
- last_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Parsed last name from the full_name. Only present when result_found is true.").optional()),
34
- first_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Parsed first name from the full_name. Only present when result_found is true.").optional()),
35
- probability: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Confidence score from 0.0 to 1.0. Only present when result_found is true.").optional()),
33
+ last_name: zod.z.string().describe("Parsed last name from the full_name. Only present when result_found is true.").nullable().optional(),
34
+ first_name: zod.z.string().describe("Parsed first name from the full_name. Only present when result_found is true.").nullable().optional(),
35
+ probability: zod.z.number().describe("Confidence score from 0.0 to 1.0. Only present when result_found is true.").nullable().optional(),
36
36
  result_found: zod.z.boolean().describe("Whether a matching gender record was found.").nullable()
37
37
  }).describe("Response model from gender-api.com for a single-name lookup.");
38
38
  const genderApiQueryByFullName = require_action.action("GENDER_API_QUERY_BY_FULL_NAME", {
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-full-name.cjs","names":["z","action"],"sources":["../../src/actions/query-by-full-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByFullNameInput = z.object({\n id: z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").optional(),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\"),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_QueryByFullNameRequestSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").optional()),\n ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional()),\n locale: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").optional()),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\").nullable(),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_DetailsSchema = z.object({\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code determined by API.\").optional()),\n samples: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of matching records. May be absent when no result is found.\").optional()),\n duration: z.string().describe(\"Server processing time (e.g., '120ms').\").nullable(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this query.\").nullable(),\n first_name_sanitized: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Sanitized first name used for lookup. May be absent when no result is found.\").optional()),\n});\nexport const GenderApiQueryByFullNameOutput = z.object({\n input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Inferred gender category. Only present when result_found is true.\").optional()),\n details: GenderApiQueryByFullName_DetailsSchema.nullable(),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Parsed last name from the full_name. Only present when result_found is true.\").optional()),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Parsed first name from the full_name. Only present when result_found is true.\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Confidence score from 0.0 to 1.0. Only present when result_found is true.\").optional()),\n result_found: z.boolean().describe(\"Whether a matching gender record was found.\").nullable(),\n}).describe(\"Response model from gender-api.com for a single-name lookup.\");\n\nexport const genderApiQueryByFullName = action(\"GENDER_API_QUERY_BY_FULL_NAME\", {\n slug: \"gender_api-query-by-full-name\",\n name: \"Query Gender by Full Name\",\n description: \"Tool to determine gender by splitting a full name. Use when you have an exact full name string and want to infer gender. Slightly less reliable for rare or ambiguous names.\",\n input: GenderApiQueryByFullNameInput,\n output: GenderApiQueryByFullNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACrG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,C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S;CACtE,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;CACpM,SAAS,uCAAuC,SAAS;CACzD,WAAWA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;CACvL,YAAYA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;CACzL,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC;CACtL,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-full-name.cjs","names":["z","action"],"sources":["../../src/actions/query-by-full-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByFullNameInput = z.object({\n id: z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").optional(),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\"),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_QueryByFullNameRequestSchema = z.object({\n id: z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").nullable().optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").nullable().optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").nullable().optional(),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\").nullable(),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_DetailsSchema = z.object({\n country: z.string().describe(\"Country code determined by API.\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching records. May be absent when no result is found.\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '120ms').\").nullable(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this query.\").nullable(),\n first_name_sanitized: z.string().describe(\"Sanitized first name used for lookup. May be absent when no result is found.\").nullable().optional(),\n});\nexport const GenderApiQueryByFullNameOutput = z.object({\n input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Inferred gender category. Only present when result_found is true.\").nullable().optional(),\n details: GenderApiQueryByFullName_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Parsed last name from the full_name. Only present when result_found is true.\").nullable().optional(),\n first_name: z.string().describe(\"Parsed first name from the full_name. Only present when result_found is true.\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0. Only present when result_found is true.\").nullable().optional(),\n result_found: z.boolean().describe(\"Whether a matching gender record was found.\").nullable(),\n}).describe(\"Response model from gender-api.com for a single-name lookup.\");\n\nexport const genderApiQueryByFullName = action(\"GENDER_API_QUERY_BY_FULL_NAME\", {\n slug: \"gender_api-query-by-full-name\",\n name: \"Query Gender by Full Name\",\n description: \"Tool to determine gender by splitting a full name. Use when you have an exact full name string and want to infer gender. Slightly less reliable for rare or ambiguous names.\",\n input: GenderApiQueryByFullNameInput,\n output: GenderApiQueryByFullNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACrG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;C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NameOutput: z.ZodObject<{
12
12
  input: z.ZodNullable<z.ZodObject<{
13
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- locale: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  full_name: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$strip>>;
19
- gender: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
19
+ gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
22
22
  female: "female";
23
23
  }>>>;
24
24
  details: z.ZodNullable<z.ZodObject<{
25
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- samples: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
- first_name_sanitized: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
+ first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  }, z.core.$strip>>;
31
- last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
- probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
31
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  result_found: z.ZodNullable<z.ZodBoolean>;
35
35
  }, z.core.$strip>;
36
36
  declare const genderApiQueryByFullName: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -39,27 +39,7 @@ declare const genderApiQueryByFullName: import("@keystrokehq/action").WorkflowAc
39
39
  ip?: string | undefined;
40
40
  locale?: string | undefined;
41
41
  country?: string | undefined;
42
- }, {
43
- input: {
44
- full_name: string | null;
45
- id?: string | undefined;
46
- ip?: string | undefined;
47
- locale?: string | undefined;
48
- country?: string | undefined;
49
- } | null;
50
- details: {
51
- duration: string | null;
52
- credits_used: number | null;
53
- country?: string | undefined;
54
- samples?: number | undefined;
55
- first_name_sanitized?: string | undefined;
56
- } | null;
57
- result_found: boolean | null;
58
- gender?: "unknown" | "male" | "female" | undefined;
59
- last_name?: string | undefined;
60
- first_name?: string | undefined;
61
- probability?: number | undefined;
62
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
43
  //#endregion
64
44
  export { genderApiQueryByFullName };
65
45
  //# sourceMappingURL=query-by-full-name.d.cts.map
@@ -10,27 +10,27 @@ declare const GenderApiQueryByFullNameInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
12
12
  input: z.ZodNullable<z.ZodObject<{
13
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
14
- ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
15
- locale: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  full_name: z.ZodNullable<z.ZodString>;
18
18
  }, z.core.$strip>>;
19
- gender: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
19
+ gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
22
22
  female: "female";
23
23
  }>>>;
24
24
  details: z.ZodNullable<z.ZodObject<{
25
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
26
- samples: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
25
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
- first_name_sanitized: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
+ first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  }, z.core.$strip>>;
31
- last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
- probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
31
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  result_found: z.ZodNullable<z.ZodBoolean>;
35
35
  }, z.core.$strip>;
36
36
  declare const genderApiQueryByFullName: import("@keystrokehq/action").WorkflowActionDefinition<{
@@ -39,27 +39,7 @@ declare const genderApiQueryByFullName: import("@keystrokehq/action").WorkflowAc
39
39
  ip?: string | undefined;
40
40
  locale?: string | undefined;
41
41
  country?: string | undefined;
42
- }, {
43
- input: {
44
- full_name: string | null;
45
- id?: string | undefined;
46
- ip?: string | undefined;
47
- locale?: string | undefined;
48
- country?: string | undefined;
49
- } | null;
50
- details: {
51
- duration: string | null;
52
- credits_used: number | null;
53
- country?: string | undefined;
54
- samples?: number | undefined;
55
- first_name_sanitized?: string | undefined;
56
- } | null;
57
- result_found: boolean | null;
58
- gender?: "unknown" | "male" | "female" | undefined;
59
- last_name?: string | undefined;
60
- first_name?: string | undefined;
61
- probability?: number | undefined;
62
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
63
43
  //#endregion
64
44
  export { genderApiQueryByFullName };
65
45
  //# sourceMappingURL=query-by-full-name.d.mts.map
@@ -9,18 +9,18 @@ const GenderApiQueryByFullNameInput = z.object({
9
9
  full_name: z.string().describe("Full name to query; must contain at least one non-space character.")
10
10
  }).describe("Request model for querying gender by full name.");
11
11
  const GenderApiQueryByFullName_QueryByFullNameRequestSchema = z.object({
12
- id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Arbitrary ID (max 50 chars) for correlating batch responses.").optional()),
13
- ip: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Valid IPv4 or IPv6 address for geo-based gender inference.").optional()),
14
- locale: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Browser locale string (e.g., en_US) for more accurate inference.").optional()),
15
- country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO 3166 alpha-2 country code to hint regional gender conventions.").optional()),
12
+ id: z.string().describe("Arbitrary ID (max 50 chars) for correlating batch responses.").nullable().optional(),
13
+ ip: z.string().describe("Valid IPv4 or IPv6 address for geo-based gender inference.").nullable().optional(),
14
+ locale: z.string().describe("Browser locale string (e.g., en_US) for more accurate inference.").nullable().optional(),
15
+ country: z.string().describe("ISO 3166 alpha-2 country code to hint regional gender conventions.").nullable().optional(),
16
16
  full_name: z.string().describe("Full name to query; must contain at least one non-space character.").nullable()
17
17
  }).describe("Request model for querying gender by full name.");
18
18
  const GenderApiQueryByFullName_DetailsSchema = z.object({
19
- country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country code determined by API.").optional()),
20
- samples: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of matching records. May be absent when no result is found.").optional()),
19
+ country: z.string().describe("Country code determined by API.").nullable().optional(),
20
+ samples: z.number().int().describe("Number of matching records. May be absent when no result is found.").nullable().optional(),
21
21
  duration: z.string().describe("Server processing time (e.g., '120ms').").nullable(),
22
22
  credits_used: z.number().int().describe("Number of credits consumed by this query.").nullable(),
23
- first_name_sanitized: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Sanitized first name used for lookup. May be absent when no result is found.").optional())
23
+ first_name_sanitized: z.string().describe("Sanitized first name used for lookup. May be absent when no result is found.").nullable().optional()
24
24
  });
25
25
  const genderApiQueryByFullName = action("GENDER_API_QUERY_BY_FULL_NAME", {
26
26
  slug: "gender_api-query-by-full-name",
@@ -29,15 +29,15 @@ const genderApiQueryByFullName = action("GENDER_API_QUERY_BY_FULL_NAME", {
29
29
  input: GenderApiQueryByFullNameInput,
30
30
  output: z.object({
31
31
  input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),
32
- gender: z.preprocess((value) => value === null ? void 0 : value, z.enum([
32
+ gender: z.enum([
33
33
  "male",
34
34
  "female",
35
35
  "unknown"
36
- ]).describe("Inferred gender category. Only present when result_found is true.").optional()),
36
+ ]).describe("Inferred gender category. Only present when result_found is true.").nullable().optional(),
37
37
  details: GenderApiQueryByFullName_DetailsSchema.nullable(),
38
- last_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Parsed last name from the full_name. Only present when result_found is true.").optional()),
39
- first_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Parsed first name from the full_name. Only present when result_found is true.").optional()),
40
- probability: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Confidence score from 0.0 to 1.0. Only present when result_found is true.").optional()),
38
+ last_name: z.string().describe("Parsed last name from the full_name. Only present when result_found is true.").nullable().optional(),
39
+ first_name: z.string().describe("Parsed first name from the full_name. Only present when result_found is true.").nullable().optional(),
40
+ probability: z.number().describe("Confidence score from 0.0 to 1.0. Only present when result_found is true.").nullable().optional(),
41
41
  result_found: z.boolean().describe("Whether a matching gender record was found.").nullable()
42
42
  }).describe("Response model from gender-api.com for a single-name lookup.")
43
43
  });
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-full-name.mjs","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByFullNameInput = z.object({\n id: z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").optional(),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\"),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_QueryByFullNameRequestSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").optional()),\n ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional()),\n locale: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").optional()),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\").nullable(),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_DetailsSchema = z.object({\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code determined by API.\").optional()),\n samples: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of matching records. May be absent when no result is found.\").optional()),\n duration: z.string().describe(\"Server processing time (e.g., '120ms').\").nullable(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this query.\").nullable(),\n first_name_sanitized: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Sanitized first name used for lookup. May be absent when no result is found.\").optional()),\n});\nexport const GenderApiQueryByFullNameOutput = z.object({\n input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Inferred gender category. Only present when result_found is true.\").optional()),\n details: GenderApiQueryByFullName_DetailsSchema.nullable(),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Parsed last name from the full_name. Only present when result_found is true.\").optional()),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Parsed first name from the full_name. Only present when result_found is true.\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Confidence score from 0.0 to 1.0. Only present when result_found is true.\").optional()),\n result_found: z.boolean().describe(\"Whether a matching gender record was found.\").nullable(),\n}).describe(\"Response model from gender-api.com for a single-name lookup.\");\n\nexport const genderApiQueryByFullName = action(\"GENDER_API_QUERY_BY_FULL_NAME\", {\n slug: \"gender_api-query-by-full-name\",\n name: \"Query Gender by Full Name\",\n description: \"Tool to determine gender by splitting a full name. Use when you have an exact full name string and want to infer gender. Slightly less reliable for rare or ambiguous names.\",\n input: GenderApiQueryByFullNameInput,\n output: GenderApiQueryByFullNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAA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SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9F,sBAAsB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;AACpM,CAAC;AAWD,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,OAAO,sDAAsD,SAAS;EACtE,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,KAAK;GAAC;GAAQ;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC;EACpM,SAAS,uCAAuC,SAAS;EACzD,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC;EACvL,YAAY,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC;EACzL,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC;EACtL,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-full-name.mjs","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByFullNameInput = z.object({\n id: z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").optional(),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\"),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_QueryByFullNameRequestSchema = z.object({\n id: z.string().describe(\"Arbitrary ID (max 50 chars) for correlating batch responses.\").nullable().optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").nullable().optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en_US) for more accurate inference.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code to hint regional gender conventions.\").nullable().optional(),\n full_name: z.string().describe(\"Full name to query; must contain at least one non-space character.\").nullable(),\n}).describe(\"Request model for querying gender by full name.\");\nconst GenderApiQueryByFullName_DetailsSchema = z.object({\n country: z.string().describe(\"Country code determined by API.\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching records. May be absent when no result is found.\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '120ms').\").nullable(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this query.\").nullable(),\n first_name_sanitized: z.string().describe(\"Sanitized first name used for lookup. May be absent when no result is found.\").nullable().optional(),\n});\nexport const GenderApiQueryByFullNameOutput = z.object({\n input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Inferred gender category. Only present when result_found is true.\").nullable().optional(),\n details: GenderApiQueryByFullName_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Parsed last name from the full_name. Only present when result_found is true.\").nullable().optional(),\n first_name: z.string().describe(\"Parsed first name from the full_name. Only present when result_found is true.\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0. Only present when result_found is true.\").nullable().optional(),\n result_found: z.boolean().describe(\"Whether a matching gender record was found.\").nullable(),\n}).describe(\"Response model from gender-api.com for a single-name lookup.\");\n\nexport const genderApiQueryByFullName = action(\"GENDER_API_QUERY_BY_FULL_NAME\", {\n slug: \"gender_api-query-by-full-name\",\n name: \"Query Gender by Full Name\",\n description: \"Tool to determine gender by splitting a full name. Use when you have an exact full name string and want to infer gender. Slightly less reliable for rare or ambiguous names.\",\n input: GenderApiQueryByFullNameInput,\n output: GenderApiQueryByFullNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;AACrG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,yCAAyC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC;AAWD,MAAa,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,OAAO,sDAAsD,SAAS;EACtE,QAAQ,EAAE,KAAK;GAAC;GAAQ;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,SAAS,uCAAuC,SAAS;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -9,29 +9,29 @@ const GenderApiQueryGenderByFirstNameMultipleInput = zod.z.object({ names: zod.z
9
9
  first_name: zod.z.string().describe("First name to query. Must be between 1 and 50 characters.")
10
10
  }).describe("Single name query input for batch processing.")).describe("List of name queries to process in a single batch request.") }).describe("Request model for batch querying gender by first names.");
11
11
  const GenderApiQueryGenderByFirstNameMultiple_NameQueryInputSchema = zod.z.object({
12
- id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Client-defined correlation ID, max 50 characters. Can be integer or string.").optional()),
13
- ip: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Valid IPv4 or IPv6 address for geo-based gender inference.").optional()),
14
- locale: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Browser locale string (e.g., en-US) for more accurate inference.").optional()),
15
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO 3166 ALPHA-2 country code to hint regional gender conventions.").optional()),
12
+ id: zod.z.string().describe("Client-defined correlation ID, max 50 characters. Can be integer or string.").nullable().optional(),
13
+ ip: zod.z.string().describe("Valid IPv4 or IPv6 address for geo-based gender inference.").nullable().optional(),
14
+ locale: zod.z.string().describe("Browser locale string (e.g., en-US) for more accurate inference.").nullable().optional(),
15
+ country: zod.z.string().describe("ISO 3166 ALPHA-2 country code to hint regional gender conventions.").nullable().optional(),
16
16
  first_name: zod.z.string().describe("First name to query. Must be between 1 and 50 characters.").nullable()
17
17
  }).describe("Single name query input for batch processing.");
18
18
  const GenderApiQueryGenderByFirstNameMultiple_QueryDetailsSchema = zod.z.object({
19
- country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The country found (may be null).").optional()),
20
- samples: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of database records matching the request. Only present when result_found is true.").optional()),
19
+ country: zod.z.string().describe("The country found (may be null).").nullable().optional(),
20
+ samples: zod.z.number().int().describe("Number of database records matching the request. Only present when result_found is true.").nullable().optional(),
21
21
  duration: zod.z.string().describe("Server processing time, e.g., '72ms'.").nullable(),
22
22
  credits_used: zod.z.number().int().describe("Number of credits consumed by this query.").nullable(),
23
- first_name_sanitized: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name after normalization. Only present when result_found is true.").optional())
23
+ first_name_sanitized: zod.z.string().describe("Name after normalization. Only present when result_found is true.").nullable().optional()
24
24
  }).describe("Processing details for a single query result.");
25
25
  const GenderApiQueryGenderByFirstNameMultiple_SingleNameResultSchema = zod.z.object({
26
26
  input: GenderApiQueryGenderByFirstNameMultiple_NameQueryInputSchema.nullable(),
27
- gender: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.enum([
27
+ gender: zod.z.enum([
28
28
  "male",
29
29
  "female",
30
30
  "unknown"
31
- ]).describe("One of: male, female, unknown. Only present when result_found is true.").optional()),
31
+ ]).describe("One of: male, female, unknown. Only present when result_found is true.").nullable().optional(),
32
32
  details: GenderApiQueryGenderByFirstNameMultiple_QueryDetailsSchema.nullable(),
33
- first_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("The first name used for genderization. Only present when result_found is true.").optional()),
34
- probability: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Reliability of the result between 0 and 1. Only present when result_found is true.").optional()),
33
+ first_name: zod.z.string().describe("The first name used for genderization. Only present when result_found is true.").nullable().optional(),
34
+ probability: zod.z.number().describe("Reliability of the result between 0 and 1. Only present when result_found is true.").nullable().optional(),
35
35
  result_found: zod.z.boolean().describe("True if a gender could be determined for the name.").nullable()
36
36
  }).describe("Result for a single name query within a batch.");
37
37
  const GenderApiQueryGenderByFirstNameMultipleOutput = zod.z.object({ results: zod.z.array(GenderApiQueryGenderByFirstNameMultiple_SingleNameResultSchema).describe("List of gender query results, one per input name.") }).describe("Response model containing results for all queried names.");
@@ -1 +1 @@
1
- {"version":3,"file":"query-gender-by-first-name-multiple.cjs","names":["z","action"],"sources":["../../src/actions/query-gender-by-first-name-multiple.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryGenderByFirstNameMultipleInput = z.object({\n names: z.array(z.object({\n id: z.string().describe(\"Client-defined correlation ID, max 50 characters. Can be integer or string.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en-US) for more accurate inference.\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code to hint regional gender conventions.\").optional(),\n first_name: z.string().describe(\"First name to query. Must be between 1 and 50 characters.\"),\n}).describe(\"Single name query input for batch processing.\")).describe(\"List of name queries to process in a single batch request.\"),\n}).describe(\"Request model for batch querying gender by first names.\");\nconst GenderApiQueryGenderByFirstNameMultiple_NameQueryInputSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Client-defined correlation ID, max 50 characters. Can be integer or string.\").optional()),\n ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional()),\n locale: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Browser locale string (e.g., en-US) for more accurate inference.\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO 3166 ALPHA-2 country code to hint regional gender conventions.\").optional()),\n first_name: z.string().describe(\"First name to query. Must be between 1 and 50 characters.\").nullable(),\n}).describe(\"Single name query input for batch processing.\");\nconst GenderApiQueryGenderByFirstNameMultiple_QueryDetailsSchema = z.object({\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The country found (may be null).\").optional()),\n samples: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of database records matching the request. Only present when result_found is true.\").optional()),\n duration: z.string().describe(\"Server processing time, e.g., '72ms'.\").nullable(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this query.\").nullable(),\n first_name_sanitized: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name after normalization. Only present when result_found is true.\").optional()),\n}).describe(\"Processing details for a single query result.\");\nconst GenderApiQueryGenderByFirstNameMultiple_SingleNameResultSchema = z.object({\n input: GenderApiQueryGenderByFirstNameMultiple_NameQueryInputSchema.nullable(),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"male\", \"female\", \"unknown\"]).describe(\"One of: male, female, unknown. Only present when result_found is true.\").optional()),\n details: GenderApiQueryGenderByFirstNameMultiple_QueryDetailsSchema.nullable(),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"The first name used for genderization. Only present when result_found is true.\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Reliability of the result between 0 and 1. Only present when result_found is true.\").optional()),\n result_found: z.boolean().describe(\"True if a gender could be determined for the name.\").nullable(),\n}).describe(\"Result for a single name query within a batch.\");\nexport const GenderApiQueryGenderByFirstNameMultipleOutput = z.object({\n results: z.array(GenderApiQueryGenderByFirstNameMultiple_SingleNameResultSchema).describe(\"List of gender query results, one per input name.\"),\n}).describe(\"Response model containing results for all queried names.\");\n\nexport const genderApiQueryGenderByFirstNameMultiple = action(\"GENDER_API_QUERY_GENDER_BY_FIRST_NAME_MULTIPLE\", {\n slug: \"gender_api-query-gender-by-first-name-multiple\",\n name: \"Query Gender by Multiple First Names\",\n description: \"Tool to determine gender for multiple first names in a single batch request. Use when you need to query gender for several names efficiently to save API credits and reduce latency.\",\n input: GenderApiQueryGenderByFirstNameMultipleInput,\n output: GenderApiQueryGenderByFirstNameMultipleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAChH,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC,CAAC,C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Content":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryGenderByFirstNameMultipleInput = z.object({\n names: z.array(z.object({\n id: z.string().describe(\"Client-defined correlation ID, max 50 characters. Can be integer or string.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en-US) for more accurate inference.\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code to hint regional gender conventions.\").optional(),\n first_name: z.string().describe(\"First name to query. Must be between 1 and 50 characters.\"),\n}).describe(\"Single name query input for batch processing.\")).describe(\"List of name queries to process in a single batch request.\"),\n}).describe(\"Request model for batch querying gender by first names.\");\nconst GenderApiQueryGenderByFirstNameMultiple_NameQueryInputSchema = z.object({\n id: z.string().describe(\"Client-defined correlation ID, max 50 characters. Can be integer or string.\").nullable().optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based gender inference.\").nullable().optional(),\n locale: z.string().describe(\"Browser locale string (e.g., en-US) for more accurate inference.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code to hint regional gender conventions.\").nullable().optional(),\n first_name: z.string().describe(\"First name to query. Must be between 1 and 50 characters.\").nullable(),\n}).describe(\"Single name query input for batch processing.\");\nconst GenderApiQueryGenderByFirstNameMultiple_QueryDetailsSchema = z.object({\n country: z.string().describe(\"The country found (may be null).\").nullable().optional(),\n samples: z.number().int().describe(\"Number of database records matching the request. Only present when result_found is true.\").nullable().optional(),\n duration: z.string().describe(\"Server processing time, e.g., '72ms'.\").nullable(),\n credits_used: z.number().int().describe(\"Number of credits consumed by this query.\").nullable(),\n first_name_sanitized: z.string().describe(\"Name after normalization. Only present when result_found is true.\").nullable().optional(),\n}).describe(\"Processing details for a single query result.\");\nconst GenderApiQueryGenderByFirstNameMultiple_SingleNameResultSchema = z.object({\n input: GenderApiQueryGenderByFirstNameMultiple_NameQueryInputSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"One of: male, female, unknown. Only present when result_found is true.\").nullable().optional(),\n details: GenderApiQueryGenderByFirstNameMultiple_QueryDetailsSchema.nullable(),\n first_name: z.string().describe(\"The first name used for genderization. Only present when result_found is true.\").nullable().optional(),\n probability: z.number().describe(\"Reliability of the result between 0 and 1. Only present when result_found is true.\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender could be determined for the name.\").nullable(),\n}).describe(\"Result for a single name query within a batch.\");\nexport const GenderApiQueryGenderByFirstNameMultipleOutput = z.object({\n results: z.array(GenderApiQueryGenderByFirstNameMultiple_SingleNameResultSchema).describe(\"List of gender query results, one per input name.\"),\n}).describe(\"Response model containing results for all queried names.\");\n\nexport const genderApiQueryGenderByFirstNameMultiple = action(\"GENDER_API_QUERY_GENDER_BY_FIRST_NAME_MULTIPLE\", {\n slug: \"gender_api-query-gender-by-first-name-multiple\",\n name: \"Query Gender by Multiple First Names\",\n description: \"Tool to determine gender for multiple first names in a single batch request. Use when you need to query gender for several names efficiently to save API credits and reduce latency.\",\n input: GenderApiQueryGenderByFirstNameMultipleInput,\n output: GenderApiQueryGenderByFirstNameMultipleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAChH,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC7F,CAAC,CAAC,CAAC,SAAS,+CA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AA6D,SAAS;CAC7E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAAS,2DAA2D,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,mDAAmD,EAC/I,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,26 +13,26 @@ declare const GenderApiQueryGenderByFirstNameMultipleInput: z.ZodObject<{
13
13
  declare const GenderApiQueryGenderByFirstNameMultipleOutput: z.ZodObject<{
14
14
  results: z.ZodArray<z.ZodObject<{
15
15
  input: z.ZodNullable<z.ZodObject<{
16
- id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
17
- ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
18
- locale: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
19
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
16
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  first_name: z.ZodNullable<z.ZodString>;
21
21
  }, z.core.$strip>>;
22
- gender: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
22
+ gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
23
23
  unknown: "unknown";
24
24
  male: "male";
25
25
  female: "female";
26
26
  }>>>;
27
27
  details: z.ZodNullable<z.ZodObject<{
28
- country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
29
- samples: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
28
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  duration: z.ZodNullable<z.ZodString>;
31
31
  credits_used: z.ZodNullable<z.ZodNumber>;
32
- first_name_sanitized: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
+ first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  }, z.core.$strip>>;
34
- first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
35
- probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
34
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  result_found: z.ZodNullable<z.ZodBoolean>;
37
37
  }, z.core.$strip>>;
38
38
  }, z.core.$strip>;
@@ -44,28 +44,7 @@ declare const genderApiQueryGenderByFirstNameMultiple: import("@keystrokehq/acti
44
44
  locale?: string | undefined;
45
45
  country?: string | undefined;
46
46
  }[];
47
- }, {
48
- results: {
49
- input: {
50
- first_name: string | null;
51
- id?: string | undefined;
52
- ip?: string | undefined;
53
- locale?: string | undefined;
54
- country?: string | undefined;
55
- } | null;
56
- details: {
57
- duration: string | null;
58
- credits_used: number | null;
59
- country?: string | undefined;
60
- samples?: number | undefined;
61
- first_name_sanitized?: string | undefined;
62
- } | null;
63
- result_found: boolean | null;
64
- gender?: "unknown" | "male" | "female" | undefined;
65
- first_name?: string | undefined;
66
- probability?: number | undefined;
67
- }[];
68
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
69
48
  //#endregion
70
49
  export { genderApiQueryGenderByFirstNameMultiple };
71
50
  //# sourceMappingURL=query-gender-by-first-name-multiple.d.cts.map