@qlever-llc/trellis 0.8.3 → 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/bin/trellis-generate.js +132 -0
- 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/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 -4
- 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/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,211 +1,331 @@
|
|
|
1
1
|
import type { RpcHandlerFn } from "@qlever-llc/trellis";
|
|
2
2
|
import type { API } from "./api.js";
|
|
3
3
|
export declare const CONTRACT_ID: "trellis.auth@v1";
|
|
4
|
-
export declare const CONTRACT_DIGEST: "
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
export declare const CONTRACT_DIGEST: "LS4TSi9WOfhU3GNszr7fimum7xsF2PhdvLDtsRwpCas";
|
|
5
|
+
export type AuthCapabilitiesListInput = {
|
|
6
|
+
limit: number;
|
|
7
|
+
offset?: number;
|
|
8
|
+
};
|
|
9
|
+
export type AuthCapabilitiesListOutput = {
|
|
10
|
+
count: number;
|
|
11
|
+
entries: Array<{
|
|
12
|
+
consequence?: string;
|
|
13
|
+
contractDigest?: string;
|
|
14
|
+
contractDisplayName?: string;
|
|
15
|
+
contractId?: string;
|
|
16
|
+
description: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
key: string;
|
|
19
|
+
source: ("contract" | "platform");
|
|
20
|
+
}>;
|
|
21
|
+
limit: number;
|
|
22
|
+
nextOffset?: number;
|
|
23
|
+
offset: number;
|
|
10
24
|
};
|
|
11
|
-
export type
|
|
12
|
-
|
|
25
|
+
export type AuthCapabilityGroupsDeleteInput = {
|
|
26
|
+
groupKey: string;
|
|
27
|
+
};
|
|
28
|
+
export type AuthCapabilityGroupsDeleteOutput = {
|
|
29
|
+
success: boolean;
|
|
30
|
+
};
|
|
31
|
+
export type AuthCapabilityGroupsGetInput = {
|
|
32
|
+
groupKey: string;
|
|
33
|
+
};
|
|
34
|
+
export type AuthCapabilityGroupsGetOutput = {
|
|
35
|
+
group: {
|
|
36
|
+
capabilities: Array<string>;
|
|
37
|
+
createdAt: string;
|
|
13
38
|
description: string;
|
|
14
|
-
digest: string;
|
|
15
39
|
displayName: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
deployment: {
|
|
20
|
-
appliedContracts: Array<{
|
|
21
|
-
allowedDigests: Array<string>;
|
|
22
|
-
contractId: string;
|
|
23
|
-
}>;
|
|
24
|
-
deploymentId: string;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
reviewMode?: ("none" | "required");
|
|
40
|
+
groupKey: string;
|
|
41
|
+
includedGroups: Array<string>;
|
|
42
|
+
updatedAt: string;
|
|
27
43
|
};
|
|
28
44
|
};
|
|
29
|
-
export type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
expectedDigest: string;
|
|
33
|
-
replaceExisting?: boolean;
|
|
45
|
+
export type AuthCapabilityGroupsListInput = {
|
|
46
|
+
limit: number;
|
|
47
|
+
offset?: number;
|
|
34
48
|
};
|
|
35
|
-
export type
|
|
36
|
-
|
|
49
|
+
export type AuthCapabilityGroupsListOutput = {
|
|
50
|
+
count: number;
|
|
51
|
+
entries: Array<{
|
|
52
|
+
capabilities: Array<string>;
|
|
53
|
+
createdAt: string;
|
|
37
54
|
description: string;
|
|
38
|
-
digest: string;
|
|
39
55
|
displayName: string;
|
|
40
|
-
|
|
41
|
-
|
|
56
|
+
groupKey: string;
|
|
57
|
+
includedGroups: Array<string>;
|
|
58
|
+
updatedAt: string;
|
|
59
|
+
}>;
|
|
60
|
+
limit: number;
|
|
61
|
+
nextOffset?: number;
|
|
62
|
+
offset: number;
|
|
63
|
+
};
|
|
64
|
+
export type AuthCapabilityGroupsPutInput = {
|
|
65
|
+
capabilities?: Array<string>;
|
|
66
|
+
description: string;
|
|
67
|
+
displayName: string;
|
|
68
|
+
groupKey: string;
|
|
69
|
+
includedGroups?: Array<string>;
|
|
70
|
+
};
|
|
71
|
+
export type AuthCapabilityGroupsPutOutput = {
|
|
72
|
+
group: {
|
|
73
|
+
capabilities: Array<string>;
|
|
74
|
+
createdAt: string;
|
|
75
|
+
description: string;
|
|
76
|
+
displayName: string;
|
|
77
|
+
groupKey: string;
|
|
78
|
+
includedGroups: Array<string>;
|
|
79
|
+
updatedAt: string;
|
|
42
80
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
backoffMs: Array<number>;
|
|
55
|
-
concurrency: number;
|
|
56
|
-
consumerName: string;
|
|
57
|
-
defaultDeadlineMs?: number;
|
|
58
|
-
dlq: boolean;
|
|
59
|
-
logs: boolean;
|
|
60
|
-
maxDeliver: number;
|
|
61
|
-
payload: {
|
|
62
|
-
schema: string;
|
|
63
|
-
};
|
|
64
|
-
progress: boolean;
|
|
65
|
-
publishPrefix: string;
|
|
66
|
-
queueType: string;
|
|
67
|
-
result?: {
|
|
68
|
-
schema: string;
|
|
69
|
-
};
|
|
70
|
-
workSubject: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
workStream?: string;
|
|
74
|
-
};
|
|
75
|
-
kv?: {
|
|
76
|
-
[k: string]: {
|
|
77
|
-
bucket: string;
|
|
78
|
-
history: number;
|
|
79
|
-
maxValueBytes?: number;
|
|
80
|
-
ttlMs: number;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
store?: {
|
|
84
|
-
[k: string]: {
|
|
85
|
-
maxObjectBytes?: number;
|
|
86
|
-
maxTotalBytes?: number;
|
|
87
|
-
name: string;
|
|
88
|
-
ttlMs: number;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
}>;
|
|
81
|
+
};
|
|
82
|
+
export type AuthCatalogIssuesResolveInput = {
|
|
83
|
+
action: ("keep-current" | "force-replace");
|
|
84
|
+
issueId: string;
|
|
85
|
+
};
|
|
86
|
+
export type AuthCatalogIssuesResolveOutput = {
|
|
87
|
+
action: ("keep-current" | "force-replace");
|
|
88
|
+
ignoredEvidence: Array<{
|
|
89
|
+
contract: {};
|
|
90
|
+
contractDigest: string;
|
|
91
|
+
contractId: string;
|
|
94
92
|
deploymentId: string;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
firstSeenAt: string;
|
|
94
|
+
ignoreReason?: (string | null);
|
|
95
|
+
ignoredAt?: (string | null);
|
|
96
|
+
ignoredBy?: ({
|
|
97
|
+
[k: string]: unknown;
|
|
98
|
+
} | null);
|
|
99
|
+
lastSeenAt: string;
|
|
100
|
+
}>;
|
|
101
|
+
issueId: string;
|
|
102
|
+
success: true;
|
|
98
103
|
};
|
|
99
|
-
export type
|
|
100
|
-
|
|
104
|
+
export type AuthConnectionsKickInput = {
|
|
105
|
+
userNkey: string;
|
|
101
106
|
};
|
|
102
|
-
export type
|
|
107
|
+
export type AuthConnectionsKickOutput = {
|
|
103
108
|
success: boolean;
|
|
104
109
|
};
|
|
105
|
-
export type
|
|
106
|
-
|
|
110
|
+
export type AuthConnectionsListInput = {
|
|
111
|
+
limit: number;
|
|
112
|
+
offset?: number;
|
|
113
|
+
sessionKey?: string;
|
|
114
|
+
user?: string;
|
|
107
115
|
};
|
|
108
|
-
export type
|
|
109
|
-
|
|
116
|
+
export type AuthConnectionsListOutput = {
|
|
117
|
+
count: number;
|
|
118
|
+
entries: Array<({
|
|
119
|
+
clientId: number;
|
|
120
|
+
connectedAt: string;
|
|
121
|
+
contractDisplayName: string;
|
|
122
|
+
contractId: string;
|
|
123
|
+
key: string;
|
|
124
|
+
participantKind: "app";
|
|
125
|
+
principal: {
|
|
126
|
+
identity: {
|
|
127
|
+
identityId: string;
|
|
128
|
+
provider: string;
|
|
129
|
+
subject: string;
|
|
130
|
+
};
|
|
131
|
+
name: string;
|
|
132
|
+
type: "user";
|
|
133
|
+
userId: string;
|
|
134
|
+
};
|
|
135
|
+
serverId: string;
|
|
136
|
+
sessionKey: string;
|
|
137
|
+
userNkey: string;
|
|
138
|
+
} | {
|
|
139
|
+
clientId: number;
|
|
140
|
+
connectedAt: string;
|
|
141
|
+
contractDisplayName: string;
|
|
142
|
+
contractId: string;
|
|
143
|
+
key: string;
|
|
144
|
+
participantKind: "agent";
|
|
145
|
+
principal: {
|
|
146
|
+
identity: {
|
|
147
|
+
identityId: string;
|
|
148
|
+
provider: string;
|
|
149
|
+
subject: string;
|
|
150
|
+
};
|
|
151
|
+
name: string;
|
|
152
|
+
type: "user";
|
|
153
|
+
userId: string;
|
|
154
|
+
};
|
|
155
|
+
serverId: string;
|
|
156
|
+
sessionKey: string;
|
|
157
|
+
userNkey: string;
|
|
158
|
+
} | {
|
|
159
|
+
clientId: number;
|
|
160
|
+
connectedAt: string;
|
|
161
|
+
contractDisplayName?: string;
|
|
162
|
+
contractId: string;
|
|
163
|
+
key: string;
|
|
164
|
+
participantKind: "device";
|
|
165
|
+
principal: {
|
|
166
|
+
deploymentId: string;
|
|
167
|
+
deviceId: string;
|
|
168
|
+
deviceType: string;
|
|
169
|
+
runtimePublicKey: string;
|
|
170
|
+
type: "device";
|
|
171
|
+
};
|
|
172
|
+
serverId: string;
|
|
173
|
+
sessionKey: string;
|
|
174
|
+
userNkey: string;
|
|
175
|
+
} | {
|
|
176
|
+
clientId: number;
|
|
177
|
+
connectedAt: string;
|
|
178
|
+
key: string;
|
|
179
|
+
participantKind: "service";
|
|
180
|
+
principal: {
|
|
181
|
+
deploymentId: string;
|
|
182
|
+
id: string;
|
|
183
|
+
instanceId: string;
|
|
184
|
+
name: string;
|
|
185
|
+
type: "service";
|
|
186
|
+
};
|
|
187
|
+
serverId: string;
|
|
188
|
+
sessionKey: string;
|
|
189
|
+
userNkey: string;
|
|
190
|
+
})>;
|
|
191
|
+
limit: number;
|
|
192
|
+
nextOffset?: number;
|
|
193
|
+
offset: number;
|
|
110
194
|
};
|
|
111
|
-
export type
|
|
195
|
+
export type AuthDeploymentsCreateInput = ({
|
|
196
|
+
deploymentId: string;
|
|
197
|
+
kind: "service";
|
|
198
|
+
namespaces: Array<string>;
|
|
199
|
+
} | {
|
|
112
200
|
deploymentId: string;
|
|
201
|
+
kind: "device";
|
|
113
202
|
reviewMode?: ("none" | "required");
|
|
114
|
-
};
|
|
115
|
-
export type
|
|
116
|
-
deployment: {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
203
|
+
});
|
|
204
|
+
export type AuthDeploymentsCreateOutput = {
|
|
205
|
+
deployment: ({
|
|
206
|
+
deploymentId: string;
|
|
207
|
+
disabled: boolean;
|
|
208
|
+
kind: "service";
|
|
209
|
+
namespaces: Array<string>;
|
|
210
|
+
} | {
|
|
121
211
|
deploymentId: string;
|
|
122
212
|
disabled: boolean;
|
|
213
|
+
kind: "device";
|
|
123
214
|
reviewMode?: ("none" | "required");
|
|
124
|
-
};
|
|
215
|
+
});
|
|
125
216
|
};
|
|
126
|
-
export type
|
|
127
|
-
|
|
128
|
-
|
|
217
|
+
export type AuthDeploymentsDisableInput = {
|
|
218
|
+
deploymentId: string;
|
|
219
|
+
kind: ("service" | "device");
|
|
129
220
|
};
|
|
130
|
-
export type
|
|
131
|
-
|
|
221
|
+
export type AuthDeploymentsDisableOutput = {
|
|
222
|
+
deployment: ({
|
|
223
|
+
deploymentId: string;
|
|
132
224
|
disabled: boolean;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
225
|
+
kind: "service";
|
|
226
|
+
namespaces: Array<string>;
|
|
227
|
+
} | {
|
|
228
|
+
deploymentId: string;
|
|
229
|
+
disabled: boolean;
|
|
230
|
+
kind: "device";
|
|
231
|
+
reviewMode?: ("none" | "required");
|
|
232
|
+
});
|
|
136
233
|
};
|
|
137
|
-
export type
|
|
234
|
+
export type AuthDeploymentsEnableInput = {
|
|
138
235
|
deploymentId: string;
|
|
139
|
-
|
|
236
|
+
kind: ("service" | "device");
|
|
140
237
|
};
|
|
141
|
-
export type
|
|
142
|
-
deployment: {
|
|
143
|
-
appliedContracts: Array<{
|
|
144
|
-
allowedDigests: Array<string>;
|
|
145
|
-
contractId: string;
|
|
146
|
-
resourceBindingsByDigest?: {
|
|
147
|
-
[k: string]: {
|
|
148
|
-
jobs?: {
|
|
149
|
-
namespace: string;
|
|
150
|
-
queues: {
|
|
151
|
-
[k: string]: {
|
|
152
|
-
ackWaitMs: number;
|
|
153
|
-
backoffMs: Array<number>;
|
|
154
|
-
concurrency: number;
|
|
155
|
-
consumerName: string;
|
|
156
|
-
defaultDeadlineMs?: number;
|
|
157
|
-
dlq: boolean;
|
|
158
|
-
logs: boolean;
|
|
159
|
-
maxDeliver: number;
|
|
160
|
-
payload: {
|
|
161
|
-
schema: string;
|
|
162
|
-
};
|
|
163
|
-
progress: boolean;
|
|
164
|
-
publishPrefix: string;
|
|
165
|
-
queueType: string;
|
|
166
|
-
result?: {
|
|
167
|
-
schema: string;
|
|
168
|
-
};
|
|
169
|
-
workSubject: string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
workStream?: string;
|
|
173
|
-
};
|
|
174
|
-
kv?: {
|
|
175
|
-
[k: string]: {
|
|
176
|
-
bucket: string;
|
|
177
|
-
history: number;
|
|
178
|
-
maxValueBytes?: number;
|
|
179
|
-
ttlMs: number;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
store?: {
|
|
183
|
-
[k: string]: {
|
|
184
|
-
maxObjectBytes?: number;
|
|
185
|
-
maxTotalBytes?: number;
|
|
186
|
-
name: string;
|
|
187
|
-
ttlMs: number;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
}>;
|
|
238
|
+
export type AuthDeploymentsEnableOutput = {
|
|
239
|
+
deployment: ({
|
|
193
240
|
deploymentId: string;
|
|
194
241
|
disabled: boolean;
|
|
242
|
+
kind: "service";
|
|
195
243
|
namespaces: Array<string>;
|
|
196
|
-
}
|
|
244
|
+
} | {
|
|
245
|
+
deploymentId: string;
|
|
246
|
+
disabled: boolean;
|
|
247
|
+
kind: "device";
|
|
248
|
+
reviewMode?: ("none" | "required");
|
|
249
|
+
});
|
|
250
|
+
};
|
|
251
|
+
export type AuthDeploymentsListInput = {
|
|
252
|
+
disabled?: boolean;
|
|
253
|
+
kind?: ("service" | "device");
|
|
254
|
+
limit: number;
|
|
255
|
+
offset?: number;
|
|
256
|
+
};
|
|
257
|
+
export type AuthDeploymentsListOutput = {
|
|
258
|
+
count: number;
|
|
259
|
+
entries: Array<({
|
|
260
|
+
deploymentId: string;
|
|
261
|
+
disabled: boolean;
|
|
262
|
+
kind: "service";
|
|
263
|
+
namespaces: Array<string>;
|
|
264
|
+
} | {
|
|
265
|
+
deploymentId: string;
|
|
266
|
+
disabled: boolean;
|
|
267
|
+
kind: "device";
|
|
268
|
+
reviewMode?: ("none" | "required");
|
|
269
|
+
})>;
|
|
270
|
+
limit: number;
|
|
271
|
+
nextOffset?: number;
|
|
272
|
+
offset: number;
|
|
273
|
+
};
|
|
274
|
+
export type AuthDeploymentsRemoveInput = {
|
|
275
|
+
cascade?: boolean;
|
|
276
|
+
deploymentId: string;
|
|
277
|
+
kind: ("service" | "device");
|
|
278
|
+
purgeUnusedContracts?: boolean;
|
|
279
|
+
};
|
|
280
|
+
export type AuthDeploymentsRemoveOutput = {
|
|
281
|
+
success: boolean;
|
|
282
|
+
};
|
|
283
|
+
export type AuthDeviceUserAuthoritiesListInput = {
|
|
284
|
+
deploymentId?: string;
|
|
285
|
+
instanceId?: string;
|
|
286
|
+
limit: number;
|
|
287
|
+
offset?: number;
|
|
288
|
+
state?: ("activated" | "revoked");
|
|
289
|
+
};
|
|
290
|
+
export type AuthDeviceUserAuthoritiesListOutput = {
|
|
291
|
+
count: number;
|
|
292
|
+
entries: Array<{
|
|
293
|
+
activatedAt: string;
|
|
294
|
+
activatedBy?: {
|
|
295
|
+
identity: {
|
|
296
|
+
identityId: string;
|
|
297
|
+
provider: string;
|
|
298
|
+
subject: string;
|
|
299
|
+
};
|
|
300
|
+
participantKind: ("app" | "agent");
|
|
301
|
+
userId: string;
|
|
302
|
+
};
|
|
303
|
+
deploymentId: string;
|
|
304
|
+
instanceId: string;
|
|
305
|
+
publicIdentityKey: string;
|
|
306
|
+
revokedAt: (string | null);
|
|
307
|
+
state: ("activated" | "revoked");
|
|
308
|
+
}>;
|
|
309
|
+
limit: number;
|
|
310
|
+
nextOffset?: number;
|
|
311
|
+
offset: number;
|
|
197
312
|
};
|
|
198
|
-
export type
|
|
313
|
+
export type AuthDeviceUserAuthoritiesReviewsDecideInput = {
|
|
199
314
|
decision: ("approve" | "reject");
|
|
200
315
|
reason?: string;
|
|
201
316
|
reviewId: string;
|
|
202
317
|
};
|
|
203
|
-
export type
|
|
318
|
+
export type AuthDeviceUserAuthoritiesReviewsDecideOutput = {
|
|
204
319
|
activation?: {
|
|
205
320
|
activatedAt: string;
|
|
206
321
|
activatedBy?: {
|
|
207
|
-
|
|
208
|
-
|
|
322
|
+
identity: {
|
|
323
|
+
identityId: string;
|
|
324
|
+
provider: string;
|
|
325
|
+
subject: string;
|
|
326
|
+
};
|
|
327
|
+
participantKind: ("app" | "agent");
|
|
328
|
+
userId: string;
|
|
209
329
|
};
|
|
210
330
|
deploymentId: string;
|
|
211
331
|
instanceId: string;
|
|
@@ -225,24 +345,73 @@ export type AuthDecideDeviceActivationReviewOutput = {
|
|
|
225
345
|
state: ("pending" | "approved" | "rejected");
|
|
226
346
|
};
|
|
227
347
|
};
|
|
228
|
-
export type
|
|
229
|
-
deploymentId
|
|
348
|
+
export type AuthDeviceUserAuthoritiesReviewsListInput = {
|
|
349
|
+
deploymentId?: string;
|
|
350
|
+
instanceId?: string;
|
|
351
|
+
limit: number;
|
|
352
|
+
offset?: number;
|
|
353
|
+
state?: ("pending" | "approved" | "rejected");
|
|
230
354
|
};
|
|
231
|
-
export type
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
contractId: string;
|
|
236
|
-
}>;
|
|
355
|
+
export type AuthDeviceUserAuthoritiesReviewsListOutput = {
|
|
356
|
+
count: number;
|
|
357
|
+
entries: Array<{
|
|
358
|
+
decidedAt: (string | null);
|
|
237
359
|
deploymentId: string;
|
|
238
|
-
|
|
239
|
-
|
|
360
|
+
instanceId: string;
|
|
361
|
+
publicIdentityKey: string;
|
|
362
|
+
reason?: string;
|
|
363
|
+
requestedAt: string;
|
|
364
|
+
reviewId: string;
|
|
365
|
+
state: ("pending" | "approved" | "rejected");
|
|
366
|
+
}>;
|
|
367
|
+
limit: number;
|
|
368
|
+
nextOffset?: number;
|
|
369
|
+
offset: number;
|
|
370
|
+
};
|
|
371
|
+
export type AuthDeviceUserAuthoritiesRevokeInput = {
|
|
372
|
+
instanceId: string;
|
|
373
|
+
};
|
|
374
|
+
export type AuthDeviceUserAuthoritiesRevokeOutput = {
|
|
375
|
+
success: boolean;
|
|
376
|
+
};
|
|
377
|
+
export type AuthDevicesConnectInfoGetInput = {
|
|
378
|
+
contractDigest: string;
|
|
379
|
+
iat: number;
|
|
380
|
+
publicIdentityKey: string;
|
|
381
|
+
sig: string;
|
|
382
|
+
};
|
|
383
|
+
export type AuthDevicesConnectInfoGetOutput = {
|
|
384
|
+
connectInfo: {
|
|
385
|
+
auth: {
|
|
386
|
+
authority: ("admin_reviewed" | "user_delegated");
|
|
387
|
+
iatSkewSeconds: number;
|
|
388
|
+
mode: "device_identity";
|
|
389
|
+
};
|
|
390
|
+
contractDigest: string;
|
|
391
|
+
contractId: string;
|
|
392
|
+
deploymentId: string;
|
|
393
|
+
instanceId: string;
|
|
394
|
+
transport: {
|
|
395
|
+
sentinel: {
|
|
396
|
+
jwt: string;
|
|
397
|
+
seed: string;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
transports: {
|
|
401
|
+
native?: {
|
|
402
|
+
natsServers: Array<string>;
|
|
403
|
+
};
|
|
404
|
+
websocket?: {
|
|
405
|
+
natsServers: Array<string>;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
240
408
|
};
|
|
409
|
+
status: "ready";
|
|
241
410
|
};
|
|
242
|
-
export type
|
|
411
|
+
export type AuthDevicesDisableInput = {
|
|
243
412
|
instanceId: string;
|
|
244
413
|
};
|
|
245
|
-
export type
|
|
414
|
+
export type AuthDevicesDisableOutput = {
|
|
246
415
|
instance: {
|
|
247
416
|
activatedAt: (string | null);
|
|
248
417
|
createdAt: string;
|
|
@@ -258,192 +427,60 @@ export type AuthDisableDeviceInstanceOutput = {
|
|
|
258
427
|
state: ("registered" | "activated" | "revoked" | "disabled");
|
|
259
428
|
};
|
|
260
429
|
};
|
|
261
|
-
export type
|
|
262
|
-
|
|
430
|
+
export type AuthDevicesEnableInput = {
|
|
431
|
+
instanceId: string;
|
|
263
432
|
};
|
|
264
|
-
export type
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
contractId: string;
|
|
268
|
-
createdAt: string;
|
|
269
|
-
disabled: boolean;
|
|
270
|
-
impliedCapabilities: Array<string>;
|
|
271
|
-
source: ({
|
|
272
|
-
createdBy?: {
|
|
273
|
-
id: string;
|
|
274
|
-
origin: string;
|
|
275
|
-
};
|
|
276
|
-
kind: "admin_policy";
|
|
277
|
-
updatedBy?: {
|
|
278
|
-
id: string;
|
|
279
|
-
origin: string;
|
|
280
|
-
};
|
|
281
|
-
} | {
|
|
282
|
-
entryUrl: string;
|
|
283
|
-
kind: "portal_profile";
|
|
284
|
-
portalId: string;
|
|
285
|
-
});
|
|
286
|
-
updatedAt: string;
|
|
287
|
-
};
|
|
288
|
-
};
|
|
289
|
-
export type AuthDisablePortalInput = {
|
|
290
|
-
portalId: string;
|
|
291
|
-
};
|
|
292
|
-
export type AuthDisablePortalOutput = {
|
|
293
|
-
success: boolean;
|
|
294
|
-
};
|
|
295
|
-
export type AuthDisablePortalProfileInput = {
|
|
296
|
-
portalId: string;
|
|
297
|
-
};
|
|
298
|
-
export type AuthDisablePortalProfileOutput = {
|
|
299
|
-
profile: {
|
|
300
|
-
allowedOrigins?: Array<string>;
|
|
301
|
-
contractId: string;
|
|
433
|
+
export type AuthDevicesEnableOutput = {
|
|
434
|
+
instance: {
|
|
435
|
+
activatedAt: (string | null);
|
|
302
436
|
createdAt: string;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
impliedCapabilities: Array<string>;
|
|
306
|
-
portalId: string;
|
|
307
|
-
updatedAt: string;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
export type AuthDisableServiceDeploymentInput = {
|
|
311
|
-
deploymentId: string;
|
|
312
|
-
};
|
|
313
|
-
export type AuthDisableServiceDeploymentOutput = {
|
|
314
|
-
deployment: {
|
|
315
|
-
appliedContracts: Array<{
|
|
316
|
-
allowedDigests: Array<string>;
|
|
317
|
-
contractId: string;
|
|
318
|
-
resourceBindingsByDigest?: {
|
|
319
|
-
[k: string]: {
|
|
320
|
-
jobs?: {
|
|
321
|
-
namespace: string;
|
|
322
|
-
queues: {
|
|
323
|
-
[k: string]: {
|
|
324
|
-
ackWaitMs: number;
|
|
325
|
-
backoffMs: Array<number>;
|
|
326
|
-
concurrency: number;
|
|
327
|
-
consumerName: string;
|
|
328
|
-
defaultDeadlineMs?: number;
|
|
329
|
-
dlq: boolean;
|
|
330
|
-
logs: boolean;
|
|
331
|
-
maxDeliver: number;
|
|
332
|
-
payload: {
|
|
333
|
-
schema: string;
|
|
334
|
-
};
|
|
335
|
-
progress: boolean;
|
|
336
|
-
publishPrefix: string;
|
|
337
|
-
queueType: string;
|
|
338
|
-
result?: {
|
|
339
|
-
schema: string;
|
|
340
|
-
};
|
|
341
|
-
workSubject: string;
|
|
342
|
-
};
|
|
343
|
-
};
|
|
344
|
-
workStream?: string;
|
|
345
|
-
};
|
|
346
|
-
kv?: {
|
|
347
|
-
[k: string]: {
|
|
348
|
-
bucket: string;
|
|
349
|
-
history: number;
|
|
350
|
-
maxValueBytes?: number;
|
|
351
|
-
ttlMs: number;
|
|
352
|
-
};
|
|
353
|
-
};
|
|
354
|
-
store?: {
|
|
355
|
-
[k: string]: {
|
|
356
|
-
maxObjectBytes?: number;
|
|
357
|
-
maxTotalBytes?: number;
|
|
358
|
-
name: string;
|
|
359
|
-
ttlMs: number;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
}>;
|
|
437
|
+
currentContractDigest?: string;
|
|
438
|
+
currentContractId?: string;
|
|
365
439
|
deploymentId: string;
|
|
366
|
-
|
|
367
|
-
|
|
440
|
+
instanceId: string;
|
|
441
|
+
metadata?: {
|
|
442
|
+
[k: string]: string;
|
|
443
|
+
};
|
|
444
|
+
publicIdentityKey: string;
|
|
445
|
+
revokedAt: (string | null);
|
|
446
|
+
state: ("registered" | "activated" | "revoked" | "disabled");
|
|
368
447
|
};
|
|
369
448
|
};
|
|
370
|
-
export type
|
|
371
|
-
|
|
449
|
+
export type AuthDevicesListInput = {
|
|
450
|
+
deploymentId?: string;
|
|
451
|
+
limit: number;
|
|
452
|
+
offset?: number;
|
|
453
|
+
state?: ("registered" | "activated" | "revoked" | "disabled");
|
|
372
454
|
};
|
|
373
|
-
export type
|
|
374
|
-
|
|
375
|
-
|
|
455
|
+
export type AuthDevicesListOutput = {
|
|
456
|
+
count: number;
|
|
457
|
+
entries: Array<{
|
|
458
|
+
activatedAt: (string | null);
|
|
376
459
|
createdAt: string;
|
|
377
460
|
currentContractDigest?: string;
|
|
378
461
|
currentContractId?: string;
|
|
379
462
|
deploymentId: string;
|
|
380
|
-
disabled: boolean;
|
|
381
463
|
instanceId: string;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
jobs?: {
|
|
385
|
-
namespace: string;
|
|
386
|
-
queues: {
|
|
387
|
-
[k: string]: {
|
|
388
|
-
ackWaitMs: number;
|
|
389
|
-
backoffMs: Array<number>;
|
|
390
|
-
concurrency: number;
|
|
391
|
-
consumerName: string;
|
|
392
|
-
defaultDeadlineMs?: number;
|
|
393
|
-
dlq: boolean;
|
|
394
|
-
logs: boolean;
|
|
395
|
-
maxDeliver: number;
|
|
396
|
-
payload: {
|
|
397
|
-
schema: string;
|
|
398
|
-
};
|
|
399
|
-
progress: boolean;
|
|
400
|
-
publishPrefix: string;
|
|
401
|
-
queueType: string;
|
|
402
|
-
result?: {
|
|
403
|
-
schema: string;
|
|
404
|
-
};
|
|
405
|
-
workSubject: string;
|
|
406
|
-
};
|
|
407
|
-
};
|
|
408
|
-
workStream?: string;
|
|
409
|
-
};
|
|
410
|
-
kv?: {
|
|
411
|
-
[k: string]: {
|
|
412
|
-
bucket: string;
|
|
413
|
-
history: number;
|
|
414
|
-
maxValueBytes?: number;
|
|
415
|
-
ttlMs: number;
|
|
416
|
-
};
|
|
417
|
-
};
|
|
418
|
-
store?: {
|
|
419
|
-
[k: string]: {
|
|
420
|
-
maxObjectBytes?: number;
|
|
421
|
-
maxTotalBytes?: number;
|
|
422
|
-
name: string;
|
|
423
|
-
ttlMs: number;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
464
|
+
metadata?: {
|
|
465
|
+
[k: string]: string;
|
|
426
466
|
};
|
|
427
|
-
|
|
467
|
+
publicIdentityKey: string;
|
|
468
|
+
revokedAt: (string | null);
|
|
469
|
+
state: ("registered" | "activated" | "revoked" | "disabled");
|
|
470
|
+
}>;
|
|
471
|
+
limit: number;
|
|
472
|
+
nextOffset?: number;
|
|
473
|
+
offset: number;
|
|
428
474
|
};
|
|
429
|
-
export type
|
|
475
|
+
export type AuthDevicesProvisionInput = {
|
|
476
|
+
activationKey: string;
|
|
430
477
|
deploymentId: string;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
deployment: {
|
|
434
|
-
appliedContracts: Array<{
|
|
435
|
-
allowedDigests: Array<string>;
|
|
436
|
-
contractId: string;
|
|
437
|
-
}>;
|
|
438
|
-
deploymentId: string;
|
|
439
|
-
disabled: boolean;
|
|
440
|
-
reviewMode?: ("none" | "required");
|
|
478
|
+
metadata?: {
|
|
479
|
+
[k: string]: string;
|
|
441
480
|
};
|
|
481
|
+
publicIdentityKey: string;
|
|
442
482
|
};
|
|
443
|
-
export type
|
|
444
|
-
instanceId: string;
|
|
445
|
-
};
|
|
446
|
-
export type AuthEnableDeviceInstanceOutput = {
|
|
483
|
+
export type AuthDevicesProvisionOutput = {
|
|
447
484
|
instance: {
|
|
448
485
|
activatedAt: (string | null);
|
|
449
486
|
createdAt: string;
|
|
@@ -459,314 +496,1121 @@ export type AuthEnableDeviceInstanceOutput = {
|
|
|
459
496
|
state: ("registered" | "activated" | "revoked" | "disabled");
|
|
460
497
|
};
|
|
461
498
|
};
|
|
462
|
-
export type
|
|
463
|
-
|
|
499
|
+
export type AuthDevicesRemoveInput = {
|
|
500
|
+
instanceId: string;
|
|
464
501
|
};
|
|
465
|
-
export type
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
502
|
+
export type AuthDevicesRemoveOutput = {
|
|
503
|
+
success: boolean;
|
|
504
|
+
};
|
|
505
|
+
export type AuthEnvelopeExpansionsApproveInput = {
|
|
506
|
+
reason?: string;
|
|
507
|
+
requestId: string;
|
|
508
|
+
};
|
|
509
|
+
export type AuthEnvelopeExpansionsApproveOutput = {
|
|
510
|
+
contractEvidence: {
|
|
511
|
+
contract: {};
|
|
512
|
+
contractDigest: string;
|
|
513
|
+
contractId: string;
|
|
514
|
+
deploymentId: string;
|
|
515
|
+
firstSeenAt: string;
|
|
516
|
+
ignoreReason?: (string | null);
|
|
517
|
+
ignoredAt?: (string | null);
|
|
518
|
+
ignoredBy?: ({
|
|
519
|
+
[k: string]: unknown;
|
|
520
|
+
} | null);
|
|
521
|
+
lastSeenAt: string;
|
|
522
|
+
};
|
|
523
|
+
delta: {
|
|
524
|
+
capabilities: Array<string>;
|
|
525
|
+
contracts: Array<{
|
|
469
526
|
contractId: string;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
maxDeliver: number;
|
|
484
|
-
payload: {
|
|
485
|
-
schema: string;
|
|
486
|
-
};
|
|
487
|
-
progress: boolean;
|
|
488
|
-
publishPrefix: string;
|
|
489
|
-
queueType: string;
|
|
490
|
-
result?: {
|
|
491
|
-
schema: string;
|
|
492
|
-
};
|
|
493
|
-
workSubject: string;
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
workStream?: string;
|
|
497
|
-
};
|
|
498
|
-
kv?: {
|
|
499
|
-
[k: string]: {
|
|
500
|
-
bucket: string;
|
|
501
|
-
history: number;
|
|
502
|
-
maxValueBytes?: number;
|
|
503
|
-
ttlMs: number;
|
|
504
|
-
};
|
|
505
|
-
};
|
|
506
|
-
store?: {
|
|
507
|
-
[k: string]: {
|
|
508
|
-
maxObjectBytes?: number;
|
|
509
|
-
maxTotalBytes?: number;
|
|
510
|
-
name: string;
|
|
511
|
-
ttlMs: number;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
};
|
|
527
|
+
required: boolean;
|
|
528
|
+
}>;
|
|
529
|
+
resources: Array<{
|
|
530
|
+
alias: string;
|
|
531
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
532
|
+
required: boolean;
|
|
533
|
+
}>;
|
|
534
|
+
surfaces: Array<{
|
|
535
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
536
|
+
contractId: string;
|
|
537
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
538
|
+
name: string;
|
|
539
|
+
required: boolean;
|
|
516
540
|
}>;
|
|
541
|
+
};
|
|
542
|
+
envelope: {
|
|
543
|
+
boundary: {
|
|
544
|
+
capabilities: Array<string>;
|
|
545
|
+
contracts: Array<{
|
|
546
|
+
contractId: string;
|
|
547
|
+
required: boolean;
|
|
548
|
+
}>;
|
|
549
|
+
resources: Array<{
|
|
550
|
+
alias: string;
|
|
551
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
552
|
+
required: boolean;
|
|
553
|
+
}>;
|
|
554
|
+
surfaces: Array<{
|
|
555
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
556
|
+
contractId: string;
|
|
557
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
558
|
+
name: string;
|
|
559
|
+
required: boolean;
|
|
560
|
+
}>;
|
|
561
|
+
};
|
|
562
|
+
createdAt: string;
|
|
517
563
|
deploymentId: string;
|
|
518
564
|
disabled: boolean;
|
|
519
|
-
|
|
565
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
566
|
+
updatedAt: string;
|
|
520
567
|
};
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
export type AuthEnableServiceInstanceOutput = {
|
|
526
|
-
instance: {
|
|
527
|
-
capabilities: Array<string>;
|
|
568
|
+
request: {
|
|
569
|
+
contract: {};
|
|
570
|
+
contractDigest: string;
|
|
571
|
+
contractId: string;
|
|
528
572
|
createdAt: string;
|
|
529
|
-
|
|
530
|
-
|
|
573
|
+
decidedAt: (string | null);
|
|
574
|
+
decidedBy: ({
|
|
575
|
+
[k: string]: unknown;
|
|
576
|
+
} | null);
|
|
577
|
+
decisionReason: (string | null);
|
|
578
|
+
delta: {
|
|
579
|
+
capabilities: Array<string>;
|
|
580
|
+
contracts: Array<{
|
|
581
|
+
contractId: string;
|
|
582
|
+
required: boolean;
|
|
583
|
+
}>;
|
|
584
|
+
resources: Array<{
|
|
585
|
+
alias: string;
|
|
586
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
587
|
+
required: boolean;
|
|
588
|
+
}>;
|
|
589
|
+
surfaces: Array<{
|
|
590
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
591
|
+
contractId: string;
|
|
592
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
593
|
+
name: string;
|
|
594
|
+
required: boolean;
|
|
595
|
+
}>;
|
|
596
|
+
};
|
|
531
597
|
deploymentId: string;
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
resourceBindings?: {
|
|
536
|
-
jobs?: {
|
|
537
|
-
namespace: string;
|
|
538
|
-
queues: {
|
|
539
|
-
[k: string]: {
|
|
540
|
-
ackWaitMs: number;
|
|
541
|
-
backoffMs: Array<number>;
|
|
542
|
-
concurrency: number;
|
|
543
|
-
consumerName: string;
|
|
544
|
-
defaultDeadlineMs?: number;
|
|
545
|
-
dlq: boolean;
|
|
546
|
-
logs: boolean;
|
|
547
|
-
maxDeliver: number;
|
|
548
|
-
payload: {
|
|
549
|
-
schema: string;
|
|
550
|
-
};
|
|
551
|
-
progress: boolean;
|
|
552
|
-
publishPrefix: string;
|
|
553
|
-
queueType: string;
|
|
554
|
-
result?: {
|
|
555
|
-
schema: string;
|
|
556
|
-
};
|
|
557
|
-
workSubject: string;
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
workStream?: string;
|
|
561
|
-
};
|
|
562
|
-
kv?: {
|
|
563
|
-
[k: string]: {
|
|
564
|
-
bucket: string;
|
|
565
|
-
history: number;
|
|
566
|
-
maxValueBytes?: number;
|
|
567
|
-
ttlMs: number;
|
|
568
|
-
};
|
|
569
|
-
};
|
|
570
|
-
store?: {
|
|
571
|
-
[k: string]: {
|
|
572
|
-
maxObjectBytes?: number;
|
|
573
|
-
maxTotalBytes?: number;
|
|
574
|
-
name: string;
|
|
575
|
-
ttlMs: number;
|
|
576
|
-
};
|
|
577
|
-
};
|
|
598
|
+
requestId: string;
|
|
599
|
+
requestedBy: {
|
|
600
|
+
[k: string]: unknown;
|
|
578
601
|
};
|
|
602
|
+
requestedByKind: ("service" | "device" | "user" | "admin" | "automation");
|
|
603
|
+
state: ("pending" | "approved" | "rejected");
|
|
579
604
|
};
|
|
605
|
+
resourceBindings: Array<{
|
|
606
|
+
alias: string;
|
|
607
|
+
binding: {
|
|
608
|
+
[k: string]: unknown;
|
|
609
|
+
};
|
|
610
|
+
createdAt: string;
|
|
611
|
+
deploymentId: string;
|
|
612
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
613
|
+
limits: ({
|
|
614
|
+
[k: string]: unknown;
|
|
615
|
+
} | null);
|
|
616
|
+
updatedAt: string;
|
|
617
|
+
}>;
|
|
580
618
|
};
|
|
581
|
-
export type
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
619
|
+
export type AuthEnvelopeExpansionsListInput = {
|
|
620
|
+
deploymentId?: string;
|
|
621
|
+
limit: number;
|
|
622
|
+
offset?: number;
|
|
623
|
+
state?: ("pending" | "approved" | "rejected");
|
|
586
624
|
};
|
|
587
|
-
export type
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
mode: "device_identity";
|
|
592
|
-
};
|
|
625
|
+
export type AuthEnvelopeExpansionsListOutput = {
|
|
626
|
+
count: number;
|
|
627
|
+
entries: Array<{
|
|
628
|
+
contract: {};
|
|
593
629
|
contractDigest: string;
|
|
594
630
|
contractId: string;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
631
|
+
createdAt: string;
|
|
632
|
+
decidedAt: (string | null);
|
|
633
|
+
decidedBy: ({
|
|
634
|
+
[k: string]: unknown;
|
|
635
|
+
} | null);
|
|
636
|
+
decisionReason: (string | null);
|
|
637
|
+
delta: {
|
|
638
|
+
capabilities: Array<string>;
|
|
639
|
+
contracts: Array<{
|
|
640
|
+
contractId: string;
|
|
641
|
+
required: boolean;
|
|
642
|
+
}>;
|
|
643
|
+
resources: Array<{
|
|
644
|
+
alias: string;
|
|
645
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
646
|
+
required: boolean;
|
|
647
|
+
}>;
|
|
648
|
+
surfaces: Array<{
|
|
649
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
650
|
+
contractId: string;
|
|
651
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
652
|
+
name: string;
|
|
653
|
+
required: boolean;
|
|
654
|
+
}>;
|
|
602
655
|
};
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
websocket?: {
|
|
608
|
-
natsServers: Array<string>;
|
|
609
|
-
};
|
|
656
|
+
deploymentId: string;
|
|
657
|
+
requestId: string;
|
|
658
|
+
requestedBy: {
|
|
659
|
+
[k: string]: unknown;
|
|
610
660
|
};
|
|
611
|
-
|
|
612
|
-
|
|
661
|
+
requestedByKind: ("service" | "device" | "user" | "admin" | "automation");
|
|
662
|
+
state: ("pending" | "approved" | "rejected");
|
|
663
|
+
}>;
|
|
664
|
+
limit: number;
|
|
665
|
+
nextOffset?: number;
|
|
666
|
+
offset: number;
|
|
613
667
|
};
|
|
614
|
-
export type
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
668
|
+
export type AuthEnvelopeExpansionsRejectInput = {
|
|
669
|
+
reason?: string;
|
|
670
|
+
requestId: string;
|
|
671
|
+
};
|
|
672
|
+
export type AuthEnvelopeExpansionsRejectOutput = {
|
|
673
|
+
request: {
|
|
674
|
+
contract: {};
|
|
675
|
+
contractDigest: string;
|
|
676
|
+
contractId: string;
|
|
677
|
+
createdAt: string;
|
|
678
|
+
decidedAt: (string | null);
|
|
679
|
+
decidedBy: ({
|
|
680
|
+
[k: string]: unknown;
|
|
681
|
+
} | null);
|
|
682
|
+
decisionReason: (string | null);
|
|
683
|
+
delta: {
|
|
684
|
+
capabilities: Array<string>;
|
|
685
|
+
contracts: Array<{
|
|
686
|
+
contractId: string;
|
|
687
|
+
required: boolean;
|
|
688
|
+
}>;
|
|
689
|
+
resources: Array<{
|
|
690
|
+
alias: string;
|
|
691
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
692
|
+
required: boolean;
|
|
693
|
+
}>;
|
|
694
|
+
surfaces: Array<{
|
|
695
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
696
|
+
contractId: string;
|
|
697
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
698
|
+
name: string;
|
|
699
|
+
required: boolean;
|
|
700
|
+
}>;
|
|
701
|
+
};
|
|
702
|
+
deploymentId: string;
|
|
703
|
+
requestId: string;
|
|
704
|
+
requestedBy: {
|
|
705
|
+
[k: string]: unknown;
|
|
706
|
+
};
|
|
707
|
+
requestedByKind: ("service" | "device" | "user" | "admin" | "automation");
|
|
708
|
+
state: ("pending" | "approved" | "rejected");
|
|
618
709
|
};
|
|
619
710
|
};
|
|
620
|
-
export type
|
|
621
|
-
|
|
711
|
+
export type AuthEnvelopesChangesPreviewInput = {
|
|
712
|
+
deploymentId: string;
|
|
713
|
+
proposedBoundary: {
|
|
714
|
+
capabilities: Array<string>;
|
|
715
|
+
contracts: Array<{
|
|
716
|
+
contractId: string;
|
|
717
|
+
required: boolean;
|
|
718
|
+
}>;
|
|
719
|
+
resources: Array<{
|
|
720
|
+
alias: string;
|
|
721
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
722
|
+
required: boolean;
|
|
723
|
+
}>;
|
|
724
|
+
surfaces: Array<{
|
|
725
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
726
|
+
contractId: string;
|
|
727
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
728
|
+
name: string;
|
|
729
|
+
required: boolean;
|
|
730
|
+
}>;
|
|
731
|
+
};
|
|
622
732
|
};
|
|
623
|
-
export type
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
733
|
+
export type AuthEnvelopesChangesPreviewOutput = {
|
|
734
|
+
current: {
|
|
735
|
+
boundary: {
|
|
736
|
+
capabilities: Array<string>;
|
|
737
|
+
contracts: Array<{
|
|
738
|
+
contractId: string;
|
|
739
|
+
required: boolean;
|
|
740
|
+
}>;
|
|
741
|
+
resources: Array<{
|
|
742
|
+
alias: string;
|
|
743
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
744
|
+
required: boolean;
|
|
745
|
+
}>;
|
|
746
|
+
surfaces: Array<{
|
|
747
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
748
|
+
contractId: string;
|
|
749
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
750
|
+
name: string;
|
|
751
|
+
required: boolean;
|
|
752
|
+
}>;
|
|
753
|
+
};
|
|
754
|
+
createdAt: string;
|
|
755
|
+
deploymentId: string;
|
|
756
|
+
disabled: boolean;
|
|
757
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
758
|
+
updatedAt: string;
|
|
759
|
+
};
|
|
760
|
+
impact: {
|
|
761
|
+
impactedDeviceSessions: Array<{
|
|
762
|
+
contractDigest: (string | null);
|
|
763
|
+
contractId: (string | null);
|
|
764
|
+
missing: {
|
|
765
|
+
capabilities: Array<string>;
|
|
766
|
+
contracts: Array<{
|
|
767
|
+
contractId: string;
|
|
768
|
+
required: boolean;
|
|
633
769
|
}>;
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
kind: string;
|
|
639
|
-
requiredCapabilities: Array<string>;
|
|
640
|
-
subject: string;
|
|
641
|
-
wildcardSubject: string;
|
|
770
|
+
resources: Array<{
|
|
771
|
+
alias: string;
|
|
772
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
773
|
+
required: boolean;
|
|
642
774
|
}>;
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
775
|
+
surfaces: Array<{
|
|
776
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
777
|
+
contractId: string;
|
|
778
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
779
|
+
name: string;
|
|
780
|
+
required: boolean;
|
|
648
781
|
}>;
|
|
649
782
|
};
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
783
|
+
sessionKey: string;
|
|
784
|
+
type: (("app" | "agent") | "device" | "service");
|
|
785
|
+
}>;
|
|
786
|
+
impactedIdentityEnvelopes: Array<{
|
|
787
|
+
identityAnchor: ({
|
|
788
|
+
contractId: string;
|
|
789
|
+
kind: "web";
|
|
790
|
+
origin: string;
|
|
791
|
+
} | {
|
|
792
|
+
contractId: string;
|
|
793
|
+
kind: "cli";
|
|
794
|
+
sessionPublicKey: string;
|
|
795
|
+
} | {
|
|
796
|
+
contractId: string;
|
|
797
|
+
kind: "native";
|
|
798
|
+
sessionPublicKey: string;
|
|
799
|
+
} | {
|
|
800
|
+
contractId: string;
|
|
801
|
+
devicePublicKey: string;
|
|
802
|
+
kind: "device-user";
|
|
803
|
+
});
|
|
804
|
+
identityEnvelopeId: string;
|
|
805
|
+
missing: {
|
|
806
|
+
capabilities: Array<string>;
|
|
807
|
+
contracts: Array<{
|
|
808
|
+
contractId: string;
|
|
809
|
+
required: boolean;
|
|
657
810
|
}>;
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
811
|
+
resources: Array<{
|
|
812
|
+
alias: string;
|
|
813
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
814
|
+
required: boolean;
|
|
815
|
+
}>;
|
|
816
|
+
surfaces: Array<{
|
|
817
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
818
|
+
contractId: string;
|
|
819
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
820
|
+
name: string;
|
|
821
|
+
required: boolean;
|
|
668
822
|
}>;
|
|
669
823
|
};
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
logs: boolean;
|
|
678
|
-
maxDeliver: number;
|
|
679
|
-
payload: {
|
|
680
|
-
schema: string;
|
|
681
|
-
};
|
|
682
|
-
progress: boolean;
|
|
683
|
-
queueType: string;
|
|
684
|
-
result?: {
|
|
685
|
-
schema: string;
|
|
686
|
-
};
|
|
824
|
+
}>;
|
|
825
|
+
impactedPendingRequests: Array<{
|
|
826
|
+
missing: {
|
|
827
|
+
capabilities: Array<string>;
|
|
828
|
+
contracts: Array<{
|
|
829
|
+
contractId: string;
|
|
830
|
+
required: boolean;
|
|
687
831
|
}>;
|
|
688
|
-
|
|
832
|
+
resources: Array<{
|
|
689
833
|
alias: string;
|
|
690
|
-
|
|
691
|
-
maxValueBytes?: number;
|
|
692
|
-
purpose: string;
|
|
834
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
693
835
|
required: boolean;
|
|
694
|
-
ttlMs: number;
|
|
695
836
|
}>;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
837
|
+
surfaces: Array<{
|
|
838
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
839
|
+
contractId: string;
|
|
840
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
841
|
+
name: string;
|
|
701
842
|
required: boolean;
|
|
702
|
-
ttlMs: number;
|
|
703
843
|
}>;
|
|
704
844
|
};
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
845
|
+
requestId: string;
|
|
846
|
+
}>;
|
|
847
|
+
impactedServiceInstances: Array<{
|
|
848
|
+
missing: {
|
|
849
|
+
capabilities: Array<string>;
|
|
850
|
+
contracts: Array<{
|
|
851
|
+
contractId: string;
|
|
852
|
+
required: boolean;
|
|
853
|
+
}>;
|
|
854
|
+
resources: Array<{
|
|
855
|
+
alias: string;
|
|
856
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
857
|
+
required: boolean;
|
|
858
|
+
}>;
|
|
859
|
+
surfaces: Array<{
|
|
860
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
861
|
+
contractId: string;
|
|
862
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
863
|
+
name: string;
|
|
864
|
+
required: boolean;
|
|
711
865
|
}>;
|
|
712
866
|
};
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
867
|
+
}>;
|
|
868
|
+
impactedSessions: Array<{
|
|
869
|
+
contractDigest: (string | null);
|
|
870
|
+
contractId: (string | null);
|
|
871
|
+
missing: {
|
|
872
|
+
capabilities: Array<string>;
|
|
873
|
+
contracts: Array<{
|
|
874
|
+
contractId: string;
|
|
875
|
+
required: boolean;
|
|
876
|
+
}>;
|
|
877
|
+
resources: Array<{
|
|
878
|
+
alias: string;
|
|
879
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
880
|
+
required: boolean;
|
|
881
|
+
}>;
|
|
882
|
+
surfaces: Array<{
|
|
883
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
884
|
+
contractId: string;
|
|
885
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
886
|
+
name: string;
|
|
887
|
+
required: boolean;
|
|
719
888
|
}>;
|
|
720
889
|
};
|
|
890
|
+
sessionKey: string;
|
|
891
|
+
type: (("app" | "agent") | "device" | "service");
|
|
892
|
+
}>;
|
|
893
|
+
orphanedResources: Array<{
|
|
894
|
+
alias: string;
|
|
895
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
896
|
+
}>;
|
|
897
|
+
removed: {
|
|
898
|
+
capabilities: Array<string>;
|
|
899
|
+
contracts: Array<{
|
|
900
|
+
contractId: string;
|
|
901
|
+
required: boolean;
|
|
902
|
+
}>;
|
|
903
|
+
resources: Array<{
|
|
904
|
+
alias: string;
|
|
905
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
906
|
+
required: boolean;
|
|
907
|
+
}>;
|
|
908
|
+
surfaces: Array<{
|
|
909
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
910
|
+
contractId: string;
|
|
911
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
912
|
+
name: string;
|
|
913
|
+
required: boolean;
|
|
914
|
+
}>;
|
|
721
915
|
};
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
916
|
+
};
|
|
917
|
+
proposed: {
|
|
918
|
+
boundary: {
|
|
919
|
+
capabilities: Array<string>;
|
|
920
|
+
contracts: Array<{
|
|
921
|
+
contractId: string;
|
|
922
|
+
required: boolean;
|
|
923
|
+
}>;
|
|
924
|
+
resources: Array<{
|
|
925
|
+
alias: string;
|
|
926
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
927
|
+
required: boolean;
|
|
928
|
+
}>;
|
|
929
|
+
surfaces: Array<{
|
|
930
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
931
|
+
contractId: string;
|
|
932
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
933
|
+
name: string;
|
|
934
|
+
required: boolean;
|
|
935
|
+
}>;
|
|
733
936
|
};
|
|
937
|
+
createdAt: string;
|
|
938
|
+
deploymentId: string;
|
|
939
|
+
disabled: boolean;
|
|
940
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
941
|
+
updatedAt: string;
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
export type AuthEnvelopesExpandInput = {
|
|
945
|
+
contract: {};
|
|
946
|
+
deploymentId: string;
|
|
947
|
+
expectedDigest: string;
|
|
948
|
+
};
|
|
949
|
+
export type AuthEnvelopesExpandOutput = {
|
|
950
|
+
contractEvidence: {
|
|
734
951
|
contract: {};
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
952
|
+
contractDigest: string;
|
|
953
|
+
contractId: string;
|
|
954
|
+
deploymentId: string;
|
|
955
|
+
firstSeenAt: string;
|
|
956
|
+
ignoreReason?: (string | null);
|
|
957
|
+
ignoredAt?: (string | null);
|
|
958
|
+
ignoredBy?: ({
|
|
959
|
+
[k: string]: unknown;
|
|
960
|
+
} | null);
|
|
961
|
+
lastSeenAt: string;
|
|
962
|
+
};
|
|
963
|
+
delta: {
|
|
964
|
+
capabilities: Array<string>;
|
|
965
|
+
contracts: Array<{
|
|
966
|
+
contractId: string;
|
|
967
|
+
required: boolean;
|
|
968
|
+
}>;
|
|
969
|
+
resources: Array<{
|
|
970
|
+
alias: string;
|
|
971
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
972
|
+
required: boolean;
|
|
973
|
+
}>;
|
|
974
|
+
surfaces: Array<{
|
|
975
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
976
|
+
contractId: string;
|
|
977
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
978
|
+
name: string;
|
|
979
|
+
required: boolean;
|
|
980
|
+
}>;
|
|
981
|
+
};
|
|
982
|
+
envelope: {
|
|
983
|
+
boundary: {
|
|
984
|
+
capabilities: Array<string>;
|
|
985
|
+
contracts: Array<{
|
|
986
|
+
contractId: string;
|
|
987
|
+
required: boolean;
|
|
988
|
+
}>;
|
|
989
|
+
resources: Array<{
|
|
990
|
+
alias: string;
|
|
991
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
992
|
+
required: boolean;
|
|
993
|
+
}>;
|
|
994
|
+
surfaces: Array<{
|
|
995
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
996
|
+
contractId: string;
|
|
997
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
998
|
+
name: string;
|
|
999
|
+
required: boolean;
|
|
1000
|
+
}>;
|
|
762
1001
|
};
|
|
1002
|
+
createdAt: string;
|
|
1003
|
+
deploymentId: string;
|
|
1004
|
+
disabled: boolean;
|
|
1005
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
1006
|
+
updatedAt: string;
|
|
763
1007
|
};
|
|
1008
|
+
resourceBindings: Array<{
|
|
1009
|
+
alias: string;
|
|
1010
|
+
binding: {
|
|
1011
|
+
[k: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
createdAt: string;
|
|
1014
|
+
deploymentId: string;
|
|
1015
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1016
|
+
limits: ({
|
|
1017
|
+
[k: string]: unknown;
|
|
1018
|
+
} | null);
|
|
1019
|
+
updatedAt: string;
|
|
1020
|
+
}>;
|
|
764
1021
|
};
|
|
765
|
-
export type
|
|
766
|
-
|
|
767
|
-
|
|
1022
|
+
export type AuthEnvelopesGetInput = {
|
|
1023
|
+
deploymentId: string;
|
|
1024
|
+
};
|
|
1025
|
+
export type AuthEnvelopesGetOutput = {
|
|
1026
|
+
contractEvidence: Array<{
|
|
1027
|
+
contract: {};
|
|
1028
|
+
contractDigest: string;
|
|
1029
|
+
contractId: string;
|
|
1030
|
+
deploymentId: string;
|
|
1031
|
+
firstSeenAt: string;
|
|
1032
|
+
ignoreReason?: (string | null);
|
|
1033
|
+
ignoredAt?: (string | null);
|
|
1034
|
+
ignoredBy?: ({
|
|
1035
|
+
[k: string]: unknown;
|
|
1036
|
+
} | null);
|
|
1037
|
+
lastSeenAt: string;
|
|
1038
|
+
}>;
|
|
1039
|
+
envelope: {
|
|
1040
|
+
boundary: {
|
|
1041
|
+
capabilities: Array<string>;
|
|
1042
|
+
contracts: Array<{
|
|
1043
|
+
contractId: string;
|
|
1044
|
+
required: boolean;
|
|
1045
|
+
}>;
|
|
1046
|
+
resources: Array<{
|
|
1047
|
+
alias: string;
|
|
1048
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1049
|
+
required: boolean;
|
|
1050
|
+
}>;
|
|
1051
|
+
surfaces: Array<{
|
|
1052
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1053
|
+
contractId: string;
|
|
1054
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1055
|
+
name: string;
|
|
1056
|
+
required: boolean;
|
|
1057
|
+
}>;
|
|
1058
|
+
};
|
|
1059
|
+
createdAt: string;
|
|
1060
|
+
deploymentId: string;
|
|
1061
|
+
disabled: boolean;
|
|
1062
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
1063
|
+
updatedAt: string;
|
|
1064
|
+
};
|
|
1065
|
+
expansionRequests: Array<{
|
|
1066
|
+
contract: {};
|
|
1067
|
+
contractDigest: string;
|
|
1068
|
+
contractId: string;
|
|
1069
|
+
createdAt: string;
|
|
1070
|
+
decidedAt: (string | null);
|
|
1071
|
+
decidedBy: ({
|
|
1072
|
+
[k: string]: unknown;
|
|
1073
|
+
} | null);
|
|
1074
|
+
decisionReason: (string | null);
|
|
1075
|
+
delta: {
|
|
1076
|
+
capabilities: Array<string>;
|
|
1077
|
+
contracts: Array<{
|
|
1078
|
+
contractId: string;
|
|
1079
|
+
required: boolean;
|
|
1080
|
+
}>;
|
|
1081
|
+
resources: Array<{
|
|
1082
|
+
alias: string;
|
|
1083
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1084
|
+
required: boolean;
|
|
1085
|
+
}>;
|
|
1086
|
+
surfaces: Array<{
|
|
1087
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1088
|
+
contractId: string;
|
|
1089
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1090
|
+
name: string;
|
|
1091
|
+
required: boolean;
|
|
1092
|
+
}>;
|
|
1093
|
+
};
|
|
1094
|
+
deploymentId: string;
|
|
1095
|
+
requestId: string;
|
|
1096
|
+
requestedBy: {
|
|
1097
|
+
[k: string]: unknown;
|
|
1098
|
+
};
|
|
1099
|
+
requestedByKind: ("service" | "device" | "user" | "admin" | "automation");
|
|
1100
|
+
state: ("pending" | "approved" | "rejected");
|
|
1101
|
+
}>;
|
|
1102
|
+
grantOverrides: Array<({
|
|
1103
|
+
capability: string;
|
|
1104
|
+
capabilityGroupKey: null;
|
|
1105
|
+
contractId: string;
|
|
1106
|
+
deploymentId: string;
|
|
1107
|
+
grantKind: "capability";
|
|
1108
|
+
identityKind: "web";
|
|
1109
|
+
origin: string;
|
|
1110
|
+
sessionPublicKey: null;
|
|
1111
|
+
} | {
|
|
1112
|
+
capability: null;
|
|
1113
|
+
capabilityGroupKey: string;
|
|
1114
|
+
contractId: string;
|
|
1115
|
+
deploymentId: string;
|
|
1116
|
+
grantKind: "capability-group";
|
|
1117
|
+
identityKind: "web";
|
|
1118
|
+
origin: string;
|
|
1119
|
+
sessionPublicKey: null;
|
|
1120
|
+
} | {
|
|
1121
|
+
capability: string;
|
|
1122
|
+
capabilityGroupKey: null;
|
|
1123
|
+
contractId: string;
|
|
1124
|
+
deploymentId: string;
|
|
1125
|
+
grantKind: "capability";
|
|
1126
|
+
identityKind: "session";
|
|
1127
|
+
origin: null;
|
|
1128
|
+
sessionPublicKey: string;
|
|
1129
|
+
} | {
|
|
1130
|
+
capability: null;
|
|
1131
|
+
capabilityGroupKey: string;
|
|
1132
|
+
contractId: string;
|
|
1133
|
+
deploymentId: string;
|
|
1134
|
+
grantKind: "capability-group";
|
|
1135
|
+
identityKind: "session";
|
|
1136
|
+
origin: null;
|
|
1137
|
+
sessionPublicKey: string;
|
|
1138
|
+
})>;
|
|
1139
|
+
portalRoute: ({
|
|
1140
|
+
deploymentId: string;
|
|
1141
|
+
disabled: boolean;
|
|
1142
|
+
entryUrl: (string | null);
|
|
768
1143
|
portalId: (string | null);
|
|
1144
|
+
updatedAt: string;
|
|
1145
|
+
} | null);
|
|
1146
|
+
resourceBindings: Array<{
|
|
1147
|
+
alias: string;
|
|
1148
|
+
binding: {
|
|
1149
|
+
[k: string]: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
createdAt: string;
|
|
1152
|
+
deploymentId: string;
|
|
1153
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1154
|
+
limits: ({
|
|
1155
|
+
[k: string]: unknown;
|
|
1156
|
+
} | null);
|
|
1157
|
+
updatedAt: string;
|
|
1158
|
+
}>;
|
|
1159
|
+
};
|
|
1160
|
+
export type AuthEnvelopesGrantOverridesListInput = {
|
|
1161
|
+
limit: number;
|
|
1162
|
+
offset?: number;
|
|
1163
|
+
};
|
|
1164
|
+
export type AuthEnvelopesGrantOverridesListOutput = {
|
|
1165
|
+
count: number;
|
|
1166
|
+
entries: Array<({
|
|
1167
|
+
capability: string;
|
|
1168
|
+
capabilityGroupKey: null;
|
|
1169
|
+
contractId: string;
|
|
1170
|
+
deploymentId: string;
|
|
1171
|
+
grantKind: "capability";
|
|
1172
|
+
identityKind: "web";
|
|
1173
|
+
origin: string;
|
|
1174
|
+
sessionPublicKey: null;
|
|
1175
|
+
} | {
|
|
1176
|
+
capability: null;
|
|
1177
|
+
capabilityGroupKey: string;
|
|
1178
|
+
contractId: string;
|
|
1179
|
+
deploymentId: string;
|
|
1180
|
+
grantKind: "capability-group";
|
|
1181
|
+
identityKind: "web";
|
|
1182
|
+
origin: string;
|
|
1183
|
+
sessionPublicKey: null;
|
|
1184
|
+
} | {
|
|
1185
|
+
capability: string;
|
|
1186
|
+
capabilityGroupKey: null;
|
|
1187
|
+
contractId: string;
|
|
1188
|
+
deploymentId: string;
|
|
1189
|
+
grantKind: "capability";
|
|
1190
|
+
identityKind: "session";
|
|
1191
|
+
origin: null;
|
|
1192
|
+
sessionPublicKey: string;
|
|
1193
|
+
} | {
|
|
1194
|
+
capability: null;
|
|
1195
|
+
capabilityGroupKey: string;
|
|
1196
|
+
contractId: string;
|
|
1197
|
+
deploymentId: string;
|
|
1198
|
+
grantKind: "capability-group";
|
|
1199
|
+
identityKind: "session";
|
|
1200
|
+
origin: null;
|
|
1201
|
+
sessionPublicKey: string;
|
|
1202
|
+
})>;
|
|
1203
|
+
limit: number;
|
|
1204
|
+
nextOffset?: number;
|
|
1205
|
+
offset: number;
|
|
1206
|
+
};
|
|
1207
|
+
export type AuthEnvelopesGrantOverridesPutInput = {
|
|
1208
|
+
deploymentId: string;
|
|
1209
|
+
overrides: Array<({
|
|
1210
|
+
capability: string;
|
|
1211
|
+
capabilityGroupKey: null;
|
|
1212
|
+
contractId: string;
|
|
1213
|
+
deploymentId: string;
|
|
1214
|
+
grantKind: "capability";
|
|
1215
|
+
identityKind: "web";
|
|
1216
|
+
origin: string;
|
|
1217
|
+
sessionPublicKey: null;
|
|
1218
|
+
} | {
|
|
1219
|
+
capability: null;
|
|
1220
|
+
capabilityGroupKey: string;
|
|
1221
|
+
contractId: string;
|
|
1222
|
+
deploymentId: string;
|
|
1223
|
+
grantKind: "capability-group";
|
|
1224
|
+
identityKind: "web";
|
|
1225
|
+
origin: string;
|
|
1226
|
+
sessionPublicKey: null;
|
|
1227
|
+
} | {
|
|
1228
|
+
capability: string;
|
|
1229
|
+
capabilityGroupKey: null;
|
|
1230
|
+
contractId: string;
|
|
1231
|
+
deploymentId: string;
|
|
1232
|
+
grantKind: "capability";
|
|
1233
|
+
identityKind: "session";
|
|
1234
|
+
origin: null;
|
|
1235
|
+
sessionPublicKey: string;
|
|
1236
|
+
} | {
|
|
1237
|
+
capability: null;
|
|
1238
|
+
capabilityGroupKey: string;
|
|
1239
|
+
contractId: string;
|
|
1240
|
+
deploymentId: string;
|
|
1241
|
+
grantKind: "capability-group";
|
|
1242
|
+
identityKind: "session";
|
|
1243
|
+
origin: null;
|
|
1244
|
+
sessionPublicKey: string;
|
|
1245
|
+
})>;
|
|
1246
|
+
};
|
|
1247
|
+
export type AuthEnvelopesGrantOverridesPutOutput = {
|
|
1248
|
+
grantOverrides: Array<({
|
|
1249
|
+
capability: string;
|
|
1250
|
+
capabilityGroupKey: null;
|
|
1251
|
+
contractId: string;
|
|
1252
|
+
deploymentId: string;
|
|
1253
|
+
grantKind: "capability";
|
|
1254
|
+
identityKind: "web";
|
|
1255
|
+
origin: string;
|
|
1256
|
+
sessionPublicKey: null;
|
|
1257
|
+
} | {
|
|
1258
|
+
capability: null;
|
|
1259
|
+
capabilityGroupKey: string;
|
|
1260
|
+
contractId: string;
|
|
1261
|
+
deploymentId: string;
|
|
1262
|
+
grantKind: "capability-group";
|
|
1263
|
+
identityKind: "web";
|
|
1264
|
+
origin: string;
|
|
1265
|
+
sessionPublicKey: null;
|
|
1266
|
+
} | {
|
|
1267
|
+
capability: string;
|
|
1268
|
+
capabilityGroupKey: null;
|
|
1269
|
+
contractId: string;
|
|
1270
|
+
deploymentId: string;
|
|
1271
|
+
grantKind: "capability";
|
|
1272
|
+
identityKind: "session";
|
|
1273
|
+
origin: null;
|
|
1274
|
+
sessionPublicKey: string;
|
|
1275
|
+
} | {
|
|
1276
|
+
capability: null;
|
|
1277
|
+
capabilityGroupKey: string;
|
|
1278
|
+
contractId: string;
|
|
1279
|
+
deploymentId: string;
|
|
1280
|
+
grantKind: "capability-group";
|
|
1281
|
+
identityKind: "session";
|
|
1282
|
+
origin: null;
|
|
1283
|
+
sessionPublicKey: string;
|
|
1284
|
+
})>;
|
|
1285
|
+
};
|
|
1286
|
+
export type AuthEnvelopesGrantOverridesRemoveInput = {
|
|
1287
|
+
deploymentId: string;
|
|
1288
|
+
overrides: Array<({
|
|
1289
|
+
capability: string;
|
|
1290
|
+
capabilityGroupKey: null;
|
|
1291
|
+
contractId: string;
|
|
1292
|
+
deploymentId: string;
|
|
1293
|
+
grantKind: "capability";
|
|
1294
|
+
identityKind: "web";
|
|
1295
|
+
origin: string;
|
|
1296
|
+
sessionPublicKey: null;
|
|
1297
|
+
} | {
|
|
1298
|
+
capability: null;
|
|
1299
|
+
capabilityGroupKey: string;
|
|
1300
|
+
contractId: string;
|
|
1301
|
+
deploymentId: string;
|
|
1302
|
+
grantKind: "capability-group";
|
|
1303
|
+
identityKind: "web";
|
|
1304
|
+
origin: string;
|
|
1305
|
+
sessionPublicKey: null;
|
|
1306
|
+
} | {
|
|
1307
|
+
capability: string;
|
|
1308
|
+
capabilityGroupKey: null;
|
|
1309
|
+
contractId: string;
|
|
1310
|
+
deploymentId: string;
|
|
1311
|
+
grantKind: "capability";
|
|
1312
|
+
identityKind: "session";
|
|
1313
|
+
origin: null;
|
|
1314
|
+
sessionPublicKey: string;
|
|
1315
|
+
} | {
|
|
1316
|
+
capability: null;
|
|
1317
|
+
capabilityGroupKey: string;
|
|
1318
|
+
contractId: string;
|
|
1319
|
+
deploymentId: string;
|
|
1320
|
+
grantKind: "capability-group";
|
|
1321
|
+
identityKind: "session";
|
|
1322
|
+
origin: null;
|
|
1323
|
+
sessionPublicKey: string;
|
|
1324
|
+
})>;
|
|
1325
|
+
};
|
|
1326
|
+
export type AuthEnvelopesGrantOverridesRemoveOutput = {
|
|
1327
|
+
grantOverrides: Array<({
|
|
1328
|
+
capability: string;
|
|
1329
|
+
capabilityGroupKey: null;
|
|
1330
|
+
contractId: string;
|
|
1331
|
+
deploymentId: string;
|
|
1332
|
+
grantKind: "capability";
|
|
1333
|
+
identityKind: "web";
|
|
1334
|
+
origin: string;
|
|
1335
|
+
sessionPublicKey: null;
|
|
1336
|
+
} | {
|
|
1337
|
+
capability: null;
|
|
1338
|
+
capabilityGroupKey: string;
|
|
1339
|
+
contractId: string;
|
|
1340
|
+
deploymentId: string;
|
|
1341
|
+
grantKind: "capability-group";
|
|
1342
|
+
identityKind: "web";
|
|
1343
|
+
origin: string;
|
|
1344
|
+
sessionPublicKey: null;
|
|
1345
|
+
} | {
|
|
1346
|
+
capability: string;
|
|
1347
|
+
capabilityGroupKey: null;
|
|
1348
|
+
contractId: string;
|
|
1349
|
+
deploymentId: string;
|
|
1350
|
+
grantKind: "capability";
|
|
1351
|
+
identityKind: "session";
|
|
1352
|
+
origin: null;
|
|
1353
|
+
sessionPublicKey: string;
|
|
1354
|
+
} | {
|
|
1355
|
+
capability: null;
|
|
1356
|
+
capabilityGroupKey: string;
|
|
1357
|
+
contractId: string;
|
|
1358
|
+
deploymentId: string;
|
|
1359
|
+
grantKind: "capability-group";
|
|
1360
|
+
identityKind: "session";
|
|
1361
|
+
origin: null;
|
|
1362
|
+
sessionPublicKey: string;
|
|
1363
|
+
})>;
|
|
1364
|
+
};
|
|
1365
|
+
export type AuthEnvelopesListInput = {
|
|
1366
|
+
disabled?: boolean;
|
|
1367
|
+
kind?: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
1368
|
+
limit: number;
|
|
1369
|
+
offset?: number;
|
|
1370
|
+
};
|
|
1371
|
+
export type AuthEnvelopesListOutput = {
|
|
1372
|
+
count: number;
|
|
1373
|
+
entries: Array<{
|
|
1374
|
+
boundary: {
|
|
1375
|
+
capabilities: Array<string>;
|
|
1376
|
+
contracts: Array<{
|
|
1377
|
+
contractId: string;
|
|
1378
|
+
required: boolean;
|
|
1379
|
+
}>;
|
|
1380
|
+
resources: Array<{
|
|
1381
|
+
alias: string;
|
|
1382
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1383
|
+
required: boolean;
|
|
1384
|
+
}>;
|
|
1385
|
+
surfaces: Array<{
|
|
1386
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1387
|
+
contractId: string;
|
|
1388
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1389
|
+
name: string;
|
|
1390
|
+
required: boolean;
|
|
1391
|
+
}>;
|
|
1392
|
+
};
|
|
1393
|
+
createdAt: string;
|
|
1394
|
+
deploymentId: string;
|
|
1395
|
+
disabled: boolean;
|
|
1396
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
1397
|
+
updatedAt: string;
|
|
1398
|
+
}>;
|
|
1399
|
+
limit: number;
|
|
1400
|
+
nextOffset?: number;
|
|
1401
|
+
offset: number;
|
|
1402
|
+
};
|
|
1403
|
+
export type AuthEnvelopesShrinkInput = {
|
|
1404
|
+
confirm: boolean;
|
|
1405
|
+
deploymentId: string;
|
|
1406
|
+
proposedBoundary: {
|
|
1407
|
+
capabilities: Array<string>;
|
|
1408
|
+
contracts: Array<{
|
|
1409
|
+
contractId: string;
|
|
1410
|
+
required: boolean;
|
|
1411
|
+
}>;
|
|
1412
|
+
resources: Array<{
|
|
1413
|
+
alias: string;
|
|
1414
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1415
|
+
required: boolean;
|
|
1416
|
+
}>;
|
|
1417
|
+
surfaces: Array<{
|
|
1418
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1419
|
+
contractId: string;
|
|
1420
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1421
|
+
name: string;
|
|
1422
|
+
required: boolean;
|
|
1423
|
+
}>;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
export type AuthEnvelopesShrinkOutput = {
|
|
1427
|
+
envelope: {
|
|
1428
|
+
boundary: {
|
|
1429
|
+
capabilities: Array<string>;
|
|
1430
|
+
contracts: Array<{
|
|
1431
|
+
contractId: string;
|
|
1432
|
+
required: boolean;
|
|
1433
|
+
}>;
|
|
1434
|
+
resources: Array<{
|
|
1435
|
+
alias: string;
|
|
1436
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1437
|
+
required: boolean;
|
|
1438
|
+
}>;
|
|
1439
|
+
surfaces: Array<{
|
|
1440
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1441
|
+
contractId: string;
|
|
1442
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1443
|
+
name: string;
|
|
1444
|
+
required: boolean;
|
|
1445
|
+
}>;
|
|
1446
|
+
};
|
|
1447
|
+
createdAt: string;
|
|
1448
|
+
deploymentId: string;
|
|
1449
|
+
disabled: boolean;
|
|
1450
|
+
kind: ("service" | "device" | "app" | "cli" | "native" | "device-user");
|
|
1451
|
+
updatedAt: string;
|
|
1452
|
+
};
|
|
1453
|
+
impact: {
|
|
1454
|
+
impactedDeviceSessions: Array<{
|
|
1455
|
+
contractDigest: (string | null);
|
|
1456
|
+
contractId: (string | null);
|
|
1457
|
+
missing: {
|
|
1458
|
+
capabilities: Array<string>;
|
|
1459
|
+
contracts: Array<{
|
|
1460
|
+
contractId: string;
|
|
1461
|
+
required: boolean;
|
|
1462
|
+
}>;
|
|
1463
|
+
resources: Array<{
|
|
1464
|
+
alias: string;
|
|
1465
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1466
|
+
required: boolean;
|
|
1467
|
+
}>;
|
|
1468
|
+
surfaces: Array<{
|
|
1469
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1470
|
+
contractId: string;
|
|
1471
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1472
|
+
name: string;
|
|
1473
|
+
required: boolean;
|
|
1474
|
+
}>;
|
|
1475
|
+
};
|
|
1476
|
+
sessionKey: string;
|
|
1477
|
+
type: (("app" | "agent") | "device" | "service");
|
|
1478
|
+
}>;
|
|
1479
|
+
impactedIdentityEnvelopes: Array<{
|
|
1480
|
+
identityAnchor: ({
|
|
1481
|
+
contractId: string;
|
|
1482
|
+
kind: "web";
|
|
1483
|
+
origin: string;
|
|
1484
|
+
} | {
|
|
1485
|
+
contractId: string;
|
|
1486
|
+
kind: "cli";
|
|
1487
|
+
sessionPublicKey: string;
|
|
1488
|
+
} | {
|
|
1489
|
+
contractId: string;
|
|
1490
|
+
kind: "native";
|
|
1491
|
+
sessionPublicKey: string;
|
|
1492
|
+
} | {
|
|
1493
|
+
contractId: string;
|
|
1494
|
+
devicePublicKey: string;
|
|
1495
|
+
kind: "device-user";
|
|
1496
|
+
});
|
|
1497
|
+
identityEnvelopeId: string;
|
|
1498
|
+
missing: {
|
|
1499
|
+
capabilities: Array<string>;
|
|
1500
|
+
contracts: Array<{
|
|
1501
|
+
contractId: string;
|
|
1502
|
+
required: boolean;
|
|
1503
|
+
}>;
|
|
1504
|
+
resources: Array<{
|
|
1505
|
+
alias: string;
|
|
1506
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1507
|
+
required: boolean;
|
|
1508
|
+
}>;
|
|
1509
|
+
surfaces: Array<{
|
|
1510
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1511
|
+
contractId: string;
|
|
1512
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1513
|
+
name: string;
|
|
1514
|
+
required: boolean;
|
|
1515
|
+
}>;
|
|
1516
|
+
};
|
|
1517
|
+
}>;
|
|
1518
|
+
impactedPendingRequests: Array<{
|
|
1519
|
+
missing: {
|
|
1520
|
+
capabilities: Array<string>;
|
|
1521
|
+
contracts: Array<{
|
|
1522
|
+
contractId: string;
|
|
1523
|
+
required: boolean;
|
|
1524
|
+
}>;
|
|
1525
|
+
resources: Array<{
|
|
1526
|
+
alias: string;
|
|
1527
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1528
|
+
required: boolean;
|
|
1529
|
+
}>;
|
|
1530
|
+
surfaces: Array<{
|
|
1531
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1532
|
+
contractId: string;
|
|
1533
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1534
|
+
name: string;
|
|
1535
|
+
required: boolean;
|
|
1536
|
+
}>;
|
|
1537
|
+
};
|
|
1538
|
+
requestId: string;
|
|
1539
|
+
}>;
|
|
1540
|
+
impactedServiceInstances: Array<{
|
|
1541
|
+
missing: {
|
|
1542
|
+
capabilities: Array<string>;
|
|
1543
|
+
contracts: Array<{
|
|
1544
|
+
contractId: string;
|
|
1545
|
+
required: boolean;
|
|
1546
|
+
}>;
|
|
1547
|
+
resources: Array<{
|
|
1548
|
+
alias: string;
|
|
1549
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1550
|
+
required: boolean;
|
|
1551
|
+
}>;
|
|
1552
|
+
surfaces: Array<{
|
|
1553
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1554
|
+
contractId: string;
|
|
1555
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1556
|
+
name: string;
|
|
1557
|
+
required: boolean;
|
|
1558
|
+
}>;
|
|
1559
|
+
};
|
|
1560
|
+
}>;
|
|
1561
|
+
impactedSessions: Array<{
|
|
1562
|
+
contractDigest: (string | null);
|
|
1563
|
+
contractId: (string | null);
|
|
1564
|
+
missing: {
|
|
1565
|
+
capabilities: Array<string>;
|
|
1566
|
+
contracts: Array<{
|
|
1567
|
+
contractId: string;
|
|
1568
|
+
required: boolean;
|
|
1569
|
+
}>;
|
|
1570
|
+
resources: Array<{
|
|
1571
|
+
alias: string;
|
|
1572
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1573
|
+
required: boolean;
|
|
1574
|
+
}>;
|
|
1575
|
+
surfaces: Array<{
|
|
1576
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1577
|
+
contractId: string;
|
|
1578
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1579
|
+
name: string;
|
|
1580
|
+
required: boolean;
|
|
1581
|
+
}>;
|
|
1582
|
+
};
|
|
1583
|
+
sessionKey: string;
|
|
1584
|
+
type: (("app" | "agent") | "device" | "service");
|
|
1585
|
+
}>;
|
|
1586
|
+
orphanedResources: Array<{
|
|
1587
|
+
alias: string;
|
|
1588
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1589
|
+
}>;
|
|
1590
|
+
removed: {
|
|
1591
|
+
capabilities: Array<string>;
|
|
1592
|
+
contracts: Array<{
|
|
1593
|
+
contractId: string;
|
|
1594
|
+
required: boolean;
|
|
1595
|
+
}>;
|
|
1596
|
+
resources: Array<{
|
|
1597
|
+
alias: string;
|
|
1598
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1599
|
+
required: boolean;
|
|
1600
|
+
}>;
|
|
1601
|
+
surfaces: Array<{
|
|
1602
|
+
action: ("call" | "publish" | "subscribe" | "read" | "cancel");
|
|
1603
|
+
contractId: string;
|
|
1604
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
1605
|
+
name: string;
|
|
1606
|
+
required: boolean;
|
|
1607
|
+
}>;
|
|
1608
|
+
};
|
|
769
1609
|
};
|
|
1610
|
+
retainedResources: Array<{
|
|
1611
|
+
alias: string;
|
|
1612
|
+
kind: ("kv" | "store" | "jobs" | "transfer");
|
|
1613
|
+
}>;
|
|
770
1614
|
};
|
|
771
1615
|
export type AuthHealthInput = {};
|
|
772
1616
|
export type AuthHealthOutput = {
|
|
@@ -780,328 +1624,382 @@ export type AuthHealthOutput = {
|
|
|
780
1624
|
status: ("ok" | "failed");
|
|
781
1625
|
summary?: string;
|
|
782
1626
|
}>;
|
|
783
|
-
service: string;
|
|
784
|
-
status: ("healthy" | "unhealthy" | "degraded");
|
|
785
|
-
timestamp: string;
|
|
786
|
-
};
|
|
787
|
-
export type
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
1627
|
+
service: string;
|
|
1628
|
+
status: ("healthy" | "unhealthy" | "degraded");
|
|
1629
|
+
timestamp: string;
|
|
1630
|
+
};
|
|
1631
|
+
export type AuthIdentitiesGrantsListInput = {
|
|
1632
|
+
limit: number;
|
|
1633
|
+
offset?: number;
|
|
1634
|
+
};
|
|
1635
|
+
export type AuthIdentitiesGrantsListOutput = {
|
|
1636
|
+
count: number;
|
|
1637
|
+
entries: Array<{
|
|
1638
|
+
capabilities: Array<string>;
|
|
1639
|
+
contractEvidence: {
|
|
1640
|
+
contractDigest: string;
|
|
1641
|
+
contractId: string;
|
|
1642
|
+
};
|
|
1643
|
+
description: string;
|
|
1644
|
+
displayName: string;
|
|
1645
|
+
grantedAt: string;
|
|
1646
|
+
identityAnchor: ({
|
|
1647
|
+
contractId: string;
|
|
1648
|
+
kind: "web";
|
|
1649
|
+
origin: string;
|
|
1650
|
+
} | {
|
|
1651
|
+
contractId: string;
|
|
1652
|
+
kind: "cli";
|
|
1653
|
+
sessionPublicKey: string;
|
|
1654
|
+
} | {
|
|
1655
|
+
contractId: string;
|
|
1656
|
+
kind: "native";
|
|
1657
|
+
sessionPublicKey: string;
|
|
1658
|
+
} | {
|
|
1659
|
+
contractId: string;
|
|
1660
|
+
devicePublicKey: string;
|
|
1661
|
+
kind: "device-user";
|
|
1662
|
+
});
|
|
1663
|
+
identityEnvelopeId: string;
|
|
1664
|
+
participantKind: ("app" | "agent");
|
|
1665
|
+
updatedAt: string;
|
|
1666
|
+
}>;
|
|
1667
|
+
limit: number;
|
|
1668
|
+
nextOffset?: number;
|
|
1669
|
+
offset: number;
|
|
792
1670
|
};
|
|
793
|
-
export type
|
|
794
|
-
|
|
1671
|
+
export type AuthIdentitiesListInput = {
|
|
1672
|
+
limit: number;
|
|
1673
|
+
offset?: number;
|
|
795
1674
|
user?: string;
|
|
796
1675
|
};
|
|
797
|
-
export type
|
|
798
|
-
|
|
1676
|
+
export type AuthIdentitiesListOutput = {
|
|
1677
|
+
count: number;
|
|
1678
|
+
entries: Array<{
|
|
799
1679
|
answer: ("approved" | "denied");
|
|
800
1680
|
answeredAt: string;
|
|
801
|
-
|
|
802
|
-
|
|
1681
|
+
capabilities: {
|
|
1682
|
+
[k: string]: {
|
|
1683
|
+
consequence?: string;
|
|
1684
|
+
description: string;
|
|
1685
|
+
displayName: string;
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1688
|
+
contractEvidence: {
|
|
803
1689
|
contractDigest: string;
|
|
804
1690
|
contractId: string;
|
|
805
|
-
description: string;
|
|
806
|
-
displayName: string;
|
|
807
1691
|
};
|
|
1692
|
+
description: string;
|
|
1693
|
+
displayName: string;
|
|
1694
|
+
identityAnchor: ({
|
|
1695
|
+
contractId: string;
|
|
1696
|
+
kind: "web";
|
|
1697
|
+
origin: string;
|
|
1698
|
+
} | {
|
|
1699
|
+
contractId: string;
|
|
1700
|
+
kind: "cli";
|
|
1701
|
+
sessionPublicKey: string;
|
|
1702
|
+
} | {
|
|
1703
|
+
contractId: string;
|
|
1704
|
+
kind: "native";
|
|
1705
|
+
sessionPublicKey: string;
|
|
1706
|
+
} | {
|
|
1707
|
+
contractId: string;
|
|
1708
|
+
devicePublicKey: string;
|
|
1709
|
+
kind: "device-user";
|
|
1710
|
+
});
|
|
1711
|
+
identityEnvelopeId: string;
|
|
808
1712
|
participantKind: ("app" | "agent");
|
|
809
1713
|
updatedAt: string;
|
|
810
1714
|
user: string;
|
|
811
1715
|
}>;
|
|
1716
|
+
limit: number;
|
|
1717
|
+
nextOffset?: number;
|
|
1718
|
+
offset: number;
|
|
812
1719
|
};
|
|
813
|
-
export type
|
|
814
|
-
|
|
1720
|
+
export type AuthIdentityEnvelopesRevokeInput = {
|
|
1721
|
+
identityEnvelopeId: string;
|
|
815
1722
|
user?: string;
|
|
816
1723
|
};
|
|
817
|
-
export type
|
|
818
|
-
|
|
819
|
-
clientId: number;
|
|
820
|
-
connectedAt: string;
|
|
821
|
-
contractDisplayName: string;
|
|
822
|
-
contractId: string;
|
|
823
|
-
key: string;
|
|
824
|
-
participantKind: "app";
|
|
825
|
-
principal: {
|
|
826
|
-
id: string;
|
|
827
|
-
name?: string;
|
|
828
|
-
origin: string;
|
|
829
|
-
trellisId: string;
|
|
830
|
-
type: "user";
|
|
831
|
-
};
|
|
832
|
-
serverId: string;
|
|
833
|
-
sessionKey: string;
|
|
834
|
-
userNkey: string;
|
|
835
|
-
} | {
|
|
836
|
-
clientId: number;
|
|
837
|
-
connectedAt: string;
|
|
838
|
-
contractDisplayName: string;
|
|
839
|
-
contractId: string;
|
|
840
|
-
key: string;
|
|
841
|
-
participantKind: "agent";
|
|
842
|
-
principal: {
|
|
843
|
-
id: string;
|
|
844
|
-
name?: string;
|
|
845
|
-
origin: string;
|
|
846
|
-
trellisId: string;
|
|
847
|
-
type: "user";
|
|
848
|
-
};
|
|
849
|
-
serverId: string;
|
|
850
|
-
sessionKey: string;
|
|
851
|
-
userNkey: string;
|
|
852
|
-
} | {
|
|
853
|
-
clientId: number;
|
|
854
|
-
connectedAt: string;
|
|
855
|
-
contractDisplayName?: string;
|
|
856
|
-
contractId: string;
|
|
857
|
-
key: string;
|
|
858
|
-
participantKind: "device";
|
|
859
|
-
principal: {
|
|
860
|
-
deploymentId: string;
|
|
861
|
-
deviceId: string;
|
|
862
|
-
deviceType: string;
|
|
863
|
-
runtimePublicKey: string;
|
|
864
|
-
type: "device";
|
|
865
|
-
};
|
|
866
|
-
serverId: string;
|
|
867
|
-
sessionKey: string;
|
|
868
|
-
userNkey: string;
|
|
869
|
-
} | {
|
|
870
|
-
clientId: number;
|
|
871
|
-
connectedAt: string;
|
|
872
|
-
key: string;
|
|
873
|
-
participantKind: "service";
|
|
874
|
-
principal: {
|
|
875
|
-
deploymentId: string;
|
|
876
|
-
id: string;
|
|
877
|
-
instanceId: string;
|
|
878
|
-
name: string;
|
|
879
|
-
type: "service";
|
|
880
|
-
};
|
|
881
|
-
serverId: string;
|
|
882
|
-
sessionKey: string;
|
|
883
|
-
userNkey: string;
|
|
884
|
-
})>;
|
|
1724
|
+
export type AuthIdentityEnvelopesRevokeOutput = {
|
|
1725
|
+
success: boolean;
|
|
885
1726
|
};
|
|
886
|
-
export type
|
|
887
|
-
|
|
888
|
-
instanceId?: string;
|
|
889
|
-
state?: ("pending" | "approved" | "rejected");
|
|
1727
|
+
export type AuthPortalsGetInput = {
|
|
1728
|
+
portalId: string;
|
|
890
1729
|
};
|
|
891
|
-
export type
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
requestedAt: string;
|
|
899
|
-
reviewId: string;
|
|
900
|
-
state: ("pending" | "approved" | "rejected");
|
|
1730
|
+
export type AuthPortalsGetOutput = {
|
|
1731
|
+
defaultCapabilities: Array<string>;
|
|
1732
|
+
defaultCapabilityGroups: Array<string>;
|
|
1733
|
+
federatedProviders: Array<{
|
|
1734
|
+
displayName: string;
|
|
1735
|
+
id: string;
|
|
1736
|
+
type: string;
|
|
901
1737
|
}>;
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
revokedAt: (string | null);
|
|
919
|
-
state: ("activated" | "revoked");
|
|
1738
|
+
portal: {
|
|
1739
|
+
builtIn: boolean;
|
|
1740
|
+
createdAt: string;
|
|
1741
|
+
disabled: boolean;
|
|
1742
|
+
displayName: string;
|
|
1743
|
+
entryUrl: (string | null);
|
|
1744
|
+
portalId: string;
|
|
1745
|
+
updatedAt: string;
|
|
1746
|
+
};
|
|
1747
|
+
routes: Array<{
|
|
1748
|
+
contractId: (string | null);
|
|
1749
|
+
disabled: boolean;
|
|
1750
|
+
origin: (string | null);
|
|
1751
|
+
portalId: string;
|
|
1752
|
+
routeKey: string;
|
|
1753
|
+
updatedAt: string;
|
|
920
1754
|
}>;
|
|
1755
|
+
settings: {
|
|
1756
|
+
allowedFederatedProviders: (Array<string> | null);
|
|
1757
|
+
federatedRegistrationEnabled: boolean;
|
|
1758
|
+
localRegistrationEnabled: boolean;
|
|
1759
|
+
portalId: string;
|
|
1760
|
+
selfRegisteredAccountActive: boolean;
|
|
1761
|
+
updatedAt: string;
|
|
1762
|
+
};
|
|
921
1763
|
};
|
|
922
|
-
export type
|
|
923
|
-
|
|
1764
|
+
export type AuthPortalsListInput = {
|
|
1765
|
+
limit: number;
|
|
1766
|
+
offset?: number;
|
|
924
1767
|
};
|
|
925
|
-
export type
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
deploymentId: string;
|
|
1768
|
+
export type AuthPortalsListOutput = {
|
|
1769
|
+
count: number;
|
|
1770
|
+
entries: Array<{
|
|
1771
|
+
activeRouteCount: number;
|
|
1772
|
+
builtIn: boolean;
|
|
1773
|
+
createdAt: string;
|
|
932
1774
|
disabled: boolean;
|
|
933
|
-
|
|
1775
|
+
displayName: string;
|
|
1776
|
+
entryUrl: (string | null);
|
|
1777
|
+
portalId: string;
|
|
1778
|
+
routeCount: number;
|
|
1779
|
+
updatedAt: string;
|
|
934
1780
|
}>;
|
|
1781
|
+
limit: number;
|
|
1782
|
+
nextOffset?: number;
|
|
1783
|
+
offset: number;
|
|
935
1784
|
};
|
|
936
|
-
export type
|
|
937
|
-
|
|
938
|
-
state?: ("registered" | "activated" | "revoked" | "disabled");
|
|
1785
|
+
export type AuthPortalsLoginSettingsGetInput = {
|
|
1786
|
+
portalId: string;
|
|
939
1787
|
};
|
|
940
|
-
export type
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
instanceId: string;
|
|
948
|
-
metadata?: {
|
|
949
|
-
[k: string]: string;
|
|
950
|
-
};
|
|
951
|
-
publicIdentityKey: string;
|
|
952
|
-
revokedAt: (string | null);
|
|
953
|
-
state: ("registered" | "activated" | "revoked" | "disabled");
|
|
1788
|
+
export type AuthPortalsLoginSettingsGetOutput = {
|
|
1789
|
+
defaultCapabilities: Array<string>;
|
|
1790
|
+
defaultCapabilityGroups: Array<string>;
|
|
1791
|
+
federatedProviders: Array<{
|
|
1792
|
+
displayName: string;
|
|
1793
|
+
id: string;
|
|
1794
|
+
type: string;
|
|
954
1795
|
}>;
|
|
1796
|
+
portal: {
|
|
1797
|
+
builtIn: boolean;
|
|
1798
|
+
createdAt: string;
|
|
1799
|
+
disabled: boolean;
|
|
1800
|
+
displayName: string;
|
|
1801
|
+
entryUrl: (string | null);
|
|
1802
|
+
portalId: string;
|
|
1803
|
+
updatedAt: string;
|
|
1804
|
+
};
|
|
1805
|
+
settings: {
|
|
1806
|
+
allowedFederatedProviders: (Array<string> | null);
|
|
1807
|
+
federatedRegistrationEnabled: boolean;
|
|
1808
|
+
localRegistrationEnabled: boolean;
|
|
1809
|
+
portalId: string;
|
|
1810
|
+
selfRegisteredAccountActive: boolean;
|
|
1811
|
+
updatedAt: string;
|
|
1812
|
+
};
|
|
955
1813
|
};
|
|
956
|
-
export type
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1814
|
+
export type AuthPortalsLoginSettingsUpdateInput = {
|
|
1815
|
+
allowedFederatedProviders: (Array<string> | null);
|
|
1816
|
+
defaultCapabilities: Array<string>;
|
|
1817
|
+
defaultCapabilityGroups: Array<string>;
|
|
1818
|
+
federatedRegistrationEnabled: boolean;
|
|
1819
|
+
localRegistrationEnabled: boolean;
|
|
1820
|
+
portalId: string;
|
|
1821
|
+
selfRegisteredAccountActive: boolean;
|
|
962
1822
|
};
|
|
963
|
-
export type
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
events: number;
|
|
968
|
-
jobsQueues: number;
|
|
969
|
-
kvResources: number;
|
|
970
|
-
namespaces: Array<string>;
|
|
971
|
-
natsPublish: number;
|
|
972
|
-
natsSubscribe: number;
|
|
973
|
-
operationControls: number;
|
|
974
|
-
operations: number;
|
|
975
|
-
rpcMethods: number;
|
|
976
|
-
storeResources: number;
|
|
977
|
-
};
|
|
978
|
-
description: string;
|
|
979
|
-
digest: string;
|
|
1823
|
+
export type AuthPortalsLoginSettingsUpdateOutput = {
|
|
1824
|
+
defaultCapabilities: Array<string>;
|
|
1825
|
+
defaultCapabilityGroups: Array<string>;
|
|
1826
|
+
federatedProviders: Array<{
|
|
980
1827
|
displayName: string;
|
|
981
1828
|
id: string;
|
|
982
|
-
|
|
1829
|
+
type: string;
|
|
983
1830
|
}>;
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
export type AuthListInstanceGrantPoliciesOutput = {
|
|
987
|
-
policies: Array<{
|
|
988
|
-
allowedOrigins?: Array<string>;
|
|
989
|
-
contractId: string;
|
|
1831
|
+
portal: {
|
|
1832
|
+
builtIn: boolean;
|
|
990
1833
|
createdAt: string;
|
|
991
1834
|
disabled: boolean;
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
id: string;
|
|
996
|
-
origin: string;
|
|
997
|
-
};
|
|
998
|
-
kind: "admin_policy";
|
|
999
|
-
updatedBy?: {
|
|
1000
|
-
id: string;
|
|
1001
|
-
origin: string;
|
|
1002
|
-
};
|
|
1003
|
-
} | {
|
|
1004
|
-
entryUrl: string;
|
|
1005
|
-
kind: "portal_profile";
|
|
1006
|
-
portalId: string;
|
|
1007
|
-
});
|
|
1835
|
+
displayName: string;
|
|
1836
|
+
entryUrl: (string | null);
|
|
1837
|
+
portalId: string;
|
|
1008
1838
|
updatedAt: string;
|
|
1009
|
-
}
|
|
1839
|
+
};
|
|
1840
|
+
settings: {
|
|
1841
|
+
allowedFederatedProviders: (Array<string> | null);
|
|
1842
|
+
federatedRegistrationEnabled: boolean;
|
|
1843
|
+
localRegistrationEnabled: boolean;
|
|
1844
|
+
portalId: string;
|
|
1845
|
+
selfRegisteredAccountActive: boolean;
|
|
1846
|
+
updatedAt: string;
|
|
1847
|
+
};
|
|
1010
1848
|
};
|
|
1011
|
-
export type
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
}>;
|
|
1849
|
+
export type AuthPortalsPutInput = {
|
|
1850
|
+
disabled?: boolean;
|
|
1851
|
+
displayName: string;
|
|
1852
|
+
entryUrl: string;
|
|
1853
|
+
portalId: string;
|
|
1017
1854
|
};
|
|
1018
|
-
export type
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
allowedOrigins?: Array<string>;
|
|
1022
|
-
contractId: string;
|
|
1855
|
+
export type AuthPortalsPutOutput = {
|
|
1856
|
+
portal: {
|
|
1857
|
+
builtIn: boolean;
|
|
1023
1858
|
createdAt: string;
|
|
1024
1859
|
disabled: boolean;
|
|
1025
|
-
|
|
1026
|
-
|
|
1860
|
+
displayName: string;
|
|
1861
|
+
entryUrl: (string | null);
|
|
1027
1862
|
portalId: string;
|
|
1028
1863
|
updatedAt: string;
|
|
1029
|
-
}
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
export type AuthPortalsRemoveInput = {
|
|
1867
|
+
portalId: string;
|
|
1030
1868
|
};
|
|
1031
|
-
export type
|
|
1032
|
-
|
|
1033
|
-
|
|
1869
|
+
export type AuthPortalsRemoveOutput = {
|
|
1870
|
+
success: boolean;
|
|
1871
|
+
};
|
|
1872
|
+
export type AuthPortalsRoutesPutInput = {
|
|
1873
|
+
contractId?: (string | null);
|
|
1874
|
+
disabled?: boolean;
|
|
1875
|
+
origin?: (string | null);
|
|
1876
|
+
portalId: string;
|
|
1877
|
+
};
|
|
1878
|
+
export type AuthPortalsRoutesPutOutput = {
|
|
1879
|
+
route: {
|
|
1880
|
+
contractId: (string | null);
|
|
1034
1881
|
disabled: boolean;
|
|
1035
|
-
|
|
1882
|
+
origin: (string | null);
|
|
1036
1883
|
portalId: string;
|
|
1037
|
-
|
|
1884
|
+
routeKey: string;
|
|
1885
|
+
updatedAt: string;
|
|
1886
|
+
};
|
|
1038
1887
|
};
|
|
1039
|
-
export type
|
|
1040
|
-
|
|
1888
|
+
export type AuthPortalsRoutesRemoveInput = {
|
|
1889
|
+
contractId?: (string | null);
|
|
1890
|
+
origin?: (string | null);
|
|
1891
|
+
portalId: string;
|
|
1892
|
+
};
|
|
1893
|
+
export type AuthPortalsRoutesRemoveOutput = {
|
|
1894
|
+
success: boolean;
|
|
1895
|
+
};
|
|
1896
|
+
export type AuthRequestsValidateInput = {
|
|
1897
|
+
capabilities?: Array<string>;
|
|
1898
|
+
iat: number;
|
|
1899
|
+
payloadHash: string;
|
|
1900
|
+
proof: string;
|
|
1901
|
+
requestId: string;
|
|
1902
|
+
sessionKey: string;
|
|
1903
|
+
subject: string;
|
|
1904
|
+
};
|
|
1905
|
+
export type AuthRequestsValidateOutput = {
|
|
1906
|
+
allowed: boolean;
|
|
1907
|
+
caller: ({
|
|
1908
|
+
active: boolean;
|
|
1909
|
+
capabilities: Array<string>;
|
|
1910
|
+
email: string;
|
|
1911
|
+
identity: {
|
|
1912
|
+
identityId: string;
|
|
1913
|
+
provider: string;
|
|
1914
|
+
subject: string;
|
|
1915
|
+
};
|
|
1916
|
+
image?: string;
|
|
1917
|
+
lastAuth: string;
|
|
1918
|
+
name: string;
|
|
1919
|
+
participantKind: ("app" | "agent");
|
|
1920
|
+
type: "user";
|
|
1921
|
+
userId: string;
|
|
1922
|
+
} | {
|
|
1923
|
+
active: boolean;
|
|
1924
|
+
capabilities: Array<string>;
|
|
1925
|
+
id: string;
|
|
1926
|
+
name: string;
|
|
1927
|
+
type: "service";
|
|
1928
|
+
} | {
|
|
1929
|
+
active: boolean;
|
|
1930
|
+
capabilities: Array<string>;
|
|
1931
|
+
deploymentId: string;
|
|
1932
|
+
deviceId: string;
|
|
1933
|
+
deviceType: string;
|
|
1934
|
+
runtimePublicKey: string;
|
|
1935
|
+
type: "device";
|
|
1936
|
+
});
|
|
1937
|
+
inboxPrefix: string;
|
|
1938
|
+
};
|
|
1939
|
+
export type AuthServiceInstancesDisableInput = {
|
|
1940
|
+
instanceId: string;
|
|
1041
1941
|
};
|
|
1042
|
-
export type
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
result?: {
|
|
1068
|
-
schema: string;
|
|
1069
|
-
};
|
|
1070
|
-
workSubject: string;
|
|
1071
|
-
};
|
|
1072
|
-
};
|
|
1073
|
-
workStream?: string;
|
|
1074
|
-
};
|
|
1075
|
-
kv?: {
|
|
1076
|
-
[k: string]: {
|
|
1077
|
-
bucket: string;
|
|
1078
|
-
history: number;
|
|
1079
|
-
maxValueBytes?: number;
|
|
1080
|
-
ttlMs: number;
|
|
1942
|
+
export type AuthServiceInstancesDisableOutput = {
|
|
1943
|
+
instance: {
|
|
1944
|
+
capabilities: Array<string>;
|
|
1945
|
+
createdAt: string;
|
|
1946
|
+
currentContractDigest?: string;
|
|
1947
|
+
currentContractId?: string;
|
|
1948
|
+
deploymentId: string;
|
|
1949
|
+
disabled: boolean;
|
|
1950
|
+
instanceId: string;
|
|
1951
|
+
instanceKey: string;
|
|
1952
|
+
resourceBindings?: {
|
|
1953
|
+
jobs?: {
|
|
1954
|
+
namespace: string;
|
|
1955
|
+
queues: {
|
|
1956
|
+
[k: string]: {
|
|
1957
|
+
ackWaitMs: number;
|
|
1958
|
+
backoffMs: Array<number>;
|
|
1959
|
+
concurrency: number;
|
|
1960
|
+
consumerName: string;
|
|
1961
|
+
defaultDeadlineMs?: number;
|
|
1962
|
+
dlq: boolean;
|
|
1963
|
+
logs: boolean;
|
|
1964
|
+
maxDeliver: number;
|
|
1965
|
+
payload: {
|
|
1966
|
+
schema: string;
|
|
1081
1967
|
};
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
name: string;
|
|
1088
|
-
ttlMs: number;
|
|
1968
|
+
progress: boolean;
|
|
1969
|
+
publishPrefix: string;
|
|
1970
|
+
queueType: string;
|
|
1971
|
+
result?: {
|
|
1972
|
+
schema: string;
|
|
1089
1973
|
};
|
|
1974
|
+
workSubject: string;
|
|
1090
1975
|
};
|
|
1091
1976
|
};
|
|
1977
|
+
workStream?: string;
|
|
1092
1978
|
};
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1979
|
+
kv?: {
|
|
1980
|
+
[k: string]: {
|
|
1981
|
+
bucket: string;
|
|
1982
|
+
history: number;
|
|
1983
|
+
maxValueBytes?: number;
|
|
1984
|
+
ttlMs: number;
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
store?: {
|
|
1988
|
+
[k: string]: {
|
|
1989
|
+
maxObjectBytes?: number;
|
|
1990
|
+
maxTotalBytes?: number;
|
|
1991
|
+
name: string;
|
|
1992
|
+
ttlMs: number;
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1098
1997
|
};
|
|
1099
|
-
export type
|
|
1100
|
-
|
|
1101
|
-
disabled?: boolean;
|
|
1998
|
+
export type AuthServiceInstancesEnableInput = {
|
|
1999
|
+
instanceId: string;
|
|
1102
2000
|
};
|
|
1103
|
-
export type
|
|
1104
|
-
|
|
2001
|
+
export type AuthServiceInstancesEnableOutput = {
|
|
2002
|
+
instance: {
|
|
1105
2003
|
capabilities: Array<string>;
|
|
1106
2004
|
createdAt: string;
|
|
1107
2005
|
currentContractDigest?: string;
|
|
@@ -1154,159 +2052,79 @@ export type AuthListServiceInstancesOutput = {
|
|
|
1154
2052
|
};
|
|
1155
2053
|
};
|
|
1156
2054
|
};
|
|
1157
|
-
}
|
|
1158
|
-
};
|
|
1159
|
-
export type AuthListSessionsInput = {
|
|
1160
|
-
user?: string;
|
|
1161
|
-
};
|
|
1162
|
-
export type AuthListSessionsOutput = {
|
|
1163
|
-
sessions: Array<({
|
|
1164
|
-
contractDisplayName: string;
|
|
1165
|
-
contractId: string;
|
|
1166
|
-
createdAt: string;
|
|
1167
|
-
key: string;
|
|
1168
|
-
lastAuth: string;
|
|
1169
|
-
participantKind: "app";
|
|
1170
|
-
principal: {
|
|
1171
|
-
id: string;
|
|
1172
|
-
name?: string;
|
|
1173
|
-
origin: string;
|
|
1174
|
-
trellisId: string;
|
|
1175
|
-
type: "user";
|
|
1176
|
-
};
|
|
1177
|
-
sessionKey: string;
|
|
1178
|
-
} | {
|
|
1179
|
-
contractDisplayName: string;
|
|
1180
|
-
contractId: string;
|
|
1181
|
-
createdAt: string;
|
|
1182
|
-
key: string;
|
|
1183
|
-
lastAuth: string;
|
|
1184
|
-
participantKind: "agent";
|
|
1185
|
-
principal: {
|
|
1186
|
-
id: string;
|
|
1187
|
-
name?: string;
|
|
1188
|
-
origin: string;
|
|
1189
|
-
trellisId: string;
|
|
1190
|
-
type: "user";
|
|
1191
|
-
};
|
|
1192
|
-
sessionKey: string;
|
|
1193
|
-
} | {
|
|
1194
|
-
contractDisplayName?: string;
|
|
1195
|
-
contractId: string;
|
|
1196
|
-
createdAt: string;
|
|
1197
|
-
key: string;
|
|
1198
|
-
lastAuth: string;
|
|
1199
|
-
participantKind: "device";
|
|
1200
|
-
principal: {
|
|
1201
|
-
deploymentId: string;
|
|
1202
|
-
deviceId: string;
|
|
1203
|
-
deviceType: string;
|
|
1204
|
-
runtimePublicKey: string;
|
|
1205
|
-
type: "device";
|
|
1206
|
-
};
|
|
1207
|
-
sessionKey: string;
|
|
1208
|
-
} | {
|
|
1209
|
-
createdAt: string;
|
|
1210
|
-
key: string;
|
|
1211
|
-
lastAuth: string;
|
|
1212
|
-
participantKind: "service";
|
|
1213
|
-
principal: {
|
|
1214
|
-
deploymentId: string;
|
|
1215
|
-
id: string;
|
|
1216
|
-
instanceId: string;
|
|
1217
|
-
name: string;
|
|
1218
|
-
type: "service";
|
|
1219
|
-
};
|
|
1220
|
-
sessionKey: string;
|
|
1221
|
-
})>;
|
|
1222
|
-
};
|
|
1223
|
-
export type AuthListUserGrantsInput = {};
|
|
1224
|
-
export type AuthListUserGrantsOutput = {
|
|
1225
|
-
grants: Array<{
|
|
1226
|
-
capabilities: Array<string>;
|
|
1227
|
-
contractDigest: string;
|
|
1228
|
-
contractId: string;
|
|
1229
|
-
description: string;
|
|
1230
|
-
displayName: string;
|
|
1231
|
-
grantedAt: string;
|
|
1232
|
-
participantKind: ("app" | "agent");
|
|
1233
|
-
updatedAt: string;
|
|
1234
|
-
}>;
|
|
1235
|
-
};
|
|
1236
|
-
export type AuthListUsersInput = {};
|
|
1237
|
-
export type AuthListUsersOutput = {
|
|
1238
|
-
users: Array<{
|
|
1239
|
-
active: boolean;
|
|
1240
|
-
capabilities: Array<string>;
|
|
1241
|
-
email?: string;
|
|
1242
|
-
id: string;
|
|
1243
|
-
name?: string;
|
|
1244
|
-
origin: string;
|
|
1245
|
-
}>;
|
|
2055
|
+
};
|
|
1246
2056
|
};
|
|
1247
|
-
export type
|
|
1248
|
-
|
|
1249
|
-
|
|
2057
|
+
export type AuthServiceInstancesListInput = {
|
|
2058
|
+
deploymentId?: string;
|
|
2059
|
+
disabled?: boolean;
|
|
2060
|
+
limit: number;
|
|
2061
|
+
offset?: number;
|
|
1250
2062
|
};
|
|
1251
|
-
export type
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
active: boolean;
|
|
1255
|
-
capabilities: Array<string>;
|
|
1256
|
-
deploymentId: string;
|
|
1257
|
-
deviceId: string;
|
|
1258
|
-
deviceType: string;
|
|
1259
|
-
runtimePublicKey: string;
|
|
1260
|
-
type: "device";
|
|
1261
|
-
} | null);
|
|
1262
|
-
participantKind: (("app" | "agent") | "device" | "service");
|
|
1263
|
-
service: ({
|
|
1264
|
-
active: boolean;
|
|
1265
|
-
capabilities: Array<string>;
|
|
1266
|
-
id: string;
|
|
1267
|
-
name: string;
|
|
1268
|
-
type: "service";
|
|
1269
|
-
} | null);
|
|
1270
|
-
user: ({
|
|
1271
|
-
active: boolean;
|
|
2063
|
+
export type AuthServiceInstancesListOutput = {
|
|
2064
|
+
count: number;
|
|
2065
|
+
entries: Array<{
|
|
1272
2066
|
capabilities: Array<string>;
|
|
1273
|
-
email: string;
|
|
1274
|
-
id: string;
|
|
1275
|
-
image?: string;
|
|
1276
|
-
lastLogin?: string;
|
|
1277
|
-
name: string;
|
|
1278
|
-
origin: string;
|
|
1279
|
-
} | null);
|
|
1280
|
-
};
|
|
1281
|
-
export type AuthProvisionDeviceInstanceInput = {
|
|
1282
|
-
activationKey: string;
|
|
1283
|
-
deploymentId: string;
|
|
1284
|
-
metadata?: {
|
|
1285
|
-
[k: string]: string;
|
|
1286
|
-
};
|
|
1287
|
-
publicIdentityKey: string;
|
|
1288
|
-
};
|
|
1289
|
-
export type AuthProvisionDeviceInstanceOutput = {
|
|
1290
|
-
instance: {
|
|
1291
|
-
activatedAt: (string | null);
|
|
1292
2067
|
createdAt: string;
|
|
1293
2068
|
currentContractDigest?: string;
|
|
1294
2069
|
currentContractId?: string;
|
|
1295
2070
|
deploymentId: string;
|
|
2071
|
+
disabled: boolean;
|
|
1296
2072
|
instanceId: string;
|
|
1297
|
-
|
|
1298
|
-
|
|
2073
|
+
instanceKey: string;
|
|
2074
|
+
resourceBindings?: {
|
|
2075
|
+
jobs?: {
|
|
2076
|
+
namespace: string;
|
|
2077
|
+
queues: {
|
|
2078
|
+
[k: string]: {
|
|
2079
|
+
ackWaitMs: number;
|
|
2080
|
+
backoffMs: Array<number>;
|
|
2081
|
+
concurrency: number;
|
|
2082
|
+
consumerName: string;
|
|
2083
|
+
defaultDeadlineMs?: number;
|
|
2084
|
+
dlq: boolean;
|
|
2085
|
+
logs: boolean;
|
|
2086
|
+
maxDeliver: number;
|
|
2087
|
+
payload: {
|
|
2088
|
+
schema: string;
|
|
2089
|
+
};
|
|
2090
|
+
progress: boolean;
|
|
2091
|
+
publishPrefix: string;
|
|
2092
|
+
queueType: string;
|
|
2093
|
+
result?: {
|
|
2094
|
+
schema: string;
|
|
2095
|
+
};
|
|
2096
|
+
workSubject: string;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
workStream?: string;
|
|
2100
|
+
};
|
|
2101
|
+
kv?: {
|
|
2102
|
+
[k: string]: {
|
|
2103
|
+
bucket: string;
|
|
2104
|
+
history: number;
|
|
2105
|
+
maxValueBytes?: number;
|
|
2106
|
+
ttlMs: number;
|
|
2107
|
+
};
|
|
2108
|
+
};
|
|
2109
|
+
store?: {
|
|
2110
|
+
[k: string]: {
|
|
2111
|
+
maxObjectBytes?: number;
|
|
2112
|
+
maxTotalBytes?: number;
|
|
2113
|
+
name: string;
|
|
2114
|
+
ttlMs: number;
|
|
2115
|
+
};
|
|
2116
|
+
};
|
|
1299
2117
|
};
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
2118
|
+
}>;
|
|
2119
|
+
limit: number;
|
|
2120
|
+
nextOffset?: number;
|
|
2121
|
+
offset: number;
|
|
1304
2122
|
};
|
|
1305
|
-
export type
|
|
2123
|
+
export type AuthServiceInstancesProvisionInput = {
|
|
1306
2124
|
deploymentId: string;
|
|
1307
2125
|
instanceKey: string;
|
|
1308
2126
|
};
|
|
1309
|
-
export type
|
|
2127
|
+
export type AuthServiceInstancesProvisionOutput = {
|
|
1310
2128
|
instance: {
|
|
1311
2129
|
capabilities: Array<string>;
|
|
1312
2130
|
createdAt: string;
|
|
@@ -1358,278 +2176,289 @@ export type AuthProvisionServiceInstanceOutput = {
|
|
|
1358
2176
|
name: string;
|
|
1359
2177
|
ttlMs: number;
|
|
1360
2178
|
};
|
|
1361
|
-
};
|
|
1362
|
-
};
|
|
1363
|
-
};
|
|
1364
|
-
};
|
|
1365
|
-
export type AuthRemoveDeviceDeploymentInput = {
|
|
1366
|
-
deploymentId: string;
|
|
1367
|
-
};
|
|
1368
|
-
export type AuthRemoveDeviceDeploymentOutput = {
|
|
1369
|
-
success: boolean;
|
|
1370
|
-
};
|
|
1371
|
-
export type AuthRemoveDeviceInstanceInput = {
|
|
1372
|
-
instanceId: string;
|
|
1373
|
-
};
|
|
1374
|
-
export type AuthRemoveDeviceInstanceOutput = {
|
|
1375
|
-
success: boolean;
|
|
1376
|
-
};
|
|
1377
|
-
export type AuthRemoveServiceDeploymentInput = {
|
|
1378
|
-
deploymentId: string;
|
|
1379
|
-
};
|
|
1380
|
-
export type AuthRemoveServiceDeploymentOutput = {
|
|
1381
|
-
success: boolean;
|
|
1382
|
-
};
|
|
1383
|
-
export type AuthRemoveServiceInstanceInput = {
|
|
1384
|
-
instanceId: string;
|
|
1385
|
-
};
|
|
1386
|
-
export type AuthRemoveServiceInstanceOutput = {
|
|
1387
|
-
success: boolean;
|
|
1388
|
-
};
|
|
1389
|
-
export type AuthRevokeApprovalInput = {
|
|
1390
|
-
contractDigest: string;
|
|
1391
|
-
user?: string;
|
|
1392
|
-
};
|
|
1393
|
-
export type AuthRevokeApprovalOutput = {
|
|
1394
|
-
success: boolean;
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
1395
2182
|
};
|
|
1396
|
-
export type
|
|
2183
|
+
export type AuthServiceInstancesRemoveInput = {
|
|
1397
2184
|
instanceId: string;
|
|
1398
2185
|
};
|
|
1399
|
-
export type
|
|
2186
|
+
export type AuthServiceInstancesRemoveOutput = {
|
|
1400
2187
|
success: boolean;
|
|
1401
2188
|
};
|
|
1402
|
-
export type
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
success: boolean;
|
|
2189
|
+
export type AuthSessionsListInput = {
|
|
2190
|
+
limit: number;
|
|
2191
|
+
offset?: number;
|
|
2192
|
+
user?: string;
|
|
1407
2193
|
};
|
|
1408
|
-
export type
|
|
1409
|
-
|
|
2194
|
+
export type AuthSessionsListOutput = {
|
|
2195
|
+
count: number;
|
|
2196
|
+
entries: Array<({
|
|
2197
|
+
contractDisplayName: string;
|
|
2198
|
+
contractId: string;
|
|
2199
|
+
createdAt: string;
|
|
2200
|
+
key: string;
|
|
2201
|
+
lastAuth: string;
|
|
2202
|
+
participantKind: "app";
|
|
2203
|
+
principal: {
|
|
2204
|
+
identity: {
|
|
2205
|
+
identityId: string;
|
|
2206
|
+
provider: string;
|
|
2207
|
+
subject: string;
|
|
2208
|
+
};
|
|
2209
|
+
name: string;
|
|
2210
|
+
type: "user";
|
|
2211
|
+
userId: string;
|
|
2212
|
+
};
|
|
2213
|
+
sessionKey: string;
|
|
2214
|
+
} | {
|
|
2215
|
+
contractDisplayName: string;
|
|
2216
|
+
contractId: string;
|
|
2217
|
+
createdAt: string;
|
|
2218
|
+
key: string;
|
|
2219
|
+
lastAuth: string;
|
|
2220
|
+
participantKind: "agent";
|
|
2221
|
+
principal: {
|
|
2222
|
+
identity: {
|
|
2223
|
+
identityId: string;
|
|
2224
|
+
provider: string;
|
|
2225
|
+
subject: string;
|
|
2226
|
+
};
|
|
2227
|
+
name: string;
|
|
2228
|
+
type: "user";
|
|
2229
|
+
userId: string;
|
|
2230
|
+
};
|
|
2231
|
+
sessionKey: string;
|
|
2232
|
+
} | {
|
|
2233
|
+
contractDisplayName?: string;
|
|
2234
|
+
contractId: string;
|
|
2235
|
+
createdAt: string;
|
|
2236
|
+
key: string;
|
|
2237
|
+
lastAuth: string;
|
|
2238
|
+
participantKind: "device";
|
|
2239
|
+
principal: {
|
|
2240
|
+
deploymentId: string;
|
|
2241
|
+
deviceId: string;
|
|
2242
|
+
deviceType: string;
|
|
2243
|
+
runtimePublicKey: string;
|
|
2244
|
+
type: "device";
|
|
2245
|
+
};
|
|
2246
|
+
sessionKey: string;
|
|
2247
|
+
} | {
|
|
2248
|
+
createdAt: string;
|
|
2249
|
+
key: string;
|
|
2250
|
+
lastAuth: string;
|
|
2251
|
+
participantKind: "service";
|
|
2252
|
+
principal: {
|
|
2253
|
+
deploymentId: string;
|
|
2254
|
+
id: string;
|
|
2255
|
+
instanceId: string;
|
|
2256
|
+
name: string;
|
|
2257
|
+
type: "service";
|
|
2258
|
+
};
|
|
2259
|
+
sessionKey: string;
|
|
2260
|
+
})>;
|
|
2261
|
+
limit: number;
|
|
2262
|
+
nextOffset?: number;
|
|
2263
|
+
offset: number;
|
|
1410
2264
|
};
|
|
1411
|
-
export type
|
|
2265
|
+
export type AuthSessionsLogoutInput = {};
|
|
2266
|
+
export type AuthSessionsLogoutOutput = {
|
|
1412
2267
|
success: boolean;
|
|
1413
2268
|
};
|
|
1414
|
-
export type
|
|
1415
|
-
|
|
2269
|
+
export type AuthSessionsMeInput = {};
|
|
2270
|
+
export type AuthSessionsMeOutput = {
|
|
2271
|
+
device: ({
|
|
2272
|
+
active: boolean;
|
|
2273
|
+
capabilities: Array<string>;
|
|
2274
|
+
deploymentId: string;
|
|
2275
|
+
deviceId: string;
|
|
2276
|
+
deviceType: string;
|
|
2277
|
+
runtimePublicKey: string;
|
|
2278
|
+
type: "device";
|
|
2279
|
+
} | null);
|
|
2280
|
+
participantKind: (("app" | "agent") | "device" | "service");
|
|
2281
|
+
service: ({
|
|
2282
|
+
active: boolean;
|
|
2283
|
+
capabilities: Array<string>;
|
|
2284
|
+
id: string;
|
|
2285
|
+
name: string;
|
|
2286
|
+
type: "service";
|
|
2287
|
+
} | null);
|
|
2288
|
+
user: ({
|
|
2289
|
+
active: boolean;
|
|
2290
|
+
capabilities: Array<string>;
|
|
2291
|
+
email: string;
|
|
2292
|
+
identity: {
|
|
2293
|
+
identityId: string;
|
|
2294
|
+
provider: string;
|
|
2295
|
+
subject: string;
|
|
2296
|
+
};
|
|
2297
|
+
image?: string;
|
|
2298
|
+
lastLogin?: string;
|
|
2299
|
+
name: string;
|
|
2300
|
+
userId: string;
|
|
2301
|
+
} | null);
|
|
1416
2302
|
};
|
|
1417
|
-
export type
|
|
1418
|
-
|
|
1419
|
-
portalId: (string | null);
|
|
1420
|
-
};
|
|
2303
|
+
export type AuthSessionsRevokeInput = {
|
|
2304
|
+
sessionKey: string;
|
|
1421
2305
|
};
|
|
1422
|
-
export type
|
|
1423
|
-
|
|
1424
|
-
portalId: (string | null);
|
|
2306
|
+
export type AuthSessionsRevokeOutput = {
|
|
2307
|
+
success: boolean;
|
|
1425
2308
|
};
|
|
1426
|
-
export type
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
2309
|
+
export type AuthUserIdentitiesListInput = {
|
|
2310
|
+
limit: number;
|
|
2311
|
+
offset?: number;
|
|
2312
|
+
userId: string;
|
|
2313
|
+
};
|
|
2314
|
+
export type AuthUserIdentitiesListOutput = {
|
|
2315
|
+
count: number;
|
|
2316
|
+
entries: Array<{
|
|
2317
|
+
displayName: (string | null);
|
|
2318
|
+
email: (string | null);
|
|
2319
|
+
emailVerified: boolean;
|
|
2320
|
+
identityId: string;
|
|
2321
|
+
lastLoginAt: (string | null);
|
|
2322
|
+
linkedAt: string;
|
|
2323
|
+
provider: string;
|
|
2324
|
+
subject: string;
|
|
2325
|
+
}>;
|
|
2326
|
+
limit: number;
|
|
2327
|
+
nextOffset?: number;
|
|
2328
|
+
offset: number;
|
|
1431
2329
|
};
|
|
1432
|
-
export type
|
|
1433
|
-
|
|
2330
|
+
export type AuthUserIdentitiesUnlinkInput = {
|
|
2331
|
+
identityId: string;
|
|
2332
|
+
userId: string;
|
|
1434
2333
|
};
|
|
1435
|
-
export type
|
|
1436
|
-
|
|
1437
|
-
portalId: (string | null);
|
|
1438
|
-
};
|
|
2334
|
+
export type AuthUserIdentitiesUnlinkOutput = {
|
|
2335
|
+
success: boolean;
|
|
1439
2336
|
};
|
|
1440
|
-
export type
|
|
1441
|
-
|
|
1442
|
-
|
|
2337
|
+
export type AuthUsersCreateInput = {
|
|
2338
|
+
active?: boolean;
|
|
2339
|
+
capabilities?: Array<string>;
|
|
2340
|
+
capabilityGroups?: Array<string>;
|
|
2341
|
+
email?: string;
|
|
2342
|
+
name?: string;
|
|
2343
|
+
username?: string;
|
|
1443
2344
|
};
|
|
1444
|
-
export type
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
2345
|
+
export type AuthUsersCreateOutput = {
|
|
2346
|
+
user: {
|
|
2347
|
+
active: boolean;
|
|
2348
|
+
capabilities: Array<string>;
|
|
2349
|
+
capabilityGroups: Array<string>;
|
|
2350
|
+
email?: string;
|
|
2351
|
+
identities: Array<{
|
|
2352
|
+
displayName: (string | null);
|
|
2353
|
+
email: (string | null);
|
|
2354
|
+
emailVerified: boolean;
|
|
2355
|
+
identityId: string;
|
|
2356
|
+
lastLoginAt: (string | null);
|
|
2357
|
+
linkedAt: string;
|
|
2358
|
+
provider: string;
|
|
2359
|
+
subject: string;
|
|
2360
|
+
}>;
|
|
2361
|
+
name?: string;
|
|
2362
|
+
userId: string;
|
|
1448
2363
|
};
|
|
1449
2364
|
};
|
|
1450
|
-
export type
|
|
1451
|
-
|
|
1452
|
-
contractId: string;
|
|
1453
|
-
entryUrl: string;
|
|
1454
|
-
portalId: string;
|
|
2365
|
+
export type AuthUsersGetInput = {
|
|
2366
|
+
userId: string;
|
|
1455
2367
|
};
|
|
1456
|
-
export type
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
2368
|
+
export type AuthUsersGetOutput = {
|
|
2369
|
+
user: {
|
|
2370
|
+
active: boolean;
|
|
2371
|
+
capabilities: Array<string>;
|
|
2372
|
+
capabilityGroups: Array<string>;
|
|
2373
|
+
email?: string;
|
|
2374
|
+
identities: Array<{
|
|
2375
|
+
displayName: (string | null);
|
|
2376
|
+
email: (string | null);
|
|
2377
|
+
emailVerified: boolean;
|
|
2378
|
+
identityId: string;
|
|
2379
|
+
lastLoginAt: (string | null);
|
|
2380
|
+
linkedAt: string;
|
|
2381
|
+
provider: string;
|
|
2382
|
+
subject: string;
|
|
2383
|
+
}>;
|
|
2384
|
+
name?: string;
|
|
2385
|
+
userId: string;
|
|
1466
2386
|
};
|
|
1467
2387
|
};
|
|
1468
|
-
export type
|
|
1469
|
-
|
|
1470
|
-
deploymentId: string;
|
|
1471
|
-
digests?: Array<string>;
|
|
2388
|
+
export type AuthUsersIdentityLinkCreateInput = {
|
|
2389
|
+
returnTo?: string;
|
|
1472
2390
|
};
|
|
1473
|
-
export type
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
contractId: string;
|
|
1478
|
-
}>;
|
|
1479
|
-
deploymentId: string;
|
|
1480
|
-
disabled: boolean;
|
|
1481
|
-
reviewMode?: ("none" | "required");
|
|
1482
|
-
};
|
|
2391
|
+
export type AuthUsersIdentityLinkCreateOutput = {
|
|
2392
|
+
expiresAt: string;
|
|
2393
|
+
flowId: string;
|
|
2394
|
+
url: string;
|
|
1483
2395
|
};
|
|
1484
|
-
export type
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
digests?: Array<string>;
|
|
2396
|
+
export type AuthUsersListInput = {
|
|
2397
|
+
limit: number;
|
|
2398
|
+
offset?: number;
|
|
1488
2399
|
};
|
|
1489
|
-
export type
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
dlq: boolean;
|
|
1506
|
-
logs: boolean;
|
|
1507
|
-
maxDeliver: number;
|
|
1508
|
-
payload: {
|
|
1509
|
-
schema: string;
|
|
1510
|
-
};
|
|
1511
|
-
progress: boolean;
|
|
1512
|
-
publishPrefix: string;
|
|
1513
|
-
queueType: string;
|
|
1514
|
-
result?: {
|
|
1515
|
-
schema: string;
|
|
1516
|
-
};
|
|
1517
|
-
workSubject: string;
|
|
1518
|
-
};
|
|
1519
|
-
};
|
|
1520
|
-
workStream?: string;
|
|
1521
|
-
};
|
|
1522
|
-
kv?: {
|
|
1523
|
-
[k: string]: {
|
|
1524
|
-
bucket: string;
|
|
1525
|
-
history: number;
|
|
1526
|
-
maxValueBytes?: number;
|
|
1527
|
-
ttlMs: number;
|
|
1528
|
-
};
|
|
1529
|
-
};
|
|
1530
|
-
store?: {
|
|
1531
|
-
[k: string]: {
|
|
1532
|
-
maxObjectBytes?: number;
|
|
1533
|
-
maxTotalBytes?: number;
|
|
1534
|
-
name: string;
|
|
1535
|
-
ttlMs: number;
|
|
1536
|
-
};
|
|
1537
|
-
};
|
|
1538
|
-
};
|
|
1539
|
-
};
|
|
2400
|
+
export type AuthUsersListOutput = {
|
|
2401
|
+
count: number;
|
|
2402
|
+
entries: Array<{
|
|
2403
|
+
active: boolean;
|
|
2404
|
+
capabilities: Array<string>;
|
|
2405
|
+
capabilityGroups: Array<string>;
|
|
2406
|
+
email?: string;
|
|
2407
|
+
identities: Array<{
|
|
2408
|
+
displayName: (string | null);
|
|
2409
|
+
email: (string | null);
|
|
2410
|
+
emailVerified: boolean;
|
|
2411
|
+
identityId: string;
|
|
2412
|
+
lastLoginAt: (string | null);
|
|
2413
|
+
linkedAt: string;
|
|
2414
|
+
provider: string;
|
|
2415
|
+
subject: string;
|
|
1540
2416
|
}>;
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
2417
|
+
name?: string;
|
|
2418
|
+
userId: string;
|
|
2419
|
+
}>;
|
|
2420
|
+
limit: number;
|
|
2421
|
+
nextOffset?: number;
|
|
2422
|
+
offset: number;
|
|
1545
2423
|
};
|
|
1546
|
-
export type
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
id: string;
|
|
1550
|
-
origin: string;
|
|
2424
|
+
export type AuthUsersPasswordChangeInput = {
|
|
2425
|
+
currentPassword: string;
|
|
2426
|
+
newPassword: string;
|
|
1551
2427
|
};
|
|
1552
|
-
export type
|
|
2428
|
+
export type AuthUsersPasswordChangeOutput = {
|
|
1553
2429
|
success: boolean;
|
|
1554
2430
|
};
|
|
1555
|
-
export type
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
impliedCapabilities: Array<string>;
|
|
2431
|
+
export type AuthUsersPasswordResetCreateInput = {
|
|
2432
|
+
expiresInSeconds?: number;
|
|
2433
|
+
userId: string;
|
|
1559
2434
|
};
|
|
1560
|
-
export type
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
createdAt: string;
|
|
1565
|
-
disabled: boolean;
|
|
1566
|
-
impliedCapabilities: Array<string>;
|
|
1567
|
-
source: ({
|
|
1568
|
-
createdBy?: {
|
|
1569
|
-
id: string;
|
|
1570
|
-
origin: string;
|
|
1571
|
-
};
|
|
1572
|
-
kind: "admin_policy";
|
|
1573
|
-
updatedBy?: {
|
|
1574
|
-
id: string;
|
|
1575
|
-
origin: string;
|
|
1576
|
-
};
|
|
1577
|
-
} | {
|
|
1578
|
-
entryUrl: string;
|
|
1579
|
-
kind: "portal_profile";
|
|
1580
|
-
portalId: string;
|
|
1581
|
-
});
|
|
1582
|
-
updatedAt: string;
|
|
1583
|
-
};
|
|
2435
|
+
export type AuthUsersPasswordResetCreateOutput = {
|
|
2436
|
+
expiresAt: string;
|
|
2437
|
+
flowId: string;
|
|
2438
|
+
url: string;
|
|
1584
2439
|
};
|
|
1585
|
-
export type
|
|
2440
|
+
export type AuthUsersUpdateInput = {
|
|
2441
|
+
active?: boolean;
|
|
1586
2442
|
capabilities?: Array<string>;
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
2443
|
+
capabilityGroups?: Array<string>;
|
|
2444
|
+
email?: string;
|
|
2445
|
+
name?: string;
|
|
2446
|
+
userId: string;
|
|
1591
2447
|
};
|
|
1592
|
-
export type
|
|
1593
|
-
|
|
1594
|
-
caller: ({
|
|
1595
|
-
active: boolean;
|
|
1596
|
-
capabilities: Array<string>;
|
|
1597
|
-
email: string;
|
|
1598
|
-
id: string;
|
|
1599
|
-
image?: string;
|
|
1600
|
-
name: string;
|
|
1601
|
-
origin: string;
|
|
1602
|
-
participantKind: ("app" | "agent");
|
|
1603
|
-
trellisId: string;
|
|
1604
|
-
type: "user";
|
|
1605
|
-
} | {
|
|
1606
|
-
active: boolean;
|
|
1607
|
-
capabilities: Array<string>;
|
|
1608
|
-
id: string;
|
|
1609
|
-
name: string;
|
|
1610
|
-
type: "service";
|
|
1611
|
-
} | {
|
|
1612
|
-
active: boolean;
|
|
1613
|
-
capabilities: Array<string>;
|
|
1614
|
-
deploymentId: string;
|
|
1615
|
-
deviceId: string;
|
|
1616
|
-
deviceType: string;
|
|
1617
|
-
runtimePublicKey: string;
|
|
1618
|
-
type: "device";
|
|
1619
|
-
});
|
|
1620
|
-
inboxPrefix: string;
|
|
2448
|
+
export type AuthUsersUpdateOutput = {
|
|
2449
|
+
success: boolean;
|
|
1621
2450
|
};
|
|
1622
|
-
export type
|
|
2451
|
+
export type AuthDeviceUserAuthoritiesResolveInput = {
|
|
1623
2452
|
flowId: string;
|
|
1624
2453
|
};
|
|
1625
|
-
export type
|
|
2454
|
+
export type AuthDeviceUserAuthoritiesResolveProgress = {
|
|
1626
2455
|
deploymentId: string;
|
|
1627
2456
|
instanceId: string;
|
|
1628
2457
|
requestedAt: string;
|
|
1629
2458
|
reviewId: string;
|
|
1630
2459
|
status: "pending_review";
|
|
1631
2460
|
};
|
|
1632
|
-
export type
|
|
2461
|
+
export type AuthDeviceUserAuthoritiesResolveOutput = ({
|
|
1633
2462
|
activatedAt: string;
|
|
1634
2463
|
confirmationCode?: string;
|
|
1635
2464
|
deploymentId: string;
|
|
@@ -1639,7 +2468,7 @@ export type AuthActivateDeviceOutput = ({
|
|
|
1639
2468
|
reason?: string;
|
|
1640
2469
|
status: "rejected";
|
|
1641
2470
|
});
|
|
1642
|
-
export type
|
|
2471
|
+
export type AuthConnectionsClosedEvent = ({
|
|
1643
2472
|
header: {
|
|
1644
2473
|
id: string;
|
|
1645
2474
|
time: string;
|
|
@@ -1650,7 +2479,7 @@ export type AuthConnectEvent = ({
|
|
|
1650
2479
|
sessionKey: string;
|
|
1651
2480
|
userNkey: string;
|
|
1652
2481
|
});
|
|
1653
|
-
export type
|
|
2482
|
+
export type AuthConnectionsKickedEvent = ({
|
|
1654
2483
|
header: {
|
|
1655
2484
|
id: string;
|
|
1656
2485
|
time: string;
|
|
@@ -1661,23 +2490,27 @@ export type AuthConnectionKickedEvent = ({
|
|
|
1661
2490
|
origin: string;
|
|
1662
2491
|
userNkey: string;
|
|
1663
2492
|
});
|
|
1664
|
-
export type
|
|
1665
|
-
|
|
1666
|
-
activatedBy: {
|
|
2493
|
+
export type AuthConnectionsOpenedEvent = ({
|
|
2494
|
+
header: {
|
|
1667
2495
|
id: string;
|
|
1668
|
-
|
|
2496
|
+
time: string;
|
|
1669
2497
|
};
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
};
|
|
1676
|
-
export type
|
|
2498
|
+
} & {
|
|
2499
|
+
id: string;
|
|
2500
|
+
origin: string;
|
|
2501
|
+
sessionKey: string;
|
|
2502
|
+
userNkey: string;
|
|
2503
|
+
});
|
|
2504
|
+
export type AuthDeviceUserAuthoritiesApprovedEvent = {
|
|
1677
2505
|
approvedAt: string;
|
|
1678
2506
|
approvedBy: {
|
|
1679
|
-
|
|
1680
|
-
|
|
2507
|
+
identity: {
|
|
2508
|
+
identityId: string;
|
|
2509
|
+
provider: string;
|
|
2510
|
+
subject: string;
|
|
2511
|
+
};
|
|
2512
|
+
participantKind: ("app" | "agent");
|
|
2513
|
+
userId: string;
|
|
1681
2514
|
};
|
|
1682
2515
|
deploymentId: string;
|
|
1683
2516
|
flowId: string;
|
|
@@ -1685,46 +2518,67 @@ export type AuthDeviceActivationApprovedEvent = {
|
|
|
1685
2518
|
publicIdentityKey: string;
|
|
1686
2519
|
requestedAt: string;
|
|
1687
2520
|
requestedBy: {
|
|
1688
|
-
|
|
1689
|
-
|
|
2521
|
+
identity: {
|
|
2522
|
+
identityId: string;
|
|
2523
|
+
provider: string;
|
|
2524
|
+
subject: string;
|
|
2525
|
+
};
|
|
2526
|
+
participantKind: ("app" | "agent");
|
|
2527
|
+
userId: string;
|
|
1690
2528
|
};
|
|
1691
2529
|
reviewId: string;
|
|
1692
2530
|
};
|
|
1693
|
-
export type
|
|
2531
|
+
export type AuthDeviceUserAuthoritiesRequestedEvent = {
|
|
1694
2532
|
deploymentId: string;
|
|
1695
2533
|
flowId: string;
|
|
1696
2534
|
instanceId: string;
|
|
1697
2535
|
publicIdentityKey: string;
|
|
1698
2536
|
requestedAt: string;
|
|
1699
2537
|
requestedBy: {
|
|
1700
|
-
|
|
1701
|
-
|
|
2538
|
+
identity: {
|
|
2539
|
+
identityId: string;
|
|
2540
|
+
provider: string;
|
|
2541
|
+
subject: string;
|
|
2542
|
+
};
|
|
2543
|
+
participantKind: ("app" | "agent");
|
|
2544
|
+
userId: string;
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2547
|
+
export type AuthDeviceUserAuthoritiesResolvedEvent = {
|
|
2548
|
+
deploymentId: string;
|
|
2549
|
+
flowId?: string;
|
|
2550
|
+
instanceId: string;
|
|
2551
|
+
publicIdentityKey: string;
|
|
2552
|
+
resolvedAt: string;
|
|
2553
|
+
resolvedBy: {
|
|
2554
|
+
identity: {
|
|
2555
|
+
identityId: string;
|
|
2556
|
+
provider: string;
|
|
2557
|
+
subject: string;
|
|
2558
|
+
};
|
|
2559
|
+
participantKind: ("app" | "agent");
|
|
2560
|
+
userId: string;
|
|
1702
2561
|
};
|
|
2562
|
+
reviewId?: string;
|
|
1703
2563
|
};
|
|
1704
|
-
export type
|
|
2564
|
+
export type AuthDeviceUserAuthoritiesReviewRequestedEvent = {
|
|
1705
2565
|
deploymentId: string;
|
|
1706
2566
|
flowId: string;
|
|
1707
2567
|
instanceId: string;
|
|
1708
2568
|
publicIdentityKey: string;
|
|
1709
2569
|
requestedAt: string;
|
|
1710
2570
|
requestedBy: {
|
|
1711
|
-
|
|
1712
|
-
|
|
2571
|
+
identity: {
|
|
2572
|
+
identityId: string;
|
|
2573
|
+
provider: string;
|
|
2574
|
+
subject: string;
|
|
2575
|
+
};
|
|
2576
|
+
participantKind: ("app" | "agent");
|
|
2577
|
+
userId: string;
|
|
1713
2578
|
};
|
|
1714
2579
|
reviewId: string;
|
|
1715
2580
|
};
|
|
1716
|
-
export type
|
|
1717
|
-
header: {
|
|
1718
|
-
id: string;
|
|
1719
|
-
time: string;
|
|
1720
|
-
};
|
|
1721
|
-
} & {
|
|
1722
|
-
id: string;
|
|
1723
|
-
origin: string;
|
|
1724
|
-
sessionKey: string;
|
|
1725
|
-
userNkey: string;
|
|
1726
|
-
});
|
|
1727
|
-
export type AuthSessionRevokedEvent = ({
|
|
2581
|
+
export type AuthSessionsRevokedEvent = ({
|
|
1728
2582
|
header: {
|
|
1729
2583
|
id: string;
|
|
1730
2584
|
time: string;
|
|
@@ -1736,353 +2590,360 @@ export type AuthSessionRevokedEvent = ({
|
|
|
1736
2590
|
sessionKey: string;
|
|
1737
2591
|
});
|
|
1738
2592
|
export interface RpcMap {
|
|
1739
|
-
"Auth.
|
|
1740
|
-
input:
|
|
1741
|
-
output:
|
|
2593
|
+
"Auth.Capabilities.List": {
|
|
2594
|
+
input: AuthCapabilitiesListInput;
|
|
2595
|
+
output: AuthCapabilitiesListOutput;
|
|
1742
2596
|
};
|
|
1743
|
-
"Auth.
|
|
1744
|
-
input:
|
|
1745
|
-
output:
|
|
2597
|
+
"Auth.CapabilityGroups.Delete": {
|
|
2598
|
+
input: AuthCapabilityGroupsDeleteInput;
|
|
2599
|
+
output: AuthCapabilityGroupsDeleteOutput;
|
|
1746
2600
|
};
|
|
1747
|
-
"Auth.
|
|
1748
|
-
input:
|
|
1749
|
-
output:
|
|
2601
|
+
"Auth.CapabilityGroups.Get": {
|
|
2602
|
+
input: AuthCapabilityGroupsGetInput;
|
|
2603
|
+
output: AuthCapabilityGroupsGetOutput;
|
|
1750
2604
|
};
|
|
1751
|
-
"Auth.
|
|
1752
|
-
input:
|
|
1753
|
-
output:
|
|
2605
|
+
"Auth.CapabilityGroups.List": {
|
|
2606
|
+
input: AuthCapabilityGroupsListInput;
|
|
2607
|
+
output: AuthCapabilityGroupsListOutput;
|
|
1754
2608
|
};
|
|
1755
|
-
"Auth.
|
|
1756
|
-
input:
|
|
1757
|
-
output:
|
|
2609
|
+
"Auth.CapabilityGroups.Put": {
|
|
2610
|
+
input: AuthCapabilityGroupsPutInput;
|
|
2611
|
+
output: AuthCapabilityGroupsPutOutput;
|
|
1758
2612
|
};
|
|
1759
|
-
"Auth.
|
|
1760
|
-
input:
|
|
1761
|
-
output:
|
|
2613
|
+
"Auth.CatalogIssues.Resolve": {
|
|
2614
|
+
input: AuthCatalogIssuesResolveInput;
|
|
2615
|
+
output: AuthCatalogIssuesResolveOutput;
|
|
1762
2616
|
};
|
|
1763
|
-
"Auth.
|
|
1764
|
-
input:
|
|
1765
|
-
output:
|
|
2617
|
+
"Auth.Connections.Kick": {
|
|
2618
|
+
input: AuthConnectionsKickInput;
|
|
2619
|
+
output: AuthConnectionsKickOutput;
|
|
1766
2620
|
};
|
|
1767
|
-
"Auth.
|
|
1768
|
-
input:
|
|
1769
|
-
output:
|
|
2621
|
+
"Auth.Connections.List": {
|
|
2622
|
+
input: AuthConnectionsListInput;
|
|
2623
|
+
output: AuthConnectionsListOutput;
|
|
1770
2624
|
};
|
|
1771
|
-
"Auth.
|
|
1772
|
-
input:
|
|
1773
|
-
output:
|
|
2625
|
+
"Auth.Deployments.Create": {
|
|
2626
|
+
input: AuthDeploymentsCreateInput;
|
|
2627
|
+
output: AuthDeploymentsCreateOutput;
|
|
1774
2628
|
};
|
|
1775
|
-
"Auth.
|
|
1776
|
-
input:
|
|
1777
|
-
output:
|
|
2629
|
+
"Auth.Deployments.Disable": {
|
|
2630
|
+
input: AuthDeploymentsDisableInput;
|
|
2631
|
+
output: AuthDeploymentsDisableOutput;
|
|
1778
2632
|
};
|
|
1779
|
-
"Auth.
|
|
1780
|
-
input:
|
|
1781
|
-
output:
|
|
2633
|
+
"Auth.Deployments.Enable": {
|
|
2634
|
+
input: AuthDeploymentsEnableInput;
|
|
2635
|
+
output: AuthDeploymentsEnableOutput;
|
|
1782
2636
|
};
|
|
1783
|
-
"Auth.
|
|
1784
|
-
input:
|
|
1785
|
-
output:
|
|
2637
|
+
"Auth.Deployments.List": {
|
|
2638
|
+
input: AuthDeploymentsListInput;
|
|
2639
|
+
output: AuthDeploymentsListOutput;
|
|
1786
2640
|
};
|
|
1787
|
-
"Auth.
|
|
1788
|
-
input:
|
|
1789
|
-
output:
|
|
2641
|
+
"Auth.Deployments.Remove": {
|
|
2642
|
+
input: AuthDeploymentsRemoveInput;
|
|
2643
|
+
output: AuthDeploymentsRemoveOutput;
|
|
1790
2644
|
};
|
|
1791
|
-
"Auth.
|
|
1792
|
-
input:
|
|
1793
|
-
output:
|
|
2645
|
+
"Auth.DeviceUserAuthorities.List": {
|
|
2646
|
+
input: AuthDeviceUserAuthoritiesListInput;
|
|
2647
|
+
output: AuthDeviceUserAuthoritiesListOutput;
|
|
1794
2648
|
};
|
|
1795
|
-
"Auth.
|
|
1796
|
-
input:
|
|
1797
|
-
output:
|
|
2649
|
+
"Auth.DeviceUserAuthorities.Reviews.Decide": {
|
|
2650
|
+
input: AuthDeviceUserAuthoritiesReviewsDecideInput;
|
|
2651
|
+
output: AuthDeviceUserAuthoritiesReviewsDecideOutput;
|
|
1798
2652
|
};
|
|
1799
|
-
"Auth.
|
|
1800
|
-
input:
|
|
1801
|
-
output:
|
|
2653
|
+
"Auth.DeviceUserAuthorities.Reviews.List": {
|
|
2654
|
+
input: AuthDeviceUserAuthoritiesReviewsListInput;
|
|
2655
|
+
output: AuthDeviceUserAuthoritiesReviewsListOutput;
|
|
1802
2656
|
};
|
|
1803
|
-
"Auth.
|
|
1804
|
-
input:
|
|
1805
|
-
output:
|
|
2657
|
+
"Auth.DeviceUserAuthorities.Revoke": {
|
|
2658
|
+
input: AuthDeviceUserAuthoritiesRevokeInput;
|
|
2659
|
+
output: AuthDeviceUserAuthoritiesRevokeOutput;
|
|
1806
2660
|
};
|
|
1807
|
-
"Auth.
|
|
1808
|
-
input:
|
|
1809
|
-
output:
|
|
2661
|
+
"Auth.Devices.ConnectInfo.Get": {
|
|
2662
|
+
input: AuthDevicesConnectInfoGetInput;
|
|
2663
|
+
output: AuthDevicesConnectInfoGetOutput;
|
|
1810
2664
|
};
|
|
1811
|
-
"Auth.
|
|
1812
|
-
input:
|
|
1813
|
-
output:
|
|
2665
|
+
"Auth.Devices.Disable": {
|
|
2666
|
+
input: AuthDevicesDisableInput;
|
|
2667
|
+
output: AuthDevicesDisableOutput;
|
|
1814
2668
|
};
|
|
1815
|
-
"Auth.
|
|
1816
|
-
input:
|
|
1817
|
-
output:
|
|
2669
|
+
"Auth.Devices.Enable": {
|
|
2670
|
+
input: AuthDevicesEnableInput;
|
|
2671
|
+
output: AuthDevicesEnableOutput;
|
|
1818
2672
|
};
|
|
1819
|
-
"Auth.
|
|
1820
|
-
input:
|
|
1821
|
-
output:
|
|
2673
|
+
"Auth.Devices.List": {
|
|
2674
|
+
input: AuthDevicesListInput;
|
|
2675
|
+
output: AuthDevicesListOutput;
|
|
1822
2676
|
};
|
|
1823
|
-
"Auth.
|
|
1824
|
-
input:
|
|
1825
|
-
output:
|
|
2677
|
+
"Auth.Devices.Provision": {
|
|
2678
|
+
input: AuthDevicesProvisionInput;
|
|
2679
|
+
output: AuthDevicesProvisionOutput;
|
|
1826
2680
|
};
|
|
1827
|
-
"Auth.
|
|
1828
|
-
input:
|
|
1829
|
-
output:
|
|
2681
|
+
"Auth.Devices.Remove": {
|
|
2682
|
+
input: AuthDevicesRemoveInput;
|
|
2683
|
+
output: AuthDevicesRemoveOutput;
|
|
1830
2684
|
};
|
|
1831
|
-
"Auth.
|
|
1832
|
-
input:
|
|
1833
|
-
output:
|
|
2685
|
+
"Auth.EnvelopeExpansions.Approve": {
|
|
2686
|
+
input: AuthEnvelopeExpansionsApproveInput;
|
|
2687
|
+
output: AuthEnvelopeExpansionsApproveOutput;
|
|
2688
|
+
};
|
|
2689
|
+
"Auth.EnvelopeExpansions.List": {
|
|
2690
|
+
input: AuthEnvelopeExpansionsListInput;
|
|
2691
|
+
output: AuthEnvelopeExpansionsListOutput;
|
|
1834
2692
|
};
|
|
1835
|
-
"Auth.
|
|
1836
|
-
input:
|
|
1837
|
-
output:
|
|
2693
|
+
"Auth.EnvelopeExpansions.Reject": {
|
|
2694
|
+
input: AuthEnvelopeExpansionsRejectInput;
|
|
2695
|
+
output: AuthEnvelopeExpansionsRejectOutput;
|
|
1838
2696
|
};
|
|
1839
|
-
"Auth.
|
|
1840
|
-
input:
|
|
1841
|
-
output:
|
|
2697
|
+
"Auth.Envelopes.Changes.Preview": {
|
|
2698
|
+
input: AuthEnvelopesChangesPreviewInput;
|
|
2699
|
+
output: AuthEnvelopesChangesPreviewOutput;
|
|
1842
2700
|
};
|
|
1843
|
-
"Auth.
|
|
1844
|
-
input:
|
|
1845
|
-
output:
|
|
2701
|
+
"Auth.Envelopes.Expand": {
|
|
2702
|
+
input: AuthEnvelopesExpandInput;
|
|
2703
|
+
output: AuthEnvelopesExpandOutput;
|
|
1846
2704
|
};
|
|
1847
|
-
"Auth.
|
|
1848
|
-
input:
|
|
1849
|
-
output:
|
|
2705
|
+
"Auth.Envelopes.Get": {
|
|
2706
|
+
input: AuthEnvelopesGetInput;
|
|
2707
|
+
output: AuthEnvelopesGetOutput;
|
|
1850
2708
|
};
|
|
1851
|
-
"Auth.
|
|
1852
|
-
input:
|
|
1853
|
-
output:
|
|
2709
|
+
"Auth.Envelopes.GrantOverrides.List": {
|
|
2710
|
+
input: AuthEnvelopesGrantOverridesListInput;
|
|
2711
|
+
output: AuthEnvelopesGrantOverridesListOutput;
|
|
1854
2712
|
};
|
|
1855
|
-
"Auth.
|
|
1856
|
-
input:
|
|
1857
|
-
output:
|
|
2713
|
+
"Auth.Envelopes.GrantOverrides.Put": {
|
|
2714
|
+
input: AuthEnvelopesGrantOverridesPutInput;
|
|
2715
|
+
output: AuthEnvelopesGrantOverridesPutOutput;
|
|
1858
2716
|
};
|
|
1859
|
-
"Auth.
|
|
1860
|
-
input:
|
|
1861
|
-
output:
|
|
2717
|
+
"Auth.Envelopes.GrantOverrides.Remove": {
|
|
2718
|
+
input: AuthEnvelopesGrantOverridesRemoveInput;
|
|
2719
|
+
output: AuthEnvelopesGrantOverridesRemoveOutput;
|
|
1862
2720
|
};
|
|
1863
|
-
"Auth.
|
|
1864
|
-
input:
|
|
1865
|
-
output:
|
|
2721
|
+
"Auth.Envelopes.List": {
|
|
2722
|
+
input: AuthEnvelopesListInput;
|
|
2723
|
+
output: AuthEnvelopesListOutput;
|
|
1866
2724
|
};
|
|
1867
|
-
"Auth.
|
|
1868
|
-
input:
|
|
1869
|
-
output:
|
|
2725
|
+
"Auth.Envelopes.Shrink": {
|
|
2726
|
+
input: AuthEnvelopesShrinkInput;
|
|
2727
|
+
output: AuthEnvelopesShrinkOutput;
|
|
1870
2728
|
};
|
|
1871
|
-
"Auth.
|
|
1872
|
-
input:
|
|
1873
|
-
output:
|
|
2729
|
+
"Auth.Health": {
|
|
2730
|
+
input: AuthHealthInput;
|
|
2731
|
+
output: AuthHealthOutput;
|
|
1874
2732
|
};
|
|
1875
|
-
"Auth.
|
|
1876
|
-
input:
|
|
1877
|
-
output:
|
|
2733
|
+
"Auth.Identities.Grants.List": {
|
|
2734
|
+
input: AuthIdentitiesGrantsListInput;
|
|
2735
|
+
output: AuthIdentitiesGrantsListOutput;
|
|
1878
2736
|
};
|
|
1879
|
-
"Auth.
|
|
1880
|
-
input:
|
|
1881
|
-
output:
|
|
2737
|
+
"Auth.Identities.List": {
|
|
2738
|
+
input: AuthIdentitiesListInput;
|
|
2739
|
+
output: AuthIdentitiesListOutput;
|
|
1882
2740
|
};
|
|
1883
|
-
"Auth.
|
|
1884
|
-
input:
|
|
1885
|
-
output:
|
|
2741
|
+
"Auth.IdentityEnvelopes.Revoke": {
|
|
2742
|
+
input: AuthIdentityEnvelopesRevokeInput;
|
|
2743
|
+
output: AuthIdentityEnvelopesRevokeOutput;
|
|
1886
2744
|
};
|
|
1887
|
-
"Auth.
|
|
1888
|
-
input:
|
|
1889
|
-
output:
|
|
2745
|
+
"Auth.Portals.Get": {
|
|
2746
|
+
input: AuthPortalsGetInput;
|
|
2747
|
+
output: AuthPortalsGetOutput;
|
|
1890
2748
|
};
|
|
1891
|
-
"Auth.
|
|
1892
|
-
input:
|
|
1893
|
-
output:
|
|
2749
|
+
"Auth.Portals.List": {
|
|
2750
|
+
input: AuthPortalsListInput;
|
|
2751
|
+
output: AuthPortalsListOutput;
|
|
1894
2752
|
};
|
|
1895
|
-
"Auth.
|
|
1896
|
-
input:
|
|
1897
|
-
output:
|
|
2753
|
+
"Auth.Portals.LoginSettings.Get": {
|
|
2754
|
+
input: AuthPortalsLoginSettingsGetInput;
|
|
2755
|
+
output: AuthPortalsLoginSettingsGetOutput;
|
|
1898
2756
|
};
|
|
1899
|
-
"Auth.
|
|
1900
|
-
input:
|
|
1901
|
-
output:
|
|
2757
|
+
"Auth.Portals.LoginSettings.Update": {
|
|
2758
|
+
input: AuthPortalsLoginSettingsUpdateInput;
|
|
2759
|
+
output: AuthPortalsLoginSettingsUpdateOutput;
|
|
1902
2760
|
};
|
|
1903
|
-
"Auth.
|
|
1904
|
-
input:
|
|
1905
|
-
output:
|
|
2761
|
+
"Auth.Portals.Put": {
|
|
2762
|
+
input: AuthPortalsPutInput;
|
|
2763
|
+
output: AuthPortalsPutOutput;
|
|
1906
2764
|
};
|
|
1907
|
-
"Auth.
|
|
1908
|
-
input:
|
|
1909
|
-
output:
|
|
2765
|
+
"Auth.Portals.Remove": {
|
|
2766
|
+
input: AuthPortalsRemoveInput;
|
|
2767
|
+
output: AuthPortalsRemoveOutput;
|
|
1910
2768
|
};
|
|
1911
|
-
"Auth.
|
|
1912
|
-
input:
|
|
1913
|
-
output:
|
|
2769
|
+
"Auth.Portals.Routes.Put": {
|
|
2770
|
+
input: AuthPortalsRoutesPutInput;
|
|
2771
|
+
output: AuthPortalsRoutesPutOutput;
|
|
1914
2772
|
};
|
|
1915
|
-
"Auth.
|
|
1916
|
-
input:
|
|
1917
|
-
output:
|
|
2773
|
+
"Auth.Portals.Routes.Remove": {
|
|
2774
|
+
input: AuthPortalsRoutesRemoveInput;
|
|
2775
|
+
output: AuthPortalsRoutesRemoveOutput;
|
|
1918
2776
|
};
|
|
1919
|
-
"Auth.
|
|
1920
|
-
input:
|
|
1921
|
-
output:
|
|
2777
|
+
"Auth.Requests.Validate": {
|
|
2778
|
+
input: AuthRequestsValidateInput;
|
|
2779
|
+
output: AuthRequestsValidateOutput;
|
|
1922
2780
|
};
|
|
1923
|
-
"Auth.
|
|
1924
|
-
input:
|
|
1925
|
-
output:
|
|
2781
|
+
"Auth.ServiceInstances.Disable": {
|
|
2782
|
+
input: AuthServiceInstancesDisableInput;
|
|
2783
|
+
output: AuthServiceInstancesDisableOutput;
|
|
1926
2784
|
};
|
|
1927
|
-
"Auth.
|
|
1928
|
-
input:
|
|
1929
|
-
output:
|
|
2785
|
+
"Auth.ServiceInstances.Enable": {
|
|
2786
|
+
input: AuthServiceInstancesEnableInput;
|
|
2787
|
+
output: AuthServiceInstancesEnableOutput;
|
|
1930
2788
|
};
|
|
1931
|
-
"Auth.
|
|
1932
|
-
input:
|
|
1933
|
-
output:
|
|
2789
|
+
"Auth.ServiceInstances.List": {
|
|
2790
|
+
input: AuthServiceInstancesListInput;
|
|
2791
|
+
output: AuthServiceInstancesListOutput;
|
|
1934
2792
|
};
|
|
1935
|
-
"Auth.
|
|
1936
|
-
input:
|
|
1937
|
-
output:
|
|
2793
|
+
"Auth.ServiceInstances.Provision": {
|
|
2794
|
+
input: AuthServiceInstancesProvisionInput;
|
|
2795
|
+
output: AuthServiceInstancesProvisionOutput;
|
|
1938
2796
|
};
|
|
1939
|
-
"Auth.
|
|
1940
|
-
input:
|
|
1941
|
-
output:
|
|
2797
|
+
"Auth.ServiceInstances.Remove": {
|
|
2798
|
+
input: AuthServiceInstancesRemoveInput;
|
|
2799
|
+
output: AuthServiceInstancesRemoveOutput;
|
|
1942
2800
|
};
|
|
1943
|
-
"Auth.
|
|
1944
|
-
input:
|
|
1945
|
-
output:
|
|
2801
|
+
"Auth.Sessions.List": {
|
|
2802
|
+
input: AuthSessionsListInput;
|
|
2803
|
+
output: AuthSessionsListOutput;
|
|
1946
2804
|
};
|
|
1947
|
-
"Auth.
|
|
1948
|
-
input:
|
|
1949
|
-
output:
|
|
2805
|
+
"Auth.Sessions.Logout": {
|
|
2806
|
+
input: AuthSessionsLogoutInput;
|
|
2807
|
+
output: AuthSessionsLogoutOutput;
|
|
1950
2808
|
};
|
|
1951
|
-
"Auth.
|
|
1952
|
-
input:
|
|
1953
|
-
output:
|
|
2809
|
+
"Auth.Sessions.Me": {
|
|
2810
|
+
input: AuthSessionsMeInput;
|
|
2811
|
+
output: AuthSessionsMeOutput;
|
|
1954
2812
|
};
|
|
1955
|
-
"Auth.
|
|
1956
|
-
input:
|
|
1957
|
-
output:
|
|
2813
|
+
"Auth.Sessions.Revoke": {
|
|
2814
|
+
input: AuthSessionsRevokeInput;
|
|
2815
|
+
output: AuthSessionsRevokeOutput;
|
|
1958
2816
|
};
|
|
1959
|
-
"Auth.
|
|
1960
|
-
input:
|
|
1961
|
-
output:
|
|
2817
|
+
"Auth.UserIdentities.List": {
|
|
2818
|
+
input: AuthUserIdentitiesListInput;
|
|
2819
|
+
output: AuthUserIdentitiesListOutput;
|
|
1962
2820
|
};
|
|
1963
|
-
"Auth.
|
|
1964
|
-
input:
|
|
1965
|
-
output:
|
|
2821
|
+
"Auth.UserIdentities.Unlink": {
|
|
2822
|
+
input: AuthUserIdentitiesUnlinkInput;
|
|
2823
|
+
output: AuthUserIdentitiesUnlinkOutput;
|
|
1966
2824
|
};
|
|
1967
|
-
"Auth.
|
|
1968
|
-
input:
|
|
1969
|
-
output:
|
|
2825
|
+
"Auth.Users.Create": {
|
|
2826
|
+
input: AuthUsersCreateInput;
|
|
2827
|
+
output: AuthUsersCreateOutput;
|
|
1970
2828
|
};
|
|
1971
|
-
"Auth.
|
|
1972
|
-
input:
|
|
1973
|
-
output:
|
|
2829
|
+
"Auth.Users.Get": {
|
|
2830
|
+
input: AuthUsersGetInput;
|
|
2831
|
+
output: AuthUsersGetOutput;
|
|
1974
2832
|
};
|
|
1975
|
-
"Auth.
|
|
1976
|
-
input:
|
|
1977
|
-
output:
|
|
2833
|
+
"Auth.Users.IdentityLink.Create": {
|
|
2834
|
+
input: AuthUsersIdentityLinkCreateInput;
|
|
2835
|
+
output: AuthUsersIdentityLinkCreateOutput;
|
|
1978
2836
|
};
|
|
1979
|
-
"Auth.
|
|
1980
|
-
input:
|
|
1981
|
-
output:
|
|
2837
|
+
"Auth.Users.List": {
|
|
2838
|
+
input: AuthUsersListInput;
|
|
2839
|
+
output: AuthUsersListOutput;
|
|
1982
2840
|
};
|
|
1983
|
-
"Auth.
|
|
1984
|
-
input:
|
|
1985
|
-
output:
|
|
2841
|
+
"Auth.Users.Password.Change": {
|
|
2842
|
+
input: AuthUsersPasswordChangeInput;
|
|
2843
|
+
output: AuthUsersPasswordChangeOutput;
|
|
1986
2844
|
};
|
|
1987
|
-
"Auth.
|
|
1988
|
-
input:
|
|
1989
|
-
output:
|
|
2845
|
+
"Auth.Users.PasswordReset.Create": {
|
|
2846
|
+
input: AuthUsersPasswordResetCreateInput;
|
|
2847
|
+
output: AuthUsersPasswordResetCreateOutput;
|
|
1990
2848
|
};
|
|
1991
|
-
"Auth.
|
|
1992
|
-
input:
|
|
1993
|
-
output:
|
|
2849
|
+
"Auth.Users.Update": {
|
|
2850
|
+
input: AuthUsersUpdateInput;
|
|
2851
|
+
output: AuthUsersUpdateOutput;
|
|
1994
2852
|
};
|
|
1995
2853
|
}
|
|
1996
|
-
export type
|
|
1997
|
-
export type
|
|
1998
|
-
export type
|
|
1999
|
-
export type
|
|
2000
|
-
export type
|
|
2001
|
-
export type
|
|
2002
|
-
export type
|
|
2003
|
-
export type
|
|
2004
|
-
export type
|
|
2005
|
-
export type
|
|
2006
|
-
export type
|
|
2007
|
-
export type
|
|
2008
|
-
export type
|
|
2009
|
-
export type
|
|
2010
|
-
export type
|
|
2011
|
-
export type
|
|
2012
|
-
export type
|
|
2013
|
-
export type
|
|
2014
|
-
export type
|
|
2015
|
-
export type
|
|
2016
|
-
export type
|
|
2017
|
-
export type
|
|
2018
|
-
export type
|
|
2854
|
+
export type AuthCapabilitiesListHandler = RpcHandlerFn<typeof API.owned, "Auth.Capabilities.List">;
|
|
2855
|
+
export type AuthCapabilityGroupsDeleteHandler = RpcHandlerFn<typeof API.owned, "Auth.CapabilityGroups.Delete">;
|
|
2856
|
+
export type AuthCapabilityGroupsGetHandler = RpcHandlerFn<typeof API.owned, "Auth.CapabilityGroups.Get">;
|
|
2857
|
+
export type AuthCapabilityGroupsListHandler = RpcHandlerFn<typeof API.owned, "Auth.CapabilityGroups.List">;
|
|
2858
|
+
export type AuthCapabilityGroupsPutHandler = RpcHandlerFn<typeof API.owned, "Auth.CapabilityGroups.Put">;
|
|
2859
|
+
export type AuthCatalogIssuesResolveHandler = RpcHandlerFn<typeof API.owned, "Auth.CatalogIssues.Resolve">;
|
|
2860
|
+
export type AuthConnectionsKickHandler = RpcHandlerFn<typeof API.owned, "Auth.Connections.Kick">;
|
|
2861
|
+
export type AuthConnectionsListHandler = RpcHandlerFn<typeof API.owned, "Auth.Connections.List">;
|
|
2862
|
+
export type AuthDeploymentsCreateHandler = RpcHandlerFn<typeof API.owned, "Auth.Deployments.Create">;
|
|
2863
|
+
export type AuthDeploymentsDisableHandler = RpcHandlerFn<typeof API.owned, "Auth.Deployments.Disable">;
|
|
2864
|
+
export type AuthDeploymentsEnableHandler = RpcHandlerFn<typeof API.owned, "Auth.Deployments.Enable">;
|
|
2865
|
+
export type AuthDeploymentsListHandler = RpcHandlerFn<typeof API.owned, "Auth.Deployments.List">;
|
|
2866
|
+
export type AuthDeploymentsRemoveHandler = RpcHandlerFn<typeof API.owned, "Auth.Deployments.Remove">;
|
|
2867
|
+
export type AuthDeviceUserAuthoritiesListHandler = RpcHandlerFn<typeof API.owned, "Auth.DeviceUserAuthorities.List">;
|
|
2868
|
+
export type AuthDeviceUserAuthoritiesReviewsDecideHandler = RpcHandlerFn<typeof API.owned, "Auth.DeviceUserAuthorities.Reviews.Decide">;
|
|
2869
|
+
export type AuthDeviceUserAuthoritiesReviewsListHandler = RpcHandlerFn<typeof API.owned, "Auth.DeviceUserAuthorities.Reviews.List">;
|
|
2870
|
+
export type AuthDeviceUserAuthoritiesRevokeHandler = RpcHandlerFn<typeof API.owned, "Auth.DeviceUserAuthorities.Revoke">;
|
|
2871
|
+
export type AuthDevicesConnectInfoGetHandler = RpcHandlerFn<typeof API.owned, "Auth.Devices.ConnectInfo.Get">;
|
|
2872
|
+
export type AuthDevicesDisableHandler = RpcHandlerFn<typeof API.owned, "Auth.Devices.Disable">;
|
|
2873
|
+
export type AuthDevicesEnableHandler = RpcHandlerFn<typeof API.owned, "Auth.Devices.Enable">;
|
|
2874
|
+
export type AuthDevicesListHandler = RpcHandlerFn<typeof API.owned, "Auth.Devices.List">;
|
|
2875
|
+
export type AuthDevicesProvisionHandler = RpcHandlerFn<typeof API.owned, "Auth.Devices.Provision">;
|
|
2876
|
+
export type AuthDevicesRemoveHandler = RpcHandlerFn<typeof API.owned, "Auth.Devices.Remove">;
|
|
2877
|
+
export type AuthEnvelopeExpansionsApproveHandler = RpcHandlerFn<typeof API.owned, "Auth.EnvelopeExpansions.Approve">;
|
|
2878
|
+
export type AuthEnvelopeExpansionsListHandler = RpcHandlerFn<typeof API.owned, "Auth.EnvelopeExpansions.List">;
|
|
2879
|
+
export type AuthEnvelopeExpansionsRejectHandler = RpcHandlerFn<typeof API.owned, "Auth.EnvelopeExpansions.Reject">;
|
|
2880
|
+
export type AuthEnvelopesChangesPreviewHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.Changes.Preview">;
|
|
2881
|
+
export type AuthEnvelopesExpandHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.Expand">;
|
|
2882
|
+
export type AuthEnvelopesGetHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.Get">;
|
|
2883
|
+
export type AuthEnvelopesGrantOverridesListHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.GrantOverrides.List">;
|
|
2884
|
+
export type AuthEnvelopesGrantOverridesPutHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.GrantOverrides.Put">;
|
|
2885
|
+
export type AuthEnvelopesGrantOverridesRemoveHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.GrantOverrides.Remove">;
|
|
2886
|
+
export type AuthEnvelopesListHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.List">;
|
|
2887
|
+
export type AuthEnvelopesShrinkHandler = RpcHandlerFn<typeof API.owned, "Auth.Envelopes.Shrink">;
|
|
2019
2888
|
export type AuthHealthHandler = RpcHandlerFn<typeof API.owned, "Auth.Health">;
|
|
2020
|
-
export type
|
|
2021
|
-
export type
|
|
2022
|
-
export type
|
|
2023
|
-
export type
|
|
2024
|
-
export type
|
|
2025
|
-
export type
|
|
2026
|
-
export type
|
|
2027
|
-
export type
|
|
2028
|
-
export type
|
|
2029
|
-
export type
|
|
2030
|
-
export type
|
|
2031
|
-
export type
|
|
2032
|
-
export type
|
|
2033
|
-
export type
|
|
2034
|
-
export type
|
|
2035
|
-
export type
|
|
2036
|
-
export type
|
|
2037
|
-
export type
|
|
2038
|
-
export type
|
|
2039
|
-
export type
|
|
2040
|
-
export type
|
|
2041
|
-
export type
|
|
2042
|
-
export type
|
|
2043
|
-
export type
|
|
2044
|
-
export type
|
|
2045
|
-
export type
|
|
2046
|
-
export type
|
|
2047
|
-
export type
|
|
2048
|
-
export type
|
|
2049
|
-
export type
|
|
2050
|
-
export type AuthSetDevicePortalDefaultHandler = RpcHandlerFn<typeof API.owned, "Auth.SetDevicePortalDefault">;
|
|
2051
|
-
export type AuthSetDevicePortalSelectionHandler = RpcHandlerFn<typeof API.owned, "Auth.SetDevicePortalSelection">;
|
|
2052
|
-
export type AuthSetLoginPortalDefaultHandler = RpcHandlerFn<typeof API.owned, "Auth.SetLoginPortalDefault">;
|
|
2053
|
-
export type AuthSetLoginPortalSelectionHandler = RpcHandlerFn<typeof API.owned, "Auth.SetLoginPortalSelection">;
|
|
2054
|
-
export type AuthSetPortalProfileHandler = RpcHandlerFn<typeof API.owned, "Auth.SetPortalProfile">;
|
|
2055
|
-
export type AuthUnapplyDeviceDeploymentContractHandler = RpcHandlerFn<typeof API.owned, "Auth.UnapplyDeviceDeploymentContract">;
|
|
2056
|
-
export type AuthUnapplyServiceDeploymentContractHandler = RpcHandlerFn<typeof API.owned, "Auth.UnapplyServiceDeploymentContract">;
|
|
2057
|
-
export type AuthUpdateUserHandler = RpcHandlerFn<typeof API.owned, "Auth.UpdateUser">;
|
|
2058
|
-
export type AuthUpsertInstanceGrantPolicyHandler = RpcHandlerFn<typeof API.owned, "Auth.UpsertInstanceGrantPolicy">;
|
|
2059
|
-
export type AuthValidateRequestHandler = RpcHandlerFn<typeof API.owned, "Auth.ValidateRequest">;
|
|
2889
|
+
export type AuthIdentitiesGrantsListHandler = RpcHandlerFn<typeof API.owned, "Auth.Identities.Grants.List">;
|
|
2890
|
+
export type AuthIdentitiesListHandler = RpcHandlerFn<typeof API.owned, "Auth.Identities.List">;
|
|
2891
|
+
export type AuthIdentityEnvelopesRevokeHandler = RpcHandlerFn<typeof API.owned, "Auth.IdentityEnvelopes.Revoke">;
|
|
2892
|
+
export type AuthPortalsGetHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.Get">;
|
|
2893
|
+
export type AuthPortalsListHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.List">;
|
|
2894
|
+
export type AuthPortalsLoginSettingsGetHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.LoginSettings.Get">;
|
|
2895
|
+
export type AuthPortalsLoginSettingsUpdateHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.LoginSettings.Update">;
|
|
2896
|
+
export type AuthPortalsPutHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.Put">;
|
|
2897
|
+
export type AuthPortalsRemoveHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.Remove">;
|
|
2898
|
+
export type AuthPortalsRoutesPutHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.Routes.Put">;
|
|
2899
|
+
export type AuthPortalsRoutesRemoveHandler = RpcHandlerFn<typeof API.owned, "Auth.Portals.Routes.Remove">;
|
|
2900
|
+
export type AuthRequestsValidateHandler = RpcHandlerFn<typeof API.owned, "Auth.Requests.Validate">;
|
|
2901
|
+
export type AuthServiceInstancesDisableHandler = RpcHandlerFn<typeof API.owned, "Auth.ServiceInstances.Disable">;
|
|
2902
|
+
export type AuthServiceInstancesEnableHandler = RpcHandlerFn<typeof API.owned, "Auth.ServiceInstances.Enable">;
|
|
2903
|
+
export type AuthServiceInstancesListHandler = RpcHandlerFn<typeof API.owned, "Auth.ServiceInstances.List">;
|
|
2904
|
+
export type AuthServiceInstancesProvisionHandler = RpcHandlerFn<typeof API.owned, "Auth.ServiceInstances.Provision">;
|
|
2905
|
+
export type AuthServiceInstancesRemoveHandler = RpcHandlerFn<typeof API.owned, "Auth.ServiceInstances.Remove">;
|
|
2906
|
+
export type AuthSessionsListHandler = RpcHandlerFn<typeof API.owned, "Auth.Sessions.List">;
|
|
2907
|
+
export type AuthSessionsLogoutHandler = RpcHandlerFn<typeof API.owned, "Auth.Sessions.Logout">;
|
|
2908
|
+
export type AuthSessionsMeHandler = RpcHandlerFn<typeof API.owned, "Auth.Sessions.Me">;
|
|
2909
|
+
export type AuthSessionsRevokeHandler = RpcHandlerFn<typeof API.owned, "Auth.Sessions.Revoke">;
|
|
2910
|
+
export type AuthUserIdentitiesListHandler = RpcHandlerFn<typeof API.owned, "Auth.UserIdentities.List">;
|
|
2911
|
+
export type AuthUserIdentitiesUnlinkHandler = RpcHandlerFn<typeof API.owned, "Auth.UserIdentities.Unlink">;
|
|
2912
|
+
export type AuthUsersCreateHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.Create">;
|
|
2913
|
+
export type AuthUsersGetHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.Get">;
|
|
2914
|
+
export type AuthUsersIdentityLinkCreateHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.IdentityLink.Create">;
|
|
2915
|
+
export type AuthUsersListHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.List">;
|
|
2916
|
+
export type AuthUsersPasswordChangeHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.Password.Change">;
|
|
2917
|
+
export type AuthUsersPasswordResetCreateHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.PasswordReset.Create">;
|
|
2918
|
+
export type AuthUsersUpdateHandler = RpcHandlerFn<typeof API.owned, "Auth.Users.Update">;
|
|
2060
2919
|
export interface EventMap {
|
|
2061
|
-
"Auth.
|
|
2062
|
-
event:
|
|
2920
|
+
"Auth.Connections.Closed": {
|
|
2921
|
+
event: AuthConnectionsClosedEvent;
|
|
2063
2922
|
};
|
|
2064
|
-
"Auth.
|
|
2065
|
-
event:
|
|
2923
|
+
"Auth.Connections.Kicked": {
|
|
2924
|
+
event: AuthConnectionsKickedEvent;
|
|
2066
2925
|
};
|
|
2067
|
-
"Auth.
|
|
2068
|
-
event:
|
|
2926
|
+
"Auth.Connections.Opened": {
|
|
2927
|
+
event: AuthConnectionsOpenedEvent;
|
|
2069
2928
|
};
|
|
2070
|
-
"Auth.
|
|
2071
|
-
event:
|
|
2929
|
+
"Auth.DeviceUserAuthorities.Approved": {
|
|
2930
|
+
event: AuthDeviceUserAuthoritiesApprovedEvent;
|
|
2072
2931
|
};
|
|
2073
|
-
"Auth.
|
|
2074
|
-
event:
|
|
2932
|
+
"Auth.DeviceUserAuthorities.Requested": {
|
|
2933
|
+
event: AuthDeviceUserAuthoritiesRequestedEvent;
|
|
2075
2934
|
};
|
|
2076
|
-
"Auth.
|
|
2077
|
-
event:
|
|
2935
|
+
"Auth.DeviceUserAuthorities.Resolved": {
|
|
2936
|
+
event: AuthDeviceUserAuthoritiesResolvedEvent;
|
|
2078
2937
|
};
|
|
2079
|
-
"Auth.
|
|
2080
|
-
event:
|
|
2938
|
+
"Auth.DeviceUserAuthorities.ReviewRequested": {
|
|
2939
|
+
event: AuthDeviceUserAuthoritiesReviewRequestedEvent;
|
|
2081
2940
|
};
|
|
2082
|
-
"Auth.
|
|
2083
|
-
event:
|
|
2941
|
+
"Auth.Sessions.Revoked": {
|
|
2942
|
+
event: AuthSessionsRevokedEvent;
|
|
2084
2943
|
};
|
|
2085
2944
|
}
|
|
2945
|
+
export interface FeedMap {
|
|
2946
|
+
}
|
|
2086
2947
|
export interface SubjectMap {
|
|
2087
2948
|
}
|
|
2088
2949
|
//# sourceMappingURL=types.d.ts.map
|