@qlever-llc/trellis 0.10.17 → 0.19.0-rc.1

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 (283) hide show
  1. package/esm/auth/mod.d.ts +1 -1
  2. package/esm/auth/mod.d.ts.map +1 -1
  3. package/esm/auth/mod.js +1 -1
  4. package/esm/auth/protocol.d.ts +416 -398
  5. package/esm/auth/protocol.d.ts.map +1 -1
  6. package/esm/auth/protocol.js +35 -33
  7. package/esm/codec.d.ts +1 -0
  8. package/esm/codec.d.ts.map +1 -1
  9. package/esm/codec.js +1 -0
  10. package/esm/contract_support/canonical.d.ts +3 -0
  11. package/esm/contract_support/canonical.d.ts.map +1 -1
  12. package/esm/contract_support/canonical.js +3 -0
  13. package/esm/contract_support/mod.d.ts +28 -4
  14. package/esm/contract_support/mod.d.ts.map +1 -1
  15. package/esm/contract_support/mod.js +85 -4
  16. package/esm/contract_support/protocol.d.ts +92 -7
  17. package/esm/contract_support/protocol.d.ts.map +1 -1
  18. package/esm/contract_support/protocol.js +40 -6
  19. package/esm/errors/index.d.ts +9 -9
  20. package/esm/generated-sdk/auth/api.d.ts +4 -1
  21. package/esm/generated-sdk/auth/api.d.ts.map +1 -1
  22. package/esm/generated-sdk/auth/api.js +6 -1
  23. package/esm/generated-sdk/auth/client.d.ts +47 -32
  24. package/esm/generated-sdk/auth/client.d.ts.map +1 -1
  25. package/esm/generated-sdk/auth/contract.d.ts +1 -1
  26. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  27. package/esm/generated-sdk/auth/contract.js +1570 -1202
  28. package/esm/generated-sdk/auth/schemas.d.ts +1757 -1759
  29. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  30. package/esm/generated-sdk/auth/schemas.js +963 -768
  31. package/esm/generated-sdk/auth/types.d.ts +292 -302
  32. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  33. package/esm/generated-sdk/auth/types.js +1 -1
  34. package/esm/generated-sdk/health/client.d.ts +4 -4
  35. package/esm/generated-sdk/health/client.d.ts.map +1 -1
  36. package/esm/generated-sdk/health/contract.d.ts +1 -1
  37. package/esm/generated-sdk/health/contract.d.ts.map +1 -1
  38. package/esm/generated-sdk/health/contract.js +2 -10
  39. package/esm/generated-sdk/health/schemas.d.ts +1 -14
  40. package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
  41. package/esm/generated-sdk/health/schemas.js +1 -9
  42. package/esm/generated-sdk/health/types.d.ts +3 -5
  43. package/esm/generated-sdk/health/types.d.ts.map +1 -1
  44. package/esm/generated-sdk/health/types.js +1 -2
  45. package/esm/generated-sdk/jobs/api.d.ts +13 -0
  46. package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
  47. package/esm/generated-sdk/jobs/client.d.ts +6 -4
  48. package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
  49. package/esm/generated-sdk/jobs/contract.d.ts +14 -1
  50. package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
  51. package/esm/generated-sdk/jobs/contract.js +268 -1
  52. package/esm/generated-sdk/jobs/owned_api.d.ts +13 -0
  53. package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  54. package/esm/generated-sdk/jobs/owned_api.js +20 -1
  55. package/esm/generated-sdk/jobs/schemas.d.ts +437 -0
  56. package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
  57. package/esm/generated-sdk/jobs/schemas.js +211 -0
  58. package/esm/generated-sdk/jobs/types.d.ts +123 -1
  59. package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
  60. package/esm/generated-sdk/jobs/types.js +1 -1
  61. package/esm/generated-sdk/state/client.d.ts +4 -4
  62. package/esm/generated-sdk/state/client.d.ts.map +1 -1
  63. package/esm/generated-sdk/trellis-core/api.d.ts +4 -1
  64. package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
  65. package/esm/generated-sdk/trellis-core/api.js +6 -1
  66. package/esm/generated-sdk/trellis-core/client.d.ts +28 -3
  67. package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
  68. package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
  69. package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  70. package/esm/generated-sdk/trellis-core/contract.js +91 -1
  71. package/esm/generated-sdk/trellis-core/schemas.d.ts +113 -0
  72. package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  73. package/esm/generated-sdk/trellis-core/schemas.js +81 -0
  74. package/esm/generated-sdk/trellis-core/types.d.ts +23 -1
  75. package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
  76. package/esm/generated-sdk/trellis-core/types.js +1 -1
  77. package/esm/health.d.ts +1 -1
  78. package/esm/health.d.ts.map +1 -1
  79. package/esm/health.js +1 -1
  80. package/esm/index.d.ts +2 -2
  81. package/esm/index.d.ts.map +1 -1
  82. package/esm/index.js +1 -1
  83. package/esm/jobs.d.ts +69 -3
  84. package/esm/jobs.d.ts.map +1 -1
  85. package/esm/jobs.js +92 -3
  86. package/esm/server/health.d.ts +2 -6
  87. package/esm/server/health.d.ts.map +1 -1
  88. package/esm/server/health_schemas.d.ts +0 -8
  89. package/esm/server/health_schemas.d.ts.map +1 -1
  90. package/esm/server/health_schemas.js +0 -5
  91. package/esm/server/internal_jobs/bindings.d.ts +11 -0
  92. package/esm/server/internal_jobs/bindings.d.ts.map +1 -1
  93. package/esm/server/internal_jobs/job-manager.d.ts +44 -1
  94. package/esm/server/internal_jobs/job-manager.d.ts.map +1 -1
  95. package/esm/server/internal_jobs/job-manager.js +361 -51
  96. package/esm/server/internal_jobs/key-coordinator.d.ts +260 -0
  97. package/esm/server/internal_jobs/key-coordinator.d.ts.map +1 -0
  98. package/esm/server/internal_jobs/key-coordinator.js +580 -0
  99. package/esm/server/internal_jobs/projection.d.ts.map +1 -1
  100. package/esm/server/internal_jobs/projection.js +2 -0
  101. package/esm/server/internal_jobs/runtime-worker.d.ts +5 -1
  102. package/esm/server/internal_jobs/runtime-worker.d.ts.map +1 -1
  103. package/esm/server/internal_jobs/runtime-worker.js +14 -2
  104. package/esm/server/internal_jobs/types.d.ts +5 -5
  105. package/esm/server/internal_jobs/types.d.ts.map +1 -1
  106. package/esm/server/internal_jobs/types.js +6 -0
  107. package/esm/server/service.d.ts +8 -3
  108. package/esm/server/service.d.ts.map +1 -1
  109. package/esm/server/service.js +127 -6
  110. package/esm/service/drizzle.d.ts +27 -0
  111. package/esm/service/drizzle.d.ts.map +1 -0
  112. package/esm/service/drizzle.js +84 -0
  113. package/esm/service/mod.d.ts +1 -1
  114. package/esm/service/mod.d.ts.map +1 -1
  115. package/esm/service/mod.js +1 -1
  116. package/esm/service/outbox_inbox.d.ts.map +1 -1
  117. package/esm/service/outbox_inbox.js +13 -2
  118. package/esm/trellis.d.ts +24 -8
  119. package/esm/trellis.d.ts.map +1 -1
  120. package/esm/trellis.js +44 -22
  121. package/package.json +14 -2
  122. package/script/auth/mod.d.ts +1 -1
  123. package/script/auth/mod.d.ts.map +1 -1
  124. package/script/auth/mod.js +22 -6
  125. package/script/auth/protocol.d.ts +416 -398
  126. package/script/auth/protocol.d.ts.map +1 -1
  127. package/script/auth/protocol.js +40 -37
  128. package/script/codec.d.ts +1 -0
  129. package/script/codec.d.ts.map +1 -1
  130. package/script/codec.js +1 -0
  131. package/script/contract_support/canonical.d.ts +3 -0
  132. package/script/contract_support/canonical.d.ts.map +1 -1
  133. package/script/contract_support/canonical.js +3 -0
  134. package/script/contract_support/mod.d.ts +28 -4
  135. package/script/contract_support/mod.d.ts.map +1 -1
  136. package/script/contract_support/mod.js +90 -4
  137. package/script/contract_support/protocol.d.ts +92 -7
  138. package/script/contract_support/protocol.d.ts.map +1 -1
  139. package/script/contract_support/protocol.js +41 -7
  140. package/script/errors/index.d.ts +9 -9
  141. package/script/generated-sdk/auth/api.d.ts +4 -1
  142. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  143. package/script/generated-sdk/auth/api.js +6 -1
  144. package/script/generated-sdk/auth/client.d.ts +47 -32
  145. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  146. package/script/generated-sdk/auth/contract.d.ts +1 -1
  147. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  148. package/script/generated-sdk/auth/contract.js +1570 -1202
  149. package/script/generated-sdk/auth/schemas.d.ts +1757 -1759
  150. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  151. package/script/generated-sdk/auth/schemas.js +963 -768
  152. package/script/generated-sdk/auth/types.d.ts +292 -302
  153. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  154. package/script/generated-sdk/auth/types.js +1 -1
  155. package/script/generated-sdk/health/client.d.ts +4 -4
  156. package/script/generated-sdk/health/client.d.ts.map +1 -1
  157. package/script/generated-sdk/health/contract.d.ts +1 -1
  158. package/script/generated-sdk/health/contract.d.ts.map +1 -1
  159. package/script/generated-sdk/health/contract.js +2 -10
  160. package/script/generated-sdk/health/schemas.d.ts +1 -14
  161. package/script/generated-sdk/health/schemas.d.ts.map +1 -1
  162. package/script/generated-sdk/health/schemas.js +1 -9
  163. package/script/generated-sdk/health/types.d.ts +3 -5
  164. package/script/generated-sdk/health/types.d.ts.map +1 -1
  165. package/script/generated-sdk/health/types.js +1 -2
  166. package/script/generated-sdk/jobs/api.d.ts +13 -0
  167. package/script/generated-sdk/jobs/api.d.ts.map +1 -1
  168. package/script/generated-sdk/jobs/client.d.ts +6 -4
  169. package/script/generated-sdk/jobs/client.d.ts.map +1 -1
  170. package/script/generated-sdk/jobs/contract.d.ts +14 -1
  171. package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
  172. package/script/generated-sdk/jobs/contract.js +268 -1
  173. package/script/generated-sdk/jobs/owned_api.d.ts +13 -0
  174. package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
  175. package/script/generated-sdk/jobs/owned_api.js +19 -0
  176. package/script/generated-sdk/jobs/schemas.d.ts +437 -0
  177. package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
  178. package/script/generated-sdk/jobs/schemas.js +212 -1
  179. package/script/generated-sdk/jobs/types.d.ts +123 -1
  180. package/script/generated-sdk/jobs/types.d.ts.map +1 -1
  181. package/script/generated-sdk/jobs/types.js +1 -1
  182. package/script/generated-sdk/state/client.d.ts +4 -4
  183. package/script/generated-sdk/state/client.d.ts.map +1 -1
  184. package/script/generated-sdk/trellis-core/api.d.ts +4 -1
  185. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  186. package/script/generated-sdk/trellis-core/api.js +6 -1
  187. package/script/generated-sdk/trellis-core/client.d.ts +28 -3
  188. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  189. package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
  190. package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
  191. package/script/generated-sdk/trellis-core/contract.js +91 -1
  192. package/script/generated-sdk/trellis-core/schemas.d.ts +113 -0
  193. package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
  194. package/script/generated-sdk/trellis-core/schemas.js +81 -0
  195. package/script/generated-sdk/trellis-core/types.d.ts +23 -1
  196. package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
  197. package/script/generated-sdk/trellis-core/types.js +1 -1
  198. package/script/health.d.ts +1 -1
  199. package/script/health.d.ts.map +1 -1
  200. package/script/health.js +1 -2
  201. package/script/index.d.ts +2 -2
  202. package/script/index.d.ts.map +1 -1
  203. package/script/index.js +2 -3
  204. package/script/jobs.d.ts +69 -3
  205. package/script/jobs.d.ts.map +1 -1
  206. package/script/jobs.js +93 -3
  207. package/script/server/health.d.ts +2 -6
  208. package/script/server/health.d.ts.map +1 -1
  209. package/script/server/health_schemas.d.ts +0 -8
  210. package/script/server/health_schemas.d.ts.map +1 -1
  211. package/script/server/health_schemas.js +1 -6
  212. package/script/server/internal_jobs/bindings.d.ts +11 -0
  213. package/script/server/internal_jobs/bindings.d.ts.map +1 -1
  214. package/script/server/internal_jobs/job-manager.d.ts +44 -1
  215. package/script/server/internal_jobs/job-manager.d.ts.map +1 -1
  216. package/script/server/internal_jobs/job-manager.js +361 -51
  217. package/script/server/internal_jobs/key-coordinator.d.ts +260 -0
  218. package/script/server/internal_jobs/key-coordinator.d.ts.map +1 -0
  219. package/script/server/internal_jobs/key-coordinator.js +593 -0
  220. package/script/server/internal_jobs/projection.d.ts.map +1 -1
  221. package/script/server/internal_jobs/projection.js +2 -0
  222. package/script/server/internal_jobs/runtime-worker.d.ts +5 -1
  223. package/script/server/internal_jobs/runtime-worker.d.ts.map +1 -1
  224. package/script/server/internal_jobs/runtime-worker.js +14 -2
  225. package/script/server/internal_jobs/types.d.ts +5 -5
  226. package/script/server/internal_jobs/types.d.ts.map +1 -1
  227. package/script/server/internal_jobs/types.js +6 -0
  228. package/script/server/service.d.ts +8 -3
  229. package/script/server/service.d.ts.map +1 -1
  230. package/script/server/service.js +126 -5
  231. package/script/service/drizzle.d.ts +27 -0
  232. package/script/service/drizzle.d.ts.map +1 -0
  233. package/script/service/drizzle.js +88 -0
  234. package/script/service/mod.d.ts +1 -1
  235. package/script/service/mod.d.ts.map +1 -1
  236. package/script/service/mod.js +1 -2
  237. package/script/service/outbox_inbox.d.ts.map +1 -1
  238. package/script/service/outbox_inbox.js +13 -2
  239. package/script/trellis.d.ts +24 -8
  240. package/script/trellis.d.ts.map +1 -1
  241. package/script/trellis.js +44 -22
  242. package/src/auth/mod.ts +28 -2
  243. package/src/auth/protocol.ts +72 -37
  244. package/src/codec.ts +1 -0
  245. package/src/contract_support/canonical.ts +3 -0
  246. package/src/contract_support/mod.ts +158 -5
  247. package/src/contract_support/protocol.ts +56 -9
  248. package/src/health.ts +0 -1
  249. package/src/index.ts +2 -1
  250. package/src/jobs.ts +138 -1
  251. package/src/sdk/_generated/auth/api.ts +9 -2
  252. package/src/sdk/_generated/auth/client.ts +85 -78
  253. package/src/sdk/_generated/auth/contract.ts +1803 -1435
  254. package/src/sdk/_generated/auth/schemas.ts +1166 -971
  255. package/src/sdk/_generated/auth/types.ts +330 -314
  256. package/src/sdk/_generated/core/api.ts +9 -2
  257. package/src/sdk/_generated/core/client.ts +41 -2
  258. package/src/sdk/_generated/core/contract.ts +91 -1
  259. package/src/sdk/_generated/core/schemas.ts +81 -0
  260. package/src/sdk/_generated/core/types.ts +23 -1
  261. package/src/sdk/_generated/health/client.ts +6 -6
  262. package/src/sdk/_generated/health/contract.ts +2 -10
  263. package/src/sdk/_generated/health/schemas.ts +1 -9
  264. package/src/sdk/_generated/health/types.ts +6 -2
  265. package/src/sdk/_generated/jobs/client.ts +17 -6
  266. package/src/sdk/_generated/jobs/contract.ts +269 -1
  267. package/src/sdk/_generated/jobs/owned_api.ts +21 -0
  268. package/src/sdk/_generated/jobs/schemas.ts +213 -0
  269. package/src/sdk/_generated/jobs/types.ts +116 -1
  270. package/src/sdk/_generated/state/client.ts +6 -6
  271. package/src/server/health.ts +2 -6
  272. package/src/server/health_schemas.ts +0 -6
  273. package/src/server/internal_jobs/bindings.ts +11 -0
  274. package/src/server/internal_jobs/job-manager.ts +436 -16
  275. package/src/server/internal_jobs/key-coordinator.ts +955 -0
  276. package/src/server/internal_jobs/projection.ts +2 -0
  277. package/src/server/internal_jobs/runtime-worker.ts +17 -1
  278. package/src/server/internal_jobs/types.ts +6 -0
  279. package/src/server/service.ts +168 -9
  280. package/src/service/drizzle.ts +125 -0
  281. package/src/service/mod.ts +0 -1
  282. package/src/service/outbox_inbox.ts +16 -6
  283. package/src/trellis.ts +76 -27
