@keystrokehq/sms_alert 0.1.0
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.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/change-password.cjs +27 -0
- package/dist/actions/change-password.cjs.map +1 -0
- package/dist/actions/change-password.d.cts +9 -0
- package/dist/actions/change-password.d.cts.map +1 -0
- package/dist/actions/change-password.d.mts +9 -0
- package/dist/actions/change-password.d.mts.map +1 -0
- package/dist/actions/change-password.mjs +24 -0
- package/dist/actions/change-password.mjs.map +1 -0
- package/dist/actions/get-balance-check.cjs +28 -0
- package/dist/actions/get-balance-check.cjs.map +1 -0
- package/dist/actions/get-balance-check.d.cts +9 -0
- package/dist/actions/get-balance-check.d.cts.map +1 -0
- package/dist/actions/get-balance-check.d.mts +9 -0
- package/dist/actions/get-balance-check.d.mts.map +1 -0
- package/dist/actions/get-balance-check.mjs +27 -0
- package/dist/actions/get-balance-check.mjs.map +1 -0
- package/dist/actions/get-delivery-report.cjs +43 -0
- package/dist/actions/get-delivery-report.cjs.map +1 -0
- package/dist/actions/get-delivery-report.d.cts +9 -0
- package/dist/actions/get-delivery-report.d.cts.map +1 -0
- package/dist/actions/get-delivery-report.d.mts +9 -0
- package/dist/actions/get-delivery-report.d.mts.map +1 -0
- package/dist/actions/get-delivery-report.mjs +42 -0
- package/dist/actions/get-delivery-report.mjs.map +1 -0
- package/dist/actions/get-group-detail.cjs +19 -0
- package/dist/actions/get-group-detail.cjs.map +1 -0
- package/dist/actions/get-group-detail.d.cts +9 -0
- package/dist/actions/get-group-detail.d.cts.map +1 -0
- package/dist/actions/get-group-detail.d.mts +9 -0
- package/dist/actions/get-group-detail.d.mts.map +1 -0
- package/dist/actions/get-group-detail.mjs +16 -0
- package/dist/actions/get-group-detail.mjs.map +1 -0
- package/dist/actions/get-group-list.cjs +28 -0
- package/dist/actions/get-group-list.cjs.map +1 -0
- package/dist/actions/get-group-list.d.cts +9 -0
- package/dist/actions/get-group-list.d.cts.map +1 -0
- package/dist/actions/get-group-list.d.mts +9 -0
- package/dist/actions/get-group-list.d.mts.map +1 -0
- package/dist/actions/get-group-list.mjs +27 -0
- package/dist/actions/get-group-list.mjs.map +1 -0
- package/dist/actions/get-sender-id-list.cjs +22 -0
- package/dist/actions/get-sender-id-list.cjs.map +1 -0
- package/dist/actions/get-sender-id-list.d.cts +9 -0
- package/dist/actions/get-sender-id-list.d.cts.map +1 -0
- package/dist/actions/get-sender-id-list.d.mts +9 -0
- package/dist/actions/get-sender-id-list.d.mts.map +1 -0
- package/dist/actions/get-sender-id-list.mjs +21 -0
- package/dist/actions/get-sender-id-list.mjs.map +1 -0
- package/dist/actions/get-template-list.cjs +27 -0
- package/dist/actions/get-template-list.cjs.map +1 -0
- package/dist/actions/get-template-list.d.cts +9 -0
- package/dist/actions/get-template-list.d.cts.map +1 -0
- package/dist/actions/get-template-list.d.mts +9 -0
- package/dist/actions/get-template-list.d.mts.map +1 -0
- package/dist/actions/get-template-list.mjs +26 -0
- package/dist/actions/get-template-list.mjs.map +1 -0
- package/dist/actions/get-user-profile.cjs +34 -0
- package/dist/actions/get-user-profile.cjs.map +1 -0
- package/dist/actions/get-user-profile.d.cts +9 -0
- package/dist/actions/get-user-profile.d.cts.map +1 -0
- package/dist/actions/get-user-profile.d.mts +9 -0
- package/dist/actions/get-user-profile.d.mts.map +1 -0
- package/dist/actions/get-user-profile.mjs +33 -0
- package/dist/actions/get-user-profile.mjs.map +1 -0
- package/dist/actions/index.cjs +47 -0
- package/dist/actions/index.d.cts +24 -0
- package/dist/actions/index.d.mts +24 -0
- package/dist/actions/index.mjs +24 -0
- package/dist/actions/post-create-contact.cjs +24 -0
- package/dist/actions/post-create-contact.cjs.map +1 -0
- package/dist/actions/post-create-contact.d.cts +9 -0
- package/dist/actions/post-create-contact.d.cts.map +1 -0
- package/dist/actions/post-create-contact.d.mts +9 -0
- package/dist/actions/post-create-contact.d.mts.map +1 -0
- package/dist/actions/post-create-contact.mjs +23 -0
- package/dist/actions/post-create-contact.mjs.map +1 -0
- package/dist/actions/post-create-group.cjs +20 -0
- package/dist/actions/post-create-group.cjs.map +1 -0
- package/dist/actions/post-create-group.d.cts +9 -0
- package/dist/actions/post-create-group.d.cts.map +1 -0
- package/dist/actions/post-create-group.d.mts +9 -0
- package/dist/actions/post-create-group.d.mts.map +1 -0
- package/dist/actions/post-create-group.mjs +19 -0
- package/dist/actions/post-create-group.mjs.map +1 -0
- package/dist/actions/post-create-short-url.cjs +24 -0
- package/dist/actions/post-create-short-url.cjs.map +1 -0
- package/dist/actions/post-create-short-url.d.cts +9 -0
- package/dist/actions/post-create-short-url.d.cts.map +1 -0
- package/dist/actions/post-create-short-url.d.mts +9 -0
- package/dist/actions/post-create-short-url.d.mts.map +1 -0
- package/dist/actions/post-create-short-url.mjs +21 -0
- package/dist/actions/post-create-short-url.mjs.map +1 -0
- package/dist/actions/post-create-template.cjs +22 -0
- package/dist/actions/post-create-template.cjs.map +1 -0
- package/dist/actions/post-create-template.d.cts +9 -0
- package/dist/actions/post-create-template.d.cts.map +1 -0
- package/dist/actions/post-create-template.d.mts +9 -0
- package/dist/actions/post-create-template.d.mts.map +1 -0
- package/dist/actions/post-create-template.mjs +19 -0
- package/dist/actions/post-create-template.mjs.map +1 -0
- package/dist/actions/post-delete-contact.cjs +19 -0
- package/dist/actions/post-delete-contact.cjs.map +1 -0
- package/dist/actions/post-delete-contact.d.cts +9 -0
- package/dist/actions/post-delete-contact.d.cts.map +1 -0
- package/dist/actions/post-delete-contact.d.mts +9 -0
- package/dist/actions/post-delete-contact.d.mts.map +1 -0
- package/dist/actions/post-delete-contact.mjs +16 -0
- package/dist/actions/post-delete-contact.mjs.map +1 -0
- package/dist/actions/post-delete-group.cjs +20 -0
- package/dist/actions/post-delete-group.cjs.map +1 -0
- package/dist/actions/post-delete-group.d.cts +9 -0
- package/dist/actions/post-delete-group.d.cts.map +1 -0
- package/dist/actions/post-delete-group.d.mts +9 -0
- package/dist/actions/post-delete-group.d.mts.map +1 -0
- package/dist/actions/post-delete-group.mjs +19 -0
- package/dist/actions/post-delete-group.mjs.map +1 -0
- package/dist/actions/post-delete-short-url.cjs +19 -0
- package/dist/actions/post-delete-short-url.cjs.map +1 -0
- package/dist/actions/post-delete-short-url.d.cts +9 -0
- package/dist/actions/post-delete-short-url.d.cts.map +1 -0
- package/dist/actions/post-delete-short-url.d.mts +9 -0
- package/dist/actions/post-delete-short-url.d.mts.map +1 -0
- package/dist/actions/post-delete-short-url.mjs +16 -0
- package/dist/actions/post-delete-short-url.mjs.map +1 -0
- package/dist/actions/post-delete-template.cjs +19 -0
- package/dist/actions/post-delete-template.cjs.map +1 -0
- package/dist/actions/post-delete-template.d.cts +9 -0
- package/dist/actions/post-delete-template.d.cts.map +1 -0
- package/dist/actions/post-delete-template.d.mts +9 -0
- package/dist/actions/post-delete-template.d.mts.map +1 -0
- package/dist/actions/post-delete-template.mjs +16 -0
- package/dist/actions/post-delete-template.mjs.map +1 -0
- package/dist/actions/post-edit-contact.cjs +25 -0
- package/dist/actions/post-edit-contact.cjs.map +1 -0
- package/dist/actions/post-edit-contact.d.cts +9 -0
- package/dist/actions/post-edit-contact.d.cts.map +1 -0
- package/dist/actions/post-edit-contact.d.mts +9 -0
- package/dist/actions/post-edit-contact.d.mts.map +1 -0
- package/dist/actions/post-edit-contact.mjs +22 -0
- package/dist/actions/post-edit-contact.mjs.map +1 -0
- package/dist/actions/post-edit-group.cjs +22 -0
- package/dist/actions/post-edit-group.cjs.map +1 -0
- package/dist/actions/post-edit-group.d.cts +9 -0
- package/dist/actions/post-edit-group.d.cts.map +1 -0
- package/dist/actions/post-edit-group.d.mts +9 -0
- package/dist/actions/post-edit-group.d.mts.map +1 -0
- package/dist/actions/post-edit-group.mjs +19 -0
- package/dist/actions/post-edit-group.mjs.map +1 -0
- package/dist/actions/post-edit-profile.cjs +33 -0
- package/dist/actions/post-edit-profile.cjs.map +1 -0
- package/dist/actions/post-edit-profile.d.cts +9 -0
- package/dist/actions/post-edit-profile.d.cts.map +1 -0
- package/dist/actions/post-edit-profile.d.mts +9 -0
- package/dist/actions/post-edit-profile.d.mts.map +1 -0
- package/dist/actions/post-edit-profile.mjs +30 -0
- package/dist/actions/post-edit-profile.mjs.map +1 -0
- package/dist/actions/post-edit-template.cjs +23 -0
- package/dist/actions/post-edit-template.cjs.map +1 -0
- package/dist/actions/post-edit-template.d.cts +9 -0
- package/dist/actions/post-edit-template.d.cts.map +1 -0
- package/dist/actions/post-edit-template.d.mts +9 -0
- package/dist/actions/post-edit-template.d.mts.map +1 -0
- package/dist/actions/post-edit-template.mjs +20 -0
- package/dist/actions/post-edit-template.mjs.map +1 -0
- package/dist/actions/post-generate-otp.cjs +34 -0
- package/dist/actions/post-generate-otp.cjs.map +1 -0
- package/dist/actions/post-generate-otp.d.cts +9 -0
- package/dist/actions/post-generate-otp.d.cts.map +1 -0
- package/dist/actions/post-generate-otp.d.mts +9 -0
- package/dist/actions/post-generate-otp.d.mts.map +1 -0
- package/dist/actions/post-generate-otp.mjs +33 -0
- package/dist/actions/post-generate-otp.mjs.map +1 -0
- package/dist/actions/post-sent-sms-report.cjs +41 -0
- package/dist/actions/post-sent-sms-report.cjs.map +1 -0
- package/dist/actions/post-sent-sms-report.d.cts +9 -0
- package/dist/actions/post-sent-sms-report.d.cts.map +1 -0
- package/dist/actions/post-sent-sms-report.d.mts +9 -0
- package/dist/actions/post-sent-sms-report.d.mts.map +1 -0
- package/dist/actions/post-sent-sms-report.mjs +40 -0
- package/dist/actions/post-sent-sms-report.mjs.map +1 -0
- package/dist/actions/send-sms-xml.cjs +31 -0
- package/dist/actions/send-sms-xml.cjs.map +1 -0
- package/dist/actions/send-sms-xml.d.cts +9 -0
- package/dist/actions/send-sms-xml.d.cts.map +1 -0
- package/dist/actions/send-sms-xml.d.mts +9 -0
- package/dist/actions/send-sms-xml.d.mts.map +1 -0
- package/dist/actions/send-sms-xml.mjs +30 -0
- package/dist/actions/send-sms-xml.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +52 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +27 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/sms_alert
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `sms_alert`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 23
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { smsAlertChangePassword } from "@keystrokehq/sms_alert/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "sms_alert-agent",
|
|
15
|
+
tools: [smsAlertChangePassword],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.smsAlert.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executeSmsAlertTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["smsAlert","executeSmsAlertTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { smsAlert } from \"./app\";\nimport { executeSmsAlertTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return smsAlert.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSmsAlertTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { smsAlert } from "./app.mjs";
|
|
2
|
+
import { executeSmsAlertTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return smsAlert.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executeSmsAlertTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { smsAlert } from \"./app\";\nimport { executeSmsAlertTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return smsAlert.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSmsAlertTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/change-password.ts
|
|
4
|
+
const SmsAlertChangePasswordInput = zod.z.object({
|
|
5
|
+
pwd: zod.z.string().describe("Current password for the authenticated user account"),
|
|
6
|
+
cnfpwd: zod.z.string().describe("Confirm new password - must match newpwd exactly"),
|
|
7
|
+
newpwd: zod.z.string().describe("New password to set for the account")
|
|
8
|
+
}).describe("Request model for changing the user account password.");
|
|
9
|
+
const SmsAlertChangePasswordOutput = zod.z.object({
|
|
10
|
+
status: zod.z.enum([
|
|
11
|
+
"success",
|
|
12
|
+
"failure",
|
|
13
|
+
"error"
|
|
14
|
+
]).describe("Result of the password change request"),
|
|
15
|
+
description: zod.z.string().describe("Description or status message")
|
|
16
|
+
}).describe("Response schema for change password endpoint.");
|
|
17
|
+
const smsAlertChangePassword = require_action.action("SMS_ALERT_CHANGE_PASSWORD", {
|
|
18
|
+
slug: "sms_alert-change-password",
|
|
19
|
+
name: "Change User Password",
|
|
20
|
+
description: "Tool to change the password for the authenticated user account. Use when the user needs to update their account password.",
|
|
21
|
+
input: SmsAlertChangePasswordInput,
|
|
22
|
+
output: SmsAlertChangePasswordOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.smsAlertChangePassword = smsAlertChangePassword;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=change-password.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-password.cjs","names":["z","action"],"sources":["../../src/actions/change-password.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertChangePasswordInput: z.ZodTypeAny = z.object({\n pwd: z.string().describe(\"Current password for the authenticated user account\"),\n cnfpwd: z.string().describe(\"Confirm new password - must match newpwd exactly\"),\n newpwd: z.string().describe(\"New password to set for the account\"),\n}).describe(\"Request model for changing the user account password.\");\nexport const SmsAlertChangePasswordOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\"),\n description: z.string().describe(\"Description or status message\"),\n}).describe(\"Response schema for change password endpoint.\");\n\nexport const smsAlertChangePassword = action(\"SMS_ALERT_CHANGE_PASSWORD\", {\n slug: \"sms_alert-change-password\",\n name: \"Change User Password\",\n description: \"Tool to change the password for the authenticated user account. Use when the user needs to update their account password.\",\n input: SmsAlertChangePasswordInput,\n output: SmsAlertChangePasswordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;AACnE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAClE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/change-password.d.ts
|
|
4
|
+
declare const SmsAlertChangePasswordInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertChangePasswordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertChangePassword };
|
|
9
|
+
//# sourceMappingURL=change-password.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-password.d.cts","names":[],"sources":["../../src/actions/change-password.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cACvD,4BAAA,EAA8B,CAAA,CAAE,UAGe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/change-password.d.ts
|
|
4
|
+
declare const SmsAlertChangePasswordInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertChangePasswordOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertChangePassword };
|
|
9
|
+
//# sourceMappingURL=change-password.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-password.d.mts","names":[],"sources":["../../src/actions/change-password.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAIwB;AAAA,cACvD,4BAAA,EAA8B,CAAA,CAAE,UAGe;AAAA,cAE/C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertChangePassword = action("SMS_ALERT_CHANGE_PASSWORD", {
|
|
4
|
+
slug: "sms_alert-change-password",
|
|
5
|
+
name: "Change User Password",
|
|
6
|
+
description: "Tool to change the password for the authenticated user account. Use when the user needs to update their account password.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
pwd: z.string().describe("Current password for the authenticated user account"),
|
|
9
|
+
cnfpwd: z.string().describe("Confirm new password - must match newpwd exactly"),
|
|
10
|
+
newpwd: z.string().describe("New password to set for the account")
|
|
11
|
+
}).describe("Request model for changing the user account password."),
|
|
12
|
+
output: z.object({
|
|
13
|
+
status: z.enum([
|
|
14
|
+
"success",
|
|
15
|
+
"failure",
|
|
16
|
+
"error"
|
|
17
|
+
]).describe("Result of the password change request"),
|
|
18
|
+
description: z.string().describe("Description or status message")
|
|
19
|
+
}).describe("Response schema for change password endpoint.")
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { smsAlertChangePassword };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=change-password.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-password.mjs","names":[],"sources":["../../src/actions/change-password.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertChangePasswordInput: z.ZodTypeAny = z.object({\n pwd: z.string().describe(\"Current password for the authenticated user account\"),\n cnfpwd: z.string().describe(\"Confirm new password - must match newpwd exactly\"),\n newpwd: z.string().describe(\"New password to set for the account\"),\n}).describe(\"Request model for changing the user account password.\");\nexport const SmsAlertChangePasswordOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\"),\n description: z.string().describe(\"Description or status message\"),\n}).describe(\"Response schema for change password endpoint.\");\n\nexport const smsAlertChangePassword = action(\"SMS_ALERT_CHANGE_PASSWORD\", {\n slug: \"sms_alert-change-password\",\n name: \"Change User Password\",\n description: \"Tool to change the password for the authenticated user account. Use when the user needs to update their account password.\",\n input: SmsAlertChangePasswordInput,\n output: SmsAlertChangePasswordOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduD,EAAE,OAAO;EAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,CAAC,CAAC,CAAC,SAAS,uDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAClE,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-balance-check.ts
|
|
4
|
+
const SmsAlertGetBalanceCheckInput = zod.z.object({}).describe("Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.");
|
|
5
|
+
const SmsAlertGetBalanceCheck_BalanceRouteSchema = zod.z.object({
|
|
6
|
+
route: zod.z.string().describe("Name of the route"),
|
|
7
|
+
credits: zod.z.string().describe("Number of credits available for the route"),
|
|
8
|
+
display_name: zod.z.string().describe("User-friendly name of the route")
|
|
9
|
+
});
|
|
10
|
+
const SmsAlertGetBalanceCheck_BalanceDescriptionSchema = zod.z.object({
|
|
11
|
+
desc: zod.z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'"),
|
|
12
|
+
routes: zod.z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe("List of objects detailing credits available for each route")
|
|
13
|
+
});
|
|
14
|
+
const SmsAlertGetBalanceCheckOutput = zod.z.object({
|
|
15
|
+
status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
|
|
16
|
+
description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable()
|
|
17
|
+
});
|
|
18
|
+
const smsAlertGetBalanceCheck = require_action.action("SMS_ALERT_GET_BALANCE_CHECK", {
|
|
19
|
+
slug: "sms_alert-get-balance-check",
|
|
20
|
+
name: "Get SMS Alert Balance",
|
|
21
|
+
description: "Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.",
|
|
22
|
+
input: SmsAlertGetBalanceCheckInput,
|
|
23
|
+
output: SmsAlertGetBalanceCheckOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.smsAlertGetBalanceCheck = smsAlertGetBalanceCheck;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-balance-check.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-balance-check.cjs","names":["z","action"],"sources":["../../src/actions/get-balance-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetBalanceCheckInput: z.ZodTypeAny = z.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema: z.ZodTypeAny = z.object({\n route: z.string().describe(\"Name of the route\"),\n credits: z.string().describe(\"Number of credits available for the route\"),\n display_name: z.string().describe(\"User-friendly name of the route\"),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\"),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n});\n\nexport const smsAlertGetBalanceCheck = action(\"SMS_ALERT_GET_BALANCE_CHECK\", {\n slug: \"sms_alert-get-balance-check\",\n name: \"Get SMS Alert Balance\",\n description: \"Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.\",\n input: SmsAlertGetBalanceCheckInput,\n output: SmsAlertGetBalanceCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACxK,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACjG,aAAa,iDAAiD,SAAS;AACzE,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-balance-check.d.ts
|
|
4
|
+
declare const SmsAlertGetBalanceCheckInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetBalanceCheck };
|
|
9
|
+
//# sourceMappingURL=get-balance-check.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-balance-check.d.cts","names":[],"sources":["../../src/actions/get-balance-check.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA4H;AAAA,cAU5J,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-balance-check.d.ts
|
|
4
|
+
declare const SmsAlertGetBalanceCheckInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetBalanceCheck };
|
|
9
|
+
//# sourceMappingURL=get-balance-check.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-balance-check.d.mts","names":[],"sources":["../../src/actions/get-balance-check.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAA4H;AAAA,cAU5J,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-balance-check.ts
|
|
4
|
+
const SmsAlertGetBalanceCheckInput = z.object({}).describe("Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.");
|
|
5
|
+
const SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({
|
|
6
|
+
route: z.string().describe("Name of the route"),
|
|
7
|
+
credits: z.string().describe("Number of credits available for the route"),
|
|
8
|
+
display_name: z.string().describe("User-friendly name of the route")
|
|
9
|
+
});
|
|
10
|
+
const SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({
|
|
11
|
+
desc: z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'"),
|
|
12
|
+
routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe("List of objects detailing credits available for each route")
|
|
13
|
+
});
|
|
14
|
+
const smsAlertGetBalanceCheck = action("SMS_ALERT_GET_BALANCE_CHECK", {
|
|
15
|
+
slug: "sms_alert-get-balance-check",
|
|
16
|
+
name: "Get SMS Alert Balance",
|
|
17
|
+
description: "Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.",
|
|
18
|
+
input: SmsAlertGetBalanceCheckInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
|
|
21
|
+
description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable()
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { smsAlertGetBalanceCheck };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-balance-check.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-balance-check.mjs","names":[],"sources":["../../src/actions/get-balance-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetBalanceCheckInput: z.ZodTypeAny = z.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema: z.ZodTypeAny = z.object({\n route: z.string().describe(\"Name of the route\"),\n credits: z.string().describe(\"Number of credits available for the route\"),\n display_name: z.string().describe(\"User-friendly name of the route\"),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\"),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n});\n\nexport const smsAlertGetBalanceCheck = action(\"SMS_ALERT_GET_BALANCE_CHECK\", {\n slug: \"sms_alert-get-balance-check\",\n name: \"Get SMS Alert Balance\",\n description: \"Tool to retrieve the current SMS credit balance. Use when you need an up-to-date credit status before sending messages. If balance is low, gate high-volume sends before proceeding — insufficient credits cause messages to be silently dropped or rejected mid-campaign.\",\n input: SmsAlertGetBalanceCheckInput,\n output: SmsAlertGetBalanceCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACxK,MAAM,6CAA2D,EAAE,OAAO;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACrG,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC;AAMD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACjG,aAAa,iDAAiD,SAAS;CACzE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-delivery-report.ts
|
|
4
|
+
const SmsAlertGetDeliveryReportInput = zod.z.object({
|
|
5
|
+
text: zod.z.string().describe("Filter by message text content to search for specific message deliveries").optional(),
|
|
6
|
+
sender: zod.z.string().describe("Filter by sender ID to retrieve delivery reports for a specific sender").optional(),
|
|
7
|
+
batchid: zod.z.string().describe("Batch ID of the SMS campaign for which to retrieve the delivery report"),
|
|
8
|
+
schedule: zod.z.string().describe("Filter by schedule status to narrow down the delivery report results").optional()
|
|
9
|
+
}).describe("Request parameters to retrieve delivery report for sent SMS messages by batch ID.");
|
|
10
|
+
const SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = zod.z.object({
|
|
11
|
+
text: zod.z.string().describe("Content of the SMS message").nullable().optional(),
|
|
12
|
+
msgid: zod.z.string().describe("Unique message ID").nullable().optional(),
|
|
13
|
+
route: zod.z.string().describe("Route used for SMS delivery (e.g., transactional, promotional)").nullable().optional(),
|
|
14
|
+
status: zod.z.string().describe("Delivery status of the message (e.g., DELIVRD, UNDELIV)").nullable().optional(),
|
|
15
|
+
datetime: zod.z.string().describe("Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)").nullable().optional(),
|
|
16
|
+
mobileno: zod.z.string().describe("Mobile number to which the message was sent").nullable().optional(),
|
|
17
|
+
senderid: zod.z.string().describe("Sender ID used for the message").nullable().optional(),
|
|
18
|
+
creditsused: zod.z.string().describe("Number of credits used for the message").nullable().optional()
|
|
19
|
+
}).describe("Individual message delivery detail in the delivery report.");
|
|
20
|
+
const SmsAlertGetDeliveryReport_SuccessDescriptionSchema = zod.z.object({
|
|
21
|
+
desc: zod.z.string().describe("Description message from the API"),
|
|
22
|
+
report: zod.z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe("List of message delivery details. Empty if no results found.").nullable().optional()
|
|
23
|
+
}).describe("Success response with delivery report data.");
|
|
24
|
+
const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error message from the API") }).describe("Error response description.");
|
|
25
|
+
const SmsAlertGetDeliveryReportOutput = zod.z.object({
|
|
26
|
+
status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
|
|
27
|
+
description: zod.z.union([
|
|
28
|
+
SmsAlertGetDeliveryReport_SuccessDescriptionSchema,
|
|
29
|
+
SmsAlertGetDeliveryReport_ErrorDescriptionSchema,
|
|
30
|
+
zod.z.string()
|
|
31
|
+
])
|
|
32
|
+
}).describe("Response containing delivery report data for sent SMS messages.");
|
|
33
|
+
const smsAlertGetDeliveryReport = require_action.action("SMS_ALERT_GET_DELIVERY_REPORT", {
|
|
34
|
+
slug: "sms_alert-get-delivery-report",
|
|
35
|
+
name: "Get SMS Delivery Report",
|
|
36
|
+
description: "Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.",
|
|
37
|
+
input: SmsAlertGetDeliveryReportInput,
|
|
38
|
+
output: SmsAlertGetDeliveryReportOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.smsAlertGetDeliveryReport = smsAlertGetDeliveryReport;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=get-delivery-report.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-report.cjs","names":["z","action"],"sources":["../../src/actions/get-delivery-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetDeliveryReportInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Filter by message text content to search for specific message deliveries\").optional(),\n sender: z.string().describe(\"Filter by sender ID to retrieve delivery reports for a specific sender\").optional(),\n batchid: z.string().describe(\"Batch ID of the SMS campaign for which to retrieve the delivery report\"),\n schedule: z.string().describe(\"Filter by schedule status to narrow down the delivery report results\").optional(),\n}).describe(\"Request parameters to retrieve delivery report for sent SMS messages by batch ID.\");\nconst SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Content of the SMS message\").nullable().optional(),\n msgid: z.string().describe(\"Unique message ID\").nullable().optional(),\n route: z.string().describe(\"Route used for SMS delivery (e.g., transactional, promotional)\").nullable().optional(),\n status: z.string().describe(\"Delivery status of the message (e.g., DELIVRD, UNDELIV)\").nullable().optional(),\n datetime: z.string().describe(\"Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)\").nullable().optional(),\n mobileno: z.string().describe(\"Mobile number to which the message was sent\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the message\").nullable().optional(),\n creditsused: z.string().describe(\"Number of credits used for the message\").nullable().optional(),\n}).describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Description message from the API\"),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Error message from the API\"),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).describe(\"Response containing delivery report data for sent SMS messages.\");\n\nexport const smsAlertGetDeliveryReport = action(\"SMS_ALERT_GET_DELIVERY_REPORT\", {\n slug: \"sms_alert-get-delivery-report\",\n name: \"Get SMS Delivery Report\",\n description: \"Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.\",\n input: SmsAlertGetDeliveryReportInput,\n output: SmsAlertGetDeliveryReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wDAAsEA,IAAAA,EAAE,OAAO;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACjG,aAAaA,IAAAA,EAAE,MAAM;EAAC;EAAoD;EAAkDA,IAAAA,EAAE,OAAO;CAAC,CAAC;AACzI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-delivery-report.d.ts
|
|
4
|
+
declare const SmsAlertGetDeliveryReportInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetDeliveryReport };
|
|
9
|
+
//# sourceMappingURL=get-delivery-report.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-report.d.cts","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKiD;AAAA,cAkBnF,+BAAA,EAAiC,CAAA,CAAE,UAG8B;AAAA,cAEjE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-delivery-report.d.ts
|
|
4
|
+
declare const SmsAlertGetDeliveryReportInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetDeliveryReport };
|
|
9
|
+
//# sourceMappingURL=get-delivery-report.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-report.d.mts","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKiD;AAAA,cAkBnF,+BAAA,EAAiC,CAAA,CAAE,UAG8B;AAAA,cAEjE,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-delivery-report.ts
|
|
4
|
+
const SmsAlertGetDeliveryReportInput = z.object({
|
|
5
|
+
text: z.string().describe("Filter by message text content to search for specific message deliveries").optional(),
|
|
6
|
+
sender: z.string().describe("Filter by sender ID to retrieve delivery reports for a specific sender").optional(),
|
|
7
|
+
batchid: z.string().describe("Batch ID of the SMS campaign for which to retrieve the delivery report"),
|
|
8
|
+
schedule: z.string().describe("Filter by schedule status to narrow down the delivery report results").optional()
|
|
9
|
+
}).describe("Request parameters to retrieve delivery report for sent SMS messages by batch ID.");
|
|
10
|
+
const SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = z.object({
|
|
11
|
+
text: z.string().describe("Content of the SMS message").nullable().optional(),
|
|
12
|
+
msgid: z.string().describe("Unique message ID").nullable().optional(),
|
|
13
|
+
route: z.string().describe("Route used for SMS delivery (e.g., transactional, promotional)").nullable().optional(),
|
|
14
|
+
status: z.string().describe("Delivery status of the message (e.g., DELIVRD, UNDELIV)").nullable().optional(),
|
|
15
|
+
datetime: z.string().describe("Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)").nullable().optional(),
|
|
16
|
+
mobileno: z.string().describe("Mobile number to which the message was sent").nullable().optional(),
|
|
17
|
+
senderid: z.string().describe("Sender ID used for the message").nullable().optional(),
|
|
18
|
+
creditsused: z.string().describe("Number of credits used for the message").nullable().optional()
|
|
19
|
+
}).describe("Individual message delivery detail in the delivery report.");
|
|
20
|
+
const SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({
|
|
21
|
+
desc: z.string().describe("Description message from the API"),
|
|
22
|
+
report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe("List of message delivery details. Empty if no results found.").nullable().optional()
|
|
23
|
+
}).describe("Success response with delivery report data.");
|
|
24
|
+
const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error message from the API") }).describe("Error response description.");
|
|
25
|
+
const smsAlertGetDeliveryReport = action("SMS_ALERT_GET_DELIVERY_REPORT", {
|
|
26
|
+
slug: "sms_alert-get-delivery-report",
|
|
27
|
+
name: "Get SMS Delivery Report",
|
|
28
|
+
description: "Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.",
|
|
29
|
+
input: SmsAlertGetDeliveryReportInput,
|
|
30
|
+
output: z.object({
|
|
31
|
+
status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed"),
|
|
32
|
+
description: z.union([
|
|
33
|
+
SmsAlertGetDeliveryReport_SuccessDescriptionSchema,
|
|
34
|
+
SmsAlertGetDeliveryReport_ErrorDescriptionSchema,
|
|
35
|
+
z.string()
|
|
36
|
+
])
|
|
37
|
+
}).describe("Response containing delivery report data for sent SMS messages.")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { smsAlertGetDeliveryReport };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=get-delivery-report.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-delivery-report.mjs","names":[],"sources":["../../src/actions/get-delivery-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetDeliveryReportInput: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Filter by message text content to search for specific message deliveries\").optional(),\n sender: z.string().describe(\"Filter by sender ID to retrieve delivery reports for a specific sender\").optional(),\n batchid: z.string().describe(\"Batch ID of the SMS campaign for which to retrieve the delivery report\"),\n schedule: z.string().describe(\"Filter by schedule status to narrow down the delivery report results\").optional(),\n}).describe(\"Request parameters to retrieve delivery report for sent SMS messages by batch ID.\");\nconst SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"Content of the SMS message\").nullable().optional(),\n msgid: z.string().describe(\"Unique message ID\").nullable().optional(),\n route: z.string().describe(\"Route used for SMS delivery (e.g., transactional, promotional)\").nullable().optional(),\n status: z.string().describe(\"Delivery status of the message (e.g., DELIVRD, UNDELIV)\").nullable().optional(),\n datetime: z.string().describe(\"Timestamp of message delivery (YYYY-MM-DD HH:MM:SS format)\").nullable().optional(),\n mobileno: z.string().describe(\"Mobile number to which the message was sent\").nullable().optional(),\n senderid: z.string().describe(\"Sender ID used for the message\").nullable().optional(),\n creditsused: z.string().describe(\"Number of credits used for the message\").nullable().optional(),\n}).describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Description message from the API\"),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Error message from the API\"),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\"),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).describe(\"Response containing delivery report data for sent SMS messages.\");\n\nexport const smsAlertGetDeliveryReport = action(\"SMS_ALERT_GET_DELIVERY_REPORT\", {\n slug: \"sms_alert-get-delivery-report\",\n name: \"Get SMS Delivery Report\",\n description: \"Tool to retrieve delivery report for sent SMS messages by batch ID. Returns message delivery status including mobile numbers, delivery status, and timestamps. Use after sending SMS campaigns to track delivery success.\",\n input: SmsAlertGetDeliveryReportInput,\n output: SmsAlertGetDeliveryReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,wDAAsE,EAAE,OAAO;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,mDAAiE,EAAE,OAAO,EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD;EACjG,aAAa,EAAE,MAAM;GAAC;GAAoD;GAAkD,EAAE,OAAO;EAAC,CAAC;CACzI,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-group-detail.ts
|
|
4
|
+
const SmsAlertGetGroupDetailInput = zod.z.object({ group_id: zod.z.number().int().describe("ID of the group to fetch details") }).describe("Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.");
|
|
5
|
+
const SmsAlertGetGroupDetailOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("API call status, e.g., 'success' or 'error'"),
|
|
7
|
+
description: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of contacts or error description from the API")
|
|
8
|
+
}).describe("Response model for GET_GROUP_DETAIL.");
|
|
9
|
+
const smsAlertGetGroupDetail = require_action.action("SMS_ALERT_GET_GROUP_DETAIL", {
|
|
10
|
+
slug: "sms_alert-get-group-detail",
|
|
11
|
+
name: "Get Group Detail",
|
|
12
|
+
description: "Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.",
|
|
13
|
+
input: SmsAlertGetGroupDetailInput,
|
|
14
|
+
output: SmsAlertGetGroupDetailOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.smsAlertGetGroupDetail = smsAlertGetGroupDetail;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=get-group-detail.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-detail.cjs","names":["z","action"],"sources":["../../src/actions/get-group-detail.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupDetailInput: z.ZodTypeAny = z.object({\n group_id: z.number().int().describe(\"ID of the group to fetch details\"),\n}).describe(\"Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.\");\nexport const SmsAlertGetGroupDetailOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\"),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).describe(\"Response model for GET_GROUP_DETAIL.\");\n\nexport const smsAlertGetGroupDetail = action(\"SMS_ALERT_GET_GROUP_DETAIL\", {\n slug: \"sms_alert-get-group-detail\",\n name: \"Get Group Detail\",\n description: \"Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.\",\n input: SmsAlertGetGroupDetailInput,\n output: SmsAlertGetGroupDetailOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACzE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACvH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-group-detail.d.ts
|
|
4
|
+
declare const SmsAlertGetGroupDetailInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetGroupDetailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetGroupDetail };
|
|
9
|
+
//# sourceMappingURL=get-group-detail.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-detail.d.cts","names":[],"sources":["../../src/actions/get-group-detail.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6C;AAAA,cAC5E,4BAAA,EAA8B,CAAA,CAAE,UAGM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-group-detail.d.ts
|
|
4
|
+
declare const SmsAlertGetGroupDetailInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetGroupDetailOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetGroupDetail };
|
|
9
|
+
//# sourceMappingURL=get-group-detail.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-detail.d.mts","names":[],"sources":["../../src/actions/get-group-detail.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE6C;AAAA,cAC5E,4BAAA,EAA8B,CAAA,CAAE,UAGM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertGetGroupDetail = action("SMS_ALERT_GET_GROUP_DETAIL", {
|
|
4
|
+
slug: "sms_alert-get-group-detail",
|
|
5
|
+
name: "Get Group Detail",
|
|
6
|
+
description: "Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.",
|
|
7
|
+
input: z.object({ group_id: z.number().int().describe("ID of the group to fetch details") }).describe("Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("API call status, e.g., 'success' or 'error'"),
|
|
10
|
+
description: z.array(z.record(z.string(), z.unknown())).describe("List of contacts or error description from the API")
|
|
11
|
+
}).describe("Response model for GET_GROUP_DETAIL.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { smsAlertGetGroupDetail };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=get-group-detail.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-detail.mjs","names":[],"sources":["../../src/actions/get-group-detail.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupDetailInput: z.ZodTypeAny = z.object({\n group_id: z.number().int().describe(\"ID of the group to fetch details\"),\n}).describe(\"Request model for GET_GROUP_DETAIL. Specify the group ID to fetch details.\");\nexport const SmsAlertGetGroupDetailOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\"),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).describe(\"Response model for GET_GROUP_DETAIL.\");\n\nexport const smsAlertGetGroupDetail = action(\"SMS_ALERT_GET_GROUP_DETAIL\", {\n slug: \"sms_alert-get-group-detail\",\n name: \"Get Group Detail\",\n description: \"Tool to retrieve details of a specific SMS Alert group. Use after confirming the group ID.\",\n input: SmsAlertGetGroupDetailInput,\n output: SmsAlertGetGroupDetailOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAUH;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACzE,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACvH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-group-list.ts
|
|
4
|
+
const SmsAlertGetGroupListInput = zod.z.object({}).describe("Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.");
|
|
5
|
+
const SmsAlertGetGroupList_GroupDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the group"),
|
|
7
|
+
name: zod.z.string().describe("Name of the group"),
|
|
8
|
+
members: zod.z.string().describe("Number of members in the group"),
|
|
9
|
+
group_data: zod.z.unknown().describe("Additional group data").nullable().optional(),
|
|
10
|
+
groupfields: zod.z.unknown().describe("Group fields metadata").nullable().optional(),
|
|
11
|
+
creationdate: zod.z.string().describe("Date and time when the group was created")
|
|
12
|
+
}).describe("The inner group data object in SMS Alert.");
|
|
13
|
+
const SmsAlertGetGroupList_GroupSchema = zod.z.object({ Group: SmsAlertGetGroupList_GroupDataSchema.nullable() }).describe("A group wrapper object in SMS Alert.");
|
|
14
|
+
const SmsAlertGetGroupListOutput = zod.z.object({
|
|
15
|
+
status: zod.z.string().describe("Indicates the status of the request, e.g., 'success'"),
|
|
16
|
+
description: zod.z.array(SmsAlertGetGroupList_GroupSchema).describe("List of groups in your SMS Alert account")
|
|
17
|
+
}).describe("Response model for GET_GROUP_LIST.");
|
|
18
|
+
const smsAlertGetGroupList = require_action.action("SMS_ALERT_GET_GROUP_LIST", {
|
|
19
|
+
slug: "sms_alert-get-group-list",
|
|
20
|
+
name: "Get Group List",
|
|
21
|
+
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.",
|
|
22
|
+
input: SmsAlertGetGroupListInput,
|
|
23
|
+
output: SmsAlertGetGroupListOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.smsAlertGetGroupList = smsAlertGetGroupList;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-group-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-list.cjs","names":["z","action"],"sources":["../../src/actions/get-group-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupListInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the group\"),\n name: z.string().describe(\"Name of the group\"),\n members: z.string().describe(\"Number of members in the group\"),\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\"),\n}).describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema: z.ZodTypeAny = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\"),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).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,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC1K,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC9E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,mCAAiDA,IAAAA,EAAE,OAAO,EAC9D,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAClF,aAAaA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C;AAC5G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-group-list.d.ts
|
|
4
|
+
declare const SmsAlertGetGroupListInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetGroupListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetGroupList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetGroupList };
|
|
9
|
+
//# sourceMappingURL=get-group-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-list.d.cts","names":[],"sources":["../../src/actions/get-group-list.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAiI;AAAA,cAY9J,0BAAA,EAA4B,CAAA,CAAE,UAGM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-group-list.d.ts
|
|
4
|
+
declare const SmsAlertGetGroupListInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertGetGroupListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertGetGroupList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertGetGroupList };
|
|
9
|
+
//# sourceMappingURL=get-group-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-group-list.d.mts","names":[],"sources":["../../src/actions/get-group-list.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAiI;AAAA,cAY9J,0BAAA,EAA4B,CAAA,CAAE,UAGM;AAAA,cAEpC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-group-list.ts
|
|
4
|
+
const SmsAlertGetGroupListInput = z.object({}).describe("Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.");
|
|
5
|
+
const SmsAlertGetGroupList_GroupDataSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique identifier of the group"),
|
|
7
|
+
name: z.string().describe("Name of the group"),
|
|
8
|
+
members: z.string().describe("Number of members in the group"),
|
|
9
|
+
group_data: z.unknown().describe("Additional group data").nullable().optional(),
|
|
10
|
+
groupfields: z.unknown().describe("Group fields metadata").nullable().optional(),
|
|
11
|
+
creationdate: z.string().describe("Date and time when the group was created")
|
|
12
|
+
}).describe("The inner group data object in SMS Alert.");
|
|
13
|
+
const SmsAlertGetGroupList_GroupSchema = z.object({ Group: SmsAlertGetGroupList_GroupDataSchema.nullable() }).describe("A group wrapper object in SMS Alert.");
|
|
14
|
+
const smsAlertGetGroupList = action("SMS_ALERT_GET_GROUP_LIST", {
|
|
15
|
+
slug: "sms_alert-get-group-list",
|
|
16
|
+
name: "Get Group List",
|
|
17
|
+
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.",
|
|
18
|
+
input: SmsAlertGetGroupListInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
status: z.string().describe("Indicates the status of the request, e.g., 'success'"),
|
|
21
|
+
description: z.array(SmsAlertGetGroupList_GroupSchema).describe("List of groups in your SMS Alert account")
|
|
22
|
+
}).describe("Response model for GET_GROUP_LIST.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { smsAlertGetGroupList };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-group-list.mjs.map
|