@qlever-llc/trellis 0.8.4 → 0.9.0-rc.10

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 (693) hide show
  1. package/README.md +1 -1
  2. package/bin/trellis-generate.js +0 -0
  3. package/esm/auth/browser/login.d.ts.map +1 -1
  4. package/esm/auth/browser/login.js +46 -3
  5. package/esm/auth/browser/portal.d.ts.map +1 -1
  6. package/esm/auth/browser/portal.js +5 -1
  7. package/esm/auth/browser/session.d.ts +18 -7
  8. package/esm/auth/browser/session.d.ts.map +1 -1
  9. package/esm/auth/browser/session.js +47 -11
  10. package/esm/auth/browser/storage.d.ts +6 -1
  11. package/esm/auth/browser/storage.d.ts.map +1 -1
  12. package/esm/auth/browser/storage.js +15 -3
  13. package/esm/auth/browser.d.ts +2 -2
  14. package/esm/auth/browser.d.ts.map +1 -1
  15. package/esm/auth/browser.js +1 -1
  16. package/esm/auth/device_activation.d.ts +36 -33
  17. package/esm/auth/device_activation.d.ts.map +1 -1
  18. package/esm/auth/device_activation.js +26 -22
  19. package/esm/auth/mod.d.ts +4 -4
  20. package/esm/auth/mod.d.ts.map +1 -1
  21. package/esm/auth/mod.js +2 -2
  22. package/esm/auth/proof.d.ts +3 -1
  23. package/esm/auth/proof.d.ts.map +1 -1
  24. package/esm/auth/proof.js +21 -15
  25. package/esm/auth/protocol.d.ts +2457 -941
  26. package/esm/auth/protocol.d.ts.map +1 -1
  27. package/esm/auth/protocol.js +747 -375
  28. package/esm/auth/schemas.d.ts +25 -4
  29. package/esm/auth/schemas.d.ts.map +1 -1
  30. package/esm/auth/schemas.js +14 -4
  31. package/esm/auth/session_auth.d.ts +1 -1
  32. package/esm/auth/session_auth.d.ts.map +1 -1
  33. package/esm/auth/session_auth.js +7 -1
  34. package/esm/client_connect.d.ts +2 -0
  35. package/esm/client_connect.d.ts.map +1 -1
  36. package/esm/client_connect.js +76 -15
  37. package/esm/contract.d.ts +3 -0
  38. package/esm/contract.d.ts.map +1 -1
  39. package/esm/contract_support/mod.d.ts +422 -43
  40. package/esm/contract_support/mod.d.ts.map +1 -1
  41. package/esm/contract_support/mod.js +734 -33
  42. package/esm/contract_support/protocol.d.ts +20 -5
  43. package/esm/contract_support/protocol.d.ts.map +1 -1
  44. package/esm/contract_support/protocol.js +18 -10
  45. package/esm/contract_support/runtime.d.ts +11 -0
  46. package/esm/contract_support/runtime.d.ts.map +1 -1
  47. package/esm/contract_support/schema_pointers.d.ts.map +1 -1
  48. package/esm/contract_support/schema_pointers.js +32 -14
  49. package/esm/device.d.ts +2 -0
  50. package/esm/device.d.ts.map +1 -1
  51. package/esm/device.js +3 -0
  52. package/esm/errors/AuthError.d.ts +2 -1
  53. package/esm/errors/AuthError.d.ts.map +1 -1
  54. package/esm/errors/AuthError.js +8 -3
  55. package/esm/errors/index.d.ts +4 -4
  56. package/esm/errors/index.d.ts.map +1 -1
  57. package/esm/errors/index.js +1 -0
  58. package/esm/generated-sdk/auth/api.d.ts +27 -9
  59. package/esm/generated-sdk/auth/api.d.ts.map +1 -1
  60. package/esm/generated-sdk/auth/api.js +16 -590
  61. package/esm/generated-sdk/auth/client.d.ts +91 -85
  62. package/esm/generated-sdk/auth/client.d.ts.map +1 -1
  63. package/esm/generated-sdk/auth/contract.d.ts +1 -1
  64. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  65. package/esm/generated-sdk/auth/contract.js +4 -2
  66. package/esm/generated-sdk/auth/mod.d.ts +1 -0
  67. package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
  68. package/esm/generated-sdk/auth/owned_api.d.ts +3 -0
  69. package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -0
  70. package/esm/generated-sdk/auth/owned_api.js +594 -0
  71. package/esm/generated-sdk/auth/schemas.d.ts +9959 -5160
  72. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  73. package/esm/generated-sdk/auth/schemas.js +136 -137
  74. package/esm/generated-sdk/auth/types.d.ts +2418 -1557
  75. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  76. package/esm/generated-sdk/auth/types.js +1 -1
  77. package/esm/generated-sdk/health/api.d.ts +24 -9
  78. package/esm/generated-sdk/health/api.d.ts.map +1 -1
  79. package/esm/generated-sdk/health/api.js +12 -20
  80. package/esm/generated-sdk/health/client.d.ts +2 -1
  81. package/esm/generated-sdk/health/client.d.ts.map +1 -1
  82. package/esm/generated-sdk/health/contract.d.ts.map +1 -1
  83. package/esm/generated-sdk/health/contract.js +2 -0
  84. package/esm/generated-sdk/health/owned_api.d.ts +3 -0
  85. package/esm/generated-sdk/health/owned_api.d.ts.map +1 -0
  86. package/esm/generated-sdk/health/owned_api.js +16 -0
  87. package/esm/generated-sdk/health/types.d.ts +2 -0
  88. package/esm/generated-sdk/health/types.d.ts.map +1 -1
  89. package/esm/generated-sdk/jobs/api.d.ts +33 -9
  90. package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
  91. package/esm/generated-sdk/jobs/api.js +22 -87
  92. package/esm/generated-sdk/jobs/client.d.ts +9 -2
  93. package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
  94. package/esm/generated-sdk/jobs/contract.d.ts +1 -1
  95. package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
  96. package/esm/generated-sdk/jobs/contract.js +4 -2
  97. package/esm/generated-sdk/jobs/owned_api.d.ts +3 -0
  98. package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -0
  99. package/esm/generated-sdk/jobs/owned_api.js +118 -0
  100. package/esm/generated-sdk/jobs/schemas.d.ts +336 -123
  101. package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
  102. package/esm/generated-sdk/jobs/schemas.js +17 -15
  103. package/esm/generated-sdk/jobs/types.d.ts +144 -34
  104. package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
  105. package/esm/generated-sdk/jobs/types.js +36 -1
  106. package/esm/generated-sdk/state/api.d.ts +27 -9
  107. package/esm/generated-sdk/state/api.d.ts.map +1 -1
  108. package/esm/generated-sdk/state/api.js +16 -71
  109. package/esm/generated-sdk/state/client.d.ts +4 -2
  110. package/esm/generated-sdk/state/client.d.ts.map +1 -1
  111. package/esm/generated-sdk/state/contract.d.ts +1 -1
  112. package/esm/generated-sdk/state/contract.d.ts.map +1 -1
  113. package/esm/generated-sdk/state/contract.js +4 -2
  114. package/esm/generated-sdk/state/owned_api.d.ts +3 -0
  115. package/esm/generated-sdk/state/owned_api.d.ts.map +1 -0
  116. package/esm/generated-sdk/state/owned_api.js +66 -0
  117. package/esm/generated-sdk/state/schemas.d.ts +264 -284
  118. package/esm/generated-sdk/state/schemas.d.ts.map +1 -1
  119. package/esm/generated-sdk/state/schemas.js +6 -6
  120. package/esm/generated-sdk/state/types.d.ts +24 -23
  121. package/esm/generated-sdk/state/types.d.ts.map +1 -1
  122. package/esm/generated-sdk/state/types.js +1 -1
  123. package/esm/generated-sdk/trellis-core/api.d.ts +27 -9
  124. package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
  125. package/esm/generated-sdk/trellis-core/api.js +16 -39
  126. package/esm/generated-sdk/trellis-core/client.d.ts +5 -2
  127. package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
  128. package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
  129. package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  130. package/esm/generated-sdk/trellis-core/contract.js +4 -2
  131. package/esm/generated-sdk/trellis-core/owned_api.d.ts +3 -0
  132. package/esm/generated-sdk/trellis-core/owned_api.d.ts.map +1 -0
  133. package/esm/generated-sdk/trellis-core/owned_api.js +42 -0
  134. package/esm/generated-sdk/trellis-core/schemas.d.ts +259 -11
  135. package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  136. package/esm/generated-sdk/trellis-core/schemas.js +5 -3
  137. package/esm/generated-sdk/trellis-core/types.d.ts +56 -1
  138. package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
  139. package/esm/generated-sdk/trellis-core/types.js +1 -1
  140. package/esm/helpers.d.ts.map +1 -1
  141. package/esm/index.d.ts +4 -3
  142. package/esm/index.d.ts.map +1 -1
  143. package/esm/index.js +1 -0
  144. package/esm/jobs.d.ts +10 -1
  145. package/esm/jobs.d.ts.map +1 -1
  146. package/esm/jobs.js +16 -1
  147. package/esm/kv.d.ts.map +1 -1
  148. package/esm/kv.js +10 -4
  149. package/esm/models/auth/rpc/Logout.d.ts +4 -4
  150. package/esm/models/auth/rpc/Logout.d.ts.map +1 -1
  151. package/esm/models/auth/rpc/Logout.js +2 -2
  152. package/esm/models/trellis/Page.d.ts +2 -0
  153. package/esm/models/trellis/Page.d.ts.map +1 -0
  154. package/esm/models/trellis/Page.js +1 -0
  155. package/esm/models/trellis/State.d.ts +1 -0
  156. package/esm/models/trellis/State.d.ts.map +1 -1
  157. package/esm/models/trellis/State.js +1 -0
  158. package/esm/models/trellis/rpc/StateList.d.ts +9 -12
  159. package/esm/models/trellis/rpc/StateList.d.ts.map +1 -1
  160. package/esm/models/trellis/rpc/StateList.js +16 -18
  161. package/esm/npm/src/auth/browser/login.d.ts.map +1 -1
  162. package/esm/npm/src/auth/browser/login.js +46 -3
  163. package/esm/npm/src/auth/browser/portal.d.ts.map +1 -1
  164. package/esm/npm/src/auth/browser/portal.js +5 -1
  165. package/esm/npm/src/auth/browser/session.d.ts +18 -7
  166. package/esm/npm/src/auth/browser/session.d.ts.map +1 -1
  167. package/esm/npm/src/auth/browser/session.js +47 -11
  168. package/esm/npm/src/auth/browser/storage.d.ts +6 -1
  169. package/esm/npm/src/auth/browser/storage.d.ts.map +1 -1
  170. package/esm/npm/src/auth/browser/storage.js +15 -3
  171. package/esm/npm/src/auth/browser.d.ts +2 -2
  172. package/esm/npm/src/auth/browser.d.ts.map +1 -1
  173. package/esm/npm/src/auth/browser.js +1 -1
  174. package/esm/npm/src/auth/device_activation.d.ts +36 -33
  175. package/esm/npm/src/auth/device_activation.d.ts.map +1 -1
  176. package/esm/npm/src/auth/device_activation.js +26 -22
  177. package/esm/npm/src/auth/mod.d.ts +4 -4
  178. package/esm/npm/src/auth/mod.d.ts.map +1 -1
  179. package/esm/npm/src/auth/mod.js +2 -2
  180. package/esm/npm/src/auth/proof.d.ts +3 -1
  181. package/esm/npm/src/auth/proof.d.ts.map +1 -1
  182. package/esm/npm/src/auth/proof.js +21 -15
  183. package/esm/npm/src/auth/protocol.d.ts +2457 -941
  184. package/esm/npm/src/auth/protocol.d.ts.map +1 -1
  185. package/esm/npm/src/auth/protocol.js +747 -375
  186. package/esm/npm/src/auth/schemas.d.ts +25 -4
  187. package/esm/npm/src/auth/schemas.d.ts.map +1 -1
  188. package/esm/npm/src/auth/schemas.js +14 -4
  189. package/esm/npm/src/auth/session_auth.d.ts +1 -1
  190. package/esm/npm/src/auth/session_auth.d.ts.map +1 -1
  191. package/esm/npm/src/auth/session_auth.js +7 -1
  192. package/esm/npm/src/client_connect.d.ts +2 -0
  193. package/esm/npm/src/client_connect.d.ts.map +1 -1
  194. package/esm/npm/src/client_connect.js +76 -15
  195. package/esm/npm/src/contract.d.ts +3 -0
  196. package/esm/npm/src/contract.d.ts.map +1 -1
  197. package/esm/npm/src/contract_support/mod.d.ts +422 -43
  198. package/esm/npm/src/contract_support/mod.d.ts.map +1 -1
  199. package/esm/npm/src/contract_support/mod.js +734 -33
  200. package/esm/npm/src/contract_support/protocol.d.ts +20 -5
  201. package/esm/npm/src/contract_support/protocol.d.ts.map +1 -1
  202. package/esm/npm/src/contract_support/protocol.js +18 -10
  203. package/esm/npm/src/contract_support/runtime.d.ts +11 -0
  204. package/esm/npm/src/contract_support/runtime.d.ts.map +1 -1
  205. package/esm/npm/src/contract_support/schema_pointers.d.ts.map +1 -1
  206. package/esm/npm/src/contract_support/schema_pointers.js +32 -14
  207. package/esm/npm/src/device/deno.d.ts.map +1 -1
  208. package/esm/npm/src/device/deno.js +6 -0
  209. package/esm/npm/src/device.d.ts +2 -0
  210. package/esm/npm/src/device.d.ts.map +1 -1
  211. package/esm/npm/src/device.js +3 -0
  212. package/esm/npm/src/errors/AuthError.d.ts +2 -1
  213. package/esm/npm/src/errors/AuthError.d.ts.map +1 -1
  214. package/esm/npm/src/errors/AuthError.js +8 -3
  215. package/esm/npm/src/errors/index.d.ts +4 -4
  216. package/esm/npm/src/errors/index.d.ts.map +1 -1
  217. package/esm/npm/src/errors/index.js +1 -0
  218. package/esm/npm/src/generate.js +39 -26
  219. package/esm/npm/src/helpers.d.ts.map +1 -1
  220. package/esm/npm/src/index.d.ts +4 -3
  221. package/esm/npm/src/index.d.ts.map +1 -1
  222. package/esm/npm/src/index.js +1 -0
  223. package/esm/npm/src/jobs.d.ts +10 -1
  224. package/esm/npm/src/jobs.d.ts.map +1 -1
  225. package/esm/npm/src/jobs.js +16 -1
  226. package/esm/npm/src/kv.d.ts.map +1 -1
  227. package/esm/npm/src/kv.js +10 -4
  228. package/esm/npm/src/models/auth/rpc/Logout.d.ts +4 -4
  229. package/esm/npm/src/models/auth/rpc/Logout.d.ts.map +1 -1
  230. package/esm/npm/src/models/auth/rpc/Logout.js +2 -2
  231. package/esm/npm/src/models/trellis/Page.d.ts +2 -0
  232. package/esm/npm/src/models/trellis/Page.d.ts.map +1 -0
  233. package/esm/npm/src/models/trellis/Page.js +1 -0
  234. package/esm/npm/src/models/trellis/State.d.ts +1 -0
  235. package/esm/npm/src/models/trellis/State.d.ts.map +1 -1
  236. package/esm/npm/src/models/trellis/State.js +1 -0
  237. package/esm/npm/src/models/trellis/rpc/StateList.d.ts +9 -12
  238. package/esm/npm/src/models/trellis/rpc/StateList.d.ts.map +1 -1
  239. package/esm/npm/src/models/trellis/rpc/StateList.js +16 -18
  240. package/esm/npm/src/operations.d.ts +16 -7
  241. package/esm/npm/src/operations.d.ts.map +1 -1
  242. package/esm/npm/src/operations.js +84 -19
  243. package/esm/npm/src/runtime_transport.d.ts +2 -0
  244. package/esm/npm/src/runtime_transport.d.ts.map +1 -1
  245. package/esm/npm/src/runtime_transport.js +1 -0
  246. package/esm/npm/src/server/internal_jobs/active-job.d.ts +2 -1
  247. package/esm/npm/src/server/internal_jobs/active-job.d.ts.map +1 -1
  248. package/esm/npm/src/server/internal_jobs/active-job.js +3 -0
  249. package/esm/npm/src/server/internal_jobs/job-manager.d.ts +4 -1
  250. package/esm/npm/src/server/internal_jobs/job-manager.d.ts.map +1 -1
  251. package/esm/npm/src/server/internal_jobs/job-manager.js +61 -1
  252. package/esm/npm/src/server/internal_jobs/projection.js +1 -0
  253. package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts +13 -1
  254. package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts.map +1 -1
  255. package/esm/npm/src/server/internal_jobs/runtime-worker.js +73 -13
  256. package/esm/npm/src/server/internal_jobs/types.d.ts +19 -0
  257. package/esm/npm/src/server/internal_jobs/types.d.ts.map +1 -1
  258. package/esm/npm/src/server/internal_jobs/types.js +10 -0
  259. package/esm/npm/src/server/runtime.d.ts +1 -0
  260. package/esm/npm/src/server/runtime.d.ts.map +1 -1
  261. package/esm/npm/src/server/service.d.ts +10 -1
  262. package/esm/npm/src/server/service.d.ts.map +1 -1
  263. package/esm/npm/src/server/service.js +210 -64
  264. package/esm/npm/src/server/transfer.d.ts.map +1 -1
  265. package/esm/npm/src/server/transfer.js +4 -0
  266. package/esm/npm/src/server.d.ts.map +1 -1
  267. package/esm/npm/src/server.js +337 -34
  268. package/esm/npm/src/store.d.ts +8 -1
  269. package/esm/npm/src/store.d.ts.map +1 -1
  270. package/esm/npm/src/store.js +46 -8
  271. package/esm/npm/src/transfer.d.ts +3 -0
  272. package/esm/npm/src/transfer.d.ts.map +1 -1
  273. package/esm/npm/src/transfer.js +20 -30
  274. package/esm/npm/src/trellis.d.ts +85 -22
  275. package/esm/npm/src/trellis.d.ts.map +1 -1
  276. package/esm/npm/src/trellis.js +525 -61
  277. package/esm/operations.d.ts +16 -7
  278. package/esm/operations.d.ts.map +1 -1
  279. package/esm/operations.js +84 -19
  280. package/esm/runtime_transport.d.ts +2 -0
  281. package/esm/runtime_transport.d.ts.map +1 -1
  282. package/esm/runtime_transport.js +1 -0
  283. package/esm/store.d.ts +8 -1
  284. package/esm/store.d.ts.map +1 -1
  285. package/esm/store.js +46 -8
  286. package/esm/transfer.d.ts +3 -0
  287. package/esm/transfer.d.ts.map +1 -1
  288. package/esm/transfer.js +20 -30
  289. package/esm/trellis.d.ts +85 -22
  290. package/esm/trellis.d.ts.map +1 -1
  291. package/esm/trellis.js +525 -61
  292. package/package.json +6 -3
  293. package/script/auth/browser/login.d.ts.map +1 -1
  294. package/script/auth/browser/login.js +46 -3
  295. package/script/auth/browser/portal.d.ts.map +1 -1
  296. package/script/auth/browser/portal.js +5 -1
  297. package/script/auth/browser/session.d.ts +18 -7
  298. package/script/auth/browser/session.d.ts.map +1 -1
  299. package/script/auth/browser/session.js +47 -11
  300. package/script/auth/browser/storage.d.ts +6 -1
  301. package/script/auth/browser/storage.d.ts.map +1 -1
  302. package/script/auth/browser/storage.js +15 -3
  303. package/script/auth/browser.d.ts +2 -2
  304. package/script/auth/browser.d.ts.map +1 -1
  305. package/script/auth/browser.js +2 -1
  306. package/script/auth/device_activation.d.ts +36 -33
  307. package/script/auth/device_activation.d.ts.map +1 -1
  308. package/script/auth/device_activation.js +25 -21
  309. package/script/auth/mod.d.ts +4 -4
  310. package/script/auth/mod.d.ts.map +1 -1
  311. package/script/auth/mod.js +132 -137
  312. package/script/auth/proof.d.ts +3 -1
  313. package/script/auth/proof.d.ts.map +1 -1
  314. package/script/auth/proof.js +21 -15
  315. package/script/auth/protocol.d.ts +2457 -941
  316. package/script/auth/protocol.d.ts.map +1 -1
  317. package/script/auth/protocol.js +749 -377
  318. package/script/auth/schemas.d.ts +25 -4
  319. package/script/auth/schemas.d.ts.map +1 -1
  320. package/script/auth/schemas.js +16 -5
  321. package/script/auth/session_auth.d.ts +1 -1
  322. package/script/auth/session_auth.d.ts.map +1 -1
  323. package/script/auth/session_auth.js +7 -1
  324. package/script/client_connect.d.ts +2 -0
  325. package/script/client_connect.d.ts.map +1 -1
  326. package/script/client_connect.js +76 -15
  327. package/script/contract.d.ts +3 -0
  328. package/script/contract.d.ts.map +1 -1
  329. package/script/contract_support/mod.d.ts +422 -43
  330. package/script/contract_support/mod.d.ts.map +1 -1
  331. package/script/contract_support/mod.js +757 -51
  332. package/script/contract_support/protocol.d.ts +20 -5
  333. package/script/contract_support/protocol.d.ts.map +1 -1
  334. package/script/contract_support/protocol.js +20 -11
  335. package/script/contract_support/runtime.d.ts +11 -0
  336. package/script/contract_support/runtime.d.ts.map +1 -1
  337. package/script/contract_support/schema_pointers.d.ts.map +1 -1
  338. package/script/contract_support/schema_pointers.js +32 -14
  339. package/script/device.d.ts +2 -0
  340. package/script/device.d.ts.map +1 -1
  341. package/script/device.js +3 -0
  342. package/script/errors/AuthError.d.ts +2 -1
  343. package/script/errors/AuthError.d.ts.map +1 -1
  344. package/script/errors/AuthError.js +8 -3
  345. package/script/errors/index.d.ts +4 -4
  346. package/script/errors/index.d.ts.map +1 -1
  347. package/script/errors/index.js +1 -0
  348. package/script/generated-sdk/auth/api.d.ts +27 -9
  349. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  350. package/script/generated-sdk/auth/api.js +17 -591
  351. package/script/generated-sdk/auth/client.d.ts +91 -85
  352. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  353. package/script/generated-sdk/auth/contract.d.ts +1 -1
  354. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  355. package/script/generated-sdk/auth/contract.js +4 -2
  356. package/script/generated-sdk/auth/mod.d.ts +1 -0
  357. package/script/generated-sdk/auth/mod.d.ts.map +1 -1
  358. package/script/generated-sdk/auth/owned_api.d.ts +3 -0
  359. package/script/generated-sdk/auth/owned_api.d.ts.map +1 -0
  360. package/script/generated-sdk/auth/owned_api.js +597 -0
  361. package/script/generated-sdk/auth/schemas.d.ts +9959 -5160
  362. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  363. package/script/generated-sdk/auth/schemas.js +139 -140
  364. package/script/generated-sdk/auth/types.d.ts +2418 -1557
  365. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  366. package/script/generated-sdk/auth/types.js +1 -1
  367. package/script/generated-sdk/health/api.d.ts +24 -9
  368. package/script/generated-sdk/health/api.d.ts.map +1 -1
  369. package/script/generated-sdk/health/api.js +13 -21
  370. package/script/generated-sdk/health/client.d.ts +2 -1
  371. package/script/generated-sdk/health/client.d.ts.map +1 -1
  372. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  373. package/script/generated-sdk/health/contract.js +2 -0
  374. package/script/generated-sdk/health/owned_api.d.ts +3 -0
  375. package/script/generated-sdk/health/owned_api.d.ts.map +1 -0
  376. package/script/generated-sdk/health/owned_api.js +19 -0
  377. package/script/generated-sdk/health/types.d.ts +2 -0
  378. package/script/generated-sdk/health/types.d.ts.map +1 -1
  379. package/script/generated-sdk/jobs/api.d.ts +33 -9
  380. package/script/generated-sdk/jobs/api.d.ts.map +1 -1
  381. package/script/generated-sdk/jobs/api.js +23 -88
  382. package/script/generated-sdk/jobs/client.d.ts +9 -2
  383. package/script/generated-sdk/jobs/client.d.ts.map +1 -1
  384. package/script/generated-sdk/jobs/contract.d.ts +1 -1
  385. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  386. package/script/generated-sdk/jobs/contract.js +4 -2
  387. package/script/generated-sdk/jobs/owned_api.d.ts +3 -0
  388. package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -0
  389. package/script/generated-sdk/jobs/owned_api.js +154 -0
  390. package/script/generated-sdk/jobs/schemas.d.ts +336 -123
  391. package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
  392. package/script/generated-sdk/jobs/schemas.js +18 -16
  393. package/script/generated-sdk/jobs/types.d.ts +144 -34
  394. package/script/generated-sdk/jobs/types.d.ts.map +1 -1
  395. package/script/generated-sdk/jobs/types.js +38 -2
  396. package/script/generated-sdk/state/api.d.ts +27 -9
  397. package/script/generated-sdk/state/api.d.ts.map +1 -1
  398. package/script/generated-sdk/state/api.js +17 -72
  399. package/script/generated-sdk/state/client.d.ts +4 -2
  400. package/script/generated-sdk/state/client.d.ts.map +1 -1
  401. package/script/generated-sdk/state/contract.d.ts +1 -1
  402. package/script/generated-sdk/state/contract.d.ts.map +1 -1
  403. package/script/generated-sdk/state/contract.js +4 -2
  404. package/script/generated-sdk/state/owned_api.d.ts +3 -0
  405. package/script/generated-sdk/state/owned_api.d.ts.map +1 -0
  406. package/script/generated-sdk/state/owned_api.js +69 -0
  407. package/script/generated-sdk/state/schemas.d.ts +264 -284
  408. package/script/generated-sdk/state/schemas.d.ts.map +1 -1
  409. package/script/generated-sdk/state/schemas.js +6 -6
  410. package/script/generated-sdk/state/types.d.ts +24 -23
  411. package/script/generated-sdk/state/types.d.ts.map +1 -1
  412. package/script/generated-sdk/state/types.js +1 -1
  413. package/script/generated-sdk/trellis-core/api.d.ts +27 -9
  414. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  415. package/script/generated-sdk/trellis-core/api.js +17 -40
  416. package/script/generated-sdk/trellis-core/client.d.ts +5 -2
  417. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  418. package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
  419. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  420. package/script/generated-sdk/trellis-core/contract.js +4 -2
  421. package/script/generated-sdk/trellis-core/owned_api.d.ts +3 -0
  422. package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -0
  423. package/script/generated-sdk/trellis-core/owned_api.js +45 -0
  424. package/script/generated-sdk/trellis-core/schemas.d.ts +259 -11
  425. package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  426. package/script/generated-sdk/trellis-core/schemas.js +6 -4
  427. package/script/generated-sdk/trellis-core/types.d.ts +56 -1
  428. package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
  429. package/script/generated-sdk/trellis-core/types.js +1 -1
  430. package/script/helpers.d.ts.map +1 -1
  431. package/script/index.d.ts +4 -3
  432. package/script/index.d.ts.map +1 -1
  433. package/script/index.js +5 -2
  434. package/script/jobs.d.ts +10 -1
  435. package/script/jobs.d.ts.map +1 -1
  436. package/script/jobs.js +17 -2
  437. package/script/kv.d.ts.map +1 -1
  438. package/script/kv.js +10 -4
  439. package/script/models/auth/rpc/Logout.d.ts +4 -4
  440. package/script/models/auth/rpc/Logout.d.ts.map +1 -1
  441. package/script/models/auth/rpc/Logout.js +3 -3
  442. package/script/models/trellis/Page.d.ts +2 -0
  443. package/script/models/trellis/Page.d.ts.map +1 -0
  444. package/script/models/trellis/Page.js +6 -0
  445. package/script/models/trellis/State.d.ts +1 -0
  446. package/script/models/trellis/State.d.ts.map +1 -1
  447. package/script/models/trellis/State.js +1 -0
  448. package/script/models/trellis/rpc/StateList.d.ts +9 -12
  449. package/script/models/trellis/rpc/StateList.d.ts.map +1 -1
  450. package/script/models/trellis/rpc/StateList.js +16 -18
  451. package/script/npm/src/auth/browser/login.d.ts.map +1 -1
  452. package/script/npm/src/auth/browser/login.js +46 -3
  453. package/script/npm/src/auth/browser/portal.d.ts.map +1 -1
  454. package/script/npm/src/auth/browser/portal.js +5 -1
  455. package/script/npm/src/auth/browser/session.d.ts +18 -7
  456. package/script/npm/src/auth/browser/session.d.ts.map +1 -1
  457. package/script/npm/src/auth/browser/session.js +47 -11
  458. package/script/npm/src/auth/browser/storage.d.ts +6 -1
  459. package/script/npm/src/auth/browser/storage.d.ts.map +1 -1
  460. package/script/npm/src/auth/browser/storage.js +15 -3
  461. package/script/npm/src/auth/browser.d.ts +2 -2
  462. package/script/npm/src/auth/browser.d.ts.map +1 -1
  463. package/script/npm/src/auth/browser.js +2 -1
  464. package/script/npm/src/auth/device_activation.d.ts +36 -33
  465. package/script/npm/src/auth/device_activation.d.ts.map +1 -1
  466. package/script/npm/src/auth/device_activation.js +25 -21
  467. package/script/npm/src/auth/mod.d.ts +4 -4
  468. package/script/npm/src/auth/mod.d.ts.map +1 -1
  469. package/script/npm/src/auth/mod.js +132 -137
  470. package/script/npm/src/auth/proof.d.ts +3 -1
  471. package/script/npm/src/auth/proof.d.ts.map +1 -1
  472. package/script/npm/src/auth/proof.js +21 -15
  473. package/script/npm/src/auth/protocol.d.ts +2457 -941
  474. package/script/npm/src/auth/protocol.d.ts.map +1 -1
  475. package/script/npm/src/auth/protocol.js +749 -377
  476. package/script/npm/src/auth/schemas.d.ts +25 -4
  477. package/script/npm/src/auth/schemas.d.ts.map +1 -1
  478. package/script/npm/src/auth/schemas.js +16 -5
  479. package/script/npm/src/auth/session_auth.d.ts +1 -1
  480. package/script/npm/src/auth/session_auth.d.ts.map +1 -1
  481. package/script/npm/src/auth/session_auth.js +7 -1
  482. package/script/npm/src/client_connect.d.ts +2 -0
  483. package/script/npm/src/client_connect.d.ts.map +1 -1
  484. package/script/npm/src/client_connect.js +76 -15
  485. package/script/npm/src/contract.d.ts +3 -0
  486. package/script/npm/src/contract.d.ts.map +1 -1
  487. package/script/npm/src/contract_support/mod.d.ts +422 -43
  488. package/script/npm/src/contract_support/mod.d.ts.map +1 -1
  489. package/script/npm/src/contract_support/mod.js +757 -51
  490. package/script/npm/src/contract_support/protocol.d.ts +20 -5
  491. package/script/npm/src/contract_support/protocol.d.ts.map +1 -1
  492. package/script/npm/src/contract_support/protocol.js +20 -11
  493. package/script/npm/src/contract_support/runtime.d.ts +11 -0
  494. package/script/npm/src/contract_support/runtime.d.ts.map +1 -1
  495. package/script/npm/src/contract_support/schema_pointers.d.ts.map +1 -1
  496. package/script/npm/src/contract_support/schema_pointers.js +32 -14
  497. package/script/npm/src/device/deno.d.ts.map +1 -1
  498. package/script/npm/src/device/deno.js +6 -0
  499. package/script/npm/src/device.d.ts +2 -0
  500. package/script/npm/src/device.d.ts.map +1 -1
  501. package/script/npm/src/device.js +3 -0
  502. package/script/npm/src/errors/AuthError.d.ts +2 -1
  503. package/script/npm/src/errors/AuthError.d.ts.map +1 -1
  504. package/script/npm/src/errors/AuthError.js +8 -3
  505. package/script/npm/src/errors/index.d.ts +4 -4
  506. package/script/npm/src/errors/index.d.ts.map +1 -1
  507. package/script/npm/src/errors/index.js +1 -0
  508. package/script/npm/src/generate.js +39 -59
  509. package/script/npm/src/helpers.d.ts.map +1 -1
  510. package/script/npm/src/index.d.ts +4 -3
  511. package/script/npm/src/index.d.ts.map +1 -1
  512. package/script/npm/src/index.js +5 -2
  513. package/script/npm/src/jobs.d.ts +10 -1
  514. package/script/npm/src/jobs.d.ts.map +1 -1
  515. package/script/npm/src/jobs.js +17 -2
  516. package/script/npm/src/kv.d.ts.map +1 -1
  517. package/script/npm/src/kv.js +10 -4
  518. package/script/npm/src/models/auth/rpc/Logout.d.ts +4 -4
  519. package/script/npm/src/models/auth/rpc/Logout.d.ts.map +1 -1
  520. package/script/npm/src/models/auth/rpc/Logout.js +3 -3
  521. package/script/npm/src/models/trellis/Page.d.ts +2 -0
  522. package/script/npm/src/models/trellis/Page.d.ts.map +1 -0
  523. package/script/npm/src/models/trellis/Page.js +6 -0
  524. package/script/npm/src/models/trellis/State.d.ts +1 -0
  525. package/script/npm/src/models/trellis/State.d.ts.map +1 -1
  526. package/script/npm/src/models/trellis/State.js +1 -0
  527. package/script/npm/src/models/trellis/rpc/StateList.d.ts +9 -12
  528. package/script/npm/src/models/trellis/rpc/StateList.d.ts.map +1 -1
  529. package/script/npm/src/models/trellis/rpc/StateList.js +16 -18
  530. package/script/npm/src/operations.d.ts +16 -7
  531. package/script/npm/src/operations.d.ts.map +1 -1
  532. package/script/npm/src/operations.js +84 -19
  533. package/script/npm/src/runtime_transport.d.ts +2 -0
  534. package/script/npm/src/runtime_transport.d.ts.map +1 -1
  535. package/script/npm/src/runtime_transport.js +2 -1
  536. package/script/npm/src/server/internal_jobs/active-job.d.ts +2 -1
  537. package/script/npm/src/server/internal_jobs/active-job.d.ts.map +1 -1
  538. package/script/npm/src/server/internal_jobs/active-job.js +3 -0
  539. package/script/npm/src/server/internal_jobs/job-manager.d.ts +4 -1
  540. package/script/npm/src/server/internal_jobs/job-manager.d.ts.map +1 -1
  541. package/script/npm/src/server/internal_jobs/job-manager.js +61 -1
  542. package/script/npm/src/server/internal_jobs/projection.js +1 -0
  543. package/script/npm/src/server/internal_jobs/runtime-worker.d.ts +13 -1
  544. package/script/npm/src/server/internal_jobs/runtime-worker.d.ts.map +1 -1
  545. package/script/npm/src/server/internal_jobs/runtime-worker.js +74 -13
  546. package/script/npm/src/server/internal_jobs/types.d.ts +19 -0
  547. package/script/npm/src/server/internal_jobs/types.d.ts.map +1 -1
  548. package/script/npm/src/server/internal_jobs/types.js +11 -1
  549. package/script/npm/src/server/runtime.d.ts +1 -0
  550. package/script/npm/src/server/runtime.d.ts.map +1 -1
  551. package/script/npm/src/server/service.d.ts +10 -1
  552. package/script/npm/src/server/service.d.ts.map +1 -1
  553. package/script/npm/src/server/service.js +208 -62
  554. package/script/npm/src/server/transfer.d.ts.map +1 -1
  555. package/script/npm/src/server/transfer.js +4 -0
  556. package/script/npm/src/server.d.ts.map +1 -1
  557. package/script/npm/src/server.js +336 -33
  558. package/script/npm/src/store.d.ts +8 -1
  559. package/script/npm/src/store.d.ts.map +1 -1
  560. package/script/npm/src/store.js +46 -8
  561. package/script/npm/src/transfer.d.ts +3 -0
  562. package/script/npm/src/transfer.d.ts.map +1 -1
  563. package/script/npm/src/transfer.js +19 -29
  564. package/script/npm/src/trellis.d.ts +85 -22
  565. package/script/npm/src/trellis.d.ts.map +1 -1
  566. package/script/npm/src/trellis.js +525 -61
  567. package/script/operations.d.ts +16 -7
  568. package/script/operations.d.ts.map +1 -1
  569. package/script/operations.js +84 -19
  570. package/script/runtime_transport.d.ts +2 -0
  571. package/script/runtime_transport.d.ts.map +1 -1
  572. package/script/runtime_transport.js +2 -1
  573. package/script/store.d.ts +8 -1
  574. package/script/store.d.ts.map +1 -1
  575. package/script/store.js +46 -8
  576. package/script/transfer.d.ts +3 -0
  577. package/script/transfer.d.ts.map +1 -1
  578. package/script/transfer.js +19 -29
  579. package/script/trellis.d.ts +85 -22
  580. package/script/trellis.d.ts.map +1 -1
  581. package/script/trellis.js +525 -61
  582. package/src/_dnt.polyfills.ts +274 -0
  583. package/src/_dnt.shims.ts +64 -0
  584. package/src/auth/browser/login.ts +295 -0
  585. package/src/auth/browser/portal.ts +75 -0
  586. package/src/auth/browser/session.ts +197 -0
  587. package/src/auth/browser/storage.ts +105 -0
  588. package/src/auth/browser.ts +82 -0
  589. package/src/auth/device_activation.ts +715 -0
  590. package/src/auth/keys.ts +116 -0
  591. package/src/auth/mod.ts +298 -0
  592. package/src/auth/proof.ts +111 -0
  593. package/src/auth/protocol.ts +1629 -0
  594. package/src/auth/schemas.ts +145 -0
  595. package/src/auth/session_auth.ts +167 -0
  596. package/src/auth/time.ts +15 -0
  597. package/src/auth/trellis_id.ts +9 -0
  598. package/src/auth/types.ts +4 -0
  599. package/src/auth/utils.ts +87 -0
  600. package/src/auth.ts +2 -0
  601. package/src/browser.ts +8 -0
  602. package/src/client.ts +164 -0
  603. package/src/client_connect.ts +1328 -0
  604. package/src/codec.ts +107 -0
  605. package/src/connection.ts +466 -0
  606. package/src/contract.ts +84 -0
  607. package/src/contract_support/canonical.ts +217 -0
  608. package/src/contract_support/mod.ts +5079 -0
  609. package/src/contract_support/protocol.ts +213 -0
  610. package/src/contract_support/runtime.ts +129 -0
  611. package/src/contract_support/schema_pointers.ts +161 -0
  612. package/src/contracts.ts +9 -0
  613. package/src/device/deno.ts +941 -0
  614. package/src/device.ts +989 -0
  615. package/src/env.ts +1 -0
  616. package/src/errors/AuthError.ts +82 -0
  617. package/src/errors/KVError.ts +47 -0
  618. package/src/errors/RemoteError.ts +111 -0
  619. package/src/errors/StoreError.ts +43 -0
  620. package/src/errors/TransferError.ts +43 -0
  621. package/src/errors/TransportError.ts +48 -0
  622. package/src/errors/TrellisError.ts +20 -0
  623. package/src/errors/ValidationError.ts +80 -0
  624. package/src/errors/index.ts +195 -0
  625. package/src/generate.ts +329 -0
  626. package/src/globals.ts +26 -0
  627. package/src/health.ts +28 -0
  628. package/src/helpers.ts +63 -0
  629. package/src/host/mod.ts +9 -0
  630. package/src/host/node.ts +9 -0
  631. package/src/index.ts +233 -0
  632. package/src/jobs.ts +344 -0
  633. package/src/kv.ts +564 -0
  634. package/src/models/auth/rpc/Logout.ts +15 -0
  635. package/src/models/trellis/Page.ts +6 -0
  636. package/src/models/trellis/State.ts +55 -0
  637. package/src/models/trellis/TrellisError.ts +21 -0
  638. package/src/models/trellis/rpc/StateDelete.ts +13 -0
  639. package/src/models/trellis/rpc/StateGet.ts +25 -0
  640. package/src/models/trellis/rpc/StateList.ts +26 -0
  641. package/src/models/trellis/rpc/StatePut.ts +42 -0
  642. package/src/operations.ts +1508 -0
  643. package/src/runtime_transport.ts +132 -0
  644. package/src/sdk/auth.ts +2 -0
  645. package/src/sdk/core.ts +2 -0
  646. package/src/sdk/health.ts +2 -0
  647. package/src/sdk/jobs.ts +2 -0
  648. package/src/sdk/state.ts +2 -0
  649. package/src/server/health.ts +379 -0
  650. package/src/server/health_rpc.ts +51 -0
  651. package/src/server/health_schemas.ts +61 -0
  652. package/src/server/internal_jobs/active-job.ts +115 -0
  653. package/src/server/internal_jobs/bindings.ts +26 -0
  654. package/src/server/internal_jobs/cancellation-registry.ts +71 -0
  655. package/src/server/internal_jobs/heartbeat.ts +120 -0
  656. package/src/server/internal_jobs/job-manager.ts +456 -0
  657. package/src/server/internal_jobs/projection.ts +48 -0
  658. package/src/server/internal_jobs/runtime-worker.ts +741 -0
  659. package/src/server/internal_jobs/types.ts +124 -0
  660. package/src/server/runtime.ts +27 -0
  661. package/src/server/service.ts +2377 -0
  662. package/src/server/subscription.ts +143 -0
  663. package/src/server/transfer.ts +962 -0
  664. package/src/server.ts +1725 -0
  665. package/src/server_logger.ts +10 -0
  666. package/src/service/deno.ts +18 -0
  667. package/src/service/mod.ts +68 -0
  668. package/src/service/node.ts +18 -0
  669. package/src/store.ts +658 -0
  670. package/src/tasks.ts +34 -0
  671. package/src/telemetry/carrier.ts +35 -0
  672. package/src/telemetry/core.ts +31 -0
  673. package/src/telemetry/env.ts +23 -0
  674. package/src/telemetry/mod.ts +26 -0
  675. package/src/telemetry/nats.ts +15 -0
  676. package/src/telemetry/result.ts +20 -0
  677. package/src/telemetry/trace.ts +39 -0
  678. package/src/telemetry/trellis.ts +1 -0
  679. package/src/tracing.ts +28 -0
  680. package/src/transfer.ts +602 -0
  681. package/src/trellis.ts +3650 -0
  682. package/esm/models/trellis/Paginate.d.ts +0 -7
  683. package/esm/models/trellis/Paginate.d.ts.map +0 -1
  684. package/esm/models/trellis/Paginate.js +0 -5
  685. package/esm/npm/src/models/trellis/Paginate.d.ts +0 -7
  686. package/esm/npm/src/models/trellis/Paginate.d.ts.map +0 -1
  687. package/esm/npm/src/models/trellis/Paginate.js +0 -5
  688. package/script/models/trellis/Paginate.d.ts +0 -7
  689. package/script/models/trellis/Paginate.d.ts.map +0 -1
  690. package/script/models/trellis/Paginate.js +0 -11
  691. package/script/npm/src/models/trellis/Paginate.d.ts +0 -7
  692. package/script/npm/src/models/trellis/Paginate.d.ts.map +0 -1
  693. package/script/npm/src/models/trellis/Paginate.js +0 -11
