@keystrokehq/gender_api 0.1.2 → 0.1.3

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/actions/get-country-of-origin-v1.cjs +2 -2
  2. package/dist/actions/get-country-of-origin-v1.cjs.map +1 -1
  3. package/dist/actions/get-country-of-origin-v1.d.cts +2 -2
  4. package/dist/actions/get-country-of-origin-v1.d.mts +2 -2
  5. package/dist/actions/get-country-of-origin-v1.mjs +2 -2
  6. package/dist/actions/get-country-of-origin-v1.mjs.map +1 -1
  7. package/dist/actions/get-country-of-origin.cjs +6 -6
  8. package/dist/actions/get-country-of-origin.cjs.map +1 -1
  9. package/dist/actions/get-country-of-origin.d.cts +6 -6
  10. package/dist/actions/get-country-of-origin.d.mts +6 -6
  11. package/dist/actions/get-country-of-origin.mjs +6 -6
  12. package/dist/actions/get-country-of-origin.mjs.map +1 -1
  13. package/dist/actions/get-statistic.cjs +3 -3
  14. package/dist/actions/get-statistic.cjs.map +1 -1
  15. package/dist/actions/get-statistic.d.cts +3 -3
  16. package/dist/actions/get-statistic.d.mts +3 -3
  17. package/dist/actions/get-statistic.mjs +3 -3
  18. package/dist/actions/get-statistic.mjs.map +1 -1
  19. package/dist/actions/query-by-email-address-multiple.cjs +5 -5
  20. package/dist/actions/query-by-email-address-multiple.cjs.map +1 -1
  21. package/dist/actions/query-by-email-address-multiple.d.cts +6 -5
  22. package/dist/actions/query-by-email-address-multiple.d.mts +6 -5
  23. package/dist/actions/query-by-email-address-multiple.mjs +5 -5
  24. package/dist/actions/query-by-email-address-multiple.mjs.map +1 -1
  25. package/dist/actions/query-by-email-address.cjs +3 -3
  26. package/dist/actions/query-by-email-address.cjs.map +1 -1
  27. package/dist/actions/query-by-email-address.d.cts +3 -3
  28. package/dist/actions/query-by-email-address.d.mts +3 -3
  29. package/dist/actions/query-by-email-address.mjs +3 -3
  30. package/dist/actions/query-by-email-address.mjs.map +1 -1
  31. package/dist/actions/query-by-first-name.cjs +3 -3
  32. package/dist/actions/query-by-first-name.cjs.map +1 -1
  33. package/dist/actions/query-by-first-name.d.cts +3 -3
  34. package/dist/actions/query-by-first-name.d.mts +3 -3
  35. package/dist/actions/query-by-first-name.mjs +3 -3
  36. package/dist/actions/query-by-first-name.mjs.map +1 -1
  37. package/dist/actions/query-by-full-name.cjs +3 -3
  38. package/dist/actions/query-by-full-name.cjs.map +1 -1
  39. package/dist/actions/query-by-full-name.d.cts +3 -3
  40. package/dist/actions/query-by-full-name.d.mts +3 -3
  41. package/dist/actions/query-by-full-name.mjs +3 -3
  42. package/dist/actions/query-by-full-name.mjs.map +1 -1
  43. package/dist/actions/query-gender-by-first-name-multiple.cjs +5 -5
  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 +6 -5
  46. package/dist/actions/query-gender-by-first-name-multiple.d.mts +6 -5
  47. package/dist/actions/query-gender-by-first-name-multiple.mjs +5 -5
  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 +5 -5
  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 +6 -5
  52. package/dist/actions/query-gender-by-full-name-multiple.d.mts +6 -5
  53. package/dist/actions/query-gender-by-full-name-multiple.mjs +5 -5
  54. package/dist/actions/query-gender-by-full-name-multiple.mjs.map +1 -1
  55. package/package.json +1 -1
