@keystrokehq/sms_alert 0.1.2 → 0.1.4

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 (145) hide show
  1. package/dist/actions/change-password.cjs +1 -1
  2. package/dist/actions/change-password.cjs.map +1 -1
  3. package/dist/actions/change-password.d.cts +2 -2
  4. package/dist/actions/change-password.d.mts +2 -2
  5. package/dist/actions/change-password.mjs +1 -1
  6. package/dist/actions/change-password.mjs.map +1 -1
  7. package/dist/actions/get-balance-check.cjs +3 -3
  8. package/dist/actions/get-balance-check.cjs.map +1 -1
  9. package/dist/actions/get-balance-check.d.cts +3 -3
  10. package/dist/actions/get-balance-check.d.mts +3 -3
  11. package/dist/actions/get-balance-check.mjs +3 -3
  12. package/dist/actions/get-balance-check.mjs.map +1 -1
  13. package/dist/actions/get-delivery-report.cjs +4 -4
  14. package/dist/actions/get-delivery-report.cjs.map +1 -1
  15. package/dist/actions/get-delivery-report.d.cts +4 -4
  16. package/dist/actions/get-delivery-report.d.mts +4 -4
  17. package/dist/actions/get-delivery-report.mjs +4 -4
  18. package/dist/actions/get-delivery-report.mjs.map +1 -1
  19. package/dist/actions/get-group-detail.cjs +1 -1
  20. package/dist/actions/get-group-detail.cjs.map +1 -1
  21. package/dist/actions/get-group-detail.d.cts +1 -1
  22. package/dist/actions/get-group-detail.d.mts +1 -1
  23. package/dist/actions/get-group-detail.mjs +1 -1
  24. package/dist/actions/get-group-detail.mjs.map +1 -1
  25. package/dist/actions/get-group-list.cjs +3 -3
  26. package/dist/actions/get-group-list.cjs.map +1 -1
  27. package/dist/actions/get-group-list.d.cts +3 -3
  28. package/dist/actions/get-group-list.d.mts +3 -3
  29. package/dist/actions/get-group-list.mjs +3 -3
  30. package/dist/actions/get-group-list.mjs.map +1 -1
  31. package/dist/actions/get-sender-id-list.cjs +3 -3
  32. package/dist/actions/get-sender-id-list.cjs.map +1 -1
  33. package/dist/actions/get-sender-id-list.d.cts +3 -3
  34. package/dist/actions/get-sender-id-list.d.mts +3 -3
  35. package/dist/actions/get-sender-id-list.mjs +3 -3
  36. package/dist/actions/get-sender-id-list.mjs.map +1 -1
  37. package/dist/actions/get-template-list.cjs +3 -3
  38. package/dist/actions/get-template-list.cjs.map +1 -1
  39. package/dist/actions/get-template-list.d.cts +3 -3
  40. package/dist/actions/get-template-list.d.mts +3 -3
  41. package/dist/actions/get-template-list.mjs +3 -3
  42. package/dist/actions/get-template-list.mjs.map +1 -1
  43. package/dist/actions/get-user-profile.cjs +2 -2
  44. package/dist/actions/get-user-profile.cjs.map +1 -1
  45. package/dist/actions/get-user-profile.d.cts +2 -2
  46. package/dist/actions/get-user-profile.d.mts +2 -2
  47. package/dist/actions/get-user-profile.mjs +2 -2
  48. package/dist/actions/get-user-profile.mjs.map +1 -1
  49. package/dist/actions/post-create-contact.cjs +2 -2
  50. package/dist/actions/post-create-contact.cjs.map +1 -1
  51. package/dist/actions/post-create-contact.d.cts +2 -2
  52. package/dist/actions/post-create-contact.d.mts +2 -2
  53. package/dist/actions/post-create-contact.mjs +2 -2
  54. package/dist/actions/post-create-contact.mjs.map +1 -1
  55. package/dist/actions/post-create-group.cjs +2 -2
  56. package/dist/actions/post-create-group.cjs.map +1 -1
  57. package/dist/actions/post-create-group.d.cts +2 -2
  58. package/dist/actions/post-create-group.d.mts +2 -2
  59. package/dist/actions/post-create-group.mjs +2 -2
  60. package/dist/actions/post-create-group.mjs.map +1 -1
  61. package/dist/actions/post-create-short-url.cjs +1 -1
  62. package/dist/actions/post-create-short-url.cjs.map +1 -1
  63. package/dist/actions/post-create-short-url.d.cts +1 -1
  64. package/dist/actions/post-create-short-url.d.mts +1 -1
  65. package/dist/actions/post-create-short-url.mjs +1 -1
  66. package/dist/actions/post-create-short-url.mjs.map +1 -1
  67. package/dist/actions/post-create-template.cjs +1 -1
  68. package/dist/actions/post-create-template.cjs.map +1 -1
  69. package/dist/actions/post-create-template.d.cts +1 -1
  70. package/dist/actions/post-create-template.d.mts +1 -1
  71. package/dist/actions/post-create-template.mjs +1 -1
  72. package/dist/actions/post-create-template.mjs.map +1 -1
  73. package/dist/actions/post-delete-contact.cjs +1 -1
  74. package/dist/actions/post-delete-contact.cjs.map +1 -1
  75. package/dist/actions/post-delete-contact.d.cts +1 -1
  76. package/dist/actions/post-delete-contact.d.mts +1 -1
  77. package/dist/actions/post-delete-contact.mjs +1 -1
  78. package/dist/actions/post-delete-contact.mjs.map +1 -1
  79. package/dist/actions/post-delete-group.cjs +2 -2
  80. package/dist/actions/post-delete-group.cjs.map +1 -1
  81. package/dist/actions/post-delete-group.d.cts +2 -2
  82. package/dist/actions/post-delete-group.d.mts +2 -2
  83. package/dist/actions/post-delete-group.mjs +2 -2
  84. package/dist/actions/post-delete-group.mjs.map +1 -1
  85. package/dist/actions/post-delete-short-url.cjs +1 -1
  86. package/dist/actions/post-delete-short-url.cjs.map +1 -1
  87. package/dist/actions/post-delete-short-url.d.cts +1 -1
  88. package/dist/actions/post-delete-short-url.d.mts +1 -1
  89. package/dist/actions/post-delete-short-url.mjs +1 -1
  90. package/dist/actions/post-delete-short-url.mjs.map +1 -1
  91. package/dist/actions/post-delete-template.cjs +1 -1
  92. package/dist/actions/post-delete-template.cjs.map +1 -1
  93. package/dist/actions/post-delete-template.d.cts +1 -1
  94. package/dist/actions/post-delete-template.d.mts +1 -1
  95. package/dist/actions/post-delete-template.mjs +1 -1
  96. package/dist/actions/post-delete-template.mjs.map +1 -1
  97. package/dist/actions/post-edit-contact.cjs +1 -1
  98. package/dist/actions/post-edit-contact.cjs.map +1 -1
  99. package/dist/actions/post-edit-contact.d.cts +1 -1
  100. package/dist/actions/post-edit-contact.d.mts +1 -1
  101. package/dist/actions/post-edit-contact.mjs +1 -1
  102. package/dist/actions/post-edit-contact.mjs.map +1 -1
  103. package/dist/actions/post-edit-group.cjs +1 -1
  104. package/dist/actions/post-edit-group.cjs.map +1 -1
  105. package/dist/actions/post-edit-group.d.cts +1 -1
  106. package/dist/actions/post-edit-group.d.mts +1 -1
  107. package/dist/actions/post-edit-group.mjs +1 -1
  108. package/dist/actions/post-edit-group.mjs.map +1 -1
  109. package/dist/actions/post-edit-profile.cjs +1 -1
  110. package/dist/actions/post-edit-profile.cjs.map +1 -1
  111. package/dist/actions/post-edit-profile.d.cts +2 -2
  112. package/dist/actions/post-edit-profile.d.mts +2 -2
  113. package/dist/actions/post-edit-profile.mjs +1 -1
  114. package/dist/actions/post-edit-profile.mjs.map +1 -1
  115. package/dist/actions/post-edit-template.cjs +1 -1
  116. package/dist/actions/post-edit-template.cjs.map +1 -1
  117. package/dist/actions/post-edit-template.d.cts +1 -1
  118. package/dist/actions/post-edit-template.d.mts +1 -1
  119. package/dist/actions/post-edit-template.mjs +1 -1
  120. package/dist/actions/post-edit-template.mjs.map +1 -1
  121. package/dist/actions/post-generate-otp.cjs +4 -4
  122. package/dist/actions/post-generate-otp.cjs.map +1 -1
  123. package/dist/actions/post-generate-otp.d.cts +4 -4
  124. package/dist/actions/post-generate-otp.d.mts +4 -4
  125. package/dist/actions/post-generate-otp.mjs +4 -4
  126. package/dist/actions/post-generate-otp.mjs.map +1 -1
  127. package/dist/actions/post-sent-sms-report.cjs +3 -3
  128. package/dist/actions/post-sent-sms-report.cjs.map +1 -1
  129. package/dist/actions/post-sent-sms-report.d.cts +3 -3
  130. package/dist/actions/post-sent-sms-report.d.mts +3 -3
  131. package/dist/actions/post-sent-sms-report.mjs +3 -3
  132. package/dist/actions/post-sent-sms-report.mjs.map +1 -1
  133. package/dist/actions/send-sms-xml.cjs +5 -5
  134. package/dist/actions/send-sms-xml.cjs.map +1 -1
  135. package/dist/actions/send-sms-xml.d.cts +7 -5
  136. package/dist/actions/send-sms-xml.d.mts +7 -5
  137. package/dist/actions/send-sms-xml.mjs +5 -5
  138. package/dist/actions/send-sms-xml.mjs.map +1 -1
  139. package/dist/catalog.cjs +1 -1
  140. package/dist/catalog.cjs.map +1 -1
  141. package/dist/catalog.d.cts +1 -1
  142. package/dist/catalog.d.mts +1 -1
  143. package/dist/catalog.mjs +1 -1
  144. package/dist/catalog.mjs.map +1 -1
  145. package/package.json +1 -1
