@deepdockai/cli 1.1.0 → 1.1.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
- A new error code, `partner_deactivated` (403): Deepdock has deactivated the organisation, so none of its keys work and its devices are disconnected until Deepdock reactivates it. The CLI exits with 2 on it, as on `partner_not_approved`. The bundled device types and the skill's error reference include it.
|
|
6
|
+
|
|
3
7
|
## 1.1.0
|
|
4
8
|
|
|
5
9
|
- Each system in a device's `systems` answer carries `connectors`: the connectors the device runs for that system, each with a `name` and a `kind` (`database` or `http`). The bundled device types and the client's `DeviceSystem` include it.
|
package/dist/deepdock.js
CHANGED
|
@@ -10852,6 +10852,7 @@ var EXIT_CODES = {
|
|
|
10852
10852
|
invalid_request: 2,
|
|
10853
10853
|
forbidden: 2,
|
|
10854
10854
|
partner_not_approved: 2,
|
|
10855
|
+
partner_deactivated: 2,
|
|
10855
10856
|
not_found: 2,
|
|
10856
10857
|
device_not_found: 2,
|
|
10857
10858
|
system_not_on_device: 2,
|
|
@@ -11440,7 +11441,7 @@ import { spawn } from "node:child_process";
|
|
|
11440
11441
|
import { homedir, hostname } from "node:os";
|
|
11441
11442
|
|
|
11442
11443
|
// src/version.ts
|
|
11443
|
-
var VERSION = "1.1.
|
|
11444
|
+
var VERSION = "1.1.1";
|
|
11444
11445
|
|
|
11445
11446
|
// src/runtime.ts
|
|
11446
11447
|
var DEFAULT_BASE_URL = "https://api.deepdock.ai";
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -21,6 +21,7 @@ with the **same** `Idempotency-Key`); **Show** says what the end user should see
|
|
|
21
21
|
| `payload_too_large` | 413 | the request body is over 1 MiB | no; send less | nothing; a developer bug, or shorten the text |
|
|
22
22
|
| `unauthenticated` | 401 | the key is missing, malformed, for the other environment, unknown, revoked or expired | no | "Deepdock API key refused; check it in the dashboard" to an operator |
|
|
23
23
|
| `partner_not_approved` | 403 | your organisation is waiting for approval by Deepdock; no key of it works yet. Keys made before the approval start working once it is given | no, until Deepdock approves; then yes | "our Deepdock account is waiting for approval; contact Deepdock" |
|
|
24
|
+
| `partner_deactivated` | 403 | Deepdock has deactivated your organisation: no key of it works and its devices are disconnected. Keys and devices work again once Deepdock reactivates it | no, until Deepdock reactivates it; then yes | "our Deepdock account is deactivated; contact Deepdock" |
|
|
24
25
|
| `not_found` | 404 | no such route; an update whose id matches no record; a write naming a record that does not exist or belongs to another one | no | "record not found" when it is a record; otherwise a bug |
|
|
25
26
|
| `rate_limited` | 429 | more than 600 calls, or more than 120 writes (counted in both), with this key in a minute; or more than 5 failed pairing claims in 60 s | yes, after `Retry-After: 60` (`retryAfterSeconds: 60` in the body); a write keeps its key. The pairing claim answer has neither: wait up to a minute | "try again in a minute" |
|
|
26
27
|
|