@keystrokehq/sms_alert 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/change-password.cjs +1 -0
  4. package/dist/actions/change-password.cjs.map +1 -1
  5. package/dist/actions/change-password.d.cts +3 -17
  6. package/dist/actions/change-password.d.cts.map +1 -1
  7. package/dist/actions/change-password.d.mts +3 -17
  8. package/dist/actions/change-password.d.mts.map +1 -1
  9. package/dist/actions/change-password.mjs +1 -0
  10. package/dist/actions/change-password.mjs.map +1 -1
  11. package/dist/actions/get-balance-check.cjs +1 -0
  12. package/dist/actions/get-balance-check.cjs.map +1 -1
  13. package/dist/actions/get-balance-check.d.cts +3 -13
  14. package/dist/actions/get-balance-check.d.cts.map +1 -1
  15. package/dist/actions/get-balance-check.d.mts +3 -13
  16. package/dist/actions/get-balance-check.d.mts.map +1 -1
  17. package/dist/actions/get-balance-check.mjs +1 -0
  18. package/dist/actions/get-balance-check.mjs.map +1 -1
  19. package/dist/actions/get-delivery-report.cjs +1 -0
  20. package/dist/actions/get-delivery-report.cjs.map +1 -1
  21. package/dist/actions/get-delivery-report.d.cts +3 -18
  22. package/dist/actions/get-delivery-report.d.cts.map +1 -1
  23. package/dist/actions/get-delivery-report.d.mts +3 -18
  24. package/dist/actions/get-delivery-report.d.mts.map +1 -1
  25. package/dist/actions/get-delivery-report.mjs +1 -0
  26. package/dist/actions/get-delivery-report.mjs.map +1 -1
  27. package/dist/actions/get-group-detail.cjs +1 -0
  28. package/dist/actions/get-group-detail.cjs.map +1 -1
  29. package/dist/actions/get-group-detail.d.cts +3 -15
  30. package/dist/actions/get-group-detail.d.cts.map +1 -1
  31. package/dist/actions/get-group-detail.d.mts +3 -15
  32. package/dist/actions/get-group-detail.d.mts.map +1 -1
  33. package/dist/actions/get-group-detail.mjs +1 -0
  34. package/dist/actions/get-group-detail.mjs.map +1 -1
  35. package/dist/actions/get-group-list.cjs +1 -0
  36. package/dist/actions/get-group-list.cjs.map +1 -1
  37. package/dist/actions/get-group-list.d.cts +3 -13
  38. package/dist/actions/get-group-list.d.cts.map +1 -1
  39. package/dist/actions/get-group-list.d.mts +3 -13
  40. package/dist/actions/get-group-list.d.mts.map +1 -1
  41. package/dist/actions/get-group-list.mjs +1 -0
  42. package/dist/actions/get-group-list.mjs.map +1 -1
  43. package/dist/actions/get-sender-id-list.cjs +1 -0
  44. package/dist/actions/get-sender-id-list.cjs.map +1 -1
  45. package/dist/actions/get-sender-id-list.d.cts +3 -13
  46. package/dist/actions/get-sender-id-list.d.cts.map +1 -1
  47. package/dist/actions/get-sender-id-list.d.mts +3 -13
  48. package/dist/actions/get-sender-id-list.d.mts.map +1 -1
  49. package/dist/actions/get-sender-id-list.mjs +1 -0
  50. package/dist/actions/get-sender-id-list.mjs.map +1 -1
  51. package/dist/actions/get-template-list.cjs +1 -0
  52. package/dist/actions/get-template-list.cjs.map +1 -1
  53. package/dist/actions/get-template-list.d.cts +3 -15
  54. package/dist/actions/get-template-list.d.cts.map +1 -1
  55. package/dist/actions/get-template-list.d.mts +3 -15
  56. package/dist/actions/get-template-list.d.mts.map +1 -1
  57. package/dist/actions/get-template-list.mjs +1 -0
  58. package/dist/actions/get-template-list.mjs.map +1 -1
  59. package/dist/actions/get-user-profile.cjs +1 -0
  60. package/dist/actions/get-user-profile.cjs.map +1 -1
  61. package/dist/actions/get-user-profile.d.cts +3 -13
  62. package/dist/actions/get-user-profile.d.cts.map +1 -1
  63. package/dist/actions/get-user-profile.d.mts +3 -13
  64. package/dist/actions/get-user-profile.d.mts.map +1 -1
  65. package/dist/actions/get-user-profile.mjs +1 -0
  66. package/dist/actions/get-user-profile.mjs.map +1 -1
  67. package/dist/actions/post-create-contact.cjs +1 -0
  68. package/dist/actions/post-create-contact.cjs.map +1 -1
  69. package/dist/actions/post-create-contact.d.cts +3 -17
  70. package/dist/actions/post-create-contact.d.cts.map +1 -1
  71. package/dist/actions/post-create-contact.d.mts +3 -17
  72. package/dist/actions/post-create-contact.d.mts.map +1 -1
  73. package/dist/actions/post-create-contact.mjs +1 -0
  74. package/dist/actions/post-create-contact.mjs.map +1 -1
  75. package/dist/actions/post-create-group.cjs +1 -0
  76. package/dist/actions/post-create-group.cjs.map +1 -1
  77. package/dist/actions/post-create-group.d.cts +3 -15
  78. package/dist/actions/post-create-group.d.cts.map +1 -1
  79. package/dist/actions/post-create-group.d.mts +3 -15
  80. package/dist/actions/post-create-group.d.mts.map +1 -1
  81. package/dist/actions/post-create-group.mjs +1 -0
  82. package/dist/actions/post-create-group.mjs.map +1 -1
  83. package/dist/actions/post-create-short-url.cjs +1 -0
  84. package/dist/actions/post-create-short-url.cjs.map +1 -1
  85. package/dist/actions/post-create-short-url.d.cts +3 -16
  86. package/dist/actions/post-create-short-url.d.cts.map +1 -1
  87. package/dist/actions/post-create-short-url.d.mts +3 -16
  88. package/dist/actions/post-create-short-url.d.mts.map +1 -1
  89. package/dist/actions/post-create-short-url.mjs +1 -0
  90. package/dist/actions/post-create-short-url.mjs.map +1 -1
  91. package/dist/actions/post-create-template.cjs +1 -0
  92. package/dist/actions/post-create-template.cjs.map +1 -1
  93. package/dist/actions/post-create-template.d.cts +3 -16
  94. package/dist/actions/post-create-template.d.cts.map +1 -1
  95. package/dist/actions/post-create-template.d.mts +3 -16
  96. package/dist/actions/post-create-template.d.mts.map +1 -1
  97. package/dist/actions/post-create-template.mjs +1 -0
  98. package/dist/actions/post-create-template.mjs.map +1 -1
  99. package/dist/actions/post-delete-contact.cjs +1 -0
  100. package/dist/actions/post-delete-contact.cjs.map +1 -1
  101. package/dist/actions/post-delete-contact.d.cts +3 -15
  102. package/dist/actions/post-delete-contact.d.cts.map +1 -1
  103. package/dist/actions/post-delete-contact.d.mts +3 -15
  104. package/dist/actions/post-delete-contact.d.mts.map +1 -1
  105. package/dist/actions/post-delete-contact.mjs +1 -0
  106. package/dist/actions/post-delete-contact.mjs.map +1 -1
  107. package/dist/actions/post-delete-group.cjs +1 -0
  108. package/dist/actions/post-delete-group.cjs.map +1 -1
  109. package/dist/actions/post-delete-group.d.cts +3 -15
  110. package/dist/actions/post-delete-group.d.cts.map +1 -1
  111. package/dist/actions/post-delete-group.d.mts +3 -15
  112. package/dist/actions/post-delete-group.d.mts.map +1 -1
  113. package/dist/actions/post-delete-group.mjs +1 -0
  114. package/dist/actions/post-delete-group.mjs.map +1 -1
  115. package/dist/actions/post-delete-short-url.cjs +1 -0
  116. package/dist/actions/post-delete-short-url.cjs.map +1 -1
  117. package/dist/actions/post-delete-short-url.d.cts +3 -15
  118. package/dist/actions/post-delete-short-url.d.cts.map +1 -1
  119. package/dist/actions/post-delete-short-url.d.mts +3 -15
  120. package/dist/actions/post-delete-short-url.d.mts.map +1 -1
  121. package/dist/actions/post-delete-short-url.mjs +1 -0
  122. package/dist/actions/post-delete-short-url.mjs.map +1 -1
  123. package/dist/actions/post-delete-template.cjs +1 -0
  124. package/dist/actions/post-delete-template.cjs.map +1 -1
  125. package/dist/actions/post-delete-template.d.cts +3 -15
  126. package/dist/actions/post-delete-template.d.cts.map +1 -1
  127. package/dist/actions/post-delete-template.d.mts +3 -15
  128. package/dist/actions/post-delete-template.d.mts.map +1 -1
  129. package/dist/actions/post-delete-template.mjs +1 -0
  130. package/dist/actions/post-delete-template.mjs.map +1 -1
  131. package/dist/actions/post-edit-contact.cjs +1 -0
  132. package/dist/actions/post-edit-contact.cjs.map +1 -1
  133. package/dist/actions/post-edit-contact.d.cts +3 -19
  134. package/dist/actions/post-edit-contact.d.cts.map +1 -1
  135. package/dist/actions/post-edit-contact.d.mts +3 -19
  136. package/dist/actions/post-edit-contact.d.mts.map +1 -1
  137. package/dist/actions/post-edit-contact.mjs +1 -0
  138. package/dist/actions/post-edit-contact.mjs.map +1 -1
  139. package/dist/actions/post-edit-group.cjs +1 -0
  140. package/dist/actions/post-edit-group.cjs.map +1 -1
  141. package/dist/actions/post-edit-group.d.cts +3 -16
  142. package/dist/actions/post-edit-group.d.cts.map +1 -1
  143. package/dist/actions/post-edit-group.d.mts +3 -16
  144. package/dist/actions/post-edit-group.d.mts.map +1 -1
  145. package/dist/actions/post-edit-group.mjs +1 -0
  146. package/dist/actions/post-edit-group.mjs.map +1 -1
  147. package/dist/actions/post-edit-profile.cjs +1 -0
  148. package/dist/actions/post-edit-profile.cjs.map +1 -1
  149. package/dist/actions/post-edit-profile.d.cts +3 -23
  150. package/dist/actions/post-edit-profile.d.cts.map +1 -1
  151. package/dist/actions/post-edit-profile.d.mts +3 -23
  152. package/dist/actions/post-edit-profile.d.mts.map +1 -1
  153. package/dist/actions/post-edit-profile.mjs +1 -0
  154. package/dist/actions/post-edit-profile.mjs.map +1 -1
  155. package/dist/actions/post-edit-template.cjs +1 -0
  156. package/dist/actions/post-edit-template.cjs.map +1 -1
  157. package/dist/actions/post-edit-template.d.cts +3 -17
  158. package/dist/actions/post-edit-template.d.cts.map +1 -1
  159. package/dist/actions/post-edit-template.d.mts +3 -17
  160. package/dist/actions/post-edit-template.d.mts.map +1 -1
  161. package/dist/actions/post-edit-template.mjs +1 -0
  162. package/dist/actions/post-edit-template.mjs.map +1 -1
  163. package/dist/actions/post-generate-otp.cjs +1 -0
  164. package/dist/actions/post-generate-otp.cjs.map +1 -1
  165. package/dist/actions/post-generate-otp.d.cts +3 -17
  166. package/dist/actions/post-generate-otp.d.cts.map +1 -1
  167. package/dist/actions/post-generate-otp.d.mts +3 -17
  168. package/dist/actions/post-generate-otp.d.mts.map +1 -1
  169. package/dist/actions/post-generate-otp.mjs +1 -0
  170. package/dist/actions/post-generate-otp.mjs.map +1 -1
  171. package/dist/actions/post-sent-sms-report.cjs +1 -0
  172. package/dist/actions/post-sent-sms-report.cjs.map +1 -1
  173. package/dist/actions/post-sent-sms-report.d.cts +3 -18
  174. package/dist/actions/post-sent-sms-report.d.cts.map +1 -1
  175. package/dist/actions/post-sent-sms-report.d.mts +3 -18
  176. package/dist/actions/post-sent-sms-report.d.mts.map +1 -1
  177. package/dist/actions/post-sent-sms-report.mjs +1 -0
  178. package/dist/actions/post-sent-sms-report.mjs.map +1 -1
  179. package/dist/actions/send-sms-xml.cjs +1 -0
  180. package/dist/actions/send-sms-xml.cjs.map +1 -1
  181. package/dist/actions/send-sms-xml.d.cts +3 -23
  182. package/dist/actions/send-sms-xml.d.cts.map +1 -1
  183. package/dist/actions/send-sms-xml.d.mts +3 -23
  184. package/dist/actions/send-sms-xml.d.mts.map +1 -1
  185. package/dist/actions/send-sms-xml.mjs +1 -0
  186. package/dist/actions/send-sms-xml.mjs.map +1 -1
  187. package/dist/app.cjs +2 -2
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +4 -6
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +4 -6
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +0 -1
  194. package/dist/app.mjs.map +1 -1
  195. package/dist/index.d.cts +1 -1
  196. package/dist/index.d.mts +1 -1
  197. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-create-short-url.ts
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\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}).passthrough().describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl: AppAction<\n typeof SmsAlertPostCreateShortUrlInput,\n typeof SmsAlertPostCreateShortUrlOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-short-url.d.ts
@@ -11,22 +13,7 @@ declare const SmsAlertPostCreateShortUrlOutput: z.ZodObject<{
11
13
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  short_url: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
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<"sms_alert", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
16
+ declare const smsAlertPostCreateShortUrl: AppAction<typeof SmsAlertPostCreateShortUrlInput, typeof SmsAlertPostCreateShortUrlOutput, typeof smsAlert.credential>;
30
17
  //#endregion
31
18
  export { smsAlertPostCreateShortUrl };
32
19
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-create-short-url.d.cts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-short-url.d.ts
@@ -11,22 +13,7 @@ declare const SmsAlertPostCreateShortUrlOutput: z.ZodObject<{
11
13
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  short_url: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>;
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<"sms_alert", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
16
+ declare const smsAlertPostCreateShortUrl: AppAction<typeof SmsAlertPostCreateShortUrlInput, typeof SmsAlertPostCreateShortUrlOutput, typeof smsAlert.credential>;
30
17
  //#endregion
31
18
  export { smsAlertPostCreateShortUrl };
32
19
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-create-short-url.d.mts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const smsAlertPostCreateShortUrl = action("SMS_ALERT_POST_CREATE_SHORT_URL", {
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-short-url.mjs","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const 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}).passthrough().describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl: AppAction<\n typeof SmsAlertPostCreateShortUrlInput,\n typeof SmsAlertPostCreateShortUrlOutput,\n typeof smsAlert.credential\n> = 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":";;;AAiBA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,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,2DAgBH;CACP,QAhB8C,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,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-create-template.ts
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\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}).passthrough().describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate: AppAction<\n typeof SmsAlertPostCreateTemplateInput,\n typeof SmsAlertPostCreateTemplateOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-template.d.ts
@@ -12,22 +14,7 @@ declare const SmsAlertPostCreateTemplateOutput: z.ZodObject<{
12
14
  }>>;
