@qlever-llc/trellis 0.10.7 → 0.10.9

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 (57) hide show
  1. package/esm/auth/protocol.d.ts +120 -3
  2. package/esm/auth/protocol.d.ts.map +1 -1
  3. package/esm/auth/protocol.js +43 -1
  4. package/esm/contract_support/mod.d.ts +1 -1
  5. package/esm/contract_support/mod.d.ts.map +1 -1
  6. package/esm/contract_support/mod.js +1 -1
  7. package/esm/contract_support/protocol.d.ts +67 -0
  8. package/esm/contract_support/protocol.d.ts.map +1 -1
  9. package/esm/contract_support/protocol.js +90 -0
  10. package/esm/generated-sdk/auth/contract.d.ts +1 -1
  11. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  12. package/esm/generated-sdk/auth/contract.js +2 -2
  13. package/esm/generated-sdk/auth/schemas.d.ts +329 -2
  14. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  15. package/esm/generated-sdk/auth/schemas.js +3 -3
  16. package/esm/generated-sdk/auth/types.d.ts +47 -3
  17. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  18. package/esm/generated-sdk/auth/types.js +1 -1
  19. package/esm/index.d.ts +2 -2
  20. package/esm/index.d.ts.map +1 -1
  21. package/esm/index.js +1 -1
  22. package/esm/server/service.d.ts +11 -2
  23. package/esm/server/service.d.ts.map +1 -1
  24. package/esm/server/service.js +28 -4
  25. package/package.json +2 -2
  26. package/script/auth/protocol.d.ts +120 -3
  27. package/script/auth/protocol.d.ts.map +1 -1
  28. package/script/auth/protocol.js +47 -5
  29. package/script/contract_support/mod.d.ts +1 -1
  30. package/script/contract_support/mod.d.ts.map +1 -1
  31. package/script/contract_support/mod.js +8 -1
  32. package/script/contract_support/protocol.d.ts +67 -0
  33. package/script/contract_support/protocol.d.ts.map +1 -1
  34. package/script/contract_support/protocol.js +96 -1
  35. package/script/generated-sdk/auth/contract.d.ts +1 -1
  36. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  37. package/script/generated-sdk/auth/contract.js +2 -2
  38. package/script/generated-sdk/auth/schemas.d.ts +329 -2
  39. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  40. package/script/generated-sdk/auth/schemas.js +3 -3
  41. package/script/generated-sdk/auth/types.d.ts +47 -3
  42. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  43. package/script/generated-sdk/auth/types.js +1 -1
  44. package/script/index.d.ts +2 -2
  45. package/script/index.d.ts.map +1 -1
  46. package/script/index.js +9 -2
  47. package/script/server/service.d.ts +11 -2
  48. package/script/server/service.d.ts.map +1 -1
  49. package/script/server/service.js +27 -3
  50. package/src/auth/protocol.ts +55 -1
  51. package/src/contract_support/mod.ts +12 -0
  52. package/src/contract_support/protocol.ts +137 -0
  53. package/src/index.ts +12 -0
  54. package/src/sdk/_generated/auth/contract.ts +2 -2
  55. package/src/sdk/_generated/auth/schemas.ts +3 -3
  56. package/src/sdk/_generated/auth/types.ts +4 -4
  57. package/src/server/service.ts +52 -3
@@ -9,7 +9,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
9
9
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
- var _StoreHandle_nc, _TrellisService_instances, _TrellisService_server, _TrellisService_handlerTrellis, _TrellisService_operationTransfer, _TrellisService_stopHealthPublishing, _TrellisService_managedJobWorkers, _TrellisService_waitPromise, _TrellisService_stopPromise, _TrellisService_createBoundEventFacade, _TrellisService_createHandleFacade, _TrellisService_createBoundHandleFacade, _TrellisService_operation;
12
+ var _StoreHandle_nc, _TrellisService_instances, _TrellisService_server, _TrellisService_handlerTrellis, _TrellisService_operationTransfer, _TrellisService_stopHealthPublishing, _TrellisService_managedJobWorkers, _TrellisService_waitPromise, _TrellisService_stopPromise, _TrellisService_createBoundHealth, _TrellisService_createBoundEventFacade, _TrellisService_createHandleFacade, _TrellisService_createBoundHandleFacade, _TrellisService_operation;
13
13
  import { headers as natsHeaders, jwtAuthenticator, } from "@nats-io/nats-core";
14
14
  import { TypedKV, TypedStore, } from "../index.js";
15
15
  import { sdk as trellisAuth } from "../sdk/auth.js";
@@ -20,7 +20,7 @@ import { CONTRACT_JOBS_METADATA, CONTRACT_KV_METADATA, } from "../contract_suppo
20
20
  import { AsyncResult, isErr, Result, } from "@qlever-llc/result";
21
21
  import { Type } from "typebox";
22
22
  import { Value } from "typebox/value";
23
- import { ServiceHealth } from "./health.js";
23
+ import { ServiceHealth, } from "./health.js";
24
24
  import { mountStandardHealthRpc } from "./health_rpc.js";
25
25
  import { createTrellisInternal } from "../trellis.js";
26
26
  import { ServiceTransfer } from "./transfer.js";
@@ -1218,7 +1218,7 @@ export class TrellisService {
1218
1218
  kv: this.kv,
1219
1219
  store: this.store,
1220
1220
  jobs: createBoundJobsFacade({ jobs: this.jobs, deps }),
1221
- health: this.health,
1221
+ health: __classPrivateFieldGet(this, _TrellisService_instances, "m", _TrellisService_createBoundHealth).call(this, deps),
1222
1222
  handle: __classPrivateFieldGet(this, _TrellisService_instances, "m", _TrellisService_createBoundHandleFacade).call(this, deps),
1223
1223
  connection: this.connection,
1224
1224
  createTransfer: (args) => this.createTransfer(args),
@@ -1382,7 +1382,31 @@ export class TrellisService {
1382
1382
  await __classPrivateFieldGet(this, _TrellisService_stopPromise, "f");
1383
1383
  }
1384
1384
  }
