@keystrokehq/gender_api 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/get-country-of-origin-v1.cjs +16 -16
- package/dist/actions/get-country-of-origin-v1.cjs.map +1 -1
- package/dist/actions/get-country-of-origin-v1.d.cts +17 -33
- package/dist/actions/get-country-of-origin-v1.d.mts +17 -33
- package/dist/actions/get-country-of-origin-v1.mjs +16 -16
- package/dist/actions/get-country-of-origin-v1.mjs.map +1 -1
- package/dist/actions/get-country-of-origin.cjs +23 -23
- package/dist/actions/get-country-of-origin.cjs.map +1 -1
- package/dist/actions/get-country-of-origin.d.cts +24 -62
- package/dist/actions/get-country-of-origin.d.mts +24 -62
- package/dist/actions/get-country-of-origin.mjs +23 -23
- package/dist/actions/get-country-of-origin.mjs.map +1 -1
- package/dist/actions/get-statistic.cjs +3 -3
- package/dist/actions/get-statistic.cjs.map +1 -1
- package/dist/actions/get-statistic.d.cts +4 -15
- package/dist/actions/get-statistic.d.cts.map +1 -1
- package/dist/actions/get-statistic.d.mts +4 -15
- package/dist/actions/get-statistic.d.mts.map +1 -1
- package/dist/actions/get-statistic.mjs +3 -3
- package/dist/actions/get-statistic.mjs.map +1 -1
- package/dist/actions/query-by-email-address-multiple.cjs +24 -24
- package/dist/actions/query-by-email-address-multiple.cjs.map +1 -1
- package/dist/actions/query-by-email-address-multiple.d.cts +25 -51
- package/dist/actions/query-by-email-address-multiple.d.mts +25 -51
- package/dist/actions/query-by-email-address-multiple.mjs +24 -24
- package/dist/actions/query-by-email-address-multiple.mjs.map +1 -1
- package/dist/actions/query-by-email-address.cjs +16 -16
- package/dist/actions/query-by-email-address.cjs.map +1 -1
- package/dist/actions/query-by-email-address.d.cts +16 -37
- package/dist/actions/query-by-email-address.d.mts +16 -37
- package/dist/actions/query-by-email-address.mjs +16 -16
- package/dist/actions/query-by-email-address.mjs.map +1 -1
- package/dist/actions/query-by-first-name.cjs +14 -14
- package/dist/actions/query-by-first-name.cjs.map +1 -1
- package/dist/actions/query-by-first-name.d.cts +14 -33
- package/dist/actions/query-by-first-name.d.mts +14 -33
- package/dist/actions/query-by-first-name.mjs +14 -14
- package/dist/actions/query-by-first-name.mjs.map +1 -1
- package/dist/actions/query-by-full-name.cjs +15 -15
- package/dist/actions/query-by-full-name.cjs.map +1 -1
- package/dist/actions/query-by-full-name.d.cts +15 -35
- package/dist/actions/query-by-full-name.d.mts +15 -35
- package/dist/actions/query-by-full-name.mjs +15 -15
- package/dist/actions/query-by-full-name.mjs.map +1 -1
- package/dist/actions/query-gender-by-first-name-multiple.cjs +16 -16
- package/dist/actions/query-gender-by-first-name-multiple.cjs.map +1 -1
- package/dist/actions/query-gender-by-first-name-multiple.d.cts +17 -37
- package/dist/actions/query-gender-by-first-name-multiple.d.mts +17 -37
- package/dist/actions/query-gender-by-first-name-multiple.mjs +16 -16
- package/dist/actions/query-gender-by-first-name-multiple.mjs.map +1 -1
- package/dist/actions/query-gender-by-full-name-multiple.cjs +17 -17
- package/dist/actions/query-gender-by-full-name-multiple.cjs.map +1 -1
- package/dist/actions/query-gender-by-full-name-multiple.d.cts +18 -39
- package/dist/actions/query-gender-by-full-name-multiple.d.mts +18 -39
- package/dist/actions/query-gender-by-full-name-multiple.mjs +17 -17
- package/dist/actions/query-gender-by-full-name-multiple.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8,76 +8,50 @@ declare const GenderApiQueryByEmailAddressMultipleInput: z.ZodObject<{
|
|
|
8
8
|
email: z.ZodString;
|
|
9
9
|
locale: z.ZodOptional<z.ZodString>;
|
|
10
10
|
country: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
|
|
14
14
|
results: z.ZodArray<z.ZodObject<{
|
|
15
|
-
type: z.
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
input: z.ZodNullable<z.ZodObject<{
|
|
17
|
-
id: z.
|
|
18
|
-
ip: z.
|
|
17
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
email: z.ZodNullable<z.ZodString>;
|
|
20
|
-
locale: z.
|
|
21
|
-
country: z.
|
|
22
|
-
}, z.core.$
|
|
23
|
-
title: z.
|
|
24
|
-
detail: z.
|
|
25
|
-
gender: z.
|
|
20
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
26
|
unknown: "unknown";
|
|
27
27
|
male: "male";
|
|
28
28
|
female: "female";
|
|
29
29
|
}>>>;
|
|
30
|
-
status: z.
|
|
31
|
-
details: z.
|
|
32
|
-
country: z.
|
|
33
|
-
samples: z.
|
|
30
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
34
|
duration: z.ZodNullable<z.ZodString>;
|
|
35
35
|
credits_used: z.ZodNullable<z.ZodNumber>;
|
|
36
|
-
email_sanitized: z.
|
|
37
|
-
first_name_sanitized: z.
|
|
38
|
-
}, z.core.$
|
|
39
|
-
last_name: z.
|
|
40
|
-
first_name: z.
|
|
41
|
-
probability: z.
|
|
42
|
-
result_found: z.
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
36
|
+
email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
result_found: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const genderApiQueryByEmailAddressMultiple: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
emails: {
|
|
47
|
+
[x: string]: unknown;
|
|
47
48
|
email: string;
|
|
48
49
|
id?: string | undefined;
|
|
49
50
|
ip?: string | undefined;
|
|
50
51
|
locale?: string | undefined;
|
|
51
52
|
country?: string | undefined;
|
|
52
53
|
}[];
|
|
53
|
-
},
|
|
54
|
-
results: {
|
|
55
|
-
input: {
|
|
56
|
-
email: string | null;
|
|
57
|
-
id?: string | undefined;
|
|
58
|
-
ip?: string | undefined;
|
|
59
|
-
locale?: string | undefined;
|
|
60
|
-
country?: string | undefined;
|
|
61
|
-
} | null;
|
|
62
|
-
type?: string | undefined;
|
|
63
|
-
title?: string | undefined;
|
|
64
|
-
detail?: string | undefined;
|
|
65
|
-
gender?: "unknown" | "male" | "female" | undefined;
|
|
66
|
-
status?: number | undefined;
|
|
67
|
-
details?: {
|
|
68
|
-
duration: string | null;
|
|
69
|
-
credits_used: number | null;
|
|
70
|
-
country?: string | undefined;
|
|
71
|
-
samples?: number | undefined;
|
|
72
|
-
email_sanitized?: number | undefined;
|
|
73
|
-
first_name_sanitized?: string | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
last_name?: string | undefined;
|
|
76
|
-
first_name?: string | undefined;
|
|
77
|
-
probability?: number | undefined;
|
|
78
|
-
result_found?: boolean | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
81
55
|
//#endregion
|
|
82
56
|
export { genderApiQueryByEmailAddressMultiple };
|
|
83
57
|
//# sourceMappingURL=query-by-email-address-multiple.d.cts.map
|
|
@@ -8,76 +8,50 @@ declare const GenderApiQueryByEmailAddressMultipleInput: z.ZodObject<{
|
|
|
8
8
|
email: z.ZodString;
|
|
9
9
|
locale: z.ZodOptional<z.ZodString>;
|
|
10
10
|
country: z.ZodOptional<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
declare const GenderApiQueryByEmailAddressMultipleOutput: z.ZodObject<{
|
|
14
14
|
results: z.ZodArray<z.ZodObject<{
|
|
15
|
-
type: z.
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
input: z.ZodNullable<z.ZodObject<{
|
|
17
|
-
id: z.
|
|
18
|
-
ip: z.
|
|
17
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
email: z.ZodNullable<z.ZodString>;
|
|
20
|
-
locale: z.
|
|
21
|
-
country: z.
|
|
22
|
-
}, z.core.$
|
|
23
|
-
title: z.
|
|
24
|
-
detail: z.
|
|
25
|
-
gender: z.
|
|
20
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
detail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
26
|
unknown: "unknown";
|
|
27
27
|
male: "male";
|
|
28
28
|
female: "female";
|
|
29
29
|
}>>>;
|
|
30
|
-
status: z.
|
|
31
|
-
details: z.
|
|
32
|
-
country: z.
|
|
33
|
-
samples: z.
|
|
30
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
32
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
34
|
duration: z.ZodNullable<z.ZodString>;
|
|
35
35
|
credits_used: z.ZodNullable<z.ZodNumber>;
|
|
36
|
-
email_sanitized: z.
|
|
37
|
-
first_name_sanitized: z.
|
|
38
|
-
}, z.core.$
|
|
39
|
-
last_name: z.
|
|
40
|
-
first_name: z.
|
|
41
|
-
probability: z.
|
|
42
|
-
result_found: z.
|
|
43
|
-
}, z.core.$
|
|
44
|
-
}, z.core.$
|
|
36
|
+
email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
result_found: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
|
+
}, z.core.$loose>;
|
|
45
45
|
declare const genderApiQueryByEmailAddressMultiple: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
46
46
|
emails: {
|
|
47
|
+
[x: string]: unknown;
|
|
47
48
|
email: string;
|
|
48
49
|
id?: string | undefined;
|
|
49
50
|
ip?: string | undefined;
|
|
50
51
|
locale?: string | undefined;
|
|
51
52
|
country?: string | undefined;
|
|
52
53
|
}[];
|
|
53
|
-
},
|
|
54
|
-
results: {
|
|
55
|
-
input: {
|
|
56
|
-
email: string | null;
|
|
57
|
-
id?: string | undefined;
|
|
58
|
-
ip?: string | undefined;
|
|
59
|
-
locale?: string | undefined;
|
|
60
|
-
country?: string | undefined;
|
|
61
|
-
} | null;
|
|
62
|
-
type?: string | undefined;
|
|
63
|
-
title?: string | undefined;
|
|
64
|
-
detail?: string | undefined;
|
|
65
|
-
gender?: "unknown" | "male" | "female" | undefined;
|
|
66
|
-
status?: number | undefined;
|
|
67
|
-
details?: {
|
|
68
|
-
duration: string | null;
|
|
69
|
-
credits_used: number | null;
|
|
70
|
-
country?: string | undefined;
|
|
71
|
-
samples?: number | undefined;
|
|
72
|
-
email_sanitized?: number | undefined;
|
|
73
|
-
first_name_sanitized?: string | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
last_name?: string | undefined;
|
|
76
|
-
first_name?: string | undefined;
|
|
77
|
-
probability?: number | undefined;
|
|
78
|
-
result_found?: boolean | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
81
55
|
//#endregion
|
|
82
56
|
export { genderApiQueryByEmailAddressMultiple };
|
|
83
57
|
//# sourceMappingURL=query-by-email-address-multiple.d.mts.map
|
|
@@ -7,45 +7,45 @@ const GenderApiQueryByEmailAddressMultipleInput = z.object({ emails: z.array(z.o
|
|
|
7
7
|
email: z.string().describe("Email address to query for gender determination"),
|
|
8
8
|
locale: z.string().describe("Browser locale code (e.g., 'en_US') for inference hints").optional(),
|
|
9
9
|
country: z.string().describe("ISO 3166 alpha-2 country code for improved regional accuracy").optional()
|
|
10
|
-
}).describe("Single email query item in batch request.")).describe("List of email queries to process in a single batch request") }).describe("Request model for batch querying gender by multiple email addresses.");
|
|
10
|
+
}).passthrough().describe("Single email query item in batch request.")).describe("List of email queries to process in a single batch request") }).describe("Request model for batch querying gender by multiple email addresses.");
|
|
11
11
|
const GenderApiQueryByEmailAddressMultiple_InputEchoSchema = z.object({
|
|
12
|
-
id: z.
|
|
13
|
-
ip: z.
|
|
12
|
+
id: z.string().describe("Correlation ID if provided in request").nullable().optional(),
|
|
13
|
+
ip: z.string().describe("IP address if provided in request").nullable().optional(),
|
|
14
14
|
email: z.string().describe("The email address that was queried").nullable(),
|
|
15
|
-
locale: z.
|
|
16
|
-
country: z.
|
|
17
|
-
}).describe("Echo of a single email query from the batch request.");
|
|
15
|
+
locale: z.string().describe("Locale code if provided in request").nullable().optional(),
|
|
16
|
+
country: z.string().describe("Country code if provided in request").nullable().optional()
|
|
17
|
+
}).passthrough().describe("Echo of a single email query from the batch request.");
|
|
18
18
|
const GenderApiQueryByEmailAddressMultiple_DetailsSchema = z.object({
|
|
19
|
-
country: z.
|
|
20
|
-
samples: z.
|
|
19
|
+
country: z.string().describe("Country code used for the query (from request or auto-detected)").nullable().optional(),
|
|
20
|
+
samples: z.number().int().describe("Number of matching database records used for determination (absent if no result found)").nullable().optional(),
|
|
21
21
|
duration: z.string().describe("Server processing time (e.g., '82ms')").nullable(),
|
|
22
22
|
credits_used: z.number().int().describe("Number of API credits consumed by this query (0 if no result found)").nullable(),
|
|
23
|
-
email_sanitized: z.
|
|
24
|
-
first_name_sanitized: z.
|
|
25
|
-
}).describe("Detailed statistics for a single gender query result.");
|
|
23
|
+
email_sanitized: z.number().int().describe("Sanitized email token count (if applicable)").nullable().optional(),
|
|
24
|
+
first_name_sanitized: z.string().describe("Normalized/lowercase first name extracted from the email (absent if no result found)").nullable().optional()
|
|
25
|
+
}).passthrough().describe("Detailed statistics for a single gender query result.");
|
|
26
26
|
const GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema = z.object({
|
|
27
|
-
type: z.
|
|
27
|
+
type: z.string().describe("Error type URI when an error occurs").nullable().optional(),
|
|
28
28
|
input: GenderApiQueryByEmailAddressMultiple_InputEchoSchema.nullable(),
|
|
29
|
-
title: z.
|
|
30
|
-
detail: z.
|
|
31
|
-
gender: z.
|
|
29
|
+
title: z.string().describe("Error title/code when an error occurs").nullable().optional(),
|
|
30
|
+
detail: z.string().describe("Error detail message when an error occurs").nullable().optional(),
|
|
31
|
+
gender: z.enum([
|
|
32
32
|
"male",
|
|
33
33
|
"female",
|
|
34
34
|
"unknown"
|
|
35
|
-
]).describe("Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)").optional()
|
|
36
|
-
status: z.
|
|
37
|
-
details:
|
|
38
|
-
last_name: z.
|
|
39
|
-
first_name: z.
|
|
40
|
-
probability: z.
|
|
41
|
-
result_found: z.
|
|
42
|
-
}).describe("Gender determination result for a single email address.\nCan be either a successful result or an error response.");
|
|
35
|
+
]).describe("Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)").nullable().optional(),
|
|
36
|
+
status: z.number().int().describe("HTTP status code when an error occurs (e.g., 400 for invalid email)").nullable().optional(),
|
|
37
|
+
details: GenderApiQueryByEmailAddressMultiple_DetailsSchema.nullable().optional(),
|
|
38
|
+
last_name: z.string().describe("Last name extracted/parsed from the email local part (e.g., 'Miller' from sandra.miller14@gmail.com)").nullable().optional(),
|
|
39
|
+
first_name: z.string().describe("First name extracted/parsed from the email local part (e.g., 'Sandra' from sandra.miller14@gmail.com)").nullable().optional(),
|
|
40
|
+
probability: z.number().describe("Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)").nullable().optional(),
|
|
41
|
+
result_found: z.boolean().describe("True if a gender determination was made, False otherwise (absent on error)").nullable().optional()
|
|
42
|
+
}).passthrough().describe("Gender determination result for a single email address.\nCan be either a successful result or an error response.");
|
|
43
43
|
const genderApiQueryByEmailAddressMultiple = action("GENDER_API_QUERY_BY_EMAIL_ADDRESS_MULTIPLE", {
|
|
44
44
|
slug: "gender_api-query-by-email-address-multiple",
|
|
45
45
|
name: "Query Gender by Multiple Email Addresses",
|
|
46
46
|
description: "Determine likely gender for multiple email addresses in a single batch request. Returns male/female/unknown with confidence scores for each email. Use for efficient bulk processing. Each result includes result_found flag and optional probability score.",
|
|
47
47
|
input: GenderApiQueryByEmailAddressMultipleInput,
|
|
48
|
-
output: z.object({ results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe("List of gender determination results, one per input email query") }).describe("Response model for batch gender queries by email addresses.")
|
|
48
|
+
output: z.object({ results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe("List of gender determination results, one per input email query") }).passthrough().describe("Response model for batch gender queries by email addresses.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { genderApiQueryByEmailAddressMultiple };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-email-address-multiple.mjs","names":[],"sources":["../../src/actions/query-by-email-address-multiple.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressMultipleInput = z.object({\n emails: z.array(z.object({\n id: z.string().describe(\"Client-provided correlation ID (max 50 chars) to match requests with responses\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based inference\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US') for inference hints\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code for improved regional accuracy\").optional(),\n}).describe(\"Single email query item in batch request.\")).describe(\"List of email queries to process in a single batch request\"),\n}).describe(\"Request model for batch querying gender by multiple email addresses.\");\nconst GenderApiQueryByEmailAddressMultiple_InputEchoSchema = z.object({\n id: z.
|
|
1
|
+
{"version":3,"file":"query-by-email-address-multiple.mjs","names":[],"sources":["../../src/actions/query-by-email-address-multiple.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressMultipleInput = z.object({\n emails: z.array(z.object({\n id: z.string().describe(\"Client-provided correlation ID (max 50 chars) to match requests with responses\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address for geo-based inference\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US') for inference hints\").optional(),\n country: z.string().describe(\"ISO 3166 alpha-2 country code for improved regional accuracy\").optional(),\n}).passthrough().describe(\"Single email query item in batch request.\")).describe(\"List of email queries to process in a single batch request\"),\n}).describe(\"Request model for batch querying gender by multiple email addresses.\");\nconst GenderApiQueryByEmailAddressMultiple_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).passthrough().describe(\"Echo of a single email query from the batch request.\");\nconst GenderApiQueryByEmailAddressMultiple_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '82ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).passthrough().describe(\"Detailed statistics for a single gender query result.\");\nconst GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema = z.object({\n type: z.string().describe(\"Error type URI when an error occurs\").nullable().optional(),\n input: GenderApiQueryByEmailAddressMultiple_InputEchoSchema.nullable(),\n title: z.string().describe(\"Error title/code when an error occurs\").nullable().optional(),\n detail: z.string().describe(\"Error detail message when an error occurs\").nullable().optional(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code when an error occurs (e.g., 400 for invalid email)\").nullable().optional(),\n details: GenderApiQueryByEmailAddressMultiple_DetailsSchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Miller' from sandra.miller14@gmail.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'Sandra' from sandra.miller14@gmail.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise (absent on error)\").nullable().optional(),\n}).passthrough().describe(\"Gender determination result for a single email address.\\nCan be either a successful result or an error response.\");\nexport const GenderApiQueryByEmailAddressMultipleOutput = z.object({\n results: z.array(GenderApiQueryByEmailAddressMultiple_EmailGenderResultSchema).describe(\"List of gender determination results, one per input email query\"),\n}).passthrough().describe(\"Response model for batch gender queries by email addresses.\");\n\nexport const genderApiQueryByEmailAddressMultiple = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS_MULTIPLE\", {\n slug: \"gender_api-query-by-email-address-multiple\",\n name: \"Query Gender by Multiple Email Addresses\",\n description: \"Determine likely gender for multiple email addresses in a single batch request. Returns male/female/unknown with confidence scores for each email. Use for efficient bulk processing. Each result includes result_found flag and optional probability score.\",\n input: GenderApiQueryByEmailAddressMultipleIn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,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAK5I,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,iEAAiE,EAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -9,33 +9,33 @@ const GenderApiQueryByEmailAddressInput = zod.z.object({
|
|
|
9
9
|
country: zod.z.string().describe("ISO 3166 ALPHA-2 country code").optional()
|
|
10
10
|
}).describe("Request model for querying gender by email address.");
|
|
11
11
|
const GenderApiQueryByEmailAddress_InputEchoSchema = zod.z.object({
|
|
12
|
-
id: zod.z.
|
|
13
|
-
ip: zod.z.
|
|
12
|
+
id: zod.z.string().describe("Correlation ID if provided in request").nullable().optional(),
|
|
13
|
+
ip: zod.z.string().describe("IP address if provided in request").nullable().optional(),
|
|
14
14
|
email: zod.z.string().describe("The email address that was queried").nullable(),
|
|
15
|
-
locale: zod.z.
|
|
16
|
-
country: zod.z.
|
|
17
|
-
}).describe("Echo of the submitted request parameters.");
|
|
15
|
+
locale: zod.z.string().describe("Locale code if provided in request").nullable().optional(),
|
|
16
|
+
country: zod.z.string().describe("Country code if provided in request").nullable().optional()
|
|
17
|
+
}).passthrough().describe("Echo of the submitted request parameters.");
|
|
18
18
|
const GenderApiQueryByEmailAddress_DetailsSchema = zod.z.object({
|
|
19
|
-
country: zod.z.
|
|
20
|
-
samples: zod.z.
|
|
19
|
+
country: zod.z.string().describe("Country code used for the query (from request or auto-detected)").nullable().optional(),
|
|
20
|
+
samples: zod.z.number().int().describe("Number of matching database records used for determination (absent if no result found)").nullable().optional(),
|
|
21
21
|
duration: zod.z.string().describe("Server processing time (e.g., '32ms')").nullable(),
|
|
22
22
|
credits_used: zod.z.number().int().describe("Number of API credits consumed by this query (0 if no result found)").nullable(),
|
|
23
|
-
email_sanitized: zod.z.
|
|
24
|
-
first_name_sanitized: zod.z.
|
|
25
|
-
}).describe("Detailed statistics returned for a gender query.");
|
|
23
|
+
email_sanitized: zod.z.number().int().describe("Sanitized email token count (if applicable)").nullable().optional(),
|
|
24
|
+
first_name_sanitized: zod.z.string().describe("Normalized/lowercase first name extracted from the email (absent if no result found)").nullable().optional()
|
|
25
|
+
}).passthrough().describe("Detailed statistics returned for a gender query.");
|
|
26
26
|
const GenderApiQueryByEmailAddressOutput = zod.z.object({
|
|
27
27
|
input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),
|
|
28
|
-
gender: zod.z.
|
|
28
|
+
gender: zod.z.enum([
|
|
29
29
|
"male",
|
|
30
30
|
"female",
|
|
31
31
|
"unknown"
|
|
32
|
-
]).describe("Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)").optional()
|
|
32
|
+
]).describe("Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)").nullable().optional(),
|
|
33
33
|
details: GenderApiQueryByEmailAddress_DetailsSchema.nullable(),
|
|
34
|
-
last_name: zod.z.
|
|
35
|
-
first_name: zod.z.
|
|
36
|
-
probability: zod.z.
|
|
34
|
+
last_name: zod.z.string().describe("Last name extracted/parsed from the email local part (e.g., 'Smith' from john.smith@example.com)").nullable().optional(),
|
|
35
|
+
first_name: zod.z.string().describe("First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)").nullable().optional(),
|
|
36
|
+
probability: zod.z.number().describe("Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)").nullable().optional(),
|
|
37
37
|
result_found: zod.z.boolean().describe("True if a gender determination was made, False otherwise").nullable()
|
|
38
|
-
}).describe("Response model for gender query by email address.");
|
|
38
|
+
}).passthrough().describe("Response model for gender query by email address.");
|
|
39
39
|
const genderApiQueryByEmailAddress = require_action.action("GENDER_API_QUERY_BY_EMAIL_ADDRESS", {
|
|
40
40
|
slug: "gender_api-query-by-email-address",
|
|
41
41
|
name: "Query Gender by Email Address",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Client-provided correlation ID\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US')\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code\").optional(),\n}).describe(\"Request model for querying gender by email address.\");\nconst GenderApiQueryByEmailAddress_InputEchoSchema = z.object({\n id: z.
|
|
1
|
+
{"version":3,"file":"query-by-email-address.cjs","names":["z","action"],"sources":["../../src/actions/query-by-email-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiQueryByEmailAddressInput = z.object({\n id: z.string().describe(\"Client-provided correlation ID\").optional(),\n ip: z.string().describe(\"Valid IPv4 or IPv6 address\").optional(),\n email: z.string().describe(\"Email address to query for gender determination\"),\n locale: z.string().describe(\"Browser locale code (e.g., 'en_US')\").optional(),\n country: z.string().describe(\"ISO 3166 ALPHA-2 country code\").optional(),\n}).describe(\"Request model for querying gender by email address.\");\nconst GenderApiQueryByEmailAddress_InputEchoSchema = z.object({\n id: z.string().describe(\"Correlation ID if provided in request\").nullable().optional(),\n ip: z.string().describe(\"IP address if provided in request\").nullable().optional(),\n email: z.string().describe(\"The email address that was queried\").nullable(),\n locale: z.string().describe(\"Locale code if provided in request\").nullable().optional(),\n country: z.string().describe(\"Country code if provided in request\").nullable().optional(),\n}).passthrough().describe(\"Echo of the submitted request parameters.\");\nconst GenderApiQueryByEmailAddress_DetailsSchema = z.object({\n country: z.string().describe(\"Country code used for the query (from request or auto-detected)\").nullable().optional(),\n samples: z.number().int().describe(\"Number of matching database records used for determination (absent if no result found)\").nullable().optional(),\n duration: z.string().describe(\"Server processing time (e.g., '32ms')\").nullable(),\n credits_used: z.number().int().describe(\"Number of API credits consumed by this query (0 if no result found)\").nullable(),\n email_sanitized: z.number().int().describe(\"Sanitized email token count (if applicable)\").nullable().optional(),\n first_name_sanitized: z.string().describe(\"Normalized/lowercase first name extracted from the email (absent if no result found)\").nullable().optional(),\n}).passthrough().describe(\"Detailed statistics returned for a gender query.\");\nexport const GenderApiQueryByEmailAddressOutput = z.object({\n input: GenderApiQueryByEmailAddress_InputEchoSchema.nullable(),\n gender: z.enum([\"male\", \"female\", \"unknown\"]).describe(\"Predicted gender: 'male', 'female', or 'unknown' (absent if result_found is False)\").nullable().optional(),\n details: GenderApiQueryByEmailAddress_DetailsSchema.nullable(),\n last_name: z.string().describe(\"Last name extracted/parsed from the email local part (e.g., 'Smith' from john.smith@example.com)\").nullable().optional(),\n first_name: z.string().describe(\"First name extracted/parsed from the email local part (e.g., 'John' from john.smith@example.com)\").nullable().optional(),\n probability: z.number().describe(\"Confidence score from 0.0 to 1.0 indicating reliability of the gender prediction (absent if result_found is False)\").nullable().optional(),\n result_found: z.boolean().describe(\"True if a gender determination was made, False otherwise\").nullable(),\n}).passthrough().describe(\"Response model for gender query by email address.\");\n\nexport const genderApiQueryByEmailAddress = action(\"GENDER_API_QUERY_BY_EMAIL_ADDRESS\", {\n slug: \"gender_api-query-by-email-address\",\n name: \"Query Gender by Email Address\",\n description: \"Determine likely gender from an email address by extracting and analyzing the name portion. Returns male/female/unknown with a confidence score. Optionally filter by country for improved accuracy. Check result_found to know if a determination was made; probability indicates confidence level.\",\n input: GenderApiQueryByEmailA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M;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,58 +10,37 @@ declare const GenderApiQueryByEmailAddressInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
|
|
12
12
|
input: z.ZodNullable<z.ZodObject<{
|
|
13
|
-
id: z.
|
|
14
|
-
ip: z.
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
email: z.ZodNullable<z.ZodString>;
|
|
16
|
-
locale: z.
|
|
17
|
-
country: z.
|
|
18
|
-
}, z.core.$
|
|
19
|
-
gender: z.
|
|
16
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
20
|
unknown: "unknown";
|
|
21
21
|
male: "male";
|
|
22
22
|
female: "female";
|
|
23
23
|
}>>>;
|
|
24
24
|
details: z.ZodNullable<z.ZodObject<{
|
|
25
|
-
country: z.
|
|
26
|
-
samples: z.
|
|
25
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
duration: z.ZodNullable<z.ZodString>;
|
|
28
28
|
credits_used: z.ZodNullable<z.ZodNumber>;
|
|
29
|
-
email_sanitized: z.
|
|
30
|
-
first_name_sanitized: z.
|
|
31
|
-
}, z.core.$
|
|
32
|
-
last_name: z.
|
|
33
|
-
first_name: z.
|
|
34
|
-
probability: z.
|
|
29
|
+
email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const genderApiQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
email: string;
|
|
39
39
|
id?: string | undefined;
|
|
40
40
|
ip?: string | undefined;
|
|
41
41
|
locale?: string | undefined;
|
|
42
42
|
country?: string | undefined;
|
|
43
|
-
},
|
|
44
|
-
input: {
|
|
45
|
-
email: string | null;
|
|
46
|
-
id?: string | undefined;
|
|
47
|
-
ip?: string | undefined;
|
|
48
|
-
locale?: string | undefined;
|
|
49
|
-
country?: string | undefined;
|
|
50
|
-
} | null;
|
|
51
|
-
details: {
|
|
52
|
-
duration: string | null;
|
|
53
|
-
credits_used: number | null;
|
|
54
|
-
country?: string | undefined;
|
|
55
|
-
samples?: number | undefined;
|
|
56
|
-
email_sanitized?: number | undefined;
|
|
57
|
-
first_name_sanitized?: string | undefined;
|
|
58
|
-
} | null;
|
|
59
|
-
result_found: boolean | null;
|
|
60
|
-
gender?: "unknown" | "male" | "female" | undefined;
|
|
61
|
-
last_name?: string | undefined;
|
|
62
|
-
first_name?: string | undefined;
|
|
63
|
-
probability?: number | undefined;
|
|
64
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
65
44
|
//#endregion
|
|
66
45
|
export { genderApiQueryByEmailAddress };
|
|
67
46
|
//# sourceMappingURL=query-by-email-address.d.cts.map
|
|
@@ -10,58 +10,37 @@ declare const GenderApiQueryByEmailAddressInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const GenderApiQueryByEmailAddressOutput: z.ZodObject<{
|
|
12
12
|
input: z.ZodNullable<z.ZodObject<{
|
|
13
|
-
id: z.
|
|
14
|
-
ip: z.
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
email: z.ZodNullable<z.ZodString>;
|
|
16
|
-
locale: z.
|
|
17
|
-
country: z.
|
|
18
|
-
}, z.core.$
|
|
19
|
-
gender: z.
|
|
16
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
}, z.core.$loose>>;
|
|
19
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
20
|
unknown: "unknown";
|
|
21
21
|
male: "male";
|
|
22
22
|
female: "female";
|
|
23
23
|
}>>>;
|
|
24
24
|
details: z.ZodNullable<z.ZodObject<{
|
|
25
|
-
country: z.
|
|
26
|
-
samples: z.
|
|
25
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
duration: z.ZodNullable<z.ZodString>;
|
|
28
28
|
credits_used: z.ZodNullable<z.ZodNumber>;
|
|
29
|
-
email_sanitized: z.
|
|
30
|
-
first_name_sanitized: z.
|
|
31
|
-
}, z.core.$
|
|
32
|
-
last_name: z.
|
|
33
|
-
first_name: z.
|
|
34
|
-
probability: z.
|
|
29
|
+
email_sanitized: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
35
35
|
result_found: z.ZodNullable<z.ZodBoolean>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const genderApiQueryByEmailAddress: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
email: string;
|
|
39
39
|
id?: string | undefined;
|
|
40
40
|
ip?: string | undefined;
|
|
41
41
|
locale?: string | undefined;
|
|
42
42
|
country?: string | undefined;
|
|
43
|
-
},
|
|
44
|
-
input: {
|
|
45
|
-
email: string | null;
|
|
46
|
-
id?: string | undefined;
|
|
47
|
-
ip?: string | undefined;
|
|
48
|
-
locale?: string | undefined;
|
|
49
|
-
country?: string | undefined;
|
|
50
|
-
} | null;
|
|
51
|
-
details: {
|
|
52
|
-
duration: string | null;
|
|
53
|
-
credits_used: number | null;
|
|
54
|
-
country?: string | undefined;
|
|
55
|
-
samples?: number | undefined;
|
|
56
|
-
email_sanitized?: number | undefined;
|
|
57
|
-
first_name_sanitized?: string | undefined;
|
|
58
|
-
} | null;
|
|
59
|
-
result_found: boolean | null;
|
|
60
|
-
gender?: "unknown" | "male" | "female" | undefined;
|
|
61
|
-
last_name?: string | undefined;
|
|
62
|
-
first_name?: string | undefined;
|
|
63
|
-
probability?: number | undefined;
|
|
64
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
43
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
65
44
|
//#endregion
|
|
66
45
|
export { genderApiQueryByEmailAddress };
|
|
67
46
|
//# sourceMappingURL=query-by-email-address.d.mts.map
|