13
15
  description: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
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<"sms_alert", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
17
+ declare const smsAlertPostCreateTemplate: AppAction<typeof SmsAlertPostCreateTemplateInput, typeof SmsAlertPostCreateTemplateOutput, typeof smsAlert.credential>;
31
18
  //#endregion
32
19
  export { smsAlertPostCreateTemplate };
33
20
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-create-template.d.cts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-create-template.d.ts
@@ -12,22 +14,7 @@ declare const SmsAlertPostCreateTemplateOutput: z.ZodObject<{
12
14
  }>>;
13
15
  description: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
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<"sms_alert", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
17
+ declare const smsAlertPostCreateTemplate: AppAction<typeof SmsAlertPostCreateTemplateInput, typeof SmsAlertPostCreateTemplateOutput, typeof smsAlert.credential>;
31
18
  //#endregion
32
19
  export { smsAlertPostCreateTemplate };
33
20
  //# 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,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-create-template.d.mts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const smsAlertPostCreateTemplate = action("SMS_ALERT_POST_CREATE_TEMPLATE", {
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-template.mjs","names":[],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const 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}).passthrough().describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate: AppAction<\n typeof SmsAlertPostCreateTemplateInput,\n typeof SmsAlertPostCreateTemplateOutput,\n typeof smsAlert.credential\n> = 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":";;;AAeA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC5O,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAd8C,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,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-delete-contact.ts
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\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}).passthrough().describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact: AppAction<\n typeof SmsAlertPostDeleteContactInput,\n typeof SmsAlertPostDeleteContactOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-contact.d.ts
@@ -8,21 +10,7 @@ declare const SmsAlertPostDeleteContactOutput: z.ZodObject<{
8
10
  status: z.ZodNullable<z.ZodString>;
9
11
  description: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const smsAlertPostDeleteContact: AppAction<typeof SmsAlertPostDeleteContactInput, typeof SmsAlertPostDeleteContactOutput, typeof smsAlert.credential>;
26
14
  //#endregion
27
15
  export { smsAlertPostDeleteContact };
28
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,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"post-delete-contact.d.cts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-contact.d.ts
@@ -8,21 +10,7 @@ declare const SmsAlertPostDeleteContactOutput: z.ZodObject<{
8
10
  status: z.ZodNullable<z.ZodString>;
9
11
  description: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const smsAlertPostDeleteContact: AppAction<typeof SmsAlertPostDeleteContactInput, typeof SmsAlertPostDeleteContactOutput, typeof smsAlert.credential>;
26
14
  //#endregion
27
15
  export { smsAlertPostDeleteContact };
28
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,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"post-delete-contact.d.mts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const smsAlertPostDeleteContact = action("SMS_ALERT_POST_DELETE_CONTACT", {
@@ -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.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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-contact.mjs","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const 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}).passthrough().describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact: AppAction<\n typeof SmsAlertPostDeleteContactInput,\n typeof SmsAlertPostDeleteContactOutput,\n typeof smsAlert.credential\n> = 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":";;;AAcA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAcH;CACP,QAd6C,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,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-delete-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-group.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the SMS Alert group to delete.\"),\n}).describe(\"The input parameters for deleting a group.\");\nconst SmsAlertPostDeleteGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group deletion failures.\");\nexport const SmsAlertPostDeleteGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\").nullable(),\n description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"The API response after attempting to delete a group.\");\n\nexport const smsAlertPostDeleteGroup = action(\"SMS_ALERT_POST_DELETE_GROUP\", {\n slug: \"sms_alert-post-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a specified group. Use after confirming the group's ID.\",\n input: SmsAlertPostDeleteGroupInput,\n output: SmsAlertPostDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACzJ,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,8CAA8C,CAAC;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-group.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the SMS Alert group to delete.\"),\n}).describe(\"The input parameters for deleting a group.\");\nconst SmsAlertPostDeleteGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group deletion failures.\");\nexport const SmsAlertPostDeleteGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\").nullable(),\n description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"The API response after attempting to delete a group.\");\n\nexport const smsAlertPostDeleteGroup: AppAction<\n typeof SmsAlertPostDeleteGroupInput,\n typeof SmsAlertPostDeleteGroupOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_DELETE_GROUP\", {\n slug: \"sms_alert-post-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a specified group. Use after confirming the group's ID.\",\n input: SmsAlertPostDeleteGroupInput,\n output: SmsAlertPostDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACzJ,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,8CAA8C,CAAC;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-group.d.ts
@@ -13,21 +15,7 @@ declare const SmsAlertPostDeleteGroupOutput: z.ZodObject<{
13
15
  desc: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>]>;
