@keystrokehq/pingdom 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/get-actions-alerts.cjs +7 -7
  4. package/dist/actions/get-actions-alerts.cjs.map +1 -1
  5. package/dist/actions/get-actions-alerts.d.cts +29 -3
  6. package/dist/actions/get-actions-alerts.d.cts.map +1 -1
  7. package/dist/actions/get-actions-alerts.d.mts +29 -3
  8. package/dist/actions/get-actions-alerts.d.mts.map +1 -1
  9. package/dist/actions/get-actions-alerts.mjs +7 -7
  10. package/dist/actions/get-actions-alerts.mjs.map +1 -1
  11. package/dist/actions/get-checks-list.cjs +12 -12
  12. package/dist/actions/get-checks-list.cjs.map +1 -1
  13. package/dist/actions/get-checks-list.d.cts +47 -3
  14. package/dist/actions/get-checks-list.d.cts.map +1 -1
  15. package/dist/actions/get-checks-list.d.mts +47 -3
  16. package/dist/actions/get-checks-list.d.mts.map +1 -1
  17. package/dist/actions/get-checks-list.mjs +12 -12
  18. package/dist/actions/get-checks-list.mjs.map +1 -1
  19. package/dist/actions/get-contact-details.cjs +18 -18
  20. package/dist/actions/get-contact-details.cjs.map +1 -1
  21. package/dist/actions/get-contact-details.d.cts +30 -3
  22. package/dist/actions/get-contact-details.d.cts.map +1 -1
  23. package/dist/actions/get-contact-details.d.mts +30 -3
  24. package/dist/actions/get-contact-details.d.mts.map +1 -1
  25. package/dist/actions/get-contact-details.mjs +18 -18
  26. package/dist/actions/get-contact-details.mjs.map +1 -1
  27. package/dist/actions/get-contacts.cjs +20 -20
  28. package/dist/actions/get-contacts.cjs.map +1 -1
  29. package/dist/actions/get-contacts.d.cts +35 -3
  30. package/dist/actions/get-contacts.d.cts.map +1 -1
  31. package/dist/actions/get-contacts.d.mts +35 -3
  32. package/dist/actions/get-contacts.d.mts.map +1 -1
  33. package/dist/actions/get-contacts.mjs +20 -20
  34. package/dist/actions/get-contacts.mjs.map +1 -1
  35. package/dist/actions/get-credits.cjs +21 -21
  36. package/dist/actions/get-credits.cjs.map +1 -1
  37. package/dist/actions/get-credits.d.cts +26 -3
  38. package/dist/actions/get-credits.d.cts.map +1 -1
  39. package/dist/actions/get-credits.d.mts +26 -3
  40. package/dist/actions/get-credits.d.mts.map +1 -1
  41. package/dist/actions/get-credits.mjs +21 -21
  42. package/dist/actions/get-credits.mjs.map +1 -1
  43. package/dist/actions/get-list-maintenance-occurrences.cjs +9 -9
  44. package/dist/actions/get-list-maintenance-occurrences.cjs.map +1 -1
  45. package/dist/actions/get-list-maintenance-occurrences.d.cts +25 -3
  46. package/dist/actions/get-list-maintenance-occurrences.d.cts.map +1 -1
  47. package/dist/actions/get-list-maintenance-occurrences.d.mts +25 -3
  48. package/dist/actions/get-list-maintenance-occurrences.d.mts.map +1 -1
  49. package/dist/actions/get-list-maintenance-occurrences.mjs +9 -9
  50. package/dist/actions/get-list-maintenance-occurrences.mjs.map +1 -1
  51. package/dist/actions/get-maintenance-windows.cjs +14 -14
  52. package/dist/actions/get-maintenance-windows.cjs.map +1 -1
  53. package/dist/actions/get-maintenance-windows.d.cts +31 -3
  54. package/dist/actions/get-maintenance-windows.d.cts.map +1 -1
  55. package/dist/actions/get-maintenance-windows.d.mts +31 -3
  56. package/dist/actions/get-maintenance-windows.d.mts.map +1 -1
  57. package/dist/actions/get-maintenance-windows.mjs +14 -14
  58. package/dist/actions/get-maintenance-windows.mjs.map +1 -1
  59. package/dist/actions/get-probes.cjs +11 -11
  60. package/dist/actions/get-probes.cjs.map +1 -1
  61. package/dist/actions/get-probes.d.cts +16 -3
  62. package/dist/actions/get-probes.d.cts.map +1 -1
  63. package/dist/actions/get-probes.d.mts +16 -3
  64. package/dist/actions/get-probes.d.mts.map +1 -1
  65. package/dist/actions/get-probes.mjs +11 -11
  66. package/dist/actions/get-probes.mjs.map +1 -1
  67. package/dist/actions/get-reference-data.cjs +26 -26
  68. package/dist/actions/get-reference-data.cjs.map +1 -1
  69. package/dist/actions/get-reference-data.d.cts +35 -3
  70. package/dist/actions/get-reference-data.d.cts.map +1 -1
  71. package/dist/actions/get-reference-data.d.mts +35 -3
  72. package/dist/actions/get-reference-data.d.mts.map +1 -1
  73. package/dist/actions/get-reference-data.mjs +26 -26
  74. package/dist/actions/get-reference-data.mjs.map +1 -1
  75. package/dist/actions/get-single-check.cjs +7 -7
  76. package/dist/actions/get-single-check.cjs.map +1 -1
  77. package/dist/actions/get-single-check.d.cts +37 -3
  78. package/dist/actions/get-single-check.d.cts.map +1 -1
  79. package/dist/actions/get-single-check.d.mts +37 -3
  80. package/dist/actions/get-single-check.d.mts.map +1 -1
  81. package/dist/actions/get-single-check.mjs +7 -7
  82. package/dist/actions/get-single-check.mjs.map +1 -1
  83. package/dist/actions/get-team-details.cjs +12 -12
  84. package/dist/actions/get-team-details.cjs.map +1 -1
  85. package/dist/actions/get-team-details.d.cts +22 -3
  86. package/dist/actions/get-team-details.d.cts.map +1 -1
  87. package/dist/actions/get-team-details.d.mts +22 -3
  88. package/dist/actions/get-team-details.d.mts.map +1 -1
  89. package/dist/actions/get-team-details.mjs +12 -12
  90. package/dist/actions/get-team-details.mjs.map +1 -1
  91. package/dist/actions/get-teams.cjs +8 -8
  92. package/dist/actions/get-teams.cjs.map +1 -1
  93. package/dist/actions/get-teams.d.cts +13 -3
  94. package/dist/actions/get-teams.d.cts.map +1 -1
  95. package/dist/actions/get-teams.d.mts +13 -3
  96. package/dist/actions/get-teams.d.mts.map +1 -1
  97. package/dist/actions/get-teams.mjs +8 -8
  98. package/dist/actions/get-teams.mjs.map +1 -1
  99. package/dist/actions/get-tms-transaction-checks-list.cjs +8 -8
  100. package/dist/actions/get-tms-transaction-checks-list.cjs.map +1 -1
  101. package/dist/actions/get-tms-transaction-checks-list.d.cts +18 -3
  102. package/dist/actions/get-tms-transaction-checks-list.d.cts.map +1 -1
  103. package/dist/actions/get-tms-transaction-checks-list.d.mts +18 -3
  104. package/dist/actions/get-tms-transaction-checks-list.d.mts.map +1 -1
  105. package/dist/actions/get-tms-transaction-checks-list.mjs +8 -8
  106. package/dist/actions/get-tms-transaction-checks-list.mjs.map +1 -1
  107. package/dist/catalog.cjs +7 -1
  108. package/dist/catalog.cjs.map +1 -1
  109. package/dist/catalog.d.cts +8 -0
  110. package/dist/catalog.d.mts +8 -0
  111. package/dist/catalog.mjs +7 -1
  112. package/dist/catalog.mjs.map +1 -1
  113. package/package.json +2 -2
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contact-details.d.ts
4
- declare const PingdomGetContactDetailsInput: z.ZodTypeAny;
5
- declare const PingdomGetContactDetailsOutput: z.ZodTypeAny;
6
- declare const pingdomGetContactDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetContactDetailsInput: z.ZodObject<{
5
+ contactid: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const PingdomGetContactDetailsOutput: z.ZodObject<{
8
+ contact: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ owner: z.ZodNullable<z.ZodBoolean>;
13
+ teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodNumber>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>>>;
17
+ paused: z.ZodNullable<z.ZodBoolean>;
18
+ notification_targets: z.ZodNullable<z.ZodObject<{
19
+ sms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ number: z.ZodNullable<z.ZodString>;
21
+ severity: z.ZodNullable<z.ZodString>;
22
+ country_code: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$loose>>>>;
24
+ email: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ address: z.ZodNullable<z.ZodString>;
26
+ severity: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$loose>>>>;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>>;
30
+ }, 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]>;
7
34
  //#endregion
8
35
  export { pingdomGetContactDetails };
9
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,EAA+B,CAAA,CAAE,UAE8D;AAAA,cA2B/F,8BAAA,EAAgC,CAAA,CAAE,UAEyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contact-details.d.ts
4
- declare const PingdomGetContactDetailsInput: z.ZodTypeAny;
5
- declare const PingdomGetContactDetailsOutput: z.ZodTypeAny;
6
- declare const pingdomGetContactDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetContactDetailsInput: z.ZodObject<{
5
+ contactid: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const PingdomGetContactDetailsOutput: z.ZodObject<{
8
+ contact: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ owner: z.ZodNullable<z.ZodBoolean>;
13
+ teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodNumber>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>>>;
17
+ paused: z.ZodNullable<z.ZodBoolean>;
18
+ notification_targets: z.ZodNullable<z.ZodObject<{
19
+ sms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
+ number: z.ZodNullable<z.ZodString>;
21
+ severity: z.ZodNullable<z.ZodString>;
22
+ country_code: z.ZodNullable<z.ZodString>;
23
+ }, z.core.$loose>>>>;
24
+ email: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ address: z.ZodNullable<z.ZodString>;
26
+ severity: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$loose>>>>;
28
+ }, z.core.$loose>>;
29
+ }, z.core.$loose>>;
30
+ }, 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]>;
7
34
  //#endregion
