@keystrokehq/sms_alert 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/change-password.cjs +2 -2
  4. package/dist/actions/change-password.cjs.map +1 -1
  5. package/dist/actions/change-password.d.cts +18 -3
  6. package/dist/actions/change-password.d.cts.map +1 -1
  7. package/dist/actions/change-password.d.mts +18 -3
  8. package/dist/actions/change-password.d.mts.map +1 -1
  9. package/dist/actions/change-password.mjs +2 -2
  10. package/dist/actions/change-password.mjs.map +1 -1
  11. package/dist/actions/get-balance-check.cjs +5 -5
  12. package/dist/actions/get-balance-check.cjs.map +1 -1
  13. package/dist/actions/get-balance-check.d.cts +16 -3
  14. package/dist/actions/get-balance-check.d.cts.map +1 -1
  15. package/dist/actions/get-balance-check.d.mts +16 -3
  16. package/dist/actions/get-balance-check.d.mts.map +1 -1
  17. package/dist/actions/get-balance-check.mjs +5 -5
  18. package/dist/actions/get-balance-check.mjs.map +1 -1
  19. package/dist/actions/get-delivery-report.cjs +3 -3
  20. package/dist/actions/get-delivery-report.cjs.map +1 -1
  21. package/dist/actions/get-delivery-report.d.cts +33 -3
  22. package/dist/actions/get-delivery-report.d.cts.map +1 -1
  23. package/dist/actions/get-delivery-report.d.mts +33 -3
  24. package/dist/actions/get-delivery-report.d.mts.map +1 -1
  25. package/dist/actions/get-delivery-report.mjs +3 -3
  26. package/dist/actions/get-delivery-report.mjs.map +1 -1
  27. package/dist/actions/get-group-detail.cjs +1 -1
  28. package/dist/actions/get-group-detail.cjs.map +1 -1
  29. package/dist/actions/get-group-detail.d.cts +10 -3
  30. package/dist/actions/get-group-detail.d.cts.map +1 -1
  31. package/dist/actions/get-group-detail.d.mts +10 -3
  32. package/dist/actions/get-group-detail.d.mts.map +1 -1
  33. package/dist/actions/get-group-detail.mjs +1 -1
  34. package/dist/actions/get-group-detail.mjs.map +1 -1
  35. package/dist/actions/get-group-list.cjs +5 -5
  36. package/dist/actions/get-group-list.cjs.map +1 -1
  37. package/dist/actions/get-group-list.d.cts +15 -3
  38. package/dist/actions/get-group-list.d.cts.map +1 -1
  39. package/dist/actions/get-group-list.d.mts +15 -3
  40. package/dist/actions/get-group-list.d.mts.map +1 -1
  41. package/dist/actions/get-group-list.mjs +5 -5
  42. package/dist/actions/get-group-list.mjs.map +1 -1
  43. package/dist/actions/get-sender-id-list.cjs +3 -3
  44. package/dist/actions/get-sender-id-list.cjs.map +1 -1
  45. package/dist/actions/get-sender-id-list.d.cts +11 -3
  46. package/dist/actions/get-sender-id-list.d.cts.map +1 -1
  47. package/dist/actions/get-sender-id-list.d.mts +11 -3
  48. package/dist/actions/get-sender-id-list.d.mts.map +1 -1
  49. package/dist/actions/get-sender-id-list.mjs +3 -3
  50. package/dist/actions/get-sender-id-list.mjs.map +1 -1
  51. package/dist/actions/get-template-list.cjs +6 -6
  52. package/dist/actions/get-template-list.cjs.map +1 -1
  53. package/dist/actions/get-template-list.d.cts +18 -3
  54. package/dist/actions/get-template-list.d.cts.map +1 -1
  55. package/dist/actions/get-template-list.d.mts +18 -3
  56. package/dist/actions/get-template-list.d.mts.map +1 -1
  57. package/dist/actions/get-template-list.mjs +6 -6
  58. package/dist/actions/get-template-list.mjs.map +1 -1
  59. package/dist/actions/get-user-profile.cjs +1 -1
  60. package/dist/actions/get-user-profile.cjs.map +1 -1
  61. package/dist/actions/get-user-profile.d.cts +20 -3
  62. package/dist/actions/get-user-profile.d.cts.map +1 -1
  63. package/dist/actions/get-user-profile.d.mts +20 -3
  64. package/dist/actions/get-user-profile.d.mts.map +1 -1
  65. package/dist/actions/get-user-profile.mjs +1 -1
  66. package/dist/actions/get-user-profile.mjs.map +1 -1
  67. package/dist/actions/post-create-contact.cjs +2 -2
  68. package/dist/actions/post-create-contact.cjs.map +1 -1
  69. package/dist/actions/post-create-contact.d.cts +19 -3
  70. package/dist/actions/post-create-contact.d.cts.map +1 -1
  71. package/dist/actions/post-create-contact.d.mts +19 -3
  72. package/dist/actions/post-create-contact.d.mts.map +1 -1
  73. package/dist/actions/post-create-contact.mjs +2 -2
  74. package/dist/actions/post-create-contact.mjs.map +1 -1
  75. package/dist/actions/post-create-group.cjs +2 -2
  76. package/dist/actions/post-create-group.cjs.map +1 -1
  77. package/dist/actions/post-create-group.d.cts +15 -3
  78. package/dist/actions/post-create-group.d.cts.map +1 -1
  79. package/dist/actions/post-create-group.d.mts +15 -3
  80. package/dist/actions/post-create-group.d.mts.map +1 -1
  81. package/dist/actions/post-create-group.mjs +2 -2
  82. package/dist/actions/post-create-group.mjs.map +1 -1
  83. package/dist/actions/post-create-short-url.cjs +2 -2
  84. package/dist/actions/post-create-short-url.cjs.map +1 -1
  85. package/dist/actions/post-create-short-url.d.cts +14 -3
  86. package/dist/actions/post-create-short-url.d.cts.map +1 -1
  87. package/dist/actions/post-create-short-url.d.mts +14 -3
  88. package/dist/actions/post-create-short-url.d.mts.map +1 -1
  89. package/dist/actions/post-create-short-url.mjs +2 -2
  90. package/dist/actions/post-create-short-url.mjs.map +1 -1
  91. package/dist/actions/post-create-template.cjs +2 -2
  92. package/dist/actions/post-create-template.cjs.map +1 -1
  93. package/dist/actions/post-create-template.d.cts +15 -3
  94. package/dist/actions/post-create-template.d.cts.map +1 -1
  95. package/dist/actions/post-create-template.d.mts +15 -3
  96. package/dist/actions/post-create-template.d.mts.map +1 -1
  97. package/dist/actions/post-create-template.mjs +2 -2
  98. package/dist/actions/post-create-template.mjs.map +1 -1
  99. package/dist/actions/post-delete-contact.cjs +2 -2
  100. package/dist/actions/post-delete-contact.cjs.map +1 -1
  101. package/dist/actions/post-delete-contact.d.cts +10 -3
  102. package/dist/actions/post-delete-contact.d.cts.map +1 -1
  103. package/dist/actions/post-delete-contact.d.mts +10 -3
  104. package/dist/actions/post-delete-contact.d.mts.map +1 -1
  105. package/dist/actions/post-delete-contact.mjs +2 -2
  106. package/dist/actions/post-delete-contact.mjs.map +1 -1
  107. package/dist/actions/post-delete-group.cjs +2 -2
  108. package/dist/actions/post-delete-group.cjs.map +1 -1
  109. package/dist/actions/post-delete-group.d.cts +15 -3
  110. package/dist/actions/post-delete-group.d.cts.map +1 -1
  111. package/dist/actions/post-delete-group.d.mts +15 -3
  112. package/dist/actions/post-delete-group.d.mts.map +1 -1
  113. package/dist/actions/post-delete-group.mjs +2 -2
  114. package/dist/actions/post-delete-group.mjs.map +1 -1
  115. package/dist/actions/post-delete-short-url.cjs +2 -2
  116. package/dist/actions/post-delete-short-url.cjs.map +1 -1
  117. package/dist/actions/post-delete-short-url.d.cts +10 -3
  118. package/dist/actions/post-delete-short-url.d.cts.map +1 -1
  119. package/dist/actions/post-delete-short-url.d.mts +10 -3
  120. package/dist/actions/post-delete-short-url.d.mts.map +1 -1
  121. package/dist/actions/post-delete-short-url.mjs +2 -2
  122. package/dist/actions/post-delete-short-url.mjs.map +1 -1
  123. package/dist/actions/post-delete-template.cjs +2 -2
  124. package/dist/actions/post-delete-template.cjs.map +1 -1
  125. package/dist/actions/post-delete-template.d.cts +10 -3
  126. package/dist/actions/post-delete-template.d.cts.map +1 -1
  127. package/dist/actions/post-delete-template.d.mts +10 -3
  128. package/dist/actions/post-delete-template.d.mts.map +1 -1
  129. package/dist/actions/post-delete-template.mjs +2 -2
  130. package/dist/actions/post-delete-template.mjs.map +1 -1
  131. package/dist/actions/post-edit-contact.cjs +2 -2
  132. package/dist/actions/post-edit-contact.cjs.map +1 -1
  133. package/dist/actions/post-edit-contact.d.cts +21 -3
  134. package/dist/actions/post-edit-contact.d.cts.map +1 -1
  135. package/dist/actions/post-edit-contact.d.mts +21 -3
  136. package/dist/actions/post-edit-contact.d.mts.map +1 -1
  137. package/dist/actions/post-edit-contact.mjs +2 -2
  138. package/dist/actions/post-edit-contact.mjs.map +1 -1
  139. package/dist/actions/post-edit-group.cjs +2 -2
  140. package/dist/actions/post-edit-group.cjs.map +1 -1
  141. package/dist/actions/post-edit-group.d.cts +15 -3
  142. package/dist/actions/post-edit-group.d.cts.map +1 -1
  143. package/dist/actions/post-edit-group.d.mts +15 -3
  144. package/dist/actions/post-edit-group.d.mts.map +1 -1
  145. package/dist/actions/post-edit-group.mjs +2 -2
  146. package/dist/actions/post-edit-group.mjs.map +1 -1
  147. package/dist/actions/post-edit-profile.cjs +2 -2
  148. package/dist/actions/post-edit-profile.cjs.map +1 -1
  149. package/dist/actions/post-edit-profile.d.cts +30 -3
  150. package/dist/actions/post-edit-profile.d.cts.map +1 -1
  151. package/dist/actions/post-edit-profile.d.mts +30 -3
  152. package/dist/actions/post-edit-profile.d.mts.map +1 -1
  153. package/dist/actions/post-edit-profile.mjs +2 -2
  154. package/dist/actions/post-edit-profile.mjs.map +1 -1
  155. package/dist/actions/post-edit-template.cjs +2 -2
  156. package/dist/actions/post-edit-template.cjs.map +1 -1
  157. package/dist/actions/post-edit-template.d.cts +17 -3
  158. package/dist/actions/post-edit-template.d.cts.map +1 -1
  159. package/dist/actions/post-edit-template.d.mts +17 -3
  160. package/dist/actions/post-edit-template.d.mts.map +1 -1
  161. package/dist/actions/post-edit-template.mjs +2 -2
  162. package/dist/actions/post-edit-template.mjs.map +1 -1
  163. package/dist/actions/post-generate-otp.cjs +7 -7
  164. package/dist/actions/post-generate-otp.cjs.map +1 -1
  165. package/dist/actions/post-generate-otp.d.cts +27 -3
  166. package/dist/actions/post-generate-otp.d.cts.map +1 -1
  167. package/dist/actions/post-generate-otp.d.mts +27 -3
  168. package/dist/actions/post-generate-otp.d.mts.map +1 -1
  169. package/dist/actions/post-generate-otp.mjs +7 -7
  170. package/dist/actions/post-generate-otp.mjs.map +1 -1
  171. package/dist/actions/post-sent-sms-report.cjs +5 -5
  172. package/dist/actions/post-sent-sms-report.cjs.map +1 -1
  173. package/dist/actions/post-sent-sms-report.d.cts +36 -3
  174. package/dist/actions/post-sent-sms-report.d.cts.map +1 -1
  175. package/dist/actions/post-sent-sms-report.d.mts +36 -3
  176. package/dist/actions/post-sent-sms-report.d.mts.map +1 -1
  177. package/dist/actions/post-sent-sms-report.mjs +5 -5
  178. package/dist/actions/post-sent-sms-report.mjs.map +1 -1
  179. package/dist/actions/send-sms-xml.cjs +2 -2
  180. package/dist/actions/send-sms-xml.cjs.map +1 -1
  181. package/dist/actions/send-sms-xml.d.cts +29 -3
  182. package/dist/actions/send-sms-xml.d.cts.map +1 -1
  183. package/dist/actions/send-sms-xml.d.mts +29 -3
  184. package/dist/actions/send-sms-xml.d.mts.map +1 -1
  185. package/dist/actions/send-sms-xml.mjs +2 -2
  186. package/dist/actions/send-sms-xml.mjs.map +1 -1
  187. package/dist/catalog.cjs +7 -1
  188. package/dist/catalog.cjs.map +1 -1
  189. package/dist/catalog.d.cts +8 -0
  190. package/dist/catalog.d.mts +8 -0
  191. package/dist/catalog.mjs +7 -1
  192. package/dist/catalog.mjs.map +1 -1
  193. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput: z.ZodTypeAny = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\"),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n});\n\nexport const smsAlertPostCreateContact = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC5G,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACjG,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,gDAAgD,CAAC;AACjF,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n});\n\nexport const smsAlertPostCreateContact = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC5G,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,gDAAgD,CAAC;AACjF,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-contact.d.ts
