@keystrokehq/sms_alert 0.1.4 → 0.1.6

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 (197) 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 +1 -0
  4. package/dist/actions/change-password.cjs.map +1 -1
  5. package/dist/actions/change-password.d.cts +4 -6
  6. package/dist/actions/change-password.d.cts.map +1 -1
  7. package/dist/actions/change-password.d.mts +4 -6
  8. package/dist/actions/change-password.d.mts.map +1 -1
  9. package/dist/actions/change-password.mjs +1 -0
  10. package/dist/actions/change-password.mjs.map +1 -1
  11. package/dist/actions/get-balance-check.cjs +1 -0
  12. package/dist/actions/get-balance-check.cjs.map +1 -1
  13. package/dist/actions/get-balance-check.d.cts +3 -1
  14. package/dist/actions/get-balance-check.d.cts.map +1 -1
  15. package/dist/actions/get-balance-check.d.mts +3 -1
  16. package/dist/actions/get-balance-check.d.mts.map +1 -1
  17. package/dist/actions/get-balance-check.mjs +1 -0
  18. package/dist/actions/get-balance-check.mjs.map +1 -1
  19. package/dist/actions/get-delivery-report.cjs +1 -0
  20. package/dist/actions/get-delivery-report.cjs.map +1 -1
  21. package/dist/actions/get-delivery-report.d.cts +3 -6
  22. package/dist/actions/get-delivery-report.d.cts.map +1 -1
  23. package/dist/actions/get-delivery-report.d.mts +3 -6
  24. package/dist/actions/get-delivery-report.d.mts.map +1 -1
  25. package/dist/actions/get-delivery-report.mjs +1 -0
  26. package/dist/actions/get-delivery-report.mjs.map +1 -1
  27. package/dist/actions/get-group-detail.cjs +1 -0
  28. package/dist/actions/get-group-detail.cjs.map +1 -1
  29. package/dist/actions/get-group-detail.d.cts +3 -3
  30. package/dist/actions/get-group-detail.d.cts.map +1 -1
  31. package/dist/actions/get-group-detail.d.mts +3 -3
  32. package/dist/actions/get-group-detail.d.mts.map +1 -1
  33. package/dist/actions/get-group-detail.mjs +1 -0
  34. package/dist/actions/get-group-detail.mjs.map +1 -1
  35. package/dist/actions/get-group-list.cjs +1 -0
  36. package/dist/actions/get-group-list.cjs.map +1 -1
  37. package/dist/actions/get-group-list.d.cts +3 -1
  38. package/dist/actions/get-group-list.d.cts.map +1 -1
  39. package/dist/actions/get-group-list.d.mts +3 -1
  40. package/dist/actions/get-group-list.d.mts.map +1 -1
  41. package/dist/actions/get-group-list.mjs +1 -0
  42. package/dist/actions/get-group-list.mjs.map +1 -1
  43. package/dist/actions/get-sender-id-list.cjs +1 -0
  44. package/dist/actions/get-sender-id-list.cjs.map +1 -1
  45. package/dist/actions/get-sender-id-list.d.cts +3 -1
  46. package/dist/actions/get-sender-id-list.d.cts.map +1 -1
  47. package/dist/actions/get-sender-id-list.d.mts +3 -1
  48. package/dist/actions/get-sender-id-list.d.mts.map +1 -1
  49. package/dist/actions/get-sender-id-list.mjs +1 -0
  50. package/dist/actions/get-sender-id-list.mjs.map +1 -1
  51. package/dist/actions/get-template-list.cjs +1 -0
  52. package/dist/actions/get-template-list.cjs.map +1 -1
  53. package/dist/actions/get-template-list.d.cts +3 -3
  54. package/dist/actions/get-template-list.d.cts.map +1 -1
  55. package/dist/actions/get-template-list.d.mts +3 -3
  56. package/dist/actions/get-template-list.d.mts.map +1 -1
  57. package/dist/actions/get-template-list.mjs +1 -0
  58. package/dist/actions/get-template-list.mjs.map +1 -1
  59. package/dist/actions/get-user-profile.cjs +1 -0
  60. package/dist/actions/get-user-profile.cjs.map +1 -1
  61. package/dist/actions/get-user-profile.d.cts +3 -1
  62. package/dist/actions/get-user-profile.d.cts.map +1 -1
  63. package/dist/actions/get-user-profile.d.mts +3 -1
  64. package/dist/actions/get-user-profile.d.mts.map +1 -1
  65. package/dist/actions/get-user-profile.mjs +1 -0
  66. package/dist/actions/get-user-profile.mjs.map +1 -1
  67. package/dist/actions/post-create-contact.cjs +1 -0
  68. package/dist/actions/post-create-contact.cjs.map +1 -1
  69. package/dist/actions/post-create-contact.d.cts +3 -5
  70. package/dist/actions/post-create-contact.d.cts.map +1 -1
  71. package/dist/actions/post-create-contact.d.mts +3 -5
  72. package/dist/actions/post-create-contact.d.mts.map +1 -1
  73. package/dist/actions/post-create-contact.mjs +1 -0
  74. package/dist/actions/post-create-contact.mjs.map +1 -1
  75. package/dist/actions/post-create-group.cjs +1 -0
  76. package/dist/actions/post-create-group.cjs.map +1 -1
  77. package/dist/actions/post-create-group.d.cts +3 -3
  78. package/dist/actions/post-create-group.d.cts.map +1 -1
  79. package/dist/actions/post-create-group.d.mts +3 -3
  80. package/dist/actions/post-create-group.d.mts.map +1 -1
  81. package/dist/actions/post-create-group.mjs +1 -0
  82. package/dist/actions/post-create-group.mjs.map +1 -1
  83. package/dist/actions/post-create-short-url.cjs +1 -0
  84. package/dist/actions/post-create-short-url.cjs.map +1 -1
  85. package/dist/actions/post-create-short-url.d.cts +3 -4
  86. package/dist/actions/post-create-short-url.d.cts.map +1 -1
  87. package/dist/actions/post-create-short-url.d.mts +3 -4
  88. package/dist/actions/post-create-short-url.d.mts.map +1 -1
  89. package/dist/actions/post-create-short-url.mjs +1 -0
  90. package/dist/actions/post-create-short-url.mjs.map +1 -1
  91. package/dist/actions/post-create-template.cjs +1 -0
  92. package/dist/actions/post-create-template.cjs.map +1 -1
  93. package/dist/actions/post-create-template.d.cts +3 -4
  94. package/dist/actions/post-create-template.d.cts.map +1 -1
  95. package/dist/actions/post-create-template.d.mts +3 -4
  96. package/dist/actions/post-create-template.d.mts.map +1 -1
  97. package/dist/actions/post-create-template.mjs +1 -0
  98. package/dist/actions/post-create-template.mjs.map +1 -1
  99. package/dist/actions/post-delete-contact.cjs +1 -0
  100. package/dist/actions/post-delete-contact.cjs.map +1 -1
  101. package/dist/actions/post-delete-contact.d.cts +3 -3
  102. package/dist/actions/post-delete-contact.d.cts.map +1 -1
  103. package/dist/actions/post-delete-contact.d.mts +3 -3
  104. package/dist/actions/post-delete-contact.d.mts.map +1 -1
  105. package/dist/actions/post-delete-contact.mjs +1 -0
  106. package/dist/actions/post-delete-contact.mjs.map +1 -1
  107. package/dist/actions/post-delete-group.cjs +1 -0
  108. package/dist/actions/post-delete-group.cjs.map +1 -1
  109. package/dist/actions/post-delete-group.d.cts +3 -3
  110. package/dist/actions/post-delete-group.d.cts.map +1 -1
  111. package/dist/actions/post-delete-group.d.mts +3 -3
  112. package/dist/actions/post-delete-group.d.mts.map +1 -1
  113. package/dist/actions/post-delete-group.mjs +1 -0
  114. package/dist/actions/post-delete-group.mjs.map +1 -1
  115. package/dist/actions/post-delete-short-url.cjs +1 -0
  116. package/dist/actions/post-delete-short-url.cjs.map +1 -1
  117. package/dist/actions/post-delete-short-url.d.cts +3 -3
  118. package/dist/actions/post-delete-short-url.d.cts.map +1 -1
  119. package/dist/actions/post-delete-short-url.d.mts +3 -3
  120. package/dist/actions/post-delete-short-url.d.mts.map +1 -1
  121. package/dist/actions/post-delete-short-url.mjs +1 -0
  122. package/dist/actions/post-delete-short-url.mjs.map +1 -1
  123. package/dist/actions/post-delete-template.cjs +1 -0
  124. package/dist/actions/post-delete-template.cjs.map +1 -1
  125. package/dist/actions/post-delete-template.d.cts +3 -3
  126. package/dist/actions/post-delete-template.d.cts.map +1 -1
  127. package/dist/actions/post-delete-template.d.mts +3 -3
  128. package/dist/actions/post-delete-template.d.mts.map +1 -1
  129. package/dist/actions/post-delete-template.mjs +1 -0
  130. package/dist/actions/post-delete-template.mjs.map +1 -1
  131. package/dist/actions/post-edit-contact.cjs +1 -0
  132. package/dist/actions/post-edit-contact.cjs.map +1 -1
  133. package/dist/actions/post-edit-contact.d.cts +3 -7
  134. package/dist/actions/post-edit-contact.d.cts.map +1 -1
  135. package/dist/actions/post-edit-contact.d.mts +3 -7
  136. package/dist/actions/post-edit-contact.d.mts.map +1 -1
  137. package/dist/actions/post-edit-contact.mjs +1 -0
  138. package/dist/actions/post-edit-contact.mjs.map +1 -1
  139. package/dist/actions/post-edit-group.cjs +1 -0
  140. package/dist/actions/post-edit-group.cjs.map +1 -1
  141. package/dist/actions/post-edit-group.d.cts +3 -4
  142. package/dist/actions/post-edit-group.d.cts.map +1 -1
  143. package/dist/actions/post-edit-group.d.mts +3 -4
  144. package/dist/actions/post-edit-group.d.mts.map +1 -1
  145. package/dist/actions/post-edit-group.mjs +1 -0
  146. package/dist/actions/post-edit-group.mjs.map +1 -1
  147. package/dist/actions/post-edit-profile.cjs +1 -0
  148. package/dist/actions/post-edit-profile.cjs.map +1 -1
  149. package/dist/actions/post-edit-profile.d.cts +4 -12
  150. package/dist/actions/post-edit-profile.d.cts.map +1 -1
  151. package/dist/actions/post-edit-profile.d.mts +4 -12
  152. package/dist/actions/post-edit-profile.d.mts.map +1 -1
  153. package/dist/actions/post-edit-profile.mjs +1 -0
  154. package/dist/actions/post-edit-profile.mjs.map +1 -1
  155. package/dist/actions/post-edit-template.cjs +1 -0
  156. package/dist/actions/post-edit-template.cjs.map +1 -1
  157. package/dist/actions/post-edit-template.d.cts +3 -5
  158. package/dist/actions/post-edit-template.d.cts.map +1 -1
  159. package/dist/actions/post-edit-template.d.mts +3 -5
  160. package/dist/actions/post-edit-template.d.mts.map +1 -1
  161. package/dist/actions/post-edit-template.mjs +1 -0
  162. package/dist/actions/post-edit-template.mjs.map +1 -1
  163. package/dist/actions/post-generate-otp.cjs +1 -0
  164. package/dist/actions/post-generate-otp.cjs.map +1 -1
  165. package/dist/actions/post-generate-otp.d.cts +3 -5
  166. package/dist/actions/post-generate-otp.d.cts.map +1 -1
  167. package/dist/actions/post-generate-otp.d.mts +3 -5
  168. package/dist/actions/post-generate-otp.d.mts.map +1 -1
  169. package/dist/actions/post-generate-otp.mjs +1 -0
  170. package/dist/actions/post-generate-otp.mjs.map +1 -1
  171. package/dist/actions/post-sent-sms-report.cjs +1 -0
  172. package/dist/actions/post-sent-sms-report.cjs.map +1 -1
  173. package/dist/actions/post-sent-sms-report.d.cts +3 -6
  174. package/dist/actions/post-sent-sms-report.d.cts.map +1 -1
  175. package/dist/actions/post-sent-sms-report.d.mts +3 -6
  176. package/dist/actions/post-sent-sms-report.d.mts.map +1 -1
  177. package/dist/actions/post-sent-sms-report.mjs +1 -0
  178. package/dist/actions/post-sent-sms-report.mjs.map +1 -1
  179. package/dist/actions/send-sms-xml.cjs +1 -0
  180. package/dist/actions/send-sms-xml.cjs.map +1 -1
  181. package/dist/actions/send-sms-xml.d.cts +3 -11
  182. package/dist/actions/send-sms-xml.d.cts.map +1 -1
  183. package/dist/actions/send-sms-xml.d.mts +3 -11
  184. package/dist/actions/send-sms-xml.d.mts.map +1 -1
  185. package/dist/actions/send-sms-xml.mjs +1 -0
  186. package/dist/actions/send-sms-xml.mjs.map +1 -1
  187. package/dist/app.cjs +5 -2
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +7 -1
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +7 -1
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +3 -2
  194. package/dist/app.mjs.map +1 -1
  195. package/dist/index.d.cts +1 -1
  196. package/dist/index.d.mts +1 -1
  197. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-edit-profile.d.ts
