@keystrokehq/pingdom 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.
Files changed (113) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-actions-alerts.cjs +7 -7
  4. package/dist/actions/get-actions-alerts.cjs.map +1 -1
  5. package/dist/actions/get-actions-alerts.d.cts +29 -3
  6. package/dist/actions/get-actions-alerts.d.cts.map +1 -1
  7. package/dist/actions/get-actions-alerts.d.mts +29 -3
  8. package/dist/actions/get-actions-alerts.d.mts.map +1 -1
  9. package/dist/actions/get-actions-alerts.mjs +7 -7
  10. package/dist/actions/get-actions-alerts.mjs.map +1 -1
  11. package/dist/actions/get-checks-list.cjs +12 -12
  12. package/dist/actions/get-checks-list.cjs.map +1 -1
  13. package/dist/actions/get-checks-list.d.cts +47 -3
  14. package/dist/actions/get-checks-list.d.cts.map +1 -1
  15. package/dist/actions/get-checks-list.d.mts +47 -3
  16. package/dist/actions/get-checks-list.d.mts.map +1 -1
  17. package/dist/actions/get-checks-list.mjs +12 -12
  18. package/dist/actions/get-checks-list.mjs.map +1 -1
  19. package/dist/actions/get-contact-details.cjs +18 -18
  20. package/dist/actions/get-contact-details.cjs.map +1 -1
  21. package/dist/actions/get-contact-details.d.cts +30 -3
  22. package/dist/actions/get-contact-details.d.cts.map +1 -1
  23. package/dist/actions/get-contact-details.d.mts +30 -3
  24. package/dist/actions/get-contact-details.d.mts.map +1 -1
  25. package/dist/actions/get-contact-details.mjs +18 -18
  26. package/dist/actions/get-contact-details.mjs.map +1 -1
  27. package/dist/actions/get-contacts.cjs +20 -20
  28. package/dist/actions/get-contacts.cjs.map +1 -1
  29. package/dist/actions/get-contacts.d.cts +35 -3
  30. package/dist/actions/get-contacts.d.cts.map +1 -1
  31. package/dist/actions/get-contacts.d.mts +35 -3
  32. package/dist/actions/get-contacts.d.mts.map +1 -1
  33. package/dist/actions/get-contacts.mjs +20 -20
  34. package/dist/actions/get-contacts.mjs.map +1 -1
  35. package/dist/actions/get-credits.cjs +21 -21
  36. package/dist/actions/get-credits.cjs.map +1 -1
  37. package/dist/actions/get-credits.d.cts +26 -3
  38. package/dist/actions/get-credits.d.cts.map +1 -1
  39. package/dist/actions/get-credits.d.mts +26 -3
  40. package/dist/actions/get-credits.d.mts.map +1 -1
  41. package/dist/actions/get-credits.mjs +21 -21
  42. package/dist/actions/get-credits.mjs.map +1 -1
  43. package/dist/actions/get-list-maintenance-occurrences.cjs +9 -9
  44. package/dist/actions/get-list-maintenance-occurrences.cjs.map +1 -1
  45. package/dist/actions/get-list-maintenance-occurrences.d.cts +25 -3
  46. package/dist/actions/get-list-maintenance-occurrences.d.cts.map +1 -1
  47. package/dist/actions/get-list-maintenance-occurrences.d.mts +25 -3
  48. package/dist/actions/get-list-maintenance-occurrences.d.mts.map +1 -1
  49. package/dist/actions/get-list-maintenance-occurrences.mjs +9 -9
  50. package/dist/actions/get-list-maintenance-occurrences.mjs.map +1 -1
  51. package/dist/actions/get-maintenance-windows.cjs +14 -14
  52. package/dist/actions/get-maintenance-windows.cjs.map +1 -1
  53. package/dist/actions/get-maintenance-windows.d.cts +31 -3
  54. package/dist/actions/get-maintenance-windows.d.cts.map +1 -1
  55. package/dist/actions/get-maintenance-windows.d.mts +31 -3
  56. package/dist/actions/get-maintenance-windows.d.mts.map +1 -1
  57. package/dist/actions/get-maintenance-windows.mjs +14 -14
  58. package/dist/actions/get-maintenance-windows.mjs.map +1 -1
  59. package/dist/actions/get-probes.cjs +11 -11
  60. package/dist/actions/get-probes.cjs.map +1 -1
  61. package/dist/actions/get-probes.d.cts +16 -3
  62. package/dist/actions/get-probes.d.cts.map +1 -1
  63. package/dist/actions/get-probes.d.mts +16 -3
  64. package/dist/actions/get-probes.d.mts.map +1 -1
  65. package/dist/actions/get-probes.mjs +11 -11
  66. package/dist/actions/get-probes.mjs.map +1 -1
  67. package/dist/actions/get-reference-data.cjs +26 -26
  68. package/dist/actions/get-reference-data.cjs.map +1 -1
  69. package/dist/actions/get-reference-data.d.cts +35 -3
  70. package/dist/actions/get-reference-data.d.cts.map +1 -1
  71. package/dist/actions/get-reference-data.d.mts +35 -3
  72. package/dist/actions/get-reference-data.d.mts.map +1 -1
  73. package/dist/actions/get-reference-data.mjs +26 -26
  74. package/dist/actions/get-reference-data.mjs.map +1 -1
  75. package/dist/actions/get-single-check.cjs +7 -7
  76. package/dist/actions/get-single-check.cjs.map +1 -1
  77. package/dist/actions/get-single-check.d.cts +37 -3
  78. package/dist/actions/get-single-check.d.cts.map +1 -1
  79. package/dist/actions/get-single-check.d.mts +37 -3
  80. package/dist/actions/get-single-check.d.mts.map +1 -1
  81. package/dist/actions/get-single-check.mjs +7 -7
  82. package/dist/actions/get-single-check.mjs.map +1 -1
  83. package/dist/actions/get-team-details.cjs +12 -12
  84. package/dist/actions/get-team-details.cjs.map +1 -1
  85. package/dist/actions/get-team-details.d.cts +22 -3
  86. package/dist/actions/get-team-details.d.cts.map +1 -1
  87. package/dist/actions/get-team-details.d.mts +22 -3
  88. package/dist/actions/get-team-details.d.mts.map +1 -1
  89. package/dist/actions/get-team-details.mjs +12 -12
  90. package/dist/actions/get-team-details.mjs.map +1 -1
  91. package/dist/actions/get-teams.cjs +8 -8
  92. package/dist/actions/get-teams.cjs.map +1 -1
  93. package/dist/actions/get-teams.d.cts +13 -3
  94. package/dist/actions/get-teams.d.cts.map +1 -1
  95. package/dist/actions/get-teams.d.mts +13 -3
  96. package/dist/actions/get-teams.d.mts.map +1 -1
  97. package/dist/actions/get-teams.mjs +8 -8
  98. package/dist/actions/get-teams.mjs.map +1 -1
  99. package/dist/actions/get-tms-transaction-checks-list.cjs +8 -8
  100. package/dist/actions/get-tms-transaction-checks-list.cjs.map +1 -1
  101. package/dist/actions/get-tms-transaction-checks-list.d.cts +18 -3
  102. package/dist/actions/get-tms-transaction-checks-list.d.cts.map +1 -1
  103. package/dist/actions/get-tms-transaction-checks-list.d.mts +18 -3
  104. package/dist/actions/get-tms-transaction-checks-list.d.mts.map +1 -1
  105. package/dist/actions/get-tms-transaction-checks-list.mjs +8 -8
  106. package/dist/actions/get-tms-transaction-checks-list.mjs.map +1 -1
  107. package/dist/catalog.cjs +7 -1
  108. package/dist/catalog.cjs.map +1 -1
  109. package/dist/catalog.d.cts +8 -0
  110. package/dist/catalog.d.mts +8 -0
  111. package/dist/catalog.mjs +7 -1
  112. package/dist/catalog.mjs.map +1 -1
  113. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["pingdom","executePingdomTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pingdom } from \"./app\";\nimport { executePingdomTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pingdom.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePingdomTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["pingdom","executePingdomTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pingdom } from \"./app\";\nimport { executePingdomTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pingdom.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePingdomTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pingdom } from \"./app\";\nimport { executePingdomTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return pingdom.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePingdomTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { pingdom } from \"./app\";\nimport { executePingdomTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return pingdom.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePingdomTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -11,17 +11,17 @@ const PingdomGetActionsAlertsInput = zod.z.object({
