@keystrokehq/pushover 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-receipt-retries.cjs +1 -0
- package/dist/actions/cancel-receipt-retries.cjs.map +1 -1
- package/dist/actions/cancel-receipt-retries.d.cts +3 -4
- package/dist/actions/cancel-receipt-retries.d.cts.map +1 -1
- package/dist/actions/cancel-receipt-retries.d.mts +3 -4
- package/dist/actions/cancel-receipt-retries.d.mts.map +1 -1
- package/dist/actions/cancel-receipt-retries.mjs +1 -0
- package/dist/actions/cancel-receipt-retries.mjs.map +1 -1
- package/dist/actions/cancel-retries-by-tag.cjs +1 -0
- package/dist/actions/cancel-retries-by-tag.cjs.map +1 -1
- package/dist/actions/cancel-retries-by-tag.d.cts +3 -4
- package/dist/actions/cancel-retries-by-tag.d.cts.map +1 -1
- package/dist/actions/cancel-retries-by-tag.d.mts +3 -4
- package/dist/actions/cancel-retries-by-tag.d.mts.map +1 -1
- package/dist/actions/cancel-retries-by-tag.mjs +1 -0
- package/dist/actions/cancel-retries-by-tag.mjs.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.cjs +1 -0
- package/dist/actions/client-ack-delete-up-to-id.cjs.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.d.cts +3 -5
- package/dist/actions/client-ack-delete-up-to-id.d.cts.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.d.mts +3 -5
- package/dist/actions/client-ack-delete-up-to-id.d.mts.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.mjs +1 -0
- package/dist/actions/client-ack-delete-up-to-id.mjs.map +1 -1
- package/dist/actions/client-fetch-messages.cjs +1 -0
- package/dist/actions/client-fetch-messages.cjs.map +1 -1
- package/dist/actions/client-fetch-messages.d.cts +3 -4
- package/dist/actions/client-fetch-messages.d.cts.map +1 -1
- package/dist/actions/client-fetch-messages.d.mts +3 -4
- package/dist/actions/client-fetch-messages.d.mts.map +1 -1
- package/dist/actions/client-fetch-messages.mjs +1 -0
- package/dist/actions/client-fetch-messages.mjs.map +1 -1
- package/dist/actions/client-login.cjs +1 -0
- package/dist/actions/client-login.cjs.map +1 -1
- package/dist/actions/client-login.d.cts +3 -5
- package/dist/actions/client-login.d.cts.map +1 -1
- package/dist/actions/client-login.d.mts +3 -5
- package/dist/actions/client-login.d.mts.map +1 -1
- package/dist/actions/client-login.mjs +1 -0
- package/dist/actions/client-login.mjs.map +1 -1
- package/dist/actions/client-realtime-websocket.cjs +1 -0
- package/dist/actions/client-realtime-websocket.cjs.map +1 -1
- package/dist/actions/client-realtime-websocket.d.cts +3 -5
- package/dist/actions/client-realtime-websocket.d.cts.map +1 -1
- package/dist/actions/client-realtime-websocket.d.mts +3 -5
- package/dist/actions/client-realtime-websocket.d.mts.map +1 -1
- package/dist/actions/client-realtime-websocket.mjs +1 -0
- package/dist/actions/client-realtime-websocket.mjs.map +1 -1
- package/dist/actions/client-register-device.cjs +1 -0
- package/dist/actions/client-register-device.cjs.map +1 -1
- package/dist/actions/client-register-device.d.cts +3 -5
- package/dist/actions/client-register-device.d.cts.map +1 -1
- package/dist/actions/client-register-device.d.mts +3 -5
- package/dist/actions/client-register-device.d.mts.map +1 -1
- package/dist/actions/client-register-device.mjs +1 -0
- package/dist/actions/client-register-device.mjs.map +1 -1
- package/dist/actions/get-app-icon-image.cjs +1 -0
- package/dist/actions/get-app-icon-image.cjs.map +1 -1
- package/dist/actions/get-app-icon-image.d.cts +3 -3
- package/dist/actions/get-app-icon-image.d.cts.map +1 -1
- package/dist/actions/get-app-icon-image.d.mts +3 -3
- package/dist/actions/get-app-icon-image.d.mts.map +1 -1
- package/dist/actions/get-app-icon-image.mjs +1 -0
- package/dist/actions/get-app-icon-image.mjs.map +1 -1
- package/dist/actions/get-app-limits.cjs +1 -0
- package/dist/actions/get-app-limits.cjs.map +1 -1
- package/dist/actions/get-app-limits.d.cts +3 -3
- package/dist/actions/get-app-limits.d.cts.map +1 -1
- package/dist/actions/get-app-limits.d.mts +3 -3
- package/dist/actions/get-app-limits.d.mts.map +1 -1
- package/dist/actions/get-app-limits.mjs +1 -0
- package/dist/actions/get-app-limits.mjs.map +1 -1
- package/dist/actions/get-app-token.cjs +1 -0
- package/dist/actions/get-app-token.cjs.map +1 -1
- package/dist/actions/get-app-token.d.cts +3 -3
- package/dist/actions/get-app-token.d.cts.map +1 -1
- package/dist/actions/get-app-token.d.mts +3 -3
- package/dist/actions/get-app-token.d.mts.map +1 -1
- package/dist/actions/get-app-token.mjs +1 -0
- package/dist/actions/get-app-token.mjs.map +1 -1
- package/dist/actions/get-receipt-status.cjs +1 -0
- package/dist/actions/get-receipt-status.cjs.map +1 -1
- package/dist/actions/get-receipt-status.d.cts +3 -4
- package/dist/actions/get-receipt-status.d.cts.map +1 -1
- package/dist/actions/get-receipt-status.d.mts +3 -4
- package/dist/actions/get-receipt-status.d.mts.map +1 -1
- package/dist/actions/get-receipt-status.mjs +1 -0
- package/dist/actions/get-receipt-status.mjs.map +1 -1
- package/dist/actions/get-team-api-token.cjs +1 -0
- package/dist/actions/get-team-api-token.cjs.map +1 -1
- package/dist/actions/get-team-api-token.d.cts +3 -3
- package/dist/actions/get-team-api-token.d.cts.map +1 -1
- package/dist/actions/get-team-api-token.d.mts +3 -3
- package/dist/actions/get-team-api-token.d.mts.map +1 -1
- package/dist/actions/get-team-api-token.mjs +1 -0
- package/dist/actions/get-team-api-token.mjs.map +1 -1
- package/dist/actions/glances-update.cjs +1 -0
- package/dist/actions/glances-update.cjs.map +1 -1
- package/dist/actions/glances-update.d.cts +3 -10
- package/dist/actions/glances-update.d.cts.map +1 -1
- package/dist/actions/glances-update.d.mts +3 -10
- package/dist/actions/glances-update.d.mts.map +1 -1
- package/dist/actions/glances-update.mjs +1 -0
- package/dist/actions/glances-update.mjs.map +1 -1
- package/dist/actions/group-add-user.cjs +1 -0
- package/dist/actions/group-add-user.cjs.map +1 -1
- package/dist/actions/group-add-user.d.cts +3 -7
- package/dist/actions/group-add-user.d.cts.map +1 -1
- package/dist/actions/group-add-user.d.mts +3 -7
- package/dist/actions/group-add-user.d.mts.map +1 -1
- package/dist/actions/group-add-user.mjs +1 -0
- package/dist/actions/group-add-user.mjs.map +1 -1
- package/dist/actions/group-create.cjs +1 -0
- package/dist/actions/group-create.cjs.map +1 -1
- package/dist/actions/group-create.d.cts +3 -4
- package/dist/actions/group-create.d.cts.map +1 -1
- package/dist/actions/group-create.d.mts +3 -4
- package/dist/actions/group-create.d.mts.map +1 -1
- package/dist/actions/group-create.mjs +1 -0
- package/dist/actions/group-create.mjs.map +1 -1
- package/dist/actions/group-disable-user.cjs +1 -0
- package/dist/actions/group-disable-user.cjs.map +1 -1
- package/dist/actions/group-disable-user.d.cts +3 -6
- package/dist/actions/group-disable-user.d.cts.map +1 -1
- package/dist/actions/group-disable-user.d.mts +3 -6
- package/dist/actions/group-disable-user.d.mts.map +1 -1
- package/dist/actions/group-disable-user.mjs +1 -0
- package/dist/actions/group-disable-user.mjs.map +1 -1
- package/dist/actions/group-enable-user.cjs +1 -0
- package/dist/actions/group-enable-user.cjs.map +1 -1
- package/dist/actions/group-enable-user.d.cts +3 -6
- package/dist/actions/group-enable-user.d.cts.map +1 -1
- package/dist/actions/group-enable-user.d.mts +3 -6
- package/dist/actions/group-enable-user.d.mts.map +1 -1
- package/dist/actions/group-enable-user.mjs +1 -0
- package/dist/actions/group-enable-user.mjs.map +1 -1
- package/dist/actions/group-get.cjs +1 -0
- package/dist/actions/group-get.cjs.map +1 -1
- package/dist/actions/group-get.d.cts +3 -4
- package/dist/actions/group-get.d.cts.map +1 -1
- package/dist/actions/group-get.d.mts +3 -4
- package/dist/actions/group-get.d.mts.map +1 -1
- package/dist/actions/group-get.mjs +1 -0
- package/dist/actions/group-get.mjs.map +1 -1
- package/dist/actions/group-list.cjs +1 -0
- package/dist/actions/group-list.cjs.map +1 -1
- package/dist/actions/group-list.d.cts +3 -3
- package/dist/actions/group-list.d.cts.map +1 -1
- package/dist/actions/group-list.d.mts +3 -3
- package/dist/actions/group-list.d.mts.map +1 -1
- package/dist/actions/group-list.mjs +1 -0
- package/dist/actions/group-list.mjs.map +1 -1
- package/dist/actions/group-remove-user.cjs +1 -0
- package/dist/actions/group-remove-user.cjs.map +1 -1
- package/dist/actions/group-remove-user.d.cts +3 -6
- package/dist/actions/group-remove-user.d.cts.map +1 -1
- package/dist/actions/group-remove-user.d.mts +3 -6
- package/dist/actions/group-remove-user.d.mts.map +1 -1
- package/dist/actions/group-remove-user.mjs +1 -0
- package/dist/actions/group-remove-user.mjs.map +1 -1
- package/dist/actions/group-rename.cjs +1 -0
- package/dist/actions/group-rename.cjs.map +1 -1
- package/dist/actions/group-rename.d.cts +3 -5
- package/dist/actions/group-rename.d.cts.map +1 -1
- package/dist/actions/group-rename.d.mts +3 -5
- package/dist/actions/group-rename.d.mts.map +1 -1
- package/dist/actions/group-rename.mjs +1 -0
- package/dist/actions/group-rename.mjs.map +1 -1
- package/dist/actions/license-assign.cjs +1 -0
- package/dist/actions/license-assign.cjs.map +1 -1
- package/dist/actions/license-assign.d.cts +3 -6
- package/dist/actions/license-assign.d.cts.map +1 -1
- package/dist/actions/license-assign.d.mts +3 -6
- package/dist/actions/license-assign.d.mts.map +1 -1
- package/dist/actions/license-assign.mjs +1 -0
- package/dist/actions/license-assign.mjs.map +1 -1
- package/dist/actions/license-check-credits.cjs +1 -0
- package/dist/actions/license-check-credits.cjs.map +1 -1
- package/dist/actions/license-check-credits.d.cts +3 -3
- package/dist/actions/license-check-credits.d.cts.map +1 -1
- package/dist/actions/license-check-credits.d.mts +3 -3
- package/dist/actions/license-check-credits.d.mts.map +1 -1
- package/dist/actions/license-check-credits.mjs +1 -0
- package/dist/actions/license-check-credits.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -0
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +3 -26
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -26
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +1 -0
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/store-team-api-token.cjs +1 -0
- package/dist/actions/store-team-api-token.cjs.map +1 -1
- package/dist/actions/store-team-api-token.d.cts +3 -3
- package/dist/actions/store-team-api-token.d.cts.map +1 -1
- package/dist/actions/store-team-api-token.d.mts +3 -3
- package/dist/actions/store-team-api-token.d.mts.map +1 -1
- package/dist/actions/store-team-api-token.mjs +1 -0
- package/dist/actions/store-team-api-token.mjs.map +1 -1
- package/dist/actions/subscription-flow.cjs +1 -0
- package/dist/actions/subscription-flow.cjs.map +1 -1
- package/dist/actions/subscription-flow.d.cts +3 -3
- package/dist/actions/subscription-flow.d.cts.map +1 -1
- package/dist/actions/subscription-flow.d.mts +3 -3
- package/dist/actions/subscription-flow.d.mts.map +1 -1
- package/dist/actions/subscription-flow.mjs +1 -0
- package/dist/actions/subscription-flow.mjs.map +1 -1
- package/dist/actions/teams-add-user.cjs +1 -0
- package/dist/actions/teams-add-user.cjs.map +1 -1
- package/dist/actions/teams-add-user.d.cts +3 -9
- package/dist/actions/teams-add-user.d.cts.map +1 -1
- package/dist/actions/teams-add-user.d.mts +3 -9
- package/dist/actions/teams-add-user.d.mts.map +1 -1
- package/dist/actions/teams-add-user.mjs +1 -0
- package/dist/actions/teams-add-user.mjs.map +1 -1
- package/dist/actions/teams-remove-user.cjs +1 -0
- package/dist/actions/teams-remove-user.cjs.map +1 -1
- package/dist/actions/teams-remove-user.d.cts +3 -4
- package/dist/actions/teams-remove-user.d.cts.map +1 -1
- package/dist/actions/teams-remove-user.d.mts +3 -4
- package/dist/actions/teams-remove-user.d.mts.map +1 -1
- package/dist/actions/teams-remove-user.mjs +1 -0
- package/dist/actions/teams-remove-user.mjs.map +1 -1
- package/dist/actions/validate-user-or-group.cjs +1 -0
- package/dist/actions/validate-user-or-group.cjs.map +1 -1
- package/dist/actions/validate-user-or-group.d.cts +3 -5
- package/dist/actions/validate-user-or-group.d.cts.map +1 -1
- package/dist/actions/validate-user-or-group.d.mts +3 -5
- package/dist/actions/validate-user-or-group.d.mts.map +1 -1
- package/dist/actions/validate-user-or-group.mjs +1 -0
- package/dist/actions/validate-user-or-group.mjs.map +1 -1
- package/dist/app.cjs +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-get.mjs","names":[],"sources":["../../src/actions/group-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupGetInput = z.object({\n token: z.string().describe(\"Your Pushover application API token owning the group.\"),\n group_key: z.string().describe(\"Delivery group key identifying the target group.\"),\n}).describe(\"Request model for retrieving details of a Pushover delivery group.\");\nconst PushoverGroupGet_GroupGetUserSchema = z.object({\n memo: z.string().describe(\"Free-text memo stored for the member.\").nullable(),\n name: z.string().describe(\"Team member's name (present for Team-owned groups only).\").nullable().optional(),\n user: z.string().describe(\"Member's Pushover user key.\").nullable(),\n email: z.string().describe(\"Team member's email (present for Team-owned groups only).\").nullable().optional(),\n device: z.string().describe(\"Device restriction for this member, or None for all devices.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether this member is temporarily disabled in the group.\").nullable(),\n}).passthrough().describe(\"A member of the Pushover delivery group.\");\nexport const PushoverGroupGetOutput = z.object({\n name: z.string().describe(\"Group's name (present on success).\").nullable().optional(),\n users: z.array(PushoverGroupGet_GroupGetUserSchema).describe(\"List of group members (present on success).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages, present only if status is 0.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n request: z.string().describe(\"Unique request identifier.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving details of a Pushover delivery group.\");\n\nexport const pushoverGroupGet = action(\"PUSHOVER_GROUP_GET\", {\n slug: \"pushover-group-get\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve details for a Delivery Group. Use when you need to fetch a group's name and member list.\",\n input: PushoverGroupGetInput,\n output: PushoverGroupGetOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-get.mjs","names":[],"sources":["../../src/actions/group-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupGetInput = z.object({\n token: z.string().describe(\"Your Pushover application API token owning the group.\"),\n group_key: z.string().describe(\"Delivery group key identifying the target group.\"),\n}).describe(\"Request model for retrieving details of a Pushover delivery group.\");\nconst PushoverGroupGet_GroupGetUserSchema = z.object({\n memo: z.string().describe(\"Free-text memo stored for the member.\").nullable(),\n name: z.string().describe(\"Team member's name (present for Team-owned groups only).\").nullable().optional(),\n user: z.string().describe(\"Member's Pushover user key.\").nullable(),\n email: z.string().describe(\"Team member's email (present for Team-owned groups only).\").nullable().optional(),\n device: z.string().describe(\"Device restriction for this member, or None for all devices.\").nullable().optional(),\n disabled: z.boolean().describe(\"Whether this member is temporarily disabled in the group.\").nullable(),\n}).passthrough().describe(\"A member of the Pushover delivery group.\");\nexport const PushoverGroupGetOutput = z.object({\n name: z.string().describe(\"Group's name (present on success).\").nullable().optional(),\n users: z.array(PushoverGroupGet_GroupGetUserSchema).describe(\"List of group members (present on success).\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages, present only if status is 0.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n request: z.string().describe(\"Unique request identifier.\").nullable(),\n}).passthrough().describe(\"Response model for retrieving details of a Pushover delivery group.\");\n\nexport const pushoverGroupGet: AppAction<\n typeof PushoverGroupGetInput,\n typeof PushoverGroupGetOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_GET\", {\n slug: \"pushover-group-get\",\n name: \"Get Group Details\",\n description: \"Tool to retrieve details for a Delivery Group. Use when you need to fetch a group's name and member list.\",\n input: PushoverGroupGetInput,\n output: PushoverGroupGetOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACnF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AASpE,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-list.cjs","names":["z","action"],"sources":["../../src/actions/group-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupListInput = z.object({\n token: z.string().describe(\"Your Pushover application API token.\"),\n}).describe(\"Request model for listing Pushover delivery groups.\");\nconst PushoverGroupList_GroupItemSchema = z.object({\n name: z.string().describe(\"Human-readable name of the group\").nullable(),\n group: z.string().describe(\"Delivery group key\").nullable(),\n}).passthrough().describe(\"Delivery group object with key and name.\");\nexport const PushoverGroupListOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n groups: z.array(PushoverGroupList_GroupItemSchema).describe(\"List of delivery groups (present when status is 1)\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API\").nullable(),\n}).passthrough().describe(\"Response model for listing Pushover delivery groups.\");\n\nexport const pushoverGroupList = action(\"PUSHOVER_GROUP_LIST\", {\n slug: \"pushover-group-list\",\n name: \"List Delivery Groups\",\n description: \"Tool to list all Delivery Groups. Use when you need to retrieve your account's delivery groups after obtaining a valid API token.\",\n input: PushoverGroupListInput,\n output: PushoverGroupListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-list.cjs","names":["z","action"],"sources":["../../src/actions/group-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupListInput = z.object({\n token: z.string().describe(\"Your Pushover application API token.\"),\n}).describe(\"Request model for listing Pushover delivery groups.\");\nconst PushoverGroupList_GroupItemSchema = z.object({\n name: z.string().describe(\"Human-readable name of the group\").nullable(),\n group: z.string().describe(\"Delivery group key\").nullable(),\n}).passthrough().describe(\"Delivery group object with key and name.\");\nexport const PushoverGroupListOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n groups: z.array(PushoverGroupList_GroupItemSchema).describe(\"List of delivery groups (present when status is 1)\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API\").nullable(),\n}).passthrough().describe(\"Response model for listing Pushover delivery groups.\");\n\nexport const pushoverGroupList: AppAction<\n typeof PushoverGroupListInput,\n typeof PushoverGroupListOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_LIST\", {\n slug: \"pushover-group-list\",\n name: \"List Delivery Groups\",\n description: \"Tool to list all Delivery Groups. Use when you need to retrieve your account's delivery groups after obtaining a valid API token.\",\n input: PushoverGroupListInput,\n output: PushoverGroupListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/group-list.d.ts
|
|
@@ -13,9 +15,7 @@ declare const PushoverGroupListOutput: z.ZodObject<{
|
|
|
13
15
|
status: z.ZodNullable<z.ZodNumber>;
|
|
14
16
|
request: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const pushoverGroupList:
|
|
17
|
-
token: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const pushoverGroupList: AppAction<typeof PushoverGroupListInput, typeof PushoverGroupListOutput, typeof pushover.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { pushoverGroupList };
|
|
21
21
|
//# sourceMappingURL=group-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-list.d.cts","names":[],"sources":["../../src/actions/group-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-list.d.cts","names":[],"sources":["../../src/actions/group-list.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/group-list.d.ts
|
|
@@ -13,9 +15,7 @@ declare const PushoverGroupListOutput: z.ZodObject<{
|
|
|
13
15
|
status: z.ZodNullable<z.ZodNumber>;
|
|
14
16
|
request: z.ZodNullable<z.ZodString>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const pushoverGroupList:
|
|
17
|
-
token: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const pushoverGroupList: AppAction<typeof PushoverGroupListInput, typeof PushoverGroupListOutput, typeof pushover.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { pushoverGroupList };
|
|
21
21
|
//# sourceMappingURL=group-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-list.d.mts","names":[],"sources":["../../src/actions/group-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-list.d.mts","names":[],"sources":["../../src/actions/group-list.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-list.mjs","names":[],"sources":["../../src/actions/group-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupListInput = z.object({\n token: z.string().describe(\"Your Pushover application API token.\"),\n}).describe(\"Request model for listing Pushover delivery groups.\");\nconst PushoverGroupList_GroupItemSchema = z.object({\n name: z.string().describe(\"Human-readable name of the group\").nullable(),\n group: z.string().describe(\"Delivery group key\").nullable(),\n}).passthrough().describe(\"Delivery group object with key and name.\");\nexport const PushoverGroupListOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n groups: z.array(PushoverGroupList_GroupItemSchema).describe(\"List of delivery groups (present when status is 1)\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API\").nullable(),\n}).passthrough().describe(\"Response model for listing Pushover delivery groups.\");\n\nexport const pushoverGroupList = action(\"PUSHOVER_GROUP_LIST\", {\n slug: \"pushover-group-list\",\n name: \"List Delivery Groups\",\n description: \"Tool to list all Delivery Groups. Use when you need to retrieve your account's delivery groups after obtaining a valid API token.\",\n input: PushoverGroupListInput,\n output: PushoverGroupListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-list.mjs","names":[],"sources":["../../src/actions/group-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupListInput = z.object({\n token: z.string().describe(\"Your Pushover application API token.\"),\n}).describe(\"Request model for listing Pushover delivery groups.\");\nconst PushoverGroupList_GroupItemSchema = z.object({\n name: z.string().describe(\"Human-readable name of the group\").nullable(),\n group: z.string().describe(\"Delivery group key\").nullable(),\n}).passthrough().describe(\"Delivery group object with key and name.\");\nexport const PushoverGroupListOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n groups: z.array(PushoverGroupList_GroupItemSchema).describe(\"List of delivery groups (present when status is 1)\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API\").nullable(),\n}).passthrough().describe(\"Response model for listing Pushover delivery groups.\");\n\nexport const pushoverGroupList: AppAction<\n typeof PushoverGroupListInput,\n typeof PushoverGroupListOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_LIST\", {\n slug: \"pushover-group-list\",\n name: \"List Delivery Groups\",\n description: \"Tool to list all Delivery Groups. Use when you need to retrieve your account's delivery groups after obtaining a valid API token.\",\n input: PushoverGroupListInput,\n output: PushoverGroupListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACnE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAQpE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBqC,EAAE,OAAO;EAC9C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-remove-user.cjs","names":["z","action"],"sources":["../../src/actions/group-remove-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupRemoveUserInput = z.object({\n user: z.string().describe(\"The Pushover user key to remove from the group.\"),\n token: z.string().describe(\"Your Pushover application API token.\"),\n device: z.string().describe(\"Specific device name for the user's membership; if omitted, removes the user from all devices.\").optional(),\n group_key: z.string().describe(\"The delivery group's key (path parameter).\"),\n}).describe(\"Request model for removing a user (or optional device) from a Pushover delivery group.\");\nexport const PushoverGroupRemoveUserOutput = z.object({\n errors: z.array(z.string()).describe(\"One or more error messages if the request failed.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success, 0 on failure.\").nullable(),\n request: z.string().describe(\"Request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model for removing a user from a Pushover delivery group.\");\n\nexport const pushoverGroupRemoveUser = action(\"PUSHOVER_GROUP_REMOVE_USER\", {\n slug: \"pushover-group-remove-user\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user (or optionally a specific device) from a Pushover delivery group. Use when you need to revoke a user's membership so they stop receiving group notifications.\",\n input: PushoverGroupRemoveUserInput,\n output: PushoverGroupRemoveUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-remove-user.cjs","names":["z","action"],"sources":["../../src/actions/group-remove-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupRemoveUserInput = z.object({\n user: z.string().describe(\"The Pushover user key to remove from the group.\"),\n token: z.string().describe(\"Your Pushover application API token.\"),\n device: z.string().describe(\"Specific device name for the user's membership; if omitted, removes the user from all devices.\").optional(),\n group_key: z.string().describe(\"The delivery group's key (path parameter).\"),\n}).describe(\"Request model for removing a user (or optional device) from a Pushover delivery group.\");\nexport const PushoverGroupRemoveUserOutput = z.object({\n errors: z.array(z.string()).describe(\"One or more error messages if the request failed.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success, 0 on failure.\").nullable(),\n request: z.string().describe(\"Request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model for removing a user from a Pushover delivery group.\");\n\nexport const pushoverGroupRemoveUser: AppAction<\n typeof PushoverGroupRemoveUserInput,\n typeof PushoverGroupRemoveUserOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_REMOVE_USER\", {\n slug: \"pushover-group-remove-user\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user (or optionally a specific device) from a Pushover delivery group. Use when you need to revoke a user's membership so they stop receiving group notifications.\",\n input: PushoverGroupRemoveUserInput,\n output: PushoverGroupRemoveUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7E,CAAC,CAAC,CAAC,SAAS,wFAAwF;AACpG,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/group-remove-user.d.ts
|
|
@@ -12,12 +14,7 @@ declare const PushoverGroupRemoveUserOutput: z.ZodObject<{
|
|
|
12
14
|
status: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
request: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const pushoverGroupRemoveUser:
|
|
16
|
-
user: string;
|
|
17
|
-
token: string;
|
|
18
|
-
group_key: string;
|
|
19
|
-
device?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const pushoverGroupRemoveUser: AppAction<typeof PushoverGroupRemoveUserInput, typeof PushoverGroupRemoveUserOutput, typeof pushover.credential>;
|
|
21
18
|
//#endregion
|
|
22
19
|
export { pushoverGroupRemoveUser };
|
|
23
20
|
//# sourceMappingURL=group-remove-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-remove-user.d.cts","names":[],"sources":["../../src/actions/group-remove-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-remove-user.d.cts","names":[],"sources":["../../src/actions/group-remove-user.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/group-remove-user.d.ts
|
|
@@ -12,12 +14,7 @@ declare const PushoverGroupRemoveUserOutput: z.ZodObject<{
|
|
|
12
14
|
status: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
request: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const pushoverGroupRemoveUser:
|
|
16
|
-
user: string;
|
|
17
|
-
token: string;
|
|
18
|
-
group_key: string;
|
|
19
|
-
device?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const pushoverGroupRemoveUser: AppAction<typeof PushoverGroupRemoveUserInput, typeof PushoverGroupRemoveUserOutput, typeof pushover.credential>;
|
|
21
18
|
//#endregion
|
|
22
19
|
export { pushoverGroupRemoveUser };
|
|
23
20
|
//# sourceMappingURL=group-remove-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-remove-user.d.mts","names":[],"sources":["../../src/actions/group-remove-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-remove-user.d.mts","names":[],"sources":["../../src/actions/group-remove-user.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-remove-user.mjs","names":[],"sources":["../../src/actions/group-remove-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupRemoveUserInput = z.object({\n user: z.string().describe(\"The Pushover user key to remove from the group.\"),\n token: z.string().describe(\"Your Pushover application API token.\"),\n device: z.string().describe(\"Specific device name for the user's membership; if omitted, removes the user from all devices.\").optional(),\n group_key: z.string().describe(\"The delivery group's key (path parameter).\"),\n}).describe(\"Request model for removing a user (or optional device) from a Pushover delivery group.\");\nexport const PushoverGroupRemoveUserOutput = z.object({\n errors: z.array(z.string()).describe(\"One or more error messages if the request failed.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success, 0 on failure.\").nullable(),\n request: z.string().describe(\"Request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model for removing a user from a Pushover delivery group.\");\n\nexport const pushoverGroupRemoveUser = action(\"PUSHOVER_GROUP_REMOVE_USER\", {\n slug: \"pushover-group-remove-user\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user (or optionally a specific device) from a Pushover delivery group. Use when you need to revoke a user's membership so they stop receiving group notifications.\",\n input: PushoverGroupRemoveUserInput,\n output: PushoverGroupRemoveUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-remove-user.mjs","names":[],"sources":["../../src/actions/group-remove-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupRemoveUserInput = z.object({\n user: z.string().describe(\"The Pushover user key to remove from the group.\"),\n token: z.string().describe(\"Your Pushover application API token.\"),\n device: z.string().describe(\"Specific device name for the user's membership; if omitted, removes the user from all devices.\").optional(),\n group_key: z.string().describe(\"The delivery group's key (path parameter).\"),\n}).describe(\"Request model for removing a user (or optional device) from a Pushover delivery group.\");\nexport const PushoverGroupRemoveUserOutput = z.object({\n errors: z.array(z.string()).describe(\"One or more error messages if the request failed.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success, 0 on failure.\").nullable(),\n request: z.string().describe(\"Request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model for removing a user from a Pushover delivery group.\");\n\nexport const pushoverGroupRemoveUser: AppAction<\n typeof PushoverGroupRemoveUserInput,\n typeof PushoverGroupRemoveUserOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_REMOVE_USER\", {\n slug: \"pushover-group-remove-user\",\n name: \"Remove User from Group\",\n description: \"Tool to remove a user (or optionally a specific device) from a Pushover delivery group. Use when you need to revoke a user's membership so they stop receiving group notifications.\",\n input: PushoverGroupRemoveUserInput,\n output: PushoverGroupRemoveUserOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,CAAC,CAAC,CAAC,SAAS,wFAeH;CACP,QAf2C,EAAE,OAAO;EACpD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-rename.cjs","names":["z","action"],"sources":["../../src/actions/group-rename.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupRenameInput = z.object({\n name: z.string().describe(\"The new name to assign to the delivery group. Only one group name may exist per account.\"),\n token: z.string().describe(\"Your Pushover application API token for authentication.\"),\n group_key: z.string().describe(\"The unique key of the delivery group to rename (used in the URL path).\"),\n}).describe(\"Request model for renaming a Pushover delivery group.\");\nexport const PushoverGroupRenameOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed. Present only when status=0.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; 0 indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model returned after renaming a Pushover delivery group.\");\n\nexport const pushoverGroupRename = action(\"PUSHOVER_GROUP_RENAME\", {\n slug: \"pushover-group-rename\",\n name: \"Rename Delivery Group\",\n description: \"Tool to rename an existing Delivery Group. Use after confirming the group_key to update a group's name.\",\n input: PushoverGroupRenameInput,\n output: PushoverGroupRenameOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-rename.cjs","names":["z","action"],"sources":["../../src/actions/group-rename.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupRenameInput = z.object({\n name: z.string().describe(\"The new name to assign to the delivery group. Only one group name may exist per account.\"),\n token: z.string().describe(\"Your Pushover application API token for authentication.\"),\n group_key: z.string().describe(\"The unique key of the delivery group to rename (used in the URL path).\"),\n}).describe(\"Request model for renaming a Pushover delivery group.\");\nexport const PushoverGroupRenameOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed. Present only when status=0.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; 0 indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model returned after renaming a Pushover delivery group.\");\n\nexport const pushoverGroupRename: AppAction<\n typeof PushoverGroupRenameInput,\n typeof PushoverGroupRenameOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_RENAME\", {\n slug: \"pushover-group-rename\",\n name: \"Rename Delivery Group\",\n description: \"Tool to rename an existing Delivery Group. Use after confirming the group_key to update a group's name.\",\n input: PushoverGroupRenameInput,\n output: PushoverGroupRenameOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AACzG,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/group-rename.d.ts
|
|
@@ -11,11 +13,7 @@ declare const PushoverGroupRenameOutput: z.ZodObject<{
|
|
|
11
13
|
status: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
request: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const pushoverGroupRename:
|
|
15
|
-
name: string;
|
|
16
|
-
token: string;
|
|
17
|
-
group_key: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const pushoverGroupRename: AppAction<typeof PushoverGroupRenameInput, typeof PushoverGroupRenameOutput, typeof pushover.credential>;
|
|
19
17
|
//#endregion
|
|
20
18
|
export { pushoverGroupRename };
|
|
21
19
|
//# sourceMappingURL=group-rename.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-rename.d.cts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-rename.d.cts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/group-rename.d.ts
|
|
@@ -11,11 +13,7 @@ declare const PushoverGroupRenameOutput: z.ZodObject<{
|
|
|
11
13
|
status: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
request: z.ZodNullable<z.ZodString>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const pushoverGroupRename:
|
|
15
|
-
name: string;
|
|
16
|
-
token: string;
|
|
17
|
-
group_key: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const pushoverGroupRename: AppAction<typeof PushoverGroupRenameInput, typeof PushoverGroupRenameOutput, typeof pushover.credential>;
|
|
19
17
|
//#endregion
|
|
20
18
|
export { pushoverGroupRename };
|
|
21
19
|
//# sourceMappingURL=group-rename.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-rename.d.mts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-rename.d.mts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-rename.mjs","names":[],"sources":["../../src/actions/group-rename.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupRenameInput = z.object({\n name: z.string().describe(\"The new name to assign to the delivery group. Only one group name may exist per account.\"),\n token: z.string().describe(\"Your Pushover application API token for authentication.\"),\n group_key: z.string().describe(\"The unique key of the delivery group to rename (used in the URL path).\"),\n}).describe(\"Request model for renaming a Pushover delivery group.\");\nexport const PushoverGroupRenameOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed. Present only when status=0.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; 0 indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model returned after renaming a Pushover delivery group.\");\n\nexport const pushoverGroupRename = action(\"PUSHOVER_GROUP_RENAME\", {\n slug: \"pushover-group-rename\",\n name: \"Rename Delivery Group\",\n description: \"Tool to rename an existing Delivery Group. Use after confirming the group_key to update a group's name.\",\n input: PushoverGroupRenameInput,\n output: PushoverGroupRenameOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-rename.mjs","names":[],"sources":["../../src/actions/group-rename.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverGroupRenameInput = z.object({\n name: z.string().describe(\"The new name to assign to the delivery group. Only one group name may exist per account.\"),\n token: z.string().describe(\"Your Pushover application API token for authentication.\"),\n group_key: z.string().describe(\"The unique key of the delivery group to rename (used in the URL path).\"),\n}).describe(\"Request model for renaming a Pushover delivery group.\");\nexport const PushoverGroupRenameOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed. Present only when status=0.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; 0 indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable(),\n}).passthrough().describe(\"Response model returned after renaming a Pushover delivery group.\");\n\nexport const pushoverGroupRename: AppAction<\n typeof PushoverGroupRenameInput,\n typeof PushoverGroupRenameOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_GROUP_RENAME\", {\n slug: \"pushover-group-rename\",\n name: \"Rename Delivery Group\",\n description: \"Tool to rename an existing Delivery Group. Use after confirming the group_key to update a group's name.\",\n input: PushoverGroupRenameInput,\n output: PushoverGroupRenameOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACzG,CAAC,CAAC,CAAC,SAAS,uDAeH;CACP,QAfuC,EAAE,OAAO;EAChD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-assign.cjs","names":["z","action"],"sources":["../../src/actions/license-assign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverLicenseAssignInput = z.object({\n os: z.string().describe(\"Platform to restrict license to: 'Android', 'iOS', or 'Desktop'; leave blank to assign for first installed platform.\").optional(),\n user: z.string().describe(\"Pushover user key; required if email is not supplied.\").optional(),\n email: z.string().describe(\"User's e-mail address; required if user is not supplied.\").optional(),\n token: z.string().describe(\"Your application's API token.\"),\n}).describe(\"Request model for LICENSE_ASSIGN.\");\nexport const PushoverLicenseAssignOutput = z.object({\n error: z.string().describe(\"General error message when the request fails or when HTTP error occurs.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Map of field to array of error messages (present on failure). e.g., {'token': ['is out of available license credits']}\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Remaining license credits on the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier (may be absent on HTTP errors).\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough().describe(\"Response model for LICENSE_ASSIGN.\");\n\nexport const pushoverLicenseAssign = action(\"PUSHOVER_LICENSE_ASSIGN\", {\n slug: \"pushover-license-assign\",\n name: \"Assign License\",\n description: \"Tool to assign a pre-paid license credit to a Pushover user by key or email. Use when you need to allocate a license and optionally restrict to a specific platform.\",\n input: PushoverLicenseAssignInput,\n output: PushoverLicenseAssignOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-assign.cjs","names":["z","action"],"sources":["../../src/actions/license-assign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverLicenseAssignInput = z.object({\n os: z.string().describe(\"Platform to restrict license to: 'Android', 'iOS', or 'Desktop'; leave blank to assign for first installed platform.\").optional(),\n user: z.string().describe(\"Pushover user key; required if email is not supplied.\").optional(),\n email: z.string().describe(\"User's e-mail address; required if user is not supplied.\").optional(),\n token: z.string().describe(\"Your application's API token.\"),\n}).describe(\"Request model for LICENSE_ASSIGN.\");\nexport const PushoverLicenseAssignOutput = z.object({\n error: z.string().describe(\"General error message when the request fails or when HTTP error occurs.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Map of field to array of error messages (present on failure). e.g., {'token': ['is out of available license credits']}\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Remaining license credits on the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier (may be absent on HTTP errors).\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough().describe(\"Response model for LICENSE_ASSIGN.\");\n\nexport const pushoverLicenseAssign: AppAction<\n typeof PushoverLicenseAssignInput,\n typeof PushoverLicenseAssignOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_LICENSE_ASSIGN\", {\n slug: \"pushover-license-assign\",\n name: \"Assign License\",\n description: \"Tool to assign a pre-paid license credit to a Pushover user by key or email. Use when you need to allocate a license and optionally restrict to a specific platform.\",\n input: PushoverLicenseAssignInput,\n output: PushoverLicenseAssignOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACzJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC5D,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/license-assign.d.ts
|
|
@@ -16,12 +18,7 @@ declare const PushoverLicenseAssignOutput: z.ZodObject<{
|
|
|
16
18
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
19
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pushoverLicenseAssign:
|
|
20
|
-
token: string;
|
|
21
|
-
os?: string | undefined;
|
|
22
|
-
user?: string | undefined;
|
|
23
|
-
email?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const pushoverLicenseAssign: AppAction<typeof PushoverLicenseAssignInput, typeof PushoverLicenseAssignOutput, typeof pushover.credential>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { pushoverLicenseAssign };
|
|
27
24
|
//# sourceMappingURL=license-assign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-assign.d.cts","names":[],"sources":["../../src/actions/license-assign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-assign.d.cts","names":[],"sources":["../../src/actions/license-assign.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/license-assign.d.ts
|
|
@@ -16,12 +18,7 @@ declare const PushoverLicenseAssignOutput: z.ZodObject<{
|
|
|
16
18
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
19
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const pushoverLicenseAssign:
|
|
20
|
-
token: string;
|
|
21
|
-
os?: string | undefined;
|
|
22
|
-
user?: string | undefined;
|
|
23
|
-
email?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const pushoverLicenseAssign: AppAction<typeof PushoverLicenseAssignInput, typeof PushoverLicenseAssignOutput, typeof pushover.credential>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { pushoverLicenseAssign };
|
|
27
24
|
//# sourceMappingURL=license-assign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-assign.d.mts","names":[],"sources":["../../src/actions/license-assign.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-assign.d.mts","names":[],"sources":["../../src/actions/license-assign.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAM1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAU3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-assign.mjs","names":[],"sources":["../../src/actions/license-assign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverLicenseAssignInput = z.object({\n os: z.string().describe(\"Platform to restrict license to: 'Android', 'iOS', or 'Desktop'; leave blank to assign for first installed platform.\").optional(),\n user: z.string().describe(\"Pushover user key; required if email is not supplied.\").optional(),\n email: z.string().describe(\"User's e-mail address; required if user is not supplied.\").optional(),\n token: z.string().describe(\"Your application's API token.\"),\n}).describe(\"Request model for LICENSE_ASSIGN.\");\nexport const PushoverLicenseAssignOutput = z.object({\n error: z.string().describe(\"General error message when the request fails or when HTTP error occurs.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Map of field to array of error messages (present on failure). e.g., {'token': ['is out of available license credits']}\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Remaining license credits on the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier (may be absent on HTTP errors).\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough().describe(\"Response model for LICENSE_ASSIGN.\");\n\nexport const pushoverLicenseAssign = action(\"PUSHOVER_LICENSE_ASSIGN\", {\n slug: \"pushover-license-assign\",\n name: \"Assign License\",\n description: \"Tool to assign a pre-paid license credit to a Pushover user by key or email. Use when you need to allocate a license and optionally restrict to a specific platform.\",\n input: PushoverLicenseAssignInput,\n output: PushoverLicenseAssignOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-assign.mjs","names":[],"sources":["../../src/actions/license-assign.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverLicenseAssignInput = z.object({\n os: z.string().describe(\"Platform to restrict license to: 'Android', 'iOS', or 'Desktop'; leave blank to assign for first installed platform.\").optional(),\n user: z.string().describe(\"Pushover user key; required if email is not supplied.\").optional(),\n email: z.string().describe(\"User's e-mail address; required if user is not supplied.\").optional(),\n token: z.string().describe(\"Your application's API token.\"),\n}).describe(\"Request model for LICENSE_ASSIGN.\");\nexport const PushoverLicenseAssignOutput = z.object({\n error: z.string().describe(\"General error message when the request fails or when HTTP error occurs.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Map of field to array of error messages (present on failure). e.g., {'token': ['is out of available license credits']}\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Remaining license credits on the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier (may be absent on HTTP errors).\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough().describe(\"Response model for LICENSE_ASSIGN.\");\n\nexport const pushoverLicenseAssign: AppAction<\n typeof PushoverLicenseAssignInput,\n typeof PushoverLicenseAssignOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_LICENSE_ASSIGN\", {\n slug: \"pushover-license-assign\",\n name: \"Assign License\",\n description: \"Tool to assign a pre-paid license credit to a Pushover user by key or email. Use when you need to allocate a license and optionally restrict to a specific platform.\",\n input: PushoverLicenseAssignInput,\n output: PushoverLicenseAssignOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EACzJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,CAAC,CAAC,CAAC,SAAS,mCAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjM,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-check-credits.cjs","names":["z","action"],"sources":["../../src/actions/license-check-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverLicenseCheckCreditsInput = z.object({\n token: z.string().describe(\"Your Pushover application API token for licensing API.\"),\n});\nexport const PushoverLicenseCheckCreditsOutput = z.object({\n error: z.string().describe(\"General error message when HTTP error occurs or response cannot be parsed.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Parameter-specific error messages when status is 0.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Number of remaining license credits for the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverLicenseCheckCredits = action(\"PUSHOVER_LICENSE_CHECK_CREDITS\", {\n slug: \"pushover-license-check-credits\",\n name: \"Check License Credits\",\n description: \"Tool to retrieve remaining license credits for a Pushover application. Use when monitoring your licensing quota before assigning new licenses.\",\n input: PushoverLicenseCheckCreditsInput,\n output: PushoverLicenseCheckCreditsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-check-credits.cjs","names":["z","action"],"sources":["../../src/actions/license-check-credits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverLicenseCheckCreditsInput = z.object({\n token: z.string().describe(\"Your Pushover application API token for licensing API.\"),\n});\nexport const PushoverLicenseCheckCreditsOutput = z.object({\n error: z.string().describe(\"General error message when HTTP error occurs or response cannot be parsed.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Parameter-specific error messages when status is 0.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Number of remaining license credits for the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverLicenseCheckCredits: AppAction<\n typeof PushoverLicenseCheckCreditsInput,\n typeof PushoverLicenseCheckCreditsOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_LICENSE_CHECK_CREDITS\", {\n slug: \"pushover-license-check-credits\",\n name: \"Check License Credits\",\n description: \"Tool to retrieve remaining license credits for a Pushover application. Use when monitoring your licensing quota before assigning new licenses.\",\n input: PushoverLicenseCheckCreditsInput,\n output: PushoverLicenseCheckCreditsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACrF,CAAC;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/license-check-credits.d.ts
|
|
@@ -13,9 +15,7 @@ declare const PushoverLicenseCheckCreditsOutput: z.ZodObject<{
|
|
|
13
15
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const pushoverLicenseCheckCredits:
|
|
17
|
-
token: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const pushoverLicenseCheckCredits: AppAction<typeof PushoverLicenseCheckCreditsInput, typeof PushoverLicenseCheckCreditsOutput, typeof pushover.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { pushoverLicenseCheckCredits };
|
|
21
21
|
//# sourceMappingURL=license-check-credits.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-check-credits.d.cts","names":[],"sources":["../../src/actions/license-check-credits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-check-credits.d.cts","names":[],"sources":["../../src/actions/license-check-credits.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAUjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/license-check-credits.d.ts
|
|
@@ -13,9 +15,7 @@ declare const PushoverLicenseCheckCreditsOutput: z.ZodObject<{
|
|
|
13
15
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const pushoverLicenseCheckCredits:
|
|
17
|
-
token: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const pushoverLicenseCheckCredits: AppAction<typeof PushoverLicenseCheckCreditsInput, typeof PushoverLicenseCheckCreditsOutput, typeof pushover.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { pushoverLicenseCheckCredits };
|
|
21
21
|
//# sourceMappingURL=license-check-credits.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-check-credits.d.mts","names":[],"sources":["../../src/actions/license-check-credits.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-check-credits.d.mts","names":[],"sources":["../../src/actions/license-check-credits.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAUjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"license-check-credits.mjs","names":[],"sources":["../../src/actions/license-check-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverLicenseCheckCreditsInput = z.object({\n token: z.string().describe(\"Your Pushover application API token for licensing API.\"),\n});\nexport const PushoverLicenseCheckCreditsOutput = z.object({\n error: z.string().describe(\"General error message when HTTP error occurs or response cannot be parsed.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Parameter-specific error messages when status is 0.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Number of remaining license credits for the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverLicenseCheckCredits = action(\"PUSHOVER_LICENSE_CHECK_CREDITS\", {\n slug: \"pushover-license-check-credits\",\n name: \"Check License Credits\",\n description: \"Tool to retrieve remaining license credits for a Pushover application. Use when monitoring your licensing quota before assigning new licenses.\",\n input: PushoverLicenseCheckCreditsInput,\n output: PushoverLicenseCheckCreditsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"license-check-credits.mjs","names":[],"sources":["../../src/actions/license-check-credits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverLicenseCheckCreditsInput = z.object({\n token: z.string().describe(\"Your Pushover application API token for licensing API.\"),\n});\nexport const PushoverLicenseCheckCreditsOutput = z.object({\n error: z.string().describe(\"General error message when HTTP error occurs or response cannot be parsed.\").nullable().optional(),\n errors: z.record(z.string(), z.unknown()).describe(\"Parameter-specific error messages when status is 0.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 on failure.\").nullable(),\n credits: z.number().int().describe(\"Number of remaining license credits for the application (present on success).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n http_status: z.number().int().describe(\"HTTP status code when an HTTP error occurred.\").nullable().optional(),\n http_response_text: z.string().describe(\"Raw HTTP response text when an HTTP error occurred.\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverLicenseCheckCredits: AppAction<\n typeof PushoverLicenseCheckCreditsInput,\n typeof PushoverLicenseCheckCreditsOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_LICENSE_CHECK_CREDITS\", {\n slug: \"pushover-license-check-credits\",\n name: \"Check License Credits\",\n description: \"Tool to retrieve remaining license credits for a Pushover application. Use when monitoring your licensing quota before assigning new licenses.\",\n input: PushoverLicenseCheckCreditsInput,\n output: PushoverLicenseCheckCreditsOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB8C,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACrF,CAmBS;CACP,QAnB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverSendMessageInput = z.object({\n ttl: z.number().int().describe(\"Time to live in seconds; ignored for emergency priority.\").optional(),\n url: z.string().describe(\"Supplementary URL shown with the message.\").optional(),\n html: z.number().int().describe(\"Set to 1 to enable HTML parsing; mutually exclusive with monospace.\").optional(),\n tags: z.string().describe(\"(Emergency only) comma-separated tags stored with the receipt.\").optional(),\n user: z.string().describe(\"User or group key(s). Up to 50 comma-separated alphanumeric keys (each 30 chars).\"),\n retry: z.number().int().describe(\"(Emergency only) seconds between retries; minimum 30.\").optional(),\n sound: z.string().describe(\"Name of a supported sound (blank for user default).\").optional(),\n title: z.string().describe(\"Message title (max 250 chars). Defaults to the application name.\").optional(),\n token: z.string().describe(\"Your Pushover application API token (30 alphanumeric characters).\"),\n device: z.string().describe(\"One device name or comma-separated names; ignored for multiple users or non-team groups.\").optional(),\n expire: z.number().int().describe(\"(Emergency only) total seconds to keep retrying; max 10800.\").optional(),\n message: z.string().describe(\"Notification body text (up to 1024 UTF-8 characters).\"),\n callback: z.string().describe(\"(Emergency only) URL called when the user acknowledges.\").optional(),\n priority: z.number().int().default(0).describe(\"Message priority: -2 (lowest), -1 (low), 0 (normal), 1 (high), 2 (emergency).\").optional(),\n monospace: z.number().int().describe(\"Set to 1 to use monospace font; mutually exclusive with html.\").optional(),\n timestamp: z.number().int().describe(\"Unix epoch time to display instead of current time.\").optional(),\n url_title: z.string().describe(\"Title for the supplementary URL.\").optional(),\n attachment: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Binary image attachment (max 5MB).\").optional(),\n attachment_type: z.string().describe(\"MIME type of the base64 attachment (e.g., 'image/jpeg').\").optional(),\n attachment_base64: z.string().describe(\"Base64-encoded image data; requires 'attachment_type'.\").optional(),\n}).describe(\"Request parameters for sending a Pushover notification message.\");\nexport const PushoverSendMessageOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; non-1 indicates an error.\").nullable(),\n receipt: z.string().describe(\"Receipt ID for emergency priority messages.\").nullable().optional(),\n request: z.string().describe(\"Unique request ID returned by API.\").nullable(),\n parameter_flags: z.record(z.string(), z.unknown()).describe(\"Parameter flags for invalid parameters, e.g. {'user': 'invalid'}.\").nullable().optional(),\n}).passthrough().describe(\"Response from Pushover after sending a message.\");\n\nexport const pushoverSendMessage = action(\"PUSHOVER_SEND_MESSAGE\", {\n slug: \"pushover-send-message\",\n name: \"Send Message\",\n description: \"Tool to send a push notification with optional title, URL, priority, sound, attachments, and filters.\",\n input: PushoverSendMessageInput,\n output: PushoverSendMessageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pushover } from \"../app\";\n\nexport const PushoverSendMessageInput = z.object({\n ttl: z.number().int().describe(\"Time to live in seconds; ignored for emergency priority.\").optional(),\n url: z.string().describe(\"Supplementary URL shown with the message.\").optional(),\n html: z.number().int().describe(\"Set to 1 to enable HTML parsing; mutually exclusive with monospace.\").optional(),\n tags: z.string().describe(\"(Emergency only) comma-separated tags stored with the receipt.\").optional(),\n user: z.string().describe(\"User or group key(s). Up to 50 comma-separated alphanumeric keys (each 30 chars).\"),\n retry: z.number().int().describe(\"(Emergency only) seconds between retries; minimum 30.\").optional(),\n sound: z.string().describe(\"Name of a supported sound (blank for user default).\").optional(),\n title: z.string().describe(\"Message title (max 250 chars). Defaults to the application name.\").optional(),\n token: z.string().describe(\"Your Pushover application API token (30 alphanumeric characters).\"),\n device: z.string().describe(\"One device name or comma-separated names; ignored for multiple users or non-team groups.\").optional(),\n expire: z.number().int().describe(\"(Emergency only) total seconds to keep retrying; max 10800.\").optional(),\n message: z.string().describe(\"Notification body text (up to 1024 UTF-8 characters).\"),\n callback: z.string().describe(\"(Emergency only) URL called when the user acknowledges.\").optional(),\n priority: z.number().int().default(0).describe(\"Message priority: -2 (lowest), -1 (low), 0 (normal), 1 (high), 2 (emergency).\").optional(),\n monospace: z.number().int().describe(\"Set to 1 to use monospace font; mutually exclusive with html.\").optional(),\n timestamp: z.number().int().describe(\"Unix epoch time to display instead of current time.\").optional(),\n url_title: z.string().describe(\"Title for the supplementary URL.\").optional(),\n attachment: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Binary image attachment (max 5MB).\").optional(),\n attachment_type: z.string().describe(\"MIME type of the base64 attachment (e.g., 'image/jpeg').\").optional(),\n attachment_base64: z.string().describe(\"Base64-encoded image data; requires 'attachment_type'.\").optional(),\n}).describe(\"Request parameters for sending a Pushover notification message.\");\nexport const PushoverSendMessageOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; non-1 indicates an error.\").nullable(),\n receipt: z.string().describe(\"Receipt ID for emergency priority messages.\").nullable().optional(),\n request: z.string().describe(\"Unique request ID returned by API.\").nullable(),\n parameter_flags: z.record(z.string(), z.unknown()).describe(\"Parameter flags for invalid parameters, e.g. {'user': 'invalid'}.\").nullable().optional(),\n}).passthrough().describe(\"Response from Pushover after sending a message.\");\n\nexport const pushoverSendMessage: AppAction<\n typeof PushoverSendMessageInput,\n typeof PushoverSendMessageOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_SEND_MESSAGE\", {\n slug: \"pushover-send-message\",\n name: \"Send Message\",\n description: \"Tool to send a push notification with optional title, URL, priority, sound, attachments, and filters.\",\n input: PushoverSendMessageInput,\n output: PushoverSendMessageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACjI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { pushover } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/send-message.d.ts
|
|
@@ -34,32 +36,7 @@ declare const PushoverSendMessageOutput: z.ZodObject<{
|
|
|
34
36
|
request: z.ZodNullable<z.ZodString>;
|
|
35
37
|
parameter_flags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const pushoverSendMessage:
|
|
38
|
-
user: string;
|
|
39
|
-
token: string;
|
|
40
|
-
message: string;
|
|
41
|
-
ttl?: number | undefined;
|
|
42
|
-
url?: string | undefined;
|
|
43
|
-
html?: number | undefined;
|
|
44
|
-
tags?: string | undefined;
|
|
45
|
-
retry?: number | undefined;
|
|
46
|
-
sound?: string | undefined;
|
|
47
|
-
title?: string | undefined;
|
|
48
|
-
device?: string | undefined;
|
|
49
|
-
expire?: number | undefined;
|
|
50
|
-
callback?: string | undefined;
|
|
51
|
-
priority?: number | undefined;
|
|
52
|
-
monospace?: number | undefined;
|
|
53
|
-
timestamp?: number | undefined;
|
|
54
|
-
url_title?: string | undefined;
|
|
55
|
-
attachment?: {
|
|
56
|
-
name: string;
|
|
57
|
-
s3key: string;
|
|
58
|
-
mimetype: string;
|
|
59
|
-
} | undefined;
|
|
60
|
-
attachment_type?: string | undefined;
|
|
61
|
-
attachment_base64?: string | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const pushoverSendMessage: AppAction<typeof PushoverSendMessageInput, typeof PushoverSendMessageOutput, typeof pushover.credential>;
|
|
63
40
|
//#endregion
|
|
64
41
|
export { pushoverSendMessage };
|
|
65
42
|
//# sourceMappingURL=send-message.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.d.cts","names":[],"sources":["../../src/actions/send-message.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"send-message.d.cts","names":[],"sources":["../../src/actions/send-message.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|