@@ -15,22 +17,12 @@ declare const SmsAlertPostEditProfileInput: z.ZodObject<{
15
17
  declare const SmsAlertPostEditProfileOutput: z.ZodObject<{
16
18
  status: z.ZodNullable<z.ZodEnum<{
17
19
  success: "success";
18
- failure: "failure";
19
20
  error: "error";
21
+ failure: "failure";
20
22
  }>>;
21
23
  description: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>;
23
- declare const smsAlertPostEditProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- mobileno: string;
25
- gst?: string | undefined;
26
- city?: string | undefined;
27
- email?: string | undefined;
28
- state?: string | undefined;
29
- address?: string | undefined;
30
- company?: string | undefined;
31
- country?: string | undefined;
32
- pincode?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const smsAlertPostEditProfile: AppAction<typeof SmsAlertPostEditProfileInput, typeof SmsAlertPostEditProfileOutput, typeof smsAlert.credential>;
34
26
  //#endregion
35
27
  export { smsAlertPostEditProfile };
36
28
  //# sourceMappingURL=post-edit-profile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-profile.d.mts","names":[],"sources":["../../src/actions/post-edit-profile.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-edit-profile.d.mts","names":[],"sources":["../../src/actions/post-edit-profile.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const smsAlertPostEditProfile = action("SMS_ALERT_POST_EDIT_PROFILE", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-profile.mjs","names":[],"sources":["../../src/actions/post-edit-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostEditProfileInput = z.object({\n gst: z.string().describe(\"GST number\").optional(),\n city: z.string().describe(\"City name\").optional(),\n email: z.string().describe(\"Email address\").optional(),\n state: z.string().describe(\"State name\").optional(),\n address: z.string().describe(\"Physical address\").optional(),\n company: z.string().describe(\"Company name\").optional(),\n country: z.string().describe(\"Country\").optional(),\n pincode: z.string().describe(\"Postal PIN code\").optional(),\n mobileno: z.string().describe(\"Registered mobile number\"),\n}).describe(\"Request schema for updating authenticated user account profile details.\");\nexport const SmsAlertPostEditProfileOutput = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the update request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\n}).passthrough().describe(\"Response schema for update profile endpoint.\");\n\nexport const smsAlertPostEditProfile = action(\"SMS_ALERT_POST_EDIT_PROFILE\", {\n slug: \"sms_alert-post-edit-profile\",\n name: \"Update User Profile\",\n description: \"Tool to update user account profile details. Use when modifying authenticated user profile after login.\",\n input: SmsAlertPostEditProfileInput,\n output: SmsAlertPostEditProfileOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC1D,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAV2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-edit-profile.mjs","names":[],"sources":["../../src/actions/post-edit-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostEditProfileInput = z.object({\n gst: z.string().describe(\"GST number\").optional(),\n city: z.string().describe(\"City name\").optional(),\n email: z.string().describe(\"Email address\").optional(),\n state: z.string().describe(\"State name\").optional(),\n address: z.string().describe(\"Physical address\").optional(),\n company: z.string().describe(\"Company name\").optional(),\n country: z.string().describe(\"Country\").optional(),\n pincode: z.string().describe(\"Postal PIN code\").optional(),\n mobileno: z.string().describe(\"Registered mobile number\"),\n}).describe(\"Request schema for updating authenticated user account profile details.\");\nexport const SmsAlertPostEditProfileOutput = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the update request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\n}).passthrough().describe(\"Response schema for update profile endpoint.\");\n\nexport const smsAlertPostEditProfile: AppAction<\n typeof SmsAlertPostEditProfileInput,\n typeof SmsAlertPostEditProfileOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_EDIT_PROFILE\", {\n slug: \"sms_alert-post-edit-profile\",\n name: \"Update User Profile\",\n description: \"Tool to update user account profile details. Use when modifying authenticated user profile after login.\",\n input: SmsAlertPostEditProfileInput,\n output: SmsAlertPostEditProfileOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC1D,CAAC,CAAC,CAAC,SAAS,yEAcH;CACP,QAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-edit-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-template.cjs","names":["z","action"],"sources":["../../src/actions/post-edit-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostEditTemplateInput = z.object({\n id: z.string().describe(\"Unique identifier of the template to update\"),\n name: z.string().describe(\"New name for the template\"),\n text: z.string().describe(\"New SMS content for the template\"),\n}).describe(\"Parameters for editing an existing SMS template.\");\nexport const SmsAlertPostEditTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful\").nullable(),\n description: z.string().describe(\"Additional information about the result\").nullable(),\n}).passthrough().describe(\"Response schema after editing an SMS template.\");\n\nexport const smsAlertPostEditTemplate = action(\"SMS_ALERT_POST_EDIT_TEMPLATE\", {\n slug: \"sms_alert-post-edit-template\",\n name: \"Edit SMS Template\",\n description: \"Tool to edit an existing SMS template. Use when you need to update a template after confirming the template id.\",\n input: SmsAlertPostEditTemplateInput,\n output: SmsAlertPostEditTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-edit-template.cjs","names":["z","action"],"sources":["../../src/actions/post-edit-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostEditTemplateInput = z.object({\n id: z.string().describe(\"Unique identifier of the template to update\"),\n name: z.string().describe(\"New name for the template\"),\n text: z.string().describe(\"New SMS content for the template\"),\n}).describe(\"Parameters for editing an existing SMS template.\");\nexport const SmsAlertPostEditTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful\").nullable(),\n description: z.string().describe(\"Additional information about the result\").nullable(),\n}).passthrough().describe(\"Response schema after editing an SMS template.\");\n\nexport const smsAlertPostEditTemplate: AppAction<\n typeof SmsAlertPostEditTemplateInput,\n typeof SmsAlertPostEditTemplateOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_EDIT_TEMPLATE\", {\n slug: \"sms_alert-post-edit-template\",\n name: \"Edit SMS Template\",\n description: \"Tool to edit an existing SMS template. Use when you need to update a template after confirming the template id.\",\n input: SmsAlertPostEditTemplateInput,\n output: SmsAlertPostEditTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-edit-template.d.ts
@@ -13,11 +15,7 @@ declare const SmsAlertPostEditTemplateOutput: z.ZodObject<{
13
15
  }>>;
14
16
  description: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const smsAlertPostEditTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: string;
18
- name: string;
19
- text: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const smsAlertPostEditTemplate: AppAction<typeof SmsAlertPostEditTemplateInput, typeof SmsAlertPostEditTemplateOutput, typeof smsAlert.credential>;
21
19
  //#endregion
22
20
  export { smsAlertPostEditTemplate };
23
21
  //# sourceMappingURL=post-edit-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-template.d.cts","names":[],"sources":["../../src/actions/post-edit-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"post-edit-template.d.cts","names":[],"sources":["../../src/actions/post-edit-template.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-edit-template.d.ts
@@ -13,11 +15,7 @@ declare const SmsAlertPostEditTemplateOutput: z.ZodObject<{
13
15
  }>>;
14
16
  description: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const smsAlertPostEditTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: string;
18
- name: string;
19
- text: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const smsAlertPostEditTemplate: AppAction<typeof SmsAlertPostEditTemplateInput, typeof SmsAlertPostEditTemplateOutput, typeof smsAlert.credential>;
21
19
  //#endregion
22
20
  export { smsAlertPostEditTemplate };
23
21
  //# sourceMappingURL=post-edit-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-template.d.mts","names":[],"sources":["../../src/actions/post-edit-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"post-edit-template.d.mts","names":[],"sources":["../../src/actions/post-edit-template.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const smsAlertPostEditTemplate = action("SMS_ALERT_POST_EDIT_TEMPLATE", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-template.mjs","names":[],"sources":["../../src/actions/post-edit-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostEditTemplateInput = z.object({\n id: z.string().describe(\"Unique identifier of the template to update\"),\n name: z.string().describe(\"New name for the template\"),\n text: z.string().describe(\"New SMS content for the template\"),\n}).describe(\"Parameters for editing an existing SMS template.\");\nexport const SmsAlertPostEditTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful\").nullable(),\n description: z.string().describe(\"Additional information about the result\").nullable(),\n}).passthrough().describe(\"Response schema after editing an SMS template.\");\n\nexport const smsAlertPostEditTemplate = action(\"SMS_ALERT_POST_EDIT_TEMPLATE\", {\n slug: \"sms_alert-post-edit-template\",\n name: \"Edit SMS Template\",\n description: \"Tool to edit an existing SMS template. Use when you need to update a template after confirming the template id.\",\n input: SmsAlertPostEditTemplateInput,\n output: SmsAlertPostEditTemplateOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-edit-template.mjs","names":[],"sources":["../../src/actions/post-edit-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostEditTemplateInput = z.object({\n id: z.string().describe(\"Unique identifier of the template to update\"),\n name: z.string().describe(\"New name for the template\"),\n text: z.string().describe(\"New SMS content for the template\"),\n}).describe(\"Parameters for editing an existing SMS template.\");\nexport const SmsAlertPostEditTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful\").nullable(),\n description: z.string().describe(\"Additional information about the result\").nullable(),\n}).passthrough().describe(\"Response schema after editing an SMS template.\");\n\nexport const smsAlertPostEditTemplate: AppAction<\n typeof SmsAlertPostEditTemplateInput,\n typeof SmsAlertPostEditTemplateOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_EDIT_TEMPLATE\", {\n slug: \"sms_alert-post-edit-template\",\n name: \"Edit SMS Template\",\n description: \"Tool to edit an existing SMS template. Use when you need to update a template after confirming the template id.\",\n input: SmsAlertPostEditTemplateInput,\n output: SmsAlertPostEditTemplateOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-generate-otp.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-generate-otp.cjs","names":["z","action"],"sources":["../../src/actions/post-generate-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostGenerateOtpInput = z.object({\n sender: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\").optional(),\n mobileno: z.string().describe(\"Mobile number(s) to send OTP, comma-separated, with or without country code Digits only — no spaces, dashes, or special characters. Country code required (e.g., '91' prefix for India).\"),\n template: z.string().describe(\"Template for OTP containing the [otp] tag, e.g., '[otp]' The `[otp]` placeholder is case-sensitive and must appear exactly as shown with brackets; omitting it prevents OTP injection.\"),\n}).describe(\"Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.\");\nconst SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\").nullable(),\n status: z.string().describe(\"Delivery status of the OTP message\").nullable(),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\").nullable(),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\").nullable(),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\").nullable(),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough();\nexport const SmsAlertPostGenerateOtpOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostGenerateOtp = action(\"SMS_ALERT_POST_GENERATE_OTP\", {\n slug: \"sms_alert-post-generate-otp\",\n name: \"Generate OTP\",\n description: \"Tool to generate a one-time password (OTP). Use when you need to send an OTP to a mobile number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CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;AACzH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-generate-otp.cjs","names":["z","action"],"sources":["../../src/actions/post-generate-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostGenerateOtpInput = z.object({\n sender: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\").optional(),\n mobileno: z.string().describe(\"Mobile number(s) to send OTP, comma-separated, with or without country code Digits only — no spaces, dashes, or special characters. Country code required (e.g., '91' prefix for India).\"),\n template: z.string().describe(\"Template for OTP containing the [otp] tag, e.g., '[otp]' The `[otp]` placeholder is case-sensitive and must appear exactly as shown with brackets; omitting it prevents OTP injection.\"),\n}).describe(\"Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.\");\nconst SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\").nullable(),\n status: z.string().describe(\"Delivery status of the OTP message\").nullable(),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\").nullable(),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\").nullable(),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\").nullable(),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough();\nexport const SmsAlertPostGenerateOtpOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostGenerateOtp: AppAction<\n typeof SmsAlertPostGenerateOtpInput,\n typeof SmsAlertPostGenerateOtpOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_GENERATE_OTP\", {\n slug: \"sms_alert-post-generate-otp\",\n name: \"Generate OTP\",\n description: \"Tool to generate a one-time password (OTP). Use when you need to send an OTP to a mobile number using a predefined template.\",\n input: SmsAlertPostGenerateOtpInput,\n output: SmsAlertPostGenerateOtpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;CACxN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL;AACxN,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;AACzH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-generate-otp.d.ts
@@ -23,11 +25,7 @@ declare const SmsAlertPostGenerateOtpOutput: z.ZodObject<{
23
25
  desc: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>]>;
25
27
  }, z.core.$loose>;
26
- declare const smsAlertPostGenerateOtp: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- mobileno: string;
28
- template: string;
29
- sender?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const smsAlertPostGenerateOtp: AppAction<typeof SmsAlertPostGenerateOtpInput, typeof SmsAlertPostGenerateOtpOutput, typeof smsAlert.credential>;
31
29
  //#endregion
32
30
  export { smsAlertPostGenerateOtp };
33
31
  //# sourceMappingURL=post-generate-otp.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-generate-otp.d.cts","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-generate-otp.d.cts","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-generate-otp.d.ts
@@ -23,11 +25,7 @@ declare const SmsAlertPostGenerateOtpOutput: z.ZodObject<{
23
25
  desc: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>]>;
25
27
  }, z.core.$loose>;
