@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 +1 @@
1
- {"version":3,"file":"get-group-list.mjs","names":[],"sources":["../../src/actions/get-group-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupListInput = z.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n members: z.string().describe(\"Number of members in the group\").nullable(),\n group_data: z.unknown().describe(\"Additional group data\").nullable().optional(),\n groupfields: z.unknown().describe(\"Group fields metadata\").nullable().optional(),\n creationdate: z.string().describe(\"Date and time when the group was created\").nullable(),\n}).passthrough().describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).passthrough().describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\").nullable(),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).passthrough().describe(\"Response model for GET_GROUP_LIST.\");\n\nexport const smsAlertGetGroupList = action(\"SMS_ALERT_GET_GROUP_LIST\", {\n slug: \"sms_alert-get-group-list\",\n name: \"Get Group List\",\n description: \"Tool to retrieve a list of SMS Alert groups. Use when you need to fetch all groups associated with your account. Call after authenticating your API key.\",\n input: SmsAlertGetGroupListInput,\n output: SmsAlertGetGroupListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,mCAAmC,EAAE,OAAO,EAChD,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-group-list.mjs","names":[],"sources":["../../src/actions/get-group-list.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 SmsAlertGetGroupListInput = z.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n members: z.string().describe(\"Number of members in the group\").nullable(),\n group_data: z.unknown().describe(\"Additional group data\").nullable().optional(),\n groupfields: z.unknown().describe(\"Group fields metadata\").nullable().optional(),\n creationdate: z.string().describe(\"Date and time when the group was created\").nullable(),\n}).passthrough().describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).passthrough().describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\").nullable(),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).passthrough().describe(\"Response model for GET_GROUP_LIST.\");\n\nexport const smsAlertGetGroupList: AppAction<\n typeof SmsAlertGetGroupListInput,\n typeof SmsAlertGetGroupListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_GROUP_LIST\", {\n slug: \"sms_alert-get-group-list\",\n name: \"Get Group List\",\n description: \"Tool to retrieve a list of SMS Alert groups. Use when you need to fetch all groups associated with your account. Call after authenticating your API key.\",\n input: SmsAlertGetGroupListInput,\n output: SmsAlertGetGroupListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,mCAAmC,EAAE,OAAO,EAChD,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,uBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;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/get-sender-id-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-sender-id-list.cjs","names":["z","action"],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-sender-id-list.cjs","names":["z","action"],"sources":["../../src/actions/get-sender-id-list.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 SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList: AppAction<\n typeof SmsAlertGetSenderIdListInput,\n typeof SmsAlertGetSenderIdListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { smsAlert } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-sender-id-list.d.ts
@@ -11,19 +13,7 @@ declare const SmsAlertGetSenderIdListOutput: z.ZodObject<{
11
13
  desc: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>>>;
13
15
  }, z.core.$loose>;
14
- declare const smsAlertGetSenderIdList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
16
+ declare const smsAlertGetSenderIdList: AppAction<typeof SmsAlertGetSenderIdListInput, typeof SmsAlertGetSenderIdListOutput, typeof smsAlert.credential>;
27
17
  //#endregion
28
18
  export { smsAlertGetSenderIdList };
29
19
  //# sourceMappingURL=get-sender-id-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-sender-id-list.d.cts","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-sender-id-list.d.cts","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAM7B,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/get-sender-id-list.d.ts
@@ -11,19 +13,7 @@ declare const SmsAlertGetSenderIdListOutput: z.ZodObject<{
11
13
  desc: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>>>;
13
15
  }, z.core.$loose>;
14
- declare const smsAlertGetSenderIdList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- generic_api_key: z.ZodString;
26
- }, z.core.$strip>>]>;
16
+ declare const smsAlertGetSenderIdList: AppAction<typeof SmsAlertGetSenderIdListInput, typeof SmsAlertGetSenderIdListOutput, typeof smsAlert.credential>;
27
17
  //#endregion
28
18
  export { smsAlertGetSenderIdList };
29
19
  //# sourceMappingURL=get-sender-id-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-sender-id-list.d.mts","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-sender-id-list.d.mts","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAM7B,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/get-sender-id-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-sender-id-list.mjs","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-sender-id-list.mjs","names":[],"sources":["../../src/actions/get-sender-id-list.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 SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList: AppAction<\n typeof SmsAlertGetSenderIdListInput,\n typeof SmsAlertGetSenderIdListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,0BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-template-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-list.cjs","names":["z","action"],"sources":["../../src/actions/get-template-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,aAAa,0CAA0C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uCAAuC;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-template-list.cjs","names":["z","action"],"sources":["../../src/actions/get-template-list.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 SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList: AppAction<\n typeof SmsAlertGetTemplateListInput,\n typeof SmsAlertGetTemplateListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,aAAa,0CAA0C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uCAAuC;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,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/get-template-list.d.ts
@@ -16,21 +18,7 @@ declare const SmsAlertGetTemplateListOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const smsAlertGetTemplateList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- template_type?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const smsAlertGetTemplateList: AppAction<typeof SmsAlertGetTemplateListInput, typeof SmsAlertGetTemplateListOutput, typeof smsAlert.credential>;
34
22
  //#endregion
35
23
  export { smsAlertGetTemplateList };
36
24
  //# sourceMappingURL=get-template-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-list.d.cts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-template-list.d.cts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,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/get-template-list.d.ts
@@ -16,21 +18,7 @@ declare const SmsAlertGetTemplateListOutput: z.ZodObject<{
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const smsAlertGetTemplateList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- template_type?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
21
+ declare const smsAlertGetTemplateList: AppAction<typeof SmsAlertGetTemplateListInput, typeof SmsAlertGetTemplateListOutput, typeof smsAlert.credential>;
34
22
  //#endregion
35
23
  export { smsAlertGetTemplateList };
36
24
  //# sourceMappingURL=get-template-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-list.d.mts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-template-list.d.mts","names":[],"sources":["../../src/actions/get-template-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAa5B,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/get-template-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-template-list.mjs","names":[],"sources":["../../src/actions/get-template-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgD,EAAE,OAAO,EAC7D,aAAa,0CAA0C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uCAAuC;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-template-list.mjs","names":[],"sources":["../../src/actions/get-template-list.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 SmsAlertGetTemplateListInput = z.object({\n template_type: z.string().describe(\"Filter templates by type, e.g., 'transactional' or 'promotional'.\").optional(),\n}).describe(\"Request model for GET_TEMPLATE_LIST action.\");\nconst SmsAlertGetTemplateList_SmsTemplateSchema = z.object({\n id: z.string().describe(\"Unique ID of the template.\").nullable(),\n title: z.string().describe(\"Name/title of the template.\").nullable(),\n active: z.boolean().describe(\"Whether the template is active.\").nullable(),\n template: z.string().describe(\"Content/text of the template.\").nullable(),\n creationdate: z.string().describe(\"Date and time when the template was created.\").nullable(),\n}).passthrough().describe(\"Model representing SMS template details.\");\nconst SmsAlertGetTemplateList_TemplateWrapperSchema = z.object({\n Smstemplate: SmsAlertGetTemplateList_SmsTemplateSchema.nullable(),\n}).passthrough().describe(\"Wrapper containing the SMS template object.\");\nexport const SmsAlertGetTemplateListOutput = z.object({\n status: z.string().describe(\"API call status, 'success' or 'error'.\").nullable(),\n description: z.array(SmsAlertGetTemplateList_TemplateWrapperSchema).describe(\"List of SMS template wrapper objects.\"),\n}).passthrough().describe(\"Response model for GET_TEMPLATE_LIST action.\");\n\nexport const smsAlertGetTemplateList: AppAction<\n typeof SmsAlertGetTemplateListInput,\n typeof SmsAlertGetTemplateListOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_TEMPLATE_LIST\", {\n slug: \"sms_alert-get-template-list\",\n name: \"Get SMS Template List\",\n description: \"Tool to retrieve list of SMS templates from your SmsAlert account. Use when you need to display or manage your SMSAlert templates.\",\n input: SmsAlertGetTemplateListInput,\n output: SmsAlertGetTemplateListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO,EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,EACnH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,gDAAgD,EAAE,OAAO,EAC7D,aAAa,0CAA0C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,aAAa,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uCAAuC;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-user-profile.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACtK,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAAC,qDAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile: AppAction<\n typeof SmsAlertGetUserProfileInput,\n typeof SmsAlertGetUserProfileOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACtK,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,MAAM,CAAC,qDAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,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/get-user-profile.d.ts
@@ -20,19 +22,7 @@ declare const SmsAlertGetUserProfileOutput: z.ZodObject<{
20
22
  two_factor_auth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
23
  }, z.core.$loose>, z.ZodString]>;
22
24
  }, z.core.$loose>;
