@uptimerobot/cli 1.0.0 → 1.1.0

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 (41) hide show
  1. package/README.md +23 -2
  2. package/dist/commands/integrations/create/discord.js +10 -0
  3. package/dist/commands/integrations/create/google-chat.js +10 -0
  4. package/dist/commands/integrations/create/mattermost.js +10 -0
  5. package/dist/commands/integrations/create/msteams.js +10 -0
  6. package/dist/commands/integrations/create/pagerduty.js +10 -0
  7. package/dist/commands/integrations/create/push-bullet.js +10 -0
  8. package/dist/commands/integrations/create/pushover.js +10 -0
  9. package/dist/commands/integrations/create/slack.js +10 -0
  10. package/dist/commands/integrations/create/splunk.js +10 -0
  11. package/dist/commands/integrations/create/telegram.js +10 -0
  12. package/dist/commands/integrations/create/webhook.js +10 -0
  13. package/dist/commands/integrations/create/zapier.js +10 -0
  14. package/dist/commands/integrations/update/discord.js +10 -0
  15. package/dist/commands/integrations/update/google-chat.js +10 -0
  16. package/dist/commands/integrations/update/mattermost.js +10 -0
  17. package/dist/commands/integrations/update/msteams.js +10 -0
  18. package/dist/commands/integrations/update/pagerduty.js +10 -0
  19. package/dist/commands/integrations/update/push-bullet.js +10 -0
  20. package/dist/commands/integrations/update/pushover.js +10 -0
  21. package/dist/commands/integrations/update/slack.js +10 -0
  22. package/dist/commands/integrations/update/splunk.js +10 -0
  23. package/dist/commands/integrations/update/telegram.js +10 -0
  24. package/dist/commands/integrations/update/webhook.js +10 -0
  25. package/dist/commands/integrations/update/zapier.js +10 -0
  26. package/dist/commands/monitors/create/third-party-service.js +10 -0
  27. package/dist/commands/monitors/create.js +10 -0
  28. package/dist/commands/monitors/storm-protection/update.js +10 -0
  29. package/dist/commands/monitors/storm-protection.js +10 -0
  30. package/dist/commands/monitors/third-party-service/incidents/activity-log.js +10 -0
  31. package/dist/commands/monitors/third-party-service/incidents/get.js +10 -0
  32. package/dist/commands/monitors/third-party-service/incidents/list.js +10 -0
  33. package/dist/commands/monitors/third-party-service/status.js +10 -0
  34. package/dist/commands/status-pages/announcements/delete.js +10 -0
  35. package/dist/commands/third-party-providers/get.js +10 -0
  36. package/dist/commands/third-party-providers/list.js +10 -0
  37. package/dist/generated/operations.js +10509 -4625
  38. package/dist/lib/cli-errors.js +21 -3
  39. package/dist/output/columns.js +24 -0
  40. package/openapi/openapi.yaml +2908 -274
  41. package/package.json +15 -1
package/README.md CHANGED
@@ -40,7 +40,7 @@ uptimerobot --help
40
40
 
41
41
  ```sh
42
42
  uptimerobot version --json
43
- # {"version":"1.0.0","platform":"darwin-arm64","node":"24.12.0"}
43
+ # {"version":"1.1.0","platform":"darwin-arm64","node":"24.12.0"}
44
44
  ```
45
45
 
46
46
  ## AI agent skills
@@ -138,6 +138,27 @@ uptimerobot monitors create http --name checkout-api --set friendlyName=checkout
138
138
  # --name checkout-api and --set friendlyName=checkout. Pass only one.
