@qlever-llc/trellis 0.7.0-rc.5 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/esm/_dnt.shims.d.ts +1 -2
- package/esm/_dnt.shims.d.ts.map +1 -1
- package/esm/auth/browser/login.d.ts +10 -2
- package/esm/auth/browser/login.d.ts.map +1 -1
- package/esm/auth/browser/login.js +37 -21
- package/esm/auth/browser.d.ts +4 -3
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +3 -2
- package/esm/auth/device_activation.d.ts +16 -4
- package/esm/auth/device_activation.d.ts.map +1 -1
- package/esm/auth/device_activation.js +37 -13
- package/esm/auth/mod.d.ts +4 -4
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +4 -4
- package/esm/auth/protocol.d.ts +330 -65
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +278 -206
- package/esm/auth/schemas.d.ts +67 -2
- package/esm/auth/schemas.d.ts.map +1 -1
- package/esm/auth/schemas.js +30 -5
- package/esm/auth/session_auth.d.ts +2 -3
- package/esm/auth/session_auth.d.ts.map +1 -1
- package/esm/auth/session_auth.js +24 -10
- package/esm/auth.d.ts +3 -0
- package/esm/auth.d.ts.map +1 -0
- package/esm/auth.js +2 -0
- package/esm/browser.d.ts +6 -0
- package/esm/browser.d.ts.map +1 -0
- package/esm/browser.js +5 -0
- package/esm/client.d.ts.map +1 -0
- package/esm/client_connect.d.ts +53 -0
- package/esm/client_connect.d.ts.map +1 -0
- package/esm/client_connect.js +338 -0
- package/esm/codec.d.ts.map +1 -0
- package/esm/contract.d.ts +20 -0
- package/esm/contract.d.ts.map +1 -0
- package/esm/contract.js +1 -0
- package/esm/contract_support/canonical.d.ts.map +1 -0
- package/esm/contract_support/mod.d.ts +622 -0
- package/esm/contract_support/mod.d.ts.map +1 -0
- package/esm/contract_support/mod.js +968 -0
- package/esm/contract_support/protocol.d.ts.map +1 -0
- package/esm/contract_support/protocol.js +145 -0
- package/esm/contract_support/runtime.d.ts +75 -0
- package/esm/contract_support/runtime.d.ts.map +1 -0
- package/esm/contract_support/schema_pointers.d.ts.map +1 -0
- package/esm/contracts.d.ts +5 -0
- package/esm/contracts.d.ts.map +1 -0
- package/esm/contracts.js +3 -0
- package/esm/device.d.ts +48 -0
- package/esm/device.d.ts.map +1 -0
- package/esm/device.js +288 -0
- package/esm/env.d.ts +2 -0
- package/esm/env.d.ts.map +1 -0
- package/esm/env.js +1 -0
- package/esm/errors/AuthError.d.ts +30 -0
- package/esm/errors/AuthError.d.ts.map +1 -0
- package/esm/errors/AuthError.js +76 -0
- package/esm/errors/KVError.d.ts.map +1 -0
- package/esm/errors/RemoteError.d.ts +53 -0
- package/esm/errors/RemoteError.d.ts.map +1 -0
- package/esm/errors/RemoteError.js +80 -0
- package/esm/errors/StoreError.d.ts.map +1 -0
- package/esm/errors/TransferError.d.ts.map +1 -0
- package/esm/errors/TrellisError.d.ts.map +1 -0
- package/esm/errors/ValidationError.d.ts.map +1 -0
- package/esm/errors/index.d.ts +178 -0
- package/esm/errors/index.d.ts.map +1 -0
- package/esm/errors/index.js +118 -0
- package/esm/globals.d.ts.map +1 -0
- package/esm/health.d.ts +5 -0
- package/esm/health.d.ts.map +1 -0
- package/esm/health.js +3 -0
- package/esm/helpers.d.ts +10 -0
- package/esm/helpers.d.ts.map +1 -0
- package/esm/helpers.js +38 -0
- package/esm/host/deno.d.ts +3 -0
- package/esm/host/deno.d.ts.map +1 -0
- package/esm/host/deno.js +2 -0
- package/esm/host/mod.d.ts +3 -0
- package/esm/host/mod.d.ts.map +1 -0
- package/esm/host/mod.js +2 -0
- package/esm/host/node.d.ts +3 -0
- package/esm/host/node.d.ts.map +1 -0
- package/esm/host/node.js +2 -0
- package/esm/index.d.ts +29 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +15 -0
- package/esm/kv.d.ts.map +1 -0
- package/esm/models/trellis/TrellisError.d.ts +20 -0
- package/esm/models/trellis/TrellisError.d.ts.map +1 -0
- package/esm/models/trellis/TrellisError.js +15 -0
- package/esm/operations.d.ts +103 -0
- package/esm/operations.d.ts.map +1 -0
- package/esm/operations.js +229 -0
- package/esm/runtime_transport.d.ts +21 -0
- package/esm/runtime_transport.d.ts.map +1 -0
- package/esm/runtime_transport.js +50 -0
- package/esm/sdk/core.d.ts +3 -0
- package/esm/sdk/core.d.ts.map +1 -0
- package/esm/sdk/core.js +2 -0
- package/esm/server/deno.d.ts +1 -1
- package/esm/server/deno.d.ts.map +1 -1
- package/esm/server/health.d.ts +78 -9
- package/esm/server/health.d.ts.map +1 -1
- package/esm/server/health.js +196 -11
- package/esm/server/health_rpc.d.ts +2 -1
- package/esm/server/health_rpc.d.ts.map +1 -1
- package/esm/server/health_rpc.js +6 -4
- package/esm/server/health_schemas.d.ts +51 -0
- package/esm/server/health_schemas.d.ts.map +1 -1
- package/esm/server/health_schemas.js +39 -3
- package/esm/server/mod.d.ts +7 -10
- package/esm/server/mod.d.ts.map +1 -1
- package/esm/server/mod.js +6 -7
- package/esm/server/node.d.ts +1 -1
- package/esm/server/node.d.ts.map +1 -1
- package/esm/server/service.d.ts +65 -13
- package/esm/server/service.d.ts.map +1 -1
- package/esm/server/service.js +299 -54
- package/esm/server/transfer.d.ts +21 -5
- package/esm/server/transfer.d.ts.map +1 -1
- package/esm/server/transfer.js +210 -25
- package/esm/server.d.ts +40 -0
- package/esm/server.d.ts.map +1 -0
- package/esm/server.js +807 -0
- package/esm/server_logger.d.ts.map +1 -0
- package/esm/store.d.ts +60 -0
- package/esm/store.d.ts.map +1 -0
- package/esm/store.js +371 -0
- package/esm/tasks.d.ts.map +1 -0
- package/esm/tracing.d.ts +5 -0
- package/esm/tracing.d.ts.map +1 -0
- package/esm/tracing.js +7 -0
- package/esm/transfer.d.ts +114 -0
- package/esm/transfer.d.ts.map +1 -0
- package/esm/transfer.js +353 -0
- package/esm/trellis.d.ts +314 -0
- package/esm/trellis.d.ts.map +1 -0
- package/esm/trellis.js +1049 -0
- package/package.json +32 -55
- package/script/generated/js/sdks/trellis-core/api.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/api.js +42 -0
- package/script/generated/js/sdks/trellis-core/contract.d.ts +8 -0
- package/script/generated/js/sdks/trellis-core/contract.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/contract.js +62 -0
- package/script/generated/js/sdks/trellis-core/mod.d.ts +6 -0
- package/script/generated/js/sdks/trellis-core/mod.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/mod.js +29 -0
- package/script/generated/js/sdks/trellis-core/schemas.d.ts +1237 -0
- package/script/generated/js/sdks/trellis-core/schemas.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/schemas.js +32 -0
- package/script/generated/js/sdks/trellis-core/types.d.ts +198 -0
- package/script/generated/js/sdks/trellis-core/types.d.ts.map +1 -0
- package/script/generated/js/sdks/trellis-core/types.js +5 -0
- package/script/js/packages/trellis/auth/browser/login.d.ts +35 -0
- package/script/js/packages/trellis/auth/browser/login.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser/login.js +117 -0
- package/script/js/packages/trellis/auth/browser/portal.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser/portal.js +40 -0
- package/script/js/packages/trellis/auth/browser/session.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser/session.js +79 -0
- package/script/js/packages/trellis/auth/browser/storage.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser.d.ts +13 -0
- package/script/js/packages/trellis/auth/browser.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/browser.js +52 -0
- package/script/js/packages/trellis/auth/device_activation.d.ts +206 -0
- package/script/js/packages/trellis/auth/device_activation.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/device_activation.js +357 -0
- package/script/js/packages/trellis/auth/keys.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/keys.js +56 -0
- package/script/js/packages/trellis/auth/mod.d.ts +18 -0
- package/script/js/packages/trellis/auth/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/mod.js +217 -0
- package/script/js/packages/trellis/auth/proof.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/proof.js +48 -0
- package/script/js/packages/trellis/auth/protocol.d.ts +1580 -0
- package/script/js/packages/trellis/auth/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/protocol.js +808 -0
- package/script/js/packages/trellis/auth/schemas.d.ts +158 -0
- package/script/js/packages/trellis/auth/schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/schemas.js +92 -0
- package/script/js/packages/trellis/auth/session_auth.d.ts +19 -0
- package/script/js/packages/trellis/auth/session_auth.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/session_auth.js +59 -0
- package/script/js/packages/trellis/auth/trellis_id.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/trellis_id.js +8 -0
- package/script/js/packages/trellis/auth/types.d.ts.map +1 -0
- package/script/js/packages/trellis/auth/utils.d.ts.map +1 -0
- package/script/js/packages/trellis/auth.d.ts +2 -0
- package/script/js/packages/trellis/auth.d.ts.map +1 -0
- package/script/js/packages/trellis/auth.js +17 -0
- package/script/js/packages/trellis/client.d.ts.map +1 -0
- package/script/js/packages/trellis/client.js +67 -0
- package/script/js/packages/trellis/client_connect.d.ts +53 -0
- package/script/js/packages/trellis/client_connect.d.ts.map +1 -0
- package/script/js/packages/trellis/client_connect.js +342 -0
- package/script/js/packages/trellis/codec.d.ts.map +1 -0
- package/script/js/packages/trellis/codec.js +80 -0
- package/script/js/packages/trellis/contract.d.ts +20 -0
- package/script/js/packages/trellis/contract.d.ts.map +1 -0
- package/script/js/packages/trellis/contract.js +9 -0
- package/script/js/packages/trellis/contract_support/canonical.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/mod.d.ts +622 -0
- package/script/js/packages/trellis/contract_support/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/mod.js +1001 -0
- package/script/js/packages/trellis/contract_support/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/protocol.js +151 -0
- package/script/js/packages/trellis/contract_support/runtime.d.ts +75 -0
- package/script/js/packages/trellis/contract_support/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/contract_support/schema_pointers.d.ts.map +1 -0
- package/script/js/packages/trellis/contracts.d.ts +4 -0
- package/script/js/packages/trellis/contracts.d.ts.map +1 -0
- package/script/js/packages/trellis/contracts.js +24 -0
- package/script/js/packages/trellis/device.d.ts +48 -0
- package/script/js/packages/trellis/device.d.ts.map +1 -0
- package/script/js/packages/trellis/device.js +292 -0
- package/script/js/packages/trellis/errors/AuthError.d.ts +30 -0
- package/script/js/packages/trellis/errors/AuthError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/AuthError.js +83 -0
- package/script/js/packages/trellis/errors/KVError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/KVError.js +53 -0
- package/script/js/packages/trellis/errors/RemoteError.d.ts +53 -0
- package/script/js/packages/trellis/errors/RemoteError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/RemoteError.js +87 -0
- package/script/js/packages/trellis/errors/StoreError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/StoreError.js +48 -0
- package/script/js/packages/trellis/errors/TransferError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/TransferError.js +48 -0
- package/script/js/packages/trellis/errors/TrellisError.d.ts +16 -0
- package/script/js/packages/trellis/errors/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/TrellisError.js +19 -0
- package/script/js/packages/trellis/errors/ValidationError.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/ValidationError.js +84 -0
- package/script/js/packages/trellis/errors/index.d.ts +177 -0
- package/script/js/packages/trellis/errors/index.d.ts.map +1 -0
- package/script/js/packages/trellis/errors/index.js +136 -0
- package/script/js/packages/trellis/globals.d.ts.map +1 -0
- package/script/js/packages/trellis/health.d.ts +4 -0
- package/script/js/packages/trellis/health.d.ts.map +1 -0
- package/script/js/packages/trellis/health.js +18 -0
- package/script/js/packages/trellis/helpers.d.ts +10 -0
- package/script/js/packages/trellis/helpers.d.ts.map +1 -0
- package/script/js/packages/trellis/helpers.js +44 -0
- package/script/js/packages/trellis/index.d.ts +28 -0
- package/script/js/packages/trellis/index.d.ts.map +1 -0
- package/script/js/packages/trellis/index.js +81 -0
- package/script/js/packages/trellis/kv.d.ts.map +1 -0
- package/script/js/packages/trellis/kv.js +383 -0
- package/script/js/packages/trellis/models/trellis/TrellisError.d.ts +20 -0
- package/script/js/packages/trellis/models/trellis/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/models/trellis/TrellisError.js +21 -0
- package/script/js/packages/trellis/npm/src/_dnt.polyfills.d.ts +18 -0
- package/script/js/packages/trellis/npm/src/_dnt.polyfills.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/_dnt.shims.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/_dnt.shims.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/_dnt.shims.js +65 -0
- package/script/js/packages/trellis/npm/src/auth/browser/login.d.ts +35 -0
- package/script/js/packages/trellis/npm/src/auth/browser/login.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/login.js +117 -0
- package/script/js/packages/trellis/npm/src/auth/browser/portal.d.ts +11 -0
- package/script/js/packages/trellis/npm/src/auth/browser/portal.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/portal.js +40 -0
- package/script/js/packages/trellis/npm/src/auth/browser/session.d.ts +19 -0
- package/script/js/packages/trellis/npm/src/auth/browser/session.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/session.js +79 -0
- package/script/js/packages/trellis/npm/src/auth/browser/storage.d.ts +12 -0
- package/script/js/packages/trellis/npm/src/auth/browser/storage.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser/storage.js +67 -0
- package/script/js/packages/trellis/npm/src/auth/browser.d.ts +14 -0
- package/script/js/packages/trellis/npm/src/auth/browser.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/browser.js +53 -0
- package/script/js/packages/trellis/npm/src/auth/device_activation.d.ts +206 -0
- package/script/js/packages/trellis/npm/src/auth/device_activation.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/device_activation.js +357 -0
- package/script/js/packages/trellis/npm/src/auth/keys.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/auth/keys.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/keys.js +56 -0
- package/script/js/packages/trellis/npm/src/auth/mod.d.ts +18 -0
- package/script/js/packages/trellis/npm/src/auth/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/mod.js +217 -0
- package/script/js/packages/trellis/npm/src/auth/proof.d.ts +9 -0
- package/script/js/packages/trellis/npm/src/auth/proof.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/proof.js +48 -0
- package/script/js/packages/trellis/npm/src/auth/protocol.d.ts +1580 -0
- package/script/js/packages/trellis/npm/src/auth/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/protocol.js +808 -0
- package/script/js/packages/trellis/npm/src/auth/schemas.d.ts +158 -0
- package/script/js/packages/trellis/npm/src/auth/schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/schemas.js +92 -0
- package/script/js/packages/trellis/npm/src/auth/session_auth.d.ts +19 -0
- package/script/js/packages/trellis/npm/src/auth/session_auth.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/session_auth.js +59 -0
- package/script/js/packages/trellis/npm/src/auth/trellis_id.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/auth/trellis_id.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/trellis_id.js +8 -0
- package/script/js/packages/trellis/npm/src/auth/types.d.ts +8 -0
- package/script/js/packages/trellis/npm/src/auth/types.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/types.js +2 -0
- package/script/js/packages/trellis/npm/src/auth/utils.d.ts +11 -0
- package/script/js/packages/trellis/npm/src/auth/utils.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth/utils.js +77 -0
- package/script/js/packages/trellis/npm/src/auth.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/auth.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/auth.js +18 -0
- package/script/js/packages/trellis/npm/src/browser.d.ts +6 -0
- package/script/js/packages/trellis/npm/src/browser.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/browser.js +21 -0
- package/script/js/packages/trellis/npm/src/client.d.ts +33 -0
- package/script/js/packages/trellis/npm/src/client.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/client.js +67 -0
- package/script/js/packages/trellis/npm/src/client_connect.d.ts +53 -0
- package/script/js/packages/trellis/npm/src/client_connect.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/client_connect.js +366 -0
- package/script/js/packages/trellis/npm/src/codec.d.ts +13 -0
- package/script/js/packages/trellis/npm/src/codec.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/codec.js +80 -0
- package/script/js/packages/trellis/npm/src/contract.d.ts +20 -0
- package/script/js/packages/trellis/npm/src/contract.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract.js +9 -0
- package/script/js/packages/trellis/npm/src/contract_support/canonical.d.ts +14 -0
- package/script/js/packages/trellis/npm/src/contract_support/canonical.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/canonical.js +144 -0
- package/script/js/packages/trellis/npm/src/contract_support/mod.d.ts +622 -0
- package/script/js/packages/trellis/npm/src/contract_support/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/mod.js +1001 -0
- package/script/js/packages/trellis/npm/src/contract_support/protocol.d.ts +335 -0
- package/script/js/packages/trellis/npm/src/contract_support/protocol.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/protocol.js +151 -0
- package/script/js/packages/trellis/npm/src/contract_support/runtime.d.ts +75 -0
- package/script/js/packages/trellis/npm/src/contract_support/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/runtime.js +13 -0
- package/script/js/packages/trellis/npm/src/contract_support/schema_pointers.d.ts +18 -0
- package/script/js/packages/trellis/npm/src/contract_support/schema_pointers.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contract_support/schema_pointers.js +63 -0
- package/script/js/packages/trellis/npm/src/contracts.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/contracts.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/contracts.js +25 -0
- package/script/js/packages/trellis/npm/src/device.d.ts +48 -0
- package/script/js/packages/trellis/npm/src/device.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/device.js +292 -0
- package/script/js/packages/trellis/npm/src/env.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/env.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/env.js +5 -0
- package/script/js/packages/trellis/npm/src/errors/AuthError.d.ts +30 -0
- package/script/js/packages/trellis/npm/src/errors/AuthError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/AuthError.js +83 -0
- package/script/js/packages/trellis/npm/src/errors/KVError.d.ts +31 -0
- package/script/js/packages/trellis/npm/src/errors/KVError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/KVError.js +53 -0
- package/script/js/packages/trellis/npm/src/errors/RemoteError.d.ts +53 -0
- package/script/js/packages/trellis/npm/src/errors/RemoteError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/RemoteError.js +87 -0
- package/script/js/packages/trellis/npm/src/errors/StoreError.d.ts +22 -0
- package/script/js/packages/trellis/npm/src/errors/StoreError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/StoreError.js +48 -0
- package/script/js/packages/trellis/npm/src/errors/TransferError.d.ts +22 -0
- package/script/js/packages/trellis/npm/src/errors/TransferError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/TransferError.js +48 -0
- package/script/js/packages/trellis/npm/src/errors/TrellisError.d.ts +16 -0
- package/script/js/packages/trellis/npm/src/errors/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/TrellisError.js +19 -0
- package/script/js/packages/trellis/npm/src/errors/ValidationError.d.ts +51 -0
- package/script/js/packages/trellis/npm/src/errors/ValidationError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/ValidationError.js +84 -0
- package/script/js/packages/trellis/npm/src/errors/index.d.ts +178 -0
- package/script/js/packages/trellis/npm/src/errors/index.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/errors/index.js +137 -0
- package/script/js/packages/trellis/npm/src/globals.d.ts +10 -0
- package/script/js/packages/trellis/npm/src/globals.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/globals.js +19 -0
- package/script/js/packages/trellis/npm/src/health.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/health.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/health.js +19 -0
- package/script/js/packages/trellis/npm/src/helpers.d.ts +10 -0
- package/script/js/packages/trellis/npm/src/helpers.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/helpers.js +44 -0
- package/script/js/packages/trellis/npm/src/host/deno.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/host/deno.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/host/deno.js +18 -0
- package/script/js/packages/trellis/npm/src/host/mod.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/host/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/host/mod.js +18 -0
- package/script/js/packages/trellis/npm/src/host/node.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/host/node.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/host/node.js +18 -0
- package/script/js/packages/trellis/npm/src/index.d.ts +29 -0
- package/script/js/packages/trellis/npm/src/index.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/index.js +82 -0
- package/script/js/packages/trellis/npm/src/kv.d.ts +72 -0
- package/script/js/packages/trellis/npm/src/kv.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/kv.js +383 -0
- package/script/js/packages/trellis/npm/src/models/trellis/TrellisError.d.ts +20 -0
- package/script/js/packages/trellis/npm/src/models/trellis/TrellisError.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/models/trellis/TrellisError.js +21 -0
- package/script/js/packages/trellis/npm/src/operations.d.ts +103 -0
- package/script/js/packages/trellis/npm/src/operations.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/operations.js +235 -0
- package/script/js/packages/trellis/npm/src/runtime_transport.d.ts +21 -0
- package/script/js/packages/trellis/npm/src/runtime_transport.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/runtime_transport.js +77 -0
- package/script/js/packages/trellis/npm/src/sdk/core.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/sdk/core.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/sdk/core.js +20 -0
- package/script/js/packages/trellis/npm/src/server/deno.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/server/deno.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/deno.js +6 -0
- package/script/js/packages/trellis/npm/src/server/health.d.ts +161 -0
- package/script/js/packages/trellis/npm/src/server/health.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/health.js +291 -0
- package/script/js/packages/trellis/npm/src/server/health_rpc.d.ts +17 -0
- package/script/js/packages/trellis/npm/src/server/health_rpc.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/health_rpc.js +28 -0
- package/script/js/packages/trellis/npm/src/server/health_schemas.d.ts +71 -0
- package/script/js/packages/trellis/npm/src/server/health_schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/health_schemas.js +57 -0
- package/script/js/packages/trellis/npm/src/server/mod.d.ts +15 -0
- package/script/js/packages/trellis/npm/src/server/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/mod.js +39 -0
- package/script/js/packages/trellis/npm/src/server/node.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/server/node.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/node.js +6 -0
- package/script/js/packages/trellis/npm/src/server/runtime.d.ts +16 -0
- package/script/js/packages/trellis/npm/src/server/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/runtime.js +2 -0
- package/script/js/packages/trellis/npm/src/server/service.d.ts +205 -0
- package/script/js/packages/trellis/npm/src/server/service.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/service.js +654 -0
- package/script/js/packages/trellis/npm/src/server/subscription.d.ts +99 -0
- package/script/js/packages/trellis/npm/src/server/subscription.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/subscription.js +29 -0
- package/script/js/packages/trellis/npm/src/server/transfer.d.ts +57 -0
- package/script/js/packages/trellis/npm/src/server/transfer.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server/transfer.js +607 -0
- package/script/js/packages/trellis/npm/src/server.d.ts +40 -0
- package/script/js/packages/trellis/npm/src/server.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server.js +811 -0
- package/script/js/packages/trellis/npm/src/server_logger.d.ts +3 -0
- package/script/js/packages/trellis/npm/src/server_logger.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/server_logger.js +10 -0
- package/script/js/packages/trellis/npm/src/store.d.ts +60 -0
- package/script/js/packages/trellis/npm/src/store.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/store.js +377 -0
- package/script/js/packages/trellis/npm/src/tasks.d.ts +11 -0
- package/script/js/packages/trellis/npm/src/tasks.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/tasks.js +45 -0
- package/script/js/packages/trellis/npm/src/telemetry/carrier.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/core.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/env.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/env.js +36 -0
- package/script/js/packages/trellis/npm/src/telemetry/init.d.ts +4 -0
- package/script/js/packages/trellis/npm/src/telemetry/init.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/init.js +11 -0
- package/script/js/packages/trellis/npm/src/telemetry/mod.d.ts +10 -0
- package/script/js/packages/trellis/npm/src/telemetry/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/mod.js +26 -0
- package/script/js/packages/trellis/npm/src/telemetry/nats.d.ts +7 -0
- package/script/js/packages/trellis/npm/src/telemetry/nats.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/result.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/runtime.js +60 -0
- package/script/js/packages/trellis/npm/src/telemetry/trace.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/trace.js +31 -0
- package/script/js/packages/trellis/npm/src/telemetry/trellis.d.ts +2 -0
- package/script/js/packages/trellis/npm/src/telemetry/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/telemetry/trellis.js +7 -0
- package/script/js/packages/trellis/npm/src/tracing.d.ts +5 -0
- package/script/js/packages/trellis/npm/src/tracing.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/tracing.js +49 -0
- package/script/js/packages/trellis/npm/src/transfer.d.ts +114 -0
- package/script/js/packages/trellis/npm/src/transfer.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/transfer.js +363 -0
- package/script/js/packages/trellis/npm/src/trellis.d.ts +314 -0
- package/script/js/packages/trellis/npm/src/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/npm/src/trellis.js +1062 -0
- package/script/js/packages/trellis/operations.d.ts +103 -0
- package/script/js/packages/trellis/operations.d.ts.map +1 -0
- package/script/js/packages/trellis/operations.js +235 -0
- package/script/js/packages/trellis/runtime_transport.d.ts +21 -0
- package/script/js/packages/trellis/runtime_transport.d.ts.map +1 -0
- package/script/js/packages/trellis/runtime_transport.js +53 -0
- package/script/js/packages/trellis/sdk/core.d.ts +3 -0
- package/script/js/packages/trellis/sdk/core.d.ts.map +1 -0
- package/script/js/packages/trellis/sdk/core.js +20 -0
- package/script/js/packages/trellis/server/health.d.ts +170 -0
- package/script/js/packages/trellis/server/health.d.ts.map +1 -0
- package/script/js/packages/trellis/server/health.js +267 -0
- package/script/js/packages/trellis/server/health_schemas.d.ts +71 -0
- package/script/js/packages/trellis/server/health_schemas.d.ts.map +1 -0
- package/script/js/packages/trellis/server/health_schemas.js +57 -0
- package/script/js/packages/trellis/store.d.ts +60 -0
- package/script/js/packages/trellis/store.d.ts.map +1 -0
- package/script/js/packages/trellis/store.js +377 -0
- package/script/js/packages/trellis/tasks.d.ts.map +1 -0
- package/script/js/packages/trellis/tasks.js +45 -0
- package/script/js/packages/trellis/telemetry/carrier.d.ts +9 -0
- package/script/js/packages/trellis/telemetry/carrier.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/carrier.js +25 -0
- package/script/js/packages/trellis/telemetry/core.d.ts +8 -0
- package/script/js/packages/trellis/telemetry/core.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/core.js +24 -0
- package/script/js/packages/trellis/telemetry/env.d.ts +2 -0
- package/script/js/packages/trellis/telemetry/env.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/init.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/init.js +11 -0
- package/script/js/packages/trellis/telemetry/mod.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/mod.js +26 -0
- package/script/js/packages/trellis/telemetry/nats.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/nats.js +9 -0
- package/script/js/packages/trellis/telemetry/result.d.ts +2 -0
- package/script/js/packages/trellis/telemetry/result.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/result.js +21 -0
- package/script/js/packages/trellis/telemetry/runtime.d.ts +2 -0
- package/script/js/packages/trellis/telemetry/runtime.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/runtime.js +60 -0
- package/script/js/packages/trellis/telemetry/trace.d.ts +5 -0
- package/script/js/packages/trellis/telemetry/trace.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/trace.js +31 -0
- package/script/js/packages/trellis/telemetry/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/telemetry/trellis.js +7 -0
- package/script/js/packages/trellis/tracing.d.ts +4 -0
- package/script/js/packages/trellis/tracing.d.ts.map +1 -0
- package/script/js/packages/trellis/tracing.js +46 -0
- package/script/js/packages/trellis/transfer.d.ts +114 -0
- package/script/js/packages/trellis/transfer.d.ts.map +1 -0
- package/script/js/packages/trellis/transfer.js +363 -0
- package/script/js/packages/trellis/trellis.d.ts +314 -0
- package/script/js/packages/trellis/trellis.d.ts.map +1 -0
- package/script/js/packages/trellis/trellis.js +1062 -0
- package/esm/contracts/canonical.d.ts.map +0 -1
- package/esm/contracts/mod.d.ts +0 -482
- package/esm/contracts/mod.d.ts.map +0 -1
- package/esm/contracts/mod.js +0 -558
- package/esm/contracts/protocol.d.ts.map +0 -1
- package/esm/contracts/protocol.js +0 -145
- package/esm/contracts/runtime.d.ts +0 -48
- package/esm/contracts/runtime.d.ts.map +0 -1
- package/esm/contracts/schema_pointers.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/activity/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/activity/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/api.js +0 -43
- package/esm/trellis/_sdk/activity/contract.d.ts +0 -8
- package/esm/trellis/_sdk/activity/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/contract.js +0 -59
- package/esm/trellis/_sdk/activity/mod.d.ts +0 -7
- package/esm/trellis/_sdk/activity/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/mod.js +0 -5
- package/esm/trellis/_sdk/activity/package.json +0 -3
- package/esm/trellis/_sdk/activity/schemas.d.ts +0 -607
- package/esm/trellis/_sdk/activity/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/schemas.js +0 -33
- package/esm/trellis/_sdk/activity/types.d.ts +0 -96
- package/esm/trellis/_sdk/activity/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/activity/types.js +0 -3
- package/esm/trellis/_sdk/auth/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/auth/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/auth/api.d.ts +0 -10
- package/esm/trellis/_sdk/auth/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/api.js +0 -376
- package/esm/trellis/_sdk/auth/contract.d.ts +0 -28
- package/esm/trellis/_sdk/auth/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/contract.js +0 -83
- package/esm/trellis/_sdk/auth/mod.d.ts +0 -7
- package/esm/trellis/_sdk/auth/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/mod.js +0 -5
- package/esm/trellis/_sdk/auth/package.json +0 -3
- package/esm/trellis/_sdk/auth/schemas.d.ts +0 -10110
- package/esm/trellis/_sdk/auth/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/schemas.js +0 -325
- package/esm/trellis/_sdk/auth/types.d.ts +0 -1382
- package/esm/trellis/_sdk/auth/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/auth/types.js +0 -3
- package/esm/trellis/_sdk/core/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/core/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/core/api.d.ts +0 -10
- package/esm/trellis/_sdk/core/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/api.js +0 -36
- package/esm/trellis/_sdk/core/contract.d.ts +0 -8
- package/esm/trellis/_sdk/core/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/contract.js +0 -59
- package/esm/trellis/_sdk/core/mod.d.ts +0 -7
- package/esm/trellis/_sdk/core/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/mod.js +0 -5
- package/esm/trellis/_sdk/core/package.json +0 -3
- package/esm/trellis/_sdk/core/schemas.d.ts +0 -1266
- package/esm/trellis/_sdk/core/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/schemas.js +0 -28
- package/esm/trellis/_sdk/core/types.d.ts +0 -193
- package/esm/trellis/_sdk/core/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/core/types.js +0 -3
- package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts +0 -12
- package/esm/trellis/_sdk/state/_dnt.polyfills.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/_dnt.polyfills.js +0 -15
- package/esm/trellis/_sdk/state/api.d.ts +0 -10
- package/esm/trellis/_sdk/state/api.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/api.js +0 -71
- package/esm/trellis/_sdk/state/contract.d.ts +0 -8
- package/esm/trellis/_sdk/state/contract.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/contract.js +0 -59
- package/esm/trellis/_sdk/state/mod.d.ts +0 -7
- package/esm/trellis/_sdk/state/mod.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/mod.js +0 -5
- package/esm/trellis/_sdk/state/package.json +0 -3
- package/esm/trellis/_sdk/state/schemas.d.ts +0 -1437
- package/esm/trellis/_sdk/state/schemas.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/schemas.js +0 -62
- package/esm/trellis/_sdk/state/types.d.ts +0 -206
- package/esm/trellis/_sdk/state/types.d.ts.map +0 -1
- package/esm/trellis/_sdk/state/types.js +0 -3
- package/esm/trellis/auth/browser.d.ts +0 -3
- package/esm/trellis/auth/browser.d.ts.map +0 -1
- package/esm/trellis/auth/browser.js +0 -2
- package/esm/trellis/auth.d.ts +0 -3
- package/esm/trellis/auth.d.ts.map +0 -1
- package/esm/trellis/auth.js +0 -2
- package/esm/trellis/browser.d.ts +0 -6
- package/esm/trellis/browser.d.ts.map +0 -1
- package/esm/trellis/browser.js +0 -5
- package/esm/trellis/client.d.ts.map +0 -1
- package/esm/trellis/client_connect.d.ts +0 -53
- package/esm/trellis/client_connect.d.ts.map +0 -1
- package/esm/trellis/client_connect.js +0 -300
- package/esm/trellis/codec.d.ts.map +0 -1
- package/esm/trellis/contract.d.ts +0 -20
- package/esm/trellis/contract.d.ts.map +0 -1
- package/esm/trellis/contract.js +0 -4
- package/esm/trellis/contracts.d.ts +0 -5
- package/esm/trellis/contracts.d.ts.map +0 -1
- package/esm/trellis/contracts.js +0 -3
- package/esm/trellis/device.d.ts +0 -41
- package/esm/trellis/device.d.ts.map +0 -1
- package/esm/trellis/device.js +0 -209
- package/esm/trellis/env.d.ts +0 -2
- package/esm/trellis/env.d.ts.map +0 -1
- package/esm/trellis/env.js +0 -1
- package/esm/trellis/errors/AuthError.d.ts +0 -30
- package/esm/trellis/errors/AuthError.d.ts.map +0 -1
- package/esm/trellis/errors/AuthError.js +0 -76
- package/esm/trellis/errors/KVError.d.ts.map +0 -1
- package/esm/trellis/errors/RemoteError.d.ts +0 -47
- package/esm/trellis/errors/RemoteError.d.ts.map +0 -1
- package/esm/trellis/errors/RemoteError.js +0 -80
- package/esm/trellis/errors/StoreError.d.ts.map +0 -1
- package/esm/trellis/errors/TransferError.d.ts.map +0 -1
- package/esm/trellis/errors/TrellisError.d.ts.map +0 -1
- package/esm/trellis/errors/ValidationError.d.ts.map +0 -1
- package/esm/trellis/errors/index.d.ts +0 -47
- package/esm/trellis/errors/index.d.ts.map +0 -1
- package/esm/trellis/errors/index.js +0 -35
- package/esm/trellis/globals.d.ts.map +0 -1
- package/esm/trellis/helpers.d.ts +0 -13
- package/esm/trellis/helpers.d.ts.map +0 -1
- package/esm/trellis/helpers.js +0 -48
- package/esm/trellis/index.d.ts +0 -25
- package/esm/trellis/index.d.ts.map +0 -1
- package/esm/trellis/index.js +0 -13
- package/esm/trellis/kv.d.ts.map +0 -1
- package/esm/trellis/models/trellis/TrellisError.d.ts +0 -57
- package/esm/trellis/models/trellis/TrellisError.d.ts.map +0 -1
- package/esm/trellis/models/trellis/TrellisError.js +0 -20
- package/esm/trellis/operations.d.ts +0 -81
- package/esm/trellis/operations.d.ts.map +0 -1
- package/esm/trellis/operations.js +0 -206
- package/esm/trellis/runtime_transport.d.ts +0 -12
- package/esm/trellis/runtime_transport.d.ts.map +0 -1
- package/esm/trellis/runtime_transport.js +0 -35
- package/esm/trellis/sdk/activity.d.ts +0 -3
- package/esm/trellis/sdk/activity.d.ts.map +0 -1
- package/esm/trellis/sdk/activity.js +0 -2
- package/esm/trellis/sdk/auth.d.ts +0 -4
- package/esm/trellis/sdk/auth.d.ts.map +0 -1
- package/esm/trellis/sdk/auth.js +0 -3
- package/esm/trellis/sdk/core.d.ts +0 -4
- package/esm/trellis/sdk/core.d.ts.map +0 -1
- package/esm/trellis/sdk/core.js +0 -3
- package/esm/trellis/sdk/state.d.ts +0 -4
- package/esm/trellis/sdk/state.d.ts.map +0 -1
- package/esm/trellis/sdk/state.js +0 -3
- package/esm/trellis/server/deno.d.ts +0 -3
- package/esm/trellis/server/deno.d.ts.map +0 -1
- package/esm/trellis/server/deno.js +0 -2
- package/esm/trellis/server/health.d.ts +0 -5
- package/esm/trellis/server/health.d.ts.map +0 -1
- package/esm/trellis/server/health.js +0 -3
- package/esm/trellis/server/mod.d.ts +0 -3
- package/esm/trellis/server/mod.d.ts.map +0 -1
- package/esm/trellis/server/mod.js +0 -2
- package/esm/trellis/server/node.d.ts +0 -3
- package/esm/trellis/server/node.d.ts.map +0 -1
- package/esm/trellis/server/node.js +0 -2
- package/esm/trellis/server/runtime.d.ts +0 -4
- package/esm/trellis/server/runtime.d.ts.map +0 -1
- package/esm/trellis/server/runtime.js +0 -2
- package/esm/trellis/server.d.ts +0 -21
- package/esm/trellis/server.d.ts.map +0 -1
- package/esm/trellis/server.js +0 -536
- package/esm/trellis/server_logger.d.ts.map +0 -1
- package/esm/trellis/store.d.ts +0 -51
- package/esm/trellis/store.d.ts.map +0 -1
- package/esm/trellis/store.js +0 -310
- package/esm/trellis/tasks.d.ts.map +0 -1
- package/esm/trellis/tracing.d.ts +0 -5
- package/esm/trellis/tracing.d.ts.map +0 -1
- package/esm/trellis/tracing.js +0 -7
- package/esm/trellis/transfer.d.ts +0 -118
- package/esm/trellis/transfer.d.ts.map +0 -1
- package/esm/trellis/transfer.js +0 -357
- package/esm/trellis/trellis.d.ts +0 -210
- package/esm/trellis/trellis.d.ts.map +0 -1
- package/esm/trellis/trellis.js +0 -935
- package/script/auth/browser/login.d.ts +0 -27
- package/script/auth/browser/login.d.ts.map +0 -1
- package/script/auth/browser/login.js +0 -100
- package/script/auth/browser/portal.d.ts.map +0 -1
- package/script/auth/browser/portal.js +0 -40
- package/script/auth/browser/session.d.ts.map +0 -1
- package/script/auth/browser/session.js +0 -79
- package/script/auth/browser/storage.d.ts.map +0 -1
- package/script/auth/browser.d.ts +0 -13
- package/script/auth/browser.d.ts.map +0 -1
- package/script/auth/browser.js +0 -46
- package/script/auth/device_activation.d.ts +0 -194
- package/script/auth/device_activation.d.ts.map +0 -1
- package/script/auth/device_activation.js +0 -333
- package/script/auth/keys.d.ts.map +0 -1
- package/script/auth/keys.js +0 -56
- package/script/auth/mod.d.ts +0 -18
- package/script/auth/mod.d.ts.map +0 -1
- package/script/auth/mod.js +0 -180
- package/script/auth/proof.d.ts.map +0 -1
- package/script/auth/proof.js +0 -48
- package/script/auth/protocol.d.ts +0 -1315
- package/script/auth/protocol.d.ts.map +0 -1
- package/script/auth/protocol.js +0 -735
- package/script/auth/schemas.d.ts +0 -93
- package/script/auth/schemas.d.ts.map +0 -1
- package/script/auth/schemas.js +0 -67
- package/script/auth/session_auth.d.ts +0 -20
- package/script/auth/session_auth.d.ts.map +0 -1
- package/script/auth/session_auth.js +0 -45
- package/script/auth/trellis_id.d.ts.map +0 -1
- package/script/auth/trellis_id.js +0 -8
- package/script/auth/types.d.ts.map +0 -1
- package/script/auth/utils.d.ts.map +0 -1
- package/script/contracts/canonical.d.ts.map +0 -1
- package/script/contracts/mod.d.ts +0 -482
- package/script/contracts/mod.d.ts.map +0 -1
- package/script/contracts/mod.js +0 -583
- package/script/contracts/protocol.d.ts.map +0 -1
- package/script/contracts/protocol.js +0 -151
- package/script/contracts/runtime.d.ts +0 -48
- package/script/contracts/runtime.d.ts.map +0 -1
- package/script/contracts/schema_pointers.d.ts.map +0 -1
- package/script/telemetry/carrier.d.ts.map +0 -1
- package/script/telemetry/core.d.ts.map +0 -1
- package/script/telemetry/env.d.ts.map +0 -1
- package/script/telemetry/init.d.ts.map +0 -1
- package/script/telemetry/init.js +0 -11
- package/script/telemetry/mod.d.ts.map +0 -1
- package/script/telemetry/mod.js +0 -26
- package/script/telemetry/nats.d.ts.map +0 -1
- package/script/telemetry/result.d.ts.map +0 -1
- package/script/telemetry/runtime.d.ts.map +0 -1
- package/script/telemetry/runtime.js +0 -60
- package/script/telemetry/trace.d.ts.map +0 -1
- package/script/telemetry/trace.js +0 -31
- package/script/telemetry/trellis.d.ts.map +0 -1
- package/script/telemetry/trellis.js +0 -7
- package/script/trellis/_sdk/activity/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/activity/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/api.d.ts +0 -10
- package/script/trellis/_sdk/activity/api.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/api.js +0 -46
- package/script/trellis/_sdk/activity/contract.d.ts +0 -8
- package/script/trellis/_sdk/activity/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/contract.js +0 -62
- package/script/trellis/_sdk/activity/mod.d.ts +0 -7
- package/script/trellis/_sdk/activity/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/mod.js +0 -30
- package/script/trellis/_sdk/activity/package.json +0 -3
- package/script/trellis/_sdk/activity/schemas.d.ts +0 -607
- package/script/trellis/_sdk/activity/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/schemas.js +0 -36
- package/script/trellis/_sdk/activity/types.d.ts +0 -96
- package/script/trellis/_sdk/activity/types.d.ts.map +0 -1
- package/script/trellis/_sdk/activity/types.js +0 -6
- package/script/trellis/_sdk/auth/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/auth/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/_dnt.polyfills.js +0 -16
- package/script/trellis/_sdk/auth/api.d.ts +0 -10
- package/script/trellis/_sdk/auth/api.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/api.js +0 -379
- package/script/trellis/_sdk/auth/contract.d.ts +0 -28
- package/script/trellis/_sdk/auth/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/contract.js +0 -86
- package/script/trellis/_sdk/auth/mod.d.ts +0 -7
- package/script/trellis/_sdk/auth/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/mod.js +0 -31
- package/script/trellis/_sdk/auth/package.json +0 -3
- package/script/trellis/_sdk/auth/schemas.d.ts +0 -10110
- package/script/trellis/_sdk/auth/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/schemas.js +0 -328
- package/script/trellis/_sdk/auth/types.d.ts +0 -1382
- package/script/trellis/_sdk/auth/types.d.ts.map +0 -1
- package/script/trellis/_sdk/auth/types.js +0 -6
- package/script/trellis/_sdk/core/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/core/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/core/_dnt.polyfills.js +0 -16
- package/script/trellis/_sdk/core/api.d.ts +0 -10
- package/script/trellis/_sdk/core/api.d.ts.map +0 -1
- package/script/trellis/_sdk/core/api.js +0 -39
- package/script/trellis/_sdk/core/contract.d.ts +0 -8
- package/script/trellis/_sdk/core/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/core/contract.js +0 -62
- package/script/trellis/_sdk/core/mod.d.ts +0 -7
- package/script/trellis/_sdk/core/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/core/mod.js +0 -30
- package/script/trellis/_sdk/core/package.json +0 -3
- package/script/trellis/_sdk/core/schemas.d.ts +0 -1266
- package/script/trellis/_sdk/core/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/core/schemas.js +0 -31
- package/script/trellis/_sdk/core/types.d.ts +0 -193
- package/script/trellis/_sdk/core/types.d.ts.map +0 -1
- package/script/trellis/_sdk/core/types.js +0 -6
- package/script/trellis/_sdk/state/_dnt.polyfills.d.ts +0 -12
- package/script/trellis/_sdk/state/_dnt.polyfills.d.ts.map +0 -1
- package/script/trellis/_sdk/state/_dnt.polyfills.js +0 -16
- package/script/trellis/_sdk/state/api.d.ts +0 -10
- package/script/trellis/_sdk/state/api.d.ts.map +0 -1
- package/script/trellis/_sdk/state/api.js +0 -74
- package/script/trellis/_sdk/state/contract.d.ts +0 -8
- package/script/trellis/_sdk/state/contract.d.ts.map +0 -1
- package/script/trellis/_sdk/state/contract.js +0 -62
- package/script/trellis/_sdk/state/mod.d.ts +0 -7
- package/script/trellis/_sdk/state/mod.d.ts.map +0 -1
- package/script/trellis/_sdk/state/mod.js +0 -30
- package/script/trellis/_sdk/state/package.json +0 -3
- package/script/trellis/_sdk/state/schemas.d.ts +0 -1437
- package/script/trellis/_sdk/state/schemas.d.ts.map +0 -1
- package/script/trellis/_sdk/state/schemas.js +0 -65
- package/script/trellis/_sdk/state/types.d.ts +0 -206
- package/script/trellis/_sdk/state/types.d.ts.map +0 -1
- package/script/trellis/_sdk/state/types.js +0 -6
- package/script/trellis/auth.d.ts +0 -2
- package/script/trellis/auth.d.ts.map +0 -1
- package/script/trellis/auth.js +0 -17
- package/script/trellis/client.d.ts.map +0 -1
- package/script/trellis/client.js +0 -67
- package/script/trellis/client_connect.d.ts +0 -53
- package/script/trellis/client_connect.d.ts.map +0 -1
- package/script/trellis/client_connect.js +0 -304
- package/script/trellis/codec.d.ts.map +0 -1
- package/script/trellis/codec.js +0 -80
- package/script/trellis/contract.d.ts +0 -20
- package/script/trellis/contract.d.ts.map +0 -1
- package/script/trellis/contract.js +0 -7
- package/script/trellis/contracts.d.ts +0 -4
- package/script/trellis/contracts.d.ts.map +0 -1
- package/script/trellis/contracts.js +0 -20
- package/script/trellis/device.d.ts +0 -41
- package/script/trellis/device.d.ts.map +0 -1
- package/script/trellis/device.js +0 -213
- package/script/trellis/errors/AuthError.d.ts +0 -30
- package/script/trellis/errors/AuthError.d.ts.map +0 -1
- package/script/trellis/errors/AuthError.js +0 -83
- package/script/trellis/errors/KVError.d.ts.map +0 -1
- package/script/trellis/errors/KVError.js +0 -53
- package/script/trellis/errors/RemoteError.d.ts +0 -47
- package/script/trellis/errors/RemoteError.d.ts.map +0 -1
- package/script/trellis/errors/RemoteError.js +0 -87
- package/script/trellis/errors/StoreError.d.ts.map +0 -1
- package/script/trellis/errors/StoreError.js +0 -48
- package/script/trellis/errors/TransferError.d.ts.map +0 -1
- package/script/trellis/errors/TransferError.js +0 -48
- package/script/trellis/errors/TrellisError.d.ts +0 -16
- package/script/trellis/errors/TrellisError.d.ts.map +0 -1
- package/script/trellis/errors/TrellisError.js +0 -19
- package/script/trellis/errors/ValidationError.d.ts.map +0 -1
- package/script/trellis/errors/ValidationError.js +0 -84
- package/script/trellis/errors/index.d.ts +0 -46
- package/script/trellis/errors/index.d.ts.map +0 -1
- package/script/trellis/errors/index.js +0 -52
- package/script/trellis/globals.d.ts.map +0 -1
- package/script/trellis/helpers.d.ts +0 -12
- package/script/trellis/helpers.d.ts.map +0 -1
- package/script/trellis/helpers.js +0 -54
- package/script/trellis/index.d.ts +0 -24
- package/script/trellis/index.d.ts.map +0 -1
- package/script/trellis/index.js +0 -70
- package/script/trellis/kv.d.ts.map +0 -1
- package/script/trellis/kv.js +0 -383
- package/script/trellis/models/trellis/TrellisError.d.ts +0 -57
- package/script/trellis/models/trellis/TrellisError.d.ts.map +0 -1
- package/script/trellis/models/trellis/TrellisError.js +0 -26
- package/script/trellis/operations.d.ts +0 -81
- package/script/trellis/operations.d.ts.map +0 -1
- package/script/trellis/operations.js +0 -212
- package/script/trellis/runtime_transport.d.ts +0 -12
- package/script/trellis/runtime_transport.d.ts.map +0 -1
- package/script/trellis/runtime_transport.js +0 -37
- package/script/trellis/sdk/core.d.ts +0 -3
- package/script/trellis/sdk/core.d.ts.map +0 -1
- package/script/trellis/sdk/core.js +0 -20
- package/script/trellis/store.d.ts +0 -51
- package/script/trellis/store.d.ts.map +0 -1
- package/script/trellis/store.js +0 -316
- package/script/trellis/tasks.d.ts.map +0 -1
- package/script/trellis/tasks.js +0 -45
- package/script/trellis/tracing.d.ts +0 -4
- package/script/trellis/tracing.d.ts.map +0 -1
- package/script/trellis/tracing.js +0 -46
- package/script/trellis/transfer.d.ts +0 -118
- package/script/trellis/transfer.d.ts.map +0 -1
- package/script/trellis/transfer.js +0 -367
- package/script/trellis/trellis.d.ts +0 -210
- package/script/trellis/trellis.d.ts.map +0 -1
- package/script/trellis/trellis.js +0 -948
- /package/esm/{trellis/client.d.ts → client.d.ts} +0 -0
- /package/esm/{trellis/client.js → client.js} +0 -0
- /package/esm/{trellis/codec.d.ts → codec.d.ts} +0 -0
- /package/esm/{trellis/codec.js → codec.js} +0 -0
- /package/esm/{contracts → contract_support}/canonical.d.ts +0 -0
- /package/esm/{contracts → contract_support}/canonical.js +0 -0
- /package/esm/{contracts → contract_support}/protocol.d.ts +0 -0
- /package/esm/{contracts → contract_support}/runtime.js +0 -0
- /package/esm/{contracts → contract_support}/schema_pointers.d.ts +0 -0
- /package/esm/{contracts → contract_support}/schema_pointers.js +0 -0
- /package/esm/{trellis/errors → errors}/KVError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/KVError.js +0 -0
- /package/esm/{trellis/errors → errors}/StoreError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/StoreError.js +0 -0
- /package/esm/{trellis/errors → errors}/TransferError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/TransferError.js +0 -0
- /package/esm/{trellis/errors → errors}/TrellisError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/TrellisError.js +0 -0
- /package/esm/{trellis/errors → errors}/ValidationError.d.ts +0 -0
- /package/esm/{trellis/errors → errors}/ValidationError.js +0 -0
- /package/esm/{trellis/globals.d.ts → globals.d.ts} +0 -0
- /package/esm/{trellis/globals.js → globals.js} +0 -0
- /package/esm/{trellis/kv.d.ts → kv.d.ts} +0 -0
- /package/esm/{trellis/kv.js → kv.js} +0 -0
- /package/esm/{trellis/server_logger.d.ts → server_logger.d.ts} +0 -0
- /package/esm/{trellis/server_logger.js → server_logger.js} +0 -0
- /package/esm/{trellis/tasks.d.ts → tasks.d.ts} +0 -0
- /package/esm/{trellis/tasks.js → tasks.js} +0 -0
- /package/{esm/trellis/_sdk/activity → script/generated/js/sdks/trellis-core}/api.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/portal.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/session.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/storage.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/browser/storage.js +0 -0
- /package/script/{auth → js/packages/trellis/auth}/keys.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/proof.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/trellis_id.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/types.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/types.js +0 -0
- /package/script/{auth → js/packages/trellis/auth}/utils.d.ts +0 -0
- /package/script/{auth → js/packages/trellis/auth}/utils.js +0 -0
- /package/script/{trellis → js/packages/trellis}/client.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/codec.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/canonical.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/canonical.js +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/protocol.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/runtime.js +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/schema_pointers.d.ts +0 -0
- /package/script/{contracts → js/packages/trellis/contract_support}/schema_pointers.js +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/KVError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/StoreError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/TransferError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/errors/ValidationError.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/globals.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/globals.js +0 -0
- /package/script/{trellis → js/packages/trellis}/kv.d.ts +0 -0
- /package/script/{trellis/_sdk/activity → js/packages/trellis/npm/src}/_dnt.polyfills.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/carrier.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/carrier.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/core.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/core.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/env.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/nats.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/result.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/result.js +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/runtime.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/npm/src/telemetry}/trace.d.ts +0 -0
- /package/script/{trellis → js/packages/trellis}/tasks.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/env.js +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/init.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/mod.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/nats.d.ts +0 -0
- /package/script/{telemetry → js/packages/trellis/telemetry}/trellis.d.ts +0 -0
|
@@ -1,325 +0,0 @@
|
|
|
1
|
-
// Generated from ./generated/contracts/manifests/trellis.auth@v1.json
|
|
2
|
-
export const SCHEMAS = {
|
|
3
|
-
schemas: {
|
|
4
|
-
"AuthActivateDeviceRequest": { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" } }, "required": ["handoffId", "linkRequestId"], "type": "object" },
|
|
5
|
-
"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" }] },
|
|
6
|
-
"AuthClearDevicePortalSelectionRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
7
|
-
"AuthClearDevicePortalSelectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
8
|
-
"AuthClearLoginPortalSelectionRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
9
|
-
"AuthClearLoginPortalSelectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
10
|
-
"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" }] },
|
|
11
|
-
"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" }] },
|
|
12
|
-
"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" },
|
|
13
|
-
"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" },
|
|
14
|
-
"AuthCreatePortalRequest": { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl"], "type": "object" },
|
|
15
|
-
"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" },
|
|
16
|
-
"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" },
|
|
17
|
-
"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" },
|
|
18
|
-
"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" },
|
|
19
|
-
"AuthDisableDeviceInstanceRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
20
|
-
"AuthDisableDeviceInstanceResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
21
|
-
"AuthDisableDeviceProfileRequest": { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
22
|
-
"AuthDisableDeviceProfileResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
23
|
-
"AuthDisableInstanceGrantPolicyRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
24
|
-
"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" },
|
|
25
|
-
"AuthDisablePortalRequest": { "additionalProperties": false, "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" },
|
|
26
|
-
"AuthDisablePortalResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
27
|
-
"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" }] },
|
|
28
|
-
"AuthGetDeviceActivationStatusRequest": { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" } }, "required": ["handoffId"], "type": "object" },
|
|
29
|
-
"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" }] },
|
|
30
|
-
"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" },
|
|
31
|
-
"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" },
|
|
32
|
-
"AuthGetDevicePortalDefaultRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
33
|
-
"AuthGetDevicePortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
34
|
-
"AuthGetInstalledContractRequest": { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" },
|
|
35
|
-
"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" },
|
|
36
|
-
"AuthGetLoginPortalDefaultRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
37
|
-
"AuthGetLoginPortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
38
|
-
"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" }, "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
|
-
"AuthKickConnectionRequest": { "additionalProperties": false, "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" },
|
|
41
|
-
"AuthKickConnectionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
42
|
-
"AuthListApprovalsRequest": { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "type": "object" },
|
|
43
|
-
"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
|
-
"AuthListConnectionsRequest": { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "type": "object" },
|
|
45
|
-
"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" },
|
|
46
|
-
"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" },
|
|
47
|
-
"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" },
|
|
48
|
-
"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" },
|
|
49
|
-
"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" },
|
|
50
|
-
"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" },
|
|
51
|
-
"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" },
|
|
52
|
-
"AuthListDevicePortalSelectionsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
53
|
-
"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" },
|
|
54
|
-
"AuthListDeviceProfilesRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" },
|
|
55
|
-
"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" },
|
|
56
|
-
"AuthListInstalledContractsRequest": { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "type": "object" },
|
|
57
|
-
"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" },
|
|
58
|
-
"AuthListInstanceGrantPoliciesRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
59
|
-
"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" },
|
|
60
|
-
"AuthListLoginPortalSelectionsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
61
|
-
"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" },
|
|
62
|
-
"AuthListPortalsRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
63
|
-
"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" },
|
|
64
|
-
"AuthListServicesRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
65
|
-
"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" },
|
|
66
|
-
"AuthListSessionsRequest": { "additionalProperties": false, "properties": { "user": { "type": "string" } }, "type": "object" },
|
|
67
|
-
"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" },
|
|
68
|
-
"AuthListUsersRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
69
|
-
"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" },
|
|
70
|
-
"AuthLogoutRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
71
|
-
"AuthLogoutResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
72
|
-
"AuthMeRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
73
|
-
"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" },
|
|
74
|
-
"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" },
|
|
75
|
-
"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" },
|
|
76
|
-
"AuthRenewBindingTokenRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
77
|
-
"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" },
|
|
78
|
-
"AuthRevokeApprovalRequest": { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["contractDigest"], "type": "object" },
|
|
79
|
-
"AuthRevokeApprovalResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
80
|
-
"AuthRevokeDeviceActivationRequest": { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
81
|
-
"AuthRevokeDeviceActivationResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
82
|
-
"AuthRevokeSessionRequest": { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" },
|
|
83
|
-
"AuthRevokeSessionResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
84
|
-
"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" }] },
|
|
85
|
-
"AuthSetDevicePortalDefaultRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
86
|
-
"AuthSetDevicePortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
87
|
-
"AuthSetDevicePortalSelectionRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
88
|
-
"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" },
|
|
89
|
-
"AuthSetLoginPortalDefaultRequest": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
90
|
-
"AuthSetLoginPortalDefaultResponse": { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
91
|
-
"AuthSetLoginPortalSelectionRequest": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" },
|
|
92
|
-
"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" },
|
|
93
|
-
"AuthUpdateUserRequest": { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id"], "type": "object" },
|
|
94
|
-
"AuthUpdateUserResponse": { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
95
|
-
"AuthUpgradeServiceContractRequest": { "additionalProperties": false, "properties": { "contract": { "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "contract"], "type": "object" },
|
|
96
|
-
"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" },
|
|
97
|
-
"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" },
|
|
98
|
-
"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" },
|
|
99
|
-
"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" },
|
|
100
|
-
"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" },
|
|
101
|
-
"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" },
|
|
102
|
-
"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" },
|
|
103
|
-
"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" },
|
|
104
|
-
"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" },
|
|
105
|
-
"DevicePortalDefault": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
106
|
-
"DevicePortalSelection": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
107
|
-
"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" },
|
|
108
|
-
"HealthRequest": { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
109
|
-
"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" },
|
|
110
|
-
"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" },
|
|
111
|
-
"LoginPortalDefault": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
112
|
-
"LoginPortalSelection": { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" },
|
|
113
|
-
"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" },
|
|
114
|
-
"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" }] },
|
|
115
|
-
},
|
|
116
|
-
rpc: {
|
|
117
|
-
"Auth.ActivateDevice": {
|
|
118
|
-
input: { "additionalProperties": false, "properties": { "handoffId": { "minLength": 1, "type": "string" }, "linkRequestId": { "minLength": 1, "type": "string" } }, "required": ["handoffId", "linkRequestId"], "type": "object" },
|
|
119
|
-
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" }] },
|
|
120
|
-
},
|
|
121
|
-
"Auth.ClearDevicePortalSelection": {
|
|
122
|
-
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
123
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
124
|
-
},
|
|
125
|
-
"Auth.ClearLoginPortalSelection": {
|
|
126
|
-
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
127
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
128
|
-
},
|
|
129
|
-
"Auth.CreateDeviceProfile": {
|
|
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.CreatePortal": {
|
|
134
|
-
input: { "additionalProperties": false, "properties": { "appContractId": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl"], "type": "object" },
|
|
135
|
-
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" },
|
|
136
|
-
},
|
|
137
|
-
"Auth.DecideDeviceActivationReview": {
|
|
138
|
-
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" },
|
|
139
|
-
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
|
-
},
|
|
141
|
-
"Auth.DisableDeviceInstance": {
|
|
142
|
-
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
143
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
144
|
-
},
|
|
145
|
-
"Auth.DisableDeviceProfile": {
|
|
146
|
-
input: { "additionalProperties": false, "properties": { "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId"], "type": "object" },
|
|
147
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
148
|
-
},
|
|
149
|
-
"Auth.DisableInstanceGrantPolicy": {
|
|
150
|
-
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" },
|
|
151
|
-
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
|
-
},
|
|
153
|
-
"Auth.DisablePortal": {
|
|
154
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" },
|
|
155
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
156
|
-
},
|
|
157
|
-
"Auth.GetDeviceActivationStatus": {
|
|
158
|
-
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" }, "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
|
-
},
|
|
161
|
-
"Auth.GetDeviceConnectInfo": {
|
|
162
|
-
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": "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
|
-
},
|
|
165
|
-
"Auth.GetDevicePortalDefault": {
|
|
166
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
167
|
-
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
|
-
},
|
|
169
|
-
"Auth.GetInstalledContract": {
|
|
170
|
-
input: { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" },
|
|
171
|
-
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" },
|
|
172
|
-
},
|
|
173
|
-
"Auth.GetLoginPortalDefault": {
|
|
174
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
175
|
-
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
176
|
-
},
|
|
177
|
-
"Auth.Health": {
|
|
178
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
179
|
-
output: { "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" },
|
|
180
|
-
},
|
|
181
|
-
"Auth.InstallService": {
|
|
182
|
-
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" },
|
|
183
|
-
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" },
|
|
184
|
-
},
|
|
185
|
-
"Auth.KickConnection": {
|
|
186
|
-
input: { "additionalProperties": false, "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" },
|
|
187
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
188
|
-
},
|
|
189
|
-
"Auth.ListApprovals": {
|
|
190
|
-
input: { "additionalProperties": false, "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "type": "object" },
|
|
191
|
-
output: { "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" },
|
|
192
|
-
},
|
|
193
|
-
"Auth.ListConnections": {
|
|
194
|
-
input: { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "type": "object" },
|
|
195
|
-
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" },
|
|
196
|
-
},
|
|
197
|
-
"Auth.ListDeviceActivationReviews": {
|
|
198
|
-
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" },
|
|
199
|
-
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" },
|
|
200
|
-
},
|
|
201
|
-
"Auth.ListDeviceActivations": {
|
|
202
|
-
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" },
|
|
203
|
-
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" },
|
|
204
|
-
},
|
|
205
|
-
"Auth.ListDeviceInstances": {
|
|
206
|
-
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" },
|
|
207
|
-
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" },
|
|
208
|
-
},
|
|
209
|
-
"Auth.ListDevicePortalSelections": {
|
|
210
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
211
|
-
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" },
|
|
212
|
-
},
|
|
213
|
-
"Auth.ListDeviceProfiles": {
|
|
214
|
-
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" },
|
|
215
|
-
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" },
|
|
216
|
-
},
|
|
217
|
-
"Auth.ListInstalledContracts": {
|
|
218
|
-
input: { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "type": "object" },
|
|
219
|
-
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" },
|
|
220
|
-
},
|
|
221
|
-
"Auth.ListInstanceGrantPolicies": {
|
|
222
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
223
|
-
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" },
|
|
224
|
-
},
|
|
225
|
-
"Auth.ListLoginPortalSelections": {
|
|
226
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
227
|
-
output: { "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" },
|
|
228
|
-
},
|
|
229
|
-
"Auth.ListPortals": {
|
|
230
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
231
|
-
output: { "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" },
|
|
232
|
-
},
|
|
233
|
-
"Auth.ListServices": {
|
|
234
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
235
|
-
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" },
|
|
236
|
-
},
|
|
237
|
-
"Auth.ListSessions": {
|
|
238
|
-
input: { "additionalProperties": false, "properties": { "user": { "type": "string" } }, "type": "object" },
|
|
239
|
-
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" },
|
|
240
|
-
},
|
|
241
|
-
"Auth.ListUsers": {
|
|
242
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
243
|
-
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" },
|
|
244
|
-
},
|
|
245
|
-
"Auth.Logout": {
|
|
246
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
247
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
248
|
-
},
|
|
249
|
-
"Auth.Me": {
|
|
250
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
251
|
-
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" },
|
|
252
|
-
},
|
|
253
|
-
"Auth.ProvisionDeviceInstance": {
|
|
254
|
-
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" },
|
|
255
|
-
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" },
|
|
256
|
-
},
|
|
257
|
-
"Auth.RenewBindingToken": {
|
|
258
|
-
input: { "additionalProperties": false, "properties": {}, "type": "object" },
|
|
259
|
-
output: { "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" },
|
|
260
|
-
},
|
|
261
|
-
"Auth.RevokeApproval": {
|
|
262
|
-
input: { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["contractDigest"], "type": "object" },
|
|
263
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
264
|
-
},
|
|
265
|
-
"Auth.RevokeDeviceActivation": {
|
|
266
|
-
input: { "additionalProperties": false, "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" },
|
|
267
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
268
|
-
},
|
|
269
|
-
"Auth.RevokeSession": {
|
|
270
|
-
input: { "additionalProperties": false, "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" },
|
|
271
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
272
|
-
},
|
|
273
|
-
"Auth.SetDevicePortalDefault": {
|
|
274
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
275
|
-
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
276
|
-
},
|
|
277
|
-
"Auth.SetDevicePortalSelection": {
|
|
278
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "profileId": { "minLength": 1, "type": "string" } }, "required": ["profileId", "portalId"], "type": "object" },
|
|
279
|
-
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" },
|
|
280
|
-
},
|
|
281
|
-
"Auth.SetLoginPortalDefault": {
|
|
282
|
-
input: { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" },
|
|
283
|
-
output: { "additionalProperties": false, "properties": { "defaultPortal": { "additionalProperties": false, "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" },
|
|
284
|
-
},
|
|
285
|
-
"Auth.SetLoginPortalSelection": {
|
|
286
|
-
input: { "additionalProperties": false, "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" },
|
|
287
|
-
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" },
|
|
288
|
-
},
|
|
289
|
-
"Auth.UpdateUser": {
|
|
290
|
-
input: { "additionalProperties": false, "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id"], "type": "object" },
|
|
291
|
-
output: { "additionalProperties": false, "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" },
|
|
292
|
-
},
|
|
293
|
-
"Auth.UpgradeServiceContract": {
|
|
294
|
-
input: { "additionalProperties": false, "properties": { "contract": { "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["sessionKey", "contract"], "type": "object" },
|
|
295
|
-
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" },
|
|
296
|
-
},
|
|
297
|
-
"Auth.UpsertInstanceGrantPolicy": {
|
|
298
|
-
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" },
|
|
299
|
-
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" },
|
|
300
|
-
},
|
|
301
|
-
"Auth.ValidateRequest": {
|
|
302
|
-
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" },
|
|
303
|
-
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" },
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
operations: {},
|
|
307
|
-
events: {
|
|
308
|
-
"Auth.Connect": {
|
|
309
|
-
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" }] },
|
|
310
|
-
},
|
|
311
|
-
"Auth.ConnectionKicked": {
|
|
312
|
-
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" }] },
|
|
313
|
-
},
|
|
314
|
-
"Auth.DeviceActivationReviewRequested": {
|
|
315
|
-
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" },
|
|
316
|
-
},
|
|
317
|
-
"Auth.Disconnect": {
|
|
318
|
-
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" }] },
|
|
319
|
-
},
|
|
320
|
-
"Auth.SessionRevoked": {
|
|
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" }, "revokedBy": { "type": "string" }, "sessionKey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "revokedBy"], "type": "object" }] },
|
|
322
|
-
},
|
|
323
|
-
},
|
|
324
|
-
subjects: {},
|
|
325
|
-
};
|