26
- declare const smsAlertPostGenerateOtp: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- mobileno: string;
28
- template: string;
29
- sender?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const smsAlertPostGenerateOtp: AppAction<typeof SmsAlertPostGenerateOtpInput, typeof SmsAlertPostGenerateOtpOutput, typeof smsAlert.credential>;
31
29
  //#endregion
32
30
  export { smsAlertPostGenerateOtp };
33
31
  //# sourceMappingURL=post-generate-otp.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-generate-otp.d.mts","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-generate-otp.d.mts","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/post-generate-otp.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-generate-otp.mjs","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostGenerateOtpInput = z.object({\n sender: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\").optional(),\n mobileno: z.string().describe(\"Mobile number(s) to send OTP, comma-separated, with or without country code Digits only — no spaces, dashes, or special characters. Country code required (e.g., '91' prefix for India).\"),\n template: z.string().describe(\"Template for OTP containing the [otp] tag, e.g., '[otp]' The `[otp]` placeholder is case-sensitive and must appear exactly as shown with brackets; omitting it prevents OTP injection.\"),\n}).describe(\"Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.\");\nconst SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\").nullable(),\n status: z.string().describe(\"Delivery status of the OTP message\").nullable(),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\").nullable(),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\").nullable(),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\").nullable(),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough();\nexport const SmsAlertPostGenerateOtpOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostGenerateOtp = action(\"SMS_ALERT_POST_GENERATE_OTP\", {\n slug: \"sms_alert-post-generate-otp\",\n name: \"Generate OTP\",\n description: \"Tool to generate a one-time password (OTP). Use when you need to send an OTP to a mobile number using a predefined template.\",\n input: SmsAlertPostGenerateOtpInput,\n output: SmsAlertPostGenerateOtpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;CACxN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL;AACxN,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY;AAMf,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,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;CACzH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"post-generate-otp.mjs","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostGenerateOtpInput = z.object({\n sender: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\").optional(),\n mobileno: z.string().describe(\"Mobile number(s) to send OTP, comma-separated, with or without country code Digits only — no spaces, dashes, or special characters. Country code required (e.g., '91' prefix for India).\"),\n template: z.string().describe(\"Template for OTP containing the [otp] tag, e.g., '[otp]' The `[otp]` placeholder is case-sensitive and must appear exactly as shown with brackets; omitting it prevents OTP injection.\"),\n}).describe(\"Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.\");\nconst SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\").nullable(),\n status: z.string().describe(\"Delivery status of the OTP message\").nullable(),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\").nullable(),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\").nullable(),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\").nullable(),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough();\nexport const SmsAlertPostGenerateOtpOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostGenerateOtp: AppAction<\n typeof SmsAlertPostGenerateOtpInput,\n typeof SmsAlertPostGenerateOtpOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_GENERATE_OTP\", {\n slug: \"sms_alert-post-generate-otp\",\n name: \"Generate OTP\",\n description: \"Tool to generate a one-time password (OTP). Use when you need to send an OTP to a mobile number using a predefined template.\",\n input: SmsAlertPostGenerateOtpInput,\n output: SmsAlertPostGenerateOtpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;CACxN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL;AACxN,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;CACzH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-sent-sms-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-sent-sms-report.cjs","names":["z","action"],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).passthrough().describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).passthrough().describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n}).passthrough();\n\nexport const smsAlertPostSentSmsReport = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output: SmsAlertPostSentSmsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G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eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-sent-sms-report.cjs","names":["z","action"],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).passthrough().describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).passthrough().describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n}).passthrough();\n\nexport const smsAlertPostSentSmsReport: AppAction<\n typeof SmsAlertPostSentSmsReportInput,\n typeof SmsAlertPostSentSmsReportOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output: SmsAlertPostSentSmsReportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CA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AAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-sent-sms-report.d.ts