@@ -1,145 +1,144 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthGetDeviceConnectInfoResponseSchema = exports.AuthGetDeviceConnectInfoRequestSchema = exports.AuthEnableServiceInstanceResponseSchema = exports.AuthEnableServiceInstanceRequestSchema = exports.AuthEnableServiceDeploymentResponseSchema = exports.AuthEnableServiceDeploymentRequestSchema = exports.AuthEnableDeviceInstanceResponseSchema = exports.AuthEnableDeviceInstanceRequestSchema = exports.AuthEnableDeviceDeploymentResponseSchema = exports.AuthEnableDeviceDeploymentRequestSchema = exports.AuthDisconnectEventSchema = exports.AuthDisableServiceInstanceResponseSchema = exports.AuthDisableServiceInstanceRequestSchema = exports.AuthDisableServiceDeploymentResponseSchema = exports.AuthDisableServiceDeploymentRequestSchema = exports.AuthDisablePortalResponseSchema = exports.AuthDisablePortalRequestSchema = exports.AuthDisablePortalProfileResponseSchema = exports.AuthDisablePortalProfileRequestSchema = exports.AuthDisableInstanceGrantPolicyResponseSchema = exports.AuthDisableInstanceGrantPolicyRequestSchema = exports.AuthDisableDeviceInstanceResponseSchema = exports.AuthDisableDeviceInstanceRequestSchema = exports.AuthDisableDeviceDeploymentResponseSchema = exports.AuthDisableDeviceDeploymentRequestSchema = exports.AuthDeviceActivationReviewRequestedEventSchema = exports.AuthDeviceActivationRequestedEventSchema = exports.AuthDeviceActivationApprovedEventSchema = exports.AuthDeviceActivatedEventSchema = exports.AuthDecideDeviceActivationReviewResponseSchema = exports.AuthDecideDeviceActivationReviewRequestSchema = exports.AuthCreateServiceDeploymentResponseSchema = exports.AuthCreateServiceDeploymentRequestSchema = exports.AuthCreatePortalResponseSchema = exports.AuthCreatePortalRequestSchema = exports.AuthCreateDeviceDeploymentResponseSchema = exports.AuthCreateDeviceDeploymentRequestSchema = exports.AuthConnectionKickedEventSchema = exports.AuthConnectEventSchema = exports.AuthClearLoginPortalSelectionResponseSchema = exports.AuthClearLoginPortalSelectionRequestSchema = exports.AuthClearDevicePortalSelectionResponseSchema = exports.AuthClearDevicePortalSelectionRequestSchema = exports.AuthApplyServiceDeploymentContractResponseSchema = exports.AuthApplyServiceDeploymentContractRequestSchema = exports.AuthApplyDeviceDeploymentContractResponseSchema = exports.AuthApplyDeviceDeploymentContractRequestSchema = exports.AuthActivateDeviceResponseSchema = exports.AuthActivateDeviceRequestSchema = exports.AuthActivateDeviceProgressSchema = void 0;
4
- exports.AuthProvisionServiceInstanceResponseSchema = exports.AuthProvisionServiceInstanceRequestSchema = exports.AuthProvisionDeviceInstanceResponseSchema = exports.AuthProvisionDeviceInstanceRequestSchema = exports.AuthMeResponseSchema = exports.AuthMeRequestSchema = exports.AuthLogoutResponseSchema = exports.AuthLogoutRequestSchema = exports.AuthListUsersResponseSchema = exports.AuthListUsersRequestSchema = exports.AuthListUserGrantsResponseSchema = exports.AuthListUserGrantsRequestSchema = exports.AuthListSessionsResponseSchema = exports.AuthListSessionsRequestSchema = exports.AuthListServiceInstancesResponseSchema = exports.AuthListServiceInstancesRequestSchema = exports.AuthListServiceDeploymentsResponseSchema = exports.AuthListServiceDeploymentsRequestSchema = exports.AuthListPortalsResponseSchema = exports.AuthListPortalsRequestSchema = exports.AuthListPortalProfilesResponseSchema = exports.AuthListPortalProfilesRequestSchema = exports.AuthListLoginPortalSelectionsResponseSchema = exports.AuthListLoginPortalSelectionsRequestSchema = exports.AuthListInstanceGrantPoliciesResponseSchema = exports.AuthListInstanceGrantPoliciesRequestSchema = exports.AuthListInstalledContractsResponseSchema = exports.AuthListInstalledContractsRequestSchema = exports.AuthListDevicePortalSelectionsResponseSchema = exports.AuthListDevicePortalSelectionsRequestSchema = exports.AuthListDeviceInstancesResponseSchema = exports.AuthListDeviceInstancesRequestSchema = exports.AuthListDeviceDeploymentsResponseSchema = exports.AuthListDeviceDeploymentsRequestSchema = exports.AuthListDeviceActivationsResponseSchema = exports.AuthListDeviceActivationsRequestSchema = exports.AuthListDeviceActivationReviewsResponseSchema = exports.AuthListDeviceActivationReviewsRequestSchema = exports.AuthListConnectionsResponseSchema = exports.AuthListConnectionsRequestSchema = exports.AuthListApprovalsResponseSchema = exports.AuthListApprovalsRequestSchema = exports.AuthKickConnectionResponseSchema = exports.AuthKickConnectionRequestSchema = exports.AuthGetLoginPortalDefaultResponseSchema = exports.AuthGetLoginPortalDefaultRequestSchema = exports.AuthGetInstalledContractResponseSchema = exports.AuthGetInstalledContractRequestSchema = exports.AuthGetDevicePortalDefaultResponseSchema = exports.AuthGetDevicePortalDefaultRequestSchema = void 0;
5
- exports.HealthResponseSchema = exports.HealthRequestSchema = exports.AuthValidateRequestResponseSchema = exports.AuthValidateRequestRequestSchema = exports.AuthUpsertInstanceGrantPolicyResponseSchema = exports.AuthUpsertInstanceGrantPolicyRequestSchema = exports.AuthUpdateUserResponseSchema = exports.AuthUpdateUserRequestSchema = exports.AuthUnapplyServiceDeploymentContractResponseSchema = exports.AuthUnapplyServiceDeploymentContractRequestSchema = exports.AuthUnapplyDeviceDeploymentContractResponseSchema = exports.AuthUnapplyDeviceDeploymentContractRequestSchema = exports.AuthSetPortalProfileResponseSchema = exports.AuthSetPortalProfileRequestSchema = exports.AuthSetLoginPortalSelectionResponseSchema = exports.AuthSetLoginPortalSelectionRequestSchema = exports.AuthSetLoginPortalDefaultResponseSchema = exports.AuthSetLoginPortalDefaultRequestSchema = exports.AuthSetDevicePortalSelectionResponseSchema = exports.AuthSetDevicePortalSelectionRequestSchema = exports.AuthSetDevicePortalDefaultResponseSchema = exports.AuthSetDevicePortalDefaultRequestSchema = exports.AuthSessionRevokedEventSchema = exports.AuthRevokeUserGrantResponseSchema = exports.AuthRevokeUserGrantRequestSchema = exports.AuthRevokeSessionResponseSchema = exports.AuthRevokeSessionRequestSchema = exports.AuthRevokeDeviceActivationResponseSchema = exports.AuthRevokeDeviceActivationRequestSchema = exports.AuthRevokeApprovalResponseSchema = exports.AuthRevokeApprovalRequestSchema = exports.AuthRemoveServiceInstanceResponseSchema = exports.AuthRemoveServiceInstanceRequestSchema = exports.AuthRemoveServiceDeploymentResponseSchema = exports.AuthRemoveServiceDeploymentRequestSchema = exports.AuthRemoveDeviceInstanceResponseSchema = exports.AuthRemoveDeviceInstanceRequestSchema = exports.AuthRemoveDeviceDeploymentResponseSchema = exports.AuthRemoveDeviceDeploymentRequestSchema = void 0;
3
+ exports.AuthDevicesProvisionRequestSchema = exports.AuthDevicesListResponseSchema = exports.AuthDevicesListRequestSchema = exports.AuthDevicesEnableResponseSchema = exports.AuthDevicesEnableRequestSchema = exports.AuthDevicesDisableResponseSchema = exports.AuthDevicesDisableRequestSchema = exports.AuthDevicesConnectInfoGetResponseSchema = exports.AuthDevicesConnectInfoGetRequestSchema = exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = exports.AuthDeviceUserAuthoritiesRevokeRequestSchema = exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsListRequestSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideRequestSchema = exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = exports.AuthDeviceUserAuthoritiesResolvedEventSchema = exports.AuthDeviceUserAuthoritiesRequestedEventSchema = exports.AuthDeviceUserAuthoritiesListResponseSchema = exports.AuthDeviceUserAuthoritiesListRequestSchema = exports.AuthDeviceUserAuthoritiesApprovedEventSchema = exports.AuthDeploymentsRemoveResponseSchema = exports.AuthDeploymentsRemoveRequestSchema = exports.AuthDeploymentsListResponseSchema = exports.AuthDeploymentsListRequestSchema = exports.AuthDeploymentsEnableResponseSchema = exports.AuthDeploymentsEnableRequestSchema = exports.AuthDeploymentsDisableResponseSchema = exports.AuthDeploymentsDisableRequestSchema = exports.AuthDeploymentsCreateResponseSchema = exports.AuthDeploymentsCreateRequestSchema = exports.AuthConnectionsOpenedEventSchema = exports.AuthConnectionsListResponseSchema = exports.AuthConnectionsListRequestSchema = exports.AuthConnectionsKickedEventSchema = exports.AuthConnectionsKickResponseSchema = exports.AuthConnectionsKickRequestSchema = exports.AuthConnectionsClosedEventSchema = exports.AuthCatalogIssuesResolveResponseSchema = exports.AuthCatalogIssuesResolveRequestSchema = exports.AuthCapabilityGroupsPutResponseSchema = exports.AuthCapabilityGroupsPutRequestSchema = exports.AuthCapabilityGroupsListResponseSchema = exports.AuthCapabilityGroupsListRequestSchema = exports.AuthCapabilityGroupsGetResponseSchema = exports.AuthCapabilityGroupsGetRequestSchema = exports.AuthCapabilityGroupsDeleteResponseSchema = exports.AuthCapabilityGroupsDeleteRequestSchema = exports.AuthCapabilitiesListResponseSchema = exports.AuthCapabilitiesListRequestSchema = void 0;
4
+ exports.AuthResolveDeviceUserAuthoritiesResponseSchema = exports.AuthResolveDeviceUserAuthoritiesRequestSchema = exports.AuthResolveDeviceUserAuthoritiesProgressSchema = exports.AuthRequestsValidateResponseSchema = exports.AuthRequestsValidateRequestSchema = exports.AuthPortalsRoutesRemoveResponseSchema = exports.AuthPortalsRoutesRemoveRequestSchema = exports.AuthPortalsRoutesPutResponseSchema = exports.AuthPortalsRoutesPutRequestSchema = exports.AuthPortalsRemoveResponseSchema = exports.AuthPortalsRemoveRequestSchema = exports.AuthPortalsPutResponseSchema = exports.AuthPortalsPutRequestSchema = exports.AuthPortalsLoginSettingsUpdateRequestSchema = exports.AuthPortalsLoginSettingsResponseSchema = exports.AuthPortalsLoginSettingsGetRequestSchema = exports.AuthPortalsListResponseSchema = exports.AuthPortalsListRequestSchema = exports.AuthPortalsGetResponseSchema = exports.AuthPortalsGetRequestSchema = exports.AuthIdentityEnvelopesRevokeResponseSchema = exports.AuthIdentityEnvelopesRevokeRequestSchema = exports.AuthIdentitiesListResponseSchema = exports.AuthIdentitiesListRequestSchema = exports.AuthIdentitiesGrantsListResponseSchema = exports.AuthIdentitiesGrantsListRequestSchema = exports.AuthEnvelopesShrinkResponseSchema = exports.AuthEnvelopesShrinkRequestSchema = exports.AuthEnvelopesListResponseSchema = exports.AuthEnvelopesListRequestSchema = exports.AuthEnvelopesGrantOverridesResponseSchema = exports.AuthEnvelopesGrantOverridesRemoveRequestSchema = exports.AuthEnvelopesGrantOverridesPutRequestSchema = exports.AuthEnvelopesGrantOverridesListResponseSchema = exports.AuthEnvelopesGrantOverridesListRequestSchema = exports.AuthEnvelopesGetResponseSchema = exports.AuthEnvelopesGetRequestSchema = exports.AuthEnvelopesExpandResponseSchema = exports.AuthEnvelopesExpandRequestSchema = exports.AuthEnvelopesChangesPreviewResponseSchema = exports.AuthEnvelopesChangesPreviewRequestSchema = exports.AuthEnvelopesApproveRequestResponseSchema = exports.AuthEnvelopesApproveRequestRequestSchema = exports.AuthEnvelopeExpansionsRejectResponseSchema = exports.AuthEnvelopeExpansionsRejectRequestSchema = exports.AuthEnvelopeExpansionsListResponseSchema = exports.AuthEnvelopeExpansionsListRequestSchema = exports.AuthDevicesRemoveResponseSchema = exports.AuthDevicesRemoveRequestSchema = exports.AuthDevicesProvisionResponseSchema = void 0;
5
+ exports.HealthResponseSchema = exports.HealthRequestSchema = exports.AuthUsersUpdateResponseSchema = exports.AuthUsersUpdateRequestSchema = exports.AuthUsersPasswordResetCreateRequestSchema = exports.AuthUsersPasswordChangeResponseSchema = exports.AuthUsersPasswordChangeRequestSchema = exports.AuthUsersListResponseSchema = exports.AuthUsersListRequestSchema = exports.AuthUsersIdentityLinkCreateRequestSchema = exports.AuthUsersGetResponseSchema = exports.AuthUsersGetRequestSchema = exports.AuthUsersCreateResponseSchema = exports.AuthUsersCreateRequestSchema = exports.AuthUsersAccountFlowCreateResponseSchema = exports.AuthUserIdentitiesUnlinkResponseSchema = exports.AuthUserIdentitiesUnlinkRequestSchema = exports.AuthUserIdentitiesListResponseSchema = exports.AuthUserIdentitiesListRequestSchema = exports.AuthSessionsRevokedEventSchema = exports.AuthSessionsRevokeResponseSchema = exports.AuthSessionsRevokeRequestSchema = exports.AuthSessionsMeResponseSchema = exports.AuthSessionsMeRequestSchema = exports.AuthSessionsLogoutResponseSchema = exports.AuthSessionsLogoutRequestSchema = exports.AuthSessionsListResponseSchema = exports.AuthSessionsListRequestSchema = exports.AuthServiceInstancesRemoveResponseSchema = exports.AuthServiceInstancesRemoveRequestSchema = exports.AuthServiceInstancesProvisionResponseSchema = exports.AuthServiceInstancesProvisionRequestSchema = exports.AuthServiceInstancesListResponseSchema = exports.AuthServiceInstancesListRequestSchema = exports.AuthServiceInstancesEnableResponseSchema = exports.AuthServiceInstancesEnableRequestSchema = exports.AuthServiceInstancesDisableResponseSchema = exports.AuthServiceInstancesDisableRequestSchema = void 0;
6
6
  // Generated from ./generated/contracts/manifests/trellis.auth@v1.json
