@keystrokehq/sms_alert 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 (193) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/change-password.cjs +2 -2
  4. package/dist/actions/change-password.cjs.map +1 -1
  5. package/dist/actions/change-password.d.cts +18 -3
  6. package/dist/actions/change-password.d.cts.map +1 -1
  7. package/dist/actions/change-password.d.mts +18 -3
  8. package/dist/actions/change-password.d.mts.map +1 -1
  9. package/dist/actions/change-password.mjs +2 -2
  10. package/dist/actions/change-password.mjs.map +1 -1
  11. package/dist/actions/get-balance-check.cjs +5 -5
  12. package/dist/actions/get-balance-check.cjs.map +1 -1
  13. package/dist/actions/get-balance-check.d.cts +16 -3
  14. package/dist/actions/get-balance-check.d.cts.map +1 -1
  15. package/dist/actions/get-balance-check.d.mts +16 -3
  16. package/dist/actions/get-balance-check.d.mts.map +1 -1
  17. package/dist/actions/get-balance-check.mjs +5 -5
  18. package/dist/actions/get-balance-check.mjs.map +1 -1
  19. package/dist/actions/get-delivery-report.cjs +3 -3
  20. package/dist/actions/get-delivery-report.cjs.map +1 -1
  21. package/dist/actions/get-delivery-report.d.cts +33 -3
  22. package/dist/actions/get-delivery-report.d.cts.map +1 -1
  23. package/dist/actions/get-delivery-report.d.mts +33 -3
  24. package/dist/actions/get-delivery-report.d.mts.map +1 -1
  25. package/dist/actions/get-delivery-report.mjs +3 -3
  26. package/dist/actions/get-delivery-report.mjs.map +1 -1
  27. package/dist/actions/get-group-detail.cjs +1 -1
  28. package/dist/actions/get-group-detail.cjs.map +1 -1
  29. package/dist/actions/get-group-detail.d.cts +10 -3
  30. package/dist/actions/get-group-detail.d.cts.map +1 -1
  31. package/dist/actions/get-group-detail.d.mts +10 -3
  32. package/dist/actions/get-group-detail.d.mts.map +1 -1
  33. package/dist/actions/get-group-detail.mjs +1 -1
  34. package/dist/actions/get-group-detail.mjs.map +1 -1
  35. package/dist/actions/get-group-list.cjs +5 -5
  36. package/dist/actions/get-group-list.cjs.map +1 -1
  37. package/dist/actions/get-group-list.d.cts +15 -3
  38. package/dist/actions/get-group-list.d.cts.map +1 -1
  39. package/dist/actions/get-group-list.d.mts +15 -3
  40. package/dist/actions/get-group-list.d.mts.map +1 -1
  41. package/dist/actions/get-group-list.mjs +5 -5
  42. package/dist/actions/get-group-list.mjs.map +1 -1
  43. package/dist/actions/get-sender-id-list.cjs +3 -3
  44. package/dist/actions/get-sender-id-list.cjs.map +1 -1
  45. package/dist/actions/get-sender-id-list.d.cts +11 -3
  46. package/dist/actions/get-sender-id-list.d.cts.map +1 -1
  47. package/dist/actions/get-sender-id-list.d.mts +11 -3
  48. package/dist/actions/get-sender-id-list.d.mts.map +1 -1
  49. package/dist/actions/get-sender-id-list.mjs +3 -3
  50. package/dist/actions/get-sender-id-list.mjs.map +1 -1
  51. package/dist/actions/get-template-list.cjs +6 -6
  52. package/dist/actions/get-template-list.cjs.map +1 -1
  53. package/dist/actions/get-template-list.d.cts +18 -3
  54. package/dist/actions/get-template-list.d.cts.map +1 -1
  55. package/dist/actions/get-template-list.d.mts +18 -3
  56. package/dist/actions/get-template-list.d.mts.map +1 -1
  57. package/dist/actions/get-template-list.mjs +6 -6
  58. package/dist/actions/get-template-list.mjs.map +1 -1
  59. package/dist/actions/get-user-profile.cjs +1 -1
  60. package/dist/actions/get-user-profile.cjs.map +1 -1
  61. package/dist/actions/get-user-profile.d.cts +20 -3
  62. package/dist/actions/get-user-profile.d.cts.map +1 -1
  63. package/dist/actions/get-user-profile.d.mts +20 -3
  64. package/dist/actions/get-user-profile.d.mts.map +1 -1
  65. package/dist/actions/get-user-profile.mjs +1 -1
  66. package/dist/actions/get-user-profile.mjs.map +1 -1
  67. package/dist/actions/post-create-contact.cjs +2 -2
  68. package/dist/actions/post-create-contact.cjs.map +1 -1
  69. package/dist/actions/post-create-contact.d.cts +19 -3
  70. package/dist/actions/post-create-contact.d.cts.map +1 -1
  71. package/dist/actions/post-create-contact.d.mts +19 -3
  72. package/dist/actions/post-create-contact.d.mts.map +1 -1
  73. package/dist/actions/post-create-contact.mjs +2 -2
  74. package/dist/actions/post-create-contact.mjs.map +1 -1
  75. package/dist/actions/post-create-group.cjs +2 -2
  76. package/dist/actions/post-create-group.cjs.map +1 -1
  77. package/dist/actions/post-create-group.d.cts +15 -3
  78. package/dist/actions/post-create-group.d.cts.map +1 -1
  79. package/dist/actions/post-create-group.d.mts +15 -3
  80. package/dist/actions/post-create-group.d.mts.map +1 -1
  81. package/dist/actions/post-create-group.mjs +2 -2
  82. package/dist/actions/post-create-group.mjs.map +1 -1
  83. package/dist/actions/post-create-short-url.cjs +2 -2
  84. package/dist/actions/post-create-short-url.cjs.map +1 -1
  85. package/dist/actions/post-create-short-url.d.cts +14 -3
  86. package/dist/actions/post-create-short-url.d.cts.map +1 -1
  87. package/dist/actions/post-create-short-url.d.mts +14 -3
  88. package/dist/actions/post-create-short-url.d.mts.map +1 -1
  89. package/dist/actions/post-create-short-url.mjs +2 -2
  90. package/dist/actions/post-create-short-url.mjs.map +1 -1
  91. package/dist/actions/post-create-template.cjs +2 -2
  92. package/dist/actions/post-create-template.cjs.map +1 -1
  93. package/dist/actions/post-create-template.d.cts +15 -3
  94. package/dist/actions/post-create-template.d.cts.map +1 -1
  95. package/dist/actions/post-create-template.d.mts +15 -3
  96. package/dist/actions/post-create-template.d.mts.map +1 -1
  97. package/dist/actions/post-create-template.mjs +2 -2
  98. package/dist/actions/post-create-template.mjs.map +1 -1
  99. package/dist/actions/post-delete-contact.cjs +2 -2
  100. package/dist/actions/post-delete-contact.cjs.map +1 -1
  101. package/dist/actions/post-delete-contact.d.cts +10 -3
  102. package/dist/actions/post-delete-contact.d.cts.map +1 -1
  103. package/dist/actions/post-delete-contact.d.mts +10 -3
  104. package/dist/actions/post-delete-contact.d.mts.map +1 -1
  105. package/dist/actions/post-delete-contact.mjs +2 -2
  106. package/dist/actions/post-delete-contact.mjs.map +1 -1
  107. package/dist/actions/post-delete-group.cjs +2 -2
  108. package/dist/actions/post-delete-group.cjs.map +1 -1
  109. package/dist/actions/post-delete-group.d.cts +15 -3
  110. package/dist/actions/post-delete-group.d.cts.map +1 -1
  111. package/dist/actions/post-delete-group.d.mts +15 -3
  112. package/dist/actions/post-delete-group.d.mts.map +1 -1
  113. package/dist/actions/post-delete-group.mjs +2 -2
  114. package/dist/actions/post-delete-group.mjs.map +1 -1
  115. package/dist/actions/post-delete-short-url.cjs +2 -2
  116. package/dist/actions/post-delete-short-url.cjs.map +1 -1
  117. package/dist/actions/post-delete-short-url.d.cts +10 -3
  118. package/dist/actions/post-delete-short-url.d.cts.map +1 -1
  119. package/dist/actions/post-delete-short-url.d.mts +10 -3
  120. package/dist/actions/post-delete-short-url.d.mts.map +1 -1
  121. package/dist/actions/post-delete-short-url.mjs +2 -2
  122. package/dist/actions/post-delete-short-url.mjs.map +1 -1
  123. package/dist/actions/post-delete-template.cjs +2 -2
  124. package/dist/actions/post-delete-template.cjs.map +1 -1
  125. package/dist/actions/post-delete-template.d.cts +10 -3
  126. package/dist/actions/post-delete-template.d.cts.map +1 -1
  127. package/dist/actions/post-delete-template.d.mts +10 -3
  128. package/dist/actions/post-delete-template.d.mts.map +1 -1
  129. package/dist/actions/post-delete-template.mjs +2 -2
  130. package/dist/actions/post-delete-template.mjs.map +1 -1
  131. package/dist/actions/post-edit-contact.cjs +2 -2
  132. package/dist/actions/post-edit-contact.cjs.map +1 -1
  133. package/dist/actions/post-edit-contact.d.cts +21 -3
  134. package/dist/actions/post-edit-contact.d.cts.map +1 -1
  135. package/dist/actions/post-edit-contact.d.mts +21 -3
  136. package/dist/actions/post-edit-contact.d.mts.map +1 -1
  137. package/dist/actions/post-edit-contact.mjs +2 -2
  138. package/dist/actions/post-edit-contact.mjs.map +1 -1
  139. package/dist/actions/post-edit-group.cjs +2 -2
  140. package/dist/actions/post-edit-group.cjs.map +1 -1
  141. package/dist/actions/post-edit-group.d.cts +15 -3
  142. package/dist/actions/post-edit-group.d.cts.map +1 -1
  143. package/dist/actions/post-edit-group.d.mts +15 -3
  144. package/dist/actions/post-edit-group.d.mts.map +1 -1
  145. package/dist/actions/post-edit-group.mjs +2 -2
  146. package/dist/actions/post-edit-group.mjs.map +1 -1
  147. package/dist/actions/post-edit-profile.cjs +2 -2
  148. package/dist/actions/post-edit-profile.cjs.map +1 -1
  149. package/dist/actions/post-edit-profile.d.cts +30 -3
  150. package/dist/actions/post-edit-profile.d.cts.map +1 -1
  151. package/dist/actions/post-edit-profile.d.mts +30 -3
  152. package/dist/actions/post-edit-profile.d.mts.map +1 -1
  153. package/dist/actions/post-edit-profile.mjs +2 -2
  154. package/dist/actions/post-edit-profile.mjs.map +1 -1
  155. package/dist/actions/post-edit-template.cjs +2 -2
  156. package/dist/actions/post-edit-template.cjs.map +1 -1
  157. package/dist/actions/post-edit-template.d.cts +17 -3
  158. package/dist/actions/post-edit-template.d.cts.map +1 -1
  159. package/dist/actions/post-edit-template.d.mts +17 -3
  160. package/dist/actions/post-edit-template.d.mts.map +1 -1
  161. package/dist/actions/post-edit-template.mjs +2 -2
  162. package/dist/actions/post-edit-template.mjs.map +1 -1
  163. package/dist/actions/post-generate-otp.cjs +7 -7
  164. package/dist/actions/post-generate-otp.cjs.map +1 -1
  165. package/dist/actions/post-generate-otp.d.cts +27 -3
  166. package/dist/actions/post-generate-otp.d.cts.map +1 -1
  167. package/dist/actions/post-generate-otp.d.mts +27 -3
  168. package/dist/actions/post-generate-otp.d.mts.map +1 -1
  169. package/dist/actions/post-generate-otp.mjs +7 -7
  170. package/dist/actions/post-generate-otp.mjs.map +1 -1
  171. package/dist/actions/post-sent-sms-report.cjs +5 -5
  172. package/dist/actions/post-sent-sms-report.cjs.map +1 -1
  173. package/dist/actions/post-sent-sms-report.d.cts +36 -3
  174. package/dist/actions/post-sent-sms-report.d.cts.map +1 -1
  175. package/dist/actions/post-sent-sms-report.d.mts +36 -3
  176. package/dist/actions/post-sent-sms-report.d.mts.map +1 -1
  177. package/dist/actions/post-sent-sms-report.mjs +5 -5
  178. package/dist/actions/post-sent-sms-report.mjs.map +1 -1
  179. package/dist/actions/send-sms-xml.cjs +2 -2
  180. package/dist/actions/send-sms-xml.cjs.map +1 -1
  181. package/dist/actions/send-sms-xml.d.cts +29 -3
  182. package/dist/actions/send-sms-xml.d.cts.map +1 -1
  183. package/dist/actions/send-sms-xml.d.mts +29 -3
  184. package/dist/actions/send-sms-xml.d.mts.map +1 -1
  185. package/dist/actions/send-sms-xml.mjs +2 -2
  186. package/dist/actions/send-sms-xml.mjs.map +1 -1
  187. package/dist/catalog.cjs +7 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +8 -0
  190. package/dist/catalog.d.mts +8 -0
  191. package/dist/catalog.mjs +7 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["smsAlert","executeSmsAlertTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { smsAlert } from \"./app\";\nimport { executeSmsAlertTool } 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 smsAlert.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 executeSmsAlertTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["smsAlert","executeSmsAlertTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { smsAlert } from \"./app\";\nimport { executeSmsAlertTool } 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 smsAlert.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 executeSmsAlertTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { smsAlert } from \"./app\";\nimport { executeSmsAlertTool } 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 smsAlert.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 executeSmsAlertTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { smsAlert } from \"./app\";\nimport { executeSmsAlertTool } 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 smsAlert.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 executeSmsAlertTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -11,8 +11,8 @@ const SmsAlertChangePasswordOutput = zod.z.object({
11
11
  "success",
12
12
  "failure",
13
13
  "error"
14
- ]).describe("Result of the password change request"),
15
- description: zod.z.string().describe("Description or status message")
14
+ ]).describe("Result of the password change request").nullable(),
15
+ description: zod.z.string().describe("Description or status message").nullable()
16
16
  }).describe("Response schema for change password endpoint.");
