@keystrokehq/_2chat 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-contact.cjs +11 -11
  4. package/dist/actions/create-contact.cjs.map +1 -1
  5. package/dist/actions/create-contact.d.cts +61 -3
  6. package/dist/actions/create-contact.d.cts.map +1 -1
  7. package/dist/actions/create-contact.d.mts +61 -3
  8. package/dist/actions/create-contact.d.mts.map +1 -1
  9. package/dist/actions/create-contact.mjs +11 -11
  10. package/dist/actions/create-contact.mjs.map +1 -1
  11. package/dist/actions/get-api-usage-info.cjs +12 -12
  12. package/dist/actions/get-api-usage-info.cjs.map +1 -1
  13. package/dist/actions/get-api-usage-info.d.cts +41 -3
  14. package/dist/actions/get-api-usage-info.d.cts.map +1 -1
  15. package/dist/actions/get-api-usage-info.d.mts +41 -3
  16. package/dist/actions/get-api-usage-info.d.mts.map +1 -1
  17. package/dist/actions/get-api-usage-info.mjs +12 -12
  18. package/dist/actions/get-api-usage-info.mjs.map +1 -1
  19. package/dist/actions/list-contacts.cjs +14 -14
  20. package/dist/actions/list-contacts.cjs.map +1 -1
  21. package/dist/actions/list-contacts.d.cts +49 -3
  22. package/dist/actions/list-contacts.d.cts.map +1 -1
  23. package/dist/actions/list-contacts.d.mts +49 -3
  24. package/dist/actions/list-contacts.d.mts.map +1 -1
  25. package/dist/actions/list-contacts.mjs +14 -14
  26. package/dist/actions/list-contacts.mjs.map +1 -1
  27. package/dist/actions/list-webhooks.cjs +7 -7
  28. package/dist/actions/list-webhooks.cjs.map +1 -1
  29. package/dist/actions/list-webhooks.d.cts +27 -3
  30. package/dist/actions/list-webhooks.d.cts.map +1 -1
  31. package/dist/actions/list-webhooks.d.mts +27 -3
  32. package/dist/actions/list-webhooks.d.mts.map +1 -1
  33. package/dist/actions/list-webhooks.mjs +7 -7
  34. package/dist/actions/list-webhooks.mjs.map +1 -1
  35. package/dist/actions/test-api-key.cjs +12 -12
  36. package/dist/actions/test-api-key.cjs.map +1 -1
  37. package/dist/actions/test-api-key.d.cts +41 -3
  38. package/dist/actions/test-api-key.d.cts.map +1 -1
  39. package/dist/actions/test-api-key.d.mts +41 -3
  40. package/dist/actions/test-api-key.d.mts.map +1 -1
  41. package/dist/actions/test-api-key.mjs +12 -12
  42. package/dist/actions/test-api-key.mjs.map +1 -1
  43. package/dist/catalog.cjs +7 -1
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +8 -0
  46. package/dist/catalog.d.mts +8 -0
  47. package/dist/catalog.mjs +7 -1
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["_2chat","execute_2chatTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { _2chat } from \"./app\";\nimport { execute_2chatTool } 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 _2chat.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 execute_2chatTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,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,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["_2chat","execute_2chatTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { _2chat } from \"./app\";\nimport { execute_2chatTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return _2chat.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 execute_2chatTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,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,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { _2chat } from \"./app\";\nimport { execute_2chatTool } 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 _2chat.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 execute_2chatTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { _2chat } from \"./app\";\nimport { execute_2chatTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<\n TInput extends z.ZodType,\n TOutput extends z.ZodType,\n>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n) {\n return _2chat.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 execute_2chatTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OAId,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -17,25 +17,25 @@ const _2chatCreateContactInput = zod.z.object({
17
17
  }).describe("Request schema for creating a new 2Chat contact.");
18
18
  const _2chatCreateContactOutput = zod.z.object({
19
19
  contact: zod.z.object({
20
- uuid: zod.z.string().describe("Unique identifier of the contact"),
20
+ uuid: zod.z.string().describe("Unique identifier of the contact").nullable(),
21
21
  details: zod.z.array(zod.z.object({
22
- id: zod.z.number().int().describe("Unique ID of the detail entry"),
22
+ id: zod.z.number().int().describe("Unique ID of the detail entry").nullable(),
23
23
  type: zod.z.enum([
24
24
  "E",
25
25
  "A",
26
26
  "PH",
27
27
  "WAPH"
28
- ]).describe("Type code of the detail entry"),
29
- value: zod.z.string().describe("Value of the detail entry"),
30
- created_at: zod.z.number().int().describe("Creation timestamp (epoch seconds)"),
31
- updated_at: zod.z.number().int().describe("Last update timestamp (epoch seconds)")
28
+ ]).describe("Type code of the detail entry").nullable(),
29
+ value: zod.z.string().describe("Value of the detail entry").nullable(),
30
+ created_at: zod.z.number().int().describe("Creation timestamp (epoch seconds)").nullable(),
31
+ updated_at: zod.z.number().int().describe("Last update timestamp (epoch seconds)").nullable()
32
32
  })).describe("List of detail entries for the contact"),
33
- last_name: zod.z.string().describe("Last name of the contact").nullable().optional(),
34
- first_name: zod.z.string().describe("First name of the contact"),
35
- channel_uuid: zod.z.string().describe("Channel UUID, if assigned").nullable().optional(),
36
- profile_pic_url: zod.z.string().describe("URL of the contact's profile picture").nullable().optional()
33
+ last_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Last name of the contact").optional()),
34
+ first_name: zod.z.string().describe("First name of the contact").nullable(),
35
+ channel_uuid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Channel UUID, if assigned").optional()),
36
+ profile_pic_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL of the contact's profile picture").optional())
37
37
  }).describe("The newly created contact object"),
38
- success: zod.z.boolean().describe("Indicates if the request was successful")
38
+ success: zod.z.boolean().describe("Indicates if the request was successful").nullable()
39
39
  }).describe("Data from the action execution");
