@keystrokehq/genderapi_io 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/gender-api-query-by-first-name.cjs +9 -9
- package/dist/actions/gender-api-query-by-first-name.cjs.map +1 -1
- package/dist/actions/gender-api-query-by-first-name.d.cts +10 -22
- package/dist/actions/gender-api-query-by-first-name.d.mts +10 -22
- package/dist/actions/gender-api-query-by-first-name.mjs +9 -9
- package/dist/actions/gender-api-query-by-first-name.mjs.map +1 -1
- package/dist/actions/genderapi-get-stats.cjs +1 -1
- package/dist/actions/genderapi-get-stats.cjs.map +1 -1
- package/dist/actions/genderapi-get-stats.d.cts +2 -6
- package/dist/actions/genderapi-get-stats.d.cts.map +1 -1
- package/dist/actions/genderapi-get-stats.d.mts +2 -6
- package/dist/actions/genderapi-get-stats.d.mts.map +1 -1
- package/dist/actions/genderapi-get-stats.mjs +1 -1
- package/dist/actions/genderapi-get-stats.mjs.map +1 -1
- package/dist/actions/get-gender-from-username.cjs +6 -6
- package/dist/actions/get-gender-from-username.cjs.map +1 -1
- package/dist/actions/get-gender-from-username.d.cts +7 -21
- package/dist/actions/get-gender-from-username.d.mts +7 -21
- package/dist/actions/get-gender-from-username.mjs +6 -6
- package/dist/actions/get-gender-from-username.mjs.map +1 -1
- package/dist/actions/list-error-codes.cjs +2 -2
- package/dist/actions/list-error-codes.cjs.map +1 -1
- package/dist/actions/list-error-codes.d.cts +3 -9
- package/dist/actions/list-error-codes.d.cts.map +1 -1
- package/dist/actions/list-error-codes.d.mts +3 -9
- package/dist/actions/list-error-codes.d.mts.map +1 -1
- package/dist/actions/list-error-codes.mjs +2 -2
- package/dist/actions/list-error-codes.mjs.map +1 -1
- package/dist/actions/query-by-email-address.cjs +11 -11
- package/dist/actions/query-by-email-address.cjs.map +1 -1
- package/dist/actions/query-by-email-address.d.cts +12 -26
- package/dist/actions/query-by-email-address.d.mts +12 -26
- package/dist/actions/query-by-email-address.mjs +11 -11
- package/dist/actions/query-by-email-address.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return genderapiIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeGenderapiIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,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
|
|
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<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return genderapiIo.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeGenderapiIoTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,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"}
|
|
@@ -12,17 +12,17 @@ const GenderapiIoGenderApiQueryByFirstNameInput = zod.z.object({
|
|
|
12
12
|
});
|
|
13
13
|
const GenderapiIoGenderApiQueryByFirstNameOutput = zod.z.object({
|
|
14
14
|
q: zod.z.string().describe("Echo of your input (name).").nullable(),
|
|
15
|
-
name: zod.z.
|
|
16
|
-
gender: zod.z.
|
|
15
|
+
name: zod.z.string().describe("Found/extracted first name from the input.").nullable().optional(),
|
|
16
|
+
gender: zod.z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").nullable().optional(),
|
|
17
17
|
status: zod.z.boolean().describe("True if request succeeded.").nullable(),
|
|
18
|
-
country: zod.z.
|
|
19
|
-
expires: zod.z.
|
|
20
|
-
duration: zod.z.
|
|
21
|
-
probability: zod.z.
|
|
22
|
-
total_names: zod.z.
|
|
18
|
+
country: zod.z.string().describe("Most likely country code determined by the service.").nullable().optional(),
|
|
19
|
+
expires: zod.z.number().int().describe("Package expiry time as Unix timestamp (seconds).").nullable().optional(),
|
|
20
|
+
duration: zod.z.string().describe("Server processing time (e.g., '4ms').").nullable().optional(),
|
|
21
|
+
probability: zod.z.number().int().describe("Reliability percentage between 0 and 100.").nullable().optional(),
|
|
22
|
+
total_names: zod.z.number().int().describe("Number of matching name samples in the database.").nullable().optional(),
|
|
23
23
|
used_credits: zod.z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
24
|
-
remaining_credits: zod.z.
|
|
25
|
-
});
|
|
24
|
+
remaining_credits: zod.z.number().int().describe("Credits remaining after this request.").nullable().optional()
|
|
25
|
+
}).passthrough();
|
|
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",
|
|
28
28
|
name: "Query Gender 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 = 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.
|
|
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.string().describe(\"Found/extracted first name from the input.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").nullable().optional(),\n status: z.boolean().describe(\"True if request succeeded.\").nullable(),\n country: z.string().describe(\"Most likely country code determined by the service.\").nullable().optional(),\n expires: z.number().int().describe(\"Package expiry time as Unix timestamp (seconds).\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '4ms').\").nullable().optional(),\n probability: z.number().int().describe(\"Reliability percentage between 0 and 100.\").nullable().optional(),\n total_names: z.number().int().describe(\"Number of matching name samples in the database.\").nullable().optional(),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.number().int().describe(\"Credits remaining after this request.\").nullable().optional(),\n}).passthrough();\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,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACxH,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uCAAuCC,eAAAA,OAAO,+CAA+C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,17 +12,17 @@ declare const GenderapiIoGenderApiQueryByFirstNameInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const GenderapiIoGenderApiQueryByFirstNameOutput: z.ZodObject<{
|
|
14
14
|
q: z.ZodNullable<z.ZodString>;
|
|
15
|
-
name: z.
|
|
16
|
-
gender: z.
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
-
country: z.
|
|
19
|
-
expires: z.
|
|
20
|
-
duration: z.
|
|
21
|
-
probability: z.
|
|
22
|
-
total_names: z.
|
|
18
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
expires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
remaining_credits: z.
|
|
25
|
-
}, z.core.$
|
|
24
|
+
remaining_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const genderapiIoGenderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
name: string;
|
|
28
28
|
id?: string | undefined;
|
|
@@ -31,19 +31,7 @@ declare const genderapiIoGenderApiQueryByFirstName: import("@keystrokehq/action"
|
|
|
31
31
|
askToAI?: boolean | undefined;
|
|
32
32
|
country?: string | undefined;
|
|
33
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]>;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
47
35
|
//#endregion
|
|
48
36
|
export { genderapiIoGenderApiQueryByFirstName };
|
|
49
37
|
//# sourceMappingURL=gender-api-query-by-first-name.d.cts.map
|
|
@@ -12,17 +12,17 @@ declare const GenderapiIoGenderApiQueryByFirstNameInput: z.ZodObject<{
|
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const GenderapiIoGenderApiQueryByFirstNameOutput: z.ZodObject<{
|
|
14
14
|
q: z.ZodNullable<z.ZodString>;
|
|
15
|
-
name: z.
|
|
16
|
-
gender: z.
|
|
15
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
18
|
-
country: z.
|
|
19
|
-
expires: z.
|
|
20
|
-
duration: z.
|
|
21
|
-
probability: z.
|
|
22
|
-
total_names: z.
|
|
18
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
expires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
remaining_credits: z.
|
|
25
|
-
}, z.core.$
|
|
24
|
+
remaining_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const genderapiIoGenderApiQueryByFirstName: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
name: string;
|
|
28
28
|
id?: string | undefined;
|
|
@@ -31,19 +31,7 @@ declare const genderapiIoGenderApiQueryByFirstName: import("@keystrokehq/action"
|
|
|
31
31
|
askToAI?: boolean | undefined;
|
|
32
32
|
country?: string | undefined;
|
|
33
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]>;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
47
35
|
//#endregion
|
|
48
36
|
export { genderapiIoGenderApiQueryByFirstName };
|
|
49
37
|
//# sourceMappingURL=gender-api-query-by-first-name.d.mts.map
|
|
@@ -15,17 +15,17 @@ const genderapiIoGenderApiQueryByFirstName = action("GENDERAPI_IO_GENDER_API_QUE
|
|
|
15
15
|
}),
|
|
16
16
|
output: z.object({
|
|
17
17
|
q: z.string().describe("Echo of your input (name).").nullable(),
|
|
18
|
-
name: z.
|
|
19
|
-
gender: z.
|
|
18
|
+
name: z.string().describe("Found/extracted first name from the input.").nullable().optional(),
|
|
19
|
+
gender: z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").nullable().optional(),
|
|
20
20
|
status: z.boolean().describe("True if request succeeded.").nullable(),
|
|
21
|
-
country: z.
|
|
22
|
-
expires: z.
|
|
23
|
-
duration: z.
|
|
24
|
-
probability: z.
|
|
25
|
-
total_names: z.
|
|
21
|
+
country: z.string().describe("Most likely country code determined by the service.").nullable().optional(),
|
|
22
|
+
expires: z.number().int().describe("Package expiry time as Unix timestamp (seconds).").nullable().optional(),
|
|
23
|
+
duration: z.string().describe("Server processing time (e.g., '4ms').").nullable().optional(),
|
|
24
|
+
probability: z.number().int().describe("Reliability percentage between 0 and 100.").nullable().optional(),
|
|
25
|
+
total_names: z.number().int().describe("Number of matching name samples in the database.").nullable().optional(),
|
|
26
26
|
used_credits: z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
27
|
-
remaining_credits: z.
|
|
28
|
-
})
|
|
27
|
+
remaining_credits: z.number().int().describe("Credits remaining after this request.").nullable().optional()
|
|
28
|
+
}).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { genderapiIoGenderApiQueryByFirstName };
|
|
@@ -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 = 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.
|
|
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.string().describe(\"Found/extracted first name from the input.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").nullable().optional(),\n status: z.boolean().describe(\"True if request succeeded.\").nullable(),\n country: z.string().describe(\"Most likely country code determined by the service.\").nullable().optional(),\n expires: z.number().int().describe(\"Package expiry time as Unix timestamp (seconds).\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '4ms').\").nullable().optional(),\n probability: z.number().int().describe(\"Reliability percentage between 0 and 100.\").nullable().optional(),\n total_names: z.number().int().describe(\"Number of matching name samples in the database.\").nullable().optional(),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.number().int().describe(\"Credits remaining after this request.\").nullable().optional(),\n}).passthrough();\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,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACvG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACxH,CAmBS;CACP,QAnBwD,EAAE,OAAO;EACjE,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const GenderapiIoGenderapiGetStatsOutput = zod.z.object({
|
|
|
6
6
|
status: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
7
7
|
expiresAt: zod.z.number().int().describe("UNIX timestamp when the current package expires").nullable(),
|
|
8
8
|
remaining: zod.z.number().int().describe("Number of remaining API credits on this API key").nullable()
|
|
9
|
-
}).describe("Response model for GenderAPI.io remaining credits endpoint.");
|
|
9
|
+
}).passthrough().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",
|
|
12
12
|
name: "Gender API Get Statistics",
|
|
@@ -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 = 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;
|
|
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,12 +6,8 @@ declare const GenderapiIoGenderapiGetStatsOutput: z.ZodObject<{
|
|
|
6
6
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
7
7
|
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
remaining: z.ZodNullable<z.ZodNumber>;
|
|
9
|
-
}, z.core.$
|
|
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]>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const genderapiIoGenderapiGetStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
11
|
//#endregion
|
|
16
12
|
export { genderapiIoGenderapiGetStats };
|
|
17
13
|
//# 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,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA"}
|
|
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,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,12 +6,8 @@ declare const GenderapiIoGenderapiGetStatsOutput: z.ZodObject<{
|
|
|
6
6
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
7
7
|
expiresAt: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
remaining: z.ZodNullable<z.ZodNumber>;
|
|
9
|
-
}, z.core.$
|
|
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]>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const genderapiIoGenderapiGetStats: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
11
|
//#endregion
|
|
16
12
|
export { genderapiIoGenderapiGetStats };
|
|
17
13
|
//# 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,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA,CAAA,MAAA"}
|
|
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,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -9,7 +9,7 @@ const genderapiIoGenderapiGetStats = action("GENDERAPI_IO_GENDERAPI_GET_STATS",
|
|
|
9
9
|
status: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
10
10
|
expiresAt: z.number().int().describe("UNIX timestamp when the current package expires").nullable(),
|
|
11
11
|
remaining: z.number().int().describe("Number of remaining API credits on this API key").nullable()
|
|
12
|
-
}).describe("Response model for GenderAPI.io remaining credits endpoint.")
|
|
12
|
+
}).passthrough().describe("Response model for GenderAPI.io remaining credits endpoint.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { genderapiIoGenderapiGetStats };
|
|
@@ -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 = 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,
|
|
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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -9,19 +9,19 @@ const GenderapiIoGetGenderFromUsernameInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for determining gender from a username or nickname.");
|
|
10
10
|
const GenderapiIoGetGenderFromUsernameOutput = zod.z.object({
|
|
11
11
|
q: zod.z.string().describe("The input username submitted.").nullable(),
|
|
12
|
-
to: zod.z.
|
|
13
|
-
name: zod.z.
|
|
14
|
-
gender: zod.z.
|
|
12
|
+
to: zod.z.boolean().describe("Additional metadata field returned by the API.").nullable().optional(),
|
|
13
|
+
name: zod.z.string().describe("Name extracted from the username, if any.").nullable().optional(),
|
|
14
|
+
gender: zod.z.enum(["male", "female"]).describe("Predicted gender: 'male', 'female', or null if undetermined.").nullable().optional(),
|
|
15
15
|
status: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
16
|
-
country: zod.z.
|
|
16
|
+
country: zod.z.string().describe("Country code considered during prediction.").nullable().optional(),
|
|
17
17
|
expires: zod.z.number().int().describe("UNIX timestamp when plan expires.").nullable(),
|
|
18
18
|
duration: zod.z.string().describe("Processing time, e.g., '6ms'.").nullable(),
|
|
19
|
-
isHumanName: zod.z.
|
|
19
|
+
isHumanName: zod.z.boolean().describe("Whether the username appears to be a human name (returned when askToAI is used).").nullable().optional(),
|
|
20
20
|
probability: zod.z.number().int().describe("Confidence score as a percentage (0-100).").nullable(),
|
|
21
21
|
total_names: zod.z.number().int().describe("Number of name samples used.").nullable(),
|
|
22
22
|
used_credits: zod.z.number().int().describe("Number of credits used for this request.").nullable(),
|
|
23
23
|
remaining_credits: zod.z.number().int().describe("Remaining credits after the request.").nullable()
|
|
24
|
-
}).describe("Response model for gender determination from a username.");
|
|
24
|
+
}).passthrough().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",
|
|
27
27
|
name: "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 = 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.
|
|
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.boolean().describe(\"Additional metadata field returned by the API.\").nullable().optional(),\n name: z.string().describe(\"Name extracted from the username, if any.\").nullable().optional(),\n gender: z.enum([\"male\", \"female\"]).describe(\"Predicted gender: 'male', 'female', or null if undetermined.\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.string().describe(\"Country code considered during prediction.\").nullable().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.boolean().describe(\"Whether the username appears to be a human name (returned when askToAI is used).\").nullable().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}).passthrough().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,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,42 +9,28 @@ declare const GenderapiIoGetGenderFromUsernameInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const GenderapiIoGetGenderFromUsernameOutput: z.ZodObject<{
|
|
11
11
|
q: z.ZodNullable<z.ZodString>;
|
|
12
|
-
to: z.
|
|
13
|
-
name: z.
|
|
14
|
-
gender: z.
|
|
12
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15
15
|
male: "male";
|
|
16
16
|
female: "female";
|
|
17
17
|
}>>>;
|
|
18
18
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
-
country: z.
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
expires: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
duration: z.ZodNullable<z.ZodString>;
|
|
22
|
-
isHumanName: z.
|
|
22
|
+
isHumanName: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
23
|
probability: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
total_names: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
remaining_credits: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const genderapiIoGetGenderFromUsername: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
username: string;
|
|
30
30
|
askToAI?: boolean | undefined;
|
|
31
31
|
country?: string | undefined;
|
|
32
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]>;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
34
|
//#endregion
|
|
49
35
|
export { genderapiIoGetGenderFromUsername };
|
|
50
36
|
//# sourceMappingURL=get-gender-from-username.d.cts.map
|
|
@@ -9,42 +9,28 @@ declare const GenderapiIoGetGenderFromUsernameInput: z.ZodObject<{
|
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const GenderapiIoGetGenderFromUsernameOutput: z.ZodObject<{
|
|
11
11
|
q: z.ZodNullable<z.ZodString>;
|
|
12
|
-
to: z.
|
|
13
|
-
name: z.
|
|
14
|
-
gender: z.
|
|
12
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15
15
|
male: "male";
|
|
16
16
|
female: "female";
|
|
17
17
|
}>>>;
|
|
18
18
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
19
|
-
country: z.
|
|
19
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
expires: z.ZodNullable<z.ZodNumber>;
|
|
21
21
|
duration: z.ZodNullable<z.ZodString>;
|
|
22
|
-
isHumanName: z.
|
|
22
|
+
isHumanName: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
23
|
probability: z.ZodNullable<z.ZodNumber>;
|
|
24
24
|
total_names: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
remaining_credits: z.ZodNullable<z.ZodNumber>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const genderapiIoGetGenderFromUsername: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
username: string;
|
|
30
30
|
askToAI?: boolean | undefined;
|
|
31
31
|
country?: string | undefined;
|
|
32
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]>;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
34
|
//#endregion
|
|
49
35
|
export { genderapiIoGetGenderFromUsername };
|
|
50
36
|
//# sourceMappingURL=get-gender-from-username.d.mts.map
|
|
@@ -12,19 +12,19 @@ const genderapiIoGetGenderFromUsername = action("GENDERAPI_IO_GET_GENDER_FROM_US
|
|
|
12
12
|
}).describe("Request model for determining gender from a username or nickname."),
|
|
13
13
|
output: z.object({
|
|
14
14
|
q: z.string().describe("The input username submitted.").nullable(),
|
|
15
|
-
to: z.
|
|
16
|
-
name: z.
|
|
17
|
-
gender: z.
|
|
15
|
+
to: z.boolean().describe("Additional metadata field returned by the API.").nullable().optional(),
|
|
16
|
+
name: z.string().describe("Name extracted from the username, if any.").nullable().optional(),
|
|
17
|
+
gender: z.enum(["male", "female"]).describe("Predicted gender: 'male', 'female', or null if undetermined.").nullable().optional(),
|
|
18
18
|
status: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
19
|
-
country: z.
|
|
19
|
+
country: z.string().describe("Country code considered during prediction.").nullable().optional(),
|
|
20
20
|
expires: z.number().int().describe("UNIX timestamp when plan expires.").nullable(),
|
|
21
21
|
duration: z.string().describe("Processing time, e.g., '6ms'.").nullable(),
|
|
22
|
-
isHumanName: z.
|
|
22
|
+
isHumanName: z.boolean().describe("Whether the username appears to be a human name (returned when askToAI is used).").nullable().optional(),
|
|
23
23
|
probability: z.number().int().describe("Confidence score as a percentage (0-100).").nullable(),
|
|
24
24
|
total_names: z.number().int().describe("Number of name samples used.").nullable(),
|
|
25
25
|
used_credits: z.number().int().describe("Number of credits used for this request.").nullable(),
|
|
26
26
|
remaining_credits: z.number().int().describe("Remaining credits after the request.").nullable()
|
|
27
|
-
}).describe("Response model for gender determination from a username.")
|
|
27
|
+
}).passthrough().describe("Response model for gender determination from a username.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { genderapiIoGetGenderFromUsername };
|
|
@@ -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 = 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.
|
|
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.boolean().describe(\"Additional metadata field returned by the API.\").nullable().optional(),\n name: z.string().describe(\"Name extracted from the username, if any.\").nullable().optional(),\n gender: z.enum([\"male\", \"female\"]).describe(\"Predicted gender: 'male', 'female', or null if undetermined.\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.string().describe(\"Country code considered during prediction.\").nullable().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.boolean().describe(\"Whether the username appears to be a human name (returned when askToAI is used).\").nullable().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}).passthrough().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":";;AA0BA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BmD,EAAE,OAAO;EAC5D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACrF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,mEAqBH;CACP,QArBoD,EAAE,OAAO;EAC7D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACjE,IAAI,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,KAAK,CAAC,QAAQ,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,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,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const GenderapiIoListErrorCodes_ErrorCodeSchema = zod.z.object({
|
|
|
6
6
|
error_code: zod.z.string().describe("Unique string identifier for the error").nullable(),
|
|
7
7
|
description: zod.z.string().describe("Human-readable description of the error").nullable(),
|
|
8
8
|
http_status: zod.z.number().int().describe("Associated HTTP status code").nullable()
|
|
9
|
-
});
|
|
10
|
-
const GenderapiIoListErrorCodesOutput = zod.z.object({ error_codes: zod.z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe("List of possible error codes returned by the Gender API") });
|
|
9
|
+
}).passthrough();
|
|
10
|
+
const GenderapiIoListErrorCodesOutput = zod.z.object({ error_codes: zod.z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe("List of possible error codes returned by the Gender API") }).passthrough();
|
|
11
11
|
const genderapiIoListErrorCodes = require_action.action("GENDERAPI_IO_LIST_ERROR_CODES", {
|
|
12
12
|
slug: "genderapi_io-list-error-codes",
|
|
13
13
|
name: "List Gender API 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 = 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;
|
|
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}).passthrough();\nexport const GenderapiIoListErrorCodesOutput = z.object({\n error_codes: z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe(\"List of possible error codes returned by the Gender API\"),\n}).passthrough();\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,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,yDAAyD,EACpI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,15 +7,9 @@ declare const GenderapiIoListErrorCodesOutput: z.ZodObject<{
|
|
|
7
7
|
error_code: z.ZodNullable<z.ZodString>;
|
|
8
8
|
description: z.ZodNullable<z.ZodString>;
|
|
9
9
|
http_status: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
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]>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const genderapiIoListErrorCodes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
13
|
//#endregion
|
|
20
14
|
export { genderapiIoListErrorCodes };
|
|
21
15
|
//# 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,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
|
+
{"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,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -7,15 +7,9 @@ declare const GenderapiIoListErrorCodesOutput: z.ZodObject<{
|
|
|
7
7
|
error_code: z.ZodNullable<z.ZodString>;
|
|
8
8
|
description: z.ZodNullable<z.ZodString>;
|
|
9
9
|
http_status: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
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]>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>;
|
|
12
|
+
declare const genderapiIoListErrorCodes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
13
|
//#endregion
|
|
20
14
|
export { genderapiIoListErrorCodes };
|
|
21
15
|
//# 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,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
|
+
{"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,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,13 +6,13 @@ const GenderapiIoListErrorCodes_ErrorCodeSchema = z.object({
|
|
|
6
6
|
error_code: z.string().describe("Unique string identifier for the error").nullable(),
|
|
7
7
|
description: z.string().describe("Human-readable description of the error").nullable(),
|
|
8
8
|
http_status: z.number().int().describe("Associated HTTP status code").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const genderapiIoListErrorCodes = action("GENDERAPI_IO_LIST_ERROR_CODES", {
|
|
11
11
|
slug: "genderapi_io-list-error-codes",
|
|
12
12
|
name: "List Gender API Error Codes",
|
|
13
13
|
description: "Tool to list all possible error codes returned by Gender API. Use when debugging or validating API responses.",
|
|
14
14
|
input: GenderapiIoListErrorCodesInput,
|
|
15
|
-
output: z.object({ error_codes: z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe("List of possible error codes returned by the Gender API") })
|
|
15
|
+
output: z.object({ error_codes: z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe("List of possible error codes returned by the Gender API") }).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { genderapiIoListErrorCodes };
|
|
@@ -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 = 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;
|
|
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}).passthrough();\nexport const GenderapiIoListErrorCodesOutput = z.object({\n error_codes: z.array(GenderapiIoListErrorCodes_ErrorCodeSchema).describe(\"List of possible error codes returned by the Gender API\"),\n}).passthrough();\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,CAAC,CAAC,YAAY;AAKf,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -10,19 +10,19 @@ const GenderapiIoQueryByEmailAddressInput = zod.z.object({
|
|
|
10
10
|
}).describe("Request model for querying gender by email address on GenderAPI.io.");
|
|
11
11
|
const GenderapiIoQueryByEmailAddressOutput = zod.z.object({
|
|
12
12
|
q: zod.z.string().describe("Echo of the input (email address).").nullable(),
|
|
13
|
-
to: zod.z.
|
|
14
|
-
name: zod.z.
|
|
15
|
-
gender: zod.z.
|
|
13
|
+
to: zod.z.boolean().describe("Additional metadata flag (usage varies by API response).").nullable().optional(),
|
|
14
|
+
name: zod.z.string().describe("Name extracted from the email address, if any.").nullable().optional(),
|
|
15
|
+
gender: zod.z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").nullable().optional(),
|
|
16
16
|
status: zod.z.boolean().describe("Whether the request was successful.").nullable(),
|
|
17
|
-
country: zod.z.
|
|
18
|
-
expires: zod.z.
|
|
19
|
-
duration: zod.z.
|
|
20
|
-
isHumanName: zod.z.
|
|
21
|
-
probability: zod.z.
|
|
22
|
-
total_names: zod.z.
|
|
17
|
+
country: zod.z.string().describe("Country code determined/used by the service.").nullable().optional(),
|
|
18
|
+
expires: zod.z.number().int().describe("UNIX timestamp when the current package expires").nullable().optional(),
|
|
19
|
+
duration: zod.z.string().describe("Server processing time (e.g., '5ms').").nullable().optional(),
|
|
20
|
+
isHumanName: zod.z.boolean().describe("Whether the extracted name appears to be a human name.").nullable().optional(),
|
|
21
|
+
probability: zod.z.number().int().describe("Reliability percentage between 0 and 100.").nullable().optional(),
|
|
22
|
+
total_names: zod.z.number().int().describe("Number of matching name samples in the database.").nullable().optional(),
|
|
23
23
|
used_credits: zod.z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
24
|
-
remaining_credits: zod.z.
|
|
25
|
-
}).describe("Response model for the gender-by-email query (GenderAPI.io format).");
|
|
24
|
+
remaining_credits: zod.z.number().int().describe("Credits remaining after this request.").nullable().optional()
|
|
25
|
+
}).passthrough().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",
|
|
28
28
|
name: "Query gender by email address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const 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.
|
|
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.boolean().describe(\"Additional metadata flag (usage varies by API response).\").nullable().optional(),\n name: z.string().describe(\"Name extracted from the email address, if any.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.string().describe(\"Country code determined/used by the service.\").nullable().optional(),\n expires: z.number().int().describe(\"UNIX timestamp when the current package expires\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '5ms').\").nullable().optional(),\n isHumanName: z.boolean().describe(\"Whether the extracted name appears to be a human name.\").nullable().optional(),\n probability: z.number().int().describe(\"Reliability percentage between 0 and 100.\").nullable().optional(),\n total_names: z.number().int().describe(\"Number of matching name samples in the database.\").nullable().optional(),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.number().int().describe(\"Credits remaining after this request.\").nullable().optional(),\n}).passthrough().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,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtE,IAAIA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,40 +10,26 @@ declare const GenderapiIoQueryByEmailAddressInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const GenderapiIoQueryByEmailAddressOutput: z.ZodObject<{
|
|
12
12
|
q: z.ZodNullable<z.ZodString>;
|
|
13
|
-
to: z.
|
|
14
|
-
name: z.
|
|
15
|
-
gender: z.
|
|
13
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
-
country: z.
|
|
18
|
-
expires: z.
|
|
19
|
-
duration: z.
|
|
20
|
-
isHumanName: z.
|
|
21
|
-
probability: z.
|
|
22
|
-
total_names: z.
|
|
17
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
expires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
isHumanName: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
remaining_credits: z.
|
|
25
|
-
}, z.core.$
|
|
24
|
+
remaining_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const genderapiIoQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
email: string;
|
|
28
28
|
id?: string | undefined;
|
|
29
29
|
ip?: string | undefined;
|
|
30
30
|
locale?: string | undefined;
|
|
31
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]>;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
47
33
|
//#endregion
|
|
48
34
|
export { genderapiIoQueryByEmailAddress };
|
|
49
35
|
//# sourceMappingURL=query-by-email-address.d.cts.map
|
|
@@ -10,40 +10,26 @@ declare const GenderapiIoQueryByEmailAddressInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const GenderapiIoQueryByEmailAddressOutput: z.ZodObject<{
|
|
12
12
|
q: z.ZodNullable<z.ZodString>;
|
|
13
|
-
to: z.
|
|
14
|
-
name: z.
|
|
15
|
-
gender: z.
|
|
13
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
status: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
-
country: z.
|
|
18
|
-
expires: z.
|
|
19
|
-
duration: z.
|
|
20
|
-
isHumanName: z.
|
|
21
|
-
probability: z.
|
|
22
|
-
total_names: z.
|
|
17
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
expires: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
isHumanName: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
total_names: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
used_credits: z.ZodNullable<z.ZodNumber>;
|
|
24
|
-
remaining_credits: z.
|
|
25
|
-
}, z.core.$
|
|
24
|
+
remaining_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const genderapiIoQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
email: string;
|
|
28
28
|
id?: string | undefined;
|
|
29
29
|
ip?: string | undefined;
|
|
30
30
|
locale?: string | undefined;
|
|
31
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]>;
|
|
32
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
47
33
|
//#endregion
|
|
48
34
|
export { genderapiIoQueryByEmailAddress };
|
|
49
35
|
//# sourceMappingURL=query-by-email-address.d.mts.map
|
|
@@ -13,19 +13,19 @@ const genderapiIoQueryByEmailAddress = action("GENDERAPI_IO_QUERY_BY_EMAIL_ADDRE
|
|
|
13
13
|
}).describe("Request model for querying gender by email address on GenderAPI.io."),
|
|
14
14
|
output: z.object({
|
|
15
15
|
q: z.string().describe("Echo of the input (email address).").nullable(),
|
|
16
|
-
to: z.
|
|
17
|
-
name: z.
|
|
18
|
-
gender: z.
|
|
16
|
+
to: z.boolean().describe("Additional metadata flag (usage varies by API response).").nullable().optional(),
|
|
17
|
+
name: z.string().describe("Name extracted from the email address, if any.").nullable().optional(),
|
|
18
|
+
gender: z.string().describe("Predicted gender ('male' or 'female'); null if unknown.").nullable().optional(),
|
|
19
19
|
status: z.boolean().describe("Whether the request was successful.").nullable(),
|
|
20
|
-
country: z.
|
|
21
|
-
expires: z.
|
|
22
|
-
duration: z.
|
|
23
|
-
isHumanName: z.
|
|
24
|
-
probability: z.
|
|
25
|
-
total_names: z.
|
|
20
|
+
country: z.string().describe("Country code determined/used by the service.").nullable().optional(),
|
|
21
|
+
expires: z.number().int().describe("UNIX timestamp when the current package expires").nullable().optional(),
|
|
22
|
+
duration: z.string().describe("Server processing time (e.g., '5ms').").nullable().optional(),
|
|
23
|
+
isHumanName: z.boolean().describe("Whether the extracted name appears to be a human name.").nullable().optional(),
|
|
24
|
+
probability: z.number().int().describe("Reliability percentage between 0 and 100.").nullable().optional(),
|
|
25
|
+
total_names: z.number().int().describe("Number of matching name samples in the database.").nullable().optional(),
|
|
26
26
|
used_credits: z.number().int().describe("Number of credits used for this query.").nullable(),
|
|
27
|
-
remaining_credits: z.
|
|
28
|
-
}).describe("Response model for the gender-by-email query (GenderAPI.io format).")
|
|
27
|
+
remaining_credits: z.number().int().describe("Credits remaining after this request.").nullable().optional()
|
|
28
|
+
}).passthrough().describe("Response model for the gender-by-email query (GenderAPI.io format).")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { genderapiIoQueryByEmailAddress };
|
|
@@ -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 = 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.
|
|
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.boolean().describe(\"Additional metadata flag (usage varies by API response).\").nullable().optional(),\n name: z.string().describe(\"Name extracted from the email address, if any.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female'); null if unknown.\").nullable().optional(),\n status: z.boolean().describe(\"Whether the request was successful.\").nullable(),\n country: z.string().describe(\"Country code determined/used by the service.\").nullable().optional(),\n expires: z.number().int().describe(\"UNIX timestamp when the current package expires\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '5ms').\").nullable().optional(),\n isHumanName: z.boolean().describe(\"Whether the extracted name appears to be a human name.\").nullable().optional(),\n probability: z.number().int().describe(\"Reliability percentage between 0 and 100.\").nullable().optional(),\n total_names: z.number().int().describe(\"Number of matching name samples in the database.\").nullable().optional(),\n used_credits: z.number().int().describe(\"Number of credits used for this query.\").nullable(),\n remaining_credits: z.number().int().describe(\"Credits remaining after this request.\").nullable().optional(),\n}).passthrough().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,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|