17
17
  const smsAlertChangePassword = require_action.action("SMS_ALERT_CHANGE_PASSWORD", {
18
18
  slug: "sms_alert-change-password",
@@ -1 +1 @@
1
- {"version":3,"file":"change-password.cjs","names":["z","action"],"sources":["../../src/actions/change-password.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertChangePasswordInput: z.ZodTypeAny = z.object({\n pwd: z.string().describe(\"Current password for the authenticated user account\"),\n cnfpwd: z.string().describe(\"Confirm new password - must match newpwd exactly\"),\n newpwd: z.string().describe(\"New password to set for the account\"),\n}).describe(\"Request model for changing the user account password.\");\nexport const SmsAlertChangePasswordOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\"),\n description: z.string().describe(\"Description or status message\"),\n}).describe(\"Response schema for change password endpoint.\");\n\nexport const smsAlertChangePassword = action(\"SMS_ALERT_CHANGE_PASSWORD\", {\n slug: \"sms_alert-change-password\",\n name: \"Change User Password\",\n description: \"Tool to change the password for the authenticated user account. Use when the user needs to update their account password.\",\n input: SmsAlertChangePasswordInput,\n output: SmsAlertChangePasswordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACnE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAClE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"change-password.cjs","names":["z","action"],"sources":["../../src/actions/change-password.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertChangePasswordInput = z.object({\n pwd: z.string().describe(\"Current password for the authenticated user account\"),\n cnfpwd: z.string().describe(\"Confirm new password - must match newpwd exactly\"),\n newpwd: z.string().describe(\"New password to set for the account\"),\n}).describe(\"Request model for changing the user account password.\");\nexport const SmsAlertChangePasswordOutput = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\n}).describe(\"Response schema for change password endpoint.\");\n\nexport const smsAlertChangePassword = action(\"SMS_ALERT_CHANGE_PASSWORD\", {\n slug: \"sms_alert-change-password\",\n name: \"Change User Password\",\n description: \"Tool to change the password for the authenticated user account. Use when the user needs to update their account password.\",\n input: SmsAlertChangePasswordInput,\n output: SmsAlertChangePasswordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACnE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/change-password.d.ts
4
- declare const SmsAlertChangePasswordInput: z.ZodTypeAny;
5
- declare const SmsAlertChangePasswordOutput: z.ZodTypeAny;
6
- declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertChangePasswordInput: z.ZodObject<{
5
+ pwd: z.ZodString;
6
+ cnfpwd: z.ZodString;
7
+ newpwd: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertChangePasswordOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ failure: "failure";
14
+ }>>;
15
+ description: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ pwd: string;
19
+ cnfpwd: string;
20
+ newpwd: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { smsAlertChangePassword };
9
24
  //# sourceMappingURL=change-password.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"change-password.d.cts","names":[],"sources":["../../src/actions/change-password.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cACvD,4BAAA,EAA8B,CAAA,CAAE,UAGe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"change-password.d.cts","names":[],"sources":["../../src/actions/change-password.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/change-password.d.ts
4
- declare const SmsAlertChangePasswordInput: z.ZodTypeAny;
5
- declare const SmsAlertChangePasswordOutput: z.ZodTypeAny;
6
- declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertChangePasswordInput: z.ZodObject<{
5
+ pwd: z.ZodString;
6
+ cnfpwd: z.ZodString;
7
+ newpwd: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertChangePasswordOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ failure: "failure";
14
+ }>>;
15
+ description: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ pwd: string;
19
+ cnfpwd: string;
20
+ newpwd: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { smsAlertChangePassword };
9
24
  //# sourceMappingURL=change-password.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"change-password.d.mts","names":[],"sources":["../../src/actions/change-password.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cACvD,4BAAA,EAA8B,CAAA,CAAE,UAGe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"change-password.d.mts","names":[],"sources":["../../src/actions/change-password.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -14,8 +14,8 @@ const smsAlertChangePassword = action("SMS_ALERT_CHANGE_PASSWORD", {
14
14
  "success",
15
15
  "failure",
16
16
  "error"
17
- ]).describe("Result of the password change request"),
18
- description: z.string().describe("Description or status message")
17
+ ]).describe("Result of the password change request").nullable(),
18
+ description: z.string().describe("Description or status message").nullable()
19
19
  }).describe("Response schema for change password endpoint.")
20
20
  });
