@keystrokehq/pushover 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/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 -18
- package/dist/actions/cancel-receipt-retries.d.cts.map +1 -1
- package/dist/actions/cancel-receipt-retries.d.mts +3 -18
- 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 -18
- package/dist/actions/cancel-retries-by-tag.d.cts.map +1 -1
- package/dist/actions/cancel-retries-by-tag.d.mts +3 -18
- 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 -19
- 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 -19
- 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 -18
- package/dist/actions/client-fetch-messages.d.cts.map +1 -1
- package/dist/actions/client-fetch-messages.d.mts +3 -18
- 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 -19
- package/dist/actions/client-login.d.cts.map +1 -1
- package/dist/actions/client-login.d.mts +3 -19
- 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 -19
- package/dist/actions/client-realtime-websocket.d.cts.map +1 -1
- package/dist/actions/client-realtime-websocket.d.mts +3 -19
- 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 -19
- package/dist/actions/client-register-device.d.cts.map +1 -1
- package/dist/actions/client-register-device.d.mts +3 -19
- 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 -17
- package/dist/actions/get-app-icon-image.d.cts.map +1 -1
- package/dist/actions/get-app-icon-image.d.mts +3 -17
- 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 -17
- package/dist/actions/get-app-limits.d.cts.map +1 -1
- package/dist/actions/get-app-limits.d.mts +3 -17
- 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 -17
- package/dist/actions/get-app-token.d.cts.map +1 -1
- package/dist/actions/get-app-token.d.mts +3 -17
- 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 -18
- package/dist/actions/get-receipt-status.d.cts.map +1 -1
- package/dist/actions/get-receipt-status.d.mts +3 -18
- 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 -17
- package/dist/actions/get-team-api-token.d.cts.map +1 -1
- package/dist/actions/get-team-api-token.d.mts +3 -17
- 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 -24
- package/dist/actions/glances-update.d.cts.map +1 -1
- package/dist/actions/glances-update.d.mts +3 -24
- 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 -21
- package/dist/actions/group-add-user.d.cts.map +1 -1
- package/dist/actions/group-add-user.d.mts +3 -21
- 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 -18
- package/dist/actions/group-create.d.cts.map +1 -1
- package/dist/actions/group-create.d.mts +3 -18
- 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 -20
- package/dist/actions/group-disable-user.d.cts.map +1 -1
- package/dist/actions/group-disable-user.d.mts +3 -20
- 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 -20
- package/dist/actions/group-enable-user.d.cts.map +1 -1
- package/dist/actions/group-enable-user.d.mts +3 -20
- 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 -18
- package/dist/actions/group-get.d.cts.map +1 -1
- package/dist/actions/group-get.d.mts +3 -18
- 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 -17
- package/dist/actions/group-list.d.cts.map +1 -1
- package/dist/actions/group-list.d.mts +3 -17
- 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 -20
- package/dist/actions/group-remove-user.d.cts.map +1 -1
- package/dist/actions/group-remove-user.d.mts +3 -20
- 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 -19
- package/dist/actions/group-rename.d.cts.map +1 -1
- package/dist/actions/group-rename.d.mts +3 -19
- 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 -20
- package/dist/actions/license-assign.d.cts.map +1 -1
- package/dist/actions/license-assign.d.mts +3 -20
- 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 -17
- package/dist/actions/license-check-credits.d.cts.map +1 -1
- package/dist/actions/license-check-credits.d.mts +3 -17
- 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 -40
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -40
- 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 -17
- package/dist/actions/store-team-api-token.d.cts.map +1 -1
- package/dist/actions/store-team-api-token.d.mts +3 -17
- 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 -17
- package/dist/actions/subscription-flow.d.cts.map +1 -1
- package/dist/actions/subscription-flow.d.mts +3 -17
- 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 -23
- package/dist/actions/teams-add-user.d.cts.map +1 -1
- package/dist/actions/teams-add-user.d.mts +3 -23
- 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 -18
- package/dist/actions/teams-remove-user.d.cts.map +1 -1
- package/dist/actions/teams-remove-user.d.mts +3 -18
- 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 -19
- package/dist/actions/validate-user-or-group.d.cts.map +1 -1
- package/dist/actions/validate-user-or-group.d.mts +3 -19
- 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 +5 -4
- 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":["pushover","executePushoverTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pushover } from \"./app\";\nimport { executePushoverTool } 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":["pushover","executePushoverTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { pushover } from \"./app\";\nimport { executePushoverTool } 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 pushover.credential> {\n return pushover.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 executePushoverTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,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,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;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 { pushover } from \"./app\";\nimport { executePushoverTool } 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 { pushover } from \"./app\";\nimport { executePushoverTool } 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 pushover.credential> {\n return pushover.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 executePushoverTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-receipt-retries.cjs","names":["z","action"],"sources":["../../src/actions/cancel-receipt-retries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelReceiptRetriesInput = z.object({\n token: z.string().describe(\"Your Pushover application API token\"),\n receipt: z.string().describe(\"The receipt ID returned when the message was first sent\"),\n});\nexport const PushoverCancelReceiptRetriesOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique ID of the API request\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverCancelReceiptRetries = action(\"PUSHOVER_CANCEL_RECEIPT_RETRIES\", {\n slug: \"pushover-cancel-receipt-retries\",\n name: \"Cancel Receipt Retries\",\n description: \"Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.\",\n input: PushoverCancelReceiptRetriesInput,\n output: PushoverCancelReceiptRetriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-receipt-retries.cjs","names":["z","action"],"sources":["../../src/actions/cancel-receipt-retries.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 PushoverCancelReceiptRetriesInput = z.object({\n token: z.string().describe(\"Your Pushover application API token\"),\n receipt: z.string().describe(\"The receipt ID returned when the message was first sent\"),\n});\nexport const PushoverCancelReceiptRetriesOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique ID of the API request\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverCancelReceiptRetries: AppAction<\n typeof PushoverCancelReceiptRetriesInput,\n typeof PushoverCancelReceiptRetriesOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CANCEL_RECEIPT_RETRIES\", {\n slug: \"pushover-cancel-receipt-retries\",\n name: \"Cancel Receipt Retries\",\n description: \"Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.\",\n input: PushoverCancelReceiptRetriesInput,\n output: PushoverCancelReceiptRetriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AACxF,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/cancel-receipt-retries.d.ts
|
|
@@ -10,24 +12,7 @@ declare const PushoverCancelReceiptRetriesOutput: z.ZodObject<{
|
|
|
10
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
request: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushoverCancelReceiptRetries:
|
|
14
|
-
token: string;
|
|
15
|
-
receipt: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
generic_id: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushoverCancelReceiptRetries: AppAction<typeof PushoverCancelReceiptRetriesInput, typeof PushoverCancelReceiptRetriesOutput, typeof pushover.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { pushoverCancelReceiptRetries };
|
|
33
18
|
//# sourceMappingURL=cancel-receipt-retries.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-receipt-retries.d.cts","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-receipt-retries.d.cts","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,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/cancel-receipt-retries.d.ts
|
|
@@ -10,24 +12,7 @@ declare const PushoverCancelReceiptRetriesOutput: z.ZodObject<{
|
|
|
10
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
request: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushoverCancelReceiptRetries:
|
|
14
|
-
token: string;
|
|
15
|
-
receipt: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
generic_id: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushoverCancelReceiptRetries: AppAction<typeof PushoverCancelReceiptRetriesInput, typeof PushoverCancelReceiptRetriesOutput, typeof pushover.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { pushoverCancelReceiptRetries };
|
|
33
18
|
//# sourceMappingURL=cancel-receipt-retries.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-receipt-retries.d.mts","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-receipt-retries.d.mts","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-receipt-retries.mjs","names":[],"sources":["../../src/actions/cancel-receipt-retries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelReceiptRetriesInput = z.object({\n token: z.string().describe(\"Your Pushover application API token\"),\n receipt: z.string().describe(\"The receipt ID returned when the message was first sent\"),\n});\nexport const PushoverCancelReceiptRetriesOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique ID of the API request\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverCancelReceiptRetries = action(\"PUSHOVER_CANCEL_RECEIPT_RETRIES\", {\n slug: \"pushover-cancel-receipt-retries\",\n name: \"Cancel Receipt Retries\",\n description: \"Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.\",\n input: PushoverCancelReceiptRetriesInput,\n output: PushoverCancelReceiptRetriesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-receipt-retries.mjs","names":[],"sources":["../../src/actions/cancel-receipt-retries.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 PushoverCancelReceiptRetriesInput = z.object({\n token: z.string().describe(\"Your Pushover application API token\"),\n receipt: z.string().describe(\"The receipt ID returned when the message was first sent\"),\n});\nexport const PushoverCancelReceiptRetriesOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages if the operation failed\").nullable().optional(),\n status: z.number().int().describe(\"1 if the request succeeded, 0 otherwise\").nullable(),\n request: z.string().describe(\"Unique ID of the API request\").nullable().optional(),\n}).passthrough();\n\nexport const pushoverCancelReceiptRetries: AppAction<\n typeof PushoverCancelReceiptRetriesInput,\n typeof PushoverCancelReceiptRetriesOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CANCEL_RECEIPT_RETRIES\", {\n slug: \"pushover-cancel-receipt-retries\",\n name: \"Cancel Receipt Retries\",\n description: \"Tool to cancel further retries for an emergency-priority message before its expiry. Use when you no longer want Pushover to keep attempting delivery of an urgent notification.\",\n input: PushoverCancelReceiptRetriesInput,\n output: PushoverCancelReceiptRetriesOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACxF,CAeS;CACP,QAfgD,EAAE,OAAO;EACzD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-retries-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelRetriesByTagInput = z.object({\n tag: z.string().describe(\"Tag assigned to messages when originally sent; identifies which receipts to cancel.\"),\n token: z.string().describe(\"Application API token for authentication.\"),\n}).describe(\"Request model for canceling retries of emergency-priority messages by tag.\");\nexport const PushoverCancelRetriesByTagOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages, present only if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; any other value indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request ID returned by Pushover. May be absent on some errors.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after canceling retries by tag.\");\n\nexport const pushoverCancelRetriesByTag = action(\"PUSHOVER_CANCEL_RETRIES_BY_TAG\", {\n slug: \"pushover-cancel-retries-by-tag\",\n name: \"Cancel Retries by Tag\",\n description: \"Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.\",\n input: PushoverCancelRetriesByTagInput,\n output: PushoverCancelRetriesByTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-retries-by-tag.cjs","names":["z","action"],"sources":["../../src/actions/cancel-retries-by-tag.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 PushoverCancelRetriesByTagInput = z.object({\n tag: z.string().describe(\"Tag assigned to messages when originally sent; identifies which receipts to cancel.\"),\n token: z.string().describe(\"Application API token for authentication.\"),\n}).describe(\"Request model for canceling retries of emergency-priority messages by tag.\");\nexport const PushoverCancelRetriesByTagOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages, present only if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; any other value indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request ID returned by Pushover. May be absent on some errors.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after canceling retries by tag.\");\n\nexport const pushoverCancelRetriesByTag: AppAction<\n typeof PushoverCancelRetriesByTagInput,\n typeof PushoverCancelRetriesByTagOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CANCEL_RETRIES_BY_TAG\", {\n slug: \"pushover-cancel-retries-by-tag\",\n name: \"Cancel Retries by Tag\",\n description: \"Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.\",\n input: PushoverCancelRetriesByTagInput,\n output: PushoverCancelRetriesByTagOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AACxE,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,6BAITC,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/cancel-retries-by-tag.d.ts
|
|
@@ -10,24 +12,7 @@ declare const PushoverCancelRetriesByTagOutput: z.ZodObject<{
|
|
|
10
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
request: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushoverCancelRetriesByTag:
|
|
14
|
-
tag: string;
|
|
15
|
-
token: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
generic_id: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushoverCancelRetriesByTag: AppAction<typeof PushoverCancelRetriesByTagInput, typeof PushoverCancelRetriesByTagOutput, typeof pushover.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { pushoverCancelRetriesByTag };
|
|
33
18
|
//# sourceMappingURL=cancel-retries-by-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-retries-by-tag.d.cts","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-retries-by-tag.d.cts","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/cancel-retries-by-tag.d.ts
|
|
@@ -10,24 +12,7 @@ declare const PushoverCancelRetriesByTagOutput: z.ZodObject<{
|
|
|
10
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
request: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const pushoverCancelRetriesByTag:
|
|
14
|
-
tag: string;
|
|
15
|
-
token: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
generic_id: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const pushoverCancelRetriesByTag: AppAction<typeof PushoverCancelRetriesByTagInput, typeof PushoverCancelRetriesByTagOutput, typeof pushover.credential>;
|
|
31
16
|
//#endregion
|
|
32
17
|
export { pushoverCancelRetriesByTag };
|
|
33
18
|
//# sourceMappingURL=cancel-retries-by-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-retries-by-tag.d.mts","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-retries-by-tag.d.mts","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAI/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cancel-retries-by-tag.mjs","names":[],"sources":["../../src/actions/cancel-retries-by-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverCancelRetriesByTagInput = z.object({\n tag: z.string().describe(\"Tag assigned to messages when originally sent; identifies which receipts to cancel.\"),\n token: z.string().describe(\"Application API token for authentication.\"),\n}).describe(\"Request model for canceling retries of emergency-priority messages by tag.\");\nexport const PushoverCancelRetriesByTagOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages, present only if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; any other value indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request ID returned by Pushover. May be absent on some errors.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after canceling retries by tag.\");\n\nexport const pushoverCancelRetriesByTag = action(\"PUSHOVER_CANCEL_RETRIES_BY_TAG\", {\n slug: \"pushover-cancel-retries-by-tag\",\n name: \"Cancel Retries by Tag\",\n description: \"Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.\",\n input: PushoverCancelRetriesByTagInput,\n output: PushoverCancelRetriesByTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cancel-retries-by-tag.mjs","names":[],"sources":["../../src/actions/cancel-retries-by-tag.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 PushoverCancelRetriesByTagInput = z.object({\n tag: z.string().describe(\"Tag assigned to messages when originally sent; identifies which receipts to cancel.\"),\n token: z.string().describe(\"Application API token for authentication.\"),\n}).describe(\"Request model for canceling retries of emergency-priority messages by tag.\");\nexport const PushoverCancelRetriesByTagOutput = z.object({\n errors: z.array(z.string()).describe(\"List of error messages, present only if status != 1.\").nullable().optional(),\n status: z.number().int().describe(\"1 indicates success; any other value indicates an error.\").nullable(),\n request: z.string().describe(\"Unique request ID returned by Pushover. May be absent on some errors.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after canceling retries by tag.\");\n\nexport const pushoverCancelRetriesByTag: AppAction<\n typeof PushoverCancelRetriesByTagInput,\n typeof PushoverCancelRetriesByTagOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CANCEL_RETRIES_BY_TAG\", {\n slug: \"pushover-cancel-retries-by-tag\",\n name: \"Cancel Retries by Tag\",\n description: \"Tool to cancel retries for all active emergency-priority Pushover messages matching a specific tag. Use after sending emergency messages when you want to stop further retries for a given tag.\",\n input: PushoverCancelRetriesByTagInput,\n output: PushoverCancelRetriesByTagOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAC9G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,CAAC,CAAC,CAAC,SAAS,4EAeH;CACP,QAf8C,EAAE,OAAO;EACvD,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,0DAA0D,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-ack-delete-up-to-id.cjs","names":["z","action"],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientAckDeleteUpToIdInput = z.object({\n secret: z.string().describe(\"User session secret obtained at login; required for Open Client actions.\"),\n message: z.number().int().describe(\"Highest message ID previously seen; all messages up to and including this ID are deleted.\"),\n device_id: z.string().describe(\"The unique device ID returned during Device Registration.\"),\n}).describe(\"Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.\");\nexport const PushoverClientAckDeleteUpToIdOutput = z.object({\n errors: z.union([z.array(z.string()), z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n status: z.number().int().describe(\"1 indicates the delete/acknowledge operation was successful; 0 or None on failure.\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API; 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 the update_highest_message endpoint.\");\n\nexport const pushoverClientAckDeleteUpToId = action(\"PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID\", {\n slug: \"pushover-client-ack-delete-up-to-id\",\n name: \"Client Acknowledge Delete Up To ID\",\n description: \"Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.\",\n input: PushoverClientAckDeleteUpToIdInput,\n output: PushoverClientAckDeleteUpToIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-ack-delete-up-to-id.cjs","names":["z","action"],"sources":["../../src/actions/client-ack-delete-up-to-id.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 PushoverClientAckDeleteUpToIdInput = z.object({\n secret: z.string().describe(\"User session secret obtained at login; required for Open Client actions.\"),\n message: z.number().int().describe(\"Highest message ID previously seen; all messages up to and including this ID are deleted.\"),\n device_id: z.string().describe(\"The unique device ID returned during Device Registration.\"),\n}).describe(\"Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.\");\nexport const PushoverClientAckDeleteUpToIdOutput = z.object({\n errors: z.union([z.array(z.string()), z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n status: z.number().int().describe(\"1 indicates the delete/acknowledge operation was successful; 0 or None on failure.\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API; 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 the update_highest_message endpoint.\");\n\nexport const pushoverClientAckDeleteUpToId: AppAction<\n typeof PushoverClientAckDeleteUpToIdInput,\n typeof PushoverClientAckDeleteUpToIdOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID\", {\n slug: \"pushover-client-ack-delete-up-to-id\",\n name: \"Client Acknowledge Delete Up To ID\",\n description: \"Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.\",\n input: PushoverClientAckDeleteUpToIdInput,\n output: PushoverClientAckDeleteUpToIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAC1G,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC;EAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,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,yDAAyD;AAEnF,MAAa,gCAITC,eAAAA,OAAO,uCAAuC;CAChD,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/client-ack-delete-up-to-id.d.ts
|
|
@@ -13,25 +15,7 @@ declare const PushoverClientAckDeleteUpToIdOutput: 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 pushoverClientAckDeleteUpToId:
|
|
17
|
-
secret: string;
|
|
18
|
-
message: number;
|
|
19
|
-
device_id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const pushoverClientAckDeleteUpToId: AppAction<typeof PushoverClientAckDeleteUpToIdInput, typeof PushoverClientAckDeleteUpToIdOutput, typeof pushover.credential>;
|
|
35
19
|
//#endregion
|
|
36
20
|
export { pushoverClientAckDeleteUpToId };
|
|
37
21
|
//# sourceMappingURL=client-ack-delete-up-to-id.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-ack-delete-up-to-id.d.cts","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-ack-delete-up-to-id.d.cts","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,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/client-ack-delete-up-to-id.d.ts
|
|
@@ -13,25 +15,7 @@ declare const PushoverClientAckDeleteUpToIdOutput: 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 pushoverClientAckDeleteUpToId:
|
|
17
|
-
secret: string;
|
|
18
|
-
message: number;
|
|
19
|
-
device_id: string;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
generic_id: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const pushoverClientAckDeleteUpToId: AppAction<typeof PushoverClientAckDeleteUpToIdInput, typeof PushoverClientAckDeleteUpToIdOutput, typeof pushover.credential>;
|
|
35
19
|
//#endregion
|
|
36
20
|
export { pushoverClientAckDeleteUpToId };
|
|
37
21
|
//# sourceMappingURL=client-ack-delete-up-to-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-ack-delete-up-to-id.d.mts","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-ack-delete-up-to-id.d.mts","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAQnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-ack-delete-up-to-id.mjs","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientAckDeleteUpToIdInput = z.object({\n secret: z.string().describe(\"User session secret obtained at login; required for Open Client actions.\"),\n message: z.number().int().describe(\"Highest message ID previously seen; all messages up to and including this ID are deleted.\"),\n device_id: z.string().describe(\"The unique device ID returned during Device Registration.\"),\n}).describe(\"Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.\");\nexport const PushoverClientAckDeleteUpToIdOutput = z.object({\n errors: z.union([z.array(z.string()), z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n status: z.number().int().describe(\"1 indicates the delete/acknowledge operation was successful; 0 or None on failure.\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API; 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 the update_highest_message endpoint.\");\n\nexport const pushoverClientAckDeleteUpToId = action(\"PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID\", {\n slug: \"pushover-client-ack-delete-up-to-id\",\n name: \"Client Acknowledge Delete Up To ID\",\n description: \"Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.\",\n input: PushoverClientAckDeleteUpToIdInput,\n output: PushoverClientAckDeleteUpToIdOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-ack-delete-up-to-id.mjs","names":[],"sources":["../../src/actions/client-ack-delete-up-to-id.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 PushoverClientAckDeleteUpToIdInput = z.object({\n secret: z.string().describe(\"User session secret obtained at login; required for Open Client actions.\"),\n message: z.number().int().describe(\"Highest message ID previously seen; all messages up to and including this ID are deleted.\"),\n device_id: z.string().describe(\"The unique device ID returned during Device Registration.\"),\n}).describe(\"Request model for deleting/acknowledging all messages up to a given ID on a Pushover device.\");\nexport const PushoverClientAckDeleteUpToIdOutput = z.object({\n errors: z.union([z.array(z.string()), z.record(z.string(), z.unknown()), z.string()]).nullable().optional(),\n status: z.number().int().describe(\"1 indicates the delete/acknowledge operation was successful; 0 or None on failure.\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API; 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 the update_highest_message endpoint.\");\n\nexport const pushoverClientAckDeleteUpToId: AppAction<\n typeof PushoverClientAckDeleteUpToIdInput,\n typeof PushoverClientAckDeleteUpToIdOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CLIENT_ACK_DELETE_UP_TO_ID\", {\n slug: \"pushover-client-ack-delete-up-to-id\",\n name: \"Client Acknowledge Delete Up To ID\",\n description: \"Tool to delete/acknowledge device messages up to a specific message ID. Use when you want to clear all messages up to a known ID; call after retrieving the latest message ID.\",\n input: PushoverClientAckDeleteUpToIdInput,\n output: PushoverClientAckDeleteUpToIdOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,gCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,SAAS,8FAiBH;CACP,QAjBiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,MAAM;GAAC,EAAE,MAAM,EAAE,OAAO,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,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,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-fetch-messages.cjs","names":["z","action"],"sources":["../../src/actions/client-fetch-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientFetchMessagesInput = z.object({\n secret: z.string().describe(\"User session secret obtained after login, required to authenticate the client.\"),\n device_id: z.string().describe(\"Unique identifier of the registered device to fetch messages for.\"),\n}).describe(\"Request model for fetching pending messages for a device.\");\nconst PushoverClientFetchMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Message ID as integer.\").nullable(),\n aid: z.number().int().describe(\"Application ID as integer.\").nullable(),\n app: z.string().describe(\"Application name that sent the message.\").nullable(),\n url: z.string().describe(\"Optional supplementary URL for the message.\").nullable().optional(),\n date: z.number().int().describe(\"Unix timestamp when the message was created.\").nullable(),\n html: z.number().int().describe(\"HTML flag (0 = plain text, 1 = HTML enabled).\").nullable(),\n icon: z.string().describe(\"Icon key associated with the application.\").nullable(),\n umid: z.number().int().describe(\"User message ID as integer.\").nullable(),\n acked: z.number().int().describe(\"Acknowledgement status (0 = not acked, 1 = acked).\").nullable(),\n sound: z.string().describe(\"Sound identifier for the notification.\").nullable(),\n title: z.string().describe(\"Optional message title.\").nullable().optional(),\n id_str: z.string().describe(\"Message ID as string.\").nullable(),\n aid_str: z.string().describe(\"Application ID as string.\").nullable(),\n message: z.string().describe(\"Message content.\").nullable(),\n receipt: z.string().describe(\"Receipt token for emergency-priority messages.\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the message.\").nullable(),\n umid_str: z.string().describe(\"User message ID as string.\").nullable(),\n url_title: z.string().describe(\"Optional title for the supplementary URL.\").nullable().optional(),\n queued_date: z.number().int().describe(\"Unix timestamp when the message was queued.\").nullable(),\n dispatched_date: z.number().int().describe(\"Unix timestamp when the message was dispatched.\").nullable(),\n}).passthrough();\nexport const PushoverClientFetchMessagesOutput = z.object({\n error: z.string().describe(\"Single error message when available.\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages when the request fails.\").nullable().optional(),\n status: z.number().int().describe(\"API call status (1 indicates success; 0 indicates failure).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n messages: z.array(PushoverClientFetchMessages_MessageSchema).describe(\"List of pending messages for the device.\").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 fetched pending messages.\");\n\nexport const pushoverClientFetchMessages = action(\"PUSHOVER_CLIENT_FETCH_MESSAGES\", {\n slug: \"pushover-client-fetch-messages\",\n name: \"Fetch Pending Messages\",\n description: \"Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.\",\n input: PushoverClientFetchMessagesInput,\n output: PushoverClientFetchMessagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-fetch-messages.cjs","names":["z","action"],"sources":["../../src/actions/client-fetch-messages.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 PushoverClientFetchMessagesInput = z.object({\n secret: z.string().describe(\"User session secret obtained after login, required to authenticate the client.\"),\n device_id: z.string().describe(\"Unique identifier of the registered device to fetch messages for.\"),\n}).describe(\"Request model for fetching pending messages for a device.\");\nconst PushoverClientFetchMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Message ID as integer.\").nullable(),\n aid: z.number().int().describe(\"Application ID as integer.\").nullable(),\n app: z.string().describe(\"Application name that sent the message.\").nullable(),\n url: z.string().describe(\"Optional supplementary URL for the message.\").nullable().optional(),\n date: z.number().int().describe(\"Unix timestamp when the message was created.\").nullable(),\n html: z.number().int().describe(\"HTML flag (0 = plain text, 1 = HTML enabled).\").nullable(),\n icon: z.string().describe(\"Icon key associated with the application.\").nullable(),\n umid: z.number().int().describe(\"User message ID as integer.\").nullable(),\n acked: z.number().int().describe(\"Acknowledgement status (0 = not acked, 1 = acked).\").nullable(),\n sound: z.string().describe(\"Sound identifier for the notification.\").nullable(),\n title: z.string().describe(\"Optional message title.\").nullable().optional(),\n id_str: z.string().describe(\"Message ID as string.\").nullable(),\n aid_str: z.string().describe(\"Application ID as string.\").nullable(),\n message: z.string().describe(\"Message content.\").nullable(),\n receipt: z.string().describe(\"Receipt token for emergency-priority messages.\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the message.\").nullable(),\n umid_str: z.string().describe(\"User message ID as string.\").nullable(),\n url_title: z.string().describe(\"Optional title for the supplementary URL.\").nullable().optional(),\n queued_date: z.number().int().describe(\"Unix timestamp when the message was queued.\").nullable(),\n dispatched_date: z.number().int().describe(\"Unix timestamp when the message was dispatched.\").nullable(),\n}).passthrough();\nexport const PushoverClientFetchMessagesOutput = z.object({\n error: z.string().describe(\"Single error message when available.\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages when the request fails.\").nullable().optional(),\n status: z.number().int().describe(\"API call status (1 indicates success; 0 indicates failure).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n messages: z.array(PushoverClientFetchMessages_MessageSchema).describe(\"List of pending messages for the device.\").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 fetched pending messages.\");\n\nexport const pushoverClientFetchMessages: AppAction<\n typeof PushoverClientFetchMessagesInput,\n typeof PushoverClientFetchMessagesOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CLIENT_FETCH_MESSAGES\", {\n slug: \"pushover-client-fetch-messages\",\n name: \"Fetch Pending Messages\",\n description: \"Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.\",\n input: PushoverClientFetchMessagesInput,\n output: PushoverClientFetchMessagesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -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/client-fetch-messages.d.ts
|
|
@@ -35,24 +37,7 @@ declare const PushoverClientFetchMessagesOutput: z.ZodObject<{
|
|
|
35
37
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
38
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushoverClientFetchMessages:
|
|
39
|
-
secret: string;
|
|
40
|
-
device_id: string;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
generic_id: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushoverClientFetchMessages: AppAction<typeof PushoverClientFetchMessagesInput, typeof PushoverClientFetchMessagesOutput, typeof pushover.credential>;
|
|
56
41
|
//#endregion
|
|
57
42
|
export { pushoverClientFetchMessages };
|
|
58
43
|
//# sourceMappingURL=client-fetch-messages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-fetch-messages.d.cts","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-fetch-messages.d.cts","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cA0BhC,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/client-fetch-messages.d.ts
|
|
@@ -35,24 +37,7 @@ declare const PushoverClientFetchMessagesOutput: z.ZodObject<{
|
|
|
35
37
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
38
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const pushoverClientFetchMessages:
|
|
39
|
-
secret: string;
|
|
40
|
-
device_id: string;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
generic_id: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pushoverClientFetchMessages: AppAction<typeof PushoverClientFetchMessagesInput, typeof PushoverClientFetchMessagesOutput, typeof pushover.credential>;
|
|
56
41
|
//#endregion
|
|
57
42
|
export { pushoverClientFetchMessages };
|
|
58
43
|
//# sourceMappingURL=client-fetch-messages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-fetch-messages.d.mts","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-fetch-messages.d.mts","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cA0BhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-fetch-messages.mjs","names":[],"sources":["../../src/actions/client-fetch-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientFetchMessagesInput = z.object({\n secret: z.string().describe(\"User session secret obtained after login, required to authenticate the client.\"),\n device_id: z.string().describe(\"Unique identifier of the registered device to fetch messages for.\"),\n}).describe(\"Request model for fetching pending messages for a device.\");\nconst PushoverClientFetchMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Message ID as integer.\").nullable(),\n aid: z.number().int().describe(\"Application ID as integer.\").nullable(),\n app: z.string().describe(\"Application name that sent the message.\").nullable(),\n url: z.string().describe(\"Optional supplementary URL for the message.\").nullable().optional(),\n date: z.number().int().describe(\"Unix timestamp when the message was created.\").nullable(),\n html: z.number().int().describe(\"HTML flag (0 = plain text, 1 = HTML enabled).\").nullable(),\n icon: z.string().describe(\"Icon key associated with the application.\").nullable(),\n umid: z.number().int().describe(\"User message ID as integer.\").nullable(),\n acked: z.number().int().describe(\"Acknowledgement status (0 = not acked, 1 = acked).\").nullable(),\n sound: z.string().describe(\"Sound identifier for the notification.\").nullable(),\n title: z.string().describe(\"Optional message title.\").nullable().optional(),\n id_str: z.string().describe(\"Message ID as string.\").nullable(),\n aid_str: z.string().describe(\"Application ID as string.\").nullable(),\n message: z.string().describe(\"Message content.\").nullable(),\n receipt: z.string().describe(\"Receipt token for emergency-priority messages.\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the message.\").nullable(),\n umid_str: z.string().describe(\"User message ID as string.\").nullable(),\n url_title: z.string().describe(\"Optional title for the supplementary URL.\").nullable().optional(),\n queued_date: z.number().int().describe(\"Unix timestamp when the message was queued.\").nullable(),\n dispatched_date: z.number().int().describe(\"Unix timestamp when the message was dispatched.\").nullable(),\n}).passthrough();\nexport const PushoverClientFetchMessagesOutput = z.object({\n error: z.string().describe(\"Single error message when available.\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages when the request fails.\").nullable().optional(),\n status: z.number().int().describe(\"API call status (1 indicates success; 0 indicates failure).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n messages: z.array(PushoverClientFetchMessages_MessageSchema).describe(\"List of pending messages for the device.\").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 fetched pending messages.\");\n\nexport const pushoverClientFetchMessages = action(\"PUSHOVER_CLIENT_FETCH_MESSAGES\", {\n slug: \"pushover-client-fetch-messages\",\n name: \"Fetch Pending Messages\",\n description: \"Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.\",\n input: PushoverClientFetchMessagesInput,\n output: PushoverClientFetchMessagesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-fetch-messages.mjs","names":[],"sources":["../../src/actions/client-fetch-messages.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 PushoverClientFetchMessagesInput = z.object({\n secret: z.string().describe(\"User session secret obtained after login, required to authenticate the client.\"),\n device_id: z.string().describe(\"Unique identifier of the registered device to fetch messages for.\"),\n}).describe(\"Request model for fetching pending messages for a device.\");\nconst PushoverClientFetchMessages_MessageSchema = z.object({\n id: z.number().int().describe(\"Message ID as integer.\").nullable(),\n aid: z.number().int().describe(\"Application ID as integer.\").nullable(),\n app: z.string().describe(\"Application name that sent the message.\").nullable(),\n url: z.string().describe(\"Optional supplementary URL for the message.\").nullable().optional(),\n date: z.number().int().describe(\"Unix timestamp when the message was created.\").nullable(),\n html: z.number().int().describe(\"HTML flag (0 = plain text, 1 = HTML enabled).\").nullable(),\n icon: z.string().describe(\"Icon key associated with the application.\").nullable(),\n umid: z.number().int().describe(\"User message ID as integer.\").nullable(),\n acked: z.number().int().describe(\"Acknowledgement status (0 = not acked, 1 = acked).\").nullable(),\n sound: z.string().describe(\"Sound identifier for the notification.\").nullable(),\n title: z.string().describe(\"Optional message title.\").nullable().optional(),\n id_str: z.string().describe(\"Message ID as string.\").nullable(),\n aid_str: z.string().describe(\"Application ID as string.\").nullable(),\n message: z.string().describe(\"Message content.\").nullable(),\n receipt: z.string().describe(\"Receipt token for emergency-priority messages.\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the message.\").nullable(),\n umid_str: z.string().describe(\"User message ID as string.\").nullable(),\n url_title: z.string().describe(\"Optional title for the supplementary URL.\").nullable().optional(),\n queued_date: z.number().int().describe(\"Unix timestamp when the message was queued.\").nullable(),\n dispatched_date: z.number().int().describe(\"Unix timestamp when the message was dispatched.\").nullable(),\n}).passthrough();\nexport const PushoverClientFetchMessagesOutput = z.object({\n error: z.string().describe(\"Single error message when available.\").nullable().optional(),\n errors: z.array(z.string()).describe(\"List of error messages when the request fails.\").nullable().optional(),\n status: z.number().int().describe(\"API call status (1 indicates success; 0 indicates failure).\").nullable().optional(),\n request: z.string().describe(\"Unique request identifier returned by the API.\").nullable().optional(),\n messages: z.array(PushoverClientFetchMessages_MessageSchema).describe(\"List of pending messages for the device.\").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 fetched pending messages.\");\n\nexport const pushoverClientFetchMessages: AppAction<\n typeof PushoverClientFetchMessagesInput,\n typeof PushoverClientFetchMessagesOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CLIENT_FETCH_MESSAGES\", {\n slug: \"pushover-client-fetch-messages\",\n name: \"Fetch Pending Messages\",\n description: \"Tool to download pending messages for a registered device. Use after device registration to retrieve messages queued server-side.\",\n input: PushoverClientFetchMessagesInput,\n output: PushoverClientFetchMessagesOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-login.cjs","names":["z","action"],"sources":["../../src/actions/client-login.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverClientLoginInput = z.object({\n email: z.string().describe(\"Pushover account e-mail; case-sensitive\"),\n twofa: z.string().describe(\"Two-factor authentication code; include only after prior HTTP 412 response\").optional(),\n password: z.string().describe(\"Pushover account password; case-sensitive\"),\n}).describe(\"Request model for CLIENT_LOGIN.\");\nexport const PushoverClientLoginOutput = z.object({\n id: z.string().describe(\"User's Pushover user key; present only when status=1\").nullable().optional(),\n error: z.string().describe(\"Error message if login failed or HTTP error occurred.\").nullable().optional(),\n secret: z.string().describe(\"Session secret for this login; present only when status=1\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 otherwise. May be absent on HTTP-level errors.\").nullable().optional(),\n request: z.string().describe(\"Request identifier returned by API; may be unavailable 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 CLIENT_LOGIN.\");\n\nexport const pushoverClientLogin = action(\"PUSHOVER_CLIENT_LOGIN\", {\n slug: \"pushover-client-login\",\n name: \"Pushover Client Login\",\n description: \"Tool to authenticate a Pushover user by email and password. Use when you need to obtain a user key and session secret. Include twofa code if prompted by a prior HTTP 412 response.\",\n input: PushoverClientLoginInput,\n output: PushoverClientLoginOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-login.cjs","names":["z","action"],"sources":["../../src/actions/client-login.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 PushoverClientLoginInput = z.object({\n email: z.string().describe(\"Pushover account e-mail; case-sensitive\"),\n twofa: z.string().describe(\"Two-factor authentication code; include only after prior HTTP 412 response\").optional(),\n password: z.string().describe(\"Pushover account password; case-sensitive\"),\n}).describe(\"Request model for CLIENT_LOGIN.\");\nexport const PushoverClientLoginOutput = z.object({\n id: z.string().describe(\"User's Pushover user key; present only when status=1\").nullable().optional(),\n error: z.string().describe(\"Error message if login failed or HTTP error occurred.\").nullable().optional(),\n secret: z.string().describe(\"Session secret for this login; present only when status=1\").nullable().optional(),\n status: z.number().int().describe(\"1 on success; 0 otherwise. May be absent on HTTP-level errors.\").nullable().optional(),\n request: z.string().describe(\"Request identifier returned by API; may be unavailable 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 CLIENT_LOGIN.\");\n\nexport const pushoverClientLogin: AppAction<\n typeof PushoverClientLoginInput,\n typeof PushoverClientLoginOutput,\n typeof pushover.credential\n> = action(\"PUSHOVER_CLIENT_LOGIN\", {\n slug: \"pushover-client-login\",\n name: \"Pushover Client Login\",\n description: \"Tool to authenticate a Pushover user by email and password. Use when you need to obtain a user key and session secret. Include twofa code if prompted by a prior HTTP 412 response.\",\n input: PushoverClientLoginInput,\n output: PushoverClientLoginOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC3E,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,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,kCAAkC;AAE5D,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/client-login.d.ts
|
|
@@ -15,25 +17,7 @@ declare const PushoverClientLoginOutput: z.ZodObject<{
|
|
|
15
17
|
http_status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
18
|
http_response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const pushoverClientLogin:
|
|
19
|
-
email: string;
|
|
20
|
-
password: string;
|
|
21
|
-
twofa?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pushover", 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
|
-
generic_id: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const pushoverClientLogin: AppAction<typeof PushoverClientLoginInput, typeof PushoverClientLoginOutput, typeof pushover.credential>;
|
|
37
21
|
//#endregion
|
|
38
22
|
export { pushoverClientLogin };
|
|
39
23
|
//# sourceMappingURL=client-login.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-login.d.cts","names":[],"sources":["../../src/actions/client-login.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-login.d.cts","names":[],"sources":["../../src/actions/client-login.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAUzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|