@keystrokehq/pingdom 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-actions-alerts.cjs +1 -0
- package/dist/actions/get-actions-alerts.cjs.map +1 -1
- package/dist/actions/get-actions-alerts.d.cts +3 -21
- package/dist/actions/get-actions-alerts.d.cts.map +1 -1
- package/dist/actions/get-actions-alerts.d.mts +3 -21
- package/dist/actions/get-actions-alerts.d.mts.map +1 -1
- package/dist/actions/get-actions-alerts.mjs +1 -0
- package/dist/actions/get-actions-alerts.mjs.map +1 -1
- package/dist/actions/get-checks-list.cjs +1 -0
- package/dist/actions/get-checks-list.cjs.map +1 -1
- package/dist/actions/get-checks-list.d.cts +3 -25
- package/dist/actions/get-checks-list.d.cts.map +1 -1
- package/dist/actions/get-checks-list.d.mts +3 -25
- package/dist/actions/get-checks-list.d.mts.map +1 -1
- package/dist/actions/get-checks-list.mjs +1 -0
- package/dist/actions/get-checks-list.mjs.map +1 -1
- package/dist/actions/get-contact-details.cjs +1 -0
- package/dist/actions/get-contact-details.cjs.map +1 -1
- package/dist/actions/get-contact-details.d.cts +3 -15
- package/dist/actions/get-contact-details.d.cts.map +1 -1
- package/dist/actions/get-contact-details.d.mts +3 -15
- package/dist/actions/get-contact-details.d.mts.map +1 -1
- package/dist/actions/get-contact-details.mjs +1 -0
- package/dist/actions/get-contact-details.mjs.map +1 -1
- package/dist/actions/get-contacts.cjs +1 -0
- package/dist/actions/get-contacts.cjs.map +1 -1
- package/dist/actions/get-contacts.d.cts +3 -13
- package/dist/actions/get-contacts.d.cts.map +1 -1
- package/dist/actions/get-contacts.d.mts +3 -13
- package/dist/actions/get-contacts.d.mts.map +1 -1
- package/dist/actions/get-contacts.mjs +1 -0
- package/dist/actions/get-contacts.mjs.map +1 -1
- package/dist/actions/get-credits.cjs +1 -0
- package/dist/actions/get-credits.cjs.map +1 -1
- package/dist/actions/get-credits.d.cts +3 -13
- package/dist/actions/get-credits.d.cts.map +1 -1
- package/dist/actions/get-credits.d.mts +3 -13
- package/dist/actions/get-credits.d.mts.map +1 -1
- package/dist/actions/get-credits.mjs +1 -0
- package/dist/actions/get-credits.mjs.map +1 -1
- package/dist/actions/get-list-maintenance-occurrences.cjs +1 -0
- package/dist/actions/get-list-maintenance-occurrences.cjs.map +1 -1
- package/dist/actions/get-list-maintenance-occurrences.d.cts +3 -19
- package/dist/actions/get-list-maintenance-occurrences.d.cts.map +1 -1
- package/dist/actions/get-list-maintenance-occurrences.d.mts +3 -19
- package/dist/actions/get-list-maintenance-occurrences.d.mts.map +1 -1
- package/dist/actions/get-list-maintenance-occurrences.mjs +1 -0
- package/dist/actions/get-list-maintenance-occurrences.mjs.map +1 -1
- package/dist/actions/get-maintenance-windows.cjs +1 -0
- package/dist/actions/get-maintenance-windows.cjs.map +1 -1
- package/dist/actions/get-maintenance-windows.d.cts +3 -18
- package/dist/actions/get-maintenance-windows.d.cts.map +1 -1
- package/dist/actions/get-maintenance-windows.d.mts +3 -18
- package/dist/actions/get-maintenance-windows.d.mts.map +1 -1
- package/dist/actions/get-maintenance-windows.mjs +1 -0
- package/dist/actions/get-maintenance-windows.mjs.map +1 -1
- package/dist/actions/get-probes.cjs +1 -0
- package/dist/actions/get-probes.cjs.map +1 -1
- package/dist/actions/get-probes.d.cts +3 -13
- package/dist/actions/get-probes.d.cts.map +1 -1
- package/dist/actions/get-probes.d.mts +3 -13
- package/dist/actions/get-probes.d.mts.map +1 -1
- package/dist/actions/get-probes.mjs +1 -0
- package/dist/actions/get-probes.mjs.map +1 -1
- package/dist/actions/get-reference-data.cjs +1 -0
- package/dist/actions/get-reference-data.cjs.map +1 -1
- package/dist/actions/get-reference-data.d.cts +3 -13
- package/dist/actions/get-reference-data.d.cts.map +1 -1
- package/dist/actions/get-reference-data.d.mts +3 -13
- package/dist/actions/get-reference-data.d.mts.map +1 -1
- package/dist/actions/get-reference-data.mjs +1 -0
- package/dist/actions/get-reference-data.mjs.map +1 -1
- package/dist/actions/get-single-check.cjs +1 -0
- package/dist/actions/get-single-check.cjs.map +1 -1
- package/dist/actions/get-single-check.d.cts +3 -22
- package/dist/actions/get-single-check.d.cts.map +1 -1
- package/dist/actions/get-single-check.d.mts +3 -22
- package/dist/actions/get-single-check.d.mts.map +1 -1
- package/dist/actions/get-single-check.mjs +1 -0
- package/dist/actions/get-single-check.mjs.map +1 -1
- package/dist/actions/get-team-details.cjs +1 -0
- package/dist/actions/get-team-details.cjs.map +1 -1
- package/dist/actions/get-team-details.d.cts +3 -15
- package/dist/actions/get-team-details.d.cts.map +1 -1
- package/dist/actions/get-team-details.d.mts +3 -15
- package/dist/actions/get-team-details.d.mts.map +1 -1
- package/dist/actions/get-team-details.mjs +1 -0
- package/dist/actions/get-team-details.mjs.map +1 -1
- package/dist/actions/get-teams.cjs +1 -0
- package/dist/actions/get-teams.cjs.map +1 -1
- package/dist/actions/get-teams.d.cts +3 -13
- package/dist/actions/get-teams.d.cts.map +1 -1
- package/dist/actions/get-teams.d.mts +3 -13
- package/dist/actions/get-teams.d.mts.map +1 -1
- package/dist/actions/get-teams.mjs +1 -0
- package/dist/actions/get-teams.mjs.map +1 -1
- package/dist/actions/get-tms-transaction-checks-list.cjs +1 -0
- package/dist/actions/get-tms-transaction-checks-list.cjs.map +1 -1
- package/dist/actions/get-tms-transaction-checks-list.d.cts +3 -16
- package/dist/actions/get-tms-transaction-checks-list.d.cts.map +1 -1
- package/dist/actions/get-tms-transaction-checks-list.d.mts +3 -16
- package/dist/actions/get-tms-transaction-checks-list.d.mts.map +1 -1
- package/dist/actions/get-tms-transaction-checks-list.mjs +1 -0
- package/dist/actions/get-tms-transaction-checks-list.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["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:
|
|
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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { 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:
|
|
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 +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":"
|
|
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,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACjK,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC7K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACxJ,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAClH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,oDAAoD;AACtH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,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,27 +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:
|
|
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<"pingdom", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const pingdomGetActionsAlerts: AppAction<typeof PingdomGetActionsAlertsInput, typeof PingdomGetActionsAlertsOutput, typeof pingdom.credential>;
|
|
45
27
|
//#endregion
|
|
46
28
|
export { pingdomGetActionsAlerts };
|
|
47
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":"
|
|
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,27 +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:
|
|
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<"pingdom", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const pingdomGetActionsAlerts: AppAction<typeof PingdomGetActionsAlertsInput, typeof PingdomGetActionsAlertsOutput, typeof pingdom.credential>;
|
|
45
27
|
//#endregion
|
|
46
28
|
export { pingdomGetActionsAlerts };
|
|
47
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":"
|
|
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 +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":"
|
|
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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AAC,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 +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":"
|
|
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,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;C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cA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uBAAuB;CAClF,QAAQ,kCAAkC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,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,31 +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:
|
|
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<"pingdom", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pingdomGetChecksList: AppAction<typeof PingdomGetChecksListInput, typeof PingdomGetChecksListOutput, typeof pingdom.credential>;
|
|
63
41
|
//#endregion
|
|
64
42
|
export { pingdomGetChecksList };
|
|
65
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":"
|
|
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,31 +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:
|
|
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<"pingdom", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pingdomGetChecksList: AppAction<typeof PingdomGetChecksListInput, typeof PingdomGetChecksListOutput, typeof pingdom.credential>;
|
|
63
41
|
//#endregion
|
|
64
42
|
export { pingdomGetChecksList };
|
|
65
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":"
|
|
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 +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,\n});\n"],"mappings":"
|
|
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,O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+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":"
|
|
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,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AC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,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,21 +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:
|
|
32
|
-
contactid: number;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const pingdomGetContactDetails: AppAction<typeof PingdomGetContactDetailsInput, typeof PingdomGetContactDetailsOutput, typeof pingdom.credential>;
|
|
46
34
|
//#endregion
|
|
47
35
|
export { pingdomGetContactDetails };
|
|
48
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":"
|
|
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,21 +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:
|
|
32
|
-
contactid: number;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
33
|
+
declare const pingdomGetContactDetails: AppAction<typeof PingdomGetContactDetailsInput, typeof PingdomGetContactDetailsOutput, typeof pingdom.credential>;
|
|
46
34
|
//#endregion
|
|
47
35
|
export { pingdomGetContactDetails };
|
|
48
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":"
|
|
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 +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":"
|
|
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,CA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uCAAuC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,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 +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: PingdomGetContactsInput,\n output: PingdomGetContactsOutput,\n});\n"],"mappings":"
|
|
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,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AC3F,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,19 +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:
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pingdomGetContacts: AppAction<typeof PingdomGetContactsInput, typeof PingdomGetContactsOutput, typeof pingdom.credential>;
|
|
51
41
|
//#endregion
|
|
52
42
|
export { pingdomGetContacts };
|
|
53
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":"
|
|
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,19 +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:
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pingdom", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const pingdomGetContacts: AppAction<typeof PingdomGetContactsInput, typeof PingdomGetContactsOutput, typeof pingdom.credential>;
|
|
51
41
|
//#endregion
|
|
52
42
|
export { pingdomGetContacts };
|
|
53
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":"
|
|
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"}
|