11
11
  starttime: zod.z.number().int().describe("Filter actions created/triggered after this Unix timestamp (in seconds). Use for time-range queries.").optional()
12
12
  });
13
13
  const PingdomGetActionsAlerts_ActionSchema = zod.z.object({
14
- id: zod.z.number().int().describe("Unique identifier for the alert action"),
15
- name: zod.z.string().describe("Display name of the alert action"),
16
- type: zod.z.string().describe("Type of action (e.g., 'email', 'sms', 'webhook', 'integration')"),
17
- paused: zod.z.boolean().describe("Whether the action is currently paused/disabled (true) or active (false)"),
14
+ id: zod.z.number().int().describe("Unique identifier for the alert action").nullable(),
15
+ name: zod.z.string().describe("Display name of the alert action").nullable(),
16
+ type: zod.z.string().describe("Type of action (e.g., 'email', 'sms', 'webhook', 'integration')").nullable(),
17
+ paused: zod.z.boolean().describe("Whether the action is currently paused/disabled (true) or active (false)").nullable(),
18
18
  integration_id: zod.z.number().int().describe("ID of the third-party integration (e.g., Slack, PagerDuty) if this action uses one").nullable().optional(),
19
19
  integration_type: zod.z.string().describe("Type of third-party integration (e.g., 'slack', 'pagerduty') if applicable").nullable().optional()
20
- });
20
+ }).passthrough();
21
21
  const PingdomGetActionsAlertsOutput = zod.z.object({
22
- total: zod.z.number().int().describe("Total count of alert actions available (may exceed list length if pagination is used)"),
22
+ total: zod.z.number().int().describe("Total count of alert actions available (may exceed list length if pagination is used)").nullable(),
23
23
  actions: zod.z.array(PingdomGetActionsAlerts_ActionSchema).describe("List of alert actions matching the filter criteria")
24
- });
24
+ }).passthrough();
25
25
  const pingdomGetActionsAlerts = require_action.action("PINGDOM_GET_ACTIONS_ALERTS", {
26
26
  slug: "pingdom-get-actions-alerts",
27
27
  name: "Get Pingdom Alert Actions",
@@ -1 +1 @@
1
- {"version":3,"file":"get-actions-alerts.cjs","names":["z","action"],"sources":["../../src/actions/get-actions-alerts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetActionsAlertsInput: z.ZodTypeAny = z.object({\n via: z.array(z.string()).describe(\"List of notification delivery channels to filter by. Tested values: 'email', 'sms'. Note: Other integration types may not be supported by this filter parameter.\").optional(),\n limit: z.number().int().describe(\"Maximum number of alert actions to return per request. Valid range: 1-100.\").optional(),\n start: z.number().int().describe(\"Starting index for pagination (offset). Use with limit for paginating through results.\").optional(),\n endtime: z.number().int().describe(\"Filter actions created/triggered before this Unix timestamp (in seconds). Use with starttime for time-range queries.\").optional(),\n userids: z.array(z.number().int()).describe(\"List of user IDs to filter actions. Only returns actions created by or assigned to these specific users.\").optional(),\n checkids: z.array(z.number().int()).describe(\"List of check IDs to filter actions. Only returns actions associated with these specific uptime/transaction checks.\").optional(),\n starttime: z.number().int().describe(\"Filter actions created/triggered after this Unix timestamp (in seconds). Use for time-range queries.\").optional(),\n});\nconst PingdomGetActionsAlerts_ActionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the alert action\"),\n name: z.string().describe(\"Display name of the alert action\"),\n type: z.string().describe(\"Type of action (e.g., 'email', 'sms', 'webhook', 'integration')\"),\n paused: z.boolean().describe(\"Whether the action is currently paused/disabled (true) or active (false)\"),\n integration_id: z.number().int().describe(\"ID of the third-party integration (e.g., Slack, PagerDuty) if this action uses one\").nullable().optional(),\n integration_type: z.string().describe(\"Type of third-party integration (e.g., 'slack', 'pagerduty') if applicable\").nullable().optional(),\n});\nexport const PingdomGetActionsAlertsOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total count of alert actions available (may exceed list length if pagination is used)\"),\n actions: z.array(PingdomGetActionsAlerts_ActionSchema).describe(\"List of alert actions matching the filter criteria\"),\n});\n\nexport const pingdomGetActionsAlerts = action(\"PINGDOM_GET_ACTIONS_ALERTS\", {\n slug: \"pingdom-get-actions-alerts\",\n name: \"Get Pingdom Alert Actions\",\n description: \"Retrieves configured alert actions (notifications) from your Pingdom account. Alert actions define how and where notifications are sent when checks trigger alerts (e.g., email, SMS, webhooks, integrations like Slack/PagerDuty). Use this to list all actions or filter by specific checks, users, delivery channels, or time ranges. Supports pagination for large result sets.\",\n input: PingdomGetActionsAlertsInput,\n output: PingdomGetActionsAlertsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC/M,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACjK,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC7K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxJ,CAAC;AACD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC3F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;CACxH,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;AACtH,CAAC;AAED,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-actions-alerts.cjs","names":["z","action"],"sources":["../../src/actions/get-actions-alerts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetActionsAlertsInput = z.object({\n via: z.array(z.string()).describe(\"List of notification delivery channels to filter by. Tested values: 'email', 'sms'. Note: Other integration types may not be supported by this filter parameter.\").optional(),\n limit: z.number().int().describe(\"Maximum number of alert actions to return per request. Valid range: 1-100.\").optional(),\n start: z.number().int().describe(\"Starting index for pagination (offset). Use with limit for paginating through results.\").optional(),\n endtime: z.number().int().describe(\"Filter actions created/triggered before this Unix timestamp (in seconds). Use with starttime for time-range queries.\").optional(),\n userids: z.array(z.number().int()).describe(\"List of user IDs to filter actions. Only returns actions created by or assigned to these specific users.\").optional(),\n checkids: z.array(z.number().int()).describe(\"List of check IDs to filter actions. Only returns actions associated with these specific uptime/transaction checks.\").optional(),\n starttime: z.number().int().describe(\"Filter actions created/triggered after this Unix timestamp (in seconds). Use for time-range queries.\").optional(),\n});\nconst PingdomGetActionsAlerts_ActionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the alert action\").nullable(),\n name: z.string().describe(\"Display name of the alert action\").nullable(),\n type: z.string().describe(\"Type of action (e.g., 'email', 'sms', 'webhook', 'integration')\").nullable(),\n paused: z.boolean().describe(\"Whether the action is currently paused/disabled (true) or active (false)\").nullable(),\n integration_id: z.number().int().describe(\"ID of the third-party integration (e.g., Slack, PagerDuty) if this action uses one\").nullable().optional(),\n integration_type: z.string().describe(\"Type of third-party integration (e.g., 'slack', 'pagerduty') if applicable\").nullable().optional(),\n}).passthrough();\nexport const PingdomGetActionsAlertsOutput = z.object({\n total: z.number().int().describe(\"Total count of alert actions available (may exceed list length if pagination is used)\").nullable(),\n actions: z.array(PingdomGetActionsAlerts_ActionSchema).describe(\"List of alert actions matching the filter criteria\"),\n}).passthrough();\n\nexport const pingdomGetActionsAlerts = action(\"PINGDOM_GET_ACTIONS_ALERTS\", {\n slug: \"pingdom-get-actions-alerts\",\n name: \"Get Pingdom Alert Actions\",\n description: \"Retrieves configured alert actions (notifications) from your Pingdom account. Alert actions define how and where notifications are sent when checks trigger alerts (e.g., email, SMS, webhooks, integrations like Slack/PagerDuty). Use this to list all actions or filter by specific checks, users, delivery channels, or time ranges. Supports pagination for large result sets.\",\n input: PingdomGetActionsAlertsInput,\n output: PingdomGetActionsAlertsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC/M,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACjK,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC7K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxJ,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-actions-alerts.d.ts
4
- declare const PingdomGetActionsAlertsInput: z.ZodTypeAny;
5
- declare const PingdomGetActionsAlertsOutput: z.ZodTypeAny;
6
- declare const pingdomGetActionsAlerts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetActionsAlertsInput: z.ZodObject<{
5
+ via: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ start: z.ZodOptional<z.ZodNumber>;
8
+ endtime: z.ZodOptional<z.ZodNumber>;
9
+ userids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
10
+ checkids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
11
+ starttime: z.ZodOptional<z.ZodNumber>;
12
+ }, z.core.$strip>;
13
+ declare const PingdomGetActionsAlertsOutput: z.ZodObject<{
14
+ total: z.ZodNullable<z.ZodNumber>;
15
+ actions: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodNumber>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ paused: z.ZodNullable<z.ZodBoolean>;
20
+ integration_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ integration_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const pingdomGetActionsAlerts: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ via?: string[] | undefined;
26
+ limit?: number | undefined;
27
+ start?: number | undefined;
28
+ endtime?: number | undefined;
29
+ userids?: number[] | undefined;
30
+ checkids?: number[] | undefined;
31
+ starttime?: number | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { pingdomGetActionsAlerts };
9
35
  //# sourceMappingURL=get-actions-alerts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-actions-alerts.d.cts","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQ3C;AAAA,cASW,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-actions-alerts.d.cts","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-actions-alerts.d.ts
4
- declare const PingdomGetActionsAlertsInput: z.ZodTypeAny;
5
- declare const PingdomGetActionsAlertsOutput: z.ZodTypeAny;
6
- declare const pingdomGetActionsAlerts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetActionsAlertsInput: z.ZodObject<{
5
+ via: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ start: z.ZodOptional<z.ZodNumber>;
8
+ endtime: z.ZodOptional<z.ZodNumber>;
9
+ userids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
10
+ checkids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
11
+ starttime: z.ZodOptional<z.ZodNumber>;
12
+ }, z.core.$strip>;
13
+ declare const PingdomGetActionsAlertsOutput: z.ZodObject<{
14
+ total: z.ZodNullable<z.ZodNumber>;
15
+ actions: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodNumber>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ paused: z.ZodNullable<z.ZodBoolean>;
20
+ integration_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ integration_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const pingdomGetActionsAlerts: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ via?: string[] | undefined;
26
+ limit?: number | undefined;
27
+ start?: number | undefined;
28
+ endtime?: number | undefined;
29
+ userids?: number[] | undefined;
30
+ checkids?: number[] | undefined;
31
+ starttime?: number | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { pingdomGetActionsAlerts };
9
35
  //# sourceMappingURL=get-actions-alerts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-actions-alerts.d.mts","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAQ3C;AAAA,cASW,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cAEW,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-actions-alerts.d.mts","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -11,22 +11,22 @@ const PingdomGetActionsAlertsInput = z.object({
11
11
  starttime: z.number().int().describe("Filter actions created/triggered after this Unix timestamp (in seconds). Use for time-range queries.").optional()
12
12
  });
13
13
  const PingdomGetActionsAlerts_ActionSchema = z.object({
14
- id: z.number().int().describe("Unique identifier for the alert action"),
15
- name: z.string().describe("Display name of the alert action"),
16
- type: z.string().describe("Type of action (e.g., 'email', 'sms', 'webhook', 'integration')"),
17
- paused: z.boolean().describe("Whether the action is currently paused/disabled (true) or active (false)"),
14
+ id: z.number().int().describe("Unique identifier for the alert action").nullable(),
15
+ name: z.string().describe("Display name of the alert action").nullable(),
16
+ type: z.string().describe("Type of action (e.g., 'email', 'sms', 'webhook', 'integration')").nullable(),
17
+ paused: z.boolean().describe("Whether the action is currently paused/disabled (true) or active (false)").nullable(),
18
18
  integration_id: z.number().int().describe("ID of the third-party integration (e.g., Slack, PagerDuty) if this action uses one").nullable().optional(),
19
19
  integration_type: z.string().describe("Type of third-party integration (e.g., 'slack', 'pagerduty') if applicable").nullable().optional()
20
- });
20
+ }).passthrough();
21
21
  const pingdomGetActionsAlerts = action("PINGDOM_GET_ACTIONS_ALERTS", {
22
22
  slug: "pingdom-get-actions-alerts",
23
23
  name: "Get Pingdom Alert Actions",
24
24
  description: "Retrieves configured alert actions (notifications) from your Pingdom account. Alert actions define how and where notifications are sent when checks trigger alerts (e.g., email, SMS, webhooks, integrations like Slack/PagerDuty). Use this to list all actions or filter by specific checks, users, delivery channels, or time ranges. Supports pagination for large result sets.",
25
25
  input: PingdomGetActionsAlertsInput,
26
26
  output: z.object({
27
- total: z.number().int().describe("Total count of alert actions available (may exceed list length if pagination is used)"),
27
+ total: z.number().int().describe("Total count of alert actions available (may exceed list length if pagination is used)").nullable(),
28
28
  actions: z.array(PingdomGetActionsAlerts_ActionSchema).describe("List of alert actions matching the filter criteria")
29
- })
29
+ }).passthrough()
30
30
  });
31
31
  //#endregion
32
32
  export { pingdomGetActionsAlerts };
@@ -1 +1 @@
1
- {"version":3,"file":"get-actions-alerts.mjs","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetActionsAlertsInput: z.ZodTypeAny = z.object({\n via: z.array(z.string()).describe(\"List of notification delivery channels to filter by. Tested values: 'email', 'sms'. Note: Other integration types may not be supported by this filter parameter.\").optional(),\n limit: z.number().int().describe(\"Maximum number of alert actions to return per request. Valid range: 1-100.\").optional(),\n start: z.number().int().describe(\"Starting index for pagination (offset). Use with limit for paginating through results.\").optional(),\n endtime: z.number().int().describe(\"Filter actions created/triggered before this Unix timestamp (in seconds). Use with starttime for time-range queries.\").optional(),\n userids: z.array(z.number().int()).describe(\"List of user IDs to filter actions. Only returns actions created by or assigned to these specific users.\").optional(),\n checkids: z.array(z.number().int()).describe(\"List of check IDs to filter actions. Only returns actions associated with these specific uptime/transaction checks.\").optional(),\n starttime: z.number().int().describe(\"Filter actions created/triggered after this Unix timestamp (in seconds). Use for time-range queries.\").optional(),\n});\nconst PingdomGetActionsAlerts_ActionSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the alert action\"),\n name: z.string().describe(\"Display name of the alert action\"),\n type: z.string().describe(\"Type of action (e.g., 'email', 'sms', 'webhook', 'integration')\"),\n paused: z.boolean().describe(\"Whether the action is currently paused/disabled (true) or active (false)\"),\n integration_id: z.number().int().describe(\"ID of the third-party integration (e.g., Slack, PagerDuty) if this action uses one\").nullable().optional(),\n integration_type: z.string().describe(\"Type of third-party integration (e.g., 'slack', 'pagerduty') if applicable\").nullable().optional(),\n});\nexport const PingdomGetActionsAlertsOutput: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total count of alert actions available (may exceed list length if pagination is used)\"),\n actions: z.array(PingdomGetActionsAlerts_ActionSchema).describe(\"List of alert actions matching the filter criteria\"),\n});\n\nexport const pingdomGetActionsAlerts = action(\"PINGDOM_GET_ACTIONS_ALERTS\", {\n slug: \"pingdom-get-actions-alerts\",\n name: \"Get Pingdom Alert Actions\",\n description: \"Retrieves configured alert actions (notifications) from your Pingdom account. Alert actions define how and where notifications are sent when checks trigger alerts (e.g., email, SMS, webhooks, integrations like Slack/PagerDuty). Use this to list all actions or filter by specific checks, users, delivery channels, or time ranges. Supports pagination for large result sets.\",\n input: PingdomGetActionsAlertsInput,\n output: PingdomGetActionsAlertsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC/M,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpI,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpK,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACjK,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC7K,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxJ,CAAC;AACD,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC3F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E;CACvG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC;AAMD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF;EACxH,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;CACtH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-actions-alerts.mjs","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetActionsAlertsInput = z.object({\n via: z.array(z.string()).describe(\"List of notification delivery channels to filter by. Tested values: 'email', 'sms'. Note: Other integration types may not be supported by this filter parameter.\").optional(),\n limit: z.number().int().describe(\"Maximum number of alert actions to return per request. Valid range: 1-100.\").optional(),\n start: z.number().int().describe(\"Starting index for pagination (offset). Use with limit for paginating through results.\").optional(),\n endtime: z.number().int().describe(\"Filter actions created/triggered before this Unix timestamp (in seconds). Use with starttime for time-range queries.\").optional(),\n userids: z.array(z.number().int()).describe(\"List of user IDs to filter actions. Only returns actions created by or assigned to these specific users.\").optional(),\n checkids: z.array(z.number().int()).describe(\"List of check IDs to filter actions. Only returns actions associated with these specific uptime/transaction checks.\").optional(),\n starttime: z.number().int().describe(\"Filter actions created/triggered after this Unix timestamp (in seconds). Use for time-range queries.\").optional(),\n});\nconst PingdomGetActionsAlerts_ActionSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the alert action\").nullable(),\n name: z.string().describe(\"Display name of the alert action\").nullable(),\n type: z.string().describe(\"Type of action (e.g., 'email', 'sms', 'webhook', 'integration')\").nullable(),\n paused: z.boolean().describe(\"Whether the action is currently paused/disabled (true) or active (false)\").nullable(),\n integration_id: z.number().int().describe(\"ID of the third-party integration (e.g., Slack, PagerDuty) if this action uses one\").nullable().optional(),\n integration_type: z.string().describe(\"Type of third-party integration (e.g., 'slack', 'pagerduty') if applicable\").nullable().optional(),\n}).passthrough();\nexport const PingdomGetActionsAlertsOutput = z.object({\n total: z.number().int().describe(\"Total count of alert actions available (may exceed list length if pagination is used)\").nullable(),\n actions: z.array(PingdomGetActionsAlerts_ActionSchema).describe(\"List of alert actions matching the filter criteria\"),\n}).passthrough();\n\nexport const pingdomGetActionsAlerts = action(\"PINGDOM_GET_ACTIONS_ALERTS\", {\n slug: \"pingdom-get-actions-alerts\",\n name: \"Get Pingdom Alert Actions\",\n description: \"Retrieves configured alert actions (notifications) from your Pingdom account. Alert actions define how and where notifications are sent when checks trigger alerts (e.g., email, SMS, webhooks, integrations like Slack/PagerDuty). Use this to list all actions or filter by specific checks, users, delivery channels, or time ranges. Supports pagination for large result sets.\",\n input: PingdomGetActionsAlertsInput,\n output: Pingd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AAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;CACtH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -15,28 +15,28 @@ const PingdomGetChecksListInput = zod.z.object({
15
15
  integrationids: zod.z.string().describe("Comma-separated list of integration IDs for filtering").optional()
16
16
  }).describe("Request model for retrieving a list overview of uptime checks with optional filters and pagination.");
