@keystrokehq/pingdom 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) 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 +1 -0
  4. package/dist/actions/get-actions-alerts.cjs.map +1 -1
  5. package/dist/actions/get-actions-alerts.d.cts +3 -9
  6. package/dist/actions/get-actions-alerts.d.cts.map +1 -1
  7. package/dist/actions/get-actions-alerts.d.mts +3 -9
  8. package/dist/actions/get-actions-alerts.d.mts.map +1 -1
  9. package/dist/actions/get-actions-alerts.mjs +1 -0
  10. package/dist/actions/get-actions-alerts.mjs.map +1 -1
  11. package/dist/actions/get-checks-list.cjs +1 -0
  12. package/dist/actions/get-checks-list.cjs.map +1 -1
  13. package/dist/actions/get-checks-list.d.cts +3 -13
  14. package/dist/actions/get-checks-list.d.cts.map +1 -1
  15. package/dist/actions/get-checks-list.d.mts +3 -13
  16. package/dist/actions/get-checks-list.d.mts.map +1 -1
  17. package/dist/actions/get-checks-list.mjs +1 -0
  18. package/dist/actions/get-checks-list.mjs.map +1 -1
  19. package/dist/actions/get-contact-details.cjs +1 -0
  20. package/dist/actions/get-contact-details.cjs.map +1 -1
  21. package/dist/actions/get-contact-details.d.cts +3 -3
  22. package/dist/actions/get-contact-details.d.cts.map +1 -1
  23. package/dist/actions/get-contact-details.d.mts +3 -3
  24. package/dist/actions/get-contact-details.d.mts.map +1 -1
  25. package/dist/actions/get-contact-details.mjs +1 -0
  26. package/dist/actions/get-contact-details.mjs.map +1 -1
  27. package/dist/actions/get-contacts.cjs +1 -0
  28. package/dist/actions/get-contacts.cjs.map +1 -1
  29. package/dist/actions/get-contacts.d.cts +3 -1
  30. package/dist/actions/get-contacts.d.cts.map +1 -1
  31. package/dist/actions/get-contacts.d.mts +3 -1
  32. package/dist/actions/get-contacts.d.mts.map +1 -1
  33. package/dist/actions/get-contacts.mjs +1 -0
  34. package/dist/actions/get-contacts.mjs.map +1 -1
  35. package/dist/actions/get-credits.cjs +1 -0
  36. package/dist/actions/get-credits.cjs.map +1 -1
  37. package/dist/actions/get-credits.d.cts +3 -1
  38. package/dist/actions/get-credits.d.cts.map +1 -1
  39. package/dist/actions/get-credits.d.mts +3 -1
  40. package/dist/actions/get-credits.d.mts.map +1 -1
  41. package/dist/actions/get-credits.mjs +1 -0
  42. package/dist/actions/get-credits.mjs.map +1 -1
  43. package/dist/actions/get-list-maintenance-occurrences.cjs +1 -0
  44. package/dist/actions/get-list-maintenance-occurrences.cjs.map +1 -1
  45. package/dist/actions/get-list-maintenance-occurrences.d.cts +3 -7
  46. package/dist/actions/get-list-maintenance-occurrences.d.cts.map +1 -1
  47. package/dist/actions/get-list-maintenance-occurrences.d.mts +3 -7
  48. package/dist/actions/get-list-maintenance-occurrences.d.mts.map +1 -1
  49. package/dist/actions/get-list-maintenance-occurrences.mjs +1 -0
  50. package/dist/actions/get-list-maintenance-occurrences.mjs.map +1 -1
  51. package/dist/actions/get-maintenance-windows.cjs +1 -0
  52. package/dist/actions/get-maintenance-windows.cjs.map +1 -1
  53. package/dist/actions/get-maintenance-windows.d.cts +3 -6
  54. package/dist/actions/get-maintenance-windows.d.cts.map +1 -1
  55. package/dist/actions/get-maintenance-windows.d.mts +3 -6
  56. package/dist/actions/get-maintenance-windows.d.mts.map +1 -1
  57. package/dist/actions/get-maintenance-windows.mjs +1 -0
  58. package/dist/actions/get-maintenance-windows.mjs.map +1 -1
  59. package/dist/actions/get-probes.cjs +1 -0
  60. package/dist/actions/get-probes.cjs.map +1 -1
  61. package/dist/actions/get-probes.d.cts +3 -1
  62. package/dist/actions/get-probes.d.cts.map +1 -1
  63. package/dist/actions/get-probes.d.mts +3 -1
  64. package/dist/actions/get-probes.d.mts.map +1 -1
  65. package/dist/actions/get-probes.mjs +1 -0
  66. package/dist/actions/get-probes.mjs.map +1 -1
  67. package/dist/actions/get-reference-data.cjs +1 -0
  68. package/dist/actions/get-reference-data.cjs.map +1 -1
  69. package/dist/actions/get-reference-data.d.cts +3 -1
  70. package/dist/actions/get-reference-data.d.cts.map +1 -1
  71. package/dist/actions/get-reference-data.d.mts +3 -1
  72. package/dist/actions/get-reference-data.d.mts.map +1 -1
  73. package/dist/actions/get-reference-data.mjs +1 -0
  74. package/dist/actions/get-reference-data.mjs.map +1 -1
  75. package/dist/actions/get-single-check.cjs +1 -0
  76. package/dist/actions/get-single-check.cjs.map +1 -1
  77. package/dist/actions/get-single-check.d.cts +3 -10
  78. package/dist/actions/get-single-check.d.cts.map +1 -1
  79. package/dist/actions/get-single-check.d.mts +3 -10
  80. package/dist/actions/get-single-check.d.mts.map +1 -1
  81. package/dist/actions/get-single-check.mjs +1 -0
  82. package/dist/actions/get-single-check.mjs.map +1 -1
  83. package/dist/actions/get-team-details.cjs +1 -0
  84. package/dist/actions/get-team-details.cjs.map +1 -1
  85. package/dist/actions/get-team-details.d.cts +3 -3
  86. package/dist/actions/get-team-details.d.cts.map +1 -1
  87. package/dist/actions/get-team-details.d.mts +3 -3
  88. package/dist/actions/get-team-details.d.mts.map +1 -1
  89. package/dist/actions/get-team-details.mjs +1 -0
  90. package/dist/actions/get-team-details.mjs.map +1 -1
  91. package/dist/actions/get-teams.cjs +1 -0
  92. package/dist/actions/get-teams.cjs.map +1 -1
  93. package/dist/actions/get-teams.d.cts +3 -1
  94. package/dist/actions/get-teams.d.cts.map +1 -1
  95. package/dist/actions/get-teams.d.mts +3 -1
  96. package/dist/actions/get-teams.d.mts.map +1 -1
  97. package/dist/actions/get-teams.mjs +1 -0
  98. package/dist/actions/get-teams.mjs.map +1 -1
  99. package/dist/actions/get-tms-transaction-checks-list.cjs +1 -0
  100. package/dist/actions/get-tms-transaction-checks-list.cjs.map +1 -1
  101. package/dist/actions/get-tms-transaction-checks-list.d.cts +3 -4
  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 +3 -4
  104. package/dist/actions/get-tms-transaction-checks-list.d.mts.map +1 -1
  105. package/dist/actions/get-tms-transaction-checks-list.mjs +1 -0
  106. package/dist/actions/get-tms-transaction-checks-list.mjs.map +1 -1
  107. package/dist/app.cjs +5 -2
  108. package/dist/app.cjs.map +1 -1
  109. package/dist/app.d.cts +7 -1
  110. package/dist/app.d.cts.map +1 -1
  111. package/dist/app.d.mts +7 -1
  112. package/dist/app.d.mts.map +1 -1
  113. package/dist/app.mjs +3 -2
  114. package/dist/app.mjs.map +1 -1
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.mts +1 -1
  117. 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<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