@@ -10,13 +10,13 @@ const SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({
10
10
  msgid: z.string().describe("Message ID of the sent OTP").nullable(),
11
11
  status: z.string().describe("Delivery status of the OTP message").nullable(),
12
12
  mobileno: z.string().describe("Mobile number to which the OTP was sent").nullable()
13
- });
13
+ }).passthrough();
14
14
  const SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({
15
15
  desc: z.string().describe("Description of the success status, e.g., number of messages scheduled").nullable(),
16
16
  batchid: z.string().describe("Batch ID of the scheduled OTP message").nullable(),
17
17
  batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe("List of details for each message in the batch")
18
- });
19
- const SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error description returned by the API").nullable() });
18
+ }).passthrough();
19
+ const SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error description returned by the API").nullable() }).passthrough();
20
20
  const smsAlertPostGenerateOtp = action("SMS_ALERT_POST_GENERATE_OTP", {
21
21
  slug: "sms_alert-post-generate-otp",
22
22
  name: "Generate OTP",
@@ -25,7 +25,7 @@ const smsAlertPostGenerateOtp = action("SMS_ALERT_POST_GENERATE_OTP", {
25
25
  output: z.object({
26
26
  status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
27
27
  description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema])
28
- })
28
+ }).passthrough()
29
29
  });