17
17
  const PingdomGetChecksList_CheckSchema = zod.z.object({
18
- id: zod.z.number().int().describe("Unique identifier of the check"),
18
+ id: zod.z.number().int().describe("Unique identifier of the check").nullable(),
19
19
  ipv6: zod.z.boolean().describe("Whether IPv6 is used for the check").nullable().optional(),
20
- name: zod.z.string().describe("Human-readable name of the check"),
20
+ name: zod.z.string().describe("Human-readable name of the check").nullable(),
21
21
  tags: zod.z.array(zod.z.string()).describe("List of tags associated with the check, if include_tags is true").nullable().optional(),
22
- type: zod.z.string().describe("Type of the check (http, tcp, etc)"),
23
- status: zod.z.string().describe("Current status of the check (up/down/paused)"),
22
+ type: zod.z.string().describe("Type of the check (http, tcp, etc)").nullable(),
23
+ status: zod.z.string().describe("Current status of the check (up/down/paused)").nullable(),
24
24
  created: zod.z.number().int().describe("Timestamp when the check was created (Unix timestamp)").nullable().optional(),
25
- hostname: zod.z.string().describe("The monitored hostname or IP address"),
26
- resolution: zod.z.number().int().describe("Resolution of the check in minutes"),
25
+ hostname: zod.z.string().describe("The monitored hostname or IP address").nullable(),
26
+ resolution: zod.z.number().int().describe("Resolution of the check in minutes").nullable(),
27
27
  lasttesttime: zod.z.number().int().describe("Timestamp of the last test (Unix timestamp)").nullable().optional(),
28
28
  lastresponsetime: zod.z.number().int().describe("Last response time in milliseconds").nullable().optional(),
29
29
  verify_certificate: zod.z.boolean().describe("Whether SSL certificate verification is enabled").nullable().optional()
30
- }).describe("Represents a single uptime check overview.");
30
+ }).passthrough().describe("Represents a single uptime check overview.");
31
31
  const PingdomGetChecksList_CountsSchema = zod.z.object({
32
- total: zod.z.number().int().describe("Total number of checks available in the account"),
33
- limited: zod.z.number().int().describe("Number of checks returned (respects limit parameter)"),
34
- filtered: zod.z.number().int().describe("Number of checks matching the applied filters")
35
- }).describe("Count details for list of checks.");
32
+ total: zod.z.number().int().describe("Total number of checks available in the account").nullable(),
33
+ limited: zod.z.number().int().describe("Number of checks returned (respects limit parameter)").nullable(),
34
+ filtered: zod.z.number().int().describe("Number of checks matching the applied filters").nullable()
35
+ }).passthrough().describe("Count details for list of checks.");
36
36
  const PingdomGetChecksListOutput = zod.z.object({
37
37
  checks: zod.z.array(PingdomGetChecksList_CheckSchema).describe("List of uptime checks"),
38
38
  counts: PingdomGetChecksList_CountsSchema.nullable()
39
- }).describe("Response containing a list of checks and count info.");
39
+ }).passthrough().describe("Response containing a list of checks and count info.");
40
40
  const pingdomGetChecksList = require_action.action("PINGDOM_GET_CHECKS_LIST", {
41
41
  slug: "pingdom-get-checks-list",
42
42
  name: "Get Checks List",
@@ -1 +1 @@
1
- {"version":3,"file":"get-checks-list.cjs","names":["z","action"],"sources":["../../src/actions/get-checks-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetChecksListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter checks by name (partial match allowed)\").optional(),\n tags: z.string().describe(\"Comma-separated list of tags to filter checks\").optional(),\n team: z.number().int().describe(\"Filter checks by team ID\").optional(),\n type: z.string().describe(\"Type of check to filter (e.g., http, tcp, udp)\").optional(),\n limit: z.number().int().describe(\"Maximum number of checks to return (1-250)\").optional(),\n offset: z.number().int().describe(\"Index of the first check to return for pagination (zero-based)\").optional(),\n status: z.string().describe(\"Filter checks by status (up, down, paused)\").optional(),\n probeids: z.string().describe(\"Comma-separated list of probe IDs for filtering checks\").optional(),\n transaction: z.boolean().describe(\"If true, only return transaction checks\").optional(),\n include_tags: z.boolean().describe(\"If true, include tag details with each check\").optional(),\n integrationids: z.string().describe(\"Comma-separated list of integration IDs for filtering\").optional(),\n}).describe(\"Request model for retrieving a list overview of uptime checks with optional filters and pagination.\");\nconst PingdomGetChecksList_CheckSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the check\"),\n ipv6: z.boolean().describe(\"Whether IPv6 is used for the check\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the check\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the check, if include_tags is true\").nullable().optional(),\n type: z.string().describe(\"Type of the check (http, tcp, etc)\"),\n status: z.string().describe(\"Current status of the check (up/down/paused)\"),\n created: z.number().int().describe(\"Timestamp when the check was created (Unix timestamp)\").nullable().optional(),\n hostname: z.string().describe(\"The monitored hostname or IP address\"),\n resolution: z.number().int().describe(\"Resolution of the check in minutes\"),\n lasttesttime: z.number().int().describe(\"Timestamp of the last test (Unix timestamp)\").nullable().optional(),\n lastresponsetime: z.number().int().describe(\"Last response time in milliseconds\").nullable().optional(),\n verify_certificate: z.boolean().describe(\"Whether SSL certificate verification is enabled\").nullable().optional(),\n}).describe(\"Represents a single uptime check overview.\");\nconst PingdomGetChecksList_CountsSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of checks available in the account\"),\n limited: z.number().int().describe(\"Number of checks returned (respects limit parameter)\"),\n filtered: z.number().int().describe(\"Number of checks matching the applied filters\"),\n}).describe(\"Count details for list of checks.\");\nexport const PingdomGetChecksListOutput: z.ZodTypeAny = z.object({\n checks: z.array(PingdomGetChecksList_CheckSchema).describe(\"List of uptime checks\"),\n counts: PingdomGetChecksList_CountsSchema.nullable(),\n}).describe(\"Response containing a list of checks and count info.\");\n\nexport const pingdomGetChecksList = action(\"PINGDOM_GET_CHECKS_LIST\", {\n slug: \"pingdom-get-checks-list\",\n name: \"Get Checks List\",\n description: \"Retrieves a list of all uptime/monitoring checks configured in Pingdom with optional filtering and pagination. Use this to: view all monitoring checks, filter by status/type/tags, search by name, or paginate through large check lists. Returns check details including ID, name, hostname, status, type, resolution, and optional tags.\",\n input: PingdomGetChecksListInput,\n output: PingdomGetChecksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACxG,C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AE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACrF,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uBAAuB;CAClF,QAAQ,kCAAkC,SAAS;AACrD,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-checks-list.cjs","names":["z","action"],"sources":["../../src/actions/get-checks-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetChecksListInput = z.object({\n name: z.string().describe(\"Filter checks by name (partial match allowed)\").optional(),\n tags: z.string().describe(\"Comma-separated list of tags to filter checks\").optional(),\n team: z.number().int().describe(\"Filter checks by team ID\").optional(),\n type: z.string().describe(\"Type of check to filter (e.g., http, tcp, udp)\").optional(),\n limit: z.number().int().describe(\"Maximum number of checks to return (1-250)\").optional(),\n offset: z.number().int().describe(\"Index of the first check to return for pagination (zero-based)\").optional(),\n status: z.string().describe(\"Filter checks by status (up, down, paused)\").optional(),\n probeids: z.string().describe(\"Comma-separated list of probe IDs for filtering checks\").optional(),\n transaction: z.boolean().describe(\"If true, only return transaction checks\").optional(),\n include_tags: z.boolean().describe(\"If true, include tag details with each check\").optional(),\n integrationids: z.string().describe(\"Comma-separated list of integration IDs for filtering\").optional(),\n}).describe(\"Request model for retrieving a list overview of uptime checks with optional filters and pagination.\");\nconst PingdomGetChecksList_CheckSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the check\").nullable(),\n ipv6: z.boolean().describe(\"Whether IPv6 is used for the check\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the check\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags associated with the check, if include_tags is true\").nullable().optional(),\n type: z.string().describe(\"Type of the check (http, tcp, etc)\").nullable(),\n status: z.string().describe(\"Current status of the check (up/down/paused)\").nullable(),\n created: z.number().int().describe(\"Timestamp when the check was created (Unix timestamp)\").nullable().optional(),\n hostname: z.string().describe(\"The monitored hostname or IP address\").nullable(),\n resolution: z.number().int().describe(\"Resolution of the check in minutes\").nullable(),\n lasttesttime: z.number().int().describe(\"Timestamp of the last test (Unix timestamp)\").nullable().optional(),\n lastresponsetime: z.number().int().describe(\"Last response time in milliseconds\").nullable().optional(),\n verify_certificate: z.boolean().describe(\"Whether SSL certificate verification is enabled\").nullable().optional(),\n}).passthrough().describe(\"Represents a single uptime check overview.\");\nconst PingdomGetChecksList_CountsSchema = z.object({\n total: z.number().int().describe(\"Total number of checks available in the account\").nullable(),\n limited: z.number().int().describe(\"Number of checks returned (respects limit parameter)\").nullable(),\n filtered: z.number().int().describe(\"Number of checks matching the applied filters\").nullable(),\n}).passthrough().describe(\"Count details for list of checks.\");\nexport const PingdomGetChecksListOutput = z.object({\n checks: z.array(PingdomGetChecksList_CheckSchema).describe(\"List of uptime checks\"),\n counts: PingdomGetChecksList_CountsSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of checks and count info.\");\n\nexport const pingdomGetChecksList = action(\"PINGDOM_GET_CHECKS_LIST\", {\n slug: \"pingdom-get-checks-list\",\n name: \"Get Checks List\",\n description: \"Retrieves a list of all uptime/monitoring checks configured in Pingdom with optional filtering and pagination. Use this to: view all monitoring checks, filter by status/type/tags, search by name, or paginate through large check lists. Returns check details including ID, name, hostname, status, type, resolution, and optional tags.\",\n input: PingdomGetChecksListInput,\n output: PingdomGetChecksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4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AAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uBAAuB;CAClF,QAAQ,kCAAkC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-checks-list.d.ts
4
- declare const PingdomGetChecksListInput: z.ZodTypeAny;
5
- declare const PingdomGetChecksListOutput: z.ZodTypeAny;
6
- declare const pingdomGetChecksList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetChecksListInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ tags: z.ZodOptional<z.ZodString>;
7
+ team: z.ZodOptional<z.ZodNumber>;
8
+ type: z.ZodOptional<z.ZodString>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ offset: z.ZodOptional<z.ZodNumber>;
11
+ status: z.ZodOptional<z.ZodString>;
12
+ probeids: z.ZodOptional<z.ZodString>;
13
+ transaction: z.ZodOptional<z.ZodBoolean>;
14
+ include_tags: z.ZodOptional<z.ZodBoolean>;
15
+ integrationids: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const PingdomGetChecksListOutput: z.ZodObject<{
18
+ checks: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodNumber>;
20
+ ipv6: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ type: z.ZodNullable<z.ZodString>;
24
+ status: z.ZodNullable<z.ZodString>;
25
+ created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ hostname: z.ZodNullable<z.ZodString>;
27
+ resolution: z.ZodNullable<z.ZodNumber>;
28
+ lasttesttime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ lastresponsetime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ verify_certificate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ }, z.core.$loose>>;
32
+ counts: z.ZodNullable<z.ZodObject<{
33
+ total: z.ZodNullable<z.ZodNumber>;
34
+ limited: z.ZodNullable<z.ZodNumber>;
35
+ filtered: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>;
37
+ }, z.core.$loose>;
38
+ declare const pingdomGetChecksList: import("@keystrokehq/action").WorkflowActionDefinition<{
39
+ name?: string | undefined;
40
+ tags?: string | undefined;
41
+ team?: number | undefined;
42
+ type?: string | undefined;
43
+ limit?: number | undefined;
44
+ offset?: number | undefined;
45
+ status?: string | undefined;
46
+ probeids?: string | undefined;
47
+ transaction?: boolean | undefined;
48
+ include_tags?: boolean | undefined;
49
+ integrationids?: string | undefined;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { pingdomGetChecksList };
9
53
  //# sourceMappingURL=get-checks-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-checks-list.d.cts","names":[],"sources":["../../src/actions/get-checks-list.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAYwE;AAAA,cAoBrG,0BAAA,EAA4B,CAAA,CAAE,UAGwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-checks-list.d.cts","names":[],"sources":["../../src/actions/get-checks-list.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-checks-list.d.ts
4
- declare const PingdomGetChecksListInput: z.ZodTypeAny;
5
- declare const PingdomGetChecksListOutput: z.ZodTypeAny;
6
- declare const pingdomGetChecksList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetChecksListInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ tags: z.ZodOptional<z.ZodString>;
7
+ team: z.ZodOptional<z.ZodNumber>;
8
+ type: z.ZodOptional<z.ZodString>;
9
+ limit: z.ZodOptional<z.ZodNumber>;
10
+ offset: z.ZodOptional<z.ZodNumber>;
11
+ status: z.ZodOptional<z.ZodString>;
12
+ probeids: z.ZodOptional<z.ZodString>;
13
+ transaction: z.ZodOptional<z.ZodBoolean>;
14
+ include_tags: z.ZodOptional<z.ZodBoolean>;
15
+ integrationids: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const PingdomGetChecksListOutput: z.ZodObject<{
18
+ checks: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodNumber>;
20
+ ipv6: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ name: z.ZodNullable<z.ZodString>;
22
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23
+ type: z.ZodNullable<z.ZodString>;
24
+ status: z.ZodNullable<z.ZodString>;
25
+ created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ hostname: z.ZodNullable<z.ZodString>;
27
+ resolution: z.ZodNullable<z.ZodNumber>;
28
+ lasttesttime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ lastresponsetime: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ verify_certificate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ }, z.core.$loose>>;
32
+ counts: z.ZodNullable<z.ZodObject<{
33
+ total: z.ZodNullable<z.ZodNumber>;
34
+ limited: z.ZodNullable<z.ZodNumber>;
35
+ filtered: z.ZodNullable<z.ZodNumber>;
36
+ }, z.core.$loose>>;
37
+ }, z.core.$loose>;
38
+ declare const pingdomGetChecksList: import("@keystrokehq/action").WorkflowActionDefinition<{
39
+ name?: string | undefined;
40
+ tags?: string | undefined;
41
+ team?: number | undefined;
42
+ type?: string | undefined;
43
+ limit?: number | undefined;
44
+ offset?: number | undefined;
45
+ status?: string | undefined;
46
+ probeids?: string | undefined;
47
+ transaction?: boolean | undefined;
48
+ include_tags?: boolean | undefined;
49
+ integrationids?: string | undefined;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { pingdomGetChecksList };
9
53
  //# sourceMappingURL=get-checks-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-checks-list.d.mts","names":[],"sources":["../../src/actions/get-checks-list.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAYwE;AAAA,cAoBrG,0BAAA,EAA4B,CAAA,CAAE,UAGwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-checks-list.d.mts","names":[],"sources":["../../src/actions/get-checks-list.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -15,24 +15,24 @@ const PingdomGetChecksListInput = z.object({
15
15
  integrationids: z.string().describe("Comma-separated list of integration IDs for filtering").optional()
16
16
  }).describe("Request model for retrieving a list overview of uptime checks with optional filters and pagination.");
17
17
  const PingdomGetChecksList_CheckSchema = z.object({
18
- id: z.number().int().describe("Unique identifier of the check"),
18
+ id: z.number().int().describe("Unique identifier of the check").nullable(),
19
19
  ipv6: z.boolean().describe("Whether IPv6 is used for the check").nullable().optional(),
20
- name: z.string().describe("Human-readable name of the check"),
20
+ name: z.string().describe("Human-readable name of the check").nullable(),
21
21
  tags: z.array(z.string()).describe("List of tags associated with the check, if include_tags is true").nullable().optional(),
22
- type: z.string().describe("Type of the check (http, tcp, etc)"),
23
- status: z.string().describe("Current status of the check (up/down/paused)"),
22
+ type: z.string().describe("Type of the check (http, tcp, etc)").nullable(),
23
+ status: z.string().describe("Current status of the check (up/down/paused)").nullable(),
24
24
  created: z.number().int().describe("Timestamp when the check was created (Unix timestamp)").nullable().optional(),
25
- hostname: z.string().describe("The monitored hostname or IP address"),
26
- resolution: z.number().int().describe("Resolution of the check in minutes"),
25
+ hostname: z.string().describe("The monitored hostname or IP address").nullable(),
26
+ resolution: z.number().int().describe("Resolution of the check in minutes").nullable(),
27
27
  lasttesttime: z.number().int().describe("Timestamp of the last test (Unix timestamp)").nullable().optional(),
28
28
  lastresponsetime: z.number().int().describe("Last response time in milliseconds").nullable().optional(),
29
29
  verify_certificate: z.boolean().describe("Whether SSL certificate verification is enabled").nullable().optional()
30
- }).describe("Represents a single uptime check overview.");
30
+ }).passthrough().describe("Represents a single uptime check overview.");
31
31
  const PingdomGetChecksList_CountsSchema = z.object({
32
- total: z.number().int().describe("Total number of checks available in the account"),
33
- limited: z.number().int().describe("Number of checks returned (respects limit parameter)"),
34
- filtered: z.number().int().describe("Number of checks matching the applied filters")
35
- }).describe("Count details for list of checks.");
32
+ total: z.number().int().describe("Total number of checks available in the account").nullable(),
33
+ limited: z.number().int().describe("Number of checks returned (respects limit parameter)").nullable(),
34
+ filtered: z.number().int().describe("Number of checks matching the applied filters").nullable()
35
+ }).passthrough().describe("Count details for list of checks.");
36
36
  const pingdomGetChecksList = action("PINGDOM_GET_CHECKS_LIST", {
37
37
  slug: "pingdom-get-checks-list",
38
38
  name: "Get Checks List",
@@ -41,7 +41,7 @@ const pingdomGetChecksList = action("PINGDOM_GET_CHECKS_LIST", {
41
41
  output: z.object({
42
42
  checks: z.array(PingdomGetChecksList_CheckSchema).describe("List of uptime checks"),
43
43
  counts: PingdomGetChecksList_CountsSchema.nullable()
44
- }).describe("Response containing a list of checks and count info.")
44
+ }).passthrough().describe("Response containing a list of checks and count info.")
45
45
  });