8
35
  export { pingdomGetContactDetails };
9
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,EAA+B,CAAA,CAAE,UAE8D;AAAA,cA2B/F,8BAAA,EAAgC,CAAA,CAAE,UAEyB;AAAA,cAE3D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,37 +3,37 @@ import { z } from "zod";
3
3
  //#region src/actions/get-contact-details.ts
4
4
  const PingdomGetContactDetailsInput = z.object({ contactid: z.number().int().describe("Unique identifier of the alerting contact to retrieve") }).describe("Request model for retrieving a specific alerting contact’s details including contact methods.");
5
5
  const PingdomGetContactDetails_TeamInfoSchema = z.object({
6
- id: z.number().int().describe("Unique team identifier"),
7
- name: z.string().describe("Name of the team")
8
- }).describe("Team information associated with a contact.");
6
+ id: z.number().int().describe("Unique team identifier").nullable(),
7
+ name: z.string().describe("Name of the team").nullable()
8
+ }).passthrough().describe("Team information associated with a contact.");
9
9
  const PingdomGetContactDetails_SmsNotificationTargetSchema = z.object({
10
- number: z.string().describe("Phone number for SMS notifications"),
11
- severity: z.string().describe("Notification severity level"),
12
- country_code: z.string().describe("International country calling code")
13
- }).describe("SMS notification target with severity and phone details.");
10
+ number: z.string().describe("Phone number for SMS notifications").nullable(),
11
+ severity: z.string().describe("Notification severity level").nullable(),
12
+ country_code: z.string().describe("International country calling code").nullable()
13
+ }).passthrough().describe("SMS notification target with severity and phone details.");
14
14
  const PingdomGetContactDetails_EmailNotificationTargetSchema = z.object({
15
- address: z.string().describe("Email address for notifications"),
16
- severity: z.string().describe("Notification severity level (e.g., HIGH, LOW)")
17
- }).describe("Email notification target with severity level.");
15
+ address: z.string().describe("Email address for notifications").nullable(),
16
+ severity: z.string().describe("Notification severity level (e.g., HIGH, LOW)").nullable()
17
+ }).passthrough().describe("Email notification target with severity level.");
18
18
  const PingdomGetContactDetails_NotificationTargetsSchema = z.object({
19
19
  sms: z.array(PingdomGetContactDetails_SmsNotificationTargetSchema).describe("SMS notification targets").nullable().optional(),
20
20
  email: z.array(PingdomGetContactDetails_EmailNotificationTargetSchema).describe("Email notification targets").nullable().optional()
21
- }).describe("Container for all notification targets configured for a contact.");
21
+ }).passthrough().describe("Container for all notification targets configured for a contact.");
22
22
  const PingdomGetContactDetails_ContactDetailsSchema = z.object({
23
- id: z.number().int().describe("Unique contact identifier"),
24
- name: z.string().describe("Name of the contact"),
25
- type: z.string().describe("Type of contact (e.g., 'user')"),
26
- owner: z.boolean().describe("Whether this contact is the account owner"),
23
+ id: z.number().int().describe("Unique contact identifier").nullable(),
24
+ name: z.string().describe("Name of the contact").nullable(),
25
+ type: z.string().describe("Type of contact (e.g., 'user')").nullable(),
26
+ owner: z.boolean().describe("Whether this contact is the account owner").nullable(),
27
27
  teams: z.array(PingdomGetContactDetails_TeamInfoSchema).describe("Teams this contact belongs to").nullable().optional(),
28
- paused: z.boolean().describe("Whether notifications for this contact are paused"),
28
+ paused: z.boolean().describe("Whether notifications for this contact are paused").nullable(),
29
29
  notification_targets: PingdomGetContactDetails_NotificationTargetsSchema.nullable()
30
- }).describe("Detailed information about a Pingdom alerting contact.");
30
+ }).passthrough().describe("Detailed information about a Pingdom alerting contact.");
31
31
  const pingdomGetContactDetails = action("PINGDOM_GET_CONTACT_DETAILS", {
32
32
  slug: "pingdom-get-contact-details",
33
33
  name: "Get Contact Details",
34
34
  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.",
35
35
  input: PingdomGetContactDetailsInput,
36
- output: z.object({ contact: PingdomGetContactDetails_ContactDetailsSchema.nullable() }).describe("Response wrapper containing detailed contact information.")
36
+ output: z.object({ contact: PingdomGetContactDetails_ContactDetailsSchema.nullable() }).passthrough().describe("Response wrapper containing detailed contact information.")
37
37
  });