7
- exports.AuthActivateDeviceProgressSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "instanceId", "deploymentId", "requestedAt"], "type": "object" };
8
- exports.AuthActivateDeviceRequestSchema = { "properties": { "flowId": { "minLength": 1, "type": "string" } }, "required": ["flowId"], "type": "object" };
9
- exports.AuthActivateDeviceResponseSchema = { "anyOf": [{ "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "deploymentId", "activatedAt"], "type": "object" }, { "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] };
10
- exports.AuthApplyDeviceDeploymentContractRequestSchema = { "properties": { "contract": { "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "expectedDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "replaceExisting": { "type": "boolean" } }, "required": ["deploymentId", "contract", "expectedDigest"], "type": "object" };
11
- exports.AuthApplyDeviceDeploymentContractResponseSchema = { "properties": { "contract": { "properties": { "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "deployment": { "properties": { "appliedContracts": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment", "contract"], "type": "object" };
12
- exports.AuthApplyServiceDeploymentContractRequestSchema = { "properties": { "contract": { "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "expectedDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "replaceExisting": { "type": "boolean" } }, "required": ["deploymentId", "contract", "expectedDigest"], "type": "object" };
13
- exports.AuthApplyServiceDeploymentContractResponseSchema = { "properties": { "contract": { "properties": { "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "deployment": { "properties": { "appliedContracts": { "items": { "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindingsByDigest": { "patternProperties": { "^[A-Za-z0-9_-]+$": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment", "contract"], "type": "object" };
14
- exports.AuthClearDevicePortalSelectionRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
15
- exports.AuthClearDevicePortalSelectionResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
16
- exports.AuthClearLoginPortalSelectionRequestSchema = { "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" };
17
- exports.AuthClearLoginPortalSelectionResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
18
- exports.AuthConnectEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] };
19
- exports.AuthConnectionKickedEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "kickedBy": { "type": "string" }, "origin": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "userNkey", "kickedBy"], "type": "object" }] };
20
- exports.AuthCreateDeviceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId"], "type": "object" };
21
- exports.AuthCreateDeviceDeploymentResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
22
- exports.AuthCreatePortalRequestSchema = { "properties": { "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl"], "type": "object" };
23
- exports.AuthCreatePortalResponseSchema = { "properties": { "portal": { "properties": { "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "disabled"], "type": "object" } }, "required": ["portal"], "type": "object" };
24
- exports.AuthCreateServiceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces"], "type": "object" };
25
- exports.AuthCreateServiceDeploymentResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindingsByDigest": { "patternProperties": { "^[A-Za-z0-9_-]+$": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
26
- exports.AuthDecideDeviceActivationReviewRequestSchema = { "properties": { "decision": { "anyOf": [{ "const": "approve", "type": "string" }, { "const": "reject", "type": "string" }] }, "reason": { "minLength": 1, "type": "string" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "decision"], "type": "object" };
27
- exports.AuthDecideDeviceActivationReviewResponseSchema = { "properties": { "activation": { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "activatedAt", "revokedAt"], "type": "object" }, "confirmationCode": { "minLength": 1, "type": "string" }, "review": { "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "deploymentId", "state", "requestedAt", "decidedAt"], "type": "object" } }, "required": ["review"], "type": "object" };
28
- exports.AuthDeviceActivatedEventSchema = { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "activatedAt", "activatedBy"], "type": "object" };
29
- exports.AuthDeviceActivationApprovedEventSchema = { "properties": { "approvedAt": { "format": "date-time", "type": "string" }, "approvedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["id"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "approvedAt", "requestedBy", "approvedBy"], "type": "object" };
30
- exports.AuthDeviceActivationRequestedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "requestedBy"], "type": "object" };
31
- exports.AuthDeviceActivationReviewRequestedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "requestedBy"], "type": "object" };
32
- exports.AuthDisableDeviceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
33
- exports.AuthDisableDeviceDeploymentResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
34
- exports.AuthDisableDeviceInstanceRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
35
- exports.AuthDisableDeviceInstanceResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
36
- exports.AuthDisableInstanceGrantPolicyRequestSchema = { "properties": { "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId"], "type": "object" };
37
- exports.AuthDisableInstanceGrantPolicyResponseSchema = { "properties": { "policy": { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "anyOf": [{ "properties": { "createdBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, { "properties": { "entryUrl": { "minLength": 1, "type": "string" }, "kind": { "const": "portal_profile", "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["kind", "portalId", "entryUrl"], "type": "object" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" } }, "required": ["policy"], "type": "object" };
38
- exports.AuthDisablePortalProfileRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
39
- exports.AuthDisablePortalProfileResponseSchema = { "properties": { "profile": { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "entryUrl", "contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt"], "type": "object" } }, "required": ["profile"], "type": "object" };
40
- exports.AuthDisablePortalRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
41
- exports.AuthDisablePortalResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
42
- exports.AuthDisableServiceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
43
- exports.AuthDisableServiceDeploymentResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindingsByDigest": { "patternProperties": { "^[A-Za-z0-9_-]+$": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
44
- exports.AuthDisableServiceInstanceRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
45
- exports.AuthDisableServiceInstanceResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
46
- exports.AuthDisconnectEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] };
47
- exports.AuthEnableDeviceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
48
- exports.AuthEnableDeviceDeploymentResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
49
- exports.AuthEnableDeviceInstanceRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
50
- exports.AuthEnableDeviceInstanceResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
51
- exports.AuthEnableServiceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
52
- exports.AuthEnableServiceDeploymentResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindingsByDigest": { "patternProperties": { "^[A-Za-z0-9_-]+$": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
53
- exports.AuthEnableServiceInstanceRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
54
- exports.AuthEnableServiceInstanceResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
55
- exports.AuthGetDeviceConnectInfoRequestSchema = { "additionalProperties": false, "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "iat": { "type": "number" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "sig": { "minLength": 1, "type": "string" } }, "required": ["publicIdentityKey", "contractDigest", "iat", "sig"], "type": "object" };
56
- exports.AuthGetDeviceConnectInfoResponseSchema = { "properties": { "connectInfo": { "properties": { "auth": { "properties": { "iatSkewSeconds": { "type": "number" }, "mode": { "const": "device_identity", "type": "string" } }, "required": ["mode", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "transport": { "properties": { "sentinel": { "properties": { "jwt": { "type": "string" }, "seed": { "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["sentinel"], "type": "object" }, "transports": { "properties": { "native": { "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["natsServers"], "type": "object" }, "websocket": { "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["natsServers"], "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "contractId", "contractDigest", "transports", "transport", "auth"], "type": "object" }, "status": { "const": "ready", "type": "string" } }, "required": ["status", "connectInfo"], "type": "object" };
57
- exports.AuthGetDevicePortalDefaultRequestSchema = { "properties": {}, "type": "object" };
58
- exports.AuthGetDevicePortalDefaultResponseSchema = { "properties": { "defaultPortal": { "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" };
59
- exports.AuthGetInstalledContractRequestSchema = { "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" };
60
- exports.AuthGetInstalledContractResponseSchema = { "properties": { "contract": { "properties": { "analysis": { "properties": { "events": { "properties": { "events": { "items": { "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["events"], "type": "object" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "nats": { "properties": { "publish": { "items": { "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" }, "subscribe": { "items": { "properties": { "kind": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["kind", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" } }, "required": ["publish", "subscribe"], "type": "object" }, "operations": { "properties": { "control": { "items": { "properties": { "action": { "anyOf": [{ "const": "get", "type": "string" }, { "const": "wait", "type": "string" }, { "const": "watch", "type": "string" }, { "const": "cancel", "type": "string" }] }, "key": { "type": "string" }, "requiredCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "action", "subject", "wildcardSubject", "requiredCapabilities"], "type": "object" }, "type": "array" }, "operations": { "items": { "properties": { "callCapabilities": { "items": { "type": "string" }, "type": "array" }, "cancel": { "type": "boolean" }, "cancelCapabilities": { "items": { "type": "string" }, "type": "array" }, "controlSubject": { "type": "string" }, "key": { "type": "string" }, "readCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "wildcardControlSubject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "controlSubject", "wildcardControlSubject", "callCapabilities", "readCapabilities", "cancelCapabilities", "cancel"], "type": "object" }, "type": "array" } }, "required": ["operations", "control"], "type": "object" }, "resources": { "properties": { "jobs": { "items": { "properties": { "ackWaitMs": { "type": "number" }, "backoffMs": { "items": { "type": "number" }, "type": "array" }, "concurrency": { "type": "number" }, "defaultDeadlineMs": { "type": "number" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "type": "number" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["queueType", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" }, "type": "array" }, "kv": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "history": { "type": "number" }, "maxValueBytes": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "ttlMs": { "type": "number" } }, "required": ["alias", "purpose", "required", "history", "ttlMs"], "type": "object" }, "type": "array" }, "store": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "maxObjectBytes": { "type": "number" }, "maxTotalBytes": { "type": "number" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" }, "ttlMs": { "type": "number" } }, "required": ["alias", "purpose", "required", "ttlMs"], "type": "object" }, "type": "array" } }, "required": ["kv", "store", "jobs"], "type": "object" }, "rpc": { "properties": { "methods": { "items": { "properties": { "callerCapabilities": { "items": { "type": "string" }, "type": "array" }, "key": { "type": "string" }, "subject": { "type": "string" }, "wildcardSubject": { "type": "string" } }, "required": ["key", "subject", "wildcardSubject", "callerCapabilities"], "type": "object" }, "type": "array" } }, "required": ["methods"], "type": "object" }, "subjects": { "properties": { "subjects": { "items": { "properties": { "key": { "type": "string" }, "publishCapabilities": { "items": { "type": "string" }, "type": "array" }, "subject": { "type": "string" }, "subscribeCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["key", "subject", "publishCapabilities", "subscribeCapabilities"], "type": "object" }, "type": "array" } }, "required": ["subjects"], "type": "object" } }, "required": ["namespaces", "rpc", "operations", "events", "nats", "resources"], "type": "object" }, "analysisSummary": { "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "operationControls": { "type": "number" }, "operations": { "type": "number" }, "rpcMethods": { "type": "number" }, "storeResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "operations", "operationControls", "events", "natsPublish", "natsSubscribe", "kvResources", "storeResources", "jobsQueues"], "type": "object" }, "contract": { "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" }, "resources": { "additionalProperties": false, "properties": { "kv": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "schema": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose", "schema"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "additionalProperties": false, "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["digest", "id", "displayName", "description", "installedAt", "contract"], "type": "object" } }, "required": ["contract"], "type": "object" };
61
- exports.AuthGetLoginPortalDefaultRequestSchema = { "properties": {}, "type": "object" };
62
- exports.AuthGetLoginPortalDefaultResponseSchema = { "properties": { "defaultPortal": { "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" };
63
- exports.AuthKickConnectionRequestSchema = { "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" };
64
- exports.AuthKickConnectionResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
65
- exports.AuthListApprovalsRequestSchema = { "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "type": "object" };
66
- exports.AuthListApprovalsResponseSchema = { "properties": { "approvals": { "items": { "properties": { "answer": { "anyOf": [{ "const": "approved", "type": "string" }, { "const": "denied", "type": "string" }] }, "answeredAt": { "format": "date-time", "type": "string" }, "approval": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId", "displayName", "description", "capabilities"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["user", "answer", "answeredAt", "updatedAt", "approval", "participantKind"], "type": "object" }, "type": "array" } }, "required": ["approvals"], "type": "object" };
67
- exports.AuthListConnectionsRequestSchema = { "properties": { "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "type": "object" };
68
- exports.AuthListConnectionsResponseSchema = { "properties": { "connections": { "items": { "anyOf": [{ "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "app", "type": "string" }, "principal": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "trellisId": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "trellisId", "origin", "id"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "agent", "type": "string" }, "principal": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "trellisId": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "trellisId", "origin", "id"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "device", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "deviceId": { "type": "string" }, "deviceType": { "type": "string" }, "runtimePublicKey": { "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "service", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "id": { "type": "string" }, "instanceId": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "instanceId", "deploymentId"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal"], "type": "object" }] }, "type": "array" } }, "required": ["connections"], "type": "object" };
69
- exports.AuthListDeviceActivationReviewsRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "type": "object" };
70
- exports.AuthListDeviceActivationReviewsResponseSchema = { "properties": { "reviews": { "items": { "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "deploymentId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" } }, "required": ["reviews"], "type": "object" };
71
- exports.AuthListDeviceActivationsRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "type": "object" };
72
- exports.AuthListDeviceActivationsResponseSchema = { "properties": { "activations": { "items": { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["activations"], "type": "object" };
73
- exports.AuthListDeviceDeploymentsRequestSchema = { "properties": { "disabled": { "type": "boolean" } }, "type": "object" };
74
- exports.AuthListDeviceDeploymentsResponseSchema = { "properties": { "deployments": { "items": { "properties": { "appliedContracts": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId", "disabled", "appliedContracts"], "type": "object" }, "type": "array" } }, "required": ["deployments"], "type": "object" };
75
- exports.AuthListDeviceInstancesRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "type": "object" };
76
- exports.AuthListDeviceInstancesResponseSchema = { "properties": { "instances": { "items": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" } }, "required": ["instances"], "type": "object" };
77
- exports.AuthListDevicePortalSelectionsRequestSchema = { "properties": {}, "type": "object" };
78
- exports.AuthListDevicePortalSelectionsResponseSchema = { "properties": { "selections": { "items": { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["deploymentId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" };
79
- exports.AuthListInstalledContractsRequestSchema = { "properties": {}, "type": "object" };
80
- exports.AuthListInstalledContractsResponseSchema = { "properties": { "contracts": { "items": { "properties": { "analysisSummary": { "properties": { "events": { "type": "number" }, "jobsQueues": { "type": "number" }, "kvResources": { "type": "number" }, "namespaces": { "items": { "type": "string" }, "type": "array" }, "natsPublish": { "type": "number" }, "natsSubscribe": { "type": "number" }, "operationControls": { "type": "number" }, "operations": { "type": "number" }, "rpcMethods": { "type": "number" }, "storeResources": { "type": "number" } }, "required": ["namespaces", "rpcMethods", "operations", "operationControls", "events", "natsPublish", "natsSubscribe", "kvResources", "storeResources", "jobsQueues"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "installedAt": { "format": "date-time", "type": "string" } }, "required": ["digest", "id", "displayName", "description", "installedAt"], "type": "object" }, "type": "array" } }, "required": ["contracts"], "type": "object" };
81
- exports.AuthListInstanceGrantPoliciesRequestSchema = { "properties": {}, "type": "object" };
82
- exports.AuthListInstanceGrantPoliciesResponseSchema = { "properties": { "policies": { "items": { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "anyOf": [{ "properties": { "createdBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, { "properties": { "entryUrl": { "minLength": 1, "type": "string" }, "kind": { "const": "portal_profile", "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["kind", "portalId", "entryUrl"], "type": "object" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" }, "type": "array" } }, "required": ["policies"], "type": "object" };
83
- exports.AuthListLoginPortalSelectionsRequestSchema = { "properties": {}, "type": "object" };
84
- exports.AuthListLoginPortalSelectionsResponseSchema = { "properties": { "selections": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" }, "type": "array" } }, "required": ["selections"], "type": "object" };
85
- exports.AuthListPortalProfilesRequestSchema = { "properties": {}, "type": "object" };
86
- exports.AuthListPortalProfilesResponseSchema = { "properties": { "profiles": { "items": { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "entryUrl", "contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["profiles"], "type": "object" };
87
- exports.AuthListPortalsRequestSchema = { "properties": {}, "type": "object" };
88
- exports.AuthListPortalsResponseSchema = { "properties": { "portals": { "items": { "properties": { "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "disabled"], "type": "object" }, "type": "array" } }, "required": ["portals"], "type": "object" };
89
- exports.AuthListServiceDeploymentsRequestSchema = { "properties": { "disabled": { "type": "boolean" } }, "type": "object" };
90
- exports.AuthListServiceDeploymentsResponseSchema = { "properties": { "deployments": { "items": { "properties": { "appliedContracts": { "items": { "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindingsByDigest": { "patternProperties": { "^[A-Za-z0-9_-]+$": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces", "disabled", "appliedContracts"], "type": "object" }, "type": "array" } }, "required": ["deployments"], "type": "object" };
91
- exports.AuthListServiceInstancesRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" } }, "type": "object" };
92
- exports.AuthListServiceInstancesResponseSchema = { "properties": { "instances": { "items": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" }, "type": "array" } }, "required": ["instances"], "type": "object" };
93
- exports.AuthListSessionsRequestSchema = { "properties": { "user": { "type": "string" } }, "type": "object" };
94
- exports.AuthListSessionsResponseSchema = { "properties": { "sessions": { "items": { "anyOf": [{ "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "app", "type": "string" }, "principal": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "trellisId": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "trellisId", "origin", "id"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "agent", "type": "string" }, "principal": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "trellisId": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "trellisId", "origin", "id"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "device", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "deviceId": { "type": "string" }, "deviceType": { "type": "string" }, "runtimePublicKey": { "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId"], "type": "object" }, { "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "service", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "id": { "type": "string" }, "instanceId": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "instanceId", "deploymentId"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal"], "type": "object" }] }, "type": "array" } }, "required": ["sessions"], "type": "object" };
95
- exports.AuthListUserGrantsRequestSchema = { "properties": {}, "type": "object" };
96
- exports.AuthListUserGrantsResponseSchema = { "properties": { "grants": { "items": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "grantedAt": { "format": "date-time", "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractDigest", "contractId", "displayName", "description", "participantKind", "capabilities", "grantedAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["grants"], "type": "object" };
97
- exports.AuthListUsersRequestSchema = { "properties": {}, "type": "object" };
98
- exports.AuthListUsersResponseSchema = { "properties": { "users": { "items": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id", "active", "capabilities"], "type": "object" }, "type": "array" } }, "required": ["users"], "type": "object" };
99
- exports.AuthLogoutRequestSchema = { "properties": {}, "type": "object" };
100
- exports.AuthLogoutResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
101
- exports.AuthMeRequestSchema = { "properties": {}, "type": "object" };
102
- exports.AuthMeResponseSchema = { "properties": { "device": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "participantKind": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] }, "service": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "user": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "lastLogin": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" } }, "required": ["id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "type": "null" }] } }, "required": ["participantKind", "user", "device", "service"], "type": "object" };
103
- exports.AuthProvisionDeviceInstanceRequestSchema = { "properties": { "activationKey": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "publicIdentityKey", "activationKey"], "type": "object" };
104
- exports.AuthProvisionDeviceInstanceResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
105
- exports.AuthProvisionServiceInstanceRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "instanceKey"], "type": "object" };
106
- exports.AuthProvisionServiceInstanceResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
107
- exports.AuthRemoveDeviceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
108
- exports.AuthRemoveDeviceDeploymentResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
109
- exports.AuthRemoveDeviceInstanceRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
110
- exports.AuthRemoveDeviceInstanceResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
111
- exports.AuthRemoveServiceDeploymentRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
112
- exports.AuthRemoveServiceDeploymentResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
113
- exports.AuthRemoveServiceInstanceRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
114
- exports.AuthRemoveServiceInstanceResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
115
- exports.AuthRevokeApprovalRequestSchema = { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["contractDigest"], "type": "object" };
116
- exports.AuthRevokeApprovalResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
117
- exports.AuthRevokeDeviceActivationRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
118
- exports.AuthRevokeDeviceActivationResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
119
- exports.AuthRevokeSessionRequestSchema = { "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" };
120
- exports.AuthRevokeSessionResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
121
- exports.AuthRevokeUserGrantRequestSchema = { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["contractDigest"], "type": "object" };
122
- exports.AuthRevokeUserGrantResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
123
- exports.AuthSessionRevokedEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "revokedBy": { "type": "string" }, "sessionKey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "revokedBy"], "type": "object" }] };
124
- exports.AuthSetDevicePortalDefaultRequestSchema = { "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" };
125
- exports.AuthSetDevicePortalDefaultResponseSchema = { "properties": { "defaultPortal": { "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" };
126
- exports.AuthSetDevicePortalSelectionRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["deploymentId", "portalId"], "type": "object" };
127
- exports.AuthSetDevicePortalSelectionResponseSchema = { "properties": { "selection": { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["deploymentId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" };
128
- exports.AuthSetLoginPortalDefaultRequestSchema = { "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" };
129
- exports.AuthSetLoginPortalDefaultResponseSchema = { "properties": { "defaultPortal": { "properties": { "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["portalId"], "type": "object" } }, "required": ["defaultPortal"], "type": "object" };
130
- exports.AuthSetLoginPortalSelectionRequestSchema = { "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" };
131
- exports.AuthSetLoginPortalSelectionResponseSchema = { "properties": { "selection": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] } }, "required": ["contractId", "portalId"], "type": "object" } }, "required": ["selection"], "type": "object" };
132
- exports.AuthSetPortalProfileRequestSchema = { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "entryUrl", "contractId"], "type": "object" };
133
- exports.AuthSetPortalProfileResponseSchema = { "properties": { "profile": { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "minLength": 1, "type": "string" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "entryUrl", "contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt"], "type": "object" } }, "required": ["profile"], "type": "object" };
134
- exports.AuthUnapplyDeviceDeploymentContractRequestSchema = { "properties": { "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "digests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" } }, "required": ["deploymentId", "contractId"], "type": "object" };
135
- exports.AuthUnapplyDeviceDeploymentContractResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "additionalProperties": false, "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["deploymentId", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
136
- exports.AuthUnapplyServiceDeploymentContractRequestSchema = { "properties": { "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "digests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" } }, "required": ["deploymentId", "contractId"], "type": "object" };
137
- exports.AuthUnapplyServiceDeploymentContractResponseSchema = { "properties": { "deployment": { "properties": { "appliedContracts": { "items": { "properties": { "allowedDigests": { "items": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "resourceBindingsByDigest": { "patternProperties": { "^[A-Za-z0-9_-]+$": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "additionalProperties": false, "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "allowedDigests"], "type": "object" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["deploymentId", "namespaces", "disabled", "appliedContracts"], "type": "object" } }, "required": ["deployment"], "type": "object" };
138
- exports.AuthUpdateUserRequestSchema = { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "origin": { "type": "string" } }, "required": ["origin", "id"], "type": "object" };
139
- exports.AuthUpdateUserResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
140
- exports.AuthUpsertInstanceGrantPolicyRequestSchema = { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" } }, "required": ["contractId", "impliedCapabilities"], "type": "object" };
141
- exports.AuthUpsertInstanceGrantPolicyResponseSchema = { "properties": { "policy": { "properties": { "allowedOrigins": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "impliedCapabilities": { "items": { "type": "string" }, "type": "array" }, "source": { "anyOf": [{ "properties": { "createdBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" }, "kind": { "const": "admin_policy", "type": "string" }, "updatedBy": { "properties": { "id": { "minLength": 1, "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["origin", "id"], "type": "object" } }, "required": ["kind"], "type": "object" }, { "properties": { "entryUrl": { "minLength": 1, "type": "string" }, "kind": { "const": "portal_profile", "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["kind", "portalId", "entryUrl"], "type": "object" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["contractId", "impliedCapabilities", "disabled", "createdAt", "updatedAt", "source"], "type": "object" } }, "required": ["policy"], "type": "object" };
142
- exports.AuthValidateRequestRequestSchema = { "additionalProperties": false, "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "payloadHash": { "type": "string" }, "proof": { "type": "string" }, "sessionKey": { "type": "string" }, "subject": { "type": "string" } }, "required": ["sessionKey", "proof", "subject", "payloadHash"], "type": "object" };
143
- exports.AuthValidateRequestResponseSchema = { "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "id": { "type": "string" }, "image": { "type": "string" }, "name": { "type": "string" }, "origin": { "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "trellisId": { "type": "string" }, "type": { "const": "user", "type": "string" } }, "required": ["type", "participantKind", "trellisId", "id", "origin", "active", "name", "email", "capabilities"], "type": "object" }, { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }] }, "inboxPrefix": { "type": "string" } }, "required": ["allowed", "inboxPrefix", "caller"], "type": "object" };
7
+ exports.AuthCapabilitiesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
8
+ exports.AuthCapabilitiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "consequence": { "minLength": 1, "type": "string" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractDisplayName": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "key": { "minLength": 1, "type": "string" }, "source": { "anyOf": [{ "const": "contract", "type": "string" }, { "const": "platform", "type": "string" }] } }, "required": ["key", "displayName", "description", "source"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
9
+ exports.AuthCapabilityGroupsDeleteRequestSchema = { "properties": { "groupKey": { "minLength": 1, "type": "string" } }, "required": ["groupKey"], "type": "object" };
10
+ exports.AuthCapabilityGroupsDeleteResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
11
+ exports.AuthCapabilityGroupsGetRequestSchema = { "properties": { "groupKey": { "minLength": 1, "type": "string" } }, "required": ["groupKey"], "type": "object" };
12
+ exports.AuthCapabilityGroupsGetResponseSchema = { "properties": { "group": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["groupKey", "displayName", "description", "capabilities", "includedGroups", "createdAt", "updatedAt"], "type": "object" } }, "required": ["group"], "type": "object" };
13
+ exports.AuthCapabilityGroupsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
14
+ exports.AuthCapabilityGroupsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["groupKey", "displayName", "description", "capabilities", "includedGroups", "createdAt", "updatedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
15
+ exports.AuthCapabilityGroupsPutRequestSchema = { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["groupKey", "displayName", "description"], "type": "object" };
16
+ exports.AuthCapabilityGroupsPutResponseSchema = { "properties": { "group": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "groupKey": { "minLength": 1, "type": "string" }, "includedGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["groupKey", "displayName", "description", "capabilities", "includedGroups", "createdAt", "updatedAt"], "type": "object" } }, "required": ["group"], "type": "object" };
17
+ exports.AuthCatalogIssuesResolveRequestSchema = { "properties": { "action": { "anyOf": [{ "const": "keep-current", "type": "string" }, { "const": "force-replace", "type": "string" }] }, "issueId": { "minLength": 1, "type": "string" } }, "required": ["issueId", "action"], "type": "object" };
18
+ exports.AuthCatalogIssuesResolveResponseSchema = { "properties": { "action": { "anyOf": [{ "const": "keep-current", "type": "string" }, { "const": "force-replace", "type": "string" }] }, "deletedEvidence": { "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "type": "array" }, "issueId": { "minLength": 1, "type": "string" }, "success": { "const": true, "type": "boolean" } }, "required": ["success", "issueId", "action", "deletedEvidence"], "type": "object" };
19
+ exports.AuthConnectionsClosedEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] };
20
+ exports.AuthConnectionsKickRequestSchema = { "properties": { "userNkey": { "type": "string" } }, "required": ["userNkey"], "type": "object" };
21
+ exports.AuthConnectionsKickResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
22
+ exports.AuthConnectionsKickedEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "kickedBy": { "type": "string" }, "origin": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "userNkey", "kickedBy"], "type": "object" }] };
23
+ exports.AuthConnectionsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "sessionKey": { "type": "string" }, "user": { "type": "string" } }, "required": ["limit"], "type": "object" };
24
+ exports.AuthConnectionsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "app", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "agent", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "device", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "deviceId": { "type": "string" }, "deviceType": { "type": "string" }, "runtimePublicKey": { "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal", "contractId"], "type": "object" }, { "properties": { "clientId": { "type": "number" }, "connectedAt": { "type": "string" }, "key": { "type": "string" }, "participantKind": { "const": "service", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "id": { "type": "string" }, "instanceId": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "instanceId", "deploymentId"], "type": "object" }, "serverId": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["key", "userNkey", "sessionKey", "serverId", "clientId", "connectedAt", "participantKind", "principal"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
25
+ exports.AuthConnectionsOpenedEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "sessionKey": { "type": "string" }, "userNkey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "userNkey"], "type": "object" }] };
26
+ exports.AuthDeploymentsCreateRequestSchema = { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId"], "type": "object" }] };
27
+ exports.AuthDeploymentsCreateResponseSchema = { "properties": { "deployment": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] } }, "required": ["deployment"], "type": "object" };
28
+ exports.AuthDeploymentsDisableRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] } }, "required": ["kind", "deploymentId"], "type": "object" };
29
+ exports.AuthDeploymentsDisableResponseSchema = { "properties": { "deployment": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] } }, "required": ["deployment"], "type": "object" };
30
+ exports.AuthDeploymentsEnableRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] } }, "required": ["kind", "deploymentId"], "type": "object" };
31
+ exports.AuthDeploymentsEnableResponseSchema = { "properties": { "deployment": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] } }, "required": ["deployment"], "type": "object" };
32
+ exports.AuthDeploymentsListRequestSchema = { "properties": { "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
33
+ exports.AuthDeploymentsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "service", "type": "string" }, "namespaces": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "required": ["kind", "deploymentId", "namespaces", "disabled"], "type": "object" }, { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "const": "device", "type": "string" }, "reviewMode": { "anyOf": [{ "const": "none", "type": "string" }, { "const": "required", "type": "string" }] } }, "required": ["kind", "deploymentId", "disabled"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
34
+ exports.AuthDeploymentsRemoveRequestSchema = { "properties": { "cascade": { "type": "boolean" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }] }, "purgeUnusedContracts": { "type": "boolean" } }, "required": ["kind", "deploymentId"], "type": "object" };
35
+ exports.AuthDeploymentsRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
36
+ exports.AuthDeviceUserAuthoritiesApprovedEventSchema = { "properties": { "approvedAt": { "format": "date-time", "type": "string" }, "approvedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "approvedAt", "requestedBy", "approvedBy"], "type": "object" };
37
+ exports.AuthDeviceUserAuthoritiesListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["limit"], "type": "object" };
38
+ exports.AuthDeviceUserAuthoritiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
39
+ exports.AuthDeviceUserAuthoritiesRequestedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" } }, "required": ["flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "requestedBy"], "type": "object" };
40
+ exports.AuthDeviceUserAuthoritiesResolvedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "resolvedAt": { "format": "date-time", "type": "string" }, "resolvedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "resolvedAt", "resolvedBy"], "type": "object" };
41
+ exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "requestedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "flowId", "instanceId", "publicIdentityKey", "deploymentId", "requestedAt", "requestedBy"], "type": "object" };
42
+ exports.AuthDeviceUserAuthoritiesReviewsDecideRequestSchema = { "properties": { "decision": { "anyOf": [{ "const": "approve", "type": "string" }, { "const": "reject", "type": "string" }] }, "reason": { "minLength": 1, "type": "string" }, "reviewId": { "minLength": 1, "type": "string" } }, "required": ["reviewId", "decision"], "type": "object" };
43
+ exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = { "properties": { "activation": { "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "activatedBy": { "properties": { "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "userId": { "minLength": 1, "type": "string" } }, "required": ["participantKind", "userId", "identity"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "activatedAt", "revokedAt"], "type": "object" }, "confirmationCode": { "minLength": 1, "type": "string" }, "review": { "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "deploymentId", "state", "requestedAt", "decidedAt"], "type": "object" } }, "required": ["review"], "type": "object" };
44
+ exports.AuthDeviceUserAuthoritiesReviewsListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["limit"], "type": "object" };
45
+ exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "reason": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["reviewId", "instanceId", "publicIdentityKey", "deploymentId", "state", "requestedAt", "decidedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
46
+ exports.AuthDeviceUserAuthoritiesRevokeRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
47
+ exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
48
+ exports.AuthDevicesConnectInfoGetRequestSchema = { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "iat": { "type": "number" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "sig": { "minLength": 1, "type": "string" } }, "required": ["publicIdentityKey", "contractDigest", "iat", "sig"], "type": "object" };
49
+ exports.AuthDevicesConnectInfoGetResponseSchema = { "properties": { "connectInfo": { "properties": { "auth": { "properties": { "authority": { "anyOf": [{ "const": "admin_reviewed", "type": "string" }, { "const": "user_delegated", "type": "string" }] }, "iatSkewSeconds": { "type": "number" }, "mode": { "const": "device_identity", "type": "string" } }, "required": ["mode", "authority", "iatSkewSeconds"], "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "transport": { "properties": { "sentinel": { "properties": { "jwt": { "type": "string" }, "seed": { "type": "string" } }, "required": ["jwt", "seed"], "type": "object" } }, "required": ["sentinel"], "type": "object" }, "transports": { "properties": { "native": { "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["natsServers"], "type": "object" }, "websocket": { "properties": { "natsServers": { "items": { "minLength": 1, "type": "string" }, "minItems": 1, "type": "array" } }, "required": ["natsServers"], "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "contractId", "contractDigest", "transports", "transport", "auth"], "type": "object" }, "status": { "const": "ready", "type": "string" } }, "required": ["status", "connectInfo"], "type": "object" };
50
+ exports.AuthDevicesDisableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
51
+ exports.AuthDevicesDisableResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
52
+ exports.AuthDevicesEnableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
53
+ exports.AuthDevicesEnableResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
54
+ exports.AuthDevicesListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["limit"], "type": "object" };
55
+ exports.AuthDevicesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
56
+ exports.AuthDevicesProvisionRequestSchema = { "properties": { "activationKey": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "publicIdentityKey", "activationKey"], "type": "object" };
57
+ exports.AuthDevicesProvisionResponseSchema = { "properties": { "instance": { "properties": { "activatedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "metadata": { "patternProperties": { "^.*$": { "minLength": 1, "type": "string" } }, "type": "object" }, "publicIdentityKey": { "minLength": 1, "type": "string" }, "revokedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "state": { "anyOf": [{ "const": "registered", "type": "string" }, { "const": "activated", "type": "string" }, { "const": "revoked", "type": "string" }, { "const": "disabled", "type": "string" }] } }, "required": ["instanceId", "publicIdentityKey", "deploymentId", "state", "createdAt", "activatedAt", "revokedAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
58
+ exports.AuthDevicesRemoveRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
59
+ exports.AuthDevicesRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
60
+ exports.AuthEnvelopeExpansionsListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["limit"], "type": "object" };
61
+ exports.AuthEnvelopeExpansionsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
62
+ exports.AuthEnvelopeExpansionsRejectRequestSchema = { "properties": { "reason": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId"], "type": "object" };
63
+ exports.AuthEnvelopeExpansionsRejectResponseSchema = { "properties": { "request": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" } }, "required": ["request"], "type": "object" };
64
+ exports.AuthEnvelopesApproveRequestRequestSchema = { "properties": { "reason": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId"], "type": "object" };
65
+ exports.AuthEnvelopesApproveRequestResponseSchema = { "properties": { "contractEvidence": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "request": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" }, "resourceBindings": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "binding": { "patternProperties": { "^.*$": {} }, "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "limits": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "alias", "binding", "limits", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["request", "envelope", "delta", "contractEvidence", "resourceBindings"], "type": "object" };
66
+ exports.AuthEnvelopesChangesPreviewRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "proposedBoundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["deploymentId", "proposedBoundary"], "type": "object" };
67
+ exports.AuthEnvelopesChangesPreviewResponseSchema = { "properties": { "current": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "impact": { "properties": { "impactedDeviceSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "impactedIdentityEnvelopes": { "items": { "properties": { "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["identityEnvelopeId", "identityAnchor", "missing"], "type": "object" }, "type": "array" }, "impactedPendingRequests": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId", "missing"], "type": "object" }, "type": "array" }, "impactedServiceInstances": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["missing"], "type": "object" }, "type": "array" }, "impactedSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "orphanedResources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] } }, "required": ["kind", "alias"], "type": "object" }, "type": "array" }, "removed": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["removed", "impactedSessions", "impactedServiceInstances", "impactedDeviceSessions", "impactedIdentityEnvelopes", "impactedPendingRequests", "orphanedResources"], "type": "object" }, "proposed": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" } }, "required": ["current", "proposed", "impact"], "type": "object" };
68
+ exports.AuthEnvelopesExpandRequestSchema = { "properties": { "contract": { "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "expectedDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["deploymentId", "contract", "expectedDigest"], "type": "object" };
69
+ exports.AuthEnvelopesExpandResponseSchema = { "properties": { "contractEvidence": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "resourceBindings": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "binding": { "patternProperties": { "^.*$": {} }, "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "limits": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "alias", "binding", "limits", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["envelope", "delta", "contractEvidence", "resourceBindings"], "type": "object" };
70
+ exports.AuthEnvelopesGetRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" } }, "required": ["deploymentId"], "type": "object" };
71
+ exports.AuthEnvelopesGetResponseSchema = { "properties": { "contractEvidence": { "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "firstSeenAt": { "format": "date-time", "type": "string" }, "ignoreReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "ignoredAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "ignoredBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "lastSeenAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "contractId", "contractDigest", "contract", "firstSeenAt", "lastSeenAt"], "type": "object" }, "type": "array" }, "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "expansionRequests": { "items": { "properties": { "contract": { "type": "object" }, "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "createdAt": { "format": "date-time", "type": "string" }, "decidedAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "decidedBy": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "decisionReason": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "delta": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "deploymentId": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "requestedBy": { "patternProperties": { "^.*$": {} }, "type": "object" }, "requestedByKind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "user", "type": "string" }, { "const": "admin", "type": "string" }, { "const": "automation", "type": "string" }] }, "state": { "anyOf": [{ "const": "pending", "type": "string" }, { "const": "approved", "type": "string" }, { "const": "rejected", "type": "string" }] } }, "required": ["requestId", "deploymentId", "requestedByKind", "requestedBy", "contractId", "contractDigest", "contract", "state", "createdAt", "decidedAt", "decidedBy", "decisionReason", "delta"], "type": "object" }, "type": "array" }, "grantOverrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" }, "portalRoute": { "anyOf": [{ "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "portalId", "entryUrl", "disabled", "updatedAt"], "type": "object" }, { "type": "null" }] }, "resourceBindings": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "binding": { "patternProperties": { "^.*$": {} }, "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "limits": { "anyOf": [{ "patternProperties": { "^.*$": {} }, "type": "object" }, { "type": "null" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "alias", "binding", "limits", "createdAt", "updatedAt"], "type": "object" }, "type": "array" } }, "required": ["envelope", "resourceBindings", "contractEvidence", "expansionRequests", "portalRoute", "grantOverrides"], "type": "object" };
72
+ exports.AuthEnvelopesGrantOverridesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
73
+ exports.AuthEnvelopesGrantOverridesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
74
+ exports.AuthEnvelopesGrantOverridesPutRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "overrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" } }, "required": ["deploymentId", "overrides"], "type": "object" };
75
+ exports.AuthEnvelopesGrantOverridesRemoveRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "overrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" } }, "required": ["deploymentId", "overrides"], "type": "object" };
76
+ exports.AuthEnvelopesGrantOverridesResponseSchema = { "properties": { "grantOverrides": { "items": { "anyOf": [{ "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" }, "sessionPublicKey": { "type": "null" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "minLength": 1, "type": "string" }, "capabilityGroupKey": { "type": "null" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }, { "properties": { "capability": { "type": "null" }, "capabilityGroupKey": { "minLength": 1, "type": "string" }, "contractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "grantKind": { "const": "capability-group", "type": "string" }, "identityKind": { "const": "session", "type": "string" }, "origin": { "type": "null" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "identityKind", "grantKind", "contractId", "origin", "sessionPublicKey", "capability", "capabilityGroupKey"], "type": "object" }] }, "type": "array" } }, "required": ["grantOverrides"], "type": "object" };
77
+ exports.AuthEnvelopesListRequestSchema = { "properties": { "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
78
+ exports.AuthEnvelopesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
79
+ exports.AuthEnvelopesShrinkRequestSchema = { "properties": { "confirm": { "type": "boolean" }, "deploymentId": { "minLength": 1, "type": "string" }, "proposedBoundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["deploymentId", "proposedBoundary", "confirm"], "type": "object" };
80
+ exports.AuthEnvelopesShrinkResponseSchema = { "properties": { "envelope": { "properties": { "boundary": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "createdAt": { "format": "date-time", "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "device", "type": "string" }, { "const": "app", "type": "string" }, { "const": "cli", "type": "string" }, { "const": "native", "type": "string" }, { "const": "device-user", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["deploymentId", "kind", "disabled", "createdAt", "updatedAt", "boundary"], "type": "object" }, "impact": { "properties": { "impactedDeviceSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "impactedIdentityEnvelopes": { "items": { "properties": { "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["identityEnvelopeId", "identityAnchor", "missing"], "type": "object" }, "type": "array" }, "impactedPendingRequests": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "requestId": { "minLength": 1, "type": "string" } }, "required": ["requestId", "missing"], "type": "object" }, "type": "array" }, "impactedServiceInstances": { "items": { "properties": { "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["missing"], "type": "object" }, "type": "array" }, "impactedSessions": { "items": { "properties": { "contractDigest": { "anyOf": [{ "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, { "type": "null" }] }, "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "missing": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" }, "sessionKey": { "minLength": 1, "type": "string" }, "type": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] } }, "required": ["sessionKey", "type", "contractId", "contractDigest", "missing"], "type": "object" }, "type": "array" }, "orphanedResources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] } }, "required": ["kind", "alias"], "type": "object" }, "type": "array" }, "removed": { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "contracts": { "items": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "required"], "type": "object" }, "type": "array" }, "resources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] }, "required": { "type": "boolean" } }, "required": ["kind", "alias", "required"], "type": "object" }, "type": "array" }, "surfaces": { "items": { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }, { "const": "cancel", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "name": { "minLength": 1, "type": "string" }, "required": { "type": "boolean" } }, "required": ["contractId", "kind", "name", "action", "required"], "type": "object" }, "type": "array" } }, "required": ["contracts", "surfaces", "capabilities", "resources"], "type": "object" } }, "required": ["removed", "impactedSessions", "impactedServiceInstances", "impactedDeviceSessions", "impactedIdentityEnvelopes", "impactedPendingRequests", "orphanedResources"], "type": "object" }, "retainedResources": { "items": { "properties": { "alias": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "kv", "type": "string" }, { "const": "store", "type": "string" }, { "const": "jobs", "type": "string" }, { "const": "transfer", "type": "string" }] } }, "required": ["kind", "alias"], "type": "object" }, "type": "array" } }, "required": ["envelope", "impact", "retainedResources"], "type": "object" };
81
+ exports.AuthIdentitiesGrantsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
82
+ exports.AuthIdentitiesGrantsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "contractEvidence": { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "grantedAt": { "format": "date-time", "type": "string" }, "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["identityEnvelopeId", "identityAnchor", "contractEvidence", "displayName", "description", "participantKind", "capabilities", "grantedAt", "updatedAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
83
+ exports.AuthIdentitiesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "user": { "minLength": 1, "type": "string" } }, "required": ["limit"], "type": "object" };
84
+ exports.AuthIdentitiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "answer": { "anyOf": [{ "const": "approved", "type": "string" }, { "const": "denied", "type": "string" }] }, "answeredAt": { "format": "date-time", "type": "string" }, "capabilities": { "patternProperties": { "^.*$": { "properties": { "consequence": { "type": "string" }, "description": { "type": "string" }, "displayName": { "type": "string" } }, "required": ["displayName", "description"], "type": "object" } }, "type": "object" }, "contractEvidence": { "properties": { "contractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "contractId": { "minLength": 1, "type": "string" } }, "required": ["contractDigest", "contractId"], "type": "object" }, "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "identityAnchor": { "anyOf": [{ "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "web", "type": "string" }, "origin": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "origin"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "cli", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "const": "native", "type": "string" }, "sessionPublicKey": { "minLength": 1, "type": "string" } }, "required": ["kind", "contractId", "sessionPublicKey"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "devicePublicKey": { "minLength": 1, "type": "string" }, "kind": { "const": "device-user", "type": "string" } }, "required": ["kind", "contractId", "devicePublicKey"], "type": "object" }] }, "identityEnvelopeId": { "minLength": 1, "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "updatedAt": { "format": "date-time", "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["user", "answer", "answeredAt", "updatedAt", "identityEnvelopeId", "identityAnchor", "contractEvidence", "displayName", "description", "capabilities", "participantKind"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
85
+ exports.AuthIdentityEnvelopesRevokeRequestSchema = { "properties": { "identityEnvelopeId": { "minLength": 1, "type": "string" }, "user": { "minLength": 1, "type": "string" } }, "required": ["identityEnvelopeId"], "type": "object" };
86
+ exports.AuthIdentityEnvelopesRevokeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
87
+ exports.AuthPortalsGetRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
88
+ exports.AuthPortalsGetResponseSchema = { "properties": { "defaultCapabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "defaultCapabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "federatedProviders": { "items": { "properties": { "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": ["id", "displayName", "type"], "type": "object" }, "type": "array" }, "portal": { "properties": { "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt"], "type": "object" }, "routes": { "items": { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "disabled": { "type": "boolean" }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "routeKey": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["routeKey", "portalId", "contractId", "origin", "disabled", "updatedAt"], "type": "object" }, "type": "array" }, "settings": { "properties": { "allowedFederatedProviders": { "anyOf": [{ "items": { "minLength": 1, "type": "string" }, "type": "array" }, { "type": "null" }] }, "federatedRegistrationEnabled": { "type": "boolean" }, "localRegistrationEnabled": { "type": "boolean" }, "portalId": { "minLength": 1, "type": "string" }, "selfRegisteredAccountActive": { "type": "boolean" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "localRegistrationEnabled", "federatedRegistrationEnabled", "allowedFederatedProviders", "selfRegisteredAccountActive", "updatedAt"], "type": "object" } }, "required": ["portal", "settings", "routes", "defaultCapabilities", "defaultCapabilityGroups", "federatedProviders"], "type": "object" };
89
+ exports.AuthPortalsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
90
+ exports.AuthPortalsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "activeRouteCount": { "minimum": 0, "type": "integer" }, "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "routeCount": { "minimum": 0, "type": "integer" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt", "routeCount", "activeRouteCount"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
91
+ exports.AuthPortalsLoginSettingsGetRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
92
+ exports.AuthPortalsLoginSettingsResponseSchema = { "properties": { "defaultCapabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "defaultCapabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "federatedProviders": { "items": { "properties": { "displayName": { "minLength": 1, "type": "string" }, "id": { "minLength": 1, "type": "string" }, "type": { "minLength": 1, "type": "string" } }, "required": ["id", "displayName", "type"], "type": "object" }, "type": "array" }, "portal": { "properties": { "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt"], "type": "object" }, "settings": { "properties": { "allowedFederatedProviders": { "anyOf": [{ "items": { "minLength": 1, "type": "string" }, "type": "array" }, { "type": "null" }] }, "federatedRegistrationEnabled": { "type": "boolean" }, "localRegistrationEnabled": { "type": "boolean" }, "portalId": { "minLength": 1, "type": "string" }, "selfRegisteredAccountActive": { "type": "boolean" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "localRegistrationEnabled", "federatedRegistrationEnabled", "allowedFederatedProviders", "selfRegisteredAccountActive", "updatedAt"], "type": "object" } }, "required": ["portal", "settings", "defaultCapabilities", "defaultCapabilityGroups", "federatedProviders"], "type": "object" };
93
+ exports.AuthPortalsLoginSettingsUpdateRequestSchema = { "properties": { "allowedFederatedProviders": { "anyOf": [{ "items": { "minLength": 1, "type": "string" }, "type": "array" }, { "type": "null" }] }, "defaultCapabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "defaultCapabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "federatedRegistrationEnabled": { "type": "boolean" }, "localRegistrationEnabled": { "type": "boolean" }, "portalId": { "minLength": 1, "type": "string" }, "selfRegisteredAccountActive": { "type": "boolean" } }, "required": ["portalId", "localRegistrationEnabled", "federatedRegistrationEnabled", "allowedFederatedProviders", "selfRegisteredAccountActive", "defaultCapabilities", "defaultCapabilityGroups"], "type": "object" };
94
+ exports.AuthPortalsPutRequestSchema = { "properties": { "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "minLength": 1, "type": "string" }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId", "displayName", "entryUrl"], "type": "object" };
95
+ exports.AuthPortalsPutResponseSchema = { "properties": { "portal": { "properties": { "builtIn": { "type": "boolean" }, "createdAt": { "format": "date-time", "type": "string" }, "disabled": { "type": "boolean" }, "displayName": { "minLength": 1, "type": "string" }, "entryUrl": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["portalId", "displayName", "entryUrl", "builtIn", "disabled", "createdAt", "updatedAt"], "type": "object" } }, "required": ["portal"], "type": "object" };
96
+ exports.AuthPortalsRemoveRequestSchema = { "properties": { "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
97
+ exports.AuthPortalsRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
98
+ exports.AuthPortalsRoutesPutRequestSchema = { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "disabled": { "type": "boolean" }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
99
+ exports.AuthPortalsRoutesPutResponseSchema = { "properties": { "route": { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "disabled": { "type": "boolean" }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" }, "routeKey": { "minLength": 1, "type": "string" }, "updatedAt": { "format": "date-time", "type": "string" } }, "required": ["routeKey", "portalId", "contractId", "origin", "disabled", "updatedAt"], "type": "object" } }, "required": ["route"], "type": "object" };
100
+ exports.AuthPortalsRoutesRemoveRequestSchema = { "properties": { "contractId": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "origin": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "portalId": { "minLength": 1, "type": "string" } }, "required": ["portalId"], "type": "object" };
101
+ exports.AuthPortalsRoutesRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
102
+ exports.AuthRequestsValidateRequestSchema = { "properties": { "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "iat": { "type": "integer" }, "payloadHash": { "minLength": 1, "type": "string" }, "proof": { "minLength": 1, "type": "string" }, "requestId": { "minLength": 1, "type": "string" }, "sessionKey": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["sessionKey", "proof", "subject", "payloadHash", "iat", "requestId"], "type": "object" };
103
+ exports.AuthRequestsValidateResponseSchema = { "properties": { "allowed": { "type": "boolean" }, "caller": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "image": { "type": "string" }, "lastAuth": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "participantKind": { "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, "type": { "const": "user", "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["type", "participantKind", "userId", "identity", "active", "name", "email", "capabilities", "lastAuth"], "type": "object" }, { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }] }, "inboxPrefix": { "type": "string" } }, "required": ["allowed", "inboxPrefix", "caller"], "type": "object" };
104
+ exports.AuthResolveDeviceUserAuthoritiesProgressSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "requestedAt": { "format": "date-time", "type": "string" }, "reviewId": { "minLength": 1, "type": "string" }, "status": { "const": "pending_review", "type": "string" } }, "required": ["status", "reviewId", "instanceId", "deploymentId", "requestedAt"], "type": "object" };
105
+ exports.AuthResolveDeviceUserAuthoritiesRequestSchema = { "properties": { "flowId": { "minLength": 1, "type": "string" } }, "required": ["flowId"], "type": "object" };
106
+ exports.AuthResolveDeviceUserAuthoritiesResponseSchema = { "anyOf": [{ "properties": { "activatedAt": { "format": "date-time", "type": "string" }, "confirmationCode": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "instanceId": { "minLength": 1, "type": "string" }, "status": { "const": "activated", "type": "string" } }, "required": ["status", "instanceId", "deploymentId", "activatedAt"], "type": "object" }, { "properties": { "reason": { "minLength": 1, "type": "string" }, "status": { "const": "rejected", "type": "string" } }, "required": ["status"], "type": "object" }] };
107
+ exports.AuthServiceInstancesDisableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
108
+ exports.AuthServiceInstancesDisableResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
109
+ exports.AuthServiceInstancesEnableRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
110
+ exports.AuthServiceInstancesEnableResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
111
+ exports.AuthServiceInstancesListRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
112
+ exports.AuthServiceInstancesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
113
+ exports.AuthServiceInstancesProvisionRequestSchema = { "properties": { "deploymentId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" } }, "required": ["deploymentId", "instanceKey"], "type": "object" };
114
+ exports.AuthServiceInstancesProvisionResponseSchema = { "properties": { "instance": { "properties": { "capabilities": { "items": { "type": "string" }, "type": "array" }, "createdAt": { "format": "date-time", "type": "string" }, "currentContractDigest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "currentContractId": { "minLength": 1, "type": "string" }, "deploymentId": { "minLength": 1, "type": "string" }, "disabled": { "type": "boolean" }, "instanceId": { "minLength": 1, "type": "string" }, "instanceKey": { "minLength": 1, "type": "string" }, "resourceBindings": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["instanceId", "deploymentId", "instanceKey", "disabled", "capabilities", "createdAt"], "type": "object" } }, "required": ["instance"], "type": "object" };
115
+ exports.AuthServiceInstancesRemoveRequestSchema = { "properties": { "instanceId": { "minLength": 1, "type": "string" } }, "required": ["instanceId"], "type": "object" };
116
+ exports.AuthServiceInstancesRemoveResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
117
+ exports.AuthSessionsListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "user": { "type": "string" } }, "required": ["limit"], "type": "object" };
118
+ exports.AuthSessionsListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "anyOf": [{ "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "app", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "agent", "type": "string" }, "principal": { "properties": { "identity": { "properties": { "identityId": { "type": "string" }, "provider": { "type": "string" }, "subject": { "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "name": { "type": "string" }, "type": { "const": "user", "type": "string" }, "userId": { "type": "string" } }, "required": ["type", "userId", "identity", "name"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId", "contractDisplayName"], "type": "object" }, { "properties": { "contractDisplayName": { "type": "string" }, "contractId": { "type": "string" }, "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "device", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "deviceId": { "type": "string" }, "deviceType": { "type": "string" }, "runtimePublicKey": { "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal", "contractId"], "type": "object" }, { "properties": { "createdAt": { "type": "string" }, "key": { "type": "string" }, "lastAuth": { "type": "string" }, "participantKind": { "const": "service", "type": "string" }, "principal": { "properties": { "deploymentId": { "type": "string" }, "id": { "type": "string" }, "instanceId": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "instanceId", "deploymentId"], "type": "object" }, "sessionKey": { "type": "string" } }, "required": ["key", "sessionKey", "createdAt", "lastAuth", "participantKind", "principal"], "type": "object" }] }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
119
+ exports.AuthSessionsLogoutRequestSchema = { "properties": {}, "type": "object" };
120
+ exports.AuthSessionsLogoutResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
121
+ exports.AuthSessionsMeRequestSchema = { "properties": {}, "type": "object" };
122
+ exports.AuthSessionsMeResponseSchema = { "properties": { "device": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "deploymentId": { "minLength": 1, "type": "string" }, "deviceId": { "minLength": 1, "type": "string" }, "deviceType": { "minLength": 1, "type": "string" }, "runtimePublicKey": { "minLength": 1, "type": "string" }, "type": { "const": "device", "type": "string" } }, "required": ["type", "deviceId", "deviceType", "runtimePublicKey", "deploymentId", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "participantKind": { "anyOf": [{ "anyOf": [{ "const": "app", "type": "string" }, { "const": "agent", "type": "string" }] }, { "const": "device", "type": "string" }, { "const": "service", "type": "string" }] }, "service": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "id": { "type": "string" }, "name": { "type": "string" }, "type": { "const": "service", "type": "string" } }, "required": ["type", "id", "name", "active", "capabilities"], "type": "object" }, { "type": "null" }] }, "user": { "anyOf": [{ "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identity": { "properties": { "identityId": { "minLength": 1, "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject"], "type": "object" }, "image": { "type": "string" }, "lastLogin": { "format": "date-time", "type": "string" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "name", "email", "capabilities", "identity"], "type": "object" }, { "type": "null" }] } }, "required": ["participantKind", "user", "device", "service"], "type": "object" };
123
+ exports.AuthSessionsRevokeRequestSchema = { "properties": { "sessionKey": { "type": "string" } }, "required": ["sessionKey"], "type": "object" };
124
+ exports.AuthSessionsRevokeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
125
+ exports.AuthSessionsRevokedEventSchema = { "allOf": [{ "properties": { "header": { "properties": { "id": { "type": "string" }, "time": { "format": "date-time", "type": "string" } }, "required": ["id", "time"], "type": "object" } }, "required": ["header"], "type": "object" }, { "properties": { "id": { "type": "string" }, "origin": { "type": "string" }, "revokedBy": { "type": "string" }, "sessionKey": { "type": "string" } }, "required": ["origin", "id", "sessionKey", "revokedBy"], "type": "object" }] };
126
+ exports.AuthUserIdentitiesListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "limit"], "type": "object" };
127
+ exports.AuthUserIdentitiesListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
128
+ exports.AuthUserIdentitiesUnlinkRequestSchema = { "properties": { "identityId": { "minLength": 1, "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "identityId"], "type": "object" };
129
+ exports.AuthUserIdentitiesUnlinkResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
130
+ exports.AuthUsersAccountFlowCreateResponseSchema = { "properties": { "expiresAt": { "format": "date-time", "type": "string" }, "flowId": { "minLength": 1, "type": "string" }, "url": { "minLength": 1, "type": "string" } }, "required": ["flowId", "url", "expiresAt"], "type": "object" };
131
+ exports.AuthUsersCreateRequestSchema = { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "email": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "type": "object" };
132
+ exports.AuthUsersCreateResponseSchema = { "properties": { "user": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identities": { "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "capabilities", "capabilityGroups", "identities"], "type": "object" } }, "required": ["user"], "type": "object" };
133
+ exports.AuthUsersGetRequestSchema = { "properties": { "userId": { "minLength": 1, "type": "string" } }, "required": ["userId"], "type": "object" };
134
+ exports.AuthUsersGetResponseSchema = { "properties": { "user": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identities": { "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "capabilities", "capabilityGroups", "identities"], "type": "object" } }, "required": ["user"], "type": "object" };
135
+ exports.AuthUsersIdentityLinkCreateRequestSchema = { "properties": { "returnTo": { "minLength": 1, "type": "string" } }, "type": "object" };
136
+ exports.AuthUsersListRequestSchema = { "properties": { "limit": { "maximum": 500, "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["limit"], "type": "object" };
137
+ exports.AuthUsersListResponseSchema = { "properties": { "count": { "minimum": 0, "type": "integer" }, "entries": { "default": [], "items": { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "type": "string" }, "type": "array" }, "email": { "type": "string" }, "identities": { "items": { "properties": { "displayName": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "email": { "anyOf": [{ "minLength": 1, "type": "string" }, { "type": "null" }] }, "emailVerified": { "type": "boolean" }, "identityId": { "minLength": 1, "type": "string" }, "lastLoginAt": { "anyOf": [{ "format": "date-time", "type": "string" }, { "type": "null" }] }, "linkedAt": { "format": "date-time", "type": "string" }, "provider": { "minLength": 1, "type": "string" }, "subject": { "minLength": 1, "type": "string" } }, "required": ["identityId", "provider", "subject", "displayName", "email", "emailVerified", "linkedAt", "lastLoginAt"], "type": "object" }, "type": "array" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId", "active", "capabilities", "capabilityGroups", "identities"], "type": "object" }, "type": "array" }, "limit": { "minimum": 0, "type": "integer" }, "nextOffset": { "minimum": 0, "type": "integer" }, "offset": { "minimum": 0, "type": "integer" } }, "required": ["entries", "count", "offset", "limit"], "type": "object" };
138
+ exports.AuthUsersPasswordChangeRequestSchema = { "properties": { "currentPassword": { "minLength": 1, "type": "string" }, "newPassword": { "minLength": 1, "type": "string" } }, "required": ["currentPassword", "newPassword"], "type": "object" };
139
+ exports.AuthUsersPasswordChangeResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
140
+ exports.AuthUsersPasswordResetCreateRequestSchema = { "properties": { "expiresInSeconds": { "maximum": 2592000, "minimum": 60, "type": "integer" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId"], "type": "object" };
141
+ exports.AuthUsersUpdateRequestSchema = { "properties": { "active": { "type": "boolean" }, "capabilities": { "items": { "type": "string" }, "type": "array" }, "capabilityGroups": { "items": { "minLength": 1, "type": "string" }, "type": "array" }, "email": { "type": "string" }, "name": { "type": "string" }, "userId": { "minLength": 1, "type": "string" } }, "required": ["userId"], "type": "object" };
142
+ exports.AuthUsersUpdateResponseSchema = { "properties": { "success": { "type": "boolean" } }, "required": ["success"], "type": "object" };
144
143
  exports.HealthRequestSchema = { "properties": {}, "type": "object" };
145
144
  exports.HealthResponseSchema = { "properties": { "checks": { "items": { "properties": { "error": { "type": "string" }, "info": { "patternProperties": { "^.*$": {} }, "type": "object" }, "latencyMs": { "type": "number" }, "name": { "type": "string" }, "status": { "anyOf": [{ "const": "ok", "type": "string" }, { "const": "failed", "type": "string" }] }, "summary": { "type": "string" } }, "required": ["name", "status", "latencyMs"], "type": "object" }, "type": "array" }, "service": { "type": "string" }, "status": { "anyOf": [{ "const": "healthy", "type": "string" }, { "const": "unhealthy", "type": "string" }, { "const": "degraded", "type": "string" }] }, "timestamp": { "format": "date-time", "type": "string" } }, "required": ["status", "service", "timestamp", "checks"], "type": "object" };