@@ -31,12 +33,7 @@ declare const SmsAlertPostSentSmsReportOutput: z.ZodObject<{
31
33
  }, z.core.$loose>>;
32
34
  }, z.core.$loose>>>>;
33
35
  }, z.core.$loose>;
34
- declare const smsAlertPostSentSmsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- page?: number | undefined;
36
- limit?: number | undefined;
37
- mobile?: string | undefined;
38
- campaignuniqueid?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ declare const smsAlertPostSentSmsReport: AppAction<typeof SmsAlertPostSentSmsReportInput, typeof SmsAlertPostSentSmsReportOutput, typeof smsAlert.credential>;
40
37
  //#endregion
41
38
  export { smsAlertPostSentSmsReport };
42
39
  //# sourceMappingURL=post-sent-sms-report.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-sent-sms-report.d.cts","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAyB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"post-sent-sms-report.d.cts","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAyB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-sent-sms-report.d.ts
@@ -31,12 +33,7 @@ declare const SmsAlertPostSentSmsReportOutput: z.ZodObject<{
31
33
  }, z.core.$loose>>;
32
34
  }, z.core.$loose>>>>;
33
35
  }, z.core.$loose>;
34
- declare const smsAlertPostSentSmsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
35
- page?: number | undefined;
36
- limit?: number | undefined;
37
- mobile?: string | undefined;
38
- campaignuniqueid?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ declare const smsAlertPostSentSmsReport: AppAction<typeof SmsAlertPostSentSmsReportInput, typeof SmsAlertPostSentSmsReportOutput, typeof smsAlert.credential>;
40
37
  //#endregion
