@keystrokehq/push_by_techulus 0.1.5 → 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/delete-team-member-or-invite.cjs +1 -0
- package/dist/actions/delete-team-member-or-invite.cjs.map +1 -1
- package/dist/actions/delete-team-member-or-invite.d.cts +3 -16
- package/dist/actions/delete-team-member-or-invite.d.cts.map +1 -1
- package/dist/actions/delete-team-member-or-invite.d.mts +3 -16
- package/dist/actions/delete-team-member-or-invite.d.mts.map +1 -1
- package/dist/actions/delete-team-member-or-invite.mjs +1 -0
- package/dist/actions/delete-team-member-or-invite.mjs.map +1 -1
- package/dist/actions/invite-user-to-team.cjs +1 -0
- package/dist/actions/invite-user-to-team.cjs.map +1 -1
- package/dist/actions/invite-user-to-team.d.cts +3 -16
- package/dist/actions/invite-user-to-team.d.cts.map +1 -1
- package/dist/actions/invite-user-to-team.d.mts +3 -16
- package/dist/actions/invite-user-to-team.d.mts.map +1 -1
- package/dist/actions/invite-user-to-team.mjs +1 -0
- package/dist/actions/invite-user-to-team.mjs.map +1 -1
- package/dist/actions/send-notification-async.cjs +1 -0
- package/dist/actions/send-notification-async.cjs.map +1 -1
- package/dist/actions/send-notification-async.d.cts +3 -21
- package/dist/actions/send-notification-async.d.cts.map +1 -1
- package/dist/actions/send-notification-async.d.mts +3 -21
- package/dist/actions/send-notification-async.d.mts.map +1 -1
- package/dist/actions/send-notification-async.mjs +1 -0
- package/dist/actions/send-notification-async.mjs.map +1 -1
- package/dist/actions/send-notification-sync.cjs +1 -0
- package/dist/actions/send-notification-sync.cjs.map +1 -1
- package/dist/actions/send-notification-sync.d.cts +3 -21
- package/dist/actions/send-notification-sync.d.cts.map +1 -1
- package/dist/actions/send-notification-sync.d.mts +3 -21
- package/dist/actions/send-notification-sync.d.mts.map +1 -1
- package/dist/actions/send-notification-sync.mjs +1 -0
- package/dist/actions/send-notification-sync.mjs.map +1 -1
- package/dist/actions/send-notification-to-group.cjs +1 -0
- package/dist/actions/send-notification-to-group.cjs.map +1 -1
- package/dist/actions/send-notification-to-group.d.cts +3 -22
- package/dist/actions/send-notification-to-group.d.cts.map +1 -1
- package/dist/actions/send-notification-to-group.d.mts +3 -22
- package/dist/actions/send-notification-to-group.d.mts.map +1 -1
- package/dist/actions/send-notification-to-group.mjs +1 -0
- package/dist/actions/send-notification-to-group.mjs.map +1 -1
- package/dist/actions/send-notification-webhook-post.cjs +1 -0
- package/dist/actions/send-notification-webhook-post.cjs.map +1 -1
- package/dist/actions/send-notification-webhook-post.d.cts +3 -22
- package/dist/actions/send-notification-webhook-post.d.cts.map +1 -1
- package/dist/actions/send-notification-webhook-post.d.mts +3 -22
- package/dist/actions/send-notification-webhook-post.d.mts.map +1 -1
- package/dist/actions/send-notification-webhook-post.mjs +1 -0
- package/dist/actions/send-notification-webhook-post.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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":["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<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":["pushByTechulus","executePushByTechulusTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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<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 pushByTechulus.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,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.map
CHANGED
|
@@ -1 +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<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 { 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<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 pushByTechulus.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,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"}
|
|
@@ -1 +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.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.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\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.cjs","names":["z","action"],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusDeleteTeamMemberOrInviteInput = 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.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\").nullable(),\n}).passthrough().describe(\"Response schema for deleting team member or invite.\");\n\nexport const pushByTechulusDeleteTeamMemberOrInvite: AppAction<\n typeof PushByTechulusDeleteTeamMemberOrInviteInput,\n typeof PushByTechulusDeleteTeamMemberOrInviteOutput,\n typeof pushByTechulus.credential\n> = 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":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,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,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,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,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,yCAITC,eAAAA,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-team-member-or-invite.d.ts
|
|
@@ -10,22 +12,7 @@ declare const PushByTechulusDeleteTeamMemberOrInviteOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushByTechulusDeleteTeamMemberOrInvite:
|
|
14
|
-
team: string;
|
|
15
|
-
email: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushByTechulusDeleteTeamMemberOrInvite: AppAction<typeof PushByTechulusDeleteTeamMemberOrInviteInput, typeof PushByTechulusDeleteTeamMemberOrInviteOutput, typeof pushByTechulus.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { pushByTechulusDeleteTeamMemberOrInvite };
|
|
31
18
|
//# sourceMappingURL=delete-team-member-or-invite.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-team-member-or-invite.d.cts","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.d.cts","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAI3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;cAM5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-team-member-or-invite.d.ts
|
|
@@ -10,22 +12,7 @@ declare const PushByTechulusDeleteTeamMemberOrInviteOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushByTechulusDeleteTeamMemberOrInvite:
|
|
14
|
-
team: string;
|
|
15
|
-
email: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushByTechulusDeleteTeamMemberOrInvite: AppAction<typeof PushByTechulusDeleteTeamMemberOrInviteInput, typeof PushByTechulusDeleteTeamMemberOrInviteOutput, typeof pushByTechulus.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { pushByTechulusDeleteTeamMemberOrInvite };
|
|
31
18
|
//# sourceMappingURL=delete-team-member-or-invite.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-team-member-or-invite.d.mts","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.d.mts","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAI3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;cAM5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.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\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"delete-team-member-or-invite.mjs","names":[],"sources":["../../src/actions/delete-team-member-or-invite.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusDeleteTeamMemberOrInviteInput = 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.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\").nullable(),\n}).passthrough().describe(\"Response schema for deleting team member or invite.\");\n\nexport const pushByTechulusDeleteTeamMemberOrInvite: AppAction<\n typeof PushByTechulusDeleteTeamMemberOrInviteInput,\n typeof PushByTechulusDeleteTeamMemberOrInviteOutput,\n typeof pushByTechulus.credential\n> = 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":";;;AAgBA,MAAa,yCAIT,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,CAAC,CAAC,CAAC,SAAS,6EAeH;CACP,QAf0D,EAAE,OAAO;EACnE,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,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.cjs","names":["z","action"],"sources":["../../src/actions/invite-user-to-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusInviteUserToTeamInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for team invitation.\");\n\nexport const pushByTechulusInviteUserToTeam: AppAction<\n typeof PushByTechulusInviteUserToTeamInput,\n typeof PushByTechulusInviteUserToTeamOutput,\n typeof pushByTechulus.credential\n> = 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":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,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,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,iCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invite-user-to-team.d.ts
|
|
@@ -10,22 +12,7 @@ declare const PushByTechulusInviteUserToTeamOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushByTechulusInviteUserToTeam:
|
|
14
|
-
team: string;
|
|
15
|
-
email: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushByTechulusInviteUserToTeam: AppAction<typeof PushByTechulusInviteUserToTeamInput, typeof PushByTechulusInviteUserToTeamOutput, typeof pushByTechulus.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { pushByTechulusInviteUserToTeam };
|
|
31
18
|
//# sourceMappingURL=invite-user-to-team.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite-user-to-team.d.cts","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.d.cts","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/invite-user-to-team.d.ts
|
|
@@ -10,22 +12,7 @@ declare const PushByTechulusInviteUserToTeamOutput: z.ZodObject<{
|
|
|
10
12
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushByTechulusInviteUserToTeam:
|
|
14
|
-
team: string;
|
|
15
|
-
email: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
generic_api_key: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushByTechulusInviteUserToTeam: AppAction<typeof PushByTechulusInviteUserToTeamInput, typeof PushByTechulusInviteUserToTeamOutput, typeof pushByTechulus.credential>;
|
|
29
16
|
//#endregion
|
|
30
17
|
export { pushByTechulusInviteUserToTeam };
|
|
31
18
|
//# sourceMappingURL=invite-user-to-team.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invite-user-to-team.d.mts","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.d.mts","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.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.\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"invite-user-to-team.mjs","names":[],"sources":["../../src/actions/invite-user-to-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusInviteUserToTeamInput = 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.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.\").nullable(),\n}).passthrough().describe(\"Response model for team invitation.\");\n\nexport const pushByTechulusInviteUserToTeam: AppAction<\n typeof PushByTechulusInviteUserToTeamInput,\n typeof PushByTechulusInviteUserToTeamOutput,\n typeof pushByTechulus.credential\n> = 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":";;;AAgBA,MAAa,iCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC/E,CAAC,CAAC,CAAC,SAAS,wDAeH;CACP,QAfkD,EAAE,OAAO;EAC3D,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,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n message: z.string().describe(\"Response message providing additional information about the operation.\").nullable(),\n success: z.boolean().describe(\"Operation success status indicating whether the notification was queued successfully.\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"send-notification-async.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-async.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationAsyncInput = 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.object({\n message: z.string().describe(\"Response message providing additional information about the operation.\").nullable(),\n success: z.boolean().describe(\"Operation success status indicating whether the notification was queued successfully.\").nullable(),\n}).passthrough().describe(\"Response model for async notification send operation.\");\n\nexport const pushByTechulusSendNotificationAsync: AppAction<\n typeof PushByTechulusSendNotificationAsyncInput,\n typeof PushByTechulusSendNotificationAsyncOutput,\n typeof pushByTechulus.credential\n> = 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":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,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,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,sCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-async.d.ts
|
|
@@ -30,27 +32,7 @@ declare const PushByTechulusSendNotificationAsyncOutput: z.ZodObject<{
|
|
|
30
32
|
message: z.ZodNullable<z.ZodString>;
|
|
31
33
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const pushByTechulusSendNotificationAsync:
|
|
34
|
-
body: string;
|
|
35
|
-
title: string;
|
|
36
|
-
link?: string | undefined;
|
|
37
|
-
image?: string | undefined;
|
|
38
|
-
sound?: "default" | "pop" | "arcade" | "correct" | "fail" | "harp" | "reveal" | "bubble" | "doorbell" | "flute" | "money" | "scifi" | "clear" | "elevator" | "guitar" | undefined;
|
|
39
|
-
channel?: string | undefined;
|
|
40
|
-
timeSensitive?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const pushByTechulusSendNotificationAsync: AppAction<typeof PushByTechulusSendNotificationAsyncInput, typeof PushByTechulusSendNotificationAsyncOutput, typeof pushByTechulus.credential>;
|
|
54
36
|
//#endregion
|
|
55
37
|
export { pushByTechulusSendNotificationAsync };
|
|
56
38
|
//# sourceMappingURL=send-notification-async.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-async.d.cts","names":[],"sources":["../../src/actions/send-notification-async.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-async.d.cts","names":[],"sources":["../../src/actions/send-notification-async.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cASxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-async.d.ts
|
|
@@ -30,27 +32,7 @@ declare const PushByTechulusSendNotificationAsyncOutput: z.ZodObject<{
|
|
|
30
32
|
message: z.ZodNullable<z.ZodString>;
|
|
31
33
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const pushByTechulusSendNotificationAsync:
|
|
34
|
-
body: string;
|
|
35
|
-
title: string;
|
|
36
|
-
link?: string | undefined;
|
|
37
|
-
image?: string | undefined;
|
|
38
|
-
sound?: "default" | "pop" | "arcade" | "correct" | "fail" | "harp" | "reveal" | "bubble" | "doorbell" | "flute" | "money" | "scifi" | "clear" | "elevator" | "guitar" | undefined;
|
|
39
|
-
channel?: string | undefined;
|
|
40
|
-
timeSensitive?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
generic_api_key: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const pushByTechulusSendNotificationAsync: AppAction<typeof PushByTechulusSendNotificationAsyncInput, typeof PushByTechulusSendNotificationAsyncOutput, typeof pushByTechulus.credential>;
|
|
54
36
|
//#endregion
|
|
55
37
|
export { pushByTechulusSendNotificationAsync };
|
|
56
38
|
//# sourceMappingURL=send-notification-async.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-async.d.mts","names":[],"sources":["../../src/actions/send-notification-async.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-async.d.mts","names":[],"sources":["../../src/actions/send-notification-async.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cASxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAKzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.object({\n message: z.string().describe(\"Response message providing additional information about the operation.\").nullable(),\n success: z.boolean().describe(\"Operation success status indicating whether the notification was queued successfully.\").nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"send-notification-async.mjs","names":[],"sources":["../../src/actions/send-notification-async.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationAsyncInput = 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.object({\n message: z.string().describe(\"Response message providing additional information about the operation.\").nullable(),\n success: z.boolean().describe(\"Operation success status indicating whether the notification was queued successfully.\").nullable(),\n}).passthrough().describe(\"Response model for async notification send operation.\");\n\nexport const pushByTechulusSendNotificationAsync: AppAction<\n typeof PushByTechulusSendNotificationAsyncInput,\n typeof PushByTechulusSendNotificationAsyncOutput,\n typeof pushByTechulus.credential\n> = 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":";;;AAoBA,MAAa,sCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsD,EAAE,OAAO;EAC/D,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,8DAcH;CACP,QAduD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAChH,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAClI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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.object({\n message: z.string().describe(\"Individual response message.\").nullable(),\n success: z.boolean().describe(\"Indicates if the individual notification was successful.\").nullable(),\n}).passthrough().describe(\"Individual notification response details.\");\nexport const PushByTechulusSendNotificationSyncOutput = 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.\").nullable(),\n responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe(\"Array of response objects for each device notification.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"send-notification-sync.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-sync.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationSyncInput = 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.object({\n message: z.string().describe(\"Individual response message.\").nullable(),\n success: z.boolean().describe(\"Indicates if the individual notification was successful.\").nullable(),\n}).passthrough().describe(\"Individual notification response details.\");\nexport const PushByTechulusSendNotificationSyncOutput = 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.\").nullable(),\n responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe(\"Array of response objects for each device notification.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for synchronous notification sending.\");\n\nexport const pushByTechulusSendNotificationSync: AppAction<\n typeof PushByTechulusSendNotificationSyncInput,\n typeof PushByTechulusSendNotificationSyncOutput,\n typeof pushByTechulus.credential\n> = 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":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,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,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-sync.d.ts
|
|
@@ -18,27 +20,7 @@ declare const PushByTechulusSendNotificationSyncOutput: z.ZodObject<{
|
|
|
18
20
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const pushByTechulusSendNotificationSync:
|
|
22
|
-
body: string;
|
|
23
|
-
title: string;
|
|
24
|
-
link?: string | undefined;
|
|
25
|
-
image?: string | undefined;
|
|
26
|
-
sound?: string | undefined;
|
|
27
|
-
channel?: string | undefined;
|
|
28
|
-
timeSensitive?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const pushByTechulusSendNotificationSync: AppAction<typeof PushByTechulusSendNotificationSyncInput, typeof PushByTechulusSendNotificationSyncOutput, typeof pushByTechulus.credential>;
|
|
42
24
|
//#endregion
|
|
43
25
|
export { pushByTechulusSendNotificationSync };
|
|
44
26
|
//# sourceMappingURL=send-notification-sync.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-sync.d.cts","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-sync.d.cts","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAMxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-sync.d.ts
|
|
@@ -18,27 +20,7 @@ declare const PushByTechulusSendNotificationSyncOutput: z.ZodObject<{
|
|
|
18
20
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const pushByTechulusSendNotificationSync:
|
|
22
|
-
body: string;
|
|
23
|
-
title: string;
|
|
24
|
-
link?: string | undefined;
|
|
25
|
-
image?: string | undefined;
|
|
26
|
-
sound?: string | undefined;
|
|
27
|
-
channel?: string | undefined;
|
|
28
|
-
timeSensitive?: boolean | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const pushByTechulusSendNotificationSync: AppAction<typeof PushByTechulusSendNotificationSyncInput, typeof PushByTechulusSendNotificationSyncOutput, typeof pushByTechulus.credential>;
|
|
42
24
|
//#endregion
|
|
43
25
|
export { pushByTechulusSendNotificationSync };
|
|
44
26
|
//# sourceMappingURL=send-notification-sync.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-sync.d.mts","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-sync.d.mts","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;cAavC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAMxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +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.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.object({\n message: z.string().describe(\"Individual response message.\").nullable(),\n success: z.boolean().describe(\"Indicates if the individual notification was successful.\").nullable(),\n}).passthrough().describe(\"Individual notification response details.\");\nexport const PushByTechulusSendNotificationSyncOutput = 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.\").nullable(),\n responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe(\"Array of response objects for each device notification.\").nullable().optional(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"send-notification-sync.mjs","names":[],"sources":["../../src/actions/send-notification-sync.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationSyncInput = 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.object({\n message: z.string().describe(\"Individual response message.\").nullable(),\n success: z.boolean().describe(\"Indicates if the individual notification was successful.\").nullable(),\n}).passthrough().describe(\"Individual notification response details.\");\nexport const PushByTechulusSendNotificationSyncOutput = 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.\").nullable(),\n responses: z.array(PushByTechulusSendNotificationSync_NotificationResponseSchema).describe(\"Array of response objects for each device notification.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for synchronous notification sending.\");\n\nexport const pushByTechulusSendNotificationSync: AppAction<\n typeof PushByTechulusSendNotificationSyncInput,\n typeof PushByTechulusSendNotificationSyncOutput,\n typeof pushByTechulus.credential\n> = 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":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO;CAC9D,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,gEAAgE,EAAE,OAAO;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAOrE,MAAa,qCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-to-group.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-to-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationToGroupInput = z.object({\n body: z.string().describe(\"Notification body message\"),\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: 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). Default: 'feed'\").optional(),\n groupId: z.string().describe(\"The Device Group ID to send the notification to\"),\n timeSensitive: z.boolean().describe(\"Delivers immediately even if device is in do-not-disturb mode (iOS only). Default: false\").optional(),\n}).describe(\"Request parameters to send push notification to a device group.\");\nconst PushByTechulusSendNotificationToGroup_DeviceResponseSchema = z.object({\n message: z.string().describe(\"Individual device response message\").nullable(),\n success: z.boolean().describe(\"Indicates if notification was sent to individual device\").nullable(),\n}).passthrough().describe(\"Individual device response for group notification.\");\nexport const PushByTechulusSendNotificationToGroupOutput = z.object({\n message: z.string().describe(\"Response message\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n responses: z.array(PushByTechulusSendNotificationToGroup_DeviceResponseSchema).describe(\"Array of individual device responses\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending notification to device group.\");\n\nexport const pushByTechulusSendNotificationToGroup = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_TO_GROUP\", {\n slug: \"push_by_techulus-send-notification-to-group\",\n name: \"Send Notification to Device Group\",\n 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.\",\n input: PushByTechulusSendNotificationToGroupInput,\n output: PushByTechulusSendNotificationToGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-to-group.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-to-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationToGroupInput = z.object({\n body: z.string().describe(\"Notification body message\"),\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: 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). Default: 'feed'\").optional(),\n groupId: z.string().describe(\"The Device Group ID to send the notification to\"),\n timeSensitive: z.boolean().describe(\"Delivers immediately even if device is in do-not-disturb mode (iOS only). Default: false\").optional(),\n}).describe(\"Request parameters to send push notification to a device group.\");\nconst PushByTechulusSendNotificationToGroup_DeviceResponseSchema = z.object({\n message: z.string().describe(\"Individual device response message\").nullable(),\n success: z.boolean().describe(\"Indicates if notification was sent to individual device\").nullable(),\n}).passthrough().describe(\"Individual device response for group notification.\");\nexport const PushByTechulusSendNotificationToGroupOutput = z.object({\n message: z.string().describe(\"Response message\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n responses: z.array(PushByTechulusSendNotificationToGroup_DeviceResponseSchema).describe(\"Array of individual device responses\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending notification to device group.\");\n\nexport const pushByTechulusSendNotificationToGroup: AppAction<\n typeof PushByTechulusSendNotificationToGroupInput,\n typeof PushByTechulusSendNotificationToGroupOutput,\n typeof pushByTechulus.credential\n> = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_TO_GROUP\", {\n slug: \"push_by_techulus-send-notification-to-group\",\n name: \"Send Notification to Device Group\",\n 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.\",\n input: PushByTechulusSendNotificationToGroupInput,\n output: PushByTechulusSendNotificationToGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;EAAQ;EAAQ;EAAU;EAAU;EAAY;EAAS;EAAS;EAAS;EAAS;EAAY;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC3U,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,wCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-to-group.d.ts
|
|
@@ -35,28 +37,7 @@ declare const PushByTechulusSendNotificationToGroupOutput: z.ZodObject<{
|
|
|
35
37
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$loose>>>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushByTechulusSendNotificationToGroup:
|
|
39
|
-
body: string;
|
|
40
|
-
title: string;
|
|
41
|
-
groupId: string;
|
|
42
|
-
link?: string | undefined;
|
|
43
|
-
image?: string | undefined;
|
|
44
|
-
sound?: "default" | "pop" | "arcade" | "correct" | "fail" | "harp" | "reveal" | "bubble" | "doorbell" | "flute" | "money" | "scifi" | "clear" | "elevator" | "guitar" | undefined;
|
|
45
|
-
channel?: string | undefined;
|
|
46
|
-
timeSensitive?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushByTechulusSendNotificationToGroup: AppAction<typeof PushByTechulusSendNotificationToGroupInput, typeof PushByTechulusSendNotificationToGroupOutput, typeof pushByTechulus.credential>;
|
|
60
41
|
//#endregion
|
|
61
42
|
export { pushByTechulusSendNotificationToGroup };
|
|
62
43
|
//# sourceMappingURL=send-notification-to-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-to-group.d.cts","names":[],"sources":["../../src/actions/send-notification-to-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-to-group.d.cts","names":[],"sources":["../../src/actions/send-notification-to-group.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAM3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-to-group.d.ts
|
|
@@ -35,28 +37,7 @@ declare const PushByTechulusSendNotificationToGroupOutput: z.ZodObject<{
|
|
|
35
37
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$loose>>>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushByTechulusSendNotificationToGroup:
|
|
39
|
-
body: string;
|
|
40
|
-
title: string;
|
|
41
|
-
groupId: string;
|
|
42
|
-
link?: string | undefined;
|
|
43
|
-
image?: string | undefined;
|
|
44
|
-
sound?: "default" | "pop" | "arcade" | "correct" | "fail" | "harp" | "reveal" | "bubble" | "doorbell" | "flute" | "money" | "scifi" | "clear" | "elevator" | "guitar" | undefined;
|
|
45
|
-
channel?: string | undefined;
|
|
46
|
-
timeSensitive?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushByTechulusSendNotificationToGroup: AppAction<typeof PushByTechulusSendNotificationToGroupInput, typeof PushByTechulusSendNotificationToGroupOutput, typeof pushByTechulus.credential>;
|
|
60
41
|
//#endregion
|
|
61
42
|
export { pushByTechulusSendNotificationToGroup };
|
|
62
43
|
//# sourceMappingURL=send-notification-to-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-to-group.d.mts","names":[],"sources":["../../src/actions/send-notification-to-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-to-group.d.mts","names":[],"sources":["../../src/actions/send-notification-to-group.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAM3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-to-group.mjs","names":[],"sources":["../../src/actions/send-notification-to-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationToGroupInput = z.object({\n body: z.string().describe(\"Notification body message\"),\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: 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). Default: 'feed'\").optional(),\n groupId: z.string().describe(\"The Device Group ID to send the notification to\"),\n timeSensitive: z.boolean().describe(\"Delivers immediately even if device is in do-not-disturb mode (iOS only). Default: false\").optional(),\n}).describe(\"Request parameters to send push notification to a device group.\");\nconst PushByTechulusSendNotificationToGroup_DeviceResponseSchema = z.object({\n message: z.string().describe(\"Individual device response message\").nullable(),\n success: z.boolean().describe(\"Indicates if notification was sent to individual device\").nullable(),\n}).passthrough().describe(\"Individual device response for group notification.\");\nexport const PushByTechulusSendNotificationToGroupOutput = z.object({\n message: z.string().describe(\"Response message\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n responses: z.array(PushByTechulusSendNotificationToGroup_DeviceResponseSchema).describe(\"Array of individual device responses\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending notification to device group.\");\n\nexport const pushByTechulusSendNotificationToGroup = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_TO_GROUP\", {\n slug: \"push_by_techulus-send-notification-to-group\",\n name: \"Send Notification to Device Group\",\n 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.\",\n input: PushByTechulusSendNotificationToGroupInput,\n output: PushByTechulusSendNotificationToGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-to-group.mjs","names":[],"sources":["../../src/actions/send-notification-to-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationToGroupInput = z.object({\n body: z.string().describe(\"Notification body message\"),\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: 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). Default: 'feed'\").optional(),\n groupId: z.string().describe(\"The Device Group ID to send the notification to\"),\n timeSensitive: z.boolean().describe(\"Delivers immediately even if device is in do-not-disturb mode (iOS only). Default: false\").optional(),\n}).describe(\"Request parameters to send push notification to a device group.\");\nconst PushByTechulusSendNotificationToGroup_DeviceResponseSchema = z.object({\n message: z.string().describe(\"Individual device response message\").nullable(),\n success: z.boolean().describe(\"Indicates if notification was sent to individual device\").nullable(),\n}).passthrough().describe(\"Individual device response for group notification.\");\nexport const PushByTechulusSendNotificationToGroupOutput = z.object({\n message: z.string().describe(\"Response message\").nullable(),\n success: z.boolean().describe(\"Indicates if the request was successful\").nullable(),\n responses: z.array(PushByTechulusSendNotificationToGroup_DeviceResponseSchema).describe(\"Array of individual device responses\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending notification to device group.\");\n\nexport const pushByTechulusSendNotificationToGroup: AppAction<\n typeof PushByTechulusSendNotificationToGroupInput,\n typeof PushByTechulusSendNotificationToGroupOutput,\n typeof pushByTechulus.credential\n> = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_TO_GROUP\", {\n slug: \"push_by_techulus-send-notification-to-group\",\n name: \"Send Notification to Device Group\",\n 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.\",\n input: PushByTechulusSendNotificationToGroupInput,\n output: PushByTechulusSendNotificationToGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;EAAQ;EAAQ;EAAU;EAAU;EAAY;EAAS;EAAS;EAAS;EAAS;EAAY;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC3U,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,6DAA6D,EAAE,OAAO;CAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAO9E,MAAa,wCAIT,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAClF,WAAW,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-webhook-post.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-webhook-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationWebhookPostInput = 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 api_key: z.string().describe(\"Account / Team API Key for authentication\"),\n channel: z.string().describe(\"Notification channel, alphanumerical string and hyphens only (default: 'feed')\").optional(),\n time_sensitive: z.boolean().describe(\"Time sensitive notifications will be delivered immediately, even if the device is in do not disturb mode (iOS only) (default: false)\").optional(),\n}).describe(\"Request model for sending push notification via webhook POST.\");\nconst PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema = z.object({\n message: z.string().describe(\"Individual delivery message\").nullable(),\n success: z.boolean().describe(\"Individual delivery success status\").nullable(),\n}).passthrough().describe(\"Individual notification delivery result.\");\nexport const PushByTechulusSendNotificationWebhookPostOutput = z.object({\n message: z.string().describe(\"Response message\").nullable().optional(),\n success: z.boolean().describe(\"Operation success status\").nullable(),\n responses: z.array(PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema).describe(\"Array of individual notification delivery results\").nullable().optional(),\n}).passthrough().describe(\"Response model for sending push notification via webhook POST.\");\n\nexport const pushByTechulusSendNotificationWebhookPost = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_WEBHOOK_POST\", {\n slug: \"push_by_techulus-send-notification-webhook-post\",\n name: \"Send Notification via Webhook POST\",\n description: \"Tool to send push notifications to all devices associated with a specific API key via POST request. Use when you need to deliver notifications through webhook integrations or team-based distribution.\",\n input: PushByTechulusSendNotificationWebhookPostInput,\n output: PushByTechulusSendNotificationWebhookPostOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-webhook-post.cjs","names":["z","action"],"sources":["../../src/actions/send-notification-webhook-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationWebhookPostInput = 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 api_key: z.string().describe(\"Account / Team API Key for authentication\"),\n channel: z.string().describe(\"Notification channel, alphanumerical string and hyphens only (default: 'feed')\").optional(),\n time_sensitive: z.boolean().describe(\"Time sensitive notifications will be delivered immediately, even if the device is in do not disturb mode (iOS only) (default: false)\").optional(),\n}).describe(\"Request model for sending push notification via webhook POST.\");\nconst PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema = z.object({\n message: z.string().describe(\"Individual delivery message\").nullable(),\n success: z.boolean().describe(\"Individual delivery success status\").nullable(),\n}).passthrough().describe(\"Individual notification delivery result.\");\nexport const PushByTechulusSendNotificationWebhookPostOutput = z.object({\n message: z.string().describe(\"Response message\").nullable().optional(),\n success: z.boolean().describe(\"Operation success status\").nullable(),\n responses: z.array(PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema).describe(\"Array of individual notification delivery results\").nullable().optional(),\n}).passthrough().describe(\"Response model for sending push notification via webhook POST.\");\n\nexport const pushByTechulusSendNotificationWebhookPost: AppAction<\n typeof PushByTechulusSendNotificationWebhookPostInput,\n typeof PushByTechulusSendNotificationWebhookPostOutput,\n typeof pushByTechulus.credential\n> = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_WEBHOOK_POST\", {\n slug: \"push_by_techulus-send-notification-webhook-post\",\n name: \"Send Notification via Webhook POST\",\n description: \"Tool to send push notifications to all devices associated with a specific API key via POST request. Use when you need to deliver notifications through webhook integrations or team-based distribution.\",\n input: PushByTechulusSendNotificationWebhookPostInput,\n output: PushByTechulusSendNotificationWebhookPostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;EAAQ;EAAQ;EAAU;EAAU;EAAY;EAAS;EAAS;EAAS;EAAS;EAAY;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC9U,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,6EAA6EA,IAAAA,EAAE,OAAO;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,MAAM,0EAA0E,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,4CAITC,eAAAA,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-webhook-post.d.ts
|
|
@@ -35,28 +37,7 @@ declare const PushByTechulusSendNotificationWebhookPostOutput: z.ZodObject<{
|
|
|
35
37
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$loose>>>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushByTechulusSendNotificationWebhookPost:
|
|
39
|
-
body: string;
|
|
40
|
-
title: string;
|
|
41
|
-
api_key: string;
|
|
42
|
-
link?: string | undefined;
|
|
43
|
-
image?: string | undefined;
|
|
44
|
-
sound?: "default" | "pop" | "arcade" | "correct" | "fail" | "harp" | "reveal" | "bubble" | "doorbell" | "flute" | "money" | "scifi" | "clear" | "elevator" | "guitar" | undefined;
|
|
45
|
-
channel?: string | undefined;
|
|
46
|
-
time_sensitive?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushByTechulusSendNotificationWebhookPost: AppAction<typeof PushByTechulusSendNotificationWebhookPostInput, typeof PushByTechulusSendNotificationWebhookPostOutput, typeof pushByTechulus.credential>;
|
|
60
41
|
//#endregion
|
|
61
42
|
export { pushByTechulusSendNotificationWebhookPost };
|
|
62
43
|
//# sourceMappingURL=send-notification-webhook-post.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-webhook-post.d.cts","names":[],"sources":["../../src/actions/send-notification-webhook-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-webhook-post.d.cts","names":[],"sources":["../../src/actions/send-notification-webhook-post.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;cAM/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushByTechulus } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-notification-webhook-post.d.ts
|
|
@@ -35,28 +37,7 @@ declare const PushByTechulusSendNotificationWebhookPostOutput: z.ZodObject<{
|
|
|
35
37
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
36
38
|
}, z.core.$loose>>>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushByTechulusSendNotificationWebhookPost:
|
|
39
|
-
body: string;
|
|
40
|
-
title: string;
|
|
41
|
-
api_key: string;
|
|
42
|
-
link?: string | undefined;
|
|
43
|
-
image?: string | undefined;
|
|
44
|
-
sound?: "default" | "pop" | "arcade" | "correct" | "fail" | "harp" | "reveal" | "bubble" | "doorbell" | "flute" | "money" | "scifi" | "clear" | "elevator" | "guitar" | undefined;
|
|
45
|
-
channel?: string | undefined;
|
|
46
|
-
time_sensitive?: boolean | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
48
|
-
connectionId: z.ZodString;
|
|
49
|
-
entityId: z.ZodString;
|
|
50
|
-
instanceId: z.ZodString;
|
|
51
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
-
generic_api_key: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"push_by_techulus", z.ZodObject<{
|
|
54
|
-
connectionId: z.ZodString;
|
|
55
|
-
entityId: z.ZodString;
|
|
56
|
-
instanceId: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
58
|
-
generic_api_key: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushByTechulusSendNotificationWebhookPost: AppAction<typeof PushByTechulusSendNotificationWebhookPostInput, typeof PushByTechulusSendNotificationWebhookPostOutput, typeof pushByTechulus.credential>;
|
|
60
41
|
//#endregion
|
|
61
42
|
export { pushByTechulusSendNotificationWebhookPost };
|
|
62
43
|
//# sourceMappingURL=send-notification-webhook-post.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-webhook-post.d.mts","names":[],"sources":["../../src/actions/send-notification-webhook-post.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-webhook-post.d.mts","names":[],"sources":["../../src/actions/send-notification-webhook-post.ts"],"mappings":";;;;;cAMa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAc9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;cAM/C,yCAAA,EAA2C,SAAA,QAC/C,8CAAA,SACA,+CAAA,SACA,cAAA,CAAe,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-notification-webhook-post.mjs","names":[],"sources":["../../src/actions/send-notification-webhook-post.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushByTechulusSendNotificationWebhookPostInput = 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 api_key: z.string().describe(\"Account / Team API Key for authentication\"),\n channel: z.string().describe(\"Notification channel, alphanumerical string and hyphens only (default: 'feed')\").optional(),\n time_sensitive: z.boolean().describe(\"Time sensitive notifications will be delivered immediately, even if the device is in do not disturb mode (iOS only) (default: false)\").optional(),\n}).describe(\"Request model for sending push notification via webhook POST.\");\nconst PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema = z.object({\n message: z.string().describe(\"Individual delivery message\").nullable(),\n success: z.boolean().describe(\"Individual delivery success status\").nullable(),\n}).passthrough().describe(\"Individual notification delivery result.\");\nexport const PushByTechulusSendNotificationWebhookPostOutput = z.object({\n message: z.string().describe(\"Response message\").nullable().optional(),\n success: z.boolean().describe(\"Operation success status\").nullable(),\n responses: z.array(PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema).describe(\"Array of individual notification delivery results\").nullable().optional(),\n}).passthrough().describe(\"Response model for sending push notification via webhook POST.\");\n\nexport const pushByTechulusSendNotificationWebhookPost = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_WEBHOOK_POST\", {\n slug: \"push_by_techulus-send-notification-webhook-post\",\n name: \"Send Notification via Webhook POST\",\n description: \"Tool to send push notifications to all devices associated with a specific API key via POST request. Use when you need to deliver notifications through webhook integrations or team-based distribution.\",\n input: PushByTechulusSendNotificationWebhookPostInput,\n output: PushByTechulusSendNotificationWebhookPostOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-notification-webhook-post.mjs","names":[],"sources":["../../src/actions/send-notification-webhook-post.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushByTechulus } from \"../app\";\n\nexport const PushByTechulusSendNotificationWebhookPostInput = 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 api_key: z.string().describe(\"Account / Team API Key for authentication\"),\n channel: z.string().describe(\"Notification channel, alphanumerical string and hyphens only (default: 'feed')\").optional(),\n time_sensitive: z.boolean().describe(\"Time sensitive notifications will be delivered immediately, even if the device is in do not disturb mode (iOS only) (default: false)\").optional(),\n}).describe(\"Request model for sending push notification via webhook POST.\");\nconst PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema = z.object({\n message: z.string().describe(\"Individual delivery message\").nullable(),\n success: z.boolean().describe(\"Individual delivery success status\").nullable(),\n}).passthrough().describe(\"Individual notification delivery result.\");\nexport const PushByTechulusSendNotificationWebhookPostOutput = z.object({\n message: z.string().describe(\"Response message\").nullable().optional(),\n success: z.boolean().describe(\"Operation success status\").nullable(),\n responses: z.array(PushByTechulusSendNotificationWebhookPost_NotificationDeliveryResultSchema).describe(\"Array of individual notification delivery results\").nullable().optional(),\n}).passthrough().describe(\"Response model for sending push notification via webhook POST.\");\n\nexport const pushByTechulusSendNotificationWebhookPost: AppAction<\n typeof PushByTechulusSendNotificationWebhookPostInput,\n typeof PushByTechulusSendNotificationWebhookPostOutput,\n typeof pushByTechulus.credential\n> = action(\"PUSH_BY_TECHULUS_SEND_NOTIFICATION_WEBHOOK_POST\", {\n slug: \"push_by_techulus-send-notification-webhook-post\",\n name: \"Send Notification via Webhook POST\",\n description: \"Tool to send push notifications to all devices associated with a specific API key via POST request. Use when you need to deliver notifications through webhook integrations or team-based distribution.\",\n input: PushByTechulusSendNotificationWebhookPostInput,\n output: PushByTechulusSendNotificationWebhookPostOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iDAAiD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;EAAQ;EAAQ;EAAU;EAAU;EAAY;EAAS;EAAS;EAAS;EAAS;EAAY;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC9U,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACxL,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,6EAA6E,EAAE,OAAO;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAOpE,MAAa,4CAIT,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,MAAM,0EAA0E,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const pushByTechulus = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "push_by_techulus",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.pushByTechulus = pushByTechulus;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const pushByTechulus = defineApp({\n slug: \"push_by_techulus\",\n auth: \"keystroke\",\n credential
|
|
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 pushByTechulus: KeystrokeApp<\"push_by_techulus\", typeof credential> = defineApp({\n slug: \"push_by_techulus\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,kBAAA,GAAA,2BAAA,UAAA,CAAgF;CAC3F,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const pushByTechulus: KeystrokeApp<"push_by_techulus", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { pushByTechulus };
|
|
13
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,cAAA,EAAgB,YAAY,4BAA4B,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const pushByTechulus: KeystrokeApp<"push_by_techulus", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { pushByTechulus };
|
|
13
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,cAAA,EAAgB,YAAY,4BAA4B,UAAA"}
|
package/dist/app.mjs
CHANGED
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\";\nimport { z } from \"zod\";\n\nexport const pushByTechulus = defineApp({\n slug: \"push_by_techulus\",\n auth: \"keystroke\",\n credential
|
|
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 pushByTechulus: KeystrokeApp<\"push_by_techulus\", typeof credential> = defineApp({\n slug: \"push_by_techulus\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,iBAAsE,UAAU;CAC3F,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { pushByTechulus } from "./app.cjs";
|
|
1
2
|
import { pushByTechulusDeleteTeamMemberOrInvite } from "./actions/delete-team-member-or-invite.cjs";
|
|
2
3
|
import { pushByTechulusInviteUserToTeam } from "./actions/invite-user-to-team.cjs";
|
|
3
4
|
import { pushByTechulusSendNotificationAsync } from "./actions/send-notification-async.cjs";
|
|
4
5
|
import { pushByTechulusSendNotificationSync } from "./actions/send-notification-sync.cjs";
|
|
5
6
|
import { pushByTechulusSendNotificationToGroup } from "./actions/send-notification-to-group.cjs";
|
|
6
7
|
import { pushByTechulusSendNotificationWebhookPost } from "./actions/send-notification-webhook-post.cjs";
|
|
7
|
-
import { pushByTechulus } from "./app.cjs";
|
|
8
8
|
import { pushByTechulusCatalog } from "./catalog.cjs";
|
|
9
9
|
export { pushByTechulus, pushByTechulusCatalog, pushByTechulusDeleteTeamMemberOrInvite, pushByTechulusInviteUserToTeam, pushByTechulusSendNotificationAsync, pushByTechulusSendNotificationSync, pushByTechulusSendNotificationToGroup, pushByTechulusSendNotificationWebhookPost };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { pushByTechulus } from "./app.mjs";
|
|
1
2
|
import { pushByTechulusDeleteTeamMemberOrInvite } from "./actions/delete-team-member-or-invite.mjs";
|
|
2
3
|
import { pushByTechulusInviteUserToTeam } from "./actions/invite-user-to-team.mjs";
|
|
3
4
|
import { pushByTechulusSendNotificationAsync } from "./actions/send-notification-async.mjs";
|
|
4
5
|
import { pushByTechulusSendNotificationSync } from "./actions/send-notification-sync.mjs";
|
|
5
6
|
import { pushByTechulusSendNotificationToGroup } from "./actions/send-notification-to-group.mjs";
|
|
6
7
|
import { pushByTechulusSendNotificationWebhookPost } from "./actions/send-notification-webhook-post.mjs";
|
|
7
|
-
import { pushByTechulus } from "./app.mjs";
|
|
8
8
|
import { pushByTechulusCatalog } from "./catalog.mjs";
|
|
9
9
|
export { pushByTechulus, pushByTechulusCatalog, pushByTechulusDeleteTeamMemberOrInvite, pushByTechulusInviteUserToTeam, pushByTechulusSendNotificationAsync, pushByTechulusSendNotificationSync, pushByTechulusSendNotificationToGroup, pushByTechulusSendNotificationWebhookPost };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/push_by_techulus",
|
|
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": {
|