@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,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-credits.d.ts
4
- declare const PingdomGetCreditsInput: z.ZodTypeAny;
5
- declare const PingdomGetCreditsOutput: z.ZodTypeAny;
6
- declare const pingdomGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetCreditsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PingdomGetCreditsOutput: z.ZodObject<{
6
+ credits: z.ZodNullable<z.ZodObject<{
7
+ checklimit: z.ZodNullable<z.ZodNumber>;
8
+ autofillsms: z.ZodNullable<z.ZodBoolean>;
9
+ useddefault: z.ZodNullable<z.ZodNumber>;
10
+ availablesms: z.ZodNullable<z.ZodNumber>;
11
+ usedrumsites: z.ZodNullable<z.ZodNumber>;
12
+ maxrumfilters: z.ZodNullable<z.ZodNumber>;
13
+ availablechecks: z.ZodNullable<z.ZodNumber>;
14
+ max_sms_overage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ maxrumpageviews: z.ZodNullable<z.ZodNumber>;
16
+ usedtransaction: z.ZodNullable<z.ZodNumber>;
17
+ availablerumsites: z.ZodNullable<z.ZodNumber>;
18
+ availablesmstests: z.ZodNullable<z.ZodNumber>;
19
+ defaultchecklimit: z.ZodNullable<z.ZodNumber>;
20
+ autofillsms_amount: z.ZodNullable<z.ZodNumber>;
21
+ maxalertingfullusers: z.ZodNullable<z.ZodNumber>;
22
+ autofillsms_when_left: z.ZodNullable<z.ZodNumber>;
23
+ transactionchecklimit: z.ZodNullable<z.ZodNumber>;
24
+ availabledefaultchecks: z.ZodNullable<z.ZodNumber>;
25
+ availablealertingfullusers: z.ZodNullable<z.ZodNumber>;
26
+ availabletransactionchecks: z.ZodNullable<z.ZodNumber>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const pingdomGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { pingdomGetCredits };
9
32
  //# sourceMappingURL=get-credits.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-credits.d.cts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAgK;AAAA,cAuB1L,uBAAA,EAAyB,CAAA,CAAE,UAEmD;AAAA,cAE9E,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-credits.d.cts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAuBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-credits.d.ts
4
- declare const PingdomGetCreditsInput: z.ZodTypeAny;
5
- declare const PingdomGetCreditsOutput: z.ZodTypeAny;
6
- declare const pingdomGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetCreditsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const PingdomGetCreditsOutput: z.ZodObject<{
6
+ credits: z.ZodNullable<z.ZodObject<{
7
+ checklimit: z.ZodNullable<z.ZodNumber>;
8
+ autofillsms: z.ZodNullable<z.ZodBoolean>;
9
+ useddefault: z.ZodNullable<z.ZodNumber>;
10
+ availablesms: z.ZodNullable<z.ZodNumber>;
11
+ usedrumsites: z.ZodNullable<z.ZodNumber>;
12
+ maxrumfilters: z.ZodNullable<z.ZodNumber>;
13
+ availablechecks: z.ZodNullable<z.ZodNumber>;
14
+ max_sms_overage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ maxrumpageviews: z.ZodNullable<z.ZodNumber>;
16
+ usedtransaction: z.ZodNullable<z.ZodNumber>;
17
+ availablerumsites: z.ZodNullable<z.ZodNumber>;
18
+ availablesmstests: z.ZodNullable<z.ZodNumber>;
19
+ defaultchecklimit: z.ZodNullable<z.ZodNumber>;
20
+ autofillsms_amount: z.ZodNullable<z.ZodNumber>;
21
+ maxalertingfullusers: z.ZodNullable<z.ZodNumber>;
22
+ autofillsms_when_left: z.ZodNullable<z.ZodNumber>;
23
+ transactionchecklimit: z.ZodNullable<z.ZodNumber>;
24
+ availabledefaultchecks: z.ZodNullable<z.ZodNumber>;
25
+ availablealertingfullusers: z.ZodNullable<z.ZodNumber>;
26
+ availabletransactionchecks: z.ZodNullable<z.ZodNumber>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const pingdomGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { pingdomGetCredits };
9
32
  //# sourceMappingURL=get-credits.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-credits.d.mts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAAgK;AAAA,cAuB1L,uBAAA,EAAyB,CAAA,CAAE,UAEmD;AAAA,cAE9E,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-credits.d.mts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAuBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,33 +3,33 @@ import { z } from "zod";
3
3
  //#region src/actions/get-credits.ts
4
4
  const PingdomGetCreditsInput = z.object({}).describe("Request model for retrieving account credits and resource usage. No parameters required - returns all account information.");
5
5
  const PingdomGetCredits_CreditsSchema = z.object({
6
- checklimit: z.number().int().describe("Total number of checks allowed by your account"),
7
- autofillsms: z.boolean().describe("Whether SMS credits auto-refill is enabled"),
8
- useddefault: z.number().int().describe("Number of default checks currently in use"),
9
- availablesms: z.number().int().describe("Number of SMS credits available"),
10
- usedrumsites: z.number().int().describe("Number of RUM sites currently in use"),
11
- maxrumfilters: z.number().int().describe("Maximum number of RUM filters allowed"),
12
- availablechecks: z.number().int().describe("Number of available checks (any type)"),
6
+ checklimit: z.number().int().describe("Total number of checks allowed by your account").nullable(),
7
+ autofillsms: z.boolean().describe("Whether SMS credits auto-refill is enabled").nullable(),
8
+ useddefault: z.number().int().describe("Number of default checks currently in use").nullable(),
9
+ availablesms: z.number().int().describe("Number of SMS credits available").nullable(),
10
+ usedrumsites: z.number().int().describe("Number of RUM sites currently in use").nullable(),
11
+ maxrumfilters: z.number().int().describe("Maximum number of RUM filters allowed").nullable(),
12
+ availablechecks: z.number().int().describe("Number of available checks (any type)").nullable(),
13
13
  max_sms_overage: z.number().int().describe("Maximum SMS overage allowed (null if unlimited)").nullable().optional(),
14
- maxrumpageviews: z.number().int().describe("Maximum number of RUM page views allowed per month"),
15
- usedtransaction: z.number().int().describe("Number of transaction checks currently in use"),
16
- availablerumsites: z.number().int().describe("Number of available RUM (Real User Monitoring) sites"),
17
- availablesmstests: z.number().int().describe("Number of SMS test alerts available"),
18
- defaultchecklimit: z.number().int().describe("Limit for default (uptime) checks"),
19
- autofillsms_amount: z.number().int().describe("Number of SMS credits to purchase when auto-refilling"),
20
- maxalertingfullusers: z.number().int().describe("Maximum number of full alerting users allowed"),
21
- autofillsms_when_left: z.number().int().describe("Remaining SMS credits threshold that triggers auto-refill"),
22
- transactionchecklimit: z.number().int().describe("Limit for transaction (TMS) checks"),
23
- availabledefaultchecks: z.number().int().describe("Number of available default checks"),
24
- availablealertingfullusers: z.number().int().describe("Number of available full alerting user slots"),
25
- availabletransactionchecks: z.number().int().describe("Number of available transaction checks")
26
- }).describe("Account information including check limits, SMS credits, and resource usage.");
14
+ maxrumpageviews: z.number().int().describe("Maximum number of RUM page views allowed per month").nullable(),
15
+ usedtransaction: z.number().int().describe("Number of transaction checks currently in use").nullable(),
16
+ availablerumsites: z.number().int().describe("Number of available RUM (Real User Monitoring) sites").nullable(),
17
+ availablesmstests: z.number().int().describe("Number of SMS test alerts available").nullable(),
18
+ defaultchecklimit: z.number().int().describe("Limit for default (uptime) checks").nullable(),
19
+ autofillsms_amount: z.number().int().describe("Number of SMS credits to purchase when auto-refilling").nullable(),
20
+ maxalertingfullusers: z.number().int().describe("Maximum number of full alerting users allowed").nullable(),
21
+ autofillsms_when_left: z.number().int().describe("Remaining SMS credits threshold that triggers auto-refill").nullable(),
22
+ transactionchecklimit: z.number().int().describe("Limit for transaction (TMS) checks").nullable(),
23
+ availabledefaultchecks: z.number().int().describe("Number of available default checks").nullable(),
24
+ availablealertingfullusers: z.number().int().describe("Number of available full alerting user slots").nullable(),
25
+ availabletransactionchecks: z.number().int().describe("Number of available transaction checks").nullable()
26
+ }).passthrough().describe("Account information including check limits, SMS credits, and resource usage.");
27
27
  const pingdomGetCredits = action("PINGDOM_GET_CREDITS", {
28
28
  slug: "pingdom-get-credits",
29
29
  name: "Get Credits",
30
30
  description: "Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.",
31
31
  input: PingdomGetCreditsInput,
32
- output: z.object({ credits: PingdomGetCredits_CreditsSchema.nullable() }).describe("Response containing account credits, limits, and resource usage information.")
32
+ output: z.object({ credits: PingdomGetCredits_CreditsSchema.nullable() }).passthrough().describe("Response containing account credits, limits, and resource usage information.")
33
33
  });
34
34
  //#endregion
35
35
  export { pingdomGetCredits };
@@ -1 +1 @@
1
- {"version":3,"file":"get-credits.mjs","names":[],"sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetCreditsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving account credits and resource usage. No parameters required - returns all account information.\");\nconst PingdomGetCredits_CreditsSchema: z.ZodTypeAny = z.object({\n checklimit: z.number().int().describe(\"Total number of checks allowed by your account\"),\n autofillsms: z.boolean().describe(\"Whether SMS credits auto-refill is enabled\"),\n useddefault: z.number().int().describe(\"Number of default checks currently in use\"),\n availablesms: z.number().int().describe(\"Number of SMS credits available\"),\n usedrumsites: z.number().int().describe(\"Number of RUM sites currently in use\"),\n maxrumfilters: z.number().int().describe(\"Maximum number of RUM filters allowed\"),\n availablechecks: z.number().int().describe(\"Number of available checks (any type)\"),\n max_sms_overage: z.number().int().describe(\"Maximum SMS overage allowed (null if unlimited)\").nullable().optional(),\n maxrumpageviews: z.number().int().describe(\"Maximum number of RUM page views allowed per month\"),\n usedtransaction: z.number().int().describe(\"Number of transaction checks currently in use\"),\n availablerumsites: z.number().int().describe(\"Number of available RUM (Real User Monitoring) sites\"),\n availablesmstests: z.number().int().describe(\"Number of SMS test alerts available\"),\n defaultchecklimit: z.number().int().describe(\"Limit for default (uptime) checks\"),\n autofillsms_amount: z.number().int().describe(\"Number of SMS credits to purchase when auto-refilling\"),\n maxalertingfullusers: z.number().int().describe(\"Maximum number of full alerting users allowed\"),\n autofillsms_when_left: z.number().int().describe(\"Remaining SMS credits threshold that triggers auto-refill\"),\n transactionchecklimit: z.number().int().describe(\"Limit for transaction (TMS) checks\"),\n availabledefaultchecks: z.number().int().describe(\"Number of available default checks\"),\n availablealertingfullusers: z.number().int().describe(\"Number of available full alerting user slots\"),\n availabletransactionchecks: z.number().int().describe(\"Number of available transaction checks\"),\n}).describe(\"Account information including check limits, SMS credits, and resource usage.\");\nexport const PingdomGetCreditsOutput: z.ZodTypeAny = z.object({\n credits: PingdomGetCredits_CreditsSchema.nullable(),\n}).describe(\"Response containing account credits, limits, and resource usage information.\");\n\nexport const pingdomGetCredits = action(\"PINGDOM_GET_CREDITS\", {\n slug: \"pingdom-get-credits\",\n name: \"Get Credits\",\n description: \"Retrieves comprehensive account information including check limits, SMS credits, and resource usage. Use this to monitor available checks (uptime and transaction), SMS credits, RUM sites, and alerting user capacity. Returns current usage counts and available slots for all resource types.\",\n input: PingdomGetCreditsInput,\n output: PingdomGetCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACtM,MAAM,kCAAgD,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CACtF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CA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,IAAI,CAAC,CAAC,SAAS,wCAAwC;AAChG,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAK1F,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,gCAAgC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-credits.mjs","names":[],"sources":["../../src/actions/get-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetCreditsInput = z.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,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACxL,MAAM,kCAAkC,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAA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IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAKxG,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,gCAAgC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
@@ -9,15 +9,15 @@ const PingdomGetListMaintenanceOccurrencesInput = zod.z.object({
9
9
  maintenancewindowid: zod.z.number().int().describe("Filter occurrences by a specific maintenance window ID").optional()
10
10
  }).describe("Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.");
11
11
  const PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema = zod.z.object({
12
- id: zod.z.number().int().describe("Unique occurrence ID"),
13
- status: zod.z.string().describe("Status of the occurrence, e.g., 'scheduled', 'completed'"),
14
- created: zod.z.number().int().describe("Creation timestamp (Unix epoch)"),
15
- endtime: zod.z.number().int().describe("End time of the occurrence (Unix timestamp)"),
16
- windowid: zod.z.number().int().describe("Maintenance window ID the occurrence belongs to"),
17
- starttime: zod.z.number().int().describe("Start time of the occurrence (Unix timestamp)"),
18
- lastmodified: zod.z.number().int().describe("Last modification timestamp (Unix epoch)")
19
- }).describe("Represents a single maintenance occurrence.");
20
- const PingdomGetListMaintenanceOccurrencesOutput = zod.z.object({ occurrences: zod.z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe("List of maintenance occurrences") }).describe("Response model containing a list of maintenance occurrences.");
12
+ id: zod.z.number().int().describe("Unique occurrence ID").nullable(),
13
+ status: zod.z.string().describe("Status of the occurrence, e.g., 'scheduled', 'completed'").nullable(),
14
+ created: zod.z.number().int().describe("Creation timestamp (Unix epoch)").nullable(),
15
+ endtime: zod.z.number().int().describe("End time of the occurrence (Unix timestamp)").nullable(),
16
+ windowid: zod.z.number().int().describe("Maintenance window ID the occurrence belongs to").nullable(),
17
+ starttime: zod.z.number().int().describe("Start time of the occurrence (Unix timestamp)").nullable(),
18
+ lastmodified: zod.z.number().int().describe("Last modification timestamp (Unix epoch)").nullable()
19
+ }).passthrough().describe("Represents a single maintenance occurrence.");
20
+ const PingdomGetListMaintenanceOccurrencesOutput = zod.z.object({ occurrences: zod.z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe("List of maintenance occurrences") }).passthrough().describe("Response model containing a list of maintenance occurrences.");
21
21
  const pingdomGetListMaintenanceOccurrences = require_action.action("PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES", {
22
22
  slug: "pingdom-get-list-maintenance-occurrences",
23
23
  name: "List Maintenance Occurrences",
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-maintenance-occurrences.cjs","names":["z","action"],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of occurrences to return\").optional(),\n offset: z.number().int().describe(\"Start listing from this occurrence offset\").optional(),\n to_time: z.number().int().describe(\"Unix timestamp marking the end of the time range for occurrences\").optional(),\n from_time: z.number().int().describe(\"Unix timestamp marking the start of the time range to retrieve occurrences\").optional(),\n maintenancewindowid: z.number().int().describe(\"Filter occurrences by a specific maintenance window ID\").optional(),\n}).describe(\"Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.\");\nconst PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique occurrence ID\"),\n status: z.string().describe(\"Status of the occurrence, e.g., 'scheduled', 'completed'\"),\n created: z.number().int().describe(\"Creation timestamp (Unix epoch)\"),\n endtime: z.number().int().describe(\"End time of the occurrence (Unix timestamp)\"),\n windowid: z.number().int().describe(\"Maintenance window ID the occurrence belongs to\"),\n starttime: z.number().int().describe(\"Start time of the occurrence (Unix timestamp)\"),\n lastmodified: z.number().int().describe(\"Last modification timestamp (Unix epoch)\"),\n}).describe(\"Represents a single maintenance occurrence.\");\nexport const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny = z.object({\n occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe(\"List of maintenance occurrences\"),\n}).describe(\"Response model containing a list of maintenance occurrences.\");\n\nexport const pingdomGetListMaintenanceOccurrences = action(\"PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES\", {\n slug: \"pingdom-get-list-maintenance-occurrences\",\n name: \"List Maintenance Occurrences\",\n description: \"Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.\",\n input: PingdomGetListMaintenanceOccurrencesInput,\n output: PingdomGetListMaintenanceOccurrencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC5H,MAAM,wEAAsFA,IAAAA,EAAE,OAAO;CACnG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACpF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,aAAaA,IAAAA,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,iCAAiC,EACxI,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-list-maintenance-occurrences.cjs","names":["z","action"],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetListMaintenanceOccurrencesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of occurrences to return\").optional(),\n offset: z.number().int().describe(\"Start listing from this occurrence offset\").optional(),\n to_time: z.number().int().describe(\"Unix timestamp marking the end of the time range for occurrences\").optional(),\n from_time: z.number().int().describe(\"Unix timestamp marking the start of the time range to retrieve occurrences\").optional(),\n maintenancewindowid: z.number().int().describe(\"Filter occurrences by a specific maintenance window ID\").optional(),\n}).describe(\"Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.\");\nconst PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema = z.object({\n id: z.number().int().describe(\"Unique occurrence ID\").nullable(),\n status: z.string().describe(\"Status of the occurrence, e.g., 'scheduled', 'completed'\").nullable(),\n created: z.number().int().describe(\"Creation timestamp (Unix epoch)\").nullable(),\n endtime: z.number().int().describe(\"End time of the occurrence (Unix timestamp)\").nullable(),\n windowid: z.number().int().describe(\"Maintenance window ID the occurrence belongs to\").nullable(),\n starttime: z.number().int().describe(\"Start time of the occurrence (Unix timestamp)\").nullable(),\n lastmodified: z.number().int().describe(\"Last modification timestamp (Unix epoch)\").nullable(),\n}).passthrough().describe(\"Represents a single maintenance occurrence.\");\nexport const PingdomGetListMaintenanceOccurrencesOutput = z.object({\n occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe(\"List of maintenance occurrences\"),\n}).passthrough().describe(\"Response model containing a list of maintenance occurrences.\");\n\nexport const pingdomGetListMaintenanceOccurrences = action(\"PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES\", {\n slug: \"pingdom-get-list-maintenance-occurrences\",\n name: \"List Maintenance Occurrences\",\n description: \"Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.\",\n input: PingdomGetListMaintenanceOccurrencesInput,\n output: PingdomGetListMaintenanceOccurrencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CA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31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-list-maintenance-occurrences.d.ts
4
- declare const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny;
5
- declare const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny;
6
- declare const pingdomGetListMaintenanceOccurrences: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetListMaintenanceOccurrencesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ to_time: z.ZodOptional<z.ZodNumber>;
8
+ from_time: z.ZodOptional<z.ZodNumber>;
9
+ maintenancewindowid: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strip>;
11
+ declare const PingdomGetListMaintenanceOccurrencesOutput: z.ZodObject<{
12
+ occurrences: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ created: z.ZodNullable<z.ZodNumber>;
16
+ endtime: z.ZodNullable<z.ZodNumber>;
17
+ windowid: z.ZodNullable<z.ZodNumber>;
18
+ starttime: z.ZodNullable<z.ZodNumber>;
19
+ lastmodified: z.ZodNullable<z.ZodNumber>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
+ declare const pingdomGetListMaintenanceOccurrences: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ limit?: number | undefined;
24
+ offset?: number | undefined;
25
+ to_time?: number | undefined;
26
+ from_time?: number | undefined;
27
+ maintenancewindowid?: number | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { pingdomGetListMaintenanceOccurrences };
9
31
  //# sourceMappingURL=get-list-maintenance-occurrences.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-maintenance-occurrences.d.cts","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMmE;AAAA,cAUhH,0CAAA,EAA4C,CAAA,CAAE,UAEgB;AAAA,cAE9D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-list-maintenance-occurrences.d.cts","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAgBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-list-maintenance-occurrences.d.ts
4
- declare const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny;
5
- declare const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny;
6
- declare const pingdomGetListMaintenanceOccurrences: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetListMaintenanceOccurrencesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ to_time: z.ZodOptional<z.ZodNumber>;
8
+ from_time: z.ZodOptional<z.ZodNumber>;
9
+ maintenancewindowid: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strip>;
11
+ declare const PingdomGetListMaintenanceOccurrencesOutput: z.ZodObject<{
12
+ occurrences: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ status: z.ZodNullable<z.ZodString>;
15
+ created: z.ZodNullable<z.ZodNumber>;
16
+ endtime: z.ZodNullable<z.ZodNumber>;
17
+ windowid: z.ZodNullable<z.ZodNumber>;
18
+ starttime: z.ZodNullable<z.ZodNumber>;
19
+ lastmodified: z.ZodNullable<z.ZodNumber>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
+ declare const pingdomGetListMaintenanceOccurrences: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ limit?: number | undefined;
24
+ offset?: number | undefined;
25
+ to_time?: number | undefined;
26
+ from_time?: number | undefined;
27
+ maintenancewindowid?: number | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { pingdomGetListMaintenanceOccurrences };
9
31
  //# sourceMappingURL=get-list-maintenance-occurrences.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-maintenance-occurrences.d.mts","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAMmE;AAAA,cAUhH,0CAAA,EAA4C,CAAA,CAAE,UAEgB;AAAA,cAE9D,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-list-maintenance-occurrences.d.mts","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;cAgBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
@@ -9,20 +9,20 @@ const PingdomGetListMaintenanceOccurrencesInput = z.object({
9
9
  maintenancewindowid: z.number().int().describe("Filter occurrences by a specific maintenance window ID").optional()
10
10
  }).describe("Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.");
11
11
  const PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema = z.object({
12
- id: z.number().int().describe("Unique occurrence ID"),
13
- status: z.string().describe("Status of the occurrence, e.g., 'scheduled', 'completed'"),
14
- created: z.number().int().describe("Creation timestamp (Unix epoch)"),
15
- endtime: z.number().int().describe("End time of the occurrence (Unix timestamp)"),
16
- windowid: z.number().int().describe("Maintenance window ID the occurrence belongs to"),
17
- starttime: z.number().int().describe("Start time of the occurrence (Unix timestamp)"),
18
- lastmodified: z.number().int().describe("Last modification timestamp (Unix epoch)")
19
- }).describe("Represents a single maintenance occurrence.");
12
+ id: z.number().int().describe("Unique occurrence ID").nullable(),
13
+ status: z.string().describe("Status of the occurrence, e.g., 'scheduled', 'completed'").nullable(),
14
+ created: z.number().int().describe("Creation timestamp (Unix epoch)").nullable(),
15
+ endtime: z.number().int().describe("End time of the occurrence (Unix timestamp)").nullable(),
16
+ windowid: z.number().int().describe("Maintenance window ID the occurrence belongs to").nullable(),
17
+ starttime: z.number().int().describe("Start time of the occurrence (Unix timestamp)").nullable(),
18
+ lastmodified: z.number().int().describe("Last modification timestamp (Unix epoch)").nullable()
19
+ }).passthrough().describe("Represents a single maintenance occurrence.");
20
20
  const pingdomGetListMaintenanceOccurrences = action("PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES", {
21
21
  slug: "pingdom-get-list-maintenance-occurrences",
22
22
  name: "List Maintenance Occurrences",
23
23
  description: "Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.",
24
24
  input: PingdomGetListMaintenanceOccurrencesInput,
25
- output: z.object({ occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe("List of maintenance occurrences") }).describe("Response model containing a list of maintenance occurrences.")
25
+ output: z.object({ occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe("List of maintenance occurrences") }).passthrough().describe("Response model containing a list of maintenance occurrences.")
26
26
  });
27
27
  //#endregion
28
28
  export { pingdomGetListMaintenanceOccurrences };
@@ -1 +1 @@
1
- {"version":3,"file":"get-list-maintenance-occurrences.mjs","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetListMaintenanceOccurrencesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of occurrences to return\").optional(),\n offset: z.number().int().describe(\"Start listing from this occurrence offset\").optional(),\n to_time: z.number().int().describe(\"Unix timestamp marking the end of the time range for occurrences\").optional(),\n from_time: z.number().int().describe(\"Unix timestamp marking the start of the time range to retrieve occurrences\").optional(),\n maintenancewindowid: z.number().int().describe(\"Filter occurrences by a specific maintenance window ID\").optional(),\n}).describe(\"Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.\");\nconst PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique occurrence ID\"),\n status: z.string().describe(\"Status of the occurrence, e.g., 'scheduled', 'completed'\"),\n created: z.number().int().describe(\"Creation timestamp (Unix epoch)\"),\n endtime: z.number().int().describe(\"End time of the occurrence (Unix timestamp)\"),\n windowid: z.number().int().describe(\"Maintenance window ID the occurrence belongs to\"),\n starttime: z.number().int().describe(\"Start time of the occurrence (Unix timestamp)\"),\n lastmodified: z.number().int().describe(\"Last modification timestamp (Unix epoch)\"),\n}).describe(\"Represents a single maintenance occurrence.\");\nexport const PingdomGetListMaintenanceOccurrencesOutput: z.ZodTypeAny = z.object({\n occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe(\"List of maintenance occurrences\"),\n}).describe(\"Response model containing a list of maintenance occurrences.\");\n\nexport const pingdomGetListMaintenanceOccurrences = action(\"PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES\", {\n slug: \"pingdom-get-list-maintenance-occurrences\",\n name: \"List Maintenance Occurrences\",\n description: \"Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.\",\n input: PingdomGetListMaintenanceOccurrencesInput,\n output: PingdomGetListMaintenanceOccurrencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC5H,MAAM,wEAAsF,EAAE,OAAO;CACnG,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACpF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsE,EAAE,OAAO,EAC/E,aAAa,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,iCAAiC,EACxI,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-list-maintenance-occurrences.mjs","names":[],"sources":["../../src/actions/get-list-maintenance-occurrences.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetListMaintenanceOccurrencesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of occurrences to return\").optional(),\n offset: z.number().int().describe(\"Start listing from this occurrence offset\").optional(),\n to_time: z.number().int().describe(\"Unix timestamp marking the end of the time range for occurrences\").optional(),\n from_time: z.number().int().describe(\"Unix timestamp marking the start of the time range to retrieve occurrences\").optional(),\n maintenancewindowid: z.number().int().describe(\"Filter occurrences by a specific maintenance window ID\").optional(),\n}).describe(\"Request model for listing maintenance occurrences. Supports filtering by time range and maintenance window ID.\");\nconst PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema = z.object({\n id: z.number().int().describe(\"Unique occurrence ID\").nullable(),\n status: z.string().describe(\"Status of the occurrence, e.g., 'scheduled', 'completed'\").nullable(),\n created: z.number().int().describe(\"Creation timestamp (Unix epoch)\").nullable(),\n endtime: z.number().int().describe(\"End time of the occurrence (Unix timestamp)\").nullable(),\n windowid: z.number().int().describe(\"Maintenance window ID the occurrence belongs to\").nullable(),\n starttime: z.number().int().describe(\"Start time of the occurrence (Unix timestamp)\").nullable(),\n lastmodified: z.number().int().describe(\"Last modification timestamp (Unix epoch)\").nullable(),\n}).passthrough().describe(\"Represents a single maintenance occurrence.\");\nexport const PingdomGetListMaintenanceOccurrencesOutput = z.object({\n occurrences: z.array(PingdomGetListMaintenanceOccurrences_MaintenanceOccurrenceModelSchema).describe(\"List of maintenance occurrences\"),\n}).passthrough().describe(\"Response model containing a list of maintenance occurrences.\");\n\nexport const pingdomGetListMaintenanceOccurrences = action(\"PINGDOM_GET_LIST_MAINTENANCE_OCCURRENCES\", {\n slug: \"pingdom-get-list-maintenance-occurrences\",\n name: \"List Maintenance Occurrences\",\n description: \"Tool to list maintenance occurrences. Use when you need occurrences filtered by time range or a specific maintenance window ID.\",\n input: PingdomGetListMaintenanceOccurrencesInput,\n output: PingdomGetListMaintenanceOccurrencesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC5H,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,gHAAgH;AAC5H,MAAM,wEAAwE,EAAE,OAAO;CACrF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,aAAa,EAAE,MAAM,qEAAqE,CAAC,CAAC,SAAS,iCAAiC,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
@@ -8,26 +8,26 @@ const PingdomGetMaintenanceWindowsInput = zod.z.object({
8
8
  from_time: zod.z.number().int().describe("Only maintenance windows starting after this Unix timestamp").optional()
9
9
  }).describe("Request model for retrieving a list of maintenance windows.\nSupports pagination and filtering by time range.");
10
10
  const PingdomGetMaintenanceWindows_PaginationSchema = zod.z.object({
11
- limit: zod.z.number().int().describe("Number of items per page"),
12
- total: zod.z.number().int().describe("Total number of maintenance windows available"),
13
- offset: zod.z.number().int().describe("Offset for pagination (zero-based)")
14
- });
11
+ limit: zod.z.number().int().describe("Number of items per page").nullable(),
12
+ total: zod.z.number().int().describe("Total number of maintenance windows available").nullable(),
13
+ offset: zod.z.number().int().describe("Offset for pagination (zero-based)").nullable()
14
+ }).passthrough();
15
15
  const PingdomGetMaintenanceWindows_MaintenanceWindowSchema = zod.z.object({
16
- id: zod.z.number().int().describe("Unique ID of the maintenance window"),
17
- type: zod.z.string().describe("Type of maintenance window ('oneoff' or 'recurring')"),
16
+ id: zod.z.number().int().describe("Unique ID of the maintenance window").nullable(),
17
+ type: zod.z.string().describe("Type of maintenance window ('oneoff' or 'recurring')").nullable(),
18
18
  checks: zod.z.array(zod.z.number().int()).describe("List of check IDs affected by this maintenance window"),
19
19
  repeat: zod.z.string().describe("Repeat pattern, e.g., 'none', 'daily', 'weekly'").nullable().optional(),
20
- created: zod.z.number().int().describe("Creation timestamp as Unix timestamp"),
21
- to_time: zod.z.number().int().describe("End time as Unix timestamp"),
22
- modified: zod.z.number().int().describe("Last modified timestamp as Unix timestamp"),
23
- timezone: zod.z.string().describe("Timezone of the maintenance window"),
24
- from_time: zod.z.number().int().describe("Start time as Unix timestamp"),
25
- description: zod.z.string().describe("Description of the maintenance window")
26
- });
20
+ created: zod.z.number().int().describe("Creation timestamp as Unix timestamp").nullable(),
21
+ to_time: zod.z.number().int().describe("End time as Unix timestamp").nullable(),
22
+ modified: zod.z.number().int().describe("Last modified timestamp as Unix timestamp").nullable(),
23
+ timezone: zod.z.string().describe("Timezone of the maintenance window").nullable(),
24
+ from_time: zod.z.number().int().describe("Start time as Unix timestamp").nullable(),
25
+ description: zod.z.string().describe("Description of the maintenance window").nullable()
26
+ }).passthrough();
27
27
  const PingdomGetMaintenanceWindowsOutput = zod.z.object({
28
28
  pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),
29
29
  maintenance: zod.z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe("List of maintenance windows")
30
- });
30
+ }).passthrough();
31
31
  const pingdomGetMaintenanceWindows = require_action.action("PINGDOM_GET_MAINTENANCE_WINDOWS", {
32
32
  slug: "pingdom-get-maintenance-windows",
33
33
  name: "Get Maintenance Windows",
@@ -1 +1 @@
1
- {"version":3,"file":"get-maintenance-windows.cjs","names":["z","action"],"sources":["../../src/actions/get-maintenance-windows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of maintenance windows per page (1-1000)\").optional(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").optional(),\n to_time: z.number().int().describe(\"Only maintenance windows starting before this Unix timestamp\").optional(),\n from_time: z.number().int().describe(\"Only maintenance windows starting after this Unix timestamp\").optional(),\n}).describe(\"Request model for retrieving a list of maintenance windows.\\nSupports pagination and filtering by time range.\");\nconst PingdomGetMaintenanceWindows_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of items per page\"),\n total: z.number().int().describe(\"Total number of maintenance windows available\"),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\"),\n});\nconst PingdomGetMaintenanceWindows_MaintenanceWindowSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the maintenance window\"),\n type: z.string().describe(\"Type of maintenance window ('oneoff' or 'recurring')\"),\n checks: z.array(z.number().int()).describe(\"List of check IDs affected by this maintenance window\"),\n repeat: z.string().describe(\"Repeat pattern, e.g., 'none', 'daily', 'weekly'\").nullable().optional(),\n created: z.number().int().describe(\"Creation timestamp as Unix timestamp\"),\n to_time: z.number().int().describe(\"End time as Unix timestamp\"),\n modified: z.number().int().describe(\"Last modified timestamp as Unix timestamp\"),\n timezone: z.string().describe(\"Timezone of the maintenance window\"),\n from_time: z.number().int().describe(\"Start time as Unix timestamp\"),\n description: z.string().describe(\"Description of the maintenance window\"),\n});\nexport const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny = z.object({\n pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),\n maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe(\"List of maintenance windows\"),\n});\n\nexport const pingdomGetMaintenanceWindows = action(\"PINGDOM_GET_MAINTENANCE_WINDOWS\", {\n slug: \"pingdom-get-maintenance-windows\",\n name: \"Get Maintenance Windows\",\n description: \"Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.\",\n input: PingdomGetMaintenanceWindowsInput,\n output: PingdomGetMaintenanceWindowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA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AAC,CAAC,SAAS,oCAAoC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACnH,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-maintenance-windows.cjs","names":["z","action"],"sources":["../../src/actions/get-maintenance-windows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetMaintenanceWindowsInput = z.object({\n limit: z.number().int().describe(\"Number of maintenance windows per page (1-1000)\").optional(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").optional(),\n to_time: z.number().int().describe(\"Only maintenance windows starting before this Unix timestamp\").optional(),\n from_time: z.number().int().describe(\"Only maintenance windows starting after this Unix timestamp\").optional(),\n}).describe(\"Request model for retrieving a list of maintenance windows.\\nSupports pagination and filtering by time range.\");\nconst PingdomGetMaintenanceWindows_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n total: z.number().int().describe(\"Total number of maintenance windows available\").nullable(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").nullable(),\n}).passthrough();\nconst PingdomGetMaintenanceWindows_MaintenanceWindowSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the maintenance window\").nullable(),\n type: z.string().describe(\"Type of maintenance window ('oneoff' or 'recurring')\").nullable(),\n checks: z.array(z.number().int()).describe(\"List of check IDs affected by this maintenance window\"),\n repeat: z.string().describe(\"Repeat pattern, e.g., 'none', 'daily', 'weekly'\").nullable().optional(),\n created: z.number().int().describe(\"Creation timestamp as Unix timestamp\").nullable(),\n to_time: z.number().int().describe(\"End time as Unix timestamp\").nullable(),\n modified: z.number().int().describe(\"Last modified timestamp as Unix timestamp\").nullable(),\n timezone: z.string().describe(\"Timezone of the maintenance window\").nullable(),\n from_time: z.number().int().describe(\"Start time as Unix timestamp\").nullable(),\n description: z.string().describe(\"Description of the maintenance window\").nullable(),\n}).passthrough();\nexport const PingdomGetMaintenanceWindowsOutput = z.object({\n pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),\n maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe(\"List of maintenance windows\"),\n}).passthrough();\n\nexport const pingdomGetMaintenanceWindows = action(\"PINGDOM_GET_MAINTENANCE_WINDOWS\", {\n slug: \"pingdom-get-maintenance-windows\",\n name: \"Get Maintenance Windows\",\n description: \"Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.\",\n input: PingdomGetMaintenanceWindowsInput,\n output: PingdomGetMaintenanceWindowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EA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AAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;AACnH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-maintenance-windows.d.ts
4
- declare const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny;
5
- declare const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny;
6
- declare const pingdomGetMaintenanceWindows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetMaintenanceWindowsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ to_time: z.ZodOptional<z.ZodNumber>;
8
+ from_time: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>;
10
+ declare const PingdomGetMaintenanceWindowsOutput: z.ZodObject<{
11
+ pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ limit: z.ZodNullable<z.ZodNumber>;
13
+ total: z.ZodNullable<z.ZodNumber>;
14
+ offset: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$loose>>>;
16
+ maintenance: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodNumber>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ checks: z.ZodArray<z.ZodNumber>;
20
+ repeat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created: z.ZodNullable<z.ZodNumber>;
22
+ to_time: z.ZodNullable<z.ZodNumber>;
23
+ modified: z.ZodNullable<z.ZodNumber>;
24
+ timezone: z.ZodNullable<z.ZodString>;
25
+ from_time: z.ZodNullable<z.ZodNumber>;
26
+ description: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const pingdomGetMaintenanceWindows: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ limit?: number | undefined;
31
+ offset?: number | undefined;
32
+ to_time?: number | undefined;
33
+ from_time?: number | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { pingdomGetMaintenanceWindows };
9
37
  //# sourceMappingURL=get-maintenance-windows.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-maintenance-windows.d.cts","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAK0E;AAAA,cAkB/G,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-maintenance-windows.d.cts","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-maintenance-windows.d.ts
4
- declare const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny;
5
- declare const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny;
6
- declare const pingdomGetMaintenanceWindows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PingdomGetMaintenanceWindowsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ to_time: z.ZodOptional<z.ZodNumber>;
8
+ from_time: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>;
10
+ declare const PingdomGetMaintenanceWindowsOutput: z.ZodObject<{
11
+ pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ limit: z.ZodNullable<z.ZodNumber>;
13
+ total: z.ZodNullable<z.ZodNumber>;
14
+ offset: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$loose>>>;
16
+ maintenance: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodNumber>;
18
+ type: z.ZodNullable<z.ZodString>;
19
+ checks: z.ZodArray<z.ZodNumber>;
20
+ repeat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created: z.ZodNullable<z.ZodNumber>;
22
+ to_time: z.ZodNullable<z.ZodNumber>;
23
+ modified: z.ZodNullable<z.ZodNumber>;
24
+ timezone: z.ZodNullable<z.ZodString>;
25
+ from_time: z.ZodNullable<z.ZodNumber>;
26
+ description: z.ZodNullable<z.ZodString>;
27
+ }, z.core.$loose>>;
28
+ }, z.core.$loose>;
29
+ declare const pingdomGetMaintenanceWindows: import("@keystrokehq/action").WorkflowActionDefinition<{
30
+ limit?: number | undefined;
31
+ offset?: number | undefined;
32
+ to_time?: number | undefined;
33
+ from_time?: number | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { pingdomGetMaintenanceWindows };
9
37
  //# sourceMappingURL=get-maintenance-windows.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-maintenance-windows.d.mts","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAK0E;AAAA,cAkB/G,kCAAA,EAAoC,CAAA,CAAE,UAGjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-maintenance-windows.d.mts","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -8,22 +8,22 @@ const PingdomGetMaintenanceWindowsInput = z.object({
8
8
  from_time: z.number().int().describe("Only maintenance windows starting after this Unix timestamp").optional()
9
9
  }).describe("Request model for retrieving a list of maintenance windows.\nSupports pagination and filtering by time range.");
10
10
  const PingdomGetMaintenanceWindows_PaginationSchema = z.object({
11
- limit: z.number().int().describe("Number of items per page"),
12
- total: z.number().int().describe("Total number of maintenance windows available"),
13
- offset: z.number().int().describe("Offset for pagination (zero-based)")
14
- });
11
+ limit: z.number().int().describe("Number of items per page").nullable(),
12
+ total: z.number().int().describe("Total number of maintenance windows available").nullable(),
13
+ offset: z.number().int().describe("Offset for pagination (zero-based)").nullable()
14
+ }).passthrough();
15
15
  const PingdomGetMaintenanceWindows_MaintenanceWindowSchema = z.object({
16
- id: z.number().int().describe("Unique ID of the maintenance window"),
17
- type: z.string().describe("Type of maintenance window ('oneoff' or 'recurring')"),
16
+ id: z.number().int().describe("Unique ID of the maintenance window").nullable(),
17
+ type: z.string().describe("Type of maintenance window ('oneoff' or 'recurring')").nullable(),
18
18
  checks: z.array(z.number().int()).describe("List of check IDs affected by this maintenance window"),
19
19
  repeat: z.string().describe("Repeat pattern, e.g., 'none', 'daily', 'weekly'").nullable().optional(),
20
- created: z.number().int().describe("Creation timestamp as Unix timestamp"),
21
- to_time: z.number().int().describe("End time as Unix timestamp"),
22
- modified: z.number().int().describe("Last modified timestamp as Unix timestamp"),
23
- timezone: z.string().describe("Timezone of the maintenance window"),
24
- from_time: z.number().int().describe("Start time as Unix timestamp"),
25
- description: z.string().describe("Description of the maintenance window")
26
- });
20
+ created: z.number().int().describe("Creation timestamp as Unix timestamp").nullable(),
21
+ to_time: z.number().int().describe("End time as Unix timestamp").nullable(),
22
+ modified: z.number().int().describe("Last modified timestamp as Unix timestamp").nullable(),
23
+ timezone: z.string().describe("Timezone of the maintenance window").nullable(),
24
+ from_time: z.number().int().describe("Start time as Unix timestamp").nullable(),
25
+ description: z.string().describe("Description of the maintenance window").nullable()
26
+ }).passthrough();
27
27
  const pingdomGetMaintenanceWindows = action("PINGDOM_GET_MAINTENANCE_WINDOWS", {
28
28
  slug: "pingdom-get-maintenance-windows",
29
29
  name: "Get Maintenance Windows",
@@ -32,7 +32,7 @@ const pingdomGetMaintenanceWindows = action("PINGDOM_GET_MAINTENANCE_WINDOWS", {
32
32
  output: z.object({
33
33
  pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),
34
34
  maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe("List of maintenance windows")
35
- })
35
+ }).passthrough()
36
36
  });
