@qlever-llc/trellis 0.10.2 → 0.10.3-rc.4

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.
Files changed (1127) hide show
  1. package/esm/_dnt.polyfills.d.ts.map +1 -0
  2. package/esm/_dnt.shims.d.ts.map +1 -0
  3. package/esm/auth/browser/login.d.ts +3 -3
  4. package/esm/auth/browser/login.d.ts.map +1 -1
  5. package/esm/auth/browser/portal.d.ts +5 -5
  6. package/esm/auth/browser/portal.d.ts.map +1 -1
  7. package/esm/auth/browser/session.d.ts.map +1 -1
  8. package/esm/auth/browser/storage.d.ts.map +1 -1
  9. package/esm/auth/browser.d.ts +8 -7
  10. package/esm/auth/browser.d.ts.map +1 -1
  11. package/esm/auth/browser.js +1 -0
  12. package/esm/auth/device_activation.d.ts +3 -3
  13. package/esm/auth/device_activation.d.ts.map +1 -1
  14. package/esm/auth/keys.d.ts.map +1 -1
  15. package/esm/auth/mod.d.ts +9 -9
  16. package/esm/auth/mod.d.ts.map +1 -1
  17. package/esm/auth/proof.d.ts.map +1 -1
  18. package/esm/auth/protocol.d.ts +245 -5
  19. package/esm/auth/protocol.d.ts.map +1 -1
  20. package/esm/auth/protocol.js +1 -1
  21. package/esm/auth/schemas.d.ts.map +1 -1
  22. package/esm/auth/session_auth.d.ts.map +1 -1
  23. package/esm/auth/time.d.ts.map +1 -1
  24. package/esm/auth/trellis_id.d.ts.map +1 -1
  25. package/esm/auth/types.d.ts +1 -1
  26. package/esm/auth/types.d.ts.map +1 -1
  27. package/esm/auth/utils.d.ts.map +1 -1
  28. package/esm/auth.d.ts +2 -1
  29. package/esm/auth.d.ts.map +1 -1
  30. package/esm/auth.js +1 -0
  31. package/esm/browser.d.ts.map +1 -0
  32. package/esm/client.d.ts +6 -6
  33. package/esm/client.d.ts.map +1 -1
  34. package/esm/client.js +1 -1
  35. package/esm/client_connect.d.ts +8 -8
  36. package/esm/client_connect.d.ts.map +1 -1
  37. package/esm/client_connect.js +4 -3
  38. package/esm/codec.d.ts +2 -2
  39. package/esm/codec.d.ts.map +1 -1
  40. package/esm/connection.d.ts +1 -1
  41. package/esm/connection.d.ts.map +1 -1
  42. package/esm/contract.d.ts +2 -2
  43. package/esm/contract.d.ts.map +1 -1
  44. package/esm/contract_support/canonical.d.ts.map +1 -1
  45. package/esm/contract_support/mod.d.ts +13 -13
  46. package/esm/contract_support/mod.d.ts.map +1 -1
  47. package/esm/contract_support/protocol.d.ts.map +1 -1
  48. package/esm/contract_support/runtime.d.ts +1 -1
  49. package/esm/contract_support/runtime.d.ts.map +1 -1
  50. package/esm/contract_support/schema_pointers.d.ts.map +1 -1
  51. package/esm/contracts.d.ts +4 -3
  52. package/esm/contracts.d.ts.map +1 -1
  53. package/esm/contracts.js +1 -0
  54. package/esm/device/deno.d.ts.map +1 -0
  55. package/esm/device.d.ts +9 -8
  56. package/esm/device.d.ts.map +1 -1
  57. package/esm/device.js +1 -0
  58. package/esm/env.d.ts.map +1 -0
  59. package/esm/errors/AuthError.d.ts +1 -1
  60. package/esm/errors/AuthError.d.ts.map +1 -1
  61. package/esm/errors/KVError.d.ts +1 -1
  62. package/esm/errors/KVError.d.ts.map +1 -1
  63. package/esm/errors/OperationLifecycleError.d.ts +1 -1
  64. package/esm/errors/OperationLifecycleError.d.ts.map +1 -1
  65. package/esm/errors/RemoteError.d.ts +10 -10
  66. package/esm/errors/RemoteError.d.ts.map +1 -1
  67. package/esm/errors/StoreError.d.ts +1 -1
  68. package/esm/errors/StoreError.d.ts.map +1 -1
  69. package/esm/errors/TransferError.d.ts +1 -1
  70. package/esm/errors/TransferError.d.ts.map +1 -1
  71. package/esm/errors/TransportError.d.ts +1 -1
  72. package/esm/errors/TransportError.d.ts.map +1 -1
  73. package/esm/errors/TrellisError.d.ts.map +1 -1
  74. package/esm/errors/ValidationError.d.ts +1 -1
  75. package/esm/errors/ValidationError.d.ts.map +1 -1
  76. package/esm/errors/index.d.ts +33 -32
  77. package/esm/errors/index.d.ts.map +1 -1
  78. package/esm/errors/index.js +1 -0
  79. package/esm/generate.d.ts.map +1 -0
  80. package/esm/{npm/src/generate.js → generate.js} +1 -0
  81. package/esm/generated-sdk/auth/api.d.ts +604 -3
  82. package/esm/generated-sdk/auth/api.d.ts.map +1 -1
  83. package/esm/generated-sdk/auth/api.js +4 -1
  84. package/esm/generated-sdk/auth/client.d.ts +8 -0
  85. package/esm/generated-sdk/auth/client.d.ts.map +1 -1
  86. package/esm/generated-sdk/auth/contract.d.ts +600 -2
  87. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  88. package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
  89. package/esm/generated-sdk/auth/owned_api.d.ts +601 -2
  90. package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -1
  91. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  92. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  93. package/esm/generated-sdk/health/api.d.ts +14 -2
  94. package/esm/generated-sdk/health/api.d.ts.map +1 -1
  95. package/esm/generated-sdk/health/client.d.ts.map +1 -1
  96. package/esm/generated-sdk/health/contract.d.ts +14 -2
  97. package/esm/generated-sdk/health/contract.d.ts.map +1 -1
  98. package/esm/generated-sdk/health/mod.d.ts.map +1 -1
  99. package/esm/generated-sdk/health/owned_api.d.ts +15 -2
  100. package/esm/generated-sdk/health/owned_api.d.ts.map +1 -1
  101. package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
  102. package/esm/generated-sdk/health/types.d.ts.map +1 -1
  103. package/esm/generated-sdk/jobs/api.d.ts +105 -2
  104. package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
  105. package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
  106. package/esm/generated-sdk/jobs/contract.d.ts +105 -2
  107. package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
  108. package/esm/generated-sdk/jobs/mod.d.ts.map +1 -1
  109. package/esm/generated-sdk/jobs/owned_api.d.ts +106 -2
  110. package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  111. package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
  112. package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
  113. package/esm/generated-sdk/state/api.d.ts +64 -2
  114. package/esm/generated-sdk/state/api.d.ts.map +1 -1
  115. package/esm/generated-sdk/state/client.d.ts.map +1 -1
  116. package/esm/generated-sdk/state/contract.d.ts +64 -2
  117. package/esm/generated-sdk/state/contract.d.ts.map +1 -1
  118. package/esm/generated-sdk/state/mod.d.ts.map +1 -1
  119. package/esm/generated-sdk/state/owned_api.d.ts +65 -2
  120. package/esm/generated-sdk/state/owned_api.d.ts.map +1 -1
  121. package/esm/generated-sdk/state/schemas.d.ts.map +1 -1
  122. package/esm/generated-sdk/state/types.d.ts.map +1 -1
  123. package/esm/generated-sdk/trellis-core/api.d.ts +44 -3
  124. package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
  125. package/esm/generated-sdk/trellis-core/api.js +4 -1
  126. package/esm/generated-sdk/trellis-core/client.d.ts +14 -2
  127. package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
  128. package/esm/generated-sdk/trellis-core/contract.d.ts +40 -2
  129. package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  130. package/esm/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  131. package/esm/generated-sdk/trellis-core/owned_api.d.ts +41 -2
  132. package/esm/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
  133. package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  134. package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
  135. package/esm/globals.d.ts.map +1 -1
  136. package/esm/health.d.ts +4 -3
  137. package/esm/health.d.ts.map +1 -1
  138. package/esm/health.js +1 -0
  139. package/esm/helpers.d.ts.map +1 -1
  140. package/esm/host/mod.d.ts.map +1 -0
  141. package/esm/host/node.d.ts.map +1 -0
  142. package/esm/index.d.ts +33 -32
  143. package/esm/index.d.ts.map +1 -1
  144. package/esm/index.js +1 -0
  145. package/esm/jobs.d.ts.map +1 -1
  146. package/esm/kv.d.ts +1 -1
  147. package/esm/kv.d.ts.map +1 -1
  148. package/esm/models/auth/rpc/Logout.d.ts.map +1 -1
  149. package/esm/models/trellis/Page.d.ts +1 -1
  150. package/esm/models/trellis/Page.d.ts.map +1 -1
  151. package/esm/models/trellis/State.d.ts +1 -1
  152. package/esm/models/trellis/State.d.ts.map +1 -1
  153. package/esm/models/trellis/TrellisError.d.ts.map +1 -1
  154. package/esm/models/trellis/rpc/StateDelete.d.ts.map +1 -1
  155. package/esm/models/trellis/rpc/StateGet.d.ts +1 -1
  156. package/esm/models/trellis/rpc/StateGet.d.ts.map +1 -1
  157. package/esm/models/trellis/rpc/StateList.d.ts.map +1 -1
  158. package/esm/models/trellis/rpc/StatePut.d.ts +1 -1
  159. package/esm/models/trellis/rpc/StatePut.d.ts.map +1 -1
  160. package/esm/operations.d.ts +4 -4
  161. package/esm/operations.d.ts.map +1 -1
  162. package/esm/runtime_transport.d.ts.map +1 -1
  163. package/esm/runtime_transport.js +2 -1
  164. package/esm/sdk/auth.d.ts +2 -0
  165. package/esm/sdk/auth.d.ts.map +1 -0
  166. package/esm/sdk/auth.js +1 -0
  167. package/esm/sdk/core.d.ts +2 -0
  168. package/esm/sdk/core.d.ts.map +1 -0
  169. package/esm/sdk/core.js +1 -0
  170. package/esm/sdk/health.d.ts +2 -0
  171. package/esm/sdk/health.d.ts.map +1 -0
  172. package/esm/sdk/health.js +1 -0
  173. package/esm/sdk/jobs.d.ts +2 -0
  174. package/esm/sdk/jobs.d.ts.map +1 -0
  175. package/esm/sdk/jobs.js +1 -0
  176. package/esm/sdk/state.d.ts +2 -0
  177. package/esm/sdk/state.d.ts.map +1 -0
  178. package/esm/sdk/state.js +1 -0
  179. package/esm/server/health.d.ts +2 -11
  180. package/esm/server/health.d.ts.map +1 -1
  181. package/esm/server/health.js +12 -11
  182. package/{script/npm/src → esm}/server/health_rpc.d.ts +1 -1
  183. package/esm/server/health_rpc.d.ts.map +1 -0
  184. package/esm/server/health_schemas.d.ts.map +1 -1
  185. package/esm/server/internal_jobs/active-job.d.ts.map +1 -0
  186. package/esm/server/internal_jobs/bindings.d.ts.map +1 -0
  187. package/esm/server/internal_jobs/cancellation-registry.d.ts.map +1 -0
  188. package/esm/server/internal_jobs/heartbeat.d.ts.map +1 -0
  189. package/esm/server/internal_jobs/job-manager.d.ts.map +1 -0
  190. package/esm/server/internal_jobs/projection.d.ts.map +1 -0
  191. package/esm/server/internal_jobs/runtime-worker.d.ts.map +1 -0
  192. package/esm/server/internal_jobs/types.d.ts.map +1 -0
  193. package/esm/server/runtime.d.ts.map +1 -0
  194. package/{script/npm/src → esm}/server/service.d.ts +4 -4
  195. package/esm/server/service.d.ts.map +1 -0
  196. package/esm/{npm/src/server → server}/service.js +3 -3
  197. package/esm/{npm/src/server → server}/subscription.d.ts +1 -1
  198. package/esm/server/subscription.d.ts.map +1 -0
  199. package/esm/server/transfer.d.ts.map +1 -0
  200. package/esm/server.d.ts.map +1 -0
  201. package/esm/server_logger.d.ts.map +1 -0
  202. package/esm/service/deno.d.ts.map +1 -0
  203. package/esm/service/mod.d.ts.map +1 -0
  204. package/esm/service/node.d.ts.map +1 -0
  205. package/esm/service/outbox_inbox.d.ts.map +1 -0
  206. package/esm/store.d.ts +2 -2
  207. package/esm/store.d.ts.map +1 -1
  208. package/esm/tasks.d.ts +1 -1
  209. package/esm/tasks.d.ts.map +1 -1
  210. package/esm/telemetry/carrier.d.ts.map +1 -1
  211. package/esm/telemetry/core.d.ts.map +1 -1
  212. package/esm/telemetry/env.d.ts.map +1 -1
  213. package/esm/telemetry/env.js +3 -2
  214. package/esm/telemetry/mod.d.ts +9 -9
  215. package/esm/telemetry/mod.d.ts.map +1 -1
  216. package/esm/telemetry/nats.d.ts +1 -1
  217. package/esm/telemetry/nats.d.ts.map +1 -1
  218. package/esm/telemetry/result.d.ts.map +1 -1
  219. package/esm/telemetry/trace.d.ts.map +1 -1
  220. package/esm/telemetry/trellis.d.ts +1 -1
  221. package/esm/telemetry/trellis.d.ts.map +1 -1
  222. package/esm/tracing.d.ts +3 -2
  223. package/esm/tracing.d.ts.map +1 -1
  224. package/esm/tracing.js +3 -0
  225. package/esm/transfer.d.ts +1 -1
  226. package/esm/transfer.d.ts.map +1 -1
  227. package/esm/trellis.d.ts +13 -13
  228. package/esm/trellis.d.ts.map +1 -1
  229. package/package.json +28 -28
  230. package/script/_dnt.polyfills.d.ts.map +1 -0
  231. package/script/_dnt.shims.d.ts.map +1 -0
  232. package/script/auth/browser/login.d.ts +3 -3
  233. package/script/auth/browser/login.d.ts.map +1 -1
  234. package/script/auth/browser/login.js +12 -12
  235. package/script/auth/browser/portal.d.ts +5 -5
  236. package/script/auth/browser/portal.d.ts.map +1 -1
  237. package/script/auth/browser/portal.js +3 -3
  238. package/script/auth/browser/session.d.ts.map +1 -1
  239. package/script/auth/browser/session.js +21 -21
  240. package/script/auth/browser/storage.d.ts.map +1 -1
  241. package/script/auth/browser.d.ts +8 -7
  242. package/script/auth/browser.d.ts.map +1 -1
  243. package/script/auth/browser.js +47 -46
  244. package/script/auth/device_activation.d.ts +3 -3
  245. package/script/auth/device_activation.d.ts.map +1 -1
  246. package/script/auth/device_activation.js +36 -36
  247. package/script/auth/keys.d.ts.map +1 -1
  248. package/script/auth/keys.js +6 -6
  249. package/script/auth/mod.d.ts +9 -9
  250. package/script/auth/mod.d.ts.map +1 -1
  251. package/script/auth/mod.js +232 -232
  252. package/script/auth/proof.d.ts.map +1 -1
  253. package/script/auth/proof.js +13 -13
  254. package/script/auth/protocol.d.ts +245 -5
  255. package/script/auth/protocol.d.ts.map +1 -1
  256. package/script/auth/protocol.js +29 -29
  257. package/script/auth/schemas.d.ts.map +1 -1
  258. package/script/auth/session_auth.d.ts.map +1 -1
  259. package/script/auth/session_auth.js +15 -15
  260. package/script/auth/time.d.ts.map +1 -1
  261. package/script/auth/trellis_id.d.ts.map +1 -1
  262. package/script/auth/trellis_id.js +3 -3
  263. package/script/auth/types.d.ts +1 -1
  264. package/script/auth/types.d.ts.map +1 -1
  265. package/script/auth/utils.d.ts.map +1 -1
  266. package/script/auth.d.ts +2 -1
  267. package/script/auth.d.ts.map +1 -1
  268. package/script/auth.js +1 -0
  269. package/script/browser.d.ts.map +1 -0
  270. package/script/client.d.ts +6 -6
  271. package/script/client.d.ts.map +1 -1
  272. package/script/client.js +6 -6
  273. package/script/client_connect.d.ts +8 -8
  274. package/script/client_connect.d.ts.map +1 -1
  275. package/script/client_connect.js +88 -54
  276. package/script/codec.d.ts +2 -2
  277. package/script/codec.d.ts.map +1 -1
  278. package/script/codec.js +15 -15
  279. package/script/connection.d.ts +1 -1
  280. package/script/connection.d.ts.map +1 -1
  281. package/script/connection.js +2 -2
  282. package/script/contract.d.ts +2 -2
  283. package/script/contract.d.ts.map +1 -1
  284. package/script/contract.js +5 -5
  285. package/script/contract_support/canonical.d.ts.map +1 -1
  286. package/script/contract_support/mod.d.ts +13 -13
  287. package/script/contract_support/mod.d.ts.map +1 -1
  288. package/script/contract_support/mod.js +64 -64
  289. package/script/contract_support/protocol.d.ts.map +1 -1
  290. package/script/contract_support/runtime.d.ts +1 -1
  291. package/script/contract_support/runtime.d.ts.map +1 -1
  292. package/script/contract_support/schema_pointers.d.ts.map +1 -1
  293. package/script/contracts.d.ts +4 -3
  294. package/script/contracts.d.ts.map +1 -1
  295. package/script/contracts.js +6 -5
  296. package/script/device/deno.d.ts.map +1 -0
  297. package/script/device.d.ts +9 -8
  298. package/script/device.d.ts.map +1 -1
  299. package/script/device.js +41 -40
  300. package/script/env.d.ts.map +1 -0
  301. package/script/errors/AuthError.d.ts +1 -1
  302. package/script/errors/AuthError.d.ts.map +1 -1
  303. package/script/errors/AuthError.js +2 -2
  304. package/script/errors/KVError.d.ts +1 -1
  305. package/script/errors/KVError.d.ts.map +1 -1
  306. package/script/errors/KVError.js +2 -2
  307. package/script/errors/OperationLifecycleError.d.ts +1 -1
  308. package/script/errors/OperationLifecycleError.d.ts.map +1 -1
  309. package/script/errors/OperationLifecycleError.js +4 -4
  310. package/script/errors/RemoteError.d.ts +10 -10
  311. package/script/errors/RemoteError.d.ts.map +1 -1
  312. package/script/errors/RemoteError.js +7 -7
  313. package/script/errors/StoreError.d.ts +1 -1
  314. package/script/errors/StoreError.d.ts.map +1 -1
  315. package/script/errors/StoreError.js +2 -2
  316. package/script/errors/TransferError.d.ts +1 -1
  317. package/script/errors/TransferError.d.ts.map +1 -1
  318. package/script/errors/TransferError.js +2 -2
  319. package/script/errors/TransportError.d.ts +1 -1
  320. package/script/errors/TransportError.d.ts.map +1 -1
  321. package/script/errors/TransportError.js +2 -2
  322. package/script/errors/TrellisError.d.ts.map +1 -1
  323. package/script/errors/ValidationError.d.ts +1 -1
  324. package/script/errors/ValidationError.d.ts.map +1 -1
  325. package/script/errors/ValidationError.js +2 -2
  326. package/script/errors/index.d.ts +33 -32
  327. package/script/errors/index.d.ts.map +1 -1
  328. package/script/errors/index.js +84 -83
  329. package/script/generate.d.ts.map +1 -0
  330. package/script/{npm/src/generate.js → generate.js} +1 -0
  331. package/script/generated-sdk/auth/api.d.ts +604 -3
  332. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  333. package/script/generated-sdk/auth/api.js +4 -1
  334. package/script/generated-sdk/auth/client.d.ts +8 -0
  335. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  336. package/script/generated-sdk/auth/contract.d.ts +600 -1
  337. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  338. package/script/generated-sdk/auth/mod.d.ts.map +1 -1
  339. package/script/generated-sdk/auth/owned_api.d.ts +601 -2
  340. package/script/generated-sdk/auth/owned_api.d.ts.map +1 -1
  341. package/script/generated-sdk/auth/owned_api.js +144 -144
  342. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  343. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  344. package/script/generated-sdk/health/api.d.ts +14 -2
  345. package/script/generated-sdk/health/api.d.ts.map +1 -1
  346. package/script/generated-sdk/health/client.d.ts.map +1 -1
  347. package/script/generated-sdk/health/contract.d.ts +14 -1
  348. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  349. package/script/generated-sdk/health/mod.d.ts.map +1 -1
  350. package/script/generated-sdk/health/owned_api.d.ts +15 -2
  351. package/script/generated-sdk/health/owned_api.d.ts.map +1 -1
  352. package/script/generated-sdk/health/owned_api.js +2 -2
  353. package/script/generated-sdk/health/schemas.d.ts.map +1 -1
  354. package/script/generated-sdk/health/types.d.ts.map +1 -1
  355. package/script/generated-sdk/jobs/api.d.ts +105 -2
  356. package/script/generated-sdk/jobs/api.d.ts.map +1 -1
  357. package/script/generated-sdk/jobs/api.js +7 -7
  358. package/script/generated-sdk/jobs/client.d.ts.map +1 -1
  359. package/script/generated-sdk/jobs/contract.d.ts +105 -1
  360. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  361. package/script/generated-sdk/jobs/mod.d.ts.map +1 -1
  362. package/script/generated-sdk/jobs/owned_api.d.ts +106 -2
  363. package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  364. package/script/generated-sdk/jobs/owned_api.js +24 -24
  365. package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
  366. package/script/generated-sdk/jobs/types.d.ts.map +1 -1
  367. package/script/generated-sdk/jobs/types.js +2 -2
  368. package/script/generated-sdk/state/api.d.ts +64 -2
  369. package/script/generated-sdk/state/api.d.ts.map +1 -1
  370. package/script/generated-sdk/state/api.js +2 -2
  371. package/script/generated-sdk/state/client.d.ts.map +1 -1
  372. package/script/generated-sdk/state/contract.d.ts +64 -1
  373. package/script/generated-sdk/state/contract.d.ts.map +1 -1
  374. package/script/generated-sdk/state/mod.d.ts.map +1 -1
  375. package/script/generated-sdk/state/owned_api.d.ts +65 -2
  376. package/script/generated-sdk/state/owned_api.d.ts.map +1 -1
  377. package/script/generated-sdk/state/owned_api.js +15 -15
  378. package/script/generated-sdk/state/schemas.d.ts.map +1 -1
  379. package/script/generated-sdk/state/types.d.ts.map +1 -1
  380. package/script/generated-sdk/trellis-core/api.d.ts +44 -3
  381. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  382. package/script/generated-sdk/trellis-core/api.js +4 -1
  383. package/script/generated-sdk/trellis-core/client.d.ts +14 -2
  384. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  385. package/script/generated-sdk/trellis-core/contract.d.ts +40 -1
  386. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  387. package/script/generated-sdk/trellis-core/mod.d.ts.map +1 -1
  388. package/script/generated-sdk/trellis-core/owned_api.d.ts +41 -2
  389. package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
  390. package/script/generated-sdk/trellis-core/owned_api.js +9 -9
  391. package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  392. package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
  393. package/script/globals.d.ts.map +1 -1
  394. package/script/health.d.ts +4 -3
  395. package/script/health.d.ts.map +1 -1
  396. package/script/health.js +16 -15
  397. package/script/helpers.d.ts.map +1 -1
  398. package/script/host/mod.d.ts.map +1 -0
  399. package/script/host/node.d.ts.map +1 -0
  400. package/script/index.d.ts +33 -32
  401. package/script/index.d.ts.map +1 -1
  402. package/script/index.js +86 -85
  403. package/script/jobs.d.ts.map +1 -1
  404. package/script/jobs.js +3 -3
  405. package/script/kv.d.ts +1 -1
  406. package/script/kv.d.ts.map +1 -1
  407. package/script/kv.js +22 -22
  408. package/script/models/auth/rpc/Logout.d.ts.map +1 -1
  409. package/script/models/trellis/Page.d.ts +1 -1
  410. package/script/models/trellis/Page.d.ts.map +1 -1
  411. package/script/models/trellis/Page.js +3 -3
  412. package/script/models/trellis/State.d.ts +1 -1
  413. package/script/models/trellis/State.d.ts.map +1 -1
  414. package/script/models/trellis/TrellisError.d.ts.map +1 -1
  415. package/script/models/trellis/rpc/StateDelete.d.ts.map +1 -1
  416. package/script/models/trellis/rpc/StateGet.d.ts +1 -1
  417. package/script/models/trellis/rpc/StateGet.d.ts.map +1 -1
  418. package/script/models/trellis/rpc/StateGet.js +3 -3
  419. package/script/models/trellis/rpc/StateList.d.ts.map +1 -1
  420. package/script/models/trellis/rpc/StateList.js +3 -3
  421. package/script/models/trellis/rpc/StatePut.d.ts +1 -1
  422. package/script/models/trellis/rpc/StatePut.d.ts.map +1 -1
  423. package/script/models/trellis/rpc/StatePut.js +5 -5
  424. package/script/operations.d.ts +4 -4
  425. package/script/operations.d.ts.map +1 -1
  426. package/script/operations.js +16 -16
  427. package/script/runtime_transport.d.ts.map +1 -1
  428. package/script/runtime_transport.js +2 -1
  429. package/script/sdk/auth.d.ts +2 -0
  430. package/script/sdk/auth.d.ts.map +1 -0
  431. package/script/{npm/src/sdk → sdk}/auth.js +1 -1
  432. package/script/sdk/core.d.ts +2 -0
  433. package/script/sdk/core.d.ts.map +1 -0
  434. package/script/{npm/src/sdk/health.js → sdk/core.js} +1 -1
  435. package/script/sdk/health.d.ts +2 -0
  436. package/script/sdk/health.d.ts.map +1 -0
  437. package/script/sdk/health.js +17 -0
  438. package/script/sdk/jobs.d.ts +2 -0
  439. package/script/sdk/jobs.d.ts.map +1 -0
  440. package/script/{npm/src/sdk → sdk}/jobs.js +1 -1
  441. package/script/sdk/state.d.ts +2 -0
  442. package/script/sdk/state.d.ts.map +1 -0
  443. package/script/{npm/src/sdk → sdk}/state.js +1 -1
  444. package/script/server/health.d.ts +2 -11
  445. package/script/server/health.d.ts.map +1 -1
  446. package/script/server/health.js +45 -11
  447. package/{esm/npm/src → script}/server/health_rpc.d.ts +1 -1
  448. package/script/server/health_rpc.d.ts.map +1 -0
  449. package/script/server/health_schemas.d.ts.map +1 -1
  450. package/script/server/internal_jobs/active-job.d.ts.map +1 -0
  451. package/script/server/internal_jobs/bindings.d.ts.map +1 -0
  452. package/script/server/internal_jobs/cancellation-registry.d.ts.map +1 -0
  453. package/script/server/internal_jobs/heartbeat.d.ts.map +1 -0
  454. package/script/server/internal_jobs/job-manager.d.ts.map +1 -0
  455. package/script/server/internal_jobs/projection.d.ts.map +1 -0
  456. package/script/server/internal_jobs/runtime-worker.d.ts.map +1 -0
  457. package/script/server/internal_jobs/types.d.ts.map +1 -0
  458. package/script/server/runtime.d.ts.map +1 -0
  459. package/{esm/npm/src → script}/server/service.d.ts +4 -4
  460. package/script/server/service.d.ts.map +1 -0
  461. package/script/{npm/src/server → server}/service.js +19 -19
  462. package/script/{npm/src/server → server}/subscription.d.ts +1 -1
  463. package/script/server/subscription.d.ts.map +1 -0
  464. package/script/server/transfer.d.ts.map +1 -0
  465. package/script/server.d.ts.map +1 -0
  466. package/script/server_logger.d.ts.map +1 -0
  467. package/script/service/deno.d.ts.map +1 -0
  468. package/script/service/mod.d.ts.map +1 -0
  469. package/script/service/node.d.ts.map +1 -0
  470. package/script/service/outbox_inbox.d.ts.map +1 -0
  471. package/script/store.d.ts +2 -2
  472. package/script/store.d.ts.map +1 -1
  473. package/script/store.js +20 -20
  474. package/script/tasks.d.ts +1 -1
  475. package/script/tasks.d.ts.map +1 -1
  476. package/script/tasks.js +2 -2
  477. package/script/telemetry/carrier.d.ts.map +1 -1
  478. package/script/telemetry/core.d.ts.map +1 -1
  479. package/script/telemetry/env.d.ts.map +1 -1
  480. package/script/telemetry/env.js +36 -2
  481. package/script/telemetry/mod.d.ts +9 -9
  482. package/script/telemetry/mod.d.ts.map +1 -1
  483. package/script/telemetry/mod.js +23 -23
  484. package/script/telemetry/nats.d.ts +1 -1
  485. package/script/telemetry/nats.d.ts.map +1 -1
  486. package/script/telemetry/result.d.ts.map +1 -1
  487. package/script/telemetry/trace.d.ts.map +1 -1
  488. package/script/telemetry/trace.js +2 -2
  489. package/script/telemetry/trellis.d.ts +1 -1
  490. package/script/telemetry/trellis.d.ts.map +1 -1
  491. package/script/telemetry/trellis.js +4 -4
  492. package/script/tracing.d.ts +3 -2
  493. package/script/tracing.d.ts.map +1 -1
  494. package/script/tracing.js +19 -16
  495. package/script/transfer.d.ts +1 -1
  496. package/script/transfer.d.ts.map +1 -1
  497. package/script/transfer.js +26 -26
  498. package/script/trellis.d.ts +13 -13
  499. package/script/trellis.d.ts.map +1 -1
  500. package/script/trellis.js +127 -127
  501. package/src/auth/protocol.ts +1 -1
  502. package/src/generate.ts +1 -0
  503. package/src/sdk/_generated/auth/api.ts +3 -0
  504. package/src/sdk/_generated/auth/client.ts +5 -1
  505. package/src/sdk/_generated/auth/contract.ts +1 -1
  506. package/src/sdk/_generated/auth/owned_api.ts +2 -2
  507. package/src/sdk/_generated/auth/types.ts +1 -1
  508. package/src/sdk/_generated/core/api.ts +3 -0
  509. package/src/sdk/_generated/core/client.ts +7 -2
  510. package/src/sdk/_generated/core/contract.ts +1 -1
  511. package/src/sdk/_generated/core/owned_api.ts +2 -2
  512. package/src/sdk/_generated/core/types.ts +1 -1
  513. package/src/sdk/_generated/health/client.ts +1 -1
  514. package/src/sdk/_generated/health/contract.ts +1 -1
  515. package/src/sdk/_generated/health/owned_api.ts +2 -2
  516. package/src/sdk/_generated/jobs/api.ts +3 -3
  517. package/src/sdk/_generated/jobs/client.ts +4 -4
  518. package/src/sdk/_generated/jobs/contract.ts +1 -1
  519. package/src/sdk/_generated/jobs/owned_api.ts +2 -2
  520. package/src/sdk/_generated/jobs/types.ts +2 -2
  521. package/src/sdk/_generated/state/api.ts +1 -1
  522. package/src/sdk/_generated/state/client.ts +2 -2
  523. package/src/sdk/_generated/state/contract.ts +1 -1
  524. package/src/sdk/_generated/state/owned_api.ts +2 -2
  525. package/src/sdk/_generated/state/types.ts +1 -1
  526. package/src/server/health.ts +2 -2
  527. package/src/server/health_rpc.ts +1 -1
  528. package/src/server/service.ts +5 -5
  529. package/src/server/subscription.ts +1 -4
  530. package/esm/npm/src/_dnt.polyfills.d.ts.map +0 -1
  531. package/esm/npm/src/_dnt.shims.d.ts.map +0 -1
  532. package/esm/npm/src/auth/browser/login.d.ts +0 -34
  533. package/esm/npm/src/auth/browser/login.d.ts.map +0 -1
  534. package/esm/npm/src/auth/browser/login.js +0 -141
  535. package/esm/npm/src/auth/browser/portal.d.ts +0 -11
  536. package/esm/npm/src/auth/browser/portal.d.ts.map +0 -1
  537. package/esm/npm/src/auth/browser/portal.js +0 -37
  538. package/esm/npm/src/auth/browser/session.d.ts +0 -29
  539. package/esm/npm/src/auth/browser/session.d.ts.map +0 -1
  540. package/esm/npm/src/auth/browser/session.js +0 -109
  541. package/esm/npm/src/auth/browser/storage.d.ts +0 -17
  542. package/esm/npm/src/auth/browser/storage.d.ts.map +0 -1
  543. package/esm/npm/src/auth/browser/storage.js +0 -73
  544. package/esm/npm/src/auth/browser.d.ts +0 -14
  545. package/esm/npm/src/auth/browser.d.ts.map +0 -1
  546. package/esm/npm/src/auth/browser.js +0 -12
  547. package/esm/npm/src/auth/device_activation.d.ts +0 -146
  548. package/esm/npm/src/auth/device_activation.d.ts.map +0 -1
  549. package/esm/npm/src/auth/device_activation.js +0 -369
  550. package/esm/npm/src/auth/keys.d.ts +0 -8
  551. package/esm/npm/src/auth/keys.d.ts.map +0 -1
  552. package/esm/npm/src/auth/keys.js +0 -70
  553. package/esm/npm/src/auth/mod.d.ts +0 -19
  554. package/esm/npm/src/auth/mod.d.ts.map +0 -1
  555. package/esm/npm/src/auth/mod.js +0 -18
  556. package/esm/npm/src/auth/proof.d.ts +0 -11
  557. package/esm/npm/src/auth/proof.d.ts.map +0 -1
  558. package/esm/npm/src/auth/proof.js +0 -49
  559. package/esm/npm/src/auth/protocol.d.ts +0 -3108
  560. package/esm/npm/src/auth/protocol.d.ts.map +0 -1
  561. package/esm/npm/src/auth/protocol.js +0 -1329
  562. package/esm/npm/src/auth/schemas.d.ts +0 -163
  563. package/esm/npm/src/auth/schemas.d.ts.map +0 -1
  564. package/esm/npm/src/auth/schemas.js +0 -89
  565. package/esm/npm/src/auth/session_auth.d.ts +0 -26
  566. package/esm/npm/src/auth/session_auth.d.ts.map +0 -1
  567. package/esm/npm/src/auth/session_auth.js +0 -70
  568. package/esm/npm/src/auth/time.d.ts +0 -7
  569. package/esm/npm/src/auth/time.d.ts.map +0 -1
  570. package/esm/npm/src/auth/time.js +0 -7
  571. package/esm/npm/src/auth/trellis_id.d.ts +0 -2
  572. package/esm/npm/src/auth/trellis_id.d.ts.map +0 -1
  573. package/esm/npm/src/auth/trellis_id.js +0 -5
  574. package/esm/npm/src/auth/types.d.ts +0 -4
  575. package/esm/npm/src/auth/types.d.ts.map +0 -1
  576. package/esm/npm/src/auth/types.js +0 -1
  577. package/esm/npm/src/auth/utils.d.ts +0 -11
  578. package/esm/npm/src/auth/utils.d.ts.map +0 -1
  579. package/esm/npm/src/auth/utils.js +0 -69
  580. package/esm/npm/src/auth.d.ts +0 -3
  581. package/esm/npm/src/auth.d.ts.map +0 -1
  582. package/esm/npm/src/auth.js +0 -2
  583. package/esm/npm/src/browser.d.ts.map +0 -1
  584. package/esm/npm/src/client.d.ts +0 -60
  585. package/esm/npm/src/client.d.ts.map +0 -1
  586. package/esm/npm/src/client.js +0 -39
  587. package/esm/npm/src/client_connect.d.ts +0 -87
  588. package/esm/npm/src/client_connect.d.ts.map +0 -1
  589. package/esm/npm/src/client_connect.js +0 -839
  590. package/esm/npm/src/codec.d.ts +0 -13
  591. package/esm/npm/src/codec.d.ts.map +0 -1
  592. package/esm/npm/src/codec.js +0 -73
  593. package/esm/npm/src/connection.d.ts +0 -91
  594. package/esm/npm/src/connection.d.ts.map +0 -1
  595. package/esm/npm/src/connection.js +0 -305
  596. package/esm/npm/src/contract.d.ts +0 -23
  597. package/esm/npm/src/contract.d.ts.map +0 -1
  598. package/esm/npm/src/contract.js +0 -1
  599. package/esm/npm/src/contract_support/canonical.d.ts +0 -14
  600. package/esm/npm/src/contract_support/canonical.d.ts.map +0 -1
  601. package/esm/npm/src/contract_support/canonical.js +0 -190
  602. package/esm/npm/src/contract_support/mod.d.ts +0 -1188
  603. package/esm/npm/src/contract_support/mod.d.ts.map +0 -1
  604. package/esm/npm/src/contract_support/mod.js +0 -2182
  605. package/esm/npm/src/contract_support/protocol.d.ts +0 -384
  606. package/esm/npm/src/contract_support/protocol.d.ts.map +0 -1
  607. package/esm/npm/src/contract_support/protocol.js +0 -164
  608. package/esm/npm/src/contract_support/runtime.d.ts +0 -84
  609. package/esm/npm/src/contract_support/runtime.d.ts.map +0 -1
  610. package/esm/npm/src/contract_support/runtime.js +0 -9
  611. package/esm/npm/src/contract_support/schema_pointers.d.ts +0 -18
  612. package/esm/npm/src/contract_support/schema_pointers.d.ts.map +0 -1
  613. package/esm/npm/src/contract_support/schema_pointers.js +0 -79
  614. package/esm/npm/src/contracts.d.ts +0 -5
  615. package/esm/npm/src/contracts.d.ts.map +0 -1
  616. package/esm/npm/src/contracts.js +0 -3
  617. package/esm/npm/src/device/deno.d.ts.map +0 -1
  618. package/esm/npm/src/device.d.ts +0 -150
  619. package/esm/npm/src/device.d.ts.map +0 -1
  620. package/esm/npm/src/device.js +0 -549
  621. package/esm/npm/src/env.d.ts.map +0 -1
  622. package/esm/npm/src/errors/AuthError.d.ts +0 -31
  623. package/esm/npm/src/errors/AuthError.d.ts.map +0 -1
  624. package/esm/npm/src/errors/AuthError.js +0 -79
  625. package/esm/npm/src/errors/KVError.d.ts +0 -31
  626. package/esm/npm/src/errors/KVError.d.ts.map +0 -1
  627. package/esm/npm/src/errors/KVError.js +0 -46
  628. package/esm/npm/src/errors/OperationLifecycleError.d.ts +0 -111
  629. package/esm/npm/src/errors/OperationLifecycleError.d.ts.map +0 -1
  630. package/esm/npm/src/errors/OperationLifecycleError.js +0 -207
  631. package/esm/npm/src/errors/RemoteError.d.ts +0 -55
  632. package/esm/npm/src/errors/RemoteError.d.ts.map +0 -1
  633. package/esm/npm/src/errors/RemoteError.js +0 -81
  634. package/esm/npm/src/errors/StoreError.d.ts +0 -22
  635. package/esm/npm/src/errors/StoreError.d.ts.map +0 -1
  636. package/esm/npm/src/errors/StoreError.js +0 -41
  637. package/esm/npm/src/errors/TransferError.d.ts +0 -22
  638. package/esm/npm/src/errors/TransferError.d.ts.map +0 -1
  639. package/esm/npm/src/errors/TransferError.js +0 -41
  640. package/esm/npm/src/errors/TransportError.d.ts +0 -30
  641. package/esm/npm/src/errors/TransportError.d.ts.map +0 -1
  642. package/esm/npm/src/errors/TransportError.js +0 -48
  643. package/esm/npm/src/errors/TrellisError.d.ts +0 -16
  644. package/esm/npm/src/errors/TrellisError.d.ts.map +0 -1
  645. package/esm/npm/src/errors/TrellisError.js +0 -15
  646. package/esm/npm/src/errors/ValidationError.d.ts +0 -51
  647. package/esm/npm/src/errors/ValidationError.d.ts.map +0 -1
  648. package/esm/npm/src/errors/ValidationError.js +0 -77
  649. package/esm/npm/src/errors/index.d.ts +0 -212
  650. package/esm/npm/src/errors/index.d.ts.map +0 -1
  651. package/esm/npm/src/errors/index.js +0 -190
  652. package/esm/npm/src/generate.d.ts.map +0 -1
  653. package/esm/npm/src/globals.d.ts +0 -10
  654. package/esm/npm/src/globals.d.ts.map +0 -1
  655. package/esm/npm/src/globals.js +0 -16
  656. package/esm/npm/src/health.d.ts +0 -5
  657. package/esm/npm/src/health.d.ts.map +0 -1
  658. package/esm/npm/src/health.js +0 -3
  659. package/esm/npm/src/helpers.d.ts +0 -10
  660. package/esm/npm/src/helpers.d.ts.map +0 -1
  661. package/esm/npm/src/helpers.js +0 -38
  662. package/esm/npm/src/host/mod.d.ts.map +0 -1
  663. package/esm/npm/src/host/node.d.ts.map +0 -1
  664. package/esm/npm/src/index.d.ts +0 -37
  665. package/esm/npm/src/index.d.ts.map +0 -1
  666. package/esm/npm/src/index.js +0 -18
  667. package/esm/npm/src/jobs.d.ts +0 -145
  668. package/esm/npm/src/jobs.d.ts.map +0 -1
  669. package/esm/npm/src/jobs.js +0 -220
  670. package/esm/npm/src/kv.d.ts +0 -82
  671. package/esm/npm/src/kv.d.ts.map +0 -1
  672. package/esm/npm/src/kv.js +0 -448
  673. package/esm/npm/src/models/auth/rpc/Logout.d.ts +0 -8
  674. package/esm/npm/src/models/auth/rpc/Logout.d.ts.map +0 -1
  675. package/esm/npm/src/models/auth/rpc/Logout.js +0 -5
  676. package/esm/npm/src/models/trellis/Page.d.ts +0 -2
  677. package/esm/npm/src/models/trellis/Page.d.ts.map +0 -1
  678. package/esm/npm/src/models/trellis/Page.js +0 -1
  679. package/esm/npm/src/models/trellis/State.d.ts +0 -49
  680. package/esm/npm/src/models/trellis/State.d.ts.map +0 -1
  681. package/esm/npm/src/models/trellis/State.js +0 -29
  682. package/esm/npm/src/models/trellis/TrellisError.d.ts +0 -20
  683. package/esm/npm/src/models/trellis/TrellisError.d.ts.map +0 -1
  684. package/esm/npm/src/models/trellis/TrellisError.js +0 -15
  685. package/esm/npm/src/models/trellis/rpc/StateDelete.d.ts +0 -12
  686. package/esm/npm/src/models/trellis/rpc/StateDelete.d.ts.map +0 -1
  687. package/esm/npm/src/models/trellis/rpc/StateDelete.js +0 -9
  688. package/esm/npm/src/models/trellis/rpc/StateGet.d.ts +0 -38
  689. package/esm/npm/src/models/trellis/rpc/StateGet.d.ts.map +0 -1
  690. package/esm/npm/src/models/trellis/rpc/StateGet.js +0 -16
  691. package/esm/npm/src/models/trellis/rpc/StateList.d.ts +0 -35
  692. package/esm/npm/src/models/trellis/rpc/StateList.d.ts.map +0 -1
  693. package/esm/npm/src/models/trellis/rpc/StateList.js +0 -18
  694. package/esm/npm/src/models/trellis/rpc/StatePut.d.ts +0 -51
  695. package/esm/npm/src/models/trellis/rpc/StatePut.d.ts.map +0 -1
  696. package/esm/npm/src/models/trellis/rpc/StatePut.js +0 -26
  697. package/esm/npm/src/operations.d.ts +0 -171
  698. package/esm/npm/src/operations.d.ts.map +0 -1
  699. package/esm/npm/src/operations.js +0 -775
  700. package/esm/npm/src/runtime_transport.d.ts +0 -25
  701. package/esm/npm/src/runtime_transport.d.ts.map +0 -1
  702. package/esm/npm/src/runtime_transport.js +0 -84
  703. package/esm/npm/src/sdk/auth.d.ts +0 -2
  704. package/esm/npm/src/sdk/auth.d.ts.map +0 -1
  705. package/esm/npm/src/sdk/auth.js +0 -1
  706. package/esm/npm/src/sdk/core.d.ts +0 -2
  707. package/esm/npm/src/sdk/core.d.ts.map +0 -1
  708. package/esm/npm/src/sdk/core.js +0 -1
  709. package/esm/npm/src/sdk/health.d.ts +0 -2
  710. package/esm/npm/src/sdk/health.d.ts.map +0 -1
  711. package/esm/npm/src/sdk/health.js +0 -1
  712. package/esm/npm/src/sdk/jobs.d.ts +0 -2
  713. package/esm/npm/src/sdk/jobs.d.ts.map +0 -1
  714. package/esm/npm/src/sdk/jobs.js +0 -1
  715. package/esm/npm/src/sdk/state.d.ts +0 -2
  716. package/esm/npm/src/sdk/state.d.ts.map +0 -1
  717. package/esm/npm/src/sdk/state.js +0 -1
  718. package/esm/npm/src/server/health.d.ts +0 -161
  719. package/esm/npm/src/server/health.d.ts.map +0 -1
  720. package/esm/npm/src/server/health.js +0 -262
  721. package/esm/npm/src/server/health_rpc.d.ts.map +0 -1
  722. package/esm/npm/src/server/health_schemas.d.ts +0 -71
  723. package/esm/npm/src/server/health_schemas.d.ts.map +0 -1
  724. package/esm/npm/src/server/health_schemas.js +0 -54
  725. package/esm/npm/src/server/internal_jobs/active-job.d.ts.map +0 -1
  726. package/esm/npm/src/server/internal_jobs/bindings.d.ts.map +0 -1
  727. package/esm/npm/src/server/internal_jobs/cancellation-registry.d.ts.map +0 -1
  728. package/esm/npm/src/server/internal_jobs/heartbeat.d.ts.map +0 -1
  729. package/esm/npm/src/server/internal_jobs/job-manager.d.ts.map +0 -1
  730. package/esm/npm/src/server/internal_jobs/projection.d.ts.map +0 -1
  731. package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts.map +0 -1
  732. package/esm/npm/src/server/internal_jobs/types.d.ts.map +0 -1
  733. package/esm/npm/src/server/runtime.d.ts.map +0 -1
  734. package/esm/npm/src/server/service.d.ts.map +0 -1
  735. package/esm/npm/src/server/subscription.d.ts.map +0 -1
  736. package/esm/npm/src/server/transfer.d.ts.map +0 -1
  737. package/esm/npm/src/server.d.ts.map +0 -1
  738. package/esm/npm/src/server_logger.d.ts.map +0 -1
  739. package/esm/npm/src/service/deno.d.ts.map +0 -1
  740. package/esm/npm/src/service/mod.d.ts.map +0 -1
  741. package/esm/npm/src/service/node.d.ts.map +0 -1
  742. package/esm/npm/src/service/outbox_inbox.d.ts.map +0 -1
  743. package/esm/npm/src/store.d.ts +0 -67
  744. package/esm/npm/src/store.d.ts.map +0 -1
  745. package/esm/npm/src/store.js +0 -474
  746. package/esm/npm/src/tasks.d.ts +0 -11
  747. package/esm/npm/src/tasks.d.ts.map +0 -1
  748. package/esm/npm/src/tasks.js +0 -41
  749. package/esm/npm/src/telemetry/carrier.d.ts +0 -9
  750. package/esm/npm/src/telemetry/carrier.d.ts.map +0 -1
  751. package/esm/npm/src/telemetry/carrier.js +0 -20
  752. package/esm/npm/src/telemetry/core.d.ts +0 -8
  753. package/esm/npm/src/telemetry/core.d.ts.map +0 -1
  754. package/esm/npm/src/telemetry/core.js +0 -14
  755. package/esm/npm/src/telemetry/env.d.ts +0 -2
  756. package/esm/npm/src/telemetry/env.d.ts.map +0 -1
  757. package/esm/npm/src/telemetry/env.js +0 -10
  758. package/esm/npm/src/telemetry/mod.d.ts +0 -10
  759. package/esm/npm/src/telemetry/mod.d.ts.map +0 -1
  760. package/esm/npm/src/telemetry/mod.js +0 -6
  761. package/esm/npm/src/telemetry/nats.d.ts +0 -7
  762. package/esm/npm/src/telemetry/nats.d.ts.map +0 -1
  763. package/esm/npm/src/telemetry/nats.js +0 -6
  764. package/esm/npm/src/telemetry/result.d.ts +0 -2
  765. package/esm/npm/src/telemetry/result.d.ts.map +0 -1
  766. package/esm/npm/src/telemetry/result.js +0 -18
  767. package/esm/npm/src/telemetry/trace.d.ts +0 -5
  768. package/esm/npm/src/telemetry/trace.d.ts.map +0 -1
  769. package/esm/npm/src/telemetry/trace.js +0 -26
  770. package/esm/npm/src/telemetry/trellis.d.ts +0 -2
  771. package/esm/npm/src/telemetry/trellis.d.ts.map +0 -1
  772. package/esm/npm/src/telemetry/trellis.js +0 -1
  773. package/esm/npm/src/tracing.d.ts +0 -5
  774. package/esm/npm/src/tracing.d.ts.map +0 -1
  775. package/esm/npm/src/tracing.js +0 -8
  776. package/esm/npm/src/transfer.d.ts +0 -118
  777. package/esm/npm/src/transfer.d.ts.map +0 -1
  778. package/esm/npm/src/transfer.js +0 -407
  779. package/esm/npm/src/trellis.d.ts +0 -678
  780. package/esm/npm/src/trellis.d.ts.map +0 -1
  781. package/esm/npm/src/trellis.js +0 -2284
  782. package/script/npm/src/_dnt.polyfills.d.ts.map +0 -1
  783. package/script/npm/src/_dnt.shims.d.ts.map +0 -1
  784. package/script/npm/src/auth/browser/login.d.ts +0 -34
  785. package/script/npm/src/auth/browser/login.d.ts.map +0 -1
  786. package/script/npm/src/auth/browser/login.js +0 -147
  787. package/script/npm/src/auth/browser/portal.d.ts +0 -11
  788. package/script/npm/src/auth/browser/portal.d.ts.map +0 -1
  789. package/script/npm/src/auth/browser/portal.js +0 -44
  790. package/script/npm/src/auth/browser/session.d.ts +0 -29
  791. package/script/npm/src/auth/browser/session.d.ts.map +0 -1
  792. package/script/npm/src/auth/browser/session.js +0 -122
  793. package/script/npm/src/auth/browser/storage.d.ts +0 -17
  794. package/script/npm/src/auth/browser/storage.d.ts.map +0 -1
  795. package/script/npm/src/auth/browser/storage.js +0 -79
  796. package/script/npm/src/auth/browser.d.ts +0 -14
  797. package/script/npm/src/auth/browser.d.ts.map +0 -1
  798. package/script/npm/src/auth/browser.js +0 -53
  799. package/script/npm/src/auth/device_activation.d.ts +0 -146
  800. package/script/npm/src/auth/device_activation.d.ts.map +0 -1
  801. package/script/npm/src/auth/device_activation.js +0 -387
  802. package/script/npm/src/auth/keys.d.ts +0 -8
  803. package/script/npm/src/auth/keys.d.ts.map +0 -1
  804. package/script/npm/src/auth/keys.js +0 -82
  805. package/script/npm/src/auth/mod.d.ts +0 -19
  806. package/script/npm/src/auth/mod.d.ts.map +0 -1
  807. package/script/npm/src/auth/mod.js +0 -248
  808. package/script/npm/src/auth/proof.d.ts +0 -11
  809. package/script/npm/src/auth/proof.d.ts.map +0 -1
  810. package/script/npm/src/auth/proof.js +0 -54
  811. package/script/npm/src/auth/protocol.d.ts +0 -3108
  812. package/script/npm/src/auth/protocol.d.ts.map +0 -1
  813. package/script/npm/src/auth/protocol.js +0 -1335
  814. package/script/npm/src/auth/schemas.d.ts +0 -163
  815. package/script/npm/src/auth/schemas.d.ts.map +0 -1
  816. package/script/npm/src/auth/schemas.js +0 -93
  817. package/script/npm/src/auth/session_auth.d.ts +0 -26
  818. package/script/npm/src/auth/session_auth.d.ts.map +0 -1
  819. package/script/npm/src/auth/session_auth.js +0 -74
  820. package/script/npm/src/auth/time.d.ts +0 -7
  821. package/script/npm/src/auth/time.d.ts.map +0 -1
  822. package/script/npm/src/auth/time.js +0 -11
  823. package/script/npm/src/auth/trellis_id.d.ts +0 -2
  824. package/script/npm/src/auth/trellis_id.d.ts.map +0 -1
  825. package/script/npm/src/auth/trellis_id.js +0 -8
  826. package/script/npm/src/auth/types.d.ts +0 -4
  827. package/script/npm/src/auth/types.d.ts.map +0 -1
  828. package/script/npm/src/auth/types.js +0 -2
  829. package/script/npm/src/auth/utils.d.ts +0 -11
  830. package/script/npm/src/auth/utils.d.ts.map +0 -1
  831. package/script/npm/src/auth/utils.js +0 -78
  832. package/script/npm/src/auth.d.ts +0 -3
  833. package/script/npm/src/auth.d.ts.map +0 -1
  834. package/script/npm/src/auth.js +0 -18
  835. package/script/npm/src/browser.d.ts.map +0 -1
  836. package/script/npm/src/client.d.ts +0 -60
  837. package/script/npm/src/client.d.ts.map +0 -1
  838. package/script/npm/src/client.js +0 -76
  839. package/script/npm/src/client_connect.d.ts +0 -87
  840. package/script/npm/src/client_connect.d.ts.map +0 -1
  841. package/script/npm/src/client_connect.js +0 -878
  842. package/script/npm/src/codec.d.ts +0 -13
  843. package/script/npm/src/codec.d.ts.map +0 -1
  844. package/script/npm/src/codec.js +0 -80
  845. package/script/npm/src/connection.d.ts +0 -91
  846. package/script/npm/src/connection.d.ts.map +0 -1
  847. package/script/npm/src/connection.js +0 -311
  848. package/script/npm/src/contract.d.ts +0 -23
  849. package/script/npm/src/contract.d.ts.map +0 -1
  850. package/script/npm/src/contract.js +0 -8
  851. package/script/npm/src/contract_support/canonical.d.ts +0 -14
  852. package/script/npm/src/contract_support/canonical.d.ts.map +0 -1
  853. package/script/npm/src/contract_support/canonical.js +0 -199
  854. package/script/npm/src/contract_support/mod.d.ts +0 -1188
  855. package/script/npm/src/contract_support/mod.d.ts.map +0 -1
  856. package/script/npm/src/contract_support/mod.js +0 -2225
  857. package/script/npm/src/contract_support/protocol.d.ts +0 -384
  858. package/script/npm/src/contract_support/protocol.d.ts.map +0 -1
  859. package/script/npm/src/contract_support/protocol.js +0 -171
  860. package/script/npm/src/contract_support/runtime.d.ts +0 -84
  861. package/script/npm/src/contract_support/runtime.d.ts.map +0 -1
  862. package/script/npm/src/contract_support/runtime.js +0 -13
  863. package/script/npm/src/contract_support/schema_pointers.d.ts +0 -18
  864. package/script/npm/src/contract_support/schema_pointers.d.ts.map +0 -1
  865. package/script/npm/src/contract_support/schema_pointers.js +0 -83
  866. package/script/npm/src/contracts.d.ts +0 -5
  867. package/script/npm/src/contracts.d.ts.map +0 -1
  868. package/script/npm/src/contracts.js +0 -24
  869. package/script/npm/src/device/deno.d.ts.map +0 -1
  870. package/script/npm/src/device.d.ts +0 -150
  871. package/script/npm/src/device.d.ts.map +0 -1
  872. package/script/npm/src/device.js +0 -555
  873. package/script/npm/src/env.d.ts.map +0 -1
  874. package/script/npm/src/errors/AuthError.d.ts +0 -31
  875. package/script/npm/src/errors/AuthError.d.ts.map +0 -1
  876. package/script/npm/src/errors/AuthError.js +0 -86
  877. package/script/npm/src/errors/KVError.d.ts +0 -31
  878. package/script/npm/src/errors/KVError.d.ts.map +0 -1
  879. package/script/npm/src/errors/KVError.js +0 -53
  880. package/script/npm/src/errors/OperationLifecycleError.d.ts +0 -111
  881. package/script/npm/src/errors/OperationLifecycleError.d.ts.map +0 -1
  882. package/script/npm/src/errors/OperationLifecycleError.js +0 -216
  883. package/script/npm/src/errors/RemoteError.d.ts +0 -55
  884. package/script/npm/src/errors/RemoteError.d.ts.map +0 -1
  885. package/script/npm/src/errors/RemoteError.js +0 -88
  886. package/script/npm/src/errors/StoreError.d.ts +0 -22
  887. package/script/npm/src/errors/StoreError.d.ts.map +0 -1
  888. package/script/npm/src/errors/StoreError.js +0 -48
  889. package/script/npm/src/errors/TransferError.d.ts +0 -22
  890. package/script/npm/src/errors/TransferError.d.ts.map +0 -1
  891. package/script/npm/src/errors/TransferError.js +0 -48
  892. package/script/npm/src/errors/TransportError.d.ts +0 -30
  893. package/script/npm/src/errors/TransportError.d.ts.map +0 -1
  894. package/script/npm/src/errors/TransportError.js +0 -55
  895. package/script/npm/src/errors/TrellisError.d.ts +0 -16
  896. package/script/npm/src/errors/TrellisError.d.ts.map +0 -1
  897. package/script/npm/src/errors/TrellisError.js +0 -19
  898. package/script/npm/src/errors/ValidationError.d.ts +0 -51
  899. package/script/npm/src/errors/ValidationError.d.ts.map +0 -1
  900. package/script/npm/src/errors/ValidationError.js +0 -84
  901. package/script/npm/src/errors/index.d.ts +0 -212
  902. package/script/npm/src/errors/index.d.ts.map +0 -1
  903. package/script/npm/src/errors/index.js +0 -217
  904. package/script/npm/src/generate.d.ts.map +0 -1
  905. package/script/npm/src/globals.d.ts +0 -10
  906. package/script/npm/src/globals.d.ts.map +0 -1
  907. package/script/npm/src/globals.js +0 -19
  908. package/script/npm/src/health.d.ts +0 -5
  909. package/script/npm/src/health.d.ts.map +0 -1
  910. package/script/npm/src/health.js +0 -19
  911. package/script/npm/src/helpers.d.ts +0 -10
  912. package/script/npm/src/helpers.d.ts.map +0 -1
  913. package/script/npm/src/helpers.js +0 -44
  914. package/script/npm/src/host/mod.d.ts.map +0 -1
  915. package/script/npm/src/host/node.d.ts.map +0 -1
  916. package/script/npm/src/index.d.ts +0 -37
  917. package/script/npm/src/index.d.ts.map +0 -1
  918. package/script/npm/src/index.js +0 -98
  919. package/script/npm/src/jobs.d.ts +0 -145
  920. package/script/npm/src/jobs.d.ts.map +0 -1
  921. package/script/npm/src/jobs.js +0 -227
  922. package/script/npm/src/kv.d.ts +0 -82
  923. package/script/npm/src/kv.d.ts.map +0 -1
  924. package/script/npm/src/kv.js +0 -486
  925. package/script/npm/src/models/auth/rpc/Logout.d.ts +0 -8
  926. package/script/npm/src/models/auth/rpc/Logout.d.ts.map +0 -1
  927. package/script/npm/src/models/auth/rpc/Logout.js +0 -11
  928. package/script/npm/src/models/trellis/Page.d.ts +0 -2
  929. package/script/npm/src/models/trellis/Page.d.ts.map +0 -1
  930. package/script/npm/src/models/trellis/Page.js +0 -6
  931. package/script/npm/src/models/trellis/State.d.ts +0 -49
  932. package/script/npm/src/models/trellis/State.d.ts.map +0 -1
  933. package/script/npm/src/models/trellis/State.js +0 -35
  934. package/script/npm/src/models/trellis/TrellisError.d.ts +0 -20
  935. package/script/npm/src/models/trellis/TrellisError.d.ts.map +0 -1
  936. package/script/npm/src/models/trellis/TrellisError.js +0 -21
  937. package/script/npm/src/models/trellis/rpc/StateDelete.d.ts +0 -12
  938. package/script/npm/src/models/trellis/rpc/StateDelete.d.ts.map +0 -1
  939. package/script/npm/src/models/trellis/rpc/StateDelete.js +0 -15
  940. package/script/npm/src/models/trellis/rpc/StateGet.d.ts +0 -38
  941. package/script/npm/src/models/trellis/rpc/StateGet.d.ts.map +0 -1
  942. package/script/npm/src/models/trellis/rpc/StateGet.js +0 -22
  943. package/script/npm/src/models/trellis/rpc/StateList.d.ts +0 -35
  944. package/script/npm/src/models/trellis/rpc/StateList.d.ts.map +0 -1
  945. package/script/npm/src/models/trellis/rpc/StateList.js +0 -24
  946. package/script/npm/src/models/trellis/rpc/StatePut.d.ts +0 -51
  947. package/script/npm/src/models/trellis/rpc/StatePut.d.ts.map +0 -1
  948. package/script/npm/src/models/trellis/rpc/StatePut.js +0 -32
  949. package/script/npm/src/operations.d.ts +0 -171
  950. package/script/npm/src/operations.d.ts.map +0 -1
  951. package/script/npm/src/operations.js +0 -780
  952. package/script/npm/src/runtime_transport.d.ts +0 -25
  953. package/script/npm/src/runtime_transport.d.ts.map +0 -1
  954. package/script/npm/src/runtime_transport.js +0 -122
  955. package/script/npm/src/sdk/auth.d.ts +0 -2
  956. package/script/npm/src/sdk/auth.d.ts.map +0 -1
  957. package/script/npm/src/sdk/core.d.ts +0 -2
  958. package/script/npm/src/sdk/core.d.ts.map +0 -1
  959. package/script/npm/src/sdk/core.js +0 -17
  960. package/script/npm/src/sdk/health.d.ts +0 -2
  961. package/script/npm/src/sdk/health.d.ts.map +0 -1
  962. package/script/npm/src/sdk/jobs.d.ts +0 -2
  963. package/script/npm/src/sdk/jobs.d.ts.map +0 -1
  964. package/script/npm/src/sdk/state.d.ts +0 -2
  965. package/script/npm/src/sdk/state.d.ts.map +0 -1
  966. package/script/npm/src/server/health.d.ts +0 -161
  967. package/script/npm/src/server/health.d.ts.map +0 -1
  968. package/script/npm/src/server/health.js +0 -304
  969. package/script/npm/src/server/health_rpc.d.ts.map +0 -1
  970. package/script/npm/src/server/health_schemas.d.ts +0 -71
  971. package/script/npm/src/server/health_schemas.d.ts.map +0 -1
  972. package/script/npm/src/server/health_schemas.js +0 -57
  973. package/script/npm/src/server/internal_jobs/active-job.d.ts.map +0 -1
  974. package/script/npm/src/server/internal_jobs/bindings.d.ts.map +0 -1
  975. package/script/npm/src/server/internal_jobs/cancellation-registry.d.ts.map +0 -1
  976. package/script/npm/src/server/internal_jobs/heartbeat.d.ts.map +0 -1
  977. package/script/npm/src/server/internal_jobs/job-manager.d.ts.map +0 -1
  978. package/script/npm/src/server/internal_jobs/projection.d.ts.map +0 -1
  979. package/script/npm/src/server/internal_jobs/runtime-worker.d.ts.map +0 -1
  980. package/script/npm/src/server/internal_jobs/types.d.ts.map +0 -1
  981. package/script/npm/src/server/runtime.d.ts.map +0 -1
  982. package/script/npm/src/server/service.d.ts.map +0 -1
  983. package/script/npm/src/server/subscription.d.ts.map +0 -1
  984. package/script/npm/src/server/transfer.d.ts.map +0 -1
  985. package/script/npm/src/server.d.ts.map +0 -1
  986. package/script/npm/src/server_logger.d.ts.map +0 -1
  987. package/script/npm/src/service/deno.d.ts.map +0 -1
  988. package/script/npm/src/service/mod.d.ts.map +0 -1
  989. package/script/npm/src/service/node.d.ts.map +0 -1
  990. package/script/npm/src/service/outbox_inbox.d.ts.map +0 -1
  991. package/script/npm/src/store.d.ts +0 -67
  992. package/script/npm/src/store.d.ts.map +0 -1
  993. package/script/npm/src/store.js +0 -480
  994. package/script/npm/src/tasks.d.ts +0 -11
  995. package/script/npm/src/tasks.d.ts.map +0 -1
  996. package/script/npm/src/tasks.js +0 -45
  997. package/script/npm/src/telemetry/carrier.d.ts +0 -9
  998. package/script/npm/src/telemetry/carrier.d.ts.map +0 -1
  999. package/script/npm/src/telemetry/carrier.js +0 -25
  1000. package/script/npm/src/telemetry/core.d.ts +0 -8
  1001. package/script/npm/src/telemetry/core.d.ts.map +0 -1
  1002. package/script/npm/src/telemetry/core.js +0 -24
  1003. package/script/npm/src/telemetry/env.d.ts +0 -2
  1004. package/script/npm/src/telemetry/env.d.ts.map +0 -1
  1005. package/script/npm/src/telemetry/env.js +0 -46
  1006. package/script/npm/src/telemetry/mod.d.ts +0 -10
  1007. package/script/npm/src/telemetry/mod.d.ts.map +0 -1
  1008. package/script/npm/src/telemetry/mod.js +0 -26
  1009. package/script/npm/src/telemetry/nats.d.ts +0 -7
  1010. package/script/npm/src/telemetry/nats.d.ts.map +0 -1
  1011. package/script/npm/src/telemetry/nats.js +0 -9
  1012. package/script/npm/src/telemetry/result.d.ts +0 -2
  1013. package/script/npm/src/telemetry/result.d.ts.map +0 -1
  1014. package/script/npm/src/telemetry/result.js +0 -21
  1015. package/script/npm/src/telemetry/trace.d.ts +0 -5
  1016. package/script/npm/src/telemetry/trace.d.ts.map +0 -1
  1017. package/script/npm/src/telemetry/trace.js +0 -31
  1018. package/script/npm/src/telemetry/trellis.d.ts +0 -2
  1019. package/script/npm/src/telemetry/trellis.d.ts.map +0 -1
  1020. package/script/npm/src/telemetry/trellis.js +0 -7
  1021. package/script/npm/src/tracing.d.ts +0 -5
  1022. package/script/npm/src/tracing.d.ts.map +0 -1
  1023. package/script/npm/src/tracing.js +0 -27
  1024. package/script/npm/src/transfer.d.ts +0 -118
  1025. package/script/npm/src/transfer.d.ts.map +0 -1
  1026. package/script/npm/src/transfer.js +0 -417
  1027. package/script/npm/src/trellis.d.ts +0 -678
  1028. package/script/npm/src/trellis.d.ts.map +0 -1
  1029. package/script/npm/src/trellis.js +0 -2299
  1030. /package/esm/{npm/src/_dnt.polyfills.d.ts → _dnt.polyfills.d.ts} +0 -0
  1031. /package/esm/{npm/src/_dnt.polyfills.js → _dnt.polyfills.js} +0 -0
  1032. /package/esm/{npm/src/_dnt.shims.d.ts → _dnt.shims.d.ts} +0 -0
  1033. /package/esm/{npm/src/_dnt.shims.js → _dnt.shims.js} +0 -0
  1034. /package/esm/{npm/src/browser.d.ts → browser.d.ts} +0 -0
  1035. /package/esm/{npm/src/browser.js → browser.js} +0 -0
  1036. /package/esm/{npm/src/device → device}/deno.d.ts +0 -0
  1037. /package/esm/{npm/src/device → device}/deno.js +0 -0
  1038. /package/esm/{npm/src/env.d.ts → env.d.ts} +0 -0
  1039. /package/esm/{npm/src/env.js → env.js} +0 -0
  1040. /package/esm/{npm/src/generate.d.ts → generate.d.ts} +0 -0
  1041. /package/esm/{npm/src/host → host}/mod.d.ts +0 -0
  1042. /package/esm/{npm/src/host → host}/mod.js +0 -0
  1043. /package/esm/{npm/src/host → host}/node.d.ts +0 -0
  1044. /package/esm/{npm/src/host → host}/node.js +0 -0
  1045. /package/esm/{npm/src/server → server}/health_rpc.js +0 -0
  1046. /package/esm/{npm/src/server → server}/internal_jobs/active-job.d.ts +0 -0
  1047. /package/esm/{npm/src/server → server}/internal_jobs/active-job.js +0 -0
  1048. /package/esm/{npm/src/server → server}/internal_jobs/bindings.d.ts +0 -0
  1049. /package/esm/{npm/src/server → server}/internal_jobs/bindings.js +0 -0
  1050. /package/esm/{npm/src/server → server}/internal_jobs/cancellation-registry.d.ts +0 -0
  1051. /package/esm/{npm/src/server → server}/internal_jobs/cancellation-registry.js +0 -0
  1052. /package/esm/{npm/src/server → server}/internal_jobs/heartbeat.d.ts +0 -0
  1053. /package/esm/{npm/src/server → server}/internal_jobs/heartbeat.js +0 -0
  1054. /package/esm/{npm/src/server → server}/internal_jobs/job-manager.d.ts +0 -0
  1055. /package/esm/{npm/src/server → server}/internal_jobs/job-manager.js +0 -0
  1056. /package/esm/{npm/src/server → server}/internal_jobs/projection.d.ts +0 -0
  1057. /package/esm/{npm/src/server → server}/internal_jobs/projection.js +0 -0
  1058. /package/esm/{npm/src/server → server}/internal_jobs/runtime-worker.d.ts +0 -0
  1059. /package/esm/{npm/src/server → server}/internal_jobs/runtime-worker.js +0 -0
  1060. /package/esm/{npm/src/server → server}/internal_jobs/types.d.ts +0 -0
  1061. /package/esm/{npm/src/server → server}/internal_jobs/types.js +0 -0
  1062. /package/esm/{npm/src/server → server}/runtime.d.ts +0 -0
  1063. /package/esm/{npm/src/server → server}/runtime.js +0 -0
  1064. /package/esm/{npm/src/server → server}/subscription.js +0 -0
  1065. /package/esm/{npm/src/server → server}/transfer.d.ts +0 -0
  1066. /package/esm/{npm/src/server → server}/transfer.js +0 -0
  1067. /package/esm/{npm/src/server.d.ts → server.d.ts} +0 -0
  1068. /package/esm/{npm/src/server.js → server.js} +0 -0
  1069. /package/esm/{npm/src/server_logger.d.ts → server_logger.d.ts} +0 -0
  1070. /package/esm/{npm/src/server_logger.js → server_logger.js} +0 -0
  1071. /package/esm/{npm/src/service → service}/deno.d.ts +0 -0
  1072. /package/esm/{npm/src/service → service}/deno.js +0 -0
  1073. /package/esm/{npm/src/service → service}/mod.d.ts +0 -0
  1074. /package/esm/{npm/src/service → service}/mod.js +0 -0
  1075. /package/esm/{npm/src/service → service}/node.d.ts +0 -0
  1076. /package/esm/{npm/src/service → service}/node.js +0 -0
  1077. /package/esm/{npm/src/service → service}/outbox_inbox.d.ts +0 -0
  1078. /package/esm/{npm/src/service → service}/outbox_inbox.js +0 -0
  1079. /package/script/{npm/src/_dnt.polyfills.d.ts → _dnt.polyfills.d.ts} +0 -0
  1080. /package/script/{npm/src/_dnt.polyfills.js → _dnt.polyfills.js} +0 -0
  1081. /package/script/{npm/src/_dnt.shims.d.ts → _dnt.shims.d.ts} +0 -0
  1082. /package/script/{npm/src/_dnt.shims.js → _dnt.shims.js} +0 -0
  1083. /package/script/{npm/src/browser.d.ts → browser.d.ts} +0 -0
  1084. /package/script/{npm/src/browser.js → browser.js} +0 -0
  1085. /package/script/{npm/src/device → device}/deno.d.ts +0 -0
  1086. /package/script/{npm/src/device → device}/deno.js +0 -0
  1087. /package/script/{npm/src/env.d.ts → env.d.ts} +0 -0
  1088. /package/script/{npm/src/env.js → env.js} +0 -0
  1089. /package/script/{npm/src/generate.d.ts → generate.d.ts} +0 -0
  1090. /package/script/{npm/src/host → host}/mod.d.ts +0 -0
  1091. /package/script/{npm/src/host → host}/mod.js +0 -0
  1092. /package/script/{npm/src/host → host}/node.d.ts +0 -0
  1093. /package/script/{npm/src/host → host}/node.js +0 -0
  1094. /package/script/{npm/src/server → server}/health_rpc.js +0 -0
  1095. /package/script/{npm/src/server → server}/internal_jobs/active-job.d.ts +0 -0
  1096. /package/script/{npm/src/server → server}/internal_jobs/active-job.js +0 -0
  1097. /package/script/{npm/src/server → server}/internal_jobs/bindings.d.ts +0 -0
  1098. /package/script/{npm/src/server → server}/internal_jobs/bindings.js +0 -0
  1099. /package/script/{npm/src/server → server}/internal_jobs/cancellation-registry.d.ts +0 -0
  1100. /package/script/{npm/src/server → server}/internal_jobs/cancellation-registry.js +0 -0
  1101. /package/script/{npm/src/server → server}/internal_jobs/heartbeat.d.ts +0 -0
  1102. /package/script/{npm/src/server → server}/internal_jobs/heartbeat.js +0 -0
  1103. /package/script/{npm/src/server → server}/internal_jobs/job-manager.d.ts +0 -0
  1104. /package/script/{npm/src/server → server}/internal_jobs/job-manager.js +0 -0
  1105. /package/script/{npm/src/server → server}/internal_jobs/projection.d.ts +0 -0
  1106. /package/script/{npm/src/server → server}/internal_jobs/projection.js +0 -0
  1107. /package/script/{npm/src/server → server}/internal_jobs/runtime-worker.d.ts +0 -0
  1108. /package/script/{npm/src/server → server}/internal_jobs/runtime-worker.js +0 -0
  1109. /package/script/{npm/src/server → server}/internal_jobs/types.d.ts +0 -0
  1110. /package/script/{npm/src/server → server}/internal_jobs/types.js +0 -0
  1111. /package/script/{npm/src/server → server}/runtime.d.ts +0 -0
  1112. /package/script/{npm/src/server → server}/runtime.js +0 -0
  1113. /package/script/{npm/src/server → server}/subscription.js +0 -0
  1114. /package/script/{npm/src/server → server}/transfer.d.ts +0 -0
  1115. /package/script/{npm/src/server → server}/transfer.js +0 -0
  1116. /package/script/{npm/src/server.d.ts → server.d.ts} +0 -0
  1117. /package/script/{npm/src/server.js → server.js} +0 -0
  1118. /package/script/{npm/src/server_logger.d.ts → server_logger.d.ts} +0 -0
  1119. /package/script/{npm/src/server_logger.js → server_logger.js} +0 -0
  1120. /package/script/{npm/src/service → service}/deno.d.ts +0 -0
  1121. /package/script/{npm/src/service → service}/deno.js +0 -0
  1122. /package/script/{npm/src/service → service}/mod.d.ts +0 -0
  1123. /package/script/{npm/src/service → service}/mod.js +0 -0
  1124. /package/script/{npm/src/service → service}/node.d.ts +0 -0
  1125. /package/script/{npm/src/service → service}/node.js +0 -0
  1126. /package/script/{npm/src/service → service}/outbox_inbox.d.ts +0 -0
  1127. /package/script/{npm/src/service → service}/outbox_inbox.js +0 -0
