@uptimerobot/cli 0.3.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.
- package/README.md +68 -2
- package/bin/run.js +24 -2
- package/dist/api/errors.js +20 -1
- package/dist/commands/integrations/create/discord.js +10 -0
- package/dist/commands/integrations/create/google-chat.js +10 -0
- package/dist/commands/integrations/create/mattermost.js +10 -0
- package/dist/commands/integrations/create/msteams.js +10 -0
- package/dist/commands/integrations/create/pagerduty.js +10 -0
- package/dist/commands/integrations/create/push-bullet.js +10 -0
- package/dist/commands/integrations/create/pushover.js +10 -0
- package/dist/commands/integrations/create/slack.js +10 -0
- package/dist/commands/integrations/create/splunk.js +10 -0
- package/dist/commands/integrations/create/telegram.js +10 -0
- package/dist/commands/integrations/create/webhook.js +10 -0
- package/dist/commands/integrations/create/zapier.js +10 -0
- package/dist/commands/integrations/update/discord.js +10 -0
- package/dist/commands/integrations/update/google-chat.js +10 -0
- package/dist/commands/integrations/update/mattermost.js +10 -0
- package/dist/commands/integrations/update/msteams.js +10 -0
- package/dist/commands/integrations/update/pagerduty.js +10 -0
- package/dist/commands/integrations/update/push-bullet.js +10 -0
- package/dist/commands/integrations/update/pushover.js +10 -0
- package/dist/commands/integrations/update/slack.js +10 -0
- package/dist/commands/integrations/update/splunk.js +10 -0
- package/dist/commands/integrations/update/telegram.js +10 -0
- package/dist/commands/integrations/update/webhook.js +10 -0
- package/dist/commands/integrations/update/zapier.js +10 -0
- package/dist/commands/monitors/create/third-party-service.js +10 -0
- package/dist/commands/monitors/create.js +10 -0
- package/dist/commands/monitors/storm-protection/update.js +10 -0
- package/dist/commands/monitors/storm-protection.js +10 -0
- package/dist/commands/monitors/third-party-service/incidents/activity-log.js +10 -0
- package/dist/commands/monitors/third-party-service/incidents/get.js +10 -0
- package/dist/commands/monitors/third-party-service/incidents/list.js +10 -0
- package/dist/commands/monitors/third-party-service/status.js +10 -0
- package/dist/commands/status-pages/announcements/delete.js +10 -0
- package/dist/commands/third-party-providers/get.js +10 -0
- package/dist/commands/third-party-providers/list.js +10 -0
- package/dist/commands/version.js +44 -0
- package/dist/generated/operations.js +10524 -4622
- package/dist/lib/cli-errors.js +21 -3
- package/dist/lib/command-suggestions.js +1 -0
- package/dist/lib/help-curation.js +25 -0
- package/dist/lib/operation-command.js +7 -3
- package/dist/lib/redact-secrets.js +16 -1
- package/dist/lib/request.js +41 -5
- package/dist/lib/response-curation.js +43 -0
- package/dist/output/columns.js +24 -0
- package/openapi/openapi.yaml +2924 -274
- package/package.json +16 -2
package/README.md
CHANGED
|
@@ -36,6 +36,13 @@ uptimerobot --version
|
|
|
36
36
|
uptimerobot --help
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
+
`--version` prints one human-readable line. The `version` command reports the same facts through the normal output flags, so a script asserting a minimum version reads a field instead of parsing a sentence:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
uptimerobot version --json
|
|
43
|
+
# {"version":"1.1.0","platform":"darwin-arm64","node":"24.12.0"}
|
|
44
|
+
```
|
|
45
|
+
|
|
39
46
|
## AI agent skills
|
|
40
47
|
|
|
41
48
|
Install the [UptimeRobot AI skills](https://github.com/uptimerobot/ai) for supported coding agents:
|
|
@@ -123,6 +130,51 @@ uptimerobot monitors update 797054213 --set interval=120
|
|
|
123
130
|
uptimerobot monitors create http --body - < monitor.json
|
|
124
131
|
```
|
|
125
132
|
|
|
133
|
+
`--body` is a base document, and typed flags and `--set` are applied on top of it. Those two are peers, so giving the same field a different value with both is an error rather than a silent win for one of them:
|
|
134
|
+
|
|
135
|
+
```sh
|
|
136
|
+
uptimerobot monitors create http --name checkout-api --set friendlyName=checkout
|
|
137
|
+
# INVALID_INPUT: friendlyName received conflicting values:
|
|
138
|
+
# --name checkout-api and --set friendlyName=checkout. Pass only one.
|
|
139
|
+
```
|
|
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
|
+
|
|
162
|
+
## Heartbeat monitors
|
|
163
|
+
|
|
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:
|
|
165
|
+
|
|
166
|
+
```sh
|
|
167
|
+
uptimerobot monitors get 803704830 --json
|
|
168
|
+
# {"type":"HEARTBEAT","id":803704830,"url":"[REDACTED]","pingUrl":"[REDACTED]"}
|
|
169
|
+
|
|
170
|
+
uptimerobot monitors get 803704830 --json --reveal-secrets
|
|
171
|
+
# {"type":"HEARTBEAT","id":803704830,"url":"997c8970…","pingUrl":"https://heartbeat.uptimerobot.com/m803704830-997c8970…"}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Reach for `--reveal-secrets` when wiring up the job that pings it, which is normally once per monitor. Anyone holding the ping URL can report the heartbeat on your behalf, so a leaked one keeps a dead service looking alive with no alert raised. `url` on every other monitor type is a target address, not a secret, and is never redacted.
|
|
175
|
+
|
|
176
|
+
The URL is composed from the monitor's `id` and `url`, where `url` carries the monitor's token rather than a target address. Set `UPTIMEROBOT_HEARTBEAT_URL` to point at a different host. The field is derived by the CLI, not returned by the API, so `--raw` does not include it.
|
|
177
|
+
|
|
126
178
|
## Validate before sending
|
|
127
179
|
|
|
128
180
|
Inspect a monitor request contract or print a validated example without credentials or network access:
|
|
@@ -153,7 +205,7 @@ Interactive terminals use tables by default. Piped, redirected, and agent-driven
|
|
|
153
205
|
| `--raw` | Untouched API response as JSON |
|
|
154
206
|
| `--reveal-secrets` | Credential-like fields shown in full |
|
|
155
207
|
|
|
156
|
-
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.
|
|
157
209
|
|
|
158
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.
|
|
159
211
|
|
|
@@ -167,15 +219,29 @@ The exit code identifies the failure:
|
|
|
167
219
|
| --------- | ----------------------------------------------------------------------------------- |
|
|
168
220
|
| `0` | Success |
|
|
169
221
|
| `1` | Generic failure, including a bulk operation where every item failed (`BULK_FAILED`) |
|
|
170
|
-
| `2` | Invalid input
|
|
222
|
+
| `2` | Invalid input, rejected either locally or by the API (HTTP 400 or 422) |
|
|
171
223
|
| `3` | Bulk operation where some items failed (`BULK_PARTIAL_FAILURE`) |
|
|
172
224
|
| `4` | Unauthenticated (HTTP 401) |
|
|
173
225
|
| `5` | Forbidden (HTTP 403) |
|
|
174
226
|
| `6` | Not found (HTTP 404) |
|
|
175
227
|
| `7` | Rate limited (HTTP 429) |
|
|
228
|
+
| `8` | Conflict with the current state (HTTP 409) |
|
|
229
|
+
|
|
230
|
+
Exit code `2` covers both a request the CLI rejected before sending and one the API rejected as invalid, so it always means the input is wrong. Along with `8`, it says the request will not succeed as sent and should be changed rather than repeated; `1` and `7` are the failures a plain retry may clear.
|
|
231
|
+
|
|
232
|
+
The error envelope's `code` is `HTTP_<status>` whenever `status` is present, and a CLI symbol such as `INVALID_INPUT` or `AUTH_REQUIRED` otherwise, so `status` distinguishes a failure the API reported from one the CLI raised. When the API supplies an error code of its own it is passed through verbatim as `apiCode` and is never interpreted; it is not part of the CLI's contract, because the API does not currently document those codes:
|
|
233
|
+
|
|
234
|
+
```sh
|
|
235
|
+
uptimerobot monitors get 999999999 --json
|
|
236
|
+
# {"error":{"apiCode":"000-004","code":"HTTP_404","message":"Monitor not found","status":404}}
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
Branch on `code` or `status`. Read `apiCode` only for diagnostics, and use `--raw` for the untouched API response.
|
|
176
240
|
|
|
177
241
|
`monitors bulk pause`, `monitors bulk start`, and `monitors bulk update` report per-monitor outcomes in an HTTP 201 response, so a failure is only visible in the body. The CLI inspects it and exits non-zero, listing the failed entries in the error envelope's `details`.
|
|
178
242
|
|
|
243
|
+
Those three commands report acceptance rather than completion. The API answers `success` for every matched monitor as soon as the write is accepted; it carries no operation id, and nothing in the response distinguishes queued from applied. Exit code `0` therefore means the request was accepted, not that the monitors have changed. A pipeline that pauses monitors before a deploy should confirm with `uptimerobot monitors get <id>` before it continues.
|
|
244
|
+
|
|
179
245
|
## Safety
|
|
180
246
|
|
|
181
247
|
Destructive commands prompt in an interactive terminal. Agents and non-interactive processes must pass `--confirm` explicitly:
|
package/bin/run.js
CHANGED
|
@@ -13,6 +13,19 @@ if (!nodeVersionSupported) {
|
|
|
13
13
|
process.exit(1);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Resolves when a reader closes stdout before the CLI is done writing to it,
|
|
18
|
+
* which is what `| head`, `| head -c`, and `| grep -q` do. Every later write
|
|
19
|
+
* then fails with EPIPE. Without this listener Node reports the stream error
|
|
20
|
+
* as unhandled; with it, the broken pipe is simply the end of the output.
|
|
21
|
+
*/
|
|
22
|
+
const stdoutClosedEarly = new Promise((resolve) => {
|
|
23
|
+
process.stdout.on('error', (error) => {
|
|
24
|
+
if (error.code === 'EPIPE') resolve();
|
|
25
|
+
else throw error;
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
|
|
16
29
|
const { flush, handle, run } = await import('@oclif/core');
|
|
17
30
|
const { commandSuggestion } = await import('../dist/lib/command-suggestions.js');
|
|
18
31
|
const { isUnknownCommandMessage, withConfiguredCommandId } =
|
|
@@ -20,11 +33,20 @@ const { isUnknownCommandMessage, withConfiguredCommandId } =
|
|
|
20
33
|
const { errorEnvelope, exitCodeForError, machineOutputRequested, wasErrorHandled } =
|
|
21
34
|
await import('../dist/lib/cli-errors.js');
|
|
22
35
|
|
|
36
|
+
/**
|
|
37
|
+
* oclif's flush() waits for a `drain` that a broken pipe never emits, so on
|
|
38
|
+
* EPIPE it never settles: Node then printed `Detected unsettled top-level
|
|
39
|
+
* await` on stderr and exited 13. Racing the two keeps stderr meaningful and
|
|
40
|
+
* lets the normal exit path decide the status, which is 0 for a reader that
|
|
41
|
+
* stopped listening and unchanged for a command that had already failed.
|
|
42
|
+
*/
|
|
43
|
+
const flushOutput = () => Promise.race([flush(), stdoutClosedEarly]);
|
|
44
|
+
|
|
23
45
|
try {
|
|
24
46
|
await run(process.argv.slice(2), import.meta.url);
|
|
25
|
-
await
|
|
47
|
+
await flushOutput();
|
|
26
48
|
} catch (error) {
|
|
27
|
-
await
|
|
49
|
+
await flushOutput();
|
|
28
50
|
if (typeof error === 'object' && error !== null && isUnknownCommandMessage(error.message ?? '')) {
|
|
29
51
|
// oclif names the command with its colon-joined internal id; report it the
|
|
30
52
|
// way the CLI accepts it, so the message is a syntax the user can retype.
|
package/dist/api/errors.js
CHANGED
|
@@ -7,19 +7,38 @@ export function normalizeApiError(status, payload) {
|
|
|
7
7
|
? rawMessage
|
|
8
8
|
: `UptimeRobot API request failed with HTTP ${status}.`;
|
|
9
9
|
return {
|
|
10
|
-
|
|
10
|
+
// Derived from the transport status, never from the body: an upstream code
|
|
11
|
+
// is optional, undocumented, and absent from openapi.yaml, so reporting it
|
|
12
|
+
// as `code` left the vocabulary depending on which endpoint answered. The
|
|
13
|
+
// raw value is kept beside it, verbatim and uninterpreted.
|
|
14
|
+
...(typeof object.code === 'string' ? { apiCode: object.code } : {}),
|
|
15
|
+
code: `HTTP_${status}`,
|
|
11
16
|
...(object.details !== undefined ? { details: object.details } : {}),
|
|
12
17
|
message,
|
|
13
18
|
status,
|
|
14
19
|
};
|
|
15
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Maps an HTTP status onto the CLI's exit code contract. A request the server
|
|
23
|
+
* rejected as invalid exits 2, the same code locally caught invalid input
|
|
24
|
+
* produces, so a caller can tell "the request was wrong, do not retry it" from
|
|
25
|
+
* a generic failure that retrying may clear. Conflicts get their own code
|
|
26
|
+
* because the request is well formed and only the current server state refuses
|
|
27
|
+
* it, which a caller resolves differently.
|
|
28
|
+
*/
|
|
16
29
|
export function exitCodeFor(status) {
|
|
30
|
+
if (status === 400)
|
|
31
|
+
return 2;
|
|
17
32
|
if (status === 401)
|
|
18
33
|
return 4;
|
|
19
34
|
if (status === 403)
|
|
20
35
|
return 5;
|
|
21
36
|
if (status === 404)
|
|
22
37
|
return 6;
|
|
38
|
+
if (status === 409)
|
|
39
|
+
return 8;
|
|
40
|
+
if (status === 422)
|
|
41
|
+
return 2;
|
|
23
42
|
if (status === 429)
|
|
24
43
|
return 7;
|
|
25
44
|
return 1;
|
|
@@ -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']);
|