@@ -8,7 +8,7 @@ declare const GenderApiQueryByEmailAddressMultipleInput: z.ZodObject<{
8
8
  email: z.ZodString;
9
9
  locale: z.ZodOptional<z.ZodString>;
10
10
  country: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  }, z.core.$strip>;
13
13
  declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
14
14
  results: z.ZodArray<z.ZodObject<{
@@ -19,7 +19,7 @@ declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
19
19
  email: z.ZodNullable<z.ZodString>;
20
20
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -35,15 +35,16 @@ declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
35
35
  credits_used: z.ZodNullable<z.ZodNumber>;
36
36
  email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
37
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>>;
38
+ }, z.core.$loose>>>;
39
39
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
42
  result_found: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
43
- }, z.core.$strip>>;
44
- }, z.core.$strip>;
43
+ }, z.core.$loose>>;
44
+ }, z.core.$loose>;
45
45
  declare const genderApiQueryByEmailAddressMultiple: import("@keystrokehq/action").WorkflowActionDefinition<{
46
46
  emails: {
47
+ [x: string]: unknown;
47
48
  email: string;
48
49
  id?: string | undefined;
49
50
  ip?: string | undefined;
@@ -8,7 +8,7 @@ declare const GenderApiQueryByEmailAddressMultipleInput: z.ZodObject<{
8
8
  email: z.ZodString;
9
9
  locale: z.ZodOptional<z.ZodString>;
10
10
  country: z.ZodOptional<z.ZodString>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  }, z.core.$strip>;
13
13
  declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
14
14
  results: z.ZodArray<z.ZodObject<{
@@ -19,7 +19,7 @@ declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
19
19
  email: z.ZodNullable<z.ZodString>;
20
20
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -35,15 +35,16 @@ declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
35
35
  credits_used: z.ZodNullable<z.ZodNumber>;
36
36
  email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
37
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>>;
38
+ }, z.core.$loose>>>;
39
39
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
42
  result_found: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
43
- }, z.core.$strip>>;
44
- }, z.core.$strip>;
43
+ }, z.core.$loose>>;
44
+ }, z.core.$loose>;
45
45
  declare const genderApiQueryByEmailAddressMultiple: import("@keystrokehq/action").WorkflowActionDefinition<{
46
46
  emails: {
47
+ [x: string]: unknown;
47
48
  email: string;
48
49
  id?: string | undefined;
49
50
  ip?: string | undefined;
@@ -7,14 +7,14 @@ const GenderApiQueryByEmailAddressMultipleInput = z.object({ emails: z.array(z.o
7
7
  email: z.string().describe("Email address to query for gender determination"),
8
8
  locale: z.string().describe("Browser locale code (e.g., 'en_US') for inference hints").optional(),
9
9
  country: z.string().describe("ISO 3166 alpha-2 country code for improved regional accuracy").optional()
10
- }).describe("Single email query item in batch request.")).describe("List of email queries to process in a single batch request") }).describe("Request model for batch querying gender by multiple email addresses.");
10
+ }).passthrough().describe("Single email query item in batch request.")).describe("List of email queries to process in a single batch request") }).describe("Request model for batch querying gender by multiple email addresses.");
11
11
  const GenderApiQueryByEmailAddressMultiple_InputEchoSchema = z.object({
12
12
  id: z.string().describe("Correlation ID if provided in request").nullable().optional(),
13
13
  ip: z.string().describe("IP address if provided in request").nullable().optional(),
14
14
  email: z.string().describe("The email address that was queried").nullable(),
15
15
  locale: z.string().describe("Locale code if provided in request").nullable().optional(),
16
16
  country: z.string().describe("Country code if provided in request").nullable().optional()
17
- }).describe("Echo of a single email query from the batch request.");
17
+ }).passthrough().describe("Echo of a single email query from the batch request.");
18
18
  const GenderApiQueryByEmailAddressMultiple_DetailsSchema = z.object({
19
19
  country: z.string().describe("Country code used for the query (from request or auto-detected)").nullable().optional(),
20
20
  samples: z.number().int().describe("Number of matching database records used for determination (absent if no result found)").nullable().optional(),
@@ -22,7 +22,7 @@ const GenderApiQueryByEmailAddressMultiple_DetailsSchema = z.object({
22
22
  credits_used: z.number().int().describe("Number of API credits consumed by this query (0 if no result found)").nullable(),
23
23
  email_sanitized: z.number().int().describe("Sanitized email token count (if applicable)").nullable().optional(),
24
24
  first_name_sanitized: z.string().describe("Normalized/lowercase first name extracted from the email (absent if no result found)").nullable().optional()
25
- }).describe("Detailed statistics for a single gender query result.");
25
+ }).passthrough().describe("Detailed statistics for a single gender query result.");
26
26
  const GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema = z.object({
27
27
  type: z.string().describe("Error type URI when an error occurs").nullable().optional(),
28
28
  input: GenderApiQueryByEmailAddressMultiple_InputEchoSchema.nullable(),
@@ -39,13 +39,13 @@ const GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema = z.object({
39
39
  first_name: z.string().describe("First name extracted/parsed from the email local part (e.g., 'Sandra' from sandra.miller14@gmail.com)").nullable().optional(),
40
40
  probability: z.number().describe("Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)").nullable().optional(),
41
41
  result_found: z.boolean().describe("True if a gender determination was made, False otherwise (absent on error)").nullable().optional()
42
- }).describe("Gender determination result for a single email address.\nCan be either a successful result or an error response.");
42
+ }).passthrough().describe("Gender determination result for a single email address.\nCan be either a successful result or an error response.");
43
43
  const genderApiQueryByEmailAddressMultiple = action("GENDER_API_QUERY_BY_EMAIL_ADDRESS_MULTIPLE", {
44
44
  slug: "gender_api-query-by-email-address-multiple",
45
45
  name: "Query Gender by Multiple Email Addresses",
46
46
  description: "Determine likely gender for multiple email addresses in a single batch request. Returns male/female/unknown with confidence scores for each email. Use for efficient bulk processing. Each result includes result_found flag and optional probability score.",
47
47
  input: GenderApiQueryByEmailAddressMultipleInput,
48
- output: z.object({ results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe("List of gender determination results, one per input email query") }).describe("Response model for batch gender queries by email addresses.")
48
+ output: z.object({ results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe("List of gender determination results, one per input email query") }).passthrough().describe("Response model for batch gender queries by email addresses.")
49
49
  });