4
- declare const SmsAlertPostCreateContactInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateContactOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateContactInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ group: z.ZodString;
7
+ mobile: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertPostCreateContactOutput: z.ZodObject<{
10
+ type: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ }>>;
14
+ message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
15
+ desc: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>]>;
17
+ }, z.core.$strip>;
18
+ declare const smsAlertPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ name: string;
20
+ group: string;
21
+ mobile: string;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { smsAlertPostCreateContact };
9
25
  //# sourceMappingURL=post-create-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI7C;AAAA,cAIW,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-contact.d.ts
4
- declare const SmsAlertPostCreateContactInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateContactOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateContactInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ group: z.ZodString;
7
+ mobile: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SmsAlertPostCreateContactOutput: z.ZodObject<{
10
+ type: z.ZodNullable<z.ZodEnum<{
11
+ success: "success";
12
+ error: "error";
13
+ }>>;
14
+ message: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
15
+ desc: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>]>;
17
+ }, z.core.$strip>;
18
+ declare const smsAlertPostCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ name: string;
20
+ group: string;
21
+ mobile: string;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { smsAlertPostCreateContact };
9
25
  //# sourceMappingURL=post-create-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI7C;AAAA,cAIW,+BAAA,EAAiC,CAAA,CAAE,UAG9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -6,14 +6,14 @@ const SmsAlertPostCreateContactInput = z.object({