40
40
  const _2chatCreateContact = require_action.action("_2CHAT_CREATE_CONTACT", {
41
41
  slug: "_2chat-create-contact",
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatCreateContactInput: z.ZodTypeAny = z.object({\n last_name: z.string().describe(\"Last name of the new contact\").optional(),\n first_name: z.string().describe(\"First name of the new contact\"),\n contact_detail: z.array(z.object({\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type of contact detail: E=email, A=address, PH=phone, WAPH=WhatsApp phone\"),\n value: z.string().describe(\"Value of the contact detail. For phone numbers use international format; for email use a valid address\"),\n}).describe(\"A single contact detail entry, like an email or phone number.\")).describe(\"A list of contact detail entries; at least one entry is required\"),\n profile_pic_url: z.string().describe(\"Publicly accessible URL of the contact's profile picture\").optional(),\n}).describe(\"Request schema for creating a new 2Chat contact.\");\nexport const _2chatCreateContactOutput: z.ZodTypeAny = z.object({\n contact: z.object({\n uuid: z.string().describe(\"Unique identifier of the contact\"),\n details: z.array(z.object({\n id: z.number().int().describe(\"Unique ID of the detail entry\"),\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type code of the detail entry\"),\n value: z.string().describe(\"Value of the detail entry\"),\n created_at: z.number().int().describe(\"Creation timestamp (epoch seconds)\"),\n updated_at: z.number().int().describe(\"Last update timestamp (epoch seconds)\"),\n})).describe(\"List of detail entries for the contact\"),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\"),\n channel_uuid: z.string().describe(\"Channel UUID, if assigned\").nullable().optional(),\n profile_pic_url: z.string().describe(\"URL of the contact's profile picture\").nullable().optional(),\n}).describe(\"The newly created contact object\"),\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatCreateContact = action(\"_2CHAT_CREATE_CONTACT\", {\n slug: \"_2chat-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your 2Chat account. Use after gathering and verifying first name and at least one contact detail (email, phone, or address).\",\n input: _2chatCreateContactInput,\n output: _2chatCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACjC,MAAMA,IAAAA,EAAE,KAAK;GAAC;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S,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,kCAAkC;CAC5C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;AACzE,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAE5C,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatCreateContactInput = z.object({\n last_name: z.string().describe(\"Last name of the new contact\").optional(),\n first_name: z.string().describe(\"First name of the new contact\"),\n contact_detail: z.array(z.object({\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type of contact detail: E=email, A=address, PH=phone, WAPH=WhatsApp phone\"),\n value: z.string().describe(\"Value of the contact detail. For phone numbers use international format; for email use a valid address\"),\n}).describe(\"A single contact detail entry, like an email or phone number.\")).describe(\"A list of contact detail entries; at least one entry is required\"),\n profile_pic_url: z.string().describe(\"Publicly accessible URL of the contact's profile picture\").optional(),\n}).describe(\"Request schema for creating a new 2Chat contact.\");\nexport const _2chatCreateContactOutput = z.object({\n contact: z.object({\n uuid: z.string().describe(\"Unique identifier of the contact\").nullable(),\n details: z.array(z.object({\n id: z.number().int().describe(\"Unique ID of the detail entry\").nullable(),\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type code of the detail entry\").nullable(),\n value: z.string().describe(\"Value of the detail entry\").nullable(),\n created_at: z.number().int().describe(\"Creation timestamp (epoch seconds)\").nullable(),\n updated_at: z.number().int().describe(\"Last update timestamp (epoch seconds)\").nullable(),\n})).describe(\"List of detail entries for the contact\"),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name of the contact\").optional()),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n channel_uuid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Channel UUID, if assigned\").optional()),\n profile_pic_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the contact's profile picture\").optional()),\n}).describe(\"The newly created contact object\"),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatCreateContact = action(\"_2CHAT_CREATE_CONTACT\", {\n slug: \"_2chat-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your 2Chat account. Use after gathering and verifying first name and at least one contact detail (email, phone, or address).\",\n input: _2chatCreateContactInput,\n output: _2chatCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACjC,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAK;GAAK;GAAM;EAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E;EAC3H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;CACrI,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,kEAAkE;CACvJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAA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AM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,67 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact.d.ts
4
- declare const _2chatCreateContactInput: z.ZodTypeAny;
5
- declare const _2chatCreateContactOutput: z.ZodTypeAny;
6
- declare const _2chatCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const _2chatCreateContactInput: z.ZodObject<{
5
+ last_name: z.ZodOptional<z.ZodString>;
6
+ first_name: z.ZodString;
7
+ contact_detail: z.ZodArray<z.ZodObject<{
8
+ type: z.ZodEnum<{
9
+ E: "E";
10
+ A: "A";
11
+ PH: "PH";
12
+ WAPH: "WAPH";
13
+ }>;
14
+ value: z.ZodString;
15
+ }, z.core.$strip>>;
16
+ profile_pic_url: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const _2chatCreateContactOutput: z.ZodObject<{
19
+ contact: z.ZodObject<{
20
+ uuid: z.ZodNullable<z.ZodString>;
21
+ details: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodNullable<z.ZodNumber>;
23
+ type: z.ZodNullable<z.ZodEnum<{
24
+ E: "E";
25
+ A: "A";
26
+ PH: "PH";
27
+ WAPH: "WAPH";
28
+ }>>;
29
+ value: z.ZodNullable<z.ZodString>;
30
+ created_at: z.ZodNullable<z.ZodNumber>;
31
+ updated_at: z.ZodNullable<z.ZodNumber>;
32
+ }, z.core.$strip>>;
33
+ last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ first_name: z.ZodNullable<z.ZodString>;
35
+ channel_uuid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
+ profile_pic_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
+ }, z.core.$strip>;
38
+ success: z.ZodNullable<z.ZodBoolean>;
39
+ }, z.core.$strip>;
40
+ declare const _2chatCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ first_name: string;
42
+ contact_detail: {
43
+ type: "E" | "A" | "PH" | "WAPH";
44
+ value: string;
45
+ }[];
46
+ last_name?: string | undefined;
47
+ profile_pic_url?: string | undefined;
48
+ }, {
49
+ contact: {
50
+ uuid: string | null;
51
+ details: {
52
+ id: number | null;
53
+ type: "E" | "A" | "PH" | "WAPH" | null;
54
+ value: string | null;
55
+ created_at: number | null;
56
+ updated_at: number | null;
57
+ }[];
58
+ first_name: string | null;
59
+ last_name?: string | undefined;
60
+ channel_uuid?: string | undefined;
61
+ profile_pic_url?: string | undefined;
62
+ };
63
+ success: boolean | null;
64
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
65
  //#endregion
8
66
  export { _2chatCreateContact };
9
67
  //# sourceMappingURL=create-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQsB;AAAA,cAClD,yBAAA,EAA2B,CAAA,CAAE,UAgBG;AAAA,cAEhC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cASxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,67 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-contact.d.ts
4
- declare const _2chatCreateContactInput: z.ZodTypeAny;
5
- declare const _2chatCreateContactOutput: z.ZodTypeAny;
6
- declare const _2chatCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const _2chatCreateContactInput: z.ZodObject<{
5
+ last_name: z.ZodOptional<z.ZodString>;
6
+ first_name: z.ZodString;
7
+ contact_detail: z.ZodArray<z.ZodObject<{
8
+ type: z.ZodEnum<{
9
+ E: "E";
10
+ A: "A";
11
+ PH: "PH";
12
+ WAPH: "WAPH";
13
+ }>;
14
+ value: z.ZodString;
15
+ }, z.core.$strip>>;
16
+ profile_pic_url: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const _2chatCreateContactOutput: z.ZodObject<{
19
+ contact: z.ZodObject<{
20
+ uuid: z.ZodNullable<z.ZodString>;
21
+ details: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodNullable<z.ZodNumber>;
23
+ type: z.ZodNullable<z.ZodEnum<{
24
+ E: "E";
25
+ A: "A";
26
+ PH: "PH";
27
+ WAPH: "WAPH";
28
+ }>>;
29
+ value: z.ZodNullable<z.ZodString>;
30
+ created_at: z.ZodNullable<z.ZodNumber>;
31
+ updated_at: z.ZodNullable<z.ZodNumber>;
32
+ }, z.core.$strip>>;
33
+ last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
34
+ first_name: z.ZodNullable<z.ZodString>;
35
+ channel_uuid: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
36
+ profile_pic_url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
37
+ }, z.core.$strip>;
38
+ success: z.ZodNullable<z.ZodBoolean>;
39
+ }, z.core.$strip>;
40
+ declare const _2chatCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ first_name: string;
42
+ contact_detail: {
43
+ type: "E" | "A" | "PH" | "WAPH";
44
+ value: string;
45
+ }[];
46
+ last_name?: string | undefined;
47
+ profile_pic_url?: string | undefined;
48
+ }, {
49
+ contact: {
50
+ uuid: string | null;
51
+ details: {
52
+ id: number | null;
53
+ type: "E" | "A" | "PH" | "WAPH" | null;
54
+ value: string | null;
55
+ created_at: number | null;
56
+ updated_at: number | null;
57
+ }[];
58
+ first_name: string | null;
59
+ last_name?: string | undefined;
60
+ channel_uuid?: string | undefined;
61
+ profile_pic_url?: string | undefined;
62
+ };
63
+ success: boolean | null;
64
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
65
  //#endregion
8
66
  export { _2chatCreateContact };
9
67
  //# sourceMappingURL=create-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAQsB;AAAA,cAClD,yBAAA,EAA2B,CAAA,CAAE,UAgBG;AAAA,cAEhC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cASxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,gCAAmB,wBAAA"}
@@ -20,25 +20,25 @@ const _2chatCreateContact = action("_2CHAT_CREATE_CONTACT", {
20
20
  }).describe("Request schema for creating a new 2Chat contact."),
21
21
  output: z.object({
22
22
  contact: z.object({
23
- uuid: z.string().describe("Unique identifier of the contact"),
23
+ uuid: z.string().describe("Unique identifier of the contact").nullable(),
24
24
  details: z.array(z.object({
25
- id: z.number().int().describe("Unique ID of the detail entry"),
25
+ id: z.number().int().describe("Unique ID of the detail entry").nullable(),
26
26
  type: z.enum([
27
27
  "E",
28
28
  "A",
29
29
  "PH",
30
30
  "WAPH"
31
- ]).describe("Type code of the detail entry"),
32
- value: z.string().describe("Value of the detail entry"),
33
- created_at: z.number().int().describe("Creation timestamp (epoch seconds)"),
34
- updated_at: z.number().int().describe("Last update timestamp (epoch seconds)")
31
+ ]).describe("Type code of the detail entry").nullable(),
32
+ value: z.string().describe("Value of the detail entry").nullable(),
33
+ created_at: z.number().int().describe("Creation timestamp (epoch seconds)").nullable(),
34
+ updated_at: z.number().int().describe("Last update timestamp (epoch seconds)").nullable()
35
35
  })).describe("List of detail entries for the contact"),
36
- last_name: z.string().describe("Last name of the contact").nullable().optional(),
37
- first_name: z.string().describe("First name of the contact"),
38
- channel_uuid: z.string().describe("Channel UUID, if assigned").nullable().optional(),
39
- profile_pic_url: z.string().describe("URL of the contact's profile picture").nullable().optional()
36
+ last_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last name of the contact").optional()),
37
+ first_name: z.string().describe("First name of the contact").nullable(),
38
+ channel_uuid: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Channel UUID, if assigned").optional()),
39
+ profile_pic_url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("URL of the contact's profile picture").optional())
40
40
  }).describe("The newly created contact object"),
41
- success: z.boolean().describe("Indicates if the request was successful")
41
+ success: z.boolean().describe("Indicates if the request was successful").nullable()
42
42
  }).describe("Data from the action execution")
43
43
  });