41
38
  export { smsAlertPostSentSmsReport };
42
39
  //# sourceMappingURL=post-sent-sms-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-sent-sms-report.d.mts","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAyB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"post-sent-sms-report.d.mts","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAyB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/post-sent-sms-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-sent-sms-report.mjs","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).passthrough().describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).passthrough().describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n}).passthrough();\n\nexport const smsAlertPostSentSmsReport = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output: SmsAlertPostSentSmsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAA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C,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,wDAAwD,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"post-sent-sms-report.mjs","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).passthrough().describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).passthrough().describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n}).passthrough();\n\nexport const smsAlertPostSentSmsReport: AppAction<\n typeof SmsAlertPostSentSmsReportInput,\n typeof SmsAlertPostSentSmsReportOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.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CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,wDAAwD,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,4BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/send-sms-xml.ts
@@ -1 +1 @@
1
- {"version":3,"file":"send-sms-xml.cjs","names":["z","action"],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).passthrough().describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).passthrough().describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).passthrough().describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,6FAA6F,EAChM,CAAC,CAAC,CAAC,SAAS,uHAAuH;AACnI,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAG;EAA6C;CAAyC,CAAC;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,qBAAqBC,eAAAA,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"send-sms-xml.cjs","names":["z","action"],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).passthrough().describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).passthrough().describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).passthrough().describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml: AppAction<\n typeof SmsAlertSendSmsXmlInput,\n typeof SmsAlertSendSmsXmlOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAA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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/send-sms-xml.d.ts
@@ -21,17 +23,7 @@ declare const SmsAlertSendSmsXmlOutput: z.ZodObject<{
21
23
  desc: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>]>;