46
46
  //#endregion
47
47
  export { pingdomGetChecksList };
@@ -1 +1 @@
1
- {"version":3,"file":"get-checks-list.mjs","names":[],"sources":["../../src/actions/get-checks-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetChecksListInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Filter checks by name (partial match allowed)\").optional(),\n tags: z.string().describe(\"Comma-separated list of tags to filter checks\").optional(),\n team: z.number().int().describe(\"Filter checks by team ID\").optional(),\n type: z.string().describe(\"Type of check to filter (e.g., http, tcp, udp)\").optional(),\n limit: z.number().int().describe(\"Maximum number of checks to return (1-250)\").optional(),\n offset: z.number().int().describe(\"Index of the first check to return for pagination (zero-based)\").optional(),\n status: z.string().describe(\"Filter checks by status (up, down, paused)\").optional(),\n probeids: z.string().describe(\"Comma-separated list of probe IDs for filtering checks\").optional(),\n transaction: z.boolean().describe(\"If true, only return transaction checks\").optional(),\n include_tags: z.boolean().describe(\"If true, include tag details with each check\").optional(),\n integrationids: z.string().describe(\"Comma-separated list of integration IDs for filtering\").optional(),\n}).describe(\"Request model for retrieving a list overview of uptime checks with optional filters and pagination.\");\nconst PingdomGetChecksList_CheckSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the check\"),\n ipv6: z.boolean().describe(\"Whether IPv6 is used for the check\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the check\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the check, if include_tags is true\").nullable().optional(),\n type: z.string().describe(\"Type of the check (http, tcp, etc)\"),\n status: z.string().describe(\"Current status of the check (up/down/paused)\"),\n created: z.number().int().describe(\"Timestamp when the check was created (Unix timestamp)\").nullable().optional(),\n hostname: z.string().describe(\"The monitored hostname or IP address\"),\n resolution: z.number().int().describe(\"Resolution of the check in minutes\"),\n lasttesttime: z.number().int().describe(\"Timestamp of the last test (Unix timestamp)\").nullable().optional(),\n lastresponsetime: z.number().int().describe(\"Last response time in milliseconds\").nullable().optional(),\n verify_certificate: z.boolean().describe(\"Whether SSL certificate verification is enabled\").nullable().optional(),\n}).describe(\"Represents a single uptime check overview.\");\nconst PingdomGetChecksList_CountsSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of checks available in the account\"),\n limited: z.number().int().describe(\"Number of checks returned (respects limit parameter)\"),\n filtered: z.number().int().describe(\"Number of checks matching the applied filters\"),\n}).describe(\"Count details for list of checks.\");\nexport const PingdomGetChecksListOutput: z.ZodTypeAny = z.object({\n checks: z.array(PingdomGetChecksList_CheckSchema).describe(\"List of uptime checks\"),\n counts: PingdomGetChecksList_CountsSchema.nullable(),\n}).describe(\"Response containing a list of checks and count info.\");\n\nexport const pingdomGetChecksList = action(\"PINGDOM_GET_CHECKS_LIST\", {\n slug: \"pingdom-get-checks-list\",\n name: \"Get Checks List\",\n description: \"Retrieves a list of all uptime/monitoring checks configured in Pingdom with optional filtering and pagination. Use this to: view all monitoring checks, filter by status/type/tags, search by name, or paginate through large check lists. Returns check details including ID, name, hostname, status, type, resolution, and optional tags.\",\n input: PingdomGetChecksListInput,\n output: PingdomGetChecksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,qGAAqG;AACjH,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CA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,kCAAkC,SAAS;CACrD,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-checks-list.mjs","names":[],"sources":["../../src/actions/get-checks-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetChecksListInput = z.object({\n name: z.string().describe(\"Filter checks by name (partial match allowed)\").optional(),\n tags: z.string().describe(\"Comma-separated list of tags to filter checks\").optional(),\n team: z.number().int().describe(\"Filter checks by team ID\").optional(),\n type: z.string().describe(\"Type of check to filter (e.g., http, tcp, udp)\").optional(),\n limit: z.number().int().describe(\"Maximum number of checks to return (1-250)\").optional(),\n offset: z.number().int().describe(\"Index of the first check to return for pagination (zero-based)\").optional(),\n status: z.string().describe(\"Filter checks by status (up, down, paused)\").optional(),\n probeids: z.string().describe(\"Comma-separated list of probe IDs for filtering checks\").optional(),\n transaction: z.boolean().describe(\"If true, only return transaction checks\").optional(),\n include_tags: z.boolean().describe(\"If true, include tag details with each check\").optional(),\n integrationids: z.string().describe(\"Comma-separated list of integration IDs for filtering\").optional(),\n}).describe(\"Request model for retrieving a list overview of uptime checks with optional filters and pagination.\");\nconst PingdomGetChecksList_CheckSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the check\").nullable(),\n ipv6: z.boolean().describe(\"Whether IPv6 is used for the check\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the check\").nullable(),\n tags: z.array(z.string()).describe(\"List of tags associated with the check, if include_tags is true\").nullable().optional(),\n type: z.string().describe(\"Type of the check (http, tcp, etc)\").nullable(),\n status: z.string().describe(\"Current status of the check (up/down/paused)\").nullable(),\n created: z.number().int().describe(\"Timestamp when the check was created (Unix timestamp)\").nullable().optional(),\n hostname: z.string().describe(\"The monitored hostname or IP address\").nullable(),\n resolution: z.number().int().describe(\"Resolution of the check in minutes\").nullable(),\n lasttesttime: z.number().int().describe(\"Timestamp of the last test (Unix timestamp)\").nullable().optional(),\n lastresponsetime: z.number().int().describe(\"Last response time in milliseconds\").nullable().optional(),\n verify_certificate: z.boolean().describe(\"Whether SSL certificate verification is enabled\").nullable().optional(),\n}).passthrough().describe(\"Represents a single uptime check overview.\");\nconst PingdomGetChecksList_CountsSchema = z.object({\n total: z.number().int().describe(\"Total number of checks available in the account\").nullable(),\n limited: z.number().int().describe(\"Number of checks returned (respects limit parameter)\").nullable(),\n filtered: z.number().int().describe(\"Number of checks matching the applied filters\").nullable(),\n}).passthrough().describe(\"Count details for list of checks.\");\nexport const PingdomGetChecksListOutput = z.object({\n checks: z.array(PingdomGetChecksList_CheckSchema).describe(\"List of uptime checks\"),\n counts: PingdomGetChecksList_CountsSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of checks and count info.\");\n\nexport const pingdomGetChecksList = action(\"PINGDOM_GET_CHECKS_LIST\", {\n slug: \"pingdom-get-checks-list\",\n name: \"Get Checks List\",\n description: \"Retrieves a list of all uptime/monitoring checks configured in Pingdom with optional filtering and pagination. Use this to: view all monitoring checks, filter by status/type/tags, search by name, or paginate through large check lists. Returns check details including ID, name, hostname, status, type, resolution, and optional tags.\",\n input: PingdomGetChecksListInput,\n output: PingdomGetChecksListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC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SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAM7D,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uBAAuB;EAClF,QAAQ,kCAAkC,SAAS;CACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -3,32 +3,32 @@ let zod = require("zod");
3
3
  //#region src/actions/get-contact-details.ts
4
4
  const PingdomGetContactDetailsInput = zod.z.object({ contactid: zod.z.number().int().describe("Unique identifier of the alerting contact to retrieve") }).describe("Request model for retrieving a specific alerting contact’s details including contact methods.");
5
5
  const PingdomGetContactDetails_TeamInfoSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique team identifier"),
7
- name: zod.z.string().describe("Name of the team")
8
- }).describe("Team information associated with a contact.");
6
+ id: zod.z.number().int().describe("Unique team identifier").nullable(),
7
+ name: zod.z.string().describe("Name of the team").nullable()
8
+ }).passthrough().describe("Team information associated with a contact.");
9
9
  const PingdomGetContactDetails_SmsNotificationTargetSchema = zod.z.object({
10
- number: zod.z.string().describe("Phone number for SMS notifications"),
11
- severity: zod.z.string().describe("Notification severity level"),
12
- country_code: zod.z.string().describe("International country calling code")
13
- }).describe("SMS notification target with severity and phone details.");
10
+ number: zod.z.string().describe("Phone number for SMS notifications").nullable(),
11
+ severity: zod.z.string().describe("Notification severity level").nullable(),
12
+ country_code: zod.z.string().describe("International country calling code").nullable()
13
+ }).passthrough().describe("SMS notification target with severity and phone details.");
14
14
  const PingdomGetContactDetails_EmailNotificationTargetSchema = zod.z.object({
15
- address: zod.z.string().describe("Email address for notifications"),
16
- severity: zod.z.string().describe("Notification severity level (e.g., HIGH, LOW)")
17
- }).describe("Email notification target with severity level.");
15
+ address: zod.z.string().describe("Email address for notifications").nullable(),
16
+ severity: zod.z.string().describe("Notification severity level (e.g., HIGH, LOW)").nullable()
17
+ }).passthrough().describe("Email notification target with severity level.");
18
18
  const PingdomGetContactDetails_NotificationTargetsSchema = zod.z.object({
19
19
  sms: zod.z.array(PingdomGetContactDetails_SmsNotificationTargetSchema).describe("SMS notification targets").nullable().optional(),
20
20
  email: zod.z.array(PingdomGetContactDetails_EmailNotificationTargetSchema).describe("Email notification targets").nullable().optional()
21
- }).describe("Container for all notification targets configured for a contact.");
21
+ }).passthrough().describe("Container for all notification targets configured for a contact.");
22
22
  const PingdomGetContactDetails_ContactDetailsSchema = zod.z.object({
23
- id: zod.z.number().int().describe("Unique contact identifier"),
24
- name: zod.z.string().describe("Name of the contact"),
25
- type: zod.z.string().describe("Type of contact (e.g., 'user')"),
26
- owner: zod.z.boolean().describe("Whether this contact is the account owner"),
23
+ id: zod.z.number().int().describe("Unique contact identifier").nullable(),
24
+ name: zod.z.string().describe("Name of the contact").nullable(),
25
+ type: zod.z.string().describe("Type of contact (e.g., 'user')").nullable(),
26
+ owner: zod.z.boolean().describe("Whether this contact is the account owner").nullable(),
27
27
  teams: zod.z.array(PingdomGetContactDetails_TeamInfoSchema).describe("Teams this contact belongs to").nullable().optional(),
28
- paused: zod.z.boolean().describe("Whether notifications for this contact are paused"),
28
+ paused: zod.z.boolean().describe("Whether notifications for this contact are paused").nullable(),
29
29
  notification_targets: PingdomGetContactDetails_NotificationTargetsSchema.nullable()
30
- }).describe("Detailed information about a Pingdom alerting contact.");
31
- const PingdomGetContactDetailsOutput = zod.z.object({ contact: PingdomGetContactDetails_ContactDetailsSchema.nullable() }).describe("Response wrapper containing detailed contact information.");
30
+ }).passthrough().describe("Detailed information about a Pingdom alerting contact.");
31
+ const PingdomGetContactDetailsOutput = zod.z.object({ contact: PingdomGetContactDetails_ContactDetailsSchema.nullable() }).passthrough().describe("Response wrapper containing detailed contact information.");
32
32
  const pingdomGetContactDetails = require_action.action("PINGDOM_GET_CONTACT_DETAILS", {
33
33
  slug: "pingdom-get-contact-details",
34
34
  name: "Get Contact Details",
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-details.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetContactDetailsInput: z.ZodTypeAny = z.object({\n contactid: z.number().int().describe(\"Unique identifier of the alerting contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific alerting contact’s details including contact methods.\");\nconst PingdomGetContactDetails_TeamInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique team identifier\"),\n name: z.string().describe(\"Name of the team\"),\n}).describe(\"Team information associated with a contact.\");\nconst PingdomGetContactDetails_SmsNotificationTargetSchema: z.ZodTypeAny = z.object({\n number: z.string().describe(\"Phone number for SMS notifications\"),\n severity: z.string().describe(\"Notification severity level\"),\n country_code: z.string().describe(\"International country calling code\"),\n}).describe(\"SMS notification target with severity and phone details.\");\nconst PingdomGetContactDetails_EmailNotificationTargetSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Email address for notifications\"),\n severity: z.string().describe(\"Notification severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Email notification target with severity level.\");\nconst PingdomGetContactDetails_NotificationTargetsSchema: z.ZodTypeAny = z.object({\n sms: z.array(PingdomGetContactDetails_SmsNotificationTargetSchema).describe(\"SMS notification targets\").nullable().optional(),\n email: z.array(PingdomGetContactDetails_EmailNotificationTargetSchema).describe(\"Email notification targets\").nullable().optional(),\n}).describe(\"Container for all notification targets configured for a contact.\");\nconst PingdomGetContactDetails_ContactDetailsSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique contact identifier\"),\n name: z.string().describe(\"Name of the contact\"),\n type: z.string().describe(\"Type of contact (e.g., 'user')\"),\n owner: z.boolean().describe(\"Whether this contact is the account owner\"),\n teams: z.array(PingdomGetContactDetails_TeamInfoSchema).describe(\"Teams this contact belongs to\").nullable().optional(),\n paused: z.boolean().describe(\"Whether notifications for this contact are paused\"),\n notification_targets: PingdomGetContactDetails_NotificationTargetsSchema.nullable(),\n}).describe(\"Detailed information about a Pingdom alerting contact.\");\nexport const PingdomGetContactDetailsOutput: z.ZodTypeAny = z.object({\n contact: PingdomGetContactDetails_ContactDetailsSchema.nullable(),\n}).describe(\"Response wrapper containing detailed contact information.\");\n\nexport const pingdomGetContactDetails = action(\"PINGDOM_GET_CONTACT_DETAILS\", {\n slug: \"pingdom-get-contact-details\",\n name: \"Get Contact Details\",\n description: \"Retrieves comprehensive details of a specific Pingdom alerting contact by ID, including all configured notification methods (email, SMS), team memberships, contact type, and pause status. Use this when you need complete information about a contact's notification configuration.\",\n input: PingdomGetContactDetailsInput,\n output: PingdomGetContactDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC9F,CAAC,CAAC,CAAC,SAAS,+FAA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,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACvE,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CAChF,sBAAsB,mDAAmD,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-details.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetContactDetailsInput = z.object({\n contactid: z.number().int().describe(\"Unique identifier of the alerting contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific alerting contact’s details including contact methods.\");\nconst PingdomGetContactDetails_TeamInfoSchema = z.object({\n id: z.number().int().describe(\"Unique team identifier\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n}).passthrough().describe(\"Team information associated with a contact.\");\nconst PingdomGetContactDetails_SmsNotificationTargetSchema = z.object({\n number: z.string().describe(\"Phone number for SMS notifications\").nullable(),\n severity: z.string().describe(\"Notification severity level\").nullable(),\n country_code: z.string().describe(\"International country calling code\").nullable(),\n}).passthrough().describe(\"SMS notification target with severity and phone details.\");\nconst PingdomGetContactDetails_EmailNotificationTargetSchema = z.object({\n address: z.string().describe(\"Email address for notifications\").nullable(),\n severity: z.string().describe(\"Notification severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Email notification target with severity level.\");\nconst PingdomGetContactDetails_NotificationTargetsSchema = z.object({\n sms: z.array(PingdomGetContactDetails_SmsNotificationTargetSchema).describe(\"SMS notification targets\").nullable().optional(),\n email: z.array(PingdomGetContactDetails_EmailNotificationTargetSchema).describe(\"Email notification targets\").nullable().optional(),\n}).passthrough().describe(\"Container for all notification targets configured for a contact.\");\nconst PingdomGetContactDetails_ContactDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique contact identifier\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact (e.g., 'user')\").nullable(),\n owner: z.boolean().describe(\"Whether this contact is the account owner\").nullable(),\n teams: z.array(PingdomGetContactDetails_TeamInfoSchema).describe(\"Teams this contact belongs to\").nullable().optional(),\n paused: z.boolean().describe(\"Whether notifications for this contact are paused\").nullable(),\n notification_targets: PingdomGetContactDetails_NotificationTargetsSchema.nullable(),\n}).passthrough().describe(\"Detailed information about a Pingdom alerting contact.\");\nexport const PingdomGetContactDetailsOutput = z.object({\n contact: PingdomGetContactDetails_ContactDetailsSchema.nullable(),\n}).passthrough().describe(\"Response wrapper containing detailed contact information.\");\n\nexport const pingdomGetContactDetails = action(\"PINGDOM_GET_CONTACT_DETAILS\", {\n slug: \"pingdom-get-contact-details\",\n name: \"Get Contact Details\",\n description: \"Retrieves comprehensive details of a specific Pingdom alerting contact by ID, including all configured notification methods (email, SMS), team memberships, contact type, and pause status. Use this when you need complete information about a contact's notification configuration.\",\n input: PingdomGetContactDetailsInput,\n output: PingdomGetContactDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC9F,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC3G,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAA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