6
6
  group: z.string().describe("Name of the group to which the contact(s) will be added"),
7
7
  mobile: z.string().describe("Mobile number(s) as a 10-digit string, comma-separated for multiple contacts")
8
8
  });
9
- const SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Detailed error description") }).describe("Nested error description object for contact creation failures.");
9
+ const SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Detailed error description").nullable() }).describe("Nested error description object for contact creation failures.");
10
10
  const smsAlertPostCreateContact = action("SMS_ALERT_POST_CREATE_CONTACT", {
11
11
  slug: "sms_alert-post-create-contact",
12
12
  name: "Create New Contact",
13
13
  description: "Create New Contact",
14
14
  input: SmsAlertPostCreateContactInput,
15
15
  output: z.object({
16
- type: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed"),
16
+ type: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed").nullable(),
17
17
  message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema])
18
18
  })
19
19
  });
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput: z.ZodTypeAny = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\"),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n});\n\nexport const smsAlertPostCreateContact = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC5G,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO,EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAM5E,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD;EACjG,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,gDAAgD,CAAC;CACjF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateContactInput = z.object({\n name: z.string().describe(\"Full name of the contact\"),\n group: z.string().describe(\"Name of the group to which the contact(s) will be added\"),\n mobile: z.string().describe(\"Mobile number(s) as a 10-digit string, comma-separated for multiple contacts\"),\n});\nconst SmsAlertPostCreateContact_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).describe(\"Nested error description object for contact creation failures.\");\nexport const SmsAlertPostCreateContactOutput = z.object({\n type: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n message: z.union([z.string(), SmsAlertPostCreateContact_ErrorDescriptionSchema]),\n});\n\nexport const smsAlertPostCreateContact = action(\"SMS_ALERT_POST_CREATE_CONTACT\", {\n slug: \"sms_alert-post-create-contact\",\n name: \"Create New Contact\",\n description: \"Create New Contact\",\n input: SmsAlertPostCreateContactInput,\n output: SmsAlertPostCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;AAC5G,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAM5E,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,gDAAgD,CAAC;CACjF,CAOU;AACV,CAAC"}
@@ -2,9 +2,9 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/post-create-group.ts
4
4
  const SmsAlertPostCreateGroupInput = zod.z.object({ name: zod.z.string().describe("Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.") }).describe("Request schema for creating a new contact group.");
