@qlever-llc/trellis 0.8.4 → 0.9.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm/auth/browser/login.d.ts.map +1 -1
- package/esm/auth/browser/login.js +46 -3
- package/esm/auth/browser/portal.d.ts.map +1 -1
- package/esm/auth/browser/portal.js +5 -1
- package/esm/auth/browser/session.d.ts +18 -7
- package/esm/auth/browser/session.d.ts.map +1 -1
- package/esm/auth/browser/session.js +47 -11
- package/esm/auth/browser/storage.d.ts +6 -1
- package/esm/auth/browser/storage.d.ts.map +1 -1
- package/esm/auth/browser/storage.js +15 -3
- package/esm/auth/browser.d.ts +2 -2
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +1 -1
- package/esm/auth/device_activation.d.ts +36 -33
- package/esm/auth/device_activation.d.ts.map +1 -1
- package/esm/auth/device_activation.js +26 -22
- package/esm/auth/mod.d.ts +4 -4
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +2 -2
- package/esm/auth/proof.d.ts +3 -1
- package/esm/auth/proof.d.ts.map +1 -1
- package/esm/auth/proof.js +21 -15
- package/esm/auth/protocol.d.ts +2457 -941
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +747 -375
- package/esm/auth/schemas.d.ts +25 -4
- package/esm/auth/schemas.d.ts.map +1 -1
- package/esm/auth/schemas.js +14 -4
- package/esm/auth/session_auth.d.ts +1 -1
- package/esm/auth/session_auth.d.ts.map +1 -1
- package/esm/auth/session_auth.js +7 -1
- package/esm/client_connect.d.ts +2 -0
- package/esm/client_connect.d.ts.map +1 -1
- package/esm/client_connect.js +76 -15
- package/esm/contract.d.ts +3 -0
- package/esm/contract.d.ts.map +1 -1
- package/esm/contract_support/mod.d.ts +422 -43
- package/esm/contract_support/mod.d.ts.map +1 -1
- package/esm/contract_support/mod.js +734 -33
- package/esm/contract_support/protocol.d.ts +20 -5
- package/esm/contract_support/protocol.d.ts.map +1 -1
- package/esm/contract_support/protocol.js +18 -10
- package/esm/contract_support/runtime.d.ts +11 -0
- package/esm/contract_support/runtime.d.ts.map +1 -1
- package/esm/contract_support/schema_pointers.d.ts.map +1 -1
- package/esm/contract_support/schema_pointers.js +32 -14
- package/esm/device.d.ts +2 -0
- package/esm/device.d.ts.map +1 -1
- package/esm/device.js +3 -0
- package/esm/errors/AuthError.d.ts +1 -1
- package/esm/errors/AuthError.d.ts.map +1 -1
- package/esm/errors/AuthError.js +5 -1
- package/esm/errors/index.d.ts +4 -4
- package/esm/generated-sdk/auth/api.d.ts +27 -9
- package/esm/generated-sdk/auth/api.d.ts.map +1 -1
- package/esm/generated-sdk/auth/api.js +16 -590
- package/esm/generated-sdk/auth/client.d.ts +91 -85
- package/esm/generated-sdk/auth/client.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.d.ts +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +4 -2
- package/esm/generated-sdk/auth/mod.d.ts +1 -0
- package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
- package/esm/generated-sdk/auth/owned_api.d.ts +3 -0
- package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/auth/owned_api.js +594 -0
- package/esm/generated-sdk/auth/schemas.d.ts +9959 -5160
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +136 -137
- package/esm/generated-sdk/auth/types.d.ts +2418 -1557
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/esm/generated-sdk/health/api.d.ts +24 -9
- package/esm/generated-sdk/health/api.d.ts.map +1 -1
- package/esm/generated-sdk/health/api.js +12 -20
- package/esm/generated-sdk/health/client.d.ts +2 -1
- package/esm/generated-sdk/health/client.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.js +2 -0
- package/esm/generated-sdk/health/owned_api.d.ts +3 -0
- package/esm/generated-sdk/health/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/health/owned_api.js +16 -0
- package/esm/generated-sdk/health/types.d.ts +2 -0
- package/esm/generated-sdk/health/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/api.d.ts +33 -9
- package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/api.js +22 -87
- package/esm/generated-sdk/jobs/client.d.ts +9 -2
- package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.js +4 -2
- package/esm/generated-sdk/jobs/owned_api.d.ts +3 -0
- package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/jobs/owned_api.js +118 -0
- package/esm/generated-sdk/jobs/schemas.d.ts +336 -123
- package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/schemas.js +17 -15
- package/esm/generated-sdk/jobs/types.d.ts +144 -34
- package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/types.js +36 -1
- package/esm/generated-sdk/state/api.d.ts +27 -9
- package/esm/generated-sdk/state/api.d.ts.map +1 -1
- package/esm/generated-sdk/state/api.js +16 -71
- package/esm/generated-sdk/state/client.d.ts +4 -2
- package/esm/generated-sdk/state/client.d.ts.map +1 -1
- package/esm/generated-sdk/state/contract.d.ts +1 -1
- package/esm/generated-sdk/state/contract.d.ts.map +1 -1
- package/esm/generated-sdk/state/contract.js +4 -2
- package/esm/generated-sdk/state/owned_api.d.ts +3 -0
- package/esm/generated-sdk/state/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/state/owned_api.js +66 -0
- package/esm/generated-sdk/state/schemas.d.ts +264 -284
- package/esm/generated-sdk/state/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/state/schemas.js +6 -6
- package/esm/generated-sdk/state/types.d.ts +24 -23
- package/esm/generated-sdk/state/types.d.ts.map +1 -1
- package/esm/generated-sdk/state/types.js +1 -1
- package/esm/generated-sdk/trellis-core/api.d.ts +27 -9
- package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.js +16 -39
- package/esm/generated-sdk/trellis-core/client.d.ts +5 -2
- package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.js +4 -2
- package/esm/generated-sdk/trellis-core/owned_api.d.ts +3 -0
- package/esm/generated-sdk/trellis-core/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/trellis-core/owned_api.js +42 -0
- package/esm/generated-sdk/trellis-core/schemas.d.ts +259 -11
- package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/schemas.js +5 -3
- package/esm/generated-sdk/trellis-core/types.d.ts +56 -1
- package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/types.js +1 -1
- package/esm/helpers.d.ts.map +1 -1
- package/esm/index.d.ts +4 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/jobs.d.ts +10 -1
- package/esm/jobs.d.ts.map +1 -1
- package/esm/jobs.js +16 -1
- package/esm/kv.d.ts.map +1 -1
- package/esm/kv.js +10 -4
- package/esm/models/auth/rpc/Logout.d.ts +4 -4
- package/esm/models/auth/rpc/Logout.d.ts.map +1 -1
- package/esm/models/auth/rpc/Logout.js +2 -2
- package/esm/models/trellis/Page.d.ts +2 -0
- package/esm/models/trellis/Page.d.ts.map +1 -0
- package/esm/models/trellis/Page.js +1 -0
- package/esm/models/trellis/State.d.ts +1 -0
- package/esm/models/trellis/State.d.ts.map +1 -1
- package/esm/models/trellis/State.js +1 -0
- package/esm/models/trellis/rpc/StateList.d.ts +9 -12
- package/esm/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/esm/models/trellis/rpc/StateList.js +16 -18
- package/esm/npm/src/auth/browser/login.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/login.js +46 -3
- package/esm/npm/src/auth/browser/portal.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/portal.js +5 -1
- package/esm/npm/src/auth/browser/session.d.ts +18 -7
- package/esm/npm/src/auth/browser/session.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/session.js +47 -11
- package/esm/npm/src/auth/browser/storage.d.ts +6 -1
- package/esm/npm/src/auth/browser/storage.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/storage.js +15 -3
- package/esm/npm/src/auth/browser.d.ts +2 -2
- package/esm/npm/src/auth/browser.d.ts.map +1 -1
- package/esm/npm/src/auth/browser.js +1 -1
- package/esm/npm/src/auth/device_activation.d.ts +36 -33
- package/esm/npm/src/auth/device_activation.d.ts.map +1 -1
- package/esm/npm/src/auth/device_activation.js +26 -22
- package/esm/npm/src/auth/mod.d.ts +4 -4
- package/esm/npm/src/auth/mod.d.ts.map +1 -1
- package/esm/npm/src/auth/mod.js +2 -2
- package/esm/npm/src/auth/proof.d.ts +3 -1
- package/esm/npm/src/auth/proof.d.ts.map +1 -1
- package/esm/npm/src/auth/proof.js +21 -15
- package/esm/npm/src/auth/protocol.d.ts +2457 -941
- package/esm/npm/src/auth/protocol.d.ts.map +1 -1
- package/esm/npm/src/auth/protocol.js +747 -375
- package/esm/npm/src/auth/schemas.d.ts +25 -4
- package/esm/npm/src/auth/schemas.d.ts.map +1 -1
- package/esm/npm/src/auth/schemas.js +14 -4
- package/esm/npm/src/auth/session_auth.d.ts +1 -1
- package/esm/npm/src/auth/session_auth.d.ts.map +1 -1
- package/esm/npm/src/auth/session_auth.js +7 -1
- package/esm/npm/src/client_connect.d.ts +2 -0
- package/esm/npm/src/client_connect.d.ts.map +1 -1
- package/esm/npm/src/client_connect.js +76 -15
- package/esm/npm/src/contract.d.ts +3 -0
- package/esm/npm/src/contract.d.ts.map +1 -1
- package/esm/npm/src/contract_support/mod.d.ts +422 -43
- package/esm/npm/src/contract_support/mod.d.ts.map +1 -1
- package/esm/npm/src/contract_support/mod.js +734 -33
- package/esm/npm/src/contract_support/protocol.d.ts +20 -5
- package/esm/npm/src/contract_support/protocol.d.ts.map +1 -1
- package/esm/npm/src/contract_support/protocol.js +18 -10
- package/esm/npm/src/contract_support/runtime.d.ts +11 -0
- package/esm/npm/src/contract_support/runtime.d.ts.map +1 -1
- package/esm/npm/src/contract_support/schema_pointers.d.ts.map +1 -1
- package/esm/npm/src/contract_support/schema_pointers.js +32 -14
- package/esm/npm/src/device/deno.d.ts.map +1 -1
- package/esm/npm/src/device/deno.js +6 -0
- package/esm/npm/src/device.d.ts +2 -0
- package/esm/npm/src/device.d.ts.map +1 -1
- package/esm/npm/src/device.js +3 -0
- package/esm/npm/src/errors/AuthError.d.ts +1 -1
- package/esm/npm/src/errors/AuthError.d.ts.map +1 -1
- package/esm/npm/src/errors/AuthError.js +5 -1
- package/esm/npm/src/errors/index.d.ts +4 -4
- package/esm/npm/src/generate.js +2 -19
- package/esm/npm/src/helpers.d.ts.map +1 -1
- package/esm/npm/src/index.d.ts +4 -3
- package/esm/npm/src/index.d.ts.map +1 -1
- package/esm/npm/src/index.js +1 -0
- package/esm/npm/src/jobs.d.ts +10 -1
- package/esm/npm/src/jobs.d.ts.map +1 -1
- package/esm/npm/src/jobs.js +16 -1
- package/esm/npm/src/kv.d.ts.map +1 -1
- package/esm/npm/src/kv.js +10 -4
- package/esm/npm/src/models/auth/rpc/Logout.d.ts +4 -4
- package/esm/npm/src/models/auth/rpc/Logout.d.ts.map +1 -1
- package/esm/npm/src/models/auth/rpc/Logout.js +2 -2
- package/esm/npm/src/models/trellis/Page.d.ts +2 -0
- package/esm/npm/src/models/trellis/Page.d.ts.map +1 -0
- package/esm/npm/src/models/trellis/Page.js +1 -0
- package/esm/npm/src/models/trellis/State.d.ts +1 -0
- package/esm/npm/src/models/trellis/State.d.ts.map +1 -1
- package/esm/npm/src/models/trellis/State.js +1 -0
- package/esm/npm/src/models/trellis/rpc/StateList.d.ts +9 -12
- package/esm/npm/src/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/esm/npm/src/models/trellis/rpc/StateList.js +16 -18
- package/esm/npm/src/operations.d.ts +16 -7
- package/esm/npm/src/operations.d.ts.map +1 -1
- package/esm/npm/src/operations.js +84 -19
- package/esm/npm/src/runtime_transport.d.ts +2 -0
- package/esm/npm/src/runtime_transport.d.ts.map +1 -1
- package/esm/npm/src/runtime_transport.js +1 -0
- package/esm/npm/src/server/internal_jobs/active-job.d.ts +2 -1
- package/esm/npm/src/server/internal_jobs/active-job.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/active-job.js +3 -0
- package/esm/npm/src/server/internal_jobs/job-manager.d.ts +4 -1
- package/esm/npm/src/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/job-manager.js +61 -1
- package/esm/npm/src/server/internal_jobs/projection.js +1 -0
- package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts +13 -1
- package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/runtime-worker.js +73 -13
- package/esm/npm/src/server/internal_jobs/types.d.ts +19 -0
- package/esm/npm/src/server/internal_jobs/types.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/types.js +10 -0
- package/esm/npm/src/server/runtime.d.ts +1 -0
- package/esm/npm/src/server/runtime.d.ts.map +1 -1
- package/esm/npm/src/server/service.d.ts +10 -1
- package/esm/npm/src/server/service.d.ts.map +1 -1
- package/esm/npm/src/server/service.js +190 -64
- package/esm/npm/src/server/transfer.d.ts.map +1 -1
- package/esm/npm/src/server/transfer.js +4 -0
- package/esm/npm/src/server.d.ts.map +1 -1
- package/esm/npm/src/server.js +337 -34
- package/esm/npm/src/store.d.ts +8 -1
- package/esm/npm/src/store.d.ts.map +1 -1
- package/esm/npm/src/store.js +46 -8
- package/esm/npm/src/transfer.d.ts +3 -0
- package/esm/npm/src/transfer.d.ts.map +1 -1
- package/esm/npm/src/transfer.js +20 -30
- package/esm/npm/src/trellis.d.ts +85 -22
- package/esm/npm/src/trellis.d.ts.map +1 -1
- package/esm/npm/src/trellis.js +525 -61
- package/esm/operations.d.ts +16 -7
- package/esm/operations.d.ts.map +1 -1
- package/esm/operations.js +84 -19
- package/esm/runtime_transport.d.ts +2 -0
- package/esm/runtime_transport.d.ts.map +1 -1
- package/esm/runtime_transport.js +1 -0
- package/esm/store.d.ts +8 -1
- package/esm/store.d.ts.map +1 -1
- package/esm/store.js +46 -8
- package/esm/transfer.d.ts +3 -0
- package/esm/transfer.d.ts.map +1 -1
- package/esm/transfer.js +20 -30
- package/esm/trellis.d.ts +85 -22
- package/esm/trellis.d.ts.map +1 -1
- package/esm/trellis.js +525 -61
- package/package.json +6 -3
- package/script/auth/browser/login.d.ts.map +1 -1
- package/script/auth/browser/login.js +46 -3
- package/script/auth/browser/portal.d.ts.map +1 -1
- package/script/auth/browser/portal.js +5 -1
- package/script/auth/browser/session.d.ts +18 -7
- package/script/auth/browser/session.d.ts.map +1 -1
- package/script/auth/browser/session.js +47 -11
- package/script/auth/browser/storage.d.ts +6 -1
- package/script/auth/browser/storage.d.ts.map +1 -1
- package/script/auth/browser/storage.js +15 -3
- package/script/auth/browser.d.ts +2 -2
- package/script/auth/browser.d.ts.map +1 -1
- package/script/auth/browser.js +2 -1
- package/script/auth/device_activation.d.ts +36 -33
- package/script/auth/device_activation.d.ts.map +1 -1
- package/script/auth/device_activation.js +25 -21
- package/script/auth/mod.d.ts +4 -4
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +132 -137
- package/script/auth/proof.d.ts +3 -1
- package/script/auth/proof.d.ts.map +1 -1
- package/script/auth/proof.js +21 -15
- package/script/auth/protocol.d.ts +2457 -941
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +749 -377
- package/script/auth/schemas.d.ts +25 -4
- package/script/auth/schemas.d.ts.map +1 -1
- package/script/auth/schemas.js +16 -5
- package/script/auth/session_auth.d.ts +1 -1
- package/script/auth/session_auth.d.ts.map +1 -1
- package/script/auth/session_auth.js +7 -1
- package/script/client_connect.d.ts +2 -0
- package/script/client_connect.d.ts.map +1 -1
- package/script/client_connect.js +76 -15
- package/script/contract.d.ts +3 -0
- package/script/contract.d.ts.map +1 -1
- package/script/contract_support/mod.d.ts +422 -43
- package/script/contract_support/mod.d.ts.map +1 -1
- package/script/contract_support/mod.js +757 -51
- package/script/contract_support/protocol.d.ts +20 -5
- package/script/contract_support/protocol.d.ts.map +1 -1
- package/script/contract_support/protocol.js +20 -11
- package/script/contract_support/runtime.d.ts +11 -0
- package/script/contract_support/runtime.d.ts.map +1 -1
- package/script/contract_support/schema_pointers.d.ts.map +1 -1
- package/script/contract_support/schema_pointers.js +32 -14
- package/script/device.d.ts +2 -0
- package/script/device.d.ts.map +1 -1
- package/script/device.js +3 -0
- package/script/errors/AuthError.d.ts +1 -1
- package/script/errors/AuthError.d.ts.map +1 -1
- package/script/errors/AuthError.js +5 -1
- package/script/errors/index.d.ts +4 -4
- package/script/generated-sdk/auth/api.d.ts +27 -9
- package/script/generated-sdk/auth/api.d.ts.map +1 -1
- package/script/generated-sdk/auth/api.js +17 -591
- package/script/generated-sdk/auth/client.d.ts +91 -85
- package/script/generated-sdk/auth/client.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.d.ts +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +4 -2
- package/script/generated-sdk/auth/mod.d.ts +1 -0
- package/script/generated-sdk/auth/mod.d.ts.map +1 -1
- package/script/generated-sdk/auth/owned_api.d.ts +3 -0
- package/script/generated-sdk/auth/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/auth/owned_api.js +597 -0
- package/script/generated-sdk/auth/schemas.d.ts +9959 -5160
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +139 -140
- package/script/generated-sdk/auth/types.d.ts +2418 -1557
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/script/generated-sdk/health/api.d.ts +24 -9
- package/script/generated-sdk/health/api.d.ts.map +1 -1
- package/script/generated-sdk/health/api.js +13 -21
- package/script/generated-sdk/health/client.d.ts +2 -1
- package/script/generated-sdk/health/client.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.js +2 -0
- package/script/generated-sdk/health/owned_api.d.ts +3 -0
- package/script/generated-sdk/health/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/health/owned_api.js +19 -0
- package/script/generated-sdk/health/types.d.ts +2 -0
- package/script/generated-sdk/health/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/api.d.ts +33 -9
- package/script/generated-sdk/jobs/api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/api.js +23 -88
- package/script/generated-sdk/jobs/client.d.ts +9 -2
- package/script/generated-sdk/jobs/client.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.d.ts +1 -1
- package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.js +4 -2
- package/script/generated-sdk/jobs/owned_api.d.ts +3 -0
- package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/jobs/owned_api.js +154 -0
- package/script/generated-sdk/jobs/schemas.d.ts +336 -123
- package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/script/generated-sdk/jobs/schemas.js +18 -16
- package/script/generated-sdk/jobs/types.d.ts +144 -34
- package/script/generated-sdk/jobs/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/types.js +38 -2
- package/script/generated-sdk/state/api.d.ts +27 -9
- package/script/generated-sdk/state/api.d.ts.map +1 -1
- package/script/generated-sdk/state/api.js +17 -72
- package/script/generated-sdk/state/client.d.ts +4 -2
- package/script/generated-sdk/state/client.d.ts.map +1 -1
- package/script/generated-sdk/state/contract.d.ts +1 -1
- package/script/generated-sdk/state/contract.d.ts.map +1 -1
- package/script/generated-sdk/state/contract.js +4 -2
- package/script/generated-sdk/state/owned_api.d.ts +3 -0
- package/script/generated-sdk/state/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/state/owned_api.js +69 -0
- package/script/generated-sdk/state/schemas.d.ts +264 -284
- package/script/generated-sdk/state/schemas.d.ts.map +1 -1
- package/script/generated-sdk/state/schemas.js +6 -6
- package/script/generated-sdk/state/types.d.ts +24 -23
- package/script/generated-sdk/state/types.d.ts.map +1 -1
- package/script/generated-sdk/state/types.js +1 -1
- package/script/generated-sdk/trellis-core/api.d.ts +27 -9
- package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.js +17 -40
- package/script/generated-sdk/trellis-core/client.d.ts +5 -2
- package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.js +4 -2
- package/script/generated-sdk/trellis-core/owned_api.d.ts +3 -0
- package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/trellis-core/owned_api.js +45 -0
- package/script/generated-sdk/trellis-core/schemas.d.ts +259 -11
- package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/schemas.js +6 -4
- package/script/generated-sdk/trellis-core/types.d.ts +56 -1
- package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/types.js +1 -1
- package/script/helpers.d.ts.map +1 -1
- package/script/index.d.ts +4 -3
- package/script/index.d.ts.map +1 -1
- package/script/index.js +5 -2
- package/script/jobs.d.ts +10 -1
- package/script/jobs.d.ts.map +1 -1
- package/script/jobs.js +17 -2
- package/script/kv.d.ts.map +1 -1
- package/script/kv.js +10 -4
- package/script/models/auth/rpc/Logout.d.ts +4 -4
- package/script/models/auth/rpc/Logout.d.ts.map +1 -1
- package/script/models/auth/rpc/Logout.js +3 -3
- package/script/models/trellis/Page.d.ts +2 -0
- package/script/models/trellis/Page.d.ts.map +1 -0
- package/script/models/trellis/Page.js +6 -0
- package/script/models/trellis/State.d.ts +1 -0
- package/script/models/trellis/State.d.ts.map +1 -1
- package/script/models/trellis/State.js +1 -0
- package/script/models/trellis/rpc/StateList.d.ts +9 -12
- package/script/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/script/models/trellis/rpc/StateList.js +16 -18
- package/script/npm/src/auth/browser/login.d.ts.map +1 -1
- package/script/npm/src/auth/browser/login.js +46 -3
- package/script/npm/src/auth/browser/portal.d.ts.map +1 -1
- package/script/npm/src/auth/browser/portal.js +5 -1
- package/script/npm/src/auth/browser/session.d.ts +18 -7
- package/script/npm/src/auth/browser/session.d.ts.map +1 -1
- package/script/npm/src/auth/browser/session.js +47 -11
- package/script/npm/src/auth/browser/storage.d.ts +6 -1
- package/script/npm/src/auth/browser/storage.d.ts.map +1 -1
- package/script/npm/src/auth/browser/storage.js +15 -3
- package/script/npm/src/auth/browser.d.ts +2 -2
- package/script/npm/src/auth/browser.d.ts.map +1 -1
- package/script/npm/src/auth/browser.js +2 -1
- package/script/npm/src/auth/device_activation.d.ts +36 -33
- package/script/npm/src/auth/device_activation.d.ts.map +1 -1
- package/script/npm/src/auth/device_activation.js +25 -21
- package/script/npm/src/auth/mod.d.ts +4 -4
- package/script/npm/src/auth/mod.d.ts.map +1 -1
- package/script/npm/src/auth/mod.js +132 -137
- package/script/npm/src/auth/proof.d.ts +3 -1
- package/script/npm/src/auth/proof.d.ts.map +1 -1
- package/script/npm/src/auth/proof.js +21 -15
- package/script/npm/src/auth/protocol.d.ts +2457 -941
- package/script/npm/src/auth/protocol.d.ts.map +1 -1
- package/script/npm/src/auth/protocol.js +749 -377
- package/script/npm/src/auth/schemas.d.ts +25 -4
- package/script/npm/src/auth/schemas.d.ts.map +1 -1
- package/script/npm/src/auth/schemas.js +16 -5
- package/script/npm/src/auth/session_auth.d.ts +1 -1
- package/script/npm/src/auth/session_auth.d.ts.map +1 -1
- package/script/npm/src/auth/session_auth.js +7 -1
- package/script/npm/src/client_connect.d.ts +2 -0
- package/script/npm/src/client_connect.d.ts.map +1 -1
- package/script/npm/src/client_connect.js +76 -15
- package/script/npm/src/contract.d.ts +3 -0
- package/script/npm/src/contract.d.ts.map +1 -1
- package/script/npm/src/contract_support/mod.d.ts +422 -43
- package/script/npm/src/contract_support/mod.d.ts.map +1 -1
- package/script/npm/src/contract_support/mod.js +757 -51
- package/script/npm/src/contract_support/protocol.d.ts +20 -5
- package/script/npm/src/contract_support/protocol.d.ts.map +1 -1
- package/script/npm/src/contract_support/protocol.js +20 -11
- package/script/npm/src/contract_support/runtime.d.ts +11 -0
- package/script/npm/src/contract_support/runtime.d.ts.map +1 -1
- package/script/npm/src/contract_support/schema_pointers.d.ts.map +1 -1
- package/script/npm/src/contract_support/schema_pointers.js +32 -14
- package/script/npm/src/device/deno.d.ts.map +1 -1
- package/script/npm/src/device/deno.js +6 -0
- package/script/npm/src/device.d.ts +2 -0
- package/script/npm/src/device.d.ts.map +1 -1
- package/script/npm/src/device.js +3 -0
- package/script/npm/src/errors/AuthError.d.ts +1 -1
- package/script/npm/src/errors/AuthError.d.ts.map +1 -1
- package/script/npm/src/errors/AuthError.js +5 -1
- package/script/npm/src/errors/index.d.ts +4 -4
- package/script/npm/src/generate.js +2 -19
- package/script/npm/src/helpers.d.ts.map +1 -1
- package/script/npm/src/index.d.ts +4 -3
- package/script/npm/src/index.d.ts.map +1 -1
- package/script/npm/src/index.js +5 -2
- package/script/npm/src/jobs.d.ts +10 -1
- package/script/npm/src/jobs.d.ts.map +1 -1
- package/script/npm/src/jobs.js +17 -2
- package/script/npm/src/kv.d.ts.map +1 -1
- package/script/npm/src/kv.js +10 -4
- package/script/npm/src/models/auth/rpc/Logout.d.ts +4 -4
- package/script/npm/src/models/auth/rpc/Logout.d.ts.map +1 -1
- package/script/npm/src/models/auth/rpc/Logout.js +3 -3
- package/script/npm/src/models/trellis/Page.d.ts +2 -0
- package/script/npm/src/models/trellis/Page.d.ts.map +1 -0
- package/script/npm/src/models/trellis/Page.js +6 -0
- package/script/npm/src/models/trellis/State.d.ts +1 -0
- package/script/npm/src/models/trellis/State.d.ts.map +1 -1
- package/script/npm/src/models/trellis/State.js +1 -0
- package/script/npm/src/models/trellis/rpc/StateList.d.ts +9 -12
- package/script/npm/src/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/script/npm/src/models/trellis/rpc/StateList.js +16 -18
- package/script/npm/src/operations.d.ts +16 -7
- package/script/npm/src/operations.d.ts.map +1 -1
- package/script/npm/src/operations.js +84 -19
- package/script/npm/src/runtime_transport.d.ts +2 -0
- package/script/npm/src/runtime_transport.d.ts.map +1 -1
- package/script/npm/src/runtime_transport.js +2 -1
- package/script/npm/src/server/internal_jobs/active-job.d.ts +2 -1
- package/script/npm/src/server/internal_jobs/active-job.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/active-job.js +3 -0
- package/script/npm/src/server/internal_jobs/job-manager.d.ts +4 -1
- package/script/npm/src/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/job-manager.js +61 -1
- package/script/npm/src/server/internal_jobs/projection.js +1 -0
- package/script/npm/src/server/internal_jobs/runtime-worker.d.ts +13 -1
- package/script/npm/src/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/runtime-worker.js +74 -13
- package/script/npm/src/server/internal_jobs/types.d.ts +19 -0
- package/script/npm/src/server/internal_jobs/types.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/types.js +11 -1
- package/script/npm/src/server/runtime.d.ts +1 -0
- package/script/npm/src/server/runtime.d.ts.map +1 -1
- package/script/npm/src/server/service.d.ts +10 -1
- package/script/npm/src/server/service.d.ts.map +1 -1
- package/script/npm/src/server/service.js +188 -62
- package/script/npm/src/server/transfer.d.ts.map +1 -1
- package/script/npm/src/server/transfer.js +4 -0
- package/script/npm/src/server.d.ts.map +1 -1
- package/script/npm/src/server.js +336 -33
- package/script/npm/src/store.d.ts +8 -1
- package/script/npm/src/store.d.ts.map +1 -1
- package/script/npm/src/store.js +46 -8
- package/script/npm/src/transfer.d.ts +3 -0
- package/script/npm/src/transfer.d.ts.map +1 -1
- package/script/npm/src/transfer.js +19 -29
- package/script/npm/src/trellis.d.ts +85 -22
- package/script/npm/src/trellis.d.ts.map +1 -1
- package/script/npm/src/trellis.js +525 -61
- package/script/operations.d.ts +16 -7
- package/script/operations.d.ts.map +1 -1
- package/script/operations.js +84 -19
- package/script/runtime_transport.d.ts +2 -0
- package/script/runtime_transport.d.ts.map +1 -1
- package/script/runtime_transport.js +2 -1
- package/script/store.d.ts +8 -1
- package/script/store.d.ts.map +1 -1
- package/script/store.js +46 -8
- package/script/transfer.d.ts +3 -0
- package/script/transfer.d.ts.map +1 -1
- package/script/transfer.js +19 -29
- package/script/trellis.d.ts +85 -22
- package/script/trellis.d.ts.map +1 -1
- package/script/trellis.js +525 -61
- package/esm/models/trellis/Paginate.d.ts +0 -7
- package/esm/models/trellis/Paginate.d.ts.map +0 -1
- package/esm/models/trellis/Paginate.js +0 -5
- package/esm/npm/src/models/trellis/Paginate.d.ts +0 -7
- package/esm/npm/src/models/trellis/Paginate.d.ts.map +0 -1
- package/esm/npm/src/models/trellis/Paginate.js +0 -5
- package/script/models/trellis/Paginate.d.ts +0 -7
- package/script/models/trellis/Paginate.d.ts.map +0 -1
- package/script/models/trellis/Paginate.js +0 -11
- package/script/npm/src/models/trellis/Paginate.d.ts +0 -7
- package/script/npm/src/models/trellis/Paginate.d.ts.map +0 -1
- package/script/npm/src/models/trellis/Paginate.js +0 -11
|
@@ -1,145 +1,144 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.HealthResponseSchema = exports.HealthRequestSchema = exports.
|
|
3
|
+
exports.AuthDevicesProvisionRequestSchema = exports.AuthDevicesListResponseSchema = exports.AuthDevicesListRequestSchema = exports.AuthDevicesEnableResponseSchema = exports.AuthDevicesEnableRequestSchema = exports.AuthDevicesDisableResponseSchema = exports.AuthDevicesDisableRequestSchema = exports.AuthDevicesConnectInfoGetResponseSchema = exports.AuthDevicesConnectInfoGetRequestSchema = exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = exports.AuthDeviceUserAuthoritiesRevokeRequestSchema = exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsListRequestSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideRequestSchema = exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = exports.AuthDeviceUserAuthoritiesResolvedEventSchema = exports.AuthDeviceUserAuthoritiesRequestedEventSchema = exports.AuthDeviceUserAuthoritiesListResponseSchema = exports.AuthDeviceUserAuthoritiesListRequestSchema = exports.AuthDeviceUserAuthoritiesApprovedEventSchema = exports.AuthDeploymentsRemoveResponseSchema = exports.AuthDeploymentsRemoveRequestSchema = exports.AuthDeploymentsListResponseSchema = exports.AuthDeploymentsListRequestSchema = exports.AuthDeploymentsEnableResponseSchema = exports.AuthDeploymentsEnableRequestSchema = exports.AuthDeploymentsDisableResponseSchema = exports.AuthDeploymentsDisableRequestSchema = exports.AuthDeploymentsCreateResponseSchema = exports.AuthDeploymentsCreateRequestSchema = exports.AuthConnectionsOpenedEventSchema = exports.AuthConnectionsListResponseSchema = exports.AuthConnectionsListRequestSchema = exports.AuthConnectionsKickedEventSchema = exports.AuthConnectionsKickResponseSchema = exports.AuthConnectionsKickRequestSchema = exports.AuthConnectionsClosedEventSchema = exports.AuthCatalogIssuesResolveResponseSchema = exports.AuthCatalogIssuesResolveRequestSchema = exports.AuthCapabilityGroupsPutResponseSchema = exports.AuthCapabilityGroupsPutRequestSchema = exports.AuthCapabilityGroupsListResponseSchema = exports.AuthCapabilityGroupsListRequestSchema = exports.AuthCapabilityGroupsGetResponseSchema = exports.AuthCapabilityGroupsGetRequestSchema = exports.AuthCapabilityGroupsDeleteResponseSchema = exports.AuthCapabilityGroupsDeleteRequestSchema = exports.AuthCapabilitiesListResponseSchema = exports.AuthCapabilitiesListRequestSchema = void 0;
|
|
4
|
+
exports.AuthResolveDeviceUserAuthoritiesResponseSchema = exports.AuthResolveDeviceUserAuthoritiesRequestSchema = exports.AuthResolveDeviceUserAuthoritiesProgressSchema = exports.AuthRequestsValidateResponseSchema = exports.AuthRequestsValidateRequestSchema = exports.AuthPortalsRoutesRemoveResponseSchema = exports.AuthPortalsRoutesRemoveRequestSchema = exports.AuthPortalsRoutesPutResponseSchema = exports.AuthPortalsRoutesPutRequestSchema = exports.AuthPortalsRemoveResponseSchema = exports.AuthPortalsRemoveRequestSchema = exports.AuthPortalsPutResponseSchema = exports.AuthPortalsPutRequestSchema = exports.AuthPortalsLoginSettingsUpdateRequestSchema = exports.AuthPortalsLoginSettingsResponseSchema = exports.AuthPortalsLoginSettingsGetRequestSchema = exports.AuthPortalsListResponseSchema = exports.AuthPortalsListRequestSchema = exports.AuthPortalsGetResponseSchema = exports.AuthPortalsGetRequestSchema = exports.AuthIdentityEnvelopesRevokeResponseSchema = exports.AuthIdentityEnvelopesRevokeRequestSchema = exports.AuthIdentitiesListResponseSchema = exports.AuthIdentitiesListRequestSchema = exports.AuthIdentitiesGrantsListResponseSchema = exports.AuthIdentitiesGrantsListRequestSchema = exports.AuthEnvelopesShrinkResponseSchema = exports.AuthEnvelopesShrinkRequestSchema = exports.AuthEnvelopesListResponseSchema = exports.AuthEnvelopesListRequestSchema = exports.AuthEnvelopesGrantOverridesResponseSchema = exports.AuthEnvelopesGrantOverridesRemoveRequestSchema = exports.AuthEnvelopesGrantOverridesPutRequestSchema = exports.AuthEnvelopesGrantOverridesListResponseSchema = exports.AuthEnvelopesGrantOverridesListRequestSchema = exports.AuthEnvelopesGetResponseSchema = exports.AuthEnvelopesGetRequestSchema = exports.AuthEnvelopesExpandResponseSchema = exports.AuthEnvelopesExpandRequestSchema = exports.AuthEnvelopesChangesPreviewResponseSchema = exports.AuthEnvelopesChangesPreviewRequestSchema = exports.AuthEnvelopesApproveRequestResponseSchema = exports.AuthEnvelopesApproveRequestRequestSchema = exports.AuthEnvelopeExpansionsRejectResponseSchema = exports.AuthEnvelopeExpansionsRejectRequestSchema = exports.AuthEnvelopeExpansionsListResponseSchema = exports.AuthEnvelopeExpansionsListRequestSchema = exports.AuthDevicesRemoveResponseSchema = exports.AuthDevicesRemoveRequestSchema = exports.AuthDevicesProvisionResponseSchema = void 0;
|
|
5
|
+
exports.HealthResponseSchema = exports.HealthRequestSchema = exports.AuthUsersUpdateResponseSchema = exports.AuthUsersUpdateRequestSchema = exports.AuthUsersPasswordResetCreateRequestSchema = exports.AuthUsersPasswordChangeResponseSchema = exports.AuthUsersPasswordChangeRequestSchema = exports.AuthUsersListResponseSchema = exports.AuthUsersListRequestSchema = exports.AuthUsersIdentityLinkCreateRequestSchema = exports.AuthUsersGetResponseSchema = exports.AuthUsersGetRequestSchema = exports.AuthUsersCreateResponseSchema = exports.AuthUsersCreateRequestSchema = exports.AuthUsersAccountFlowCreateResponseSchema = exports.AuthUserIdentitiesUnlinkResponseSchema = exports.AuthUserIdentitiesUnlinkRequestSchema = exports.AuthUserIdentitiesListResponseSchema = exports.AuthUserIdentitiesListRequestSchema = exports.AuthSessionsRevokedEventSchema = exports.AuthSessionsRevokeResponseSchema = exports.AuthSessionsRevokeRequestSchema = exports.AuthSessionsMeResponseSchema = exports.AuthSessionsMeRequestSchema = exports.AuthSessionsLogoutResponseSchema = exports.AuthSessionsLogoutRequestSchema = exports.AuthSessionsListResponseSchema = exports.AuthSessionsListRequestSchema = exports.AuthServiceInstancesRemoveResponseSchema = exports.AuthServiceInstancesRemoveRequestSchema = exports.AuthServiceInstancesProvisionResponseSchema = exports.AuthServiceInstancesProvisionRequestSchema = exports.AuthServiceInstancesListResponseSchema = exports.AuthServiceInstancesListRequestSchema = exports.AuthServiceInstancesEnableResponseSchema = exports.AuthServiceInstancesEnableRequestSchema = exports.AuthServiceInstancesDisableResponseSchema = exports.AuthServiceInstancesDisableRequestSchema = void 0;
|
|
6
6
|
// Generated from ./generated/contracts/manifests/trellis.auth@v1.json
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
52
|
-
exports.
|
|
53
|
-
exports.
|
|
54
|
-
exports.
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
60
|
-
exports.
|
|
61
|
-
exports.
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
65
|
-
exports.
|
|
66
|
-
exports.
|
|
67
|
-
exports.AuthListConnectionsRequestSchema = { "properties": { "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "type": "object" };
|
|
68
|
-
exports.
|
|
69
|
-
exports.
|
|
70
|
-
exports.
|
|
71
|
-
exports.
|
|
72
|
-
exports.
|
|
73
|
-
exports.
|
|
74
|
-
exports.
|
|
75
|
-
exports.
|
|
76
|
-
exports.
|
|
77
|
-
exports.
|
|
78
|
-
exports.
|
|
79
|
-
exports.
|
|
80
|
-
exports.AuthListInstalledContractsResponseSchema = { "properties": { "contracts": { "items": { "properties": { "analysisSummary": { "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "operationControls": { "type": "number" }, "operations": { "type": "number" }, "rpcMethods": { "type": "number" }, "storeResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "operations", "operationControls", "events", "natsPublish", "natsSubscribe", "kvResources", "storeResources", "jobsQueues"], "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" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "type": "array" } }, "required": ["contracts"], "type": "object" };
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
127
|
-
exports.
|
|
128
|
-
exports.
|
|
129
|
-
exports.
|
|
130
|
-
exports.
|
|
131
|
-
exports.
|
|
132
|
-
exports.
|
|
133
|
-
exports.
|
|
134
|
-
exports.
|
|
135
|
-
exports.
|
|
136
|
-
exports.
|
|
137
|
-
exports.
|
|
138
|
-
exports.
|
|
139
|
-
exports.
|
|
140
|
-
exports.
|
|
141
|
-
exports.
|
|
142
|
-
exports.
|
|
143
|
-
exports.AuthValidateRequestResponseSchema = { "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "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" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "trellisId": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "participantKind", "trellisId", "id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "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" }, { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }] }, "inboxPrefix": { "type": "string" } }, "required": ["allowed", "inboxPrefix", "caller"], "type": "object" };
|
|
7
|
+
exports.AuthCapabilitiesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
8
|
+
exports.AuthCapabilitiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "consequence": { "minLength": 1, "type": "string" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractDisplayName": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "source": { "anyOf": [{ "const": "contract", "type": "string" }, { "const": "platform", "type": "string" }] } }, "required": ["key", "displayName", "description", "source"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
9
|
+
exports.AuthCapabilityGroupsDeleteRequestSchema = { "properties": { "groupKey": { "minLength": 1, "type": "string" } }, "required": ["groupKey"], "type": "object" };
|
|
10
|
+
exports.AuthCapabilityGroupsDeleteResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
11
|
+
exports.AuthCapabilityGroupsGetRequestSchema = { "properties": { "groupKey": { "minLength": 1, "type": "string" } }, "required": ["groupKey"], "type": "object" };
|
|
12
|
+
exports.AuthCapabilityGroupsGetResponseSchema = { "properties": { "group": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["groupKey", "displayName", "description", "capabilities", "includedGroups", "createdAt", "updatedAt"], "type": "object" } }, "required": ["group"], "type": "object" };
|
|
13
|
+
exports.AuthCapabilityGroupsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
14
|
+
exports.AuthCapabilityGroupsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["groupKey", "displayName", "description", "capabilities", "includedGroups", "createdAt", "updatedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
15
|
+
exports.AuthCapabilityGroupsPutRequestSchema = { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["groupKey", "displayName", "description"], "type": "object" };
|
|
16
|
+
exports.AuthCapabilityGroupsPutResponseSchema = { "properties": { "group": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["groupKey", "displayName", "description", "capabilities", "includedGroups", "createdAt", "updatedAt"], "type": "object" } }, "required": ["group"], "type": "object" };
|
|
17
|
+
exports.AuthCatalogIssuesResolveRequestSchema = { "properties": { "action": { "anyOf": [{ "const": "keep-current", "type": "string" }, { "const": "force-replace", "type": "string" }] }, "issueId": { "minLength": 1, "type": "string" } }, "required": ["issueId", "action"], "type": "object" };
|
|
18
|
+
exports.AuthCatalogIssuesResolveResponseSchema = { "properties": { "action": { "anyOf": [{ "const": "keep-current", "type": "string" }, { "const": "force-replace", "type": "string" }] }, "ignoredEvidence": { "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "type": "array" }, "issueId": { "minLength": 1, "type": "string" }, "success": { "const": true, "type": "boolean" } }, "required": ["success", "issueId", "action", "ignoredEvidence"], "type": "object" };
|
|
19
|
+
exports.AuthConnectionsClosedEventSchema = { "allOf": [{ "properties": { "header": { "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" }] };
|
|
20
|
+
exports.AuthConnectionsKickRequestSchema = { "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" };
|
|
21
|
+
exports.AuthConnectionsKickResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
22
|
+
exports.AuthConnectionsKickedEventSchema = { "allOf": [{ "properties": { "header": { "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" }] };
|
|
23
|
+
exports.AuthConnectionsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "required": ["limit"], "type": "object" };
|
|
24
|
+
exports.AuthConnectionsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "app", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "agent", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "device", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "deviceId": { "type": "string" }, "deviceType": { "type": "string" }, "runtimePublicKey": { "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "service", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "id": { "type": "string" }, "instanceId": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "instanceId", "deploymentId"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
25
|
+
exports.AuthConnectionsOpenedEventSchema = { "allOf": [{ "properties": { "header": { "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" }] };
|
|
26
|
+
exports.AuthDeploymentsCreateRequestSchema = { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId"], "type": "object" }] };
|
|
27
|
+
exports.AuthDeploymentsCreateResponseSchema = { "properties": { "deployment": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] } }, "required": ["deployment"], "type": "object" };
|
|
28
|
+
exports.AuthDeploymentsDisableRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] } }, "required": ["kind", "deploymentId"], "type": "object" };
|
|
29
|
+
exports.AuthDeploymentsDisableResponseSchema = { "properties": { "deployment": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] } }, "required": ["deployment"], "type": "object" };
|
|
30
|
+
exports.AuthDeploymentsEnableRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] } }, "required": ["kind", "deploymentId"], "type": "object" };
|
|
31
|
+
exports.AuthDeploymentsEnableResponseSchema = { "properties": { "deployment": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] } }, "required": ["deployment"], "type": "object" };
|
|
32
|
+
exports.AuthDeploymentsListRequestSchema = { "properties": { "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
33
|
+
exports.AuthDeploymentsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
34
|
+
exports.AuthDeploymentsRemoveRequestSchema = { "properties": { "cascade": { "type": "boolean" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] }, "purgeUnusedContracts": { "type": "boolean" } }, "required": ["kind", "deploymentId"], "type": "object" };
|
|
35
|
+
exports.AuthDeploymentsRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
36
|
+
exports.AuthDeviceUserAuthoritiesApprovedEventSchema = { "properties": { "approvedAt": { "format": "date-time", "type": "string" }, "approvedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "approvedAt", "requestedBy", "approvedBy"], "type": "object" };
|
|
37
|
+
exports.AuthDeviceUserAuthoritiesListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["limit"], "type": "object" };
|
|
38
|
+
exports.AuthDeviceUserAuthoritiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "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", "deploymentId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
39
|
+
exports.AuthDeviceUserAuthoritiesRequestedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" } }, "required": ["flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "requestedBy"], "type": "object" };
|
|
40
|
+
exports.AuthDeviceUserAuthoritiesResolvedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "resolvedAt": { "format": "date-time", "type": "string" }, "resolvedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "resolvedAt", "resolvedBy"], "type": "object" };
|
|
41
|
+
exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "requestedBy"], "type": "object" };
|
|
42
|
+
exports.AuthDeviceUserAuthoritiesReviewsDecideRequestSchema = { "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" };
|
|
43
|
+
exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = { "properties": { "activation": { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "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", "deploymentId", "state", "activatedAt", "revokedAt"], "type": "object" }, "confirmationCode": { "minLength": 1, "type": "string" }, "review": { "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "deploymentId", "state", "requestedAt", "decidedAt"], "type": "object" } }, "required": ["review"], "type": "object" };
|
|
44
|
+
exports.AuthDeviceUserAuthoritiesReviewsListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["limit"], "type": "object" };
|
|
45
|
+
exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "deploymentId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
46
|
+
exports.AuthDeviceUserAuthoritiesRevokeRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
47
|
+
exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
48
|
+
exports.AuthDevicesConnectInfoGetRequestSchema = { "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" };
|
|
49
|
+
exports.AuthDevicesConnectInfoGetResponseSchema = { "properties": { "connectInfo": { "properties": { "auth": { "properties": { "authority": { "anyOf": [{ "const": "admin_reviewed", "type": "string" }, { "const": "user_delegated", "type": "string" }] }, "iatSkewSeconds": { "type": "number" }, "mode": { "const": "device_identity", "type": "string" } }, "required": ["mode", "authority", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "transport": { "properties": { "sentinel": { "properties": { "jwt": { "type": "string" }, "seed": { "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["sentinel"], "type": "object" }, "transports": { "properties": { "native": { "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["natsServers"], "type": "object" }, "websocket": { "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["natsServers"], "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "contractId", "contractDigest", "transports", "transport", "auth"], "type": "object" }, "status": { "const": "ready", "type": "string" } }, "required": ["status", "connectInfo"], "type": "object" };
|
|
50
|
+
exports.AuthDevicesDisableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
51
|
+
exports.AuthDevicesDisableResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "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", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
|
|
52
|
+
exports.AuthDevicesEnableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
53
|
+
exports.AuthDevicesEnableResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "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", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
|
|
54
|
+
exports.AuthDevicesListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["limit"], "type": "object" };
|
|
55
|
+
exports.AuthDevicesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "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", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
56
|
+
exports.AuthDevicesProvisionRequestSchema = { "properties": { "activationKey": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "publicIdentityKey", "activationKey"], "type": "object" };
|
|
57
|
+
exports.AuthDevicesProvisionResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "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", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
|
|
58
|
+
exports.AuthDevicesRemoveRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
59
|
+
exports.AuthDevicesRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
60
|
+
exports.AuthEnvelopeExpansionsListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["limit"], "type": "object" };
|
|
61
|
+
exports.AuthEnvelopeExpansionsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
62
|
+
exports.AuthEnvelopeExpansionsRejectRequestSchema = { "properties": { "reason": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId"], "type": "object" };
|
|
63
|
+
exports.AuthEnvelopeExpansionsRejectResponseSchema = { "properties": { "request": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" } }, "required": ["request"], "type": "object" };
|
|
64
|
+
exports.AuthEnvelopesApproveRequestRequestSchema = { "properties": { "reason": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId"], "type": "object" };
|
|
65
|
+
exports.AuthEnvelopesApproveRequestResponseSchema = { "properties": { "contractEvidence": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "request": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" }, "resourceBindings": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "binding": { "patternProperties": { "^.*$": {} }, "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "limits": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "alias", "binding", "limits", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["request", "envelope", "delta", "contractEvidence", "resourceBindings"], "type": "object" };
|
|
66
|
+
exports.AuthEnvelopesChangesPreviewRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "proposedBoundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["deploymentId", "proposedBoundary"], "type": "object" };
|
|
67
|
+
exports.AuthEnvelopesChangesPreviewResponseSchema = { "properties": { "current": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "impact": { "properties": { "impactedDeviceSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "impactedIdentityEnvelopes": { "items": { "properties": { "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["identityEnvelopeId", "identityAnchor", "missing"], "type": "object" }, "type": "array" }, "impactedPendingRequests": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId", "missing"], "type": "object" }, "type": "array" }, "impactedServiceInstances": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["missing"], "type": "object" }, "type": "array" }, "impactedSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "orphanedResources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] } }, "required": ["kind", "alias"], "type": "object" }, "type": "array" }, "removed": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["removed", "impactedSessions", "impactedServiceInstances", "impactedDeviceSessions", "impactedIdentityEnvelopes", "impactedPendingRequests", "orphanedResources"], "type": "object" }, "proposed": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" } }, "required": ["current", "proposed", "impact"], "type": "object" };
|
|
68
|
+
exports.AuthEnvelopesExpandRequestSchema = { "properties": { "contract": { "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "expectedDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["deploymentId", "contract", "expectedDigest"], "type": "object" };
|
|
69
|
+
exports.AuthEnvelopesExpandResponseSchema = { "properties": { "contractEvidence": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "resourceBindings": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "binding": { "patternProperties": { "^.*$": {} }, "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "limits": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "alias", "binding", "limits", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["envelope", "delta", "contractEvidence", "resourceBindings"], "type": "object" };
|
|
70
|
+
exports.AuthEnvelopesGetRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
|
|
71
|
+
exports.AuthEnvelopesGetResponseSchema = { "properties": { "contractEvidence": { "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "type": "array" }, "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "expansionRequests": { "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" }, "type": "array" }, "grantOverrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" }, "portalRoute": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "portalId", "entryUrl", "disabled", "updatedAt"], "type": "object" }, { "type": "null" }] }, "resourceBindings": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "binding": { "patternProperties": { "^.*$": {} }, "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "limits": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "alias", "binding", "limits", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["envelope", "resourceBindings", "contractEvidence", "expansionRequests", "portalRoute", "grantOverrides"], "type": "object" };
|
|
72
|
+
exports.AuthEnvelopesGrantOverridesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
73
|
+
exports.AuthEnvelopesGrantOverridesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
74
|
+
exports.AuthEnvelopesGrantOverridesPutRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "overrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" } }, "required": ["deploymentId", "overrides"], "type": "object" };
|
|
75
|
+
exports.AuthEnvelopesGrantOverridesRemoveRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "overrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" } }, "required": ["deploymentId", "overrides"], "type": "object" };
|
|
76
|
+
exports.AuthEnvelopesGrantOverridesResponseSchema = { "properties": { "grantOverrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" } }, "required": ["grantOverrides"], "type": "object" };
|
|
77
|
+
exports.AuthEnvelopesListRequestSchema = { "properties": { "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
78
|
+
exports.AuthEnvelopesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
79
|
+
exports.AuthEnvelopesShrinkRequestSchema = { "properties": { "confirm": { "type": "boolean" }, "deploymentId": { "minLength": 1, "type": "string" }, "proposedBoundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["deploymentId", "proposedBoundary", "confirm"], "type": "object" };
|
|
80
|
+
exports.AuthEnvelopesShrinkResponseSchema = { "properties": { "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "impact": { "properties": { "impactedDeviceSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "impactedIdentityEnvelopes": { "items": { "properties": { "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["identityEnvelopeId", "identityAnchor", "missing"], "type": "object" }, "type": "array" }, "impactedPendingRequests": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId", "missing"], "type": "object" }, "type": "array" }, "impactedServiceInstances": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["missing"], "type": "object" }, "type": "array" }, "impactedSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "orphanedResources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] } }, "required": ["kind", "alias"], "type": "object" }, "type": "array" }, "removed": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["removed", "impactedSessions", "impactedServiceInstances", "impactedDeviceSessions", "impactedIdentityEnvelopes", "impactedPendingRequests", "orphanedResources"], "type": "object" }, "retainedResources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] } }, "required": ["kind", "alias"], "type": "object" }, "type": "array" } }, "required": ["envelope", "impact", "retainedResources"], "type": "object" };
|
|
81
|
+
exports.AuthIdentitiesGrantsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
82
|
+
exports.AuthIdentitiesGrantsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractEvidence": { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "grantedAt": { "format": "date-time", "type": "string" }, "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["identityEnvelopeId", "identityAnchor", "contractEvidence", "displayName", "description", "participantKind", "capabilities", "grantedAt", "updatedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
83
|
+
exports.AuthIdentitiesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "user": { "minLength": 1, "type": "string" } }, "required": ["limit"], "type": "object" };
|
|
84
|
+
exports.AuthIdentitiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "answer": { "anyOf": [{ "const": "approved", "type": "string" }, { "const": "denied", "type": "string" }] }, "answeredAt": { "format": "date-time", "type": "string" }, "capabilities": { "patternProperties": { "^.*$": { "properties": { "consequence": { "type": "string" }, "description": { "type": "string" }, "displayName": { "type": "string" } }, "required": ["displayName", "description"], "type": "object" } }, "type": "object" }, "contractEvidence": { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["user", "answer", "answeredAt", "updatedAt", "identityEnvelopeId", "identityAnchor", "contractEvidence", "displayName", "description", "capabilities", "participantKind"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
85
|
+
exports.AuthIdentityEnvelopesRevokeRequestSchema = { "properties": { "identityEnvelopeId": { "minLength": 1, "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["identityEnvelopeId"], "type": "object" };
|
|
86
|
+
exports.AuthIdentityEnvelopesRevokeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
87
|
+
exports.AuthPortalsGetRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
|
|
88
|
+
exports.AuthPortalsGetResponseSchema = { "properties": { "defaultCapabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "defaultCapabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "federatedProviders": { "items": { "properties": { "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": ["id", "displayName", "type"], "type": "object" }, "type": "array" }, "portal": { "properties": { "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt"], "type": "object" }, "routes": { "items": { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "disabled": { "type": "boolean" }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "routeKey": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["routeKey", "portalId", "contractId", "origin", "disabled", "updatedAt"], "type": "object" }, "type": "array" }, "settings": { "properties": { "allowedFederatedProviders": { "anyOf": [{ "items": { "minLength": 1, "type": "string" }, "type": "array" }, { "type": "null" }] }, "federatedRegistrationEnabled": { "type": "boolean" }, "localRegistrationEnabled": { "type": "boolean" }, "portalId": { "minLength": 1, "type": "string" }, "selfRegisteredAccountActive": { "type": "boolean" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "localRegistrationEnabled", "federatedRegistrationEnabled", "allowedFederatedProviders", "selfRegisteredAccountActive", "updatedAt"], "type": "object" } }, "required": ["portal", "settings", "routes", "defaultCapabilities", "defaultCapabilityGroups", "federatedProviders"], "type": "object" };
|
|
89
|
+
exports.AuthPortalsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
90
|
+
exports.AuthPortalsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "activeRouteCount": { "minimum": 0, "type": "integer" }, "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "routeCount": { "minimum": 0, "type": "integer" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt", "routeCount", "activeRouteCount"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
91
|
+
exports.AuthPortalsLoginSettingsGetRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
|
|
92
|
+
exports.AuthPortalsLoginSettingsResponseSchema = { "properties": { "defaultCapabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "defaultCapabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "federatedProviders": { "items": { "properties": { "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": ["id", "displayName", "type"], "type": "object" }, "type": "array" }, "portal": { "properties": { "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt"], "type": "object" }, "settings": { "properties": { "allowedFederatedProviders": { "anyOf": [{ "items": { "minLength": 1, "type": "string" }, "type": "array" }, { "type": "null" }] }, "federatedRegistrationEnabled": { "type": "boolean" }, "localRegistrationEnabled": { "type": "boolean" }, "portalId": { "minLength": 1, "type": "string" }, "selfRegisteredAccountActive": { "type": "boolean" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "localRegistrationEnabled", "federatedRegistrationEnabled", "allowedFederatedProviders", "selfRegisteredAccountActive", "updatedAt"], "type": "object" } }, "required": ["portal", "settings", "defaultCapabilities", "defaultCapabilityGroups", "federatedProviders"], "type": "object" };
|
|
93
|
+
exports.AuthPortalsLoginSettingsUpdateRequestSchema = { "properties": { "allowedFederatedProviders": { "anyOf": [{ "items": { "minLength": 1, "type": "string" }, "type": "array" }, { "type": "null" }] }, "defaultCapabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "defaultCapabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "federatedRegistrationEnabled": { "type": "boolean" }, "localRegistrationEnabled": { "type": "boolean" }, "portalId": { "minLength": 1, "type": "string" }, "selfRegisteredAccountActive": { "type": "boolean" } }, "required": ["portalId", "localRegistrationEnabled", "federatedRegistrationEnabled", "allowedFederatedProviders", "selfRegisteredAccountActive", "defaultCapabilities", "defaultCapabilityGroups"], "type": "object" };
|
|
94
|
+
exports.AuthPortalsPutRequestSchema = { "properties": { "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "displayName", "entryUrl"], "type": "object" };
|
|
95
|
+
exports.AuthPortalsPutResponseSchema = { "properties": { "portal": { "properties": { "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt"], "type": "object" } }, "required": ["portal"], "type": "object" };
|
|
96
|
+
exports.AuthPortalsRemoveRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
|
|
97
|
+
exports.AuthPortalsRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
98
|
+
exports.AuthPortalsRoutesPutRequestSchema = { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "disabled": { "type": "boolean" }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
|
|
99
|
+
exports.AuthPortalsRoutesPutResponseSchema = { "properties": { "route": { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "disabled": { "type": "boolean" }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "routeKey": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["routeKey", "portalId", "contractId", "origin", "disabled", "updatedAt"], "type": "object" } }, "required": ["route"], "type": "object" };
|
|
100
|
+
exports.AuthPortalsRoutesRemoveRequestSchema = { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
|
|
101
|
+
exports.AuthPortalsRoutesRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
102
|
+
exports.AuthRequestsValidateRequestSchema = { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "iat": { "type": "integer" }, "payloadHash": { "minLength": 1, "type": "string" }, "proof": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "sessionKey": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["sessionKey", "proof", "subject", "payloadHash", "iat", "requestId"], "type": "object" };
|
|
103
|
+
exports.AuthRequestsValidateResponseSchema = { "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "image": { "type": "string" }, "lastAuth": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "type": { "const": "user", "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["type", "participantKind", "userId", "identity", "active", "name", "email", "capabilities", "lastAuth"], "type": "object" }, { "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" }, { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }] }, "inboxPrefix": { "type": "string" } }, "required": ["allowed", "inboxPrefix", "caller"], "type": "object" };
|
|
104
|
+
exports.AuthResolveDeviceUserAuthoritiesProgressSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "instanceId", "deploymentId", "requestedAt"], "type": "object" };
|
|
105
|
+
exports.AuthResolveDeviceUserAuthoritiesRequestSchema = { "properties": { "flowId": { "minLength": 1, "type": "string" } }, "required": ["flowId"], "type": "object" };
|
|
106
|
+
exports.AuthResolveDeviceUserAuthoritiesResponseSchema = { "anyOf": [{ "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "deploymentId", "activatedAt"], "type": "object" }, { "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] };
|
|
107
|
+
exports.AuthServiceInstancesDisableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
108
|
+
exports.AuthServiceInstancesDisableResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "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": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "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" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "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": { "^.*$": { "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" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
|
|
109
|
+
exports.AuthServiceInstancesEnableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
110
|
+
exports.AuthServiceInstancesEnableResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "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": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "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" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "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": { "^.*$": { "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" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
|
|
111
|
+
exports.AuthServiceInstancesListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
112
|
+
exports.AuthServiceInstancesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "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": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "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" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "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": { "^.*$": { "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" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
113
|
+
exports.AuthServiceInstancesProvisionRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "instanceKey"], "type": "object" };
|
|
114
|
+
exports.AuthServiceInstancesProvisionResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "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": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "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" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "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": { "^.*$": { "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" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
|
|
115
|
+
exports.AuthServiceInstancesRemoveRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
|
|
116
|
+
exports.AuthServiceInstancesRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
117
|
+
exports.AuthSessionsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "user": { "type": "string" } }, "required": ["limit"], "type": "object" };
|
|
118
|
+
exports.AuthSessionsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "app", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "agent", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "device", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "deviceId": { "type": "string" }, "deviceType": { "type": "string" }, "runtimePublicKey": { "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId"], "type": "object" }, { "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "service", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "id": { "type": "string" }, "instanceId": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "instanceId", "deploymentId"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
119
|
+
exports.AuthSessionsLogoutRequestSchema = { "properties": {}, "type": "object" };
|
|
120
|
+
exports.AuthSessionsLogoutResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
121
|
+
exports.AuthSessionsMeRequestSchema = { "properties": {}, "type": "object" };
|
|
122
|
+
exports.AuthSessionsMeResponseSchema = { "properties": { "device": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "participantKind": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] }, "service": { "anyOf": [{ "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": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "image": { "type": "string" }, "lastLogin": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "name", "email", "capabilities", "identity"], "type": "object" }, { "type": "null" }] } }, "required": ["participantKind", "user", "device", "service"], "type": "object" };
|
|
123
|
+
exports.AuthSessionsRevokeRequestSchema = { "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" };
|
|
124
|
+
exports.AuthSessionsRevokeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
125
|
+
exports.AuthSessionsRevokedEventSchema = { "allOf": [{ "properties": { "header": { "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" }] };
|
|
126
|
+
exports.AuthUserIdentitiesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "limit"], "type": "object" };
|
|
127
|
+
exports.AuthUserIdentitiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
128
|
+
exports.AuthUserIdentitiesUnlinkRequestSchema = { "properties": { "identityId": { "minLength": 1, "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "identityId"], "type": "object" };
|
|
129
|
+
exports.AuthUserIdentitiesUnlinkResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
130
|
+
exports.AuthUsersAccountFlowCreateResponseSchema = { "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": ["flowId", "url", "expiresAt"], "type": "object" };
|
|
131
|
+
exports.AuthUsersCreateRequestSchema = { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "type": "object" };
|
|
132
|
+
exports.AuthUsersCreateResponseSchema = { "properties": { "user": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identities": { "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "capabilities", "capabilityGroups", "identities"], "type": "object" } }, "required": ["user"], "type": "object" };
|
|
133
|
+
exports.AuthUsersGetRequestSchema = { "properties": { "userId": { "minLength": 1, "type": "string" } }, "required": ["userId"], "type": "object" };
|
|
134
|
+
exports.AuthUsersGetResponseSchema = { "properties": { "user": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identities": { "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "capabilities", "capabilityGroups", "identities"], "type": "object" } }, "required": ["user"], "type": "object" };
|
|
135
|
+
exports.AuthUsersIdentityLinkCreateRequestSchema = { "properties": { "returnTo": { "minLength": 1, "type": "string" } }, "type": "object" };
|
|
136
|
+
exports.AuthUsersListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
|
|
137
|
+
exports.AuthUsersListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identities": { "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "capabilities", "capabilityGroups", "identities"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
|
|
138
|
+
exports.AuthUsersPasswordChangeRequestSchema = { "properties": { "currentPassword": { "minLength": 1, "type": "string" }, "newPassword": { "minLength": 1, "type": "string" } }, "required": ["currentPassword", "newPassword"], "type": "object" };
|
|
139
|
+
exports.AuthUsersPasswordChangeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
140
|
+
exports.AuthUsersPasswordResetCreateRequestSchema = { "properties": { "expiresInSeconds": { "maximum": 2592000, "minimum": 60, "type": "integer" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId"], "type": "object" };
|
|
141
|
+
exports.AuthUsersUpdateRequestSchema = { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "email": { "type": "string" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId"], "type": "object" };
|
|
142
|
+
exports.AuthUsersUpdateResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
|
|
144
143
|
exports.HealthRequestSchema = { "properties": {}, "type": "object" };
|
|
145
144
|
exports.HealthResponseSchema = { "properties": { "checks": { "items": { "properties": { "error": { "type": "string" }, "info": { "patternProperties": { "^.*$": {} }, "type": "object" }, "latencyMs": { "type": "number" }, "name": { "type": "string" }, "status": { "anyOf": [{ "const": "ok", "type": "string" }, { "const": "failed", "type": "string" }] }, "summary": { "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" };
|