@keystrokehq/genderapi_io 0.1.0 → 0.1.1
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/gender-api-query-by-first-name.cjs +11 -11
- package/dist/actions/gender-api-query-by-first-name.cjs.map +1 -1
- package/dist/actions/gender-api-query-by-first-name.d.cts +43 -3
- package/dist/actions/gender-api-query-by-first-name.d.cts.map +1 -1
- package/dist/actions/gender-api-query-by-first-name.d.mts +43 -3
- package/dist/actions/gender-api-query-by-first-name.d.mts.map +1 -1
- package/dist/actions/gender-api-query-by-first-name.mjs +11 -11
- package/dist/actions/gender-api-query-by-first-name.mjs.map +1 -1
- package/dist/actions/genderapi-get-stats.cjs +3 -3
- package/dist/actions/genderapi-get-stats.cjs.map +1 -1
- package/dist/actions/genderapi-get-stats.d.cts +11 -3
- package/dist/actions/genderapi-get-stats.d.cts.map +1 -1
- package/dist/actions/genderapi-get-stats.d.mts +11 -3
- package/dist/actions/genderapi-get-stats.d.mts.map +1 -1
- package/dist/actions/genderapi-get-stats.mjs +3 -3
- package/dist/actions/genderapi-get-stats.mjs.map +1 -1
- package/dist/actions/get-gender-from-username.cjs +13 -13
- package/dist/actions/get-gender-from-username.cjs.map +1 -1
- package/dist/actions/get-gender-from-username.d.cts +44 -3
- package/dist/actions/get-gender-from-username.d.cts.map +1 -1
- package/dist/actions/get-gender-from-username.d.mts +44 -3
- package/dist/actions/get-gender-from-username.d.mts.map +1 -1
- package/dist/actions/get-gender-from-username.mjs +13 -13
- package/dist/actions/get-gender-from-username.mjs.map +1 -1
- package/dist/actions/list-error-codes.cjs +3 -3
- package/dist/actions/list-error-codes.cjs.map +1 -1
- package/dist/actions/list-error-codes.d.cts +15 -3
- package/dist/actions/list-error-codes.d.cts.map +1 -1
- package/dist/actions/list-error-codes.d.mts +15 -3
- package/dist/actions/list-error-codes.d.mts.map +1 -1
- package/dist/actions/list-error-codes.mjs +3 -3
- package/dist/actions/list-error-codes.mjs.map +1 -1
- package/dist/actions/query-by-email-address.cjs +13 -13
- package/dist/actions/query-by-email-address.cjs.map +1 -1
- package/dist/actions/query-by-email-address.d.cts +43 -3
- package/dist/actions/query-by-email-address.d.cts.map +1 -1
- package/dist/actions/query-by-email-address.d.mts +43 -3
- package/dist/actions/query-by-email-address.d.mts.map +1 -1
- package/dist/actions/query-by-email-address.mjs +13 -13
- package/dist/actions/query-by-email-address.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["genderapiIo","executeGenderapiIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderapiIo } from \"./app\";\nimport { executeGenderapiIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["genderapiIo","executeGenderapiIoTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderapiIo } from \"./app\";\nimport { executeGenderapiIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return genderapiIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeGenderapiIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAOA,YAAAA,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderapiIo } from \"./app\";\nimport { executeGenderapiIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderapiIo } from \"./app\";\nimport { executeGenderapiIoTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return genderapiIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeGenderapiIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAO,YAAY,OAAO;EACxB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,uBAAuB,MAAM,KAAgC,CAAC;EAC9F;CACF,CAAC;AACH"}
|
|
@@ -11,17 +11,17 @@ const GenderapiIoGenderApiQueryByFirstNameInput = zod.z.object({
|
|
|
11
11
|
forceToGenderize: zod.z.boolean().describe("Attempt to genderize even for non-typical names (e.g., nicknames).").optional()
|
|
12
12
|
});
|
|
13
13
|
const GenderapiIoGenderApiQueryByFirstNameOutput = zod.z.object({
|
|
14
|
-
q: zod.z.string().describe("Echo of your input (name)."),
|
|
15
|
-
name: zod.z.string().describe("Found/extracted first name from the input.").
|
|
16
|
-
gender: zod.z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").
|
|
17
|
-
status: zod.z.boolean().describe("True if request succeeded."),
|
|
18
|
-
country: zod.z.string().describe("Most likely country code determined by the service.").
|
|
19
|
-
expires: zod.z.number().int().describe("Package expiry time as Unix timestamp (seconds).").
|
|
20
|
-
duration: zod.z.string().describe("Server processing time (e.g., '4ms').").
|
|
21
|
-
probability: zod.z.number().int().describe("Reliability percentage between 0 and 100.").
|
|
22
|
-
total_names: zod.z.number().int().describe("Number of matching name samples in the database.").
|
|
23
|
-
used_credits: zod.z.number().int().describe("Number of credits used for this query."),
|
|
24
|
-
remaining_credits: zod.z.number().int().describe("Credits remaining after this request.").
|
|
14
|
+
q: zod.z.string().describe("Echo of your input (name).").nullable(),
|
|
15
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Found/extracted first name from the input.").optional()),
|
|
16
|
+
gender: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").optional()),
|
|
17
|
+
status: zod.z.boolean().describe("True if request succeeded.").nullable(),
|
|
18
|
+
country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Most likely country code determined by the service.").optional()),
|
|
19
|
+
expires: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Package expiry time as Unix timestamp (seconds).").optional()),
|
|
20
|
+
duration: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Server processing time (e.g., '4ms').").optional()),
|
|
21
|
+
probability: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Reliability percentage between 0 and 100.").optional()),
|
|
22
|
+
total_names: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of matching name samples in the database.").optional()),
|
|
23
|
+
used_credits: zod.z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
24
|
+
remaining_credits: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Credits remaining after this request.").optional())
|
|
25
25
|
});
|
|
26
26
|
const genderapiIoGenderApiQueryByFirstName = require_action.action("GENDERAPI_IO_GENDER_API_QUERY_BY_FIRST_NAME", {
|
|
27
27
|
slug: "genderapi_io-gender-api-query-by-first-name",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gender-api-query-by-first-name.cjs","names":["z","action"],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderApiQueryByFirstNameInput
|
|
1
|
+
{"version":3,"file":"gender-api-query-by-first-name.cjs","names":["z","action"],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderApiQueryByFirstNameInput = z.object({\n id: z.string().describe(\"Optional arbitrary identifier (up to 50 characters) to correlate the response.\").optional(),\n ip: z.string().describe(\"Optional IP address (IPv4 or IPv6) to localize the query.\").optional(),\n name: z.string().describe(\"First name to query gender for.\"),\n locale: z.string().describe(\"Optional locale to guide gender inference.\").optional(),\n askToAI: z.boolean().describe(\"Ask AI model when the name isn’t present in the database.\").optional(),\n country: z.string().describe(\"Optional ISO 3166 alpha-2 country code to localize the query.\").optional(),\n forceToGenderize: z.boolean().describe(\"Attempt to genderize even for non-typical names (e.g., nicknames).\").optional(),\n});\nexport const GenderapiIoGenderApiQueryByFirstNameOutput = z.object({\n q: z.string().describe(\"Echo of your input (name).\").nullable(),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Found/extracted first name from the input.\").optional()),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").optional()),\n status: z.boolean().describe(\"True if request succeeded.\").nullable(),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Most likely country code determined by the service.\").optional()),\n expires: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Package expiry time as Unix timestamp (seconds).\").optional()),\n duration: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Server processing time (e.g., '4ms').\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Reliability percentage between 0 and 100.\").optional()),\n total_names: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of matching name samples in the database.\").optional()),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Credits remaining after this request.\").optional()),\n});\n\nexport const genderapiIoGenderApiQueryByFirstName = action(\"GENDERAPI_IO_GENDER_API_QUERY_BY_FIRST_NAME\", {\n slug: \"genderapi_io-gender-api-query-by-first-name\",\n name: \"Query Gender by First Name\",\n description: \"Tool to determine gender by querying first name. Use when you need to infer likely gender for a given name with optional localization hints.\",\n input: GenderapiIoGenderApiQueryByFirstNameInput,\n output: GenderapiIoGenderApiQueryByFirstNameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,QAAQA,IAAAA,EAAE,OAAO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,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAC5J,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;CACnK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;AAChK,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/gender-api-query-by-first-name.d.ts
|
|
4
|
-
declare const GenderapiIoGenderApiQueryByFirstNameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoGenderApiQueryByFirstNameInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
9
|
+
askToAI: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11
|
+
forceToGenderize: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const GenderapiIoGenderApiQueryByFirstNameOutput: z.ZodObject<{
|
|
14
|
+
q: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
gender: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
expires: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
+
duration: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
remaining_credits: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const genderapiIoGenderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
name: string;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
ip?: string | undefined;
|
|
30
|
+
locale?: string | undefined;
|
|
31
|
+
askToAI?: boolean | undefined;
|
|
32
|
+
country?: string | undefined;
|
|
33
|
+
forceToGenderize?: boolean | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
q: string | null;
|
|
36
|
+
status: boolean | null;
|
|
37
|
+
used_credits: number | null;
|
|
38
|
+
name?: string | undefined;
|
|
39
|
+
gender?: string | undefined;
|
|
40
|
+
country?: string | undefined;
|
|
41
|
+
expires?: number | undefined;
|
|
42
|
+
duration?: string | undefined;
|
|
43
|
+
probability?: number | undefined;
|
|
44
|
+
total_names?: number | undefined;
|
|
45
|
+
remaining_credits?: number | undefined;
|
|
46
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { genderapiIoGenderApiQueryByFirstName };
|
|
9
49
|
//# sourceMappingURL=gender-api-query-by-first-name.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gender-api-query-by-first-name.d.cts","names":[],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"gender-api-query-by-first-name.d.cts","names":[],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;cASzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/gender-api-query-by-first-name.d.ts
|
|
4
|
-
declare const GenderapiIoGenderApiQueryByFirstNameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoGenderApiQueryByFirstNameInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
9
|
+
askToAI: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
country: z.ZodOptional<z.ZodString>;
|
|
11
|
+
forceToGenderize: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const GenderapiIoGenderApiQueryByFirstNameOutput: z.ZodObject<{
|
|
14
|
+
q: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
gender: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
expires: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
+
duration: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
remaining_credits: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const genderapiIoGenderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
name: string;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
ip?: string | undefined;
|
|
30
|
+
locale?: string | undefined;
|
|
31
|
+
askToAI?: boolean | undefined;
|
|
32
|
+
country?: string | undefined;
|
|
33
|
+
forceToGenderize?: boolean | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
q: string | null;
|
|
36
|
+
status: boolean | null;
|
|
37
|
+
used_credits: number | null;
|
|
38
|
+
name?: string | undefined;
|
|
39
|
+
gender?: string | undefined;
|
|
40
|
+
country?: string | undefined;
|
|
41
|
+
expires?: number | undefined;
|
|
42
|
+
duration?: string | undefined;
|
|
43
|
+
probability?: number | undefined;
|
|
44
|
+
total_names?: number | undefined;
|
|
45
|
+
remaining_credits?: number | undefined;
|
|
46
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { genderapiIoGenderApiQueryByFirstName };
|
|
9
49
|
//# sourceMappingURL=gender-api-query-by-first-name.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gender-api-query-by-first-name.d.mts","names":[],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"mappings":";;;cAIa,yCAAA,
|
|
1
|
+
{"version":3,"file":"gender-api-query-by-first-name.d.mts","names":[],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;cASzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc1C,oCAAA,gCAAoC,wBAAA"}
|
|
@@ -14,17 +14,17 @@ const genderapiIoGenderApiQueryByFirstName = action("GENDERAPI_IO_GENDER_API_QUE
|
|
|
14
14
|
forceToGenderize: z.boolean().describe("Attempt to genderize even for non-typical names (e.g., nicknames).").optional()
|
|
15
15
|
}),
|
|
16
16
|
output: z.object({
|
|
17
|
-
q: z.string().describe("Echo of your input (name)."),
|
|
18
|
-
name: z.string().describe("Found/extracted first name from the input.").
|
|
19
|
-
gender: z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").
|
|
20
|
-
status: z.boolean().describe("True if request succeeded."),
|
|
21
|
-
country: z.string().describe("Most likely country code determined by the service.").
|
|
22
|
-
expires: z.number().int().describe("Package expiry time as Unix timestamp (seconds).").
|
|
23
|
-
duration: z.string().describe("Server processing time (e.g., '4ms').").
|
|
24
|
-
probability: z.number().int().describe("Reliability percentage between 0 and 100.").
|
|
25
|
-
total_names: z.number().int().describe("Number of matching name samples in the database.").
|
|
26
|
-
used_credits: z.number().int().describe("Number of credits used for this query."),
|
|
27
|
-
remaining_credits: z.number().int().describe("Credits remaining after this request.").
|
|
17
|
+
q: z.string().describe("Echo of your input (name).").nullable(),
|
|
18
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Found/extracted first name from the input.").optional()),
|
|
19
|
+
gender: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").optional()),
|
|
20
|
+
status: z.boolean().describe("True if request succeeded.").nullable(),
|
|
21
|
+
country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Most likely country code determined by the service.").optional()),
|
|
22
|
+
expires: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Package expiry time as Unix timestamp (seconds).").optional()),
|
|
23
|
+
duration: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Server processing time (e.g., '4ms').").optional()),
|
|
24
|
+
probability: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Reliability percentage between 0 and 100.").optional()),
|
|
25
|
+
total_names: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of matching name samples in the database.").optional()),
|
|
26
|
+
used_credits: z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
27
|
+
remaining_credits: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Credits remaining after this request.").optional())
|
|
28
28
|
})
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gender-api-query-by-first-name.mjs","names":[],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderApiQueryByFirstNameInput
|
|
1
|
+
{"version":3,"file":"gender-api-query-by-first-name.mjs","names":[],"sources":["../../src/actions/gender-api-query-by-first-name.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderApiQueryByFirstNameInput = z.object({\n id: z.string().describe(\"Optional arbitrary identifier (up to 50 characters) to correlate the response.\").optional(),\n ip: z.string().describe(\"Optional IP address (IPv4 or IPv6) to localize the query.\").optional(),\n name: z.string().describe(\"First name to query gender for.\"),\n locale: z.string().describe(\"Optional locale to guide gender inference.\").optional(),\n askToAI: z.boolean().describe(\"Ask AI model when the name isn’t present in the database.\").optional(),\n country: z.string().describe(\"Optional ISO 3166 alpha-2 country code to localize the query.\").optional(),\n forceToGenderize: z.boolean().describe(\"Attempt to genderize even for non-typical names (e.g., nicknames).\").optional(),\n});\nexport const GenderapiIoGenderApiQueryByFirstNameOutput = z.object({\n q: z.string().describe(\"Echo of your input (name).\").nullable(),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Found/extracted first name from the input.\").optional()),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").optional()),\n status: z.boolean().describe(\"True if request succeeded.\").nullable(),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Most likely country code determined by the service.\").optional()),\n expires: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Package expiry time as Unix timestamp (seconds).\").optional()),\n duration: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Server processing time (e.g., '4ms').\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Reliability percentage between 0 and 100.\").optional()),\n total_names: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of matching name samples in the database.\").optional()),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Credits remaining after this request.\").optional()),\n});\n\nexport const genderapiIoGenderApiQueryByFirstName = action(\"GENDERAPI_IO_GENDER_API_QUERY_BY_FIRST_NAME\", {\n slug: \"genderapi_io-gender-api-query-by-first-name\",\n name: \"Query Gender by First Name\",\n description: \"Tool to determine gender by querying first name. Use when you need to infer likely gender for a given name with optional localization hints.\",\n input: GenderapiIoGenderApiQueryByFirstNameInput,\n output: GenderapiIoGenderApiQueryByFirstNameOutput,\n});\n"],"mappings":";;AA2BA,MAAa,uCAAuC,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EACnH,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC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AAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;EACnK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;CAChK,CAOU;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/genderapi-get-stats.ts
|
|
4
4
|
const GenderapiIoGenderapiGetStatsInput = zod.z.object({}).describe("Request model for GENDERAPI_GET_STATS. No parameters required for this endpoint.");
|
|
5
5
|
const GenderapiIoGenderapiGetStatsOutput = zod.z.object({
|
|
6
|
-
status: zod.z.boolean().describe("Whether the request was successful."),
|
|
7
|
-
expiresAt: zod.z.number().int().describe("UNIX timestamp when the current package expires"),
|
|
8
|
-
remaining: zod.z.number().int().describe("Number of remaining API credits on this API key")
|
|
6
|
+
status: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
7
|
+
expiresAt: zod.z.number().int().describe("UNIX timestamp when the current package expires").nullable(),
|
|
8
|
+
remaining: zod.z.number().int().describe("Number of remaining API credits on this API key").nullable()
|
|
9
9
|
}).describe("Response model for GenderAPI.io remaining credits endpoint.");
|
|
10
10
|
const genderapiIoGenderapiGetStats = require_action.action("GENDERAPI_IO_GENDERAPI_GET_STATS", {
|
|
11
11
|
slug: "genderapi_io-genderapi-get-stats",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genderapi-get-stats.cjs","names":["z","action"],"sources":["../../src/actions/genderapi-get-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderapiGetStatsInput
|
|
1
|
+
{"version":3,"file":"genderapi-get-stats.cjs","names":["z","action"],"sources":["../../src/actions/genderapi-get-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderapiGetStatsInput = z.object({}).describe(\"Request model for GENDERAPI_GET_STATS. No parameters required for this endpoint.\");\nexport const GenderapiIoGenderapiGetStatsOutput = z.object({\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n expiresAt: z.number().int().describe(\"UNIX timestamp when the current package expires\").nullable(),\n remaining: z.number().int().describe(\"Number of remaining API credits on this API key\").nullable(),\n}).describe(\"Response model for GenderAPI.io remaining credits endpoint.\");\n\nexport const genderapiIoGenderapiGetStats = action(\"GENDERAPI_IO_GENDERAPI_GET_STATS\", {\n slug: \"genderapi_io-genderapi-get-stats\",\n name: \"Gender API Get Statistics\",\n description: \"Tool to retrieve account usage statistics from GenderAPI.io. Use when you need to check remaining API credits and expiry.\",\n input: GenderapiIoGenderapiGetStatsInput,\n output: GenderapiIoGenderapiGetStatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;AACzJ,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/genderapi-get-stats.d.ts
|
|
4
|
-
declare const GenderapiIoGenderapiGetStatsInput: z.
|
|
5
|
-
declare const GenderapiIoGenderapiGetStatsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoGenderapiGetStatsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const GenderapiIoGenderapiGetStatsOutput: z.ZodObject<{
|
|
6
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
7
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const genderapiIoGenderapiGetStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
|
|
11
|
+
status: boolean | null;
|
|
12
|
+
expiresAt: number | null;
|
|
13
|
+
remaining: number | null;
|
|
14
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { genderapiIoGenderapiGetStats };
|
|
9
17
|
//# sourceMappingURL=genderapi-get-stats.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genderapi-get-stats.d.cts","names":[],"sources":["../../src/actions/genderapi-get-stats.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"genderapi-get-stats.d.cts","names":[],"sources":["../../src/actions/genderapi-get-stats.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/genderapi-get-stats.d.ts
|
|
4
|
-
declare const GenderapiIoGenderapiGetStatsInput: z.
|
|
5
|
-
declare const GenderapiIoGenderapiGetStatsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoGenderapiGetStatsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const GenderapiIoGenderapiGetStatsOutput: z.ZodObject<{
|
|
6
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
7
|
+
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const genderapiIoGenderapiGetStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
|
|
11
|
+
status: boolean | null;
|
|
12
|
+
expiresAt: number | null;
|
|
13
|
+
remaining: number | null;
|
|
14
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
15
|
//#endregion
|
|
8
16
|
export { genderapiIoGenderapiGetStats };
|
|
9
17
|
//# sourceMappingURL=genderapi-get-stats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genderapi-get-stats.d.mts","names":[],"sources":["../../src/actions/genderapi-get-stats.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"genderapi-get-stats.d.mts","names":[],"sources":["../../src/actions/genderapi-get-stats.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA"}
|
|
@@ -6,9 +6,9 @@ const genderapiIoGenderapiGetStats = action("GENDERAPI_IO_GENDERAPI_GET_STATS",
|
|
|
6
6
|
description: "Tool to retrieve account usage statistics from GenderAPI.io. Use when you need to check remaining API credits and expiry.",
|
|
7
7
|
input: z.object({}).describe("Request model for GENDERAPI_GET_STATS. No parameters required for this endpoint."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
status: z.boolean().describe("Whether the request was successful."),
|
|
10
|
-
expiresAt: z.number().int().describe("UNIX timestamp when the current package expires"),
|
|
11
|
-
remaining: z.number().int().describe("Number of remaining API credits on this API key")
|
|
9
|
+
status: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
10
|
+
expiresAt: z.number().int().describe("UNIX timestamp when the current package expires").nullable(),
|
|
11
|
+
remaining: z.number().int().describe("Number of remaining API credits on this API key").nullable()
|
|
12
12
|
}).describe("Response model for GenderAPI.io remaining credits endpoint.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genderapi-get-stats.mjs","names":[],"sources":["../../src/actions/genderapi-get-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderapiGetStatsInput
|
|
1
|
+
{"version":3,"file":"genderapi-get-stats.mjs","names":[],"sources":["../../src/actions/genderapi-get-stats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGenderapiGetStatsInput = z.object({}).describe(\"Request model for GENDERAPI_GET_STATS. No parameters required for this endpoint.\");\nexport const GenderapiIoGenderapiGetStatsOutput = z.object({\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n expiresAt: z.number().int().describe(\"UNIX timestamp when the current package expires\").nullable(),\n remaining: z.number().int().describe(\"Number of remaining API credits on this API key\").nullable(),\n}).describe(\"Response model for GenderAPI.io remaining credits endpoint.\");\n\nexport const genderapiIoGenderapiGetStats = action(\"GENDERAPI_IO_GENDERAPI_GET_STATS\", {\n slug: \"genderapi_io-genderapi-get-stats\",\n name: \"Gender API Get Statistics\",\n description: \"Tool to retrieve account usage statistics from GenderAPI.io. Use when you need to check remaining API credits and expiry.\",\n input: GenderapiIoGenderapiGetStatsInput,\n output: GenderapiIoGenderapiGetStatsOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAW9D;CACP,QAXgD,EAAE,OAAO;EACzD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -8,19 +8,19 @@ const GenderapiIoGetGenderFromUsernameInput = zod.z.object({
|
|
|
8
8
|
forceToGenderize: zod.z.boolean().describe("If true, attempts prediction even for usernames that don't resemble real names.").optional()
|
|
9
9
|
}).describe("Request model for determining gender from a username or nickname.");
|
|
10
10
|
const GenderapiIoGetGenderFromUsernameOutput = zod.z.object({
|
|
11
|
-
q: zod.z.string().describe("The input username submitted."),
|
|
12
|
-
to: zod.z.boolean().describe("Additional metadata field returned by the API.").
|
|
13
|
-
name: zod.z.string().describe("Name extracted from the username, if any.").
|
|
14
|
-
gender: zod.z.enum(["male", "female"]).describe("Predicted gender: 'male', 'female', or null if undetermined.").
|
|
15
|
-
status: zod.z.boolean().describe("Whether the request was successful."),
|
|
16
|
-
country: zod.z.string().describe("Country code considered during prediction.").
|
|
17
|
-
expires: zod.z.number().int().describe("UNIX timestamp when plan expires."),
|
|
18
|
-
duration: zod.z.string().describe("Processing time, e.g., '6ms'."),
|
|
19
|
-
isHumanName: zod.z.boolean().describe("Whether the username appears to be a human name (returned when askToAI is used).").
|
|
20
|
-
probability: zod.z.number().int().describe("Confidence score as a percentage (0-100)."),
|
|
21
|
-
total_names: zod.z.number().int().describe("Number of name samples used."),
|
|
22
|
-
used_credits: zod.z.number().int().describe("Number of credits used for this request."),
|
|
23
|
-
remaining_credits: zod.z.number().int().describe("Remaining credits after the request.")
|
|
11
|
+
q: zod.z.string().describe("The input username submitted.").nullable(),
|
|
12
|
+
to: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Additional metadata field returned by the API.").optional()),
|
|
13
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name extracted from the username, if any.").optional()),
|
|
14
|
+
gender: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.enum(["male", "female"]).describe("Predicted gender: 'male', 'female', or null if undetermined.").optional()),
|
|
15
|
+
status: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
16
|
+
country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country code considered during prediction.").optional()),
|
|
17
|
+
expires: zod.z.number().int().describe("UNIX timestamp when plan expires.").nullable(),
|
|
18
|
+
duration: zod.z.string().describe("Processing time, e.g., '6ms'.").nullable(),
|
|
19
|
+
isHumanName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the username appears to be a human name (returned when askToAI is used).").optional()),
|
|
20
|
+
probability: zod.z.number().int().describe("Confidence score as a percentage (0-100).").nullable(),
|
|
21
|
+
total_names: zod.z.number().int().describe("Number of name samples used.").nullable(),
|
|
22
|
+
used_credits: zod.z.number().int().describe("Number of credits used for this request.").nullable(),
|
|
23
|
+
remaining_credits: zod.z.number().int().describe("Remaining credits after the request.").nullable()
|
|
24
24
|
}).describe("Response model for gender determination from a username.");
|
|
25
25
|
const genderapiIoGetGenderFromUsername = require_action.action("GENDERAPI_IO_GET_GENDER_FROM_USERNAME", {
|
|
26
26
|
slug: "genderapi_io-get-gender-from-username",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-gender-from-username.cjs","names":["z","action"],"sources":["../../src/actions/get-gender-from-username.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGetGenderFromUsernameInput
|
|
1
|
+
{"version":3,"file":"get-gender-from-username.cjs","names":["z","action"],"sources":["../../src/actions/get-gender-from-username.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGetGenderFromUsernameInput = z.object({\n askToAI: z.boolean().describe(\"If true, asks the AI model when the name is not found in the database.\").optional(),\n country: z.string().describe(\"Optional ISO 3166-1 alpha-2 country code to improve prediction accuracy.\").optional(),\n username: z.string().describe(\"Username or nickname to analyze for gender inference.\"),\n forceToGenderize: z.boolean().describe(\"If true, attempts prediction even for usernames that don't resemble real names.\").optional(),\n}).describe(\"Request model for determining gender from a username or nickname.\");\nexport const GenderapiIoGetGenderFromUsernameOutput = z.object({\n q: z.string().describe(\"The input username submitted.\").nullable(),\n to: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Additional metadata field returned by the API.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name extracted from the username, if any.\").optional()),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"male\", \"female\"]).describe(\"Predicted gender: 'male', 'female', or null if undetermined.\").optional()),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code considered during prediction.\").optional()),\n expires: z.number().int().describe(\"UNIX timestamp when plan expires.\").nullable(),\n duration: z.string().describe(\"Processing time, e.g., '6ms'.\").nullable(),\n isHumanName: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the username appears to be a human name (returned when askToAI is used).\").optional()),\n probability: z.number().int().describe(\"Confidence score as a percentage (0-100).\").nullable(),\n total_names: z.number().int().describe(\"Number of name samples used.\").nullable(),\n used_credits: z.number().int().describe(\"Number of credits used for this request.\").nullable(),\n remaining_credits: z.number().int().describe(\"Remaining credits after the request.\").nullable(),\n}).describe(\"Response model for gender determination from a username.\");\n\nexport const genderapiIoGetGenderFromUsername = action(\"GENDERAPI_IO_GET_GENDER_FROM_USERNAME\", {\n slug: \"genderapi_io-get-gender-from-username\",\n name: \"Get Gender from Username\",\n description: \"Tool to determine gender from a username or nickname. Use when you have an alias or handle and want to infer gender from that identifier.\",\n input: GenderapiIoGetGenderFromUsernameInput,\n output: GenderapiIoGetGenderFromUsernameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACrF,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACjE,IAAIA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;CACnJ,MAAMA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAC/I,QAAQA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC;CACpL,QAAQA,IA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apiIoGetGenderFromUsernameInput: z.ZodObject<{
|
|
5
|
+
askToAI: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
country: z.ZodOptional<z.ZodString>;
|
|
7
|
+
username: z.ZodString;
|
|
8
|
+
forceToGenderize: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const GenderapiIoGetGenderFromUsernameOutput: z.ZodObject<{
|
|
11
|
+
q: z.ZodNullable<z.ZodString>;
|
|
12
|
+
to: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
gender: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
male: "male";
|
|
16
|
+
female: "female";
|
|
17
|
+
}>>>;
|
|
18
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
expires: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
duration: z.ZodNullable<z.ZodString>;
|
|
22
|
+
isHumanName: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
23
|
+
probability: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
total_names: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
remaining_credits: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const genderapiIoGetGenderFromUsername: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
username: string;
|
|
30
|
+
askToAI?: boolean | undefined;
|
|
31
|
+
country?: string | undefined;
|
|
32
|
+
forceToGenderize?: boolean | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
q: string | null;
|
|
35
|
+
status: boolean | null;
|
|
36
|
+
expires: number | null;
|
|
37
|
+
duration: string | null;
|
|
38
|
+
probability: number | null;
|
|
39
|
+
total_names: number | null;
|
|
40
|
+
used_credits: number | null;
|
|
41
|
+
remaining_credits: number | null;
|
|
42
|
+
to?: boolean | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
gender?: "male" | "female" | undefined;
|
|
45
|
+
country?: string | undefined;
|
|
46
|
+
isHumanName?: boolean | undefined;
|
|
47
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { genderapiIoGetGenderFromUsername };
|
|
9
50
|
//# sourceMappingURL=get-gender-from-username.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-gender-from-username.d.cts","names":[],"sources":["../../src/actions/get-gender-from-username.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-gender-from-username.d.cts","names":[],"sources":["../../src/actions/get-gender-from-username.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgBtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-gender-from-username.d.ts
|
|
4
|
-
declare const GenderapiIoGetGenderFromUsernameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoGetGenderFromUsernameInput: z.ZodObject<{
|
|
5
|
+
askToAI: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
country: z.ZodOptional<z.ZodString>;
|
|
7
|
+
username: z.ZodString;
|
|
8
|
+
forceToGenderize: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const GenderapiIoGetGenderFromUsernameOutput: z.ZodObject<{
|
|
11
|
+
q: z.ZodNullable<z.ZodString>;
|
|
12
|
+
to: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
gender: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
male: "male";
|
|
16
|
+
female: "female";
|
|
17
|
+
}>>>;
|
|
18
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
expires: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
duration: z.ZodNullable<z.ZodString>;
|
|
22
|
+
isHumanName: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
23
|
+
probability: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
total_names: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
remaining_credits: z.ZodNullable<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const genderapiIoGetGenderFromUsername: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
username: string;
|
|
30
|
+
askToAI?: boolean | undefined;
|
|
31
|
+
country?: string | undefined;
|
|
32
|
+
forceToGenderize?: boolean | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
q: string | null;
|
|
35
|
+
status: boolean | null;
|
|
36
|
+
expires: number | null;
|
|
37
|
+
duration: string | null;
|
|
38
|
+
probability: number | null;
|
|
39
|
+
total_names: number | null;
|
|
40
|
+
used_credits: number | null;
|
|
41
|
+
remaining_credits: number | null;
|
|
42
|
+
to?: boolean | undefined;
|
|
43
|
+
name?: string | undefined;
|
|
44
|
+
gender?: "male" | "female" | undefined;
|
|
45
|
+
country?: string | undefined;
|
|
46
|
+
isHumanName?: boolean | undefined;
|
|
47
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { genderapiIoGetGenderFromUsername };
|
|
9
50
|
//# sourceMappingURL=get-gender-from-username.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-gender-from-username.d.mts","names":[],"sources":["../../src/actions/get-gender-from-username.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"get-gender-from-username.d.mts","names":[],"sources":["../../src/actions/get-gender-from-username.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAMrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgBtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -11,19 +11,19 @@ const genderapiIoGetGenderFromUsername = action("GENDERAPI_IO_GET_GENDER_FROM_US
|
|
|
11
11
|
forceToGenderize: z.boolean().describe("If true, attempts prediction even for usernames that don't resemble real names.").optional()
|
|
12
12
|
}).describe("Request model for determining gender from a username or nickname."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
q: z.string().describe("The input username submitted."),
|
|
15
|
-
to: z.boolean().describe("Additional metadata field returned by the API.").
|
|
16
|
-
name: z.string().describe("Name extracted from the username, if any.").
|
|
17
|
-
gender: z.enum(["male", "female"]).describe("Predicted gender: 'male', 'female', or null if undetermined.").
|
|
18
|
-
status: z.boolean().describe("Whether the request was successful."),
|
|
19
|
-
country: z.string().describe("Country code considered during prediction.").
|
|
20
|
-
expires: z.number().int().describe("UNIX timestamp when plan expires."),
|
|
21
|
-
duration: z.string().describe("Processing time, e.g., '6ms'."),
|
|
22
|
-
isHumanName: z.boolean().describe("Whether the username appears to be a human name (returned when askToAI is used).").
|
|
23
|
-
probability: z.number().int().describe("Confidence score as a percentage (0-100)."),
|
|
24
|
-
total_names: z.number().int().describe("Number of name samples used."),
|
|
25
|
-
used_credits: z.number().int().describe("Number of credits used for this request."),
|
|
26
|
-
remaining_credits: z.number().int().describe("Remaining credits after the request.")
|
|
14
|
+
q: z.string().describe("The input username submitted.").nullable(),
|
|
15
|
+
to: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Additional metadata field returned by the API.").optional()),
|
|
16
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name extracted from the username, if any.").optional()),
|
|
17
|
+
gender: z.preprocess((value) => value === null ? void 0 : value, z.enum(["male", "female"]).describe("Predicted gender: 'male', 'female', or null if undetermined.").optional()),
|
|
18
|
+
status: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
19
|
+
country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country code considered during prediction.").optional()),
|
|
20
|
+
expires: z.number().int().describe("UNIX timestamp when plan expires.").nullable(),
|
|
21
|
+
duration: z.string().describe("Processing time, e.g., '6ms'.").nullable(),
|
|
22
|
+
isHumanName: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the username appears to be a human name (returned when askToAI is used).").optional()),
|
|
23
|
+
probability: z.number().int().describe("Confidence score as a percentage (0-100).").nullable(),
|
|
24
|
+
total_names: z.number().int().describe("Number of name samples used.").nullable(),
|
|
25
|
+
used_credits: z.number().int().describe("Number of credits used for this request.").nullable(),
|
|
26
|
+
remaining_credits: z.number().int().describe("Remaining credits after the request.").nullable()
|
|
27
27
|
}).describe("Response model for gender determination from a username.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-gender-from-username.mjs","names":[],"sources":["../../src/actions/get-gender-from-username.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGetGenderFromUsernameInput
|
|
1
|
+
{"version":3,"file":"get-gender-from-username.mjs","names":[],"sources":["../../src/actions/get-gender-from-username.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoGetGenderFromUsernameInput = z.object({\n askToAI: z.boolean().describe(\"If true, asks the AI model when the name is not found in the database.\").optional(),\n country: z.string().describe(\"Optional ISO 3166-1 alpha-2 country code to improve prediction accuracy.\").optional(),\n username: z.string().describe(\"Username or nickname to analyze for gender inference.\"),\n forceToGenderize: z.boolean().describe(\"If true, attempts prediction even for usernames that don't resemble real names.\").optional(),\n}).describe(\"Request model for determining gender from a username or nickname.\");\nexport const GenderapiIoGetGenderFromUsernameOutput = z.object({\n q: z.string().describe(\"The input username submitted.\").nullable(),\n to: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Additional metadata field returned by the API.\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name extracted from the username, if any.\").optional()),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.enum([\"male\", \"female\"]).describe(\"Predicted gender: 'male', 'female', or null if undetermined.\").optional()),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code considered during prediction.\").optional()),\n expires: z.number().int().describe(\"UNIX timestamp when plan expires.\").nullable(),\n duration: z.string().describe(\"Processing time, e.g., '6ms'.\").nullable(),\n isHumanName: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the username appears to be a human name (returned when askToAI is used).\").optional()),\n probability: z.number().int().describe(\"Confidence score as a percentage (0-100).\").nullable(),\n total_names: z.number().int().describe(\"Number of name samples used.\").nullable(),\n used_credits: z.number().int().describe(\"Number of credits used for this request.\").nullable(),\n remaining_credits: z.number().int().describe(\"Remaining credits after the request.\").nullable(),\n}).describe(\"Response model for gender determination from a username.\");\n\nexport const genderapiIoGetGenderFromUsername = action(\"GENDERAPI_IO_GET_GENDER_FROM_USERNAME\", {\n slug: \"genderapi_io-get-gender-from-username\",\n name: \"Get Gender from Username\",\n description: \"Tool to determine gender from a username or nickname. Use when you have an alias or handle and want to infer gender from that identifier.\",\n input: GenderapiIoGetGenderFromUsernameInput,\n output: GenderapiIoGetGenderFromUsernameOutput,\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SAAS;EACxE,aAAa,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC;EAC9L,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-error-codes.ts
|
|
4
4
|
const GenderapiIoListErrorCodesInput = zod.z.object({}).describe("Empty request model for retrieving the Gender API error codes.");
|
|
5
5
|
const GenderapiIoListErrorCodes_ErrorCodeSchema = zod.z.object({
|
|
6
|
-
error_code: zod.z.string().describe("Unique string identifier for the error"),
|
|
7
|
-
description: zod.z.string().describe("Human-readable description of the error"),
|
|
8
|
-
http_status: zod.z.number().int().describe("Associated HTTP status code")
|
|
6
|
+
error_code: zod.z.string().describe("Unique string identifier for the error").nullable(),
|
|
7
|
+
description: zod.z.string().describe("Human-readable description of the error").nullable(),
|
|
8
|
+
http_status: zod.z.number().int().describe("Associated HTTP status code").nullable()
|
|
9
9
|
});
|
|
10
10
|
const GenderapiIoListErrorCodesOutput = zod.z.object({ error_codes: zod.z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe("List of possible error codes returned by the Gender API") });
|
|
11
11
|
const genderapiIoListErrorCodes = require_action.action("GENDERAPI_IO_LIST_ERROR_CODES", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-error-codes.cjs","names":["z","action"],"sources":["../../src/actions/list-error-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoListErrorCodesInput
|
|
1
|
+
{"version":3,"file":"list-error-codes.cjs","names":["z","action"],"sources":["../../src/actions/list-error-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoListErrorCodesInput = z.object({}).describe(\"Empty request model for retrieving the Gender API error codes.\");\nconst GenderapiIoListErrorCodes_ErrorCodeSchema = z.object({\n error_code: z.string().describe(\"Unique string identifier for the error\").nullable(),\n description: z.string().describe(\"Human-readable description of the error\").nullable(),\n http_status: z.number().int().describe(\"Associated HTTP status code\").nullable(),\n});\nexport const GenderapiIoListErrorCodesOutput = z.object({\n error_codes: z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe(\"List of possible error codes returned by the Gender API\"),\n});\n\nexport const genderapiIoListErrorCodes = action(\"GENDERAPI_IO_LIST_ERROR_CODES\", {\n slug: \"genderapi_io-list-error-codes\",\n name: \"List Gender API Error Codes\",\n description: \"Tool to list all possible error codes returned by Gender API. Use when debugging or validating API responses.\",\n input: GenderapiIoListErrorCodesInput,\n output: GenderapiIoListErrorCodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACpI,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,yDAAyD,EACpI,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-error-codes.d.ts
|
|
4
|
-
declare const GenderapiIoListErrorCodesInput: z.
|
|
5
|
-
declare const GenderapiIoListErrorCodesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoListErrorCodesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const GenderapiIoListErrorCodesOutput: z.ZodObject<{
|
|
6
|
+
error_codes: z.ZodArray<z.ZodObject<{
|
|
7
|
+
error_code: z.ZodNullable<z.ZodString>;
|
|
8
|
+
description: z.ZodNullable<z.ZodString>;
|
|
9
|
+
http_status: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const genderapiIoListErrorCodes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
|
|
13
|
+
error_codes: {
|
|
14
|
+
error_code: string | null;
|
|
15
|
+
description: string | null;
|
|
16
|
+
http_status: number | null;
|
|
17
|
+
}[];
|
|
18
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { genderapiIoListErrorCodes };
|
|
9
21
|
//# sourceMappingURL=list-error-codes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-error-codes.d.cts","names":[],"sources":["../../src/actions/list-error-codes.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-error-codes.d.cts","names":[],"sources":["../../src/actions/list-error-codes.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-error-codes.d.ts
|
|
4
|
-
declare const GenderapiIoListErrorCodesInput: z.
|
|
5
|
-
declare const GenderapiIoListErrorCodesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoListErrorCodesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const GenderapiIoListErrorCodesOutput: z.ZodObject<{
|
|
6
|
+
error_codes: z.ZodArray<z.ZodObject<{
|
|
7
|
+
error_code: z.ZodNullable<z.ZodString>;
|
|
8
|
+
description: z.ZodNullable<z.ZodString>;
|
|
9
|
+
http_status: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const genderapiIoListErrorCodes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
|
|
13
|
+
error_codes: {
|
|
14
|
+
error_code: string | null;
|
|
15
|
+
description: string | null;
|
|
16
|
+
http_status: number | null;
|
|
17
|
+
}[];
|
|
18
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { genderapiIoListErrorCodes };
|
|
9
21
|
//# sourceMappingURL=list-error-codes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-error-codes.d.mts","names":[],"sources":["../../src/actions/list-error-codes.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-error-codes.d.mts","names":[],"sources":["../../src/actions/list-error-codes.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA"}
|
|
@@ -3,9 +3,9 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-error-codes.ts
|
|
4
4
|
const GenderapiIoListErrorCodesInput = z.object({}).describe("Empty request model for retrieving the Gender API error codes.");
|
|
5
5
|
const GenderapiIoListErrorCodes_ErrorCodeSchema = z.object({
|
|
6
|
-
error_code: z.string().describe("Unique string identifier for the error"),
|
|
7
|
-
description: z.string().describe("Human-readable description of the error"),
|
|
8
|
-
http_status: z.number().int().describe("Associated HTTP status code")
|
|
6
|
+
error_code: z.string().describe("Unique string identifier for the error").nullable(),
|
|
7
|
+
description: z.string().describe("Human-readable description of the error").nullable(),
|
|
8
|
+
http_status: z.number().int().describe("Associated HTTP status code").nullable()
|
|
9
9
|
});
|
|
10
10
|
const genderapiIoListErrorCodes = action("GENDERAPI_IO_LIST_ERROR_CODES", {
|
|
11
11
|
slug: "genderapi_io-list-error-codes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-error-codes.mjs","names":[],"sources":["../../src/actions/list-error-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoListErrorCodesInput
|
|
1
|
+
{"version":3,"file":"list-error-codes.mjs","names":[],"sources":["../../src/actions/list-error-codes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoListErrorCodesInput = z.object({}).describe(\"Empty request model for retrieving the Gender API error codes.\");\nconst GenderapiIoListErrorCodes_ErrorCodeSchema = z.object({\n error_code: z.string().describe(\"Unique string identifier for the error\").nullable(),\n description: z.string().describe(\"Human-readable description of the error\").nullable(),\n http_status: z.number().int().describe(\"Associated HTTP status code\").nullable(),\n});\nexport const GenderapiIoListErrorCodesOutput = z.object({\n error_codes: z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe(\"List of possible error codes returned by the Gender API\"),\n});\n\nexport const genderapiIoListErrorCodes = action(\"GENDERAPI_IO_LIST_ERROR_CODES\", {\n slug: \"genderapi_io-list-error-codes\",\n name: \"List Gender API Error Codes\",\n description: \"Tool to list all possible error codes returned by Gender API. Use when debugging or validating API responses.\",\n input: GenderapiIoListErrorCodesInput,\n output: GenderapiIoListErrorCodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE;AACpI,MAAM,4CAA4C,EAAE,OAAO;CACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACjF,CAAC;AAKD,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,yDAAyD,EACpI,CAOU;AACV,CAAC"}
|
|
@@ -9,19 +9,19 @@ const GenderapiIoQueryByEmailAddressInput = zod.z.object({
|
|
|
9
9
|
country: zod.z.string().describe("ISO 3166-1 alpha-2 country code to hint the endpoint (uppercase).").optional()
|
|
10
10
|
}).describe("Request model for querying gender by email address on GenderAPI.io.");
|
|
11
11
|
const GenderapiIoQueryByEmailAddressOutput = zod.z.object({
|
|
12
|
-
q: zod.z.string().describe("Echo of the input (email address)."),
|
|
13
|
-
to: zod.z.boolean().describe("Additional metadata flag (usage varies by API response).").
|
|
14
|
-
name: zod.z.string().describe("Name extracted from the email address, if any.").
|
|
15
|
-
gender: zod.z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").
|
|
16
|
-
status: zod.z.boolean().describe("Whether the request was successful."),
|
|
17
|
-
country: zod.z.string().describe("Country code determined/used by the service.").
|
|
18
|
-
expires: zod.z.number().int().describe("UNIX timestamp when the current package expires").
|
|
19
|
-
duration: zod.z.string().describe("Server processing time (e.g., '5ms').").
|
|
20
|
-
isHumanName: zod.z.boolean().describe("Whether the extracted name appears to be a human name.").
|
|
21
|
-
probability: zod.z.number().int().describe("Reliability percentage between 0 and 100.").
|
|
22
|
-
total_names: zod.z.number().int().describe("Number of matching name samples in the database.").
|
|
23
|
-
used_credits: zod.z.number().int().describe("Number of credits used for this query."),
|
|
24
|
-
remaining_credits: zod.z.number().int().describe("Credits remaining after this request.").
|
|
12
|
+
q: zod.z.string().describe("Echo of the input (email address).").nullable(),
|
|
13
|
+
to: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Additional metadata flag (usage varies by API response).").optional()),
|
|
14
|
+
name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name extracted from the email address, if any.").optional()),
|
|
15
|
+
gender: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").optional()),
|
|
16
|
+
status: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
17
|
+
country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country code determined/used by the service.").optional()),
|
|
18
|
+
expires: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("UNIX timestamp when the current package expires").optional()),
|
|
19
|
+
duration: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Server processing time (e.g., '5ms').").optional()),
|
|
20
|
+
isHumanName: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the extracted name appears to be a human name.").optional()),
|
|
21
|
+
probability: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Reliability percentage between 0 and 100.").optional()),
|
|
22
|
+
total_names: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Number of matching name samples in the database.").optional()),
|
|
23
|
+
used_credits: zod.z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
24
|
+
remaining_credits: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Credits remaining after this request.").optional())
|
|
25
25
|
}).describe("Response model for the gender-by-email query (GenderAPI.io format).");
|
|
26
26
|
const genderapiIoQueryByEmailAddress = require_action.action("GENDERAPI_IO_QUERY_BY_EMAIL_ADDRESS", {
|
|
27
27
|
slug: "genderapi_io-query-by-email-address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderapiIoQueryByEmailAddressInput
|
|
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 GenderapiIoQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Optional client-provided ID (max 50 characters) for tracing.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-hinting.\").optional(),\n email: z.string().describe(\"Email address to query; must be a valid email format.\"),\n locale: z.string().describe(\"Browser locale to improve name parsing (e.g., 'en', 'fr').\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code to hint the endpoint (uppercase).\").optional(),\n}).describe(\"Request model for querying gender by email address on GenderAPI.io.\");\nexport const GenderapiIoQueryByEmailAddressOutput = z.object({\n q: z.string().describe(\"Echo of the input (email address).\").nullable(),\n to: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Additional metadata flag (usage varies by API response).\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name extracted from the email address, if any.\").optional()),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").optional()),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code determined/used by the service.\").optional()),\n expires: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"UNIX timestamp when the current package expires\").optional()),\n duration: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Server processing time (e.g., '5ms').\").optional()),\n isHumanName: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the extracted name appears to be a human name.\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Reliability percentage between 0 and 100.\").optional()),\n total_names: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of matching name samples in the database.\").optional()),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Credits remaining after this request.\").optional()),\n}).describe(\"Response model for the gender-by-email query (GenderAPI.io format).\");\n\nexport const genderapiIoQueryByEmailAddress = action(\"GENDERAPI_IO_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"genderapi_io-query-by-email-address\",\n name: \"Query gender by email address\",\n description: \"Tool to determine gender from an email address. Use when you need to infer gender for personalization after obtaining proper consent.\",\n input: GenderapiIoQueryByEmailAddressInput,\n output: GenderapiIoQueryByEmailAddressOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACjG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAA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SAAS,CAAC;CAC/I,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC;CACpK,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC;CAC5J,aAAaA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC;CACnK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;AAChK,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/query-by-email-address.d.ts
|
|
4
|
-
declare const GenderapiIoQueryByEmailAddressInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoQueryByEmailAddressInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
7
|
+
email: z.ZodString;
|
|
8
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
9
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const GenderapiIoQueryByEmailAddressOutput: z.ZodObject<{
|
|
12
|
+
q: z.ZodNullable<z.ZodString>;
|
|
13
|
+
to: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
15
|
+
gender: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
expires: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
duration: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
isHumanName: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
+
probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
remaining_credits: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const genderapiIoQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
email: string;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
ip?: string | undefined;
|
|
30
|
+
locale?: string | undefined;
|
|
31
|
+
country?: string | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
q: string | null;
|
|
34
|
+
status: boolean | null;
|
|
35
|
+
used_credits: number | null;
|
|
36
|
+
to?: boolean | undefined;
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
gender?: string | undefined;
|
|
39
|
+
country?: string | undefined;
|
|
40
|
+
expires?: number | undefined;
|
|
41
|
+
duration?: string | undefined;
|
|
42
|
+
isHumanName?: boolean | undefined;
|
|
43
|
+
probability?: number | undefined;
|
|
44
|
+
total_names?: number | undefined;
|
|
45
|
+
remaining_credits?: number | undefined;
|
|
46
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { genderapiIoQueryByEmailAddress };
|
|
9
49
|
//# 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":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"query-by-email-address.d.cts","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/query-by-email-address.d.ts
|
|
4
|
-
declare const GenderapiIoQueryByEmailAddressInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const GenderapiIoQueryByEmailAddressInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
7
|
+
email: z.ZodString;
|
|
8
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
9
|
+
country: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const GenderapiIoQueryByEmailAddressOutput: z.ZodObject<{
|
|
12
|
+
q: z.ZodNullable<z.ZodString>;
|
|
13
|
+
to: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
15
|
+
gender: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
status: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
expires: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
duration: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
isHumanName: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
+
probability: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
remaining_credits: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const genderapiIoQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
|
+
email: string;
|
|
28
|
+
id?: string | undefined;
|
|
29
|
+
ip?: string | undefined;
|
|
30
|
+
locale?: string | undefined;
|
|
31
|
+
country?: string | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
q: string | null;
|
|
34
|
+
status: boolean | null;
|
|
35
|
+
used_credits: number | null;
|
|
36
|
+
to?: boolean | undefined;
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
gender?: string | undefined;
|
|
39
|
+
country?: string | undefined;
|
|
40
|
+
expires?: number | undefined;
|
|
41
|
+
duration?: string | undefined;
|
|
42
|
+
isHumanName?: boolean | undefined;
|
|
43
|
+
probability?: number | undefined;
|
|
44
|
+
total_names?: number | undefined;
|
|
45
|
+
remaining_credits?: number | undefined;
|
|
46
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
47
|
//#endregion
|
|
8
48
|
export { genderapiIoQueryByEmailAddress };
|
|
9
49
|
//# 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":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"query-by-email-address.d.mts","names":[],"sources":["../../src/actions/query-by-email-address.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -12,19 +12,19 @@ const genderapiIoQueryByEmailAddress = action("GENDERAPI_IO_QUERY_BY_EMAIL_ADDRE
|
|
|
12
12
|
country: z.string().describe("ISO 3166-1 alpha-2 country code to hint the endpoint (uppercase).").optional()
|
|
13
13
|
}).describe("Request model for querying gender by email address on GenderAPI.io."),
|
|
14
14
|
output: z.object({
|
|
15
|
-
q: z.string().describe("Echo of the input (email address)."),
|
|
16
|
-
to: z.boolean().describe("Additional metadata flag (usage varies by API response).").
|
|
17
|
-
name: z.string().describe("Name extracted from the email address, if any.").
|
|
18
|
-
gender: z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").
|
|
19
|
-
status: z.boolean().describe("Whether the request was successful."),
|
|
20
|
-
country: z.string().describe("Country code determined/used by the service.").
|
|
21
|
-
expires: z.number().int().describe("UNIX timestamp when the current package expires").
|
|
22
|
-
duration: z.string().describe("Server processing time (e.g., '5ms').").
|
|
23
|
-
isHumanName: z.boolean().describe("Whether the extracted name appears to be a human name.").
|
|
24
|
-
probability: z.number().int().describe("Reliability percentage between 0 and 100.").
|
|
25
|
-
total_names: z.number().int().describe("Number of matching name samples in the database.").
|
|
26
|
-
used_credits: z.number().int().describe("Number of credits used for this query."),
|
|
27
|
-
remaining_credits: z.number().int().describe("Credits remaining after this request.").
|
|
15
|
+
q: z.string().describe("Echo of the input (email address).").nullable(),
|
|
16
|
+
to: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Additional metadata flag (usage varies by API response).").optional()),
|
|
17
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name extracted from the email address, if any.").optional()),
|
|
18
|
+
gender: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").optional()),
|
|
19
|
+
status: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
20
|
+
country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country code determined/used by the service.").optional()),
|
|
21
|
+
expires: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("UNIX timestamp when the current package expires").optional()),
|
|
22
|
+
duration: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Server processing time (e.g., '5ms').").optional()),
|
|
23
|
+
isHumanName: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the extracted name appears to be a human name.").optional()),
|
|
24
|
+
probability: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Reliability percentage between 0 and 100.").optional()),
|
|
25
|
+
total_names: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of matching name samples in the database.").optional()),
|
|
26
|
+
used_credits: z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
27
|
+
remaining_credits: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Credits remaining after this request.").optional())
|
|
28
28
|
}).describe("Response model for the gender-by-email query (GenderAPI.io format).")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
@@ -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 GenderapiIoQueryByEmailAddressInput
|
|
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 GenderapiIoQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Optional client-provided ID (max 50 characters) for tracing.\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-hinting.\").optional(),\n email: z.string().describe(\"Email address to query; must be a valid email format.\"),\n locale: z.string().describe(\"Browser locale to improve name parsing (e.g., 'en', 'fr').\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code to hint the endpoint (uppercase).\").optional(),\n}).describe(\"Request model for querying gender by email address on GenderAPI.io.\");\nexport const GenderapiIoQueryByEmailAddressOutput = z.object({\n q: z.string().describe(\"Echo of the input (email address).\").nullable(),\n to: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Additional metadata flag (usage varies by API response).\").optional()),\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name extracted from the email address, if any.\").optional()),\n gender: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").optional()),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code determined/used by the service.\").optional()),\n expires: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"UNIX timestamp when the current package expires\").optional()),\n duration: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Server processing time (e.g., '5ms').\").optional()),\n isHumanName: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the extracted name appears to be a human name.\").optional()),\n probability: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Reliability percentage between 0 and 100.\").optional()),\n total_names: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of matching name samples in the database.\").optional()),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Credits remaining after this request.\").optional()),\n}).describe(\"Response model for the gender-by-email query (GenderAPI.io format).\");\n\nexport const genderapiIoQueryByEmailAddress = action(\"GENDERAPI_IO_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"genderapi_io-query-by-email-address\",\n name: \"Query gender by email address\",\n description: \"Tool to determine gender from an email address. Use when you need to infer gender for personalization after obtaining proper consent.\",\n input: GenderapiIoQueryByEmailAddressInput,\n output: GenderapiIoQueryByEmailAddressOutput,\n});\n"],"mappings":";;AA2BA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACjG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,qEAqBH;CACP,QArBkD,EAAE,OAAO;EAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACtE,IAAI,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC;EAC7J,MAAM,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC;EACpJ,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC;EAC/J,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,YAA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11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "GenderAPI.io API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your API key for authentication with GenderAPI.io"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.genderapiIoCatalog = genderapiIoCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderapiIoCatalog = {\n \"slug\": \"genderapi_io\",\n \"name\": \"GenderAPI.io\",\n \"description\": \"GenderAPI.io provides an API to determine the gender associated with a given name, email address, or username.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://genderapi.io/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderapiIoCatalog = {\n \"slug\": \"genderapi_io\",\n \"name\": \"GenderAPI.io\",\n \"description\": \"GenderAPI.io provides an API to determine the gender associated with a given name, email address, or username.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://genderapi.io/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"GenderAPI.io API Key\",\n \"secret\": true,\n \"description\": \"Your API key for authentication with GenderAPI.io\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const genderapiIoCatalog: {
|
|
|
8
8
|
readonly logo: "https://genderapi.io/logo.png";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "GenderAPI.io API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your API key for authentication with GenderAPI.io";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { genderapiIoCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const genderapiIoCatalog: {
|
|
|
8
8
|
readonly logo: "https://genderapi.io/logo.png";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "GenderAPI.io API Key";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "Your API key for authentication with GenderAPI.io";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { genderapiIoCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const genderapiIoCatalog = {
|
|
|
7
7
|
"category": "Developer Tools",
|
|
8
8
|
"logo": "https://genderapi.io/logo.png",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "GenderAPI.io API Key",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "Your API key for authentication with GenderAPI.io"
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { genderapiIoCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderapiIoCatalog = {\n \"slug\": \"genderapi_io\",\n \"name\": \"GenderAPI.io\",\n \"description\": \"GenderAPI.io provides an API to determine the gender associated with a given name, email address, or username.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://genderapi.io/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderapiIoCatalog = {\n \"slug\": \"genderapi_io\",\n \"name\": \"GenderAPI.io\",\n \"description\": \"GenderAPI.io provides an API to determine the gender associated with a given name, email address, or username.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://genderapi.io/logo.png\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"GenderAPI.io API Key\",\n \"secret\": true,\n \"description\": \"Your API key for authentication with GenderAPI.io\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/genderapi_io",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|