30
30
  //#endregion
31
31
  export { smsAlertPostGenerateOtp };
@@ -1 +1 @@
1
- {"version":3,"file":"post-generate-otp.mjs","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostGenerateOtpInput = z.object({\n sender: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\").optional(),\n mobileno: z.string().describe(\"Mobile number(s) to send OTP, comma-separated, with or without country code Digits only — no spaces, dashes, or special characters. Country code required (e.g., '91' prefix for India).\"),\n template: z.string().describe(\"Template for OTP containing the [otp] tag, e.g., '[otp]' The `[otp]` placeholder is case-sensitive and must appear exactly as shown with brackets; omitting it prevents OTP injection.\"),\n}).describe(\"Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.\");\nconst SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\").nullable(),\n status: z.string().describe(\"Delivery status of the OTP message\").nullable(),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\").nullable(),\n});\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\").nullable(),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\").nullable(),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n});\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n});\nexport const SmsAlertPostGenerateOtpOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n});\n\nexport const smsAlertPostGenerateOtp = action(\"SMS_ALERT_POST_GENERATE_OTP\", {\n slug: \"sms_alert-post-generate-otp\",\n name: \"Generate OTP\",\n description: \"Tool to generate a one-time password (OTP). Use when you need to send an OTP to a mobile number using a predefined template.\",\n input: SmsAlertPostGenerateOtpInput,\n output: SmsAlertPostGenerateOtpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;CACxN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wLAAwL;AACxN,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACvH,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,WAAW,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,+CAA+C;AACxH,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC;AAMD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,MAAM,CAAC,kDAAkD,8CAA8C,CAAC;CACzH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"post-generate-otp.mjs","names":[],"sources":["../../src/actions/post-generate-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostGenerateOtpInput = z.object({\n sender: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\").optional(),\n mobileno: z.string().describe(\"Mobile number(s) to send OTP, comma-separated, with or without country code Digits only — no spaces, dashes, or special characters. Country code required (e.g., '91' prefix for India).\"),\n template: z.string().describe(\"Template for OTP containing the [otp] tag, e.g., '[otp]' The `[otp]` placeholder is case-sensitive and must appear exactly as shown with brackets; omitting it prevents OTP injection.\"),\n}).describe(\"Request model for POST_GENERATE_OTP. Provide mobile number, template, and optional sender ID to send OTP.\");\nconst SmsAlertPostGenerateOtp_BatchDetailSchema = z.object({\n msgid: z.string().describe(\"Message ID of the sent OTP\").nullable(),\n status: z.string().describe(\"Delivery status of the OTP message\").nullable(),\n mobileno: z.string().describe(\"Mobile number to which the OTP was sent\").nullable(),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status, e.g., number of messages scheduled\").nullable(),\n batchid: z.string().describe(\"Batch ID of the scheduled OTP message\").nullable(),\n batch_dtl: z.array(SmsAlertPostGenerateOtp_BatchDetailSchema).describe(\"List of details for each message in the batch\"),\n}).passthrough();\nconst SmsAlertPostGenerateOtp_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough();\nexport const SmsAlertPostGenerateOtpOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertPostGenerateOtp_SuccessDescriptionSchema, SmsAlertPostGenerateOtp_ErrorDescriptionSchema]),\n}).passthrough();\n\nexport const smsAlertPostGenerateOtp = action(\"SMS_ALERT_POST_GENERATE_OTP\", {\n slug: \"sms_alert-post-generate-otp\",\n name: \"Generate OTP\",\n description: \"Tool to generate a one-time password (OTP). Use when you need to send an OTP to a mobile number using a predefined template.\",\n input: SmsAlertPostGenerateOtpInput,\n output: SmsAlertPostGenerateOtpOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACn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
22
  scheduletime: zod.z.string().describe("Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)").nullable().optional(),
23
23
  creditscharged: zod.z.string().describe("Credits charged for the SMS").nullable().optional(),
24
24
  creditsrefunded: zod.z.string().describe("Credits refunded").nullable().optional()
25
- }).describe("Single SMS campaign log entry.");
26
- const SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = zod.z.object({ Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable() }).describe("Wrapper for the SmsCampaignLog item.");
25
+ }).passthrough().describe("Single SMS campaign log entry.");
26
+ const SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = zod.z.object({ Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable() }).passthrough().describe("Wrapper for the SmsCampaignLog item.");
27
27
  const SmsAlertPostSentSmsReportOutput = zod.z.object({
28
28
  status: zod.z.enum(["success", "error"]).describe("API response status, success or error").nullable(),
29
29
  description: zod.z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe("List of sent SMS campaign log entries").nullable().optional()
30
- });
30
+ }).passthrough();
31
31
  const smsAlertPostSentSmsReport = require_action.action("SMS_ALERT_POST_SENT_SMS_REPORT", {
32
32
  slug: "sms_alert-post-sent-sms-report",
33
33
  name: "Get Sent SMS Report",
@@ -1 +1 @@
1
- {"version":3,"file":"post-sent-sms-report.cjs","names":["z","action"],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n});\n\nexport const smsAlertPostSentSmsReport = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output: SmsAlertPostSentSms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,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,wDAAwDA,IAAAA,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-sent-sms-report.cjs","names":["z","action"],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).passthrough().describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).passthrough().describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n}).passthrough();\n\nexport const smsAlertPostSentSmsReport = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output: SmsAlertPostSentSmsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,9 +28,9 @@ declare const SmsAlertPostSentSmsReportOutput: z.ZodObject<{
28
28
  scheduletime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  creditscharged: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  creditsrefunded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>>>>;
33
- }, z.core.$strip>;
31
+ }, z.core.$loose>>;
32
+ }, z.core.$loose>>>>;
33
+ }, z.core.$loose>;
34
34
  declare const smsAlertPostSentSmsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  page?: number | undefined;