1385
- _TrellisService_server = new WeakMap(), _TrellisService_handlerTrellis = new WeakMap(), _TrellisService_operationTransfer = new WeakMap(), _TrellisService_stopHealthPublishing = new WeakMap(), _TrellisService_managedJobWorkers = new WeakMap(), _TrellisService_waitPromise = new WeakMap(), _TrellisService_stopPromise = new WeakMap(), _TrellisService_instances = new WeakSet(), _TrellisService_createBoundEventFacade = function _TrellisService_createBoundEventFacade(deps) {
1385
+ _TrellisService_server = new WeakMap(), _TrellisService_handlerTrellis = new WeakMap(), _TrellisService_operationTransfer = new WeakMap(), _TrellisService_stopHealthPublishing = new WeakMap(), _TrellisService_managedJobWorkers = new WeakMap(), _TrellisService_waitPromise = new WeakMap(), _TrellisService_stopPromise = new WeakMap(), _TrellisService_instances = new WeakSet(), _TrellisService_createBoundHealth = function _TrellisService_createBoundHealth(deps) {
1386
+ const health = this.health;
1387
+ return {
1388
+ serviceName: health.serviceName,
1389
+ kind: health.kind,
1390
+ instanceId: health.instanceId,
1391
+ contractId: health.contractId,
1392
+ contractDigest: health.contractDigest,
1393
+ startedAt: health.startedAt,
1394
+ publishIntervalMs: health.publishIntervalMs,
1395
+ setInfo(info) {
1396
+ if (typeof info !== "function") {
1397
+ health.setInfo(info);
1398
+ return;
1399
+ }
1400
+ health.setInfo(() => info({ deps }));
1401
+ },
1402
+ add(name, check) {
1403
+ return health.add(name, () => check({ deps }));
1404
+ },
1405
+ checks: () => health.checks(),
1406
+ response: () => health.response(),
1407
+ heartbeat: () => health.heartbeat(),
1408
+ };
1409
+ }, _TrellisService_createBoundEventFacade = function _TrellisService_createBoundEventFacade(deps) {
1386
1410
  const event = {};
1387
1411
  const source = this.event;
1388
1412
  for (const [groupName, leaves] of Object.entries(source)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qlever-llc/trellis",
3
- "version": "0.10.7",
3
+ "version": "0.10.9",
4
4
  "description": "Client-side Trellis runtime, models, and contract helpers for TypeScript applications.",
5
5
  "homepage": "https://github.com/Qlever-LLC/trellis#readme",
6
6
  "repository": {
@@ -122,7 +122,7 @@
122
122
  "ts-deepmerge": "^7.0.3",
123
123
  "typebox": "^1.0.15",
124
124
  "ulid": "^3.0.1",
125
- "@qlever-llc/result": "^0.10.7"
125
+ "@qlever-llc/result": "^0.10.9"
126
126
  },
127
127
  "devDependencies": {
128
128
  "@types/node": "^20.9.0"
@@ -184,6 +184,8 @@ export declare const DeploymentAuthoritySurfaceSchema: Type.TObject<{
184
184
  export type DeploymentAuthoritySurface = StaticDecode<typeof DeploymentAuthoritySurfaceSchema>;
185
185
  export declare const DeploymentAuthorityCapabilitySchema: Type.TString;
186
186
  export type DeploymentAuthorityCapability = StaticDecode<typeof DeploymentAuthorityCapabilitySchema>;
187
+ export declare const DeploymentAuthorityCapabilityDirectionSchema: Type.TUnion<[Type.TLiteral<"creates">, Type.TLiteral<"given">]>;
188
+ export type DeploymentAuthorityCapabilityDirection = StaticDecode<typeof DeploymentAuthorityCapabilityDirectionSchema>;
187
189
  export declare const DeploymentAuthorityResourceSchema: Type.TObject<{
188
190
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
189
191
  alias: Type.TString;
@@ -322,6 +324,54 @@ export declare const DeploymentResourceBindingSchema: Type.TObject<{
322
324
  updatedAt: Type.TString;
323
325
  }>;
324
326
  export type DeploymentResourceBinding = StaticDecode<typeof DeploymentResourceBindingSchema>;
327
+ export declare const MaterializedAuthoritySurfaceGrantSchema: Type.TObject<{
328
+ kind: Type.TLiteral<"surface">;
329
+ contractId: Type.TString;
330
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
331
+ name: Type.TString;
332
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
333
+ }>;
334
+ export declare const MaterializedAuthorityCapabilityGrantSchema: Type.TObject<{
335
+ kind: Type.TLiteral<"capability">;
336
+ capability: Type.TString;
337
+ }>;
338
+ export declare const MaterializedAuthorityNatsGrantSourceSchema: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
339
+ export declare const MaterializedAuthorityNatsGrantSchema: Type.TObject<{
340
+ kind: Type.TLiteral<"nats">;
341
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
342
+ subject: Type.TString;
343
+ surface: Type.TOptional<Type.TObject<{
344
+ contractId: Type.TString;
345
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
346
+ name: Type.TString;
347
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
348
+ }>>;
349
+ requiredCapabilities: Type.TArray<Type.TString>;
350
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
351
+ }>;
352
+ export declare const MaterializedAuthorityGrantSchema: Type.TUnion<[Type.TObject<{
353
+ kind: Type.TLiteral<"capability">;
354
+ capability: Type.TString;
355
+ }>, Type.TObject<{
356
+ kind: Type.TLiteral<"surface">;
357
+ contractId: Type.TString;
358
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
359
+ name: Type.TString;
360
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
361
+ }>, Type.TObject<{
362
+ kind: Type.TLiteral<"nats">;
363
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
364
+ subject: Type.TString;
365
+ surface: Type.TOptional<Type.TObject<{
366
+ contractId: Type.TString;
367
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
368
+ name: Type.TString;
369
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
370
+ }>>;
371
+ requiredCapabilities: Type.TArray<Type.TString>;
372
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
373
+ }>]>;
374
+ export type MaterializedAuthorityGrant = StaticDecode<typeof MaterializedAuthorityGrantSchema>;
325
375
  export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
326
376
  deploymentId: Type.TString;
327
377
  desiredVersion: Type.TString;
@@ -335,7 +385,28 @@ export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
335
385
  createdAt: Type.TString;
336
386
  updatedAt: Type.TString;
337
387
  }>>;
338
- grants: Type.TArray<Type.TUnsafe<Record<string, unknown>>>;
388
+ grants: Type.TArray<Type.TUnion<[Type.TObject<{
389
+ kind: Type.TLiteral<"capability">;
390
+ capability: Type.TString;
391
+ }>, Type.TObject<{
392
+ kind: Type.TLiteral<"surface">;
393
+ contractId: Type.TString;
394
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
395
+ name: Type.TString;
396
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
397
+ }>, Type.TObject<{
398
+ kind: Type.TLiteral<"nats">;
399
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
400
+ subject: Type.TString;
401
+ surface: Type.TOptional<Type.TObject<{
402
+ contractId: Type.TString;
403
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
404
+ name: Type.TString;
405
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
406
+ }>>;
407
+ requiredCapabilities: Type.TArray<Type.TString>;
408
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
409
+ }>]>>;
339
410
  reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
340
411
  error: Type.TOptional<Type.TString>;
341
412
  }>;
@@ -768,7 +839,28 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: Type.TObject<{
768
839
  createdAt: Type.TString;
769
840
  updatedAt: Type.TString;
770
841
  }>>;
771
- grants: Type.TArray<Type.TUnsafe<Record<string, unknown>>>;
842
+ grants: Type.TArray<Type.TUnion<[Type.TObject<{
843
+ kind: Type.TLiteral<"capability">;
844
+ capability: Type.TString;
845
+ }>, Type.TObject<{
846
+ kind: Type.TLiteral<"surface">;
847
+ contractId: Type.TString;
848
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
849
+ name: Type.TString;
850
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
851
+ }>, Type.TObject<{
852
+ kind: Type.TLiteral<"nats">;
853
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
854
+ subject: Type.TString;
855
+ surface: Type.TOptional<Type.TObject<{
856
+ contractId: Type.TString;
857
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
858
+ name: Type.TString;
859
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
860
+ }>>;
861
+ requiredCapabilities: Type.TArray<Type.TString>;
862
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
863
+ }>]>>;
772
864
  reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
773
865
  error: Type.TOptional<Type.TString>;
774
866
  }>, Type.TNull]>;
@@ -1322,7 +1414,28 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: Type.TObjec
1322
1414
  createdAt: Type.TString;
1323
1415
  updatedAt: Type.TString;
1324
1416
  }>>;
1325
- grants: Type.TArray<Type.TUnsafe<Record<string, unknown>>>;
1417
+ grants: Type.TArray<Type.TUnion<[Type.TObject<{
1418
+ kind: Type.TLiteral<"capability">;
1419
+ capability: Type.TString;
1420
+ }>, Type.TObject<{
1421
+ kind: Type.TLiteral<"surface">;
1422
+ contractId: Type.TString;
1423
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1424
+ name: Type.TString;
1425
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1426
+ }>, Type.TObject<{
1427
+ kind: Type.TLiteral<"nats">;
1428
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
1429
+ subject: Type.TString;
1430
+ surface: Type.TOptional<Type.TObject<{
1431
+ contractId: Type.TString;
1432
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1433
+ name: Type.TString;
1434
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1435
+ }>>;
1436
+ requiredCapabilities: Type.TArray<Type.TString>;
1437
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
1438
+ }>]>>;
1326
1439
  reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
1327
1440
  error: Type.TOptional<Type.TString>;
1328
1441
  }>;