5
- const SmsAlertPostCreateGroup_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Detailed error description") }).describe("Nested error description object for group creation failures.");
5
+ const SmsAlertPostCreateGroup_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Detailed error description").nullable() }).describe("Nested error description object for group creation failures.");
6
6
  const SmsAlertPostCreateGroupOutput = zod.z.object({
7
- status: zod.z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed"),
7
+ status: zod.z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed").nullable(),
8
8
  description: zod.z.union([zod.z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema])
9
9
  }).describe("Response schema for create group endpoint.");
10
10
  const smsAlertPostCreateGroup = require_action.action("SMS_ALERT_POST_CREATE_GROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-group.cjs","names":["z","action"],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\"),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD;CACnG,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,8CAA8C,CAAC;AACnF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-group.cjs","names":["z","action"],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,8CAA8C,CAAC;AACnF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-group.d.ts
4
- declare const SmsAlertPostCreateGroupInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateGroupOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateGroupInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SmsAlertPostCreateGroupOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodEnum<{
9
+ success: "success";
10
+ error: "error";
11
+ }>>;
12
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13
+ desc: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>]>;
15
+ }, z.core.$strip>;
16
+ declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ name: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { smsAlertPostCreateGroup };
9
21
  //# sourceMappingURL=post-create-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-group.d.cts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEkB;AAAA,cAIlD,6BAAA,EAA+B,CAAA,CAAE,UAGW;AAAA,cAE5C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-group.d.cts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-group.d.ts
