@keystrokehq/gender_api 0.1.5 → 0.1.6
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-country-of-origin-v1.cjs +1 -0
- package/dist/actions/get-country-of-origin-v1.cjs.map +1 -1
- package/dist/actions/get-country-of-origin-v1.d.cts +3 -15
- package/dist/actions/get-country-of-origin-v1.d.cts.map +1 -1
- package/dist/actions/get-country-of-origin-v1.d.mts +3 -15
- package/dist/actions/get-country-of-origin-v1.d.mts.map +1 -1
- package/dist/actions/get-country-of-origin-v1.mjs +1 -0
- package/dist/actions/get-country-of-origin-v1.mjs.map +1 -1
- package/dist/actions/get-country-of-origin.cjs +1 -0
- package/dist/actions/get-country-of-origin.cjs.map +1 -1
- package/dist/actions/get-country-of-origin.d.cts +3 -18
- package/dist/actions/get-country-of-origin.d.cts.map +1 -1
- package/dist/actions/get-country-of-origin.d.mts +3 -18
- package/dist/actions/get-country-of-origin.d.mts.map +1 -1
- package/dist/actions/get-country-of-origin.mjs +1 -0
- package/dist/actions/get-country-of-origin.mjs.map +1 -1
- package/dist/actions/get-statistic.cjs +1 -0
- package/dist/actions/get-statistic.cjs.map +1 -1
- package/dist/actions/get-statistic.d.cts +3 -13
- package/dist/actions/get-statistic.d.cts.map +1 -1
- package/dist/actions/get-statistic.d.mts +3 -13
- package/dist/actions/get-statistic.d.mts.map +1 -1
- package/dist/actions/get-statistic.mjs +1 -0
- package/dist/actions/get-statistic.mjs.map +1 -1
- package/dist/actions/query-by-email-address-multiple.cjs +1 -0
- package/dist/actions/query-by-email-address-multiple.cjs.map +1 -1
- package/dist/actions/query-by-email-address-multiple.d.cts +3 -22
- package/dist/actions/query-by-email-address-multiple.d.cts.map +1 -1
- package/dist/actions/query-by-email-address-multiple.d.mts +3 -22
- package/dist/actions/query-by-email-address-multiple.d.mts.map +1 -1
- package/dist/actions/query-by-email-address-multiple.mjs +1 -0
- package/dist/actions/query-by-email-address-multiple.mjs.map +1 -1
- package/dist/actions/query-by-email-address.cjs +1 -0
- package/dist/actions/query-by-email-address.cjs.map +1 -1
- package/dist/actions/query-by-email-address.d.cts +3 -19
- package/dist/actions/query-by-email-address.d.cts.map +1 -1
- package/dist/actions/query-by-email-address.d.mts +3 -19
- package/dist/actions/query-by-email-address.d.mts.map +1 -1
- package/dist/actions/query-by-email-address.mjs +1 -0
- package/dist/actions/query-by-email-address.mjs.map +1 -1
- package/dist/actions/query-by-first-name.cjs +1 -0
- package/dist/actions/query-by-first-name.cjs.map +1 -1
- package/dist/actions/query-by-first-name.d.cts +3 -19
- package/dist/actions/query-by-first-name.d.cts.map +1 -1
- package/dist/actions/query-by-first-name.d.mts +3 -19
- package/dist/actions/query-by-first-name.d.mts.map +1 -1
- package/dist/actions/query-by-first-name.mjs +1 -0
- package/dist/actions/query-by-first-name.mjs.map +1 -1
- package/dist/actions/query-by-full-name.cjs +1 -0
- package/dist/actions/query-by-full-name.cjs.map +1 -1
- package/dist/actions/query-by-full-name.d.cts +3 -19
- package/dist/actions/query-by-full-name.d.cts.map +1 -1
- package/dist/actions/query-by-full-name.d.mts +3 -19
- package/dist/actions/query-by-full-name.d.mts.map +1 -1
- package/dist/actions/query-by-full-name.mjs +1 -0
- package/dist/actions/query-by-full-name.mjs.map +1 -1
- package/dist/actions/query-gender-by-first-name-multiple.cjs +1 -0
- package/dist/actions/query-gender-by-first-name-multiple.cjs.map +1 -1
- package/dist/actions/query-gender-by-first-name-multiple.d.cts +3 -22
- package/dist/actions/query-gender-by-first-name-multiple.d.cts.map +1 -1
- package/dist/actions/query-gender-by-first-name-multiple.d.mts +3 -22
- package/dist/actions/query-gender-by-first-name-multiple.d.mts.map +1 -1
- package/dist/actions/query-gender-by-first-name-multiple.mjs +1 -0
- package/dist/actions/query-gender-by-first-name-multiple.mjs.map +1 -1
- package/dist/actions/query-gender-by-full-name-multiple.cjs +1 -0
- package/dist/actions/query-gender-by-full-name-multiple.cjs.map +1 -1
- package/dist/actions/query-gender-by-full-name-multiple.d.cts +3 -22
- package/dist/actions/query-gender-by-full-name-multiple.d.cts.map +1 -1
- package/dist/actions/query-gender-by-full-name-multiple.d.mts +3 -22
- package/dist/actions/query-gender-by-full-name-multiple.d.mts.map +1 -1
- package/dist/actions/query-gender-by-full-name-multiple.mjs +1 -0
- package/dist/actions/query-gender-by-full-name-multiple.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"query-by-email-address-multiple.mjs","names":[],"sources":["../../src/actions/query-by-email-address-multiple.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByEmailAddressMultipleInput,\n typeof GenderApiQueryByEmailAddressMultipleOutput,\n typeof genderApi.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,CAAC,SAAS,4DAA4D,EAC7I,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACr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AS,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,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAK5I,MAAa,uCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,iEAAiE,EAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByEmailAddressInput,\n typeof GenderApiQueryByEmailAddressOutput,\n typeof genderApi.credential\n> = 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":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAA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ppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-by-email-address.d.ts
|
|
@@ -34,25 +36,7 @@ declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
|
|
|
34
36
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const genderApiQueryByEmailAddress:
|
|
38
|
-
email: string;
|
|
39
|
-
id?: string | undefined;
|
|
40
|
-
ip?: string | undefined;
|
|
41
|
-
locale?: string | undefined;
|
|
42
|
-
country?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const genderApiQueryByEmailAddress: AppAction<typeof GenderApiQueryByEmailAddressInput, typeof GenderApiQueryByEmailAddressOutput, typeof genderApi.credential>;
|
|
56
40
|
//#endregion
|
|
57
41
|
export { genderApiQueryByEmailAddress };
|
|
58
42
|
//# sourceMappingURL=query-by-email-address.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-email-address.d.cts","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-by-email-address.d.cts","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAsBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAUlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { genderApi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-by-email-address.d.ts
|
|
@@ -34,25 +36,7 @@ declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
|
|
|
34
36
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
37
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const genderApiQueryByEmailAddress:
|
|
38
|
-
email: string;
|
|
39
|
-
id?: string | undefined;
|
|
40
|
-
ip?: string | undefined;
|
|
41
|
-
locale?: string | undefined;
|
|
42
|
-
country?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
generic_api_key: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const genderApiQueryByEmailAddress: AppAction<typeof GenderApiQueryByEmailAddressInput, typeof GenderApiQueryByEmailAddressOutput, typeof genderApi.credential>;
|
|
56
40
|
//#endregion
|
|
57
41
|
export { genderApiQueryByEmailAddress };
|
|
58
42
|
//# sourceMappingURL=query-by-email-address.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-email-address.d.mts","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-by-email-address.d.mts","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAsBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAUlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"query-by-email-address.mjs","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByEmailAddressInput,\n typeof GenderApiQueryByEmailAddressOutput,\n typeof genderApi.credential\n> = 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":";;;;AAMA,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,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,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,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"query-by-first-name.cjs","names":["z","action"],"sources":["../../src/actions/query-by-first-name.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByFirstNameInput,\n typeof GenderApiQueryByFirstNameOutput,\n typeof genderApi.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAClD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,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,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,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { genderApi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-by-first-name.d.ts
|
|
@@ -32,25 +34,7 @@ declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
|
|
|
32
34
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
35
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const genderApiQueryByFirstName:
|
|
36
|
-
first_name: string;
|
|
37
|
-
id?: string | undefined;
|
|
38
|
-
ip?: string | undefined;
|
|
39
|
-
locale?: string | undefined;
|
|
40
|
-
country?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const genderApiQueryByFirstName: AppAction<typeof GenderApiQueryByFirstNameInput, typeof GenderApiQueryByFirstNameOutput, typeof genderApi.credential>;
|
|
54
38
|
//#endregion
|
|
55
39
|
export { genderApiQueryByFirstName };
|
|
56
40
|
//# sourceMappingURL=query-by-first-name.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-first-name.d.cts","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-by-first-name.d.cts","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAqB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { genderApi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-by-first-name.d.ts
|
|
@@ -32,25 +34,7 @@ declare const GenderApiQueryByFirstNameOutput: z.ZodObject<{
|
|
|
32
34
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
35
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const genderApiQueryByFirstName:
|
|
36
|
-
first_name: string;
|
|
37
|
-
id?: string | undefined;
|
|
38
|
-
ip?: string | undefined;
|
|
39
|
-
locale?: string | undefined;
|
|
40
|
-
country?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const genderApiQueryByFirstName: AppAction<typeof GenderApiQueryByFirstNameInput, typeof GenderApiQueryByFirstNameOutput, typeof genderApi.credential>;
|
|
54
38
|
//#endregion
|
|
55
39
|
export { genderApiQueryByFirstName };
|
|
56
40
|
//# sourceMappingURL=query-by-first-name.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-first-name.d.mts","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-by-first-name.d.mts","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAqB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAS/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"query-by-first-name.mjs","names":[],"sources":["../../src/actions/query-by-first-name.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByFirstNameInput,\n typeof GenderApiQueryByFirstNameOutput,\n typeof genderApi.credential\n> = 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 g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C,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6C,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"query-by-full-name.cjs","names":["z","action"],"sources":["../../src/actions/query-by-full-name.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByFullNameInput,\n typeof GenderApiQueryByFullNameOutput,\n typeof genderApi.credential\n> = 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":";;;;AAMA,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,SAA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AAU;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,2BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { genderApi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-by-full-name.d.ts
|
|
@@ -33,25 +35,7 @@ declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
|
|
|
33
35
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const genderApiQueryByFullName:
|
|
37
|
-
full_name: string;
|
|
38
|
-
id?: string | undefined;
|
|
39
|
-
ip?: string | undefined;
|
|
40
|
-
locale?: string | undefined;
|
|
41
|
-
country?: string | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const genderApiQueryByFullName: AppAction<typeof GenderApiQueryByFullNameInput, typeof GenderApiQueryByFullNameOutput, typeof genderApi.credential>;
|
|
55
39
|
//#endregion
|
|
56
40
|
export { genderApiQueryByFullName };
|
|
57
41
|
//# sourceMappingURL=query-by-full-name.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-full-name.d.cts","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-by-full-name.d.cts","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAU9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { genderApi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-by-full-name.d.ts
|
|
@@ -33,25 +35,7 @@ declare const GenderApiQueryByFullNameOutput: z.ZodObject<{
|
|
|
33
35
|
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
36
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const genderApiQueryByFullName:
|
|
37
|
-
full_name: string;
|
|
38
|
-
id?: string | undefined;
|
|
39
|
-
ip?: string | undefined;
|
|
40
|
-
locale?: string | undefined;
|
|
41
|
-
country?: string | undefined;
|
|
42
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>;
|
|
38
|
+
declare const genderApiQueryByFullName: AppAction<typeof GenderApiQueryByFullNameInput, typeof GenderApiQueryByFullNameOutput, typeof genderApi.credential>;
|
|
55
39
|
//#endregion
|
|
56
40
|
export { genderApiQueryByFullName };
|
|
57
41
|
//# sourceMappingURL=query-by-full-name.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-full-name.d.mts","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-by-full-name.d.mts","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAqB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAU9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"query-by-full-name.mjs","names":[],"sources":["../../src/actions/query-by-full-name.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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: AppAction<\n typeof GenderApiQueryByFullNameInput,\n typeof GenderApiQueryByFullNameOutput,\n typeof genderApi.credential\n> = 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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U,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,CAAC,CAAC,YAAY;AAWf,MAAa,2BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB4C,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,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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":"
|
|
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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { genderApi } from \"../app\";\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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().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}).passthrough().describe(\"Response model containing results for all queried names.\");\n\nexport const genderApiQueryGenderByFirstNameMultiple: AppAction<\n typeof GenderApiQueryGenderByFirstNameMultipleInput,\n typeof GenderApiQueryGenderByFirstNameMultipleOutput,\n typeof genderApi.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,4DAA4D,EACjJ,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,+DAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA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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,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,mDAAmD,EAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,0CAITC,eAAAA,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { genderApi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/query-gender-by-first-name-multiple.d.ts
|
|
@@ -36,28 +38,7 @@ declare const GenderApiQueryGenderByFirstNameMultipleOutput: z.ZodObject<{
|
|
|
36
38
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
37
39
|
}, z.core.$loose>>;
|
|
38
40
|
}, z.core.$loose>;
|
|
39
|
-
declare const genderApiQueryGenderByFirstNameMultiple:
|
|
40
|
-
names: {
|
|
41
|
-
[x: string]: unknown;
|
|
42
|
-
first_name: string;
|
|
43
|
-
id?: string | undefined;
|
|
44
|
-
ip?: string | undefined;
|
|
45
|
-
locale?: string | undefined;
|
|
46
|
-
country?: string | undefined;
|
|
47
|
-
}[];
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"gender_api", z.ZodObject<{
|
|
55
|
-
connectionId: z.ZodString;
|
|
56
|
-
entityId: z.ZodString;
|
|
57
|
-
instanceId: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
-
generic_api_key: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>]>;
|
|
41
|
+
declare const genderApiQueryGenderByFirstNameMultiple: AppAction<typeof GenderApiQueryGenderByFirstNameMultipleInput, typeof GenderApiQueryGenderByFirstNameMultipleOutput, typeof genderApi.credential>;
|
|
61
42
|
//#endregion
|
|
62
43
|
export { genderApiQueryGenderByFirstNameMultiple };
|
|
63
44
|
//# sourceMappingURL=query-gender-by-first-name-multiple.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-gender-by-first-name-multiple.d.cts","names":[],"sources":["../../src/actions/query-gender-by-first-name-multiple.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"query-gender-by-first-name-multiple.d.cts","names":[],"sources":["../../src/actions/query-gender-by-first-name-multiple.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;cA+B5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,SAAA,CAAU,UAAA"}
|