38
38
  //#endregion
39
39
  export { pingdomGetContactDetails };
@@ -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.ZodTypeAny = z.object({\n contactid: z.number().int().describe(\"Unique identifier of the alerting contact to retrieve\"),\n}).describe(\"Request model for retrieving a specific alerting contact’s details including contact methods.\");\nconst PingdomGetContactDetails_TeamInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique team identifier\"),\n name: z.string().describe(\"Name of the team\"),\n}).describe(\"Team information associated with a contact.\");\nconst PingdomGetContactDetails_SmsNotificationTargetSchema: z.ZodTypeAny = z.object({\n number: z.string().describe(\"Phone number for SMS notifications\"),\n severity: z.string().describe(\"Notification severity level\"),\n country_code: z.string().describe(\"International country calling code\"),\n}).describe(\"SMS notification target with severity and phone details.\");\nconst PingdomGetContactDetails_EmailNotificationTargetSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Email address for notifications\"),\n severity: z.string().describe(\"Notification severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Email notification target with severity level.\");\nconst PingdomGetContactDetails_NotificationTargetsSchema: z.ZodTypeAny = z.object({\n sms: z.array(PingdomGetContactDetails_SmsNotificationTargetSchema).describe(\"SMS notification targets\").nullable().optional(),\n email: z.array(PingdomGetContactDetails_EmailNotificationTargetSchema).describe(\"Email notification targets\").nullable().optional(),\n}).describe(\"Container for all notification targets configured for a contact.\");\nconst PingdomGetContactDetails_ContactDetailsSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique contact identifier\"),\n name: z.string().describe(\"Name of the contact\"),\n type: z.string().describe(\"Type of contact (e.g., 'user')\"),\n owner: z.boolean().describe(\"Whether this contact is the account owner\"),\n teams: z.array(PingdomGetContactDetails_TeamInfoSchema).describe(\"Teams this contact belongs to\").nullable().optional(),\n paused: z.boolean().describe(\"Whether notifications for this contact are paused\"),\n notification_targets: PingdomGetContactDetails_NotificationTargetsSchema.nullable(),\n}).describe(\"Detailed information about a Pingdom alerting contact.\");\nexport const PingdomGetContactDetailsOutput: z.ZodTypeAny = z.object({\n contact: PingdomGetContactDetails_ContactDetailsSchema.nullable(),\n}).describe(\"Response wrapper containing detailed contact information.\");\n\nexport const pingdomGetContactDetails = action(\"PINGDOM_GET_CONTACT_DETAILS\", {\n slug: \"pingdom-get-contact-details\",\n name: \"Get Contact Details\",\n description: \"Retrieves comprehensive details of a specific Pingdom alerting contact by ID, including all configured notification methods (email, SMS), team memberships, contact type, and pause status. Use this when you need complete information about a contact's notification configuration.\",\n input: PingdomGetContactDetailsInput,\n output: PingdomGetContactDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,EAC9F,CAAC,CAAC,CAAC,SAAS,+FAA+F;AAC3G,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;AAC9C,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,uDAAqE,EAAE,OAAO;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACxE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,yDAAuE,EAAE,OAAO;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qDAAmE,EAAE,OAAO;CAChF,KAAK,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CACvE,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CAChF,sBAAsB,mDAAmD,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAKpE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,8CAA8C,SAAS,EAClE,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
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,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,yDAAyD,EAAE,OAAO;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,qDAAqD,EAAE,OAAO;CAClE,KAAK,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,MAAM,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,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"}
@@ -3,43 +3,43 @@ let zod = require("zod");
3
3
  //#region src/actions/get-contacts.ts
4
4
  const PingdomGetContactsInput = zod.z.object({}).describe("Request model for retrieving all alerting contacts. No parameters required.");
5
5
  const PingdomGetContacts_ContactTeamSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Team ID"),
7
- name: zod.z.string().describe("Team name")
8
- }).describe("Represents a team that a contact belongs to.");
6
+ id: zod.z.number().int().describe("Team ID").nullable(),
7
+ name: zod.z.string().describe("Team name").nullable()
8
+ }).passthrough().describe("Represents a team that a contact belongs to.");
9
9
  const PingdomGetContacts_SMSNotificationSchema = zod.z.object({
10
10
  number: zod.z.string().describe("Phone number for SMS").nullable().optional(),
11
11
  provider: zod.z.string().describe("SMS provider").nullable().optional(),
12
- severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)"),
12
+ severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable(),
13
13
  country_code: zod.z.string().describe("Country code for SMS number").nullable().optional()
14
- }).describe("Represents an SMS notification target.");
14
+ }).passthrough().describe("Represents an SMS notification target.");
15
15
  const PingdomGetContacts_AGCMNotificationSchema = zod.z.object({
16
16
  token: zod.z.string().describe("AGCM device token").nullable().optional(),
17
- severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)")
18
- }).describe("Represents an Android Google Cloud Messaging (Android) target.");
17
+ severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable()
18
+ }).passthrough().describe("Represents an Android Google Cloud Messaging (Android) target.");
19
19
  const PingdomGetContacts_APNSNotificationSchema = zod.z.object({
20
20
  token: zod.z.string().describe("APNS device token").nullable().optional(),
21
- severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)")
22
- }).describe("Represents an Apple Push Notification Service (iOS) target.");
21
+ severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable()
22
+ }).passthrough().describe("Represents an Apple Push Notification Service (iOS) target.");
23
23
  const PingdomGetContacts_EmailNotificationSchema = zod.z.object({
24
- address: zod.z.string().describe("Email address for notifications"),
25
- severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)")
26
- }).describe("Represents an email notification target.");
24
+ address: zod.z.string().describe("Email address for notifications").nullable(),
25
+ severity: zod.z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable()
26
+ }).passthrough().describe("Represents an email notification target.");
27
27
  const PingdomGetContacts_NotificationTargetsSchema = zod.z.object({
28
28
  sms: zod.z.array(PingdomGetContacts_SMSNotificationSchema).describe("List of SMS notification targets").nullable().optional(),
29
29
  agcm: zod.z.array(PingdomGetContacts_AGCMNotificationSchema).describe("List of Android Google Cloud Messaging targets").nullable().optional(),
30
30
  apns: zod.z.array(PingdomGetContacts_APNSNotificationSchema).describe("List of Apple Push Notification Service (iOS) targets").nullable().optional(),
31
31
  email: zod.z.array(PingdomGetContacts_EmailNotificationSchema).describe("List of email notification targets").nullable().optional()
32
- }).describe("Contains all notification methods configured for a contact.");
32
+ }).passthrough().describe("Contains all notification methods configured for a contact.");
33
33
  const PingdomGetContacts_ContactSchema = zod.z.object({
34
- id: zod.z.number().int().describe("Unique contact identifier"),
35
- name: zod.z.string().describe("Contact's name"),
36
- type: zod.z.string().describe("Type of contact (e.g., 'user' for user contacts)"),
37
- owner: zod.z.boolean().describe("Whether this contact is an account owner"),
34
+ id: zod.z.number().int().describe("Unique contact identifier").nullable(),
35
+ name: zod.z.string().describe("Contact's name").nullable(),
36
+ type: zod.z.string().describe("Type of contact (e.g., 'user' for user contacts)").nullable(),
37
+ owner: zod.z.boolean().describe("Whether this contact is an account owner").nullable(),
38
38
  teams: zod.z.array(PingdomGetContacts_ContactTeamSchema).describe("List of teams this contact belongs to").nullable().optional(),
39
- paused: zod.z.boolean().describe("Whether notifications for this contact are paused"),
39
+ paused: zod.z.boolean().describe("Whether notifications for this contact are paused").nullable(),
40
40
  notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable()
41
- }).describe("Represents a Pingdom alerting contact with all notification methods and metadata.");
42
- const PingdomGetContactsOutput = zod.z.object({ contacts: zod.z.array(PingdomGetContacts_ContactSchema).describe("A list of all alerting contacts") }).describe("Response wrapper containing a list of contacts.");
41
+ }).passthrough().describe("Represents a Pingdom alerting contact with all notification methods and metadata.");
42
+ const PingdomGetContactsOutput = zod.z.object({ contacts: zod.z.array(PingdomGetContacts_ContactSchema).describe("A list of all alerting contacts") }).passthrough().describe("Response wrapper containing a list of contacts.");
43
43
  const pingdomGetContacts = require_action.action("PINGDOM_GET_CONTACTS", {
44
44
  slug: "pingdom-get-contacts",
45
45
  name: "Get Contacts",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Team ID\"),\n name: z.string().describe(\"Team name\"),\n}).describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema: z.ZodTypeAny = z.object({\n number: z.string().describe(\"Phone number for SMS\").nullable().optional(),\n provider: z.string().describe(\"SMS provider\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Email address for notifications\"),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema: z.ZodTypeAny = z.object({\n sms: z.array(PingdomGetContacts_SMSNotificationSchema).describe(\"List of SMS notification targets\").nullable().optional(),\n agcm: z.array(PingdomGetContacts_AGCMNotificationSchema).describe(\"List of Android Google Cloud Messaging targets\").nullable().optional(),\n apns: z.array(PingdomGetContacts_APNSNotificationSchema).describe(\"List of Apple Push Notification Service (iOS) targets\").nullable().optional(),\n email: z.array(PingdomGetContacts_EmailNotificationSchema).describe(\"List of email notification targets\").nullable().optional(),\n}).describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique contact identifier\"),\n name: z.string().describe(\"Contact's name\"),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\"),\n owner: z.boolean().describe(\"Whether this contact is an account owner\"),\n teams: z.array(PingdomGetContacts_ContactTeamSchema).describe(\"List of teams this contact belongs to\").nullable().optional(),\n paused: z.boolean().describe(\"Whether notifications for this contact are paused\"),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput: z.ZodTypeAny = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).describe(\"Response wrapper containing a list of contacts.\");\n\nexport const pingdomGetContacts = action(\"PINGDOM_GET_CONTACTS\", {\n slug: \"pingdom-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve all alerting contacts. Use when you need to list every contact along with their notification targets after establishing a Pingdom session.\",\n input: PingdomGetContactsInput,\n output: PingdomGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACxJ,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;CACvC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;AACvC,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SA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A,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACtE,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CAChF,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,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 { 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,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,IAA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import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contacts.d.ts
4
- declare const PingdomGetContactsInput: z.ZodTypeAny;
5
- declare const PingdomGetContactsOutput: z.ZodTypeAny;
6
- declare const pingdomGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetContactsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PingdomGetContactsOutput: z.ZodObject<{
6
+ contacts: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodNumber>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ type: z.ZodNullable<z.ZodString>;
10
+ owner: z.ZodNullable<z.ZodBoolean>;
11
+ teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>>>;
15
+ paused: z.ZodNullable<z.ZodBoolean>;
16
+ notification_targets: z.ZodNullable<z.ZodObject<{
17
+ sms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ severity: z.ZodNullable<z.ZodString>;
21
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>>>;
23
+ agcm: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ severity: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$loose>>>>;
27
+ apns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
28
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ severity: z.ZodNullable<z.ZodString>;
30
+ }, z.core.$loose>>>>;
31
+ email: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32
+ address: z.ZodNullable<z.ZodString>;
33
+ severity: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>>>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>>;
37
+ }, 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]>;
7
39
  //#endregion
8
40
  export { pingdomGetContacts };
9
41
  //# 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,EAAyB,CAAA,CAAE,UAAiH;AAAA,cAsC5I,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,41 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contacts.d.ts
4
- declare const PingdomGetContactsInput: z.ZodTypeAny;
5
- declare const PingdomGetContactsOutput: z.ZodTypeAny;
6
- declare const pingdomGetContacts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetContactsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PingdomGetContactsOutput: z.ZodObject<{
6
+ contacts: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodNumber>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ type: z.ZodNullable<z.ZodString>;
10
+ owner: z.ZodNullable<z.ZodBoolean>;
11
+ teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>>>;
15
+ paused: z.ZodNullable<z.ZodBoolean>;
16
+ notification_targets: z.ZodNullable<z.ZodObject<{
17
+ sms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ severity: z.ZodNullable<z.ZodString>;
21
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>>>;
23
+ agcm: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ severity: z.ZodNullable<z.ZodString>;
26
+ }, z.core.$loose>>>>;
27
+ apns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
28
+ token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ severity: z.ZodNullable<z.ZodString>;
30
+ }, z.core.$loose>>>>;
31
+ email: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
32
+ address: z.ZodNullable<z.ZodString>;
33
+ severity: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>>>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>>;
37
+ }, 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]>;
7
39
  //#endregion
