@keystrokehq/genderize 0.1.2 → 0.1.4

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.
@@ -12,7 +12,7 @@ const GenderizePredictGenderOutput = zod.z.object({
12
12
  error: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
13
13
  gender: zod.z.string().describe("Predicted gender ('male' or 'female').").nullable().optional(),
14
14
  probability: zod.z.number().describe("Prediction confidence, between 0.0 and 1.0.").nullable().optional()
15
- });
15
+ }).passthrough();
16
16
  const genderizePredictGender = require_action.action("GENDERIZE_PREDICT_GENDER", {
17
17
  slug: "genderize-predict-gender",
18
18
  name: "Predict Gender",
@@ -1 +1 @@
1
- {"version":3,"file":"predict-gender.cjs","names":["z","action"],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n});\n\nexport const genderizePredictGender = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"predict-gender.cjs","names":["z","action"],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n}).passthrough();\n\nexport const genderizePredictGender = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const GenderizePredictGenderOutput: z.ZodObject<{
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const genderizePredictGender: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  name: string;
18
18
  apikey?: string | undefined;
@@ -12,7 +12,7 @@ declare const GenderizePredictGenderOutput: z.ZodObject<{
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const genderizePredictGender: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  name: string;
18
18
  apikey?: string | undefined;
@@ -15,7 +15,7 @@ const genderizePredictGender = action("GENDERIZE_PREDICT_GENDER", {
15
15
  error: z.string().describe("Error message if the request failed.").nullable().optional(),
16
16
  gender: z.string().describe("Predicted gender ('male' or 'female').").nullable().optional(),
17
17
  probability: z.number().describe("Prediction confidence, between 0.0 and 1.0.").nullable().optional()
18
- })
18
+ }).passthrough()
19
19
  });
20
20
  //#endregion
21
21
  export { genderizePredictGender };
@@ -1 +1 @@
1
- {"version":3,"file":"predict-gender.mjs","names":[],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n});\n\nexport const genderizePredictGender = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,CAaS;CACP,QAb0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"predict-gender.mjs","names":[],"sources":["../../src/actions/predict-gender.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GenderizePredictGenderInput = z.object({\n name: z.string().describe(\"First name to classify. Must be a single given name.\"),\n apikey: z.string().describe(\"API key for higher rate limits.\").optional(),\n country_id: z.string().describe(\"ISO 3166-1 alpha-2 country code to localize prediction (e.g., 'US').\").optional(),\n});\nexport const GenderizePredictGenderOutput = z.object({\n name: z.string().describe(\"Processed name from the API.\").nullable(),\n count: z.number().int().describe(\"Number of data points used for the prediction.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n gender: z.string().describe(\"Predicted gender ('male' or 'female').\").nullable().optional(),\n probability: z.number().describe(\"Prediction confidence, between 0.0 and 1.0.\").nullable().optional(),\n}).passthrough();\n\nexport const genderizePredictGender = action(\"GENDERIZE_PREDICT_GENDER\", {\n slug: \"genderize-predict-gender\",\n name: \"Predict Gender\",\n description: \"Tool to predict gender from a given first name. Use when you need a quick gender estimation possibly localized by country code.\",\n input: GenderizePredictGenderInput,\n output: GenderizePredictGenderOutput,\n});\n"],"mappings":";;AAiBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,CAaS;CACP,QAb0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const genderizeCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/genderize",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Genderize API Key",
13
13
  "secret": true,
14
14
  "description": "The API key obtained from Genderize.io for authentication."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderizeCatalog = {\n \"slug\": \"genderize\",\n \"name\": \"Genderize\",\n \"description\": \"Genderize is an API that predicts the gender of a person based on their first name, providing statistical probabilities for male or female classifications.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/genderize\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Genderize API Key\",\n \"secret\": true,\n \"description\": \"The API key obtained from Genderize.io for authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderizeCatalog = {\n \"slug\": \"genderize\",\n \"name\": \"Genderize\",\n \"description\": \"Genderize is an API that predicts the gender of a person based on their first name, providing statistical probabilities for male or female classifications.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/genderize\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Genderize API Key\",\n \"secret\": true,\n \"description\": \"The API key obtained from Genderize.io for authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const genderizeCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Genderize API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key obtained from Genderize.io for authentication.";
@@ -9,7 +9,7 @@ declare const genderizeCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Genderize API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key obtained from Genderize.io for authentication.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const genderizeCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/genderize",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Genderize API Key",
13
13
  "secret": true,
14
14
  "description": "The API key obtained from Genderize.io for authentication."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderizeCatalog = {\n \"slug\": \"genderize\",\n \"name\": \"Genderize\",\n \"description\": \"Genderize is an API that predicts the gender of a person based on their first name, providing statistical probabilities for male or female classifications.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/genderize\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Genderize API Key\",\n \"secret\": true,\n \"description\": \"The API key obtained from Genderize.io for authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const genderizeCatalog = {\n \"slug\": \"genderize\",\n \"name\": \"Genderize\",\n \"description\": \"Genderize is an API that predicts the gender of a person based on their first name, providing statistical probabilities for male or female classifications.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/genderize\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Genderize API Key\",\n \"secret\": true,\n \"description\": \"The API key obtained from Genderize.io for authentication.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/genderize",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"