23
- declare const smsAlertGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
25
+ declare const smsAlertGetUserProfile: AppAction<typeof SmsAlertGetUserProfileInput, typeof SmsAlertGetUserProfileOutput, typeof smsAlert.credential>;
36
26
  //#endregion
37
27
  export { smsAlertGetUserProfile };
38
28
  //# sourceMappingURL=get-user-profile.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/get-user-profile.d.ts
@@ -20,19 +22,7 @@ declare const SmsAlertGetUserProfileOutput: z.ZodObject<{
20
22
  two_factor_auth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
23
  }, z.core.$loose>, z.ZodString]>;
22
24
  }, z.core.$loose>;
23
- declare const smsAlertGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- generic_api_key: z.ZodString;
35
- }, z.core.$strip>>]>;
25
+ declare const smsAlertGetUserProfile: AppAction<typeof SmsAlertGetUserProfileInput, typeof SmsAlertGetUserProfileOutput, typeof smsAlert.credential>;
36
26
  //#endregion
37
27
  export { smsAlertGetUserProfile };
38
28
  //# sourceMappingURL=get-user-profile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/get-user-profile.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACtK,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,MAAM,CAAC,qDAAqD,EAAE,OAAO,CAAC,CAAC;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\n\nexport const SmsAlertGetUserProfileInput = z.object({}).describe(\"Empty request model for GET_USER_PROFILE. Uses configured API key from metadata for authentication.\");\nconst SmsAlertGetUserProfile_UserProfileDescriptionSchema = z.object({\n id: z.string().describe(\"User account identifier\").nullable().optional(),\n emailid: z.string().describe(\"Registered email address\").nullable().optional(),\n lastname: z.string().describe(\"User's last name\").nullable().optional(),\n username: z.string().describe(\"Login username\").nullable().optional(),\n firstname: z.string().describe(\"User's first name\").nullable().optional(),\n parent_id: z.string().describe(\"Parent account ID\").nullable().optional(),\n expirydate: z.string().describe(\"Account expiration date\").nullable().optional(),\n kyc_status: z.number().int().describe(\"KYC verification status (0 or 1)\").nullable().optional(),\n android_push: z.number().int().describe(\"Android push notification enabled (0 or 1)\").nullable().optional(),\n mobilenumber: z.string().describe(\"Registered mobile number\").nullable().optional(),\n allowedprefix: z.string().describe(\"Allowed prefixes (JSON array string)\").nullable().optional(),\n mobile_verified: z.number().int().describe(\"Mobile verification status (0 or 1)\").nullable().optional(),\n two_factor_auth: z.number().int().describe(\"Two-factor authentication enabled (0 or 1)\").nullable().optional(),\n}).passthrough().describe(\"User profile details returned from the API.\");\nexport const SmsAlertGetUserProfileOutput = z.object({\n status: z.string().describe(\"API call status (e.g., 'success' or 'error')\").nullable(),\n description: z.union([SmsAlertGetUserProfile_UserProfileDescriptionSchema, z.string()]),\n}).passthrough().describe(\"Response schema for user profile endpoint.\");\n\nexport const smsAlertGetUserProfile: AppAction<\n typeof SmsAlertGetUserProfileInput,\n typeof SmsAlertGetUserProfileOutput,\n typeof smsAlert.credential\n> = action(\"SMS_ALERT_GET_USER_PROFILE\", {\n slug: \"sms_alert-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve user login and profile information. Returns account details including balance, sender IDs, and account status. Use after configuring your API key to fetch complete user profile.\",\n input: SmsAlertGetUserProfileInput,\n output: SmsAlertGetUserProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACtK,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,MAAM,CAAC,qDAAqD,EAAE,OAAO,CAAC,CAAC;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;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-contact.ts