36
36
  limit?: number | undefined;
@@ -28,9 +28,9 @@ declare const SmsAlertPostSentSmsReportOutput: z.ZodObject<{
28
28
  scheduletime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  creditscharged: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  creditsrefunded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>;
32
- }, z.core.$strip>>>>;
33
- }, z.core.$strip>;
31
+ }, z.core.$loose>>;
32
+ }, z.core.$loose>>>>;
33
+ }, z.core.$loose>;
34
34
  declare const smsAlertPostSentSmsReport: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  page?: number | undefined;
36
36
  limit?: number | undefined;
@@ -22,8 +22,8 @@ const SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({
22
22
  scheduletime: z.string().describe("Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)").nullable().optional(),
23
23
  creditscharged: z.string().describe("Credits charged for the SMS").nullable().optional(),
24
24
  creditsrefunded: z.string().describe("Credits refunded").nullable().optional()
25
- }).describe("Single SMS campaign log entry.");
26
- const SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({ Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable() }).describe("Wrapper for the SmsCampaignLog item.");
25
+ }).passthrough().describe("Single SMS campaign log entry.");
26
+ const SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({ Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable() }).passthrough().describe("Wrapper for the SmsCampaignLog item.");
27
27
  const smsAlertPostSentSmsReport = action("SMS_ALERT_POST_SENT_SMS_REPORT", {
28
28
  slug: "sms_alert-post-sent-sms-report",
29
29
  name: "Get Sent SMS Report",
@@ -32,7 +32,7 @@ const smsAlertPostSentSmsReport = action("SMS_ALERT_POST_SENT_SMS_REPORT", {
32
32
  output: z.object({
33
33
  status: z.enum(["success", "error"]).describe("API response status, success or error").nullable(),
34
34
  description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe("List of sent SMS campaign log entries").nullable().optional()
35
- })
35
+ }).passthrough()
36
36
  });