8
40
  export { pingdomGetContacts };
9
41
  //# 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,EAAyB,CAAA,CAAE,UAAiH;AAAA,cAsC5I,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -3,48 +3,48 @@ import { z } from "zod";
3
3
  //#region src/actions/get-contacts.ts
4
4
  const PingdomGetContactsInput = z.object({}).describe("Request model for retrieving all alerting contacts. No parameters required.");
5
5
  const PingdomGetContacts_ContactTeamSchema = z.object({
6
- id: z.number().int().describe("Team ID"),
7
- name: z.string().describe("Team name")
8
- }).describe("Represents a team that a contact belongs to.");
6
+ id: z.number().int().describe("Team ID").nullable(),
7
+ name: z.string().describe("Team name").nullable()
8
+ }).passthrough().describe("Represents a team that a contact belongs to.");
9
9
  const PingdomGetContacts_SMSNotificationSchema = z.object({
10
10
  number: z.string().describe("Phone number for SMS").nullable().optional(),
11
11
  provider: z.string().describe("SMS provider").nullable().optional(),
12
- severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)"),
12
+ severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable(),
13
13
  country_code: z.string().describe("Country code for SMS number").nullable().optional()
14
- }).describe("Represents an SMS notification target.");
14
+ }).passthrough().describe("Represents an SMS notification target.");
15
15
  const PingdomGetContacts_AGCMNotificationSchema = z.object({
16
16
  token: z.string().describe("AGCM device token").nullable().optional(),
17
- severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)")
18
- }).describe("Represents an Android Google Cloud Messaging (Android) target.");
17
+ severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable()
18
+ }).passthrough().describe("Represents an Android Google Cloud Messaging (Android) target.");
19
19
  const PingdomGetContacts_APNSNotificationSchema = z.object({
20
20
  token: z.string().describe("APNS device token").nullable().optional(),
21
- severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)")
22
- }).describe("Represents an Apple Push Notification Service (iOS) target.");
21
+ severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable()
22
+ }).passthrough().describe("Represents an Apple Push Notification Service (iOS) target.");
23
23
  const PingdomGetContacts_EmailNotificationSchema = z.object({
24
- address: z.string().describe("Email address for notifications"),
25
- severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)")
26
- }).describe("Represents an email notification target.");
24
+ address: z.string().describe("Email address for notifications").nullable(),
25
+ severity: z.string().describe("Alert severity level (e.g., HIGH, LOW)").nullable()
26
+ }).passthrough().describe("Represents an email notification target.");
27
27
  const PingdomGetContacts_NotificationTargetsSchema = z.object({
28
28
  sms: z.array(PingdomGetContacts_SMSNotificationSchema).describe("List of SMS notification targets").nullable().optional(),
29
29
  agcm: z.array(PingdomGetContacts_AGCMNotificationSchema).describe("List of Android Google Cloud Messaging targets").nullable().optional(),
30
30
  apns: z.array(PingdomGetContacts_APNSNotificationSchema).describe("List of Apple Push Notification Service (iOS) targets").nullable().optional(),
31
31
  email: z.array(PingdomGetContacts_EmailNotificationSchema).describe("List of email notification targets").nullable().optional()
32
- }).describe("Contains all notification methods configured for a contact.");
32
+ }).passthrough().describe("Contains all notification methods configured for a contact.");
33
33
  const PingdomGetContacts_ContactSchema = z.object({
34
- id: z.number().int().describe("Unique contact identifier"),
35
- name: z.string().describe("Contact's name"),
36
- type: z.string().describe("Type of contact (e.g., 'user' for user contacts)"),
37
- owner: z.boolean().describe("Whether this contact is an account owner"),
34
+ id: z.number().int().describe("Unique contact identifier").nullable(),
35
+ name: z.string().describe("Contact's name").nullable(),
36
+ type: z.string().describe("Type of contact (e.g., 'user' for user contacts)").nullable(),
37
+ owner: z.boolean().describe("Whether this contact is an account owner").nullable(),
38
38
  teams: z.array(PingdomGetContacts_ContactTeamSchema).describe("List of teams this contact belongs to").nullable().optional(),
39
- paused: z.boolean().describe("Whether notifications for this contact are paused"),
39
+ paused: z.boolean().describe("Whether notifications for this contact are paused").nullable(),
40
40
  notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable()
41
- }).describe("Represents a Pingdom alerting contact with all notification methods and metadata.");
41
+ }).passthrough().describe("Represents a Pingdom alerting contact with all notification methods and metadata.");
42
42
  const pingdomGetContacts = action("PINGDOM_GET_CONTACTS", {
43
43
  slug: "pingdom-get-contacts",
44
44
  name: "Get Contacts",
45
45
  description: "Tool to retrieve all alerting contacts. Use when you need to list every contact along with their notification targets after establishing a Pingdom session.",
46
46
  input: PingdomGetContactsInput,
47
- output: z.object({ contacts: z.array(PingdomGetContacts_ContactSchema).describe("A list of all alerting contacts") }).describe("Response wrapper containing a list of contacts.")
47
+ output: z.object({ contacts: z.array(PingdomGetContacts_ContactSchema).describe("A list of all alerting contacts") }).passthrough().describe("Response wrapper containing a list of contacts.")
48
48
  });
