@keystrokehq/msg91 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-user-events.cjs +1 -0
- package/dist/actions/create-user-events.cjs.map +1 -1
- package/dist/actions/create-user-events.d.cts +3 -9
- package/dist/actions/create-user-events.d.cts.map +1 -1
- package/dist/actions/create-user-events.d.mts +3 -9
- package/dist/actions/create-user-events.d.mts.map +1 -1
- package/dist/actions/create-user-events.mjs +1 -0
- package/dist/actions/create-user-events.mjs.map +1 -1
- package/dist/actions/get-event-types.cjs +1 -0
- package/dist/actions/get-event-types.cjs.map +1 -1
- package/dist/actions/get-event-types.d.cts +3 -1
- package/dist/actions/get-event-types.d.cts.map +1 -1
- package/dist/actions/get-event-types.d.mts +3 -1
- package/dist/actions/get-event-types.d.mts.map +1 -1
- package/dist/actions/get-event-types.mjs +1 -0
- package/dist/actions/get-event-types.mjs.map +1 -1
- package/dist/actions/get-failed-events.cjs +1 -0
- package/dist/actions/get-failed-events.cjs.map +1 -1
- package/dist/actions/get-failed-events.d.cts +3 -7
- package/dist/actions/get-failed-events.d.cts.map +1 -1
- package/dist/actions/get-failed-events.d.mts +3 -7
- package/dist/actions/get-failed-events.d.mts.map +1 -1
- package/dist/actions/get-failed-events.mjs +1 -0
- package/dist/actions/get-failed-events.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +3 -4
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +3 -4
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/resend-otp.cjs +1 -0
- package/dist/actions/resend-otp.cjs.map +1 -1
- package/dist/actions/resend-otp.d.cts +3 -4
- package/dist/actions/resend-otp.d.cts.map +1 -1
- package/dist/actions/resend-otp.d.mts +3 -4
- package/dist/actions/resend-otp.d.mts.map +1 -1
- package/dist/actions/resend-otp.mjs +1 -0
- package/dist/actions/resend-otp.mjs.map +1 -1
- package/dist/actions/send-otp.cjs +1 -0
- package/dist/actions/send-otp.cjs.map +1 -1
- package/dist/actions/send-otp.d.cts +3 -11
- package/dist/actions/send-otp.d.cts.map +1 -1
- package/dist/actions/send-otp.d.mts +3 -11
- package/dist/actions/send-otp.d.mts.map +1 -1
- package/dist/actions/send-otp.mjs +1 -0
- package/dist/actions/send-otp.mjs.map +1 -1
- package/dist/actions/send-sms-v5.cjs +1 -0
- package/dist/actions/send-sms-v5.cjs.map +1 -1
- package/dist/actions/send-sms-v5.d.cts +3 -15
- package/dist/actions/send-sms-v5.d.cts.map +1 -1
- package/dist/actions/send-sms-v5.d.mts +3 -15
- package/dist/actions/send-sms-v5.d.mts.map +1 -1
- package/dist/actions/send-sms-v5.mjs +1 -0
- package/dist/actions/send-sms-v5.mjs.map +1 -1
- package/dist/actions/verify-otp.cjs +1 -0
- package/dist/actions/verify-otp.cjs.map +1 -1
- package/dist/actions/verify-otp.d.cts +3 -5
- package/dist/actions/verify-otp.d.cts.map +1 -1
- package/dist/actions/verify-otp.d.mts +3 -5
- package/dist/actions/verify-otp.d.mts.map +1 -1
- package/dist/actions/verify-otp.mjs +1 -0
- package/dist/actions/verify-otp.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["msg91","executeMsg91Tool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { msg91 } from \"./app\";\nimport { executeMsg91Tool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["msg91","executeMsg91Tool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { msg91 } from \"./app\";\nimport { executeMsg91Tool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof msg91.credential> {\n return msg91.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMsg91Tool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { msg91 } from \"./app\";\nimport { executeMsg91Tool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { msg91 } from \"./app\";\nimport { executeMsg91Tool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof msg91.credential> {\n return msg91.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMsg91Tool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-events.cjs","names":["z","action"],"sources":["../../src/actions/create-user-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91CreateUserEventsInput = z.object({\n events: z.array(z.object({\n name: z.string().describe(\"Name of the event to track. Use descriptive names that represent user actions (e.g., 'login', 'purchase', 'page_view', 'button_click').\"),\n timestamp: z.string().describe(\"Event timestamp in ISO8601 format (e.g., '2023-06-27T12:00:00Z'). If omitted, the server's current time will be used.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Optional custom properties for the event as key-value pairs. Use this to attach additional context like product IDs, page URLs, amounts, etc.\").optional(),\n}).passthrough().describe(\"Model for individual user event details in MSG91 Segmento.\")).describe(\"List of user events to record. You can submit multiple events for the same user in a single request.\"),\n identifier: z.string().describe(\"Unique identifier for the user. Can be an email address or phone number with country code (e.g., '+919999999999' or 'user@example.com').\"),\n}).describe(\"Request model for creating user events in MSG91 Segmento.\");\nexport const Msg91CreateUserEventsOutput = z.object({\n code: z.string().describe(\"Response code\").nullable().optional(),\n errors: z.string().describe(\"Error message if hasError is true\").nullable().optional(),\n status: z.string().describe(\"API operation status ('success' or 'fail')\").nullable(),\n message: z.string().describe(\"Success message or additional information\").nullable().optional(),\n hasError: z.boolean().describe(\"Indicates if there was an error\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating user events.\");\n\nexport const msg91CreateUserEvents = action(\"MSG91_CREATE_USER_EVENTS\", {\n slug: \"msg91-create-user-events\",\n name: \"Create User Events\",\n description: \"Create and track user events in MSG91 Segmento for customer behavior analysis and segmentation. Use this tool to record user actions and behaviors such as logins, purchases, page views, button clicks, or any custom events. These events help build user profiles and enable targeted campaigns based on user behavior. Examples: - Track user login events for engagement analysis - Record purchase events with product details for sales tracking - Log page views and clicks for behavior analytics - Capture custom events with properties for detailed segmentation\",\n input: Msg91CreateUserEventsInput,\n output: Msg91CreateUserEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-events.cjs","names":["z","action"],"sources":["../../src/actions/create-user-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91CreateUserEventsInput = z.object({\n events: z.array(z.object({\n name: z.string().describe(\"Name of the event to track. Use descriptive names that represent user actions (e.g., 'login', 'purchase', 'page_view', 'button_click').\"),\n timestamp: z.string().describe(\"Event timestamp in ISO8601 format (e.g., '2023-06-27T12:00:00Z'). If omitted, the server's current time will be used.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Optional custom properties for the event as key-value pairs. Use this to attach additional context like product IDs, page URLs, amounts, etc.\").optional(),\n}).passthrough().describe(\"Model for individual user event details in MSG91 Segmento.\")).describe(\"List of user events to record. You can submit multiple events for the same user in a single request.\"),\n identifier: z.string().describe(\"Unique identifier for the user. Can be an email address or phone number with country code (e.g., '+919999999999' or 'user@example.com').\"),\n}).describe(\"Request model for creating user events in MSG91 Segmento.\");\nexport const Msg91CreateUserEventsOutput = z.object({\n code: z.string().describe(\"Response code\").nullable().optional(),\n errors: z.string().describe(\"Error message if hasError is true\").nullable().optional(),\n status: z.string().describe(\"API operation status ('success' or 'fail')\").nullable(),\n message: z.string().describe(\"Success message or additional information\").nullable().optional(),\n hasError: z.boolean().describe(\"Indicates if there was an error\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating user events.\");\n\nexport const msg91CreateUserEvents: AppAction<\n typeof Msg91CreateUserEventsInput,\n typeof Msg91CreateUserEventsOutput,\n typeof msg91.credential\n> = action(\"MSG91_CREATE_USER_EVENTS\", {\n slug: \"msg91-create-user-events\",\n name: \"Create User Events\",\n description: \"Create and track user events in MSG91 Segmento for customer behavior analysis and segmentation. Use this tool to record user actions and behaviors such as logins, purchases, page views, button clicks, or any custom events. These events help build user profiles and enable targeted campaigns based on user behavior. Examples: - Track user login events for engagement analysis - Record purchase events with product details for sales tracking - Log page views and clicks for behavior analytics - Capture custom events with properties for detailed segmentation\",\n input: Msg91CreateUserEventsInput,\n output: Msg91CreateUserEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;EACnK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACjK,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,CAAC,SAAS,sGAAsG;CACtM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AAC5K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user-events.d.ts
|
|
@@ -16,15 +18,7 @@ declare const Msg91CreateUserEventsOutput: z.ZodObject<{
|
|
|
16
18
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
hasError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const msg91CreateUserEvents:
|
|
20
|
-
events: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
name: string;
|
|
23
|
-
timestamp?: string | undefined;
|
|
24
|
-
properties?: Record<string, unknown> | undefined;
|
|
25
|
-
}[];
|
|
26
|
-
identifier: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const msg91CreateUserEvents: AppAction<typeof Msg91CreateUserEventsInput, typeof Msg91CreateUserEventsOutput, typeof msg91.credential>;
|
|
28
22
|
//#endregion
|
|
29
23
|
export { msg91CreateUserEvents };
|
|
30
24
|
//# sourceMappingURL=create-user-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-events.d.cts","names":[],"sources":["../../src/actions/create-user-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-events.d.cts","names":[],"sources":["../../src/actions/create-user-events.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user-events.d.ts
|
|
@@ -16,15 +18,7 @@ declare const Msg91CreateUserEventsOutput: z.ZodObject<{
|
|
|
16
18
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
hasError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const msg91CreateUserEvents:
|
|
20
|
-
events: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
name: string;
|
|
23
|
-
timestamp?: string | undefined;
|
|
24
|
-
properties?: Record<string, unknown> | undefined;
|
|
25
|
-
}[];
|
|
26
|
-
identifier: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const msg91CreateUserEvents: AppAction<typeof Msg91CreateUserEventsInput, typeof Msg91CreateUserEventsOutput, typeof msg91.credential>;
|
|
28
22
|
//#endregion
|
|
29
23
|
export { msg91CreateUserEvents };
|
|
30
24
|
//# sourceMappingURL=create-user-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-events.d.mts","names":[],"sources":["../../src/actions/create-user-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-events.d.mts","names":[],"sources":["../../src/actions/create-user-events.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAQ3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user-events.mjs","names":[],"sources":["../../src/actions/create-user-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91CreateUserEventsInput = z.object({\n events: z.array(z.object({\n name: z.string().describe(\"Name of the event to track. Use descriptive names that represent user actions (e.g., 'login', 'purchase', 'page_view', 'button_click').\"),\n timestamp: z.string().describe(\"Event timestamp in ISO8601 format (e.g., '2023-06-27T12:00:00Z'). If omitted, the server's current time will be used.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Optional custom properties for the event as key-value pairs. Use this to attach additional context like product IDs, page URLs, amounts, etc.\").optional(),\n}).passthrough().describe(\"Model for individual user event details in MSG91 Segmento.\")).describe(\"List of user events to record. You can submit multiple events for the same user in a single request.\"),\n identifier: z.string().describe(\"Unique identifier for the user. Can be an email address or phone number with country code (e.g., '+919999999999' or 'user@example.com').\"),\n}).describe(\"Request model for creating user events in MSG91 Segmento.\");\nexport const Msg91CreateUserEventsOutput = z.object({\n code: z.string().describe(\"Response code\").nullable().optional(),\n errors: z.string().describe(\"Error message if hasError is true\").nullable().optional(),\n status: z.string().describe(\"API operation status ('success' or 'fail')\").nullable(),\n message: z.string().describe(\"Success message or additional information\").nullable().optional(),\n hasError: z.boolean().describe(\"Indicates if there was an error\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating user events.\");\n\nexport const msg91CreateUserEvents = action(\"MSG91_CREATE_USER_EVENTS\", {\n slug: \"msg91-create-user-events\",\n name: \"Create User Events\",\n description: \"Create and track user events in MSG91 Segmento for customer behavior analysis and segmentation. Use this tool to record user actions and behaviors such as logins, purchases, page views, button clicks, or any custom events. These events help build user profiles and enable targeted campaigns based on user behavior. Examples: - Track user login events for engagement analysis - Record purchase events with product details for sales tracking - Log page views and clicks for behavior analytics - Capture custom events with properties for detailed segmentation\",\n input: Msg91CreateUserEventsInput,\n output: Msg91CreateUserEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user-events.mjs","names":[],"sources":["../../src/actions/create-user-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91CreateUserEventsInput = z.object({\n events: z.array(z.object({\n name: z.string().describe(\"Name of the event to track. Use descriptive names that represent user actions (e.g., 'login', 'purchase', 'page_view', 'button_click').\"),\n timestamp: z.string().describe(\"Event timestamp in ISO8601 format (e.g., '2023-06-27T12:00:00Z'). If omitted, the server's current time will be used.\").optional(),\n properties: z.record(z.string(), z.unknown()).describe(\"Optional custom properties for the event as key-value pairs. Use this to attach additional context like product IDs, page URLs, amounts, etc.\").optional(),\n}).passthrough().describe(\"Model for individual user event details in MSG91 Segmento.\")).describe(\"List of user events to record. You can submit multiple events for the same user in a single request.\"),\n identifier: z.string().describe(\"Unique identifier for the user. Can be an email address or phone number with country code (e.g., '+919999999999' or 'user@example.com').\"),\n}).describe(\"Request model for creating user events in MSG91 Segmento.\");\nexport const Msg91CreateUserEventsOutput = z.object({\n code: z.string().describe(\"Response code\").nullable().optional(),\n errors: z.string().describe(\"Error message if hasError is true\").nullable().optional(),\n status: z.string().describe(\"API operation status ('success' or 'fail')\").nullable(),\n message: z.string().describe(\"Success message or additional information\").nullable().optional(),\n hasError: z.boolean().describe(\"Indicates if there was an error\").nullable().optional(),\n}).passthrough().describe(\"Response model after creating user events.\");\n\nexport const msg91CreateUserEvents: AppAction<\n typeof Msg91CreateUserEventsInput,\n typeof Msg91CreateUserEventsOutput,\n typeof msg91.credential\n> = action(\"MSG91_CREATE_USER_EVENTS\", {\n slug: \"msg91-create-user-events\",\n name: \"Create User Events\",\n description: \"Create and track user events in MSG91 Segmento for customer behavior analysis and segmentation. Use this tool to record user actions and behaviors such as logins, purchases, page views, button clicks, or any custom events. These events help build user profiles and enable targeted campaigns based on user behavior. Examples: - Track user login events for engagement analysis - Record purchase events with product details for sales tracking - Log page views and clicks for behavior analytics - Capture custom events with properties for detailed segmentation\",\n input: Msg91CreateUserEventsInput,\n output: Msg91CreateUserEventsOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;GACnK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;GACjK,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,CAAC,SAAS,sGAAsG;EACtM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CAC5K,CAAC,CAAC,CAAC,SAAS,2DAiBH;CACP,QAjByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-types.cjs","names":["z","action"],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91GetEventTypesInput = z.object({}).describe(\"Request model for GET_EVENT_TYPES action.\\nNo parameters are required - this endpoint retrieves all event types.\");\nconst Msg91GetEventTypes_EventTypeSchema = z.object({\n name: z.string().describe(\"Human-readable name of the event type\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was last modified\").nullable().optional(),\n description: z.string().describe(\"Detailed description explaining what this event type tracks\").nullable().optional(),\n eventTypeId: z.string().describe(\"Unique identifier for the event type\").nullable().optional(),\n}).passthrough().describe(\"Represents a single event type tracked in MSG91 Segmento.\");\nexport const Msg91GetEventTypesOutput = z.object({\n code: z.string().describe(\"API response code providing additional context about the result\").nullable().optional(),\n errors: z.string().describe(\"Error message describing what went wrong, present only when hasError is true\").nullable().optional(),\n status: z.string().describe(\"Operation status: 'success' for successful requests, 'fail' for errors\").nullable().optional(),\n message: z.string().describe(\"Additional informational message from the API\").nullable().optional(),\n hasError: z.boolean().describe(\"Boolean flag indicating whether an error occurred during the request\").nullable().optional(),\n eventTypes: z.array(Msg91GetEventTypes_EventTypeSchema).describe(\"Array of event type objects, each representing a trackable user action or behavior in Segmento\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_EVENT_TYPES action.\\nReturns the list of all event types configured in MSG91 Segmento.\");\n\nexport const msg91GetEventTypes = action(\"MSG91_GET_EVENT_TYPES\", {\n slug: \"msg91-get-event-types\",\n name: \"Get Event Types\",\n description: \"Retrieves all event types configured in MSG91 Segmento. Event types represent different user actions and behaviors that can be tracked (e.g., purchases, signups, page views). Use this action to discover what events are available for tracking user behavior in your Segmento account. No parameters required - returns all event types.\",\n input: Msg91GetEventTypesInput,\n output: Msg91GetEventTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-types.cjs","names":["z","action"],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91GetEventTypesInput = z.object({}).describe(\"Request model for GET_EVENT_TYPES action.\\nNo parameters are required - this endpoint retrieves all event types.\");\nconst Msg91GetEventTypes_EventTypeSchema = z.object({\n name: z.string().describe(\"Human-readable name of the event type\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was last modified\").nullable().optional(),\n description: z.string().describe(\"Detailed description explaining what this event type tracks\").nullable().optional(),\n eventTypeId: z.string().describe(\"Unique identifier for the event type\").nullable().optional(),\n}).passthrough().describe(\"Represents a single event type tracked in MSG91 Segmento.\");\nexport const Msg91GetEventTypesOutput = z.object({\n code: z.string().describe(\"API response code providing additional context about the result\").nullable().optional(),\n errors: z.string().describe(\"Error message describing what went wrong, present only when hasError is true\").nullable().optional(),\n status: z.string().describe(\"Operation status: 'success' for successful requests, 'fail' for errors\").nullable().optional(),\n message: z.string().describe(\"Additional informational message from the API\").nullable().optional(),\n hasError: z.boolean().describe(\"Boolean flag indicating whether an error occurred during the request\").nullable().optional(),\n eventTypes: z.array(Msg91GetEventTypes_EventTypeSchema).describe(\"Array of event type objects, each representing a trackable user action or behavior in Segmento\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_EVENT_TYPES action.\\nReturns the list of all event types configured in MSG91 Segmento.\");\n\nexport const msg91GetEventTypes: AppAction<\n typeof Msg91GetEventTypesInput,\n typeof Msg91GetEventTypesOutput,\n typeof msg91.credential\n> = action(\"MSG91_GET_EVENT_TYPES\", {\n slug: \"msg91-get-event-types\",\n name: \"Get Event Types\",\n description: \"Retrieves all event types configured in MSG91 Segmento. Event types represent different user actions and behaviors that can be tracked (e.g., purchases, signups, page views). Use this action to discover what events are available for tracking user behavior in your Segmento account. No parameters required - returns all event types.\",\n input: Msg91GetEventTypesInput,\n output: Msg91GetEventTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kHAAkH;AAC/K,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+GAA+G;AAEzI,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-event-types.d.ts
|
|
@@ -16,7 +18,7 @@ declare const Msg91GetEventTypesOutput: z.ZodObject<{
|
|
|
16
18
|
eventTypeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const msg91GetEventTypes:
|
|
21
|
+
declare const msg91GetEventTypes: AppAction<typeof Msg91GetEventTypesInput, typeof Msg91GetEventTypesOutput, typeof msg91.credential>;
|
|
20
22
|
//#endregion
|
|
21
23
|
export { msg91GetEventTypes };
|
|
22
24
|
//# sourceMappingURL=get-event-types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-types.d.cts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-types.d.cts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-event-types.d.ts
|
|
@@ -16,7 +18,7 @@ declare const Msg91GetEventTypesOutput: z.ZodObject<{
|
|
|
16
18
|
eventTypeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const msg91GetEventTypes:
|
|
21
|
+
declare const msg91GetEventTypes: AppAction<typeof Msg91GetEventTypesInput, typeof Msg91GetEventTypesOutput, typeof msg91.credential>;
|
|
20
22
|
//#endregion
|
|
21
23
|
export { msg91GetEventTypes };
|
|
22
24
|
//# sourceMappingURL=get-event-types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-types.d.mts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-types.d.mts","names":[],"sources":["../../src/actions/get-event-types.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-event-types.mjs","names":[],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91GetEventTypesInput = z.object({}).describe(\"Request model for GET_EVENT_TYPES action.\\nNo parameters are required - this endpoint retrieves all event types.\");\nconst Msg91GetEventTypes_EventTypeSchema = z.object({\n name: z.string().describe(\"Human-readable name of the event type\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was last modified\").nullable().optional(),\n description: z.string().describe(\"Detailed description explaining what this event type tracks\").nullable().optional(),\n eventTypeId: z.string().describe(\"Unique identifier for the event type\").nullable().optional(),\n}).passthrough().describe(\"Represents a single event type tracked in MSG91 Segmento.\");\nexport const Msg91GetEventTypesOutput = z.object({\n code: z.string().describe(\"API response code providing additional context about the result\").nullable().optional(),\n errors: z.string().describe(\"Error message describing what went wrong, present only when hasError is true\").nullable().optional(),\n status: z.string().describe(\"Operation status: 'success' for successful requests, 'fail' for errors\").nullable().optional(),\n message: z.string().describe(\"Additional informational message from the API\").nullable().optional(),\n hasError: z.boolean().describe(\"Boolean flag indicating whether an error occurred during the request\").nullable().optional(),\n eventTypes: z.array(Msg91GetEventTypes_EventTypeSchema).describe(\"Array of event type objects, each representing a trackable user action or behavior in Segmento\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_EVENT_TYPES action.\\nReturns the list of all event types configured in MSG91 Segmento.\");\n\nexport const msg91GetEventTypes = action(\"MSG91_GET_EVENT_TYPES\", {\n slug: \"msg91-get-event-types\",\n name: \"Get Event Types\",\n description: \"Retrieves all event types configured in MSG91 Segmento. Event types represent different user actions and behaviors that can be tracked (e.g., purchases, signups, page views). Use this action to discover what events are available for tracking user behavior in your Segmento account. No parameters required - returns all event types.\",\n input: Msg91GetEventTypesInput,\n output: Msg91GetEventTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-event-types.mjs","names":[],"sources":["../../src/actions/get-event-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91GetEventTypesInput = z.object({}).describe(\"Request model for GET_EVENT_TYPES action.\\nNo parameters are required - this endpoint retrieves all event types.\");\nconst Msg91GetEventTypes_EventTypeSchema = z.object({\n name: z.string().describe(\"Human-readable name of the event type\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp indicating when this event type was last modified\").nullable().optional(),\n description: z.string().describe(\"Detailed description explaining what this event type tracks\").nullable().optional(),\n eventTypeId: z.string().describe(\"Unique identifier for the event type\").nullable().optional(),\n}).passthrough().describe(\"Represents a single event type tracked in MSG91 Segmento.\");\nexport const Msg91GetEventTypesOutput = z.object({\n code: z.string().describe(\"API response code providing additional context about the result\").nullable().optional(),\n errors: z.string().describe(\"Error message describing what went wrong, present only when hasError is true\").nullable().optional(),\n status: z.string().describe(\"Operation status: 'success' for successful requests, 'fail' for errors\").nullable().optional(),\n message: z.string().describe(\"Additional informational message from the API\").nullable().optional(),\n hasError: z.boolean().describe(\"Boolean flag indicating whether an error occurred during the request\").nullable().optional(),\n eventTypes: z.array(Msg91GetEventTypes_EventTypeSchema).describe(\"Array of event type objects, each representing a trackable user action or behavior in Segmento\").nullable().optional(),\n}).passthrough().describe(\"Response model for GET_EVENT_TYPES action.\\nReturns the list of all event types configured in MSG91 Segmento.\");\n\nexport const msg91GetEventTypes: AppAction<\n typeof Msg91GetEventTypesInput,\n typeof Msg91GetEventTypesOutput,\n typeof msg91.credential\n> = action(\"MSG91_GET_EVENT_TYPES\", {\n slug: \"msg91-get-event-types\",\n name: \"Get Event Types\",\n description: \"Retrieves all event types configured in MSG91 Segmento. Event types represent different user actions and behaviors that can be tracked (e.g., purchases, signups, page views). Use this action to discover what events are available for tracking user behavior in your Segmento account. No parameters required - returns all event types.\",\n input: Msg91GetEventTypesInput,\n output: Msg91GetEventTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kHAAkH;AAC/K,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAUrF,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,YAAY,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+GAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-failed-events.cjs","names":["z","action"],"sources":["../../src/actions/get-failed-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91GetFailedEventsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1. Use this to navigate through multiple pages of failed events.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of failed events to return per page. Must be between 1 and 100. Default is 10.\").optional(),\n end_date: z.string().describe(\"Optional end date to filter failed events (format: YYYY-MM-DD). Only events that failed on or before this date will be included.\").optional(),\n start_date: z.string().describe(\"Optional start date to filter failed events (format: YYYY-MM-DD). Only events that failed on or after this date will be included.\").optional(),\n campaign_id: z.string().describe(\"The unique identifier of the Segmento campaign. This is the campaign ID returned when creating or listing campaigns.\"),\n}).describe(\"Request model for retrieving failed Segmento user events for a specific campaign.\");\nconst Msg91GetFailedEvents_FailedEventSchema = z.object({\n reason: z.string().describe(\"Detailed reason explaining why the event failed (e.g., validation error, invalid recipient, missing required field).\").nullable(),\n eventId: z.string().describe(\"Unique identifier for this specific failed event instance.\").nullable(),\n recipient: z.string().describe(\"The intended recipient of the event (email address, phone number, or user identifier).\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the event failure occurred, in ISO8601 format (e.g., 2024-01-30T12:00:00Z).\").nullable(),\n}).passthrough();\nconst Msg91GetFailedEvents_FailedEventsDataSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of records per page.\").nullable(),\n total: z.number().int().default(0).describe(\"Total number of failed events.\").nullable().optional(),\n failedEvents: z.array(Msg91GetFailedEvents_FailedEventSchema).describe(\"List of failed event objects.\").nullable().optional(),\n}).passthrough();\nexport const Msg91GetFailedEventsOutput = z.object({\n data: Msg91GetFailedEvents_FailedEventsDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success', 'error').\").nullable(),\n message: z.string().describe(\"Additional information about the response.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91GetFailedEvents = action(\"MSG91_GET_FAILED_EVENTS\", {\n slug: \"msg91-get-failed-events\",\n name: \"Get Failed Events\",\n description: \"Retrieve failed user events from a MSG91 Segmento campaign. This tool fetches events that failed to process during campaign execution, helping you identify and debug issues such as validation errors, invalid recipients, or missing required data. Use this when you need to: - Investigate why certain events didn't process successfully - Get detailed failure reasons for troubleshooting - Monitor campaign health and identify patterns in failures - Retrieve failed events within a specific date range Results are paginated for large datasets. Requires a valid campaign_id from a Segmento campaign.\",\n input: Msg91GetFailedEventsInput,\n output: Msg91GetFailedEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-failed-events.cjs","names":["z","action"],"sources":["../../src/actions/get-failed-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91GetFailedEventsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1. Use this to navigate through multiple pages of failed events.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of failed events to return per page. Must be between 1 and 100. Default is 10.\").optional(),\n end_date: z.string().describe(\"Optional end date to filter failed events (format: YYYY-MM-DD). Only events that failed on or before this date will be included.\").optional(),\n start_date: z.string().describe(\"Optional start date to filter failed events (format: YYYY-MM-DD). Only events that failed on or after this date will be included.\").optional(),\n campaign_id: z.string().describe(\"The unique identifier of the Segmento campaign. This is the campaign ID returned when creating or listing campaigns.\"),\n}).describe(\"Request model for retrieving failed Segmento user events for a specific campaign.\");\nconst Msg91GetFailedEvents_FailedEventSchema = z.object({\n reason: z.string().describe(\"Detailed reason explaining why the event failed (e.g., validation error, invalid recipient, missing required field).\").nullable(),\n eventId: z.string().describe(\"Unique identifier for this specific failed event instance.\").nullable(),\n recipient: z.string().describe(\"The intended recipient of the event (email address, phone number, or user identifier).\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the event failure occurred, in ISO8601 format (e.g., 2024-01-30T12:00:00Z).\").nullable(),\n}).passthrough();\nconst Msg91GetFailedEvents_FailedEventsDataSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of records per page.\").nullable(),\n total: z.number().int().default(0).describe(\"Total number of failed events.\").nullable().optional(),\n failedEvents: z.array(Msg91GetFailedEvents_FailedEventSchema).describe(\"List of failed event objects.\").nullable().optional(),\n}).passthrough();\nexport const Msg91GetFailedEventsOutput = z.object({\n data: Msg91GetFailedEvents_FailedEventsDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success', 'error').\").nullable(),\n message: z.string().describe(\"Additional information about the response.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91GetFailedEvents: AppAction<\n typeof Msg91GetFailedEventsInput,\n typeof Msg91GetFailedEventsOutput,\n typeof msg91.credential\n> = action(\"MSG91_GET_FAILED_EVENTS\", {\n slug: \"msg91-get-failed-events\",\n name: \"Get Failed Events\",\n description: \"Retrieve failed user events from a MSG91 Segmento campaign. This tool fetches events that failed to process during campaign execution, helping you identify and debug issues such as validation errors, invalid recipients, or missing required data. Use this when you need to: - Investigate why certain events didn't process successfully - Get detailed failure reasons for troubleshooting - Monitor campaign health and identify patterns in failures - Retrieve failed events within a specific date range Results are paginated for large datasets. Requires a valid campaign_id from a Segmento campaign.\",\n input: Msg91GetFailedEventsInput,\n output: Msg91GetFailedEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACvJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC3K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AACzJ,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC7J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-failed-events.d.ts
|
|
@@ -23,13 +25,7 @@ declare const Msg91GetFailedEventsOutput: z.ZodObject<{
|
|
|
23
25
|
status: z.ZodNullable<z.ZodString>;
|
|
24
26
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const msg91GetFailedEvents:
|
|
27
|
-
campaign_id: string;
|
|
28
|
-
page?: number | undefined;
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
end_date?: string | undefined;
|
|
31
|
-
start_date?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const msg91GetFailedEvents: AppAction<typeof Msg91GetFailedEventsInput, typeof Msg91GetFailedEventsOutput, typeof msg91.credential>;
|
|
33
29
|
//#endregion
|
|
34
30
|
export { msg91GetFailedEvents };
|
|
35
31
|
//# sourceMappingURL=get-failed-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-failed-events.d.cts","names":[],"sources":["../../src/actions/get-failed-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-failed-events.d.cts","names":[],"sources":["../../src/actions/get-failed-events.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-failed-events.d.ts
|
|
@@ -23,13 +25,7 @@ declare const Msg91GetFailedEventsOutput: z.ZodObject<{
|
|
|
23
25
|
status: z.ZodNullable<z.ZodString>;
|
|
24
26
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const msg91GetFailedEvents:
|
|
27
|
-
campaign_id: string;
|
|
28
|
-
page?: number | undefined;
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
end_date?: string | undefined;
|
|
31
|
-
start_date?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const msg91GetFailedEvents: AppAction<typeof Msg91GetFailedEventsInput, typeof Msg91GetFailedEventsOutput, typeof msg91.credential>;
|
|
33
29
|
//#endregion
|
|
34
30
|
export { msg91GetFailedEvents };
|
|
35
31
|
//# sourceMappingURL=get-failed-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-failed-events.d.mts","names":[],"sources":["../../src/actions/get-failed-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-failed-events.d.mts","names":[],"sources":["../../src/actions/get-failed-events.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAmBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAM1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-failed-events.mjs","names":[],"sources":["../../src/actions/get-failed-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91GetFailedEventsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1. Use this to navigate through multiple pages of failed events.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of failed events to return per page. Must be between 1 and 100. Default is 10.\").optional(),\n end_date: z.string().describe(\"Optional end date to filter failed events (format: YYYY-MM-DD). Only events that failed on or before this date will be included.\").optional(),\n start_date: z.string().describe(\"Optional start date to filter failed events (format: YYYY-MM-DD). Only events that failed on or after this date will be included.\").optional(),\n campaign_id: z.string().describe(\"The unique identifier of the Segmento campaign. This is the campaign ID returned when creating or listing campaigns.\"),\n}).describe(\"Request model for retrieving failed Segmento user events for a specific campaign.\");\nconst Msg91GetFailedEvents_FailedEventSchema = z.object({\n reason: z.string().describe(\"Detailed reason explaining why the event failed (e.g., validation error, invalid recipient, missing required field).\").nullable(),\n eventId: z.string().describe(\"Unique identifier for this specific failed event instance.\").nullable(),\n recipient: z.string().describe(\"The intended recipient of the event (email address, phone number, or user identifier).\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the event failure occurred, in ISO8601 format (e.g., 2024-01-30T12:00:00Z).\").nullable(),\n}).passthrough();\nconst Msg91GetFailedEvents_FailedEventsDataSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of records per page.\").nullable(),\n total: z.number().int().default(0).describe(\"Total number of failed events.\").nullable().optional(),\n failedEvents: z.array(Msg91GetFailedEvents_FailedEventSchema).describe(\"List of failed event objects.\").nullable().optional(),\n}).passthrough();\nexport const Msg91GetFailedEventsOutput = z.object({\n data: Msg91GetFailedEvents_FailedEventsDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success', 'error').\").nullable(),\n message: z.string().describe(\"Additional information about the response.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91GetFailedEvents = action(\"MSG91_GET_FAILED_EVENTS\", {\n slug: \"msg91-get-failed-events\",\n name: \"Get Failed Events\",\n description: \"Retrieve failed user events from a MSG91 Segmento campaign. This tool fetches events that failed to process during campaign execution, helping you identify and debug issues such as validation errors, invalid recipients, or missing required data. Use this when you need to: - Investigate why certain events didn't process successfully - Get detailed failure reasons for troubleshooting - Monitor campaign health and identify patterns in failures - Retrieve failed events within a specific date range Results are paginated for large datasets. Requires a valid campaign_id from a Segmento campaign.\",\n input: Msg91GetFailedEventsInput,\n output: Msg91GetFailedEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-failed-events.mjs","names":[],"sources":["../../src/actions/get-failed-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91GetFailedEventsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination. Starts at 1. Use this to navigate through multiple pages of failed events.\").optional(),\n limit: z.number().int().default(10).describe(\"Maximum number of failed events to return per page. Must be between 1 and 100. Default is 10.\").optional(),\n end_date: z.string().describe(\"Optional end date to filter failed events (format: YYYY-MM-DD). Only events that failed on or before this date will be included.\").optional(),\n start_date: z.string().describe(\"Optional start date to filter failed events (format: YYYY-MM-DD). Only events that failed on or after this date will be included.\").optional(),\n campaign_id: z.string().describe(\"The unique identifier of the Segmento campaign. This is the campaign ID returned when creating or listing campaigns.\"),\n}).describe(\"Request model for retrieving failed Segmento user events for a specific campaign.\");\nconst Msg91GetFailedEvents_FailedEventSchema = z.object({\n reason: z.string().describe(\"Detailed reason explaining why the event failed (e.g., validation error, invalid recipient, missing required field).\").nullable(),\n eventId: z.string().describe(\"Unique identifier for this specific failed event instance.\").nullable(),\n recipient: z.string().describe(\"The intended recipient of the event (email address, phone number, or user identifier).\").nullable(),\n timestamp: z.string().describe(\"Timestamp when the event failure occurred, in ISO8601 format (e.g., 2024-01-30T12:00:00Z).\").nullable(),\n}).passthrough();\nconst Msg91GetFailedEvents_FailedEventsDataSchema = z.object({\n page: z.number().int().describe(\"Current page number.\").nullable(),\n limit: z.number().int().describe(\"Number of records per page.\").nullable(),\n total: z.number().int().default(0).describe(\"Total number of failed events.\").nullable().optional(),\n failedEvents: z.array(Msg91GetFailedEvents_FailedEventSchema).describe(\"List of failed event objects.\").nullable().optional(),\n}).passthrough();\nexport const Msg91GetFailedEventsOutput = z.object({\n data: Msg91GetFailedEvents_FailedEventsDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the request (e.g., 'success', 'error').\").nullable(),\n message: z.string().describe(\"Additional information about the response.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91GetFailedEvents: AppAction<\n typeof Msg91GetFailedEventsInput,\n typeof Msg91GetFailedEventsOutput,\n typeof msg91.credential\n> = action(\"MSG91_GET_FAILED_EVENTS\", {\n slug: \"msg91-get-failed-events\",\n name: \"Get Failed Events\",\n description: \"Retrieve failed user events from a MSG91 Segmento campaign. This tool fetches events that failed to process during campaign execution, helping you identify and debug issues such as validation errors, invalid recipients, or missing required data. Use this when you need to: - Investigate why certain events didn't process successfully - Get detailed failure reasons for troubleshooting - Monitor campaign health and identify patterns in failures - Retrieve failed events within a specific date range Results are paginated for large datasets. Requires a valid campaign_id from a Segmento campaign.\",\n input: Msg91GetFailedEventsInput,\n output: Msg91GetFailedEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACvJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CAC3K,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;AACzJ,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,yCAAyC,EAAE,OAAO;CACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC7J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,cAAc,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91ListCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of campaigns per page.\").optional(),\n}).describe(\"Request model for listing Segmento campaigns with optional pagination parameters.\");\nconst Msg91ListCampaigns_CampaignSchema = z.object({\n name: z.string().describe(\"Name of the campaign.\").nullable(),\n campaign_id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n}).passthrough().describe(\"Represents a Segmento campaign.\");\nconst Msg91ListCampaigns_CampaignListDataSchema = z.object({\n total: z.number().int().describe(\"Total number of campaigns.\").nullable(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable(),\n campaigns: z.array(Msg91ListCampaigns_CampaignSchema).describe(\"List of campaigns.\"),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination details and list of campaigns.\");\nexport const Msg91ListCampaignsOutput = z.object({\n code: z.string().describe(\"Error code (present in error responses).\").nullable().optional(),\n data: Msg91ListCampaigns_CampaignListDataSchema.nullable().optional(),\n errors: z.string().describe(\"Error message (present in error responses).\").nullable().optional(),\n status: z.string().describe(\"Status of the response ('success' or 'fail').\").nullable(),\n hasError: z.boolean().describe(\"Indicates if there's an error (present in error responses).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Segmento campaigns.\");\n\nexport const msg91ListCampaigns = action(\"MSG91_LIST_CAMPAIGNS\", {\n slug: \"msg91-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list all campaigns in Segmento. Use when you need to retrieve campaigns with pagination support.\",\n input: Msg91ListCampaignsInput,\n output: Msg91ListCampaignsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91ListCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of campaigns per page.\").optional(),\n}).describe(\"Request model for listing Segmento campaigns with optional pagination parameters.\");\nconst Msg91ListCampaigns_CampaignSchema = z.object({\n name: z.string().describe(\"Name of the campaign.\").nullable(),\n campaign_id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n}).passthrough().describe(\"Represents a Segmento campaign.\");\nconst Msg91ListCampaigns_CampaignListDataSchema = z.object({\n total: z.number().int().describe(\"Total number of campaigns.\").nullable(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable(),\n campaigns: z.array(Msg91ListCampaigns_CampaignSchema).describe(\"List of campaigns.\"),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination details and list of campaigns.\");\nexport const Msg91ListCampaignsOutput = z.object({\n code: z.string().describe(\"Error code (present in error responses).\").nullable().optional(),\n data: Msg91ListCampaigns_CampaignListDataSchema.nullable().optional(),\n errors: z.string().describe(\"Error message (present in error responses).\").nullable().optional(),\n status: z.string().describe(\"Status of the response ('success' or 'fail').\").nullable(),\n hasError: z.boolean().describe(\"Indicates if there's an error (present in error responses).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Segmento campaigns.\");\n\nexport const msg91ListCampaigns: AppAction<\n typeof Msg91ListCampaignsInput,\n typeof Msg91ListCampaignsOutput,\n typeof msg91.credential\n> = action(\"MSG91_LIST_CAMPAIGNS\", {\n slug: \"msg91-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list all campaigns in Segmento. Use when you need to retrieve campaigns with pagination support.\",\n input: Msg91ListCampaignsInput,\n output: Msg91ListCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oBAAoB;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-campaigns.d.ts
|
|
@@ -20,10 +22,7 @@ declare const Msg91ListCampaignsOutput: z.ZodObject<{
|
|
|
20
22
|
status: z.ZodNullable<z.ZodString>;
|
|
21
23
|
hasError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const msg91ListCampaigns:
|
|
24
|
-
page?: number | undefined;
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const msg91ListCampaigns: AppAction<typeof Msg91ListCampaignsInput, typeof Msg91ListCampaignsOutput, typeof msg91.credential>;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { msg91ListCampaigns };
|
|
29
28
|
//# sourceMappingURL=list-campaigns.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.d.cts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAQxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-campaigns.d.ts
|
|
@@ -20,10 +22,7 @@ declare const Msg91ListCampaignsOutput: z.ZodObject<{
|
|
|
20
22
|
status: z.ZodNullable<z.ZodString>;
|
|
21
23
|
hasError: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const msg91ListCampaigns:
|
|
24
|
-
page?: number | undefined;
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const msg91ListCampaigns: AppAction<typeof Msg91ListCampaignsInput, typeof Msg91ListCampaignsOutput, typeof msg91.credential>;
|
|
27
26
|
//#endregion
|
|
28
27
|
export { msg91ListCampaigns };
|
|
29
28
|
//# sourceMappingURL=list-campaigns.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.d.mts","names":[],"sources":["../../src/actions/list-campaigns.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAQxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91ListCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of campaigns per page.\").optional(),\n}).describe(\"Request model for listing Segmento campaigns with optional pagination parameters.\");\nconst Msg91ListCampaigns_CampaignSchema = z.object({\n name: z.string().describe(\"Name of the campaign.\").nullable(),\n campaign_id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n}).passthrough().describe(\"Represents a Segmento campaign.\");\nconst Msg91ListCampaigns_CampaignListDataSchema = z.object({\n total: z.number().int().describe(\"Total number of campaigns.\").nullable(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable(),\n campaigns: z.array(Msg91ListCampaigns_CampaignSchema).describe(\"List of campaigns.\"),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination details and list of campaigns.\");\nexport const Msg91ListCampaignsOutput = z.object({\n code: z.string().describe(\"Error code (present in error responses).\").nullable().optional(),\n data: Msg91ListCampaigns_CampaignListDataSchema.nullable().optional(),\n errors: z.string().describe(\"Error message (present in error responses).\").nullable().optional(),\n status: z.string().describe(\"Status of the response ('success' or 'fail').\").nullable(),\n hasError: z.boolean().describe(\"Indicates if there's an error (present in error responses).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Segmento campaigns.\");\n\nexport const msg91ListCampaigns = action(\"MSG91_LIST_CAMPAIGNS\", {\n slug: \"msg91-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list all campaigns in Segmento. Use when you need to retrieve campaigns with pagination support.\",\n input: Msg91ListCampaignsInput,\n output: Msg91ListCampaignsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns.mjs","names":[],"sources":["../../src/actions/list-campaigns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91ListCampaignsInput = z.object({\n page: z.number().int().describe(\"Page number for pagination.\").optional(),\n limit: z.number().int().describe(\"Number of campaigns per page.\").optional(),\n}).describe(\"Request model for listing Segmento campaigns with optional pagination parameters.\");\nconst Msg91ListCampaigns_CampaignSchema = z.object({\n name: z.string().describe(\"Name of the campaign.\").nullable(),\n campaign_id: z.number().int().describe(\"Unique identifier of the campaign.\").nullable(),\n}).passthrough().describe(\"Represents a Segmento campaign.\");\nconst Msg91ListCampaigns_CampaignListDataSchema = z.object({\n total: z.number().int().describe(\"Total number of campaigns.\").nullable(),\n per_page: z.number().int().describe(\"Number of campaigns per page.\").nullable(),\n campaigns: z.array(Msg91ListCampaigns_CampaignSchema).describe(\"List of campaigns.\"),\n current_page: z.number().int().describe(\"Current page number.\").nullable(),\n}).passthrough().describe(\"Pagination details and list of campaigns.\");\nexport const Msg91ListCampaignsOutput = z.object({\n code: z.string().describe(\"Error code (present in error responses).\").nullable().optional(),\n data: Msg91ListCampaigns_CampaignListDataSchema.nullable().optional(),\n errors: z.string().describe(\"Error message (present in error responses).\").nullable().optional(),\n status: z.string().describe(\"Status of the response ('success' or 'fail').\").nullable(),\n hasError: z.boolean().describe(\"Indicates if there's an error (present in error responses).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Segmento campaigns.\");\n\nexport const msg91ListCampaigns: AppAction<\n typeof Msg91ListCampaignsInput,\n typeof Msg91ListCampaignsOutput,\n typeof msg91.credential\n> = action(\"MSG91_LIST_CAMPAIGNS\", {\n slug: \"msg91-list-campaigns\",\n name: \"List Campaigns\",\n description: \"Tool to list all campaigns in Segmento. Use when you need to retrieve campaigns with pagination support.\",\n input: Msg91ListCampaignsInput,\n output: Msg91ListCampaignsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oBAAoB;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AASrE,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,MAAM,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-otp.cjs","names":["z","action"],"sources":["../../src/actions/resend-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91ResendOtpInput = z.object({\n mobile: z.string().describe(\"Mobile number to resend OTP to, in international format without '+' prefix (e.g., '919999999999' for India). Must be the same number that received the original OTP.\"),\n retrytype: z.enum([\"text\", \"voice\"]).describe(\"Method to resend the OTP: 'text' for SMS message or 'voice' for voice call. Voice calls are useful when SMS delivery fails or for accessibility.\"),\n});\nexport const Msg91ResendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is resent successfully, 'error' when request fails. Check this field first to determine if the OTP was resent.\").nullable(),\n message: z.string().describe(\"For successful requests: confirmation message like 'otp_sent_successfully' or a request identifier. For failed requests: error description explaining why the resend failed.\").nullable(),\n}).passthrough();\n\nexport const msg91ResendOtp = action(\"MSG91_RESEND_OTP\", {\n slug: \"msg91-resend-otp\",\n name: \"Resend OTP\",\n description: \"Resend OTP to the same mobile number via text message or voice call. Use when the original OTP was not received or expired, and the user needs a new code sent to the same number.\",\n input: Msg91ResendOtpInput,\n output: Msg91ResendOtpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resend-otp.cjs","names":["z","action"],"sources":["../../src/actions/resend-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91ResendOtpInput = z.object({\n mobile: z.string().describe(\"Mobile number to resend OTP to, in international format without '+' prefix (e.g., '919999999999' for India). Must be the same number that received the original OTP.\"),\n retrytype: z.enum([\"text\", \"voice\"]).describe(\"Method to resend the OTP: 'text' for SMS message or 'voice' for voice call. Voice calls are useful when SMS delivery fails or for accessibility.\"),\n});\nexport const Msg91ResendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is resent successfully, 'error' when request fails. Check this field first to determine if the OTP was resent.\").nullable(),\n message: z.string().describe(\"For successful requests: confirmation message like 'otp_sent_successfully' or a request identifier. For failed requests: error description explaining why the resend failed.\").nullable(),\n}).passthrough();\n\nexport const msg91ResendOtp: AppAction<\n typeof Msg91ResendOtpInput,\n typeof Msg91ResendOtpOutput,\n typeof msg91.credential\n> = action(\"MSG91_RESEND_OTP\", {\n slug: \"msg91-resend-otp\",\n name: \"Resend OTP\",\n description: \"Resend OTP to the same mobile number via text message or voice call. Use when the original OTP was not received or expired, and the user needs a new code sent to the same number.\",\n input: Msg91ResendOtpInput,\n output: Msg91ResendOtpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;CAClM,WAAWA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,kJAAkJ;AAClM,CAAC;AACD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC9L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AACxN,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/resend-otp.d.ts
|
|
@@ -12,10 +14,7 @@ declare const Msg91ResendOtpOutput: z.ZodObject<{
|
|
|
12
14
|
type: z.ZodNullable<z.ZodString>;
|
|
13
15
|
message: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const msg91ResendOtp:
|
|
16
|
-
mobile: string;
|
|
17
|
-
retrytype: "text" | "voice";
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const msg91ResendOtp: AppAction<typeof Msg91ResendOtpInput, typeof Msg91ResendOtpOutput, typeof msg91.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { msg91ResendOtp };
|
|
21
20
|
//# sourceMappingURL=resend-otp.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-otp.d.cts","names":[],"sources":["../../src/actions/resend-otp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resend-otp.d.cts","names":[],"sources":["../../src/actions/resend-otp.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;cAInB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/resend-otp.d.ts
|
|
@@ -12,10 +14,7 @@ declare const Msg91ResendOtpOutput: z.ZodObject<{
|
|
|
12
14
|
type: z.ZodNullable<z.ZodString>;
|
|
13
15
|
message: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const msg91ResendOtp:
|
|
16
|
-
mobile: string;
|
|
17
|
-
retrytype: "text" | "voice";
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const msg91ResendOtp: AppAction<typeof Msg91ResendOtpInput, typeof Msg91ResendOtpOutput, typeof msg91.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { msg91ResendOtp };
|
|
21
20
|
//# sourceMappingURL=resend-otp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-otp.d.mts","names":[],"sources":["../../src/actions/resend-otp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resend-otp.d.mts","names":[],"sources":["../../src/actions/resend-otp.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;cAInB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resend-otp.mjs","names":[],"sources":["../../src/actions/resend-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91ResendOtpInput = z.object({\n mobile: z.string().describe(\"Mobile number to resend OTP to, in international format without '+' prefix (e.g., '919999999999' for India). Must be the same number that received the original OTP.\"),\n retrytype: z.enum([\"text\", \"voice\"]).describe(\"Method to resend the OTP: 'text' for SMS message or 'voice' for voice call. Voice calls are useful when SMS delivery fails or for accessibility.\"),\n});\nexport const Msg91ResendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is resent successfully, 'error' when request fails. Check this field first to determine if the OTP was resent.\").nullable(),\n message: z.string().describe(\"For successful requests: confirmation message like 'otp_sent_successfully' or a request identifier. For failed requests: error description explaining why the resend failed.\").nullable(),\n}).passthrough();\n\nexport const msg91ResendOtp = action(\"MSG91_RESEND_OTP\", {\n slug: \"msg91-resend-otp\",\n name: \"Resend OTP\",\n description: \"Resend OTP to the same mobile number via text message or voice call. Use when the original OTP was not received or expired, and the user needs a new code sent to the same number.\",\n input: Msg91ResendOtpInput,\n output: Msg91ResendOtpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"resend-otp.mjs","names":[],"sources":["../../src/actions/resend-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91ResendOtpInput = z.object({\n mobile: z.string().describe(\"Mobile number to resend OTP to, in international format without '+' prefix (e.g., '919999999999' for India). Must be the same number that received the original OTP.\"),\n retrytype: z.enum([\"text\", \"voice\"]).describe(\"Method to resend the OTP: 'text' for SMS message or 'voice' for voice call. Voice calls are useful when SMS delivery fails or for accessibility.\"),\n});\nexport const Msg91ResendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is resent successfully, 'error' when request fails. Check this field first to determine if the OTP was resent.\").nullable(),\n message: z.string().describe(\"For successful requests: confirmation message like 'otp_sent_successfully' or a request identifier. For failed requests: error description explaining why the resend failed.\").nullable(),\n}).passthrough();\n\nexport const msg91ResendOtp: AppAction<\n typeof Msg91ResendOtpInput,\n typeof Msg91ResendOtpOutput,\n typeof msg91.credential\n> = action(\"MSG91_RESEND_OTP\", {\n slug: \"msg91-resend-otp\",\n name: \"Resend OTP\",\n description: \"Resend OTP to the same mobile number via text message or voice call. Use when the original OTP was not received or expired, and the user needs a new code sent to the same number.\",\n input: Msg91ResendOtpInput,\n output: Msg91ResendOtpOutput,\n});\n"],"mappings":";;;AAeA,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiC,EAAE,OAAO;EAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;EAClM,WAAW,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CAClM,CAcS;CACP,QAdkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;EAC9L,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CACxN,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-otp.cjs","names":["z","action"],"sources":["../../src/actions/send-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91SendOtpInput = z.object({\n otp: z.string().describe(\"Custom OTP value to send. If not provided, MSG91 will auto-generate an OTP based on otp_length parameter. Use this when you need to send a specific OTP code.\").optional(),\n mobile: z.string().describe(\"Recipient mobile number in international format with country code (e.g., '919999999999' for India, '15551234567' for USA). Do not include '+' prefix or spaces.\"),\n userip: z.string().describe(\"End user's IP address for security tracking and fraud prevention. Helps identify the request origin.\").optional(),\n unicode: z.number().int().describe(\"Set to 1 for sending SMS in non-English languages (Hindi, Arabic, Chinese, etc.). Set to 0 for English only. Default: 0\").optional(),\n invisible: z.number().int().describe(\"For MOBILE APP only (do not use for web browsers). Set to 1 to enable invisible OTP verification, 0 to disable. Default: 0\").optional(),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Minimum: 1 minute, Maximum: 10080 minutes (7 days), Default: 60 minutes. After this duration, the OTP becomes invalid.\"),\n otp_length: z.number().int().describe(\"Number of digits in the auto-generated OTP. Minimum: 4, Maximum: 9, Default: 4. Only applies when 'otp' parameter is not provided.\").optional(),\n template_id: z.string().describe(\"OTP template ID from the OTP section of MSG91 dashboard. This template defines the SMS content format with OTP placeholder.\"),\n realTimeResponse: z.number().int().describe(\"Set to 1 to enable real-time response due to caching. This provides immediate delivery status. Set to 0 for standard response.\"),\n});\nexport const Msg91SendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is sent successfully, 'error' when request fails. Check this field to determine if the OTP was delivered.\").nullable(),\n message: z.string().describe(\"For error responses: error description explaining why the OTP sending failed. Not present in successful responses.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request ID for tracking the OTP request. Present in successful responses.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91SendOtp = action(\"MSG91_SEND_OTP\", {\n slug: \"msg91-send-otp\",\n name: \"Send OTP\",\n description: \"Tool to send OTP (One-Time Password) to a mobile number using a pre-configured MSG91 template. Use when you need to verify user phone numbers for authentication, account registration, password reset, or transaction confirmation.\",\n input: Msg91SendOtpInput,\n output: Msg91SendOtpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-otp.cjs","names":["z","action"],"sources":["../../src/actions/send-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91SendOtpInput = z.object({\n otp: z.string().describe(\"Custom OTP value to send. If not provided, MSG91 will auto-generate an OTP based on otp_length parameter. Use this when you need to send a specific OTP code.\").optional(),\n mobile: z.string().describe(\"Recipient mobile number in international format with country code (e.g., '919999999999' for India, '15551234567' for USA). Do not include '+' prefix or spaces.\"),\n userip: z.string().describe(\"End user's IP address for security tracking and fraud prevention. Helps identify the request origin.\").optional(),\n unicode: z.number().int().describe(\"Set to 1 for sending SMS in non-English languages (Hindi, Arabic, Chinese, etc.). Set to 0 for English only. Default: 0\").optional(),\n invisible: z.number().int().describe(\"For MOBILE APP only (do not use for web browsers). Set to 1 to enable invisible OTP verification, 0 to disable. Default: 0\").optional(),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Minimum: 1 minute, Maximum: 10080 minutes (7 days), Default: 60 minutes. After this duration, the OTP becomes invalid.\"),\n otp_length: z.number().int().describe(\"Number of digits in the auto-generated OTP. Minimum: 4, Maximum: 9, Default: 4. Only applies when 'otp' parameter is not provided.\").optional(),\n template_id: z.string().describe(\"OTP template ID from the OTP section of MSG91 dashboard. This template defines the SMS content format with OTP placeholder.\"),\n realTimeResponse: z.number().int().describe(\"Set to 1 to enable real-time response due to caching. This provides immediate delivery status. Set to 0 for standard response.\"),\n});\nexport const Msg91SendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is sent successfully, 'error' when request fails. Check this field to determine if the OTP was delivered.\").nullable(),\n message: z.string().describe(\"For error responses: error description explaining why the OTP sending failed. Not present in successful responses.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request ID for tracking the OTP request. Present in successful responses.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91SendOtp: AppAction<\n typeof Msg91SendOtpInput,\n typeof Msg91SendOtpOutput,\n typeof msg91.credential\n> = action(\"MSG91_SEND_OTP\", {\n slug: \"msg91-send-otp\",\n name: \"Send OTP\",\n description: \"Tool to send OTP (One-Time Password) to a mobile number using a pre-configured MSG91 template. Use when you need to verify user phone numbers for authentication, account registration, password reset, or transaction confirmation.\",\n input: Msg91SendOtpInput,\n output: Msg91SendOtpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO;CACxC,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;CACnM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;CAC7L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CACvK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC5K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oJAAoJ;CAC1L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CACrL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;CAC9J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI;AAC9K,CAAC;AACD,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CACzL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,eAITC,eAAAA,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-otp.d.ts
|
|
@@ -17,17 +19,7 @@ declare const Msg91SendOtpOutput: z.ZodObject<{
|
|
|
17
19
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const msg91SendOtp:
|
|
21
|
-
mobile: string;
|
|
22
|
-
otp_expiry: number;
|
|
23
|
-
template_id: string;
|
|
24
|
-
realTimeResponse: number;
|
|
25
|
-
otp?: string | undefined;
|
|
26
|
-
userip?: string | undefined;
|
|
27
|
-
unicode?: number | undefined;
|
|
28
|
-
invisible?: number | undefined;
|
|
29
|
-
otp_length?: number | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const msg91SendOtp: AppAction<typeof Msg91SendOtpInput, typeof Msg91SendOtpOutput, typeof msg91.credential>;
|
|
31
23
|
//#endregion
|
|
32
24
|
export { msg91SendOtp };
|
|
33
25
|
//# sourceMappingURL=send-otp.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-otp.d.cts","names":[],"sources":["../../src/actions/send-otp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-otp.d.cts","names":[],"sources":["../../src/actions/send-otp.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;cAMlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-otp.d.ts
|
|
@@ -17,17 +19,7 @@ declare const Msg91SendOtpOutput: z.ZodObject<{
|
|
|
17
19
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const msg91SendOtp:
|
|
21
|
-
mobile: string;
|
|
22
|
-
otp_expiry: number;
|
|
23
|
-
template_id: string;
|
|
24
|
-
realTimeResponse: number;
|
|
25
|
-
otp?: string | undefined;
|
|
26
|
-
userip?: string | undefined;
|
|
27
|
-
unicode?: number | undefined;
|
|
28
|
-
invisible?: number | undefined;
|
|
29
|
-
otp_length?: number | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
22
|
+
declare const msg91SendOtp: AppAction<typeof Msg91SendOtpInput, typeof Msg91SendOtpOutput, typeof msg91.credential>;
|
|
31
23
|
//#endregion
|
|
32
24
|
export { msg91SendOtp };
|
|
33
25
|
//# sourceMappingURL=send-otp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-otp.d.mts","names":[],"sources":["../../src/actions/send-otp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-otp.d.mts","names":[],"sources":["../../src/actions/send-otp.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;cAWjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;cAMlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-otp.mjs","names":[],"sources":["../../src/actions/send-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91SendOtpInput = z.object({\n otp: z.string().describe(\"Custom OTP value to send. If not provided, MSG91 will auto-generate an OTP based on otp_length parameter. Use this when you need to send a specific OTP code.\").optional(),\n mobile: z.string().describe(\"Recipient mobile number in international format with country code (e.g., '919999999999' for India, '15551234567' for USA). Do not include '+' prefix or spaces.\"),\n userip: z.string().describe(\"End user's IP address for security tracking and fraud prevention. Helps identify the request origin.\").optional(),\n unicode: z.number().int().describe(\"Set to 1 for sending SMS in non-English languages (Hindi, Arabic, Chinese, etc.). Set to 0 for English only. Default: 0\").optional(),\n invisible: z.number().int().describe(\"For MOBILE APP only (do not use for web browsers). Set to 1 to enable invisible OTP verification, 0 to disable. Default: 0\").optional(),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Minimum: 1 minute, Maximum: 10080 minutes (7 days), Default: 60 minutes. After this duration, the OTP becomes invalid.\"),\n otp_length: z.number().int().describe(\"Number of digits in the auto-generated OTP. Minimum: 4, Maximum: 9, Default: 4. Only applies when 'otp' parameter is not provided.\").optional(),\n template_id: z.string().describe(\"OTP template ID from the OTP section of MSG91 dashboard. This template defines the SMS content format with OTP placeholder.\"),\n realTimeResponse: z.number().int().describe(\"Set to 1 to enable real-time response due to caching. This provides immediate delivery status. Set to 0 for standard response.\"),\n});\nexport const Msg91SendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is sent successfully, 'error' when request fails. Check this field to determine if the OTP was delivered.\").nullable(),\n message: z.string().describe(\"For error responses: error description explaining why the OTP sending failed. Not present in successful responses.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request ID for tracking the OTP request. Present in successful responses.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91SendOtp = action(\"MSG91_SEND_OTP\", {\n slug: \"msg91-send-otp\",\n name: \"Send OTP\",\n description: \"Tool to send OTP (One-Time Password) to a mobile number using a pre-configured MSG91 template. Use when you need to verify user phone numbers for authentication, account registration, password reset, or transaction confirmation.\",\n input: Msg91SendOtpInput,\n output: Msg91SendOtpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-otp.mjs","names":[],"sources":["../../src/actions/send-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91SendOtpInput = z.object({\n otp: z.string().describe(\"Custom OTP value to send. If not provided, MSG91 will auto-generate an OTP based on otp_length parameter. Use this when you need to send a specific OTP code.\").optional(),\n mobile: z.string().describe(\"Recipient mobile number in international format with country code (e.g., '919999999999' for India, '15551234567' for USA). Do not include '+' prefix or spaces.\"),\n userip: z.string().describe(\"End user's IP address for security tracking and fraud prevention. Helps identify the request origin.\").optional(),\n unicode: z.number().int().describe(\"Set to 1 for sending SMS in non-English languages (Hindi, Arabic, Chinese, etc.). Set to 0 for English only. Default: 0\").optional(),\n invisible: z.number().int().describe(\"For MOBILE APP only (do not use for web browsers). Set to 1 to enable invisible OTP verification, 0 to disable. Default: 0\").optional(),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Minimum: 1 minute, Maximum: 10080 minutes (7 days), Default: 60 minutes. After this duration, the OTP becomes invalid.\"),\n otp_length: z.number().int().describe(\"Number of digits in the auto-generated OTP. Minimum: 4, Maximum: 9, Default: 4. Only applies when 'otp' parameter is not provided.\").optional(),\n template_id: z.string().describe(\"OTP template ID from the OTP section of MSG91 dashboard. This template defines the SMS content format with OTP placeholder.\"),\n realTimeResponse: z.number().int().describe(\"Set to 1 to enable real-time response due to caching. This provides immediate delivery status. Set to 0 for standard response.\"),\n});\nexport const Msg91SendOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is sent successfully, 'error' when request fails. Check this field to determine if the OTP was delivered.\").nullable(),\n message: z.string().describe(\"For error responses: error description explaining why the OTP sending failed. Not present in successful responses.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request ID for tracking the OTP request. Present in successful responses.\").nullable().optional(),\n}).passthrough();\n\nexport const msg91SendOtp: AppAction<\n typeof Msg91SendOtpInput,\n typeof Msg91SendOtpOutput,\n typeof msg91.credential\n> = action(\"MSG91_SEND_OTP\", {\n slug: \"msg91-send-otp\",\n name: \"Send OTP\",\n description: \"Tool to send OTP (One-Time Password) to a mobile number using a pre-configured MSG91 template. Use when you need to verify user phone numbers for authentication, account registration, password reset, or transaction confirmation.\",\n input: Msg91SendOtpInput,\n output: Msg91SendOtpOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,eAIT,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzB+B,EAAE,OAAO;EACxC,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;EACnM,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;EAC7L,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EACvK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;EAC5K,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oJAAoJ;EAC1L,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EACrL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;EAC9J,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI;CAC9K,CAeS;CACP,QAfgC,EAAE,OAAO;EACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;EACzL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvK,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-sms-v5.cjs","names":["z","action"],"sources":["../../src/actions/send-sms-v5.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91SendSmsV5Input = z.object({\n short_url: z.string().describe(\"Enable URL shortening in SMS: '1' to enable, '0' to disable. When enabled, long URLs in the message are automatically shortened to save characters. Default: '0'\").optional(),\n recipients: z.array(z.object({\n VAR1: z.string().describe(\"First dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR1##).\").optional(),\n VAR2: z.string().describe(\"Second dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR2##).\").optional(),\n VAR3: z.string().describe(\"Third dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR3##).\").optional(),\n VAR4: z.string().describe(\"Fourth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR4##).\").optional(),\n VAR5: z.string().describe(\"Fifth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR5##).\").optional(),\n mobiles: z.string().describe(\"Recipient mobile number in international format without '+' prefix (e.g., '919999999999' for India, '15551234567' for USA). Use country code followed by mobile number.\"),\n}).passthrough().describe(\"Model for individual recipient details with mobile number and template variables.\")).describe(\"Array of recipient objects containing mobile numbers and dynamic variable values. Each recipient can have different variable values for personalized messages.\"),\n template_id: z.string().describe(\"SMS template ID (Flow ID) from MSG91 dashboard. Create templates at https://control.msg91.com/flow/. Template must be approved before use.\"),\n realTimeResponse: z.string().describe(\"Enable real-time delivery response: '1' to get immediate delivery status for each message. Note: This may increase response time. Default: '0' (asynchronous)\").optional(),\n short_url_expiry: z.number().int().describe(\"Short URL expiry time in seconds. Only applicable when short_url is enabled. After expiry, the shortened URL will no longer redirect. Default: no expiry\").optional(),\n}).describe(\"Request model for sending SMS using MSG91 Flow API v5 with template-based messaging.\");\nexport const Msg91SendSmsV5Output = z.object({\n type: z.string().describe(\"Response status type: 'success' when SMS is queued for delivery, 'error' when request fails. Check this field to determine if the SMS was accepted.\").nullable().optional(),\n message: z.string().describe(\"For successful requests: unique request ID for tracking delivery status. For failed requests: error description explaining why the SMS was rejected.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier for tracking the SMS delivery status. Use this ID to query delivery reports and track message status.\").nullable().optional(),\n}).passthrough().describe(\"Response model after sending SMS via Flow API v5.\");\n\nexport const msg91SendSmsV5 = action(\"MSG91_SEND_SMS_V5\", {\n slug: \"msg91-send-sms-v5\",\n name: \"Send SMS via Flow (V5)\",\n description: \"Send SMS messages using pre-defined templates via MSG91 Flow API v5. Use when you need to send template-based SMS with dynamic variable substitution to single or multiple recipients. Templates must be created and approved in MSG91 dashboard before use.\",\n input: Msg91SendSmsV5Input,\n output: Msg91SendSmsV5Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-sms-v5.cjs","names":["z","action"],"sources":["../../src/actions/send-sms-v5.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91SendSmsV5Input = z.object({\n short_url: z.string().describe(\"Enable URL shortening in SMS: '1' to enable, '0' to disable. When enabled, long URLs in the message are automatically shortened to save characters. Default: '0'\").optional(),\n recipients: z.array(z.object({\n VAR1: z.string().describe(\"First dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR1##).\").optional(),\n VAR2: z.string().describe(\"Second dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR2##).\").optional(),\n VAR3: z.string().describe(\"Third dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR3##).\").optional(),\n VAR4: z.string().describe(\"Fourth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR4##).\").optional(),\n VAR5: z.string().describe(\"Fifth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR5##).\").optional(),\n mobiles: z.string().describe(\"Recipient mobile number in international format without '+' prefix (e.g., '919999999999' for India, '15551234567' for USA). Use country code followed by mobile number.\"),\n}).passthrough().describe(\"Model for individual recipient details with mobile number and template variables.\")).describe(\"Array of recipient objects containing mobile numbers and dynamic variable values. Each recipient can have different variable values for personalized messages.\"),\n template_id: z.string().describe(\"SMS template ID (Flow ID) from MSG91 dashboard. Create templates at https://control.msg91.com/flow/. Template must be approved before use.\"),\n realTimeResponse: z.string().describe(\"Enable real-time delivery response: '1' to get immediate delivery status for each message. Note: This may increase response time. Default: '0' (asynchronous)\").optional(),\n short_url_expiry: z.number().int().describe(\"Short URL expiry time in seconds. Only applicable when short_url is enabled. After expiry, the shortened URL will no longer redirect. Default: no expiry\").optional(),\n}).describe(\"Request model for sending SMS using MSG91 Flow API v5 with template-based messaging.\");\nexport const Msg91SendSmsV5Output = z.object({\n type: z.string().describe(\"Response status type: 'success' when SMS is queued for delivery, 'error' when request fails. Check this field to determine if the SMS was accepted.\").nullable().optional(),\n message: z.string().describe(\"For successful requests: unique request ID for tracking delivery status. For failed requests: error description explaining why the SMS was rejected.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier for tracking the SMS delivery status. Use this ID to query delivery reports and track message status.\").nullable().optional(),\n}).passthrough().describe(\"Response model after sending SMS via Flow API v5.\");\n\nexport const msg91SendSmsV5: AppAction<\n typeof Msg91SendSmsV5Input,\n typeof Msg91SendSmsV5Output,\n typeof msg91.credential\n> = action(\"MSG91_SEND_SMS_V5\", {\n slug: \"msg91-send-sms-v5\",\n name: \"Send SMS via Flow (V5)\",\n description: \"Send SMS messages using pre-defined templates via MSG91 Flow API v5. Use when you need to send template-based SMS with dynamic variable substitution to single or multiple recipients. Templates must be created and approved in MSG91 dashboard before use.\",\n input: Msg91SendSmsV5Input,\n output: Msg91SendSmsV5Output,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC5M,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACnM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;EACpM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACnM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;EACpM,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;CACxM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,CAAC,SAAS,gKAAgK;CACvR,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CAC7K,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;CAChN,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AACnN,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-sms-v5.d.ts
|
|
@@ -20,21 +22,7 @@ declare const Msg91SendSmsV5Output: z.ZodObject<{
|
|
|
20
22
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const msg91SendSmsV5:
|
|
24
|
-
recipients: {
|
|
25
|
-
[x: string]: unknown;
|
|
26
|
-
mobiles: string;
|
|
27
|
-
VAR1?: string | undefined;
|
|
28
|
-
VAR2?: string | undefined;
|
|
29
|
-
VAR3?: string | undefined;
|
|
30
|
-
VAR4?: string | undefined;
|
|
31
|
-
VAR5?: string | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
template_id: string;
|
|
34
|
-
short_url?: string | undefined;
|
|
35
|
-
realTimeResponse?: string | undefined;
|
|
36
|
-
short_url_expiry?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const msg91SendSmsV5: AppAction<typeof Msg91SendSmsV5Input, typeof Msg91SendSmsV5Output, typeof msg91.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { msg91SendSmsV5 };
|
|
40
28
|
//# sourceMappingURL=send-sms-v5.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-sms-v5.d.cts","names":[],"sources":["../../src/actions/send-sms-v5.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-sms-v5.d.cts","names":[],"sources":["../../src/actions/send-sms-v5.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAcnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-sms-v5.d.ts
|
|
@@ -20,21 +22,7 @@ declare const Msg91SendSmsV5Output: z.ZodObject<{
|
|
|
20
22
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
request_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const msg91SendSmsV5:
|
|
24
|
-
recipients: {
|
|
25
|
-
[x: string]: unknown;
|
|
26
|
-
mobiles: string;
|
|
27
|
-
VAR1?: string | undefined;
|
|
28
|
-
VAR2?: string | undefined;
|
|
29
|
-
VAR3?: string | undefined;
|
|
30
|
-
VAR4?: string | undefined;
|
|
31
|
-
VAR5?: string | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
template_id: string;
|
|
34
|
-
short_url?: string | undefined;
|
|
35
|
-
realTimeResponse?: string | undefined;
|
|
36
|
-
short_url_expiry?: number | undefined;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const msg91SendSmsV5: AppAction<typeof Msg91SendSmsV5Input, typeof Msg91SendSmsV5Output, typeof msg91.credential>;
|
|
38
26
|
//#endregion
|
|
39
27
|
export { msg91SendSmsV5 };
|
|
40
28
|
//# sourceMappingURL=send-sms-v5.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-sms-v5.d.mts","names":[],"sources":["../../src/actions/send-sms-v5.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-sms-v5.d.mts","names":[],"sources":["../../src/actions/send-sms-v5.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAcnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAMpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-sms-v5.mjs","names":[],"sources":["../../src/actions/send-sms-v5.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91SendSmsV5Input = z.object({\n short_url: z.string().describe(\"Enable URL shortening in SMS: '1' to enable, '0' to disable. When enabled, long URLs in the message are automatically shortened to save characters. Default: '0'\").optional(),\n recipients: z.array(z.object({\n VAR1: z.string().describe(\"First dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR1##).\").optional(),\n VAR2: z.string().describe(\"Second dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR2##).\").optional(),\n VAR3: z.string().describe(\"Third dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR3##).\").optional(),\n VAR4: z.string().describe(\"Fourth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR4##).\").optional(),\n VAR5: z.string().describe(\"Fifth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR5##).\").optional(),\n mobiles: z.string().describe(\"Recipient mobile number in international format without '+' prefix (e.g., '919999999999' for India, '15551234567' for USA). Use country code followed by mobile number.\"),\n}).passthrough().describe(\"Model for individual recipient details with mobile number and template variables.\")).describe(\"Array of recipient objects containing mobile numbers and dynamic variable values. Each recipient can have different variable values for personalized messages.\"),\n template_id: z.string().describe(\"SMS template ID (Flow ID) from MSG91 dashboard. Create templates at https://control.msg91.com/flow/. Template must be approved before use.\"),\n realTimeResponse: z.string().describe(\"Enable real-time delivery response: '1' to get immediate delivery status for each message. Note: This may increase response time. Default: '0' (asynchronous)\").optional(),\n short_url_expiry: z.number().int().describe(\"Short URL expiry time in seconds. Only applicable when short_url is enabled. After expiry, the shortened URL will no longer redirect. Default: no expiry\").optional(),\n}).describe(\"Request model for sending SMS using MSG91 Flow API v5 with template-based messaging.\");\nexport const Msg91SendSmsV5Output = z.object({\n type: z.string().describe(\"Response status type: 'success' when SMS is queued for delivery, 'error' when request fails. Check this field to determine if the SMS was accepted.\").nullable().optional(),\n message: z.string().describe(\"For successful requests: unique request ID for tracking delivery status. For failed requests: error description explaining why the SMS was rejected.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier for tracking the SMS delivery status. Use this ID to query delivery reports and track message status.\").nullable().optional(),\n}).passthrough().describe(\"Response model after sending SMS via Flow API v5.\");\n\nexport const msg91SendSmsV5 = action(\"MSG91_SEND_SMS_V5\", {\n slug: \"msg91-send-sms-v5\",\n name: \"Send SMS via Flow (V5)\",\n description: \"Send SMS messages using pre-defined templates via MSG91 Flow API v5. Use when you need to send template-based SMS with dynamic variable substitution to single or multiple recipients. Templates must be created and approved in MSG91 dashboard before use.\",\n input: Msg91SendSmsV5Input,\n output: Msg91SendSmsV5Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-sms-v5.mjs","names":[],"sources":["../../src/actions/send-sms-v5.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91SendSmsV5Input = z.object({\n short_url: z.string().describe(\"Enable URL shortening in SMS: '1' to enable, '0' to disable. When enabled, long URLs in the message are automatically shortened to save characters. Default: '0'\").optional(),\n recipients: z.array(z.object({\n VAR1: z.string().describe(\"First dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR1##).\").optional(),\n VAR2: z.string().describe(\"Second dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR2##).\").optional(),\n VAR3: z.string().describe(\"Third dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR3##).\").optional(),\n VAR4: z.string().describe(\"Fourth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR4##).\").optional(),\n VAR5: z.string().describe(\"Fifth dynamic variable value to substitute in the SMS template. Variable names are case-sensitive and must match the template placeholders (e.g., ##VAR5##).\").optional(),\n mobiles: z.string().describe(\"Recipient mobile number in international format without '+' prefix (e.g., '919999999999' for India, '15551234567' for USA). Use country code followed by mobile number.\"),\n}).passthrough().describe(\"Model for individual recipient details with mobile number and template variables.\")).describe(\"Array of recipient objects containing mobile numbers and dynamic variable values. Each recipient can have different variable values for personalized messages.\"),\n template_id: z.string().describe(\"SMS template ID (Flow ID) from MSG91 dashboard. Create templates at https://control.msg91.com/flow/. Template must be approved before use.\"),\n realTimeResponse: z.string().describe(\"Enable real-time delivery response: '1' to get immediate delivery status for each message. Note: This may increase response time. Default: '0' (asynchronous)\").optional(),\n short_url_expiry: z.number().int().describe(\"Short URL expiry time in seconds. Only applicable when short_url is enabled. After expiry, the shortened URL will no longer redirect. Default: no expiry\").optional(),\n}).describe(\"Request model for sending SMS using MSG91 Flow API v5 with template-based messaging.\");\nexport const Msg91SendSmsV5Output = z.object({\n type: z.string().describe(\"Response status type: 'success' when SMS is queued for delivery, 'error' when request fails. Check this field to determine if the SMS was accepted.\").nullable().optional(),\n message: z.string().describe(\"For successful requests: unique request ID for tracking delivery status. For failed requests: error description explaining why the SMS was rejected.\").nullable().optional(),\n request_id: z.string().describe(\"Unique request identifier for tracking the SMS delivery status. Use this ID to query delivery reports and track message status.\").nullable().optional(),\n}).passthrough().describe(\"Response model after sending SMS via Flow API v5.\");\n\nexport const msg91SendSmsV5: AppAction<\n typeof Msg91SendSmsV5Input,\n typeof Msg91SendSmsV5Output,\n typeof msg91.credential\n> = action(\"MSG91_SEND_SMS_V5\", {\n slug: \"msg91-send-sms-v5\",\n name: \"Send SMS via Flow (V5)\",\n description: \"Send SMS messages using pre-defined templates via MSG91 Flow API v5. Use when you need to send template-based SMS with dynamic variable substitution to single or multiple recipients. Templates must be created and approved in MSG91 dashboard before use.\",\n input: Msg91SendSmsV5Input,\n output: Msg91SendSmsV5Output,\n});\n"],"mappings":";;;AA0BA,MAAa,iBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BiC,EAAE,OAAO;EAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EAC5M,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;GACnM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;GACpM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;GACnM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;GACpM,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;GACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EACxM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,CAAC,SAAS,gKAAgK;EACvR,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;EAC7K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+JAA+J,CAAC,CAAC,SAAS;EAChN,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACnN,CAAC,CAAC,CAAC,SAAS,sFAeH;CACP,QAfkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzM,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-otp.cjs","names":["z","action"],"sources":["../../src/actions/verify-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91VerifyOtpInput = z.object({\n otp: z.string().describe(\"The OTP code to verify. This is the code that was sent to the mobile number via Send OTP API and entered by the user.\"),\n mobile: z.string().describe(\"Mobile number in international format with country code (e.g., '919876543210' for India, '15551234567' for USA). Must match the number used in Send OTP. Do not include '+' prefix or spaces.\"),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Only required if you passed a custom expiry time when sending the OTP. If not provided, the default expiry time (60 minutes) is used.\").optional(),\n});\nexport const Msg91VerifyOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is verified successfully, 'error' when verification fails (invalid OTP, expired OTP, or other errors).\").nullable(),\n message: z.string().describe(\"Status message describing the verification result. For successful verification: 'number_verified_successfully' or similar. For failed verification: error description (e.g., 'invalid_otp', 'otp_expired').\").nullable(),\n}).passthrough();\n\nexport const msg91VerifyOtp = action(\"MSG91_VERIFY_OTP\", {\n slug: \"msg91-verify-otp\",\n name: \"Verify OTP\",\n description: \"Tool to verify an OTP (One-Time Password) sent to a mobile number. Use when you need to confirm that the OTP code entered by the user matches the one sent via Send OTP API.\",\n input: Msg91VerifyOtpInput,\n output: Msg91VerifyOtpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-otp.cjs","names":["z","action"],"sources":["../../src/actions/verify-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91VerifyOtpInput = z.object({\n otp: z.string().describe(\"The OTP code to verify. This is the code that was sent to the mobile number via Send OTP API and entered by the user.\"),\n mobile: z.string().describe(\"Mobile number in international format with country code (e.g., '919876543210' for India, '15551234567' for USA). Must match the number used in Send OTP. Do not include '+' prefix or spaces.\"),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Only required if you passed a custom expiry time when sending the OTP. If not provided, the default expiry time (60 minutes) is used.\").optional(),\n});\nexport const Msg91VerifyOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is verified successfully, 'error' when verification fails (invalid OTP, expired OTP, or other errors).\").nullable(),\n message: z.string().describe(\"Status message describing the verification result. For successful verification: 'number_verified_successfully' or similar. For failed verification: error description (e.g., 'invalid_otp', 'otp_expired').\").nullable(),\n}).passthrough();\n\nexport const msg91VerifyOtp: AppAction<\n typeof Msg91VerifyOtpInput,\n typeof Msg91VerifyOtpOutput,\n typeof msg91.credential\n> = action(\"MSG91_VERIFY_OTP\", {\n slug: \"msg91-verify-otp\",\n name: \"Verify OTP\",\n description: \"Tool to verify an OTP (One-Time Password) sent to a mobile number. Use when you need to confirm that the OTP code entered by the user matches the one sent via Send OTP API.\",\n input: Msg91VerifyOtpInput,\n output: Msg91VerifyOtpOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAChJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+LAA+L;CAC3N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;AACtN,CAAC;AACD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;AACvP,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/verify-otp.d.ts
|
|
@@ -10,11 +12,7 @@ declare const Msg91VerifyOtpOutput: z.ZodObject<{
|
|
|
10
12
|
type: z.ZodNullable<z.ZodString>;
|
|
11
13
|
message: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const msg91VerifyOtp:
|
|
14
|
-
otp: string;
|
|
15
|
-
mobile: string;
|
|
16
|
-
otp_expiry?: number | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const msg91VerifyOtp: AppAction<typeof Msg91VerifyOtpInput, typeof Msg91VerifyOtpOutput, typeof msg91.credential>;
|
|
18
16
|
//#endregion
|
|
19
17
|
export { msg91VerifyOtp };
|
|
20
18
|
//# sourceMappingURL=verify-otp.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-otp.d.cts","names":[],"sources":["../../src/actions/verify-otp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-otp.d.cts","names":[],"sources":["../../src/actions/verify-otp.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { msg91 } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/verify-otp.d.ts
|
|
@@ -10,11 +12,7 @@ declare const Msg91VerifyOtpOutput: z.ZodObject<{
|
|
|
10
12
|
type: z.ZodNullable<z.ZodString>;
|
|
11
13
|
message: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const msg91VerifyOtp:
|
|
14
|
-
otp: string;
|
|
15
|
-
mobile: string;
|
|
16
|
-
otp_expiry?: number | undefined;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const msg91VerifyOtp: AppAction<typeof Msg91VerifyOtpInput, typeof Msg91VerifyOtpOutput, typeof msg91.credential>;
|
|
18
16
|
//#endregion
|
|
19
17
|
export { msg91VerifyOtp };
|
|
20
18
|
//# sourceMappingURL=verify-otp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-otp.d.mts","names":[],"sources":["../../src/actions/verify-otp.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-otp.d.mts","names":[],"sources":["../../src/actions/verify-otp.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-otp.mjs","names":[],"sources":["../../src/actions/verify-otp.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const Msg91VerifyOtpInput = z.object({\n otp: z.string().describe(\"The OTP code to verify. This is the code that was sent to the mobile number via Send OTP API and entered by the user.\"),\n mobile: z.string().describe(\"Mobile number in international format with country code (e.g., '919876543210' for India, '15551234567' for USA). Must match the number used in Send OTP. Do not include '+' prefix or spaces.\"),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Only required if you passed a custom expiry time when sending the OTP. If not provided, the default expiry time (60 minutes) is used.\").optional(),\n});\nexport const Msg91VerifyOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is verified successfully, 'error' when verification fails (invalid OTP, expired OTP, or other errors).\").nullable(),\n message: z.string().describe(\"Status message describing the verification result. For successful verification: 'number_verified_successfully' or similar. For failed verification: error description (e.g., 'invalid_otp', 'otp_expired').\").nullable(),\n}).passthrough();\n\nexport const msg91VerifyOtp = action(\"MSG91_VERIFY_OTP\", {\n slug: \"msg91-verify-otp\",\n name: \"Verify OTP\",\n description: \"Tool to verify an OTP (One-Time Password) sent to a mobile number. Use when you need to confirm that the OTP code entered by the user matches the one sent via Send OTP API.\",\n input: Msg91VerifyOtpInput,\n output: Msg91VerifyOtpOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"verify-otp.mjs","names":[],"sources":["../../src/actions/verify-otp.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { msg91 } from \"../app\";\n\nexport const Msg91VerifyOtpInput = z.object({\n otp: z.string().describe(\"The OTP code to verify. This is the code that was sent to the mobile number via Send OTP API and entered by the user.\"),\n mobile: z.string().describe(\"Mobile number in international format with country code (e.g., '919876543210' for India, '15551234567' for USA). Must match the number used in Send OTP. Do not include '+' prefix or spaces.\"),\n otp_expiry: z.number().int().describe(\"OTP expiry time in minutes. Only required if you passed a custom expiry time when sending the OTP. If not provided, the default expiry time (60 minutes) is used.\").optional(),\n});\nexport const Msg91VerifyOtpOutput = z.object({\n type: z.string().describe(\"Response status type: 'success' when OTP is verified successfully, 'error' when verification fails (invalid OTP, expired OTP, or other errors).\").nullable(),\n message: z.string().describe(\"Status message describing the verification result. For successful verification: 'number_verified_successfully' or similar. For failed verification: error description (e.g., 'invalid_otp', 'otp_expired').\").nullable(),\n}).passthrough();\n\nexport const msg91VerifyOtp: AppAction<\n typeof Msg91VerifyOtpInput,\n typeof Msg91VerifyOtpOutput,\n typeof msg91.credential\n> = action(\"MSG91_VERIFY_OTP\", {\n slug: \"msg91-verify-otp\",\n name: \"Verify OTP\",\n description: \"Tool to verify an OTP (One-Time Password) sent to a mobile number. Use when you need to confirm that the OTP code entered by the user matches the one sent via Send OTP API.\",\n input: Msg91VerifyOtpInput,\n output: Msg91VerifyOtpOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiC,EAAE,OAAO;EAC1C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;EAChJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+LAA+L;EAC3N,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACtN,CAcS;CACP,QAdkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACvP,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const msg91 = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "msg91",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.msg91 = msg91;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const msg91 = defineApp({\n slug: \"msg91\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const msg91: KeystrokeApp<\"msg91\", typeof credential> = defineApp({\n slug: \"msg91\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const msg91: KeystrokeApp<"msg91", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { msg91 };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const msg91: KeystrokeApp<"msg91", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { msg91 };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const msg91 = defineApp({
|
|
4
4
|
slug: "msg91",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { msg91 };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const msg91 = defineApp({\n slug: \"msg91\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const msg91: KeystrokeApp<\"msg91\", typeof credential> = defineApp({\n slug: \"msg91\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { msg91 } from "./app.cjs";
|
|
1
2
|
import { msg91CreateUserEvents } from "./actions/create-user-events.cjs";
|
|
2
3
|
import { msg91GetEventTypes } from "./actions/get-event-types.cjs";
|
|
3
4
|
import { msg91GetFailedEvents } from "./actions/get-failed-events.cjs";
|
|
@@ -6,6 +7,5 @@ import { msg91ResendOtp } from "./actions/resend-otp.cjs";
|
|
|
6
7
|
import { msg91SendOtp } from "./actions/send-otp.cjs";
|
|
7
8
|
import { msg91SendSmsV5 } from "./actions/send-sms-v5.cjs";
|
|
8
9
|
import { msg91VerifyOtp } from "./actions/verify-otp.cjs";
|
|
9
|
-
import { msg91 } from "./app.cjs";
|
|
10
10
|
import { msg91Catalog } from "./catalog.cjs";
|
|
11
11
|
export { msg91, msg91Catalog, msg91CreateUserEvents, msg91GetEventTypes, msg91GetFailedEvents, msg91ListCampaigns, msg91ResendOtp, msg91SendOtp, msg91SendSmsV5, msg91VerifyOtp };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { msg91 } from "./app.mjs";
|
|
1
2
|
import { msg91CreateUserEvents } from "./actions/create-user-events.mjs";
|
|
2
3
|
import { msg91GetEventTypes } from "./actions/get-event-types.mjs";
|
|
3
4
|
import { msg91GetFailedEvents } from "./actions/get-failed-events.mjs";
|
|
@@ -6,6 +7,5 @@ import { msg91ResendOtp } from "./actions/resend-otp.mjs";
|
|
|
6
7
|
import { msg91SendOtp } from "./actions/send-otp.mjs";
|
|
7
8
|
import { msg91SendSmsV5 } from "./actions/send-sms-v5.mjs";
|
|
8
9
|
import { msg91VerifyOtp } from "./actions/verify-otp.mjs";
|
|
9
|
-
import { msg91 } from "./app.mjs";
|
|
10
10
|
import { msg91Catalog } from "./catalog.mjs";
|
|
11
11
|
export { msg91, msg91Catalog, msg91CreateUserEvents, msg91GetEventTypes, msg91GetFailedEvents, msg91ListCampaigns, msg91ResendOtp, msg91SendOtp, msg91SendSmsV5, msg91VerifyOtp };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/msg91",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|