@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,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-edit-profile.d.ts
4
- declare const SmsAlertPostEditProfileInput: z.ZodTypeAny;
5
- declare const SmsAlertPostEditProfileOutput: z.ZodTypeAny;
6
- declare const smsAlertPostEditProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostEditProfileInput: z.ZodObject<{
5
+ gst: z.ZodOptional<z.ZodString>;
6
+ city: z.ZodOptional<z.ZodString>;
7
+ email: z.ZodOptional<z.ZodString>;
8
+ state: z.ZodOptional<z.ZodString>;
9
+ address: z.ZodOptional<z.ZodString>;
10
+ company: z.ZodOptional<z.ZodString>;
11
+ country: z.ZodOptional<z.ZodString>;
12
+ pincode: z.ZodOptional<z.ZodString>;
13
+ mobileno: z.ZodString;
14
+ }, z.core.$strip>;
15
+ declare const SmsAlertPostEditProfileOutput: z.ZodObject<{
16
+ status: z.ZodNullable<z.ZodEnum<{
17
+ success: "success";
18
+ error: "error";
19
+ failure: "failure";
20
+ }>>;
21
+ description: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
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]>;
7
34
  //#endregion
8
35
  export { smsAlertPostEditProfile };
9
36
  //# sourceMappingURL=post-edit-profile.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-edit-profile.d.cts","names":[],"sources":["../../src/actions/post-edit-profile.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAUyC;AAAA,cACzE,6BAAA,EAA+B,CAAA,CAAE,UAGa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-edit-profile.d.cts","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,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-edit-profile.d.ts
4
- declare const SmsAlertPostEditProfileInput: z.ZodTypeAny;
5
- declare const SmsAlertPostEditProfileOutput: z.ZodTypeAny;
6
- declare const smsAlertPostEditProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostEditProfileInput: z.ZodObject<{
5
+ gst: z.ZodOptional<z.ZodString>;
6
+ city: z.ZodOptional<z.ZodString>;
7
+ email: z.ZodOptional<z.ZodString>;
8
+ state: z.ZodOptional<z.ZodString>;
9
+ address: z.ZodOptional<z.ZodString>;
10
+ company: z.ZodOptional<z.ZodString>;
11
+ country: z.ZodOptional<z.ZodString>;
12
+ pincode: z.ZodOptional<z.ZodString>;
13
+ mobileno: z.ZodString;
14
+ }, z.core.$strip>;
15
+ declare const SmsAlertPostEditProfileOutput: z.ZodObject<{
16
+ status: z.ZodNullable<z.ZodEnum<{
17
+ success: "success";
18
+ error: "error";
19
+ failure: "failure";
20
+ }>>;
21
+ description: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
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]>;
7
34
  //#endregion
8
35
  export { smsAlertPostEditProfile };
9
36
  //# 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,EAA8B,CAAA,CAAE,UAUyC;AAAA,cACzE,6BAAA,EAA+B,CAAA,CAAE,UAGa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -20,8 +20,8 @@ const smsAlertPostEditProfile = action("SMS_ALERT_POST_EDIT_PROFILE", {
20
20
  "success",
21
21
  "failure",
22
22
  "error"
23
- ]).describe("Result of the update request"),
24
- description: z.string().describe("Description or status message")
23
+ ]).describe("Result of the update request").nullable(),
24
+ description: z.string().describe("Description or status message").nullable()
25
25
  }).describe("Response schema for update profile endpoint.")
26
26
  });
27
27
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the update request\"),\n description: z.string().describe(\"Description or status message\"),\n}).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,OApBwD,EAAE,OAAO;EACjE,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,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAClE,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
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}).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,SAAS,8CAOF;AACV,CAAC"}
@@ -7,8 +7,8 @@ const SmsAlertPostEditTemplateInput = zod.z.object({
7
7
  text: zod.z.string().describe("New SMS content for the template")
8
8
  }).describe("Parameters for editing an existing SMS template.");
9
9
  const SmsAlertPostEditTemplateOutput = zod.z.object({
10
- status: zod.z.enum(["success", "error"]).describe("Indicates whether the update was successful"),
11
- description: zod.z.string().describe("Additional information about the result")
10
+ status: zod.z.enum(["success", "error"]).describe("Indicates whether the update was successful").nullable(),
11
+ description: zod.z.string().describe("Additional information about the result").nullable()
12
12
  }).describe("Response schema after editing an SMS template.");
13
13
  const smsAlertPostEditTemplate = require_action.action("SMS_ALERT_POST_EDIT_TEMPLATE", {
14
14
  slug: "sms_alert-post-edit-template",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful\"),\n description: z.string().describe(\"Additional information about the result\"),\n}).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,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC5E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,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 { 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}).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,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-edit-template.d.ts
4
- declare const SmsAlertPostEditTemplateInput: z.ZodTypeAny;
5
- declare const SmsAlertPostEditTemplateOutput: z.ZodTypeAny;
6
- declare const smsAlertPostEditTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostEditTemplateInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodString;
7
+ text: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertPostEditTemplateOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ }>>;
14
+ description: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>;
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]>;
7
21
  //#endregion