50
50
  //#endregion
51
51
  export { genderApiQueryByEmailAddressMultiple };
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-email-address-multiple.mjs","names":[],"sources":["../../src/actions/query-by-email-address-multiple.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressMultipleInput = z.object({\n emails: z.array(z.object({\n id: z.string().describe(\"Client-provided correlation ID (max 50 chars) to match requests with responses\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based inference\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US') for inference hints\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code for improved regional accuracy\").optional(),\n}).describe(\"Single email query item in batch request.\")).describe(\"List of email queries to process in a single batch request\"),\n}).describe(\"Request model for batch querying gender by multiple email addresses.\");\nconst GenderApiQueryByEmailAddressMultiple_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).describe(\"Echo of a single email query from the batch request.\");\nconst GenderApiQueryByEmailAddressMultiple_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '82ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).describe(\"Detailed statistics for a single gender query result.\");\nconst GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema = z.object({\n type: z.string().describe(\"Error type URI when an error occurs\").nullable().optional(),\n input: GenderApiQueryByEmailAddressMultiple_InputEchoSchema.nullable(),\n title: z.string().describe(\"Error title/code when an error occurs\").nullable().optional(),\n detail: z.string().describe(\"Error detail message when an error occurs\").nullable().optional(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code when an error occurs (e.g., 400 for invalid email)\").nullable().optional(),\n details: GenderApiQueryByEmailAddressMultiple_DetailsSchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Miller' from sandra.miller14@gmail.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'Sandra' from sandra.miller14@gmail.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise (absent on error)\").nullable().optional(),\n}).describe(\"Gender determination result for a single email address.\\nCan be either a successful result or an error response.\");\nexport const GenderApiQueryByEmailAddressMultipleOutput = z.object({\n results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe(\"List of gender determination results, one per input email query\"),\n}).describe(\"Response model for batch gender queries by email addresses.\");\n\nexport const genderApiQueryByEmailAddressMultiple = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS_MULTIPLE\", {\n slug: \"gender_api-query-by-email-address-multiple\",\n name: \"Query Gender by Multiple Email Addresses\",\n description: \"Determine likely gender for multiple email addresses in a single batch request. Returns male/female/unknown with confidence scores for each email. Use for efficient bulk processing. Each result includes result_found flag and optional probability score.\",\n input: GenderApiQueryByEmailAddressMultipleInput,\n output: GenderApiQueryByEmailAddressMultipleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO,EAChE,QAAQ,EAAE,MAAM,EAAE,OAAO;CACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,4DAA4D,EAC/H,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,uDAAuD,EAAE,OAAO;CACpE,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,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAAS,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,kHAAkH;AAK9H,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,iEAAiE,EAC3J,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-email-address-multiple.mjs","names":[],"sources":["../../src/actions/query-by-email-address-multiple.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressMultipleInput = z.object({\n emails: z.array(z.object({\n id: z.string().describe(\"Client-provided correlation ID (max 50 chars) to match requests with responses\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based inference\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US') for inference hints\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code for improved regional accuracy\").optional(),\n}).passthrough().describe(\"Single email query item in batch request.\")).describe(\"List of email queries to process in a single batch request\"),\n}).describe(\"Request model for batch querying gender by multiple email addresses.\");\nconst GenderApiQueryByEmailAddressMultiple_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).passthrough().describe(\"Echo of a single email query from the batch request.\");\nconst GenderApiQueryByEmailAddressMultiple_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '82ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).passthrough().describe(\"Detailed statistics for a single gender query result.\");\nconst GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema = z.object({\n type: z.string().describe(\"Error type URI when an error occurs\").nullable().optional(),\n input: GenderApiQueryByEmailAddressMultiple_InputEchoSchema.nullable(),\n title: z.string().describe(\"Error title/code when an error occurs\").nullable().optional(),\n detail: z.string().describe(\"Error detail message when an error occurs\").nullable().optional(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code when an error occurs (e.g., 400 for invalid email)\").nullable().optional(),\n details: GenderApiQueryByEmailAddressMultiple_DetailsSchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Miller' from sandra.miller14@gmail.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'Sandra' from sandra.miller14@gmail.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise (absent on error)\").nullable().optional(),\n}).passthrough().describe(\"Gender determination result for a single email address.\\nCan be either a successful result or an error response.\");\nexport const GenderApiQueryByEmailAddressMultipleOutput = z.object({\n results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe(\"List of gender determination results, one per input email query\"),\n}).passthrough().describe(\"Response model for batch gender queries by email addresses.\");\n\nexport const genderApiQueryByEmailAddressMultiple = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS_MULTIPLE\", {\n slug: \"gender_api-query-by-email-address-multiple\",\n name: \"Query Gender by Multiple Email Addresses\",\n description: \"Determine likely gender for multiple email addresses in a single batch request. Returns male/female/unknown with confidence scores for each email. Use for efficient bulk processing. Each result includes result_found flag and optional probability score.\",\n input: GenderApiQueryByEmailAddressMultipleInput,\n output: GenderApiQueryByEmailAddressMultipleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO,EAChE,QAAQ,EAAE,MAAM,EAAE,OAAO;CACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD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N,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,iEAAiE,EAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const GenderApiQueryByEmailAddress_InputEchoSchema = zod.z.object({
14
14
  email: zod.z.string().describe("The email address that was queried").nullable(),
15
15
  locale: zod.z.string().describe("Locale code if provided in request").nullable().optional(),
16
16
  country: zod.z.string().describe("Country code if provided in request").nullable().optional()
17
- }).describe("Echo of the submitted request parameters.");
17
+ }).passthrough().describe("Echo of the submitted request parameters.");
18
18
  const GenderApiQueryByEmailAddress_DetailsSchema = zod.z.object({
19
19
  country: zod.z.string().describe("Country code used for the query (from request or auto-detected)").nullable().optional(),
20
20
  samples: zod.z.number().int().describe("Number of matching database records used for determination (absent if no result found)").nullable().optional(),
@@ -22,7 +22,7 @@ const GenderApiQueryByEmailAddress_DetailsSchema = zod.z.object({
22
22
  credits_used: zod.z.number().int().describe("Number of API credits consumed by this query (0 if no result found)").nullable(),
23
23
  email_sanitized: zod.z.number().int().describe("Sanitized email token count (if applicable)").nullable().optional(),
24
24
  first_name_sanitized: zod.z.string().describe("Normalized/lowercase first name extracted from the email (absent if no result found)").nullable().optional()
25
- }).describe("Detailed statistics returned for a gender query.");
25
+ }).passthrough().describe("Detailed statistics returned for a gender query.");
26
26
  const GenderApiQueryByEmailAddressOutput = zod.z.object({
27
27
  input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),
28
28
  gender: zod.z.enum([
@@ -35,7 +35,7 @@ const GenderApiQueryByEmailAddressOutput = zod.z.object({
35
35
  first_name: zod.z.string().describe("First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)").nullable().optional(),
36
36
  probability: zod.z.number().describe("Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)").nullable().optional(),
37
37
  result_found: zod.z.boolean().describe("True if a gender determination was made, False otherwise").nullable()
38
- }).describe("Response model for gender query by email address.");
38
+ }).passthrough().describe("Response model for gender query by email address.");
39
39
  const genderApiQueryByEmailAddress = require_action.action("GENDER_API_QUERY_BY_EMAIL_ADDRESS", {
40
40
  slug: "gender_api-query-by-email-address",
41
41
  name: "Query Gender by Email Address",
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Client-provided correlation ID\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US')\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code\").optional(),\n}).describe(\"Request model for querying gender by email address.\");\nconst GenderApiQueryByEmailAddress_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).describe(\"Echo of the submitted request parameters.\");\nconst GenderApiQueryByEmailAddress_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '32ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).describe(\"Detailed statistics returned for a gender query.\");\nexport const GenderApiQueryByEmailAddressOutput = z.object({\n input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n details: GenderApiQueryByEmailAddress_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Smith' from john.smith@example.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise\").nullable(),\n}).describe(\"Response model for gender query by email address.\");\n\nexport const genderApiQueryByEmailAddress = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"gender_api-query-by-email-address\",\n name: \"Query Gender by Email Address\",\n description: \"Determine likely gender from an email address by extracting and analyzing the name portion. Returns male/female/unknown with a confidence score. Optionally filter by country for improved accuracy. Check result_found to know if a determination was made; probability indicates confidence level.\",\n input: GenderApiQueryByEmailAddressInput,\n output: GenderApiQueryByEmailAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,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D;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAO,6CAA6C,SAAS;CAC7D,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,SAAS,2CAA2C,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Client-provided correlation ID\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US')\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code\").optional(),\n}).describe(\"Request model for querying gender by email address.\");\nconst GenderApiQueryByEmailAddress_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).passthrough().describe(\"Echo of the submitted request parameters.\");\nconst GenderApiQueryByEmailAddress_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '32ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).passthrough().describe(\"Detailed statistics returned for a gender query.\");\nexport const GenderApiQueryByEmailAddressOutput = z.object({\n input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n details: GenderApiQueryByEmailAddress_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Smith' from john.smith@example.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise\").nullable(),\n}).passthrough().describe(\"Response model for gender query by email address.\");\n\nexport const genderApiQueryByEmailAddress = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"gender_api-query-by-email-address\",\n name: \"Query Gender by Email Address\",\n description: \"Determine likely gender from an email address by extracting and analyzing the name portion. Returns male/female/unknown with a confidence score. Optionally filter by country for improved accuracy. Check result_found to know if a determination was made; probability indicates confidence level.\",\n input: GenderApiQueryByEmailAddressInput,\n output: GenderApiQueryByEmailAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,S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7E,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
15
15
  email: z.ZodNullable<z.ZodString>;
16
16
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
@@ -28,12 +28,12 @@ declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
29
  email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  result_found: z.ZodNullable<z.ZodBoolean>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const genderApiQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  email: string;
39
39
  id?: string | undefined;
@@ -15,7 +15,7 @@ declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
15
15
  email: z.ZodNullable<z.ZodString>;
16
16
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
@@ -28,12 +28,12 @@ declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
29
  email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  result_found: z.ZodNullable<z.ZodBoolean>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const genderApiQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  email: string;
39
39
  id?: string | undefined;
@@ -14,7 +14,7 @@ const GenderApiQueryByEmailAddress_InputEchoSchema = z.object({
14
14
  email: z.string().describe("The email address that was queried").nullable(),
15
15
  locale: z.string().describe("Locale code if provided in request").nullable().optional(),
16
16
  country: z.string().describe("Country code if provided in request").nullable().optional()
17
- }).describe("Echo of the submitted request parameters.");
17
+ }).passthrough().describe("Echo of the submitted request parameters.");
18
18
  const GenderApiQueryByEmailAddress_DetailsSchema = z.object({
19
19
  country: z.string().describe("Country code used for the query (from request or auto-detected)").nullable().optional(),
20
20
  samples: z.number().int().describe("Number of matching database records used for determination (absent if no result found)").nullable().optional(),
@@ -22,7 +22,7 @@ const GenderApiQueryByEmailAddress_DetailsSchema = z.object({
22
22
  credits_used: z.number().int().describe("Number of API credits consumed by this query (0 if no result found)").nullable(),
23
23
  email_sanitized: z.number().int().describe("Sanitized email token count (if applicable)").nullable().optional(),
24
24
  first_name_sanitized: z.string().describe("Normalized/lowercase first name extracted from the email (absent if no result found)").nullable().optional()
25
- }).describe("Detailed statistics returned for a gender query.");
25
+ }).passthrough().describe("Detailed statistics returned for a gender query.");
26
26
  const genderApiQueryByEmailAddress = action("GENDER_API_QUERY_BY_EMAIL_ADDRESS", {
27
27
  slug: "gender_api-query-by-email-address",
28
28
  name: "Query Gender by Email Address",
@@ -40,7 +40,7 @@ const genderApiQueryByEmailAddress = action("GENDER_API_QUERY_BY_EMAIL_ADDRESS",
40
40
  first_name: z.string().describe("First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)").nullable().optional(),
41
41
  probability: z.number().describe("Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)").nullable().optional(),
42
42
  result_found: z.boolean().describe("True if a gender determination was made, False otherwise").nullable()
43
- }).describe("Response model for gender query by email address.")
43
+ }).passthrough().describe("Response model for gender query by email address.")
44
44
  });
45
45
  //#endregion
46
46
  export { genderApiQueryByEmailAddress };
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-email-address.mjs","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Client-provided correlation ID\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US')\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code\").optional(),\n}).describe(\"Request model for querying gender by email address.\");\nconst GenderApiQueryByEmailAddress_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).describe(\"Echo of the submitted request parameters.\");\nconst GenderApiQueryByEmailAddress_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '32ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).describe(\"Detailed statistics returned for a gender query.\");\nexport const GenderApiQueryByEmailAddressOutput = z.object({\n input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n details: GenderApiQueryByEmailAddress_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Smith' from john.smith@example.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise\").nullable(),\n}).describe(\"Response model for gender query by email address.\");\n\nexport const genderApiQueryByEmailAddress = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"gender_api-query-by-email-address\",\n name: \"Query Gender by Email Address\",\n description: \"Determine likely gender from an email address by extracting and analyzing the name portion. Returns male/female/unknown with a confidence score. Optionally filter by country for improved accuracy. Check result_found to know if a determination was made; probability indicates confidence level.\",\n input: GenderApiQueryByEmailAddressInput,\n output: GenderApiQueryByEmailAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EA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C,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAW9D,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfgD,EAAE,OAAO;EACzD,OAAO,6CAA6C,SAAS;EAC7D,QAAQ,EAAE,KAAK;GAAC;GAAQ;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,SAAS,2CAA2C,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3K,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-email-address.mjs","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Client-provided correlation ID\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US')\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code\").optional(),\n}).describe(\"Request model for querying gender by email address.\");\nconst GenderApiQueryByEmailAddress_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).passthrough().describe(\"Echo of the submitted request parameters.\");\nconst GenderApiQueryByEmailAddress_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '32ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).passthrough().describe(\"Detailed statistics returned for a gender query.\");\nexport const GenderApiQueryByEmailAddressOutput = z.object({\n input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n details: GenderApiQueryByEmailAddress_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Smith' from john.smith@example.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise\").nullable(),\n}).passthrough().describe(\"Response model for gender query by email address.\");\n\nexport const genderApiQueryByEmailAddress = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"gender_api-query-by-email-address\",\n name: \"Query Gender by Email Address\",\n description: \"Determine likely gender from an email address by extracting and analyzing the name portion. Returns male/female/unknown with a confidence score. Optionally filter by country for improved accuracy. Check result_found to know if a determination was made; probability indicates confidence level.\",\n input: GenderApiQueryByEmailAddressInput,\n output: GenderApiQueryByEmailAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAA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),
15
15
  country: zod.z.string().describe("ISO 3166 ALPHA-2 country code.").nullable().optional(),
16
16
  first_name: zod.z.string().describe("Name to query.").nullable()
17
- });
17
+ }).passthrough();
18
18
  const GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema = zod.z.object({
19
19
  country: zod.z.string().describe("The country found (may be null).").nullable().optional(),
20
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., '436ms'.").nullable(),
22
22
  credits_used: zod.z.number().int().describe("Requests (credits) used for this query.").nullable(),
23
23
  first_name_sanitized: zod.z.string().describe("Name after normalization. Only present when result_found is true.").nullable().optional()
24
- });
24
+ }).passthrough();
25
25
  const GenderApiQueryByFirstNameOutput = zod.z.object({
26
26
  input: GenderApiQueryByFirstName_QueryByFirstNameInputSchema.nullable(),
27
27
  gender: zod.z.enum([
@@ -33,7 +33,7 @@ const GenderApiQueryByFirstNameOutput = zod.z.object({
33
33
  first_name: zod.z.string().describe("The first name used for genderization. Only present when result_found is true.").nullable().optional(),
34
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
+ }).passthrough();
37
37
  const genderApiQueryByFirstName = require_action.action("GENDER_API_QUERY_BY_FIRST_NAME", {
38
38
  slug: "gender_api-query-by-first-name",
39
39
  name: "Gender From First Name",
@@ -1 +1 @@
1
- {"version":3,"file":"query-by-first-name.cjs","names":["z","action"],"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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AAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAO,sDAAsD,SAAS;CACtE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAAS,wDAAwD,SAAS;CAC1E,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;AAED,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-by-first-name.cjs","names":["z","action"],"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}).passthrough();\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}).passthrough();\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}).passthrough();\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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,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CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAO,sDAAsD,SAAS;CACtE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,SAAS,wDAAwD,SAAS;CAC1E,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,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
15
15
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  first_name: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
@@ -27,11 +27,11 @@ declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
29
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  result_found: z.ZodNullable<z.ZodBoolean>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const genderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  first_name: string;
37
37
  id?: string | undefined;
@@ -15,7 +15,7 @@ declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
15
15
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  first_name: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
@@ -27,11 +27,11 @@ declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
29
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  result_found: z.ZodNullable<z.ZodBoolean>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const genderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  first_name: string;
37
37
  id?: string | undefined;
@@ -14,14 +14,14 @@ const GenderApiQueryByFirstName_QueryByFirstNameInputSchema = z.object({
14
14
  locale: z.string().describe("Browser locale, e.g., 'en-US'.").nullable().optional(),
15
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
+ }).passthrough();
18
18
  const GenderApiQueryByFirstName_QueryByFirstNameDetailsSchema = z.object({
19
19
  country: z.string().describe("The country found (may be null).").nullable().optional(),
20
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
23
  first_name_sanitized: z.string().describe("Name after normalization. Only present when result_found is true.").nullable().optional()
24
- });
24
+ }).passthrough();
25
25
  const genderApiQueryByFirstName = action("GENDER_API_QUERY_BY_FIRST_NAME", {
26
26
  slug: "gender_api-query-by-first-name",
27
27
  name: "Gender From First Name",
@@ -38,7 +38,7 @@ const genderApiQueryByFirstName = action("GENDER_API_QUERY_BY_FIRST_NAME", {
38
38
  first_name: z.string().describe("The first name used for genderization. Only present when result_found is true.").nullable().optional(),
39
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
+ }).passthrough()
42
42
  });
43
43
  //#endregion
44
44
  export { genderApiQueryByFirstName };
@@ -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.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,m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AS,CAAC,CAAC,SAAS;AACrI,CAAC;AAUD,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,OAAO,sDAAsD,SAAS;EACtE,QAAQ,EAAE,KAAK;GAAC;GAAQ;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,SAAS,wDAAwD,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,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}).passthrough();\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}).passthrough();\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}).passthrough();\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,CAA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C,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,SAAS,wDAAwD,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -14,14 +14,14 @@ const GenderApiQueryByFullName_QueryByFullNameRequestSchema = zod.z.object({
14
14
  locale: zod.z.string().describe("Browser locale string (e.g., en_US) for more accurate inference.").nullable().optional(),
15
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
- }).describe("Request model for querying gender by full name.");
17
+ }).passthrough().describe("Request model for querying gender by full name.");
18
18
  const GenderApiQueryByFullName_DetailsSchema = zod.z.object({
19
19
  country: zod.z.string().describe("Country code determined by API.").nullable().optional(),
20
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
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
+ }).passthrough();
25
25
  const GenderApiQueryByFullNameOutput = zod.z.object({
26
26
  input: GenderApiQueryByFullName_QueryByFullNameRequestSchema.nullable(),
27
27
  gender: zod.z.enum([
@@ -34,7 +34,7 @@ const GenderApiQueryByFullNameOutput = zod.z.object({
34
34
  first_name: zod.z.string().describe("Parsed first name from the full_name. Only present when result_found is true.").nullable().optional(),
35
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
- }).describe("Response model from gender-api.com for a single-name lookup.");
37
+ }).passthrough().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", {
39
39
  slug: "gender_api-query-by-full-name",
40
40
  name: "Query Gender 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.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,CA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CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAAS,uCAAuC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,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}).passthrough().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}).passthrough();\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}).passthrough().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,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,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAO,sDAAsD,SAAS;CACtE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAAS,uCAAuC,SAAS;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
15
15
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  full_name: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
@@ -27,12 +27,12 @@ declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
29
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  result_found: z.ZodNullable<z.ZodBoolean>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const genderApiQueryByFullName: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  full_name: string;
38
38
  id?: string | undefined;
@@ -15,7 +15,7 @@ declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
15
15
  locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  full_name: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
20
20
  unknown: "unknown";
21
21
  male: "male";
@@ -27,12 +27,12 @@ declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
27
27
  duration: z.ZodNullable<z.ZodString>;
28
28
  credits_used: z.ZodNullable<z.ZodNumber>;
29
29
  first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>;
30
+ }, z.core.$loose>>;
31
31
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
34
34
  result_found: z.ZodNullable<z.ZodBoolean>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const genderApiQueryByFullName: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  full_name: string;
38
38
  id?: string | undefined;