@qlever-llc/trellis 0.6.1 → 0.7.0-rc.2
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 +6 -2
- package/esm/auth/device_activation.d.ts +194 -0
- package/esm/auth/device_activation.d.ts.map +1 -0
- package/esm/auth/{workload_activation.js → device_activation.js} +85 -60
- package/esm/auth/mod.d.ts +2 -2
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +2 -2
- package/esm/auth/protocol.d.ts +175 -72
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +126 -78
- package/esm/contracts/mod.d.ts +19 -3
- package/esm/contracts/mod.d.ts.map +1 -1
- package/esm/contracts/mod.js +28 -4
- package/esm/contracts/protocol.d.ts +34 -0
- package/esm/contracts/protocol.d.ts.map +1 -1
- package/esm/contracts/protocol.js +15 -0
- package/esm/server/deno.d.ts +1 -6
- package/esm/server/deno.d.ts.map +1 -1
- package/esm/server/deno.js +1 -16
- package/esm/server/mod.d.ts +3 -2
- package/esm/server/mod.d.ts.map +1 -1
- package/esm/server/mod.js +2 -2
- package/esm/server/node.d.ts +1 -6
- package/esm/server/node.d.ts.map +1 -1
- package/esm/server/node.js +1 -16
- package/esm/server/service.d.ts +32 -10
- package/esm/server/service.d.ts.map +1 -1
- package/esm/server/service.js +188 -41
- package/esm/server/transfer.d.ts +41 -0
- package/esm/server/transfer.d.ts.map +1 -0
- package/esm/server/transfer.js +418 -0
- package/esm/telemetry/init.d.ts +4 -0
- package/esm/telemetry/init.d.ts.map +1 -0
- package/esm/telemetry/init.js +7 -0
- package/esm/telemetry/mod.d.ts +1 -2
- package/esm/telemetry/mod.d.ts.map +1 -1
- package/esm/telemetry/mod.js +1 -2
- package/esm/telemetry/runtime.d.ts.map +1 -1
- package/esm/telemetry/runtime.js +9 -5
- package/esm/telemetry/trellis.d.ts +0 -1
- package/esm/telemetry/trellis.d.ts.map +1 -1
- package/esm/telemetry/trellis.js +0 -6
- package/esm/trellis/_sdk/auth/api.d.ts.map +1 -1
- package/esm/trellis/_sdk/auth/api.js +132 -110
- package/esm/trellis/_sdk/auth/contract.d.ts +1 -1
- package/esm/trellis/_sdk/auth/contract.d.ts.map +1 -1
- package/esm/trellis/_sdk/auth/contract.js +2 -2
- package/esm/trellis/_sdk/auth/schemas.d.ts +4212 -3069
- package/esm/trellis/_sdk/auth/schemas.d.ts.map +1 -1
- package/esm/trellis/_sdk/auth/schemas.js +144 -125
- package/esm/trellis/_sdk/auth/types.d.ts +417 -267
- package/esm/trellis/_sdk/auth/types.d.ts.map +1 -1
- package/esm/trellis/_sdk/auth/types.js +1 -1
- package/esm/trellis/_sdk/core/contract.d.ts +1 -1
- package/esm/trellis/_sdk/core/contract.d.ts.map +1 -1
- package/esm/trellis/_sdk/core/contract.js +2 -2
- package/esm/trellis/_sdk/core/schemas.d.ts +122 -0
- package/esm/trellis/_sdk/core/schemas.d.ts.map +1 -1
- package/esm/trellis/_sdk/core/schemas.js +4 -4
- package/esm/trellis/_sdk/core/types.d.ts +18 -1
- package/esm/trellis/_sdk/core/types.d.ts.map +1 -1
- package/esm/trellis/_sdk/core/types.js +1 -1
- package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts +12 -0
- package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts.map +1 -0
- package/esm/trellis/_sdk/state/_dnt.polyfills.js +15 -0
- package/esm/trellis/_sdk/state/api.d.ts +10 -0
- package/esm/trellis/_sdk/state/api.d.ts.map +1 -0
- package/esm/trellis/_sdk/state/api.js +71 -0
- package/esm/trellis/_sdk/state/contract.d.ts +8 -0
- package/esm/trellis/_sdk/state/contract.d.ts.map +1 -0
- package/esm/trellis/_sdk/state/contract.js +59 -0
- package/esm/trellis/_sdk/state/mod.d.ts +7 -0
- package/esm/trellis/_sdk/state/mod.d.ts.map +1 -0
- package/esm/trellis/_sdk/state/mod.js +5 -0
- package/esm/trellis/_sdk/state/package.json +3 -0
- package/esm/trellis/_sdk/state/schemas.d.ts +1437 -0
- package/esm/trellis/_sdk/state/schemas.d.ts.map +1 -0
- package/esm/trellis/_sdk/state/schemas.js +62 -0
- package/esm/trellis/_sdk/state/types.d.ts +206 -0
- package/esm/trellis/_sdk/state/types.d.ts.map +1 -0
- package/esm/trellis/_sdk/state/types.js +3 -0
- package/esm/trellis/client_connect.d.ts +53 -0
- package/esm/trellis/client_connect.d.ts.map +1 -0
- package/esm/trellis/client_connect.js +300 -0
- package/esm/trellis/contract.d.ts +1 -7
- package/esm/trellis/contract.d.ts.map +1 -1
- package/esm/trellis/contract.js +1 -12
- package/esm/trellis/device.d.ts +41 -0
- package/esm/trellis/device.d.ts.map +1 -0
- package/esm/trellis/device.js +209 -0
- package/esm/trellis/errors/AuthError.d.ts +1 -1
- package/esm/trellis/errors/AuthError.js +9 -9
- package/esm/trellis/errors/StoreError.d.ts +22 -0
- package/esm/trellis/errors/StoreError.d.ts.map +1 -0
- package/esm/trellis/errors/StoreError.js +41 -0
- package/esm/trellis/errors/TransferError.d.ts +22 -0
- package/esm/trellis/errors/TransferError.d.ts.map +1 -0
- package/esm/trellis/errors/TransferError.js +41 -0
- package/esm/trellis/errors/index.d.ts +8 -0
- package/esm/trellis/errors/index.d.ts.map +1 -1
- package/esm/trellis/errors/index.js +8 -0
- package/esm/trellis/index.d.ts +10 -4
- package/esm/trellis/index.d.ts.map +1 -1
- package/esm/trellis/index.js +6 -4
- package/esm/trellis/kv.d.ts +2 -0
- package/esm/trellis/kv.d.ts.map +1 -1
- package/esm/trellis/kv.js +6 -0
- package/esm/trellis/models/trellis/TrellisError.d.ts +15 -1
- package/esm/trellis/models/trellis/TrellisError.d.ts.map +1 -1
- package/esm/trellis/models/trellis/TrellisError.js +4 -0
- package/esm/trellis/runtime_transport.d.ts +12 -0
- package/esm/trellis/runtime_transport.d.ts.map +1 -0
- package/esm/trellis/runtime_transport.js +35 -0
- package/esm/trellis/sdk/state.d.ts +4 -0
- package/esm/trellis/sdk/state.d.ts.map +1 -0
- package/esm/trellis/sdk/state.js +3 -0
- package/esm/trellis/store.d.ts +51 -0
- package/esm/trellis/store.d.ts.map +1 -0
- package/esm/trellis/store.js +310 -0
- package/esm/trellis/tracing.js +1 -1
- package/esm/trellis/transfer.d.ts +118 -0
- package/esm/trellis/transfer.d.ts.map +1 -0
- package/esm/trellis/transfer.js +357 -0
- package/esm/trellis/trellis.d.ts +3 -0
- package/esm/trellis/trellis.d.ts.map +1 -1
- package/esm/trellis/trellis.js +48 -17
- package/package.json +7 -2
- package/script/auth/device_activation.d.ts +194 -0
- package/script/auth/device_activation.d.ts.map +1 -0
- package/script/auth/{workload_activation.js → device_activation.js} +99 -74
- package/script/auth/mod.d.ts +2 -2
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +84 -76
- package/script/auth/protocol.d.ts +175 -72
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +129 -81
- package/script/contracts/mod.d.ts +19 -3
- package/script/contracts/mod.d.ts.map +1 -1
- package/script/contracts/mod.js +30 -4
- package/script/contracts/protocol.d.ts +34 -0
- package/script/contracts/protocol.d.ts.map +1 -1
- package/script/contracts/protocol.js +16 -1
- package/script/telemetry/init.d.ts +4 -0
- package/script/telemetry/init.d.ts.map +1 -0
- package/script/telemetry/init.js +11 -0
- package/script/telemetry/mod.d.ts +1 -2
- package/script/telemetry/mod.d.ts.map +1 -1
- package/script/telemetry/mod.js +1 -4
- package/script/telemetry/runtime.d.ts.map +1 -1
- package/script/telemetry/runtime.js +9 -28
- package/script/telemetry/trellis.d.ts +0 -1
- package/script/telemetry/trellis.d.ts.map +1 -1
- package/script/telemetry/trellis.js +0 -7
- package/script/trellis/_sdk/auth/api.d.ts.map +1 -1
- package/script/trellis/_sdk/auth/api.js +132 -110
- package/script/trellis/_sdk/auth/contract.d.ts +1 -1
- package/script/trellis/_sdk/auth/contract.d.ts.map +1 -1
- package/script/trellis/_sdk/auth/contract.js +2 -2
- package/script/trellis/_sdk/auth/schemas.d.ts +4212 -3069
- package/script/trellis/_sdk/auth/schemas.d.ts.map +1 -1
- package/script/trellis/_sdk/auth/schemas.js +144 -125
- package/script/trellis/_sdk/auth/types.d.ts +417 -267
- package/script/trellis/_sdk/auth/types.d.ts.map +1 -1
- package/script/trellis/_sdk/auth/types.js +1 -1
- package/script/trellis/_sdk/core/contract.d.ts +1 -1
- package/script/trellis/_sdk/core/contract.d.ts.map +1 -1
- package/script/trellis/_sdk/core/contract.js +2 -2
- package/script/trellis/_sdk/core/schemas.d.ts +122 -0
- package/script/trellis/_sdk/core/schemas.d.ts.map +1 -1
- package/script/trellis/_sdk/core/schemas.js +4 -4
- package/script/trellis/_sdk/core/types.d.ts +18 -1
- package/script/trellis/_sdk/core/types.d.ts.map +1 -1
- package/script/trellis/_sdk/core/types.js +1 -1
- package/script/trellis/_sdk/state/_dnt.polyfills.d.ts +12 -0
- package/script/trellis/_sdk/state/_dnt.polyfills.d.ts.map +1 -0
- package/script/trellis/_sdk/state/_dnt.polyfills.js +16 -0
- package/script/trellis/_sdk/state/api.d.ts +10 -0
- package/script/trellis/_sdk/state/api.d.ts.map +1 -0
- package/script/trellis/_sdk/state/api.js +74 -0
- package/script/trellis/_sdk/state/contract.d.ts +8 -0
- package/script/trellis/_sdk/state/contract.d.ts.map +1 -0
- package/script/trellis/_sdk/state/contract.js +62 -0
- package/script/trellis/_sdk/state/mod.d.ts +7 -0
- package/script/trellis/_sdk/state/mod.d.ts.map +1 -0
- package/script/trellis/_sdk/state/mod.js +30 -0
- package/script/trellis/_sdk/state/package.json +3 -0
- package/script/trellis/_sdk/state/schemas.d.ts +1437 -0
- package/script/trellis/_sdk/state/schemas.d.ts.map +1 -0
- package/script/trellis/_sdk/state/schemas.js +65 -0
- package/script/trellis/_sdk/state/types.d.ts +206 -0
- package/script/trellis/_sdk/state/types.d.ts.map +1 -0
- package/script/trellis/_sdk/state/types.js +6 -0
- package/script/trellis/client_connect.d.ts +53 -0
- package/script/trellis/client_connect.d.ts.map +1 -0
- package/script/trellis/client_connect.js +304 -0
- package/script/trellis/contract.d.ts +1 -7
- package/script/trellis/contract.d.ts.map +1 -1
- package/script/trellis/contract.js +1 -12
- package/script/trellis/device.d.ts +41 -0
- package/script/trellis/device.d.ts.map +1 -0
- package/script/trellis/device.js +213 -0
- package/script/trellis/errors/AuthError.d.ts +1 -1
- package/script/trellis/errors/AuthError.js +9 -9
- package/script/trellis/errors/StoreError.d.ts +22 -0
- package/script/trellis/errors/StoreError.d.ts.map +1 -0
- package/script/trellis/errors/StoreError.js +48 -0
- package/script/trellis/errors/TransferError.d.ts +22 -0
- package/script/trellis/errors/TransferError.d.ts.map +1 -0
- package/script/trellis/errors/TransferError.js +48 -0
- package/script/trellis/errors/index.d.ts +8 -0
- package/script/trellis/errors/index.d.ts.map +1 -1
- package/script/trellis/errors/index.js +13 -1
- package/script/trellis/index.d.ts +10 -4
- package/script/trellis/index.d.ts.map +1 -1
- package/script/trellis/index.js +17 -6
- package/script/trellis/kv.d.ts +2 -0
- package/script/trellis/kv.d.ts.map +1 -1
- package/script/trellis/kv.js +6 -0
- package/script/trellis/models/trellis/TrellisError.d.ts +15 -1
- package/script/trellis/models/trellis/TrellisError.d.ts.map +1 -1
- package/script/trellis/models/trellis/TrellisError.js +4 -0
- package/script/trellis/runtime_transport.d.ts +12 -0
- package/script/trellis/runtime_transport.d.ts.map +1 -0
- package/script/trellis/runtime_transport.js +37 -0
- package/script/trellis/store.d.ts +51 -0
- package/script/trellis/store.d.ts.map +1 -0
- package/script/trellis/store.js +316 -0
- package/script/trellis/tracing.js +1 -1
- package/script/trellis/transfer.d.ts +118 -0
- package/script/trellis/transfer.d.ts.map +1 -0
- package/script/trellis/transfer.js +367 -0
- package/script/trellis/trellis.d.ts +3 -0
- package/script/trellis/trellis.d.ts.map +1 -1
- package/script/trellis/trellis.js +48 -17
- package/esm/auth/workload_activation.d.ts +0 -192
- package/esm/auth/workload_activation.d.ts.map +0 -1
- package/esm/trellis/workload.d.ts +0 -45
- package/esm/trellis/workload.d.ts.map +0 -1
- package/esm/trellis/workload.js +0 -144
- package/script/auth/workload_activation.d.ts +0 -192
- package/script/auth/workload_activation.d.ts.map +0 -1
- package/script/trellis/workload.d.ts +0 -45
- package/script/trellis/workload.d.ts.map +0 -1
- package/script/trellis/workload.js +0 -172
|
@@ -4,165 +4,176 @@ exports.SCHEMAS = void 0;
|
|
|
4
4
|
// Generated from ./generated/contracts/manifests/trellis.auth@v1.json
|
|
5
5
|
exports.SCHEMAS = {
|
|
6
6
|
schemas: {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"AuthActivateDeviceRequest": { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" } }, "required": ["handoffId", "linkRequestId"], "type": "object" },
|
|
8
|
+
"AuthActivateDeviceResponse": { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "linkRequestId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
9
|
+
"AuthClearDevicePortalSelectionRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
10
|
+
"AuthClearDevicePortalSelectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
9
11
|
"AuthClearLoginPortalSelectionRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
10
12
|
"AuthClearLoginPortalSelectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
11
|
-
"AuthClearWorkloadPortalSelectionRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
12
|
-
"AuthClearWorkloadPortalSelectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
13
13
|
"AuthConnectEvent": { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] },
|
|
14
14
|
"AuthConnectionKickedEvent": { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "kickedBy": { "type": "string" }, "origin": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "userNkey", "kickedBy"], "type": "object" }] },
|
|
15
|
+
"AuthCreateDeviceProfileRequest": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contract": { "additionalProperties": true, "properties": {}, "type": "object" }, "contractId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests"], "type": "object" },
|
|
16
|
+
"AuthCreateDeviceProfileResponse": { "additionalProperties": false, "properties": { "profile": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" } }, "required": ["profile"], "type": "object" },
|
|
15
17
|
"AuthCreatePortalRequest": { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl"], "type": "object" },
|
|
16
18
|
"AuthCreatePortalResponse": { "additionalProperties": false, "properties": { "portal": { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "disabled"], "type": "object" } }, "required": ["portal"], "type": "object" },
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"AuthDecideDeviceActivationReviewRequest": { "additionalProperties": false, "properties": { "decision": { "anyOf": [{ "const": "approve", "type": "string" }, { "const": "reject", "type": "string" }] }, "reason": { "minLength": 1, "type": "string" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "decision"], "type": "object" },
|
|
20
|
+
"AuthDecideDeviceActivationReviewResponse": { "additionalProperties": false, "properties": { "activation": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "confirmationCode": { "minLength": 1, "type": "string" }, "review": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "linkRequestId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" } }, "required": ["review"], "type": "object" },
|
|
21
|
+
"AuthDeviceActivationReviewRequestedEvent": { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "linkRequestId", "handoffId", "instanceId", "publicIdentityKey", "profileId", "requestedAt", "requestedBy"], "type": "object" },
|
|
22
|
+
"AuthDisableDeviceInstanceRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
23
|
+
"AuthDisableDeviceInstanceResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
24
|
+
"AuthDisableDeviceProfileRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
25
|
+
"AuthDisableDeviceProfileResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
26
|
+
"AuthDisableInstanceGrantPolicyRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
27
|
+
"AuthDisableInstanceGrantPolicyResponse": { "additionalProperties": false, "properties": { "policy": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" } }, "required": ["policy"], "type": "object" },
|
|
21
28
|
"AuthDisablePortalRequest": { "additionalProperties": false, "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" },
|
|
22
29
|
"AuthDisablePortalResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
23
|
-
"AuthDisableWorkloadInstanceRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
24
|
-
"AuthDisableWorkloadInstanceResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
25
|
-
"AuthDisableWorkloadProfileRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
26
|
-
"AuthDisableWorkloadProfileResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
27
30
|
"AuthDisconnectEvent": { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] },
|
|
31
|
+
"AuthGetDeviceActivationStatusRequest": { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" } }, "required": ["handoffId"], "type": "object" },
|
|
32
|
+
"AuthGetDeviceActivationStatusResponse": { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "linkRequestId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
33
|
+
"AuthGetDeviceConnectInfoRequest": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "iat": { "type": "number" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "sig": { "minLength": 1, "type": "string" } }, "required": ["publicIdentityKey", "contractDigest", "iat", "sig"], "type": "object" },
|
|
34
|
+
"AuthGetDeviceConnectInfoResponse": { "additionalProperties": false, "properties": { "connectInfo": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "device_identity", "type": "string" } }, "required": ["mode", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "transport": { "additionalProperties": false, "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "sentinel": { "additionalProperties": false, "properties": { "jwt": { "minLength": 1, "type": "string" }, "seed": { "minLength": 1, "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["natsServers", "sentinel"], "type": "object" } }, "required": ["instanceId", "profileId", "contractId", "contractDigest", "transport", "auth"], "type": "object" }, "status": { "const": "ready", "type": "string" } }, "required": ["status", "connectInfo"], "type": "object" },
|
|
35
|
+
"AuthGetDevicePortalDefaultRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
36
|
+
"AuthGetDevicePortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
28
37
|
"AuthGetInstalledContractRequest": { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" },
|
|
29
|
-
"AuthGetInstalledContractResponse": { "additionalProperties": false, "properties": { "contract": { "additionalProperties": false, "properties": { "analysis": { "additionalProperties": false, "properties": { "events": { "additionalProperties": false, "properties": { "events": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["events"], "type": "object" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "nats": { "additionalProperties": false, "properties": { "publish": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" }, "subscribe": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" } }, "required": ["publish", "subscribe"], "type": "object" }, "resources": { "additionalProperties": false, "properties": { "jobs": { "items": { "additionalProperties": false, "properties": { "ackWaitMs": { "type": "number" }, "backoffMs": { "items": { "type": "number" }, "type": "array" }, "concurrency": { "type": "number" }, "defaultDeadlineMs": { "type": "number" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "type": "number" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["queueType", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" }, "type": "array" }, "kv": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "history": { "type": "number" }, "maxValueBytes": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "ttlMs": { "type": "number" } }, "required": ["alias", "purpose", "required", "history", "ttlMs"], "type": "object" }, "type": "array" }, "streams": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "type": "number" }, "maxBytes": { "type": "number" }, "maxMsgs": { "type": "number" }, "numReplicas": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["alias", "purpose", "required", "subjects"], "type": "object" }, "type": "array" } }, "required": ["kv", "jobs", "streams"], "type": "object" }, "rpc": { "additionalProperties": false, "properties": { "methods": { "items": { "additionalProperties": false, "properties": { "callerCapabilities": { "items": { "type": "string" }, "type": "array" }, "key": { "type": "string" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "callerCapabilities"], "type": "object" }, "type": "array" } }, "required": ["methods"], "type": "object" }, "subjects": { "additionalProperties": false, "properties": { "subjects": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["key", "subject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["subjects"], "type": "object" } }, "required": ["namespaces", "rpc", "events", "nats", "resources"], "type": "object" }, "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" } }, "required": ["queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "numReplicas": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["purpose", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt", "contract"], "type": "object" } }, "required": ["contract"], "type": "object" },
|
|
38
|
+
"AuthGetInstalledContractResponse": { "additionalProperties": false, "properties": { "contract": { "additionalProperties": false, "properties": { "analysis": { "additionalProperties": false, "properties": { "events": { "additionalProperties": false, "properties": { "events": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["events"], "type": "object" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "nats": { "additionalProperties": false, "properties": { "publish": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" }, "subscribe": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" } }, "required": ["publish", "subscribe"], "type": "object" }, "resources": { "additionalProperties": false, "properties": { "jobs": { "items": { "additionalProperties": false, "properties": { "ackWaitMs": { "type": "number" }, "backoffMs": { "items": { "type": "number" }, "type": "array" }, "concurrency": { "type": "number" }, "defaultDeadlineMs": { "type": "number" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "type": "number" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["queueType", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" }, "type": "array" }, "kv": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "history": { "type": "number" }, "maxValueBytes": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "ttlMs": { "type": "number" } }, "required": ["alias", "purpose", "required", "history", "ttlMs"], "type": "object" }, "type": "array" }, "streams": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "type": "number" }, "maxBytes": { "type": "number" }, "maxMsgs": { "type": "number" }, "numReplicas": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["alias", "purpose", "required", "subjects"], "type": "object" }, "type": "array" } }, "required": ["kv", "jobs", "streams"], "type": "object" }, "rpc": { "additionalProperties": false, "properties": { "methods": { "items": { "additionalProperties": false, "properties": { "callerCapabilities": { "items": { "type": "string" }, "type": "array" }, "key": { "type": "string" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "callerCapabilities"], "type": "object" }, "type": "array" } }, "required": ["methods"], "type": "object" }, "subjects": { "additionalProperties": false, "properties": { "subjects": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["key", "subject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["subjects"], "type": "object" } }, "required": ["namespaces", "rpc", "events", "nats", "resources"], "type": "object" }, "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" } }, "required": ["queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "numReplicas": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["purpose", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt", "contract"], "type": "object" } }, "required": ["contract"], "type": "object" },
|
|
30
39
|
"AuthGetLoginPortalDefaultRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
31
40
|
"AuthGetLoginPortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
32
|
-
"AuthGetWorkloadActivationStatusRequest": { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" } }, "required": ["handoffId"], "type": "object" },
|
|
33
|
-
"AuthGetWorkloadActivationStatusResponse": { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
34
|
-
"AuthGetWorkloadConnectInfoRequest": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "iat": { "type": "number" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "sig": { "minLength": 1, "type": "string" } }, "required": ["publicIdentityKey", "contractDigest", "iat", "sig"], "type": "object" },
|
|
35
|
-
"AuthGetWorkloadConnectInfoResponse": { "additionalProperties": false, "properties": { "connectInfo": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "workload_identity", "type": "string" } }, "required": ["mode", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "transport": { "additionalProperties": false, "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "sentinel": { "additionalProperties": false, "properties": { "jwt": { "minLength": 1, "type": "string" }, "seed": { "minLength": 1, "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["natsServers", "sentinel"], "type": "object" } }, "required": ["instanceId", "profileId", "contractId", "contractDigest", "transport", "auth"], "type": "object" }, "status": { "const": "ready", "type": "string" } }, "required": ["status", "connectInfo"], "type": "object" },
|
|
36
|
-
"AuthGetWorkloadPortalDefaultRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
37
|
-
"AuthGetWorkloadPortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
38
41
|
"AuthInstallServiceRequest": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "displayName", "namespaces", "description", "contract"], "type": "object" },
|
|
39
|
-
"AuthInstallServiceResponse": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
42
|
+
"AuthInstallServiceResponse": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
40
43
|
"AuthKickConnectionRequest": { "additionalProperties": false, "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" },
|
|
41
44
|
"AuthKickConnectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
42
45
|
"AuthListApprovalsRequest": { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "type": "object" },
|
|
43
46
|
"AuthListApprovalsResponse": { "additionalProperties": false, "properties": { "approvals": { "items": { "additionalProperties": false, "properties": { "answer": { "anyOf": [{ "const": "approved", "type": "string" }, { "const": "denied", "type": "string" }] }, "answeredAt": { "format": "date-time", "type": "string" }, "approval": { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId", "displayName", "description", "capabilities"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["user", "answer", "answeredAt", "updatedAt", "approval"], "type": "object" }, "type": "array" } }, "required": ["approvals"], "type": "object" },
|
|
44
47
|
"AuthListConnectionsRequest": { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "type": "object" },
|
|
45
48
|
"AuthListConnectionsResponse": { "additionalProperties": false, "properties": { "connections": { "items": { "additionalProperties": false, "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "key": { "type": "string" }, "serverId": { "type": "string" } }, "required": ["key", "serverId", "clientId", "connectedAt"], "type": "object" }, "type": "array" } }, "required": ["connections"], "type": "object" },
|
|
49
|
+
"AuthListDeviceActivationReviewsRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "type": "object" },
|
|
50
|
+
"AuthListDeviceActivationReviewsResponse": { "additionalProperties": false, "properties": { "reviews": { "items": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "linkRequestId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" } }, "required": ["reviews"], "type": "object" },
|
|
51
|
+
"AuthListDeviceActivationsRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "type": "object" },
|
|
52
|
+
"AuthListDeviceActivationsResponse": { "additionalProperties": false, "properties": { "activations": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["activations"], "type": "object" },
|
|
53
|
+
"AuthListDeviceInstancesRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "type": "object" },
|
|
54
|
+
"AuthListDeviceInstancesResponse": { "additionalProperties": false, "properties": { "instances": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["instances"], "type": "object" },
|
|
55
|
+
"AuthListDevicePortalSelectionsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
56
|
+
"AuthListDevicePortalSelectionsResponse": { "additionalProperties": false, "properties": { "selections": { "items": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" },
|
|
57
|
+
"AuthListDeviceProfilesRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" },
|
|
58
|
+
"AuthListDeviceProfilesResponse": { "additionalProperties": false, "properties": { "profiles": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" }, "type": "array" } }, "required": ["profiles"], "type": "object" },
|
|
46
59
|
"AuthListInstalledContractsRequest": { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "type": "object" },
|
|
47
|
-
"AuthListInstalledContractsResponse": { "additionalProperties": false, "properties": { "contracts": { "items": { "additionalProperties": false, "properties": { "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "type": "array" } }, "required": ["contracts"], "type": "object" },
|
|
60
|
+
"AuthListInstalledContractsResponse": { "additionalProperties": false, "properties": { "contracts": { "items": { "additionalProperties": false, "properties": { "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "type": "array" } }, "required": ["contracts"], "type": "object" },
|
|
61
|
+
"AuthListInstanceGrantPoliciesRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
62
|
+
"AuthListInstanceGrantPoliciesResponse": { "additionalProperties": false, "properties": { "policies": { "items": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" }, "type": "array" } }, "required": ["policies"], "type": "object" },
|
|
48
63
|
"AuthListLoginPortalSelectionsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
49
64
|
"AuthListLoginPortalSelectionsResponse": { "additionalProperties": false, "properties": { "selections": { "items": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" },
|
|
50
65
|
"AuthListPortalsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
51
66
|
"AuthListPortalsResponse": { "additionalProperties": false, "properties": { "portals": { "items": { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "disabled"], "type": "object" }, "type": "array" } }, "required": ["portals"], "type": "object" },
|
|
52
67
|
"AuthListServicesRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
53
|
-
"AuthListServicesResponse": { "additionalProperties": false, "properties": { "services": { "items": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "type": "string" }, "displayName": { "type": "string" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "displayName", "active", "capabilities", "namespaces", "description", "createdAt"], "type": "object" }, "type": "array" } }, "required": ["services"], "type": "object" },
|
|
68
|
+
"AuthListServicesResponse": { "additionalProperties": false, "properties": { "services": { "items": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "type": "string" }, "displayName": { "type": "string" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "displayName", "active", "capabilities", "namespaces", "description", "createdAt"], "type": "object" }, "type": "array" } }, "required": ["services"], "type": "object" },
|
|
54
69
|
"AuthListSessionsRequest": { "additionalProperties": false, "properties": { "user": { "type": "string" } }, "type": "object" },
|
|
55
|
-
"AuthListSessionsResponse": { "additionalProperties": false, "properties": { "sessions": { "items": { "additionalProperties": false, "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "type": { "anyOf": [{ "const": "user", "type": "string" }, { "const": "service", "type": "string" }, { "const": "
|
|
70
|
+
"AuthListSessionsResponse": { "additionalProperties": false, "properties": { "sessions": { "items": { "additionalProperties": false, "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "type": { "anyOf": [{ "const": "user", "type": "string" }, { "const": "service", "type": "string" }, { "const": "device", "type": "string" }] } }, "required": ["key", "type", "createdAt", "lastAuth"], "type": "object" }, "type": "array" } }, "required": ["sessions"], "type": "object" },
|
|
56
71
|
"AuthListUsersRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
57
72
|
"AuthListUsersResponse": { "additionalProperties": false, "properties": { "users": { "items": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id", "active", "capabilities"], "type": "object" }, "type": "array" } }, "required": ["users"], "type": "object" },
|
|
58
|
-
"AuthListWorkloadActivationReviewsRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "type": "object" },
|
|
59
|
-
"AuthListWorkloadActivationReviewsResponse": { "additionalProperties": false, "properties": { "reviews": { "items": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" } }, "required": ["reviews"], "type": "object" },
|
|
60
|
-
"AuthListWorkloadActivationsRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "type": "object" },
|
|
61
|
-
"AuthListWorkloadActivationsResponse": { "additionalProperties": false, "properties": { "activations": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["activations"], "type": "object" },
|
|
62
|
-
"AuthListWorkloadInstancesRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "type": "object" },
|
|
63
|
-
"AuthListWorkloadInstancesResponse": { "additionalProperties": false, "properties": { "instances": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["instances"], "type": "object" },
|
|
64
|
-
"AuthListWorkloadPortalSelectionsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
65
|
-
"AuthListWorkloadPortalSelectionsResponse": { "additionalProperties": false, "properties": { "selections": { "items": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" },
|
|
66
|
-
"AuthListWorkloadProfilesRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" },
|
|
67
|
-
"AuthListWorkloadProfilesResponse": { "additionalProperties": false, "properties": { "profiles": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" }, "type": "array" } }, "required": ["profiles"], "type": "object" },
|
|
68
73
|
"AuthLogoutRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
69
74
|
"AuthLogoutResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
70
75
|
"AuthMeRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
71
|
-
"AuthMeResponse": { "additionalProperties": false, "properties": { "
|
|
72
|
-
"
|
|
73
|
-
"
|
|
76
|
+
"AuthMeResponse": { "additionalProperties": false, "properties": { "device": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "profileId", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "service": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "user": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "lastLogin": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" } }, "required": ["id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "type": "null" }] } }, "required": ["user", "device", "service"], "type": "object" },
|
|
77
|
+
"AuthProvisionDeviceInstanceRequest": { "additionalProperties": false, "properties": { "activationKey": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" } }, "required": ["profileId", "publicIdentityKey", "activationKey"], "type": "object" },
|
|
78
|
+
"AuthProvisionDeviceInstanceResponse": { "additionalProperties": false, "properties": { "instance": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" },
|
|
74
79
|
"AuthRenewBindingTokenRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
75
80
|
"AuthRenewBindingTokenResponse": { "additionalProperties": false, "properties": { "bindingToken": { "type": "string" }, "expires": { "type": "string" }, "inboxPrefix": { "type": "string" }, "natsServers": { "items": { "type": "string" }, "type": "array" }, "sentinel": { "additionalProperties": false, "properties": { "jwt": { "type": "string" }, "seed": { "type": "string" } }, "required": ["jwt", "seed"], "type": "object" }, "status": { "const": "bound", "type": "string" } }, "required": ["status", "bindingToken", "inboxPrefix", "expires", "sentinel", "natsServers"], "type": "object" },
|
|
76
81
|
"AuthRevokeApprovalRequest": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["contractDigest"], "type": "object" },
|
|
77
82
|
"AuthRevokeApprovalResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
83
|
+
"AuthRevokeDeviceActivationRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
84
|
+
"AuthRevokeDeviceActivationResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
78
85
|
"AuthRevokeSessionRequest": { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" },
|
|
79
86
|
"AuthRevokeSessionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
80
|
-
"AuthRevokeWorkloadActivationRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
81
|
-
"AuthRevokeWorkloadActivationResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
82
87
|
"AuthSessionRevokedEvent": { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "revokedBy": { "type": "string" }, "sessionKey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "revokedBy"], "type": "object" }] },
|
|
88
|
+
"AuthSetDevicePortalDefaultRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
89
|
+
"AuthSetDevicePortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
90
|
+
"AuthSetDevicePortalSelectionRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
91
|
+
"AuthSetDevicePortalSelectionResponse": { "additionalProperties": false, "properties": { "selection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" },
|
|
83
92
|
"AuthSetLoginPortalDefaultRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
84
93
|
"AuthSetLoginPortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
85
94
|
"AuthSetLoginPortalSelectionRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" },
|
|
86
95
|
"AuthSetLoginPortalSelectionResponse": { "additionalProperties": false, "properties": { "selection": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" },
|
|
87
|
-
"AuthSetWorkloadPortalDefaultRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
88
|
-
"AuthSetWorkloadPortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
89
|
-
"AuthSetWorkloadPortalSelectionRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
90
|
-
"AuthSetWorkloadPortalSelectionResponse": { "additionalProperties": false, "properties": { "selection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" },
|
|
91
96
|
"AuthUpdateUserRequest": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id"], "type": "object" },
|
|
92
97
|
"AuthUpdateUserResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
93
98
|
"AuthUpgradeServiceContractRequest": { "additionalProperties": false, "properties": { "contract": { "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "contract"], "type": "object" },
|
|
94
|
-
"AuthUpgradeServiceContractResponse": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
99
|
+
"AuthUpgradeServiceContractResponse": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
100
|
+
"AuthUpsertInstanceGrantPolicyRequest": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["contractId", "impliedCapabilities"], "type": "object" },
|
|
101
|
+
"AuthUpsertInstanceGrantPolicyResponse": { "additionalProperties": false, "properties": { "policy": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" } }, "required": ["policy"], "type": "object" },
|
|
95
102
|
"AuthValidateRequestRequest": { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "payloadHash": { "type": "string" }, "proof": { "type": "string" }, "sessionKey": { "type": "string" }, "subject": { "type": "string" } }, "required": ["sessionKey", "proof", "subject", "payloadHash"], "type": "object" },
|
|
96
|
-
"AuthValidateRequestResponse": { "additionalProperties": false, "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "
|
|
97
|
-
"
|
|
103
|
+
"AuthValidateRequestResponse": { "additionalProperties": false, "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "profileId", "active", "capabilities"], "type": "object" }] }, "inboxPrefix": { "type": "string" } }, "required": ["allowed", "inboxPrefix", "caller"], "type": "object" },
|
|
104
|
+
"Device": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" },
|
|
105
|
+
"DeviceActivationRecord": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" },
|
|
106
|
+
"DeviceActivationReview": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "linkRequestId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" },
|
|
107
|
+
"DeviceConnectInfo": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "device_identity", "type": "string" } }, "required": ["mode", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "transport": { "additionalProperties": false, "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "sentinel": { "additionalProperties": false, "properties": { "jwt": { "minLength": 1, "type": "string" }, "seed": { "minLength": 1, "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["natsServers", "sentinel"], "type": "object" } }, "required": ["instanceId", "profileId", "contractId", "contractDigest", "transport", "auth"], "type": "object" },
|
|
108
|
+
"DevicePortalDefault": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
109
|
+
"DevicePortalSelection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
110
|
+
"DeviceProfile": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" },
|
|
98
111
|
"HealthRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
99
112
|
"HealthResponse": { "additionalProperties": false, "properties": { "checks": { "items": { "additionalProperties": false, "properties": { "error": { "type": "string" }, "latencyMs": { "type": "number" }, "name": { "type": "string" }, "status": { "anyOf": [{ "const": "ok", "type": "string" }, { "const": "failed", "type": "string" }] } }, "required": ["name", "status", "latencyMs"], "type": "object" }, "type": "array" }, "service": { "type": "string" }, "status": { "anyOf": [{ "const": "healthy", "type": "string" }, { "const": "unhealthy", "type": "string" }, { "const": "degraded", "type": "string" }] }, "timestamp": { "format": "date-time", "type": "string" } }, "required": ["status", "service", "timestamp", "checks"], "type": "object" },
|
|
113
|
+
"InstanceGrantPolicy": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" },
|
|
100
114
|
"LoginPortalDefault": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
101
115
|
"LoginPortalSelection": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" },
|
|
102
116
|
"Portal": { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "disabled"], "type": "object" },
|
|
103
117
|
"PortalFlowState": { "anyOf": [{ "additionalProperties": false, "properties": { "app": { "additionalProperties": false, "properties": { "context": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" } }, "required": ["contractId", "contractDigest", "displayName", "description"], "type": "object" }, "flowId": { "minLength": 1, "type": "string" }, "providers": { "items": { "additionalProperties": false, "properties": { "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" } }, "required": ["id", "displayName"], "type": "object" }, "type": "array" }, "status": { "const": "choose_provider", "type": "string" } }, "required": ["status", "flowId", "providers", "app"], "type": "object" }, { "additionalProperties": false, "properties": { "approval": { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId", "displayName", "description", "capabilities"], "type": "object" }, "flowId": { "minLength": 1, "type": "string" }, "status": { "const": "approval_required", "type": "string" }, "user": { "additionalProperties": false, "properties": { "email": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "image": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["status", "flowId", "user", "approval"], "type": "object" }, { "additionalProperties": false, "properties": { "approval": { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId", "displayName", "description", "capabilities"], "type": "object" }, "flowId": { "minLength": 1, "type": "string" }, "returnLocation": { "minLength": 1, "type": "string" }, "status": { "const": "approval_denied", "type": "string" } }, "required": ["status", "flowId", "approval"], "type": "object" }, { "additionalProperties": false, "properties": { "approval": { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId", "displayName", "description", "capabilities"], "type": "object" }, "flowId": { "minLength": 1, "type": "string" }, "missingCapabilities": { "items": { "type": "string" }, "type": "array" }, "returnLocation": { "minLength": 1, "type": "string" }, "status": { "const": "insufficient_capabilities", "type": "string" }, "user": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "userCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["status", "flowId", "approval", "missingCapabilities", "userCapabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "location": { "minLength": 1, "type": "string" }, "status": { "const": "redirect", "type": "string" } }, "required": ["status", "location"], "type": "object" }, { "additionalProperties": false, "properties": { "status": { "const": "expired", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
104
|
-
"Workload": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" },
|
|
105
|
-
"WorkloadActivationRecord": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" },
|
|
106
|
-
"WorkloadActivationReview": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" },
|
|
107
|
-
"WorkloadConnectInfo": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "workload_identity", "type": "string" } }, "required": ["mode", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "transport": { "additionalProperties": false, "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "sentinel": { "additionalProperties": false, "properties": { "jwt": { "minLength": 1, "type": "string" }, "seed": { "minLength": 1, "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["natsServers", "sentinel"], "type": "object" } }, "required": ["instanceId", "profileId", "contractId", "contractDigest", "transport", "auth"], "type": "object" },
|
|
108
|
-
"WorkloadPortalDefault": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
109
|
-
"WorkloadPortalSelection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
110
|
-
"WorkloadProfile": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" },
|
|
111
118
|
},
|
|
112
119
|
rpc: {
|
|
113
|
-
"Auth.
|
|
114
|
-
input: { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" } }, "required": ["handoffId"], "type": "object" },
|
|
115
|
-
output: { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
120
|
+
"Auth.ActivateDevice": {
|
|
121
|
+
input: { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" } }, "required": ["handoffId", "linkRequestId"], "type": "object" },
|
|
122
|
+
output: { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "linkRequestId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
123
|
+
},
|
|
124
|
+
"Auth.ClearDevicePortalSelection": {
|
|
125
|
+
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
126
|
+
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
116
127
|
},
|
|
117
128
|
"Auth.ClearLoginPortalSelection": {
|
|
118
129
|
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
119
130
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
120
131
|
},
|
|
121
|
-
"Auth.
|
|
122
|
-
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
123
|
-
output: { "additionalProperties": false, "properties": { "
|
|
132
|
+
"Auth.CreateDeviceProfile": {
|
|
133
|
+
input: { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contract": { "additionalProperties": true, "properties": {}, "type": "object" }, "contractId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests"], "type": "object" },
|
|
134
|
+
output: { "additionalProperties": false, "properties": { "profile": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" } }, "required": ["profile"], "type": "object" },
|
|
124
135
|
},
|
|
125
136
|
"Auth.CreatePortal": {
|
|
126
137
|
input: { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl"], "type": "object" },
|
|
127
138
|
output: { "additionalProperties": false, "properties": { "portal": { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "disabled"], "type": "object" } }, "required": ["portal"], "type": "object" },
|
|
128
139
|
},
|
|
129
|
-
"Auth.
|
|
130
|
-
input: { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contract": { "additionalProperties": true, "properties": {}, "type": "object" }, "contractId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests"], "type": "object" },
|
|
131
|
-
output: { "additionalProperties": false, "properties": { "profile": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" } }, "required": ["profile"], "type": "object" },
|
|
132
|
-
},
|
|
133
|
-
"Auth.DecideWorkloadActivationReview": {
|
|
140
|
+
"Auth.DecideDeviceActivationReview": {
|
|
134
141
|
input: { "additionalProperties": false, "properties": { "decision": { "anyOf": [{ "const": "approve", "type": "string" }, { "const": "reject", "type": "string" }] }, "reason": { "minLength": 1, "type": "string" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "decision"], "type": "object" },
|
|
135
|
-
output: { "additionalProperties": false, "properties": { "activation": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "confirmationCode": { "minLength": 1, "type": "string" }, "review": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" } }, "required": ["review"], "type": "object" },
|
|
136
|
-
},
|
|
137
|
-
"Auth.DisablePortal": {
|
|
138
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" },
|
|
139
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
142
|
+
output: { "additionalProperties": false, "properties": { "activation": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "confirmationCode": { "minLength": 1, "type": "string" }, "review": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "linkRequestId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" } }, "required": ["review"], "type": "object" },
|
|
140
143
|
},
|
|
141
|
-
"Auth.
|
|
144
|
+
"Auth.DisableDeviceInstance": {
|
|
142
145
|
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
143
146
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
144
147
|
},
|
|
145
|
-
"Auth.
|
|
148
|
+
"Auth.DisableDeviceProfile": {
|
|
146
149
|
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
147
150
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
148
151
|
},
|
|
149
|
-
"Auth.
|
|
150
|
-
input: { "additionalProperties": false, "properties": { "
|
|
151
|
-
output: { "additionalProperties": false, "properties": { "contract": { "additionalProperties": false, "properties": { "analysis": { "additionalProperties": false, "properties": { "events": { "additionalProperties": false, "properties": { "events": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["events"], "type": "object" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "nats": { "additionalProperties": false, "properties": { "publish": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" }, "subscribe": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" } }, "required": ["publish", "subscribe"], "type": "object" }, "resources": { "additionalProperties": false, "properties": { "jobs": { "items": { "additionalProperties": false, "properties": { "ackWaitMs": { "type": "number" }, "backoffMs": { "items": { "type": "number" }, "type": "array" }, "concurrency": { "type": "number" }, "defaultDeadlineMs": { "type": "number" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "type": "number" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["queueType", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" }, "type": "array" }, "kv": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "history": { "type": "number" }, "maxValueBytes": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "ttlMs": { "type": "number" } }, "required": ["alias", "purpose", "required", "history", "ttlMs"], "type": "object" }, "type": "array" }, "streams": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "type": "number" }, "maxBytes": { "type": "number" }, "maxMsgs": { "type": "number" }, "numReplicas": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["alias", "purpose", "required", "subjects"], "type": "object" }, "type": "array" } }, "required": ["kv", "jobs", "streams"], "type": "object" }, "rpc": { "additionalProperties": false, "properties": { "methods": { "items": { "additionalProperties": false, "properties": { "callerCapabilities": { "items": { "type": "string" }, "type": "array" }, "key": { "type": "string" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "callerCapabilities"], "type": "object" }, "type": "array" } }, "required": ["methods"], "type": "object" }, "subjects": { "additionalProperties": false, "properties": { "subjects": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["key", "subject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["subjects"], "type": "object" } }, "required": ["namespaces", "rpc", "events", "nats", "resources"], "type": "object" }, "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" } }, "required": ["queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "numReplicas": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["purpose", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt", "contract"], "type": "object" } }, "required": ["contract"], "type": "object" },
|
|
152
|
+
"Auth.DisableInstanceGrantPolicy": {
|
|
153
|
+
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
154
|
+
output: { "additionalProperties": false, "properties": { "policy": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" } }, "required": ["policy"], "type": "object" },
|
|
152
155
|
},
|
|
153
|
-
"Auth.
|
|
154
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
155
|
-
output: { "additionalProperties": false, "properties": { "
|
|
156
|
+
"Auth.DisablePortal": {
|
|
157
|
+
input: { "additionalProperties": false, "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" },
|
|
158
|
+
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
156
159
|
},
|
|
157
|
-
"Auth.
|
|
160
|
+
"Auth.GetDeviceActivationStatus": {
|
|
158
161
|
input: { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" } }, "required": ["handoffId"], "type": "object" },
|
|
159
|
-
output: { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
162
|
+
output: { "anyOf": [{ "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "profileId", "activatedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "linkRequestId", "instanceId", "profileId", "requestedAt"], "type": "object" }, { "additionalProperties": false, "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] },
|
|
160
163
|
},
|
|
161
|
-
"Auth.
|
|
164
|
+
"Auth.GetDeviceConnectInfo": {
|
|
162
165
|
input: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "iat": { "type": "number" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "sig": { "minLength": 1, "type": "string" } }, "required": ["publicIdentityKey", "contractDigest", "iat", "sig"], "type": "object" },
|
|
163
|
-
output: { "additionalProperties": false, "properties": { "connectInfo": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "
|
|
166
|
+
output: { "additionalProperties": false, "properties": { "connectInfo": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "device_identity", "type": "string" } }, "required": ["mode", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "transport": { "additionalProperties": false, "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "sentinel": { "additionalProperties": false, "properties": { "jwt": { "minLength": 1, "type": "string" }, "seed": { "minLength": 1, "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["natsServers", "sentinel"], "type": "object" } }, "required": ["instanceId", "profileId", "contractId", "contractDigest", "transport", "auth"], "type": "object" }, "status": { "const": "ready", "type": "string" } }, "required": ["status", "connectInfo"], "type": "object" },
|
|
164
167
|
},
|
|
165
|
-
"Auth.
|
|
168
|
+
"Auth.GetDevicePortalDefault": {
|
|
169
|
+
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
170
|
+
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
171
|
+
},
|
|
172
|
+
"Auth.GetInstalledContract": {
|
|
173
|
+
input: { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" },
|
|
174
|
+
output: { "additionalProperties": false, "properties": { "contract": { "additionalProperties": false, "properties": { "analysis": { "additionalProperties": false, "properties": { "events": { "additionalProperties": false, "properties": { "events": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["events"], "type": "object" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "nats": { "additionalProperties": false, "properties": { "publish": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" }, "subscribe": { "items": { "additionalProperties": false, "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" } }, "required": ["publish", "subscribe"], "type": "object" }, "resources": { "additionalProperties": false, "properties": { "jobs": { "items": { "additionalProperties": false, "properties": { "ackWaitMs": { "type": "number" }, "backoffMs": { "items": { "type": "number" }, "type": "array" }, "concurrency": { "type": "number" }, "defaultDeadlineMs": { "type": "number" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "type": "number" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["queueType", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" }, "type": "array" }, "kv": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "history": { "type": "number" }, "maxValueBytes": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "ttlMs": { "type": "number" } }, "required": ["alias", "purpose", "required", "history", "ttlMs"], "type": "object" }, "type": "array" }, "streams": { "items": { "additionalProperties": false, "properties": { "alias": { "minLength": 1, "type": "string" }, "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "type": "number" }, "maxBytes": { "type": "number" }, "maxMsgs": { "type": "number" }, "numReplicas": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["alias", "purpose", "required", "subjects"], "type": "object" }, "type": "array" } }, "required": ["kv", "jobs", "streams"], "type": "object" }, "rpc": { "additionalProperties": false, "properties": { "methods": { "items": { "additionalProperties": false, "properties": { "callerCapabilities": { "items": { "type": "string" }, "type": "array" }, "key": { "type": "string" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "callerCapabilities"], "type": "object" }, "type": "array" } }, "required": ["methods"], "type": "object" }, "subjects": { "additionalProperties": false, "properties": { "subjects": { "items": { "additionalProperties": false, "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["key", "subject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["subjects"], "type": "object" } }, "required": ["namespaces", "rpc", "events", "nats", "resources"], "type": "object" }, "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "resources": { "properties": { "jobs": { "additionalProperties": false, "properties": { "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" } }, "required": ["queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "numReplicas": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["purpose", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt", "contract"], "type": "object" } }, "required": ["contract"], "type": "object" },
|
|
175
|
+
},
|
|
176
|
+
"Auth.GetLoginPortalDefault": {
|
|
166
177
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
167
178
|
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
168
179
|
},
|
|
@@ -172,7 +183,7 @@ exports.SCHEMAS = {
|
|
|
172
183
|
},
|
|
173
184
|
"Auth.InstallService": {
|
|
174
185
|
input: { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "displayName", "namespaces", "description", "contract"], "type": "object" },
|
|
175
|
-
output: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
186
|
+
output: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
176
187
|
},
|
|
177
188
|
"Auth.KickConnection": {
|
|
178
189
|
input: { "additionalProperties": false, "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" },
|
|
@@ -186,9 +197,33 @@ exports.SCHEMAS = {
|
|
|
186
197
|
input: { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "type": "object" },
|
|
187
198
|
output: { "additionalProperties": false, "properties": { "connections": { "items": { "additionalProperties": false, "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "key": { "type": "string" }, "serverId": { "type": "string" } }, "required": ["key", "serverId", "clientId", "connectedAt"], "type": "object" }, "type": "array" } }, "required": ["connections"], "type": "object" },
|
|
188
199
|
},
|
|
200
|
+
"Auth.ListDeviceActivationReviews": {
|
|
201
|
+
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "type": "object" },
|
|
202
|
+
output: { "additionalProperties": false, "properties": { "reviews": { "items": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "linkRequestId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" } }, "required": ["reviews"], "type": "object" },
|
|
203
|
+
},
|
|
204
|
+
"Auth.ListDeviceActivations": {
|
|
205
|
+
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "type": "object" },
|
|
206
|
+
output: { "additionalProperties": false, "properties": { "activations": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["activations"], "type": "object" },
|
|
207
|
+
},
|
|
208
|
+
"Auth.ListDeviceInstances": {
|
|
209
|
+
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "type": "object" },
|
|
210
|
+
output: { "additionalProperties": false, "properties": { "instances": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["instances"], "type": "object" },
|
|
211
|
+
},
|
|
212
|
+
"Auth.ListDevicePortalSelections": {
|
|
213
|
+
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
214
|
+
output: { "additionalProperties": false, "properties": { "selections": { "items": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" },
|
|
215
|
+
},
|
|
216
|
+
"Auth.ListDeviceProfiles": {
|
|
217
|
+
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" },
|
|
218
|
+
output: { "additionalProperties": false, "properties": { "profiles": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" }, "type": "array" } }, "required": ["profiles"], "type": "object" },
|
|
219
|
+
},
|
|
189
220
|
"Auth.ListInstalledContracts": {
|
|
190
221
|
input: { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "type": "object" },
|
|
191
|
-
output: { "additionalProperties": false, "properties": { "contracts": { "items": { "additionalProperties": false, "properties": { "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "type": "array" } }, "required": ["contracts"], "type": "object" },
|
|
222
|
+
output: { "additionalProperties": false, "properties": { "contracts": { "items": { "additionalProperties": false, "properties": { "analysisSummary": { "additionalProperties": false, "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "rpcMethods": { "type": "number" }, "streamResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "events", "natsPublish", "natsSubscribe", "kvResources", "jobsQueues", "streamResources"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "type": "array" } }, "required": ["contracts"], "type": "object" },
|
|
223
|
+
},
|
|
224
|
+
"Auth.ListInstanceGrantPolicies": {
|
|
225
|
+
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
226
|
+
output: { "additionalProperties": false, "properties": { "policies": { "items": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" }, "type": "array" } }, "required": ["policies"], "type": "object" },
|
|
192
227
|
},
|
|
193
228
|
"Auth.ListLoginPortalSelections": {
|
|
194
229
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
@@ -200,47 +235,27 @@ exports.SCHEMAS = {
|
|
|
200
235
|
},
|
|
201
236
|
"Auth.ListServices": {
|
|
202
237
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
203
|
-
output: { "additionalProperties": false, "properties": { "services": { "items": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "type": "string" }, "displayName": { "type": "string" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "displayName", "active", "capabilities", "namespaces", "description", "createdAt"], "type": "object" }, "type": "array" } }, "required": ["services"], "type": "object" },
|
|
238
|
+
output: { "additionalProperties": false, "properties": { "services": { "items": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "type": "string" }, "displayName": { "type": "string" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "displayName", "active", "capabilities", "namespaces", "description", "createdAt"], "type": "object" }, "type": "array" } }, "required": ["services"], "type": "object" },
|
|
204
239
|
},
|
|
205
240
|
"Auth.ListSessions": {
|
|
206
241
|
input: { "additionalProperties": false, "properties": { "user": { "type": "string" } }, "type": "object" },
|
|
207
|
-
output: { "additionalProperties": false, "properties": { "sessions": { "items": { "additionalProperties": false, "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "type": { "anyOf": [{ "const": "user", "type": "string" }, { "const": "service", "type": "string" }, { "const": "
|
|
242
|
+
output: { "additionalProperties": false, "properties": { "sessions": { "items": { "additionalProperties": false, "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "type": { "anyOf": [{ "const": "user", "type": "string" }, { "const": "service", "type": "string" }, { "const": "device", "type": "string" }] } }, "required": ["key", "type", "createdAt", "lastAuth"], "type": "object" }, "type": "array" } }, "required": ["sessions"], "type": "object" },
|
|
208
243
|
},
|
|
209
244
|
"Auth.ListUsers": {
|
|
210
245
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
211
246
|
output: { "additionalProperties": false, "properties": { "users": { "items": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id", "active", "capabilities"], "type": "object" }, "type": "array" } }, "required": ["users"], "type": "object" },
|
|
212
247
|
},
|
|
213
|
-
"Auth.ListWorkloadActivationReviews": {
|
|
214
|
-
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "type": "object" },
|
|
215
|
-
output: { "additionalProperties": false, "properties": { "reviews": { "items": { "additionalProperties": false, "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "profileId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" } }, "required": ["reviews"], "type": "object" },
|
|
216
|
-
},
|
|
217
|
-
"Auth.ListWorkloadActivations": {
|
|
218
|
-
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "type": "object" },
|
|
219
|
-
output: { "additionalProperties": false, "properties": { "activations": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["activations"], "type": "object" },
|
|
220
|
-
},
|
|
221
|
-
"Auth.ListWorkloadInstances": {
|
|
222
|
-
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "type": "object" },
|
|
223
|
-
output: { "additionalProperties": false, "properties": { "instances": { "items": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["instances"], "type": "object" },
|
|
224
|
-
},
|
|
225
|
-
"Auth.ListWorkloadPortalSelections": {
|
|
226
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
227
|
-
output: { "additionalProperties": false, "properties": { "selections": { "items": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" },
|
|
228
|
-
},
|
|
229
|
-
"Auth.ListWorkloadProfiles": {
|
|
230
|
-
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" },
|
|
231
|
-
output: { "additionalProperties": false, "properties": { "profiles": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "profileId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["profileId", "contractId", "allowedDigests", "disabled"], "type": "object" }, "type": "array" } }, "required": ["profiles"], "type": "object" },
|
|
232
|
-
},
|
|
233
248
|
"Auth.Logout": {
|
|
234
249
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
235
250
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
236
251
|
},
|
|
237
252
|
"Auth.Me": {
|
|
238
253
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
239
|
-
output: { "additionalProperties": false, "properties": { "
|
|
254
|
+
output: { "additionalProperties": false, "properties": { "device": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "profileId", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "service": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "user": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "lastLogin": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" } }, "required": ["id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "type": "null" }] } }, "required": ["user", "device", "service"], "type": "object" },
|
|
240
255
|
},
|
|
241
|
-
"Auth.
|
|
242
|
-
input: { "additionalProperties": false, "properties": { "activationKey": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" } }, "required": ["profileId", "publicIdentityKey", "activationKey"], "type": "object" },
|
|
243
|
-
output: { "additionalProperties": false, "properties": { "instance": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" },
|
|
256
|
+
"Auth.ProvisionDeviceInstance": {
|
|
257
|
+
input: { "additionalProperties": false, "properties": { "activationKey": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" } }, "required": ["profileId", "publicIdentityKey", "activationKey"], "type": "object" },
|
|
258
|
+
output: { "additionalProperties": false, "properties": { "instance": { "additionalProperties": false, "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "profileId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" },
|
|
244
259
|
},
|
|
245
260
|
"Auth.RenewBindingToken": {
|
|
246
261
|
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
@@ -250,13 +265,21 @@ exports.SCHEMAS = {
|
|
|
250
265
|
input: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["contractDigest"], "type": "object" },
|
|
251
266
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
252
267
|
},
|
|
268
|
+
"Auth.RevokeDeviceActivation": {
|
|
269
|
+
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
270
|
+
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
271
|
+
},
|
|
253
272
|
"Auth.RevokeSession": {
|
|
254
273
|
input: { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" },
|
|
255
274
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
256
275
|
},
|
|
257
|
-
"Auth.
|
|
258
|
-
input: { "additionalProperties": false, "properties": { "
|
|
259
|
-
output: { "additionalProperties": false, "properties": { "
|
|
276
|
+
"Auth.SetDevicePortalDefault": {
|
|
277
|
+
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
278
|
+
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
279
|
+
},
|
|
280
|
+
"Auth.SetDevicePortalSelection": {
|
|
281
|
+
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
282
|
+
output: { "additionalProperties": false, "properties": { "selection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" },
|
|
260
283
|
},
|
|
261
284
|
"Auth.SetLoginPortalDefault": {
|
|
262
285
|
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
@@ -266,25 +289,21 @@ exports.SCHEMAS = {
|
|
|
266
289
|
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" },
|
|
267
290
|
output: { "additionalProperties": false, "properties": { "selection": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" },
|
|
268
291
|
},
|
|
269
|
-
"Auth.SetWorkloadPortalDefault": {
|
|
270
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
271
|
-
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
272
|
-
},
|
|
273
|
-
"Auth.SetWorkloadPortalSelection": {
|
|
274
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
275
|
-
output: { "additionalProperties": false, "properties": { "selection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" },
|
|
276
|
-
},
|
|
277
292
|
"Auth.UpdateUser": {
|
|
278
293
|
input: { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id"], "type": "object" },
|
|
279
294
|
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
280
295
|
},
|
|
281
296
|
"Auth.UpgradeServiceContract": {
|
|
282
297
|
input: { "additionalProperties": false, "properties": { "contract": { "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "contract"], "type": "object" },
|
|
283
|
-
output: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
298
|
+
output: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "additionalProperties": false, "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" }, "streams": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "discard": { "minLength": 1, "type": "string" }, "maxAgeMs": { "minimum": 0, "type": "integer" }, "maxBytes": { "type": "integer" }, "maxMsgs": { "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "numReplicas": { "minimum": 1, "type": "integer" }, "retention": { "minLength": 1, "type": "string" }, "sources": { "items": { "additionalProperties": false, "properties": { "filterSubject": { "minLength": 1, "type": "string" }, "fromAlias": { "minLength": 1, "type": "string" }, "streamName": { "minLength": 1, "type": "string" }, "subjectTransformDest": { "minLength": 1, "type": "string" } }, "required": ["fromAlias", "streamName"], "type": "object" }, "type": "array" }, "storage": { "minLength": 1, "type": "string" }, "subjects": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["name", "subjects"], "type": "object" } }, "type": "object" } }, "type": "object" }, "sessionKey": { "type": "string" }, "success": { "type": "boolean" } }, "required": ["success", "sessionKey", "contractId", "contractDigest", "resourceBindings"], "type": "object" },
|
|
299
|
+
},
|
|
300
|
+
"Auth.UpsertInstanceGrantPolicy": {
|
|
301
|
+
input: { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["contractId", "impliedCapabilities"], "type": "object" },
|
|
302
|
+
output: { "additionalProperties": false, "properties": { "policy": { "additionalProperties": false, "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "additionalProperties": false, "properties": { "createdBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" } }, "required": ["policy"], "type": "object" },
|
|
284
303
|
},
|
|
285
304
|
"Auth.ValidateRequest": {
|
|
286
305
|
input: { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "payloadHash": { "type": "string" }, "proof": { "type": "string" }, "sessionKey": { "type": "string" }, "subject": { "type": "string" } }, "required": ["sessionKey", "proof", "subject", "payloadHash"], "type": "object" },
|
|
287
|
-
output: { "additionalProperties": false, "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "
|
|
306
|
+
output: { "additionalProperties": false, "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "profileId", "active", "capabilities"], "type": "object" }] }, "inboxPrefix": { "type": "string" } }, "required": ["allowed", "inboxPrefix", "caller"], "type": "object" },
|
|
288
307
|
},
|
|
289
308
|
},
|
|
290
309
|
operations: {},
|
|
@@ -295,15 +314,15 @@ exports.SCHEMAS = {
|
|
|
295
314
|
"Auth.ConnectionKicked": {
|
|
296
315
|
event: { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "kickedBy": { "type": "string" }, "origin": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "userNkey", "kickedBy"], "type": "object" }] },
|
|
297
316
|
},
|
|
317
|
+
"Auth.DeviceActivationReviewRequested": {
|
|
318
|
+
event: { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "linkRequestId", "handoffId", "instanceId", "publicIdentityKey", "profileId", "requestedAt", "requestedBy"], "type": "object" },
|
|
319
|
+
},
|
|
298
320
|
"Auth.Disconnect": {
|
|
299
321
|
event: { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] },
|
|
300
322
|
},
|
|
301
323
|
"Auth.SessionRevoked": {
|
|
302
324
|
event: { "allOf": [{ "properties": { "header": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "revokedBy": { "type": "string" }, "sessionKey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "revokedBy"], "type": "object" }] },
|
|
303
325
|
},
|
|
304
|
-
"Auth.WorkloadActivationReviewRequested": {
|
|
305
|
-
event: { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "profileId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "additionalProperties": false, "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "handoffId", "instanceId", "publicIdentityKey", "profileId", "requestedAt", "requestedBy"], "type": "object" },
|
|
306
|
-
},
|
|
307
326
|
},
|
|
308
327
|
subjects: {},
|
|
309
328
|
};
|