8
22
  export { smsAlertPostEditTemplate };
9
23
  //# 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,EAA+B,CAAA,CAAE,UAIiB;AAAA,cAClD,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-edit-template.d.ts
4
- declare const SmsAlertPostEditTemplateInput: z.ZodTypeAny;
5
- declare const SmsAlertPostEditTemplateOutput: z.ZodTypeAny;
6
- declare const smsAlertPostEditTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostEditTemplateInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodString;
7
+ text: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertPostEditTemplateOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ }>>;
14
+ description: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>;
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]>;
7
21
  //#endregion
8
22
  export { smsAlertPostEditTemplate };
9
23
  //# 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,EAA+B,CAAA,CAAE,UAIiB;AAAA,cAClD,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,8 +10,8 @@ const smsAlertPostEditTemplate = action("SMS_ALERT_POST_EDIT_TEMPLATE", {
10
10
  text: z.string().describe("New SMS content for the template")
11
11
  }).describe("Parameters for editing an existing SMS template."),
12
12
  output: z.object({
13
- status: z.enum(["success", "error"]).describe("Indicates whether the update was successful"),
14
- description: z.string().describe("Additional information about the result")
13
+ status: z.enum(["success", "error"]).describe("Indicates whether the update was successful").nullable(),
14
+ description: z.string().describe("Additional information about the result").nullable()
15
15
  }).describe("Response schema after editing an SMS template.")
16
16
  });
17
17
  //#endregion
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful\"),\n description: z.string().describe(\"Additional information about the result\"),\n}).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,OAdyD,EAAE,OAAO;EAClE,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,QAV0D,EAAE,OAAO;EACnE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC5E,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
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}).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,SAAS,gDAOF;AACV,CAAC"}
@@ -7,18 +7,18 @@ const SmsAlertPostGenerateOtpInput = zod.z.object({
7
7
  template: zod.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.")
8
8
  }).describe("Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.");
9
9
  const SmsAlertPostGenerateOtp_BatchDetailSchema = zod.z.object({
10
- msgid: zod.z.string().describe("Message ID of the sent OTP"),
11
- status: zod.z.string().describe("Delivery status of the OTP message"),
12
- mobileno: zod.z.string().describe("Mobile number to which the OTP was sent")
10
+ msgid: zod.z.string().describe("Message ID of the sent OTP").nullable(),
11
+ status: zod.z.string().describe("Delivery status of the OTP message").nullable(),
12
+ mobileno: zod.z.string().describe("Mobile number to which the OTP was sent").nullable()
13
13
  });
14
14
  const SmsAlertPostGenerateOtp_SuccessDescriptionSchema = zod.z.object({
15
- desc: zod.z.string().describe("Description of the success status, e.g., number of messages scheduled"),
16
- batchid: zod.z.string().describe("Batch ID of the scheduled OTP message"),
15
+ desc: zod.z.string().describe("Description of the success status, e.g., number of messages scheduled").nullable(),
16
+ batchid: zod.z.string().describe("Batch ID of the scheduled OTP message").nullable(),
17
17
  batch_dtl: zod.z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe("List of details for each message in the batch")
18
18
  });
19
- const SmsAlertPostGenerateOtp_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error description returned by the API") });
19
+ const SmsAlertPostGenerateOtp_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error description returned by the API").nullable() });
20
20
  const SmsAlertPostGenerateOtpOutput = zod.z.object({
21
- status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
21
+ status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
22
22
  description: zod.z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema])
23
23
  });