@@ -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.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}).passthrough().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}).passthrough();\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,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,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,CAAC,CAAC,YAAY;AAEf,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\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}).passthrough().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}).passthrough();\n\nexport const smsAlertPostCreateContact: AppAction<\n typeof SmsAlertPostCreateContactInput,\n typeof SmsAlertPostCreateContactOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,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,CAAC,CAAC,YAAY;AAEf,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-create-contact.d.ts
@@ -15,23 +17,7 @@ declare const SmsAlertPostCreateContactOutput: z.ZodObject<{
15
17
  desc: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>]>;
17
19
  }, z.core.$loose>;
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<"sms_alert", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
20
+ declare const smsAlertPostCreateContact: AppAction<typeof SmsAlertPostCreateContactInput, typeof SmsAlertPostCreateContactOutput, typeof smsAlert.credential>;
35
21
  //#endregion
36
22
  export { smsAlertPostCreateContact };
37
23
  //# 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,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"post-create-contact.d.cts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+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-create-contact.d.ts
@@ -15,23 +17,7 @@ declare const SmsAlertPostCreateContactOutput: z.ZodObject<{
15
17
  desc: z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>]>;
17
19
  }, z.core.$loose>;
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<"sms_alert", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"sms_alert", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
20
+ declare const smsAlertPostCreateContact: AppAction<typeof SmsAlertPostCreateContactInput, typeof SmsAlertPostCreateContactOutput, typeof smsAlert.credential>;
35
21
  //#endregion