37
37
  //#endregion
38
38
  export { smsAlertPostSentSmsReport };
@@ -1 +1 @@
1
- {"version":3,"file":"post-sent-sms-report.mjs","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n});\n\nexport const smsAlertPostSentSmsReport = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output: SmsAlertPostSentSmsReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,E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S,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,wDAAwD,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAMlD,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"post-sent-sms-report.mjs","names":[],"sources":["../../src/actions/post-sent-sms-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostSentSmsReportInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for results (≥ 1)\").optional(),\n limit: z.number().int().default(20).describe(\"Records per page (≥ 1)\").optional(),\n mobile: z.string().describe(\"Comma-separated mobile numbers to filter the report\").optional(),\n campaignuniqueid: z.string().describe(\"Filter by specific campaign unique ID\").optional(),\n}).describe(\"Parameters to filter the sent-SMS campaign report.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogSchema = z.object({\n id: z.string().describe(\"Unique identifier for the log entry\").nullable(),\n text: z.string().describe(\"Content of the SMS sent\").nullable(),\n route: z.string().describe(\"Route used for SMS delivery\").nullable().optional(),\n source: z.string().describe(\"Source of the SMS (e.g., Http)\").nullable().optional(),\n userid: z.string().describe(\"User ID who sent the SMS\").nullable(),\n datetime: z.string().describe(\"Timestamp when message was sent (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n schedule: z.boolean().describe(\"Whether SMS was scheduled\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the SMS\").nullable(),\n smscount: z.string().describe(\"Number of SMS messages\").nullable().optional(),\n ipaddress: z.string().describe(\"IP address from which SMS was sent\").nullable().optional(),\n campaignname: z.string().describe(\"Name of the campaign\").nullable().optional(),\n scheduletime: z.string().describe(\"Scheduled time for the SMS (YYYY-MM-DD HH:MM:SS)\").nullable().optional(),\n creditscharged: z.string().describe(\"Credits charged for the SMS\").nullable().optional(),\n creditsrefunded: z.string().describe(\"Credits refunded\").nullable().optional(),\n}).passthrough().describe(\"Single SMS campaign log entry.\");\nconst SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema = z.object({\n Smscampaignlog: SmsAlertPostSentSmsReport_SmsCampaignLogSchema.nullable(),\n}).passthrough().describe(\"Wrapper for the SmsCampaignLog item.\");\nexport const SmsAlertPostSentSmsReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"API response status, success or error\").nullable(),\n description: z.array(SmsAlertPostSentSmsReport_SmsCampaignLogWrapperSchema).describe(\"List of sent SMS campaign log entries\").nullable().optional(),\n}).passthrough();\n\nexport const smsAlertPostSentSmsReport = action(\"SMS_ALERT_POST_SENT_SMS_REPORT\", {\n slug: \"sms_alert-post-sent-sms-report\",\n name: \"Get Sent SMS Report\",\n description: \"Tool to retrieve SMS campaign sent report details. Use after campaigns are sent to analyze delivery results. Delivery status data may lag real time; treat results as non-final for time-sensitive workflows.\",\n input: SmsAlertPostSentSmsReportInput,\n output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5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,wDAAwD,EAAE,OAAO,EACrE,gBAAgB,+CAA+C,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,4BAA4B,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,10 +6,10 @@ const SmsAlertSendSmsXmlInput = zod.z.object({ messages: zod.z.array(zod.z.objec
6
6
  addresses: zod.z.array(zod.z.object({
7
7
  to: zod.z.string().describe("Recipient mobile number (10-15 digits, with or without country code)"),
8
8
  from: zod.z.string().describe("Sender ID approved by SMS Alert, up to 6 characters")
9
- }).describe("Address details for a single SMS recipient.")).describe("List of recipient addresses. Each address specifies a sender ID and mobile number.")
10
- }).describe("SMS message details including text and recipient addresses.")).describe("List of SMS messages to send. Each message can have multiple recipients with the same text.") }).describe("Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.");
11
- const SmsAlertSendSmsXml_SuccessDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Description of the success status or message count").nullable().optional() }).describe("Success response description with message details.");
12
- const SmsAlertSendSmsXml_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error description returned by the API").nullable() }).describe("Error response description.");
9
+ }).passthrough().describe("Address details for a single SMS recipient.")).describe("List of recipient addresses. Each address specifies a sender ID and mobile number.")
10
+ }).passthrough().describe("SMS message details including text and recipient addresses.")).describe("List of SMS messages to send. Each message can have multiple recipients with the same text.") }).describe("Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.");
11
+ const SmsAlertSendSmsXml_SuccessDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Description of the success status or message count").nullable().optional() }).passthrough().describe("Success response description with message details.");
12
+ const SmsAlertSendSmsXml_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error description returned by the API").nullable() }).passthrough().describe("Error response description.");
13
13
  const SmsAlertSendSmsXmlOutput = zod.z.object({
14
14
  status: zod.z.enum(["success", "error"]).describe("Indicates whether the SMS request succeeded or failed").nullable(),
15
15
  description: zod.z.union([
@@ -17,7 +17,7 @@ const SmsAlertSendSmsXmlOutput = zod.z.object({
17
17
  SmsAlertSendSmsXml_SuccessDescriptionSchema,
18
18
  SmsAlertSendSmsXml_ErrorDescriptionSchema
19
19
  ])
20
- }).describe("Response from the SMS XML push API.");
20
+ }).passthrough().describe("Response from the SMS XML push API.");
21
21
  const smsAlertSendSmsXml = require_action.action("SMS_ALERT_SEND_SMS_XML", {
22
22
  slug: "sms_alert-send-sms-xml",
23
23
  name: "Send SMS via XML",
@@ -1 +1 @@
1
- {"version":3,"file":"send-sms-xml.cjs","names":["z","action"],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACjF,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACzJ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,6FAA6F,EAClL,CAAC,CAAC,CAAC,SAAS,uHAAuH;AACnI,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAG;EAA6C;CAAyC,CAAC;AAC3H,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,qBAAqBC,eAAAA,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"send-sms-xml.cjs","names":["z","action"],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).passthrough().describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).passthrough().describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).passthrough().describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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.$loose>>;
11
+ }, z.core.$loose>>;
12
12
  }, z.core.$strip>;