23
25
  }, z.core.$loose>;
24
- declare const smsAlertSendSmsXml: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- messages: {
26
- [x: string]: unknown;
27
- text: string;
28
- addresses: {
29
- [x: string]: unknown;
30
- to: string;
31
- from: string;
32
- }[];
33
- }[];
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const smsAlertSendSmsXml: AppAction<typeof SmsAlertSendSmsXmlInput, typeof SmsAlertSendSmsXmlOutput, typeof smsAlert.credential>;
35
27
  //#endregion
36
28
  export { smsAlertSendSmsXml };
37
29
  //# sourceMappingURL=send-sms-xml.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-sms-xml.d.cts","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAevB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"send-sms-xml.d.cts","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAevB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/send-sms-xml.d.ts
@@ -21,17 +23,7 @@ declare const SmsAlertSendSmsXmlOutput: z.ZodObject<{
21
23
  desc: z.ZodNullable<z.ZodString>;
22
24
  }, z.core.$loose>]>;
23
25
  }, z.core.$loose>;
24
- declare const smsAlertSendSmsXml: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- messages: {
26
- [x: string]: unknown;
27
- text: string;
28
- addresses: {
29
- [x: string]: unknown;
30
- to: string;
31
- from: string;
32
- }[];
33
- }[];
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const smsAlertSendSmsXml: AppAction<typeof SmsAlertSendSmsXmlInput, typeof SmsAlertSendSmsXmlOutput, typeof smsAlert.credential>;
35
27
  //#endregion