24
24
  const smsAlertPostGenerateOtp = require_action.action("SMS_ALERT_POST_GENERATE_OTP", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\"),\n status: z.string().describe(\"Delivery status of the OTP message\"),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\"),\n});\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\"),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\"),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n});\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Error description returned by the API\"),\n});\nexport const SmsAlertPostGenerateOtpOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n});\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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACzE,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,WAAWA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC;AACD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACjG,aAAaA,IAAAA,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;AACzH,CAAC;AAED,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 { 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});\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});\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n});\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});\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+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;AACD,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;AACD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC;AACD,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;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-generate-otp.d.ts
4
- declare const SmsAlertPostGenerateOtpInput: z.ZodTypeAny;
5
- declare const SmsAlertPostGenerateOtpOutput: z.ZodTypeAny;
6
- declare const smsAlertPostGenerateOtp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostGenerateOtpInput: z.ZodObject<{
5
+ sender: z.ZodOptional<z.ZodString>;
6
+ mobileno: z.ZodString;
7
+ template: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertPostGenerateOtpOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ }>>;
14
+ description: z.ZodUnion<readonly [z.ZodObject<{
15
+ desc: z.ZodNullable<z.ZodString>;
16
+ batchid: z.ZodNullable<z.ZodString>;
17
+ batch_dtl: z.ZodArray<z.ZodObject<{
18
+ msgid: z.ZodNullable<z.ZodString>;
19
+ status: z.ZodNullable<z.ZodString>;
20
+ mobileno: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ desc: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$strip>]>;
25
+ }, z.core.$strip>;
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]>;
7
31
  //#endregion
8
32
  export { smsAlertPostGenerateOtp };
9
33
  //# 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,EAA8B,CAAA,CAAE,UAI2E;AAAA,cAc3G,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-generate-otp.d.ts
4
- declare const SmsAlertPostGenerateOtpInput: z.ZodTypeAny;
5
- declare const SmsAlertPostGenerateOtpOutput: z.ZodTypeAny;
6
- declare const smsAlertPostGenerateOtp: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostGenerateOtpInput: z.ZodObject<{
5
+ sender: z.ZodOptional<z.ZodString>;
6
+ mobileno: z.ZodString;
7
+ template: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertPostGenerateOtpOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ }>>;
14
+ description: z.ZodUnion<readonly [z.ZodObject<{
15
+ desc: z.ZodNullable<z.ZodString>;
16
+ batchid: z.ZodNullable<z.ZodString>;
17
+ batch_dtl: z.ZodArray<z.ZodObject<{
18
+ msgid: z.ZodNullable<z.ZodString>;
19
+ status: z.ZodNullable<z.ZodString>;
20
+ mobileno: z.ZodNullable<z.ZodString>;
21
+ }, z.core.$strip>>;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ desc: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$strip>]>;
25
+ }, z.core.$strip>;
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]>;
7
31
  //#endregion
8
32
  export { smsAlertPostGenerateOtp };
9
33
  //# 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,EAA8B,CAAA,CAAE,UAI2E;AAAA,cAc3G,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,23 +7,23 @@ const SmsAlertPostGenerateOtpInput = z.object({
7
7
  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.")
8
8
  }).describe("Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.");
9
9
  const SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({
10
- msgid: z.string().describe("Message ID of the sent OTP"),
11
- status: z.string().describe("Delivery status of the OTP message"),
12
- mobileno: z.string().describe("Mobile number to which the OTP was sent")
10
+ msgid: z.string().describe("Message ID of the sent OTP").nullable(),
11
+ status: z.string().describe("Delivery status of the OTP message").nullable(),
12
+ mobileno: z.string().describe("Mobile number to which the OTP was sent").nullable()
13
13
  });
14
14
  const SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({
15
- desc: z.string().describe("Description of the success status, e.g., number of messages scheduled"),
16
- batchid: z.string().describe("Batch ID of the scheduled OTP message"),
15
+ desc: z.string().describe("Description of the success status, e.g., number of messages scheduled").nullable(),
16
+ batchid: z.string().describe("Batch ID of the scheduled OTP message").nullable(),
17
17
  batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe("List of details for each message in the batch")
18
18
  });
19
- const SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error description returned by the API") });
19
+ const SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error description returned by the API").nullable() });
20
20
  const smsAlertPostGenerateOtp = action("SMS_ALERT_POST_GENERATE_OTP", {
21
21
  slug: "sms_alert-post-generate-otp",
22
22
  name: "Generate OTP",
23
23
  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.",
24
24
  input: SmsAlertPostGenerateOtpInput,
25
25
  output: z.object({
26
- status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
26
+ status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
27
27
  description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema])
28
28
  })
29
29
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\"),\n status: z.string().describe(\"Delivery status of the OTP message\"),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\"),\n});\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\"),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\"),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n});\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Error description returned by the API\"),\n});\nexport const SmsAlertPostGenerateOtpOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n});\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,+BAA6C,EAAE,OAAO;CACjE,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,4CAA0D,EAAE,OAAO;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AACzE,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC;AACD,MAAM,iDAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACnE,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,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;CACzH,CAOU;AACV,CAAC"}
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});\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});\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n});\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});\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;AACD,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;AACD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,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,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;CACzH,CAOU;AACV,CAAC"}
@@ -8,14 +8,14 @@ const SmsAlertPostSentSmsReportInput = zod.z.object({
8
8
  campaignuniqueid: zod.z.string().describe("Filter by specific campaign unique ID").optional()
9
9
  }).describe("Parameters to filter the sent-SMS campaign report.");