15
17
  }, z.core.$loose>;
16
- declare const smsAlertPostDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
18
+ declare const smsAlertPostDeleteGroup: AppAction<typeof SmsAlertPostDeleteGroupInput, typeof SmsAlertPostDeleteGroupOutput, typeof smsAlert.credential>;
31
19
  //#endregion
32
20
  export { smsAlertPostDeleteGroup };
33
21
  //# sourceMappingURL=post-delete-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-group.d.cts","names":[],"sources":["../../src/actions/post-delete-group.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-delete-group.d.cts","names":[],"sources":["../../src/actions/post-delete-group.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-group.d.ts
@@ -13,21 +15,7 @@ declare const SmsAlertPostDeleteGroupOutput: z.ZodObject<{
13
15
  desc: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>]>;
15
17
  }, z.core.$loose>;
16
- declare const smsAlertPostDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- id: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>;
18
+ declare const smsAlertPostDeleteGroup: AppAction<typeof SmsAlertPostDeleteGroupInput, typeof SmsAlertPostDeleteGroupOutput, typeof smsAlert.credential>;
31
19
  //#endregion
32
20
  export { smsAlertPostDeleteGroup };
33
21
  //# sourceMappingURL=post-delete-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-group.d.mts","names":[],"sources":["../../src/actions/post-delete-group.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-delete-group.d.mts","names":[],"sources":["../../src/actions/post-delete-group.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/post-delete-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-group.mjs","names":[],"sources":["../../src/actions/post-delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the SMS Alert group to delete.\"),\n}).describe(\"The input parameters for deleting a group.\");\nconst SmsAlertPostDeleteGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group deletion failures.\");\nexport const SmsAlertPostDeleteGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\").nullable(),\n description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"The API response after attempting to delete a group.\");\n\nexport const smsAlertPostDeleteGroup = action(\"SMS_ALERT_POST_DELETE_GROUP\", {\n slug: \"sms_alert-post-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a specified group. Use after confirming the group's ID.\",\n input: SmsAlertPostDeleteGroupInput,\n output: SmsAlertPostDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAMxF,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,gGAAgG,CAAC,CAAC,SAAS;EACzJ,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-group.mjs","names":[],"sources":["../../src/actions/post-delete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostDeleteGroupInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the SMS Alert group to delete.\"),\n}).describe(\"The input parameters for deleting a group.\");\nconst SmsAlertPostDeleteGroup_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Detailed error description\").nullable(),\n}).passthrough().describe(\"Nested error description object for group deletion failures.\");\nexport const SmsAlertPostDeleteGroupOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\").nullable(),\n description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema]),\n}).passthrough().describe(\"The API response after attempting to delete a group.\");\n\nexport const smsAlertPostDeleteGroup: AppAction<\n typeof SmsAlertPostDeleteGroupInput,\n typeof SmsAlertPostDeleteGroupOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_DELETE_GROUP\", {\n slug: \"sms_alert-post-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a specified group. Use after confirming the group's ID.\",\n input: SmsAlertPostDeleteGroupInput,\n output: SmsAlertPostDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAMxF,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACzJ,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-delete-short-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteShortUrlInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.\"),\n}).describe(\"The input parameters for deleting a short URL.\");\nexport const SmsAlertPostDeleteShortUrlOutput = 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}).passthrough().describe(\"The API response after attempting to delete a short URL.\");\n\nexport const smsAlertPostDeleteShortUrl = action(\"SMS_ALERT_POST_DELETE_SHORT_URL\", {\n slug: \"sms_alert-post-delete-short-url\",\n name: \"Delete Short URL\",\n description: \"Tool to delete an existing short URL. Use after confirming the short URL's ID.\",\n input: SmsAlertPostDeleteShortUrlInput,\n output: SmsAlertPostDeleteShortUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-short-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostDeleteShortUrlInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.\"),\n}).describe(\"The input parameters for deleting a short URL.\");\nexport const SmsAlertPostDeleteShortUrlOutput = 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}).passthrough().describe(\"The API response after attempting to delete a short URL.\");\n\nexport const smsAlertPostDeleteShortUrl: AppAction<\n typeof SmsAlertPostDeleteShortUrlInput,\n typeof SmsAlertPostDeleteShortUrlOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_DELETE_SHORT_URL\", {\n slug: \"sms_alert-post-delete-short-url\",\n name: \"Delete Short URL\",\n description: \"Tool to delete an existing short URL. Use after confirming the short URL's ID.\",\n input: SmsAlertPostDeleteShortUrlInput,\n output: SmsAlertPostDeleteShortUrlOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,6BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-short-url.d.ts