@@ -234,29 +234,14 @@ export const AuthCatalogIssuesResolveResponseSchema = {
234
234
  } as const;
235
235
 
236
236
  export const AuthConnectionsClosedEventSchema = {
237
- "allOf": [{
238
- "properties": {
239
- "header": {
240
- "properties": {
241
- "id": { "type": "string" },
242
- "time": { "format": "date-time", "type": "string" },
243
- },
244
- "required": ["id", "time"],
245
- "type": "object",
246
- },
247
- },
248
- "required": ["header"],
249
- "type": "object",
250
- }, {
251
- "properties": {
252
- "id": { "type": "string" },
253
- "origin": { "type": "string" },
254
- "sessionKey": { "type": "string" },
255
- "userNkey": { "type": "string" },
256
- },
257
- "required": ["origin", "id", "sessionKey", "userNkey"],
258
- "type": "object",
259
- }],
237
+ "properties": {
238
+ "id": { "type": "string" },
239
+ "origin": { "type": "string" },
240
+ "sessionKey": { "type": "string" },
241
+ "userNkey": { "type": "string" },
242
+ },
243
+ "required": ["origin", "id", "sessionKey", "userNkey"],
244
+ "type": "object",
260
245
  } as const;
261
246
 
262
247
  export const AuthConnectionsKickRequestSchema = {
@@ -272,29 +257,14 @@ export const AuthConnectionsKickResponseSchema = {
272
257
  } as const;
273
258
 
274
259
  export const AuthConnectionsKickedEventSchema = {
275
- "allOf": [{
276
- "properties": {
277
- "header": {
278
- "properties": {
279
- "id": { "type": "string" },
280
- "time": { "format": "date-time", "type": "string" },
281
- },
282
- "required": ["id", "time"],
283
- "type": "object",
284
- },
285
- },
286
- "required": ["header"],
287
- "type": "object",
288
- }, {
289
- "properties": {
290
- "id": { "type": "string" },
291
- "kickedBy": { "type": "string" },
292
- "origin": { "type": "string" },
293
- "userNkey": { "type": "string" },
294
- },
295
- "required": ["origin", "id", "userNkey", "kickedBy"],
296
- "type": "object",
297
- }],
260
+ "properties": {
261
+ "id": { "type": "string" },
262
+ "kickedBy": { "type": "string" },
263
+ "origin": { "type": "string" },
264
+ "userNkey": { "type": "string" },
265
+ },
266
+ "required": ["origin", "id", "userNkey", "kickedBy"],
267
+ "type": "object",
298
268
  } as const;
299
269
 
300
270
  export const AuthConnectionsListRequestSchema = {
@@ -486,29 +456,14 @@ export const AuthConnectionsListResponseSchema = {
486
456
  } as const;
487
457
 
488
458
  export const AuthConnectionsOpenedEventSchema = {
489
- "allOf": [{
490
- "properties": {
491
- "header": {
492
- "properties": {
493
- "id": { "type": "string" },
494
- "time": { "format": "date-time", "type": "string" },
495
- },
496
- "required": ["id", "time"],
497
- "type": "object",
498
- },
499
- },
500
- "required": ["header"],
501
- "type": "object",
502
- }, {
503
- "properties": {
504
- "id": { "type": "string" },
505
- "origin": { "type": "string" },
506
- "sessionKey": { "type": "string" },
507
- "userNkey": { "type": "string" },
508
- },
509
- "required": ["origin", "id", "sessionKey", "userNkey"],
510
- "type": "object",
511
- }],
459
+ "properties": {
460
+ "id": { "type": "string" },
461
+ "origin": { "type": "string" },
462
+ "sessionKey": { "type": "string" },
463
+ "userNkey": { "type": "string" },
464
+ },
465
+ "required": ["origin", "id", "sessionKey", "userNkey"],
466
+ "type": "object",
512
467
  } as const;
513
468
 
514
469
  export const AuthDeploymentAuthorityAcceptMigrationRequestSchema = {
@@ -534,83 +489,87 @@ export const AuthDeploymentAuthorityAcceptResponseSchema = {
534
489
  "type": "array",
535
490
  },
536
491
  "needs": {
537
- "items": {
538
- "anyOf": [{
539
- "properties": {
540
- "contractId": { "minLength": 1, "type": "string" },
541
- "kind": { "const": "contract", "type": "string" },
542
- "required": { "type": "boolean" },
492
+ "properties": {
493
+ "capabilities": {
494
+ "items": {
495
+ "properties": {
496
+ "capability": { "minLength": 1, "type": "string" },
497
+ "required": { "type": "boolean" },
498
+ },
499
+ "required": ["capability", "required"],
500
+ "type": "object",
543
501
  },
544
- "required": ["kind", "contractId", "required"],
545
- "type": "object",
546
- }, {
547
- "properties": {
548
- "kind": { "const": "surface", "type": "string" },
549
- "required": { "type": "boolean" },
550
- "surface": {
551
- "properties": {
552
- "action": {
553
- "anyOf": [
554
- { "const": "call", "type": "string" },
555
- { "const": "publish", "type": "string" },
556
- { "const": "subscribe", "type": "string" },
557
- { "const": "observe", "type": "string" },
558
- { "const": "cancel", "type": "string" },
559
- ],
560
- },
561
- "contractId": { "minLength": 1, "type": "string" },
562
- "kind": {
563
- "anyOf": [
564
- { "const": "rpc", "type": "string" },
565
- { "const": "operation", "type": "string" },
566
- { "const": "event", "type": "string" },
567
- { "const": "feed", "type": "string" },
568
- ],
569
- },
570
- "name": { "minLength": 1, "type": "string" },
571
- },
572
- "required": ["contractId", "kind", "name"],
573
- "type": "object",
502
+ "type": "array",
503
+ },
504
+ "contracts": {
505
+ "items": {
506
+ "properties": {
507
+ "contractId": { "minLength": 1, "type": "string" },
508
+ "required": { "type": "boolean" },
574
509
  },
510
+ "required": ["contractId", "required"],
511
+ "type": "object",
575
512
  },
576
- "required": ["kind", "surface", "required"],
577
- "type": "object",
578
- }, {
579
- "properties": {
580
- "capability": { "minLength": 1, "type": "string" },
581
- "kind": { "const": "capability", "type": "string" },
582
- "required": { "type": "boolean" },
513
+ "type": "array",
514
+ },
515
+ "resources": {
516
+ "items": {
517
+ "properties": {
518
+ "alias": { "minLength": 1, "type": "string" },
519
+ "definition": { "type": "object" },
520
+ "kind": {
521
+ "anyOf": [
522
+ { "const": "kv", "type": "string" },
523
+ { "const": "store", "type": "string" },
524
+ { "const": "jobs", "type": "string" },
525
+ { "const": "event-consumer", "type": "string" },
526
+ { "const": "transfer", "type": "string" },
527
+ ],
528
+ },
529
+ "required": { "type": "boolean" },
530
+ },
531
+ "required": ["kind", "alias", "required"],
532
+ "type": "object",
583
533
  },
584
- "required": ["kind", "capability", "required"],
585
- "type": "object",
586
- }, {
587
- "properties": {
588
- "kind": { "const": "resource", "type": "string" },
589
- "required": { "type": "boolean" },
590
- "resource": {
591
- "properties": {
592
- "alias": { "minLength": 1, "type": "string" },
593
- "definition": { "type": "object" },
594
- "kind": {
595
- "anyOf": [
596
- { "const": "kv", "type": "string" },
597
- { "const": "store", "type": "string" },
598
- { "const": "jobs", "type": "string" },
599
- { "const": "event-consumer", "type": "string" },
600
- { "const": "transfer", "type": "string" },
601
- ],
602
- },
603
- "required": { "type": "boolean" },
534
+ "type": "array",
535
+ },
536
+ "surfaces": {
537
+ "items": {
538
+ "properties": {
539
+ "action": {
540
+ "anyOf": [
541
+ { "const": "call", "type": "string" },
542
+ { "const": "publish", "type": "string" },
543
+ { "const": "subscribe", "type": "string" },
544
+ { "const": "observe", "type": "string" },
545
+ { "const": "cancel", "type": "string" },
546
+ ],
604
547
  },
605
- "required": ["kind", "alias", "required"],
606
- "type": "object",
548
+ "contractId": { "minLength": 1, "type": "string" },
549
+ "kind": {
550
+ "anyOf": [
551
+ { "const": "rpc", "type": "string" },
552
+ { "const": "operation", "type": "string" },
553
+ { "const": "event", "type": "string" },
554
+ { "const": "feed", "type": "string" },
555
+ ],
556
+ },
557
+ "name": { "minLength": 1, "type": "string" },
558
+ "required": { "type": "boolean" },
607
559
  },
560
+ "required": ["contractId", "kind", "name", "required"],
561
+ "type": "object",
608
562
  },
609
- "required": ["kind", "resource", "required"],
610
- "type": "object",
611
- }],
563
+ "type": "array",
564
+ },
612
565
  },
613
- "type": "array",
566
+ "required": [
567
+ "contracts",
568
+ "surfaces",
569
+ "capabilities",
570
+ "resources",
571
+ ],
572
+ "type": "object",
614
573
  },
615
574
  "resources": {
616
575
  "items": {
@@ -723,96 +682,100 @@ export const AuthDeploymentAuthorityGetResponseSchema = {
723
682
  "type": "array",
724
683
  },
725
684
  "needs": {
726
- "items": {
727
- "anyOf": [{
728
- "properties": {
729
- "contractId": { "minLength": 1, "type": "string" },
730
- "kind": { "const": "contract", "type": "string" },
731
- "required": { "type": "boolean" },
732
- },
733
- "required": ["kind", "contractId", "required"],
734
- "type": "object",
735
- }, {
736
- "properties": {
737
- "kind": { "const": "surface", "type": "string" },
738
- "required": { "type": "boolean" },
739
- "surface": {
740
- "properties": {
741
- "action": {
742
- "anyOf": [
743
- { "const": "call", "type": "string" },
744
- { "const": "publish", "type": "string" },
745
- { "const": "subscribe", "type": "string" },
746
- { "const": "observe", "type": "string" },
747
- { "const": "cancel", "type": "string" },
748
- ],
749
- },
750
- "contractId": { "minLength": 1, "type": "string" },
751
- "kind": {
752
- "anyOf": [
753
- { "const": "rpc", "type": "string" },
754
- { "const": "operation", "type": "string" },
755
- { "const": "event", "type": "string" },
756
- { "const": "feed", "type": "string" },
757
- ],
758
- },
759
- "name": { "minLength": 1, "type": "string" },
760
- },
761
- "required": ["contractId", "kind", "name"],
762
- "type": "object",
685
+ "properties": {
686
+ "capabilities": {
687
+ "items": {
688
+ "properties": {
689
+ "capability": { "minLength": 1, "type": "string" },
690
+ "required": { "type": "boolean" },
763
691
  },
692
+ "required": ["capability", "required"],
693
+ "type": "object",
764
694
  },
765
- "required": ["kind", "surface", "required"],
766
- "type": "object",
767
- }, {
768
- "properties": {
769
- "capability": { "minLength": 1, "type": "string" },
770
- "kind": { "const": "capability", "type": "string" },
771
- "required": { "type": "boolean" },
695
+ "type": "array",
696
+ },
697
+ "contracts": {
698
+ "items": {
699
+ "properties": {
700
+ "contractId": { "minLength": 1, "type": "string" },
701
+ "required": { "type": "boolean" },
702
+ },
703
+ "required": ["contractId", "required"],
704
+ "type": "object",
772
705
  },
773
- "required": ["kind", "capability", "required"],
774
- "type": "object",
775
- }, {
776
- "properties": {
777
- "kind": { "const": "resource", "type": "string" },
778
- "required": { "type": "boolean" },
779
- "resource": {
780
- "properties": {
781
- "alias": { "minLength": 1, "type": "string" },
782
- "definition": { "type": "object" },
783
- "kind": {
784
- "anyOf": [
785
- { "const": "kv", "type": "string" },
786
- { "const": "store", "type": "string" },
787
- { "const": "jobs", "type": "string" },
788
- { "const": "event-consumer", "type": "string" },
789
- { "const": "transfer", "type": "string" },
790
- ],
791
- },
792
- "required": { "type": "boolean" },
706
+ "type": "array",
707
+ },
708
+ "resources": {
709
+ "items": {
710
+ "properties": {
711
+ "alias": { "minLength": 1, "type": "string" },
712
+ "definition": { "type": "object" },
713
+ "kind": {
714
+ "anyOf": [
715
+ { "const": "kv", "type": "string" },
716
+ { "const": "store", "type": "string" },
717
+ { "const": "jobs", "type": "string" },
718
+ { "const": "event-consumer", "type": "string" },
719
+ { "const": "transfer", "type": "string" },
720
+ ],
793
721
  },
794
- "required": ["kind", "alias", "required"],
795
- "type": "object",
722
+ "required": { "type": "boolean" },
796
723
  },
724
+ "required": ["kind", "alias", "required"],
725
+ "type": "object",
797
726
  },
798
- "required": ["kind", "resource", "required"],
799
- "type": "object",
800
- }],
801
- },
802
- "type": "array",
803
- },
804
- "resources": {
805
- "items": {
806
- "properties": {
807
- "alias": { "minLength": 1, "type": "string" },
808
- "definition": { "type": "object" },
809
- "kind": {
810
- "anyOf": [
811
- { "const": "kv", "type": "string" },
812
- { "const": "store", "type": "string" },
813
- { "const": "jobs", "type": "string" },
814
- { "const": "event-consumer", "type": "string" },
815
- { "const": "transfer", "type": "string" },
727
+ "type": "array",
728
+ },
729
+ "surfaces": {
730
+ "items": {
731
+ "properties": {
732
+ "action": {
733
+ "anyOf": [
734
+ { "const": "call", "type": "string" },
735
+ { "const": "publish", "type": "string" },
736
+ { "const": "subscribe", "type": "string" },
737
+ { "const": "observe", "type": "string" },
738
+ { "const": "cancel", "type": "string" },
739
+ ],
740
+ },
741
+ "contractId": { "minLength": 1, "type": "string" },
742
+ "kind": {
743
+ "anyOf": [
744
+ { "const": "rpc", "type": "string" },
745
+ { "const": "operation", "type": "string" },
746
+ { "const": "event", "type": "string" },
747
+ { "const": "feed", "type": "string" },
748
+ ],
749
+ },
750
+ "name": { "minLength": 1, "type": "string" },
751
+ "required": { "type": "boolean" },
752
+ },
753
+ "required": ["contractId", "kind", "name", "required"],
754
+ "type": "object",
755
+ },
756
+ "type": "array",
757
+ },
758
+ },
759
+ "required": [
760
+ "contracts",
761
+ "surfaces",
762
+ "capabilities",
763
+ "resources",
764
+ ],
765
+ "type": "object",
766
+ },
767
+ "resources": {
768
+ "items": {
769
+ "properties": {
770
+ "alias": { "minLength": 1, "type": "string" },
771
+ "definition": { "type": "object" },
772
+ "kind": {
773
+ "anyOf": [
774
+ { "const": "kv", "type": "string" },
775
+ { "const": "store", "type": "string" },
776
+ { "const": "jobs", "type": "string" },
777
+ { "const": "event-consumer", "type": "string" },
778
+ { "const": "transfer", "type": "string" },
816
779
  ],
817
780
  },
818
781
  "required": { "type": "boolean" },
@@ -980,99 +943,107 @@ export const AuthDeploymentAuthorityGetResponseSchema = {
980
943
  "desiredVersion": { "minLength": 1, "type": "string" },
981
944
  "error": { "minLength": 1, "type": "string" },
982
945
  "grants": {
983
- "items": {
984
- "anyOf": [{
985
- "properties": {
986
- "capability": { "minLength": 1, "type": "string" },
987
- "kind": { "const": "capability", "type": "string" },
988
- },
989
- "required": ["kind", "capability"],
990
- "type": "object",
991
- }, {
992
- "properties": {
993
- "action": {
994
- "anyOf": [
995
- { "const": "call", "type": "string" },
996
- { "const": "publish", "type": "string" },
997
- { "const": "subscribe", "type": "string" },
998
- { "const": "observe", "type": "string" },
999
- { "const": "cancel", "type": "string" },
1000
- ],
1001
- },
1002
- "contractId": { "minLength": 1, "type": "string" },
1003
- "kind": { "const": "surface", "type": "string" },
1004
- "name": { "minLength": 1, "type": "string" },
1005
- "surfaceKind": {
1006
- "anyOf": [
1007
- { "const": "rpc", "type": "string" },
1008
- { "const": "operation", "type": "string" },
1009
- { "const": "event", "type": "string" },
1010
- { "const": "feed", "type": "string" },
1011
- ],
946
+ "properties": {
947
+ "capabilities": {
948
+ "items": {
949
+ "properties": {
950
+ "capability": { "minLength": 1, "type": "string" },
1012
951
  },
952
+ "required": ["capability"],
953
+ "type": "object",
1013
954
  },
1014
- "required": ["kind", "contractId", "surfaceKind", "name"],
1015
- "type": "object",
1016
- }, {
1017
- "properties": {
1018
- "direction": {
1019
- "anyOf": [{ "const": "publish", "type": "string" }, {
1020
- "const": "subscribe",
1021
- "type": "string",
1022
- }],
1023
- },
1024
- "grantSource": {
1025
- "anyOf": [
1026
- { "const": "owned-surface", "type": "string" },
1027
- { "const": "used-surface", "type": "string" },
1028
- { "const": "resource-binding", "type": "string" },
1029
- { "const": "platform-service", "type": "string" },
1030
- { "const": "transfer", "type": "string" },
1031
- ],
1032
- },
1033
- "kind": { "const": "nats", "type": "string" },
1034
- "requiredCapabilities": {
1035
- "items": { "minLength": 1, "type": "string" },
1036
- "type": "array",
1037
- },
1038
- "subject": { "minLength": 1, "type": "string" },
1039
- "surface": {
1040
- "properties": {
1041
- "action": {
1042
- "anyOf": [
1043
- { "const": "call", "type": "string" },
1044
- { "const": "publish", "type": "string" },
1045
- { "const": "subscribe", "type": "string" },
1046
- { "const": "observe", "type": "string" },
1047
- { "const": "cancel", "type": "string" },
1048
- ],
1049
- },
1050
- "contractId": { "minLength": 1, "type": "string" },
1051
- "kind": {
1052
- "anyOf": [
1053
- { "const": "rpc", "type": "string" },
1054
- { "const": "operation", "type": "string" },
1055
- { "const": "event", "type": "string" },
1056
- { "const": "feed", "type": "string" },
1057
- ],
955
+ "type": "array",
956
+ },
957
+ "nats": {
958
+ "items": {
959
+ "properties": {
960
+ "direction": {
961
+ "anyOf": [{ "const": "publish", "type": "string" }, {
962
+ "const": "subscribe",
963
+ "type": "string",
964
+ }],
965
+ },
966
+ "grantSource": {
967
+ "anyOf": [
968
+ { "const": "owned-surface", "type": "string" },
969
+ { "const": "used-surface", "type": "string" },
970
+ { "const": "resource-binding", "type": "string" },
971
+ { "const": "platform-service", "type": "string" },
972
+ { "const": "transfer", "type": "string" },
973
+ ],
974
+ },
975
+ "requiredCapabilities": {
976
+ "items": { "minLength": 1, "type": "string" },
977
+ "type": "array",
978
+ },
979
+ "subject": { "minLength": 1, "type": "string" },
980
+ "surface": {
981
+ "properties": {
982
+ "action": {
983
+ "anyOf": [
984
+ { "const": "call", "type": "string" },
985
+ { "const": "publish", "type": "string" },
986
+ { "const": "subscribe", "type": "string" },
987
+ { "const": "observe", "type": "string" },
988
+ { "const": "cancel", "type": "string" },
989
+ ],
990
+ },
991
+ "contractId": { "minLength": 1, "type": "string" },
992
+ "kind": {
993
+ "anyOf": [
994
+ { "const": "rpc", "type": "string" },
995
+ { "const": "operation", "type": "string" },
996
+ { "const": "event", "type": "string" },
997
+ { "const": "feed", "type": "string" },
998
+ ],
999
+ },
1000
+ "name": { "minLength": 1, "type": "string" },
1058
1001
  },
1059
- "name": { "minLength": 1, "type": "string" },
1002
+ "required": ["contractId", "kind", "name"],
1003
+ "type": "object",
1060
1004
  },
1061
- "required": ["contractId", "kind", "name"],
1062
- "type": "object",
1063
1005
  },
1006
+ "required": [
1007
+ "direction",
1008
+ "subject",
1009
+ "requiredCapabilities",
1010
+ "grantSource",
1011
+ ],
1012
+ "type": "object",
1064
1013
  },
1065
- "required": [
1066
- "kind",
1067
- "direction",
1068
- "subject",
1069
- "requiredCapabilities",
1070
- "grantSource",
1071
- ],
1072
- "type": "object",
1073
- }],
1014
+ "type": "array",
1015
+ },
1016
+ "surfaces": {
1017
+ "items": {
1018
+ "properties": {
1019
+ "action": {
1020
+ "anyOf": [
1021
+ { "const": "call", "type": "string" },
1022
+ { "const": "publish", "type": "string" },
1023
+ { "const": "subscribe", "type": "string" },
1024
+ { "const": "observe", "type": "string" },
1025
+ { "const": "cancel", "type": "string" },
1026
+ ],
1027
+ },
1028
+ "contractId": { "minLength": 1, "type": "string" },
1029
+ "name": { "minLength": 1, "type": "string" },
1030
+ "surfaceKind": {
1031
+ "anyOf": [
1032
+ { "const": "rpc", "type": "string" },
1033
+ { "const": "operation", "type": "string" },
1034
+ { "const": "event", "type": "string" },
1035
+ { "const": "feed", "type": "string" },
1036
+ ],
1037
+ },
1038
+ },
1039
+ "required": ["contractId", "surfaceKind", "name"],
1040
+ "type": "object",
1041
+ },
1042
+ "type": "array",
1043
+ },
1074
1044
  },
1075
- "type": "array",
1045
+ "required": ["capabilities", "surfaces", "nats"],
1046
+ "type": "object",
1076
1047
  },
1077
1048
  "reconciledAt": {
1078
1049
  "anyOf": [{ "format": "date-time", "type": "string" }, {
@@ -1626,83 +1597,87 @@ export const AuthDeploymentAuthorityListResponseSchema = {
1626
1597
  "type": "array",
1627
1598
  },
1628
1599
  "needs": {
1629
- "items": {
1630
- "anyOf": [{
1631
- "properties": {
1632
- "contractId": { "minLength": 1, "type": "string" },
1633
- "kind": { "const": "contract", "type": "string" },
1634
- "required": { "type": "boolean" },
1635
- },
1636
- "required": ["kind", "contractId", "required"],
1637
- "type": "object",
1638
- }, {
1639
- "properties": {
1640
- "kind": { "const": "surface", "type": "string" },
1641
- "required": { "type": "boolean" },
1642
- "surface": {
1643
- "properties": {
1644
- "action": {
1645
- "anyOf": [
1646
- { "const": "call", "type": "string" },
1647
- { "const": "publish", "type": "string" },
1648
- { "const": "subscribe", "type": "string" },
1649
- { "const": "observe", "type": "string" },
1650
- { "const": "cancel", "type": "string" },
1651
- ],
1652
- },
1653
- "contractId": { "minLength": 1, "type": "string" },
1654
- "kind": {
1655
- "anyOf": [
1656
- { "const": "rpc", "type": "string" },
1657
- { "const": "operation", "type": "string" },
1658
- { "const": "event", "type": "string" },
1659
- { "const": "feed", "type": "string" },
1660
- ],
1661
- },
1662
- "name": { "minLength": 1, "type": "string" },
1663
- },
1664
- "required": ["contractId", "kind", "name"],
1665
- "type": "object",
1600
+ "properties": {
1601
+ "capabilities": {
1602
+ "items": {
1603
+ "properties": {
1604
+ "capability": { "minLength": 1, "type": "string" },
1605
+ "required": { "type": "boolean" },
1666
1606
  },
1607
+ "required": ["capability", "required"],
1608
+ "type": "object",
1667
1609
  },
1668
- "required": ["kind", "surface", "required"],
1669
- "type": "object",
1670
- }, {
1671
- "properties": {
1672
- "capability": { "minLength": 1, "type": "string" },
1673
- "kind": { "const": "capability", "type": "string" },
1674
- "required": { "type": "boolean" },
1610
+ "type": "array",
1611
+ },
1612
+ "contracts": {
1613
+ "items": {
1614
+ "properties": {
1615
+ "contractId": { "minLength": 1, "type": "string" },
1616
+ "required": { "type": "boolean" },
1617
+ },
1618
+ "required": ["contractId", "required"],
1619
+ "type": "object",
1675
1620
  },
1676
- "required": ["kind", "capability", "required"],
1677
- "type": "object",
1678
- }, {
1679
- "properties": {
1680
- "kind": { "const": "resource", "type": "string" },
1681
- "required": { "type": "boolean" },
1682
- "resource": {
1683
- "properties": {
1684
- "alias": { "minLength": 1, "type": "string" },
1685
- "definition": { "type": "object" },
1686
- "kind": {
1687
- "anyOf": [
1688
- { "const": "kv", "type": "string" },
1689
- { "const": "store", "type": "string" },
1690
- { "const": "jobs", "type": "string" },
1691
- { "const": "event-consumer", "type": "string" },
1692
- { "const": "transfer", "type": "string" },
1693
- ],
1694
- },
1695
- "required": { "type": "boolean" },
1621
+ "type": "array",
1622
+ },
1623
+ "resources": {
1624
+ "items": {
1625
+ "properties": {
1626
+ "alias": { "minLength": 1, "type": "string" },
1627
+ "definition": { "type": "object" },
1628
+ "kind": {
1629
+ "anyOf": [
1630
+ { "const": "kv", "type": "string" },
1631
+ { "const": "store", "type": "string" },
1632
+ { "const": "jobs", "type": "string" },
1633
+ { "const": "event-consumer", "type": "string" },
1634
+ { "const": "transfer", "type": "string" },
1635
+ ],
1696
1636
  },
1697
- "required": ["kind", "alias", "required"],
1698
- "type": "object",
1637
+ "required": { "type": "boolean" },
1699
1638
  },
1639
+ "required": ["kind", "alias", "required"],
1640
+ "type": "object",
1700
1641
  },
1701
- "required": ["kind", "resource", "required"],
1702
- "type": "object",
1703
- }],
1642
+ "type": "array",
1643
+ },
1644
+ "surfaces": {
1645
+ "items": {
1646
+ "properties": {
1647
+ "action": {
1648
+ "anyOf": [
1649
+ { "const": "call", "type": "string" },
1650
+ { "const": "publish", "type": "string" },
1651
+ { "const": "subscribe", "type": "string" },
1652
+ { "const": "observe", "type": "string" },
1653
+ { "const": "cancel", "type": "string" },
1654
+ ],
1655
+ },
1656
+ "contractId": { "minLength": 1, "type": "string" },
1657
+ "kind": {
1658
+ "anyOf": [
1659
+ { "const": "rpc", "type": "string" },
1660
+ { "const": "operation", "type": "string" },
1661
+ { "const": "event", "type": "string" },
1662
+ { "const": "feed", "type": "string" },
1663
+ ],
1664
+ },
1665
+ "name": { "minLength": 1, "type": "string" },
1666
+ "required": { "type": "boolean" },
1667
+ },
1668
+ "required": ["contractId", "kind", "name", "required"],
1669
+ "type": "object",
1670
+ },
1671
+ "type": "array",
1672
+ },
1704
1673
  },
1705
- "type": "array",
1674
+ "required": [
1675
+ "contracts",
1676
+ "surfaces",
1677
+ "capabilities",
1678
+ "resources",
1679
+ ],
1680
+ "type": "object",
1706
1681
  },
1707
1682
  "resources": {
1708
1683
  "items": {
@@ -1867,83 +1842,87 @@ export const AuthDeploymentAuthorityPlanResponseSchema = {
1867
1842
  "type": "array",
1868
1843
  },
1869
1844
  "requestedNeeds": {
1870
- "items": {
1871
- "anyOf": [{
1872
- "properties": {
1873
- "contractId": { "minLength": 1, "type": "string" },
1874
- "kind": { "const": "contract", "type": "string" },
1875
- "required": { "type": "boolean" },
1845
+ "properties": {
1846
+ "capabilities": {
1847
+ "items": {
1848
+ "properties": {
1849
+ "capability": { "minLength": 1, "type": "string" },
1850
+ "required": { "type": "boolean" },
1851
+ },
1852
+ "required": ["capability", "required"],
1853
+ "type": "object",
1876
1854
  },
1877
- "required": ["kind", "contractId", "required"],
1878
- "type": "object",
1879
- }, {
1880
- "properties": {
1881
- "kind": { "const": "surface", "type": "string" },
1882
- "required": { "type": "boolean" },
1883
- "surface": {
1884
- "properties": {
1885
- "action": {
1886
- "anyOf": [
1887
- { "const": "call", "type": "string" },
1888
- { "const": "publish", "type": "string" },
1889
- { "const": "subscribe", "type": "string" },
1890
- { "const": "observe", "type": "string" },
1891
- { "const": "cancel", "type": "string" },
1892
- ],
1893
- },
1894
- "contractId": { "minLength": 1, "type": "string" },
1895
- "kind": {
1896
- "anyOf": [
1897
- { "const": "rpc", "type": "string" },
1898
- { "const": "operation", "type": "string" },
1899
- { "const": "event", "type": "string" },
1900
- { "const": "feed", "type": "string" },
1901
- ],
1902
- },
1903
- "name": { "minLength": 1, "type": "string" },
1904
- },
1905
- "required": ["contractId", "kind", "name"],
1906
- "type": "object",
1855
+ "type": "array",
1856
+ },
1857
+ "contracts": {
1858
+ "items": {
1859
+ "properties": {
1860
+ "contractId": { "minLength": 1, "type": "string" },
1861
+ "required": { "type": "boolean" },
1907
1862
  },
1863
+ "required": ["contractId", "required"],
1864
+ "type": "object",
1908
1865
  },
1909
- "required": ["kind", "surface", "required"],
1910
- "type": "object",
1911
- }, {
1912
- "properties": {
1913
- "capability": { "minLength": 1, "type": "string" },
1914
- "kind": { "const": "capability", "type": "string" },
1915
- "required": { "type": "boolean" },
1866
+ "type": "array",
1867
+ },
1868
+ "resources": {
1869
+ "items": {
1870
+ "properties": {
1871
+ "alias": { "minLength": 1, "type": "string" },
1872
+ "definition": { "type": "object" },
1873
+ "kind": {
1874
+ "anyOf": [
1875
+ { "const": "kv", "type": "string" },
1876
+ { "const": "store", "type": "string" },
1877
+ { "const": "jobs", "type": "string" },
1878
+ { "const": "event-consumer", "type": "string" },
1879
+ { "const": "transfer", "type": "string" },
1880
+ ],
1881
+ },
1882
+ "required": { "type": "boolean" },
1883
+ },
1884
+ "required": ["kind", "alias", "required"],
1885
+ "type": "object",
1916
1886
  },
1917
- "required": ["kind", "capability", "required"],
1918
- "type": "object",
1919
- }, {
1920
- "properties": {
1921
- "kind": { "const": "resource", "type": "string" },
1922
- "required": { "type": "boolean" },
1923
- "resource": {
1924
- "properties": {
1925
- "alias": { "minLength": 1, "type": "string" },
1926
- "definition": { "type": "object" },
1927
- "kind": {
1928
- "anyOf": [
1929
- { "const": "kv", "type": "string" },
1930
- { "const": "store", "type": "string" },
1931
- { "const": "jobs", "type": "string" },
1932
- { "const": "event-consumer", "type": "string" },
1933
- { "const": "transfer", "type": "string" },
1934
- ],
1935
- },
1936
- "required": { "type": "boolean" },
1887
+ "type": "array",
1888
+ },
1889
+ "surfaces": {
1890
+ "items": {
1891
+ "properties": {
1892
+ "action": {
1893
+ "anyOf": [
1894
+ { "const": "call", "type": "string" },
1895
+ { "const": "publish", "type": "string" },
1896
+ { "const": "subscribe", "type": "string" },
1897
+ { "const": "observe", "type": "string" },
1898
+ { "const": "cancel", "type": "string" },
1899
+ ],
1937
1900
  },
1938
- "required": ["kind", "alias", "required"],
1939
- "type": "object",
1901
+ "contractId": { "minLength": 1, "type": "string" },
1902
+ "kind": {
1903
+ "anyOf": [
1904
+ { "const": "rpc", "type": "string" },
1905
+ { "const": "operation", "type": "string" },
1906
+ { "const": "event", "type": "string" },
1907
+ { "const": "feed", "type": "string" },
1908
+ ],
1909
+ },
1910
+ "name": { "minLength": 1, "type": "string" },
1911
+ "required": { "type": "boolean" },
1940
1912
  },
1913
+ "required": ["contractId", "kind", "name", "required"],
1914
+ "type": "object",
1941
1915
  },
1942
- "required": ["kind", "resource", "required"],
1943
- "type": "object",
1944
- }],
1916
+ "type": "array",
1917
+ },
1945
1918
  },
1946
- "type": "array",
1919
+ "required": [
1920
+ "contracts",
1921
+ "surfaces",
1922
+ "capabilities",
1923
+ "resources",
1924
+ ],
1925
+ "type": "object",
1947
1926
  },
1948
1927
  "summary": { "type": "object" },
1949
1928
  },
@@ -2043,83 +2022,87 @@ export const AuthDeploymentAuthorityPlanResponseSchema = {
2043
2022
  "type": "array",
2044
2023
  },
2045
2024
  "requestedNeeds": {
2046
- "items": {
2047
- "anyOf": [{
2048
- "properties": {
2049
- "contractId": { "minLength": 1, "type": "string" },
2050
- "kind": { "const": "contract", "type": "string" },
2051
- "required": { "type": "boolean" },
2025
+ "properties": {
2026
+ "capabilities": {
2027
+ "items": {
2028
+ "properties": {
2029
+ "capability": { "minLength": 1, "type": "string" },
2030
+ "required": { "type": "boolean" },
2031
+ },
2032
+ "required": ["capability", "required"],
2033
+ "type": "object",
2052
2034
  },
2053
- "required": ["kind", "contractId", "required"],
2054
- "type": "object",
2055
- }, {
2056
- "properties": {
2057
- "kind": { "const": "surface", "type": "string" },
2058
- "required": { "type": "boolean" },
2059
- "surface": {
2060
- "properties": {
2061
- "action": {
2062
- "anyOf": [
2063
- { "const": "call", "type": "string" },
2064
- { "const": "publish", "type": "string" },
2065
- { "const": "subscribe", "type": "string" },
2066
- { "const": "observe", "type": "string" },
2067
- { "const": "cancel", "type": "string" },
2068
- ],
2069
- },
2070
- "contractId": { "minLength": 1, "type": "string" },
2071
- "kind": {
2072
- "anyOf": [
2073
- { "const": "rpc", "type": "string" },
2074
- { "const": "operation", "type": "string" },
2075
- { "const": "event", "type": "string" },
2076
- { "const": "feed", "type": "string" },
2077
- ],
2078
- },
2079
- "name": { "minLength": 1, "type": "string" },
2080
- },
2081
- "required": ["contractId", "kind", "name"],
2082
- "type": "object",
2035
+ "type": "array",
2036
+ },
2037
+ "contracts": {
2038
+ "items": {
2039
+ "properties": {
2040
+ "contractId": { "minLength": 1, "type": "string" },
2041
+ "required": { "type": "boolean" },
2083
2042
  },
2043
+ "required": ["contractId", "required"],
2044
+ "type": "object",
2084
2045
  },
2085
- "required": ["kind", "surface", "required"],
2086
- "type": "object",
2087
- }, {
2088
- "properties": {
2089
- "capability": { "minLength": 1, "type": "string" },
2090
- "kind": { "const": "capability", "type": "string" },
2091
- "required": { "type": "boolean" },
2046
+ "type": "array",
2047
+ },
2048
+ "resources": {
2049
+ "items": {
2050
+ "properties": {
2051
+ "alias": { "minLength": 1, "type": "string" },
2052
+ "definition": { "type": "object" },
2053
+ "kind": {
2054
+ "anyOf": [
2055
+ { "const": "kv", "type": "string" },
2056
+ { "const": "store", "type": "string" },
2057
+ { "const": "jobs", "type": "string" },
2058
+ { "const": "event-consumer", "type": "string" },
2059
+ { "const": "transfer", "type": "string" },
2060
+ ],
2061
+ },
2062
+ "required": { "type": "boolean" },
2063
+ },
2064
+ "required": ["kind", "alias", "required"],
2065
+ "type": "object",
2092
2066
  },
2093
- "required": ["kind", "capability", "required"],
2094
- "type": "object",
2095
- }, {
2096
- "properties": {
2097
- "kind": { "const": "resource", "type": "string" },
2098
- "required": { "type": "boolean" },
2099
- "resource": {
2100
- "properties": {
2101
- "alias": { "minLength": 1, "type": "string" },
2102
- "definition": { "type": "object" },
2103
- "kind": {
2104
- "anyOf": [
2105
- { "const": "kv", "type": "string" },
2106
- { "const": "store", "type": "string" },
2107
- { "const": "jobs", "type": "string" },
2108
- { "const": "event-consumer", "type": "string" },
2109
- { "const": "transfer", "type": "string" },
2110
- ],
2111
- },
2112
- "required": { "type": "boolean" },
2067
+ "type": "array",
2068
+ },
2069
+ "surfaces": {
2070
+ "items": {
2071
+ "properties": {
2072
+ "action": {
2073
+ "anyOf": [
2074
+ { "const": "call", "type": "string" },
2075
+ { "const": "publish", "type": "string" },
2076
+ { "const": "subscribe", "type": "string" },
2077
+ { "const": "observe", "type": "string" },
2078
+ { "const": "cancel", "type": "string" },
2079
+ ],
2113
2080
  },
2114
- "required": ["kind", "alias", "required"],
2115
- "type": "object",
2081
+ "contractId": { "minLength": 1, "type": "string" },
2082
+ "kind": {
2083
+ "anyOf": [
2084
+ { "const": "rpc", "type": "string" },
2085
+ { "const": "operation", "type": "string" },
2086
+ { "const": "event", "type": "string" },
2087
+ { "const": "feed", "type": "string" },
2088
+ ],
2089
+ },
2090
+ "name": { "minLength": 1, "type": "string" },
2091
+ "required": { "type": "boolean" },
2116
2092
  },
2093
+ "required": ["contractId", "kind", "name", "required"],
2094
+ "type": "object",
2117
2095
  },
2118
- "required": ["kind", "resource", "required"],
2119
- "type": "object",
2120
- }],
2096
+ "type": "array",
2097
+ },
2121
2098
  },
2122
- "type": "array",
2099
+ "required": [
2100
+ "contracts",
2101
+ "surfaces",
2102
+ "capabilities",
2103
+ "resources",
2104
+ ],
2105
+ "type": "object",
2123
2106
  },
2124
2107
  "summary": { "type": "object" },
2125
2108
  },
@@ -2235,83 +2218,87 @@ export const AuthDeploymentAuthorityPlansGetResponseSchema = {
2235
2218
  "type": "array",
2236
2219
  },
2237
2220
  "requestedNeeds": {
2238
- "items": {
2239
- "anyOf": [{
2240
- "properties": {
2241
- "contractId": { "minLength": 1, "type": "string" },
2242
- "kind": { "const": "contract", "type": "string" },
2243
- "required": { "type": "boolean" },
2221
+ "properties": {
2222
+ "capabilities": {
2223
+ "items": {
2224
+ "properties": {
2225
+ "capability": { "minLength": 1, "type": "string" },
2226
+ "required": { "type": "boolean" },
2227
+ },
2228
+ "required": ["capability", "required"],
2229
+ "type": "object",
2244
2230
  },
2245
- "required": ["kind", "contractId", "required"],
2246
- "type": "object",
2247
- }, {
2248
- "properties": {
2249
- "kind": { "const": "surface", "type": "string" },
2250
- "required": { "type": "boolean" },
2251
- "surface": {
2252
- "properties": {
2253
- "action": {
2254
- "anyOf": [
2255
- { "const": "call", "type": "string" },
2256
- { "const": "publish", "type": "string" },
2257
- { "const": "subscribe", "type": "string" },
2258
- { "const": "observe", "type": "string" },
2259
- { "const": "cancel", "type": "string" },
2260
- ],
2261
- },
2262
- "contractId": { "minLength": 1, "type": "string" },
2263
- "kind": {
2264
- "anyOf": [
2265
- { "const": "rpc", "type": "string" },
2266
- { "const": "operation", "type": "string" },
2267
- { "const": "event", "type": "string" },
2268
- { "const": "feed", "type": "string" },
2269
- ],
2270
- },
2271
- "name": { "minLength": 1, "type": "string" },
2272
- },
2273
- "required": ["contractId", "kind", "name"],
2274
- "type": "object",
2231
+ "type": "array",
2232
+ },
2233
+ "contracts": {
2234
+ "items": {
2235
+ "properties": {
2236
+ "contractId": { "minLength": 1, "type": "string" },
2237
+ "required": { "type": "boolean" },
2275
2238
  },
2239
+ "required": ["contractId", "required"],
2240
+ "type": "object",
2276
2241
  },
2277
- "required": ["kind", "surface", "required"],
2278
- "type": "object",
2279
- }, {
2280
- "properties": {
2281
- "capability": { "minLength": 1, "type": "string" },
2282
- "kind": { "const": "capability", "type": "string" },
2283
- "required": { "type": "boolean" },
2242
+ "type": "array",
2243
+ },
2244
+ "resources": {
2245
+ "items": {
2246
+ "properties": {
2247
+ "alias": { "minLength": 1, "type": "string" },
2248
+ "definition": { "type": "object" },
2249
+ "kind": {
2250
+ "anyOf": [
2251
+ { "const": "kv", "type": "string" },
2252
+ { "const": "store", "type": "string" },
2253
+ { "const": "jobs", "type": "string" },
2254
+ { "const": "event-consumer", "type": "string" },
2255
+ { "const": "transfer", "type": "string" },
2256
+ ],
2257
+ },
2258
+ "required": { "type": "boolean" },
2259
+ },
2260
+ "required": ["kind", "alias", "required"],
2261
+ "type": "object",
2284
2262
  },
2285
- "required": ["kind", "capability", "required"],
2286
- "type": "object",
2287
- }, {
2288
- "properties": {
2289
- "kind": { "const": "resource", "type": "string" },
2290
- "required": { "type": "boolean" },
2291
- "resource": {
2292
- "properties": {
2293
- "alias": { "minLength": 1, "type": "string" },
2294
- "definition": { "type": "object" },
2295
- "kind": {
2296
- "anyOf": [
2297
- { "const": "kv", "type": "string" },
2298
- { "const": "store", "type": "string" },
2299
- { "const": "jobs", "type": "string" },
2300
- { "const": "event-consumer", "type": "string" },
2301
- { "const": "transfer", "type": "string" },
2302
- ],
2303
- },
2304
- "required": { "type": "boolean" },
2263
+ "type": "array",
2264
+ },
2265
+ "surfaces": {
2266
+ "items": {
2267
+ "properties": {
2268
+ "action": {
2269
+ "anyOf": [
2270
+ { "const": "call", "type": "string" },
2271
+ { "const": "publish", "type": "string" },
2272
+ { "const": "subscribe", "type": "string" },
2273
+ { "const": "observe", "type": "string" },
2274
+ { "const": "cancel", "type": "string" },
2275
+ ],
2305
2276
  },
2306
- "required": ["kind", "alias", "required"],
2307
- "type": "object",
2277
+ "contractId": { "minLength": 1, "type": "string" },
2278
+ "kind": {
2279
+ "anyOf": [
2280
+ { "const": "rpc", "type": "string" },
2281
+ { "const": "operation", "type": "string" },
2282
+ { "const": "event", "type": "string" },
2283
+ { "const": "feed", "type": "string" },
2284
+ ],
2285
+ },
2286
+ "name": { "minLength": 1, "type": "string" },
2287
+ "required": { "type": "boolean" },
2308
2288
  },
2289
+ "required": ["contractId", "kind", "name", "required"],
2290
+ "type": "object",
2309
2291
  },
2310
- "required": ["kind", "resource", "required"],
2311
- "type": "object",
2312
- }],
2292
+ "type": "array",
2293
+ },
2313
2294
  },
2314
- "type": "array",
2295
+ "required": [
2296
+ "contracts",
2297
+ "surfaces",
2298
+ "capabilities",
2299
+ "resources",
2300
+ ],
2301
+ "type": "object",
2315
2302
  },
2316
2303
  "summary": { "type": "object" },
2317
2304
  },
@@ -2411,83 +2398,87 @@ export const AuthDeploymentAuthorityPlansGetResponseSchema = {
2411
2398
  "type": "array",
2412
2399
  },
2413
2400
  "requestedNeeds": {
2414
- "items": {
2415
- "anyOf": [{
2416
- "properties": {
2417
- "contractId": { "minLength": 1, "type": "string" },
2418
- "kind": { "const": "contract", "type": "string" },
2419
- "required": { "type": "boolean" },
2401
+ "properties": {
2402
+ "capabilities": {
2403
+ "items": {
2404
+ "properties": {
2405
+ "capability": { "minLength": 1, "type": "string" },
2406
+ "required": { "type": "boolean" },
2407
+ },
2408
+ "required": ["capability", "required"],
2409
+ "type": "object",
2420
2410
  },
2421
- "required": ["kind", "contractId", "required"],
2422
- "type": "object",
2423
- }, {
2424
- "properties": {
2425
- "kind": { "const": "surface", "type": "string" },
2426
- "required": { "type": "boolean" },
2427
- "surface": {
2428
- "properties": {
2429
- "action": {
2430
- "anyOf": [
2431
- { "const": "call", "type": "string" },
2432
- { "const": "publish", "type": "string" },
2433
- { "const": "subscribe", "type": "string" },
2434
- { "const": "observe", "type": "string" },
2435
- { "const": "cancel", "type": "string" },
2436
- ],
2437
- },
2438
- "contractId": { "minLength": 1, "type": "string" },
2439
- "kind": {
2440
- "anyOf": [
2441
- { "const": "rpc", "type": "string" },
2442
- { "const": "operation", "type": "string" },
2443
- { "const": "event", "type": "string" },
2444
- { "const": "feed", "type": "string" },
2445
- ],
2446
- },
2447
- "name": { "minLength": 1, "type": "string" },
2448
- },
2449
- "required": ["contractId", "kind", "name"],
2450
- "type": "object",
2411
+ "type": "array",
2412
+ },
2413
+ "contracts": {
2414
+ "items": {
2415
+ "properties": {
2416
+ "contractId": { "minLength": 1, "type": "string" },
2417
+ "required": { "type": "boolean" },
2451
2418
  },
2419
+ "required": ["contractId", "required"],
2420
+ "type": "object",
2452
2421
  },
2453
- "required": ["kind", "surface", "required"],
2454
- "type": "object",
2455
- }, {
2456
- "properties": {
2457
- "capability": { "minLength": 1, "type": "string" },
2458
- "kind": { "const": "capability", "type": "string" },
2459
- "required": { "type": "boolean" },
2422
+ "type": "array",
2423
+ },
2424
+ "resources": {
2425
+ "items": {
2426
+ "properties": {
2427
+ "alias": { "minLength": 1, "type": "string" },
2428
+ "definition": { "type": "object" },
2429
+ "kind": {
2430
+ "anyOf": [
2431
+ { "const": "kv", "type": "string" },
2432
+ { "const": "store", "type": "string" },
2433
+ { "const": "jobs", "type": "string" },
2434
+ { "const": "event-consumer", "type": "string" },
2435
+ { "const": "transfer", "type": "string" },
2436
+ ],
2437
+ },
2438
+ "required": { "type": "boolean" },
2439
+ },
2440
+ "required": ["kind", "alias", "required"],
2441
+ "type": "object",
2460
2442
  },
2461
- "required": ["kind", "capability", "required"],
2462
- "type": "object",
2463
- }, {
2464
- "properties": {
2465
- "kind": { "const": "resource", "type": "string" },
2466
- "required": { "type": "boolean" },
2467
- "resource": {
2468
- "properties": {
2469
- "alias": { "minLength": 1, "type": "string" },
2470
- "definition": { "type": "object" },
2471
- "kind": {
2472
- "anyOf": [
2473
- { "const": "kv", "type": "string" },
2474
- { "const": "store", "type": "string" },
2475
- { "const": "jobs", "type": "string" },
2476
- { "const": "event-consumer", "type": "string" },
2477
- { "const": "transfer", "type": "string" },
2478
- ],
2479
- },
2480
- "required": { "type": "boolean" },
2443
+ "type": "array",
2444
+ },
2445
+ "surfaces": {
2446
+ "items": {
2447
+ "properties": {
2448
+ "action": {
2449
+ "anyOf": [
2450
+ { "const": "call", "type": "string" },
2451
+ { "const": "publish", "type": "string" },
2452
+ { "const": "subscribe", "type": "string" },
2453
+ { "const": "observe", "type": "string" },
2454
+ { "const": "cancel", "type": "string" },
2455
+ ],
2481
2456
  },
2482
- "required": ["kind", "alias", "required"],
2483
- "type": "object",
2457
+ "contractId": { "minLength": 1, "type": "string" },
2458
+ "kind": {
2459
+ "anyOf": [
2460
+ { "const": "rpc", "type": "string" },
2461
+ { "const": "operation", "type": "string" },
2462
+ { "const": "event", "type": "string" },
2463
+ { "const": "feed", "type": "string" },
2464
+ ],
2465
+ },
2466
+ "name": { "minLength": 1, "type": "string" },
2467
+ "required": { "type": "boolean" },
2484
2468
  },
2469
+ "required": ["contractId", "kind", "name", "required"],
2470
+ "type": "object",
2485
2471
  },
2486
- "required": ["kind", "resource", "required"],
2487
- "type": "object",
2488
- }],
2472
+ "type": "array",
2473
+ },
2489
2474
  },
2490
- "type": "array",
2475
+ "required": [
2476
+ "contracts",
2477
+ "surfaces",
2478
+ "capabilities",
2479
+ "resources",
2480
+ ],
2481
+ "type": "object",
2491
2482
  },
2492
2483
  "summary": { "type": "object" },
2493
2484
  },
@@ -2636,83 +2627,87 @@ export const AuthDeploymentAuthorityPlansListResponseSchema = {
2636
2627
  "type": "array",
2637
2628
  },
2638
2629
  "requestedNeeds": {
2639
- "items": {
2640
- "anyOf": [{
2641
- "properties": {
2642
- "contractId": { "minLength": 1, "type": "string" },
2643
- "kind": { "const": "contract", "type": "string" },
2644
- "required": { "type": "boolean" },
2630
+ "properties": {
2631
+ "capabilities": {
2632
+ "items": {
2633
+ "properties": {
2634
+ "capability": { "minLength": 1, "type": "string" },
2635
+ "required": { "type": "boolean" },
2636
+ },
2637
+ "required": ["capability", "required"],
2638
+ "type": "object",
2645
2639
  },
2646
- "required": ["kind", "contractId", "required"],
2647
- "type": "object",
2648
- }, {
2649
- "properties": {
2650
- "kind": { "const": "surface", "type": "string" },
2651
- "required": { "type": "boolean" },
2652
- "surface": {
2653
- "properties": {
2654
- "action": {
2655
- "anyOf": [
2656
- { "const": "call", "type": "string" },
2657
- { "const": "publish", "type": "string" },
2658
- { "const": "subscribe", "type": "string" },
2659
- { "const": "observe", "type": "string" },
2660
- { "const": "cancel", "type": "string" },
2661
- ],
2662
- },
2663
- "contractId": { "minLength": 1, "type": "string" },
2664
- "kind": {
2665
- "anyOf": [
2666
- { "const": "rpc", "type": "string" },
2667
- { "const": "operation", "type": "string" },
2668
- { "const": "event", "type": "string" },
2669
- { "const": "feed", "type": "string" },
2670
- ],
2671
- },
2672
- "name": { "minLength": 1, "type": "string" },
2673
- },
2674
- "required": ["contractId", "kind", "name"],
2675
- "type": "object",
2640
+ "type": "array",
2641
+ },
2642
+ "contracts": {
2643
+ "items": {
2644
+ "properties": {
2645
+ "contractId": { "minLength": 1, "type": "string" },
2646
+ "required": { "type": "boolean" },
2676
2647
  },
2648
+ "required": ["contractId", "required"],
2649
+ "type": "object",
2677
2650
  },
2678
- "required": ["kind", "surface", "required"],
2679
- "type": "object",
2680
- }, {
2681
- "properties": {
2682
- "capability": { "minLength": 1, "type": "string" },
2683
- "kind": { "const": "capability", "type": "string" },
2684
- "required": { "type": "boolean" },
2651
+ "type": "array",
2652
+ },
2653
+ "resources": {
2654
+ "items": {
2655
+ "properties": {
2656
+ "alias": { "minLength": 1, "type": "string" },
2657
+ "definition": { "type": "object" },
2658
+ "kind": {
2659
+ "anyOf": [
2660
+ { "const": "kv", "type": "string" },
2661
+ { "const": "store", "type": "string" },
2662
+ { "const": "jobs", "type": "string" },
2663
+ { "const": "event-consumer", "type": "string" },
2664
+ { "const": "transfer", "type": "string" },
2665
+ ],
2666
+ },
2667
+ "required": { "type": "boolean" },
2668
+ },
2669
+ "required": ["kind", "alias", "required"],
2670
+ "type": "object",
2685
2671
  },
2686
- "required": ["kind", "capability", "required"],
2687
- "type": "object",
2688
- }, {
2689
- "properties": {
2690
- "kind": { "const": "resource", "type": "string" },
2691
- "required": { "type": "boolean" },
2692
- "resource": {
2693
- "properties": {
2694
- "alias": { "minLength": 1, "type": "string" },
2695
- "definition": { "type": "object" },
2696
- "kind": {
2697
- "anyOf": [
2698
- { "const": "kv", "type": "string" },
2699
- { "const": "store", "type": "string" },
2700
- { "const": "jobs", "type": "string" },
2701
- { "const": "event-consumer", "type": "string" },
2702
- { "const": "transfer", "type": "string" },
2703
- ],
2704
- },
2705
- "required": { "type": "boolean" },
2672
+ "type": "array",
2673
+ },
2674
+ "surfaces": {
2675
+ "items": {
2676
+ "properties": {
2677
+ "action": {
2678
+ "anyOf": [
2679
+ { "const": "call", "type": "string" },
2680
+ { "const": "publish", "type": "string" },
2681
+ { "const": "subscribe", "type": "string" },
2682
+ { "const": "observe", "type": "string" },
2683
+ { "const": "cancel", "type": "string" },
2684
+ ],
2706
2685
  },
2707
- "required": ["kind", "alias", "required"],
2708
- "type": "object",
2686
+ "contractId": { "minLength": 1, "type": "string" },
2687
+ "kind": {
2688
+ "anyOf": [
2689
+ { "const": "rpc", "type": "string" },
2690
+ { "const": "operation", "type": "string" },
2691
+ { "const": "event", "type": "string" },
2692
+ { "const": "feed", "type": "string" },
2693
+ ],
2694
+ },
2695
+ "name": { "minLength": 1, "type": "string" },
2696
+ "required": { "type": "boolean" },
2709
2697
  },
2698
+ "required": ["contractId", "kind", "name", "required"],
2699
+ "type": "object",
2710
2700
  },
2711
- "required": ["kind", "resource", "required"],
2712
- "type": "object",
2713
- }],
2701
+ "type": "array",
2702
+ },
2714
2703
  },
2715
- "type": "array",
2704
+ "required": [
2705
+ "contracts",
2706
+ "surfaces",
2707
+ "capabilities",
2708
+ "resources",
2709
+ ],
2710
+ "type": "object",
2716
2711
  },
2717
2712
  "summary": { "type": "object" },
2718
2713
  },
@@ -2814,83 +2809,87 @@ export const AuthDeploymentAuthorityPlansListResponseSchema = {
2814
2809
  "type": "array",
2815
2810
  },
2816
2811
  "requestedNeeds": {
2817
- "items": {
2818
- "anyOf": [{
2819
- "properties": {
2820
- "contractId": { "minLength": 1, "type": "string" },
2821
- "kind": { "const": "contract", "type": "string" },
2822
- "required": { "type": "boolean" },
2812
+ "properties": {
2813
+ "capabilities": {
2814
+ "items": {
2815
+ "properties": {
2816
+ "capability": { "minLength": 1, "type": "string" },
2817
+ "required": { "type": "boolean" },
2818
+ },
2819
+ "required": ["capability", "required"],
2820
+ "type": "object",
2823
2821
  },
2824
- "required": ["kind", "contractId", "required"],
2825
- "type": "object",
2826
- }, {
2827
- "properties": {
2828
- "kind": { "const": "surface", "type": "string" },
2829
- "required": { "type": "boolean" },
2830
- "surface": {
2831
- "properties": {
2832
- "action": {
2833
- "anyOf": [
2834
- { "const": "call", "type": "string" },
2835
- { "const": "publish", "type": "string" },
2836
- { "const": "subscribe", "type": "string" },
2837
- { "const": "observe", "type": "string" },
2838
- { "const": "cancel", "type": "string" },
2839
- ],
2840
- },
2841
- "contractId": { "minLength": 1, "type": "string" },
2842
- "kind": {
2843
- "anyOf": [
2844
- { "const": "rpc", "type": "string" },
2845
- { "const": "operation", "type": "string" },
2846
- { "const": "event", "type": "string" },
2847
- { "const": "feed", "type": "string" },
2848
- ],
2849
- },
2850
- "name": { "minLength": 1, "type": "string" },
2851
- },
2852
- "required": ["contractId", "kind", "name"],
2853
- "type": "object",
2822
+ "type": "array",
2823
+ },
2824
+ "contracts": {
2825
+ "items": {
2826
+ "properties": {
2827
+ "contractId": { "minLength": 1, "type": "string" },
2828
+ "required": { "type": "boolean" },
2854
2829
  },
2830
+ "required": ["contractId", "required"],
2831
+ "type": "object",
2855
2832
  },
2856
- "required": ["kind", "surface", "required"],
2857
- "type": "object",
2858
- }, {
2859
- "properties": {
2860
- "capability": { "minLength": 1, "type": "string" },
2861
- "kind": { "const": "capability", "type": "string" },
2862
- "required": { "type": "boolean" },
2833
+ "type": "array",
2834
+ },
2835
+ "resources": {
2836
+ "items": {
2837
+ "properties": {
2838
+ "alias": { "minLength": 1, "type": "string" },
2839
+ "definition": { "type": "object" },
2840
+ "kind": {
2841
+ "anyOf": [
2842
+ { "const": "kv", "type": "string" },
2843
+ { "const": "store", "type": "string" },
2844
+ { "const": "jobs", "type": "string" },
2845
+ { "const": "event-consumer", "type": "string" },
2846
+ { "const": "transfer", "type": "string" },
2847
+ ],
2848
+ },
2849
+ "required": { "type": "boolean" },
2850
+ },
2851
+ "required": ["kind", "alias", "required"],
2852
+ "type": "object",
2863
2853
  },
2864
- "required": ["kind", "capability", "required"],
2865
- "type": "object",
2866
- }, {
2867
- "properties": {
2868
- "kind": { "const": "resource", "type": "string" },
2869
- "required": { "type": "boolean" },
2870
- "resource": {
2871
- "properties": {
2872
- "alias": { "minLength": 1, "type": "string" },
2873
- "definition": { "type": "object" },
2874
- "kind": {
2875
- "anyOf": [
2876
- { "const": "kv", "type": "string" },
2877
- { "const": "store", "type": "string" },
2878
- { "const": "jobs", "type": "string" },
2879
- { "const": "event-consumer", "type": "string" },
2880
- { "const": "transfer", "type": "string" },
2881
- ],
2882
- },
2883
- "required": { "type": "boolean" },
2854
+ "type": "array",
2855
+ },
2856
+ "surfaces": {
2857
+ "items": {
2858
+ "properties": {
2859
+ "action": {
2860
+ "anyOf": [
2861
+ { "const": "call", "type": "string" },
2862
+ { "const": "publish", "type": "string" },
2863
+ { "const": "subscribe", "type": "string" },
2864
+ { "const": "observe", "type": "string" },
2865
+ { "const": "cancel", "type": "string" },
2866
+ ],
2884
2867
  },
2885
- "required": ["kind", "alias", "required"],
2886
- "type": "object",
2868
+ "contractId": { "minLength": 1, "type": "string" },
2869
+ "kind": {
2870
+ "anyOf": [
2871
+ { "const": "rpc", "type": "string" },
2872
+ { "const": "operation", "type": "string" },
2873
+ { "const": "event", "type": "string" },
2874
+ { "const": "feed", "type": "string" },
2875
+ ],
2876
+ },
2877
+ "name": { "minLength": 1, "type": "string" },
2878
+ "required": { "type": "boolean" },
2887
2879
  },
2880
+ "required": ["contractId", "kind", "name", "required"],
2881
+ "type": "object",
2888
2882
  },
2889
- "required": ["kind", "resource", "required"],
2890
- "type": "object",
2891
- }],
2883
+ "type": "array",
2884
+ },
2892
2885
  },
2893
- "type": "array",
2886
+ "required": [
2887
+ "contracts",
2888
+ "surfaces",
2889
+ "capabilities",
2890
+ "resources",
2891
+ ],
2892
+ "type": "object",
2894
2893
  },
2895
2894
  "summary": { "type": "object" },
2896
2895
  },
@@ -2962,83 +2961,87 @@ export const AuthDeploymentAuthorityReconcileResponseSchema = {
2962
2961
  "type": "array",
2963
2962
  },
2964
2963
  "needs": {
2965
- "items": {
2966
- "anyOf": [{
2967
- "properties": {
2968
- "contractId": { "minLength": 1, "type": "string" },
2969
- "kind": { "const": "contract", "type": "string" },
2970
- "required": { "type": "boolean" },
2971
- },
2972
- "required": ["kind", "contractId", "required"],
2973
- "type": "object",
2974
- }, {
2975
- "properties": {
2976
- "kind": { "const": "surface", "type": "string" },
2977
- "required": { "type": "boolean" },
2978
- "surface": {
2979
- "properties": {
2980
- "action": {
2981
- "anyOf": [
2982
- { "const": "call", "type": "string" },
2983
- { "const": "publish", "type": "string" },
2984
- { "const": "subscribe", "type": "string" },
2985
- { "const": "observe", "type": "string" },
2986
- { "const": "cancel", "type": "string" },
2987
- ],
2988
- },
2989
- "contractId": { "minLength": 1, "type": "string" },
2990
- "kind": {
2991
- "anyOf": [
2992
- { "const": "rpc", "type": "string" },
2993
- { "const": "operation", "type": "string" },
2994
- { "const": "event", "type": "string" },
2995
- { "const": "feed", "type": "string" },
2996
- ],
2997
- },
2998
- "name": { "minLength": 1, "type": "string" },
2999
- },
3000
- "required": ["contractId", "kind", "name"],
3001
- "type": "object",
2964
+ "properties": {
2965
+ "capabilities": {
2966
+ "items": {
2967
+ "properties": {
2968
+ "capability": { "minLength": 1, "type": "string" },
2969
+ "required": { "type": "boolean" },
3002
2970
  },
2971
+ "required": ["capability", "required"],
2972
+ "type": "object",
3003
2973
  },
3004
- "required": ["kind", "surface", "required"],
3005
- "type": "object",
3006
- }, {
3007
- "properties": {
3008
- "capability": { "minLength": 1, "type": "string" },
3009
- "kind": { "const": "capability", "type": "string" },
3010
- "required": { "type": "boolean" },
2974
+ "type": "array",
2975
+ },
2976
+ "contracts": {
2977
+ "items": {
2978
+ "properties": {
2979
+ "contractId": { "minLength": 1, "type": "string" },
2980
+ "required": { "type": "boolean" },
2981
+ },
2982
+ "required": ["contractId", "required"],
2983
+ "type": "object",
3011
2984
  },
3012
- "required": ["kind", "capability", "required"],
3013
- "type": "object",
3014
- }, {
3015
- "properties": {
3016
- "kind": { "const": "resource", "type": "string" },
3017
- "required": { "type": "boolean" },
3018
- "resource": {
3019
- "properties": {
3020
- "alias": { "minLength": 1, "type": "string" },
3021
- "definition": { "type": "object" },
3022
- "kind": {
3023
- "anyOf": [
3024
- { "const": "kv", "type": "string" },
3025
- { "const": "store", "type": "string" },
3026
- { "const": "jobs", "type": "string" },
3027
- { "const": "event-consumer", "type": "string" },
3028
- { "const": "transfer", "type": "string" },
3029
- ],
3030
- },
3031
- "required": { "type": "boolean" },
2985
+ "type": "array",
2986
+ },
2987
+ "resources": {
2988
+ "items": {
2989
+ "properties": {
2990
+ "alias": { "minLength": 1, "type": "string" },
2991
+ "definition": { "type": "object" },
2992
+ "kind": {
2993
+ "anyOf": [
2994
+ { "const": "kv", "type": "string" },
2995
+ { "const": "store", "type": "string" },
2996
+ { "const": "jobs", "type": "string" },
2997
+ { "const": "event-consumer", "type": "string" },
2998
+ { "const": "transfer", "type": "string" },
2999
+ ],
3000
+ },
3001
+ "required": { "type": "boolean" },
3002
+ },
3003
+ "required": ["kind", "alias", "required"],
3004
+ "type": "object",
3005
+ },
3006
+ "type": "array",
3007
+ },
3008
+ "surfaces": {
3009
+ "items": {
3010
+ "properties": {
3011
+ "action": {
3012
+ "anyOf": [
3013
+ { "const": "call", "type": "string" },
3014
+ { "const": "publish", "type": "string" },
3015
+ { "const": "subscribe", "type": "string" },
3016
+ { "const": "observe", "type": "string" },
3017
+ { "const": "cancel", "type": "string" },
3018
+ ],
3032
3019
  },
3033
- "required": ["kind", "alias", "required"],
3034
- "type": "object",
3020
+ "contractId": { "minLength": 1, "type": "string" },
3021
+ "kind": {
3022
+ "anyOf": [
3023
+ { "const": "rpc", "type": "string" },
3024
+ { "const": "operation", "type": "string" },
3025
+ { "const": "event", "type": "string" },
3026
+ { "const": "feed", "type": "string" },
3027
+ ],
3028
+ },
3029
+ "name": { "minLength": 1, "type": "string" },
3030
+ "required": { "type": "boolean" },
3035
3031
  },
3032
+ "required": ["contractId", "kind", "name", "required"],
3033
+ "type": "object",
3036
3034
  },
3037
- "required": ["kind", "resource", "required"],
3038
- "type": "object",
3039
- }],
3035
+ "type": "array",
3036
+ },
3040
3037
  },
3041
- "type": "array",
3038
+ "required": [
3039
+ "contracts",
3040
+ "surfaces",
3041
+ "capabilities",
3042
+ "resources",
3043
+ ],
3044
+ "type": "object",
3042
3045
  },
3043
3046
  "resources": {
3044
3047
  "items": {
@@ -3124,99 +3127,107 @@ export const AuthDeploymentAuthorityReconcileResponseSchema = {
3124
3127
  "desiredVersion": { "minLength": 1, "type": "string" },
3125
3128
  "error": { "minLength": 1, "type": "string" },
3126
3129
  "grants": {
3127
- "items": {
3128
- "anyOf": [{
3129
- "properties": {
3130
- "capability": { "minLength": 1, "type": "string" },
3131
- "kind": { "const": "capability", "type": "string" },
3132
- },
3133
- "required": ["kind", "capability"],
3134
- "type": "object",
3135
- }, {
3136
- "properties": {
3137
- "action": {
3138
- "anyOf": [
3139
- { "const": "call", "type": "string" },
3140
- { "const": "publish", "type": "string" },
3141
- { "const": "subscribe", "type": "string" },
3142
- { "const": "observe", "type": "string" },
3143
- { "const": "cancel", "type": "string" },
3144
- ],
3145
- },
3146
- "contractId": { "minLength": 1, "type": "string" },
3147
- "kind": { "const": "surface", "type": "string" },
3148
- "name": { "minLength": 1, "type": "string" },
3149
- "surfaceKind": {
3150
- "anyOf": [
3151
- { "const": "rpc", "type": "string" },
3152
- { "const": "operation", "type": "string" },
3153
- { "const": "event", "type": "string" },
3154
- { "const": "feed", "type": "string" },
3155
- ],
3130
+ "properties": {
3131
+ "capabilities": {
3132
+ "items": {
3133
+ "properties": {
3134
+ "capability": { "minLength": 1, "type": "string" },
3156
3135
  },
3136
+ "required": ["capability"],
3137
+ "type": "object",
3157
3138
  },
3158
- "required": ["kind", "contractId", "surfaceKind", "name"],
3159
- "type": "object",
3160
- }, {
3161
- "properties": {
3162
- "direction": {
3163
- "anyOf": [{ "const": "publish", "type": "string" }, {
3164
- "const": "subscribe",
3165
- "type": "string",
3166
- }],
3167
- },
3168
- "grantSource": {
3169
- "anyOf": [
3170
- { "const": "owned-surface", "type": "string" },
3171
- { "const": "used-surface", "type": "string" },
3172
- { "const": "resource-binding", "type": "string" },
3173
- { "const": "platform-service", "type": "string" },
3174
- { "const": "transfer", "type": "string" },
3175
- ],
3176
- },
3177
- "kind": { "const": "nats", "type": "string" },
3178
- "requiredCapabilities": {
3179
- "items": { "minLength": 1, "type": "string" },
3180
- "type": "array",
3181
- },
3182
- "subject": { "minLength": 1, "type": "string" },
3183
- "surface": {
3184
- "properties": {
3185
- "action": {
3186
- "anyOf": [
3187
- { "const": "call", "type": "string" },
3188
- { "const": "publish", "type": "string" },
3189
- { "const": "subscribe", "type": "string" },
3190
- { "const": "observe", "type": "string" },
3191
- { "const": "cancel", "type": "string" },
3192
- ],
3193
- },
3194
- "contractId": { "minLength": 1, "type": "string" },
3195
- "kind": {
3196
- "anyOf": [
3197
- { "const": "rpc", "type": "string" },
3198
- { "const": "operation", "type": "string" },
3199
- { "const": "event", "type": "string" },
3200
- { "const": "feed", "type": "string" },
3201
- ],
3139
+ "type": "array",
3140
+ },
3141
+ "nats": {
3142
+ "items": {
3143
+ "properties": {
3144
+ "direction": {
3145
+ "anyOf": [{ "const": "publish", "type": "string" }, {
3146
+ "const": "subscribe",
3147
+ "type": "string",
3148
+ }],
3149
+ },
3150
+ "grantSource": {
3151
+ "anyOf": [
3152
+ { "const": "owned-surface", "type": "string" },
3153
+ { "const": "used-surface", "type": "string" },
3154
+ { "const": "resource-binding", "type": "string" },
3155
+ { "const": "platform-service", "type": "string" },
3156
+ { "const": "transfer", "type": "string" },
3157
+ ],
3158
+ },
3159
+ "requiredCapabilities": {
3160
+ "items": { "minLength": 1, "type": "string" },
3161
+ "type": "array",
3162
+ },
3163
+ "subject": { "minLength": 1, "type": "string" },
3164
+ "surface": {
3165
+ "properties": {
3166
+ "action": {
3167
+ "anyOf": [
3168
+ { "const": "call", "type": "string" },
3169
+ { "const": "publish", "type": "string" },
3170
+ { "const": "subscribe", "type": "string" },
3171
+ { "const": "observe", "type": "string" },
3172
+ { "const": "cancel", "type": "string" },
3173
+ ],
3174
+ },
3175
+ "contractId": { "minLength": 1, "type": "string" },
3176
+ "kind": {
3177
+ "anyOf": [
3178
+ { "const": "rpc", "type": "string" },
3179
+ { "const": "operation", "type": "string" },
3180
+ { "const": "event", "type": "string" },
3181
+ { "const": "feed", "type": "string" },
3182
+ ],
3183
+ },
3184
+ "name": { "minLength": 1, "type": "string" },
3202
3185
  },
3203
- "name": { "minLength": 1, "type": "string" },
3186
+ "required": ["contractId", "kind", "name"],
3187
+ "type": "object",
3204
3188
  },
3205
- "required": ["contractId", "kind", "name"],
3206
- "type": "object",
3207
3189
  },
3190
+ "required": [
3191
+ "direction",
3192
+ "subject",
3193
+ "requiredCapabilities",
3194
+ "grantSource",
3195
+ ],
3196
+ "type": "object",
3208
3197
  },
3209
- "required": [
3210
- "kind",
3211
- "direction",
3212
- "subject",
3213
- "requiredCapabilities",
3214
- "grantSource",
3215
- ],
3216
- "type": "object",
3217
- }],
3198
+ "type": "array",
3199
+ },
3200
+ "surfaces": {
3201
+ "items": {
3202
+ "properties": {
3203
+ "action": {
3204
+ "anyOf": [
3205
+ { "const": "call", "type": "string" },
3206
+ { "const": "publish", "type": "string" },
3207
+ { "const": "subscribe", "type": "string" },
3208
+ { "const": "observe", "type": "string" },
3209
+ { "const": "cancel", "type": "string" },
3210
+ ],
3211
+ },
3212
+ "contractId": { "minLength": 1, "type": "string" },
3213
+ "name": { "minLength": 1, "type": "string" },
3214
+ "surfaceKind": {
3215
+ "anyOf": [
3216
+ { "const": "rpc", "type": "string" },
3217
+ { "const": "operation", "type": "string" },
3218
+ { "const": "event", "type": "string" },
3219
+ { "const": "feed", "type": "string" },
3220
+ ],
3221
+ },
3222
+ },
3223
+ "required": ["contractId", "surfaceKind", "name"],
3224
+ "type": "object",
3225
+ },
3226
+ "type": "array",
3227
+ },
3218
3228
  },
3219
- "type": "array",
3229
+ "required": ["capabilities", "surfaces", "nats"],
3230
+ "type": "object",
3220
3231
  },
3221
3232
  "reconciledAt": {
3222
3233
  "anyOf": [{ "format": "date-time", "type": "string" }, {
@@ -5272,6 +5283,38 @@ export const AuthServiceInstancesDisableResponseSchema = {
5272
5283
  "type": "integer",
5273
5284
  },
5274
5285
  "dlq": { "type": "boolean" },
5286
+ "keyConcurrency": {
5287
+ "properties": {
5288
+ "heartbeatIntervalMs": {
5289
+ "minimum": 1,
5290
+ "type": "integer",
5291
+ },
5292
+ "heartbeatTtlMs": {
5293
+ "minimum": 1,
5294
+ "type": "integer",
5295
+ },
5296
+ "key": {
5297
+ "items": { "minLength": 1, "type": "string" },
5298
+ "minItems": 1,
5299
+ "type": "array",
5300
+ },
5301
+ "maxActive": { "minimum": 1, "type": "integer" },
5302
+ "stalePolicy": {
5303
+ "anyOf": [{
5304
+ "const": "fail-stale",
5305
+ "type": "string",
5306
+ }, { "const": "block", "type": "string" }],
5307
+ },
5308
+ },
5309
+ "required": [
5310
+ "key",
5311
+ "maxActive",
5312
+ "heartbeatIntervalMs",
5313
+ "heartbeatTtlMs",
5314
+ "stalePolicy",
5315
+ ],
5316
+ "type": "object",
5317
+ },
5275
5318
  "logs": { "type": "boolean" },
5276
5319
  "maxDeliver": { "minimum": 1, "type": "integer" },
5277
5320
  "payload": {
@@ -5283,6 +5326,23 @@ export const AuthServiceInstancesDisableResponseSchema = {
5283
5326
  },
5284
5327
  "progress": { "type": "boolean" },
5285
5328
  "publishPrefix": { "minLength": 1, "type": "string" },
5329
+ "queue": {
5330
+ "properties": {
5331
+ "maxQueuedPerKey": {
5332
+ "minimum": 0,
5333
+ "type": "integer",
5334
+ },
5335
+ "whenFull": {
5336
+ "anyOf": [
5337
+ { "const": "reject", "type": "string" },
5338
+ { "const": "coalesce", "type": "string" },
5339
+ { "const": "replace-oldest", "type": "string" },
5340
+ ],
5341
+ },
5342
+ },
5343
+ "required": ["maxQueuedPerKey", "whenFull"],
5344
+ "type": "object",
5345
+ },
5286
5346
  "queueType": { "minLength": 1, "type": "string" },
5287
5347
  "result": {
5288
5348
  "properties": {
@@ -5444,6 +5504,38 @@ export const AuthServiceInstancesEnableResponseSchema = {
5444
5504
  "type": "integer",
5445
5505
  },
5446
5506
  "dlq": { "type": "boolean" },
5507
+ "keyConcurrency": {
5508
+ "properties": {
5509
+ "heartbeatIntervalMs": {
5510
+ "minimum": 1,
5511
+ "type": "integer",
5512
+ },
5513
+ "heartbeatTtlMs": {
5514
+ "minimum": 1,
5515
+ "type": "integer",
5516
+ },
5517
+ "key": {
5518
+ "items": { "minLength": 1, "type": "string" },
5519
+ "minItems": 1,
5520
+ "type": "array",
5521
+ },
5522
+ "maxActive": { "minimum": 1, "type": "integer" },
5523
+ "stalePolicy": {
5524
+ "anyOf": [{
5525
+ "const": "fail-stale",
5526
+ "type": "string",
5527
+ }, { "const": "block", "type": "string" }],
5528
+ },
5529
+ },
5530
+ "required": [
5531
+ "key",
5532
+ "maxActive",
5533
+ "heartbeatIntervalMs",
5534
+ "heartbeatTtlMs",
5535
+ "stalePolicy",
5536
+ ],
5537
+ "type": "object",
5538
+ },
5447
5539
  "logs": { "type": "boolean" },
5448
5540
  "maxDeliver": { "minimum": 1, "type": "integer" },
5449
5541
  "payload": {
@@ -5455,6 +5547,23 @@ export const AuthServiceInstancesEnableResponseSchema = {
5455
5547
  },
5456
5548
  "progress": { "type": "boolean" },
5457
5549
  "publishPrefix": { "minLength": 1, "type": "string" },
5550
+ "queue": {
5551
+ "properties": {
5552
+ "maxQueuedPerKey": {
5553
+ "minimum": 0,
5554
+ "type": "integer",
5555
+ },
5556
+ "whenFull": {
5557
+ "anyOf": [
5558
+ { "const": "reject", "type": "string" },
5559
+ { "const": "coalesce", "type": "string" },
5560
+ { "const": "replace-oldest", "type": "string" },
5561
+ ],
5562
+ },
5563
+ },
5564
+ "required": ["maxQueuedPerKey", "whenFull"],
5565
+ "type": "object",
5566
+ },
5458
5567
  "queueType": { "minLength": 1, "type": "string" },
5459
5568
  "result": {
5460
5569
  "properties": {
@@ -5624,6 +5733,38 @@ export const AuthServiceInstancesListResponseSchema = {
5624
5733
  "type": "integer",
5625
5734
  },
5626
5735
  "dlq": { "type": "boolean" },
5736
+ "keyConcurrency": {
5737
+ "properties": {
5738
+ "heartbeatIntervalMs": {
5739
+ "minimum": 1,
5740
+ "type": "integer",
5741
+ },
5742
+ "heartbeatTtlMs": {
5743
+ "minimum": 1,
5744
+ "type": "integer",
5745
+ },
5746
+ "key": {
5747
+ "items": { "minLength": 1, "type": "string" },
5748
+ "minItems": 1,
5749
+ "type": "array",
5750
+ },
5751
+ "maxActive": { "minimum": 1, "type": "integer" },
5752
+ "stalePolicy": {
5753
+ "anyOf": [{
5754
+ "const": "fail-stale",
5755
+ "type": "string",
5756
+ }, { "const": "block", "type": "string" }],
5757
+ },
5758
+ },
5759
+ "required": [
5760
+ "key",
5761
+ "maxActive",
5762
+ "heartbeatIntervalMs",
5763
+ "heartbeatTtlMs",
5764
+ "stalePolicy",
5765
+ ],
5766
+ "type": "object",
5767
+ },
5627
5768
  "logs": { "type": "boolean" },
5628
5769
  "maxDeliver": { "minimum": 1, "type": "integer" },
5629
5770
  "payload": {
@@ -5635,6 +5776,26 @@ export const AuthServiceInstancesListResponseSchema = {
5635
5776
  },
5636
5777
  "progress": { "type": "boolean" },
5637
5778
  "publishPrefix": { "minLength": 1, "type": "string" },
5779
+ "queue": {
5780
+ "properties": {
5781
+ "maxQueuedPerKey": {
5782
+ "minimum": 0,
5783
+ "type": "integer",
5784
+ },
5785
+ "whenFull": {
5786
+ "anyOf": [
5787
+ { "const": "reject", "type": "string" },
5788
+ { "const": "coalesce", "type": "string" },
5789
+ {
5790
+ "const": "replace-oldest",
5791
+ "type": "string",
5792
+ },
5793
+ ],
5794
+ },
5795
+ },
5796
+ "required": ["maxQueuedPerKey", "whenFull"],
5797
+ "type": "object",
5798
+ },
5638
5799
  "queueType": { "minLength": 1, "type": "string" },
5639
5800
  "result": {
5640
5801
  "properties": {
@@ -5804,6 +5965,38 @@ export const AuthServiceInstancesProvisionResponseSchema = {
5804
5965
  "type": "integer",
5805
5966
  },
5806
5967
  "dlq": { "type": "boolean" },
5968
+ "keyConcurrency": {
5969
+ "properties": {
5970
+ "heartbeatIntervalMs": {
5971
+ "minimum": 1,
5972
+ "type": "integer",
5973
+ },
5974
+ "heartbeatTtlMs": {
5975
+ "minimum": 1,
5976
+ "type": "integer",
5977
+ },
5978
+ "key": {
5979
+ "items": { "minLength": 1, "type": "string" },
5980
+ "minItems": 1,
5981
+ "type": "array",
5982
+ },
5983
+ "maxActive": { "minimum": 1, "type": "integer" },
5984
+ "stalePolicy": {
5985
+ "anyOf": [{
5986
+ "const": "fail-stale",
5987
+ "type": "string",
5988
+ }, { "const": "block", "type": "string" }],
5989
+ },
5990
+ },
5991
+ "required": [
5992
+ "key",
5993
+ "maxActive",
5994
+ "heartbeatIntervalMs",
5995
+ "heartbeatTtlMs",
5996
+ "stalePolicy",
5997
+ ],
5998
+ "type": "object",
5999
+ },
5807
6000
  "logs": { "type": "boolean" },
5808
6001
  "maxDeliver": { "minimum": 1, "type": "integer" },
5809
6002
  "payload": {
@@ -5815,6 +6008,23 @@ export const AuthServiceInstancesProvisionResponseSchema = {
5815
6008
  },
5816
6009
  "progress": { "type": "boolean" },
5817
6010
  "publishPrefix": { "minLength": 1, "type": "string" },
6011
+ "queue": {
6012
+ "properties": {
6013
+ "maxQueuedPerKey": {
6014
+ "minimum": 0,
6015
+ "type": "integer",
6016
+ },
6017
+ "whenFull": {
6018
+ "anyOf": [
6019
+ { "const": "reject", "type": "string" },
6020
+ { "const": "coalesce", "type": "string" },
6021
+ { "const": "replace-oldest", "type": "string" },
6022
+ ],
6023
+ },
6024
+ },
6025
+ "required": ["maxQueuedPerKey", "whenFull"],
6026
+ "type": "object",
6027
+ },
5818
6028
  "queueType": { "minLength": 1, "type": "string" },
5819
6029
  "result": {
5820
6030
  "properties": {
@@ -6196,29 +6406,14 @@ export const AuthSessionsRevokeResponseSchema = {
6196
6406
  } as const;
6197
6407
 
6198
6408
  export const AuthSessionsRevokedEventSchema = {
6199
- "allOf": [{
6200
- "properties": {
6201
- "header": {
6202
- "properties": {
6203
- "id": { "type": "string" },
6204
- "time": { "format": "date-time", "type": "string" },
6205
- },
6206
- "required": ["id", "time"],
6207
- "type": "object",
6208
- },
6209
- },
6210
- "required": ["header"],
6211
- "type": "object",
6212
- }, {
6213
- "properties": {
6214
- "id": { "type": "string" },
6215
- "origin": { "type": "string" },
6216
- "revokedBy": { "type": "string" },
6217
- "sessionKey": { "type": "string" },
6218
- },
6219
- "required": ["origin", "id", "sessionKey", "revokedBy"],
6220
- "type": "object",
6221
- }],
6409
+ "properties": {
6410
+ "id": { "type": "string" },
6411
+ "origin": { "type": "string" },
6412
+ "revokedBy": { "type": "string" },
6413
+ "sessionKey": { "type": "string" },
6414
+ },
6415
+ "required": ["origin", "id", "sessionKey", "revokedBy"],
6416
+ "type": "object",
6222
6417
  } as const;
6223
6418
 
6224
6419
  export const AuthUserIdentitiesListRequestSchema = {