37
37
  //#endregion
38
38
  export { pingdomGetMaintenanceWindows };
@@ -1 +1 @@
1
- {"version":3,"file":"get-maintenance-windows.mjs","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetMaintenanceWindowsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of maintenance windows per page (1-1000)\").optional(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").optional(),\n to_time: z.number().int().describe(\"Only maintenance windows starting before this Unix timestamp\").optional(),\n from_time: z.number().int().describe(\"Only maintenance windows starting after this Unix timestamp\").optional(),\n}).describe(\"Request model for retrieving a list of maintenance windows.\\nSupports pagination and filtering by time range.\");\nconst PingdomGetMaintenanceWindows_PaginationSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of items per page\"),\n total: z.number().int().describe(\"Total number of maintenance windows available\"),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\"),\n});\nconst PingdomGetMaintenanceWindows_MaintenanceWindowSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique ID of the maintenance window\"),\n type: z.string().describe(\"Type of maintenance window ('oneoff' or 'recurring')\"),\n checks: z.array(z.number().int()).describe(\"List of check IDs affected by this maintenance window\"),\n repeat: z.string().describe(\"Repeat pattern, e.g., 'none', 'daily', 'weekly'\").nullable().optional(),\n created: z.number().int().describe(\"Creation timestamp as Unix timestamp\"),\n to_time: z.number().int().describe(\"End time as Unix timestamp\"),\n modified: z.number().int().describe(\"Last modified timestamp as Unix timestamp\"),\n timezone: z.string().describe(\"Timezone of the maintenance window\"),\n from_time: z.number().int().describe(\"Start time as Unix timestamp\"),\n description: z.string().describe(\"Description of the maintenance window\"),\n});\nexport const PingdomGetMaintenanceWindowsOutput: z.ZodTypeAny = z.object({\n pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),\n maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe(\"List of maintenance windows\"),\n});\n\nexport const pingdomGetMaintenanceWindows = action(\"PINGDOM_GET_MAINTENANCE_WINDOWS\", {\n slug: \"pingdom-get-maintenance-windows\",\n name: \"Get Maintenance Windows\",\n description: \"Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.\",\n input: PingdomGetMaintenanceWindowsInput,\n output: PingdomGetMaintenanceWindowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,Q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,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AAMD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,YAAY,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,6BAA6B;CACnH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-maintenance-windows.mjs","names":[],"sources":["../../src/actions/get-maintenance-windows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PingdomGetMaintenanceWindowsInput = z.object({\n limit: z.number().int().describe(\"Number of maintenance windows per page (1-1000)\").optional(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").optional(),\n to_time: z.number().int().describe(\"Only maintenance windows starting before this Unix timestamp\").optional(),\n from_time: z.number().int().describe(\"Only maintenance windows starting after this Unix timestamp\").optional(),\n}).describe(\"Request model for retrieving a list of maintenance windows.\\nSupports pagination and filtering by time range.\");\nconst PingdomGetMaintenanceWindows_PaginationSchema = z.object({\n limit: z.number().int().describe(\"Number of items per page\").nullable(),\n total: z.number().int().describe(\"Total number of maintenance windows available\").nullable(),\n offset: z.number().int().describe(\"Offset for pagination (zero-based)\").nullable(),\n}).passthrough();\nconst PingdomGetMaintenanceWindows_MaintenanceWindowSchema = z.object({\n id: z.number().int().describe(\"Unique ID of the maintenance window\").nullable(),\n type: z.string().describe(\"Type of maintenance window ('oneoff' or 'recurring')\").nullable(),\n checks: z.array(z.number().int()).describe(\"List of check IDs affected by this maintenance window\"),\n repeat: z.string().describe(\"Repeat pattern, e.g., 'none', 'daily', 'weekly'\").nullable().optional(),\n created: z.number().int().describe(\"Creation timestamp as Unix timestamp\").nullable(),\n to_time: z.number().int().describe(\"End time as Unix timestamp\").nullable(),\n modified: z.number().int().describe(\"Last modified timestamp as Unix timestamp\").nullable(),\n timezone: z.string().describe(\"Timezone of the maintenance window\").nullable(),\n from_time: z.number().int().describe(\"Start time as Unix timestamp\").nullable(),\n description: z.string().describe(\"Description of the maintenance window\").nullable(),\n}).passthrough();\nexport const PingdomGetMaintenanceWindowsOutput = z.object({\n pagination: PingdomGetMaintenanceWindows_PaginationSchema.nullable().optional(),\n maintenance: z.array(PingdomGetMaintenanceWindows_MaintenanceWindowSchema).describe(\"List of maintenance windows\"),\n}).passthrough();\n\nexport const pingdomGetMaintenanceWindows = action(\"PINGDOM_GET_MAINTENANCE_WINDOWS\", {\n slug: \"pingdom-get-maintenance-windows\",\n name: \"Get Maintenance Windows\",\n description: \"Tool to retrieve a list of maintenance windows. Use when you need to list user's maintenance windows with optional pagination and time range filters.\",\n input: PingdomGetMaintenanceWindowsInput,\n output: PingdomGetMaintenanceWindowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAC3H,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SA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