49
49
  //#endregion
50
50
  export { pingdomGetContacts };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving all alerting contacts. No parameters required.\");\nconst PingdomGetContacts_ContactTeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Team ID\"),\n name: z.string().describe(\"Team name\"),\n}).describe(\"Represents a team that a contact belongs to.\");\nconst PingdomGetContacts_SMSNotificationSchema: z.ZodTypeAny = z.object({\n number: z.string().describe(\"Phone number for SMS\").nullable().optional(),\n provider: z.string().describe(\"SMS provider\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n country_code: z.string().describe(\"Country code for SMS number\").nullable().optional(),\n}).describe(\"Represents an SMS notification target.\");\nconst PingdomGetContacts_AGCMNotificationSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"AGCM device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an Android Google Cloud Messaging (Android) target.\");\nconst PingdomGetContacts_APNSNotificationSchema: z.ZodTypeAny = z.object({\n token: z.string().describe(\"APNS device token\").nullable().optional(),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an Apple Push Notification Service (iOS) target.\");\nconst PingdomGetContacts_EmailNotificationSchema: z.ZodTypeAny = z.object({\n address: z.string().describe(\"Email address for notifications\"),\n severity: z.string().describe(\"Alert severity level (e.g., HIGH, LOW)\"),\n}).describe(\"Represents an email notification target.\");\nconst PingdomGetContacts_NotificationTargetsSchema: z.ZodTypeAny = z.object({\n sms: z.array(PingdomGetContacts_SMSNotificationSchema).describe(\"List of SMS notification targets\").nullable().optional(),\n agcm: z.array(PingdomGetContacts_AGCMNotificationSchema).describe(\"List of Android Google Cloud Messaging targets\").nullable().optional(),\n apns: z.array(PingdomGetContacts_APNSNotificationSchema).describe(\"List of Apple Push Notification Service (iOS) targets\").nullable().optional(),\n email: z.array(PingdomGetContacts_EmailNotificationSchema).describe(\"List of email notification targets\").nullable().optional(),\n}).describe(\"Contains all notification methods configured for a contact.\");\nconst PingdomGetContacts_ContactSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique contact identifier\"),\n name: z.string().describe(\"Contact's name\"),\n type: z.string().describe(\"Type of contact (e.g., 'user' for user contacts)\"),\n owner: z.boolean().describe(\"Whether this contact is an account owner\"),\n teams: z.array(PingdomGetContacts_ContactTeamSchema).describe(\"List of teams this contact belongs to\").nullable().optional(),\n paused: z.boolean().describe(\"Whether notifications for this contact are paused\"),\n notification_targets: PingdomGetContacts_NotificationTargetsSchema.nullable(),\n}).describe(\"Represents a Pingdom alerting contact with all notification methods and metadata.\");\nexport const PingdomGetContactsOutput: z.ZodTypeAny = z.object({\n contacts: z.array(PingdomGetContacts_ContactSchema).describe(\"A list of all alerting contacts\"),\n}).describe(\"Response wrapper containing a list of contacts.\");\n\nexport const pingdomGetContacts = action(\"PINGDOM_GET_CONTACTS\", {\n slug: \"pingdom-get-contacts\",\n name: \"Get Contacts\",\n description: \"Tool to retrieve all alerting contacts. Use when you need to list every contact along with their notification targets after establishing a Pingdom session.\",\n input: PingdomGetContactsInput,\n output: PingdomGetContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACxJ,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,SAAS;CACvC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;AACvC,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,2CAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,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,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC5E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C;CACtE,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD;CAChF,sBAAsB,6CAA6C,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAK/F,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,iCAAiC,EAChG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
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,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAC1F,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBA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AC,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"}
@@ -3,28 +3,28 @@ let zod = require("zod");
3
3
  //#region src/actions/get-credits.ts