36
28
  export { smsAlertSendSmsXml };
37
29
  //# sourceMappingURL=send-sms-xml.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-sms-xml.d.mts","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAevB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"send-sms-xml.d.mts","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAevB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/send-sms-xml.ts
@@ -1 +1 @@
1
- {"version":3,"file":"send-sms-xml.mjs","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).passthrough().describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).passthrough().describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).passthrough().describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,6FAA6F,EAChM,CAAC,CAAC,CAAC,SAAS,uHAAuH;AACnI,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAMvD,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG;GAA6C;EAAyC,CAAC;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"send-sms-xml.mjs","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).passthrough().describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).passthrough().describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).passthrough().describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml: AppAction<\n typeof SmsAlertSendSmsXmlInput,\n typeof SmsAlertSendSmsXmlOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EA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(0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const smsAlert = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "sms_alert",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.smsAlert = smsAlert;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const smsAlert = defineApp({\n slug: \"sms_alert\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const smsAlert: KeystrokeApp<\"sms_alert\", typeof credential> = defineApp({\n slug: \"sms_alert\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAmE;CAC9E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const smsAlert: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const smsAlert: KeystrokeApp<"sms_alert", typeof credential>;
3
9
  //#endregion
4
10
  export { smsAlert };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const smsAlert: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const smsAlert: KeystrokeApp<"sms_alert", typeof credential>;
3
9
  //#endregion
4
10
  export { smsAlert };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,qBAAqB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const smsAlert = defineApp({
4
4
  slug: "sms_alert",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { smsAlert };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const smsAlert = defineApp({\n slug: \"sms_alert\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const smsAlert: KeystrokeApp<\"sms_alert\", typeof credential> = defineApp({\n slug: \"sms_alert\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAyD,UAAU;CAC9E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { smsAlert } from "./app.cjs";
1
2
  import { smsAlertChangePassword } from "./actions/change-password.cjs";
2
3
  import { smsAlertGetBalanceCheck } from "./actions/get-balance-check.cjs";
3
4
  import { smsAlertGetDeliveryReport } from "./actions/get-delivery-report.cjs";
@@ -21,6 +22,5 @@ import { smsAlertPostEditTemplate } from "./actions/post-edit-template.cjs";
21
22
  import { smsAlertPostGenerateOtp } from "./actions/post-generate-otp.cjs";
22
23
  import { smsAlertPostSentSmsReport } from "./actions/post-sent-sms-report.cjs";
23
24
  import { smsAlertSendSmsXml } from "./actions/send-sms-xml.cjs";
24
- import { smsAlert } from "./app.cjs";
25
25
  import { smsAlertCatalog } from "./catalog.cjs";
26
26
  export { smsAlert, smsAlertCatalog, smsAlertChangePassword, smsAlertGetBalanceCheck, smsAlertGetDeliveryReport, smsAlertGetGroupDetail, smsAlertGetGroupList, smsAlertGetSenderIdList, smsAlertGetTemplateList, smsAlertGetUserProfile, smsAlertPostCreateContact, smsAlertPostCreateGroup, smsAlertPostCreateShortUrl, smsAlertPostCreateTemplate, smsAlertPostDeleteContact, smsAlertPostDeleteGroup, smsAlertPostDeleteShortUrl, smsAlertPostDeleteTemplate, smsAlertPostEditContact, smsAlertPostEditGroup, smsAlertPostEditProfile, smsAlertPostEditTemplate, smsAlertPostGenerateOtp, smsAlertPostSentSmsReport, smsAlertSendSmsXml };