10
10
  const SmsAlertPostSentSmsReport_SmsCampaignLogSchema = zod.z.object({
11
- id: zod.z.string().describe("Unique identifier for the log entry"),
12
- text: zod.z.string().describe("Content of the SMS sent"),
11
+ id: zod.z.string().describe("Unique identifier for the log entry").nullable(),
12
+ text: zod.z.string().describe("Content of the SMS sent").nullable(),
13
13
  route: zod.z.string().describe("Route used for SMS delivery").nullable().optional(),
14
14
  source: zod.z.string().describe("Source of the SMS (e.g., Http)").nullable().optional(),
15
- userid: zod.z.string().describe("User ID who sent the SMS"),
15
+ userid: zod.z.string().describe("User ID who sent the SMS").nullable(),
16
16
  datetime: zod.z.string().describe("Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)").nullable().optional(),
17
17
  schedule: zod.z.boolean().describe("Whether SMS was scheduled").nullable().optional(),
18
- senderid: zod.z.string().describe("Sender ID used for the SMS"),
18
+ senderid: zod.z.string().describe("Sender ID used for the SMS").nullable(),
19
19
  smscount: zod.z.string().describe("Number of SMS messages").nullable().optional(),
20
20
  ipaddress: zod.z.string().describe("IP address from which SMS was sent").nullable().optional(),
21
21
  campaignname: zod.z.string().describe("Name of the campaign").nullable().optional(),
@@ -25,7 +25,7 @@ const SmsAlertPostSentSmsReport_SmsCampaignLogSchema = zod.z.object({
25
25
  }).describe("Single SMS campaign log entry.");
26
26
  const SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = zod.z.object({ Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable() }).describe("Wrapper for the SmsCampaignLog item.");
27
27
  const SmsAlertPostSentSmsReportOutput = zod.z.object({
28
- status: zod.z.enum(["success", "error"]).describe("API response status, success or error"),
28
+ status: zod.z.enum(["success", "error"]).describe("API response status, success or error").nullable(),
29
29
  description: zod.z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe("List of sent SMS campaign log entries").nullable().optional()
30
30
  });
31
31
  const smsAlertPostSentSmsReport = require_action.action("SMS_ALERT_POST_SENT_SMS_REPORT", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\"),\n text: z.string().describe(\"Content of the SMS sent\"),\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\"),\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\"),\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}).describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema: z.ZodTypeAny = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\"),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n});\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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACnD,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;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,wDAAsEA,IAAAA,EAAE,OAAO,EACnF,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACrF,aAAaA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC;AAED,MAAa,4BAA4BC,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 { 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}).describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).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});\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,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,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;AAED,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-sent-sms-report.d.ts
4
- declare const SmsAlertPostSentSmsReportInput: z.ZodTypeAny;
5
- declare const SmsAlertPostSentSmsReportOutput: z.ZodTypeAny;
6
- declare const smsAlertPostSentSmsReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostSentSmsReportInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ mobile: z.ZodOptional<z.ZodString>;
8
+ campaignuniqueid: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SmsAlertPostSentSmsReportOutput: z.ZodObject<{
11
+ status: z.ZodNullable<z.ZodEnum<{
12
+ success: "success";
13
+ error: "error";
14
+ }>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
+ Smscampaignlog: z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ text: z.ZodNullable<z.ZodString>;
19
+ route: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ userid: z.ZodNullable<z.ZodString>;
22
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ schedule: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ senderid: z.ZodNullable<z.ZodString>;
25
+ smscount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ ipaddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ campaignname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ scheduletime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ creditscharged: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ creditsrefunded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>>>>;
33
+ }, z.core.$strip>;
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]>;
7
40
  //#endregion
8
41
  export { smsAlertPostSentSmsReport };
9
42
  //# 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,EAAgC,CAAA,CAAE,UAKkB;AAAA,cAoBpD,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,42 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-sent-sms-report.d.ts
4
- declare const SmsAlertPostSentSmsReportInput: z.ZodTypeAny;
5
- declare const SmsAlertPostSentSmsReportOutput: z.ZodTypeAny;
6
- declare const smsAlertPostSentSmsReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostSentSmsReportInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ mobile: z.ZodOptional<z.ZodString>;
8
+ campaignuniqueid: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const SmsAlertPostSentSmsReportOutput: z.ZodObject<{
11
+ status: z.ZodNullable<z.ZodEnum<{
12
+ success: "success";
13
+ error: "error";
14
+ }>>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16
+ Smscampaignlog: z.ZodNullable<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodString>;
18
+ text: z.ZodNullable<z.ZodString>;
19
+ route: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ userid: z.ZodNullable<z.ZodString>;
22
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ schedule: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ senderid: z.ZodNullable<z.ZodString>;
25
+ smscount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ ipaddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ campaignname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ scheduletime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ creditscharged: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ creditsrefunded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>>>>;
33
+ }, z.core.$strip>;
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]>;
7
40
  //#endregion
8
41
  export { smsAlertPostSentSmsReport };
9
42
  //# 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,EAAgC,CAAA,CAAE,UAKkB;AAAA,cAoBpD,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}