@keystrokehq/gender_api 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-country-of-origin-v1.cjs.map +1 -1
  4. package/dist/actions/get-country-of-origin-v1.d.cts +23 -3
  5. package/dist/actions/get-country-of-origin-v1.d.cts.map +1 -1
  6. package/dist/actions/get-country-of-origin-v1.d.mts +23 -3
  7. package/dist/actions/get-country-of-origin-v1.d.mts.map +1 -1
  8. package/dist/actions/get-country-of-origin-v1.mjs.map +1 -1
  9. package/dist/actions/get-country-of-origin.cjs +12 -12
  10. package/dist/actions/get-country-of-origin.cjs.map +1 -1
  11. package/dist/actions/get-country-of-origin.d.cts +51 -3
  12. package/dist/actions/get-country-of-origin.d.cts.map +1 -1
  13. package/dist/actions/get-country-of-origin.d.mts +51 -3
  14. package/dist/actions/get-country-of-origin.d.mts.map +1 -1
  15. package/dist/actions/get-country-of-origin.mjs +12 -12
  16. package/dist/actions/get-country-of-origin.mjs.map +1 -1
  17. package/dist/actions/get-statistic.cjs +6 -6
  18. package/dist/actions/get-statistic.cjs.map +1 -1
  19. package/dist/actions/get-statistic.d.cts +14 -3
  20. package/dist/actions/get-statistic.d.cts.map +1 -1
  21. package/dist/actions/get-statistic.d.mts +14 -3
  22. package/dist/actions/get-statistic.d.mts.map +1 -1
  23. package/dist/actions/get-statistic.mjs +6 -6
  24. package/dist/actions/get-statistic.mjs.map +1 -1
  25. package/dist/actions/query-by-email-address-multiple.cjs +3 -3
  26. package/dist/actions/query-by-email-address-multiple.cjs.map +1 -1
  27. package/dist/actions/query-by-email-address-multiple.d.cts +50 -3
  28. package/dist/actions/query-by-email-address-multiple.d.cts.map +1 -1
  29. package/dist/actions/query-by-email-address-multiple.d.mts +50 -3
  30. package/dist/actions/query-by-email-address-multiple.d.mts.map +1 -1
  31. package/dist/actions/query-by-email-address-multiple.mjs +3 -3
  32. package/dist/actions/query-by-email-address-multiple.mjs.map +1 -1
  33. package/dist/actions/query-by-email-address.cjs +4 -4
  34. package/dist/actions/query-by-email-address.cjs.map +1 -1
  35. package/dist/actions/query-by-email-address.d.cts +40 -3
  36. package/dist/actions/query-by-email-address.d.cts.map +1 -1
  37. package/dist/actions/query-by-email-address.d.mts +40 -3
  38. package/dist/actions/query-by-email-address.d.mts.map +1 -1
  39. package/dist/actions/query-by-email-address.mjs +4 -4
  40. package/dist/actions/query-by-email-address.mjs.map +1 -1
  41. package/dist/actions/query-by-first-name.cjs +4 -4
  42. package/dist/actions/query-by-first-name.cjs.map +1 -1
  43. package/dist/actions/query-by-first-name.d.cts +38 -3
  44. package/dist/actions/query-by-first-name.d.cts.map +1 -1
  45. package/dist/actions/query-by-first-name.d.mts +38 -3
  46. package/dist/actions/query-by-first-name.d.mts.map +1 -1
  47. package/dist/actions/query-by-first-name.mjs +4 -4
  48. package/dist/actions/query-by-first-name.mjs.map +1 -1
  49. package/dist/actions/query-by-full-name.cjs +4 -4
  50. package/dist/actions/query-by-full-name.cjs.map +1 -1
  51. package/dist/actions/query-by-full-name.d.cts +39 -3
  52. package/dist/actions/query-by-full-name.d.cts.map +1 -1
  53. package/dist/actions/query-by-full-name.d.mts +39 -3
  54. package/dist/actions/query-by-full-name.d.mts.map +1 -1
  55. package/dist/actions/query-by-full-name.mjs +4 -4
  56. package/dist/actions/query-by-full-name.mjs.map +1 -1
  57. package/dist/actions/query-gender-by-first-name-multiple.cjs +4 -4
  58. package/dist/actions/query-gender-by-first-name-multiple.cjs.map +1 -1
  59. package/dist/actions/query-gender-by-first-name-multiple.d.cts +44 -3
  60. package/dist/actions/query-gender-by-first-name-multiple.d.cts.map +1 -1
  61. package/dist/actions/query-gender-by-first-name-multiple.d.mts +44 -3
  62. package/dist/actions/query-gender-by-first-name-multiple.d.mts.map +1 -1
  63. package/dist/actions/query-gender-by-first-name-multiple.mjs +4 -4
  64. package/dist/actions/query-gender-by-first-name-multiple.mjs.map +1 -1
  65. package/dist/actions/query-gender-by-full-name-multiple.cjs +4 -4
  66. package/dist/actions/query-gender-by-full-name-multiple.cjs.map +1 -1
  67. package/dist/actions/query-gender-by-full-name-multiple.d.cts +45 -3
  68. package/dist/actions/query-gender-by-full-name-multiple.d.cts.map +1 -1
  69. package/dist/actions/query-gender-by-full-name-multiple.d.mts +45 -3
  70. package/dist/actions/query-gender-by-full-name-multiple.d.mts.map +1 -1
  71. package/dist/actions/query-gender-by-full-name-multiple.mjs +4 -4
  72. package/dist/actions/query-gender-by-full-name-multiple.mjs.map +1 -1
  73. package/dist/catalog.cjs +7 -1
  74. package/dist/catalog.cjs.map +1 -1
  75. package/dist/catalog.d.cts +8 -0
  76. package/dist/catalog.d.mts +8 -0
  77. package/dist/catalog.mjs +7 -1
  78. package/dist/catalog.mjs.map +1 -1
  79. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["genderApi","executeGenderApiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderApi } from \"./app\";\nimport { executeGenderApiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return genderApi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeGenderApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,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,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["genderApi","executeGenderApiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderApi } from \"./app\";\nimport { executeGenderApiTool } 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 genderApi.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 executeGenderApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,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,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderApi } from \"./app\";\nimport { executeGenderApiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return genderApi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeGenderApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { genderApi } from \"./app\";\nimport { executeGenderApiTool } 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 genderApi.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 executeGenderApiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin-v1.cjs","names":["z","action"],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginV1Input: z.ZodTypeAny = z.object({\n name: z.string().describe(\"First name to query country of origin for. Must contain at least one non-space character.\"),\n}).describe(\"Request model for retrieving country of origin using v1 simple API.\");\nconst GenderApiGetCountryOfOriginV1_CountryOriginItemSchema: z.ZodTypeAny = z.object({\n country: z.string().describe(\"Two-letter ISO country code (e.g., 'AT', 'US').\").nullable().optional(),\n probability: z.number().describe(\"Probability score for this country (0.0 to 1.0).\").nullable().optional(),\n country_name: z.string().describe(\"Full name of the country (e.g., 'Austria', 'United States').\").nullable().optional(),\n continental_region: z.string().describe(\"Continental region (e.g., 'Europe', 'Asia', 'Americas').\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical region (e.g., 'Western Europe', 'Eastern Asia').\").nullable().optional(),\n}).describe(\"Model for individual country of origin item.\");\nexport const GenderApiGetCountryOfOriginV1Output: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name that was queried (lowercase).\").nullable().optional(),\n gender: z.string().describe(\"The predicted gender for the name (e.g., 'male', 'female').\").nullable().optional(),\n samples: z.number().int().describe(\"Number of samples used for the prediction.\").nullable().optional(),\n accuracy: z.number().int().describe(\"Accuracy percentage (0-100).\").nullable().optional(),\n duration: z.string().describe(\"Duration of the API request (e.g., '60ms').\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of API credits used for this request.\").nullable().optional(),\n name_sanitized: z.string().describe(\"The sanitized/capitalized version of the name.\").nullable().optional(),\n country_of_origin: z.array(GenderApiGetCountryOfOriginV1_CountryOriginItemSchema).describe(\"List of possible countries of origin with probability scores, ordered by likelihood.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to a visual map showing the country distribution.\").nullable().optional(),\n}).describe(\"Response model from gender-api.com v1 country of origin endpoint.\");\n\nexport const genderApiGetCountryOfOriginV1 = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN_V1\", {\n slug: \"gender_api-get-country-of-origin-v1\",\n name: \"Get Country of Origin (v1)\",\n description: \"Tool to get the country of origin for a given first name using v1 API. Returns the most likely country where the name is most common.\",\n input: GenderApiGetCountryOfOriginV1Input,\n output: GenderApiGetCountryOfOriginV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EACvH,CAAC,CAAC,CAAC,SAAS,qEAA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C5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvM,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,gCAAgCC,eAAAA,OAAO,uCAAuC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-country-of-origin-v1.cjs","names":["z","action"],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginV1Input = z.object({\n name: z.string().describe(\"First name to query country of origin for. Must contain at least one non-space character.\"),\n}).describe(\"Request model for retrieving country of origin using v1 simple API.\");\nconst GenderApiGetCountryOfOriginV1_CountryOriginItemSchema = z.object({\n country: z.string().describe(\"Two-letter ISO country code (e.g., 'AT', 'US').\").nullable().optional(),\n probability: z.number().describe(\"Probability score for this country (0.0 to 1.0).\").nullable().optional(),\n country_name: z.string().describe(\"Full name of the country (e.g., 'Austria', 'United States').\").nullable().optional(),\n continental_region: z.string().describe(\"Continental region (e.g., 'Europe', 'Asia', 'Americas').\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical region (e.g., 'Western Europe', 'Eastern Asia').\").nullable().optional(),\n}).describe(\"Model for individual country of origin item.\");\nexport const GenderApiGetCountryOfOriginV1Output = z.object({\n name: z.string().describe(\"The name that was queried (lowercase).\").nullable().optional(),\n gender: z.string().describe(\"The predicted gender for the name (e.g., 'male', 'female').\").nullable().optional(),\n samples: z.number().int().describe(\"Number of samples used for the prediction.\").nullable().optional(),\n accuracy: z.number().int().describe(\"Accuracy percentage (0-100).\").nullable().optional(),\n duration: z.string().describe(\"Duration of the API request (e.g., '60ms').\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of API credits used for this request.\").nullable().optional(),\n name_sanitized: z.string().describe(\"The sanitized/capitalized version of the name.\").nullable().optional(),\n country_of_origin: z.array(GenderApiGetCountryOfOriginV1_CountryOriginItemSchema).describe(\"List of possible countries of origin with probability scores, ordered by likelihood.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to a visual map showing the country distribution.\").nullable().optional(),\n}).describe(\"Response model from gender-api.com v1 country of origin endpoint.\");\n\nexport const genderApiGetCountryOfOriginV1 = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN_V1\", {\n slug: \"gender_api-get-country-of-origin-v1\",\n name: \"Get Country of Origin (v1)\",\n description: \"Tool to get the country of origin for a given first name using v1 API. Returns the most likely country where the name is most common.\",\n input: GenderApiGetCountryOfOriginV1Input,\n output: GenderApiGetCountryOfOriginV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EACvH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoB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Q;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-country-of-origin-v1.d.ts
4
- declare const GenderApiGetCountryOfOriginV1Input: z.ZodTypeAny;
5
- declare const GenderApiGetCountryOfOriginV1Output: z.ZodTypeAny;
6
- declare const genderApiGetCountryOfOriginV1: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GenderApiGetCountryOfOriginV1Input: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const GenderApiGetCountryOfOriginV1Output: z.ZodObject<{
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ accuracy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ country_of_origin: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ country_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ continental_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ statistical_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ country_of_origin_map_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
24
+ declare const genderApiGetCountryOfOriginV1: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ name: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { genderApiGetCountryOfOriginV1 };
9
29
  //# sourceMappingURL=get-country-of-origin-v1.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin-v1.d.cts","names":[],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAE+B;AAAA,cAQrE,mCAAA,EAAqC,CAAA,CAAE,UAU4B;AAAA,cAEnE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-country-of-origin-v1.d.cts","names":[],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-country-of-origin-v1.d.ts
4
- declare const GenderApiGetCountryOfOriginV1Input: z.ZodTypeAny;
5
- declare const GenderApiGetCountryOfOriginV1Output: z.ZodTypeAny;
6
- declare const genderApiGetCountryOfOriginV1: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GenderApiGetCountryOfOriginV1Input: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const GenderApiGetCountryOfOriginV1Output: z.ZodObject<{
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ samples: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ accuracy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ credits_used: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ country_of_origin: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ country_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ continental_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ statistical_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ country_of_origin_map_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
24
+ declare const genderApiGetCountryOfOriginV1: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ name: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { genderApiGetCountryOfOriginV1 };
9
29
  //# sourceMappingURL=get-country-of-origin-v1.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin-v1.d.mts","names":[],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAE+B;AAAA,cAQrE,mCAAA,EAAqC,CAAA,CAAE,UAU4B;AAAA,cAEnE,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-country-of-origin-v1.d.mts","names":[],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAUlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAYnC,6BAAA,gCAA6B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin-v1.mjs","names":[],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginV1Input: z.ZodTypeAny = z.object({\n name: z.string().describe(\"First name to query country of origin for. Must contain at least one non-space character.\"),\n}).describe(\"Request model for retrieving country of origin using v1 simple API.\");\nconst GenderApiGetCountryOfOriginV1_CountryOriginItemSchema: z.ZodTypeAny = z.object({\n country: z.string().describe(\"Two-letter ISO country code (e.g., 'AT', 'US').\").nullable().optional(),\n probability: z.number().describe(\"Probability score for this country (0.0 to 1.0).\").nullable().optional(),\n country_name: z.string().describe(\"Full name of the country (e.g., 'Austria', 'United States').\").nullable().optional(),\n continental_region: z.string().describe(\"Continental region (e.g., 'Europe', 'Asia', 'Americas').\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical region (e.g., 'Western Europe', 'Eastern Asia').\").nullable().optional(),\n}).describe(\"Model for individual country of origin item.\");\nexport const GenderApiGetCountryOfOriginV1Output: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name that was queried (lowercase).\").nullable().optional(),\n gender: z.string().describe(\"The predicted gender for the name (e.g., 'male', 'female').\").nullable().optional(),\n samples: z.number().int().describe(\"Number of samples used for the prediction.\").nullable().optional(),\n accuracy: z.number().int().describe(\"Accuracy percentage (0-100).\").nullable().optional(),\n duration: z.string().describe(\"Duration of the API request (e.g., '60ms').\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of API credits used for this request.\").nullable().optional(),\n name_sanitized: z.string().describe(\"The sanitized/capitalized version of the name.\").nullable().optional(),\n country_of_origin: z.array(GenderApiGetCountryOfOriginV1_CountryOriginItemSchema).describe(\"List of possible countries of origin with probability scores, ordered by likelihood.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to a visual map showing the country distribution.\").nullable().optional(),\n}).describe(\"Response model from gender-api.com v1 country of origin endpoint.\");\n\nexport const genderApiGetCountryOfOriginV1 = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN_V1\", {\n slug: \"gender_api-get-country-of-origin-v1\",\n name: \"Get Country of Origin (v1)\",\n description: \"Tool to get the country of origin for a given first name using v1 API. Returns the most likely country where the name is most common.\",\n input: GenderApiGetCountryOfOriginV1Input,\n output: GenderApiGetCountryOfOriginV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmD,EAAE,OAAO,EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EACvH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,wDAAsE,EAAE,OAAO;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAa1D,MAAa,gCAAgC,OAAO,uCAAuC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,mBAAmB,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvM,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-country-of-origin-v1.mjs","names":[],"sources":["../../src/actions/get-country-of-origin-v1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginV1Input = z.object({\n name: z.string().describe(\"First name to query country of origin for. Must contain at least one non-space character.\"),\n}).describe(\"Request model for retrieving country of origin using v1 simple API.\");\nconst GenderApiGetCountryOfOriginV1_CountryOriginItemSchema = z.object({\n country: z.string().describe(\"Two-letter ISO country code (e.g., 'AT', 'US').\").nullable().optional(),\n probability: z.number().describe(\"Probability score for this country (0.0 to 1.0).\").nullable().optional(),\n country_name: z.string().describe(\"Full name of the country (e.g., 'Austria', 'United States').\").nullable().optional(),\n continental_region: z.string().describe(\"Continental region (e.g., 'Europe', 'Asia', 'Americas').\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical region (e.g., 'Western Europe', 'Eastern Asia').\").nullable().optional(),\n}).describe(\"Model for individual country of origin item.\");\nexport const GenderApiGetCountryOfOriginV1Output = z.object({\n name: z.string().describe(\"The name that was queried (lowercase).\").nullable().optional(),\n gender: z.string().describe(\"The predicted gender for the name (e.g., 'male', 'female').\").nullable().optional(),\n samples: z.number().int().describe(\"Number of samples used for the prediction.\").nullable().optional(),\n accuracy: z.number().int().describe(\"Accuracy percentage (0-100).\").nullable().optional(),\n duration: z.string().describe(\"Duration of the API request (e.g., '60ms').\").nullable().optional(),\n credits_used: z.number().int().describe(\"Number of API credits used for this request.\").nullable().optional(),\n name_sanitized: z.string().describe(\"The sanitized/capitalized version of the name.\").nullable().optional(),\n country_of_origin: z.array(GenderApiGetCountryOfOriginV1_CountryOriginItemSchema).describe(\"List of possible countries of origin with probability scores, ordered by likelihood.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to a visual map showing the country distribution.\").nullable().optional(),\n}).describe(\"Response model from gender-api.com v1 country of origin endpoint.\");\n\nexport const genderApiGetCountryOfOriginV1 = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN_V1\", {\n slug: \"gender_api-get-country-of-origin-v1\",\n name: \"Get Country of Origin (v1)\",\n description: \"Tool to get the country of origin for a given first name using v1 API. Returns the most likely country where the name is most common.\",\n input: GenderApiGetCountryOfOriginV1Input,\n output: GenderApiGetCountryOfOriginV1Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,EACvH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,wDAAwD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,S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D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
@@ -15,15 +15,15 @@ const GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema = zod
15
15
  }).describe("Request model for retrieving a name's country of origin.\nProvide exactly one of first_name, full_name, or email.");
16
16
  const GenderApiGetCountryOfOrigin_DetailsSchema = zod.z.object({
17
17
  country: zod.z.string().describe("Single best-guess country.").nullable().optional(),
18
- samples: zod.z.number().int().describe("Count of matching records used."),
19
- duration: zod.z.string().describe("Server processing time."),
20
- credits_used: zod.z.number().int().describe("Number of requests charged for this query."),
18
+ samples: zod.z.number().int().describe("Count of matching records used.").nullable(),
19
+ duration: zod.z.string().describe("Server processing time.").nullable(),
20
+ credits_used: zod.z.number().int().describe("Number of requests charged for this query.").nullable(),
21
21
  first_name_sanitized: zod.z.string().describe("Normalized version of the name.").nullable().optional()
22
22
  });
23
23
  const GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema = zod.z.object({
24
- id: zod.z.string().describe("Identifier of the ethnic group."),
25
- name: zod.z.string().describe("Name of the ethnic group."),
26
- percentage: zod.z.number().describe("Percentage share of this ethnic group.")
24
+ id: zod.z.string().describe("Identifier of the ethnic group.").nullable(),
25
+ name: zod.z.string().describe("Name of the ethnic group.").nullable(),
26
+ percentage: zod.z.number().describe("Percentage share of this ethnic group.").nullable()
27
27
  });
28
28
  const GenderApiGetCountryOfOrigin_EthnicitySchema = zod.z.object({
29
29
  id: zod.z.string().describe("Primary ethnic group identifier.").nullable().optional(),
@@ -31,9 +31,9 @@ const GenderApiGetCountryOfOrigin_EthnicitySchema = zod.z.object({
31
31
  distribution: zod.z.array(GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema).describe("Distribution across ethnic groups.").nullable().optional()
32
32
  });
33
33
  const GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema = zod.z.object({
34
- country: zod.z.string().describe("ISO country code."),
35
- probability: zod.z.number().describe("Probability score for this country's origin."),
36
- country_name: zod.z.string().describe("Full country name."),
34
+ country: zod.z.string().describe("ISO country code.").nullable(),
35
+ probability: zod.z.number().describe("Probability score for this country's origin.").nullable(),
36
+ country_name: zod.z.string().describe("Full country name.").nullable(),
37
37
  continental_region: zod.z.string().describe("Continental region name.").nullable().optional(),
38
38
  statistical_region: zod.z.string().describe("Statistical sub-region name.").nullable().optional()
39
39
  });
@@ -45,11 +45,11 @@ const GenderApiGetCountryOfOriginOutput = zod.z.object({
45
45
  ethnicity: GenderApiGetCountryOfOrigin_EthnicitySchema.nullable().optional(),
46
46
  last_name: zod.z.string().describe("Last name extracted from full_name or email, if provided.").nullable().optional(),
47
47
  first_name: zod.z.string().describe("First name used for analysis.").nullable().optional(),
48
- probability: zod.z.number().describe("Overall reliability score (0-1)."),
49
- result_found: zod.z.boolean().describe("Whether a result was found."),
48
+ probability: zod.z.number().describe("Overall reliability score (0-1).").nullable(),
49
+ result_found: zod.z.boolean().describe("Whether a result was found.").nullable(),
50
50
  country_of_origin: zod.z.array(GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema).describe("Top 25 likely countries of origin."),
51
51
  language_of_origin: zod.z.string().describe("Likely language of origin.").nullable().optional(),
52
- country_of_origin_map_url: zod.z.string().describe("URL to interactive map for this name.")
52
+ country_of_origin_map_url: zod.z.string().describe("URL to interactive map for this name.").nullable()
53
53
  });
54
54
  const genderApiGetCountryOfOrigin = require_action.action("GENDER_API_GET_COUNTRY_OF_ORIGIN", {
55
55
  slug: "gender_api-get-country-of-origin",
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin.cjs","names":["z","action"],"sources":["../../src/actions/get-country-of-origin.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").nullable().optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").nullable().optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").nullable().optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_DetailsSchema: z.ZodTypeAny = z.object({\n country: z.string().describe(\"Single best-guess country.\").nullable().optional(),\n samples: z.number().int().describe(\"Count of matching records used.\"),\n duration: z.string().describe(\"Server processing time.\"),\n credits_used: z.number().int().describe(\"Number of requests charged for this query.\"),\n first_name_sanitized: z.string().describe(\"Normalized version of the name.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Identifier of the ethnic group.\"),\n name: z.string().describe(\"Name of the ethnic group.\"),\n percentage: z.number().describe(\"Percentage share of this ethnic group.\"),\n});\nconst GenderApiGetCountryOfOrigin_EthnicitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Primary ethnic group identifier.\").nullable().optional(),\n name: z.string().describe(\"Primary ethnic group name.\").nullable().optional(),\n distribution: z.array(GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema).describe(\"Distribution across ethnic groups.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema: z.ZodTypeAny = z.object({\n country: z.string().describe(\"ISO country code.\"),\n probability: z.number().describe(\"Probability score for this country's origin.\"),\n country_name: z.string().describe(\"Full country name.\"),\n continental_region: z.string().describe(\"Continental region name.\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical sub-region name.\").nullable().optional(),\n});\nexport const GenderApiGetCountryOfOriginOutput: z.ZodTypeAny = z.object({\n input: GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema.nullable(),\n gender: z.string().describe(\"Detected gender: male, female, or unknown.\").nullable().optional(),\n details: GenderApiGetCountryOfOrigin_DetailsSchema.nullable(),\n meaning: z.string().describe(\"Short description of the name's meaning.\").nullable().optional(),\n ethnicity: GenderApiGetCountryOfOrigin_EthnicitySchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted from full_name or email, if provided.\").nullable().optional(),\n first_name: z.string().describe(\"First name used for analysis.\").nullable().optional(),\n probability: z.number().describe(\"Overall reliability score (0-1).\"),\n result_found: z.boolean().describe(\"Whether a result was found.\"),\n country_of_origin: z.array(GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema).describe(\"Top 25 likely countries of origin.\"),\n language_of_origin: z.string().describe(\"Likely language of origin.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to interactive map for this name.\"),\n});\n\nexport const genderApiGetCountryOfOrigin = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN\", {\n slug: \"gender_api-get-country-of-origin\",\n name: \"Get Country of Origin\",\n description: \"Tool to retrieve a name's likely countries of origin. Use after confirming the name identifier.\",\n input: GenderApiGetCountryOfOriginInput,\n output: GenderApiGetCountryOfOriginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS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CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACnE,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;CAChE,mBAAmBA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oCAAoC;CAC/H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AACxF,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-country-of-origin.cjs","names":["z","action"],"sources":["../../src/actions/get-country-of-origin.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginInput = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").nullable().optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").nullable().optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").nullable().optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_DetailsSchema = z.object({\n country: z.string().describe(\"Single best-guess country.\").nullable().optional(),\n samples: z.number().int().describe(\"Count of matching records used.\").nullable(),\n duration: z.string().describe(\"Server processing time.\").nullable(),\n credits_used: z.number().int().describe(\"Number of requests charged for this query.\").nullable(),\n first_name_sanitized: z.string().describe(\"Normalized version of the name.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema = z.object({\n id: z.string().describe(\"Identifier of the ethnic group.\").nullable(),\n name: z.string().describe(\"Name of the ethnic group.\").nullable(),\n percentage: z.number().describe(\"Percentage share of this ethnic group.\").nullable(),\n});\nconst GenderApiGetCountryOfOrigin_EthnicitySchema = z.object({\n id: z.string().describe(\"Primary ethnic group identifier.\").nullable().optional(),\n name: z.string().describe(\"Primary ethnic group name.\").nullable().optional(),\n distribution: z.array(GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema).describe(\"Distribution across ethnic groups.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema = z.object({\n country: z.string().describe(\"ISO country code.\").nullable(),\n probability: z.number().describe(\"Probability score for this country's origin.\").nullable(),\n country_name: z.string().describe(\"Full country name.\").nullable(),\n continental_region: z.string().describe(\"Continental region name.\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical sub-region name.\").nullable().optional(),\n});\nexport const GenderApiGetCountryOfOriginOutput = z.object({\n input: GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema.nullable(),\n gender: z.string().describe(\"Detected gender: male, female, or unknown.\").nullable().optional(),\n details: GenderApiGetCountryOfOrigin_DetailsSchema.nullable(),\n meaning: z.string().describe(\"Short description of the name's meaning.\").nullable().optional(),\n ethnicity: GenderApiGetCountryOfOrigin_EthnicitySchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted from full_name or email, if provided.\").nullable().optional(),\n first_name: z.string().describe(\"First name used for analysis.\").nullable().optional(),\n probability: z.number().describe(\"Overall reliability score (0-1).\").nullable(),\n result_found: z.boolean().describe(\"Whether a result was found.\").nullable(),\n country_of_origin: z.array(GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema).describe(\"Top 25 likely countries of origin.\"),\n language_of_origin: z.string().describe(\"Likely language of origin.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to interactive map for this name.\").nullable(),\n});\n\nexport const genderApiGetCountryOfOrigin = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN\", {\n slug: \"gender_api-get-country-of-origin\",\n name: \"Get Country of Origin\",\n description: \"Tool to retrieve a name's likely countries of origin. Use after confirming the name identifier.\",\n input: GenderApiGetCountryOfOriginInput,\n output: GenderApiGetCountryOfOriginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uEAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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AAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oCAAoC;CAC/H,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACnG,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-country-of-origin.d.ts
4
- declare const GenderApiGetCountryOfOriginInput: z.ZodTypeAny;
5
- declare const GenderApiGetCountryOfOriginOutput: z.ZodTypeAny;
6
- declare const genderApiGetCountryOfOrigin: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GenderApiGetCountryOfOriginInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ full_name: z.ZodOptional<z.ZodString>;
8
+ first_name: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const GenderApiGetCountryOfOriginOutput: z.ZodObject<{
11
+ input: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ details: z.ZodNullable<z.ZodObject<{
19
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ samples: z.ZodNullable<z.ZodNumber>;
21
+ duration: z.ZodNullable<z.ZodString>;
22
+ credits_used: z.ZodNullable<z.ZodNumber>;
23
+ first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>>;
25
+ meaning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ ethnicity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ distribution: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
+ id: z.ZodNullable<z.ZodString>;
31
+ name: z.ZodNullable<z.ZodString>;
32
+ percentage: z.ZodNullable<z.ZodNumber>;
33
+ }, z.core.$strip>>>>;
34
+ }, z.core.$strip>>>;
35
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ probability: z.ZodNullable<z.ZodNumber>;
38
+ result_found: z.ZodNullable<z.ZodBoolean>;
39
+ country_of_origin: z.ZodArray<z.ZodObject<{
40
+ country: z.ZodNullable<z.ZodString>;
41
+ probability: z.ZodNullable<z.ZodNumber>;
42
+ country_name: z.ZodNullable<z.ZodString>;
43
+ continental_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ statistical_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ }, z.core.$strip>>;
46
+ language_of_origin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ country_of_origin_map_url: z.ZodNullable<z.ZodString>;
48
+ }, z.core.$strip>;
49
+ declare const genderApiGetCountryOfOrigin: import("@keystrokehq/action").WorkflowActionDefinition<{
50
+ id?: string | undefined;
51
+ email?: string | undefined;
52
+ full_name?: string | undefined;
53
+ first_name?: string | undefined;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { genderApiGetCountryOfOrigin };
9
57
  //# sourceMappingURL=get-country-of-origin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin.d.cts","names":[],"sources":["../../src/actions/get-country-of-origin.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAK+E;AAAA,cA+BnH,iCAAA,EAAmC,CAAA,CAAE,UAahD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-country-of-origin.d.cts","names":[],"sources":["../../src/actions/get-country-of-origin.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAoChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-country-of-origin.d.ts
4
- declare const GenderApiGetCountryOfOriginInput: z.ZodTypeAny;
5
- declare const GenderApiGetCountryOfOriginOutput: z.ZodTypeAny;
6
- declare const genderApiGetCountryOfOrigin: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GenderApiGetCountryOfOriginInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodString>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ full_name: z.ZodOptional<z.ZodString>;
8
+ first_name: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const GenderApiGetCountryOfOriginOutput: z.ZodObject<{
11
+ input: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ }, z.core.$strip>>;
17
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ details: z.ZodNullable<z.ZodObject<{
19
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ samples: z.ZodNullable<z.ZodNumber>;
21
+ duration: z.ZodNullable<z.ZodString>;
22
+ credits_used: z.ZodNullable<z.ZodNumber>;
23
+ first_name_sanitized: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>>;
25
+ meaning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ ethnicity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ distribution: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
+ id: z.ZodNullable<z.ZodString>;
31
+ name: z.ZodNullable<z.ZodString>;
32
+ percentage: z.ZodNullable<z.ZodNumber>;
33
+ }, z.core.$strip>>>>;
34
+ }, z.core.$strip>>>;
35
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ probability: z.ZodNullable<z.ZodNumber>;
38
+ result_found: z.ZodNullable<z.ZodBoolean>;
39
+ country_of_origin: z.ZodArray<z.ZodObject<{
40
+ country: z.ZodNullable<z.ZodString>;
41
+ probability: z.ZodNullable<z.ZodNumber>;
42
+ country_name: z.ZodNullable<z.ZodString>;
43
+ continental_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ statistical_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ }, z.core.$strip>>;
46
+ language_of_origin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ country_of_origin_map_url: z.ZodNullable<z.ZodString>;
48
+ }, z.core.$strip>;
49
+ declare const genderApiGetCountryOfOrigin: import("@keystrokehq/action").WorkflowActionDefinition<{
50
+ id?: string | undefined;
51
+ email?: string | undefined;
52
+ full_name?: string | undefined;
53
+ first_name?: string | undefined;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { genderApiGetCountryOfOrigin };
9
57
  //# sourceMappingURL=get-country-of-origin.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin.d.mts","names":[],"sources":["../../src/actions/get-country-of-origin.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAK+E;AAAA,cA+BnH,iCAAA,EAAmC,CAAA,CAAE,UAahD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-country-of-origin.d.mts","names":[],"sources":["../../src/actions/get-country-of-origin.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAoChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAejC,2BAAA,gCAA2B,wBAAA"}
@@ -15,15 +15,15 @@ const GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema = z.o
15
15
  }).describe("Request model for retrieving a name's country of origin.\nProvide exactly one of first_name, full_name, or email.");
16
16
  const GenderApiGetCountryOfOrigin_DetailsSchema = z.object({
17
17
  country: z.string().describe("Single best-guess country.").nullable().optional(),
18
- samples: z.number().int().describe("Count of matching records used."),
19
- duration: z.string().describe("Server processing time."),
20
- credits_used: z.number().int().describe("Number of requests charged for this query."),
18
+ samples: z.number().int().describe("Count of matching records used.").nullable(),
19
+ duration: z.string().describe("Server processing time.").nullable(),
20
+ credits_used: z.number().int().describe("Number of requests charged for this query.").nullable(),
21
21
  first_name_sanitized: z.string().describe("Normalized version of the name.").nullable().optional()
22
22
  });
23
23
  const GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema = z.object({
24
- id: z.string().describe("Identifier of the ethnic group."),
25
- name: z.string().describe("Name of the ethnic group."),
26
- percentage: z.number().describe("Percentage share of this ethnic group.")
24
+ id: z.string().describe("Identifier of the ethnic group.").nullable(),
25
+ name: z.string().describe("Name of the ethnic group.").nullable(),
26
+ percentage: z.number().describe("Percentage share of this ethnic group.").nullable()
27
27
  });
28
28
  const GenderApiGetCountryOfOrigin_EthnicitySchema = z.object({
29
29
  id: z.string().describe("Primary ethnic group identifier.").nullable().optional(),
@@ -31,9 +31,9 @@ const GenderApiGetCountryOfOrigin_EthnicitySchema = z.object({
31
31
  distribution: z.array(GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema).describe("Distribution across ethnic groups.").nullable().optional()
32
32
  });
33
33
  const GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema = z.object({
34
- country: z.string().describe("ISO country code."),
35
- probability: z.number().describe("Probability score for this country's origin."),
36
- country_name: z.string().describe("Full country name."),
34
+ country: z.string().describe("ISO country code.").nullable(),
35
+ probability: z.number().describe("Probability score for this country's origin.").nullable(),
36
+ country_name: z.string().describe("Full country name.").nullable(),
37
37
  continental_region: z.string().describe("Continental region name.").nullable().optional(),
38
38
  statistical_region: z.string().describe("Statistical sub-region name.").nullable().optional()
39
39
  });
@@ -50,11 +50,11 @@ const genderApiGetCountryOfOrigin = action("GENDER_API_GET_COUNTRY_OF_ORIGIN", {
50
50
  ethnicity: GenderApiGetCountryOfOrigin_EthnicitySchema.nullable().optional(),
51
51
  last_name: z.string().describe("Last name extracted from full_name or email, if provided.").nullable().optional(),
52
52
  first_name: z.string().describe("First name used for analysis.").nullable().optional(),
53
- probability: z.number().describe("Overall reliability score (0-1)."),
54
- result_found: z.boolean().describe("Whether a result was found."),
53
+ probability: z.number().describe("Overall reliability score (0-1).").nullable(),
54
+ result_found: z.boolean().describe("Whether a result was found.").nullable(),
55
55
  country_of_origin: z.array(GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema).describe("Top 25 likely countries of origin."),
56
56
  language_of_origin: z.string().describe("Likely language of origin.").nullable().optional(),
57
- country_of_origin_map_url: z.string().describe("URL to interactive map for this name.")
57
+ country_of_origin_map_url: z.string().describe("URL to interactive map for this name.").nullable()
58
58
  })
59
59
  });
60
60
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-country-of-origin.mjs","names":[],"sources":["../../src/actions/get-country-of-origin.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").nullable().optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").nullable().optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").nullable().optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_DetailsSchema: z.ZodTypeAny = z.object({\n country: z.string().describe(\"Single best-guess country.\").nullable().optional(),\n samples: z.number().int().describe(\"Count of matching records used.\"),\n duration: z.string().describe(\"Server processing time.\"),\n credits_used: z.number().int().describe(\"Number of requests charged for this query.\"),\n first_name_sanitized: z.string().describe(\"Normalized version of the name.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Identifier of the ethnic group.\"),\n name: z.string().describe(\"Name of the ethnic group.\"),\n percentage: z.number().describe(\"Percentage share of this ethnic group.\"),\n});\nconst GenderApiGetCountryOfOrigin_EthnicitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Primary ethnic group identifier.\").nullable().optional(),\n name: z.string().describe(\"Primary ethnic group name.\").nullable().optional(),\n distribution: z.array(GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema).describe(\"Distribution across ethnic groups.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema: z.ZodTypeAny = z.object({\n country: z.string().describe(\"ISO country code.\"),\n probability: z.number().describe(\"Probability score for this country's origin.\"),\n country_name: z.string().describe(\"Full country name.\"),\n continental_region: z.string().describe(\"Continental region name.\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical sub-region name.\").nullable().optional(),\n});\nexport const GenderApiGetCountryOfOriginOutput: z.ZodTypeAny = z.object({\n input: GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema.nullable(),\n gender: z.string().describe(\"Detected gender: male, female, or unknown.\").nullable().optional(),\n details: GenderApiGetCountryOfOrigin_DetailsSchema.nullable(),\n meaning: z.string().describe(\"Short description of the name's meaning.\").nullable().optional(),\n ethnicity: GenderApiGetCountryOfOrigin_EthnicitySchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted from full_name or email, if provided.\").nullable().optional(),\n first_name: z.string().describe(\"First name used for analysis.\").nullable().optional(),\n probability: z.number().describe(\"Overall reliability score (0-1).\"),\n result_found: z.boolean().describe(\"Whether a result was found.\"),\n country_of_origin: z.array(GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema).describe(\"Top 25 likely countries of origin.\"),\n language_of_origin: z.string().describe(\"Likely language of origin.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to interactive map for this name.\"),\n});\n\nexport const genderApiGetCountryOfOrigin = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN\", {\n slug: \"gender_api-get-country-of-origin\",\n name: \"Get Country of Origin\",\n description: \"Tool to retrieve a name's likely countries of origin. Use after confirming the name identifier.\",\n input: GenderApiGetCountryOfOriginInput,\n output: GenderApiGetCountryOfOriginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uEAAqF,EAAE,OAAO;CAClG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,4CAA0D,EAAE,OAAO;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACpE,UAAU,EA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Q,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,SAAS,0CAA0C,SAAS;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACnE,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B;EAChE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,oCAAoC;EAC/H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACxF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-country-of-origin.mjs","names":[],"sources":["../../src/actions/get-country-of-origin.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetCountryOfOriginInput = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema = z.object({\n id: z.string().describe(\"Client-defined request ID for correlation (max 50 chars).\").nullable().optional(),\n email: z.string().describe(\"Email address to query; can be provided instead of first_name.\").nullable().optional(),\n full_name: z.string().describe(\"Full name to query; can be provided instead of first_name.\").nullable().optional(),\n first_name: z.string().describe(\"First name to query. Required if full_name and email are not provided.\").nullable().optional(),\n}).describe(\"Request model for retrieving a name's country of origin.\\nProvide exactly one of first_name, full_name, or email.\");\nconst GenderApiGetCountryOfOrigin_DetailsSchema = z.object({\n country: z.string().describe(\"Single best-guess country.\").nullable().optional(),\n samples: z.number().int().describe(\"Count of matching records used.\").nullable(),\n duration: z.string().describe(\"Server processing time.\").nullable(),\n credits_used: z.number().int().describe(\"Number of requests charged for this query.\").nullable(),\n first_name_sanitized: z.string().describe(\"Normalized version of the name.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema = z.object({\n id: z.string().describe(\"Identifier of the ethnic group.\").nullable(),\n name: z.string().describe(\"Name of the ethnic group.\").nullable(),\n percentage: z.number().describe(\"Percentage share of this ethnic group.\").nullable(),\n});\nconst GenderApiGetCountryOfOrigin_EthnicitySchema = z.object({\n id: z.string().describe(\"Primary ethnic group identifier.\").nullable().optional(),\n name: z.string().describe(\"Primary ethnic group name.\").nullable().optional(),\n distribution: z.array(GenderApiGetCountryOfOrigin_EthnicityDistributionItemSchema).describe(\"Distribution across ethnic groups.\").nullable().optional(),\n});\nconst GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema = z.object({\n country: z.string().describe(\"ISO country code.\").nullable(),\n probability: z.number().describe(\"Probability score for this country's origin.\").nullable(),\n country_name: z.string().describe(\"Full country name.\").nullable(),\n continental_region: z.string().describe(\"Continental region name.\").nullable().optional(),\n statistical_region: z.string().describe(\"Statistical sub-region name.\").nullable().optional(),\n});\nexport const GenderApiGetCountryOfOriginOutput = z.object({\n input: GenderApiGetCountryOfOrigin_GenderApiGetCountryOfOriginRequestSchema.nullable(),\n gender: z.string().describe(\"Detected gender: male, female, or unknown.\").nullable().optional(),\n details: GenderApiGetCountryOfOrigin_DetailsSchema.nullable(),\n meaning: z.string().describe(\"Short description of the name's meaning.\").nullable().optional(),\n ethnicity: GenderApiGetCountryOfOrigin_EthnicitySchema.nullable().optional(),\n last_name: z.string().describe(\"Last name extracted from full_name or email, if provided.\").nullable().optional(),\n first_name: z.string().describe(\"First name used for analysis.\").nullable().optional(),\n probability: z.number().describe(\"Overall reliability score (0-1).\").nullable(),\n result_found: z.boolean().describe(\"Whether a result was found.\").nullable(),\n country_of_origin: z.array(GenderApiGetCountryOfOrigin_CountryOfOriginItemSchema).describe(\"Top 25 likely countries of origin.\"),\n language_of_origin: z.string().describe(\"Likely language of origin.\").nullable().optional(),\n country_of_origin_map_url: z.string().describe(\"URL to interactive map for this name.\").nullable(),\n});\n\nexport const genderApiGetCountryOfOrigin = action(\"GENDER_API_GET_COUNTRY_OF_ORIGIN\", {\n slug: \"gender_api-get-country-of-origin\",\n name: \"Get Country of Origin\",\n description: \"Tool to retrieve a name's likely countries of origin. Use after confirming the name identifier.\",\n input: GenderApiGetCountryOfOriginInput,\n output: GenderApiGetCountryOfOriginOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uEAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,C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OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,2BAA2B,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACnG,CAOU;AACV,CAAC"}
@@ -3,18 +3,18 @@ let zod = require("zod");
3
3
  //#region src/actions/get-statistic.ts
4
4
  const GenderApiGetStatisticInput = zod.z.object({}).describe("Request model for GET /v2/statistic - no parameters.");
5
5
  const GenderApiGetStatistic_StatisticDetailsSchema = zod.z.object({
6
- duration: zod.z.string().describe("Server processing time for this query, e.g., '83ms'."),
7
- credits_used: zod.z.number().int().describe("Requests consumed by this query.")
6
+ duration: zod.z.string().describe("Server processing time for this query, e.g., '83ms'.").nullable(),
7
+ credits_used: zod.z.number().int().describe("Requests consumed by this query.").nullable()
8
8
  });
9
9
  const GenderApiGetStatistic_UsageLastMonthSchema = zod.z.object({
10
- date: zod.z.string().describe("Month of usage in 'YYYY-MM' format."),
11
- credits_used: zod.z.number().int().describe("Requests used last month.")
10
+ date: zod.z.string().describe("Month of usage in 'YYYY-MM' format.").nullable(),
11
+ credits_used: zod.z.number().int().describe("Requests used last month.").nullable()
12
12
  });
13
13
  const GenderApiGetStatisticOutput = zod.z.object({
14
14
  details: GenderApiGetStatistic_StatisticDetailsSchema.nullable(),
15
- is_limit_reached: zod.z.boolean().describe("True if no requests left."),
15
+ is_limit_reached: zod.z.boolean().describe("True if no requests left.").nullable(),
16
16
  usage_last_month: GenderApiGetStatistic_UsageLastMonthSchema.nullable(),
17
- remaining_credits: zod.z.number().int().describe("Number of requests left.")
17
+ remaining_credits: zod.z.number().int().describe("Number of requests left.").nullable()
18
18
  });
19
19
  const genderApiGetStatistic = require_action.action("GENDER_API_GET_STATISTIC", {
20
20
  slug: "gender_api-get-statistic",
@@ -1 +1 @@
1
- {"version":3,"file":"get-statistic.cjs","names":["z","action"],"sources":["../../src/actions/get-statistic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetStatisticInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v2/statistic - no parameters.\");\nconst GenderApiGetStatistic_StatisticDetailsSchema: z.ZodTypeAny = z.object({\n duration: z.string().describe(\"Server processing time for this query, e.g., '83ms'.\"),\n credits_used: z.number().int().describe(\"Requests consumed by this query.\"),\n});\nconst GenderApiGetStatistic_UsageLastMonthSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Month of usage in 'YYYY-MM' format.\"),\n credits_used: z.number().int().describe(\"Requests used last month.\"),\n});\nexport const GenderApiGetStatisticOutput: z.ZodTypeAny = z.object({\n details: GenderApiGetStatistic_StatisticDetailsSchema.nullable(),\n is_limit_reached: z.boolean().describe(\"True if no requests left.\"),\n usage_last_month: GenderApiGetStatistic_UsageLastMonthSchema.nullable(),\n remaining_credits: z.number().int().describe(\"Number of requests left.\"),\n});\n\nexport const genderApiGetStatistic = action(\"GENDER_API_GET_STATISTIC\", {\n slug: \"gender_api-get-statistic\",\n name: \"Get Gender API Statistics\",\n description: \"Tool to retrieve account statistics from Gender-API, including remaining credits and usage details. Use when you need to check your credit balance before performing further gender lookups.\",\n input: GenderApiGetStatisticInput,\n output: GenderApiGetStatisticOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACpI,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;AAC5E,CAAC;AACD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;AACrE,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAAS,6CAA6C,SAAS;CAC/D,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B;CAClE,kBAAkB,2CAA2C,SAAS;CACtE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;AACzE,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-statistic.cjs","names":["z","action"],"sources":["../../src/actions/get-statistic.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderApiGetStatisticInput = z.object({}).describe(\"Request model for GET /v2/statistic - no parameters.\");\nconst GenderApiGetStatistic_StatisticDetailsSchema = z.object({\n duration: z.string().describe(\"Server processing time for this query, e.g., '83ms'.\").nullable(),\n credits_used: z.number().int().describe(\"Requests consumed by this query.\").nullable(),\n});\nconst GenderApiGetStatistic_UsageLastMonthSchema = z.object({\n date: z.string().describe(\"Month of usage in 'YYYY-MM' format.\").nullable(),\n credits_used: z.number().int().describe(\"Requests used last month.\").nullable(),\n});\nexport const GenderApiGetStatisticOutput = z.object({\n details: GenderApiGetStatistic_StatisticDetailsSchema.nullable(),\n is_limit_reached: z.boolean().describe(\"True if no requests left.\").nullable(),\n usage_last_month: GenderApiGetStatistic_UsageLastMonthSchema.nullable(),\n remaining_credits: z.number().int().describe(\"Number of requests left.\").nullable(),\n});\n\nexport const genderApiGetStatistic = action(\"GENDER_API_GET_STATISTIC\", {\n slug: \"gender_api-get-statistic\",\n name: \"Get Gender API Statistics\",\n description: \"Tool to retrieve account statistics from Gender-API, including remaining credits and usage details. Use when you need to check your credit balance before performing further gender lookups.\",\n input: GenderApiGetStatisticInput,\n output: GenderApiGetStatisticOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD;AACtH,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACvF,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAAS,6CAA6C,SAAS;CAC/D,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC7E,kBAAkB,2CAA2C,SAAS;CACtE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACpF,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-statistic.d.ts
4
- declare const GenderApiGetStatisticInput: z.ZodTypeAny;
5
- declare const GenderApiGetStatisticOutput: z.ZodTypeAny;
6
- declare const genderApiGetStatistic: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GenderApiGetStatisticInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const GenderApiGetStatisticOutput: z.ZodObject<{
6
+ details: z.ZodNullable<z.ZodObject<{
7
+ duration: z.ZodNullable<z.ZodString>;
8
+ credits_used: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$strip>>;
10
+ is_limit_reached: z.ZodNullable<z.ZodBoolean>;
11
+ usage_last_month: z.ZodNullable<z.ZodObject<{
12
+ date: z.ZodNullable<z.ZodString>;
13
+ credits_used: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$strip>>;
15
+ remaining_credits: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$strip>;
17
+ declare const genderApiGetStatistic: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { genderApiGetStatistic };
9
20
  //# sourceMappingURL=get-statistic.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-statistic.d.cts","names":[],"sources":["../../src/actions/get-statistic.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA0F;AAAA,cASxH,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-statistic.d.cts","names":[],"sources":["../../src/actions/get-statistic.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-statistic.d.ts
4
- declare const GenderApiGetStatisticInput: z.ZodTypeAny;
5
- declare const GenderApiGetStatisticOutput: z.ZodTypeAny;
6
- declare const genderApiGetStatistic: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const GenderApiGetStatisticInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const GenderApiGetStatisticOutput: z.ZodObject<{
6
+ details: z.ZodNullable<z.ZodObject<{
7
+ duration: z.ZodNullable<z.ZodString>;
8
+ credits_used: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$strip>>;
10
+ is_limit_reached: z.ZodNullable<z.ZodBoolean>;
11
+ usage_last_month: z.ZodNullable<z.ZodObject<{
12
+ date: z.ZodNullable<z.ZodString>;
13
+ credits_used: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$strip>>;
15
+ remaining_credits: z.ZodNullable<z.ZodNumber>;
16
+ }, z.core.$strip>;
17
+ declare const genderApiGetStatistic: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { genderApiGetStatistic };
9
20
  //# sourceMappingURL=get-statistic.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-statistic.d.mts","names":[],"sources":["../../src/actions/get-statistic.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA0F;AAAA,cASxH,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-statistic.d.mts","names":[],"sources":["../../src/actions/get-statistic.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}