@keystrokehq/sms_alert 0.1.2 → 0.1.3
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/dist/actions/change-password.cjs +1 -1
- package/dist/actions/change-password.cjs.map +1 -1
- package/dist/actions/change-password.d.cts +1 -1
- package/dist/actions/change-password.d.mts +1 -1
- package/dist/actions/change-password.mjs +1 -1
- package/dist/actions/change-password.mjs.map +1 -1
- package/dist/actions/get-balance-check.cjs +3 -3
- package/dist/actions/get-balance-check.cjs.map +1 -1
- package/dist/actions/get-balance-check.d.cts +3 -3
- package/dist/actions/get-balance-check.d.mts +3 -3
- package/dist/actions/get-balance-check.mjs +3 -3
- package/dist/actions/get-balance-check.mjs.map +1 -1
- package/dist/actions/get-delivery-report.cjs +4 -4
- package/dist/actions/get-delivery-report.cjs.map +1 -1
- package/dist/actions/get-delivery-report.d.cts +4 -4
- package/dist/actions/get-delivery-report.d.mts +4 -4
- package/dist/actions/get-delivery-report.mjs +4 -4
- package/dist/actions/get-delivery-report.mjs.map +1 -1
- package/dist/actions/get-group-detail.cjs +1 -1
- package/dist/actions/get-group-detail.cjs.map +1 -1
- package/dist/actions/get-group-detail.d.cts +1 -1
- package/dist/actions/get-group-detail.d.mts +1 -1
- package/dist/actions/get-group-detail.mjs +1 -1
- package/dist/actions/get-group-detail.mjs.map +1 -1
- package/dist/actions/get-group-list.cjs +3 -3
- package/dist/actions/get-group-list.cjs.map +1 -1
- package/dist/actions/get-group-list.d.cts +3 -3
- package/dist/actions/get-group-list.d.mts +3 -3
- package/dist/actions/get-group-list.mjs +3 -3
- package/dist/actions/get-group-list.mjs.map +1 -1
- package/dist/actions/get-sender-id-list.cjs +3 -3
- package/dist/actions/get-sender-id-list.cjs.map +1 -1
- package/dist/actions/get-sender-id-list.d.cts +3 -3
- package/dist/actions/get-sender-id-list.d.mts +3 -3
- package/dist/actions/get-sender-id-list.mjs +3 -3
- package/dist/actions/get-sender-id-list.mjs.map +1 -1
- package/dist/actions/get-template-list.cjs +3 -3
- package/dist/actions/get-template-list.cjs.map +1 -1
- package/dist/actions/get-template-list.d.cts +3 -3
- package/dist/actions/get-template-list.d.mts +3 -3
- package/dist/actions/get-template-list.mjs +3 -3
- package/dist/actions/get-template-list.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +2 -2
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +2 -2
- package/dist/actions/get-user-profile.d.mts +2 -2
- package/dist/actions/get-user-profile.mjs +2 -2
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/post-create-contact.cjs +2 -2
- package/dist/actions/post-create-contact.cjs.map +1 -1
- package/dist/actions/post-create-contact.d.cts +2 -2
- package/dist/actions/post-create-contact.d.mts +2 -2
- package/dist/actions/post-create-contact.mjs +2 -2
- package/dist/actions/post-create-contact.mjs.map +1 -1
- package/dist/actions/post-create-group.cjs +2 -2
- package/dist/actions/post-create-group.cjs.map +1 -1
- package/dist/actions/post-create-group.d.cts +2 -2
- package/dist/actions/post-create-group.d.mts +2 -2
- package/dist/actions/post-create-group.mjs +2 -2
- package/dist/actions/post-create-group.mjs.map +1 -1
- package/dist/actions/post-create-short-url.cjs +1 -1
- package/dist/actions/post-create-short-url.cjs.map +1 -1
- package/dist/actions/post-create-short-url.d.cts +1 -1
- package/dist/actions/post-create-short-url.d.mts +1 -1
- package/dist/actions/post-create-short-url.mjs +1 -1
- package/dist/actions/post-create-short-url.mjs.map +1 -1
- package/dist/actions/post-create-template.cjs +1 -1
- package/dist/actions/post-create-template.cjs.map +1 -1
- package/dist/actions/post-create-template.d.cts +1 -1
- package/dist/actions/post-create-template.d.mts +1 -1
- package/dist/actions/post-create-template.mjs +1 -1
- package/dist/actions/post-create-template.mjs.map +1 -1
- package/dist/actions/post-delete-contact.cjs +1 -1
- package/dist/actions/post-delete-contact.cjs.map +1 -1
- package/dist/actions/post-delete-contact.d.cts +1 -1
- package/dist/actions/post-delete-contact.d.mts +1 -1
- package/dist/actions/post-delete-contact.mjs +1 -1
- package/dist/actions/post-delete-contact.mjs.map +1 -1
- package/dist/actions/post-delete-group.cjs +2 -2
- package/dist/actions/post-delete-group.cjs.map +1 -1
- package/dist/actions/post-delete-group.d.cts +2 -2
- package/dist/actions/post-delete-group.d.mts +2 -2
- package/dist/actions/post-delete-group.mjs +2 -2
- package/dist/actions/post-delete-group.mjs.map +1 -1
- package/dist/actions/post-delete-short-url.cjs +1 -1
- package/dist/actions/post-delete-short-url.cjs.map +1 -1
- package/dist/actions/post-delete-short-url.d.cts +1 -1
- package/dist/actions/post-delete-short-url.d.mts +1 -1
- package/dist/actions/post-delete-short-url.mjs +1 -1
- package/dist/actions/post-delete-short-url.mjs.map +1 -1
- package/dist/actions/post-delete-template.cjs +1 -1
- package/dist/actions/post-delete-template.cjs.map +1 -1
- package/dist/actions/post-delete-template.d.cts +1 -1
- package/dist/actions/post-delete-template.d.mts +1 -1
- package/dist/actions/post-delete-template.mjs +1 -1
- package/dist/actions/post-delete-template.mjs.map +1 -1
- package/dist/actions/post-edit-contact.cjs +1 -1
- package/dist/actions/post-edit-contact.cjs.map +1 -1
- package/dist/actions/post-edit-contact.d.cts +1 -1
- package/dist/actions/post-edit-contact.d.mts +1 -1
- package/dist/actions/post-edit-contact.mjs +1 -1
- package/dist/actions/post-edit-contact.mjs.map +1 -1
- package/dist/actions/post-edit-group.cjs +1 -1
- package/dist/actions/post-edit-group.cjs.map +1 -1
- package/dist/actions/post-edit-group.d.cts +1 -1
- package/dist/actions/post-edit-group.d.mts +1 -1
- package/dist/actions/post-edit-group.mjs +1 -1
- package/dist/actions/post-edit-group.mjs.map +1 -1
- package/dist/actions/post-edit-profile.cjs +1 -1
- package/dist/actions/post-edit-profile.cjs.map +1 -1
- package/dist/actions/post-edit-profile.d.cts +1 -1
- package/dist/actions/post-edit-profile.d.mts +1 -1
- package/dist/actions/post-edit-profile.mjs +1 -1
- package/dist/actions/post-edit-profile.mjs.map +1 -1
- package/dist/actions/post-edit-template.cjs +1 -1
- package/dist/actions/post-edit-template.cjs.map +1 -1
- package/dist/actions/post-edit-template.d.cts +1 -1
- package/dist/actions/post-edit-template.d.mts +1 -1
- package/dist/actions/post-edit-template.mjs +1 -1
- package/dist/actions/post-edit-template.mjs.map +1 -1
- package/dist/actions/post-generate-otp.cjs +4 -4
- package/dist/actions/post-generate-otp.cjs.map +1 -1
- package/dist/actions/post-generate-otp.d.cts +4 -4
- package/dist/actions/post-generate-otp.d.mts +4 -4
- package/dist/actions/post-generate-otp.mjs +4 -4
- package/dist/actions/post-generate-otp.mjs.map +1 -1
- package/dist/actions/post-sent-sms-report.cjs +3 -3
- package/dist/actions/post-sent-sms-report.cjs.map +1 -1
- package/dist/actions/post-sent-sms-report.d.cts +3 -3
- package/dist/actions/post-sent-sms-report.d.mts +3 -3
- package/dist/actions/post-sent-sms-report.mjs +3 -3
- package/dist/actions/post-sent-sms-report.mjs.map +1 -1
- package/dist/actions/send-sms-xml.cjs +5 -5
- package/dist/actions/send-sms-xml.cjs.map +1 -1
- package/dist/actions/send-sms-xml.d.cts +7 -5
- package/dist/actions/send-sms-xml.d.mts +7 -5
- package/dist/actions/send-sms-xml.mjs +5 -5
- package/dist/actions/send-sms-xml.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ const SmsAlertChangePasswordOutput = zod.z.object({
|
|
|
13
13
|
"error"
|
|
14
14
|
]).describe("Result of the password change request").nullable(),
|
|
15
15
|
description: zod.z.string().describe("Description or status message").nullable()
|
|
16
|
-
}).describe("Response schema for change password endpoint.");
|
|
16
|
+
}).passthrough().describe("Response schema for change password endpoint.");
|
|
17
17
|
const smsAlertChangePassword = require_action.action("SMS_ALERT_CHANGE_PASSWORD", {
|
|
18
18
|
slug: "sms_alert-change-password",
|
|
19
19
|
name: "Change User Password",
|
|
@@ -1 +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.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.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
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.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.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;CAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SmsAlertChangePasswordOutput: z.ZodObject<{
|
|
|
13
13
|
failure: "failure";
|
|
14
14
|
}>>;
|
|
15
15
|
description: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
pwd: string;
|
|
19
19
|
cnfpwd: string;
|
|
@@ -13,7 +13,7 @@ declare const SmsAlertChangePasswordOutput: z.ZodObject<{
|
|
|
13
13
|
failure: "failure";
|
|
14
14
|
}>>;
|
|
15
15
|
description: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const smsAlertChangePassword: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
pwd: string;
|
|
19
19
|
cnfpwd: string;
|
|
@@ -16,7 +16,7 @@ const smsAlertChangePassword = action("SMS_ALERT_CHANGE_PASSWORD", {
|
|
|
16
16
|
"error"
|
|
17
17
|
]).describe("Result of the password change request").nullable(),
|
|
18
18
|
description: z.string().describe("Description or status message").nullable()
|
|
19
|
-
}).describe("Response schema for change password endpoint.")
|
|
19
|
+
}).passthrough().describe("Response schema for change password endpoint.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { smsAlertChangePassword };
|
|
@@ -1 +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.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.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\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,OAdyC,EAAE,OAAO;EAClD,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,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,+
|
|
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.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.object({\n status: z.enum([\"success\", \"failure\", \"error\"]).describe(\"Result of the password change request\").nullable(),\n description: z.string().describe(\"Description or status message\").nullable(),\n}).passthrough().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,OAdyC,EAAE,OAAO;EAClD,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,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAW;EAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -6,15 +6,15 @@ const SmsAlertGetBalanceCheck_BalanceRouteSchema = zod.z.object({
|
|
|
6
6
|
route: zod.z.string().describe("Name of the route").nullable(),
|
|
7
7
|
credits: zod.z.string().describe("Number of credits available for the route").nullable(),
|
|
8
8
|
display_name: zod.z.string().describe("User-friendly name of the route").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const SmsAlertGetBalanceCheck_BalanceDescriptionSchema = zod.z.object({
|
|
11
11
|
desc: zod.z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'").nullable(),
|
|
12
12
|
routes: zod.z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe("List of objects detailing credits available for each route")
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const SmsAlertGetBalanceCheckOutput = zod.z.object({
|
|
15
15
|
status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
|
|
16
16
|
description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable()
|
|
17
|
-
});
|
|
17
|
+
}).passthrough();
|
|
18
18
|
const smsAlertGetBalanceCheck = require_action.action("SMS_ALERT_GET_BALANCE_CHECK", {
|
|
19
19
|
slug: "sms_alert-get-balance-check",
|
|
20
20
|
name: "Get SMS Alert Balance",
|
|
@@ -1 +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.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({\n route: z.string().describe(\"Name of the route\").nullable(),\n credits: z.string().describe(\"Number of credits available for the route\").nullable(),\n display_name: z.string().describe(\"User-friendly name of the route\").nullable(),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\").nullable(),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\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,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC1J,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC;
|
|
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.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({\n route: z.string().describe(\"Name of the route\").nullable(),\n credits: z.string().describe(\"Number of credits available for the route\").nullable(),\n display_name: z.string().describe(\"User-friendly name of the route\").nullable(),\n}).passthrough();\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\").nullable(),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n}).passthrough();\nexport const SmsAlertGetBalanceCheckOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n}).passthrough();\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,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC1J,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5G,aAAa,iDAAiD,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,9 +13,9 @@ declare const SmsAlertGetBalanceCheckOutput: z.ZodObject<{
|
|
|
13
13
|
route: z.ZodNullable<z.ZodString>;
|
|
14
14
|
credits: z.ZodNullable<z.ZodString>;
|
|
15
15
|
display_name: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { smsAlertGetBalanceCheck };
|
|
@@ -13,9 +13,9 @@ declare const SmsAlertGetBalanceCheckOutput: z.ZodObject<{
|
|
|
13
13
|
route: z.ZodNullable<z.ZodString>;
|
|
14
14
|
credits: z.ZodNullable<z.ZodString>;
|
|
15
15
|
display_name: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const smsAlertGetBalanceCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { smsAlertGetBalanceCheck };
|
|
@@ -6,11 +6,11 @@ const SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({
|
|
|
6
6
|
route: z.string().describe("Name of the route").nullable(),
|
|
7
7
|
credits: z.string().describe("Number of credits available for the route").nullable(),
|
|
8
8
|
display_name: z.string().describe("User-friendly name of the route").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({
|
|
11
11
|
desc: z.string().describe("Summary of available credits per route, e.g., 'transactional:85-nondnd:5'").nullable(),
|
|
12
12
|
routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe("List of objects detailing credits available for each route")
|
|
13
|
-
});
|
|
13
|
+
}).passthrough();
|
|
14
14
|
const smsAlertGetBalanceCheck = action("SMS_ALERT_GET_BALANCE_CHECK", {
|
|
15
15
|
slug: "sms_alert-get-balance-check",
|
|
16
16
|
name: "Get SMS Alert Balance",
|
|
@@ -19,7 +19,7 @@ const smsAlertGetBalanceCheck = action("SMS_ALERT_GET_BALANCE_CHECK", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
status: z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
|
|
21
21
|
description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable()
|
|
22
|
-
})
|
|
22
|
+
}).passthrough()
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { smsAlertGetBalanceCheck };
|
|
@@ -1 +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.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({\n route: z.string().describe(\"Name of the route\").nullable(),\n credits: z.string().describe(\"Number of credits available for the route\").nullable(),\n display_name: z.string().describe(\"User-friendly name of the route\").nullable(),\n});\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\").nullable(),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n});\nexport const SmsAlertGetBalanceCheckOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\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,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC1J,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC;
|
|
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.object({}).describe(\"Empty request model for GET_BALANCE_CHECK. Uses configured API key for authentication.\");\nconst SmsAlertGetBalanceCheck_BalanceRouteSchema = z.object({\n route: z.string().describe(\"Name of the route\").nullable(),\n credits: z.string().describe(\"Number of credits available for the route\").nullable(),\n display_name: z.string().describe(\"User-friendly name of the route\").nullable(),\n}).passthrough();\nconst SmsAlertGetBalanceCheck_BalanceDescriptionSchema = z.object({\n desc: z.string().describe(\"Summary of available credits per route, e.g., 'transactional:85-nondnd:5'\").nullable(),\n routes: z.array(SmsAlertGetBalanceCheck_BalanceRouteSchema).describe(\"List of objects detailing credits available for each route\"),\n}).passthrough();\nexport const SmsAlertGetBalanceCheckOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: SmsAlertGetBalanceCheck_BalanceDescriptionSchema.nullable(),\n}).passthrough();\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,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAC1J,MAAM,6CAA6C,EAAE,OAAO;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4DAA4D;AACnI,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5G,aAAa,iDAAiD,SAAS;CACzE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -16,12 +16,12 @@ const SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = zod.z.object({
|
|
|
16
16
|
mobileno: zod.z.string().describe("Mobile number to which the message was sent").nullable().optional(),
|
|
17
17
|
senderid: zod.z.string().describe("Sender ID used for the message").nullable().optional(),
|
|
18
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.");
|
|
19
|
+
}).passthrough().describe("Individual message delivery detail in the delivery report.");
|
|
20
20
|
const SmsAlertGetDeliveryReport_SuccessDescriptionSchema = zod.z.object({
|
|
21
21
|
desc: zod.z.string().describe("Description message from the API").nullable(),
|
|
22
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").nullable() }).describe("Error response description.");
|
|
23
|
+
}).passthrough().describe("Success response with delivery report data.");
|
|
24
|
+
const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = zod.z.object({ desc: zod.z.string().describe("Error message from the API").nullable() }).passthrough().describe("Error response description.");
|
|
25
25
|
const SmsAlertGetDeliveryReportOutput = zod.z.object({
|
|
26
26
|
status: zod.z.enum(["success", "error"]).describe("Indicates whether the request succeeded or failed").nullable(),
|
|
27
27
|
description: zod.z.union([
|
|
@@ -29,7 +29,7 @@ const SmsAlertGetDeliveryReportOutput = zod.z.object({
|
|
|
29
29
|
SmsAlertGetDeliveryReport_ErrorDescriptionSchema,
|
|
30
30
|
zod.z.string()
|
|
31
31
|
])
|
|
32
|
-
}).describe("Response containing delivery report data for sent SMS messages.");
|
|
32
|
+
}).passthrough().describe("Response containing delivery report data for sent SMS messages.");
|
|
33
33
|
const smsAlertGetDeliveryReport = require_action.action("SMS_ALERT_GET_DELIVERY_REPORT", {
|
|
34
34
|
slug: "sms_alert-get-delivery-report",
|
|
35
35
|
name: "Get SMS Delivery Report",
|
|
@@ -1 +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.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.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.object({\n desc: z.string().describe(\"Description message from the API\").nullable(),\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.object({\n desc: z.string().describe(\"Error message from the API\").nullable(),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,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;
|
|
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.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.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}).passthrough().describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description message from the API\").nullable(),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).passthrough().describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error message from the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).passthrough().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,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,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,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,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,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,MAAM;EAAC;EAAoD;EAAkDA,IAAAA,EAAE,OAAO;CAAC,CAAC;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,11 +23,11 @@ declare const SmsAlertGetDeliveryReportOutput: z.ZodObject<{
|
|
|
23
23
|
mobileno: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
senderid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
creditsused: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
27
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
28
28
|
desc: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>, z.ZodString]>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
batchid: string;
|
|
33
33
|
text?: string | undefined;
|
|
@@ -23,11 +23,11 @@ declare const SmsAlertGetDeliveryReportOutput: z.ZodObject<{
|
|
|
23
23
|
mobileno: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
senderid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
creditsused: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
27
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
28
28
|
desc: z.ZodNullable<z.ZodString>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>, z.ZodString]>;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
31
|
declare const smsAlertGetDeliveryReport: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
32
32
|
batchid: string;
|
|
33
33
|
text?: string | undefined;
|
|
@@ -16,12 +16,12 @@ const SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema = z.object({
|
|
|
16
16
|
mobileno: z.string().describe("Mobile number to which the message was sent").nullable().optional(),
|
|
17
17
|
senderid: z.string().describe("Sender ID used for the message").nullable().optional(),
|
|
18
18
|
creditsused: z.string().describe("Number of credits used for the message").nullable().optional()
|
|
19
|
-
}).describe("Individual message delivery detail in the delivery report.");
|
|
19
|
+
}).passthrough().describe("Individual message delivery detail in the delivery report.");
|
|
20
20
|
const SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({
|
|
21
21
|
desc: z.string().describe("Description message from the API").nullable(),
|
|
22
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").nullable() }).describe("Error response description.");
|
|
23
|
+
}).passthrough().describe("Success response with delivery report data.");
|
|
24
|
+
const SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({ desc: z.string().describe("Error message from the API").nullable() }).passthrough().describe("Error response description.");
|
|
25
25
|
const smsAlertGetDeliveryReport = action("SMS_ALERT_GET_DELIVERY_REPORT", {
|
|
26
26
|
slug: "sms_alert-get-delivery-report",
|
|
27
27
|
name: "Get SMS Delivery Report",
|
|
@@ -34,7 +34,7 @@ const smsAlertGetDeliveryReport = action("SMS_ALERT_GET_DELIVERY_REPORT", {
|
|
|
34
34
|
SmsAlertGetDeliveryReport_ErrorDescriptionSchema,
|
|
35
35
|
z.string()
|
|
36
36
|
])
|
|
37
|
-
}).describe("Response containing delivery report data for sent SMS messages.")
|
|
37
|
+
}).passthrough().describe("Response containing delivery report data for sent SMS messages.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { smsAlertGetDeliveryReport };
|
|
@@ -1 +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.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.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.object({\n desc: z.string().describe(\"Description message from the API\").nullable(),\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.object({\n desc: z.string().describe(\"Error message from the API\").nullable(),\n}).describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\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,iCAAiC,EAAE,OAAO;CACrD,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,wDAAwD,EAAE,OAAO;CACrE,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;
|
|
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.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.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}).passthrough().describe(\"Individual message delivery detail in the delivery report.\");\nconst SmsAlertGetDeliveryReport_SuccessDescriptionSchema = z.object({\n desc: z.string().describe(\"Description message from the API\").nullable(),\n report: z.array(SmsAlertGetDeliveryReport_MessageDeliveryDetailSchema).describe(\"List of message delivery details. Empty if no results found.\").nullable().optional(),\n}).passthrough().describe(\"Success response with delivery report data.\");\nconst SmsAlertGetDeliveryReport_ErrorDescriptionSchema = z.object({\n desc: z.string().describe(\"Error message from the API\").nullable(),\n}).passthrough().describe(\"Error response description.\");\nexport const SmsAlertGetDeliveryReportOutput = z.object({\n status: z.enum([\"success\", \"error\"]).describe(\"Indicates whether the request succeeded or failed\").nullable(),\n description: z.union([SmsAlertGetDeliveryReport_SuccessDescriptionSchema, SmsAlertGetDeliveryReport_ErrorDescriptionSchema, z.string()]),\n}).passthrough().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,iCAAiC,EAAE,OAAO;CACrD,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,wDAAwD,EAAE,OAAO;CACrE,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,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAMvD,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,WAAW,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,MAAM;GAAC;GAAoD;GAAkD,EAAE,OAAO;EAAC,CAAC;CACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SmsAlertGetGroupDetailInput = zod.z.object({ group_id: zod.z.number().int(
|
|
|
5
5
|
const SmsAlertGetGroupDetailOutput = zod.z.object({
|
|
6
6
|
status: zod.z.string().describe("API call status, e.g., 'success' or 'error'").nullable(),
|
|
7
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.");
|
|
8
|
+
}).passthrough().describe("Response model for GET_GROUP_DETAIL.");
|
|
9
9
|
const smsAlertGetGroupDetail = require_action.action("SMS_ALERT_GET_GROUP_DETAIL", {
|
|
10
10
|
slug: "sms_alert-get-group-detail",
|
|
11
11
|
name: "Get Group Detail",
|
|
@@ -1 +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.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.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\").nullable(),\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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,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;
|
|
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.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.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\").nullable(),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).passthrough().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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SmsAlertGetGroupDetailInput: z.ZodObject<{
|
|
|
7
7
|
declare const SmsAlertGetGroupDetailOutput: z.ZodObject<{
|
|
8
8
|
status: z.ZodNullable<z.ZodString>;
|
|
9
9
|
description: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
group_id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SmsAlertGetGroupDetailInput: z.ZodObject<{
|
|
|
7
7
|
declare const SmsAlertGetGroupDetailOutput: z.ZodObject<{
|
|
8
8
|
status: z.ZodNullable<z.ZodString>;
|
|
9
9
|
description: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const smsAlertGetGroupDetail: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
group_id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const smsAlertGetGroupDetail = action("SMS_ALERT_GET_GROUP_DETAIL", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
status: z.string().describe("API call status, e.g., 'success' or 'error'").nullable(),
|
|
10
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.")
|
|
11
|
+
}).passthrough().describe("Response model for GET_GROUP_DETAIL.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { smsAlertGetGroupDetail };
|
|
@@ -1 +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.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.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\").nullable(),\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,OAZyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAUH;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACvH,CAAC,CAAC,CAAC,SAAS,
|
|
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.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.object({\n status: z.string().describe(\"API call status, e.g., 'success' or 'error'\").nullable(),\n description: z.array(z.record(z.string(), z.unknown())).describe(\"List of contacts or error description from the API\"),\n}).passthrough().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,OAZyC,EAAE,OAAO,EAClD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,EACxE,CAAC,CAAC,CAAC,SAAS,4EAUH;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
|
|
@@ -9,12 +9,12 @@ const SmsAlertGetGroupList_GroupDataSchema = zod.z.object({
|
|
|
9
9
|
group_data: zod.z.unknown().describe("Additional group data").nullable().optional(),
|
|
10
10
|
groupfields: zod.z.unknown().describe("Group fields metadata").nullable().optional(),
|
|
11
11
|
creationdate: zod.z.string().describe("Date and time when the group was created").nullable()
|
|
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.");
|
|
12
|
+
}).passthrough().describe("The inner group data object in SMS Alert.");
|
|
13
|
+
const SmsAlertGetGroupList_GroupSchema = zod.z.object({ Group: SmsAlertGetGroupList_GroupDataSchema.nullable() }).passthrough().describe("A group wrapper object in SMS Alert.");
|
|
14
14
|
const SmsAlertGetGroupListOutput = zod.z.object({
|
|
15
15
|
status: zod.z.string().describe("Indicates the status of the request, e.g., 'success'").nullable(),
|
|
16
16
|
description: zod.z.array(SmsAlertGetGroupList_GroupSchema).describe("List of groups in your SMS Alert account")
|
|
17
|
-
}).describe("Response model for GET_GROUP_LIST.");
|
|
17
|
+
}).passthrough().describe("Response model for GET_GROUP_LIST.");
|
|
18
18
|
const smsAlertGetGroupList = require_action.action("SMS_ALERT_GET_GROUP_LIST", {
|
|
19
19
|
slug: "sms_alert-get-group-list",
|
|
20
20
|
name: "Get Group List",
|
|
@@ -1 +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.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n members: z.string().describe(\"Number of members in the group\").nullable(),\n group_data: z.unknown().describe(\"Additional group data\").nullable().optional(),\n groupfields: z.unknown().describe(\"Group fields metadata\").nullable().optional(),\n creationdate: z.string().describe(\"Date and time when the group was created\").nullable(),\n}).describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\").nullable(),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).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,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5J,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
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.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n members: z.string().describe(\"Number of members in the group\").nullable(),\n group_data: z.unknown().describe(\"Additional group data\").nullable().optional(),\n groupfields: z.unknown().describe(\"Group fields metadata\").nullable().optional(),\n creationdate: z.string().describe(\"Date and time when the group was created\").nullable(),\n}).passthrough().describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).passthrough().describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\").nullable(),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).passthrough().describe(\"Response model for GET_GROUP_LIST.\");\n\nexport const smsAlertGetGroupList = action(\"SMS_ALERT_GET_GROUP_LIST\", {\n slug: \"sms_alert-get-group-list\",\n name: \"Get Group List\",\n description: \"Tool to retrieve a list of SMS Alert groups. Use when you need to fetch all groups associated with your account. Call after authenticating your API key.\",\n input: SmsAlertGetGroupListInput,\n output: SmsAlertGetGroupListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5J,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,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,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO,EAChD,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,9 +12,9 @@ declare const SmsAlertGetGroupListOutput: z.ZodObject<{
|
|
|
12
12
|
group_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
13
|
groupfields: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
14
14
|
creationdate: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const smsAlertGetGroupList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { smsAlertGetGroupList };
|
|
@@ -12,9 +12,9 @@ declare const SmsAlertGetGroupListOutput: z.ZodObject<{
|
|
|
12
12
|
group_data: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
13
|
groupfields: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
14
14
|
creationdate: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const smsAlertGetGroupList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { smsAlertGetGroupList };
|
|
@@ -9,8 +9,8 @@ const SmsAlertGetGroupList_GroupDataSchema = z.object({
|
|
|
9
9
|
group_data: z.unknown().describe("Additional group data").nullable().optional(),
|
|
10
10
|
groupfields: z.unknown().describe("Group fields metadata").nullable().optional(),
|
|
11
11
|
creationdate: z.string().describe("Date and time when the group was created").nullable()
|
|
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.");
|
|
12
|
+
}).passthrough().describe("The inner group data object in SMS Alert.");
|
|
13
|
+
const SmsAlertGetGroupList_GroupSchema = z.object({ Group: SmsAlertGetGroupList_GroupDataSchema.nullable() }).passthrough().describe("A group wrapper object in SMS Alert.");
|
|
14
14
|
const smsAlertGetGroupList = action("SMS_ALERT_GET_GROUP_LIST", {
|
|
15
15
|
slug: "sms_alert-get-group-list",
|
|
16
16
|
name: "Get Group List",
|
|
@@ -19,7 +19,7 @@ const smsAlertGetGroupList = action("SMS_ALERT_GET_GROUP_LIST", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
status: z.string().describe("Indicates the status of the request, e.g., 'success'").nullable(),
|
|
21
21
|
description: z.array(SmsAlertGetGroupList_GroupSchema).describe("List of groups in your SMS Alert account")
|
|
22
|
-
}).describe("Response model for GET_GROUP_LIST.")
|
|
22
|
+
}).passthrough().describe("Response model for GET_GROUP_LIST.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { smsAlertGetGroupList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-group-list.mjs","names":[],"sources":["../../src/actions/get-group-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupListInput = z.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n members: z.string().describe(\"Number of members in the group\").nullable(),\n group_data: z.unknown().describe(\"Additional group data\").nullable().optional(),\n groupfields: z.unknown().describe(\"Group fields metadata\").nullable().optional(),\n creationdate: z.string().describe(\"Date and time when the group was created\").nullable(),\n}).describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\").nullable(),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).describe(\"Response model for GET_GROUP_LIST.\");\n\nexport const smsAlertGetGroupList = action(\"SMS_ALERT_GET_GROUP_LIST\", {\n slug: \"sms_alert-get-group-list\",\n name: \"Get Group List\",\n description: \"Tool to retrieve a list of SMS Alert groups. Use when you need to fetch all groups associated with your account. Call after authenticating your API key.\",\n input: SmsAlertGetGroupListInput,\n output: SmsAlertGetGroupListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-group-list.mjs","names":[],"sources":["../../src/actions/get-group-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetGroupListInput = z.object({}).describe(\"Request model for GET_GROUP_LIST. No parameters required; API key is provided via metadata.\");\nconst SmsAlertGetGroupList_GroupDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group\").nullable(),\n name: z.string().describe(\"Name of the group\").nullable(),\n members: z.string().describe(\"Number of members in the group\").nullable(),\n group_data: z.unknown().describe(\"Additional group data\").nullable().optional(),\n groupfields: z.unknown().describe(\"Group fields metadata\").nullable().optional(),\n creationdate: z.string().describe(\"Date and time when the group was created\").nullable(),\n}).passthrough().describe(\"The inner group data object in SMS Alert.\");\nconst SmsAlertGetGroupList_GroupSchema = z.object({\n Group: SmsAlertGetGroupList_GroupDataSchema.nullable(),\n}).passthrough().describe(\"A group wrapper object in SMS Alert.\");\nexport const SmsAlertGetGroupListOutput = z.object({\n status: z.string().describe(\"Indicates the status of the request, e.g., 'success'\").nullable(),\n description: z.array(SmsAlertGetGroupList_GroupSchema).describe(\"List of groups in your SMS Alert account\"),\n}).passthrough().describe(\"Response model for GET_GROUP_LIST.\");\n\nexport const smsAlertGetGroupList = action(\"SMS_ALERT_GET_GROUP_LIST\", {\n slug: \"sms_alert-get-group-list\",\n name: \"Get Group List\",\n description: \"Tool to retrieve a list of SMS Alert groups. Use when you need to fetch all groups associated with your account. Call after authenticating your API key.\",\n input: SmsAlertGetGroupListInput,\n output: SmsAlertGetGroupListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,mCAAmC,EAAE,OAAO,EAChD,OAAO,qCAAqC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC7F,aAAa,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,0CAA0C;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -2,13 +2,13 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/get-sender-id-list.ts
|
|
4
4
|
const SmsAlertGetSenderIdListInput = zod.z.object({}).describe("Empty request model. Uses configured API key from metadata.");
|
|
5
|
-
const SmsAlertGetSenderIdList_SenderItemSchema = zod.z.object({ sender: zod.z.string().describe("The sender ID.").nullable() });
|
|
6
|
-
const SmsAlertGetSenderIdList_DescriptionItemSchema = zod.z.object({ desc: zod.z.string().describe("Description message.").nullable() });
|
|
5
|
+
const SmsAlertGetSenderIdList_SenderItemSchema = zod.z.object({ sender: zod.z.string().describe("The sender ID.").nullable() }).passthrough();
|
|
6
|
+
const SmsAlertGetSenderIdList_DescriptionItemSchema = zod.z.object({ desc: zod.z.string().describe("Description message.").nullable() }).passthrough();
|
|
7
7
|
const SmsAlertGetSenderIdListOutput = zod.z.object({
|
|
8
8
|
sender: zod.z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe("List of sender ID objects. Only present when status is 'success'.").nullable().optional(),
|
|
9
9
|
status: zod.z.string().describe("API call status (e.g., 'success' or 'error').").nullable(),
|
|
10
10
|
description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const smsAlertGetSenderIdList = require_action.action("SMS_ALERT_GET_SENDER_ID_LIST", {
|
|
13
13
|
slug: "sms_alert-get-sender-id-list",
|
|
14
14
|
name: "Get Sender ID List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sender-id-list.cjs","names":["z","action"],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n});\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n});\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n});\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"get-sender-id-list.cjs","names":["z","action"],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2CA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,12 +5,12 @@ declare const SmsAlertGetSenderIdListInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const SmsAlertGetSenderIdListOutput: z.ZodObject<{
|
|
6
6
|
sender: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
7
|
sender: z.ZodNullable<z.ZodString>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>>>;
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
10
|
description: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
desc: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const smsAlertGetSenderIdList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { smsAlertGetSenderIdList };
|
|
@@ -5,12 +5,12 @@ declare const SmsAlertGetSenderIdListInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const SmsAlertGetSenderIdListOutput: z.ZodObject<{
|
|
6
6
|
sender: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7
7
|
sender: z.ZodNullable<z.ZodString>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>>>;
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
10
|
description: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
desc: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const smsAlertGetSenderIdList: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { smsAlertGetSenderIdList };
|
|
@@ -2,8 +2,8 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-sender-id-list.ts
|
|
4
4
|
const SmsAlertGetSenderIdListInput = z.object({}).describe("Empty request model. Uses configured API key from metadata.");
|
|
5
|
-
const SmsAlertGetSenderIdList_SenderItemSchema = z.object({ sender: z.string().describe("The sender ID.").nullable() });
|
|
6
|
-
const SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({ desc: z.string().describe("Description message.").nullable() });
|
|
5
|
+
const SmsAlertGetSenderIdList_SenderItemSchema = z.object({ sender: z.string().describe("The sender ID.").nullable() }).passthrough();
|
|
6
|
+
const SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({ desc: z.string().describe("Description message.").nullable() }).passthrough();
|
|
7
7
|
const smsAlertGetSenderIdList = action("SMS_ALERT_GET_SENDER_ID_LIST", {
|
|
8
8
|
slug: "sms_alert-get-sender-id-list",
|
|
9
9
|
name: "Get Sender ID List",
|
|
@@ -13,7 +13,7 @@ const smsAlertGetSenderIdList = action("SMS_ALERT_GET_SENDER_ID_LIST", {
|
|
|
13
13
|
sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe("List of sender ID objects. Only present when status is 'success'.").nullable().optional(),
|
|
14
14
|
status: z.string().describe("API call status (e.g., 'success' or 'error').").nullable(),
|
|
15
15
|
description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional()
|
|
16
|
-
})
|
|
16
|
+
}).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { smsAlertGetSenderIdList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-sender-id-list.mjs","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n});\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n});\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n});\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC;
|
|
1
|
+
{"version":3,"file":"get-sender-id-list.mjs","names":[],"sources":["../../src/actions/get-sender-id-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SmsAlertGetSenderIdListInput = z.object({}).describe(\"Empty request model. Uses configured API key from metadata.\");\nconst SmsAlertGetSenderIdList_SenderItemSchema = z.object({\n sender: z.string().describe(\"The sender ID.\").nullable(),\n}).passthrough();\nconst SmsAlertGetSenderIdList_DescriptionItemSchema = z.object({\n desc: z.string().describe(\"Description message.\").nullable(),\n}).passthrough();\nexport const SmsAlertGetSenderIdListOutput = z.object({\n sender: z.array(SmsAlertGetSenderIdList_SenderItemSchema).describe(\"List of sender ID objects. Only present when status is 'success'.\").nullable().optional(),\n status: z.string().describe(\"API call status (e.g., 'success' or 'error').\").nullable(),\n description: SmsAlertGetSenderIdList_DescriptionItemSchema.nullable().optional(),\n}).passthrough();\n\nexport const smsAlertGetSenderIdList = action(\"SMS_ALERT_GET_SENDER_ID_LIST\", {\n slug: \"sms_alert-get-sender-id-list\",\n name: \"Get Sender ID List\",\n description: \"Tool to fetch the list of available sender IDs. Use when you need to retrieve all sender IDs associated with your account. Use after configuring your API key.\",\n input: SmsAlertGetSenderIdListInput,\n output: SmsAlertGetSenderIdListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAC/H,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,0BAA0B,OAAO,gCAAgC;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,aAAa,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|