@keystrokehq/pingdom 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/get-actions-alerts.cjs +35 -0
- package/dist/actions/get-actions-alerts.cjs.map +1 -0
- package/dist/actions/get-actions-alerts.d.cts +9 -0
- package/dist/actions/get-actions-alerts.d.cts.map +1 -0
- package/dist/actions/get-actions-alerts.d.mts +9 -0
- package/dist/actions/get-actions-alerts.d.mts.map +1 -0
- package/dist/actions/get-actions-alerts.mjs +34 -0
- package/dist/actions/get-actions-alerts.mjs.map +1 -0
- package/dist/actions/get-checks-list.cjs +50 -0
- package/dist/actions/get-checks-list.cjs.map +1 -0
- package/dist/actions/get-checks-list.d.cts +9 -0
- package/dist/actions/get-checks-list.d.cts.map +1 -0
- package/dist/actions/get-checks-list.d.mts +9 -0
- package/dist/actions/get-checks-list.d.mts.map +1 -0
- package/dist/actions/get-checks-list.mjs +49 -0
- package/dist/actions/get-checks-list.mjs.map +1 -0
- package/dist/actions/get-contact-details.cjs +42 -0
- package/dist/actions/get-contact-details.cjs.map +1 -0
- package/dist/actions/get-contact-details.d.cts +9 -0
- package/dist/actions/get-contact-details.d.cts.map +1 -0
- package/dist/actions/get-contact-details.d.mts +9 -0
- package/dist/actions/get-contact-details.d.mts.map +1 -0
- package/dist/actions/get-contact-details.mjs +41 -0
- package/dist/actions/get-contact-details.mjs.map +1 -0
- package/dist/actions/get-contacts.cjs +53 -0
- package/dist/actions/get-contacts.cjs.map +1 -0
- package/dist/actions/get-contacts.d.cts +9 -0
- package/dist/actions/get-contacts.d.cts.map +1 -0
- package/dist/actions/get-contacts.d.mts +9 -0
- package/dist/actions/get-contacts.d.mts.map +1 -0
- package/dist/actions/get-contacts.mjs +52 -0
- package/dist/actions/get-contacts.mjs.map +1 -0
- package/dist/actions/get-credits.cjs +38 -0
- package/dist/actions/get-credits.cjs.map +1 -0
- package/dist/actions/get-credits.d.cts +9 -0
- package/dist/actions/get-credits.d.cts.map +1 -0
- package/dist/actions/get-credits.d.mts +9 -0
- package/dist/actions/get-credits.d.mts.map +1 -0
- package/dist/actions/get-credits.mjs +37 -0
- package/dist/actions/get-credits.mjs.map +1 -0
- package/dist/actions/get-list-maintenance-occurrences.cjs +31 -0
- package/dist/actions/get-list-maintenance-occurrences.cjs.map +1 -0
- package/dist/actions/get-list-maintenance-occurrences.d.cts +9 -0
- package/dist/actions/get-list-maintenance-occurrences.d.cts.map +1 -0
- package/dist/actions/get-list-maintenance-occurrences.d.mts +9 -0
- package/dist/actions/get-list-maintenance-occurrences.d.mts.map +1 -0
- package/dist/actions/get-list-maintenance-occurrences.mjs +30 -0
- package/dist/actions/get-list-maintenance-occurrences.mjs.map +1 -0
- package/dist/actions/get-maintenance-windows.cjs +41 -0
- package/dist/actions/get-maintenance-windows.cjs.map +1 -0
- package/dist/actions/get-maintenance-windows.d.cts +9 -0
- package/dist/actions/get-maintenance-windows.d.cts.map +1 -0
- package/dist/actions/get-maintenance-windows.d.mts +9 -0
- package/dist/actions/get-maintenance-windows.d.mts.map +1 -0
- package/dist/actions/get-maintenance-windows.mjs +40 -0
- package/dist/actions/get-maintenance-windows.mjs.map +1 -0
- package/dist/actions/get-probes.cjs +28 -0
- package/dist/actions/get-probes.cjs.map +1 -0
- package/dist/actions/get-probes.d.cts +9 -0
- package/dist/actions/get-probes.d.cts.map +1 -0
- package/dist/actions/get-probes.d.mts +9 -0
- package/dist/actions/get-probes.d.mts.map +1 -0
- package/dist/actions/get-probes.mjs +27 -0
- package/dist/actions/get-probes.mjs.map +1 -0
- package/dist/actions/get-reference-data.cjs +53 -0
- package/dist/actions/get-reference-data.cjs.map +1 -0
- package/dist/actions/get-reference-data.d.cts +9 -0
- package/dist/actions/get-reference-data.d.cts.map +1 -0
- package/dist/actions/get-reference-data.d.mts +9 -0
- package/dist/actions/get-reference-data.d.mts.map +1 -0
- package/dist/actions/get-reference-data.mjs +52 -0
- package/dist/actions/get-reference-data.mjs.map +1 -0
- package/dist/actions/get-single-check.cjs +40 -0
- package/dist/actions/get-single-check.cjs.map +1 -0
- package/dist/actions/get-single-check.d.cts +9 -0
- package/dist/actions/get-single-check.d.cts.map +1 -0
- package/dist/actions/get-single-check.d.mts +9 -0
- package/dist/actions/get-single-check.d.mts.map +1 -0
- package/dist/actions/get-single-check.mjs +39 -0
- package/dist/actions/get-single-check.mjs.map +1 -0
- package/dist/actions/get-team-details.cjs +32 -0
- package/dist/actions/get-team-details.cjs.map +1 -0
- package/dist/actions/get-team-details.d.cts +9 -0
- package/dist/actions/get-team-details.d.cts.map +1 -0
- package/dist/actions/get-team-details.d.mts +9 -0
- package/dist/actions/get-team-details.d.mts.map +1 -0
- package/dist/actions/get-team-details.mjs +31 -0
- package/dist/actions/get-team-details.mjs.map +1 -0
- package/dist/actions/get-teams.cjs +26 -0
- package/dist/actions/get-teams.cjs.map +1 -0
- package/dist/actions/get-teams.d.cts +9 -0
- package/dist/actions/get-teams.d.cts.map +1 -0
- package/dist/actions/get-teams.d.mts +9 -0
- package/dist/actions/get-teams.d.mts.map +1 -0
- package/dist/actions/get-teams.mjs +25 -0
- package/dist/actions/get-teams.mjs.map +1 -0
- package/dist/actions/get-tms-transaction-checks-list.cjs +29 -0
- package/dist/actions/get-tms-transaction-checks-list.cjs.map +1 -0
- package/dist/actions/get-tms-transaction-checks-list.d.cts +9 -0
- package/dist/actions/get-tms-transaction-checks-list.d.cts.map +1 -0
- package/dist/actions/get-tms-transaction-checks-list.d.mts +9 -0
- package/dist/actions/get-tms-transaction-checks-list.d.mts.map +1 -0
- package/dist/actions/get-tms-transaction-checks-list.mjs +28 -0
- package/dist/actions/get-tms-transaction-checks-list.mjs.map +1 -0
- package/dist/actions/index.cjs +27 -0
- package/dist/actions/index.d.cts +14 -0
- package/dist/actions/index.d.mts +14 -0
- package/dist/actions/index.mjs +14 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +32 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.mjs +17 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-contacts.d.ts
|
|
4
|
+
declare const PingdomGetContactsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetContactsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetContacts };
|
|
9
|
+
//# sourceMappingURL=get-contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAiH;AAAA,cAsC5I,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-contacts.ts
|
|
4
|
+
const PingdomGetContactsInput = z.object({}).describe("Request model for retrieving all alerting contacts. No parameters required.");
|
|
5
|
+
const PingdomGetContacts_ContactTeamSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Team ID"),
|
|
7
|
+
name: z.string().describe("Team name")
|
|
8
|
+
}).describe("Represents a team that a contact belongs to.");
|
|
9
|
+
const PingdomGetContacts_SMSNotificationSchema = z.object({
|
|
10
|
+
number: z.string().describe("Phone number for SMS").nullable().optional(),
|
|
11
|
+
provider: z.string().describe("SMS provider").nullable().optional(),
|
|
12
|
+
severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)"),
|
|
13
|
+
country_code: z.string().describe("Country code for SMS number").nullable().optional()
|
|
14
|
+
}).describe("Represents an SMS notification target.");
|
|
15
|
+
const PingdomGetContacts_AGCMNotificationSchema = z.object({
|
|
16
|
+
token: z.string().describe("AGCM device token").nullable().optional(),
|
|
17
|
+
severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)")
|
|
18
|
+
}).describe("Represents an Android Google Cloud Messaging (Android) target.");
|
|
19
|
+
const PingdomGetContacts_APNSNotificationSchema = z.object({
|
|
20
|
+
token: z.string().describe("APNS device token").nullable().optional(),
|
|
21
|
+
severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)")
|
|
22
|
+
}).describe("Represents an Apple Push Notification Service (iOS) target.");
|
|
23
|
+
const PingdomGetContacts_EmailNotificationSchema = z.object({
|
|
24
|
+
address: z.string().describe("Email address for notifications"),
|
|
25
|
+
severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)")
|
|
26
|
+
}).describe("Represents an email notification target.");
|
|
27
|
+
const PingdomGetContacts_NotificationTargetsSchema = z.object({
|
|
28
|
+
sms: z.array(PingdomGetContacts_SMSNotificationSchema).describe("List of SMS notification targets").nullable().optional(),
|
|
29
|
+
agcm: z.array(PingdomGetContacts_AGCMNotificationSchema).describe("List of Android Google Cloud Messaging targets").nullable().optional(),
|
|
30
|
+
apns: z.array(PingdomGetContacts_APNSNotificationSchema).describe("List of Apple Push Notification Service (iOS) targets").nullable().optional(),
|
|
31
|
+
email: z.array(PingdomGetContacts_EmailNotificationSchema).describe("List of email notification targets").nullable().optional()
|
|
32
|
+
}).describe("Contains all notification methods configured for a contact.");
|
|
33
|
+
const PingdomGetContacts_ContactSchema = z.object({
|
|
34
|
+
id: z.number().int().describe("Unique contact identifier"),
|
|
35
|
+
name: z.string().describe("Contact's name"),
|
|
36
|
+
type: z.string().describe("Type of contact (e.g., 'user' for user contacts)"),
|
|
37
|
+
owner: z.boolean().describe("Whether this contact is an account owner"),
|
|
38
|
+
teams: z.array(PingdomGetContacts_ContactTeamSchema).describe("List of teams this contact belongs to").nullable().optional(),
|
|
39
|
+
paused: z.boolean().describe("Whether notifications for this contact are paused"),
|
|
40
|
+
notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable()
|
|
41
|
+
}).describe("Represents a Pingdom alerting contact with all notification methods and metadata.");
|
|
42
|
+
const pingdomGetContacts = action("PINGDOM_GET_CONTACTS", {
|
|
43
|
+
slug: "pingdom-get-contacts",
|
|
44
|
+
name: "Get Contacts",
|
|
45
|
+
description: "Tool to retrieve all alerting contacts. Use when you need to list every contact along with their notification targets after establishing a Pingdom session.",
|
|
46
|
+
input: PingdomGetContactsInput,
|
|
47
|
+
output: z.object({ contacts: z.array(PingdomGetContacts_ContactSchema).describe("A list of all alerting contacts") }).describe("Response wrapper containing a list of contacts.")
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
export { pingdomGetContacts };
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=get-contacts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-contacts.mjs","names":[],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetContactsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Team ID\"),\n name: z.string().describe(\"Team name\"),\n}).describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema: z.ZodTypeAny = z.object({\n number: z.string().describe(\"Phone number for SMS\").nullable().optional(),\n provider: z.string().describe(\"SMS provider\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Email address for notifications\"),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema: z.ZodTypeAny = z.object({\n sms: z.array(PingdomGetContacts_SMSNotificationSchema).describe(\"List of SMS notification targets\").nullable().optional(),\n agcm: z.array(PingdomGetContacts_AGCMNotificationSchema).describe(\"List of Android Google Cloud Messaging targets\").nullable().optional(),\n apns: z.array(PingdomGetContacts_APNSNotificationSchema).describe(\"List of Apple Push Notification Service (iOS) targets\").nullable().optional(),\n email: z.array(PingdomGetContacts_EmailNotificationSchema).describe(\"List of email notification targets\").nullable().optional(),\n}).describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique contact identifier\"),\n name: z.string().describe(\"Contact's name\"),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\"),\n owner: z.boolean().describe(\"Whether this contact is an account owner\"),\n teams: z.array(PingdomGetContacts_ContactTeamSchema).describe(\"List of teams this contact belongs to\").nullable().optional(),\n paused: z.boolean().describe(\"Whether notifications for this contact are paused\"),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput: z.ZodTypeAny = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).describe(\"Response wrapper containing a list of contacts.\");\n\nexport const pingdomGetContacts = action(\"PINGDOM_GET_CONTACTS\", {\n slug: \"pingdom-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve all alerting contacts. Use when you need to list every contact along with their notification targets after establishing a Pingdom session.\",\n input: PingdomGetContactsInput,\n output: PingdomGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACxJ,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;AACvC,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,c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C,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACtE,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CAChF,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAK/F,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-credits.ts
|
|
4
|
+
const PingdomGetCreditsInput = zod.z.object({}).describe("Request model for retrieving account credits and resource usage. No parameters required - returns all account information.");
|
|
5
|
+
const PingdomGetCredits_CreditsSchema = zod.z.object({
|
|
6
|
+
checklimit: zod.z.number().int().describe("Total number of checks allowed by your account"),
|
|
7
|
+
autofillsms: zod.z.boolean().describe("Whether SMS credits auto-refill is enabled"),
|
|
8
|
+
useddefault: zod.z.number().int().describe("Number of default checks currently in use"),
|
|
9
|
+
availablesms: zod.z.number().int().describe("Number of SMS credits available"),
|
|
10
|
+
usedrumsites: zod.z.number().int().describe("Number of RUM sites currently in use"),
|
|
11
|
+
maxrumfilters: zod.z.number().int().describe("Maximum number of RUM filters allowed"),
|
|
12
|
+
availablechecks: zod.z.number().int().describe("Number of available checks (any type)"),
|
|
13
|
+
max_sms_overage: zod.z.number().int().describe("Maximum SMS overage allowed (null if unlimited)").nullable().optional(),
|
|
14
|
+
maxrumpageviews: zod.z.number().int().describe("Maximum number of RUM page views allowed per month"),
|
|
15
|
+
usedtransaction: zod.z.number().int().describe("Number of transaction checks currently in use"),
|
|
16
|
+
availablerumsites: zod.z.number().int().describe("Number of available RUM (Real User Monitoring) sites"),
|
|
17
|
+
availablesmstests: zod.z.number().int().describe("Number of SMS test alerts available"),
|
|
18
|
+
defaultchecklimit: zod.z.number().int().describe("Limit for default (uptime) checks"),
|
|
19
|
+
autofillsms_amount: zod.z.number().int().describe("Number of SMS credits to purchase when auto-refilling"),
|
|
20
|
+
maxalertingfullusers: zod.z.number().int().describe("Maximum number of full alerting users allowed"),
|
|
21
|
+
autofillsms_when_left: zod.z.number().int().describe("Remaining SMS credits threshold that triggers auto-refill"),
|
|
22
|
+
transactionchecklimit: zod.z.number().int().describe("Limit for transaction (TMS) checks"),
|
|
23
|
+
availabledefaultchecks: zod.z.number().int().describe("Number of available default checks"),
|
|
24
|
+
availablealertingfullusers: zod.z.number().int().describe("Number of available full alerting user slots"),
|
|
25
|
+
availabletransactionchecks: zod.z.number().int().describe("Number of available transaction checks")
|
|
26
|
+
}).describe("Account information including check limits, SMS credits, and resource usage.");
|
|
27
|
+
const PingdomGetCreditsOutput = zod.z.object({ credits: PingdomGetCredits_CreditsSchema.nullable() }).describe("Response containing account credits, limits, and resource usage information.");
|
|
28
|
+
const pingdomGetCredits = require_action.action("PINGDOM_GET_CREDITS", {
|
|
29
|
+
slug: "pingdom-get-credits",
|
|
30
|
+
name: "Get Credits",
|
|
31
|
+
description: "Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.",
|
|
32
|
+
input: PingdomGetCreditsInput,
|
|
33
|
+
output: PingdomGetCreditsOutput
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
exports.pingdomGetCredits = pingdomGetCredits;
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=get-credits.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetCreditsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account credits and resource usage. No parameters required - returns all account information.\");\nconst PingdomGetCredits_CreditsSchema: z.ZodTypeAny = z.object({\n checklimit: z.number().int().describe(\"Total number of checks allowed by your account\"),\n autofillsms: z.boolean().describe(\"Whether SMS credits auto-refill is enabled\"),\n useddefault: z.number().int().describe(\"Number of default checks currently in use\"),\n availablesms: z.number().int().describe(\"Number of SMS credits available\"),\n usedrumsites: z.number().int().describe(\"Number of RUM sites currently in use\"),\n maxrumfilters: z.number().int().describe(\"Maximum number of RUM filters allowed\"),\n availablechecks: z.number().int().describe(\"Number of available checks (any type)\"),\n max_sms_overage: z.number().int().describe(\"Maximum SMS overage allowed (null if unlimited)\").nullable().optional(),\n maxrumpageviews: z.number().int().describe(\"Maximum number of RUM page views allowed per month\"),\n usedtransaction: z.number().int().describe(\"Number of transaction checks currently in use\"),\n availablerumsites: z.number().int().describe(\"Number of available RUM (Real User Monitoring) sites\"),\n availablesmstests: z.number().int().describe(\"Number of SMS test alerts available\"),\n defaultchecklimit: z.number().int().describe(\"Limit for default (uptime) checks\"),\n autofillsms_amount: z.number().int().describe(\"Number of SMS credits to purchase when auto-refilling\"),\n maxalertingfullusers: z.number().int().describe(\"Maximum number of full alerting users allowed\"),\n autofillsms_when_left: z.number().int().describe(\"Remaining SMS credits threshold that triggers auto-refill\"),\n transactionchecklimit: z.number().int().describe(\"Limit for transaction (TMS) checks\"),\n availabledefaultchecks: z.number().int().describe(\"Number of available default checks\"),\n availablealertingfullusers: z.number().int().describe(\"Number of available full alerting user slots\"),\n availabletransactionchecks: z.number().int().describe(\"Number of available transaction checks\"),\n}).describe(\"Account information including check limits, SMS credits, and resource usage.\");\nexport const PingdomGetCreditsOutput: z.ZodTypeAny = z.object({\n credits: PingdomGetCredits_CreditsSchema.nullable(),\n}).describe(\"Response containing account credits, limits, and resource usage information.\");\n\nexport const pingdomGetCredits = action(\"PINGDOM_GET_CREDITS\", {\n slug: \"pingdom-get-credits\",\n name: \"Get Credits\",\n description: \"Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.\",\n input: PingdomGetCreditsInput,\n output: PingdomGetCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACtM,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAChF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAClF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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ACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-credits.d.ts
|
|
4
|
+
declare const PingdomGetCreditsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetCreditsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetCredits };
|
|
9
|
+
//# sourceMappingURL=get-credits.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-credits.d.cts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAgK;AAAA,cAuB1L,uBAAA,EAAyB,CAAA,CAAE,UAEmD;AAAA,cAE9E,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-credits.d.ts
|
|
4
|
+
declare const PingdomGetCreditsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetCreditsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetCredits };
|
|
9
|
+
//# sourceMappingURL=get-credits.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-credits.d.mts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAgK;AAAA,cAuB1L,uBAAA,EAAyB,CAAA,CAAE,UAEmD;AAAA,cAE9E,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-credits.ts
|
|
4
|
+
const PingdomGetCreditsInput = z.object({}).describe("Request model for retrieving account credits and resource usage. No parameters required - returns all account information.");
|
|
5
|
+
const PingdomGetCredits_CreditsSchema = z.object({
|
|
6
|
+
checklimit: z.number().int().describe("Total number of checks allowed by your account"),
|
|
7
|
+
autofillsms: z.boolean().describe("Whether SMS credits auto-refill is enabled"),
|
|
8
|
+
useddefault: z.number().int().describe("Number of default checks currently in use"),
|
|
9
|
+
availablesms: z.number().int().describe("Number of SMS credits available"),
|
|
10
|
+
usedrumsites: z.number().int().describe("Number of RUM sites currently in use"),
|
|
11
|
+
maxrumfilters: z.number().int().describe("Maximum number of RUM filters allowed"),
|
|
12
|
+
availablechecks: z.number().int().describe("Number of available checks (any type)"),
|
|
13
|
+
max_sms_overage: z.number().int().describe("Maximum SMS overage allowed (null if unlimited)").nullable().optional(),
|
|
14
|
+
maxrumpageviews: z.number().int().describe("Maximum number of RUM page views allowed per month"),
|
|
15
|
+
usedtransaction: z.number().int().describe("Number of transaction checks currently in use"),
|
|
16
|
+
availablerumsites: z.number().int().describe("Number of available RUM (Real User Monitoring) sites"),
|
|
17
|
+
availablesmstests: z.number().int().describe("Number of SMS test alerts available"),
|
|
18
|
+
defaultchecklimit: z.number().int().describe("Limit for default (uptime) checks"),
|
|
19
|
+
autofillsms_amount: z.number().int().describe("Number of SMS credits to purchase when auto-refilling"),
|
|
20
|
+
maxalertingfullusers: z.number().int().describe("Maximum number of full alerting users allowed"),
|
|
21
|
+
autofillsms_when_left: z.number().int().describe("Remaining SMS credits threshold that triggers auto-refill"),
|
|
22
|
+
transactionchecklimit: z.number().int().describe("Limit for transaction (TMS) checks"),
|
|
23
|
+
availabledefaultchecks: z.number().int().describe("Number of available default checks"),
|
|
24
|
+
availablealertingfullusers: z.number().int().describe("Number of available full alerting user slots"),
|
|
25
|
+
availabletransactionchecks: z.number().int().describe("Number of available transaction checks")
|
|
26
|
+
}).describe("Account information including check limits, SMS credits, and resource usage.");
|
|
27
|
+
const pingdomGetCredits = action("PINGDOM_GET_CREDITS", {
|
|
28
|
+
slug: "pingdom-get-credits",
|
|
29
|
+
name: "Get Credits",
|
|
30
|
+
description: "Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.",
|
|
31
|
+
input: PingdomGetCreditsInput,
|
|
32
|
+
output: z.object({ credits: PingdomGetCredits_CreditsSchema.nullable() }).describe("Response containing account credits, limits, and resource usage information.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { pingdomGetCredits };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=get-credits.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-credits.mjs","names":[],"sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetCreditsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account credits and resource usage. No parameters required - returns all account information.\");\nconst PingdomGetCredits_CreditsSchema: z.ZodTypeAny = z.object({\n checklimit: z.number().int().describe(\"Total number of checks allowed by your account\"),\n autofillsms: z.boolean().describe(\"Whether SMS credits auto-refill is enabled\"),\n useddefault: z.number().int().describe(\"Number of default checks currently in use\"),\n availablesms: z.number().int().describe(\"Number of SMS credits available\"),\n usedrumsites: z.number().int().describe(\"Number of RUM sites currently in use\"),\n maxrumfilters: z.number().int().describe(\"Maximum number of RUM filters allowed\"),\n availablechecks: z.number().int().describe(\"Number of available checks (any type)\"),\n max_sms_overage: z.number().int().describe(\"Maximum SMS overage allowed (null if unlimited)\").nullable().optional(),\n maxrumpageviews: z.number().int().describe(\"Maximum number of RUM page views allowed per month\"),\n usedtransaction: z.number().int().describe(\"Number of transaction checks currently in use\"),\n availablerumsites: z.number().int().describe(\"Number of available RUM (Real User Monitoring) sites\"),\n availablesmstests: z.number().int().describe(\"Number of SMS test alerts available\"),\n defaultchecklimit: z.number().int().describe(\"Limit for default (uptime) checks\"),\n autofillsms_amount: z.number().int().describe(\"Number of SMS credits to purchase when auto-refilling\"),\n maxalertingfullusers: z.number().int().describe(\"Maximum number of full alerting users allowed\"),\n autofillsms_when_left: z.number().int().describe(\"Remaining SMS credits threshold that triggers auto-refill\"),\n transactionchecklimit: z.number().int().describe(\"Limit for transaction (TMS) checks\"),\n availabledefaultchecks: z.number().int().describe(\"Number of available default checks\"),\n availablealertingfullusers: z.number().int().describe(\"Number of available full alerting user slots\"),\n availabletransactionchecks: z.number().int().describe(\"Number of available transaction checks\"),\n}).describe(\"Account information including check limits, SMS credits, and resource usage.\");\nexport const PingdomGetCreditsOutput: z.ZodTypeAny = z.object({\n credits: PingdomGetCredits_CreditsSchema.nullable(),\n}).describe(\"Response containing account credits, limits, and resource usage information.\");\n\nexport const pingdomGetCredits = action(\"PINGDOM_GET_CREDITS\", {\n slug: \"pingdom-get-credits\",\n name: \"Get Credits\",\n description: \"Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.\",\n input: PingdomGetCreditsInput,\n output: PingdomGetCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACtM,MAAM,kCAAgD,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,C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SAAS,oCAAoC;CACtF,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACpG,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAChG,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAK1F,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,gCAAgC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-list-maintenance-occurrences.ts
|
|
4
|
+
const PingdomGetListMaintenanceOccurrencesInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of occurrences to return").optional(),
|
|
6
|
+
offset: zod.z.number().int().describe("Start listing from this occurrence offset").optional(),
|
|
7
|
+
to_time: zod.z.number().int().describe("Unix timestamp marking the end of the time range for occurrences").optional(),
|
|
8
|
+
from_time: zod.z.number().int().describe("Unix timestamp marking the start of the time range to retrieve occurrences").optional(),
|
|
9
|
+
maintenancewindowid: zod.z.number().int().describe("Filter occurrences by a specific maintenance window ID").optional()
|
|
10
|
+
}).describe("Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.");
|
|
11
|
+
const PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema = zod.z.object({
|
|
12
|
+
id: zod.z.number().int().describe("Unique occurrence ID"),
|
|
13
|
+
status: zod.z.string().describe("Status of the occurrence, e.g., 'scheduled', 'completed'"),
|
|
14
|
+
created: zod.z.number().int().describe("Creation timestamp (Unix epoch)"),
|
|
15
|
+
endtime: zod.z.number().int().describe("End time of the occurrence (Unix timestamp)"),
|
|
16
|
+
windowid: zod.z.number().int().describe("Maintenance window ID the occurrence belongs to"),
|
|
17
|
+
starttime: zod.z.number().int().describe("Start time of the occurrence (Unix timestamp)"),
|
|
18
|
+
lastmodified: zod.z.number().int().describe("Last modification timestamp (Unix epoch)")
|
|
19
|
+
}).describe("Represents a single maintenance occurrence.");
|
|
20
|
+
const PingdomGetListMaintenanceOccurrencesOutput = zod.z.object({ occurrences: zod.z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe("List of maintenance occurrences") }).describe("Response model containing a list of maintenance occurrences.");
|
|
21
|
+
const pingdomGetListMaintenanceOccurrences = require_action.action("PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES", {
|
|
22
|
+
slug: "pingdom-get-list-maintenance-occurrences",
|
|
23
|
+
name: "List Maintenance Occurrences",
|
|
24
|
+
description: "Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.",
|
|
25
|
+
input: PingdomGetListMaintenanceOccurrencesInput,
|
|
26
|
+
output: PingdomGetListMaintenanceOccurrencesOutput
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.pingdomGetListMaintenanceOccurrences = pingdomGetListMaintenanceOccurrences;
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-list-maintenance-occurrences.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-maintenance-occurrences.cjs","names":["z","action"],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of occurrences to return\").optional(),\n offset: z.number().int().describe(\"Start listing from this occurrence offset\").optional(),\n to_time: z.number().int().describe(\"Unix timestamp marking the end of the time range for occurrences\").optional(),\n from_time: z.number().int().describe(\"Unix timestamp marking the start of the time range to retrieve occurrences\").optional(),\n maintenancewindowid: z.number().int().describe(\"Filter occurrences by a specific maintenance window ID\").optional(),\n}).describe(\"Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.\");\nconst PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique occurrence ID\"),\n status: z.string().describe(\"Status of the occurrence, e.g., 'scheduled', 'completed'\"),\n created: z.number().int().describe(\"Creation timestamp (Unix epoch)\"),\n endtime: z.number().int().describe(\"End time of the occurrence (Unix timestamp)\"),\n windowid: z.number().int().describe(\"Maintenance window ID the occurrence belongs to\"),\n starttime: z.number().int().describe(\"Start time of the occurrence (Unix timestamp)\"),\n lastmodified: z.number().int().describe(\"Last modification timestamp (Unix epoch)\"),\n}).describe(\"Represents a single maintenance occurrence.\");\nexport const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny = z.object({\n occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe(\"List of maintenance occurrences\"),\n}).describe(\"Response model containing a list of maintenance occurrences.\");\n\nexport const pingdomGetListMaintenanceOccurrences = action(\"PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES\", {\n slug: \"pingdom-get-list-maintenance-occurrences\",\n name: \"List Maintenance Occurrences\",\n description: \"Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.\",\n input: PingdomGetListMaintenanceOccurrencesInput,\n output: PingdomGetListMaintenanceOccurrencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAWA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.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetListMaintenanceOccurrences: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetListMaintenanceOccurrences };
|
|
9
|
+
//# sourceMappingURL=get-list-maintenance-occurrences.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-maintenance-occurrences.d.cts","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMmE;AAAA,cAUhH,0CAAA,EAA4C,CAAA,CAAE,UAEgB;AAAA,cAE9D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-list-maintenance-occurrences.d.ts
|
|
4
|
+
declare const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetListMaintenanceOccurrences: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetListMaintenanceOccurrences };
|
|
9
|
+
//# sourceMappingURL=get-list-maintenance-occurrences.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-maintenance-occurrences.d.mts","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMmE;AAAA,cAUhH,0CAAA,EAA4C,CAAA,CAAE,UAEgB;AAAA,cAE9D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-list-maintenance-occurrences.ts
|
|
4
|
+
const PingdomGetListMaintenanceOccurrencesInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of occurrences to return").optional(),
|
|
6
|
+
offset: z.number().int().describe("Start listing from this occurrence offset").optional(),
|
|
7
|
+
to_time: z.number().int().describe("Unix timestamp marking the end of the time range for occurrences").optional(),
|
|
8
|
+
from_time: z.number().int().describe("Unix timestamp marking the start of the time range to retrieve occurrences").optional(),
|
|
9
|
+
maintenancewindowid: z.number().int().describe("Filter occurrences by a specific maintenance window ID").optional()
|
|
10
|
+
}).describe("Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.");
|
|
11
|
+
const PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema = z.object({
|
|
12
|
+
id: z.number().int().describe("Unique occurrence ID"),
|
|
13
|
+
status: z.string().describe("Status of the occurrence, e.g., 'scheduled', 'completed'"),
|
|
14
|
+
created: z.number().int().describe("Creation timestamp (Unix epoch)"),
|
|
15
|
+
endtime: z.number().int().describe("End time of the occurrence (Unix timestamp)"),
|
|
16
|
+
windowid: z.number().int().describe("Maintenance window ID the occurrence belongs to"),
|
|
17
|
+
starttime: z.number().int().describe("Start time of the occurrence (Unix timestamp)"),
|
|
18
|
+
lastmodified: z.number().int().describe("Last modification timestamp (Unix epoch)")
|
|
19
|
+
}).describe("Represents a single maintenance occurrence.");
|
|
20
|
+
const pingdomGetListMaintenanceOccurrences = action("PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES", {
|
|
21
|
+
slug: "pingdom-get-list-maintenance-occurrences",
|
|
22
|
+
name: "List Maintenance Occurrences",
|
|
23
|
+
description: "Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.",
|
|
24
|
+
input: PingdomGetListMaintenanceOccurrencesInput,
|
|
25
|
+
output: z.object({ occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe("List of maintenance occurrences") }).describe("Response model containing a list of maintenance occurrences.")
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { pingdomGetListMaintenanceOccurrences };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-list-maintenance-occurrences.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-list-maintenance-occurrences.mjs","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of occurrences to return\").optional(),\n offset: z.number().int().describe(\"Start listing from this occurrence offset\").optional(),\n to_time: z.number().int().describe(\"Unix timestamp marking the end of the time range for occurrences\").optional(),\n from_time: z.number().int().describe(\"Unix timestamp marking the start of the time range to retrieve occurrences\").optional(),\n maintenancewindowid: z.number().int().describe(\"Filter occurrences by a specific maintenance window ID\").optional(),\n}).describe(\"Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.\");\nconst PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique occurrence ID\"),\n status: z.string().describe(\"Status of the occurrence, e.g., 'scheduled', 'completed'\"),\n created: z.number().int().describe(\"Creation timestamp (Unix epoch)\"),\n endtime: z.number().int().describe(\"End time of the occurrence (Unix timestamp)\"),\n windowid: z.number().int().describe(\"Maintenance window ID the occurrence belongs to\"),\n starttime: z.number().int().describe(\"Start time of the occurrence (Unix timestamp)\"),\n lastmodified: z.number().int().describe(\"Last modification timestamp (Unix epoch)\"),\n}).describe(\"Represents a single maintenance occurrence.\");\nexport const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny = z.object({\n occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe(\"List of maintenance occurrences\"),\n}).describe(\"Response model containing a list of maintenance occurrences.\");\n\nexport const pingdomGetListMaintenanceOccurrences = action(\"PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES\", {\n slug: \"pingdom-get-list-maintenance-occurrences\",\n name: \"List Maintenance Occurrences\",\n description: \"Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.\",\n input: PingdomGetListMaintenanceOccurrencesInput,\n output: PingdomGetListMaintenanceOccurrencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC5H,MAAM,wEAAsF,EAAE,OAAO;CACnG,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACpF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsE,EAAE,OAAO,EAC/E,aAAa,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,iCAAiC,EACxI,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-maintenance-windows.ts
|
|
4
|
+
const PingdomGetMaintenanceWindowsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Number of maintenance windows per page (1-1000)").optional(),
|
|
6
|
+
offset: zod.z.number().int().describe("Offset for pagination (zero-based)").optional(),
|
|
7
|
+
to_time: zod.z.number().int().describe("Only maintenance windows starting before this Unix timestamp").optional(),
|
|
8
|
+
from_time: zod.z.number().int().describe("Only maintenance windows starting after this Unix timestamp").optional()
|
|
9
|
+
}).describe("Request model for retrieving a list of maintenance windows.\nSupports pagination and filtering by time range.");
|
|
10
|
+
const PingdomGetMaintenanceWindows_PaginationSchema = zod.z.object({
|
|
11
|
+
limit: zod.z.number().int().describe("Number of items per page"),
|
|
12
|
+
total: zod.z.number().int().describe("Total number of maintenance windows available"),
|
|
13
|
+
offset: zod.z.number().int().describe("Offset for pagination (zero-based)")
|
|
14
|
+
});
|
|
15
|
+
const PingdomGetMaintenanceWindows_MaintenanceWindowSchema = zod.z.object({
|
|
16
|
+
id: zod.z.number().int().describe("Unique ID of the maintenance window"),
|
|
17
|
+
type: zod.z.string().describe("Type of maintenance window ('oneoff' or 'recurring')"),
|
|
18
|
+
checks: zod.z.array(zod.z.number().int()).describe("List of check IDs affected by this maintenance window"),
|
|
19
|
+
repeat: zod.z.string().describe("Repeat pattern, e.g., 'none', 'daily', 'weekly'").nullable().optional(),
|
|
20
|
+
created: zod.z.number().int().describe("Creation timestamp as Unix timestamp"),
|
|
21
|
+
to_time: zod.z.number().int().describe("End time as Unix timestamp"),
|
|
22
|
+
modified: zod.z.number().int().describe("Last modified timestamp as Unix timestamp"),
|
|
23
|
+
timezone: zod.z.string().describe("Timezone of the maintenance window"),
|
|
24
|
+
from_time: zod.z.number().int().describe("Start time as Unix timestamp"),
|
|
25
|
+
description: zod.z.string().describe("Description of the maintenance window")
|
|
26
|
+
});
|
|
27
|
+
const PingdomGetMaintenanceWindowsOutput = zod.z.object({
|
|
28
|
+
pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),
|
|
29
|
+
maintenance: zod.z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe("List of maintenance windows")
|
|
30
|
+
});
|
|
31
|
+
const pingdomGetMaintenanceWindows = require_action.action("PINGDOM_GET_MAINTENANCE_WINDOWS", {
|
|
32
|
+
slug: "pingdom-get-maintenance-windows",
|
|
33
|
+
name: "Get Maintenance Windows",
|
|
34
|
+
description: "Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.",
|
|
35
|
+
input: PingdomGetMaintenanceWindowsInput,
|
|
36
|
+
output: PingdomGetMaintenanceWindowsOutput
|
|
37
|
+
});
|
|
38
|
+
//#endregion
|
|
39
|
+
exports.pingdomGetMaintenanceWindows = pingdomGetMaintenanceWindows;
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=get-maintenance-windows.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-maintenance-windows.cjs","names":["z","action"],"sources":["../../src/actions/get-maintenance-windows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of maintenance windows per page (1-1000)\").optional(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").optional(),\n to_time: z.number().int().describe(\"Only maintenance windows starting before this Unix timestamp\").optional(),\n from_time: z.number().int().describe(\"Only maintenance windows starting after this Unix timestamp\").optional(),\n}).describe(\"Request model for retrieving a list of maintenance windows.\\nSupports pagination and filtering by time range.\");\nconst PingdomGetMaintenanceWindows_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of items per page\"),\n total: z.number().int().describe(\"Total number of maintenance windows available\"),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\"),\n});\nconst PingdomGetMaintenanceWindows_MaintenanceWindowSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the maintenance window\"),\n type: z.string().describe(\"Type of maintenance window ('oneoff' or 'recurring')\"),\n checks: z.array(z.number().int()).describe(\"List of check IDs affected by this maintenance window\"),\n repeat: z.string().describe(\"Repeat pattern, e.g., 'none', 'daily', 'weekly'\").nullable().optional(),\n created: z.number().int().describe(\"Creation timestamp as Unix timestamp\"),\n to_time: z.number().int().describe(\"End time as Unix timestamp\"),\n modified: z.number().int().describe(\"Last modified timestamp as Unix timestamp\"),\n timezone: z.string().describe(\"Timezone of the maintenance window\"),\n from_time: z.number().int().describe(\"Start time as Unix timestamp\"),\n description: z.string().describe(\"Description of the maintenance window\"),\n});\nexport const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny = z.object({\n pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),\n maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe(\"List of maintenance windows\"),\n});\n\nexport const pingdomGetMaintenanceWindows = action(\"PINGDOM_GET_MAINTENANCE_WINDOWS\", {\n slug: \"pingdom-get-maintenance-windows\",\n name: \"Get Maintenance Windows\",\n description: \"Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.\",\n input: PingdomGetMaintenanceWindowsInput,\n output: PingdomGetMaintenanceWindowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACxE,CAAC;AACD,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACnH,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-maintenance-windows.d.ts
|
|
4
|
+
declare const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetMaintenanceWindows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetMaintenanceWindows };
|
|
9
|
+
//# sourceMappingURL=get-maintenance-windows.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-maintenance-windows.d.cts","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAK0E;AAAA,cAkB/G,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-maintenance-windows.d.ts
|
|
4
|
+
declare const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetMaintenanceWindows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetMaintenanceWindows };
|
|
9
|
+
//# sourceMappingURL=get-maintenance-windows.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-maintenance-windows.d.mts","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAK0E;AAAA,cAkB/G,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-maintenance-windows.ts
|
|
4
|
+
const PingdomGetMaintenanceWindowsInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Number of maintenance windows per page (1-1000)").optional(),
|
|
6
|
+
offset: z.number().int().describe("Offset for pagination (zero-based)").optional(),
|
|
7
|
+
to_time: z.number().int().describe("Only maintenance windows starting before this Unix timestamp").optional(),
|
|
8
|
+
from_time: z.number().int().describe("Only maintenance windows starting after this Unix timestamp").optional()
|
|
9
|
+
}).describe("Request model for retrieving a list of maintenance windows.\nSupports pagination and filtering by time range.");
|
|
10
|
+
const PingdomGetMaintenanceWindows_PaginationSchema = z.object({
|
|
11
|
+
limit: z.number().int().describe("Number of items per page"),
|
|
12
|
+
total: z.number().int().describe("Total number of maintenance windows available"),
|
|
13
|
+
offset: z.number().int().describe("Offset for pagination (zero-based)")
|
|
14
|
+
});
|
|
15
|
+
const PingdomGetMaintenanceWindows_MaintenanceWindowSchema = z.object({
|
|
16
|
+
id: z.number().int().describe("Unique ID of the maintenance window"),
|
|
17
|
+
type: z.string().describe("Type of maintenance window ('oneoff' or 'recurring')"),
|
|
18
|
+
checks: z.array(z.number().int()).describe("List of check IDs affected by this maintenance window"),
|
|
19
|
+
repeat: z.string().describe("Repeat pattern, e.g., 'none', 'daily', 'weekly'").nullable().optional(),
|
|
20
|
+
created: z.number().int().describe("Creation timestamp as Unix timestamp"),
|
|
21
|
+
to_time: z.number().int().describe("End time as Unix timestamp"),
|
|
22
|
+
modified: z.number().int().describe("Last modified timestamp as Unix timestamp"),
|
|
23
|
+
timezone: z.string().describe("Timezone of the maintenance window"),
|
|
24
|
+
from_time: z.number().int().describe("Start time as Unix timestamp"),
|
|
25
|
+
description: z.string().describe("Description of the maintenance window")
|
|
26
|
+
});
|
|
27
|
+
const pingdomGetMaintenanceWindows = action("PINGDOM_GET_MAINTENANCE_WINDOWS", {
|
|
28
|
+
slug: "pingdom-get-maintenance-windows",
|
|
29
|
+
name: "Get Maintenance Windows",
|
|
30
|
+
description: "Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.",
|
|
31
|
+
input: PingdomGetMaintenanceWindowsInput,
|
|
32
|
+
output: z.object({
|
|
33
|
+
pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),
|
|
34
|
+
maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe("List of maintenance windows")
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { pingdomGetMaintenanceWindows };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=get-maintenance-windows.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-maintenance-windows.mjs","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of maintenance windows per page (1-1000)\").optional(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").optional(),\n to_time: z.number().int().describe(\"Only maintenance windows starting before this Unix timestamp\").optional(),\n from_time: z.number().int().describe(\"Only maintenance windows starting after this Unix timestamp\").optional(),\n}).describe(\"Request model for retrieving a list of maintenance windows.\\nSupports pagination and filtering by time range.\");\nconst PingdomGetMaintenanceWindows_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of items per page\"),\n total: z.number().int().describe(\"Total number of maintenance windows available\"),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\"),\n});\nconst PingdomGetMaintenanceWindows_MaintenanceWindowSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the maintenance window\"),\n type: z.string().describe(\"Type of maintenance window ('oneoff' or 'recurring')\"),\n checks: z.array(z.number().int()).describe(\"List of check IDs affected by this maintenance window\"),\n repeat: z.string().describe(\"Repeat pattern, e.g., 'none', 'daily', 'weekly'\").nullable().optional(),\n created: z.number().int().describe(\"Creation timestamp as Unix timestamp\"),\n to_time: z.number().int().describe(\"End time as Unix timestamp\"),\n modified: z.number().int().describe(\"Last modified timestamp as Unix timestamp\"),\n timezone: z.string().describe(\"Timezone of the maintenance window\"),\n from_time: z.number().int().describe(\"Start time as Unix timestamp\"),\n description: z.string().describe(\"Description of the maintenance window\"),\n});\nexport const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny = z.object({\n pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),\n maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe(\"List of maintenance windows\"),\n});\n\nexport const pingdomGetMaintenanceWindows = action(\"PINGDOM_GET_MAINTENANCE_WINDOWS\", {\n slug: \"pingdom-get-maintenance-windows\",\n name: \"Get Maintenance Windows\",\n description: \"Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.\",\n input: PingdomGetMaintenanceWindowsInput,\n output: PingdomGetMaintenanceWindowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,gDAA8D,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AACxE,CAAC;AACD,MAAM,uDAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AAMD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;CACnH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-probes.ts
|
|
4
|
+
const PingdomGetProbesInput = zod.z.object({}).describe("Request model for retrieving all Pingdom probe servers.\n\nThis endpoint requires no parameters and returns the complete list of available\nprobe servers across all regions worldwide.");
|
|
5
|
+
const PingdomGetProbes_ProbeSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the probe"),
|
|
7
|
+
ip: zod.z.string().describe("IPv4 address of the probe"),
|
|
8
|
+
city: zod.z.string().describe("City where the probe is located"),
|
|
9
|
+
ipv6: zod.z.string().describe("IPv6 address of the probe, or 'NULL' if not available").nullable().optional(),
|
|
10
|
+
name: zod.z.string().describe("Descriptive name of the probe location"),
|
|
11
|
+
active: zod.z.boolean().describe("Whether the probe is currently active and available"),
|
|
12
|
+
region: zod.z.string().describe("Geographic region of the probe (e.g., 'NA', 'EU', 'APAC', 'LATAM')"),
|
|
13
|
+
country: zod.z.string().describe("Full country name where the probe is located"),
|
|
14
|
+
hostname: zod.z.string().describe("Hostname or IP address of the probe server"),
|
|
15
|
+
countryiso: zod.z.string().describe("ISO 3166-1 alpha-2 country code (e.g., 'US', 'DE', 'JP')")
|
|
16
|
+
}).describe("Represents a Pingdom probe server with location and connectivity details.");
|
|
17
|
+
const PingdomGetProbesOutput = zod.z.object({ probes: zod.z.array(PingdomGetProbes_ProbeSchema).describe("List of probe servers") }).describe("Response wrapper containing a list of Pingdom probe servers.");
|
|
18
|
+
const pingdomGetProbes = require_action.action("PINGDOM_GET_PROBES", {
|
|
19
|
+
slug: "pingdom-get-probes",
|
|
20
|
+
name: "Get Probes",
|
|
21
|
+
description: "Retrieves the complete list of Pingdom probe servers worldwide. This action returns all available probe servers that can be used for monitoring checks. Probes are distributed globally across regions (NA, EU, APAC, LATAM) and provide information about their location, IP addresses (IPv4 and IPv6), and availability status. Use this when you need to: - List all available monitoring locations - Select probes for creating uptime or transaction checks - Identify probe servers by region or country - Get IP addresses of probe servers for allowlisting",
|
|
22
|
+
input: PingdomGetProbesInput,
|
|
23
|
+
output: PingdomGetProbesOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.pingdomGetProbes = pingdomGetProbes;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-probes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-probes.cjs","names":["z","action"],"sources":["../../src/actions/get-probes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetProbesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all Pingdom probe servers.\\n\\nThis endpoint requires no parameters and returns the complete list of available\\nprobe servers across all regions worldwide.\");\nconst PingdomGetProbes_ProbeSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the probe\"),\n ip: z.string().describe(\"IPv4 address of the probe\"),\n city: z.string().describe(\"City where the probe is located\"),\n ipv6: z.string().describe(\"IPv6 address of the probe, or 'NULL' if not available\").nullable().optional(),\n name: z.string().describe(\"Descriptive name of the probe location\"),\n active: z.boolean().describe(\"Whether the probe is currently active and available\"),\n region: z.string().describe(\"Geographic region of the probe (e.g., 'NA', 'EU', 'APAC', 'LATAM')\"),\n country: z.string().describe(\"Full country name where the probe is located\"),\n hostname: z.string().describe(\"Hostname or IP address of the probe server\"),\n countryiso: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'DE', 'JP')\"),\n}).describe(\"Represents a Pingdom probe server with location and connectivity details.\");\nexport const PingdomGetProbesOutput: z.ZodTypeAny = z.object({\n probes: z.array(PingdomGetProbes_ProbeSchema).describe(\"List of probe servers\"),\n}).describe(\"Response wrapper containing a list of Pingdom probe servers.\");\n\nexport const pingdomGetProbes = action(\"PINGDOM_GET_PROBES\", {\n slug: \"pingdom-get-probes\",\n name: \"Get Probes\",\n description: \"Retrieves the complete list of Pingdom probe servers worldwide. This action returns all available probe servers that can be used for monitoring checks. Probes are distributed globally across regions (NA, EU, APAC, LATAM) and provide information about their location, IP addresses (IPv4 and IPv6), and availability status. Use this when you need to: - List all available monitoring locations - Select probes for creating uptime or transaction checks - Identify probe servers by region or country - Get IP addresses of probe servers for allowlisting\",\n input: PingdomGetProbesInput,\n output: Pingd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.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetProbesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetProbes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetProbes };
|
|
9
|
+
//# sourceMappingURL=get-probes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-probes.d.cts","names":[],"sources":["../../src/actions/get-probes.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAA6N;AAAA,cAatP,sBAAA,EAAwB,CAAA,CAAE,UAEoC;AAAA,cAE9D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-probes.d.ts
|
|
4
|
+
declare const PingdomGetProbesInput: z.ZodTypeAny;
|
|
5
|
+
declare const PingdomGetProbesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const pingdomGetProbes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { pingdomGetProbes };
|
|
9
|
+
//# sourceMappingURL=get-probes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-probes.d.mts","names":[],"sources":["../../src/actions/get-probes.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAA6N;AAAA,cAatP,sBAAA,EAAwB,CAAA,CAAE,UAEoC;AAAA,cAE9D,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-probes.ts
|
|
4
|
+
const PingdomGetProbesInput = z.object({}).describe("Request model for retrieving all Pingdom probe servers.\n\nThis endpoint requires no parameters and returns the complete list of available\nprobe servers across all regions worldwide.");
|
|
5
|
+
const PingdomGetProbes_ProbeSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the probe"),
|
|
7
|
+
ip: z.string().describe("IPv4 address of the probe"),
|
|
8
|
+
city: z.string().describe("City where the probe is located"),
|
|
9
|
+
ipv6: z.string().describe("IPv6 address of the probe, or 'NULL' if not available").nullable().optional(),
|
|
10
|
+
name: z.string().describe("Descriptive name of the probe location"),
|
|
11
|
+
active: z.boolean().describe("Whether the probe is currently active and available"),
|
|
12
|
+
region: z.string().describe("Geographic region of the probe (e.g., 'NA', 'EU', 'APAC', 'LATAM')"),
|
|
13
|
+
country: z.string().describe("Full country name where the probe is located"),
|
|
14
|
+
hostname: z.string().describe("Hostname or IP address of the probe server"),
|
|
15
|
+
countryiso: z.string().describe("ISO 3166-1 alpha-2 country code (e.g., 'US', 'DE', 'JP')")
|
|
16
|
+
}).describe("Represents a Pingdom probe server with location and connectivity details.");
|
|
17
|
+
const pingdomGetProbes = action("PINGDOM_GET_PROBES", {
|
|
18
|
+
slug: "pingdom-get-probes",
|
|
19
|
+
name: "Get Probes",
|
|
20
|
+
description: "Retrieves the complete list of Pingdom probe servers worldwide. This action returns all available probe servers that can be used for monitoring checks. Probes are distributed globally across regions (NA, EU, APAC, LATAM) and provide information about their location, IP addresses (IPv4 and IPv6), and availability status. Use this when you need to: - List all available monitoring locations - Select probes for creating uptime or transaction checks - Identify probe servers by region or country - Get IP addresses of probe servers for allowlisting",
|
|
21
|
+
input: PingdomGetProbesInput,
|
|
22
|
+
output: z.object({ probes: z.array(PingdomGetProbes_ProbeSchema).describe("List of probe servers") }).describe("Response wrapper containing a list of Pingdom probe servers.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { pingdomGetProbes };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-probes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-probes.mjs","names":[],"sources":["../../src/actions/get-probes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetProbesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all Pingdom probe servers.\\n\\nThis endpoint requires no parameters and returns the complete list of available\\nprobe servers across all regions worldwide.\");\nconst PingdomGetProbes_ProbeSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the probe\"),\n ip: z.string().describe(\"IPv4 address of the probe\"),\n city: z.string().describe(\"City where the probe is located\"),\n ipv6: z.string().describe(\"IPv6 address of the probe, or 'NULL' if not available\").nullable().optional(),\n name: z.string().describe(\"Descriptive name of the probe location\"),\n active: z.boolean().describe(\"Whether the probe is currently active and available\"),\n region: z.string().describe(\"Geographic region of the probe (e.g., 'NA', 'EU', 'APAC', 'LATAM')\"),\n country: z.string().describe(\"Full country name where the probe is located\"),\n hostname: z.string().describe(\"Hostname or IP address of the probe server\"),\n countryiso: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'DE', 'JP')\"),\n}).describe(\"Represents a Pingdom probe server with location and connectivity details.\");\nexport const PingdomGetProbesOutput: z.ZodTypeAny = z.object({\n probes: z.array(PingdomGetProbes_ProbeSchema).describe(\"List of probe servers\"),\n}).describe(\"Response wrapper containing a list of Pingdom probe servers.\");\n\nexport const pingdomGetProbes = action(\"PINGDOM_GET_PROBES\", {\n slug: \"pingdom-get-probes\",\n name: \"Get Probes\",\n description: \"Retrieves the complete list of Pingdom probe servers worldwide. This action returns all available probe servers that can be used for monitoring checks. Probes are distributed globally across regions (NA, EU, APAC, LATAM) and provide information about their location, IP addresses (IPv4 and IPv6), and availability status. Use this when you need to: - List all available monitoring locations - Select probes for creating uptime or transaction checks - Identify probe servers by region or country - Get IP addresses of probe servers for allowlisting\",\n input: PingdomGetProbesInput,\n output: PingdomGetProbesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yLAAyL;AAClQ,MAAM,+BAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC5F,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAKvF,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uBAAuB,EAChF,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|