@@ -1,3108 +0,0 @@
1
- import type { StaticDecode } from "typebox";
2
- import { Type } from "typebox";
3
- export declare const ParticipantKindSchema: Type.TUnion<[Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>, Type.TLiteral<"device">, Type.TLiteral<"service">]>;
4
- export type ParticipantKind = StaticDecode<typeof ParticipantKindSchema>;
5
- export declare const DigestSchema: Type.TString;
6
- export declare const OpenObjectSchema: Type.TUnsafe<Record<string, unknown>>;
7
- export declare const ServiceDeploymentSchema: Type.TUnsafe<{
8
- deploymentId: string;
9
- namespaces: string[];
10
- contractCompatibilityMode?: "strict" | "mutable-dev";
11
- disabled: boolean;
12
- }>;
13
- export declare const ServiceInstanceSchema: Type.TObject<{
14
- instanceId: Type.TString;
15
- deploymentId: Type.TString;
16
- instanceKey: Type.TString;
17
- disabled: Type.TBoolean;
18
- capabilities: Type.TArray<Type.TString>;
19
- resourceBindings: any;
20
- createdAt: Type.TString;
21
- }>;
22
- export declare const ApprovalDecisionSchema: Type.TUnion<[Type.TLiteral<"approved">, Type.TLiteral<"denied">]>;
23
- export declare const IdentityAnchorViewSchema: Type.TUnion<[Type.TObject<{
24
- kind: Type.TLiteral<"web">;
25
- contractId: Type.TString;
26
- origin: Type.TString;
27
- }>, Type.TObject<{
28
- kind: Type.TLiteral<"cli">;
29
- contractId: Type.TString;
30
- sessionPublicKey: Type.TString;
31
- }>, Type.TObject<{
32
- kind: Type.TLiteral<"native">;
33
- contractId: Type.TString;
34
- sessionPublicKey: Type.TString;
35
- }>, Type.TObject<{
36
- kind: Type.TLiteral<"device-user">;
37
- contractId: Type.TString;
38
- devicePublicKey: Type.TString;
39
- }>]>;
40
- export declare const ContractEvidenceViewSchema: Type.TObject<{
41
- contractDigest: Type.TString;
42
- contractId: Type.TString;
43
- }>;
44
- export declare const ApprovalEvidenceViewSchema: Type.TObject<{
45
- contractDigest: Type.TString;
46
- contractId: Type.TString;
47
- displayName: Type.TString;
48
- description: Type.TString;
49
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
50
- displayName: Type.TString;
51
- description: Type.TString;
52
- consequence: Type.TOptional<Type.TString>;
53
- }>>;
54
- }>;
55
- export declare const IdentityGrantApprovalViewSchema: Type.TObject<{
56
- identityGrantId: Type.TString;
57
- identityAnchor: Type.TUnion<[Type.TObject<{
58
- kind: Type.TLiteral<"web">;
59
- contractId: Type.TString;
60
- origin: Type.TString;
61
- }>, Type.TObject<{
62
- kind: Type.TLiteral<"cli">;
63
- contractId: Type.TString;
64
- sessionPublicKey: Type.TString;
65
- }>, Type.TObject<{
66
- kind: Type.TLiteral<"native">;
67
- contractId: Type.TString;
68
- sessionPublicKey: Type.TString;
69
- }>, Type.TObject<{
70
- kind: Type.TLiteral<"device-user">;
71
- contractId: Type.TString;
72
- devicePublicKey: Type.TString;
73
- }>]>;
74
- contractEvidence: Type.TObject<{
75
- contractDigest: Type.TString;
76
- contractId: Type.TString;
77
- }>;
78
- displayName: Type.TString;
79
- description: Type.TString;
80
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
81
- displayName: Type.TString;
82
- description: Type.TString;
83
- consequence: Type.TOptional<Type.TString>;
84
- }>>;
85
- }>;
86
- export declare const ApprovalRecordViewSchema: Type.TObject<{
87
- user: Type.TString;
88
- answer: Type.TUnion<[Type.TLiteral<"approved">, Type.TLiteral<"denied">]>;
89
- answeredAt: Type.TString;
90
- updatedAt: Type.TString;
91
- identityGrantId: Type.TString;
92
- identityAnchor: Type.TUnion<[Type.TObject<{
93
- kind: Type.TLiteral<"web">;
94
- contractId: Type.TString;
95
- origin: Type.TString;
96
- }>, Type.TObject<{
97
- kind: Type.TLiteral<"cli">;
98
- contractId: Type.TString;
99
- sessionPublicKey: Type.TString;
100
- }>, Type.TObject<{
101
- kind: Type.TLiteral<"native">;
102
- contractId: Type.TString;
103
- sessionPublicKey: Type.TString;
104
- }>, Type.TObject<{
105
- kind: Type.TLiteral<"device-user">;
106
- contractId: Type.TString;
107
- devicePublicKey: Type.TString;
108
- }>]>;
109
- contractEvidence: Type.TObject<{
110
- contractDigest: Type.TString;
111
- contractId: Type.TString;
112
- }>;
113
- displayName: Type.TString;
114
- description: Type.TString;
115
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
116
- displayName: Type.TString;
117
- description: Type.TString;
118
- consequence: Type.TOptional<Type.TString>;
119
- }>>;
120
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
121
- }>;
122
- export declare const DeploymentAuthorityKindSchema: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
123
- export type DeploymentAuthorityKind = StaticDecode<typeof DeploymentAuthorityKindSchema>;
124
- export declare const DeploymentAuthoritySurfaceKindSchema: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
125
- export type DeploymentAuthoritySurfaceKind = StaticDecode<typeof DeploymentAuthoritySurfaceKindSchema>;
126
- export declare const DeploymentAuthoritySurfaceActionSchema: Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>;
127
- export type DeploymentAuthoritySurfaceAction = StaticDecode<typeof DeploymentAuthoritySurfaceActionSchema>;
128
- export declare const DeploymentAuthorityResourceKindSchema: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
129
- export type DeploymentAuthorityResourceKind = StaticDecode<typeof DeploymentAuthorityResourceKindSchema>;
130
- export declare const DeploymentAuthoritySurfaceSchema: Type.TObject<{
131
- contractId: Type.TString;
132
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
133
- name: Type.TString;
134
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
135
- }>;
136
- export type DeploymentAuthoritySurface = StaticDecode<typeof DeploymentAuthoritySurfaceSchema>;
137
- export declare const DeploymentAuthorityCapabilitySchema: Type.TString;
138
- export type DeploymentAuthorityCapability = StaticDecode<typeof DeploymentAuthorityCapabilitySchema>;
139
- export declare const DeploymentAuthorityResourceSchema: Type.TObject<{
140
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
141
- alias: Type.TString;
142
- required: Type.TBoolean;
143
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
144
- }>;
145
- export type DeploymentAuthorityResource = StaticDecode<typeof DeploymentAuthorityResourceSchema>;
146
- export declare const DeploymentAuthorityNeedSchema: Type.TUnion<[Type.TObject<{
147
- kind: Type.TLiteral<"contract">;
148
- contractId: Type.TString;
149
- required: Type.TBoolean;
150
- }>, Type.TObject<{
151
- kind: Type.TLiteral<"surface">;
152
- surface: Type.TObject<{
153
- contractId: Type.TString;
154
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
155
- name: Type.TString;
156
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
157
- }>;
158
- required: Type.TBoolean;
159
- }>, Type.TObject<{
160
- kind: Type.TLiteral<"capability">;
161
- capability: Type.TString;
162
- required: Type.TBoolean;
163
- }>, Type.TObject<{
164
- kind: Type.TLiteral<"resource">;
165
- resource: Type.TObject<{
166
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
167
- alias: Type.TString;
168
- required: Type.TBoolean;
169
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
170
- }>;
171
- required: Type.TBoolean;
172
- }>]>;
173
- export type DeploymentAuthorityNeed = StaticDecode<typeof DeploymentAuthorityNeedSchema>;
174
- export declare const DeploymentAuthoritySchema: Type.TObject<{
175
- deploymentId: Type.TString;
176
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
177
- disabled: Type.TBoolean;
178
- desiredState: Type.TObject<{
179
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
180
- kind: Type.TLiteral<"contract">;
181
- contractId: Type.TString;
182
- required: Type.TBoolean;
183
- }>, Type.TObject<{
184
- kind: Type.TLiteral<"surface">;
185
- surface: Type.TObject<{
186
- contractId: Type.TString;
187
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
188
- name: Type.TString;
189
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
190
- }>;
191
- required: Type.TBoolean;
192
- }>, Type.TObject<{
193
- kind: Type.TLiteral<"capability">;
194
- capability: Type.TString;
195
- required: Type.TBoolean;
196
- }>, Type.TObject<{
197
- kind: Type.TLiteral<"resource">;
198
- resource: Type.TObject<{
199
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
200
- alias: Type.TString;
201
- required: Type.TBoolean;
202
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
203
- }>;
204
- required: Type.TBoolean;
205
- }>]>>;
206
- capabilities: Type.TArray<Type.TString>;
207
- resources: Type.TArray<Type.TObject<{
208
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
209
- alias: Type.TString;
210
- required: Type.TBoolean;
211
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
212
- }>>;
213
- surfaces: Type.TArray<Type.TObject<{
214
- contractId: Type.TString;
215
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
216
- name: Type.TString;
217
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
218
- }>>;
219
- }>;
220
- version: Type.TString;
221
- createdAt: Type.TString;
222
- updatedAt: Type.TString;
223
- }>;
224
- export type DeploymentAuthority = StaticDecode<typeof DeploymentAuthoritySchema>;
225
- export declare const DeploymentAuthorityProposalSchema: Type.TObject<{
226
- proposalId: Type.TOptional<Type.TString>;
227
- deploymentId: Type.TString;
228
- contractId: Type.TString;
229
- contractDigest: Type.TString;
230
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
231
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
232
- kind: Type.TLiteral<"contract">;
233
- contractId: Type.TString;
234
- required: Type.TBoolean;
235
- }>, Type.TObject<{
236
- kind: Type.TLiteral<"surface">;
237
- surface: Type.TObject<{
238
- contractId: Type.TString;
239
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
240
- name: Type.TString;
241
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
242
- }>;
243
- required: Type.TBoolean;
244
- }>, Type.TObject<{
245
- kind: Type.TLiteral<"capability">;
246
- capability: Type.TString;
247
- required: Type.TBoolean;
248
- }>, Type.TObject<{
249
- kind: Type.TLiteral<"resource">;
250
- resource: Type.TObject<{
251
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
252
- alias: Type.TString;
253
- required: Type.TBoolean;
254
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
255
- }>;
256
- required: Type.TBoolean;
257
- }>]>>;
258
- providedSurfaces: Type.TArray<Type.TObject<{
259
- contractId: Type.TString;
260
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
261
- name: Type.TString;
262
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
263
- }>>;
264
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
265
- }>;
266
- export type DeploymentAuthorityProposal = StaticDecode<typeof DeploymentAuthorityProposalSchema>;
267
- export declare const DeploymentResourceBindingSchema: Type.TObject<{
268
- deploymentId: Type.TString;
269
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
270
- alias: Type.TString;
271
- binding: Type.TRecord<"^.*$", Type.TUnknown>;
272
- limits: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>;
273
- createdAt: Type.TString;
274
- updatedAt: Type.TString;
275
- }>;
276
- export type DeploymentResourceBinding = StaticDecode<typeof DeploymentResourceBindingSchema>;
277
- export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
278
- deploymentId: Type.TString;
279
- desiredVersion: Type.TString;
280
- status: Type.TUnion<[Type.TLiteral<"current">, Type.TLiteral<"pending">, Type.TLiteral<"failed">]>;
281
- resourceBindings: Type.TArray<Type.TObject<{
282
- deploymentId: Type.TString;
283
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
284
- alias: Type.TString;
285
- binding: Type.TRecord<"^.*$", Type.TUnknown>;
286
- limits: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>;
287
- createdAt: Type.TString;
288
- updatedAt: Type.TString;
289
- }>>;
290
- grants: Type.TArray<Type.TUnsafe<Record<string, unknown>>>;
291
- reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
292
- error: Type.TOptional<Type.TString>;
293
- }>;
294
- export type DeploymentAuthorityMaterialization = StaticDecode<typeof DeploymentAuthorityMaterializationSchema>;
295
- export declare const DeploymentAuthorityReconciliationStatusSchema: Type.TObject<{
296
- deploymentId: Type.TString;
297
- desiredVersion: Type.TString;
298
- state: Type.TUnion<[Type.TLiteral<"idle">, Type.TLiteral<"running">, Type.TLiteral<"succeeded">, Type.TLiteral<"failed">]>;
299
- startedAt: Type.TUnion<[Type.TString, Type.TNull]>;
300
- finishedAt: Type.TUnion<[Type.TString, Type.TNull]>;
301
- message: Type.TOptional<Type.TString>;
302
- }>;
303
- export type DeploymentAuthorityReconciliationStatus = StaticDecode<typeof DeploymentAuthorityReconciliationStatusSchema>;
304
- export declare const DeploymentAuthorityUpdateSchema: Type.TObject<{
305
- classification: Type.TLiteral<"update">;
306
- planId: Type.TString;
307
- deploymentId: Type.TString;
308
- proposal: Type.TObject<{
309
- proposalId: Type.TOptional<Type.TString>;
310
- deploymentId: Type.TString;
311
- contractId: Type.TString;
312
- contractDigest: Type.TString;
313
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
314
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
315
- kind: Type.TLiteral<"contract">;
316
- contractId: Type.TString;
317
- required: Type.TBoolean;
318
- }>, Type.TObject<{
319
- kind: Type.TLiteral<"surface">;
320
- surface: Type.TObject<{
321
- contractId: Type.TString;
322
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
323
- name: Type.TString;
324
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
325
- }>;
326
- required: Type.TBoolean;
327
- }>, Type.TObject<{
328
- kind: Type.TLiteral<"capability">;
329
- capability: Type.TString;
330
- required: Type.TBoolean;
331
- }>, Type.TObject<{
332
- kind: Type.TLiteral<"resource">;
333
- resource: Type.TObject<{
334
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
335
- alias: Type.TString;
336
- required: Type.TBoolean;
337
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
338
- }>;
339
- required: Type.TBoolean;
340
- }>]>>;
341
- providedSurfaces: Type.TArray<Type.TObject<{
342
- contractId: Type.TString;
343
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
344
- name: Type.TString;
345
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
346
- }>>;
347
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
348
- }>;
349
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
350
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
351
- warnings: Type.TArray<Type.TString>;
352
- createdAt: Type.TString;
353
- expiresAt: Type.TOptional<Type.TString>;
354
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
355
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
356
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
357
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
358
- }>;
359
- export type DeploymentAuthorityUpdate = StaticDecode<typeof DeploymentAuthorityUpdateSchema>;
360
- export declare const DeploymentAuthorityMigrationSchema: Type.TObject<{
361
- classification: Type.TLiteral<"migration">;
362
- acknowledgementRequired: Type.TBoolean;
363
- planId: Type.TString;
364
- deploymentId: Type.TString;
365
- proposal: Type.TObject<{
366
- proposalId: Type.TOptional<Type.TString>;
367
- deploymentId: Type.TString;
368
- contractId: Type.TString;
369
- contractDigest: Type.TString;
370
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
371
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
372
- kind: Type.TLiteral<"contract">;
373
- contractId: Type.TString;
374
- required: Type.TBoolean;
375
- }>, Type.TObject<{
376
- kind: Type.TLiteral<"surface">;
377
- surface: Type.TObject<{
378
- contractId: Type.TString;
379
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
380
- name: Type.TString;
381
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
382
- }>;
383
- required: Type.TBoolean;
384
- }>, Type.TObject<{
385
- kind: Type.TLiteral<"capability">;
386
- capability: Type.TString;
387
- required: Type.TBoolean;
388
- }>, Type.TObject<{
389
- kind: Type.TLiteral<"resource">;
390
- resource: Type.TObject<{
391
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
392
- alias: Type.TString;
393
- required: Type.TBoolean;
394
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
395
- }>;
396
- required: Type.TBoolean;
397
- }>]>>;
398
- providedSurfaces: Type.TArray<Type.TObject<{
399
- contractId: Type.TString;
400
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
401
- name: Type.TString;
402
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
403
- }>>;
404
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
405
- }>;
406
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
407
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
408
- warnings: Type.TArray<Type.TString>;
409
- createdAt: Type.TString;
410
- expiresAt: Type.TOptional<Type.TString>;
411
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
412
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
413
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
414
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
415
- }>;
416
- export type DeploymentAuthorityMigration = StaticDecode<typeof DeploymentAuthorityMigrationSchema>;
417
- export declare const DeploymentAuthorityPlanSchema: Type.TUnion<[Type.TObject<{
418
- classification: Type.TLiteral<"update">;
419
- planId: Type.TString;
420
- deploymentId: Type.TString;
421
- proposal: Type.TObject<{
422
- proposalId: Type.TOptional<Type.TString>;
423
- deploymentId: Type.TString;
424
- contractId: Type.TString;
425
- contractDigest: Type.TString;
426
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
427
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
428
- kind: Type.TLiteral<"contract">;
429
- contractId: Type.TString;
430
- required: Type.TBoolean;
431
- }>, Type.TObject<{
432
- kind: Type.TLiteral<"surface">;
433
- surface: Type.TObject<{
434
- contractId: Type.TString;
435
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
436
- name: Type.TString;
437
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
438
- }>;
439
- required: Type.TBoolean;
440
- }>, Type.TObject<{
441
- kind: Type.TLiteral<"capability">;
442
- capability: Type.TString;
443
- required: Type.TBoolean;
444
- }>, Type.TObject<{
445
- kind: Type.TLiteral<"resource">;
446
- resource: Type.TObject<{
447
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
448
- alias: Type.TString;
449
- required: Type.TBoolean;
450
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
451
- }>;
452
- required: Type.TBoolean;
453
- }>]>>;
454
- providedSurfaces: Type.TArray<Type.TObject<{
455
- contractId: Type.TString;
456
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
457
- name: Type.TString;
458
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
459
- }>>;
460
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
461
- }>;
462
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
463
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
464
- warnings: Type.TArray<Type.TString>;
465
- createdAt: Type.TString;
466
- expiresAt: Type.TOptional<Type.TString>;
467
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
468
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
469
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
470
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
471
- }>, Type.TObject<{
472
- classification: Type.TLiteral<"migration">;
473
- acknowledgementRequired: Type.TBoolean;
474
- planId: Type.TString;
475
- deploymentId: Type.TString;
476
- proposal: Type.TObject<{
477
- proposalId: Type.TOptional<Type.TString>;
478
- deploymentId: Type.TString;
479
- contractId: Type.TString;
480
- contractDigest: Type.TString;
481
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
482
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
483
- kind: Type.TLiteral<"contract">;
484
- contractId: Type.TString;
485
- required: Type.TBoolean;
486
- }>, Type.TObject<{
487
- kind: Type.TLiteral<"surface">;
488
- surface: Type.TObject<{
489
- contractId: Type.TString;
490
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
491
- name: Type.TString;
492
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
493
- }>;
494
- required: Type.TBoolean;
495
- }>, Type.TObject<{
496
- kind: Type.TLiteral<"capability">;
497
- capability: Type.TString;
498
- required: Type.TBoolean;
499
- }>, Type.TObject<{
500
- kind: Type.TLiteral<"resource">;
501
- resource: Type.TObject<{
502
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
503
- alias: Type.TString;
504
- required: Type.TBoolean;
505
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
506
- }>;
507
- required: Type.TBoolean;
508
- }>]>>;
509
- providedSurfaces: Type.TArray<Type.TObject<{
510
- contractId: Type.TString;
511
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
512
- name: Type.TString;
513
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
514
- }>>;
515
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
516
- }>;
517
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
518
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
519
- warnings: Type.TArray<Type.TString>;
520
- createdAt: Type.TString;
521
- expiresAt: Type.TOptional<Type.TString>;
522
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
523
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
524
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
525
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
526
- }>]>;
527
- export type DeploymentAuthorityPlan = StaticDecode<typeof DeploymentAuthorityPlanSchema>;
528
- export declare const ImplementationOfferSchema: Type.TObject<{
529
- offerId: Type.TString;
530
- deploymentKind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">]>;
531
- deploymentId: Type.TString;
532
- instanceId: Type.TUnion<[Type.TString, Type.TNull]>;
533
- contractId: Type.TString;
534
- contractDigest: Type.TString;
535
- lineageKey: Type.TString;
536
- status: Type.TUnion<[Type.TLiteral<"offered">, Type.TLiteral<"accepted">, Type.TLiteral<"stale">, Type.TLiteral<"expired">, Type.TLiteral<"withdrawn">]>;
537
- liveness: Type.TUnion<[Type.TLiteral<"unknown">, Type.TLiteral<"healthy">, Type.TLiteral<"unhealthy">, Type.TLiteral<"disconnected">]>;
538
- firstOfferedAt: Type.TString;
539
- acceptedAt: Type.TUnion<[Type.TString, Type.TNull]>;
540
- lastRefreshedAt: Type.TString;
541
- staleAt: Type.TUnion<[Type.TString, Type.TNull]>;
542
- expiresAt: Type.TUnion<[Type.TString, Type.TNull]>;
543
- }>;
544
- export type ImplementationOffer = StaticDecode<typeof ImplementationOfferSchema>;
545
- export declare const DeploymentPortalRouteSchema: Type.TObject<{
546
- deploymentId: Type.TString;
547
- portalId: Type.TUnion<[Type.TString, Type.TNull]>;
548
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
549
- disabled: Type.TBoolean;
550
- updatedAt: Type.TString;
551
- }>;
552
- export type DeploymentPortalRoute = StaticDecode<typeof DeploymentPortalRouteSchema>;
553
- export declare const DeploymentAuthorityGrantOverrideSchema: Type.TUnion<[Type.TObject<{
554
- deploymentId: Type.TString;
555
- identityKind: Type.TLiteral<"web">;
556
- grantKind: Type.TLiteral<"capability">;
557
- contractId: Type.TString;
558
- origin: Type.TString;
559
- sessionPublicKey: Type.TNull;
560
- capability: Type.TString;
561
- capabilityGroupKey: Type.TNull;
562
- }>, Type.TObject<{
563
- deploymentId: Type.TString;
564
- identityKind: Type.TLiteral<"web">;
565
- grantKind: Type.TLiteral<"capability-group">;
566
- contractId: Type.TString;
567
- origin: Type.TString;
568
- sessionPublicKey: Type.TNull;
569
- capability: Type.TNull;
570
- capabilityGroupKey: Type.TString;
571
- }>, Type.TObject<{
572
- deploymentId: Type.TString;
573
- identityKind: Type.TLiteral<"session">;
574
- grantKind: Type.TLiteral<"capability">;
575
- contractId: Type.TString;
576
- origin: Type.TNull;
577
- sessionPublicKey: Type.TString;
578
- capability: Type.TString;
579
- capabilityGroupKey: Type.TNull;
580
- }>, Type.TObject<{
581
- deploymentId: Type.TString;
582
- identityKind: Type.TLiteral<"session">;
583
- grantKind: Type.TLiteral<"capability-group">;
584
- contractId: Type.TString;
585
- origin: Type.TNull;
586
- sessionPublicKey: Type.TString;
587
- capability: Type.TNull;
588
- capabilityGroupKey: Type.TString;
589
- }>]>;
590
- export type DeploymentAuthorityGrantOverride = StaticDecode<typeof DeploymentAuthorityGrantOverrideSchema>;
591
- export declare const AuthDeploymentAuthorityListSchema: Type.TObject<{
592
- kind: Type.TOptional<Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>>;
593
- disabled: Type.TOptional<Type.TBoolean>;
594
- offset: Type.TOptional<Type.TInteger>;
595
- limit: Type.TInteger;
596
- }>;
597
- export type AuthDeploymentAuthorityListInput = StaticDecode<typeof AuthDeploymentAuthorityListSchema>;
598
- export declare const AuthDeploymentAuthorityListResponseSchema: Type.TObject<{
599
- entries: Type.TArray<Type.TObject<{
600
- deploymentId: Type.TString;
601
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
602
- disabled: Type.TBoolean;
603
- desiredState: Type.TObject<{
604
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
605
- kind: Type.TLiteral<"contract">;
606
- contractId: Type.TString;
607
- required: Type.TBoolean;
608
- }>, Type.TObject<{
609
- kind: Type.TLiteral<"surface">;
610
- surface: Type.TObject<{
611
- contractId: Type.TString;
612
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
613
- name: Type.TString;
614
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
615
- }>;
616
- required: Type.TBoolean;
617
- }>, Type.TObject<{
618
- kind: Type.TLiteral<"capability">;
619
- capability: Type.TString;
620
- required: Type.TBoolean;
621
- }>, Type.TObject<{
622
- kind: Type.TLiteral<"resource">;
623
- resource: Type.TObject<{
624
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
625
- alias: Type.TString;
626
- required: Type.TBoolean;
627
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
628
- }>;
629
- required: Type.TBoolean;
630
- }>]>>;
631
- capabilities: Type.TArray<Type.TString>;
632
- resources: Type.TArray<Type.TObject<{
633
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
634
- alias: Type.TString;
635
- required: Type.TBoolean;
636
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
637
- }>>;
638
- surfaces: Type.TArray<Type.TObject<{
639
- contractId: Type.TString;
640
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
641
- name: Type.TString;
642
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
643
- }>>;
644
- }>;
645
- version: Type.TString;
646
- createdAt: Type.TString;
647
- updatedAt: Type.TString;
648
- }>>;
649
- count: Type.TInteger;
650
- offset: Type.TInteger;
651
- limit: Type.TInteger;
652
- nextOffset: Type.TOptional<Type.TInteger>;
653
- }>;
654
- export type AuthDeploymentAuthorityListResponse = StaticDecode<typeof AuthDeploymentAuthorityListResponseSchema>;
655
- export declare const AuthDeploymentAuthorityGetSchema: Type.TObject<{
656
- deploymentId: Type.TString;
657
- }>;
658
- export type AuthDeploymentAuthorityGetInput = StaticDecode<typeof AuthDeploymentAuthorityGetSchema>;
659
- export declare const AuthDeploymentAuthorityGetResponseSchema: Type.TObject<{
660
- authority: Type.TObject<{
661
- deploymentId: Type.TString;
662
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
663
- disabled: Type.TBoolean;
664
- desiredState: Type.TObject<{
665
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
666
- kind: Type.TLiteral<"contract">;
667
- contractId: Type.TString;
668
- required: Type.TBoolean;
669
- }>, Type.TObject<{
670
- kind: Type.TLiteral<"surface">;
671
- surface: Type.TObject<{
672
- contractId: Type.TString;
673
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
674
- name: Type.TString;
675
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
676
- }>;
677
- required: Type.TBoolean;
678
- }>, Type.TObject<{
679
- kind: Type.TLiteral<"capability">;
680
- capability: Type.TString;
681
- required: Type.TBoolean;
682
- }>, Type.TObject<{
683
- kind: Type.TLiteral<"resource">;
684
- resource: Type.TObject<{
685
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
686
- alias: Type.TString;
687
- required: Type.TBoolean;
688
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
689
- }>;
690
- required: Type.TBoolean;
691
- }>]>>;
692
- capabilities: Type.TArray<Type.TString>;
693
- resources: Type.TArray<Type.TObject<{
694
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
695
- alias: Type.TString;
696
- required: Type.TBoolean;
697
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
698
- }>>;
699
- surfaces: Type.TArray<Type.TObject<{
700
- contractId: Type.TString;
701
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
702
- name: Type.TString;
703
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
704
- }>>;
705
- }>;
706
- version: Type.TString;
707
- createdAt: Type.TString;
708
- updatedAt: Type.TString;
709
- }>;
710
- materializedAuthority: Type.TUnion<[Type.TObject<{
711
- deploymentId: Type.TString;
712
- desiredVersion: Type.TString;
713
- status: Type.TUnion<[Type.TLiteral<"current">, Type.TLiteral<"pending">, Type.TLiteral<"failed">]>;
714
- resourceBindings: Type.TArray<Type.TObject<{
715
- deploymentId: Type.TString;
716
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
717
- alias: Type.TString;
718
- binding: Type.TRecord<"^.*$", Type.TUnknown>;
719
- limits: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>;
720
- createdAt: Type.TString;
721
- updatedAt: Type.TString;
722
- }>>;
723
- grants: Type.TArray<Type.TUnsafe<Record<string, unknown>>>;
724
- reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
725
- error: Type.TOptional<Type.TString>;
726
- }>, Type.TNull]>;
727
- portalRoute: Type.TUnion<[Type.TObject<{
728
- deploymentId: Type.TString;
729
- portalId: Type.TUnion<[Type.TString, Type.TNull]>;
730
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
731
- disabled: Type.TBoolean;
732
- updatedAt: Type.TString;
733
- }>, Type.TNull]>;
734
- grantOverrides: Type.TArray<Type.TUnion<[Type.TObject<{
735
- deploymentId: Type.TString;
736
- identityKind: Type.TLiteral<"web">;
737
- grantKind: Type.TLiteral<"capability">;
738
- contractId: Type.TString;
739
- origin: Type.TString;
740
- sessionPublicKey: Type.TNull;
741
- capability: Type.TString;
742
- capabilityGroupKey: Type.TNull;
743
- }>, Type.TObject<{
744
- deploymentId: Type.TString;
745
- identityKind: Type.TLiteral<"web">;
746
- grantKind: Type.TLiteral<"capability-group">;
747
- contractId: Type.TString;
748
- origin: Type.TString;
749
- sessionPublicKey: Type.TNull;
750
- capability: Type.TNull;
751
- capabilityGroupKey: Type.TString;
752
- }>, Type.TObject<{
753
- deploymentId: Type.TString;
754
- identityKind: Type.TLiteral<"session">;
755
- grantKind: Type.TLiteral<"capability">;
756
- contractId: Type.TString;
757
- origin: Type.TNull;
758
- sessionPublicKey: Type.TString;
759
- capability: Type.TString;
760
- capabilityGroupKey: Type.TNull;
761
- }>, Type.TObject<{
762
- deploymentId: Type.TString;
763
- identityKind: Type.TLiteral<"session">;
764
- grantKind: Type.TLiteral<"capability-group">;
765
- contractId: Type.TString;
766
- origin: Type.TNull;
767
- sessionPublicKey: Type.TString;
768
- capability: Type.TNull;
769
- capabilityGroupKey: Type.TString;
770
- }>]>>;
771
- }>;
772
- export type AuthDeploymentAuthorityGetResponse = StaticDecode<typeof AuthDeploymentAuthorityGetResponseSchema>;
773
- export declare const AuthDeploymentAuthorityPlansListSchema: Type.TObject<{
774
- deploymentId: Type.TOptional<Type.TString>;
775
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
776
- classification: Type.TOptional<Type.TUnion<[Type.TLiteral<"update">, Type.TLiteral<"migration">]>>;
777
- kind: Type.TOptional<Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>>;
778
- offset: Type.TOptional<Type.TInteger>;
779
- limit: Type.TInteger;
780
- }>;
781
- export type AuthDeploymentAuthorityPlansListInput = StaticDecode<typeof AuthDeploymentAuthorityPlansListSchema>;
782
- export declare const AuthDeploymentAuthorityPlansListResponseSchema: Type.TObject<{
783
- entries: Type.TArray<Type.TUnion<[Type.TObject<{
784
- classification: Type.TLiteral<"update">;
785
- planId: Type.TString;
786
- deploymentId: Type.TString;
787
- proposal: Type.TObject<{
788
- proposalId: Type.TOptional<Type.TString>;
789
- deploymentId: Type.TString;
790
- contractId: Type.TString;
791
- contractDigest: Type.TString;
792
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
793
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
794
- kind: Type.TLiteral<"contract">;
795
- contractId: Type.TString;
796
- required: Type.TBoolean;
797
- }>, Type.TObject<{
798
- kind: Type.TLiteral<"surface">;
799
- surface: Type.TObject<{
800
- contractId: Type.TString;
801
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
802
- name: Type.TString;
803
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
804
- }>;
805
- required: Type.TBoolean;
806
- }>, Type.TObject<{
807
- kind: Type.TLiteral<"capability">;
808
- capability: Type.TString;
809
- required: Type.TBoolean;
810
- }>, Type.TObject<{
811
- kind: Type.TLiteral<"resource">;
812
- resource: Type.TObject<{
813
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
814
- alias: Type.TString;
815
- required: Type.TBoolean;
816
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
817
- }>;
818
- required: Type.TBoolean;
819
- }>]>>;
820
- providedSurfaces: Type.TArray<Type.TObject<{
821
- contractId: Type.TString;
822
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
823
- name: Type.TString;
824
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
825
- }>>;
826
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
827
- }>;
828
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
829
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
830
- warnings: Type.TArray<Type.TString>;
831
- createdAt: Type.TString;
832
- expiresAt: Type.TOptional<Type.TString>;
833
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
834
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
835
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
836
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
837
- }>, Type.TObject<{
838
- classification: Type.TLiteral<"migration">;
839
- acknowledgementRequired: Type.TBoolean;
840
- planId: Type.TString;
841
- deploymentId: Type.TString;
842
- proposal: Type.TObject<{
843
- proposalId: Type.TOptional<Type.TString>;
844
- deploymentId: Type.TString;
845
- contractId: Type.TString;
846
- contractDigest: Type.TString;
847
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
848
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
849
- kind: Type.TLiteral<"contract">;
850
- contractId: Type.TString;
851
- required: Type.TBoolean;
852
- }>, Type.TObject<{
853
- kind: Type.TLiteral<"surface">;
854
- surface: Type.TObject<{
855
- contractId: Type.TString;
856
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
857
- name: Type.TString;
858
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
859
- }>;
860
- required: Type.TBoolean;
861
- }>, Type.TObject<{
862
- kind: Type.TLiteral<"capability">;
863
- capability: Type.TString;
864
- required: Type.TBoolean;
865
- }>, Type.TObject<{
866
- kind: Type.TLiteral<"resource">;
867
- resource: Type.TObject<{
868
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
869
- alias: Type.TString;
870
- required: Type.TBoolean;
871
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
872
- }>;
873
- required: Type.TBoolean;
874
- }>]>>;
875
- providedSurfaces: Type.TArray<Type.TObject<{
876
- contractId: Type.TString;
877
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
878
- name: Type.TString;
879
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
880
- }>>;
881
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
882
- }>;
883
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
884
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
885
- warnings: Type.TArray<Type.TString>;
886
- createdAt: Type.TString;
887
- expiresAt: Type.TOptional<Type.TString>;
888
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
889
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
890
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
891
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
892
- }>]>>;
893
- count: Type.TInteger;
894
- offset: Type.TInteger;
895
- limit: Type.TInteger;
896
- nextOffset: Type.TOptional<Type.TInteger>;
897
- }>;
898
- export type AuthDeploymentAuthorityPlansListResponse = StaticDecode<typeof AuthDeploymentAuthorityPlansListResponseSchema>;
899
- export declare const AuthDeploymentAuthorityPlansGetSchema: Type.TObject<{
900
- planId: Type.TString;
901
- }>;
902
- export type AuthDeploymentAuthorityPlansGetInput = StaticDecode<typeof AuthDeploymentAuthorityPlansGetSchema>;
903
- export declare const AuthDeploymentAuthorityPlansGetResponseSchema: Type.TObject<{
904
- plan: Type.TUnion<[Type.TObject<{
905
- classification: Type.TLiteral<"update">;
906
- planId: Type.TString;
907
- deploymentId: Type.TString;
908
- proposal: Type.TObject<{
909
- proposalId: Type.TOptional<Type.TString>;
910
- deploymentId: Type.TString;
911
- contractId: Type.TString;
912
- contractDigest: Type.TString;
913
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
914
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
915
- kind: Type.TLiteral<"contract">;
916
- contractId: Type.TString;
917
- required: Type.TBoolean;
918
- }>, Type.TObject<{
919
- kind: Type.TLiteral<"surface">;
920
- surface: Type.TObject<{
921
- contractId: Type.TString;
922
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
923
- name: Type.TString;
924
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
925
- }>;
926
- required: Type.TBoolean;
927
- }>, Type.TObject<{
928
- kind: Type.TLiteral<"capability">;
929
- capability: Type.TString;
930
- required: Type.TBoolean;
931
- }>, Type.TObject<{
932
- kind: Type.TLiteral<"resource">;
933
- resource: Type.TObject<{
934
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
935
- alias: Type.TString;
936
- required: Type.TBoolean;
937
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
938
- }>;
939
- required: Type.TBoolean;
940
- }>]>>;
941
- providedSurfaces: Type.TArray<Type.TObject<{
942
- contractId: Type.TString;
943
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
944
- name: Type.TString;
945
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
946
- }>>;
947
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
948
- }>;
949
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
950
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
951
- warnings: Type.TArray<Type.TString>;
952
- createdAt: Type.TString;
953
- expiresAt: Type.TOptional<Type.TString>;
954
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
955
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
956
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
957
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
958
- }>, Type.TObject<{
959
- classification: Type.TLiteral<"migration">;
960
- acknowledgementRequired: Type.TBoolean;
961
- planId: Type.TString;
962
- deploymentId: Type.TString;
963
- proposal: Type.TObject<{
964
- proposalId: Type.TOptional<Type.TString>;
965
- deploymentId: Type.TString;
966
- contractId: Type.TString;
967
- contractDigest: Type.TString;
968
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
969
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
970
- kind: Type.TLiteral<"contract">;
971
- contractId: Type.TString;
972
- required: Type.TBoolean;
973
- }>, Type.TObject<{
974
- kind: Type.TLiteral<"surface">;
975
- surface: Type.TObject<{
976
- contractId: Type.TString;
977
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
978
- name: Type.TString;
979
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
980
- }>;
981
- required: Type.TBoolean;
982
- }>, Type.TObject<{
983
- kind: Type.TLiteral<"capability">;
984
- capability: Type.TString;
985
- required: Type.TBoolean;
986
- }>, Type.TObject<{
987
- kind: Type.TLiteral<"resource">;
988
- resource: Type.TObject<{
989
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
990
- alias: Type.TString;
991
- required: Type.TBoolean;
992
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
993
- }>;
994
- required: Type.TBoolean;
995
- }>]>>;
996
- providedSurfaces: Type.TArray<Type.TObject<{
997
- contractId: Type.TString;
998
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
999
- name: Type.TString;
1000
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1001
- }>>;
1002
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1003
- }>;
1004
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
1005
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
1006
- warnings: Type.TArray<Type.TString>;
1007
- createdAt: Type.TString;
1008
- expiresAt: Type.TOptional<Type.TString>;
1009
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
1010
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
1011
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
1012
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
1013
- }>]>;
1014
- }>;
1015
- export type AuthDeploymentAuthorityPlansGetResponse = StaticDecode<typeof AuthDeploymentAuthorityPlansGetResponseSchema>;
1016
- export declare const AuthDeploymentAuthorityPlanSchema: Type.TObject<{
1017
- deploymentId: Type.TString;
1018
- contract: Type.TUnsafe<Record<string, unknown>>;
1019
- expectedDigest: Type.TString;
1020
- }>;
1021
- export type AuthDeploymentAuthorityPlanInput = StaticDecode<typeof AuthDeploymentAuthorityPlanSchema>;
1022
- export declare const AuthDeploymentAuthorityPlanResponseSchema: Type.TObject<{
1023
- plan: Type.TUnion<[Type.TObject<{
1024
- classification: Type.TLiteral<"update">;
1025
- planId: Type.TString;
1026
- deploymentId: Type.TString;
1027
- proposal: Type.TObject<{
1028
- proposalId: Type.TOptional<Type.TString>;
1029
- deploymentId: Type.TString;
1030
- contractId: Type.TString;
1031
- contractDigest: Type.TString;
1032
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1033
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
1034
- kind: Type.TLiteral<"contract">;
1035
- contractId: Type.TString;
1036
- required: Type.TBoolean;
1037
- }>, Type.TObject<{
1038
- kind: Type.TLiteral<"surface">;
1039
- surface: Type.TObject<{
1040
- contractId: Type.TString;
1041
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1042
- name: Type.TString;
1043
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1044
- }>;
1045
- required: Type.TBoolean;
1046
- }>, Type.TObject<{
1047
- kind: Type.TLiteral<"capability">;
1048
- capability: Type.TString;
1049
- required: Type.TBoolean;
1050
- }>, Type.TObject<{
1051
- kind: Type.TLiteral<"resource">;
1052
- resource: Type.TObject<{
1053
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1054
- alias: Type.TString;
1055
- required: Type.TBoolean;
1056
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1057
- }>;
1058
- required: Type.TBoolean;
1059
- }>]>>;
1060
- providedSurfaces: Type.TArray<Type.TObject<{
1061
- contractId: Type.TString;
1062
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1063
- name: Type.TString;
1064
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1065
- }>>;
1066
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1067
- }>;
1068
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
1069
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
1070
- warnings: Type.TArray<Type.TString>;
1071
- createdAt: Type.TString;
1072
- expiresAt: Type.TOptional<Type.TString>;
1073
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
1074
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
1075
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
1076
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
1077
- }>, Type.TObject<{
1078
- classification: Type.TLiteral<"migration">;
1079
- acknowledgementRequired: Type.TBoolean;
1080
- planId: Type.TString;
1081
- deploymentId: Type.TString;
1082
- proposal: Type.TObject<{
1083
- proposalId: Type.TOptional<Type.TString>;
1084
- deploymentId: Type.TString;
1085
- contractId: Type.TString;
1086
- contractDigest: Type.TString;
1087
- contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1088
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
1089
- kind: Type.TLiteral<"contract">;
1090
- contractId: Type.TString;
1091
- required: Type.TBoolean;
1092
- }>, Type.TObject<{
1093
- kind: Type.TLiteral<"surface">;
1094
- surface: Type.TObject<{
1095
- contractId: Type.TString;
1096
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1097
- name: Type.TString;
1098
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1099
- }>;
1100
- required: Type.TBoolean;
1101
- }>, Type.TObject<{
1102
- kind: Type.TLiteral<"capability">;
1103
- capability: Type.TString;
1104
- required: Type.TBoolean;
1105
- }>, Type.TObject<{
1106
- kind: Type.TLiteral<"resource">;
1107
- resource: Type.TObject<{
1108
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1109
- alias: Type.TString;
1110
- required: Type.TBoolean;
1111
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1112
- }>;
1113
- required: Type.TBoolean;
1114
- }>]>>;
1115
- providedSurfaces: Type.TArray<Type.TObject<{
1116
- contractId: Type.TString;
1117
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1118
- name: Type.TString;
1119
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1120
- }>>;
1121
- summary: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1122
- }>;
1123
- desiredChange: Type.TUnsafe<Record<string, unknown>>;
1124
- materializationPreview: Type.TUnsafe<Record<string, unknown>>;
1125
- warnings: Type.TArray<Type.TString>;
1126
- createdAt: Type.TString;
1127
- expiresAt: Type.TOptional<Type.TString>;
1128
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"accepted">, Type.TLiteral<"rejected">, Type.TLiteral<"expired">]>>;
1129
- decisionAt: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
1130
- decisionBy: Type.TOptional<Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>>;
1131
- decisionReason: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
1132
- }>]>;
1133
- }>;
1134
- export type AuthDeploymentAuthorityPlanResponse = StaticDecode<typeof AuthDeploymentAuthorityPlanResponseSchema>;
1135
- export declare const AuthDeploymentAuthorityAcceptUpdateSchema: Type.TObject<{
1136
- planId: Type.TString;
1137
- expectedDesiredVersion: Type.TOptional<Type.TString>;
1138
- }>;
1139
- export type AuthDeploymentAuthorityAcceptUpdateInput = StaticDecode<typeof AuthDeploymentAuthorityAcceptUpdateSchema>;
1140
- export declare const AuthDeploymentAuthorityAcceptMigrationSchema: Type.TObject<{
1141
- planId: Type.TString;
1142
- expectedDesiredVersion: Type.TOptional<Type.TString>;
1143
- acknowledgement: Type.TString;
1144
- }>;
1145
- export type AuthDeploymentAuthorityAcceptMigrationInput = StaticDecode<typeof AuthDeploymentAuthorityAcceptMigrationSchema>;
1146
- export declare const AuthDeploymentAuthorityAcceptResponseSchema: Type.TObject<{
1147
- authority: Type.TObject<{
1148
- deploymentId: Type.TString;
1149
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
1150
- disabled: Type.TBoolean;
1151
- desiredState: Type.TObject<{
1152
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
1153
- kind: Type.TLiteral<"contract">;
1154
- contractId: Type.TString;
1155
- required: Type.TBoolean;
1156
- }>, Type.TObject<{
1157
- kind: Type.TLiteral<"surface">;
1158
- surface: Type.TObject<{
1159
- contractId: Type.TString;
1160
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1161
- name: Type.TString;
1162
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1163
- }>;
1164
- required: Type.TBoolean;
1165
- }>, Type.TObject<{
1166
- kind: Type.TLiteral<"capability">;
1167
- capability: Type.TString;
1168
- required: Type.TBoolean;
1169
- }>, Type.TObject<{
1170
- kind: Type.TLiteral<"resource">;
1171
- resource: Type.TObject<{
1172
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1173
- alias: Type.TString;
1174
- required: Type.TBoolean;
1175
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1176
- }>;
1177
- required: Type.TBoolean;
1178
- }>]>>;
1179
- capabilities: Type.TArray<Type.TString>;
1180
- resources: Type.TArray<Type.TObject<{
1181
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1182
- alias: Type.TString;
1183
- required: Type.TBoolean;
1184
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1185
- }>>;
1186
- surfaces: Type.TArray<Type.TObject<{
1187
- contractId: Type.TString;
1188
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1189
- name: Type.TString;
1190
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1191
- }>>;
1192
- }>;
1193
- version: Type.TString;
1194
- createdAt: Type.TString;
1195
- updatedAt: Type.TString;
1196
- }>;
1197
- }>;
1198
- export type AuthDeploymentAuthorityAcceptResponse = StaticDecode<typeof AuthDeploymentAuthorityAcceptResponseSchema>;
1199
- export declare const AuthDeploymentAuthorityRejectSchema: Type.TObject<{
1200
- planId: Type.TString;
1201
- reason: Type.TOptional<Type.TString>;
1202
- }>;
1203
- export type AuthDeploymentAuthorityRejectInput = StaticDecode<typeof AuthDeploymentAuthorityRejectSchema>;
1204
- export declare const AuthDeploymentAuthorityRejectResponseSchema: Type.TObject<{
1205
- success: Type.TBoolean;
1206
- }>;
1207
- export type AuthDeploymentAuthorityRejectResponse = StaticDecode<typeof AuthDeploymentAuthorityRejectResponseSchema>;
1208
- export declare const AuthDeploymentAuthorityReconcileSchema: Type.TObject<{
1209
- deploymentId: Type.TString;
1210
- desiredVersion: Type.TOptional<Type.TString>;
1211
- }>;
1212
- export type AuthDeploymentAuthorityReconcileInput = StaticDecode<typeof AuthDeploymentAuthorityReconcileSchema>;
1213
- export declare const AuthDeploymentAuthorityReconcileResponseSchema: Type.TObject<{
1214
- authority: Type.TObject<{
1215
- deploymentId: Type.TString;
1216
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
1217
- disabled: Type.TBoolean;
1218
- desiredState: Type.TObject<{
1219
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
1220
- kind: Type.TLiteral<"contract">;
1221
- contractId: Type.TString;
1222
- required: Type.TBoolean;
1223
- }>, Type.TObject<{
1224
- kind: Type.TLiteral<"surface">;
1225
- surface: Type.TObject<{
1226
- contractId: Type.TString;
1227
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1228
- name: Type.TString;
1229
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1230
- }>;
1231
- required: Type.TBoolean;
1232
- }>, Type.TObject<{
1233
- kind: Type.TLiteral<"capability">;
1234
- capability: Type.TString;
1235
- required: Type.TBoolean;
1236
- }>, Type.TObject<{
1237
- kind: Type.TLiteral<"resource">;
1238
- resource: Type.TObject<{
1239
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1240
- alias: Type.TString;
1241
- required: Type.TBoolean;
1242
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1243
- }>;
1244
- required: Type.TBoolean;
1245
- }>]>>;
1246
- capabilities: Type.TArray<Type.TString>;
1247
- resources: Type.TArray<Type.TObject<{
1248
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1249
- alias: Type.TString;
1250
- required: Type.TBoolean;
1251
- definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1252
- }>>;
1253
- surfaces: Type.TArray<Type.TObject<{
1254
- contractId: Type.TString;
1255
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1256
- name: Type.TString;
1257
- action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1258
- }>>;
1259
- }>;
1260
- version: Type.TString;
1261
- createdAt: Type.TString;
1262
- updatedAt: Type.TString;
1263
- }>;
1264
- materializedAuthority: Type.TObject<{
1265
- deploymentId: Type.TString;
1266
- desiredVersion: Type.TString;
1267
- status: Type.TUnion<[Type.TLiteral<"current">, Type.TLiteral<"pending">, Type.TLiteral<"failed">]>;
1268
- resourceBindings: Type.TArray<Type.TObject<{
1269
- deploymentId: Type.TString;
1270
- kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1271
- alias: Type.TString;
1272
- binding: Type.TRecord<"^.*$", Type.TUnknown>;
1273
- limits: Type.TUnion<[Type.TRecord<"^.*$", Type.TUnknown>, Type.TNull]>;
1274
- createdAt: Type.TString;
1275
- updatedAt: Type.TString;
1276
- }>>;
1277
- grants: Type.TArray<Type.TUnsafe<Record<string, unknown>>>;
1278
- reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
1279
- error: Type.TOptional<Type.TString>;
1280
- }>;
1281
- reconciliation: Type.TOptional<Type.TObject<{
1282
- deploymentId: Type.TString;
1283
- desiredVersion: Type.TString;
1284
- state: Type.TUnion<[Type.TLiteral<"idle">, Type.TLiteral<"running">, Type.TLiteral<"succeeded">, Type.TLiteral<"failed">]>;
1285
- startedAt: Type.TUnion<[Type.TString, Type.TNull]>;
1286
- finishedAt: Type.TUnion<[Type.TString, Type.TNull]>;
1287
- message: Type.TOptional<Type.TString>;
1288
- }>>;
1289
- }>;
1290
- export type AuthDeploymentAuthorityReconcileResponse = StaticDecode<typeof AuthDeploymentAuthorityReconcileResponseSchema>;
1291
- export declare const AuthDeploymentAuthorityGrantOverridesPutSchema: Type.TObject<{
1292
- deploymentId: Type.TString;
1293
- overrides: Type.TArray<Type.TUnion<[Type.TObject<{
1294
- deploymentId: Type.TString;
1295
- identityKind: Type.TLiteral<"web">;
1296
- grantKind: Type.TLiteral<"capability">;
1297
- contractId: Type.TString;
1298
- origin: Type.TString;
1299
- sessionPublicKey: Type.TNull;
1300
- capability: Type.TString;
1301
- capabilityGroupKey: Type.TNull;
1302
- }>, Type.TObject<{
1303
- deploymentId: Type.TString;
1304
- identityKind: Type.TLiteral<"web">;
1305
- grantKind: Type.TLiteral<"capability-group">;
1306
- contractId: Type.TString;
1307
- origin: Type.TString;
1308
- sessionPublicKey: Type.TNull;
1309
- capability: Type.TNull;
1310
- capabilityGroupKey: Type.TString;
1311
- }>, Type.TObject<{
1312
- deploymentId: Type.TString;
1313
- identityKind: Type.TLiteral<"session">;
1314
- grantKind: Type.TLiteral<"capability">;
1315
- contractId: Type.TString;
1316
- origin: Type.TNull;
1317
- sessionPublicKey: Type.TString;
1318
- capability: Type.TString;
1319
- capabilityGroupKey: Type.TNull;
1320
- }>, Type.TObject<{
1321
- deploymentId: Type.TString;
1322
- identityKind: Type.TLiteral<"session">;
1323
- grantKind: Type.TLiteral<"capability-group">;
1324
- contractId: Type.TString;
1325
- origin: Type.TNull;
1326
- sessionPublicKey: Type.TString;
1327
- capability: Type.TNull;
1328
- capabilityGroupKey: Type.TString;
1329
- }>]>>;
1330
- }>;
1331
- export type AuthDeploymentAuthorityGrantOverridesPutInput = StaticDecode<typeof AuthDeploymentAuthorityGrantOverridesPutSchema>;
1332
- export declare const AuthDeploymentAuthorityGrantOverridesListSchema: Type.TObject<{
1333
- offset: Type.TOptional<Type.TInteger>;
1334
- limit: Type.TInteger;
1335
- }>;
1336
- export type AuthDeploymentAuthorityGrantOverridesListInput = StaticDecode<typeof AuthDeploymentAuthorityGrantOverridesListSchema>;
1337
- export declare const AuthDeploymentAuthorityGrantOverridesListResponseSchema: Type.TObject<{
1338
- entries: Type.TArray<Type.TUnion<[Type.TObject<{
1339
- deploymentId: Type.TString;
1340
- identityKind: Type.TLiteral<"web">;
1341
- grantKind: Type.TLiteral<"capability">;
1342
- contractId: Type.TString;
1343
- origin: Type.TString;
1344
- sessionPublicKey: Type.TNull;
1345
- capability: Type.TString;
1346
- capabilityGroupKey: Type.TNull;
1347
- }>, Type.TObject<{
1348
- deploymentId: Type.TString;
1349
- identityKind: Type.TLiteral<"web">;
1350
- grantKind: Type.TLiteral<"capability-group">;
1351
- contractId: Type.TString;
1352
- origin: Type.TString;
1353
- sessionPublicKey: Type.TNull;
1354
- capability: Type.TNull;
1355
- capabilityGroupKey: Type.TString;
1356
- }>, Type.TObject<{
1357
- deploymentId: Type.TString;
1358
- identityKind: Type.TLiteral<"session">;
1359
- grantKind: Type.TLiteral<"capability">;
1360
- contractId: Type.TString;
1361
- origin: Type.TNull;
1362
- sessionPublicKey: Type.TString;
1363
- capability: Type.TString;
1364
- capabilityGroupKey: Type.TNull;
1365
- }>, Type.TObject<{
1366
- deploymentId: Type.TString;
1367
- identityKind: Type.TLiteral<"session">;
1368
- grantKind: Type.TLiteral<"capability-group">;
1369
- contractId: Type.TString;
1370
- origin: Type.TNull;
1371
- sessionPublicKey: Type.TString;
1372
- capability: Type.TNull;
1373
- capabilityGroupKey: Type.TString;
1374
- }>]>>;
1375
- count: Type.TInteger;
1376
- offset: Type.TInteger;
1377
- limit: Type.TInteger;
1378
- nextOffset: Type.TOptional<Type.TInteger>;
1379
- }>;
1380
- export type AuthDeploymentAuthorityGrantOverridesListResponse = StaticDecode<typeof AuthDeploymentAuthorityGrantOverridesListResponseSchema>;
1381
- export declare const AuthDeploymentAuthorityGrantOverridesResponseSchema: Type.TObject<{
1382
- grantOverrides: Type.TArray<Type.TUnion<[Type.TObject<{
1383
- deploymentId: Type.TString;
1384
- identityKind: Type.TLiteral<"web">;
1385
- grantKind: Type.TLiteral<"capability">;
1386
- contractId: Type.TString;
1387
- origin: Type.TString;
1388
- sessionPublicKey: Type.TNull;
1389
- capability: Type.TString;
1390
- capabilityGroupKey: Type.TNull;
1391
- }>, Type.TObject<{
1392
- deploymentId: Type.TString;
1393
- identityKind: Type.TLiteral<"web">;
1394
- grantKind: Type.TLiteral<"capability-group">;
1395
- contractId: Type.TString;
1396
- origin: Type.TString;
1397
- sessionPublicKey: Type.TNull;
1398
- capability: Type.TNull;
1399
- capabilityGroupKey: Type.TString;
1400
- }>, Type.TObject<{
1401
- deploymentId: Type.TString;
1402
- identityKind: Type.TLiteral<"session">;
1403
- grantKind: Type.TLiteral<"capability">;
1404
- contractId: Type.TString;
1405
- origin: Type.TNull;
1406
- sessionPublicKey: Type.TString;
1407
- capability: Type.TString;
1408
- capabilityGroupKey: Type.TNull;
1409
- }>, Type.TObject<{
1410
- deploymentId: Type.TString;
1411
- identityKind: Type.TLiteral<"session">;
1412
- grantKind: Type.TLiteral<"capability-group">;
1413
- contractId: Type.TString;
1414
- origin: Type.TNull;
1415
- sessionPublicKey: Type.TString;
1416
- capability: Type.TNull;
1417
- capabilityGroupKey: Type.TString;
1418
- }>]>>;
1419
- }>;
1420
- export type AuthDeploymentAuthorityGrantOverridesResponse = StaticDecode<typeof AuthDeploymentAuthorityGrantOverridesResponseSchema>;
1421
- export declare const AuthDeploymentAuthorityGrantOverridesRemoveSchema: Type.TObject<{
1422
- deploymentId: Type.TString;
1423
- overrides: Type.TArray<Type.TUnion<[Type.TObject<{
1424
- deploymentId: Type.TString;
1425
- identityKind: Type.TLiteral<"web">;
1426
- grantKind: Type.TLiteral<"capability">;
1427
- contractId: Type.TString;
1428
- origin: Type.TString;
1429
- sessionPublicKey: Type.TNull;
1430
- capability: Type.TString;
1431
- capabilityGroupKey: Type.TNull;
1432
- }>, Type.TObject<{
1433
- deploymentId: Type.TString;
1434
- identityKind: Type.TLiteral<"web">;
1435
- grantKind: Type.TLiteral<"capability-group">;
1436
- contractId: Type.TString;
1437
- origin: Type.TString;
1438
- sessionPublicKey: Type.TNull;
1439
- capability: Type.TNull;
1440
- capabilityGroupKey: Type.TString;
1441
- }>, Type.TObject<{
1442
- deploymentId: Type.TString;
1443
- identityKind: Type.TLiteral<"session">;
1444
- grantKind: Type.TLiteral<"capability">;
1445
- contractId: Type.TString;
1446
- origin: Type.TNull;
1447
- sessionPublicKey: Type.TString;
1448
- capability: Type.TString;
1449
- capabilityGroupKey: Type.TNull;
1450
- }>, Type.TObject<{
1451
- deploymentId: Type.TString;
1452
- identityKind: Type.TLiteral<"session">;
1453
- grantKind: Type.TLiteral<"capability-group">;
1454
- contractId: Type.TString;
1455
- origin: Type.TNull;
1456
- sessionPublicKey: Type.TString;
1457
- capability: Type.TNull;
1458
- capabilityGroupKey: Type.TString;
1459
- }>]>>;
1460
- }>;
1461
- export type AuthDeploymentAuthorityGrantOverridesRemoveInput = StaticDecode<typeof AuthDeploymentAuthorityGrantOverridesRemoveSchema>;
1462
- export declare const AuthServiceInstancesProvisionSchema: Type.TObject<{
1463
- deploymentId: Type.TString;
1464
- instanceKey: Type.TString;
1465
- }>;
1466
- export declare const AuthServiceInstancesProvisionResponseSchema: Type.TObject<{
1467
- instance: Type.TObject<{
1468
- instanceId: Type.TString;
1469
- deploymentId: Type.TString;
1470
- instanceKey: Type.TString;
1471
- disabled: Type.TBoolean;
1472
- capabilities: Type.TArray<Type.TString>;
1473
- resourceBindings: any;
1474
- createdAt: Type.TString;
1475
- }>;
1476
- }>;
1477
- export declare const AuthServiceInstancesListSchema: Type.TObject<{
1478
- deploymentId: Type.TOptional<Type.TString>;
1479
- disabled: Type.TOptional<Type.TBoolean>;
1480
- offset: Type.TOptional<Type.TInteger>;
1481
- limit: Type.TInteger;
1482
- }>;
1483
- export declare const AuthServiceInstancesListResponseSchema: Type.TObject<{
1484
- entries: Type.TArray<Type.TObject<{
1485
- instanceId: Type.TString;
1486
- deploymentId: Type.TString;
1487
- instanceKey: Type.TString;
1488
- disabled: Type.TBoolean;
1489
- capabilities: Type.TArray<Type.TString>;
1490
- resourceBindings: any;
1491
- createdAt: Type.TString;
1492
- }>>;
1493
- count: Type.TInteger;
1494
- offset: Type.TInteger;
1495
- limit: Type.TInteger;
1496
- nextOffset: Type.TOptional<Type.TInteger>;
1497
- }>;
1498
- export declare const AuthServiceInstancesDisableSchema: Type.TObject<{
1499
- instanceId: Type.TString;
1500
- }>;
1501
- export declare const AuthServiceInstancesDisableResponseSchema: Type.TObject<{
1502
- instance: Type.TObject<{
1503
- instanceId: Type.TString;
1504
- deploymentId: Type.TString;
1505
- instanceKey: Type.TString;
1506
- disabled: Type.TBoolean;
1507
- capabilities: Type.TArray<Type.TString>;
1508
- resourceBindings: any;
1509
- createdAt: Type.TString;
1510
- }>;
1511
- }>;
1512
- export declare const AuthServiceInstancesEnableSchema: Type.TObject<{
1513
- instanceId: Type.TString;
1514
- }>;
1515
- export declare const AuthServiceInstancesEnableResponseSchema: Type.TObject<{
1516
- instance: Type.TObject<{
1517
- instanceId: Type.TString;
1518
- deploymentId: Type.TString;
1519
- instanceKey: Type.TString;
1520
- disabled: Type.TBoolean;
1521
- capabilities: Type.TArray<Type.TString>;
1522
- resourceBindings: any;
1523
- createdAt: Type.TString;
1524
- }>;
1525
- }>;
1526
- export declare const AuthServiceInstancesRemoveSchema: Type.TObject<{
1527
- instanceId: Type.TString;
1528
- }>;
1529
- export declare const AuthServiceInstancesRemoveResponseSchema: Type.TObject<{
1530
- success: Type.TBoolean;
1531
- }>;
1532
- export declare const ContractAnalysisSummarySchema: Type.TObject<{
1533
- namespaces: Type.TArray<Type.TString>;
1534
- rpcMethods: Type.TNumber;
1535
- operations: Type.TNumber;
1536
- operationControls: Type.TNumber;
1537
- events: Type.TNumber;
1538
- natsPublish: Type.TNumber;
1539
- natsSubscribe: Type.TNumber;
1540
- kvResources: Type.TNumber;
1541
- storeResources: Type.TNumber;
1542
- jobsQueues: Type.TNumber;
1543
- }>;
1544
- export declare const ContractAnalysisKvResourceSchema: Type.TObject<{
1545
- alias: Type.TString;
1546
- purpose: Type.TString;
1547
- required: Type.TBoolean;
1548
- history: Type.TNumber;
1549
- ttlMs: Type.TNumber;
1550
- maxValueBytes: Type.TOptional<Type.TNumber>;
1551
- }>;
1552
- export declare const ContractAnalysisStoreResourceSchema: Type.TObject<{
1553
- alias: Type.TString;
1554
- purpose: Type.TString;
1555
- required: Type.TBoolean;
1556
- ttlMs: Type.TNumber;
1557
- maxObjectBytes: Type.TOptional<Type.TNumber>;
1558
- maxTotalBytes: Type.TOptional<Type.TNumber>;
1559
- }>;
1560
- export declare const ContractAnalysisJobsQueueSchema: Type.TObject<{
1561
- queueType: Type.TString;
1562
- payload: Type.TObject<{
1563
- schema: Type.TString;
1564
- }>;
1565
- result: Type.TOptional<Type.TObject<{
1566
- schema: Type.TString;
1567
- }>>;
1568
- maxDeliver: Type.TNumber;
1569
- backoffMs: Type.TArray<Type.TNumber>;
1570
- ackWaitMs: Type.TNumber;
1571
- defaultDeadlineMs: Type.TOptional<Type.TNumber>;
1572
- progress: Type.TBoolean;
1573
- logs: Type.TBoolean;
1574
- dlq: Type.TBoolean;
1575
- concurrency: Type.TNumber;
1576
- }>;
1577
- export declare const ContractAnalysisRpcMethodSchema: Type.TObject<{
1578
- key: Type.TString;
1579
- subject: Type.TString;
1580
- wildcardSubject: Type.TString;
1581
- callerCapabilities: Type.TArray<Type.TString>;
1582
- }>;
1583
- export declare const ContractAnalysisOperationSchema: Type.TObject<{
1584
- key: Type.TString;
1585
- subject: Type.TString;
1586
- wildcardSubject: Type.TString;
1587
- controlSubject: Type.TString;
1588
- wildcardControlSubject: Type.TString;
1589
- callCapabilities: Type.TArray<Type.TString>;
1590
- observeCapabilities: Type.TArray<Type.TString>;
1591
- cancelCapabilities: Type.TArray<Type.TString>;
1592
- cancel: Type.TBoolean;
1593
- }>;
1594
- export declare const ContractAnalysisOperationControlSchema: Type.TObject<{
1595
- key: Type.TString;
1596
- action: Type.TUnion<[Type.TLiteral<"get">, Type.TLiteral<"wait">, Type.TLiteral<"watch">, Type.TLiteral<"cancel">]>;
1597
- subject: Type.TString;
1598
- wildcardSubject: Type.TString;
1599
- requiredCapabilities: Type.TArray<Type.TString>;
1600
- }>;
1601
- export declare const ContractAnalysisEventSchema: Type.TObject<{
1602
- key: Type.TString;
1603
- subject: Type.TString;
1604
- wildcardSubject: Type.TString;
1605
- publishCapabilities: Type.TArray<Type.TString>;
1606
- subscribeCapabilities: Type.TArray<Type.TString>;
1607
- }>;
1608
- export declare const ContractAnalysisSubjectSchema: Type.TObject<{
1609
- key: Type.TString;
1610
- subject: Type.TString;
1611
- publishCapabilities: Type.TArray<Type.TString>;
1612
- subscribeCapabilities: Type.TArray<Type.TString>;
1613
- }>;
1614
- export declare const ContractAnalysisNatsRuleSchema: Type.TObject<{
1615
- kind: Type.TString;
1616
- subject: Type.TString;
1617
- wildcardSubject: Type.TString;
1618
- requiredCapabilities: Type.TArray<Type.TString>;
1619
- }>;
1620
- export declare const ContractAnalysisSchema: Type.TObject<{
1621
- namespaces: Type.TArray<Type.TString>;
1622
- rpc: Type.TObject<{
1623
- methods: Type.TArray<Type.TObject<{
1624
- key: Type.TString;
1625
- subject: Type.TString;
1626
- wildcardSubject: Type.TString;
1627
- callerCapabilities: Type.TArray<Type.TString>;
1628
- }>>;
1629
- }>;
1630
- operations: Type.TObject<{
1631
- operations: Type.TArray<Type.TObject<{
1632
- key: Type.TString;
1633
- subject: Type.TString;
1634
- wildcardSubject: Type.TString;
1635
- controlSubject: Type.TString;
1636
- wildcardControlSubject: Type.TString;
1637
- callCapabilities: Type.TArray<Type.TString>;
1638
- observeCapabilities: Type.TArray<Type.TString>;
1639
- cancelCapabilities: Type.TArray<Type.TString>;
1640
- cancel: Type.TBoolean;
1641
- }>>;
1642
- control: Type.TArray<Type.TObject<{
1643
- key: Type.TString;
1644
- action: Type.TUnion<[Type.TLiteral<"get">, Type.TLiteral<"wait">, Type.TLiteral<"watch">, Type.TLiteral<"cancel">]>;
1645
- subject: Type.TString;
1646
- wildcardSubject: Type.TString;
1647
- requiredCapabilities: Type.TArray<Type.TString>;
1648
- }>>;
1649
- }>;
1650
- events: Type.TObject<{
1651
- events: Type.TArray<Type.TObject<{
1652
- key: Type.TString;
1653
- subject: Type.TString;
1654
- wildcardSubject: Type.TString;
1655
- publishCapabilities: Type.TArray<Type.TString>;
1656
- subscribeCapabilities: Type.TArray<Type.TString>;
1657
- }>>;
1658
- }>;
1659
- subjects: Type.TOptional<Type.TObject<{
1660
- subjects: Type.TArray<Type.TObject<{
1661
- key: Type.TString;
1662
- subject: Type.TString;
1663
- publishCapabilities: Type.TArray<Type.TString>;
1664
- subscribeCapabilities: Type.TArray<Type.TString>;
1665
- }>>;
1666
- }>>;
1667
- nats: Type.TObject<{
1668
- publish: Type.TArray<Type.TObject<{
1669
- kind: Type.TString;
1670
- subject: Type.TString;
1671
- wildcardSubject: Type.TString;
1672
- requiredCapabilities: Type.TArray<Type.TString>;
1673
- }>>;
1674
- subscribe: Type.TArray<Type.TObject<{
1675
- kind: Type.TString;
1676
- subject: Type.TString;
1677
- wildcardSubject: Type.TString;
1678
- requiredCapabilities: Type.TArray<Type.TString>;
1679
- }>>;
1680
- }>;
1681
- resources: Type.TObject<{
1682
- kv: Type.TArray<Type.TObject<{
1683
- alias: Type.TString;
1684
- purpose: Type.TString;
1685
- required: Type.TBoolean;
1686
- history: Type.TNumber;
1687
- ttlMs: Type.TNumber;
1688
- maxValueBytes: Type.TOptional<Type.TNumber>;
1689
- }>>;
1690
- store: Type.TArray<Type.TObject<{
1691
- alias: Type.TString;
1692
- purpose: Type.TString;
1693
- required: Type.TBoolean;
1694
- ttlMs: Type.TNumber;
1695
- maxObjectBytes: Type.TOptional<Type.TNumber>;
1696
- maxTotalBytes: Type.TOptional<Type.TNumber>;
1697
- }>>;
1698
- jobs: Type.TArray<Type.TObject<{
1699
- queueType: Type.TString;
1700
- payload: Type.TObject<{
1701
- schema: Type.TString;
1702
- }>;
1703
- result: Type.TOptional<Type.TObject<{
1704
- schema: Type.TString;
1705
- }>>;
1706
- maxDeliver: Type.TNumber;
1707
- backoffMs: Type.TArray<Type.TNumber>;
1708
- ackWaitMs: Type.TNumber;
1709
- defaultDeadlineMs: Type.TOptional<Type.TNumber>;
1710
- progress: Type.TBoolean;
1711
- logs: Type.TBoolean;
1712
- dlq: Type.TBoolean;
1713
- concurrency: Type.TNumber;
1714
- }>>;
1715
- }>;
1716
- }>;
1717
- export declare const AuthenticatedUserSchema: Type.TObject<{
1718
- userId: Type.TString;
1719
- active: Type.TBoolean;
1720
- name: Type.TString;
1721
- email: Type.TString;
1722
- image: Type.TOptional<Type.TString>;
1723
- capabilities: Type.TArray<Type.TString>;
1724
- identity: Type.TObject<{
1725
- identityId: Type.TString;
1726
- provider: Type.TString;
1727
- subject: Type.TString;
1728
- }>;
1729
- lastLogin: Type.TOptional<Type.TString>;
1730
- }>;
1731
- export type AuthenticatedUser = StaticDecode<typeof AuthenticatedUserSchema>;
1732
- export declare const AuthSessionsMeSchema: Type.TObject<{}>;
1733
- export declare const AuthRequestsValidateSchema: Type.TObject<{
1734
- sessionKey: Type.TString;
1735
- proof: Type.TString;
1736
- subject: Type.TString;
1737
- payloadHash: Type.TString;
1738
- iat: Type.TInteger;
1739
- requestId: Type.TString;
1740
- capabilities: Type.TOptional<Type.TArray<Type.TString>>;
1741
- }>;
1742
- export declare const AuthenticatedServiceSchema: Type.TObject<{
1743
- type: Type.TLiteral<"service">;
1744
- id: Type.TString;
1745
- name: Type.TString;
1746
- active: Type.TBoolean;
1747
- capabilities: Type.TArray<Type.TString>;
1748
- }>;
1749
- export type AuthenticatedService = StaticDecode<typeof AuthenticatedServiceSchema>;
1750
- export declare const AuthenticatedDeviceSchema: Type.TObject<{
1751
- type: Type.TLiteral<"device">;
1752
- deviceId: Type.TString;
1753
- deviceType: Type.TString;
1754
- runtimePublicKey: Type.TString;
1755
- deploymentId: Type.TString;
1756
- active: Type.TBoolean;
1757
- capabilities: Type.TArray<Type.TString>;
1758
- }>;
1759
- export type AuthenticatedDevice = StaticDecode<typeof AuthenticatedDeviceSchema>;
1760
- export declare const AuthSessionsMeResponseSchema: Type.TObject<{
1761
- participantKind: Type.TUnion<[Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>, Type.TLiteral<"device">, Type.TLiteral<"service">]>;
1762
- user: Type.TUnion<[Type.TObject<{
1763
- userId: Type.TString;
1764
- active: Type.TBoolean;
1765
- name: Type.TString;
1766
- email: Type.TString;
1767
- image: Type.TOptional<Type.TString>;
1768
- capabilities: Type.TArray<Type.TString>;
1769
- identity: Type.TObject<{
1770
- identityId: Type.TString;
1771
- provider: Type.TString;
1772
- subject: Type.TString;
1773
- }>;
1774
- lastLogin: Type.TOptional<Type.TString>;
1775
- }>, Type.TNull]>;
1776
- device: Type.TUnion<[Type.TObject<{
1777
- type: Type.TLiteral<"device">;
1778
- deviceId: Type.TString;
1779
- deviceType: Type.TString;
1780
- runtimePublicKey: Type.TString;
1781
- deploymentId: Type.TString;
1782
- active: Type.TBoolean;
1783
- capabilities: Type.TArray<Type.TString>;
1784
- }>, Type.TNull]>;
1785
- service: Type.TUnion<[Type.TObject<{
1786
- type: Type.TLiteral<"service">;
1787
- id: Type.TString;
1788
- name: Type.TString;
1789
- active: Type.TBoolean;
1790
- capabilities: Type.TArray<Type.TString>;
1791
- }>, Type.TNull]>;
1792
- }>;
1793
- export type AuthSessionsMeResponse = StaticDecode<typeof AuthSessionsMeResponseSchema>;
1794
- export declare const CallerViewSchema: Type.TUnion<[Type.TObject<{
1795
- type: Type.TLiteral<"user">;
1796
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
1797
- userId: Type.TString;
1798
- identity: Type.TObject<{
1799
- identityId: Type.TString;
1800
- provider: Type.TString;
1801
- subject: Type.TString;
1802
- }>;
1803
- active: Type.TBoolean;
1804
- name: Type.TString;
1805
- email: Type.TString;
1806
- image: Type.TOptional<Type.TString>;
1807
- capabilities: Type.TArray<Type.TString>;
1808
- lastAuth: Type.TString;
1809
- }>, Type.TObject<{
1810
- type: Type.TLiteral<"service">;
1811
- id: Type.TString;
1812
- name: Type.TString;
1813
- active: Type.TBoolean;
1814
- capabilities: Type.TArray<Type.TString>;
1815
- }>, Type.TObject<{
1816
- type: Type.TLiteral<"device">;
1817
- deviceId: Type.TString;
1818
- deviceType: Type.TString;
1819
- runtimePublicKey: Type.TString;
1820
- deploymentId: Type.TString;
1821
- active: Type.TBoolean;
1822
- capabilities: Type.TArray<Type.TString>;
1823
- }>]>;
1824
- export declare const AuthRequestsValidateResponseSchema: Type.TObject<{
1825
- allowed: Type.TBoolean;
1826
- inboxPrefix: Type.TString;
1827
- caller: Type.TUnion<[Type.TObject<{
1828
- type: Type.TLiteral<"user">;
1829
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
1830
- userId: Type.TString;
1831
- identity: Type.TObject<{
1832
- identityId: Type.TString;
1833
- provider: Type.TString;
1834
- subject: Type.TString;
1835
- }>;
1836
- active: Type.TBoolean;
1837
- name: Type.TString;
1838
- email: Type.TString;
1839
- image: Type.TOptional<Type.TString>;
1840
- capabilities: Type.TArray<Type.TString>;
1841
- lastAuth: Type.TString;
1842
- }>, Type.TObject<{
1843
- type: Type.TLiteral<"service">;
1844
- id: Type.TString;
1845
- name: Type.TString;
1846
- active: Type.TBoolean;
1847
- capabilities: Type.TArray<Type.TString>;
1848
- }>, Type.TObject<{
1849
- type: Type.TLiteral<"device">;
1850
- deviceId: Type.TString;
1851
- deviceType: Type.TString;
1852
- runtimePublicKey: Type.TString;
1853
- deploymentId: Type.TString;
1854
- active: Type.TBoolean;
1855
- capabilities: Type.TArray<Type.TString>;
1856
- }>]>;
1857
- }>;
1858
- export declare const AuthIdentitiesListSchema: Type.TObject<{
1859
- user: Type.TOptional<Type.TString>;
1860
- offset: Type.TOptional<Type.TInteger>;
1861
- limit: Type.TInteger;
1862
- }>;
1863
- export declare const AuthIdentitiesListResponseSchema: Type.TObject<{
1864
- entries: Type.TArray<Type.TObject<{
1865
- user: Type.TString;
1866
- answer: Type.TUnion<[Type.TLiteral<"approved">, Type.TLiteral<"denied">]>;
1867
- answeredAt: Type.TString;
1868
- updatedAt: Type.TString;
1869
- identityGrantId: Type.TString;
1870
- identityAnchor: Type.TUnion<[Type.TObject<{
1871
- kind: Type.TLiteral<"web">;
1872
- contractId: Type.TString;
1873
- origin: Type.TString;
1874
- }>, Type.TObject<{
1875
- kind: Type.TLiteral<"cli">;
1876
- contractId: Type.TString;
1877
- sessionPublicKey: Type.TString;
1878
- }>, Type.TObject<{
1879
- kind: Type.TLiteral<"native">;
1880
- contractId: Type.TString;
1881
- sessionPublicKey: Type.TString;
1882
- }>, Type.TObject<{
1883
- kind: Type.TLiteral<"device-user">;
1884
- contractId: Type.TString;
1885
- devicePublicKey: Type.TString;
1886
- }>]>;
1887
- contractEvidence: Type.TObject<{
1888
- contractDigest: Type.TString;
1889
- contractId: Type.TString;
1890
- }>;
1891
- displayName: Type.TString;
1892
- description: Type.TString;
1893
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
1894
- displayName: Type.TString;
1895
- description: Type.TString;
1896
- consequence: Type.TOptional<Type.TString>;
1897
- }>>;
1898
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
1899
- }>>;
1900
- count: Type.TInteger;
1901
- offset: Type.TInteger;
1902
- limit: Type.TInteger;
1903
- nextOffset: Type.TOptional<Type.TInteger>;
1904
- }>;
1905
- export declare const AuthIdentityGrantsRevokeSchema: Type.TObject<{
1906
- identityGrantId: Type.TString;
1907
- user: Type.TOptional<Type.TString>;
1908
- }>;
1909
- export declare const AuthIdentityGrantsRevokeResponseSchema: Type.TObject<{
1910
- success: Type.TBoolean;
1911
- }>;
1912
- export declare const IdentityGrantViewSchema: Type.TObject<{
1913
- identityGrantId: Type.TString;
1914
- identityAnchor: Type.TUnion<[Type.TObject<{
1915
- kind: Type.TLiteral<"web">;
1916
- contractId: Type.TString;
1917
- origin: Type.TString;
1918
- }>, Type.TObject<{
1919
- kind: Type.TLiteral<"cli">;
1920
- contractId: Type.TString;
1921
- sessionPublicKey: Type.TString;
1922
- }>, Type.TObject<{
1923
- kind: Type.TLiteral<"native">;
1924
- contractId: Type.TString;
1925
- sessionPublicKey: Type.TString;
1926
- }>, Type.TObject<{
1927
- kind: Type.TLiteral<"device-user">;
1928
- contractId: Type.TString;
1929
- devicePublicKey: Type.TString;
1930
- }>]>;
1931
- contractEvidence: Type.TObject<{
1932
- contractDigest: Type.TString;
1933
- contractId: Type.TString;
1934
- }>;
1935
- displayName: Type.TString;
1936
- description: Type.TString;
1937
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
1938
- capabilities: Type.TArray<Type.TString>;
1939
- grantedAt: Type.TString;
1940
- updatedAt: Type.TString;
1941
- }>;
1942
- export type IdentityGrantView = StaticDecode<typeof IdentityGrantViewSchema>;
1943
- export declare const AuthIdentityGrantsListSchema: Type.TObject<{
1944
- user: Type.TOptional<Type.TString>;
1945
- offset: Type.TOptional<Type.TInteger>;
1946
- limit: Type.TInteger;
1947
- }>;
1948
- export declare const AuthIdentityGrantsListResponseSchema: Type.TObject<{
1949
- entries: Type.TArray<Type.TObject<{
1950
- identityGrantId: Type.TString;
1951
- identityAnchor: Type.TUnion<[Type.TObject<{
1952
- kind: Type.TLiteral<"web">;
1953
- contractId: Type.TString;
1954
- origin: Type.TString;
1955
- }>, Type.TObject<{
1956
- kind: Type.TLiteral<"cli">;
1957
- contractId: Type.TString;
1958
- sessionPublicKey: Type.TString;
1959
- }>, Type.TObject<{
1960
- kind: Type.TLiteral<"native">;
1961
- contractId: Type.TString;
1962
- sessionPublicKey: Type.TString;
1963
- }>, Type.TObject<{
1964
- kind: Type.TLiteral<"device-user">;
1965
- contractId: Type.TString;
1966
- devicePublicKey: Type.TString;
1967
- }>]>;
1968
- contractEvidence: Type.TObject<{
1969
- contractDigest: Type.TString;
1970
- contractId: Type.TString;
1971
- }>;
1972
- displayName: Type.TString;
1973
- description: Type.TString;
1974
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
1975
- capabilities: Type.TArray<Type.TString>;
1976
- grantedAt: Type.TString;
1977
- updatedAt: Type.TString;
1978
- }>>;
1979
- count: Type.TInteger;
1980
- offset: Type.TInteger;
1981
- limit: Type.TInteger;
1982
- nextOffset: Type.TOptional<Type.TInteger>;
1983
- }>;
1984
- export declare const LoginPortalRecordSchema: Type.TObject<{
1985
- portalId: Type.TString;
1986
- displayName: Type.TString;
1987
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
1988
- builtIn: Type.TBoolean;
1989
- disabled: Type.TBoolean;
1990
- createdAt: Type.TString;
1991
- updatedAt: Type.TString;
1992
- }>;
1993
- export type LoginPortalRecord = StaticDecode<typeof LoginPortalRecordSchema>;
1994
- export declare const LoginPortalSettingsSchema: Type.TObject<{
1995
- portalId: Type.TString;
1996
- localRegistrationEnabled: Type.TBoolean;
1997
- federatedRegistrationEnabled: Type.TBoolean;
1998
- allowedFederatedProviders: Type.TUnion<[Type.TArray<Type.TString>, Type.TNull]>;
1999
- selfRegisteredAccountActive: Type.TBoolean;
2000
- updatedAt: Type.TString;
2001
- }>;
2002
- export type LoginPortalSettings = StaticDecode<typeof LoginPortalSettingsSchema>;
2003
- export declare const LoginPortalFederatedProviderSchema: Type.TObject<{
2004
- id: Type.TString;
2005
- displayName: Type.TString;
2006
- type: Type.TString;
2007
- }>;
2008
- export declare const LoginPortalRouteSchema: Type.TObject<{
2009
- routeKey: Type.TString;
2010
- portalId: Type.TString;
2011
- contractId: Type.TUnion<[Type.TString, Type.TNull]>;
2012
- origin: Type.TUnion<[Type.TString, Type.TNull]>;
2013
- disabled: Type.TBoolean;
2014
- updatedAt: Type.TString;
2015
- }>;
2016
- export type LoginPortalRoute = StaticDecode<typeof LoginPortalRouteSchema>;
2017
- export declare const LoginPortalSummarySchema: Type.TObject<{
2018
- routeCount: Type.TInteger;
2019
- activeRouteCount: Type.TInteger;
2020
- portalId: Type.TString;
2021
- displayName: Type.TString;
2022
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
2023
- builtIn: Type.TBoolean;
2024
- disabled: Type.TBoolean;
2025
- createdAt: Type.TString;
2026
- updatedAt: Type.TString;
2027
- }>;
2028
- export type LoginPortalSummary = StaticDecode<typeof LoginPortalSummarySchema>;
2029
- export declare const AuthPortalsListSchema: Type.TObject<{
2030
- offset: Type.TOptional<Type.TInteger>;
2031
- limit: Type.TInteger;
2032
- }>;
2033
- export declare const AuthPortalsListResponseSchema: Type.TObject<{
2034
- entries: Type.TArray<Type.TObject<{
2035
- routeCount: Type.TInteger;
2036
- activeRouteCount: Type.TInteger;
2037
- portalId: Type.TString;
2038
- displayName: Type.TString;
2039
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
2040
- builtIn: Type.TBoolean;
2041
- disabled: Type.TBoolean;
2042
- createdAt: Type.TString;
2043
- updatedAt: Type.TString;
2044
- }>>;
2045
- count: Type.TInteger;
2046
- offset: Type.TInteger;
2047
- limit: Type.TInteger;
2048
- nextOffset: Type.TOptional<Type.TInteger>;
2049
- }>;
2050
- export declare const AuthPortalsGetSchema: Type.TObject<{
2051
- portalId: Type.TString;
2052
- }>;
2053
- export declare const AuthPortalsGetResponseSchema: Type.TObject<{
2054
- portal: Type.TObject<{
2055
- portalId: Type.TString;
2056
- displayName: Type.TString;
2057
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
2058
- builtIn: Type.TBoolean;
2059
- disabled: Type.TBoolean;
2060
- createdAt: Type.TString;
2061
- updatedAt: Type.TString;
2062
- }>;
2063
- settings: Type.TObject<{
2064
- portalId: Type.TString;
2065
- localRegistrationEnabled: Type.TBoolean;
2066
- federatedRegistrationEnabled: Type.TBoolean;
2067
- allowedFederatedProviders: Type.TUnion<[Type.TArray<Type.TString>, Type.TNull]>;
2068
- selfRegisteredAccountActive: Type.TBoolean;
2069
- updatedAt: Type.TString;
2070
- }>;
2071
- routes: Type.TArray<Type.TObject<{
2072
- routeKey: Type.TString;
2073
- portalId: Type.TString;
2074
- contractId: Type.TUnion<[Type.TString, Type.TNull]>;
2075
- origin: Type.TUnion<[Type.TString, Type.TNull]>;
2076
- disabled: Type.TBoolean;
2077
- updatedAt: Type.TString;
2078
- }>>;
2079
- defaultCapabilities: Type.TArray<Type.TString>;
2080
- defaultCapabilityGroups: Type.TArray<Type.TString>;
2081
- federatedProviders: Type.TArray<Type.TObject<{
2082
- id: Type.TString;
2083
- displayName: Type.TString;
2084
- type: Type.TString;
2085
- }>>;
2086
- }>;
2087
- export declare const AuthPortalsPutSchema: Type.TObject<{
2088
- portalId: Type.TString;
2089
- displayName: Type.TString;
2090
- entryUrl: Type.TString;
2091
- disabled: Type.TOptional<Type.TBoolean>;
2092
- }>;
2093
- export declare const AuthPortalsPutResponseSchema: Type.TObject<{
2094
- portal: Type.TObject<{
2095
- portalId: Type.TString;
2096
- displayName: Type.TString;
2097
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
2098
- builtIn: Type.TBoolean;
2099
- disabled: Type.TBoolean;
2100
- createdAt: Type.TString;
2101
- updatedAt: Type.TString;
2102
- }>;
2103
- }>;
2104
- export declare const AuthPortalsRemoveSchema: Type.TObject<{
2105
- portalId: Type.TString;
2106
- }>;
2107
- export declare const AuthPortalsRemoveResponseSchema: Type.TObject<{
2108
- success: Type.TBoolean;
2109
- }>;
2110
- export declare const AuthPortalsLoginSettingsGetSchema: Type.TObject<{
2111
- portalId: Type.TString;
2112
- }>;
2113
- export declare const AuthPortalsLoginSettingsResponseSchema: Type.TObject<{
2114
- portal: Type.TObject<{
2115
- portalId: Type.TString;
2116
- displayName: Type.TString;
2117
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
2118
- builtIn: Type.TBoolean;
2119
- disabled: Type.TBoolean;
2120
- createdAt: Type.TString;
2121
- updatedAt: Type.TString;
2122
- }>;
2123
- settings: Type.TObject<{
2124
- portalId: Type.TString;
2125
- localRegistrationEnabled: Type.TBoolean;
2126
- federatedRegistrationEnabled: Type.TBoolean;
2127
- allowedFederatedProviders: Type.TUnion<[Type.TArray<Type.TString>, Type.TNull]>;
2128
- selfRegisteredAccountActive: Type.TBoolean;
2129
- updatedAt: Type.TString;
2130
- }>;
2131
- defaultCapabilities: Type.TArray<Type.TString>;
2132
- defaultCapabilityGroups: Type.TArray<Type.TString>;
2133
- federatedProviders: Type.TArray<Type.TObject<{
2134
- id: Type.TString;
2135
- displayName: Type.TString;
2136
- type: Type.TString;
2137
- }>>;
2138
- }>;
2139
- export declare const AuthPortalsLoginSettingsUpdateSchema: Type.TObject<{
2140
- portalId: Type.TString;
2141
- localRegistrationEnabled: Type.TBoolean;
2142
- federatedRegistrationEnabled: Type.TBoolean;
2143
- allowedFederatedProviders: Type.TUnion<[Type.TArray<Type.TString>, Type.TNull]>;
2144
- selfRegisteredAccountActive: Type.TBoolean;
2145
- defaultCapabilities: Type.TArray<Type.TString>;
2146
- defaultCapabilityGroups: Type.TArray<Type.TString>;
2147
- }>;
2148
- export declare const AuthPortalsRoutesPutSchema: Type.TObject<{
2149
- portalId: Type.TString;
2150
- contractId: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
2151
- origin: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
2152
- disabled: Type.TOptional<Type.TBoolean>;
2153
- }>;
2154
- export declare const AuthPortalsRoutesPutResponseSchema: Type.TObject<{
2155
- route: Type.TObject<{
2156
- routeKey: Type.TString;
2157
- portalId: Type.TString;
2158
- contractId: Type.TUnion<[Type.TString, Type.TNull]>;
2159
- origin: Type.TUnion<[Type.TString, Type.TNull]>;
2160
- disabled: Type.TBoolean;
2161
- updatedAt: Type.TString;
2162
- }>;
2163
- }>;
2164
- export declare const AuthPortalsRoutesRemoveSchema: Type.TObject<{
2165
- portalId: Type.TString;
2166
- contractId: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
2167
- origin: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
2168
- }>;
2169
- export declare const AuthPortalsRoutesRemoveResponseSchema: Type.TObject<{
2170
- success: Type.TBoolean;
2171
- }>;
2172
- export declare const FlowRegistrationAvailabilitySchema: Type.TObject<{
2173
- localIdentity: Type.TObject<{
2174
- available: Type.TBoolean;
2175
- }>;
2176
- federatedIdentity: Type.TObject<{
2177
- available: Type.TBoolean;
2178
- providers: Type.TArray<Type.TObject<{
2179
- id: Type.TString;
2180
- displayName: Type.TString;
2181
- }>>;
2182
- }>;
2183
- }>;
2184
- export type FlowRegistrationAvailability = StaticDecode<typeof FlowRegistrationAvailabilitySchema>;
2185
- export declare const PortalFlowStateSchema: Type.TUnion<[Type.TObject<{
2186
- status: Type.TLiteral<"choose_provider">;
2187
- flowId: Type.TString;
2188
- providers: Type.TArray<Type.TObject<{
2189
- id: Type.TString;
2190
- displayName: Type.TString;
2191
- }>>;
2192
- app: Type.TObject<{
2193
- contractId: Type.TString;
2194
- contractDigest: Type.TString;
2195
- displayName: Type.TString;
2196
- description: Type.TString;
2197
- context: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
2198
- }>;
2199
- portal: Type.TOptional<Type.TObject<{
2200
- portalId: Type.TString;
2201
- displayName: Type.TString;
2202
- entryUrl: Type.TUnion<[Type.TString, Type.TNull]>;
2203
- builtIn: Type.TBoolean;
2204
- disabled: Type.TBoolean;
2205
- createdAt: Type.TString;
2206
- updatedAt: Type.TString;
2207
- }>>;
2208
- registration: Type.TOptional<Type.TObject<{
2209
- localIdentity: Type.TObject<{
2210
- available: Type.TBoolean;
2211
- }>;
2212
- federatedIdentity: Type.TObject<{
2213
- available: Type.TBoolean;
2214
- providers: Type.TArray<Type.TObject<{
2215
- id: Type.TString;
2216
- displayName: Type.TString;
2217
- }>>;
2218
- }>;
2219
- }>>;
2220
- }>, Type.TObject<{
2221
- status: Type.TLiteral<"approval_required">;
2222
- flowId: Type.TString;
2223
- user: Type.TObject<{
2224
- origin: Type.TString;
2225
- id: Type.TString;
2226
- name: Type.TOptional<Type.TString>;
2227
- email: Type.TOptional<Type.TString>;
2228
- image: Type.TOptional<Type.TString>;
2229
- }>;
2230
- approval: Type.TObject<{
2231
- contractDigest: Type.TString;
2232
- contractId: Type.TString;
2233
- displayName: Type.TString;
2234
- description: Type.TString;
2235
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
2236
- displayName: Type.TString;
2237
- description: Type.TString;
2238
- consequence: Type.TOptional<Type.TString>;
2239
- }>>;
2240
- }>;
2241
- }>, Type.TObject<{
2242
- status: Type.TLiteral<"approval_denied">;
2243
- flowId: Type.TString;
2244
- approval: Type.TObject<{
2245
- contractDigest: Type.TString;
2246
- contractId: Type.TString;
2247
- displayName: Type.TString;
2248
- description: Type.TString;
2249
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
2250
- displayName: Type.TString;
2251
- description: Type.TString;
2252
- consequence: Type.TOptional<Type.TString>;
2253
- }>>;
2254
- }>;
2255
- returnLocation: Type.TOptional<Type.TString>;
2256
- }>, Type.TObject<{
2257
- status: Type.TLiteral<"insufficient_capabilities">;
2258
- flowId: Type.TString;
2259
- user: Type.TOptional<Type.TObject<{
2260
- origin: Type.TString;
2261
- id: Type.TString;
2262
- name: Type.TOptional<Type.TString>;
2263
- }>>;
2264
- approval: Type.TObject<{
2265
- contractDigest: Type.TString;
2266
- contractId: Type.TString;
2267
- displayName: Type.TString;
2268
- description: Type.TString;
2269
- capabilities: Type.TRecord<"^.*$", Type.TObject<{
2270
- displayName: Type.TString;
2271
- description: Type.TString;
2272
- consequence: Type.TOptional<Type.TString>;
2273
- }>>;
2274
- }>;
2275
- missingCapabilities: Type.TArray<Type.TString>;
2276
- userCapabilities: Type.TArray<Type.TString>;
2277
- returnLocation: Type.TOptional<Type.TString>;
2278
- }>, Type.TObject<{
2279
- status: Type.TLiteral<"redirect">;
2280
- location: Type.TString;
2281
- }>, Type.TObject<{
2282
- status: Type.TLiteral<"expired">;
2283
- }>]>;
2284
- export type PortalFlowState = StaticDecode<typeof PortalFlowStateSchema>;
2285
- export type PortalFlowChooseProviderState = Extract<PortalFlowState, {
2286
- status: "choose_provider";
2287
- }>;
2288
- export type PortalFlowApprovalRequiredState = Extract<PortalFlowState, {
2289
- status: "approval_required";
2290
- }>;
2291
- export type PortalFlowApprovalDeniedState = Extract<PortalFlowState, {
2292
- status: "approval_denied";
2293
- }>;
2294
- export type PortalFlowInsufficientCapabilitiesState = Extract<PortalFlowState, {
2295
- status: "insufficient_capabilities";
2296
- }>;
2297
- export type PortalFlowRedirectState = Extract<PortalFlowState, {
2298
- status: "redirect";
2299
- }>;
2300
- export type PortalFlowExpiredState = Extract<PortalFlowState, {
2301
- status: "expired";
2302
- }>;
2303
- export type PortalFlowApp = PortalFlowChooseProviderState["app"];
2304
- export type PortalFlowProvider = PortalFlowChooseProviderState["providers"][number];
2305
- export type PortalFlowApproval = PortalFlowApprovalRequiredState["approval"];
2306
- export type PortalFlowUser = PortalFlowApprovalRequiredState["user"];
2307
- export declare const DeviceDeploymentSchema: Type.TUnsafe<{
2308
- deploymentId: string;
2309
- reviewMode?: "none" | "required";
2310
- disabled: boolean;
2311
- }>;
2312
- export declare const AuthDeploymentKindSchema: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">]>;
2313
- export type AuthDeploymentKind = StaticDecode<typeof AuthDeploymentKindSchema>;
2314
- export declare const AuthDeploymentSchema: Type.TUnion<[Type.TObject<{
2315
- kind: Type.TLiteral<"service">;
2316
- deploymentId: Type.TString;
2317
- namespaces: Type.TArray<Type.TString>;
2318
- contractCompatibilityMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"strict">, Type.TLiteral<"mutable-dev">]>>;
2319
- disabled: Type.TBoolean;
2320
- }>, Type.TObject<{
2321
- kind: Type.TLiteral<"device">;
2322
- deploymentId: Type.TString;
2323
- reviewMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"none">, Type.TLiteral<"required">]>>;
2324
- disabled: Type.TBoolean;
2325
- }>]>;
2326
- export type AuthDeployment = StaticDecode<typeof AuthDeploymentSchema>;
2327
- export declare const AuthDeploymentsCreateSchema: Type.TUnion<[Type.TObject<{
2328
- kind: Type.TLiteral<"service">;
2329
- deploymentId: Type.TString;
2330
- namespaces: Type.TArray<Type.TString>;
2331
- contractCompatibilityMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"strict">, Type.TLiteral<"mutable-dev">]>>;
2332
- }>, Type.TObject<{
2333
- kind: Type.TLiteral<"device">;
2334
- deploymentId: Type.TString;
2335
- reviewMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"none">, Type.TLiteral<"required">]>>;
2336
- }>]>;
2337
- export declare const AuthDeploymentsCreateResponseSchema: Type.TObject<{
2338
- deployment: Type.TUnion<[Type.TObject<{
2339
- kind: Type.TLiteral<"service">;
2340
- deploymentId: Type.TString;
2341
- namespaces: Type.TArray<Type.TString>;
2342
- contractCompatibilityMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"strict">, Type.TLiteral<"mutable-dev">]>>;
2343
- disabled: Type.TBoolean;
2344
- }>, Type.TObject<{
2345
- kind: Type.TLiteral<"device">;
2346
- deploymentId: Type.TString;
2347
- reviewMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"none">, Type.TLiteral<"required">]>>;
2348
- disabled: Type.TBoolean;
2349
- }>]>;
2350
- }>;
2351
- export declare const AuthDeploymentsListSchema: Type.TObject<{
2352
- kind: Type.TOptional<Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">]>>;
2353
- disabled: Type.TOptional<Type.TBoolean>;
2354
- offset: Type.TOptional<Type.TInteger>;
2355
- limit: Type.TInteger;
2356
- }>;
2357
- export declare const AuthDeploymentsListResponseSchema: Type.TObject<{
2358
- entries: Type.TArray<Type.TUnion<[Type.TObject<{
2359
- kind: Type.TLiteral<"service">;
2360
- deploymentId: Type.TString;
2361
- namespaces: Type.TArray<Type.TString>;
2362
- contractCompatibilityMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"strict">, Type.TLiteral<"mutable-dev">]>>;
2363
- disabled: Type.TBoolean;
2364
- }>, Type.TObject<{
2365
- kind: Type.TLiteral<"device">;
2366
- deploymentId: Type.TString;
2367
- reviewMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"none">, Type.TLiteral<"required">]>>;
2368
- disabled: Type.TBoolean;
2369
- }>]>>;
2370
- count: Type.TInteger;
2371
- offset: Type.TInteger;
2372
- limit: Type.TInteger;
2373
- nextOffset: Type.TOptional<Type.TInteger>;
2374
- }>;
2375
- export declare const AuthDeploymentsDisableSchema: Type.TObject<{
2376
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">]>;
2377
- deploymentId: Type.TString;
2378
- }>;
2379
- export declare const AuthDeploymentsDisableResponseSchema: Type.TObject<{
2380
- deployment: Type.TUnion<[Type.TObject<{
2381
- kind: Type.TLiteral<"service">;
2382
- deploymentId: Type.TString;
2383
- namespaces: Type.TArray<Type.TString>;
2384
- contractCompatibilityMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"strict">, Type.TLiteral<"mutable-dev">]>>;
2385
- disabled: Type.TBoolean;
2386
- }>, Type.TObject<{
2387
- kind: Type.TLiteral<"device">;
2388
- deploymentId: Type.TString;
2389
- reviewMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"none">, Type.TLiteral<"required">]>>;
2390
- disabled: Type.TBoolean;
2391
- }>]>;
2392
- }>;
2393
- export declare const AuthCatalogIssuesResolveSchema: Type.TObject<{
2394
- issueId: Type.TString;
2395
- action: Type.TUnion<[Type.TLiteral<"keep-current">, Type.TLiteral<"force-replace">]>;
2396
- }>;
2397
- export declare const AuthCatalogIssuesResolveResponseSchema: Type.TObject<{
2398
- success: Type.TLiteral<true>;
2399
- issueId: Type.TString;
2400
- action: Type.TUnion<[Type.TLiteral<"keep-current">, Type.TLiteral<"force-replace">]>;
2401
- }>;
2402
- export declare const AuthDeploymentsEnableSchema: Type.TObject<{
2403
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">]>;
2404
- deploymentId: Type.TString;
2405
- }>;
2406
- export declare const AuthDeploymentsEnableResponseSchema: Type.TObject<{
2407
- deployment: Type.TUnion<[Type.TObject<{
2408
- kind: Type.TLiteral<"service">;
2409
- deploymentId: Type.TString;
2410
- namespaces: Type.TArray<Type.TString>;
2411
- contractCompatibilityMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"strict">, Type.TLiteral<"mutable-dev">]>>;
2412
- disabled: Type.TBoolean;
2413
- }>, Type.TObject<{
2414
- kind: Type.TLiteral<"device">;
2415
- deploymentId: Type.TString;
2416
- reviewMode: Type.TOptional<Type.TUnion<[Type.TLiteral<"none">, Type.TLiteral<"required">]>>;
2417
- disabled: Type.TBoolean;
2418
- }>]>;
2419
- }>;
2420
- export declare const AuthDeploymentsRemoveSchema: Type.TObject<{
2421
- kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">]>;
2422
- deploymentId: Type.TString;
2423
- cascade: Type.TOptional<Type.TBoolean>;
2424
- purgeUnusedContracts: Type.TOptional<Type.TBoolean>;
2425
- }>;
2426
- export declare const AuthDeploymentsRemoveResponseSchema: Type.TObject<{
2427
- success: Type.TBoolean;
2428
- }>;
2429
- export declare const DeviceMetadataSchema: Type.TRecord<"^.*$", Type.TString>;
2430
- export declare const DeviceSchema: Type.TObject<{
2431
- instanceId: Type.TString;
2432
- publicIdentityKey: Type.TString;
2433
- deploymentId: Type.TString;
2434
- metadata: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
2435
- state: Type.TUnion<[Type.TLiteral<"registered">, Type.TLiteral<"activated">, Type.TLiteral<"revoked">, Type.TLiteral<"disabled">]>;
2436
- createdAt: Type.TString;
2437
- activatedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2438
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2439
- }>;
2440
- export declare const DeviceActivationActorSchema: Type.TObject<{
2441
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2442
- userId: Type.TString;
2443
- identity: Type.TObject<{
2444
- identityId: Type.TString;
2445
- provider: Type.TString;
2446
- subject: Type.TString;
2447
- }>;
2448
- }>;
2449
- export type DeviceActivationActor = StaticDecode<typeof DeviceActivationActorSchema>;
2450
- export declare const DeviceActivationRecordSchema: Type.TObject<{
2451
- instanceId: Type.TString;
2452
- publicIdentityKey: Type.TString;
2453
- deploymentId: Type.TString;
2454
- activatedBy: Type.TOptional<Type.TObject<{
2455
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2456
- userId: Type.TString;
2457
- identity: Type.TObject<{
2458
- identityId: Type.TString;
2459
- provider: Type.TString;
2460
- subject: Type.TString;
2461
- }>;
2462
- }>>;
2463
- state: Type.TUnion<[Type.TLiteral<"activated">, Type.TLiteral<"revoked">]>;
2464
- activatedAt: Type.TString;
2465
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2466
- }>;
2467
- export type DeviceActivationRecord = StaticDecode<typeof DeviceActivationRecordSchema>;
2468
- export declare const DeviceActivationReviewSchema: Type.TObject<{
2469
- reviewId: Type.TString;
2470
- instanceId: Type.TString;
2471
- publicIdentityKey: Type.TString;
2472
- deploymentId: Type.TString;
2473
- state: Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"approved">, Type.TLiteral<"rejected">]>;
2474
- requestedAt: Type.TString;
2475
- decidedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2476
- reason: Type.TOptional<Type.TString>;
2477
- }>;
2478
- export declare const AuthDeviceUserAuthoritiesReviewRequestedEventSchema: Type.TObject<{
2479
- reviewId: Type.TString;
2480
- flowId: Type.TString;
2481
- instanceId: Type.TString;
2482
- publicIdentityKey: Type.TString;
2483
- deploymentId: Type.TString;
2484
- requestedAt: Type.TString;
2485
- requestedBy: Type.TObject<{
2486
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2487
- userId: Type.TString;
2488
- identity: Type.TObject<{
2489
- identityId: Type.TString;
2490
- provider: Type.TString;
2491
- subject: Type.TString;
2492
- }>;
2493
- }>;
2494
- }>;
2495
- export declare const AuthDeviceUserAuthoritiesRequestedEventSchema: Type.TObject<{
2496
- flowId: Type.TString;
2497
- instanceId: Type.TString;
2498
- publicIdentityKey: Type.TString;
2499
- deploymentId: Type.TString;
2500
- requestedAt: Type.TString;
2501
- requestedBy: Type.TObject<{
2502
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2503
- userId: Type.TString;
2504
- identity: Type.TObject<{
2505
- identityId: Type.TString;
2506
- provider: Type.TString;
2507
- subject: Type.TString;
2508
- }>;
2509
- }>;
2510
- }>;
2511
- export declare const AuthDeviceUserAuthoritiesApprovedEventSchema: Type.TObject<{
2512
- reviewId: Type.TString;
2513
- flowId: Type.TString;
2514
- instanceId: Type.TString;
2515
- publicIdentityKey: Type.TString;
2516
- deploymentId: Type.TString;
2517
- requestedAt: Type.TString;
2518
- approvedAt: Type.TString;
2519
- requestedBy: Type.TObject<{
2520
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2521
- userId: Type.TString;
2522
- identity: Type.TObject<{
2523
- identityId: Type.TString;
2524
- provider: Type.TString;
2525
- subject: Type.TString;
2526
- }>;
2527
- }>;
2528
- approvedBy: Type.TObject<{
2529
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2530
- userId: Type.TString;
2531
- identity: Type.TObject<{
2532
- identityId: Type.TString;
2533
- provider: Type.TString;
2534
- subject: Type.TString;
2535
- }>;
2536
- }>;
2537
- }>;
2538
- export declare const AuthDeviceUserAuthoritiesResolvedEventSchema: Type.TObject<{
2539
- instanceId: Type.TString;
2540
- publicIdentityKey: Type.TString;
2541
- deploymentId: Type.TString;
2542
- resolvedAt: Type.TString;
2543
- resolvedBy: Type.TObject<{
2544
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2545
- userId: Type.TString;
2546
- identity: Type.TObject<{
2547
- identityId: Type.TString;
2548
- provider: Type.TString;
2549
- subject: Type.TString;
2550
- }>;
2551
- }>;
2552
- flowId: Type.TOptional<Type.TString>;
2553
- reviewId: Type.TOptional<Type.TString>;
2554
- }>;
2555
- export declare const DeviceConnectInfoSchema: Type.TObject<{
2556
- instanceId: Type.TString;
2557
- deploymentId: Type.TString;
2558
- contractId: Type.TString;
2559
- contractDigest: Type.TString;
2560
- transports: Type.TObject<{
2561
- native: Type.TOptional<Type.TObject<{
2562
- natsServers: Type.TArray<Type.TString>;
2563
- }>>;
2564
- websocket: Type.TOptional<Type.TObject<{
2565
- natsServers: Type.TArray<Type.TString>;
2566
- }>>;
2567
- }>;
2568
- transport: Type.TObject<{
2569
- sentinel: Type.TObject<{
2570
- jwt: Type.TString;
2571
- seed: Type.TString;
2572
- }>;
2573
- }>;
2574
- auth: Type.TObject<{
2575
- mode: Type.TLiteral<"device_identity">;
2576
- authority: Type.TUnion<[Type.TLiteral<"admin_reviewed">, Type.TLiteral<"user_delegated">]>;
2577
- iatSkewSeconds: Type.TNumber;
2578
- }>;
2579
- }>;
2580
- export declare const AuthDevicesProvisionSchema: Type.TObject<{
2581
- deploymentId: Type.TString;
2582
- publicIdentityKey: Type.TString;
2583
- activationKey: Type.TString;
2584
- metadata: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
2585
- }>;
2586
- export declare const AuthDevicesProvisionResponseSchema: Type.TObject<{
2587
- instance: Type.TObject<{
2588
- instanceId: Type.TString;
2589
- publicIdentityKey: Type.TString;
2590
- deploymentId: Type.TString;
2591
- metadata: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
2592
- state: Type.TUnion<[Type.TLiteral<"registered">, Type.TLiteral<"activated">, Type.TLiteral<"revoked">, Type.TLiteral<"disabled">]>;
2593
- createdAt: Type.TString;
2594
- activatedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2595
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2596
- }>;
2597
- }>;
2598
- export declare const AuthDevicesListSchema: Type.TObject<{
2599
- deploymentId: Type.TOptional<Type.TString>;
2600
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"registered">, Type.TLiteral<"activated">, Type.TLiteral<"revoked">, Type.TLiteral<"disabled">]>>;
2601
- offset: Type.TOptional<Type.TInteger>;
2602
- limit: Type.TInteger;
2603
- }>;
2604
- export declare const AuthDevicesListResponseSchema: Type.TObject<{
2605
- entries: Type.TArray<Type.TObject<{
2606
- instanceId: Type.TString;
2607
- publicIdentityKey: Type.TString;
2608
- deploymentId: Type.TString;
2609
- metadata: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
2610
- state: Type.TUnion<[Type.TLiteral<"registered">, Type.TLiteral<"activated">, Type.TLiteral<"revoked">, Type.TLiteral<"disabled">]>;
2611
- createdAt: Type.TString;
2612
- activatedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2613
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2614
- }>>;
2615
- count: Type.TInteger;
2616
- offset: Type.TInteger;
2617
- limit: Type.TInteger;
2618
- nextOffset: Type.TOptional<Type.TInteger>;
2619
- }>;
2620
- export declare const AuthDevicesDisableSchema: Type.TObject<{
2621
- instanceId: Type.TString;
2622
- }>;
2623
- export declare const AuthDevicesDisableResponseSchema: Type.TObject<{
2624
- instance: Type.TObject<{
2625
- instanceId: Type.TString;
2626
- publicIdentityKey: Type.TString;
2627
- deploymentId: Type.TString;
2628
- metadata: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
2629
- state: Type.TUnion<[Type.TLiteral<"registered">, Type.TLiteral<"activated">, Type.TLiteral<"revoked">, Type.TLiteral<"disabled">]>;
2630
- createdAt: Type.TString;
2631
- activatedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2632
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2633
- }>;
2634
- }>;
2635
- export declare const AuthDevicesEnableSchema: Type.TObject<{
2636
- instanceId: Type.TString;
2637
- }>;
2638
- export declare const AuthDevicesEnableResponseSchema: Type.TObject<{
2639
- instance: Type.TObject<{
2640
- instanceId: Type.TString;
2641
- publicIdentityKey: Type.TString;
2642
- deploymentId: Type.TString;
2643
- metadata: Type.TOptional<Type.TRecord<"^.*$", Type.TString>>;
2644
- state: Type.TUnion<[Type.TLiteral<"registered">, Type.TLiteral<"activated">, Type.TLiteral<"revoked">, Type.TLiteral<"disabled">]>;
2645
- createdAt: Type.TString;
2646
- activatedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2647
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2648
- }>;
2649
- }>;
2650
- export declare const AuthDevicesRemoveSchema: Type.TObject<{
2651
- instanceId: Type.TString;
2652
- }>;
2653
- export declare const AuthDevicesRemoveResponseSchema: Type.TObject<{
2654
- success: Type.TBoolean;
2655
- }>;
2656
- export declare const AuthResolveDeviceUserAuthoritiesSchema: Type.TObject<{
2657
- flowId: Type.TString;
2658
- }>;
2659
- export declare const AuthResolveDeviceUserAuthoritiesProgressSchema: Type.TObject<{
2660
- status: Type.TLiteral<"pending_review">;
2661
- reviewId: Type.TString;
2662
- instanceId: Type.TString;
2663
- deploymentId: Type.TString;
2664
- requestedAt: Type.TString;
2665
- }>;
2666
- export declare const AuthResolveDeviceUserAuthoritiesResponseSchema: Type.TUnion<[Type.TObject<{
2667
- status: Type.TLiteral<"activated">;
2668
- instanceId: Type.TString;
2669
- deploymentId: Type.TString;
2670
- activatedAt: Type.TString;
2671
- confirmationCode: Type.TOptional<Type.TString>;
2672
- }>, Type.TObject<{
2673
- status: Type.TLiteral<"rejected">;
2674
- reason: Type.TOptional<Type.TString>;
2675
- }>]>;
2676
- export declare const WaitForDeviceActivationResponseSchema: Type.TUnion<[Type.TObject<{
2677
- status: Type.TLiteral<"pending">;
2678
- }>, Type.TObject<{
2679
- status: Type.TLiteral<"activated">;
2680
- activatedAt: Type.TString;
2681
- confirmationCode: Type.TOptional<Type.TString>;
2682
- connectInfo: Type.TObject<{
2683
- instanceId: Type.TString;
2684
- deploymentId: Type.TString;
2685
- contractId: Type.TString;
2686
- contractDigest: Type.TString;
2687
- transports: Type.TObject<{
2688
- native: Type.TOptional<Type.TObject<{
2689
- natsServers: Type.TArray<Type.TString>;
2690
- }>>;
2691
- websocket: Type.TOptional<Type.TObject<{
2692
- natsServers: Type.TArray<Type.TString>;
2693
- }>>;
2694
- }>;
2695
- transport: Type.TObject<{
2696
- sentinel: Type.TObject<{
2697
- jwt: Type.TString;
2698
- seed: Type.TString;
2699
- }>;
2700
- }>;
2701
- auth: Type.TObject<{
2702
- mode: Type.TLiteral<"device_identity">;
2703
- authority: Type.TUnion<[Type.TLiteral<"admin_reviewed">, Type.TLiteral<"user_delegated">]>;
2704
- iatSkewSeconds: Type.TNumber;
2705
- }>;
2706
- }>;
2707
- }>, Type.TObject<{
2708
- status: Type.TLiteral<"rejected">;
2709
- reason: Type.TOptional<Type.TString>;
2710
- }>]>;
2711
- export declare const WaitForDeviceActivationRequestSchema: Type.TObject<{
2712
- flowId: Type.TString;
2713
- publicIdentityKey: Type.TString;
2714
- nonce: Type.TString;
2715
- contractDigest: Type.TString;
2716
- iat: Type.TNumber;
2717
- sig: Type.TString;
2718
- }>;
2719
- export declare const AuthDevicesConnectInfoGetSchema: Type.TObject<{
2720
- publicIdentityKey: Type.TString;
2721
- contractDigest: Type.TString;
2722
- iat: Type.TNumber;
2723
- sig: Type.TString;
2724
- }>;
2725
- export declare const AuthDevicesConnectInfoGetResponseSchema: Type.TObject<{
2726
- status: Type.TLiteral<"ready">;
2727
- connectInfo: Type.TObject<{
2728
- instanceId: Type.TString;
2729
- deploymentId: Type.TString;
2730
- contractId: Type.TString;
2731
- contractDigest: Type.TString;
2732
- transports: Type.TObject<{
2733
- native: Type.TOptional<Type.TObject<{
2734
- natsServers: Type.TArray<Type.TString>;
2735
- }>>;
2736
- websocket: Type.TOptional<Type.TObject<{
2737
- natsServers: Type.TArray<Type.TString>;
2738
- }>>;
2739
- }>;
2740
- transport: Type.TObject<{
2741
- sentinel: Type.TObject<{
2742
- jwt: Type.TString;
2743
- seed: Type.TString;
2744
- }>;
2745
- }>;
2746
- auth: Type.TObject<{
2747
- mode: Type.TLiteral<"device_identity">;
2748
- authority: Type.TUnion<[Type.TLiteral<"admin_reviewed">, Type.TLiteral<"user_delegated">]>;
2749
- iatSkewSeconds: Type.TNumber;
2750
- }>;
2751
- }>;
2752
- }>;
2753
- export declare const AuthDeviceUserAuthoritiesListSchema: Type.TObject<{
2754
- instanceId: Type.TOptional<Type.TString>;
2755
- deploymentId: Type.TOptional<Type.TString>;
2756
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"activated">, Type.TLiteral<"revoked">]>>;
2757
- offset: Type.TOptional<Type.TInteger>;
2758
- limit: Type.TInteger;
2759
- }>;
2760
- export declare const AuthDeviceUserAuthoritiesListResponseSchema: Type.TObject<{
2761
- entries: Type.TArray<Type.TObject<{
2762
- instanceId: Type.TString;
2763
- publicIdentityKey: Type.TString;
2764
- deploymentId: Type.TString;
2765
- activatedBy: Type.TOptional<Type.TObject<{
2766
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2767
- userId: Type.TString;
2768
- identity: Type.TObject<{
2769
- identityId: Type.TString;
2770
- provider: Type.TString;
2771
- subject: Type.TString;
2772
- }>;
2773
- }>>;
2774
- state: Type.TUnion<[Type.TLiteral<"activated">, Type.TLiteral<"revoked">]>;
2775
- activatedAt: Type.TString;
2776
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2777
- }>>;
2778
- count: Type.TInteger;
2779
- offset: Type.TInteger;
2780
- limit: Type.TInteger;
2781
- nextOffset: Type.TOptional<Type.TInteger>;
2782
- }>;
2783
- export declare const AuthDeviceUserAuthoritiesRevokeSchema: Type.TObject<{
2784
- instanceId: Type.TString;
2785
- }>;
2786
- export declare const AuthDeviceUserAuthoritiesRevokeResponseSchema: Type.TObject<{
2787
- success: Type.TBoolean;
2788
- }>;
2789
- export declare const AuthDeviceUserAuthoritiesReviewsListSchema: Type.TObject<{
2790
- instanceId: Type.TOptional<Type.TString>;
2791
- deploymentId: Type.TOptional<Type.TString>;
2792
- state: Type.TOptional<Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"approved">, Type.TLiteral<"rejected">]>>;
2793
- offset: Type.TOptional<Type.TInteger>;
2794
- limit: Type.TInteger;
2795
- }>;
2796
- export declare const AuthDeviceUserAuthoritiesReviewsListResponseSchema: Type.TObject<{
2797
- entries: Type.TArray<Type.TObject<{
2798
- reviewId: Type.TString;
2799
- instanceId: Type.TString;
2800
- publicIdentityKey: Type.TString;
2801
- deploymentId: Type.TString;
2802
- state: Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"approved">, Type.TLiteral<"rejected">]>;
2803
- requestedAt: Type.TString;
2804
- decidedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2805
- reason: Type.TOptional<Type.TString>;
2806
- }>>;
2807
- count: Type.TInteger;
2808
- offset: Type.TInteger;
2809
- limit: Type.TInteger;
2810
- nextOffset: Type.TOptional<Type.TInteger>;
2811
- }>;
2812
- export declare const AuthDeviceUserAuthoritiesReviewsDecideSchema: Type.TObject<{
2813
- reviewId: Type.TString;
2814
- decision: Type.TUnion<[Type.TLiteral<"approve">, Type.TLiteral<"reject">]>;
2815
- reason: Type.TOptional<Type.TString>;
2816
- }>;
2817
- export declare const AuthDeviceUserAuthoritiesReviewsDecideResponseSchema: Type.TObject<{
2818
- review: Type.TObject<{
2819
- reviewId: Type.TString;
2820
- instanceId: Type.TString;
2821
- publicIdentityKey: Type.TString;
2822
- deploymentId: Type.TString;
2823
- state: Type.TUnion<[Type.TLiteral<"pending">, Type.TLiteral<"approved">, Type.TLiteral<"rejected">]>;
2824
- requestedAt: Type.TString;
2825
- decidedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2826
- reason: Type.TOptional<Type.TString>;
2827
- }>;
2828
- activation: Type.TOptional<Type.TObject<{
2829
- instanceId: Type.TString;
2830
- publicIdentityKey: Type.TString;
2831
- deploymentId: Type.TString;
2832
- activatedBy: Type.TOptional<Type.TObject<{
2833
- participantKind: Type.TUnion<[Type.TLiteral<"app">, Type.TLiteral<"agent">]>;
2834
- userId: Type.TString;
2835
- identity: Type.TObject<{
2836
- identityId: Type.TString;
2837
- provider: Type.TString;
2838
- subject: Type.TString;
2839
- }>;
2840
- }>>;
2841
- state: Type.TUnion<[Type.TLiteral<"activated">, Type.TLiteral<"revoked">]>;
2842
- activatedAt: Type.TString;
2843
- revokedAt: Type.TUnion<[Type.TString, Type.TNull]>;
2844
- }>>;
2845
- confirmationCode: Type.TOptional<Type.TString>;
2846
- }>;
2847
- export declare const UserIdentityViewSchema: Type.TObject<{
2848
- identityId: Type.TString;
2849
- provider: Type.TString;
2850
- subject: Type.TString;
2851
- displayName: Type.TUnion<[Type.TString, Type.TNull]>;
2852
- email: Type.TUnion<[Type.TString, Type.TNull]>;
2853
- emailVerified: Type.TBoolean;
2854
- linkedAt: Type.TString;
2855
- lastLoginAt: Type.TUnion<[Type.TString, Type.TNull]>;
2856
- }>;
2857
- export declare const UserViewSchema: Type.TObject<{
2858
- userId: Type.TString;
2859
- name: Type.TOptional<Type.TString>;
2860
- email: Type.TOptional<Type.TString>;
2861
- active: Type.TBoolean;
2862
- capabilities: Type.TArray<Type.TString>;
2863
- capabilityGroups: Type.TArray<Type.TString>;
2864
- identities: Type.TArray<Type.TObject<{
2865
- identityId: Type.TString;
2866
- provider: Type.TString;
2867
- subject: Type.TString;
2868
- displayName: Type.TUnion<[Type.TString, Type.TNull]>;
2869
- email: Type.TUnion<[Type.TString, Type.TNull]>;
2870
- emailVerified: Type.TBoolean;
2871
- linkedAt: Type.TString;
2872
- lastLoginAt: Type.TUnion<[Type.TString, Type.TNull]>;
2873
- }>>;
2874
- }>;
2875
- export declare const AuthUsersListSchema: Type.TObject<{
2876
- offset: Type.TOptional<Type.TInteger>;
2877
- limit: Type.TInteger;
2878
- }>;
2879
- export declare const AuthUsersListResponseSchema: Type.TObject<{
2880
- entries: Type.TArray<Type.TObject<{
2881
- userId: Type.TString;
2882
- name: Type.TOptional<Type.TString>;
2883
- email: Type.TOptional<Type.TString>;
2884
- active: Type.TBoolean;
2885
- capabilities: Type.TArray<Type.TString>;
2886
- capabilityGroups: Type.TArray<Type.TString>;
2887
- identities: Type.TArray<Type.TObject<{
2888
- identityId: Type.TString;
2889
- provider: Type.TString;
2890
- subject: Type.TString;
2891
- displayName: Type.TUnion<[Type.TString, Type.TNull]>;
2892
- email: Type.TUnion<[Type.TString, Type.TNull]>;
2893
- emailVerified: Type.TBoolean;
2894
- linkedAt: Type.TString;
2895
- lastLoginAt: Type.TUnion<[Type.TString, Type.TNull]>;
2896
- }>>;
2897
- }>>;
2898
- count: Type.TInteger;
2899
- offset: Type.TInteger;
2900
- limit: Type.TInteger;
2901
- nextOffset: Type.TOptional<Type.TInteger>;
2902
- }>;
2903
- export declare const AuthUsersGetSchema: Type.TObject<{
2904
- userId: Type.TString;
2905
- }>;
2906
- export declare const AuthUsersGetResponseSchema: Type.TObject<{
2907
- user: Type.TObject<{
2908
- userId: Type.TString;
2909
- name: Type.TOptional<Type.TString>;
2910
- email: Type.TOptional<Type.TString>;
2911
- active: Type.TBoolean;
2912
- capabilities: Type.TArray<Type.TString>;
2913
- capabilityGroups: Type.TArray<Type.TString>;
2914
- identities: Type.TArray<Type.TObject<{
2915
- identityId: Type.TString;
2916
- provider: Type.TString;
2917
- subject: Type.TString;
2918
- displayName: Type.TUnion<[Type.TString, Type.TNull]>;
2919
- email: Type.TUnion<[Type.TString, Type.TNull]>;
2920
- emailVerified: Type.TBoolean;
2921
- linkedAt: Type.TString;
2922
- lastLoginAt: Type.TUnion<[Type.TString, Type.TNull]>;
2923
- }>>;
2924
- }>;
2925
- }>;
2926
- export declare const AuthUsersCreateSchema: Type.TObject<{
2927
- name: Type.TOptional<Type.TString>;
2928
- email: Type.TOptional<Type.TString>;
2929
- username: Type.TOptional<Type.TString>;
2930
- active: Type.TOptional<Type.TBoolean>;
2931
- capabilities: Type.TOptional<Type.TArray<Type.TString>>;
2932
- capabilityGroups: Type.TOptional<Type.TArray<Type.TString>>;
2933
- }>;
2934
- export declare const AuthUsersCreateResponseSchema: Type.TObject<{
2935
- user: Type.TObject<{
2936
- userId: Type.TString;
2937
- name: Type.TOptional<Type.TString>;
2938
- email: Type.TOptional<Type.TString>;
2939
- active: Type.TBoolean;
2940
- capabilities: Type.TArray<Type.TString>;
2941
- capabilityGroups: Type.TArray<Type.TString>;
2942
- identities: Type.TArray<Type.TObject<{
2943
- identityId: Type.TString;
2944
- provider: Type.TString;
2945
- subject: Type.TString;
2946
- displayName: Type.TUnion<[Type.TString, Type.TNull]>;
2947
- email: Type.TUnion<[Type.TString, Type.TNull]>;
2948
- emailVerified: Type.TBoolean;
2949
- linkedAt: Type.TString;
2950
- lastLoginAt: Type.TUnion<[Type.TString, Type.TNull]>;
2951
- }>>;
2952
- }>;
2953
- }>;
2954
- export declare const AuthUsersIdentityLinkCreateSchema: Type.TObject<{
2955
- returnTo: Type.TOptional<Type.TString>;
2956
- }>;
2957
- export declare const AuthUsersPasswordChangeSchema: Type.TObject<{
2958
- currentPassword: Type.TString;
2959
- newPassword: Type.TString;
2960
- }>;
2961
- export declare const AuthUsersPasswordChangeResponseSchema: Type.TObject<{
2962
- success: Type.TBoolean;
2963
- }>;
2964
- export declare const AuthUsersPasswordResetCreateSchema: Type.TObject<{
2965
- userId: Type.TString;
2966
- expiresInSeconds: Type.TOptional<Type.TInteger>;
2967
- }>;
2968
- export declare const AuthUsersAccountFlowCreateResponseSchema: Type.TObject<{
2969
- flowId: Type.TString;
2970
- url: Type.TString;
2971
- expiresAt: Type.TString;
2972
- }>;
2973
- export declare const CapabilityDefinitionSchema: Type.TObject<{
2974
- key: Type.TString;
2975
- displayName: Type.TString;
2976
- description: Type.TString;
2977
- consequence: Type.TOptional<Type.TString>;
2978
- source: Type.TUnion<[Type.TLiteral<"contract">, Type.TLiteral<"platform">]>;
2979
- contractId: Type.TOptional<Type.TString>;
2980
- contractDigest: Type.TOptional<Type.TString>;
2981
- contractDisplayName: Type.TOptional<Type.TString>;
2982
- }>;
2983
- export declare const AuthCapabilitiesListSchema: Type.TObject<{
2984
- offset: Type.TOptional<Type.TInteger>;
2985
- limit: Type.TInteger;
2986
- }>;
2987
- export declare const AuthCapabilitiesListResponseSchema: Type.TObject<{
2988
- entries: Type.TArray<Type.TObject<{
2989
- key: Type.TString;
2990
- displayName: Type.TString;
2991
- description: Type.TString;
2992
- consequence: Type.TOptional<Type.TString>;
2993
- source: Type.TUnion<[Type.TLiteral<"contract">, Type.TLiteral<"platform">]>;
2994
- contractId: Type.TOptional<Type.TString>;
2995
- contractDigest: Type.TOptional<Type.TString>;
2996
- contractDisplayName: Type.TOptional<Type.TString>;
2997
- }>>;
2998
- count: Type.TInteger;
2999
- offset: Type.TInteger;
3000
- limit: Type.TInteger;
3001
- nextOffset: Type.TOptional<Type.TInteger>;
3002
- }>;
3003
- export declare const CapabilityGroupSchema: Type.TObject<{
3004
- groupKey: Type.TString;
3005
- displayName: Type.TString;
3006
- description: Type.TString;
3007
- capabilities: Type.TArray<Type.TString>;
3008
- includedGroups: Type.TArray<Type.TString>;
3009
- createdAt: Type.TString;
3010
- updatedAt: Type.TString;
3011
- }>;
3012
- export declare const AuthCapabilityGroupsListSchema: Type.TObject<{
3013
- offset: Type.TOptional<Type.TInteger>;
3014
- limit: Type.TInteger;
3015
- }>;
3016
- export declare const AuthCapabilityGroupsListResponseSchema: Type.TObject<{
3017
- entries: Type.TArray<Type.TObject<{
3018
- groupKey: Type.TString;
3019
- displayName: Type.TString;
3020
- description: Type.TString;
3021
- capabilities: Type.TArray<Type.TString>;
3022
- includedGroups: Type.TArray<Type.TString>;
3023
- createdAt: Type.TString;
3024
- updatedAt: Type.TString;
3025
- }>>;
3026
- count: Type.TInteger;
3027
- offset: Type.TInteger;
3028
- limit: Type.TInteger;
3029
- nextOffset: Type.TOptional<Type.TInteger>;
3030
- }>;
3031
- export declare const AuthCapabilityGroupsGetSchema: Type.TObject<{
3032
- groupKey: Type.TString;
3033
- }>;
3034
- export declare const AuthCapabilityGroupsGetResponseSchema: Type.TObject<{
3035
- group: Type.TObject<{
3036
- groupKey: Type.TString;
3037
- displayName: Type.TString;
3038
- description: Type.TString;
3039
- capabilities: Type.TArray<Type.TString>;
3040
- includedGroups: Type.TArray<Type.TString>;
3041
- createdAt: Type.TString;
3042
- updatedAt: Type.TString;
3043
- }>;
3044
- }>;
3045
- export declare const AuthCapabilityGroupsPutSchema: Type.TObject<{
3046
- groupKey: Type.TString;
3047
- displayName: Type.TString;
3048
- description: Type.TString;
3049
- capabilities: Type.TOptional<Type.TArray<Type.TString>>;
3050
- includedGroups: Type.TOptional<Type.TArray<Type.TString>>;
3051
- }>;
3052
- export declare const AuthCapabilityGroupsPutResponseSchema: Type.TObject<{
3053
- group: Type.TObject<{
3054
- groupKey: Type.TString;
3055
- displayName: Type.TString;
3056
- description: Type.TString;
3057
- capabilities: Type.TArray<Type.TString>;
3058
- includedGroups: Type.TArray<Type.TString>;
3059
- createdAt: Type.TString;
3060
- updatedAt: Type.TString;
3061
- }>;
3062
- }>;
3063
- export declare const AuthCapabilityGroupsDeleteSchema: Type.TObject<{
3064
- groupKey: Type.TString;
3065
- }>;
3066
- export declare const AuthCapabilityGroupsDeleteResponseSchema: Type.TObject<{
3067
- success: Type.TBoolean;
3068
- }>;
3069
- export declare const AuthUsersUpdateSchema: Type.TObject<{
3070
- userId: Type.TString;
3071
- active: Type.TOptional<Type.TBoolean>;
3072
- capabilities: Type.TOptional<Type.TArray<Type.TString>>;
3073
- capabilityGroups: Type.TOptional<Type.TArray<Type.TString>>;
3074
- name: Type.TOptional<Type.TString>;
3075
- email: Type.TOptional<Type.TString>;
3076
- }>;
3077
- export declare const AuthUsersUpdateResponseSchema: Type.TObject<{
3078
- success: Type.TBoolean;
3079
- }>;
3080
- export declare const AuthUserIdentitiesListSchema: Type.TObject<{
3081
- userId: Type.TString;
3082
- offset: Type.TOptional<Type.TInteger>;
3083
- limit: Type.TInteger;
3084
- }>;
3085
- export declare const AuthUserIdentitiesListResponseSchema: Type.TObject<{
3086
- entries: Type.TArray<Type.TObject<{
3087
- identityId: Type.TString;
3088
- provider: Type.TString;
3089
- subject: Type.TString;
3090
- displayName: Type.TUnion<[Type.TString, Type.TNull]>;
3091
- email: Type.TUnion<[Type.TString, Type.TNull]>;
3092
- emailVerified: Type.TBoolean;
3093
- linkedAt: Type.TString;
3094
- lastLoginAt: Type.TUnion<[Type.TString, Type.TNull]>;
3095
- }>>;
3096
- count: Type.TInteger;
3097
- offset: Type.TInteger;
3098
- limit: Type.TInteger;
3099
- nextOffset: Type.TOptional<Type.TInteger>;
3100
- }>;
3101
- export declare const AuthUserIdentitiesUnlinkSchema: Type.TObject<{
3102
- userId: Type.TString;
3103
- identityId: Type.TString;
3104
- }>;
3105
- export declare const AuthUserIdentitiesUnlinkResponseSchema: Type.TObject<{
3106
- success: Type.TBoolean;
3107
- }>;
3108
- //# sourceMappingURL=protocol.d.ts.map