@@ -3211,6 +3324,7 @@ export declare const AuthUsersAccountFlowCreateResponseSchema: Type.TObject<{
3211
3324
  expiresAt: Type.TString;
3212
3325
  }>;
3213
3326
  export declare const CapabilityDefinitionSchema: Type.TObject<{
3327
+ deploymentId: Type.TOptional<Type.TString>;
3214
3328
  key: Type.TString;
3215
3329
  displayName: Type.TString;
3216
3330
  description: Type.TString;
@@ -3219,6 +3333,7 @@ export declare const CapabilityDefinitionSchema: Type.TObject<{
3219
3333
  contractId: Type.TOptional<Type.TString>;
3220
3334
  contractDigest: Type.TOptional<Type.TString>;
3221
3335
  contractDisplayName: Type.TOptional<Type.TString>;
3336
+ direction: Type.TOptional<Type.TUnion<[Type.TLiteral<"creates">, Type.TLiteral<"given">]>>;
3222
3337
  }>;
3223
3338
  export declare const AuthCapabilitiesListSchema: Type.TObject<{
3224
3339
  offset: Type.TOptional<Type.TInteger>;
@@ -3226,6 +3341,7 @@ export declare const AuthCapabilitiesListSchema: Type.TObject<{
3226
3341
  }>;
3227
3342
  export declare const AuthCapabilitiesListResponseSchema: Type.TObject<{
3228
3343
  entries: Type.TArray<Type.TObject<{
3344
+ deploymentId: Type.TOptional<Type.TString>;
3229
3345
  key: Type.TString;
3230
3346
  displayName: Type.TString;
3231
3347
  description: Type.TString;
@@ -3234,6 +3350,7 @@ export declare const AuthCapabilitiesListResponseSchema: Type.TObject<{
3234
3350
  contractId: Type.TOptional<Type.TString>;
3235
3351
  contractDigest: Type.TOptional<Type.TString>;
3236
3352
  contractDisplayName: Type.TOptional<Type.TString>;
3353
+ direction: Type.TOptional<Type.TUnion<[Type.TLiteral<"creates">, Type.TLiteral<"given">]>>;
3237
3354
  }>>;
3238
3355
  count: Type.TInteger;
3239
3356
  offset: Type.TInteger;
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../../src/auth/protocol.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAW/B,eAAO,MAAM,qBAAqB,+HAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEzE,eAAO,MAAM,YAAY,cAA+C,CAAC;AAEzE,eAAO,MAAM,gBAAgB,uCAE3B,CAAC;AAEH,eAAO,MAAM,uBAAuB;kBACpB,MAAM;gBACR,MAAM,EAAE;gCACQ,QAAQ,GAAG,aAAa;cAC1C,OAAO;EAQhB,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAC;AAEH,eAAO,MAAM,sBAAsB,mEAGjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;IAqBnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;EAGrC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;EAMrC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1C,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYnC,CAAC;AAEH,eAAO,MAAM,6BAA6B,qKAOxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG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uthorityGrantOverridesListResponseSchema = exports.AuthDeploymentAuthorityGrantOverridesListSchema = exports.AuthDeploymentAuthorityGrantOverridesPutSchema = exports.AuthDeploymentAuthorityReconcileResponseSchema = exports.AuthDeploymentAuthorityReconcileSchema = exports.AuthDeploymentAuthorityRejectResponseSchema = exports.AuthDeploymentAuthorityRejectSchema = exports.AuthDeploymentAuthorityAcceptResponseSchema = exports.AuthDeploymentAuthorityAcceptMigrationSchema = exports.AuthDeploymentAuthorityAcceptUpdateSchema = exports.AuthDeploymentAuthorityPlanResponseSchema = exports.AuthDeploymentAuthorityPlanSchema = exports.AuthDeploymentAuthorityPlansGetResponseSchema = exports.AuthDeploymentAuthorityPlansGetSchema = exports.AuthDeploymentAuthorityPlansListResponseSchema = exports.AuthDeploymentAuthorityPlansListSchema = exports.AuthDeploymentAuthorityGetResponseSchema = exports.AuthDeploymentAuthorityGetSchema = exports.AuthDeploymentAuthorityListResponseSchema = exports.AuthDeploymentAuthorityListSchema = exports.DeploymentAuthorityGrantOverrideSchema = exports.DeploymentPortalRouteSchema = exports.ImplementationOfferSchema = exports.DeploymentAuthorityPlanSchema = exports.DeploymentAuthorityMigrationSchema = exports.DeploymentAuthorityUpdateSchema = exports.DeploymentAuthorityReconciliationStatusSchema = exports.DeploymentAuthorityMaterializationSchema = exports.DeploymentResourceBindingSchema = exports.DeploymentAuthorityProposalSchema = exports.DeploymentAuthoritySchema = exports.DeploymentAuthorityNeedSchema = exports.DeploymentAuthorityResourceSchema = exports.DeploymentAuthorityCapabilitySchema = exports.DeploymentAuthoritySurfaceSchema = exports.DeploymentAuthorityResourceKindSchema = exports.DeploymentAuthoritySurfaceActionSchema = exports.DeploymentAuthoritySurfaceKindSchema = exports.DeploymentAuthorityKindSchema = exports.ApprovalRecordViewSchema = exports.IdentityGrantApprovalViewSchema = exports.ApprovalEvidenceViewSchema = exports.ContractEvidenceViewSchema = exports.IdentityAnchorViewSchema = exports.ApprovalDecisionSchema = exports.ServiceInstanceSchema = exports.ServiceDeploymentSchema = exports.OpenObjectSchema = exports.DigestSchema = exports.ParticipantKindSchema = void 0;
4
- exports.AuthPortalsRemoveSchema = exports.AuthPortalsPutResponseSchema = exports.AuthPortalsPutSchema = exports.AuthPortalsGetResponseSchema = exports.AuthPortalsGetSchema = exports.AuthPortalsListResponseSchema = exports.AuthPortalsListSchema = exports.LoginPortalSummarySchema = exports.LoginPortalRouteSchema = exports.LoginPortalFederatedProviderSchema = exports.LoginPortalSettingsSchema = exports.LoginPortalRecordSchema = exports.AuthIdentityGrantsListResponseSchema = exports.AuthIdentityGrantsListSchema = exports.IdentityGrantViewSchema = exports.AuthIdentityGrantsRevokeResponseSchema = exports.AuthIdentityGrantsRevokeSchema = exports.AuthIdentitiesListResponseSchema = exports.AuthIdentitiesListSchema = exports.AuthRequestsValidateResponseSchema = exports.CallerViewSchema = exports.AuthSessionsMeResponseSchema = exports.AuthenticatedDeviceSchema = exports.AuthenticatedServiceSchema = exports.AuthRequestsValidateSchema = exports.AuthSessionsMeSchema = exports.AuthenticatedUserSchema = exports.ContractAnalysisSchema = exports.ContractAnalysisNatsRuleSchema = exports.ContractAnalysisSubjectSchema = exports.ContractAnalysisEventSchema = exports.ContractAnalysisOperationControlSchema = exports.ContractAnalysisOperationSchema = exports.ContractAnalysisRpcMethodSchema = exports.ContractAnalysisJobsQueueSchema = exports.ContractAnalysisStoreResourceSchema = exports.ContractAnalysisKvResourceSchema = exports.ContractAnalysisSummarySchema = exports.AuthServiceInstancesRemoveResponseSchema = exports.AuthServiceInstancesRemoveSchema = exports.AuthServiceInstancesEnableResponseSchema = exports.AuthServiceInstancesEnableSchema = exports.AuthServiceInstancesDisableResponseSchema = exports.AuthServiceInstancesDisableSchema = exports.AuthServiceInstancesListResponseSchema = exports.AuthServiceInstancesListSchema = exports.AuthServiceInstancesProvisionResponseSchema = exports.AuthServiceInstancesProvisionSchema = exports.AuthDeploymentAuthorityGrantOverridesRemoveSchema = exports.AuthDeploymentAuthorityGrantOverridesResponseSchema = void 0;
5
- exports.WaitForDeviceActivationRequestSchema = exports.WaitForDeviceActivationResponseSchema = exports.AuthResolveDeviceUserAuthoritiesResponseSchema = exports.AuthResolveDeviceUserAuthoritiesProgressSchema = exports.AuthResolveDeviceUserAuthoritiesSchema = exports.AuthDevicesRemoveResponseSchema = exports.AuthDevicesRemoveSchema = exports.AuthDevicesEnableResponseSchema = exports.AuthDevicesEnableSchema = exports.AuthDevicesDisableResponseSchema = exports.AuthDevicesDisableSchema = exports.AuthDevicesListResponseSchema = exports.AuthDevicesListSchema = exports.AuthDevicesProvisionResponseSchema = exports.AuthDevicesProvisionSchema = exports.DeviceConnectInfoSchema = exports.AuthDeviceUserAuthoritiesResolvedEventSchema = exports.AuthDeviceUserAuthoritiesApprovedEventSchema = exports.AuthDeviceUserAuthoritiesRequestedEventSchema = exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = exports.DeviceActivationReviewSchema = exports.DeviceActivationRecordSchema = exports.DeviceActivationActorSchema = exports.DeviceSchema = exports.DeviceMetadataSchema = exports.AuthDeploymentsRemoveResponseSchema = exports.AuthDeploymentsRemoveSchema = exports.AuthDeploymentsEnableResponseSchema = exports.AuthDeploymentsEnableSchema = exports.AuthCatalogIssuesResolveResponseSchema = exports.AuthCatalogIssuesResolveSchema = exports.AuthDeploymentsDisableResponseSchema = exports.AuthDeploymentsDisableSchema = exports.AuthDeploymentsListResponseSchema = exports.AuthDeploymentsListSchema = exports.AuthDeploymentsCreateResponseSchema = exports.AuthDeploymentsCreateSchema = exports.AuthDeploymentSchema = exports.AuthDeploymentKindSchema = exports.DeviceDeploymentSchema = exports.PortalFlowStateSchema = exports.FlowRegistrationAvailabilitySchema = exports.AuthPortalsRoutesRemoveResponseSchema = exports.AuthPortalsRoutesRemoveSchema = exports.AuthPortalsRoutesPutResponseSchema = exports.AuthPortalsRoutesPutSchema = exports.AuthPortalsLoginSettingsUpdateSchema = exports.AuthPortalsLoginSettingsResponseSchema = exports.AuthPortalsLoginSettingsGetSchema = exports.AuthPortalsRemoveResponseSchema = void 0;
6
- exports.AuthUserIdentitiesUnlinkResponseSchema = exports.AuthUserIdentitiesUnlinkSchema = exports.AuthUserIdentitiesListResponseSchema = exports.AuthUserIdentitiesListSchema = exports.AuthUsersUpdateResponseSchema = exports.AuthUsersUpdateSchema = exports.AuthCapabilityGroupsDeleteResponseSchema = exports.AuthCapabilityGroupsDeleteSchema = exports.AuthCapabilityGroupsPutResponseSchema = exports.AuthCapabilityGroupsPutSchema = exports.AuthCapabilityGroupsGetResponseSchema = exports.AuthCapabilityGroupsGetSchema = exports.AuthCapabilityGroupsListResponseSchema = exports.AuthCapabilityGroupsListSchema = exports.CapabilityGroupSchema = exports.AuthCapabilitiesListResponseSchema = exports.AuthCapabilitiesListSchema = exports.CapabilityDefinitionSchema = exports.AuthUsersAccountFlowCreateResponseSchema = exports.AuthUsersPasswordResetCreateSchema = exports.AuthUsersPasswordChangeResponseSchema = exports.AuthUsersPasswordChangeSchema = exports.AuthUsersIdentityLinkCreateSchema = exports.AuthUsersCreateResponseSchema = exports.AuthUsersCreateSchema = exports.AuthUsersGetResponseSchema = exports.AuthUsersGetSchema = exports.AuthUsersListResponseSchema = exports.AuthUsersListSchema = exports.UserViewSchema = exports.UserIdentityViewSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideSchema = exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsListSchema = exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = exports.AuthDeviceUserAuthoritiesRevokeSchema = exports.AuthDeviceUserAuthoritiesListResponseSchema = exports.AuthDeviceUserAuthoritiesListSchema = exports.AuthDevicesConnectInfoGetResponseSchema = exports.AuthDevicesConnectInfoGetSchema = void 0;
3
+ exports.AuthDeploymentAuthorityRejectSchema = exports.AuthDeploymentAuthorityAcceptResponseSchema = exports.AuthDeploymentAuthorityAcceptMigrationSchema = exports.AuthDeploymentAuthorityAcceptUpdateSchema = exports.AuthDeploymentAuthorityPlanResponseSchema = exports.AuthDeploymentAuthorityPlanSchema = exports.AuthDeploymentAuthorityPlansGetResponseSchema = exports.AuthDeploymentAuthorityPlansGetSchema = exports.AuthDeploymentAuthorityPlansListResponseSchema = exports.AuthDeploymentAuthorityPlansListSchema = exports.AuthDeploymentAuthorityGetResponseSchema = exports.AuthDeploymentAuthorityGetSchema = exports.AuthDeploymentAuthorityListResponseSchema = exports.AuthDeploymentAuthorityListSchema = exports.DeploymentAuthorityGrantOverrideSchema = exports.DeploymentPortalRouteSchema = exports.ImplementationOfferSchema = exports.DeploymentAuthorityPlanSchema = exports.DeploymentAuthorityMigrationSchema = exports.DeploymentAuthorityUpdateSchema = exports.DeploymentAuthorityReconciliationStatusSchema = exports.DeploymentAuthorityMaterializationSchema = exports.MaterializedAuthorityGrantSchema = exports.MaterializedAuthorityNatsGrantSchema = exports.MaterializedAuthorityNatsGrantSourceSchema = exports.MaterializedAuthorityCapabilityGrantSchema = exports.MaterializedAuthoritySurfaceGrantSchema = exports.DeploymentResourceBindingSchema = exports.DeploymentAuthorityProposalSchema = exports.DeploymentAuthoritySchema = exports.DeploymentAuthorityNeedSchema = exports.DeploymentAuthorityResourceSchema = exports.DeploymentAuthorityCapabilityDirectionSchema = exports.DeploymentAuthorityCapabilitySchema = exports.DeploymentAuthoritySurfaceSchema = exports.DeploymentAuthorityResourceKindSchema = exports.DeploymentAuthoritySurfaceActionSchema = exports.DeploymentAuthoritySurfaceKindSchema = exports.DeploymentAuthorityKindSchema = exports.ApprovalRecordViewSchema = exports.IdentityGrantApprovalViewSchema = exports.ApprovalEvidenceViewSchema = exports.ContractEvidenceViewSchema = exports.IdentityAnchorViewSchema = exports.ApprovalDecisionSchema = exports.ServiceInstanceSchema = exports.ServiceDeploymentSchema = exports.OpenObjectSchema = exports.DigestSchema = exports.ParticipantKindSchema = void 0;
4
+ exports.AuthPortalsListSchema = exports.LoginPortalSummarySchema = exports.LoginPortalRouteSchema = exports.LoginPortalFederatedProviderSchema = exports.LoginPortalSettingsSchema = exports.LoginPortalRecordSchema = exports.AuthIdentityGrantsListResponseSchema = exports.AuthIdentityGrantsListSchema = exports.IdentityGrantViewSchema = exports.AuthIdentityGrantsRevokeResponseSchema = exports.AuthIdentityGrantsRevokeSchema = exports.AuthIdentitiesListResponseSchema = exports.AuthIdentitiesListSchema = exports.AuthRequestsValidateResponseSchema = exports.CallerViewSchema = exports.AuthSessionsMeResponseSchema = exports.AuthenticatedDeviceSchema = exports.AuthenticatedServiceSchema = exports.AuthRequestsValidateSchema = exports.AuthSessionsMeSchema = exports.AuthenticatedUserSchema = exports.ContractAnalysisSchema = exports.ContractAnalysisNatsRuleSchema = exports.ContractAnalysisSubjectSchema = exports.ContractAnalysisEventSchema = exports.ContractAnalysisOperationControlSchema = exports.ContractAnalysisOperationSchema = exports.ContractAnalysisRpcMethodSchema = exports.ContractAnalysisJobsQueueSchema = exports.ContractAnalysisStoreResourceSchema = exports.ContractAnalysisKvResourceSchema = exports.ContractAnalysisSummarySchema = exports.AuthServiceInstancesRemoveResponseSchema = exports.AuthServiceInstancesRemoveSchema = exports.AuthServiceInstancesEnableResponseSchema = exports.AuthServiceInstancesEnableSchema = exports.AuthServiceInstancesDisableResponseSchema = exports.AuthServiceInstancesDisableSchema = exports.AuthServiceInstancesListResponseSchema = exports.AuthServiceInstancesListSchema = exports.AuthServiceInstancesProvisionResponseSchema = exports.AuthServiceInstancesProvisionSchema = exports.AuthDeploymentAuthorityGrantOverridesRemoveSchema = exports.AuthDeploymentAuthorityGrantOverridesResponseSchema = exports.AuthDeploymentAuthorityGrantOverridesListResponseSchema = exports.AuthDeploymentAuthorityGrantOverridesListSchema = exports.AuthDeploymentAuthorityGrantOverridesPutSchema = exports.AuthDeploymentAuthorityReconcileResponseSchema = exports.AuthDeploymentAuthorityReconcileSchema = exports.AuthDeploymentAuthorityRejectResponseSchema = void 0;
5
+ exports.AuthDevicesRemoveSchema = exports.AuthDevicesEnableResponseSchema = exports.AuthDevicesEnableSchema = exports.AuthDevicesDisableResponseSchema = exports.AuthDevicesDisableSchema = exports.AuthDevicesListResponseSchema = exports.AuthDevicesListSchema = exports.AuthDevicesProvisionResponseSchema = exports.AuthDevicesProvisionSchema = exports.DeviceConnectInfoSchema = exports.AuthDeviceUserAuthoritiesResolvedEventSchema = exports.AuthDeviceUserAuthoritiesApprovedEventSchema = exports.AuthDeviceUserAuthoritiesRequestedEventSchema = exports.AuthDeviceUserAuthoritiesReviewRequestedEventSchema = exports.DeviceActivationReviewSchema = exports.DeviceActivationRecordSchema = exports.DeviceActivationActorSchema = exports.DeviceSchema = exports.DeviceMetadataSchema = exports.AuthDeploymentsRemoveResponseSchema = exports.AuthDeploymentsRemoveSchema = exports.AuthDeploymentsEnableResponseSchema = exports.AuthDeploymentsEnableSchema = exports.AuthCatalogIssuesResolveResponseSchema = exports.AuthCatalogIssuesResolveSchema = exports.AuthDeploymentsDisableResponseSchema = exports.AuthDeploymentsDisableSchema = exports.AuthDeploymentsListResponseSchema = exports.AuthDeploymentsListSchema = exports.AuthDeploymentsCreateResponseSchema = exports.AuthDeploymentsCreateSchema = exports.AuthDeploymentSchema = exports.AuthDeploymentKindSchema = exports.DeviceDeploymentSchema = exports.PortalFlowStateSchema = exports.FlowRegistrationAvailabilitySchema = exports.AuthPortalsRoutesRemoveResponseSchema = exports.AuthPortalsRoutesRemoveSchema = exports.AuthPortalsRoutesPutResponseSchema = exports.AuthPortalsRoutesPutSchema = exports.AuthPortalsLoginSettingsUpdateSchema = exports.AuthPortalsLoginSettingsResponseSchema = exports.AuthPortalsLoginSettingsGetSchema = exports.AuthPortalsRemoveResponseSchema = exports.AuthPortalsRemoveSchema = exports.AuthPortalsPutResponseSchema = exports.AuthPortalsPutSchema = exports.AuthPortalsGetResponseSchema = exports.AuthPortalsGetSchema = exports.AuthPortalsListResponseSchema = void 0;
6
+ exports.AuthUserIdentitiesUnlinkResponseSchema = exports.AuthUserIdentitiesUnlinkSchema = exports.AuthUserIdentitiesListResponseSchema = exports.AuthUserIdentitiesListSchema = exports.AuthUsersUpdateResponseSchema = exports.AuthUsersUpdateSchema = exports.AuthCapabilityGroupsDeleteResponseSchema = exports.AuthCapabilityGroupsDeleteSchema = exports.AuthCapabilityGroupsPutResponseSchema = exports.AuthCapabilityGroupsPutSchema = exports.AuthCapabilityGroupsGetResponseSchema = exports.AuthCapabilityGroupsGetSchema = exports.AuthCapabilityGroupsListResponseSchema = exports.AuthCapabilityGroupsListSchema = exports.CapabilityGroupSchema = exports.AuthCapabilitiesListResponseSchema = exports.AuthCapabilitiesListSchema = exports.CapabilityDefinitionSchema = exports.AuthUsersAccountFlowCreateResponseSchema = exports.AuthUsersPasswordResetCreateSchema = exports.AuthUsersPasswordChangeResponseSchema = exports.AuthUsersPasswordChangeSchema = exports.AuthUsersIdentityLinkCreateSchema = exports.AuthUsersCreateResponseSchema = exports.AuthUsersCreateSchema = exports.AuthUsersGetResponseSchema = exports.AuthUsersGetSchema = exports.AuthUsersListResponseSchema = exports.AuthUsersListSchema = exports.UserViewSchema = exports.UserIdentityViewSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsDecideSchema = exports.AuthDeviceUserAuthoritiesReviewsListResponseSchema = exports.AuthDeviceUserAuthoritiesReviewsListSchema = exports.AuthDeviceUserAuthoritiesRevokeResponseSchema = exports.AuthDeviceUserAuthoritiesRevokeSchema = exports.AuthDeviceUserAuthoritiesListResponseSchema = exports.AuthDeviceUserAuthoritiesListSchema = exports.AuthDevicesConnectInfoGetResponseSchema = exports.AuthDevicesConnectInfoGetSchema = exports.WaitForDeviceActivationRequestSchema = exports.WaitForDeviceActivationResponseSchema = exports.AuthResolveDeviceUserAuthoritiesResponseSchema = exports.AuthResolveDeviceUserAuthoritiesProgressSchema = exports.AuthResolveDeviceUserAuthoritiesSchema = exports.AuthDevicesRemoveResponseSchema = void 0;
7
7
  const contracts_js_1 = require("../contracts.js");
8
8
  const typebox_1 = require("typebox");
9
9
  const protocol_js_1 = require("../contract_support/protocol.js");
@@ -128,6 +128,10 @@ exports.DeploymentAuthoritySurfaceSchema = typebox_1.Type.Object({
128
128
  exports.DeploymentAuthorityCapabilitySchema = typebox_1.Type.String({
129
129
  minLength: 1,
130
130
  });
131
+ exports.DeploymentAuthorityCapabilityDirectionSchema = typebox_1.Type.Union([
132
+ typebox_1.Type.Literal("creates"),
133
+ typebox_1.Type.Literal("given"),
134
+ ]);
131
135
  exports.DeploymentAuthorityResourceSchema = typebox_1.Type.Object({
132
136
  kind: exports.DeploymentAuthorityResourceKindSchema,
133
137
  alias: typebox_1.Type.String({ minLength: 1 }),
@@ -189,6 +193,42 @@ exports.DeploymentResourceBindingSchema = typebox_1.Type.Object({
189
193
  createdAt: IsoDateStringSchema,
190
194
  updatedAt: IsoDateStringSchema,
191
195
  });
196
+ exports.MaterializedAuthoritySurfaceGrantSchema = typebox_1.Type.Object({
197
+ kind: typebox_1.Type.Literal("surface"),
198
+ contractId: typebox_1.Type.String({ minLength: 1 }),
199
+ surfaceKind: exports.DeploymentAuthoritySurfaceKindSchema,
200
+ name: typebox_1.Type.String({ minLength: 1 }),
201
+ action: typebox_1.Type.Optional(exports.DeploymentAuthoritySurfaceActionSchema),
202
+ });
203
+ exports.MaterializedAuthorityCapabilityGrantSchema = typebox_1.Type.Object({
204
+ kind: typebox_1.Type.Literal("capability"),
205
+ capability: exports.DeploymentAuthorityCapabilitySchema,
206
+ });
207
+ exports.MaterializedAuthorityNatsGrantSourceSchema = typebox_1.Type.Union([
208
+ typebox_1.Type.Literal("owned-surface"),
209
+ typebox_1.Type.Literal("used-surface"),
210
+ typebox_1.Type.Literal("resource-binding"),
211
+ typebox_1.Type.Literal("platform-service"),
212
+ typebox_1.Type.Literal("transfer"),
213
+ ]);
214
+ exports.MaterializedAuthorityNatsGrantSchema = typebox_1.Type.Object({
215
+ kind: typebox_1.Type.Literal("nats"),
216
+ direction: typebox_1.Type.Union([typebox_1.Type.Literal("publish"), typebox_1.Type.Literal("subscribe")]),
217
+ subject: typebox_1.Type.String({ minLength: 1 }),
218
+ surface: typebox_1.Type.Optional(typebox_1.Type.Object({
219
+ contractId: typebox_1.Type.String({ minLength: 1 }),
220
+ kind: exports.DeploymentAuthoritySurfaceKindSchema,
221
+ name: typebox_1.Type.String({ minLength: 1 }),
222
+ action: typebox_1.Type.Optional(exports.DeploymentAuthoritySurfaceActionSchema),
223
+ })),
224
+ requiredCapabilities: typebox_1.Type.Array(typebox_1.Type.String({ minLength: 1 })),
225
+ grantSource: exports.MaterializedAuthorityNatsGrantSourceSchema,
226
+ });
227
+ exports.MaterializedAuthorityGrantSchema = typebox_1.Type.Union([
228
+ exports.MaterializedAuthorityCapabilityGrantSchema,
229
+ exports.MaterializedAuthoritySurfaceGrantSchema,
230
+ exports.MaterializedAuthorityNatsGrantSchema,
231
+ ]);
192
232
  exports.DeploymentAuthorityMaterializationSchema = typebox_1.Type.Object({
193
233
  deploymentId: typebox_1.Type.String({ minLength: 1 }),
194
234
  desiredVersion: typebox_1.Type.String({ minLength: 1 }),
@@ -198,7 +238,7 @@ exports.DeploymentAuthorityMaterializationSchema = typebox_1.Type.Object({
198
238
  typebox_1.Type.Literal("failed"),
199
239
  ]),
200
240
  resourceBindings: typebox_1.Type.Array(exports.DeploymentResourceBindingSchema),
201
- grants: typebox_1.Type.Array(exports.OpenObjectSchema),
241
+ grants: typebox_1.Type.Array(exports.MaterializedAuthorityGrantSchema),
202
242
  reconciledAt: typebox_1.Type.Union([IsoDateStringSchema, typebox_1.Type.Null()]),
203
243
  error: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1 })),
204
244
  });
@@ -1253,6 +1293,7 @@ exports.AuthUsersAccountFlowCreateResponseSchema = typebox_1.Type.Object({
1253
1293
  expiresAt: IsoDateStringSchema,
1254
1294
  });
1255
1295
  exports.CapabilityDefinitionSchema = typebox_1.Type.Object({
1296
+ deploymentId: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1 })),
1256
1297
  key: typebox_1.Type.String({ minLength: 1 }),
1257
1298
  displayName: typebox_1.Type.String({ minLength: 1 }),
1258
1299
  description: typebox_1.Type.String({ minLength: 1 }),
@@ -1261,6 +1302,7 @@ exports.CapabilityDefinitionSchema = typebox_1.Type.Object({
1261
1302
  contractId: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1 })),
1262
1303
  contractDigest: typebox_1.Type.Optional(exports.DigestSchema),
1263
1304
  contractDisplayName: typebox_1.Type.Optional(typebox_1.Type.String({ minLength: 1 })),
1305
+ direction: typebox_1.Type.Optional(exports.DeploymentAuthorityCapabilityDirectionSchema),
1264
1306
  });
1265
1307
  exports.AuthCapabilitiesListSchema = typebox_1.Type.Object({
1266
1308
  offset: typebox_1.Type.Optional(typebox_1.Type.Integer({ minimum: 0 })),
@@ -11,7 +11,7 @@ import { canonicalizeJson, digestJson, isJsonValue, type JsonValue } from "./can
11
11
  import { type EventDesc, type FeedDesc, type InferRuntimeRpcError, type InferSchemaType, type OperationDesc, type RPCDesc, type RpcErrorClass, type RuntimeRpcErrorDesc, type Schema, schema, type SchemaLike, type SerializableErrorData, type TrellisAPI, unwrapSchema } from "./runtime.js";
12
12
  import { type SubjectParam } from "./schema_pointers.js";
13
13
  import { type ContractEventConsumers } from "./protocol.js";
14
- export { type ContractEventConsumerEvent, ContractEventConsumerEventSchema, type ContractEventConsumerGroup, ContractEventConsumerGroupSchema, type ContractEventConsumers, ContractEventConsumersSchema, ContractJobQueueSchema, ContractJobsSchema, ContractKvResourceSchema, ContractResourceBindingsSchema, ContractResourcesSchema, ContractSchemaRefSchema, ContractStateSchema, ContractStateStoreSchema, ContractStoreResourceSchema, type EventConsumerResourceBinding, EventConsumerResourceBindingSchema, type EventHeader, EventHeaderSchema, type InstalledServiceContract, InstalledServiceContractSchema, IsoDateSchema, type JobsQueueBinding, JobsQueueBindingSchema, type JobsResourceBinding, JobsResourceBindingSchema, type KvResourceBinding, KvResourceBindingSchema, type PageRequest, PageRequestSchema, type PageResponse, PageResponseSchema, type StoreResourceBinding, StoreResourceBindingSchema, } from "./protocol.js";
14
+ export { buildCursorPage, buildPageResponse, type ContractEventConsumerEvent, ContractEventConsumerEventSchema, type ContractEventConsumerGroup, ContractEventConsumerGroupSchema, type ContractEventConsumers, ContractEventConsumersSchema, ContractJobQueueSchema, ContractJobsSchema, ContractKvResourceSchema, ContractResourceBindingsSchema, ContractResourcesSchema, ContractSchemaRefSchema, ContractStateSchema, ContractStateStoreSchema, ContractStoreResourceSchema, type CursorPage, type CursorPageInfo, CursorPageInfoSchema, CursorPageSchema, type CursorQuery, type CursorQueryOptions, CursorQuerySchema, type EventConsumerResourceBinding, EventConsumerResourceBindingSchema, type EventHeader, EventHeaderSchema, type InstalledServiceContract, InstalledServiceContractSchema, IsoDateSchema, type JobsQueueBinding, JobsQueueBindingSchema, type JobsResourceBinding, JobsResourceBindingSchema, type KvResourceBinding, KvResourceBindingSchema, normalizeCursorQuery, type NormalizedCursorQuery, normalizePageQuery, type PageRequest, PageRequestSchema, type PageResponse, PageResponseSchema, type StoreResourceBinding, StoreResourceBindingSchema, } from "./protocol.js";
15
15
  export declare const CONTRACT_FORMAT_V1: "trellis.contract.v1";
16
16
  export declare const CATALOG_FORMAT_V1: "trellis.catalog.v1";
17
17
  export declare const ContractDocsSchema: Type.TObject<{