@keystrokehq/msg91 0.1.0 → 0.1.2
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 -1
- package/dist/actions/create-user-events.cjs.map +1 -1
- package/dist/actions/create-user-events.d.cts +23 -3
- package/dist/actions/create-user-events.d.cts.map +1 -1
- package/dist/actions/create-user-events.d.mts +23 -3
- package/dist/actions/create-user-events.d.mts.map +1 -1
- package/dist/actions/create-user-events.mjs +1 -1
- package/dist/actions/create-user-events.mjs.map +1 -1
- package/dist/actions/get-event-types.cjs.map +1 -1
- package/dist/actions/get-event-types.d.cts +16 -3
- package/dist/actions/get-event-types.d.cts.map +1 -1
- package/dist/actions/get-event-types.d.mts +16 -3
- package/dist/actions/get-event-types.d.mts.map +1 -1
- package/dist/actions/get-event-types.mjs.map +1 -1
- package/dist/actions/get-failed-events.cjs +7 -7
- package/dist/actions/get-failed-events.cjs.map +1 -1
- package/dist/actions/get-failed-events.d.cts +29 -3
- package/dist/actions/get-failed-events.d.cts.map +1 -1
- package/dist/actions/get-failed-events.d.mts +29 -3
- package/dist/actions/get-failed-events.d.mts.map +1 -1
- package/dist/actions/get-failed-events.mjs +7 -7
- package/dist/actions/get-failed-events.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +6 -6
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +23 -3
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +23 -3
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +6 -6
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/resend-otp.cjs +2 -2
- package/dist/actions/resend-otp.cjs.map +1 -1
- package/dist/actions/resend-otp.d.cts +15 -3
- package/dist/actions/resend-otp.d.cts.map +1 -1
- package/dist/actions/resend-otp.d.mts +15 -3
- package/dist/actions/resend-otp.d.mts.map +1 -1
- package/dist/actions/resend-otp.mjs +2 -2
- package/dist/actions/resend-otp.mjs.map +1 -1
- package/dist/actions/send-otp.cjs +1 -1
- package/dist/actions/send-otp.cjs.map +1 -1
- package/dist/actions/send-otp.d.cts +27 -3
- package/dist/actions/send-otp.d.cts.map +1 -1
- package/dist/actions/send-otp.d.mts +27 -3
- package/dist/actions/send-otp.d.mts.map +1 -1
- package/dist/actions/send-otp.mjs +1 -1
- package/dist/actions/send-otp.mjs.map +1 -1
- package/dist/actions/send-sms-v5.cjs.map +1 -1
- package/dist/actions/send-sms-v5.d.cts +33 -3
- package/dist/actions/send-sms-v5.d.cts.map +1 -1
- package/dist/actions/send-sms-v5.d.mts +33 -3
- package/dist/actions/send-sms-v5.d.mts.map +1 -1
- package/dist/actions/send-sms-v5.mjs.map +1 -1
- package/dist/actions/verify-otp.cjs +2 -2
- package/dist/actions/verify-otp.cjs.map +1 -1
- package/dist/actions/verify-otp.d.cts +14 -3
- package/dist/actions/verify-otp.d.cts.map +1 -1
- package/dist/actions/verify-otp.d.mts +14 -3
- package/dist/actions/verify-otp.d.mts.map +1 -1
- package/dist/actions/verify-otp.mjs +2 -2
- package/dist/actions/verify-otp.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-otp.d.mts","names":[],"sources":["../../src/actions/verify-otp.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"verify-otp.d.mts","names":[],"sources":["../../src/actions/verify-otp.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -10,8 +10,8 @@ const msg91VerifyOtp = action("MSG91_VERIFY_OTP", {
|
|
|
10
10
|
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()
|
|
11
11
|
}),
|
|
12
12
|
output: z.object({
|
|
13
|
-
type: z.string().describe("Response status type: 'success' when OTP is verified successfully, 'error' when verification fails (invalid OTP, expired OTP, or other errors)."),
|
|
14
|
-
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').")
|
|
13
|
+
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(),
|
|
14
|
+
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()
|
|
15
15
|
})
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -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
|
|
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});\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":";;AAcA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiC,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,CAUS;CACP,QAVkC,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,CAOU;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const msg91Catalog = {
|
|
|
7
7
|
"category": "Communication",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/msg91",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "MSG91 Authkey",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The authentication key (Authkey) used to authenticate API requests."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.msg91Catalog = msg91Catalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const msg91Catalog = {\n \"slug\": \"msg91\",\n \"name\": \"Msg91\",\n \"description\": \"MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/msg91\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const msg91Catalog = {\n \"slug\": \"msg91\",\n \"name\": \"Msg91\",\n \"description\": \"MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/msg91\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"MSG91 Authkey\",\n \"secret\": true,\n \"description\": \"The authentication key (Authkey) used to authenticate API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const msg91Catalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/msg91";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "MSG91 Authkey";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The authentication key (Authkey) used to authenticate API requests.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { msg91Catalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const msg91Catalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/msg91";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly api_key: {
|
|
13
|
+
readonly label: "MSG91 Authkey";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The authentication key (Authkey) used to authenticate API requests.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { msg91Catalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const msg91Catalog = {
|
|
|
7
7
|
"category": "Communication",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/msg91",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "api_key": {
|
|
12
|
+
"label": "MSG91 Authkey",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The authentication key (Authkey) used to authenticate API requests."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { msg91Catalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const msg91Catalog = {\n \"slug\": \"msg91\",\n \"name\": \"Msg91\",\n \"description\": \"MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/msg91\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const msg91Catalog = {\n \"slug\": \"msg91\",\n \"name\": \"Msg91\",\n \"description\": \"MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.\",\n \"category\": \"Communication\",\n \"logo\": \"https://logos.composio.dev/api/msg91\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"MSG91 Authkey\",\n \"secret\": true,\n \"description\": \"The authentication key (Authkey) used to authenticate API requests.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/msg91",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|