@keystrokehq/pushover 0.1.0 → 0.1.3
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 +2 -2
- package/dist/actions/cancel-receipt-retries.cjs.map +1 -1
- package/dist/actions/cancel-receipt-retries.d.cts +13 -3
- package/dist/actions/cancel-receipt-retries.d.cts.map +1 -1
- package/dist/actions/cancel-receipt-retries.d.mts +13 -3
- package/dist/actions/cancel-receipt-retries.d.mts.map +1 -1
- package/dist/actions/cancel-receipt-retries.mjs +2 -2
- package/dist/actions/cancel-receipt-retries.mjs.map +1 -1
- package/dist/actions/cancel-retries-by-tag.cjs +2 -2
- package/dist/actions/cancel-retries-by-tag.cjs.map +1 -1
- package/dist/actions/cancel-retries-by-tag.d.cts +13 -3
- package/dist/actions/cancel-retries-by-tag.d.cts.map +1 -1
- package/dist/actions/cancel-retries-by-tag.d.mts +13 -3
- package/dist/actions/cancel-retries-by-tag.d.mts.map +1 -1
- package/dist/actions/cancel-retries-by-tag.mjs +2 -2
- package/dist/actions/cancel-retries-by-tag.mjs.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.cjs +2 -2
- package/dist/actions/client-ack-delete-up-to-id.cjs.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.d.cts +17 -3
- 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 +17 -3
- package/dist/actions/client-ack-delete-up-to-id.d.mts.map +1 -1
- package/dist/actions/client-ack-delete-up-to-id.mjs +2 -2
- package/dist/actions/client-ack-delete-up-to-id.mjs.map +1 -1
- package/dist/actions/client-fetch-messages.cjs +18 -18
- package/dist/actions/client-fetch-messages.cjs.map +1 -1
- package/dist/actions/client-fetch-messages.d.cts +38 -3
- package/dist/actions/client-fetch-messages.d.cts.map +1 -1
- package/dist/actions/client-fetch-messages.d.mts +38 -3
- package/dist/actions/client-fetch-messages.d.mts.map +1 -1
- package/dist/actions/client-fetch-messages.mjs +18 -18
- package/dist/actions/client-fetch-messages.mjs.map +1 -1
- package/dist/actions/client-login.cjs +1 -1
- package/dist/actions/client-login.cjs.map +1 -1
- package/dist/actions/client-login.d.cts +19 -3
- package/dist/actions/client-login.d.cts.map +1 -1
- package/dist/actions/client-login.d.mts +19 -3
- package/dist/actions/client-login.d.mts.map +1 -1
- package/dist/actions/client-login.mjs +1 -1
- package/dist/actions/client-login.mjs.map +1 -1
- package/dist/actions/client-realtime-websocket.cjs +5 -5
- package/dist/actions/client-realtime-websocket.cjs.map +1 -1
- package/dist/actions/client-realtime-websocket.d.cts +17 -3
- package/dist/actions/client-realtime-websocket.d.cts.map +1 -1
- package/dist/actions/client-realtime-websocket.d.mts +17 -3
- package/dist/actions/client-realtime-websocket.d.mts.map +1 -1
- package/dist/actions/client-realtime-websocket.mjs +5 -5
- package/dist/actions/client-realtime-websocket.mjs.map +1 -1
- package/dist/actions/client-register-device.cjs +3 -3
- package/dist/actions/client-register-device.cjs.map +1 -1
- package/dist/actions/client-register-device.d.cts +18 -3
- package/dist/actions/client-register-device.d.cts.map +1 -1
- package/dist/actions/client-register-device.d.mts +18 -3
- package/dist/actions/client-register-device.d.mts.map +1 -1
- package/dist/actions/client-register-device.mjs +3 -3
- package/dist/actions/client-register-device.mjs.map +1 -1
- package/dist/actions/get-app-icon-image.cjs +6 -6
- package/dist/actions/get-app-icon-image.cjs.map +1 -1
- package/dist/actions/get-app-icon-image.d.cts +16 -3
- package/dist/actions/get-app-icon-image.d.cts.map +1 -1
- package/dist/actions/get-app-icon-image.d.mts +16 -3
- package/dist/actions/get-app-icon-image.d.mts.map +1 -1
- package/dist/actions/get-app-icon-image.mjs +6 -6
- package/dist/actions/get-app-icon-image.mjs.map +1 -1
- package/dist/actions/get-app-limits.cjs +2 -2
- package/dist/actions/get-app-limits.cjs.map +1 -1
- package/dist/actions/get-app-limits.d.cts +15 -3
- package/dist/actions/get-app-limits.d.cts.map +1 -1
- package/dist/actions/get-app-limits.d.mts +15 -3
- package/dist/actions/get-app-limits.d.mts.map +1 -1
- package/dist/actions/get-app-limits.mjs +2 -2
- package/dist/actions/get-app-limits.mjs.map +1 -1
- package/dist/actions/get-app-token.cjs +1 -1
- package/dist/actions/get-app-token.cjs.map +1 -1
- package/dist/actions/get-app-token.d.cts +9 -3
- package/dist/actions/get-app-token.d.cts.map +1 -1
- package/dist/actions/get-app-token.d.mts +9 -3
- package/dist/actions/get-app-token.d.mts.map +1 -1
- package/dist/actions/get-app-token.mjs +1 -1
- package/dist/actions/get-app-token.mjs.map +1 -1
- package/dist/actions/get-receipt-status.cjs +2 -2
- package/dist/actions/get-receipt-status.cjs.map +1 -1
- package/dist/actions/get-receipt-status.d.cts +22 -3
- package/dist/actions/get-receipt-status.d.cts.map +1 -1
- package/dist/actions/get-receipt-status.d.mts +22 -3
- package/dist/actions/get-receipt-status.d.mts.map +1 -1
- package/dist/actions/get-receipt-status.mjs +2 -2
- package/dist/actions/get-receipt-status.mjs.map +1 -1
- package/dist/actions/get-team-api-token.cjs +1 -1
- package/dist/actions/get-team-api-token.cjs.map +1 -1
- package/dist/actions/get-team-api-token.d.cts +9 -3
- package/dist/actions/get-team-api-token.d.cts.map +1 -1
- package/dist/actions/get-team-api-token.d.mts +9 -3
- package/dist/actions/get-team-api-token.d.mts.map +1 -1
- package/dist/actions/get-team-api-token.mjs +1 -1
- package/dist/actions/get-team-api-token.mjs.map +1 -1
- package/dist/actions/glances-update.cjs +3 -3
- package/dist/actions/glances-update.cjs.map +1 -1
- package/dist/actions/glances-update.d.cts +25 -3
- package/dist/actions/glances-update.d.cts.map +1 -1
- package/dist/actions/glances-update.d.mts +25 -3
- package/dist/actions/glances-update.d.mts.map +1 -1
- package/dist/actions/glances-update.mjs +3 -3
- package/dist/actions/glances-update.mjs.map +1 -1
- package/dist/actions/group-add-user.cjs +3 -3
- package/dist/actions/group-add-user.cjs.map +1 -1
- package/dist/actions/group-add-user.d.cts +19 -3
- package/dist/actions/group-add-user.d.cts.map +1 -1
- package/dist/actions/group-add-user.d.mts +19 -3
- package/dist/actions/group-add-user.d.mts.map +1 -1
- package/dist/actions/group-add-user.mjs +3 -3
- package/dist/actions/group-add-user.mjs.map +1 -1
- package/dist/actions/group-create.cjs +3 -3
- package/dist/actions/group-create.cjs.map +1 -1
- package/dist/actions/group-create.d.cts +14 -3
- package/dist/actions/group-create.d.cts.map +1 -1
- package/dist/actions/group-create.d.mts +14 -3
- package/dist/actions/group-create.d.mts.map +1 -1
- package/dist/actions/group-create.mjs +3 -3
- package/dist/actions/group-create.mjs.map +1 -1
- package/dist/actions/group-disable-user.cjs +3 -3
- package/dist/actions/group-disable-user.cjs.map +1 -1
- package/dist/actions/group-disable-user.d.cts +17 -3
- package/dist/actions/group-disable-user.d.cts.map +1 -1
- package/dist/actions/group-disable-user.d.mts +17 -3
- package/dist/actions/group-disable-user.d.mts.map +1 -1
- package/dist/actions/group-disable-user.mjs +3 -3
- package/dist/actions/group-disable-user.mjs.map +1 -1
- package/dist/actions/group-enable-user.cjs +3 -3
- package/dist/actions/group-enable-user.cjs.map +1 -1
- package/dist/actions/group-enable-user.d.cts +17 -3
- package/dist/actions/group-enable-user.d.cts.map +1 -1
- package/dist/actions/group-enable-user.d.mts +17 -3
- package/dist/actions/group-enable-user.d.mts.map +1 -1
- package/dist/actions/group-enable-user.mjs +3 -3
- package/dist/actions/group-enable-user.mjs.map +1 -1
- package/dist/actions/group-get.cjs +7 -7
- package/dist/actions/group-get.cjs.map +1 -1
- package/dist/actions/group-get.d.cts +22 -3
- package/dist/actions/group-get.d.cts.map +1 -1
- package/dist/actions/group-get.d.mts +22 -3
- package/dist/actions/group-get.d.mts.map +1 -1
- package/dist/actions/group-get.mjs +7 -7
- package/dist/actions/group-get.mjs.map +1 -1
- package/dist/actions/group-list.cjs +6 -6
- package/dist/actions/group-list.cjs.map +1 -1
- package/dist/actions/group-list.d.cts +15 -3
- package/dist/actions/group-list.d.cts.map +1 -1
- package/dist/actions/group-list.d.mts +15 -3
- package/dist/actions/group-list.d.mts.map +1 -1
- package/dist/actions/group-list.mjs +6 -6
- package/dist/actions/group-list.mjs.map +1 -1
- package/dist/actions/group-remove-user.cjs +3 -3
- package/dist/actions/group-remove-user.cjs.map +1 -1
- package/dist/actions/group-remove-user.d.cts +17 -3
- package/dist/actions/group-remove-user.d.cts.map +1 -1
- package/dist/actions/group-remove-user.d.mts +17 -3
- package/dist/actions/group-remove-user.d.mts.map +1 -1
- package/dist/actions/group-remove-user.mjs +3 -3
- package/dist/actions/group-remove-user.mjs.map +1 -1
- package/dist/actions/group-rename.cjs +3 -3
- package/dist/actions/group-rename.cjs.map +1 -1
- package/dist/actions/group-rename.d.cts +15 -3
- package/dist/actions/group-rename.d.cts.map +1 -1
- package/dist/actions/group-rename.d.mts +15 -3
- package/dist/actions/group-rename.d.mts.map +1 -1
- package/dist/actions/group-rename.mjs +3 -3
- package/dist/actions/group-rename.mjs.map +1 -1
- package/dist/actions/license-assign.cjs +3 -3
- package/dist/actions/license-assign.cjs.map +1 -1
- package/dist/actions/license-assign.d.cts +21 -3
- package/dist/actions/license-assign.d.cts.map +1 -1
- package/dist/actions/license-assign.d.mts +21 -3
- package/dist/actions/license-assign.d.mts.map +1 -1
- package/dist/actions/license-assign.mjs +3 -3
- package/dist/actions/license-assign.mjs.map +1 -1
- package/dist/actions/license-check-credits.cjs +3 -3
- package/dist/actions/license-check-credits.cjs.map +1 -1
- package/dist/actions/license-check-credits.d.cts +15 -3
- package/dist/actions/license-check-credits.d.cts.map +1 -1
- package/dist/actions/license-check-credits.d.mts +15 -3
- package/dist/actions/license-check-credits.d.mts.map +1 -1
- package/dist/actions/license-check-credits.mjs +3 -3
- package/dist/actions/license-check-credits.mjs.map +1 -1
- package/dist/actions/send-message.cjs +4 -4
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +59 -3
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +59 -3
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +4 -4
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/store-team-api-token.cjs +1 -1
- package/dist/actions/store-team-api-token.cjs.map +1 -1
- package/dist/actions/store-team-api-token.d.cts +9 -3
- package/dist/actions/store-team-api-token.d.cts.map +1 -1
- package/dist/actions/store-team-api-token.d.mts +9 -3
- package/dist/actions/store-team-api-token.d.mts.map +1 -1
- package/dist/actions/store-team-api-token.mjs +1 -1
- package/dist/actions/store-team-api-token.mjs.map +1 -1
- package/dist/actions/subscription-flow.cjs +1 -1
- package/dist/actions/subscription-flow.cjs.map +1 -1
- package/dist/actions/subscription-flow.d.cts +9 -3
- package/dist/actions/subscription-flow.d.cts.map +1 -1
- package/dist/actions/subscription-flow.d.mts +9 -3
- package/dist/actions/subscription-flow.d.mts.map +1 -1
- package/dist/actions/subscription-flow.mjs +1 -1
- package/dist/actions/subscription-flow.mjs.map +1 -1
- package/dist/actions/teams-add-user.cjs +3 -3
- package/dist/actions/teams-add-user.cjs.map +1 -1
- package/dist/actions/teams-add-user.d.cts +23 -3
- package/dist/actions/teams-add-user.d.cts.map +1 -1
- package/dist/actions/teams-add-user.d.mts +23 -3
- package/dist/actions/teams-add-user.d.mts.map +1 -1
- package/dist/actions/teams-add-user.mjs +3 -3
- package/dist/actions/teams-add-user.mjs.map +1 -1
- package/dist/actions/teams-remove-user.cjs +2 -2
- package/dist/actions/teams-remove-user.cjs.map +1 -1
- package/dist/actions/teams-remove-user.d.cts +13 -3
- package/dist/actions/teams-remove-user.d.cts.map +1 -1
- package/dist/actions/teams-remove-user.d.mts +13 -3
- package/dist/actions/teams-remove-user.d.mts.map +1 -1
- package/dist/actions/teams-remove-user.mjs +2 -2
- package/dist/actions/teams-remove-user.mjs.map +1 -1
- package/dist/actions/validate-user-or-group.cjs +2 -2
- package/dist/actions/validate-user-or-group.cjs.map +1 -1
- package/dist/actions/validate-user-or-group.d.cts +17 -3
- package/dist/actions/validate-user-or-group.d.cts.map +1 -1
- package/dist/actions/validate-user-or-group.d.mts +17 -3
- package/dist/actions/validate-user-or-group.d.mts.map +1 -1
- package/dist/actions/validate-user-or-group.mjs +2 -2
- package/dist/actions/validate-user-or-group.mjs.map +1 -1
- package/dist/catalog.cjs +14 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +13 -0
- package/dist/catalog.d.mts +13 -0
- package/dist/catalog.mjs +14 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-enable-user.d.mts","names":[],"sources":["../../src/actions/group-enable-user.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"group-enable-user.d.mts","names":[],"sources":["../../src/actions/group-enable-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -12,9 +12,9 @@ const pushoverGroupEnableUser = action("PUSHOVER_GROUP_ENABLE_USER", {
|
|
|
12
12
|
}).describe("Request model for re-enabling deliveries to a user or device within a Pushover group."),
|
|
13
13
|
output: z.object({
|
|
14
14
|
errors: z.array(z.string()).describe("List of error messages if the operation failed.").nullable().optional(),
|
|
15
|
-
status: z.number().int().describe("1 indicates success; 0 indicates failure."),
|
|
16
|
-
request: z.string().describe("Unique request identifier returned by Pushover.")
|
|
17
|
-
})
|
|
15
|
+
status: z.number().int().describe("1 indicates success; 0 indicates failure.").nullable(),
|
|
16
|
+
request: z.string().describe("Unique request identifier returned by Pushover.").nullable()
|
|
17
|
+
}).passthrough()
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { pushoverGroupEnableUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-enable-user.mjs","names":[],"sources":["../../src/actions/group-enable-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupEnableUserInput
|
|
1
|
+
{"version":3,"file":"group-enable-user.mjs","names":[],"sources":["../../src/actions/group-enable-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupEnableUserInput = z.object({\n user: z.string().describe(\"Pushover user key to re-enable deliveries for.\"),\n token: z.string().describe(\"Your application API token associated with the group.\"),\n device: z.string().describe(\"Optional device name to match; if omitted, all disabled memberships for the user are re-enabled.\").optional(),\n group_key: z.string().describe(\"Unique key for the Pushover delivery group.\"),\n}).describe(\"Request model for re-enabling deliveries to a user or device within a Pushover group.\");\nexport const PushoverGroupEnableUserOutput = 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 indicates success; 0 indicates failure.\").nullable(),\n request: z.string().describe(\"Unique request identifier returned by Pushover.\").nullable(),\n}).passthrough();\n\nexport const pushoverGroupEnableUser = action(\"PUSHOVER_GROUP_ENABLE_USER\", {\n slug: \"pushover-group-enable-user\",\n name: \"Group Enable User\",\n description: \"Tool to re-enable deliveries to a previously disabled user (or specific device) within a Pushover group. Use after disabling a user's or device's notifications to restore delivery.\",\n input: PushoverGroupEnableUserInput,\n output: PushoverGroupEnableUserOutput,\n});\n"],"mappings":";;AAgBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACzI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC9E,CAAC,CAAC,CAAC,SAAS,uFAWH;CACP,QAX2C,EAAE,OAAO;EACpD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,20 +6,20 @@ const PushoverGroupGetInput = zod.z.object({
|
|
|
6
6
|
group_key: zod.z.string().describe("Delivery group key identifying the target group.")
|
|
7
7
|
}).describe("Request model for retrieving details of a Pushover delivery group.");
|
|
8
8
|
const PushoverGroupGet_GroupGetUserSchema = zod.z.object({
|
|
9
|
-
memo: zod.z.string().describe("Free-text memo stored for the member."),
|
|
9
|
+
memo: zod.z.string().describe("Free-text memo stored for the member.").nullable(),
|
|
10
10
|
name: zod.z.string().describe("Team member's name (present for Team-owned groups only).").nullable().optional(),
|
|
11
|
-
user: zod.z.string().describe("Member's Pushover user key."),
|
|
11
|
+
user: zod.z.string().describe("Member's Pushover user key.").nullable(),
|
|
12
12
|
email: zod.z.string().describe("Team member's email (present for Team-owned groups only).").nullable().optional(),
|
|
13
13
|
device: zod.z.string().describe("Device restriction for this member, or None for all devices.").nullable().optional(),
|
|
14
|
-
disabled: zod.z.boolean().describe("Whether this member is temporarily disabled in the group.")
|
|
15
|
-
}).describe("A member of the Pushover delivery group.");
|
|
14
|
+
disabled: zod.z.boolean().describe("Whether this member is temporarily disabled in the group.").nullable()
|
|
15
|
+
}).passthrough().describe("A member of the Pushover delivery group.");
|
|
16
16
|
const PushoverGroupGetOutput = zod.z.object({
|
|
17
17
|
name: zod.z.string().describe("Group's name (present on success).").nullable().optional(),
|
|
18
18
|
users: zod.z.array(PushoverGroupGet_GroupGetUserSchema).describe("List of group members (present on success).").nullable().optional(),
|
|
19
19
|
errors: zod.z.array(zod.z.string()).describe("List of error messages, present only if status is 0.").nullable().optional(),
|
|
20
|
-
status: zod.z.number().int().describe("1 on success; 0 on failure."),
|
|
21
|
-
request: zod.z.string().describe("Unique request identifier.")
|
|
22
|
-
}).describe("Response model for retrieving details of a Pushover delivery group.");
|
|
20
|
+
status: zod.z.number().int().describe("1 on success; 0 on failure.").nullable(),
|
|
21
|
+
request: zod.z.string().describe("Unique request identifier.").nullable()
|
|
22
|
+
}).passthrough().describe("Response model for retrieving details of a Pushover delivery group.");
|
|
23
23
|
const pushoverGroupGet = require_action.action("PUSHOVER_GROUP_GET", {
|
|
24
24
|
slug: "pushover-group-get",
|
|
25
25
|
name: "Get Group Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-get.cjs","names":["z","action"],"sources":["../../src/actions/group-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PushoverGroupGetInput
|
|
1
|
+
{"version":3,"file":"group-get.cjs","names":["z","action"],"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":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAClF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AACnF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,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,6BAA6B,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-get.d.ts
|
|
4
|
-
declare const PushoverGroupGetInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupGetInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
group_key: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PushoverGroupGetOutput: z.ZodObject<{
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
memo: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
user: z.ZodNullable<z.ZodString>;
|
|
14
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
device: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
disabled: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
request: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const pushoverGroupGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
token: string;
|
|
24
|
+
group_key: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { pushoverGroupGet };
|
|
9
28
|
//# sourceMappingURL=group-get.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-get.d.cts","names":[],"sources":["../../src/actions/group-get.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"group-get.d.cts","names":[],"sources":["../../src/actions/group-get.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-get.d.ts
|
|
4
|
-
declare const PushoverGroupGetInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupGetInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
group_key: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const PushoverGroupGetOutput: z.ZodObject<{
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
memo: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
user: z.ZodNullable<z.ZodString>;
|
|
14
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
device: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
disabled: z.ZodNullable<z.ZodBoolean>;
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
19
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
request: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
|
+
declare const pushoverGroupGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
token: string;
|
|
24
|
+
group_key: string;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { pushoverGroupGet };
|
|
9
28
|
//# sourceMappingURL=group-get.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-get.d.mts","names":[],"sources":["../../src/actions/group-get.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"group-get.d.mts","names":[],"sources":["../../src/actions/group-get.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAQtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -6,13 +6,13 @@ const PushoverGroupGetInput = z.object({
|
|
|
6
6
|
group_key: z.string().describe("Delivery group key identifying the target group.")
|
|
7
7
|
}).describe("Request model for retrieving details of a Pushover delivery group.");
|
|
8
8
|
const PushoverGroupGet_GroupGetUserSchema = z.object({
|
|
9
|
-
memo: z.string().describe("Free-text memo stored for the member."),
|
|
9
|
+
memo: z.string().describe("Free-text memo stored for the member.").nullable(),
|
|
10
10
|
name: z.string().describe("Team member's name (present for Team-owned groups only).").nullable().optional(),
|
|
11
|
-
user: z.string().describe("Member's Pushover user key."),
|
|
11
|
+
user: z.string().describe("Member's Pushover user key.").nullable(),
|
|
12
12
|
email: z.string().describe("Team member's email (present for Team-owned groups only).").nullable().optional(),
|
|
13
13
|
device: z.string().describe("Device restriction for this member, or None for all devices.").nullable().optional(),
|
|
14
|
-
disabled: z.boolean().describe("Whether this member is temporarily disabled in the group.")
|
|
15
|
-
}).describe("A member of the Pushover delivery group.");
|
|
14
|
+
disabled: z.boolean().describe("Whether this member is temporarily disabled in the group.").nullable()
|
|
15
|
+
}).passthrough().describe("A member of the Pushover delivery group.");
|
|
16
16
|
const pushoverGroupGet = action("PUSHOVER_GROUP_GET", {
|
|
17
17
|
slug: "pushover-group-get",
|
|
18
18
|
name: "Get Group Details",
|
|
@@ -22,9 +22,9 @@ const pushoverGroupGet = action("PUSHOVER_GROUP_GET", {
|
|
|
22
22
|
name: z.string().describe("Group's name (present on success).").nullable().optional(),
|
|
23
23
|
users: z.array(PushoverGroupGet_GroupGetUserSchema).describe("List of group members (present on success).").nullable().optional(),
|
|
24
24
|
errors: z.array(z.string()).describe("List of error messages, present only if status is 0.").nullable().optional(),
|
|
25
|
-
status: z.number().int().describe("1 on success; 0 on failure."),
|
|
26
|
-
request: z.string().describe("Unique request identifier.")
|
|
27
|
-
}).describe("Response model for retrieving details of a Pushover delivery group.")
|
|
25
|
+
status: z.number().int().describe("1 on success; 0 on failure.").nullable(),
|
|
26
|
+
request: z.string().describe("Unique request identifier.").nullable()
|
|
27
|
+
}).passthrough().describe("Response model for retrieving details of a Pushover delivery group.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { pushoverGroupGet };
|
|
@@ -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
|
|
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":";;;AAIA,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,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,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,qEAOhB;AACV,CAAC"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/group-list.ts
|
|
4
4
|
const PushoverGroupListInput = zod.z.object({ token: zod.z.string().describe("Your Pushover application API token.") }).describe("Request model for listing Pushover delivery groups.");
|
|
5
5
|
const PushoverGroupList_GroupItemSchema = zod.z.object({
|
|
6
|
-
name: zod.z.string().describe("Human-readable name of the group"),
|
|
7
|
-
group: zod.z.string().describe("Delivery group key")
|
|
8
|
-
}).describe("Delivery group object with key and name.");
|
|
6
|
+
name: zod.z.string().describe("Human-readable name of the group").nullable(),
|
|
7
|
+
group: zod.z.string().describe("Delivery group key").nullable()
|
|
8
|
+
}).passthrough().describe("Delivery group object with key and name.");
|
|
9
9
|
const PushoverGroupListOutput = zod.z.object({
|
|
10
10
|
errors: zod.z.array(zod.z.string()).describe("List of error messages if the operation failed").nullable().optional(),
|
|
11
11
|
groups: zod.z.array(PushoverGroupList_GroupItemSchema).describe("List of delivery groups (present when status is 1)").nullable().optional(),
|
|
12
|
-
status: zod.z.number().int().describe("1 if the request succeeded, 0 otherwise"),
|
|
13
|
-
request: zod.z.string().describe("Unique request identifier returned by the API")
|
|
14
|
-
}).describe("Response model for listing Pushover delivery groups.");
|
|
12
|
+
status: zod.z.number().int().describe("1 if the request succeeded, 0 otherwise").nullable(),
|
|
13
|
+
request: zod.z.string().describe("Unique request identifier returned by the API").nullable()
|
|
14
|
+
}).passthrough().describe("Response model for listing Pushover delivery groups.");
|
|
15
15
|
const pushoverGroupList = require_action.action("PUSHOVER_GROUP_LIST", {
|
|
16
16
|
slug: "pushover-group-list",
|
|
17
17
|
name: "List Delivery Groups",
|
|
@@ -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
|
|
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":";;;AAIA,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,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-list.d.ts
|
|
4
|
-
declare const PushoverGroupListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupListInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PushoverGroupListOutput: z.ZodObject<{
|
|
8
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
|
+
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
group: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>>>;
|
|
13
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
request: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const pushoverGroupList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
token: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { pushoverGroupList };
|
|
9
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":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"group-list.d.cts","names":[],"sources":["../../src/actions/group-list.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAOvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-list.d.ts
|
|
4
|
-
declare const PushoverGroupListInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupListInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PushoverGroupListOutput: z.ZodObject<{
|
|
8
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9
|
+
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
group: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>>>;
|
|
13
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
request: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const pushoverGroupList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
token: string;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { pushoverGroupList };
|
|
9
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":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"group-list.d.mts","names":[],"sources":["../../src/actions/group-list.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAOvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -3,9 +3,9 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/group-list.ts
|
|
4
4
|
const PushoverGroupListInput = z.object({ token: z.string().describe("Your Pushover application API token.") }).describe("Request model for listing Pushover delivery groups.");
|
|
5
5
|
const PushoverGroupList_GroupItemSchema = z.object({
|
|
6
|
-
name: z.string().describe("Human-readable name of the group"),
|
|
7
|
-
group: z.string().describe("Delivery group key")
|
|
8
|
-
}).describe("Delivery group object with key and name.");
|
|
6
|
+
name: z.string().describe("Human-readable name of the group").nullable(),
|
|
7
|
+
group: z.string().describe("Delivery group key").nullable()
|
|
8
|
+
}).passthrough().describe("Delivery group object with key and name.");
|
|
9
9
|
const pushoverGroupList = action("PUSHOVER_GROUP_LIST", {
|
|
10
10
|
slug: "pushover-group-list",
|
|
11
11
|
name: "List Delivery Groups",
|
|
@@ -14,9 +14,9 @@ const pushoverGroupList = action("PUSHOVER_GROUP_LIST", {
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
errors: z.array(z.string()).describe("List of error messages if the operation failed").nullable().optional(),
|
|
16
16
|
groups: z.array(PushoverGroupList_GroupItemSchema).describe("List of delivery groups (present when status is 1)").nullable().optional(),
|
|
17
|
-
status: z.number().int().describe("1 if the request succeeded, 0 otherwise"),
|
|
18
|
-
request: z.string().describe("Unique request identifier returned by the API")
|
|
19
|
-
}).describe("Response model for listing Pushover delivery groups.")
|
|
17
|
+
status: z.number().int().describe("1 if the request succeeded, 0 otherwise").nullable(),
|
|
18
|
+
request: z.string().describe("Unique request identifier returned by the API").nullable()
|
|
19
|
+
}).passthrough().describe("Response model for listing Pushover delivery groups.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { pushoverGroupList };
|
|
@@ -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
|
|
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":";;;AAIA,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,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZqC,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,sDAOhB;AACV,CAAC"}
|
|
@@ -9,9 +9,9 @@ const PushoverGroupRemoveUserInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for removing a user (or optional device) from a Pushover delivery group.");
|
|
10
10
|
const PushoverGroupRemoveUserOutput = zod.z.object({
|
|
11
11
|
errors: zod.z.array(zod.z.string()).describe("One or more error messages if the request failed.").nullable().optional(),
|
|
12
|
-
status: zod.z.number().int().describe("1 on success, 0 on failure."),
|
|
13
|
-
request: zod.z.string().describe("Request identifier returned by the API.")
|
|
14
|
-
}).describe("Response model for removing a user from a Pushover delivery group.");
|
|
12
|
+
status: zod.z.number().int().describe("1 on success, 0 on failure.").nullable(),
|
|
13
|
+
request: zod.z.string().describe("Request identifier returned by the API.").nullable()
|
|
14
|
+
}).passthrough().describe("Response model for removing a user from a Pushover delivery group.");
|
|
15
15
|
const pushoverGroupRemoveUser = require_action.action("PUSHOVER_GROUP_REMOVE_USER", {
|
|
16
16
|
slug: "pushover-group-remove-user",
|
|
17
17
|
name: "Remove User from Group",
|
|
@@ -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
|
|
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":";;;AAIA,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,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-remove-user.d.ts
|
|
4
|
-
declare const PushoverGroupRemoveUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupRemoveUserInput: z.ZodObject<{
|
|
5
|
+
user: z.ZodString;
|
|
6
|
+
token: z.ZodString;
|
|
7
|
+
device: z.ZodOptional<z.ZodString>;
|
|
8
|
+
group_key: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PushoverGroupRemoveUserOutput: z.ZodObject<{
|
|
11
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
request: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const pushoverGroupRemoveUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { pushoverGroupRemoveUser };
|
|
9
23
|
//# 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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"group-remove-user.d.cts","names":[],"sources":["../../src/actions/group-remove-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-remove-user.d.ts
|
|
4
|
-
declare const PushoverGroupRemoveUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupRemoveUserInput: z.ZodObject<{
|
|
5
|
+
user: z.ZodString;
|
|
6
|
+
token: z.ZodString;
|
|
7
|
+
device: z.ZodOptional<z.ZodString>;
|
|
8
|
+
group_key: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const PushoverGroupRemoveUserOutput: z.ZodObject<{
|
|
11
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
request: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const pushoverGroupRemoveUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { pushoverGroupRemoveUser };
|
|
9
23
|
//# 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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"group-remove-user.d.mts","names":[],"sources":["../../src/actions/group-remove-user.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -12,9 +12,9 @@ const pushoverGroupRemoveUser = action("PUSHOVER_GROUP_REMOVE_USER", {
|
|
|
12
12
|
}).describe("Request model for removing a user (or optional device) from a Pushover delivery group."),
|
|
13
13
|
output: z.object({
|
|
14
14
|
errors: z.array(z.string()).describe("One or more error messages if the request failed.").nullable().optional(),
|
|
15
|
-
status: z.number().int().describe("1 on success, 0 on failure."),
|
|
16
|
-
request: z.string().describe("Request identifier returned by the API.")
|
|
17
|
-
}).describe("Response model for removing a user from a Pushover delivery group.")
|
|
15
|
+
status: z.number().int().describe("1 on success, 0 on failure.").nullable(),
|
|
16
|
+
request: z.string().describe("Request identifier returned by the API.").nullable()
|
|
17
|
+
}).passthrough().describe("Response model for removing a user from a Pushover delivery group.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { pushoverGroupRemoveUser };
|
|
@@ -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
|
|
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":";;AAgBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,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,wFAWH;CACP,QAX2C,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,oEAOhB;AACV,CAAC"}
|
|
@@ -8,9 +8,9 @@ const PushoverGroupRenameInput = zod.z.object({
|
|
|
8
8
|
}).describe("Request model for renaming a Pushover delivery group.");
|
|
9
9
|
const PushoverGroupRenameOutput = zod.z.object({
|
|
10
10
|
errors: zod.z.array(zod.z.string()).describe("List of error messages if the operation failed. Present only when status=0.").nullable().optional(),
|
|
11
|
-
status: zod.z.number().int().describe("1 indicates success; 0 indicates an error."),
|
|
12
|
-
request: zod.z.string().describe("Unique request identifier returned by the API.")
|
|
13
|
-
}).describe("Response model returned after renaming a Pushover delivery group.");
|
|
11
|
+
status: zod.z.number().int().describe("1 indicates success; 0 indicates an error.").nullable(),
|
|
12
|
+
request: zod.z.string().describe("Unique request identifier returned by the API.").nullable()
|
|
13
|
+
}).passthrough().describe("Response model returned after renaming a Pushover delivery group.");
|
|
14
14
|
const pushoverGroupRename = require_action.action("PUSHOVER_GROUP_RENAME", {
|
|
15
15
|
slug: "pushover-group-rename",
|
|
16
16
|
name: "Rename Delivery Group",
|
|
@@ -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
|
|
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":";;;AAIA,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,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-rename.d.ts
|
|
4
|
-
declare const PushoverGroupRenameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupRenameInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
token: z.ZodString;
|
|
7
|
+
group_key: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PushoverGroupRenameOutput: z.ZodObject<{
|
|
10
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
request: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const pushoverGroupRename: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { pushoverGroupRename };
|
|
9
21
|
//# sourceMappingURL=group-rename.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-rename.d.cts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"group-rename.d.cts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/group-rename.d.ts
|
|
4
|
-
declare const PushoverGroupRenameInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PushoverGroupRenameInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
token: z.ZodString;
|
|
7
|
+
group_key: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const PushoverGroupRenameOutput: z.ZodObject<{
|
|
10
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
request: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const pushoverGroupRename: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { pushoverGroupRename };
|
|
9
21
|
//# sourceMappingURL=group-rename.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-rename.d.mts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"group-rename.d.mts","names":[],"sources":["../../src/actions/group-rename.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -11,9 +11,9 @@ const pushoverGroupRename = action("PUSHOVER_GROUP_RENAME", {
|
|
|
11
11
|
}).describe("Request model for renaming a Pushover delivery group."),
|
|
12
12
|
output: z.object({
|
|
13
13
|
errors: z.array(z.string()).describe("List of error messages if the operation failed. Present only when status=0.").nullable().optional(),
|
|
14
|
-
status: z.number().int().describe("1 indicates success; 0 indicates an error."),
|
|
15
|
-
request: z.string().describe("Unique request identifier returned by the API.")
|
|
16
|
-
}).describe("Response model returned after renaming a Pushover delivery group.")
|
|
14
|
+
status: z.number().int().describe("1 indicates success; 0 indicates an error.").nullable(),
|
|
15
|
+
request: z.string().describe("Unique request identifier returned by the API.").nullable()
|
|
16
|
+
}).passthrough().describe("Response model returned after renaming a Pushover delivery group.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { pushoverGroupRename };
|