44
44
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatCreateContactInput: z.ZodTypeAny = z.object({\n last_name: z.string().describe(\"Last name of the new contact\").optional(),\n first_name: z.string().describe(\"First name of the new contact\"),\n contact_detail: z.array(z.object({\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type of contact detail: E=email, A=address, PH=phone, WAPH=WhatsApp phone\"),\n value: z.string().describe(\"Value of the contact detail. For phone numbers use international format; for email use a valid address\"),\n}).describe(\"A single contact detail entry, like an email or phone number.\")).describe(\"A list of contact detail entries; at least one entry is required\"),\n profile_pic_url: z.string().describe(\"Publicly accessible URL of the contact's profile picture\").optional(),\n}).describe(\"Request schema for creating a new 2Chat contact.\");\nexport const _2chatCreateContactOutput: z.ZodTypeAny = z.object({\n contact: z.object({\n uuid: z.string().describe(\"Unique identifier of the contact\"),\n details: z.array(z.object({\n id: z.number().int().describe(\"Unique ID of the detail entry\"),\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type code of the detail entry\"),\n value: z.string().describe(\"Value of the detail entry\"),\n created_at: z.number().int().describe(\"Creation timestamp (epoch seconds)\"),\n updated_at: z.number().int().describe(\"Last update timestamp (epoch seconds)\"),\n})).describe(\"List of detail entries for the contact\"),\n last_name: z.string().describe(\"Last name of the contact\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact\"),\n channel_uuid: z.string().describe(\"Channel UUID, if assigned\").nullable().optional(),\n profile_pic_url: z.string().describe(\"URL of the contact's profile picture\").nullable().optional(),\n}).describe(\"The newly created contact object\"),\n success: z.boolean().describe(\"Indicates if the request was successful\"),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatCreateContact = action(\"_2CHAT_CREATE_CONTACT\", {\n slug: \"_2chat-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your 2Chat account. Use after gathering and verifying first name and at least one contact detail (email, phone, or address).\",\n input: _2chatCreateContactInput,\n output: _2chatCreateContactOutput,\n});\n"],"mappings":";;AA+BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BoD,EAAE,OAAO;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC/D,gBAAgB,EAAE,MAAM,EAAE,OAAO;GACjC,MAAM,EAAE,KAAK;IAAC;IAAK;IAAK;IAAM;GAAM,CA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,gCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatCreateContactInput = z.object({\n last_name: z.string().describe(\"Last name of the new contact\").optional(),\n first_name: z.string().describe(\"First name of the new contact\"),\n contact_detail: z.array(z.object({\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type of contact detail: E=email, A=address, PH=phone, WAPH=WhatsApp phone\"),\n value: z.string().describe(\"Value of the contact detail. For phone numbers use international format; for email use a valid address\"),\n}).describe(\"A single contact detail entry, like an email or phone number.\")).describe(\"A list of contact detail entries; at least one entry is required\"),\n profile_pic_url: z.string().describe(\"Publicly accessible URL of the contact's profile picture\").optional(),\n}).describe(\"Request schema for creating a new 2Chat contact.\");\nexport const _2chatCreateContactOutput = z.object({\n contact: z.object({\n uuid: z.string().describe(\"Unique identifier of the contact\").nullable(),\n details: z.array(z.object({\n id: z.number().int().describe(\"Unique ID of the detail entry\").nullable(),\n type: z.enum([\"E\", \"A\", \"PH\", \"WAPH\"]).describe(\"Type code of the detail entry\").nullable(),\n value: z.string().describe(\"Value of the detail entry\").nullable(),\n created_at: z.number().int().describe(\"Creation timestamp (epoch seconds)\").nullable(),\n updated_at: z.number().int().describe(\"Last update timestamp (epoch seconds)\").nullable(),\n})).describe(\"List of detail entries for the contact\"),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name of the contact\").optional()),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n channel_uuid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Channel UUID, if assigned\").optional()),\n profile_pic_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL of the contact's profile picture\").optional()),\n}).describe(\"The newly created contact object\"),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatCreateContact = action(\"_2CHAT_CREATE_CONTACT\", {\n slug: \"_2chat-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in your 2Chat account. Use after gathering and verifying first name and at least one contact detail (email, phone, or address).\",\n input: _2chatCreateContactInput,\n output: _2chatCreateContactOutput,\n});\n"],"mappings":";;AA+BA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BsC,EAAE,OAAO;EAC/C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC/D,gBAAgB,EAAE,MAAM,EAAE,OAAO;GACjC,MAAM,EAAE,KAAK;IAAC;IAAK;IAAK;IAAM;GAAM,CAAC,CAAC,CAAC,SAAS,2EAA2E;GAC3H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG;EACrI,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACvJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,kDAuBH;CACP,QAvBuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO;GAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvE,SAAS,EAAE,MAAM,EAAE,OAAO;IAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;IACxE,MAAM,EAAE,KAAK;KAAC;KAAK;KAAK;KAAM;IAAM,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;IAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;IACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;IACrF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GAC1F,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC;GACnD,WAAW,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC;GACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GACtE,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC;GACvI,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;EACvJ,CAAC,CAAC,CAAC,SAAS,kCAAkC;EAC5C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
@@ -4,21 +4,21 @@ let zod = require("zod");
4
4
  const _2chatGetApiUsageInfoInput = zod.z.object({}).describe("Request model for retrieving current API usage and account information.");
5
5
  const _2chatGetApiUsageInfoOutput = zod.z.object({
6
6
  usage: zod.z.object({
7
- api_requests_available: zod.z.number().int().describe("Number of API requests remaining in the current period"),
8
- api_requests_plan_default: zod.z.number().int().describe("Total API requests allowed by the plan"),
9
- number_check_requests_available: zod.z.number().int().describe("Number of phone number check requests remaining"),
10
- number_check_requests_plan_default: zod.z.number().int().describe("Total phone number check requests allowed by the plan")
7
+ api_requests_available: zod.z.number().int().describe("Number of API requests remaining in the current period").nullable(),
8
+ api_requests_plan_default: zod.z.number().int().describe("Total API requests allowed by the plan").nullable(),
9
+ number_check_requests_available: zod.z.number().int().describe("Number of phone number check requests remaining").nullable(),
10
+ number_check_requests_plan_default: zod.z.number().int().describe("Total phone number check requests allowed by the plan").nullable()
11
11
  }).describe("Current usage statistics for this account"),
12
- limits: zod.z.object({ requests_per_minute: zod.z.number().int().describe("Maximum number of API requests allowed per minute") }).describe("Configured rate limits for this account"),
12
+ limits: zod.z.object({ requests_per_minute: zod.z.number().int().describe("Maximum number of API requests allowed per minute").nullable() }).describe("Configured rate limits for this account"),
13
13
  account: zod.z.object({
14
- name: zod.z.string().describe("Account name"),
15
- uuid: zod.z.string().describe("Unique identifier for the account"),
16
- blocked: zod.z.boolean().describe("Indicates if the account is blocked"),
17
- on_trial: zod.z.boolean().describe("Indicates if the account is on a trial period"),
18
- created_at: zod.z.string().describe("Account creation timestamp (ISO 8601 format)"),
19
- expires_at: zod.z.string().describe("Account expiration timestamp (ISO 8601 format)")
14
+ name: zod.z.string().describe("Account name").nullable(),
15
+ uuid: zod.z.string().describe("Unique identifier for the account").nullable(),
16
+ blocked: zod.z.boolean().describe("Indicates if the account is blocked").nullable(),
17
+ on_trial: zod.z.boolean().describe("Indicates if the account is on a trial period").nullable(),
18
+ created_at: zod.z.string().describe("Account creation timestamp (ISO 8601 format)").nullable(),
19
+ expires_at: zod.z.string().describe("Account expiration timestamp (ISO 8601 format)").nullable()
20
20
  }).describe("Account metadata and status"),
21
- success: zod.z.boolean().describe("Indicates whether the request was successful")
21
+ success: zod.z.boolean().describe("Indicates whether the request was successful").nullable()
22
22
  }).describe("Data from the action execution");
23
23
  const _2chatGetApiUsageInfo = require_action.action("_2CHAT_GET_API_USAGE_INFO", {
24
24
  slug: "_2chat-get-api-usage-info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-usage-info.cjs","names":["z","action"],"sources":["../../src/actions/get-api-usage-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatGetApiUsageInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current API usage and account information.\");\nexport const _2chatGetApiUsageInfoOutput: z.ZodTypeAny = z.object({\n usage: z.object({\n api_requests_available: z.number().int().describe(\"Number of API requests remaining in the current period\"),\n api_requests_plan_default: z.number().int().describe(\"Total API requests allowed by the plan\"),\n number_check_requests_available: z.number().int().describe(\"Number of phone number check requests remaining\"),\n number_check_requests_plan_default: z.number().int().describe(\"Total phone number check requests allowed by the plan\"),\n}).describe(\"Current usage statistics for this account\"),\n limits: z.object({\n requests_per_minute: z.number().int().describe(\"Maximum number of API requests allowed per minute\"),\n}).describe(\"Configured rate limits for this account\"),\n account: z.object({\n name: z.string().describe(\"Account name\"),\n uuid: z.string().describe(\"Unique identifier for the account\"),\n blocked: z.boolean().describe(\"Indicates if the account is blocked\"),\n on_trial: z.boolean().describe(\"Indicates if the account is on a trial period\"),\n created_at: z.string().describe(\"Account creation timestamp (ISO 8601 format)\"),\n expires_at: z.string().describe(\"Account expiration timestamp (ISO 8601 format)\"),\n}).describe(\"Account metadata and status\"),\n success: z.boolean().describe(\"Indicates whether the request was successful\"),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatGetApiUsageInfo = action(\"_2CHAT_GET_API_USAGE_INFO\", {\n slug: \"_2chat-get-api-usage-info\",\n name: \"Get API Usage Info\",\n description: \"Tool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests.\",\n input: _2chatGetApiUsageInfoInput,\n output: _2chatGetApiUsageInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACvJ,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO;EAChB,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EAC1G,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC7F,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;EAC5G,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACvH,CAAC,CAAC,CAAC,SAAS,2CAA2C;CACrD,QAAQA,IAAAA,EAAE,OAAO,EACjB,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACpG,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACnD,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;EAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAClF,CAAC,CAAC,CAAC,SAAS,6BAA6B;CACvC,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;AAC9E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAE5C,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-api-usage-info.cjs","names":["z","action"],"sources":["../../src/actions/get-api-usage-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatGetApiUsageInfoInput = z.object({}).describe(\"Request model for retrieving current API usage and account information.\");\nexport const _2chatGetApiUsageInfoOutput = z.object({\n usage: z.object({\n api_requests_available: z.number().int().describe(\"Number of API requests remaining in the current period\").nullable(),\n api_requests_plan_default: z.number().int().describe(\"Total API requests allowed by the plan\").nullable(),\n number_check_requests_available: z.number().int().describe(\"Number of phone number check requests remaining\").nullable(),\n number_check_requests_plan_default: z.number().int().describe(\"Total phone number check requests allowed by the plan\").nullable(),\n}).describe(\"Current usage statistics for this account\"),\n limits: z.object({\n requests_per_minute: z.number().int().describe(\"Maximum number of API requests allowed per minute\").nullable(),\n}).describe(\"Configured rate limits for this account\"),\n account: z.object({\n name: z.string().describe(\"Account name\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the account\").nullable(),\n blocked: z.boolean().describe(\"Indicates if the account is blocked\").nullable(),\n on_trial: z.boolean().describe(\"Indicates if the account is on a trial period\").nullable(),\n created_at: z.string().describe(\"Account creation timestamp (ISO 8601 format)\").nullable(),\n expires_at: z.string().describe(\"Account expiration timestamp (ISO 8601 format)\").nullable(),\n}).describe(\"Account metadata and status\"),\n success: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatGetApiUsageInfo = action(\"_2CHAT_GET_API_USAGE_INFO\", {\n slug: \"_2chat-get-api-usage-info\",\n name: \"Get API Usage Info\",\n description: \"Tool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests.\",\n input: _2chatGetApiUsageInfoInput,\n output: _2chatGetApiUsageInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACzI,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO;EAChB,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACrH,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACxG,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,I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Any;
5
- declare const _2chatGetApiUsageInfoOutput: z.ZodTypeAny;
6
- declare const _2chatGetApiUsageInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const _2chatGetApiUsageInfoInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const _2chatGetApiUsageInfoOutput: z.ZodObject<{
6
+ usage: z.ZodObject<{
7
+ api_requests_available: z.ZodNullable<z.ZodNumber>;
8
+ api_requests_plan_default: z.ZodNullable<z.ZodNumber>;
9
+ number_check_requests_available: z.ZodNullable<z.ZodNumber>;
10
+ number_check_requests_plan_default: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ limits: z.ZodObject<{
13
+ requests_per_minute: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$strip>;
15
+ account: z.ZodObject<{
16
+ name: z.ZodNullable<z.ZodString>;
17
+ uuid: z.ZodNullable<z.ZodString>;
18
+ blocked: z.ZodNullable<z.ZodBoolean>;
19
+ on_trial: z.ZodNullable<z.ZodBoolean>;
20
+ created_at: z.ZodNullable<z.ZodString>;
21
+ expires_at: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ success: z.ZodNullable<z.ZodBoolean>;
24
+ }, z.core.$strip>;
25
+ declare const _2chatGetApiUsageInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
26
+ usage: {
27
+ api_requests_available: number | null;
28
+ api_requests_plan_default: number | null;
29
+ number_check_requests_available: number | null;
30
+ number_check_requests_plan_default: number | null;
31
+ };
32
+ limits: {
33
+ requests_per_minute: number | null;
34
+ };
35
+ account: {
36
+ name: string | null;
37
+ uuid: string | null;
38
+ blocked: boolean | null;
39
+ on_trial: boolean | null;
40
+ created_at: string | null;
41
+ expires_at: string | null;
42
+ };
43
+ success: boolean | null;
44
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { _2chatGetApiUsageInfo };
9
47
  //# sourceMappingURL=get-api-usage-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-usage-info.d.cts","names":[],"sources":["../../src/actions/get-api-usage-info.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA6G;AAAA,cAC3I,2BAAA,EAA6B,CAAA,CAAE,UAmBC;AAAA,cAEhC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-api-usage-info.d.cts","names":[],"sources":["../../src/actions/get-api-usage-info.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqB3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-api-usage-info.d.ts
4
- declare const _2chatGetApiUsageInfoInput: z.ZodTypeAny;
5
- declare const _2chatGetApiUsageInfoOutput: z.ZodTypeAny;
6
- declare const _2chatGetApiUsageInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const _2chatGetApiUsageInfoInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const _2chatGetApiUsageInfoOutput: z.ZodObject<{
6
+ usage: z.ZodObject<{
7
+ api_requests_available: z.ZodNullable<z.ZodNumber>;
8
+ api_requests_plan_default: z.ZodNullable<z.ZodNumber>;
9
+ number_check_requests_available: z.ZodNullable<z.ZodNumber>;
10
+ number_check_requests_plan_default: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$strip>;
12
+ limits: z.ZodObject<{
13
+ requests_per_minute: z.ZodNullable<z.ZodNumber>;
14
+ }, z.core.$strip>;
15
+ account: z.ZodObject<{
16
+ name: z.ZodNullable<z.ZodString>;
17
+ uuid: z.ZodNullable<z.ZodString>;
18
+ blocked: z.ZodNullable<z.ZodBoolean>;
19
+ on_trial: z.ZodNullable<z.ZodBoolean>;
20
+ created_at: z.ZodNullable<z.ZodString>;
21
+ expires_at: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ success: z.ZodNullable<z.ZodBoolean>;
24
+ }, z.core.$strip>;
25
+ declare const _2chatGetApiUsageInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, {
26
+ usage: {
27
+ api_requests_available: number | null;
28
+ api_requests_plan_default: number | null;
29
+ number_check_requests_available: number | null;
30
+ number_check_requests_plan_default: number | null;
31
+ };
32
+ limits: {
33
+ requests_per_minute: number | null;
34
+ };
35
+ account: {
36
+ name: string | null;
37
+ uuid: string | null;
38
+ blocked: boolean | null;
39
+ on_trial: boolean | null;
40
+ created_at: string | null;
41
+ expires_at: string | null;
42
+ };
43
+ success: boolean | null;
44
+ }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { _2chatGetApiUsageInfo };
9
47
  //# sourceMappingURL=get-api-usage-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-usage-info.d.mts","names":[],"sources":["../../src/actions/get-api-usage-info.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAA6G;AAAA,cAC3I,2BAAA,EAA6B,CAAA,CAAE,UAmBC;AAAA,cAEhC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-api-usage-info.d.mts","names":[],"sources":["../../src/actions/get-api-usage-info.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAqB3B,qBAAA,gCAAqB,wBAAA,CAAA,MAAA"}
@@ -7,21 +7,21 @@ const _2chatGetApiUsageInfo = action("_2CHAT_GET_API_USAGE_INFO", {
7
7
  input: z.object({}).describe("Request model for retrieving current API usage and account information."),
8
8
  output: z.object({
9
9
  usage: z.object({
10
- api_requests_available: z.number().int().describe("Number of API requests remaining in the current period"),
11
- api_requests_plan_default: z.number().int().describe("Total API requests allowed by the plan"),
12
- number_check_requests_available: z.number().int().describe("Number of phone number check requests remaining"),
13
- number_check_requests_plan_default: z.number().int().describe("Total phone number check requests allowed by the plan")
10
+ api_requests_available: z.number().int().describe("Number of API requests remaining in the current period").nullable(),
11
+ api_requests_plan_default: z.number().int().describe("Total API requests allowed by the plan").nullable(),
12
+ number_check_requests_available: z.number().int().describe("Number of phone number check requests remaining").nullable(),
13
+ number_check_requests_plan_default: z.number().int().describe("Total phone number check requests allowed by the plan").nullable()
14
14
  }).describe("Current usage statistics for this account"),
15
- limits: z.object({ requests_per_minute: z.number().int().describe("Maximum number of API requests allowed per minute") }).describe("Configured rate limits for this account"),
15
+ limits: z.object({ requests_per_minute: z.number().int().describe("Maximum number of API requests allowed per minute").nullable() }).describe("Configured rate limits for this account"),
16
16
  account: z.object({
17
- name: z.string().describe("Account name"),
18
- uuid: z.string().describe("Unique identifier for the account"),
19
- blocked: z.boolean().describe("Indicates if the account is blocked"),
20
- on_trial: z.boolean().describe("Indicates if the account is on a trial period"),
21
- created_at: z.string().describe("Account creation timestamp (ISO 8601 format)"),
22
- expires_at: z.string().describe("Account expiration timestamp (ISO 8601 format)")
17
+ name: z.string().describe("Account name").nullable(),
18
+ uuid: z.string().describe("Unique identifier for the account").nullable(),
19
+ blocked: z.boolean().describe("Indicates if the account is blocked").nullable(),
20
+ on_trial: z.boolean().describe("Indicates if the account is on a trial period").nullable(),
21
+ created_at: z.string().describe("Account creation timestamp (ISO 8601 format)").nullable(),
22
+ expires_at: z.string().describe("Account expiration timestamp (ISO 8601 format)").nullable()
23
23
  }).describe("Account metadata and status"),
24
- success: z.boolean().describe("Indicates whether the request was successful")
24
+ success: z.boolean().describe("Indicates whether the request was successful").nullable()
25
25
  }).describe("Data from the action execution")
26
26
  });
27
27
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-api-usage-info.mjs","names":[],"sources":["../../src/actions/get-api-usage-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatGetApiUsageInfoInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current API usage and account information.\");\nexport const _2chatGetApiUsageInfoOutput: z.ZodTypeAny = z.object({\n usage: z.object({\n api_requests_available: z.number().int().describe(\"Number of API requests remaining in the current period\"),\n api_requests_plan_default: z.number().int().describe(\"Total API requests allowed by the plan\"),\n number_check_requests_available: z.number().int().describe(\"Number of phone number check requests remaining\"),\n number_check_requests_plan_default: z.number().int().describe(\"Total phone number check requests allowed by the plan\"),\n}).describe(\"Current usage statistics for this account\"),\n limits: z.object({\n requests_per_minute: z.number().int().describe(\"Maximum number of API requests allowed per minute\"),\n}).describe(\"Configured rate limits for this account\"),\n account: z.object({\n name: z.string().describe(\"Account name\"),\n uuid: z.string().describe(\"Unique identifier for the account\"),\n blocked: z.boolean().describe(\"Indicates if the account is blocked\"),\n on_trial: z.boolean().describe(\"Indicates if the account is on a trial period\"),\n created_at: z.string().describe(\"Account creation timestamp (ISO 8601 format)\"),\n expires_at: z.string().describe(\"Account expiration timestamp (ISO 8601 format)\"),\n}).describe(\"Account metadata and status\"),\n success: z.boolean().describe(\"Indicates whether the request was successful\"),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatGetApiUsageInfo = action(\"_2CHAT_GET_API_USAGE_INFO\", {\n slug: \"_2chat-get-api-usage-info\",\n name: \"Get API Usage Info\",\n description: \"Tool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests.\",\n input: _2chatGetApiUsageInfoInput,\n output: _2chatGetApiUsageInfoOutput,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BsD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEA0BrE;CACP,QA1BuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO;GAChB,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;GAC1G,2BAA2B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;GAC7F,iCAAiC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;GAC5G,oCAAoC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EACvH,CAAC,CAAC,CAAC,SAAS,2CAA2C;EACrD,QAAQ,EAAE,OAAO,EACjB,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACpG,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACnD,SAAS,EAAE,OAAO;GAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACxC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC;GACnE,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;GAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;GAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAClF,CAAC,CAAC,CAAC,SAAS,6BAA6B;EACvC,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;CAC9E,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-api-usage-info.mjs","names":[],"sources":["../../src/actions/get-api-usage-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatGetApiUsageInfoInput = z.object({}).describe(\"Request model for retrieving current API usage and account information.\");\nexport const _2chatGetApiUsageInfoOutput = z.object({\n usage: z.object({\n api_requests_available: z.number().int().describe(\"Number of API requests remaining in the current period\").nullable(),\n api_requests_plan_default: z.number().int().describe(\"Total API requests allowed by the plan\").nullable(),\n number_check_requests_available: z.number().int().describe(\"Number of phone number check requests remaining\").nullable(),\n number_check_requests_plan_default: z.number().int().describe(\"Total phone number check requests allowed by the plan\").nullable(),\n}).describe(\"Current usage statistics for this account\"),\n limits: z.object({\n requests_per_minute: z.number().int().describe(\"Maximum number of API requests allowed per minute\").nullable(),\n}).describe(\"Configured rate limits for this account\"),\n account: z.object({\n name: z.string().describe(\"Account name\").nullable(),\n uuid: z.string().describe(\"Unique identifier for the account\").nullable(),\n blocked: z.boolean().describe(\"Indicates if the account is blocked\").nullable(),\n on_trial: z.boolean().describe(\"Indicates if the account is on a trial period\").nullable(),\n created_at: z.string().describe(\"Account creation timestamp (ISO 8601 format)\").nullable(),\n expires_at: z.string().describe(\"Account expiration timestamp (ISO 8601 format)\").nullable(),\n}).describe(\"Account metadata and status\"),\n success: z.boolean().describe(\"Indicates whether the request was successful\").nullable(),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatGetApiUsageInfo = action(\"_2CHAT_GET_API_USAGE_INFO\", {\n slug: \"_2chat-get-api-usage-info\",\n name: \"Get API Usage Info\",\n description: \"Tool to retrieve current API usage and account information. Use when you need to monitor your remaining quotas before sending more requests.\",\n input: _2chatGetApiUsageInfoInput,\n output: _2chatGetApiUsageInfoOutput,\n});\n"],"mappings":";;AA0BA,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa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C,SAAS,gCAOF;AACV,CAAC"}
@@ -7,23 +7,23 @@ const _2chatListContactsInput = zod.z.object({
7
7
  results_per_page: zod.z.number().int().describe("Number of results returned per page. Must be between 1 and 50.").optional()
8
8
  }).describe("Request model for listing contacts in a 2Chat account.");
9
9
  const _2chatListContactsOutput = zod.z.object({
10
- page: zod.z.number().int().describe("Zero-indexed page number of the returned results."),
11
- count: zod.z.number().int().describe("Total number of contacts available."),
12
- success: zod.z.boolean().describe("Indicates whether the request was successful."),
10
+ page: zod.z.number().int().describe("Zero-indexed page number of the returned results.").nullable(),
11
+ count: zod.z.number().int().describe("Total number of contacts available.").nullable(),
12
+ success: zod.z.boolean().describe("Indicates whether the request was successful.").nullable(),
13
13
  contacts: zod.z.array(zod.z.object({
14
- id: zod.z.number().int().describe("Internal contact ID."),
15
- uuid: zod.z.string().describe("Universal unique identifier for the contact."),
14
+ id: zod.z.number().int().describe("Internal contact ID.").nullable(),
15
+ uuid: zod.z.string().describe("Universal unique identifier for the contact.").nullable(),
16
16
  details: zod.z.array(zod.z.object({
17
- id: zod.z.number().int().describe("Unique detail ID."),
18
- type: zod.z.string().describe("Detail type (e.g., 'WAPH' for WhatsApp phone, 'E' for email)."),
19
- value: zod.z.string().describe("The contact detail value (e.g., phone number, email)."),
20
- created_at: zod.z.string().describe("Timestamp when the detail was created."),
21
- updated_at: zod.z.string().describe("Timestamp when the detail was last updated, if applicable.").nullable().optional()
17
+ id: zod.z.number().int().describe("Unique detail ID.").nullable(),
18
+ type: zod.z.string().describe("Detail type (e.g., 'WAPH' for WhatsApp phone, 'E' for email).").nullable(),
19
+ value: zod.z.string().describe("The contact detail value (e.g., phone number, email).").nullable(),
20
+ created_at: zod.z.string().describe("Timestamp when the detail was created.").nullable(),
21
+ updated_at: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timestamp when the detail was last updated, if applicable.").optional())
22
22
  }).describe("Detail information for a contact (e.g., phone or email).")).describe("List of contact details such as phone numbers and emails."),
23
- last_name: zod.z.string().describe("Last name of the contact.").nullable().optional(),
24
- first_name: zod.z.string().describe("First name of the contact.").nullable().optional(),
25
- channel_uuid: zod.z.string().describe("UUID of the channel (phone number) associated with this contact, if any.").nullable().optional(),
26
- profile_pic_url: zod.z.string().describe("URL to the contact's profile picture, if available.").nullable().optional()
23
+ last_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Last name of the contact.").optional()),
24
+ first_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("First name of the contact.").optional()),
25
+ channel_uuid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("UUID of the channel (phone number) associated with this contact, if any.").optional()),
26
+ profile_pic_url: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("URL to the contact's profile picture, if available.").optional())
27
27
  }).describe("Represents a contact in the 2Chat account.")).describe("List of contacts on this page.")
28
28
  }).describe("Data from the action execution");
29
29
  const _2chatListContacts = require_action.action("_2CHAT_LIST_CONTACTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatListContactsInput: z.ZodTypeAny = z.object({\n page_number: z.number().int().describe(\"Zero-indexed page number to retrieve.\").optional(),\n channel_uuid: z.string().describe(\"Optional. Used to filter contacts by connected number UUID.\").optional(),\n results_per_page: z.number().int().describe(\"Number of results returned per page. Must be between 1 and 50.\").optional(),\n}).describe(\"Request model for listing contacts in a 2Chat account.\");\nexport const _2chatListContactsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Zero-indexed page number of the returned results.\"),\n count: z.number().int().describe(\"Total number of contacts available.\"),\n success: z.boolean().describe(\"Indicates whether the request was successful.\"),\n contacts: z.array(z.object({\n id: z.number().int().describe(\"Internal contact ID.\"),\n uuid: z.string().describe(\"Universal unique identifier for the contact.\"),\n details: z.array(z.object({\n id: z.number().int().describe(\"Unique detail ID.\"),\n type: z.string().describe(\"Detail type (e.g., 'WAPH' for WhatsApp phone, 'E' for email).\"),\n value: z.string().describe(\"The contact detail value (e.g., phone number, email).\"),\n created_at: z.string().describe(\"Timestamp when the detail was created.\"),\n updated_at: z.string().describe(\"Timestamp when the detail was last updated, if applicable.\").nullable().optional(),\n}).describe(\"Detail information for a contact (e.g., phone or email).\")).describe(\"List of contact details such as phone numbers and emails.\"),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n channel_uuid: z.string().describe(\"UUID of the channel (phone number) associated with this contact, if any.\").nullable().optional(),\n profile_pic_url: z.string().describe(\"URL to the contact's profile picture, if available.\").nullable().optional(),\n}).describe(\"Represents a contact in the 2Chat account.\")).describe(\"List of contacts on this page.\"),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatListContacts = action(\"_2CHAT_LIST_CONTACTS\", {\n slug: \"_2chat-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list all contacts in your 2Chat account. Use when you need to retrieve your contact list after confirming your account connection.\",\n input: _2chatListContactsInput,\n output: _2chatListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACnF,OAAOA,IAAAA,EAAE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pG,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAE5C,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _2chatListContactsInput = z.object({\n page_number: z.number().int().describe(\"Zero-indexed page number to retrieve.\").optional(),\n channel_uuid: z.string().describe(\"Optional. Used to filter contacts by connected number UUID.\").optional(),\n results_per_page: z.number().int().describe(\"Number of results returned per page. Must be between 1 and 50.\").optional(),\n}).describe(\"Request model for listing contacts in a 2Chat account.\");\nexport const _2chatListContactsOutput = z.object({\n page: z.number().int().describe(\"Zero-indexed page number of the returned results.\").nullable(),\n count: z.number().int().describe(\"Total number of contacts available.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the request was successful.\").nullable(),\n contacts: z.array(z.object({\n id: z.number().int().describe(\"Internal contact ID.\").nullable(),\n uuid: z.string().describe(\"Universal unique identifier for the contact.\").nullable(),\n details: z.array(z.object({\n id: z.number().int().describe(\"Unique detail ID.\").nullable(),\n type: z.string().describe(\"Detail type (e.g., 'WAPH' for WhatsApp phone, 'E' for email).\").nullable(),\n value: z.string().describe(\"The contact detail value (e.g., phone number, email).\").nullable(),\n created_at: z.string().describe(\"Timestamp when the detail was created.\").nullable(),\n updated_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timestamp when the detail was last updated, if applicable.\").optional()),\n}).describe(\"Detail information for a contact (e.g., phone or email).\")).describe(\"List of contact details such as phone numbers and emails.\"),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name of the contact.\").optional()),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"First name of the contact.\").optional()),\n channel_uuid: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"UUID of the channel (phone number) associated with this contact, if any.\").optional()),\n profile_pic_url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"URL to the contact's profile picture, if available.\").optional()),\n}).describe(\"Represents a contact in the 2Chat account.\")).describe(\"List of contacts on this page.\"),\n}).describe(\"Data from the action execution\");\n\nexport const _2chatListContacts = action(\"_2CHAT_LIST_CONTACTS\", {\n slug: \"_2chat-list-contacts\",\n name: \"List Contacts\",\n description: \"Tool to list all contacts in your 2Chat account. Use when you need to retrieve your contact list after confirming your account connection.\",\n input: _2chatListContactsInput,\n output: _2chatListContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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