13
13
  declare const SmsAlertSendSmsXmlOutput: z.ZodObject<{
14
14
  status: z.ZodNullable<z.ZodEnum<{
@@ -17,14 +17,16 @@ declare const SmsAlertSendSmsXmlOutput: z.ZodObject<{
17
17
  }>>;
18
18
  description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
19
19
  desc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>, z.ZodObject<{
20
+ }, z.core.$loose>, z.ZodObject<{
21
21
  desc: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>]>;
23
- }, z.core.$strip>;
22
+ }, z.core.$loose>]>;
23
+ }, z.core.$loose>;
24
24
  declare const smsAlertSendSmsXml: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  messages: {
26
+ [x: string]: unknown;
26
27
  text: string;
27
28
  addresses: {
29
+ [x: string]: unknown;
28
30
  to: string;
29
31
  from: string;
30
32
  }[];
@@ -7,8 +7,8 @@ declare const SmsAlertSendSmsXmlInput: z.ZodObject<{
7
7
  addresses: z.ZodArray<z.ZodObject<{
8
8
  to: z.ZodString;
9
9
  from: z.ZodString;
10
- }, z.core.$strip>>;
11
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>>;
12
12
  }, z.core.$strip>;
13
13
  declare const SmsAlertSendSmsXmlOutput: z.ZodObject<{
14
14
  status: z.ZodNullable<z.ZodEnum<{
@@ -17,14 +17,16 @@ declare const SmsAlertSendSmsXmlOutput: z.ZodObject<{
17
17
  }>>;
18
18
  description: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
19
19
  desc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>, z.ZodObject<{
20
+ }, z.core.$loose>, z.ZodObject<{
21
21
  desc: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>]>;
23
- }, z.core.$strip>;
22
+ }, z.core.$loose>]>;
23
+ }, z.core.$loose>;
24
24
  declare const smsAlertSendSmsXml: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  messages: {
26
+ [x: string]: unknown;
26
27
  text: string;
27
28
  addresses: {
29
+ [x: string]: unknown;
28
30
  to: string;
29
31
  from: string;
30
32
  }[];
@@ -6,10 +6,10 @@ const SmsAlertSendSmsXmlInput = z.object({ messages: z.array(z.object({
6
6
  addresses: z.array(z.object({
7
7
  to: z.string().describe("Recipient mobile number (10-15 digits, with or without country code)"),
8
8
  from: z.string().describe("Sender ID approved by SMS Alert, up to 6 characters")
9
- }).describe("Address details for a single SMS recipient.")).describe("List of recipient addresses. Each address specifies a sender ID and mobile number.")
10
- }).describe("SMS message details including text and recipient addresses.")).describe("List of SMS messages to send. Each message can have multiple recipients with the same text.") }).describe("Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.");
11
- const SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({ desc: z.string().describe("Description of the success status or message count").nullable().optional() }).describe("Success response description with message details.");
12
- const SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error description returned by the API").nullable() }).describe("Error response description.");
9
+ }).passthrough().describe("Address details for a single SMS recipient.")).describe("List of recipient addresses. Each address specifies a sender ID and mobile number.")
10
+ }).passthrough().describe("SMS message details including text and recipient addresses.")).describe("List of SMS messages to send. Each message can have multiple recipients with the same text.") }).describe("Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.");
11
+ const SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({ desc: z.string().describe("Description of the success status or message count").nullable().optional() }).passthrough().describe("Success response description with message details.");
12
+ const SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error description returned by the API").nullable() }).passthrough().describe("Error response description.");
13
13
  const smsAlertSendSmsXml = action("SMS_ALERT_SEND_SMS_XML", {
14
14
  slug: "sms_alert-send-sms-xml",
15
15
  name: "Send SMS via XML",
@@ -22,7 +22,7 @@ const smsAlertSendSmsXml = action("SMS_ALERT_SEND_SMS_XML", {
22
22
  SmsAlertSendSmsXml_SuccessDescriptionSchema,
23
23
  SmsAlertSendSmsXml_ErrorDescriptionSchema
24
24
  ])
25
- }).describe("Response from the SMS XML push API.")
25
+ }).passthrough().describe("Response from the SMS XML push API.")
26
26
  });