21
21
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"change-password.mjs","names":[],"sources":["../../src/actions/change-password.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertChangePasswordInput: z.ZodTypeAny = z.object({\n pwd: z.string().describe(\"Current password for the authenticated user account\"),\n cnfpwd: z.string().describe(\"Confirm new password - must match newpwd exactly\"),\n newpwd: z.string().describe(\"New password to set for the account\"),\n}).describe(\"Request model for changing the user account password.\");\nexport const SmsAlertChangePasswordOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\"),\n description: z.string().describe(\"Description or status message\"),\n}).describe(\"Response schema for change password endpoint.\");\n\nexport const smsAlertChangePassword = action(\"SMS_ALERT_CHANGE_PASSWORD\", {\n slug: \"sms_alert-change-password\",\n name: \"Change User Password\",\n description: \"Tool to change the password for the authenticated user account. Use when the user needs to update their account password.\",\n input: SmsAlertChangePasswordInput,\n output: SmsAlertChangePasswordOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAClE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"change-password.mjs","names":[],"sources":["../../src/actions/change-password.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertChangePasswordInput = z.object({\n pwd: z.string().describe(\"Current password for the authenticated user account\"),\n cnfpwd: z.string().describe(\"Confirm new password - must match newpwd exactly\"),\n newpwd: z.string().describe(\"New password to set for the account\"),\n}).describe(\"Request model for changing the user account password.\");\nexport const SmsAlertChangePasswordOutput = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\n}).describe(\"Response schema for change password endpoint.\");\n\nexport const smsAlertChangePassword = action(\"SMS_ALERT_CHANGE_PASSWORD\", {\n slug: \"sms_alert-change-password\",\n name: \"Change User Password\",\n description: \"Tool to change the password for the authenticated user account. Use when the user needs to update their account password.\",\n input: SmsAlertChangePasswordInput,\n output: SmsAlertChangePasswordOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/get-balance-check.ts
4
4
  const SmsAlertGetBalanceCheckInput = zod.z.object({}).describe("Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.");
5
5
  const SmsAlertGetBalanceCheck_BalanceRouteSchema = zod.z.object({
6
- route: zod.z.string().describe("Name of the route"),
7
- credits: zod.z.string().describe("Number of credits available for the route"),
8
- display_name: zod.z.string().describe("User-friendly name of the route")
6
+ route: zod.z.string().describe("Name of the route").nullable(),
7
+ credits: zod.z.string().describe("Number of credits available for the route").nullable(),
8
+ display_name: zod.z.string().describe("User-friendly name of the route").nullable()
9
9
  });
10
10
  const SmsAlertGetBalanceCheck_BalanceDescriptionSchema = zod.z.object({
11
- desc: zod.z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'"),
11
+ desc: zod.z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'").nullable(),
12
12
  routes: zod.z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe("List of objects detailing credits available for each route")
13
13
  });
14
14
  const SmsAlertGetBalanceCheckOutput = zod.z.object({
15
- status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
15
+ status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
16
16
  description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable()
17
17
  });
18
18
  const smsAlertGetBalanceCheck = require_action.action("SMS_ALERT_GET_BALANCE_CHECK", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-balance-check.cjs","names":["z","action"],"sources":["../../src/actions/get-balance-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetBalanceCheckInput: z.ZodTypeAny = z.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema: z.ZodTypeAny = z.object({\n route: z.string().describe(\"Name of the route\"),\n credits: z.string().describe(\"Number of credits available for the route\"),\n display_name: z.string().describe(\"User-friendly name of the route\"),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\"),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n});\n\nexport const smsAlertGetBalanceCheck = action(\"SMS_ALERT_GET_BALANCE_CHECK\", {\n slug: \"sms_alert-get-balance-check\",\n name: \"Get SMS Alert Balance\",\n description: \"Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.\",\n input: SmsAlertGetBalanceCheckInput,\n output: SmsAlertGetBalanceCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACxK,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACjG,aAAa,iDAAiD,SAAS;AACzE,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-balance-check.cjs","names":["z","action"],"sources":["../../src/actions/get-balance-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetBalanceCheckInput = z.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({\n route: z.string().describe(\"Name of the route\").nullable(),\n credits: z.string().describe(\"Number of credits available for the route\").nullable(),\n display_name: z.string().describe(\"User-friendly name of the route\").nullable(),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\").nullable(),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n});\n\nexport const smsAlertGetBalanceCheck = action(\"SMS_ALERT_GET_BALANCE_CHECK\", {\n slug: \"sms_alert-get-balance-check\",\n name: \"Get SMS Alert Balance\",\n description: \"Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.\",\n input: SmsAlertGetBalanceCheckInput,\n output: SmsAlertGetBalanceCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC1J,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC;AACD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5G,aAAa,iDAAiD,SAAS;AACzE,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-balance-check.d.ts
4
- declare const SmsAlertGetBalanceCheckInput: z.ZodTypeAny;
5
- declare const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny;
6
- declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertGetBalanceCheckInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SmsAlertGetBalanceCheckOutput: z.ZodObject<{
6
+ status: z.ZodNullable<z.ZodEnum<{
7
+ success: "success";
8
+ error: "error";
9
+ }>>;
10
+ description: z.ZodNullable<z.ZodObject<{
11
+ desc: z.ZodNullable<z.ZodString>;
12
+ routes: z.ZodArray<z.ZodObject<{
13
+ route: z.ZodNullable<z.ZodString>;
14
+ credits: z.ZodNullable<z.ZodString>;
15
+ display_name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { smsAlertGetBalanceCheck };
9
22
  //# sourceMappingURL=get-balance-check.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-balance-check.d.cts","names":[],"sources":["../../src/actions/get-balance-check.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA4H;AAAA,cAU5J,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-balance-check.d.cts","names":[],"sources":["../../src/actions/get-balance-check.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-balance-check.d.ts
4
- declare const SmsAlertGetBalanceCheckInput: z.ZodTypeAny;
5
- declare const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny;
6
- declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertGetBalanceCheckInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SmsAlertGetBalanceCheckOutput: z.ZodObject<{
6
+ status: z.ZodNullable<z.ZodEnum<{
7
+ success: "success";
8
+ error: "error";
9
+ }>>;
10
+ description: z.ZodNullable<z.ZodObject<{
11
+ desc: z.ZodNullable<z.ZodString>;
12
+ routes: z.ZodArray<z.ZodObject<{
13
+ route: z.ZodNullable<z.ZodString>;
14
+ credits: z.ZodNullable<z.ZodString>;
15
+ display_name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { smsAlertGetBalanceCheck };
9
22
  //# sourceMappingURL=get-balance-check.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-balance-check.d.mts","names":[],"sources":["../../src/actions/get-balance-check.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA4H;AAAA,cAU5J,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-balance-check.d.mts","names":[],"sources":["../../src/actions/get-balance-check.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,12 +3,12 @@ import { z } from "zod";
3
3
  //#region src/actions/get-balance-check.ts
4
4
  const SmsAlertGetBalanceCheckInput = z.object({}).describe("Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.");
5
5
  const SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({
6
- route: z.string().describe("Name of the route"),
7
- credits: z.string().describe("Number of credits available for the route"),
8
- display_name: z.string().describe("User-friendly name of the route")
6
+ route: z.string().describe("Name of the route").nullable(),
7
+ credits: z.string().describe("Number of credits available for the route").nullable(),
8
+ display_name: z.string().describe("User-friendly name of the route").nullable()
9
9
  });
10
10
  const SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({
11
- desc: z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'"),
11
+ desc: z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'").nullable(),
12
12
  routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe("List of objects detailing credits available for each route")
13
13
  });
14
14
  const smsAlertGetBalanceCheck = action("SMS_ALERT_GET_BALANCE_CHECK", {
@@ -17,7 +17,7 @@ const smsAlertGetBalanceCheck = action("SMS_ALERT_GET_BALANCE_CHECK", {
17
17
  description: "Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.",
18
18
  input: SmsAlertGetBalanceCheckInput,
19
19
  output: z.object({
20
- status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
20
+ status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
21
21
  description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable()
22
22
  })
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-balance-check.mjs","names":[],"sources":["../../src/actions/get-balance-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetBalanceCheckInput: z.ZodTypeAny = z.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema: z.ZodTypeAny = z.object({\n route: z.string().describe(\"Name of the route\"),\n credits: z.string().describe(\"Number of credits available for the route\"),\n display_name: z.string().describe(\"User-friendly name of the route\"),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\"),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n});\n\nexport const smsAlertGetBalanceCheck = action(\"SMS_ALERT_GET_BALANCE_CHECK\", {\n slug: \"sms_alert-get-balance-check\",\n name: \"Get SMS Alert Balance\",\n description: \"Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.\",\n input: SmsAlertGetBalanceCheckInput,\n output: SmsAlertGetBalanceCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACxK,MAAM,6CAA2D,EAAE,OAAO;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC;AAMD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACjG,aAAa,iDAAiD,SAAS;CACzE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-balance-check.mjs","names":[],"sources":["../../src/actions/get-balance-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetBalanceCheckInput = z.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({\n route: z.string().describe(\"Name of the route\").nullable(),\n credits: z.string().describe(\"Number of credits available for the route\").nullable(),\n display_name: z.string().describe(\"User-friendly name of the route\").nullable(),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\").nullable(),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n});\n\nexport const smsAlertGetBalanceCheck = action(\"SMS_ALERT_GET_BALANCE_CHECK\", {\n slug: \"sms_alert-get-balance-check\",\n name: \"Get SMS Alert Balance\",\n description: \"Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.\",\n input: SmsAlertGetBalanceCheckInput,\n output: SmsAlertGetBalanceCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC1J,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC;AAMD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5G,aAAa,iDAAiD,SAAS;CACzE,CAOU;AACV,CAAC"}
@@ -18,12 +18,12 @@ const SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = zod.z.object({
18
18
  creditsused: zod.z.string().describe("Number of credits used for the message").nullable().optional()
19
19
  }).describe("Individual message delivery detail in the delivery report.");
20
20
  const SmsAlertGetDeliveryReport_SuccessDescriptionSchema = zod.z.object({
21
- desc: zod.z.string().describe("Description message from the API"),
21
+ desc: zod.z.string().describe("Description message from the API").nullable(),
22
22
  report: zod.z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe("List of message delivery details. Empty if no results found.").nullable().optional()
23
23
  }).describe("Success response with delivery report data.");
24
- const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error message from the API") }).describe("Error response description.");
24
+ const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error message from the API").nullable() }).describe("Error response description.");
25
25
  const SmsAlertGetDeliveryReportOutput = zod.z.object({
26
- status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
26
+ status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
27
27
  description: zod.z.union([
28
28
  SmsAlertGetDeliveryReport_SuccessDescriptionSchema,
29
29
  SmsAlertGetDeliveryReport_ErrorDescriptionSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-report.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetDeliveryReportInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Filter by message text content to search for specific message deliveries\").optional(),\n sender: z.string().describe(\"Filter by sender ID to retrieve delivery reports for a specific sender\").optional(),\n batchid: z.string().describe(\"Batch ID of the SMS campaign for which to retrieve the delivery report\"),\n schedule: z.string().describe(\"Filter by schedule status to narrow down the delivery report results\").optional(),\n}).describe(\"Request parameters to retrieve delivery report for sent SMS messages by batch ID.\");\nconst SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Content of the SMS message\").nullable().optional(),\n msgid: z.string().describe(\"Unique message ID\").nullable().optional(),\n route: z.string().describe(\"Route used for SMS delivery (e.g., transactional, promotional)\").nullable().optional(),\n status: z.string().describe(\"Delivery status of the message (e.g., DELIVRD, UNDELIV)\").nullable().optional(),\n datetime: z.string().describe(\"Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)\").nullable().optional(),\n mobileno: z.string().describe(\"Mobile number to which the message was sent\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the message\").nullable().optional(),\n creditsused: z.string().describe(\"Number of credits used for the message\").nullable().optional(),\n}).describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Description message from the API\"),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Error message from the API\"),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).describe(\"Response containing delivery report data for sent SMS messages.\");\n\nexport const smsAlertGetDeliveryReport = action(\"SMS_ALERT_GET_DELIVERY_REPORT\", {\n slug: \"sms_alert-get-delivery-report\",\n name: \"Get SMS Delivery Report\",\n description: \"Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.\",\n input: SmsAlertGetDeliveryReportInput,\n output: SmsAlertGetDeliveryReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACjG,aAAaA,IAAAA,EAAE,MAAM;EAAC;EAAoD;EAAkDA,IAAAA,EAAE,OAAO;CAAC,CAAC;AACzI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-delivery-report.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetDeliveryReportInput = z.object({\n text: z.string().describe(\"Filter by message text content to search for specific message deliveries\").optional(),\n sender: z.string().describe(\"Filter by sender ID to retrieve delivery reports for a specific sender\").optional(),\n batchid: z.string().describe(\"Batch ID of the SMS campaign for which to retrieve the delivery report\"),\n schedule: z.string().describe(\"Filter by schedule status to narrow down the delivery report results\").optional(),\n}).describe(\"Request parameters to retrieve delivery report for sent SMS messages by batch ID.\");\nconst SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = z.object({\n text: z.string().describe(\"Content of the SMS message\").nullable().optional(),\n msgid: z.string().describe(\"Unique message ID\").nullable().optional(),\n route: z.string().describe(\"Route used for SMS delivery (e.g., transactional, promotional)\").nullable().optional(),\n status: z.string().describe(\"Delivery status of the message (e.g., DELIVRD, UNDELIV)\").nullable().optional(),\n datetime: z.string().describe(\"Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)\").nullable().optional(),\n mobileno: z.string().describe(\"Mobile number to which the message was sent\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the message\").nullable().optional(),\n creditsused: z.string().describe(\"Number of credits used for the message\").nullable().optional(),\n}).describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description message from the API\").nullable(),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error message from the API\").nullable(),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).describe(\"Response containing delivery report data for sent SMS messages.\");\n\nexport const smsAlertGetDeliveryReport = action(\"SMS_ALERT_GET_DELIVERY_REPORT\", {\n slug: \"sms_alert-get-delivery-report\",\n name: \"Get SMS Delivery Report\",\n description: \"Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.\",\n input: SmsAlertGetDeliveryReportInput,\n output: SmsAlertGetDeliveryReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,MAAM;EAAC;EAAoD;EAAkDA,IAAAA,EAAE,OAAO;CAAC,CAAC;AACzI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-delivery-report.d.ts
4
- declare const SmsAlertGetDeliveryReportInput: z.ZodTypeAny;
5
- declare const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny;
6
- declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertGetDeliveryReportInput: z.ZodObject<{
5
+ text: z.ZodOptional<z.ZodString>;
6
+ sender: z.ZodOptional<z.ZodString>;
7
+ batchid: z.ZodString;
8
+ schedule: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SmsAlertGetDeliveryReportOutput: z.ZodObject<{
11
+ status: z.ZodNullable<z.ZodEnum<{
12
+ success: "success";
13
+ error: "error";
14
+ }>>;
15
+ description: z.ZodUnion<readonly [z.ZodObject<{
16
+ desc: z.ZodNullable<z.ZodString>;
17
+ report: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ msgid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ route: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ mobileno: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ senderid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ creditsused: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$strip>>>>;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ desc: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>, z.ZodString]>;
30
+ }, z.core.$strip>;
31
+ declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ batchid: string;
33
+ text?: string | undefined;
34
+ sender?: string | undefined;
35
+ schedule?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { smsAlertGetDeliveryReport };
9
39
  //# sourceMappingURL=get-delivery-report.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-report.d.cts","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKiD;AAAA,cAkBnF,+BAAA,EAAiC,CAAA,CAAE,UAG8B;AAAA,cAEjE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-delivery-report.d.cts","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAuB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-delivery-report.d.ts
4
- declare const SmsAlertGetDeliveryReportInput: z.ZodTypeAny;
5
- declare const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny;
6
- declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertGetDeliveryReportInput: z.ZodObject<{
5
+ text: z.ZodOptional<z.ZodString>;
6
+ sender: z.ZodOptional<z.ZodString>;
7
+ batchid: z.ZodString;
8
+ schedule: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SmsAlertGetDeliveryReportOutput: z.ZodObject<{
11
+ status: z.ZodNullable<z.ZodEnum<{
12
+ success: "success";
13
+ error: "error";
14
+ }>>;
15
+ description: z.ZodUnion<readonly [z.ZodObject<{
16
+ desc: z.ZodNullable<z.ZodString>;
17
+ report: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ msgid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ route: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ mobileno: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ senderid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ creditsused: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ }, z.core.$strip>>>>;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ desc: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>, z.ZodString]>;
30
+ }, z.core.$strip>;
31
+ declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ batchid: string;
33
+ text?: string | undefined;
34
+ sender?: string | undefined;
35
+ schedule?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { smsAlertGetDeliveryReport };
9
39
  //# sourceMappingURL=get-delivery-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-report.d.mts","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKiD;AAAA,cAkBnF,+BAAA,EAAiC,CAAA,CAAE,UAG8B;AAAA,cAEjE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-delivery-report.d.mts","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAuB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -18,17 +18,17 @@ const SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = z.object({
18
18
  creditsused: z.string().describe("Number of credits used for the message").nullable().optional()
19
19
  }).describe("Individual message delivery detail in the delivery report.");
20
20
  const SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({
21
- desc: z.string().describe("Description message from the API"),
21
+ desc: z.string().describe("Description message from the API").nullable(),
22
22
  report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe("List of message delivery details. Empty if no results found.").nullable().optional()
23
23
  }).describe("Success response with delivery report data.");
24
- const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error message from the API") }).describe("Error response description.");
24
+ const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error message from the API").nullable() }).describe("Error response description.");
25
25
  const smsAlertGetDeliveryReport = action("SMS_ALERT_GET_DELIVERY_REPORT", {
26
26
  slug: "sms_alert-get-delivery-report",
27
27
  name: "Get SMS Delivery Report",
28
28
  description: "Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.",
29
29
  input: SmsAlertGetDeliveryReportInput,
30
30
  output: z.object({
31
- status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
31
+ status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
32
32
  description: z.union([
33
33
  SmsAlertGetDeliveryReport_SuccessDescriptionSchema,
34
34
  SmsAlertGetDeliveryReport_ErrorDescriptionSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"get-delivery-report.mjs","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetDeliveryReportInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Filter by message text content to search for specific message deliveries\").optional(),\n sender: z.string().describe(\"Filter by sender ID to retrieve delivery reports for a specific sender\").optional(),\n batchid: z.string().describe(\"Batch ID of the SMS campaign for which to retrieve the delivery report\"),\n schedule: z.string().describe(\"Filter by schedule status to narrow down the delivery report results\").optional(),\n}).describe(\"Request parameters to retrieve delivery report for sent SMS messages by batch ID.\");\nconst SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Content of the SMS message\").nullable().optional(),\n msgid: z.string().describe(\"Unique message ID\").nullable().optional(),\n route: z.string().describe(\"Route used for SMS delivery (e.g., transactional, promotional)\").nullable().optional(),\n status: z.string().describe(\"Delivery status of the message (e.g., DELIVRD, UNDELIV)\").nullable().optional(),\n datetime: z.string().describe(\"Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)\").nullable().optional(),\n mobileno: z.string().describe(\"Mobile number to which the message was sent\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the message\").nullable().optional(),\n creditsused: z.string().describe(\"Number of credits used for the message\").nullable().optional(),\n}).describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Description message from the API\"),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Error message from the API\"),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).describe(\"Response containing delivery report data for sent SMS messages.\");\n\nexport const smsAlertGetDeliveryReport = action(\"SMS_ALERT_GET_DELIVERY_REPORT\", {\n slug: \"sms_alert-get-delivery-report\",\n name: \"Get SMS Delivery Report\",\n description: \"Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.\",\n input: SmsAlertGetDeliveryReportInput,\n output: SmsAlertGetDeliveryReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wDAAsE,EAAE,OAAO;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAiE,EAAE,OAAO,EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACjG,aAAa,EAAE,MAAM;GAAC;GAAoD;GAAkD,EAAE,OAAO;EAAC,CAAC;CACzI,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-delivery-report.mjs","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetDeliveryReportInput = z.object({\n text: z.string().describe(\"Filter by message text content to search for specific message deliveries\").optional(),\n sender: z.string().describe(\"Filter by sender ID to retrieve delivery reports for a specific sender\").optional(),\n batchid: z.string().describe(\"Batch ID of the SMS campaign for which to retrieve the delivery report\"),\n schedule: z.string().describe(\"Filter by schedule status to narrow down the delivery report results\").optional(),\n}).describe(\"Request parameters to retrieve delivery report for sent SMS messages by batch ID.\");\nconst SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = z.object({\n text: z.string().describe(\"Content of the SMS message\").nullable().optional(),\n msgid: z.string().describe(\"Unique message ID\").nullable().optional(),\n route: z.string().describe(\"Route used for SMS delivery (e.g., transactional, promotional)\").nullable().optional(),\n status: z.string().describe(\"Delivery status of the message (e.g., DELIVRD, UNDELIV)\").nullable().optional(),\n datetime: z.string().describe(\"Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)\").nullable().optional(),\n mobileno: z.string().describe(\"Mobile number to which the message was sent\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the message\").nullable().optional(),\n creditsused: z.string().describe(\"Number of credits used for the message\").nullable().optional(),\n}).describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description message from the API\").nullable(),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error message from the API\").nullable(),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).describe(\"Response containing delivery report data for sent SMS messages.\");\n\nexport const smsAlertGetDeliveryReport = action(\"SMS_ALERT_GET_DELIVERY_REPORT\", {\n slug: \"sms_alert-get-delivery-report\",\n name: \"Get SMS Delivery Report\",\n description: \"Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.\",\n input: SmsAlertGetDeliveryReportInput,\n output: SmsAlertGetDeliveryReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,MAAM;GAAC;GAAoD;GAAkD,EAAE,OAAO;EAAC,CAAC;CACzI,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/get-group-detail.ts
4
4
  const SmsAlertGetGroupDetailInput = zod.z.object({ group_id: zod.z.number().int().describe("ID of the group to fetch details") }).describe("Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.");
5
5
  const SmsAlertGetGroupDetailOutput = zod.z.object({
6
- status: zod.z.string().describe("API call status, e.g., 'success' or 'error'"),
6
+ status: zod.z.string().describe("API call status, e.g., 'success' or 'error'").nullable(),
7
7
  description: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of contacts or error description from the API")
8
8
  }).describe("Response model for GET_GROUP_DETAIL.");
9
9
  const smsAlertGetGroupDetail = require_action.action("SMS_ALERT_GET_GROUP_DETAIL", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-detail.cjs","names":["z","action"],"sources":["../../src/actions/get-group-detail.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupDetailInput: z.ZodTypeAny = z.object({\n group_id: z.number().int().describe(\"ID of the group to fetch details\"),\n}).describe(\"Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.\");\nexport const SmsAlertGetGroupDetailOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\"),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).describe(\"Response model for GET_GROUP_DETAIL.\");\n\nexport const smsAlertGetGroupDetail = action(\"SMS_ALERT_GET_GROUP_DETAIL\", {\n slug: \"sms_alert-get-group-detail\",\n name: \"Get Group Detail\",\n description: \"Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.\",\n input: SmsAlertGetGroupDetailInput,\n output: SmsAlertGetGroupDetailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACzE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACvH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-detail.cjs","names":["z","action"],"sources":["../../src/actions/get-group-detail.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupDetailInput = z.object({\n group_id: z.number().int().describe(\"ID of the group to fetch details\"),\n}).describe(\"Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.\");\nexport const SmsAlertGetGroupDetailOutput = z.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\").nullable(),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).describe(\"Response model for GET_GROUP_DETAIL.\");\n\nexport const smsAlertGetGroupDetail = action(\"SMS_ALERT_GET_GROUP_DETAIL\", {\n slug: \"sms_alert-get-group-detail\",\n name: \"Get Group Detail\",\n description: \"Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.\",\n input: SmsAlertGetGroupDetailInput,\n output: SmsAlertGetGroupDetailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACvH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-group-detail.d.ts
4
- declare const SmsAlertGetGroupDetailInput: z.ZodTypeAny;
5
- declare const SmsAlertGetGroupDetailOutput: z.ZodTypeAny;
6
- declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertGetGroupDetailInput: z.ZodObject<{
5
+ group_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SmsAlertGetGroupDetailOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ description: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ }, z.core.$strip>;
11
+ declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ group_id: number;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { smsAlertGetGroupDetail };
9
16
  //# sourceMappingURL=get-group-detail.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-detail.d.cts","names":[],"sources":["../../src/actions/get-group-detail.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6C;AAAA,cAC5E,4BAAA,EAA8B,CAAA,CAAE,UAGM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-group-detail.d.cts","names":[],"sources":["../../src/actions/get-group-detail.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-group-detail.d.ts
4
- declare const SmsAlertGetGroupDetailInput: z.ZodTypeAny;
5
- declare const SmsAlertGetGroupDetailOutput: z.ZodTypeAny;
6
- declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertGetGroupDetailInput: z.ZodObject<{
5
+ group_id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SmsAlertGetGroupDetailOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ description: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ }, z.core.$strip>;
11
+ declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ group_id: number;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { smsAlertGetGroupDetail };
9
16
  //# sourceMappingURL=get-group-detail.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-detail.d.mts","names":[],"sources":["../../src/actions/get-group-detail.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6C;AAAA,cAC5E,4BAAA,EAA8B,CAAA,CAAE,UAGM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-group-detail.d.mts","names":[],"sources":["../../src/actions/get-group-detail.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -6,7 +6,7 @@ const smsAlertGetGroupDetail = action("SMS_ALERT_GET_GROUP_DETAIL", {
6
6
  description: "Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.",
7
7
  input: z.object({ group_id: z.number().int().describe("ID of the group to fetch details") }).describe("Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details."),
8
8
  output: z.object({
9
- status: z.string().describe("API call status, e.g., 'success' or 'error'"),
9
+ status: z.string().describe("API call status, e.g., 'success' or 'error'").nullable(),
10
10
  description: z.array(z.record(z.string(), z.unknown())).describe("List of contacts or error description from the API")
11
11
  }).describe("Response model for GET_GROUP_DETAIL.")
12
12
  });
@@ -1 +1 @@
1
- {"version":3,"file":"get-group-detail.mjs","names":[],"sources":["../../src/actions/get-group-detail.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupDetailInput: z.ZodTypeAny = z.object({\n group_id: z.number().int().describe(\"ID of the group to fetch details\"),\n}).describe(\"Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.\");\nexport const SmsAlertGetGroupDetailOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\"),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).describe(\"Response model for GET_GROUP_DETAIL.\");\n\nexport const smsAlertGetGroupDetail = action(\"SMS_ALERT_GET_GROUP_DETAIL\", {\n slug: \"sms_alert-get-group-detail\",\n name: \"Get Group Detail\",\n description: \"Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.\",\n input: SmsAlertGetGroupDetailInput,\n output: SmsAlertGetGroupDetailOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAUH;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACzE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACvH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-detail.mjs","names":[],"sources":["../../src/actions/get-group-detail.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupDetailInput = z.object({\n group_id: z.number().int().describe(\"ID of the group to fetch details\"),\n}).describe(\"Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.\");\nexport const SmsAlertGetGroupDetailOutput = z.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\").nullable(),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).describe(\"Response model for GET_GROUP_DETAIL.\");\n\nexport const smsAlertGetGroupDetail = action(\"SMS_ALERT_GET_GROUP_DETAIL\", {\n slug: \"sms_alert-get-group-detail\",\n name: \"Get Group Detail\",\n description: \"Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.\",\n input: SmsAlertGetGroupDetailInput,\n output: SmsAlertGetGroupDetailOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAUH;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACvH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}