4
- declare const SmsAlertPostCreateGroupInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateGroupOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateGroupInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SmsAlertPostCreateGroupOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodEnum<{
9
+ success: "success";
10
+ error: "error";
11
+ }>>;
12
+ description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13
+ desc: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>]>;
15
+ }, z.core.$strip>;
16
+ declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ name: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { smsAlertPostCreateGroup };
9
21
  //# sourceMappingURL=post-create-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-group.d.mts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEkB;AAAA,cAIlD,6BAAA,EAA+B,CAAA,CAAE,UAGW;AAAA,cAE5C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-group.d.mts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -2,14 +2,14 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/post-create-group.ts
4
4
  const SmsAlertPostCreateGroupInput = z.object({ name: z.string().describe("Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.") }).describe("Request schema for creating a new contact group.");
5
- const SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Detailed error description") }).describe("Nested error description object for group creation failures.");
5
+ const SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Detailed error description").nullable() }).describe("Nested error description object for group creation failures.");
6
6
  const smsAlertPostCreateGroup = action("SMS_ALERT_POST_CREATE_GROUP", {
7
7
  slug: "sms_alert-post-create-group",
8
8
  name: "Create New Group",
9
9
  description: "Tool to create a new contact group. Use when needing to organize contacts into a new group.",
10
10
  input: SmsAlertPostCreateGroupInput,
11
11
  output: z.object({
12
- status: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed"),
12
+ status: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed").nullable(),
13
13
  description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema])
14
14
  }).describe("Response schema for create group endpoint.")
15
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-group.mjs","names":[],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\"),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAM1E,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,qDAAqD;EACnG,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-group.mjs","names":[],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAM1E,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,qDAAqD,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -7,9 +7,9 @@ const SmsAlertPostCreateShortUrlInput = zod.z.object({
7
7
  }).describe("Request model to create a short URL for a given long URL.");