36
22
  export { smsAlertPostCreateContact };
37
23
  //# 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,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"post-create-contact.d.mts","names":[],"sources":["../../src/actions/post-create-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/post-create-contact.ts
@@ -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.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}).passthrough().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}).passthrough();\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,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAM1F,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-contact.mjs","names":[],"sources":["../../src/actions/post-create-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 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}).passthrough().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}).passthrough();\n\nexport const smsAlertPostCreateContact: AppAction<\n typeof SmsAlertPostCreateContactInput,\n typeof SmsAlertPostCreateContactOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAM1F,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,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,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/post-create-group.ts
@@ -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.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}).passthrough().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}).passthrough().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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { smsAlert } from \"../app\";\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}).passthrough().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}).passthrough().describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup: AppAction<\n typeof SmsAlertPostCreateGroupInput,\n typeof SmsAlertPostCreateGroupOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,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-create-group.d.ts
@@ -13,21 +15,7 @@ declare const SmsAlertPostCreateGroupOutput: z.ZodObject<{
13
15
  desc: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>]>;
15
17
  }, z.core.$loose>;
16
- declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- name: 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>>]>;
18
+ declare const smsAlertPostCreateGroup: AppAction<typeof SmsAlertPostCreateGroupInput, typeof SmsAlertPostCreateGroupOutput, typeof smsAlert.credential>;
31
19
  //#endregion
32
20
  export { smsAlertPostCreateGroup };
33
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,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-create-group.d.cts","names":[],"sources":["../../src/actions/post-create-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-create-group.d.ts
@@ -13,21 +15,7 @@ declare const SmsAlertPostCreateGroupOutput: z.ZodObject<{
13
15
  desc: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>]>;
15
17
  }, z.core.$loose>;
16
- declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- name: 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>>]>;
18
+ declare const smsAlertPostCreateGroup: AppAction<typeof SmsAlertPostCreateGroupInput, typeof SmsAlertPostCreateGroupOutput, typeof smsAlert.credential>;
31
19
  //#endregion
32
20
  export { smsAlertPostCreateGroup };
33
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,EAA4B,CAAA,CAAA,SAAA;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"post-create-group.d.mts","names":[],"sources":["../../src/actions/post-create-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-create-group.ts
@@ -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.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}).passthrough().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}).passthrough().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,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,qDAAqD,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-create-group.mjs","names":[],"sources":["../../src/actions/post-create-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 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}).passthrough().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}).passthrough().describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup: AppAction<\n typeof SmsAlertPostCreateGroupInput,\n typeof SmsAlertPostCreateGroupOutput,\n typeof smsAlert.credential\n> = 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":";;;;AAMA,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,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,qDAAqD,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}