@@ -8,21 +10,7 @@ declare const SmsAlertPostDeleteShortUrlOutput: z.ZodObject<{
8
10
  status: z.ZodNullable<z.ZodString>;
9
11
  description: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const smsAlertPostDeleteShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const smsAlertPostDeleteShortUrl: AppAction<typeof SmsAlertPostDeleteShortUrlInput, typeof SmsAlertPostDeleteShortUrlOutput, typeof smsAlert.credential>;
26
14
  //#endregion
27
15
  export { smsAlertPostDeleteShortUrl };
28
16
  //# sourceMappingURL=post-delete-short-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-short-url.d.cts","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-delete-short-url.d.cts","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-short-url.d.ts
@@ -8,21 +10,7 @@ declare const SmsAlertPostDeleteShortUrlOutput: z.ZodObject<{
8
10
  status: z.ZodNullable<z.ZodString>;
9
11
  description: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const smsAlertPostDeleteShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const smsAlertPostDeleteShortUrl: AppAction<typeof SmsAlertPostDeleteShortUrlInput, typeof SmsAlertPostDeleteShortUrlOutput, typeof smsAlert.credential>;
26
14
  //#endregion
27
15
  export { smsAlertPostDeleteShortUrl };
28
16
  //# sourceMappingURL=post-delete-short-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-short-url.d.mts","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-delete-short-url.d.mts","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const smsAlertPostDeleteShortUrl = action("SMS_ALERT_POST_DELETE_SHORT_URL", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-short-url.mjs","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteShortUrlInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.\"),\n}).describe(\"The input parameters for deleting a short URL.\");\nexport const SmsAlertPostDeleteShortUrlOutput = 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}).passthrough().describe(\"The API response after attempting to delete a short URL.\");\n\nexport const smsAlertPostDeleteShortUrl = action(\"SMS_ALERT_POST_DELETE_SHORT_URL\", {\n slug: \"sms_alert-post-delete-short-url\",\n name: \"Delete Short URL\",\n description: \"Tool to delete an existing short URL. Use after confirming the short URL's ID.\",\n input: SmsAlertPostDeleteShortUrlInput,\n output: SmsAlertPostDeleteShortUrlOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV8C,EAAE,OAAO;EACvD,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,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-short-url.mjs","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostDeleteShortUrlInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.\"),\n}).describe(\"The input parameters for deleting a short URL.\");\nexport const SmsAlertPostDeleteShortUrlOutput = 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}).passthrough().describe(\"The API response after attempting to delete a short URL.\");\n\nexport const smsAlertPostDeleteShortUrl: AppAction<\n typeof SmsAlertPostDeleteShortUrlInput,\n typeof SmsAlertPostDeleteShortUrlOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_DELETE_SHORT_URL\", {\n slug: \"sms_alert-post-delete-short-url\",\n name: \"Delete Short URL\",\n description: \"Tool to delete an existing short URL. Use after confirming the short URL's ID.\",\n input: SmsAlertPostDeleteShortUrlInput,\n output: SmsAlertPostDeleteShortUrlOutput,\n});\n"],"mappings":";;;AAcA,MAAa,6BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAcH;CACP,QAd8C,EAAE,OAAO;EACvD,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,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-delete-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-template.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the SMS template to delete.\"),\n}).describe(\"The input parameters for deleting an SMS template.\");\nexport const SmsAlertPostDeleteTemplateOutput = 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}).passthrough().describe(\"The API response after attempting to delete an SMS template.\");\n\nexport const smsAlertPostDeleteTemplate = action(\"SMS_ALERT_POST_DELETE_TEMPLATE\", {\n slug: \"sms_alert-post-delete-template\",\n name: \"Delete SMS Template\",\n description: \"Tool to delete an existing SMS template. Use when you have the template ID to remove it.\",\n input: SmsAlertPostDeleteTemplateInput,\n output: SmsAlertPostDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-delete-template.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertPostDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The unique identifier of the SMS template to delete.\"),\n}).describe(\"The input parameters for deleting an SMS template.\");\nexport const SmsAlertPostDeleteTemplateOutput = 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}).passthrough().describe(\"The API response after attempting to delete an SMS template.\");\n\nexport const smsAlertPostDeleteTemplate: AppAction<\n typeof SmsAlertPostDeleteTemplateInput,\n typeof SmsAlertPostDeleteTemplateOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_POST_DELETE_TEMPLATE\", {\n slug: \"sms_alert-post-delete-template\",\n name: \"Delete SMS Template\",\n description: \"Tool to delete an existing SMS template. Use when you have the template ID to remove it.\",\n input: SmsAlertPostDeleteTemplateInput,\n output: SmsAlertPostDeleteTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-delete-template.d.ts
@@ -8,21 +10,7 @@ declare const SmsAlertPostDeleteTemplateOutput: z.ZodObject<{
8
10
  status: z.ZodNullable<z.ZodString>;
9
11
  description: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const smsAlertPostDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- template_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
13
+ declare const smsAlertPostDeleteTemplate: AppAction<typeof SmsAlertPostDeleteTemplateInput, typeof SmsAlertPostDeleteTemplateOutput, typeof smsAlert.credential>;
26
14
  //#endregion
27
15
  export { smsAlertPostDeleteTemplate };
28
16
  //# sourceMappingURL=post-delete-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-delete-template.d.cts","names":[],"sources":["../../src/actions/post-delete-template.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"post-delete-template.d.cts","names":[],"sources":["../../src/actions/post-delete-template.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}