27
27
  //#endregion
28
28
  export { smsAlertSendSmsXml };
@@ -1 +1 @@
1
- {"version":3,"file":"send-sms-xml.mjs","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACjF,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACzJ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,6FAA6F,EAClL,CAAC,CAAC,CAAC,SAAS,uHAAuH;AACnI,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG;GAA6C;EAAyC,CAAC;CAC3H,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"send-sms-xml.mjs","names":[],"sources":["../../src/actions/send-sms-xml.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertSendSmsXmlInput = z.object({\n messages: z.array(z.object({\n text: z.string().describe(\"The SMS message text to send\"),\n addresses: z.array(z.object({\n to: z.string().describe(\"Recipient mobile number (10-15 digits, with or without country code)\"),\n from: z.string().describe(\"Sender ID approved by SMS Alert, up to 6 characters\"),\n}).passthrough().describe(\"Address details for a single SMS recipient.\")).describe(\"List of recipient addresses. Each address specifies a sender ID and mobile number.\"),\n}).passthrough().describe(\"SMS message details including text and recipient addresses.\")).describe(\"List of SMS messages to send. Each message can have multiple recipients with the same text.\"),\n}).describe(\"Request model for sending SMS using XML format. Supports bulk sending to multiple recipients with different messages.\");\nconst SmsAlertSendSmsXml_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description of the success status or message count\").nullable().optional(),\n}).passthrough().describe(\"Success response description with message details.\");\nconst SmsAlertSendSmsXml_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error description returned by the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertSendSmsXmlOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the SMS request succeeded or failed\").nullable(),\n description: z.union([z.string(), SmsAlertSendSmsXml_SuccessDescriptionSchema, SmsAlertSendSmsXml_ErrorDescriptionSchema]),\n}).passthrough().describe(\"Response from the SMS XML push API.\");\n\nexport const smsAlertSendSmsXml = action(\"SMS_ALERT_SEND_SMS_XML\", {\n slug: \"sms_alert-send-sms-xml\",\n name: \"Send SMS via XML\",\n description: \"Tool to send SMS messages using XML format for bulk sending. Use when you need to send multiple messages to different recipients with different content in a single API call.\",\n input: SmsAlertSendSmsXmlInput,\n output: SmsAlertSendSmsXmlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,6FAA6F,EAChM,CAAC,CAAC,CAAC,SAAS,uHAAuH;AACnI,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAMvD,MAAa,qBAAqB,OAAO,0BAA0B;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG;GAA6C;EAAyC,CAAC;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const smsAlertCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/sms_alert",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "SMS Alert API Key",
13
13
  "secret": true,
14
14
  "description": "The API key generated from your SMS Alert account."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const smsAlertCatalog = {\n \"slug\": \"sms_alert\",\n \"name\": \"SMS Alert\",\n \"description\": \"SMS Alert is a versatile multi-channel communication platform enabling businesses to engage with customers through SMS, RCS, Telegram, and WhatsApp via a unified REST API.\",\n \"category\": \"Phone & SMS\",\n \"logo\": \"https://logos.composio.dev/api/sms_alert\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SMS Alert API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from your SMS Alert account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const smsAlertCatalog = {\n \"slug\": \"sms_alert\",\n \"name\": \"SMS Alert\",\n \"description\": \"SMS Alert is a versatile multi-channel communication platform enabling businesses to engage with customers through SMS, RCS, Telegram, and WhatsApp via a unified REST API.\",\n \"category\": \"Phone & SMS\",\n \"logo\": \"https://logos.composio.dev/api/sms_alert\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"SMS Alert API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from your SMS Alert account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const smsAlertCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "SMS Alert API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key generated from your SMS Alert account.";
@@ -9,7 +9,7 @@ declare const smsAlertCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "SMS Alert API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "The API key generated from your SMS Alert account.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const smsAlertCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/sms_alert",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "SMS Alert API Key",
13
13
  "secret": true,
14
14
  "description": "The API key generated from your SMS Alert account."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const smsAlertCatalog = {\n \"slug\": \"sms_alert\",\n \"name\": \"SMS Alert\",\n \"description\": \"SMS Alert is a versatile multi-channel communication platform enabling businesses to engage with customers through SMS, RCS, Telegram, and WhatsApp via a unified REST API.\",\n \"category\": \"Phone & SMS\",\n \"logo\": \"https://logos.composio.dev/api/sms_alert\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"SMS Alert API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from your SMS Alert account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const smsAlertCatalog = {\n \"slug\": \"sms_alert\",\n \"name\": \"SMS Alert\",\n \"description\": \"SMS Alert is a versatile multi-channel communication platform enabling businesses to engage with customers through SMS, RCS, Telegram, and WhatsApp via a unified REST API.\",\n \"category\": \"Phone & SMS\",\n \"logo\": \"https://logos.composio.dev/api/sms_alert\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"SMS Alert API Key\",\n \"secret\": true,\n \"description\": \"The API key generated from your SMS Alert account.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/sms_alert",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"