@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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-create-group.d.ts
|
|
4
|
+
declare const SmsAlertPostCreateGroupInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostCreateGroupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostCreateGroup };
|
|
9
|
+
//# sourceMappingURL=post-create-group.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-group.d.mts","names":[],"sources":["../../src/actions/post-create-group.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEkB;AAAA,cAIlD,6BAAA,EAA+B,CAAA,CAAE,UAGW;AAAA,cAE5C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-create-group.ts
|
|
4
|
+
const SmsAlertPostCreateGroupInput = z.object({ name: z.string().describe("Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.") }).describe("Request schema for creating a new contact group.");
|
|
5
|
+
const SmsAlertPostCreateGroup_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Detailed error description") }).describe("Nested error description object for group creation failures.");
|
|
6
|
+
const smsAlertPostCreateGroup = action("SMS_ALERT_POST_CREATE_GROUP", {
|
|
7
|
+
slug: "sms_alert-post-create-group",
|
|
8
|
+
name: "Create New Group",
|
|
9
|
+
description: "Tool to create a new contact group. Use when needing to organize contacts into a new group.",
|
|
10
|
+
input: SmsAlertPostCreateGroupInput,
|
|
11
|
+
output: z.object({
|
|
12
|
+
status: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded or failed"),
|
|
13
|
+
description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema])
|
|
14
|
+
}).describe("Response schema for create group endpoint.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { smsAlertPostCreateGroup };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-create-group.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-group.mjs","names":[],"sources":["../../src/actions/post-create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateGroupInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the group to create. Only letters, numbers, hyphens, and underscores are allowed. Spaces are not permitted.\"),\n}).describe(\"Request schema for creating a new contact group.\");\nconst SmsAlertPostCreateGroup_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for group creation failures.\");\nexport const SmsAlertPostCreateGroupOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded or failed\"),\n description: z.union([z.string(), SmsAlertPostCreateGroup_ErrorDescriptionSchema]),\n}).describe(\"Response schema for create group endpoint.\");\n\nexport const smsAlertPostCreateGroup = action(\"SMS_ALERT_POST_CREATE_GROUP\", {\n slug: \"sms_alert-post-create-group\",\n name: \"Create New Group\",\n description: \"Tool to create a new contact group. Use when needing to organize contacts into a new group.\",\n input: SmsAlertPostCreateGroupInput,\n output: SmsAlertPostCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,EACjJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAM1E,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD;EACnG,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-create-short-url.ts
|
|
4
|
+
const SmsAlertPostCreateShortUrlInput = zod.z.object({
|
|
5
|
+
url: zod.z.string().describe("The original long URL to shorten"),
|
|
6
|
+
alias: zod.z.string().describe("Custom alias for the short URL; omit or set to null for system-generated alias").optional()
|
|
7
|
+
}).describe("Request model to create a short URL for a given long URL.");
|
|
8
|
+
const SmsAlertPostCreateShortUrlOutput = zod.z.object({
|
|
9
|
+
alias: zod.z.string().describe("The alias used for the short URL (custom or system-generated)").nullable().optional(),
|
|
10
|
+
status: zod.z.string().describe("Indicates whether the operation succeeded ('success') or failed"),
|
|
11
|
+
message: zod.z.string().describe("Additional message or error detail from the API").nullable().optional(),
|
|
12
|
+
short_url: zod.z.string().describe("The generated shortened URL")
|
|
13
|
+
}).describe("Response model for create short URL endpoint.");
|
|
14
|
+
const smsAlertPostCreateShortUrl = require_action.action("SMS_ALERT_POST_CREATE_SHORT_URL", {
|
|
15
|
+
slug: "sms_alert-post-create-short-url",
|
|
16
|
+
name: "Create Short URL",
|
|
17
|
+
description: "Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.",
|
|
18
|
+
input: SmsAlertPostCreateShortUrlInput,
|
|
19
|
+
output: SmsAlertPostCreateShortUrlOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.smsAlertPostCreateShortUrl = smsAlertPostCreateShortUrl;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=post-create-short-url.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\"),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\"),\n}).describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC9D,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-create-short-url.d.ts
|
|
4
|
+
declare const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostCreateShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostCreateShortUrl };
|
|
9
|
+
//# sourceMappingURL=post-create-short-url.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-short-url.d.cts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGwB;AAAA,cAC3D,gCAAA,EAAkC,CAAA,CAAE,UAKW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-create-short-url.d.ts
|
|
4
|
+
declare const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostCreateShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostCreateShortUrl };
|
|
9
|
+
//# sourceMappingURL=post-create-short-url.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-short-url.d.mts","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGwB;AAAA,cAC3D,gCAAA,EAAkC,CAAA,CAAE,UAKW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertPostCreateShortUrl = action("SMS_ALERT_POST_CREATE_SHORT_URL", {
|
|
4
|
+
slug: "sms_alert-post-create-short-url",
|
|
5
|
+
name: "Create Short URL",
|
|
6
|
+
description: "Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
url: z.string().describe("The original long URL to shorten"),
|
|
9
|
+
alias: z.string().describe("Custom alias for the short URL; omit or set to null for system-generated alias").optional()
|
|
10
|
+
}).describe("Request model to create a short URL for a given long URL."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
alias: z.string().describe("The alias used for the short URL (custom or system-generated)").nullable().optional(),
|
|
13
|
+
status: z.string().describe("Indicates whether the operation succeeded ('success') or failed"),
|
|
14
|
+
message: z.string().describe("Additional message or error detail from the API").nullable().optional(),
|
|
15
|
+
short_url: z.string().describe("The generated shortened URL")
|
|
16
|
+
}).describe("Response model for create short URL endpoint.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { smsAlertPostCreateShortUrl };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=post-create-short-url.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-short-url.mjs","names":[],"sources":["../../src/actions/post-create-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateShortUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The original long URL to shorten\"),\n alias: z.string().describe(\"Custom alias for the short URL; omit or set to null for system-generated alias\").optional(),\n}).describe(\"Request model to create a short URL for a given long URL.\");\nexport const SmsAlertPostCreateShortUrlOutput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"The alias used for the short URL (custom or system-generated)\").nullable().optional(),\n status: z.string().describe(\"Indicates whether the operation succeeded ('success') or failed\"),\n message: z.string().describe(\"Additional message or error detail from the API\").nullable().optional(),\n short_url: z.string().describe(\"The generated shortened URL\"),\n}).describe(\"Response model for create short URL endpoint.\");\n\nexport const smsAlertPostCreateShortUrl = action(\"SMS_ALERT_POST_CREATE_SHORT_URL\", {\n slug: \"sms_alert-post-create-short-url\",\n name: \"Create Short URL\",\n description: \"Tool to create a short URL for a given long URL. Use when you need to shorten a URL before sharing.\",\n input: SmsAlertPostCreateShortUrlInput,\n output: SmsAlertPostCreateShortUrlOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2D,EAAE,OAAO;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,2DAYH;CACP,QAZ4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC9D,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-create-template.ts
|
|
4
|
+
const SmsAlertPostCreateTemplateInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("Name of the SMS template"),
|
|
6
|
+
text: zod.z.string().describe("Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.")
|
|
7
|
+
}).describe("Request schema for creating a new SMS template.");
|
|
8
|
+
const SmsAlertPostCreateTemplateOutput = zod.z.object({
|
|
9
|
+
status: zod.z.enum(["success", "error"]).describe("Indicates whether the operation succeeded ('success') or failed ('error')"),
|
|
10
|
+
description: zod.z.string().describe("Provides additional information about the request outcome")
|
|
11
|
+
}).describe("Response schema for create template endpoint.");
|
|
12
|
+
const smsAlertPostCreateTemplate = require_action.action("SMS_ALERT_POST_CREATE_TEMPLATE", {
|
|
13
|
+
slug: "sms_alert-post-create-template",
|
|
14
|
+
name: "Create SMS Template",
|
|
15
|
+
description: "Tool to create a new SMS template. Use when you need to define reusable message content.",
|
|
16
|
+
input: SmsAlertPostCreateTemplateInput,
|
|
17
|
+
output: SmsAlertPostCreateTemplateOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.smsAlertPostCreateTemplate = smsAlertPostCreateTemplate;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=post-create-template.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-template.cjs","names":["z","action"],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\"),\n description: z.string().describe(\"Provides additional information about the request outcome\"),\n}).describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;AAC5O,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-create-template.d.ts
|
|
4
|
+
declare const SmsAlertPostCreateTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostCreateTemplate };
|
|
9
|
+
//# sourceMappingURL=post-create-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-template.d.cts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGc;AAAA,cACjD,gCAAA,EAAkC,CAAA,CAAE,UAGW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-create-template.d.ts
|
|
4
|
+
declare const SmsAlertPostCreateTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostCreateTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostCreateTemplate };
|
|
9
|
+
//# sourceMappingURL=post-create-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-template.d.mts","names":[],"sources":["../../src/actions/post-create-template.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAGc;AAAA,cACjD,gCAAA,EAAkC,CAAA,CAAE,UAGW;AAAA,cAE/C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertPostCreateTemplate = action("SMS_ALERT_POST_CREATE_TEMPLATE", {
|
|
4
|
+
slug: "sms_alert-post-create-template",
|
|
5
|
+
name: "Create SMS Template",
|
|
6
|
+
description: "Tool to create a new SMS template. Use when you need to define reusable message content.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Name of the SMS template"),
|
|
9
|
+
text: z.string().describe("Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.")
|
|
10
|
+
}).describe("Request schema for creating a new SMS template."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
status: z.enum(["success", "error"]).describe("Indicates whether the operation succeeded ('success') or failed ('error')"),
|
|
13
|
+
description: z.string().describe("Provides additional information about the request outcome")
|
|
14
|
+
}).describe("Response schema for create template endpoint.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { smsAlertPostCreateTemplate };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-create-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-create-template.mjs","names":[],"sources":["../../src/actions/post-create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostCreateTemplateInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the SMS template\"),\n text: z.string().describe(\"Text content of the SMS template Some regions require regulatory pre-approval of template content and associated sender IDs before use; ensure content complies with local requirements for the target region.\"),\n}).describe(\"Request schema for creating a new SMS template.\");\nexport const SmsAlertPostCreateTemplateOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the operation succeeded ('success') or failed ('error')\"),\n description: z.string().describe(\"Provides additional information about the request outcome\"),\n}).describe(\"Response schema for create template endpoint.\");\n\nexport const smsAlertPostCreateTemplate = action(\"SMS_ALERT_POST_CREATE_TEMPLATE\", {\n slug: \"sms_alert-post-create-template\",\n name: \"Create SMS Template\",\n description: \"Tool to create a new SMS template. Use when you need to define reusable message content.\",\n input: SmsAlertPostCreateTemplateInput,\n output: SmsAlertPostCreateTemplateOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gNAAgN;CAC5O,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E;EACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC9F,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-delete-contact.ts
|
|
4
|
+
const SmsAlertPostDeleteContactInput = zod.z.object({ id: zod.z.string().describe("The Contact Number ID of the contact to delete.") }).describe("The input parameters for deleting a contact.");
|
|
5
|
+
const SmsAlertPostDeleteContactOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
7
|
+
description: zod.z.string().describe("Provides additional information about the result of the request.")
|
|
8
|
+
}).describe("The API response after attempting to delete a contact.");
|
|
9
|
+
const smsAlertPostDeleteContact = require_action.action("SMS_ALERT_POST_DELETE_CONTACT", {
|
|
10
|
+
slug: "sms_alert-post-delete-contact",
|
|
11
|
+
name: "Delete Contact",
|
|
12
|
+
description: "Tool to delete a specified contact. Use after confirming the contact's ID.",
|
|
13
|
+
input: SmsAlertPostDeleteContactInput,
|
|
14
|
+
output: SmsAlertPostDeleteContactOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.smsAlertPostDeleteContact = smsAlertPostDeleteContact;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-delete-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Contact Number ID of the contact to delete.\"),\n}).describe(\"The input parameters for deleting a contact.\");\nexport const SmsAlertPostDeleteContactOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact = action(\"SMS_ALERT_POST_DELETE_CONTACT\", {\n slug: \"sms_alert-post-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specified contact. Use after confirming the contact's ID.\",\n input: SmsAlertPostDeleteContactInput,\n output: SmsAlertPostDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-delete-contact.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteContact };
|
|
9
|
+
//# sourceMappingURL=post-delete-contact.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-contact.d.cts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAGqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-delete-contact.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteContact };
|
|
9
|
+
//# sourceMappingURL=post-delete-contact.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-contact.d.mts","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEY;AAAA,cAC9C,+BAAA,EAAiC,CAAA,CAAE,UAGqB;AAAA,cAExD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertPostDeleteContact = action("SMS_ALERT_POST_DELETE_CONTACT", {
|
|
4
|
+
slug: "sms_alert-post-delete-contact",
|
|
5
|
+
name: "Delete Contact",
|
|
6
|
+
description: "Tool to delete a specified contact. Use after confirming the contact's ID.",
|
|
7
|
+
input: z.object({ id: z.string().describe("The Contact Number ID of the contact to delete.") }).describe("The input parameters for deleting a contact."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
10
|
+
description: z.string().describe("Provides additional information about the result of the request.")
|
|
11
|
+
}).describe("The API response after attempting to delete a contact.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { smsAlertPostDeleteContact };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=post-delete-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-contact.mjs","names":[],"sources":["../../src/actions/post-delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The Contact Number ID of the contact to delete.\"),\n}).describe(\"The input parameters for deleting a contact.\");\nexport const SmsAlertPostDeleteContactOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete a contact.\");\n\nexport const smsAlertPostDeleteContact = action(\"SMS_ALERT_POST_DELETE_CONTACT\", {\n slug: \"sms_alert-post-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a specified contact. Use after confirming the contact's ID.\",\n input: SmsAlertPostDeleteContactInput,\n output: SmsAlertPostDeleteContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV2D,EAAE,OAAO;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACrG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-delete-group.ts
|
|
4
|
+
const SmsAlertPostDeleteGroupInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the SMS Alert group to delete.") }).describe("The input parameters for deleting a group.");
|
|
5
|
+
const SmsAlertPostDeleteGroup_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Detailed error description") }).describe("Nested error description object for group deletion failures.");
|
|
6
|
+
const SmsAlertPostDeleteGroupOutput = zod.z.object({
|
|
7
|
+
status: zod.z.enum(["success", "error"]).describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
8
|
+
description: zod.z.union([zod.z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema])
|
|
9
|
+
}).describe("The API response after attempting to delete a group.");
|
|
10
|
+
const smsAlertPostDeleteGroup = require_action.action("SMS_ALERT_POST_DELETE_GROUP", {
|
|
11
|
+
slug: "sms_alert-post-delete-group",
|
|
12
|
+
name: "Delete Group",
|
|
13
|
+
description: "Tool to delete a specified group. Use after confirming the group's ID.",
|
|
14
|
+
input: SmsAlertPostDeleteGroupInput,
|
|
15
|
+
output: SmsAlertPostDeleteGroupOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.smsAlertPostDeleteGroup = smsAlertPostDeleteGroup;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=post-delete-group.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-group.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteGroupInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the SMS Alert group to delete.\"),\n}).describe(\"The input parameters for deleting a group.\");\nconst SmsAlertPostDeleteGroup_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for group deletion failures.\");\nexport const SmsAlertPostDeleteGroupOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema]),\n}).describe(\"The API response after attempting to delete a group.\");\n\nexport const smsAlertPostDeleteGroup = action(\"SMS_ALERT_POST_DELETE_GROUP\", {\n slug: \"sms_alert-post-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a specified group. Use after confirming the group's ID.\",\n input: SmsAlertPostDeleteGroupInput,\n output: SmsAlertPostDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO,EAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG;CAC9I,aAAaA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG,8CAA8C,CAAC;AACnF,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,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/post-delete-group.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteGroupInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteGroupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteGroup };
|
|
9
|
+
//# sourceMappingURL=post-delete-group.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-group.d.cts","names":[],"sources":["../../src/actions/post-delete-group.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEY;AAAA,cAI5C,6BAAA,EAA+B,CAAA,CAAE,UAGqB;AAAA,cAEtD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-delete-group.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteGroupInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteGroupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteGroup };
|
|
9
|
+
//# sourceMappingURL=post-delete-group.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-group.d.mts","names":[],"sources":["../../src/actions/post-delete-group.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEY;AAAA,cAI5C,6BAAA,EAA+B,CAAA,CAAE,UAGqB;AAAA,cAEtD,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/post-delete-group.ts
|
|
4
|
+
const SmsAlertPostDeleteGroupInput = z.object({ id: z.number().int().describe("The unique identifier of the SMS Alert group to delete.") }).describe("The input parameters for deleting a group.");
|
|
5
|
+
const SmsAlertPostDeleteGroup_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Detailed error description") }).describe("Nested error description object for group deletion failures.");
|
|
6
|
+
const smsAlertPostDeleteGroup = action("SMS_ALERT_POST_DELETE_GROUP", {
|
|
7
|
+
slug: "sms_alert-post-delete-group",
|
|
8
|
+
name: "Delete Group",
|
|
9
|
+
description: "Tool to delete a specified group. Use after confirming the group's ID.",
|
|
10
|
+
input: SmsAlertPostDeleteGroupInput,
|
|
11
|
+
output: z.object({
|
|
12
|
+
status: z.enum(["success", "error"]).describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
13
|
+
description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema])
|
|
14
|
+
}).describe("The API response after attempting to delete a group.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { smsAlertPostDeleteGroup };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-delete-group.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-group.mjs","names":[],"sources":["../../src/actions/post-delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteGroupInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the SMS Alert group to delete.\"),\n}).describe(\"The input parameters for deleting a group.\");\nconst SmsAlertPostDeleteGroup_ErrorDescriptionSchema: z.ZodTypeAny = z.object({\n desc: z.string().describe(\"Detailed error description\"),\n}).describe(\"Nested error description object for group deletion failures.\");\nexport const SmsAlertPostDeleteGroupOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.union([z.string(), SmsAlertPostDeleteGroup_ErrorDescriptionSchema]),\n}).describe(\"The API response after attempting to delete a group.\");\n\nexport const smsAlertPostDeleteGroup = action(\"SMS_ALERT_POST_DELETE_GROUP\", {\n slug: \"sms_alert-post-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to delete a specified group. Use after confirming the group's ID.\",\n input: SmsAlertPostDeleteGroupInput,\n output: SmsAlertPostDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,EACzF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAA+D,EAAE,OAAO,EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,EACxD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAM1E,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,gGAAgG;EAC9I,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,8CAA8C,CAAC;CACnF,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-delete-short-url.ts
|
|
4
|
+
const SmsAlertPostDeleteShortUrlInput = zod.z.object({ id: zod.z.string().describe("The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.") }).describe("The input parameters for deleting a short URL.");
|
|
5
|
+
const SmsAlertPostDeleteShortUrlOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
7
|
+
description: zod.z.string().describe("Provides additional information about the result of the request.")
|
|
8
|
+
}).describe("The API response after attempting to delete a short URL.");
|
|
9
|
+
const smsAlertPostDeleteShortUrl = require_action.action("SMS_ALERT_POST_DELETE_SHORT_URL", {
|
|
10
|
+
slug: "sms_alert-post-delete-short-url",
|
|
11
|
+
name: "Delete Short URL",
|
|
12
|
+
description: "Tool to delete an existing short URL. Use after confirming the short URL's ID.",
|
|
13
|
+
input: SmsAlertPostDeleteShortUrlInput,
|
|
14
|
+
output: SmsAlertPostDeleteShortUrlOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.smsAlertPostDeleteShortUrl = smsAlertPostDeleteShortUrl;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-delete-short-url.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-short-url.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteShortUrlInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.\"),\n}).describe(\"The input parameters for deleting a short URL.\");\nexport const SmsAlertPostDeleteShortUrlOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete a short URL.\");\n\nexport const smsAlertPostDeleteShortUrl = action(\"SMS_ALERT_POST_DELETE_SHORT_URL\", {\n slug: \"sms_alert-post-delete-short-url\",\n name: \"Delete Short URL\",\n description: \"Tool to delete an existing short URL. Use after confirming the short URL's ID.\",\n input: SmsAlertPostDeleteShortUrlInput,\n output: SmsAlertPostDeleteShortUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,mCAAmC;CAClF,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/post-delete-short-url.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteShortUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteShortUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteShortUrl };
|
|
9
|
+
//# sourceMappingURL=post-delete-short-url.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-short-url.d.cts","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAChD,gCAAA,EAAkC,CAAA,CAAE,UAGsB;AAAA,cAE1D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-delete-short-url.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteShortUrlInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteShortUrlOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteShortUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteShortUrl };
|
|
9
|
+
//# sourceMappingURL=post-delete-short-url.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-short-url.d.mts","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAChD,gCAAA,EAAkC,CAAA,CAAE,UAGsB;AAAA,cAE1D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertPostDeleteShortUrl = action("SMS_ALERT_POST_DELETE_SHORT_URL", {
|
|
4
|
+
slug: "sms_alert-post-delete-short-url",
|
|
5
|
+
name: "Delete Short URL",
|
|
6
|
+
description: "Tool to delete an existing short URL. Use after confirming the short URL's ID.",
|
|
7
|
+
input: z.object({ id: z.string().describe("The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.") }).describe("The input parameters for deleting a short URL."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
10
|
+
description: z.string().describe("Provides additional information about the result of the request.")
|
|
11
|
+
}).describe("The API response after attempting to delete a short URL.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { smsAlertPostDeleteShortUrl };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=post-delete-short-url.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-short-url.mjs","names":[],"sources":["../../src/actions/post-delete-short-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteShortUrlInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the short URL to delete. This ID is returned when creating a short URL.\"),\n}).describe(\"The input parameters for deleting a short URL.\");\nexport const SmsAlertPostDeleteShortUrlOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete a short URL.\");\n\nexport const smsAlertPostDeleteShortUrl = action(\"SMS_ALERT_POST_DELETE_SHORT_URL\", {\n slug: \"sms_alert-post-delete-short-url\",\n name: \"Delete Short URL\",\n description: \"Tool to delete an existing short URL. Use after confirming the short URL's ID.\",\n input: SmsAlertPostDeleteShortUrlInput,\n output: SmsAlertPostDeleteShortUrlOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2D,EAAE,OAAO,EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EACnI,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACrG,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-delete-template.ts
|
|
4
|
+
const SmsAlertPostDeleteTemplateInput = zod.z.object({ template_id: zod.z.string().describe("The unique identifier of the SMS template to delete.") }).describe("The input parameters for deleting an SMS template.");
|
|
5
|
+
const SmsAlertPostDeleteTemplateOutput = zod.z.object({
|
|
6
|
+
status: zod.z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
7
|
+
description: zod.z.string().describe("Provides additional information about the result of the request.")
|
|
8
|
+
}).describe("The API response after attempting to delete an SMS template.");
|
|
9
|
+
const smsAlertPostDeleteTemplate = require_action.action("SMS_ALERT_POST_DELETE_TEMPLATE", {
|
|
10
|
+
slug: "sms_alert-post-delete-template",
|
|
11
|
+
name: "Delete SMS Template",
|
|
12
|
+
description: "Tool to delete an existing SMS template. Use when you have the template ID to remove it.",
|
|
13
|
+
input: SmsAlertPostDeleteTemplateInput,
|
|
14
|
+
output: SmsAlertPostDeleteTemplateOutput
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.smsAlertPostDeleteTemplate = smsAlertPostDeleteTemplate;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=post-delete-template.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-template.cjs","names":["z","action"],"sources":["../../src/actions/post-delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteTemplateInput: z.ZodTypeAny = z.object({\n template_id: z.string().describe(\"The unique identifier of the SMS template to delete.\"),\n}).describe(\"The input parameters for deleting an SMS template.\");\nexport const SmsAlertPostDeleteTemplateOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete an SMS template.\");\n\nexport const smsAlertPostDeleteTemplate = action(\"SMS_ALERT_POST_DELETE_TEMPLATE\", {\n slug: \"sms_alert-post-delete-template\",\n name: \"Delete SMS Template\",\n description: \"Tool to delete an existing SMS template. Use when you have the template ID to remove it.\",\n input: SmsAlertPostDeleteTemplateInput,\n output: SmsAlertPostDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,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/post-delete-template.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteTemplate };
|
|
9
|
+
//# sourceMappingURL=post-delete-template.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-template.d.cts","names":[],"sources":["../../src/actions/post-delete-template.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEiB;AAAA,cACpD,gCAAA,EAAkC,CAAA,CAAE,UAG0B;AAAA,cAE9D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/post-delete-template.d.ts
|
|
4
|
+
declare const SmsAlertPostDeleteTemplateInput: z.ZodTypeAny;
|
|
5
|
+
declare const SmsAlertPostDeleteTemplateOutput: z.ZodTypeAny;
|
|
6
|
+
declare const smsAlertPostDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { smsAlertPostDeleteTemplate };
|
|
9
|
+
//# sourceMappingURL=post-delete-template.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-template.d.mts","names":[],"sources":["../../src/actions/post-delete-template.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEiB;AAAA,cACpD,gCAAA,EAAkC,CAAA,CAAE,UAG0B;AAAA,cAE9D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const smsAlertPostDeleteTemplate = action("SMS_ALERT_POST_DELETE_TEMPLATE", {
|
|
4
|
+
slug: "sms_alert-post-delete-template",
|
|
5
|
+
name: "Delete SMS Template",
|
|
6
|
+
description: "Tool to delete an existing SMS template. Use when you have the template ID to remove it.",
|
|
7
|
+
input: z.object({ template_id: z.string().describe("The unique identifier of the SMS template to delete.") }).describe("The input parameters for deleting an SMS template."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
status: z.string().describe("Indicates the success or failure of the request. Possible values are \"success\" or \"error\"."),
|
|
10
|
+
description: z.string().describe("Provides additional information about the result of the request.")
|
|
11
|
+
}).describe("The API response after attempting to delete an SMS template.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { smsAlertPostDeleteTemplate };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=post-delete-template.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-delete-template.mjs","names":[],"sources":["../../src/actions/post-delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostDeleteTemplateInput: z.ZodTypeAny = z.object({\n template_id: z.string().describe(\"The unique identifier of the SMS template to delete.\"),\n}).describe(\"The input parameters for deleting an SMS template.\");\nexport const SmsAlertPostDeleteTemplateOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates the success or failure of the request. Possible values are \\\"success\\\" or \\\"error\\\".\"),\n description: z.string().describe(\"Provides additional information about the result of the request.\"),\n}).describe(\"The API response after attempting to delete an SMS template.\");\n\nexport const smsAlertPostDeleteTemplate = action(\"SMS_ALERT_POST_DELETE_TEMPLATE\", {\n slug: \"sms_alert-post-delete-template\",\n name: \"Delete SMS Template\",\n description: \"Tool to delete an existing SMS template. Use when you have the template ID to remove it.\",\n input: SmsAlertPostDeleteTemplateInput,\n output: SmsAlertPostDeleteTemplateOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ2D,EAAE,OAAO,EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAV4D,EAAE,OAAO;EACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACrG,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/post-edit-contact.ts
|
|
4
|
+
const SmsAlertPostEditContactInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("New name for the contact").optional(),
|
|
6
|
+
email: zod.z.string().describe("New email address for the contact").optional(),
|
|
7
|
+
group_id: zod.z.string().describe("ID of the group to assign the contact to").optional(),
|
|
8
|
+
mobileno: zod.z.string().describe("New mobile number for the contact; must be unique").optional(),
|
|
9
|
+
contact_id: zod.z.string().describe("Unique identifier of the contact to update")
|
|
10
|
+
}).describe("Parameters for editing an existing contact.");
|
|
11
|
+
const SmsAlertPostEditContactOutput = zod.z.object({
|
|
12
|
+
status: zod.z.enum(["success", "error"]).describe("Indicates whether the update was successful or not"),
|
|
13
|
+
description: zod.z.string().describe("Additional information about the result")
|
|
14
|
+
}).describe("Response schema after editing a contact.");
|
|
15
|
+
const smsAlertPostEditContact = require_action.action("SMS_ALERT_POST_EDIT_CONTACT", {
|
|
16
|
+
slug: "sms_alert-post-edit-contact",
|
|
17
|
+
name: "Edit Contact",
|
|
18
|
+
description: "Tool to edit an existing contact’s details. Use when you need to update a contact’s information after confirming the contact_id.",
|
|
19
|
+
input: SmsAlertPostEditContactInput,
|
|
20
|
+
output: SmsAlertPostEditContactOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.smsAlertPostEditContact = smsAlertPostEditContact;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=post-edit-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-edit-contact.cjs","names":["z","action"],"sources":["../../src/actions/post-edit-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertPostEditContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"New name for the contact\").optional(),\n email: z.string().describe(\"New email address for the contact\").optional(),\n group_id: z.string().describe(\"ID of the group to assign the contact to\").optional(),\n mobileno: z.string().describe(\"New mobile number for the contact; must be unique\").optional(),\n contact_id: z.string().describe(\"Unique identifier of the contact to update\"),\n}).describe(\"Parameters for editing an existing contact.\");\nexport const SmsAlertPostEditContactOutput: z.ZodTypeAny = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the update was successful or not\"),\n description: z.string().describe(\"Additional information about the result\"),\n}).describe(\"Response schema after editing a contact.\");\n\nexport const smsAlertPostEditContact = action(\"SMS_ALERT_POST_EDIT_CONTACT\", {\n slug: \"sms_alert-post-edit-contact\",\n name: \"Edit Contact\",\n description: \"Tool to edit an existing contact’s details. Use when you need to update a contact’s information after confirming the contact_id.\",\n input: SmsAlertPostEditContactInput,\n output: SmsAlertPostEditContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC9E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC5E,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|