139
139
  ```
140
140
 
141
+ ## Third-party services
142
+
143
+ A third-party service tracks the public status page of an outside provider, such as a cloud or a payment processor, and alerts you when the provider reports an incident. Find the provider's id first, then track it:
144
+
145
+ ```sh
146
+ uptimerobot third-party-providers list --search stripe
147
+ uptimerobot third-party-providers get 4317
148
+ uptimerobot monitors create third-party-service --provider-id 4317 --components 11 --components 12 --notify-severity major --notify-incremental-updates
149
+ ```
150
+
151
+ Omit `--components` to track every component. Then read its state and incidents by the monitor id the create returned:
152
+
153
+ ```sh
154
+ uptimerobot monitors third-party-service status 800123456
155
+ uptimerobot monitors third-party-service incidents list 800123456
156
+ uptimerobot monitors third-party-service incidents get 800123456 1234567890
157
+ uptimerobot monitors third-party-service incidents activity-log 800123456 1234567890
158
+ ```
159
+
160
+ `uptimerobot monitors delete <id>` stops tracking a service. A third-party service cannot be paused.
161
+
141
162
  ## Heartbeat monitors
142
163
 
143
164
  A heartbeat monitor stays silent until something pings it, so normalized output carries a derived `pingUrl` — the address that job should call. Both it and the `url` it is built from are secrets, so both are redacted unless you ask for them:
@@ -184,7 +205,7 @@ Interactive terminals use tables by default. Piped, redirected, and agent-driven
184
205
  | `--raw` | Untouched API response as JSON |
185
206
  | `--reveal-secrets` | Credential-like fields shown in full |
186
207
 
187
- Recognizable credential fields in a response, such as `httpPassword`, print as `[REDACTED]` in every format, and a stderr notice names what was hidden. Pass `--reveal-secrets` to print the values instead. `--raw` skips redaction along with the rest of normalization.
208
+ Recognizable credential fields in a response, such as `httpPassword`, print as `[REDACTED]` in every format, and a stderr notice names what was hidden. Pass `--reveal-secrets` to print the values instead. `--raw` skips redaction along with the rest of normalization. Machine-readable error envelopes are redacted the same way but unconditionally, because failure output is what ends up in bug reports and CI logs; `--reveal-secrets` does not lift it. Redaction matches field names, so a credential quoted inside an error `message` is not covered.
188
209
 
189
210
  Set `UPTIMEROBOT_OUTPUT` to `json`, `jsonl`, `table`, or `plain` to choose a default. Use `--agent` or `UPTIMEROBOT_AGENT=1` to identify agent execution explicitly. A truthy `CI` environment variable identifies CI execution independently.
190
211
 
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:discord']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:google-chat']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:mattermost']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:msteams']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:pagerduty']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:push-bullet']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:pushover']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:slack']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:splunk']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:telegram']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:webhook']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:create:zapier']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:discord']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:google-chat']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:mattermost']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:msteams']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:pagerduty']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:push-bullet']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:pushover']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:slack']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:splunk']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:telegram']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:webhook']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['integrations:update:zapier']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:create:third-party-service']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../lib/operation-command.js';
9
+ import { operations } from '../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:create']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:storm-protection:update']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../lib/operation-command.js';
9
+ import { operations } from '../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:storm-protection']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../../lib/operation-command.js';
9
+ import { operations } from '../../../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:third-party-service:incidents:activity-log']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../../lib/operation-command.js';
9
+ import { operations } from '../../../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:third-party-service:incidents:get']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../../lib/operation-command.js';
9
+ import { operations } from '../../../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:third-party-service:incidents:list']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['monitors:third-party-service:status']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../../lib/operation-command.js';
9
+ import { operations } from '../../../generated/operations.js';
10
+ export default createOperationCommand(operations['status-pages:announcements:delete']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../lib/operation-command.js';
9
+ import { operations } from '../../generated/operations.js';
10
+ export default createOperationCommand(operations['third-party-providers:get']);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Code generated by scripts/generate-openapi.ts
3
+ * from openapi/openapi.yaml.
4
+ *
5
+ * DO NOT EDIT — changes will be overwritten.
6
+ * Run `pnpm openapi:generate` to regenerate.
7
+ */
8
+ import { createOperationCommand } from '../../lib/operation-command.js';
9
+ import { operations } from '../../generated/operations.js';
10
+ export default createOperationCommand(operations['third-party-providers:list']);