8
8
  const SmsAlertPostCreateShortUrlOutput = zod.z.object({
9
9
  alias: zod.z.string().describe("The alias used for the short URL (custom or system-generated)").nullable().optional(),
10
- status: zod.z.string().describe("Indicates whether the operation succeeded ('success') or failed"),
10
+ status: zod.z.string().describe("Indicates whether the operation succeeded ('success') or failed").nullable(),
11
11
  message: zod.z.string().describe("Additional message or error detail from the API").nullable().optional(),
12
- short_url: zod.z.string().describe("The generated shortened URL")
12
+ short_url: zod.z.string().describe("The generated shortened URL").nullable()
13
13
  }).describe("Response model for create short URL endpoint.");
14
14
  const smsAlertPostCreateShortUrl = require_action.action("SMS_ALERT_POST_CREATE_SHORT_URL", {
15
15
  slug: "sms_alert-post-create-short-url",
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\"),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\"),\n}).describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC9D,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\").nullable(),\n}).describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-short-url.d.ts
4
- declare const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateShortUrlInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ alias: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SmsAlertPostCreateShortUrlOutput: z.ZodObject<{
9
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodNullable<z.ZodString>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ short_url: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const smsAlertPostCreateShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ url: string;
16
+ alias?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { smsAlertPostCreateShortUrl };
9
20
  //# sourceMappingURL=post-create-short-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-short-url.d.cts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGwB;AAAA,cAC3D,gCAAA,EAAkC,CAAA,CAAE,UAKW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-short-url.d.cts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-short-url.d.ts
4
- declare const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateShortUrlInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ alias: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SmsAlertPostCreateShortUrlOutput: z.ZodObject<{
9
+ alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ status: z.ZodNullable<z.ZodString>;
11
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ short_url: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const smsAlertPostCreateShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ url: string;
16
+ alias?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { smsAlertPostCreateShortUrl };
9
20
  //# sourceMappingURL=post-create-short-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-short-url.d.mts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGwB;AAAA,cAC3D,gCAAA,EAAkC,CAAA,CAAE,UAKW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-short-url.d.mts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -10,9 +10,9 @@ const smsAlertPostCreateShortUrl = action("SMS_ALERT_POST_CREATE_SHORT_URL", {
10
10
  }).describe("Request model to create a short URL for a given long URL."),
11
11
  output: z.object({
12
12
  alias: z.string().describe("The alias used for the short URL (custom or system-generated)").nullable().optional(),
13
- status: z.string().describe("Indicates whether the operation succeeded ('success') or failed"),
13
+ status: z.string().describe("Indicates whether the operation succeeded ('success') or failed").nullable(),
14
14
  message: z.string().describe("Additional message or error detail from the API").nullable().optional(),
15
- short_url: z.string().describe("The generated shortened URL")
15
+ short_url: z.string().describe("The generated shortened URL").nullable()
16
16
  }).describe("Response model for create short URL endpoint.")
17
17
  });
18
18
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-short-url.mjs","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\"),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\"),\n}).describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2D,EAAE,OAAO;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,2DAYH;CACP,QAZ4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-short-url.mjs","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\").nullable(),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\").nullable(),\n}).describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,2DAYH;CACP,QAZ8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACxG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -6,8 +6,8 @@ const SmsAlertPostCreateTemplateInput = zod.z.object({
6
6
  text: zod.z.string().describe("Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.")
7
7
  }).describe("Request schema for creating a new SMS template.");
8
8
  const SmsAlertPostCreateTemplateOutput = zod.z.object({
9
- status: zod.z.enum(["success", "error"]).describe("Indicates whether the operation succeeded ('success') or failed ('error')"),
10
- description: zod.z.string().describe("Provides additional information about the request outcome")
9
+ status: zod.z.enum(["success", "error"]).describe("Indicates whether the operation succeeded ('success') or failed ('error')").nullable(),
10
+ description: zod.z.string().describe("Provides additional information about the request outcome").nullable()
11
11
  }).describe("Response schema for create template endpoint.");