4
4
  const PingdomGetCreditsInput = zod.z.object({}).describe("Request model for retrieving account credits and resource usage. No parameters required - returns all account information.");
5
5
  const PingdomGetCredits_CreditsSchema = zod.z.object({
6
- checklimit: zod.z.number().int().describe("Total number of checks allowed by your account"),
7
- autofillsms: zod.z.boolean().describe("Whether SMS credits auto-refill is enabled"),
8
- useddefault: zod.z.number().int().describe("Number of default checks currently in use"),
9
- availablesms: zod.z.number().int().describe("Number of SMS credits available"),
10
- usedrumsites: zod.z.number().int().describe("Number of RUM sites currently in use"),
11
- maxrumfilters: zod.z.number().int().describe("Maximum number of RUM filters allowed"),
12
- availablechecks: zod.z.number().int().describe("Number of available checks (any type)"),
6
+ checklimit: zod.z.number().int().describe("Total number of checks allowed by your account").nullable(),
7
+ autofillsms: zod.z.boolean().describe("Whether SMS credits auto-refill is enabled").nullable(),
8
+ useddefault: zod.z.number().int().describe("Number of default checks currently in use").nullable(),
9
+ availablesms: zod.z.number().int().describe("Number of SMS credits available").nullable(),
10
+ usedrumsites: zod.z.number().int().describe("Number of RUM sites currently in use").nullable(),
11
+ maxrumfilters: zod.z.number().int().describe("Maximum number of RUM filters allowed").nullable(),
12
+ availablechecks: zod.z.number().int().describe("Number of available checks (any type)").nullable(),
13
13
  max_sms_overage: zod.z.number().int().describe("Maximum SMS overage allowed (null if unlimited)").nullable().optional(),
14
- maxrumpageviews: zod.z.number().int().describe("Maximum number of RUM page views allowed per month"),
15
- usedtransaction: zod.z.number().int().describe("Number of transaction checks currently in use"),
16
- availablerumsites: zod.z.number().int().describe("Number of available RUM (Real User Monitoring) sites"),
17
- availablesmstests: zod.z.number().int().describe("Number of SMS test alerts available"),
18
- defaultchecklimit: zod.z.number().int().describe("Limit for default (uptime) checks"),
19
- autofillsms_amount: zod.z.number().int().describe("Number of SMS credits to purchase when auto-refilling"),
20
- maxalertingfullusers: zod.z.number().int().describe("Maximum number of full alerting users allowed"),
21
- autofillsms_when_left: zod.z.number().int().describe("Remaining SMS credits threshold that triggers auto-refill"),
22
- transactionchecklimit: zod.z.number().int().describe("Limit for transaction (TMS) checks"),
23
- availabledefaultchecks: zod.z.number().int().describe("Number of available default checks"),
24
- availablealertingfullusers: zod.z.number().int().describe("Number of available full alerting user slots"),
25
- availabletransactionchecks: zod.z.number().int().describe("Number of available transaction checks")
26
- }).describe("Account information including check limits, SMS credits, and resource usage.");
27
- const PingdomGetCreditsOutput = zod.z.object({ credits: PingdomGetCredits_CreditsSchema.nullable() }).describe("Response containing account credits, limits, and resource usage information.");
14
+ maxrumpageviews: zod.z.number().int().describe("Maximum number of RUM page views allowed per month").nullable(),
15
+ usedtransaction: zod.z.number().int().describe("Number of transaction checks currently in use").nullable(),
16
+ availablerumsites: zod.z.number().int().describe("Number of available RUM (Real User Monitoring) sites").nullable(),
17
+ availablesmstests: zod.z.number().int().describe("Number of SMS test alerts available").nullable(),
18
+ defaultchecklimit: zod.z.number().int().describe("Limit for default (uptime) checks").nullable(),
19
+ autofillsms_amount: zod.z.number().int().describe("Number of SMS credits to purchase when auto-refilling").nullable(),
20
+ maxalertingfullusers: zod.z.number().int().describe("Maximum number of full alerting users allowed").nullable(),
21
+ autofillsms_when_left: zod.z.number().int().describe("Remaining SMS credits threshold that triggers auto-refill").nullable(),
22
+ transactionchecklimit: zod.z.number().int().describe("Limit for transaction (TMS) checks").nullable(),
23
+ availabledefaultchecks: zod.z.number().int().describe("Number of available default checks").nullable(),
24
+ availablealertingfullusers: zod.z.number().int().describe("Number of available full alerting user slots").nullable(),
25
+ availabletransactionchecks: zod.z.number().int().describe("Number of available transaction checks").nullable()
26
+ }).passthrough().describe("Account information including check limits, SMS credits, and resource usage.");
27
+ const PingdomGetCreditsOutput = zod.z.object({ credits: PingdomGetCredits_CreditsSchema.nullable() }).passthrough().describe("Response containing account credits, limits, and resource usage information.");
28
28
  const pingdomGetCredits = require_action.action("PINGDOM_GET_CREDITS", {
29
29
  slug: "pingdom-get-credits",
30
30
  name: "Get Credits",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account credits and resource usage. No parameters required - returns all account information.\");\nconst PingdomGetCredits_CreditsSchema: z.ZodTypeAny = z.object({\n checklimit: z.number().int().describe(\"Total number of checks allowed by your account\"),\n autofillsms: z.boolean().describe(\"Whether SMS credits auto-refill is enabled\"),\n useddefault: z.number().int().describe(\"Number of default checks currently in use\"),\n availablesms: z.number().int().describe(\"Number of SMS credits available\"),\n usedrumsites: z.number().int().describe(\"Number of RUM sites currently in use\"),\n maxrumfilters: z.number().int().describe(\"Maximum number of RUM filters allowed\"),\n availablechecks: z.number().int().describe(\"Number of available checks (any type)\"),\n max_sms_overage: z.number().int().describe(\"Maximum SMS overage allowed (null if unlimited)\").nullable().optional(),\n maxrumpageviews: z.number().int().describe(\"Maximum number of RUM page views allowed per month\"),\n usedtransaction: z.number().int().describe(\"Number of transaction checks currently in use\"),\n availablerumsites: z.number().int().describe(\"Number of available RUM (Real User Monitoring) sites\"),\n availablesmstests: z.number().int().describe(\"Number of SMS test alerts available\"),\n defaultchecklimit: z.number().int().describe(\"Limit for default (uptime) checks\"),\n autofillsms_amount: z.number().int().describe(\"Number of SMS credits to purchase when auto-refilling\"),\n maxalertingfullusers: z.number().int().describe(\"Maximum number of full alerting users allowed\"),\n autofillsms_when_left: z.number().int().describe(\"Remaining SMS credits threshold that triggers auto-refill\"),\n transactionchecklimit: z.number().int().describe(\"Limit for transaction (TMS) checks\"),\n availabledefaultchecks: z.number().int().describe(\"Number of available default checks\"),\n availablealertingfullusers: z.number().int().describe(\"Number of available full alerting user slots\"),\n availabletransactionchecks: z.number().int().describe(\"Number of available transaction checks\"),\n}).describe(\"Account information including check limits, SMS credits, and resource usage.\");\nexport const PingdomGetCreditsOutput: z.ZodTypeAny = z.object({\n credits: PingdomGetCredits_CreditsSchema.nullable(),\n}).describe(\"Response containing account credits, limits, and resource usage information.\");\n\nexport const pingdomGetCredits = action(\"PINGDOM_GET_CREDITS\", {\n slug: \"pingdom-get-credits\",\n name: \"Get Credits\",\n description: \"Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.\",\n input: PingdomGetCreditsInput,\n output: PingdomGetCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACtM,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACzE,cAAcA,I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AAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAChG,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAAS,gCAAgC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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.\",\n input: PingdomGetCreditsInput,\n output: PingdomGetCreditsOutput,\n});\n"],"mappings":";;;AAIA,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,CA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