@keystrokehq/push_by_techulus 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/delete-team-member-or-invite.cjs +23 -0
- package/dist/actions/delete-team-member-or-invite.cjs.map +1 -0
- package/dist/actions/delete-team-member-or-invite.d.cts +9 -0
- package/dist/actions/delete-team-member-or-invite.d.cts.map +1 -0
- package/dist/actions/delete-team-member-or-invite.d.mts +9 -0
- package/dist/actions/delete-team-member-or-invite.d.mts.map +1 -0
- package/dist/actions/delete-team-member-or-invite.mjs +20 -0
- package/dist/actions/delete-team-member-or-invite.mjs.map +1 -0
- package/dist/actions/index.cjs +13 -0
- package/dist/actions/index.d.cts +7 -0
- package/dist/actions/index.d.mts +7 -0
- package/dist/actions/index.mjs +7 -0
- package/dist/actions/invite-user-to-team.cjs +23 -0
- package/dist/actions/invite-user-to-team.cjs.map +1 -0
- package/dist/actions/invite-user-to-team.d.cts +9 -0
- package/dist/actions/invite-user-to-team.d.cts.map +1 -0
- package/dist/actions/invite-user-to-team.d.mts +9 -0
- package/dist/actions/invite-user-to-team.d.mts.map +1 -0
- package/dist/actions/invite-user-to-team.mjs +20 -0
- package/dist/actions/invite-user-to-team.mjs.map +1 -0
- package/dist/actions/send-notification-async.cjs +43 -0
- package/dist/actions/send-notification-async.cjs.map +1 -0
- package/dist/actions/send-notification-async.d.cts +9 -0
- package/dist/actions/send-notification-async.d.cts.map +1 -0
- package/dist/actions/send-notification-async.d.mts +9 -0
- package/dist/actions/send-notification-async.d.mts.map +1 -0
- package/dist/actions/send-notification-async.mjs +40 -0
- package/dist/actions/send-notification-async.mjs.map +1 -0
- package/dist/actions/send-notification-sync.cjs +32 -0
- package/dist/actions/send-notification-sync.cjs.map +1 -0
- package/dist/actions/send-notification-sync.d.cts +9 -0
- package/dist/actions/send-notification-sync.d.cts.map +1 -0
- package/dist/actions/send-notification-sync.d.mts +9 -0
- package/dist/actions/send-notification-sync.d.mts.map +1 -0
- package/dist/actions/send-notification-sync.mjs +31 -0
- package/dist/actions/send-notification-sync.mjs.map +1 -0
- package/dist/actions/send-notification-to-group.cjs +49 -0
- package/dist/actions/send-notification-to-group.cjs.map +1 -0
- package/dist/actions/send-notification-to-group.d.cts +9 -0
- package/dist/actions/send-notification-to-group.d.cts.map +1 -0
- package/dist/actions/send-notification-to-group.d.mts +9 -0
- package/dist/actions/send-notification-to-group.d.mts.map +1 -0
- package/dist/actions/send-notification-to-group.mjs +48 -0
- package/dist/actions/send-notification-to-group.mjs.map +1 -0
- package/dist/actions/send-notification-webhook-post.cjs +49 -0
- package/dist/actions/send-notification-webhook-post.cjs.map +1 -0
- package/dist/actions/send-notification-webhook-post.d.cts +9 -0
- package/dist/actions/send-notification-webhook-post.d.cts.map +1 -0
- package/dist/actions/send-notification-webhook-post.d.mts +9 -0
- package/dist/actions/send-notification-webhook-post.d.mts.map +1 -0
- package/dist/actions/send-notification-webhook-post.mjs +48 -0
- package/dist/actions/send-notification-webhook-post.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.mjs +10 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/push_by_techulus
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `push_by_techulus`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 6
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { pushByTechulusDeleteTeamMemberOrInvite } from "@keystrokehq/push_by_techulus/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "push_by_techulus-agent",
|
|
15
|
+
tools: [pushByTechulusDeleteTeamMemberOrInvite],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app.pushByTechulus.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.executePushByTechulusTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["pushByTechulus","executePushByTechulusTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushByTechulus } from \"./app\";\nimport { executePushByTechulusTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pushByTechulus.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 executePushByTechulusTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,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,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { pushByTechulus } from "./app.mjs";
|
|
2
|
+
import { executePushByTechulusTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return pushByTechulus.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await executePushByTechulusTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushByTechulus } from \"./app\";\nimport { executePushByTechulusTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pushByTechulus.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 executePushByTechulusTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-team-member-or-invite.ts
|
|
4
|
+
const PushByTechulusDeleteTeamMemberOrInviteInput = zod.z.object({
|
|
5
|
+
team: zod.z.string().describe("Team API key"),
|
|
6
|
+
email: zod.z.string().describe("The email address to remove or revoke invitation for")
|
|
7
|
+
}).describe("Request parameters for removing a user from team or revoking an invitation.");
|
|
8
|
+
const PushByTechulusDeleteTeamMemberOrInviteOutput = zod.z.object({
|
|
9
|
+
error: zod.z.string().describe("Error code if the request failed.").nullable().optional(),
|
|
10
|
+
message: zod.z.string().describe("Confirmation message indicating the operation status").nullable().optional(),
|
|
11
|
+
success: zod.z.boolean().describe("Whether the operation was successful")
|
|
12
|
+
}).describe("Response schema for deleting team member or invite.");
|
|
13
|
+
const pushByTechulusDeleteTeamMemberOrInvite = require_action.action("PUSH_BY_TECHULUS_DELETE_TEAM_MEMBER_OR_INVITE", {
|
|
14
|
+
slug: "push_by_techulus-delete-team-member-or-invite",
|
|
15
|
+
name: "Delete Team Member or Invite",
|
|
16
|
+
description: "Tool to remove a user from the team or revoke a pending invitation. Use when you need to revoke team access or cancel an invite for a specific email address.",
|
|
17
|
+
input: PushByTechulusDeleteTeamMemberOrInviteInput,
|
|
18
|
+
output: PushByTechulusDeleteTeamMemberOrInviteOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.pushByTechulusDeleteTeamMemberOrInvite = pushByTechulusDeleteTeamMemberOrInvite;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=delete-team-member-or-invite.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.cjs","names":["z","action"],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusDeleteTeamMemberOrInviteInput: z.ZodTypeAny = z.object({\n team: z.string().describe(\"Team API key\"),\n email: z.string().describe(\"The email address to remove or revoke invitation for\"),\n}).describe(\"Request parameters for removing a user from team or revoking an invitation.\");\nexport const PushByTechulusDeleteTeamMemberOrInviteOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code if the request failed.\").nullable().optional(),\n message: z.string().describe(\"Confirmation message indicating the operation status\").nullable().optional(),\n success: z.boolean().describe(\"Whether the operation was successful\"),\n}).describe(\"Response schema for deleting team member or invite.\");\n\nexport const pushByTechulusDeleteTeamMemberOrInvite = action(\"PUSH_BY_TECHULUS_DELETE_TEAM_MEMBER_OR_INVITE\", {\n slug: \"push_by_techulus-delete-team-member-or-invite\",\n name: \"Delete Team Member or Invite\",\n description: \"Tool to remove a user from the team or revoke a pending invitation. Use when you need to revoke team access or cancel an invite for a specific email address.\",\n input: PushByTechulusDeleteTeamMemberOrInviteInput,\n output: PushByTechulusDeleteTeamMemberOrInviteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACnF,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,yCAAyCC,eAAAA,OAAO,iDAAiD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-team-member-or-invite.d.ts
|
|
4
|
+
declare const PushByTechulusDeleteTeamMemberOrInviteInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusDeleteTeamMemberOrInviteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusDeleteTeamMemberOrInvite: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusDeleteTeamMemberOrInvite };
|
|
9
|
+
//# sourceMappingURL=delete-team-member-or-invite.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.d.cts","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAG8B;AAAA,cAC7E,4CAAA,EAA8C,CAAA,CAAE,UAIK;AAAA,cAErD,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-team-member-or-invite.d.ts
|
|
4
|
+
declare const PushByTechulusDeleteTeamMemberOrInviteInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusDeleteTeamMemberOrInviteOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusDeleteTeamMemberOrInvite: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusDeleteTeamMemberOrInvite };
|
|
9
|
+
//# sourceMappingURL=delete-team-member-or-invite.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.d.mts","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAG8B;AAAA,cAC7E,4CAAA,EAA8C,CAAA,CAAE,UAIK;AAAA,cAErD,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const pushByTechulusDeleteTeamMemberOrInvite = action("PUSH_BY_TECHULUS_DELETE_TEAM_MEMBER_OR_INVITE", {
|
|
4
|
+
slug: "push_by_techulus-delete-team-member-or-invite",
|
|
5
|
+
name: "Delete Team Member or Invite",
|
|
6
|
+
description: "Tool to remove a user from the team or revoke a pending invitation. Use when you need to revoke team access or cancel an invite for a specific email address.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
team: z.string().describe("Team API key"),
|
|
9
|
+
email: z.string().describe("The email address to remove or revoke invitation for")
|
|
10
|
+
}).describe("Request parameters for removing a user from team or revoking an invitation."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
error: z.string().describe("Error code if the request failed.").nullable().optional(),
|
|
13
|
+
message: z.string().describe("Confirmation message indicating the operation status").nullable().optional(),
|
|
14
|
+
success: z.boolean().describe("Whether the operation was successful")
|
|
15
|
+
}).describe("Response schema for deleting team member or invite.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { pushByTechulusDeleteTeamMemberOrInvite };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=delete-team-member-or-invite.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.mjs","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusDeleteTeamMemberOrInviteInput: z.ZodTypeAny = z.object({\n team: z.string().describe(\"Team API key\"),\n email: z.string().describe(\"The email address to remove or revoke invitation for\"),\n}).describe(\"Request parameters for removing a user from team or revoking an invitation.\");\nexport const PushByTechulusDeleteTeamMemberOrInviteOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code if the request failed.\").nullable().optional(),\n message: z.string().describe(\"Confirmation message indicating the operation status\").nullable().optional(),\n success: z.boolean().describe(\"Whether the operation was successful\"),\n}).describe(\"Response schema for deleting team member or invite.\");\n\nexport const pushByTechulusDeleteTeamMemberOrInvite = action(\"PUSH_BY_TECHULUS_DELETE_TEAM_MEMBER_OR_INVITE\", {\n slug: \"push_by_techulus-delete-team-member-or-invite\",\n name: \"Delete Team Member or Invite\",\n description: \"Tool to remove a user from the team or revoke a pending invitation. Use when you need to revoke team access or cancel an invite for a specific email address.\",\n input: PushByTechulusDeleteTeamMemberOrInviteInput,\n output: PushByTechulusDeleteTeamMemberOrInviteOutput,\n});\n"],"mappings":";;AAcA,MAAa,yCAAyC,OAAO,iDAAiD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAduE,EAAE,OAAO;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,CAAC,CAAC,CAAC,SAAS,6EAWH;CACP,QAXwE,EAAE,OAAO;EACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACtE,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_delete_team_member_or_invite = require("./delete-team-member-or-invite.cjs");
|
|
3
|
+
const require_invite_user_to_team = require("./invite-user-to-team.cjs");
|
|
4
|
+
const require_send_notification_async = require("./send-notification-async.cjs");
|
|
5
|
+
const require_send_notification_sync = require("./send-notification-sync.cjs");
|
|
6
|
+
const require_send_notification_to_group = require("./send-notification-to-group.cjs");
|
|
7
|
+
const require_send_notification_webhook_post = require("./send-notification-webhook-post.cjs");
|
|
8
|
+
exports.pushByTechulusDeleteTeamMemberOrInvite = require_delete_team_member_or_invite.pushByTechulusDeleteTeamMemberOrInvite;
|
|
9
|
+
exports.pushByTechulusInviteUserToTeam = require_invite_user_to_team.pushByTechulusInviteUserToTeam;
|
|
10
|
+
exports.pushByTechulusSendNotificationAsync = require_send_notification_async.pushByTechulusSendNotificationAsync;
|
|
11
|
+
exports.pushByTechulusSendNotificationSync = require_send_notification_sync.pushByTechulusSendNotificationSync;
|
|
12
|
+
exports.pushByTechulusSendNotificationToGroup = require_send_notification_to_group.pushByTechulusSendNotificationToGroup;
|
|
13
|
+
exports.pushByTechulusSendNotificationWebhookPost = require_send_notification_webhook_post.pushByTechulusSendNotificationWebhookPost;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { pushByTechulusDeleteTeamMemberOrInvite } from "./delete-team-member-or-invite.cjs";
|
|
2
|
+
import { pushByTechulusInviteUserToTeam } from "./invite-user-to-team.cjs";
|
|
3
|
+
import { pushByTechulusSendNotificationAsync } from "./send-notification-async.cjs";
|
|
4
|
+
import { pushByTechulusSendNotificationSync } from "./send-notification-sync.cjs";
|
|
5
|
+
import { pushByTechulusSendNotificationToGroup } from "./send-notification-to-group.cjs";
|
|
6
|
+
import { pushByTechulusSendNotificationWebhookPost } from "./send-notification-webhook-post.cjs";
|
|
7
|
+
export { pushByTechulusDeleteTeamMemberOrInvite, pushByTechulusInviteUserToTeam, pushByTechulusSendNotificationAsync, pushByTechulusSendNotificationSync, pushByTechulusSendNotificationToGroup, pushByTechulusSendNotificationWebhookPost };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { pushByTechulusDeleteTeamMemberOrInvite } from "./delete-team-member-or-invite.mjs";
|
|
2
|
+
import { pushByTechulusInviteUserToTeam } from "./invite-user-to-team.mjs";
|
|
3
|
+
import { pushByTechulusSendNotificationAsync } from "./send-notification-async.mjs";
|
|
4
|
+
import { pushByTechulusSendNotificationSync } from "./send-notification-sync.mjs";
|
|
5
|
+
import { pushByTechulusSendNotificationToGroup } from "./send-notification-to-group.mjs";
|
|
6
|
+
import { pushByTechulusSendNotificationWebhookPost } from "./send-notification-webhook-post.mjs";
|
|
7
|
+
export { pushByTechulusDeleteTeamMemberOrInvite, pushByTechulusInviteUserToTeam, pushByTechulusSendNotificationAsync, pushByTechulusSendNotificationSync, pushByTechulusSendNotificationToGroup, pushByTechulusSendNotificationWebhookPost };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { pushByTechulusDeleteTeamMemberOrInvite } from "./delete-team-member-or-invite.mjs";
|
|
2
|
+
import { pushByTechulusInviteUserToTeam } from "./invite-user-to-team.mjs";
|
|
3
|
+
import { pushByTechulusSendNotificationAsync } from "./send-notification-async.mjs";
|
|
4
|
+
import { pushByTechulusSendNotificationSync } from "./send-notification-sync.mjs";
|
|
5
|
+
import { pushByTechulusSendNotificationToGroup } from "./send-notification-to-group.mjs";
|
|
6
|
+
import { pushByTechulusSendNotificationWebhookPost } from "./send-notification-webhook-post.mjs";
|
|
7
|
+
export { pushByTechulusDeleteTeamMemberOrInvite, pushByTechulusInviteUserToTeam, pushByTechulusSendNotificationAsync, pushByTechulusSendNotificationSync, pushByTechulusSendNotificationToGroup, pushByTechulusSendNotificationWebhookPost };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/invite-user-to-team.ts
|
|
4
|
+
const PushByTechulusInviteUserToTeamInput = zod.z.object({
|
|
5
|
+
team: zod.z.string().describe("Team API key to which the user will be invited."),
|
|
6
|
+
email: zod.z.string().describe("Email address of the user to invite to the team.")
|
|
7
|
+
}).describe("Request model for inviting a user to a team via email.");
|
|
8
|
+
const PushByTechulusInviteUserToTeamOutput = zod.z.object({
|
|
9
|
+
error: zod.z.string().describe("Error code if the request failed.").nullable().optional(),
|
|
10
|
+
message: zod.z.string().describe("Success message or error details.").nullable().optional(),
|
|
11
|
+
success: zod.z.boolean().describe("Whether the invitation was sent successfully.")
|
|
12
|
+
}).describe("Response model for team invitation.");
|
|
13
|
+
const pushByTechulusInviteUserToTeam = require_action.action("PUSH_BY_TECHULUS_INVITE_USER_TO_TEAM", {
|
|
14
|
+
slug: "push_by_techulus-invite-user-to-team",
|
|
15
|
+
name: "Invite User to Team",
|
|
16
|
+
description: "Tool to invite a user to a team by sending an email invitation. Use when you need to add a new member to an existing team.",
|
|
17
|
+
input: PushByTechulusInviteUserToTeamInput,
|
|
18
|
+
output: PushByTechulusInviteUserToTeamOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.pushByTechulusInviteUserToTeam = pushByTechulusInviteUserToTeam;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=invite-user-to-team.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.cjs","names":["z","action"],"sources":["../../src/actions/invite-user-to-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusInviteUserToTeamInput: z.ZodTypeAny = z.object({\n team: z.string().describe(\"Team API key to which the user will be invited.\"),\n email: z.string().describe(\"Email address of the user to invite to the team.\"),\n}).describe(\"Request model for inviting a user to a team via email.\");\nexport const PushByTechulusInviteUserToTeamOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code if the request failed.\").nullable().optional(),\n message: z.string().describe(\"Success message or error details.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the invitation was sent successfully.\"),\n}).describe(\"Response model for team invitation.\");\n\nexport const pushByTechulusInviteUserToTeam = action(\"PUSH_BY_TECHULUS_INVITE_USER_TO_TEAM\", {\n slug: \"push_by_techulus-invite-user-to-team\",\n name: \"Invite User to Team\",\n description: \"Tool to invite a user to a team by sending an email invitation. Use when you need to add a new member to an existing team.\",\n input: PushByTechulusInviteUserToTeamInput,\n output: PushByTechulusInviteUserToTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AAC/E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,iCAAiCC,eAAAA,OAAO,wCAAwC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/invite-user-to-team.d.ts
|
|
4
|
+
declare const PushByTechulusInviteUserToTeamInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusInviteUserToTeamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusInviteUserToTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusInviteUserToTeam };
|
|
9
|
+
//# sourceMappingURL=invite-user-to-team.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.d.cts","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGiB;AAAA,cACxD,oCAAA,EAAsC,CAAA,CAAE,UAIH;AAAA,cAErC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/invite-user-to-team.d.ts
|
|
4
|
+
declare const PushByTechulusInviteUserToTeamInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusInviteUserToTeamOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusInviteUserToTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusInviteUserToTeam };
|
|
9
|
+
//# sourceMappingURL=invite-user-to-team.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.d.mts","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAGiB;AAAA,cACxD,oCAAA,EAAsC,CAAA,CAAE,UAIH;AAAA,cAErC,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const pushByTechulusInviteUserToTeam = action("PUSH_BY_TECHULUS_INVITE_USER_TO_TEAM", {
|
|
4
|
+
slug: "push_by_techulus-invite-user-to-team",
|
|
5
|
+
name: "Invite User to Team",
|
|
6
|
+
description: "Tool to invite a user to a team by sending an email invitation. Use when you need to add a new member to an existing team.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
team: z.string().describe("Team API key to which the user will be invited."),
|
|
9
|
+
email: z.string().describe("Email address of the user to invite to the team.")
|
|
10
|
+
}).describe("Request model for inviting a user to a team via email."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
error: z.string().describe("Error code if the request failed.").nullable().optional(),
|
|
13
|
+
message: z.string().describe("Success message or error details.").nullable().optional(),
|
|
14
|
+
success: z.boolean().describe("Whether the invitation was sent successfully.")
|
|
15
|
+
}).describe("Response model for team invitation.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { pushByTechulusInviteUserToTeam };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=invite-user-to-team.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.mjs","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusInviteUserToTeamInput: z.ZodTypeAny = z.object({\n team: z.string().describe(\"Team API key to which the user will be invited.\"),\n email: z.string().describe(\"Email address of the user to invite to the team.\"),\n}).describe(\"Request model for inviting a user to a team via email.\");\nexport const PushByTechulusInviteUserToTeamOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error code if the request failed.\").nullable().optional(),\n message: z.string().describe(\"Success message or error details.\").nullable().optional(),\n success: z.boolean().describe(\"Whether the invitation was sent successfully.\"),\n}).describe(\"Response model for team invitation.\");\n\nexport const pushByTechulusInviteUserToTeam = action(\"PUSH_BY_TECHULUS_INVITE_USER_TO_TEAM\", {\n slug: \"push_by_techulus-invite-user-to-team\",\n name: \"Invite User to Team\",\n description: \"Tool to invite a user to a team by sending an email invitation. Use when you need to add a new member to an existing team.\",\n input: PushByTechulusInviteUserToTeamInput,\n output: PushByTechulusInviteUserToTeamOutput,\n});\n"],"mappings":";;AAcA,MAAa,iCAAiC,OAAO,wCAAwC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC/E,CAAC,CAAC,CAAC,SAAS,wDAWH;CACP,QAXgE,EAAE,OAAO;EACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C;CAC/E,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-notification-async.ts
|
|
4
|
+
const PushByTechulusSendNotificationAsyncInput = zod.z.object({
|
|
5
|
+
body: zod.z.string().describe("Notification body content."),
|
|
6
|
+
link: zod.z.string().describe("Notification link (URL).").optional(),
|
|
7
|
+
image: zod.z.string().describe("Notification image (URL).").optional(),
|
|
8
|
+
sound: zod.z.enum([
|
|
9
|
+
"default",
|
|
10
|
+
"arcade",
|
|
11
|
+
"correct",
|
|
12
|
+
"fail",
|
|
13
|
+
"harp",
|
|
14
|
+
"reveal",
|
|
15
|
+
"bubble",
|
|
16
|
+
"doorbell",
|
|
17
|
+
"flute",
|
|
18
|
+
"money",
|
|
19
|
+
"scifi",
|
|
20
|
+
"clear",
|
|
21
|
+
"elevator",
|
|
22
|
+
"guitar",
|
|
23
|
+
"pop"
|
|
24
|
+
]).describe("Notification sound. Valid options are: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.").optional(),
|
|
25
|
+
title: zod.z.string().describe("Notification title."),
|
|
26
|
+
channel: zod.z.string().describe("Notification channel, alphanumeric and hyphens only. Defaults to 'feed'.").optional(),
|
|
27
|
+
timeSensitive: zod.z.boolean().describe("Time-sensitive notifications deliver immediately despite do-not-disturb mode (iOS only). Defaults to false.").optional()
|
|
28
|
+
}).describe("Request model for sending push notifications asynchronously.");
|
|
29
|
+
const PushByTechulusSendNotificationAsyncOutput = zod.z.object({
|
|
30
|
+
message: zod.z.string().describe("Response message providing additional information about the operation."),
|
|
31
|
+
success: zod.z.boolean().describe("Operation success status indicating whether the notification was queued successfully.")
|
|
32
|
+
}).describe("Response model for async notification send operation.");
|
|
33
|
+
const pushByTechulusSendNotificationAsync = require_action.action("PUSH_BY_TECHULUS_SEND_NOTIFICATION_ASYNC", {
|
|
34
|
+
slug: "push_by_techulus-send-notification-async",
|
|
35
|
+
name: "Send Push Notification Async",
|
|
36
|
+
description: "Tool to send push notification asynchronously to all devices in an account or team. Use when you have more than 10 devices for better performance.",
|
|
37
|
+
input: PushByTechulusSendNotificationAsyncInput,
|
|
38
|
+
output: PushByTechulusSendNotificationAsyncOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.pushByTechulusSendNotificationAsync = pushByTechulusSendNotificationAsync;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=send-notification-async.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-async.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-async.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationAsyncInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Notification body content.\"),\n link: z.string().describe(\"Notification link (URL).\").optional(),\n image: z.string().describe(\"Notification image (URL).\").optional(),\n sound: z.enum([\"default\", \"arcade\", \"correct\", \"fail\", \"harp\", \"reveal\", \"bubble\", \"doorbell\", \"flute\", \"money\", \"scifi\", \"clear\", \"elevator\", \"guitar\", \"pop\"]).describe(\"Notification sound. Valid options are: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.\").optional(),\n title: z.string().describe(\"Notification title.\"),\n channel: z.string().describe(\"Notification channel, alphanumeric and hyphens only. Defaults to 'feed'.\").optional(),\n timeSensitive: z.boolean().describe(\"Time-sensitive notifications deliver immediately despite do-not-disturb mode (iOS only). Defaults to false.\").optional(),\n}).describe(\"Request model for sending push notifications asynchronously.\");\nexport const PushByTechulusSendNotificationAsyncOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message providing additional information about the operation.\"),\n success: z.boolean().describe(\"Operation success status indicating whether the notification was queued successfully.\"),\n}).describe(\"Response model for async notification send operation.\");\n\nexport const pushByTechulusSendNotificationAsync = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_ASYNC\", {\n slug: \"push_by_techulus-send-notification-async\",\n name: \"Send Push Notification Async\",\n description: \"Tool to send push notification asynchronously to all devices in an account or team. Use when you have more than 10 devices for better performance.\",\n input: PushByTechulusSendNotificationAsyncInput,\n output: PushByTechulusSendNotificationAsyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;EAAQ;EAAQ;EAAU;EAAU;EAAY;EAAS;EAAS;EAAS;EAAS;EAAY;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAChV,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;AACvH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-notification-async.d.ts
|
|
4
|
+
declare const PushByTechulusSendNotificationAsyncInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusSendNotificationAsyncOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusSendNotificationAsync: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusSendNotificationAsync };
|
|
9
|
+
//# sourceMappingURL=send-notification-async.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-async.d.cts","names":[],"sources":["../../src/actions/send-notification-async.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAQkB;AAAA,cAC9D,yCAAA,EAA2C,CAAA,CAAE,UAGU;AAAA,cAEvD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-notification-async.d.ts
|
|
4
|
+
declare const PushByTechulusSendNotificationAsyncInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusSendNotificationAsyncOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusSendNotificationAsync: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusSendNotificationAsync };
|
|
9
|
+
//# sourceMappingURL=send-notification-async.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-async.d.mts","names":[],"sources":["../../src/actions/send-notification-async.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAQkB;AAAA,cAC9D,yCAAA,EAA2C,CAAA,CAAE,UAGU;AAAA,cAEvD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const pushByTechulusSendNotificationAsync = action("PUSH_BY_TECHULUS_SEND_NOTIFICATION_ASYNC", {
|
|
4
|
+
slug: "push_by_techulus-send-notification-async",
|
|
5
|
+
name: "Send Push Notification Async",
|
|
6
|
+
description: "Tool to send push notification asynchronously to all devices in an account or team. Use when you have more than 10 devices for better performance.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
body: z.string().describe("Notification body content."),
|
|
9
|
+
link: z.string().describe("Notification link (URL).").optional(),
|
|
10
|
+
image: z.string().describe("Notification image (URL).").optional(),
|
|
11
|
+
sound: z.enum([
|
|
12
|
+
"default",
|
|
13
|
+
"arcade",
|
|
14
|
+
"correct",
|
|
15
|
+
"fail",
|
|
16
|
+
"harp",
|
|
17
|
+
"reveal",
|
|
18
|
+
"bubble",
|
|
19
|
+
"doorbell",
|
|
20
|
+
"flute",
|
|
21
|
+
"money",
|
|
22
|
+
"scifi",
|
|
23
|
+
"clear",
|
|
24
|
+
"elevator",
|
|
25
|
+
"guitar",
|
|
26
|
+
"pop"
|
|
27
|
+
]).describe("Notification sound. Valid options are: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.").optional(),
|
|
28
|
+
title: z.string().describe("Notification title."),
|
|
29
|
+
channel: z.string().describe("Notification channel, alphanumeric and hyphens only. Defaults to 'feed'.").optional(),
|
|
30
|
+
timeSensitive: z.boolean().describe("Time-sensitive notifications deliver immediately despite do-not-disturb mode (iOS only). Defaults to false.").optional()
|
|
31
|
+
}).describe("Request model for sending push notifications asynchronously."),
|
|
32
|
+
output: z.object({
|
|
33
|
+
message: z.string().describe("Response message providing additional information about the operation."),
|
|
34
|
+
success: z.boolean().describe("Operation success status indicating whether the notification was queued successfully.")
|
|
35
|
+
}).describe("Response model for async notification send operation.")
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { pushByTechulusSendNotificationAsync };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=send-notification-async.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-async.mjs","names":[],"sources":["../../src/actions/send-notification-async.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationAsyncInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Notification body content.\"),\n link: z.string().describe(\"Notification link (URL).\").optional(),\n image: z.string().describe(\"Notification image (URL).\").optional(),\n sound: z.enum([\"default\", \"arcade\", \"correct\", \"fail\", \"harp\", \"reveal\", \"bubble\", \"doorbell\", \"flute\", \"money\", \"scifi\", \"clear\", \"elevator\", \"guitar\", \"pop\"]).describe(\"Notification sound. Valid options are: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.\").optional(),\n title: z.string().describe(\"Notification title.\"),\n channel: z.string().describe(\"Notification channel, alphanumeric and hyphens only. Defaults to 'feed'.\").optional(),\n timeSensitive: z.boolean().describe(\"Time-sensitive notifications deliver immediately despite do-not-disturb mode (iOS only). Defaults to false.\").optional(),\n}).describe(\"Request model for sending push notifications asynchronously.\");\nexport const PushByTechulusSendNotificationAsyncOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message providing additional information about the operation.\"),\n success: z.boolean().describe(\"Operation success status indicating whether the notification was queued successfully.\"),\n}).describe(\"Response model for async notification send operation.\");\n\nexport const pushByTechulusSendNotificationAsync = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_ASYNC\", {\n slug: \"push_by_techulus-send-notification-async\",\n name: \"Send Push Notification Async\",\n description: \"Tool to send push notification asynchronously to all devices in an account or team. Use when you have more than 10 devices for better performance.\",\n input: PushByTechulusSendNotificationAsyncInput,\n output: PushByTechulusSendNotificationAsyncOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBoE,EAAE,OAAO;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,KAAK;GAAC;GAAW;GAAU;GAAW;GAAQ;GAAQ;GAAU;GAAU;GAAY;GAAS;GAAS;GAAS;GAAS;GAAY;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EAChV,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAClH,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAVqE,EAAE,OAAO;EAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACrG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACvH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-notification-sync.ts
|
|
4
|
+
const PushByTechulusSendNotificationSyncInput = zod.z.object({
|
|
5
|
+
body: zod.z.string().describe("Notification body/message content."),
|
|
6
|
+
link: zod.z.string().describe("Notification URL destination to open when clicked.").optional(),
|
|
7
|
+
image: zod.z.string().describe("Notification image URL to display.").optional(),
|
|
8
|
+
sound: zod.z.string().describe("Sound effect for notification. Options: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.").optional(),
|
|
9
|
+
title: zod.z.string().describe("Notification title to display."),
|
|
10
|
+
channel: zod.z.string().describe("Alphanumeric channel identifier; defaults to 'feed' if not specified.").optional(),
|
|
11
|
+
timeSensitive: zod.z.boolean().describe("iOS-only; enables immediate delivery even in Do Not Disturb mode. Defaults to false.").optional()
|
|
12
|
+
}).describe("Request parameters for sending push notification synchronously.");
|
|
13
|
+
const PushByTechulusSendNotificationSync_NotificationResponseSchema = zod.z.object({
|
|
14
|
+
message: zod.z.string().describe("Individual response message."),
|
|
15
|
+
success: zod.z.boolean().describe("Indicates if the individual notification was successful.")
|
|
16
|
+
}).describe("Individual notification response details.");
|
|
17
|
+
const PushByTechulusSendNotificationSyncOutput = zod.z.object({
|
|
18
|
+
message: zod.z.string().describe("Response message from the API.").nullable().optional(),
|
|
19
|
+
success: zod.z.boolean().describe("Indicates if the request was successful overall."),
|
|
20
|
+
responses: zod.z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe("Array of response objects for each device notification.").nullable().optional()
|
|
21
|
+
}).describe("Response schema for synchronous notification sending.");
|
|
22
|
+
const pushByTechulusSendNotificationSync = require_action.action("PUSH_BY_TECHULUS_SEND_NOTIFICATION_SYNC", {
|
|
23
|
+
slug: "push_by_techulus-send-notification-sync",
|
|
24
|
+
name: "Send Notification Sync",
|
|
25
|
+
description: "Tool to send push notifications synchronously to all linked devices. Use when you need immediate confirmation of notification delivery to all devices or teams.",
|
|
26
|
+
input: PushByTechulusSendNotificationSyncInput,
|
|
27
|
+
output: PushByTechulusSendNotificationSyncOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.pushByTechulusSendNotificationSync = pushByTechulusSendNotificationSync;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=send-notification-sync.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-sync.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationSyncInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Notification body/message content.\"),\n link: z.string().describe(\"Notification URL destination to open when clicked.\").optional(),\n image: z.string().describe(\"Notification image URL to display.\").optional(),\n sound: z.string().describe(\"Sound effect for notification. Options: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.\").optional(),\n title: z.string().describe(\"Notification title to display.\"),\n channel: z.string().describe(\"Alphanumeric channel identifier; defaults to 'feed' if not specified.\").optional(),\n timeSensitive: z.boolean().describe(\"iOS-only; enables immediate delivery even in Do Not Disturb mode. Defaults to false.\").optional(),\n}).describe(\"Request parameters for sending push notification synchronously.\");\nconst PushByTechulusSendNotificationSync_NotificationResponseSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Individual response message.\"),\n success: z.boolean().describe(\"Indicates if the individual notification was successful.\"),\n}).describe(\"Individual notification response details.\");\nexport const PushByTechulusSendNotificationSyncOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful overall.\"),\n responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe(\"Array of response objects for each device notification.\").nullable().optional(),\n}).describe(\"Response schema for synchronous notification sending.\");\n\nexport const pushByTechulusSendNotificationSync = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_SYNC\", {\n slug: \"push_by_techulus-send-notification-sync\",\n name: \"Send Notification Sync\",\n description: \"Tool to send push notifications synchronously to all linked devices. Use when you need immediate confirmation of notification delivery to all devices or teams.\",\n input: PushByTechulusSendNotificationSyncInput,\n output: PushByTechulusSendNotificationSyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAClM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gEAA8EA,IAAAA,EAAE,OAAO;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;CAChF,WAAWA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-notification-sync.d.ts
|
|
4
|
+
declare const PushByTechulusSendNotificationSyncInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusSendNotificationSyncOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusSendNotificationSync: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusSendNotificationSync };
|
|
9
|
+
//# sourceMappingURL=send-notification-sync.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-sync.d.cts","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAQsB;AAAA,cAKjE,wCAAA,EAA0C,CAAA,CAAE,UAIW;AAAA,cAEvD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-notification-sync.d.ts
|
|
4
|
+
declare const PushByTechulusSendNotificationSyncInput: z.ZodTypeAny;
|
|
5
|
+
declare const PushByTechulusSendNotificationSyncOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pushByTechulusSendNotificationSync: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pushByTechulusSendNotificationSync };
|
|
9
|
+
//# sourceMappingURL=send-notification-sync.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-sync.d.mts","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAQsB;AAAA,cAKjE,wCAAA,EAA0C,CAAA,CAAE,UAIW;AAAA,cAEvD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/send-notification-sync.ts
|
|
4
|
+
const PushByTechulusSendNotificationSyncInput = z.object({
|
|
5
|
+
body: z.string().describe("Notification body/message content."),
|
|
6
|
+
link: z.string().describe("Notification URL destination to open when clicked.").optional(),
|
|
7
|
+
image: z.string().describe("Notification image URL to display.").optional(),
|
|
8
|
+
sound: z.string().describe("Sound effect for notification. Options: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.").optional(),
|
|
9
|
+
title: z.string().describe("Notification title to display."),
|
|
10
|
+
channel: z.string().describe("Alphanumeric channel identifier; defaults to 'feed' if not specified.").optional(),
|
|
11
|
+
timeSensitive: z.boolean().describe("iOS-only; enables immediate delivery even in Do Not Disturb mode. Defaults to false.").optional()
|
|
12
|
+
}).describe("Request parameters for sending push notification synchronously.");
|
|
13
|
+
const PushByTechulusSendNotificationSync_NotificationResponseSchema = z.object({
|
|
14
|
+
message: z.string().describe("Individual response message."),
|
|
15
|
+
success: z.boolean().describe("Indicates if the individual notification was successful.")
|
|
16
|
+
}).describe("Individual notification response details.");
|
|
17
|
+
const pushByTechulusSendNotificationSync = action("PUSH_BY_TECHULUS_SEND_NOTIFICATION_SYNC", {
|
|
18
|
+
slug: "push_by_techulus-send-notification-sync",
|
|
19
|
+
name: "Send Notification Sync",
|
|
20
|
+
description: "Tool to send push notifications synchronously to all linked devices. Use when you need immediate confirmation of notification delivery to all devices or teams.",
|
|
21
|
+
input: PushByTechulusSendNotificationSyncInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
message: z.string().describe("Response message from the API.").nullable().optional(),
|
|
24
|
+
success: z.boolean().describe("Indicates if the request was successful overall."),
|
|
25
|
+
responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe("Array of response objects for each device notification.").nullable().optional()
|
|
26
|
+
}).describe("Response schema for synchronous notification sending.")
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { pushByTechulusSendNotificationSync };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=send-notification-sync.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-notification-sync.mjs","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationSyncInput: z.ZodTypeAny = z.object({\n body: z.string().describe(\"Notification body/message content.\"),\n link: z.string().describe(\"Notification URL destination to open when clicked.\").optional(),\n image: z.string().describe(\"Notification image URL to display.\").optional(),\n sound: z.string().describe(\"Sound effect for notification. Options: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop.\").optional(),\n title: z.string().describe(\"Notification title to display.\"),\n channel: z.string().describe(\"Alphanumeric channel identifier; defaults to 'feed' if not specified.\").optional(),\n timeSensitive: z.boolean().describe(\"iOS-only; enables immediate delivery even in Do Not Disturb mode. Defaults to false.\").optional(),\n}).describe(\"Request parameters for sending push notification synchronously.\");\nconst PushByTechulusSendNotificationSync_NotificationResponseSchema: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Individual response message.\"),\n success: z.boolean().describe(\"Indicates if the individual notification was successful.\"),\n}).describe(\"Individual notification response details.\");\nexport const PushByTechulusSendNotificationSyncOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful overall.\"),\n responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe(\"Array of response objects for each device notification.\").nullable().optional(),\n}).describe(\"Response schema for synchronous notification sending.\");\n\nexport const pushByTechulusSendNotificationSync = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_SYNC\", {\n slug: \"push_by_techulus-send-notification-sync\",\n name: \"Send Notification Sync\",\n description: \"Tool to send push notifications synchronously to all linked devices. Use when you need immediate confirmation of notification delivery to all devices or teams.\",\n input: PushByTechulusSendNotificationSyncInput,\n output: PushByTechulusSendNotificationSyncOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CAClM,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gEAA8E,EAAE,OAAO;CAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D;AAC1F,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAOvD,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoE,EAAE,OAAO;EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;EAChF,WAAW,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-notification-to-group.ts
|
|
4
|
+
const PushByTechulusSendNotificationToGroupInput = zod.z.object({
|
|
5
|
+
body: zod.z.string().describe("Notification body message"),
|
|
6
|
+
link: zod.z.string().describe("Notification link (URL)").optional(),
|
|
7
|
+
image: zod.z.string().describe("Notification image (URL)").optional(),
|
|
8
|
+
sound: zod.z.enum([
|
|
9
|
+
"default",
|
|
10
|
+
"arcade",
|
|
11
|
+
"correct",
|
|
12
|
+
"fail",
|
|
13
|
+
"harp",
|
|
14
|
+
"reveal",
|
|
15
|
+
"bubble",
|
|
16
|
+
"doorbell",
|
|
17
|
+
"flute",
|
|
18
|
+
"money",
|
|
19
|
+
"scifi",
|
|
20
|
+
"clear",
|
|
21
|
+
"elevator",
|
|
22
|
+
"guitar",
|
|
23
|
+
"pop"
|
|
24
|
+
]).describe("Notification sound. Valid options: default, arcade, correct, fail, harp, reveal, bubble, doorbell, flute, money, scifi, clear, elevator, guitar, pop").optional(),
|
|
25
|
+
title: zod.z.string().describe("Notification title"),
|
|
26
|
+
channel: zod.z.string().describe("Notification channel (alphanumeric and hyphens only). Default: 'feed'").optional(),
|
|
27
|
+
groupId: zod.z.string().describe("The Device Group ID to send the notification to"),
|
|
28
|
+
timeSensitive: zod.z.boolean().describe("Delivers immediately even if device is in do-not-disturb mode (iOS only). Default: false").optional()
|
|
29
|
+
}).describe("Request parameters to send push notification to a device group.");
|
|
30
|
+
const PushByTechulusSendNotificationToGroup_DeviceResponseSchema = zod.z.object({
|
|
31
|
+
message: zod.z.string().describe("Individual device response message"),
|
|
32
|
+
success: zod.z.boolean().describe("Indicates if notification was sent to individual device")
|
|
33
|
+
}).describe("Individual device response for group notification.");
|
|
34
|
+
const PushByTechulusSendNotificationToGroupOutput = zod.z.object({
|
|
35
|
+
message: zod.z.string().describe("Response message"),
|
|
36
|
+
success: zod.z.boolean().describe("Indicates if the request was successful"),
|
|
37
|
+
responses: zod.z.array(PushByTechulusSendNotificationToGroup_DeviceResponseSchema).describe("Array of individual device responses").nullable().optional()
|
|
38
|
+
}).describe("Response schema for sending notification to device group.");
|
|
39
|
+
const pushByTechulusSendNotificationToGroup = require_action.action("PUSH_BY_TECHULUS_SEND_NOTIFICATION_TO_GROUP", {
|
|
40
|
+
slug: "push_by_techulus-send-notification-to-group",
|
|
41
|
+
name: "Send Notification to Device Group",
|
|
42
|
+
description: "Tool to send push notification to a specific device group. Use when you need to notify multiple devices in a group with customizable title, body, sound, and media options.",
|
|
43
|
+
input: PushByTechulusSendNotificationToGroupInput,
|
|
44
|
+
output: PushByTechulusSendNotificationToGroupOutput
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
exports.pushByTechulusSendNotificationToGroup = pushByTechulusSendNotificationToGroup;
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=send-notification-to-group.cjs.map
|