12
12
  const smsAlertPostCreateTemplate = require_action.action("SMS_ALERT_POST_CREATE_TEMPLATE", {
13
13
  slug: "sms_alert-post-create-template",
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-template.cjs","names":["z","action"],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\"),\n description: z.string().describe(\"Provides additional information about the request outcome\"),\n}).describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;AAC5O,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-template.cjs","names":["z","action"],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\").nullable(),\n description: z.string().describe(\"Provides additional information about the request outcome\").nullable(),\n}).describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;AAC5O,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-template.d.ts
4
- declare const SmsAlertPostCreateTemplateInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateTemplateInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ text: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SmsAlertPostCreateTemplateOutput: z.ZodObject<{
9
+ status: z.ZodNullable<z.ZodEnum<{
10
+ success: "success";
11
+ error: "error";
12
+ }>>;
13
+ description: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const smsAlertPostCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ text: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { smsAlertPostCreateTemplate };
9
21
  //# sourceMappingURL=post-create-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-template.d.cts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGc;AAAA,cACjD,gCAAA,EAAkC,CAAA,CAAE,UAGW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-template.d.cts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-create-template.d.ts
4
- declare const SmsAlertPostCreateTemplateInput: z.ZodTypeAny;
5
- declare const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny;
6
- declare const smsAlertPostCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostCreateTemplateInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ text: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SmsAlertPostCreateTemplateOutput: z.ZodObject<{
9
+ status: z.ZodNullable<z.ZodEnum<{
10
+ success: "success";
11
+ error: "error";
12
+ }>>;
13
+ description: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const smsAlertPostCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ text: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { smsAlertPostCreateTemplate };
9
21
  //# sourceMappingURL=post-create-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-template.d.mts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGc;AAAA,cACjD,gCAAA,EAAkC,CAAA,CAAE,UAGW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-create-template.d.mts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
@@ -9,8 +9,8 @@ const smsAlertPostCreateTemplate = action("SMS_ALERT_POST_CREATE_TEMPLATE", {
9
9
  text: z.string().describe("Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.")
10
10
  }).describe("Request schema for creating a new SMS template."),
11
11
  output: z.object({
12
- status: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded ('success') or failed ('error')"),
13
- description: z.string().describe("Provides additional information about the request outcome")
12
+ status: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded ('success') or failed ('error')").nullable(),
13
+ description: z.string().describe("Provides additional information about the request outcome").nullable()
14
14
  }).describe("Response schema for create template endpoint.")
15
15
  });
16
16
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"post-create-template.mjs","names":[],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\"),\n description: z.string().describe(\"Provides additional information about the request outcome\"),\n}).describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC5O,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E;EACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC9F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-template.mjs","names":[],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\").nullable(),\n description: z.string().describe(\"Provides additional information about the request outcome\").nullable(),\n}).describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC5O,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAV8C,EAAE,OAAO;EACvD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/post-delete-contact.ts
4
4
  const SmsAlertPostDeleteContactInput = zod.z.object({ id: zod.z.string().describe("The Contact Number ID of the contact to delete.") }).describe("The input parameters for deleting a contact.");
5
5
  const SmsAlertPostDeleteContactOutput = zod.z.object({
6
- status: zod.z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
7
- description: zod.z.string().describe("Provides additional information about the result of the request.")
6
+ status: zod.z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\".").nullable(),
7
+ description: zod.z.string().describe("Provides additional information about the result of the request.").nullable()
8
8
  }).describe("The API response after attempting to delete a contact.");
9
9
  const smsAlertPostDeleteContact = require_action.action("SMS_ALERT_POST_DELETE_CONTACT", {
10
10
  slug: "sms_alert-post-delete-contact",
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Contact Number ID of the contact to delete.\"),\n}).describe(\"The input parameters for deleting a contact.\");\nexport const SmsAlertPostDeleteContactOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact = action(\"SMS_ALERT_POST_DELETE_CONTACT\", {\n slug: \"sms_alert-post-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specified contact. Use after confirming the contact's ID.\",\n input: SmsAlertPostDeleteContactInput,\n output: SmsAlertPostDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteContactInput = z.object({\n id: z.string().describe(\"The Contact Number ID of the contact to delete.\"),\n}).describe(\"The input parameters for deleting a contact.\");\nexport const SmsAlertPostDeleteContactOutput = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\").nullable(),\n description: z.string().describe(\"Provides additional information about the result of the request.\").nullable(),\n}).describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact = action(\"SMS_ALERT_POST_DELETE_CONTACT\", {\n slug: \"sms_alert-post-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specified contact. Use after confirming the contact's ID.\",\n input: SmsAlertPostDeleteContactInput,\n output: SmsAlertPostDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-delete-contact.d.ts
4
- declare const SmsAlertPostDeleteContactInput: z.ZodTypeAny;
5
- declare const SmsAlertPostDeleteContactOutput: z.ZodTypeAny;
6
- declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostDeleteContactInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SmsAlertPostDeleteContactOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ description: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { smsAlertPostDeleteContact };
9
16
  //# sourceMappingURL=post-delete-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-contact.d.cts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAGqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-delete-contact.d.cts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-delete-contact.d.ts
4
- declare const SmsAlertPostDeleteContactInput: z.ZodTypeAny;
5
- declare const SmsAlertPostDeleteContactOutput: z.ZodTypeAny;
6
- declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SmsAlertPostDeleteContactInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SmsAlertPostDeleteContactOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ description: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { smsAlertPostDeleteContact };
9
16
  //# sourceMappingURL=post-delete-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-contact.d.mts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAGqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-delete-contact.d.mts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
@@ -6,8 +6,8 @@ const smsAlertPostDeleteContact = action("SMS_ALERT_POST_DELETE_CONTACT", {
6
6
  description: "Tool to delete a specified contact. Use after confirming the contact's ID.",
7
7
  input: z.object({ id: z.string().describe("The Contact Number ID of the contact to delete.") }).describe("The input parameters for deleting a contact."),
8
8
  output: z.object({
9
- status: z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
10
- description: z.string().describe("Provides additional information about the result of the request.")
9
+ status: z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\".").nullable(),
10
+ description: z.string().describe("Provides additional information about the result of the request.").nullable()
11
11
  }).describe("The API response after attempting to delete a contact.")
12
12
  });
13
13
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-contact.mjs","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Contact Number ID of the contact to delete.\"),\n}).describe(\"The input parameters for deleting a contact.\");\nexport const SmsAlertPostDeleteContactOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact = action(\"SMS_ALERT_POST_DELETE_CONTACT\", {\n slug: \"sms_alert-post-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specified contact. Use after confirming the contact's ID.\",\n input: SmsAlertPostDeleteContactInput,\n output: SmsAlertPostDeleteContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV2D,EAAE,OAAO;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACrG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-contact.mjs","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteContactInput = z.object({\n id: z.string().describe(\"The Contact Number ID of the contact to delete.\"),\n}).describe(\"The input parameters for deleting a contact.\");\nexport const SmsAlertPostDeleteContactOutput = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\").nullable(),\n description: z.string().describe(\"Provides additional information about the result of the request.\").nullable(),\n}).describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact = action(\"SMS_ALERT_POST_DELETE_CONTACT\", {\n slug: \"sms_alert-post-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specified contact. Use after confirming the contact's ID.\",\n input: SmsAlertPostDeleteContactInput,\n output: SmsAlertPostDeleteContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -2,9 +2,9 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/post-delete-group.ts
4
4
  const SmsAlertPostDeleteGroupInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the SMS Alert group to delete.") }).describe("The input parameters for deleting a group.");
5
- const SmsAlertPostDeleteGroup_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Detailed error description") }).describe("Nested error description object for group deletion failures.");
5
+ const SmsAlertPostDeleteGroup_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Detailed error description").nullable() }).describe("Nested error description object for group deletion failures.");
6
6
  const SmsAlertPostDeleteGroupOutput = zod.z.object({
7
- status: zod.z.enum(["success", "error"]).describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
7
+ status: zod.z.enum(["success", "error"]).describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\".").nullable(),
8
8
  description: zod.z.union([zod.z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema])
9
9
  }).describe("The API response after attempting to delete a group.");
10
10
  const smsAlertPostDeleteGroup = require_action.action("SMS_ALERT_POST_DELETE_GROUP", {