+ {"version":3,"file":"action.cjs","names":["pingdom","executePingdomTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pingdom.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,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<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"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { 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, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof pingdom.credential> {\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":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,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,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-actions-alerts.ts
@@ -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.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,+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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
+ {"version":3,"file":"get-actions-alerts.cjs","names":["z","action"],"sources":["../../src/actions/get-actions-alerts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\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: AppAction<\n typeof PingdomGetActionsAlertsInput,\n typeof PingdomGetActionsAlertsOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,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,SAA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C,CAAC,CAAC,SAAS,oDAAoD;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-actions-alerts.d.ts
@@ -21,15 +23,7 @@ declare const PingdomGetActionsAlertsOutput: z.ZodObject<{
21
23
  integration_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, 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]>;
26
+ declare const pingdomGetActionsAlerts: AppAction<typeof PingdomGetActionsAlertsInput, typeof PingdomGetActionsAlertsOutput, typeof pingdom.credential>;
33
27
  //#endregion
34
28
  export { pingdomGetActionsAlerts };
35
29
  //# 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,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-actions-alerts.d.cts","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-actions-alerts.d.ts
@@ -21,15 +23,7 @@ declare const PingdomGetActionsAlertsOutput: z.ZodObject<{
21
23
  integration_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, 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]>;
26
+ declare const pingdomGetActionsAlerts: AppAction<typeof PingdomGetActionsAlertsInput, typeof PingdomGetActionsAlertsOutput, typeof pingdom.credential>;
33
27
  //#endregion
34
28
  export { pingdomGetActionsAlerts };
35
29
  //# 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,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"get-actions-alerts.d.mts","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-actions-alerts.ts
@@ -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.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+B,EAAE,OAAO;CACnD,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,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,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,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"}
1
+ {"version":3,"file":"get-actions-alerts.mjs","names":[],"sources":["../../src/actions/get-actions-alerts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\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: AppAction<\n typeof PingdomGetActionsAlertsInput,\n typeof PingdomGetActionsAlertsOutput,\n typeof pingdom.credential\n> = 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":";;;;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,CAAC,YAAY;AAMf,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,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,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-checks-list.ts
@@ -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.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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA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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
+ {"version":3,"file":"get-checks-list.cjs","names":["z","action"],"sources":["../../src/actions/get-checks-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\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: AppAction<\n typeof PingdomGetChecksListInput,\n typeof PingdomGetChecksListOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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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,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-checks-list.d.ts
@@ -35,19 +37,7 @@ declare const PingdomGetChecksListOutput: z.ZodObject<{
35
37
  filtered: z.ZodNullable<z.ZodNumber>;
36
38
  }, z.core.$loose>>;
37
39
  }, 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]>;
40
+ declare const pingdomGetChecksList: AppAction<typeof PingdomGetChecksListInput, typeof PingdomGetChecksListOutput, typeof pingdom.credential>;
51
41
  //#endregion
52
42
  export { pingdomGetChecksList };
53
43
  //# 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,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-checks-list.d.cts","names":[],"sources":["../../src/actions/get-checks-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-checks-list.d.ts
@@ -35,19 +37,7 @@ declare const PingdomGetChecksListOutput: z.ZodObject<{
35
37
  filtered: z.ZodNullable<z.ZodNumber>;
36
38
  }, z.core.$loose>>;
37
39
  }, 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]>;
40
+ declare const pingdomGetChecksList: AppAction<typeof PingdomGetChecksListInput, typeof PingdomGetChecksListOutput, typeof pingdom.credential>;
51
41
  //#endregion
52
42
  export { pingdomGetChecksList };
53
43
  //# 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,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"get-checks-list.d.mts","names":[],"sources":["../../src/actions/get-checks-list.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAgCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-checks-list.ts
@@ -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.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,\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a;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"}
1
+ {"version":3,"file":"get-checks-list.mjs","names":[],"sources":["../../src/actions/get-checks-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\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: AppAction<\n typeof PingdomGetChecksListInput,\n typeof PingdomGetChecksListOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,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,0BAA0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
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contact-details.ts
@@ -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.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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CA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AiCA,IAAAA,EAAE,OAAO,EACrD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,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 type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\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: AppAction<\n typeof PingdomGetContactDetailsInput,\n typeof PingdomGetContactDetailsOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,uDAA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AAC,SAAS;CAClF,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,CAAC,CAAC,SAAS;CAC3F,sBAAsB,mDAAmD,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contact-details.d.ts
@@ -28,9 +30,7 @@ declare const PingdomGetContactDetailsOutput: z.ZodObject<{
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>>;
30
32
  }, z.core.$loose>;
31
- declare const pingdomGetContactDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- contactid: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const pingdomGetContactDetails: AppAction<typeof PingdomGetContactDetailsInput, typeof PingdomGetContactDetailsOutput, typeof pingdom.credential>;
34
34
  //#endregion
35
35
  export { pingdomGetContactDetails };
36
36
  //# sourceMappingURL=get-contact-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-details.d.cts","names":[],"sources":["../../src/actions/get-contact-details.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cA6B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-contact-details.d.cts","names":[],"sources":["../../src/actions/get-contact-details.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cA6B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contact-details.d.ts
@@ -28,9 +30,7 @@ declare const PingdomGetContactDetailsOutput: z.ZodObject<{
28
30
  }, z.core.$loose>>;
29
31
  }, z.core.$loose>>;
30
32
  }, z.core.$loose>;
31
- declare const pingdomGetContactDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- contactid: number;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const pingdomGetContactDetails: AppAction<typeof PingdomGetContactDetailsInput, typeof PingdomGetContactDetailsOutput, typeof pingdom.credential>;
34
34
  //#endregion
35
35
  export { pingdomGetContactDetails };
36
36
  //# sourceMappingURL=get-contact-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-details.d.mts","names":[],"sources":["../../src/actions/get-contact-details.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cA6B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-contact-details.d.mts","names":[],"sources":["../../src/actions/get-contact-details.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cA6B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-contact-details.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-details.mjs","names":[],"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,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC9F,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC3G,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,uDAAuD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UA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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-details.mjs","names":[],"sources":["../../src/actions/get-contact-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\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: AppAction<\n typeof PingdomGetContactDetailsInput,\n typeof PingdomGetContactDetailsOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC9F,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC3G,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,uDAAuD,EAAE,OAAO;CACpE,Q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AS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,sBAAsB,mDAAmD,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contacts.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetContactsInput = z.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema = z.object({\n id: z.number().int().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n}).passthrough().describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema = 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)\").nullable(),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).passthrough().describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema = z.object({\n address: z.string().describe(\"Email address for notifications\").nullable(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema = 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}).passthrough().describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique contact identifier\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\").nullable(),\n owner: z.boolean().describe(\"Whether this contact is an account owner\").nullable(),\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\").nullable(),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).passthrough().describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).passthrough().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: PingdomGetContacts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E,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAC7G,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contacts.cjs","names":["z","action"],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\n\nexport const PingdomGetContactsInput = z.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema = z.object({\n id: z.number().int().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n}).passthrough().describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema = 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)\").nullable(),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).passthrough().describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema = z.object({\n address: z.string().describe(\"Email address for notifications\").nullable(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema = 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}).passthrough().describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique contact identifier\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\").nullable(),\n owner: z.boolean().describe(\"Whether this contact is an account owner\").nullable(),\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\").nullable(),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).passthrough().describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).passthrough().describe(\"Response wrapper containing a list of contacts.\");\n\nexport const pingdomGetContacts: AppAction<\n typeof PingdomGetContactsInput,\n typeof PingdomGetContactsOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC1I,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;AAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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AmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAC7G,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contacts.d.ts
@@ -35,7 +37,7 @@ declare const PingdomGetContactsOutput: z.ZodObject<{
35
37
  }, z.core.$loose>>;
36
38
  }, z.core.$loose>>;
37
39
  }, z.core.$loose>;
38
- declare const pingdomGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const pingdomGetContacts: AppAction<typeof PingdomGetContactsInput, typeof PingdomGetContactsOutput, typeof pingdom.credential>;
39
41
  //#endregion
40
42
  export { pingdomGetContacts };
41
43
  //# sourceMappingURL=get-contacts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-contacts.d.cts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pingdom } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contacts.d.ts
@@ -35,7 +37,7 @@ declare const PingdomGetContactsOutput: z.ZodObject<{
35
37
  }, z.core.$loose>>;
36
38
  }, z.core.$loose>>;
37
39
  }, z.core.$loose>;
38
- declare const pingdomGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ declare const pingdomGetContacts: AppAction<typeof PingdomGetContactsInput, typeof PingdomGetContactsOutput, typeof pingdom.credential>;
39
41
  //#endregion
40
42
  export { pingdomGetContacts };
41
43
  //# sourceMappingURL=get-contacts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-contacts.d.mts","names":[],"sources":["../../src/actions/get-contacts.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-contacts.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema = z.object({\n id: z.number().int().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n}).passthrough().describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema = 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)\").nullable(),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).passthrough().describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema = z.object({\n address: z.string().describe(\"Email address for notifications\").nullable(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema = 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}).passthrough().describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique contact identifier\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\").nullable(),\n owner: z.boolean().describe(\"Whether this contact is an account owner\").nullable(),\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\").nullable(),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).passthrough().describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).passthrough().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,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC1I,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;AAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,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mC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAK7G,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-contacts.mjs","names":[],"sources":["../../src/actions/get-contacts.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\n\nexport const PingdomGetContactsInput = z.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema = z.object({\n id: z.number().int().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n}).passthrough().describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema = 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)\").nullable(),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).passthrough().describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema = z.object({\n address: z.string().describe(\"Email address for notifications\").nullable(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\").nullable(),\n}).passthrough().describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema = 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}).passthrough().describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique contact identifier\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\").nullable(),\n owner: z.boolean().describe(\"Whether this contact is an account owner\").nullable(),\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\").nullable(),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).passthrough().describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).passthrough().describe(\"Response wrapper containing a list of contacts.\");\n\nexport const pingdomGetContacts: AppAction<\n typeof PingdomGetContactsInput,\n typeof PingdomGetContactsOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AAC1I,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;AAClD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAA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EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mFAAmF;AAK7G,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-credits.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving account credits and resource usage. No parameters required - returns all account information.\");\nconst PingdomGetCredits_CreditsSchema = z.object({\n checklimit: z.number().int().describe(\"Total number of checks allowed by your account\").nullable(),\n autofillsms: z.boolean().describe(\"Whether SMS credits auto-refill is enabled\").nullable(),\n useddefault: z.number().int().describe(\"Number of default checks currently in use\").nullable(),\n availablesms: z.number().int().describe(\"Number of SMS credits available\").nullable(),\n usedrumsites: z.number().int().describe(\"Number of RUM sites currently in use\").nullable(),\n maxrumfilters: z.number().int().describe(\"Maximum number of RUM filters allowed\").nullable(),\n availablechecks: z.number().int().describe(\"Number of available checks (any type)\").nullable(),\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\").nullable(),\n usedtransaction: z.number().int().describe(\"Number of transaction checks currently in use\").nullable(),\n availablerumsites: z.number().int().describe(\"Number of available RUM (Real User Monitoring) sites\").nullable(),\n availablesmstests: z.number().int().describe(\"Number of SMS test alerts available\").nullable(),\n defaultchecklimit: z.number().int().describe(\"Limit for default (uptime) checks\").nullable(),\n autofillsms_amount: z.number().int().describe(\"Number of SMS credits to purchase when auto-refilling\").nullable(),\n maxalertingfullusers: z.number().int().describe(\"Maximum number of full alerting users allowed\").nullable(),\n autofillsms_when_left: z.number().int().describe(\"Remaining SMS credits threshold that triggers auto-refill\").nullable(),\n transactionchecklimit: z.number().int().describe(\"Limit for transaction (TMS) checks\").nullable(),\n availabledefaultchecks: z.number().int().describe(\"Number of available default checks\").nullable(),\n availablealertingfullusers: z.number().int().describe(\"Number of available full alerting user slots\").nullable(),\n availabletransactionchecks: z.number().int().describe(\"Number of available transaction checks\").nullable(),\n}).passthrough().describe(\"Account information including check limits, SMS credits, and resource usage.\");\nexport const PingdomGetCreditsOutput = z.object({\n credits: PingdomGetCredits_CreditsSchema.nullable(),\n}).passthrough().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.\",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sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pingdom } from \"../app\";\n\nexport const PingdomGetCreditsInput = z.object({}).describe(\"Request model for retrieving account credits and resource usage. No parameters required - returns all account information.\");\nconst PingdomGetCredits_CreditsSchema = z.object({\n checklimit: z.number().int().describe(\"Total number of checks allowed by your account\").nullable(),\n autofillsms: z.boolean().describe(\"Whether SMS credits auto-refill is enabled\").nullable(),\n useddefault: z.number().int().describe(\"Number of default checks currently in use\").nullable(),\n availablesms: z.number().int().describe(\"Number of SMS credits available\").nullable(),\n usedrumsites: z.number().int().describe(\"Number of RUM sites currently in use\").nullable(),\n maxrumfilters: z.number().int().describe(\"Maximum number of RUM filters allowed\").nullable(),\n availablechecks: z.number().int().describe(\"Number of available checks (any type)\").nullable(),\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\").nullable(),\n usedtransaction: z.number().int().describe(\"Number of transaction checks currently in use\").nullable(),\n availablerumsites: z.number().int().describe(\"Number of available RUM (Real User Monitoring) sites\").nullable(),\n availablesmstests: z.number().int().describe(\"Number of SMS test alerts available\").nullable(),\n defaultchecklimit: z.number().int().describe(\"Limit for default (uptime) checks\").nullable(),\n autofillsms_amount: z.number().int().describe(\"Number of SMS credits to purchase when auto-refilling\").nullable(),\n maxalertingfullusers: z.number().int().describe(\"Maximum number of full alerting users allowed\").nullable(),\n autofillsms_when_left: z.number().int().describe(\"Remaining SMS credits threshold that triggers auto-refill\").nullable(),\n transactionchecklimit: z.number().int().describe(\"Limit for transaction (TMS) checks\").nullable(),\n availabledefaultchecks: z.number().int().describe(\"Number of available default checks\").nullable(),\n availablealertingfullusers: z.number().int().describe(\"Number of available full alerting user slots\").nullable(),\n availabletransactionchecks: z.number().int().describe(\"Number of available transaction checks\").nullable(),\n}).passthrough().describe(\"Account information including check limits, SMS credits, and resource usage.\");\nexport const PingdomGetCreditsOutput = z.object({\n credits: PingdomGetCredits_CreditsSchema.nullable(),\n}).passthrough().describe(\"Response containing account credits, limits, and resource usage information.\");\n\nexport const pingdomGetCredits: AppAction<\n typeof PingdomGetCreditsInput,\n typeof PingdomGetCreditsOutput,\n typeof pingdom.credential\n> = 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":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACxL,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC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