@qlever-llc/trellis 0.10.17 → 0.10.18

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 (65) hide show
  1. package/esm/auth/browser/portal.d.ts.map +1 -1
  2. package/esm/auth/browser/portal.js +2 -0
  3. package/esm/auth/browser.d.ts +2 -0
  4. package/esm/auth/browser.d.ts.map +1 -1
  5. package/esm/auth/browser.js +1 -0
  6. package/esm/auth/browser_recovery.d.ts +22 -0
  7. package/esm/auth/browser_recovery.d.ts.map +1 -0
  8. package/esm/auth/browser_recovery.js +238 -0
  9. package/esm/auth/mod.d.ts +2 -2
  10. package/esm/auth/mod.d.ts.map +1 -1
  11. package/esm/auth/mod.js +2 -2
  12. package/esm/auth/protocol.d.ts +362 -398
  13. package/esm/auth/protocol.d.ts.map +1 -1
  14. package/esm/auth/protocol.js +36 -33
  15. package/esm/browser.d.ts +2 -2
  16. package/esm/browser.d.ts.map +1 -1
  17. package/esm/browser.js +1 -1
  18. package/esm/client_connect.js +1 -1
  19. package/esm/generated-sdk/auth/contract.d.ts +1 -1
  20. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  21. package/esm/generated-sdk/auth/contract.js +1236 -1079
  22. package/esm/generated-sdk/auth/schemas.d.ts +1428 -1578
  23. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  24. package/esm/generated-sdk/auth/schemas.js +725 -669
  25. package/esm/generated-sdk/auth/types.d.ts +239 -281
  26. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  27. package/esm/generated-sdk/auth/types.js +1 -1
  28. package/package.json +2 -2
  29. package/script/auth/browser/portal.d.ts.map +1 -1
  30. package/script/auth/browser/portal.js +2 -0
  31. package/script/auth/browser.d.ts +2 -0
  32. package/script/auth/browser.d.ts.map +1 -1
  33. package/script/auth/browser.js +4 -1
  34. package/script/auth/browser_recovery.d.ts +22 -0
  35. package/script/auth/browser_recovery.d.ts.map +1 -0
  36. package/script/auth/browser_recovery.js +242 -0
  37. package/script/auth/mod.d.ts +2 -2
  38. package/script/auth/mod.d.ts.map +1 -1
  39. package/script/auth/mod.js +17 -6
  40. package/script/auth/protocol.d.ts +362 -398
  41. package/script/auth/protocol.d.ts.map +1 -1
  42. package/script/auth/protocol.js +41 -37
  43. package/script/browser.d.ts +2 -2
  44. package/script/browser.d.ts.map +1 -1
  45. package/script/browser.js +4 -2
  46. package/script/client_connect.js +1 -1
  47. package/script/generated-sdk/auth/contract.d.ts +1 -1
  48. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  49. package/script/generated-sdk/auth/contract.js +1236 -1079
  50. package/script/generated-sdk/auth/schemas.d.ts +1428 -1578
  51. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  52. package/script/generated-sdk/auth/schemas.js +725 -669
  53. package/script/generated-sdk/auth/types.d.ts +239 -281
  54. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  55. package/script/generated-sdk/auth/types.js +1 -1
  56. package/src/auth/browser/portal.ts +1 -0
  57. package/src/auth/browser.ts +8 -0
  58. package/src/auth/browser_recovery.ts +319 -0
  59. package/src/auth/mod.ts +25 -2
  60. package/src/auth/protocol.ts +73 -37
  61. package/src/browser.ts +4 -0
  62. package/src/client_connect.ts +1 -1
  63. package/src/sdk/_generated/auth/contract.ts +1477 -1320
  64. package/src/sdk/_generated/auth/schemas.ts +919 -863
  65. package/src/sdk/_generated/auth/types.ts +242 -304
@@ -193,66 +193,83 @@ export declare const DeploymentAuthorityResourceSchema: Type.TObject<{
193
193
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
194
194
  }>;
195
195
  export type DeploymentAuthorityResource = StaticDecode<typeof DeploymentAuthorityResourceSchema>;
196
- export declare const DeploymentAuthorityNeedSchema: Type.TUnion<[Type.TObject<{
197
- kind: Type.TLiteral<"contract">;
196
+ export declare const DeploymentAuthorityContractNeedSchema: Type.TObject<{
198
197
  contractId: Type.TString;
199
198
  required: Type.TBoolean;
200
- }>, Type.TObject<{
201
- kind: Type.TLiteral<"surface">;
202
- surface: Type.TObject<{
199
+ }>;
200
+ export type DeploymentAuthorityContractNeed = StaticDecode<typeof DeploymentAuthorityContractNeedSchema>;
201
+ export declare const DeploymentAuthoritySurfaceNeedSchema: Type.TObject<{
202
+ contractId: Type.TString;
203
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
204
+ name: Type.TString;
205
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
206
+ required: Type.TBoolean;
207
+ }>;
208
+ export type DeploymentAuthoritySurfaceNeed = StaticDecode<typeof DeploymentAuthoritySurfaceNeedSchema>;
209
+ export declare const DeploymentAuthorityCapabilityNeedSchema: Type.TObject<{
210
+ capability: Type.TString;
211
+ required: Type.TBoolean;
212
+ }>;
213
+ export type DeploymentAuthorityCapabilityNeed = StaticDecode<typeof DeploymentAuthorityCapabilityNeedSchema>;
214
+ export declare const DeploymentAuthorityResourceNeedSchema: Type.TObject<{
215
+ kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
216
+ alias: Type.TString;
217
+ required: Type.TBoolean;
218
+ definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
219
+ }>;
220
+ export type DeploymentAuthorityResourceNeed = StaticDecode<typeof DeploymentAuthorityResourceNeedSchema>;
221
+ export declare const DeploymentAuthorityNeedsSchema: Type.TObject<{
222
+ contracts: Type.TArray<Type.TObject<{
223
+ contractId: Type.TString;
224
+ required: Type.TBoolean;
225
+ }>>;
226
+ surfaces: Type.TArray<Type.TObject<{
203
227
  contractId: Type.TString;
204
228
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
205
229
  name: Type.TString;
206
230
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
207
- }>;
208
- required: Type.TBoolean;
209
- }>, Type.TObject<{
210
- kind: Type.TLiteral<"capability">;
211
- capability: Type.TString;
212
- required: Type.TBoolean;
213
- }>, Type.TObject<{
214
- kind: Type.TLiteral<"resource">;
215
- resource: Type.TObject<{
231
+ required: Type.TBoolean;
232
+ }>>;
233
+ capabilities: Type.TArray<Type.TObject<{
234
+ capability: Type.TString;
235
+ required: Type.TBoolean;
236
+ }>>;
237
+ resources: Type.TArray<Type.TObject<{
216
238
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
217
239
  alias: Type.TString;
218
240
  required: Type.TBoolean;
219
241
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
220
- }>;
221
- required: Type.TBoolean;
222
- }>]>;
223
- export type DeploymentAuthorityNeed = StaticDecode<typeof DeploymentAuthorityNeedSchema>;
242
+ }>>;
243
+ }>;
244
+ export type DeploymentAuthorityNeeds = StaticDecode<typeof DeploymentAuthorityNeedsSchema>;
224
245
  export declare const DeploymentAuthoritySchema: Type.TObject<{
225
246
  deploymentId: Type.TString;
226
247
  kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
227
248
  disabled: Type.TBoolean;
228
249
  desiredState: Type.TObject<{
229
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
230
- kind: Type.TLiteral<"contract">;
231
- contractId: Type.TString;
232
- required: Type.TBoolean;
233
- }>, Type.TObject<{
234
- kind: Type.TLiteral<"surface">;
235
- surface: Type.TObject<{
250
+ needs: Type.TObject<{
251
+ contracts: Type.TArray<Type.TObject<{
252
+ contractId: Type.TString;
253
+ required: Type.TBoolean;
254
+ }>>;
255
+ surfaces: Type.TArray<Type.TObject<{
236
256
  contractId: Type.TString;
237
257
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
238
258
  name: Type.TString;
239
259
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
240
- }>;
241
- required: Type.TBoolean;
242
- }>, Type.TObject<{
243
- kind: Type.TLiteral<"capability">;
244
- capability: Type.TString;
245
- required: Type.TBoolean;
246
- }>, Type.TObject<{
247
- kind: Type.TLiteral<"resource">;
248
- resource: Type.TObject<{
260
+ required: Type.TBoolean;
261
+ }>>;
262
+ capabilities: Type.TArray<Type.TObject<{
263
+ capability: Type.TString;
264
+ required: Type.TBoolean;
265
+ }>>;
266
+ resources: Type.TArray<Type.TObject<{
249
267
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
250
268
  alias: Type.TString;
251
269
  required: Type.TBoolean;
252
270
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
253
- }>;
254
- required: Type.TBoolean;
255
- }>]>>;
271
+ }>>;
272
+ }>;
256
273
  capabilities: Type.TArray<Type.TString>;
257
274
  resources: Type.TArray<Type.TObject<{
258
275
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
@@ -278,33 +295,29 @@ export declare const DeploymentAuthorityProposalSchema: Type.TObject<{
278
295
  contractId: Type.TString;
279
296
  contractDigest: Type.TString;
280
297
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
281
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
282
- kind: Type.TLiteral<"contract">;
283
- contractId: Type.TString;
284
- required: Type.TBoolean;
285
- }>, Type.TObject<{
286
- kind: Type.TLiteral<"surface">;
287
- surface: Type.TObject<{
298
+ requestedNeeds: Type.TObject<{
299
+ contracts: Type.TArray<Type.TObject<{
300
+ contractId: Type.TString;
301
+ required: Type.TBoolean;
302
+ }>>;
303
+ surfaces: Type.TArray<Type.TObject<{
288
304
  contractId: Type.TString;
289
305
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
290
306
  name: Type.TString;
291
307
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
292
- }>;
293
- required: Type.TBoolean;
294
- }>, Type.TObject<{
295
- kind: Type.TLiteral<"capability">;
296
- capability: Type.TString;
297
- required: Type.TBoolean;
298
- }>, Type.TObject<{
299
- kind: Type.TLiteral<"resource">;
300
- resource: Type.TObject<{
308
+ required: Type.TBoolean;
309
+ }>>;
310
+ capabilities: Type.TArray<Type.TObject<{
311
+ capability: Type.TString;
312
+ required: Type.TBoolean;
313
+ }>>;
314
+ resources: Type.TArray<Type.TObject<{
301
315
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
302
316
  alias: Type.TString;
303
317
  required: Type.TBoolean;
304
318
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
305
- }>;
306
- required: Type.TBoolean;
307
- }>]>>;
319
+ }>>;
320
+ }>;
308
321
  providedSurfaces: Type.TArray<Type.TObject<{
309
322
  contractId: Type.TString;
310
323
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -325,19 +338,19 @@ export declare const DeploymentResourceBindingSchema: Type.TObject<{
325
338
  }>;
326
339
  export type DeploymentResourceBinding = StaticDecode<typeof DeploymentResourceBindingSchema>;
327
340
  export declare const MaterializedAuthoritySurfaceGrantSchema: Type.TObject<{
328
- kind: Type.TLiteral<"surface">;
329
341
  contractId: Type.TString;
330
342
  surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
331
343
  name: Type.TString;
332
344
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
333
345
  }>;
346
+ export type MaterializedAuthoritySurfaceGrant = StaticDecode<typeof MaterializedAuthoritySurfaceGrantSchema>;
334
347
  export declare const MaterializedAuthorityCapabilityGrantSchema: Type.TObject<{
335
- kind: Type.TLiteral<"capability">;
336
348
  capability: Type.TString;
337
349
  }>;
350
+ export type MaterializedAuthorityCapabilityGrant = StaticDecode<typeof MaterializedAuthorityCapabilityGrantSchema>;
338
351
  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">]>;
352
+ export type MaterializedAuthorityNatsGrantSource = StaticDecode<typeof MaterializedAuthorityNatsGrantSourceSchema>;
339
353
  export declare const MaterializedAuthorityNatsGrantSchema: Type.TObject<{
340
- kind: Type.TLiteral<"nats">;
341
354
  direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
342
355
  subject: Type.TString;
343
356
  surface: Type.TOptional<Type.TObject<{
@@ -349,29 +362,32 @@ export declare const MaterializedAuthorityNatsGrantSchema: Type.TObject<{
349
362
  requiredCapabilities: Type.TArray<Type.TString>;
350
363
  grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
351
364
  }>;
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<{
365
+ export type MaterializedAuthorityNatsGrant = StaticDecode<typeof MaterializedAuthorityNatsGrantSchema>;
366
+ export declare const MaterializedAuthorityGrantsSchema: Type.TObject<{
367
+ capabilities: Type.TArray<Type.TObject<{
368
+ capability: Type.TString;
369
+ }>>;
370
+ surfaces: Type.TArray<Type.TObject<{
366
371
  contractId: Type.TString;
367
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
372
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
368
373
  name: Type.TString;
369
374
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
370
375
  }>>;
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>;
376
+ nats: Type.TArray<Type.TObject<{
377
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
378
+ subject: Type.TString;
379
+ surface: Type.TOptional<Type.TObject<{
380
+ contractId: Type.TString;
381
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
382
+ name: Type.TString;
383
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
384
+ }>>;
385
+ requiredCapabilities: Type.TArray<Type.TString>;
386
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
387
+ }>>;
388
+ }>;
389
+ export type MaterializedAuthorityGrants = StaticDecode<typeof MaterializedAuthorityGrantsSchema>;
390
+ export type MaterializedAuthorityGrant = MaterializedAuthorityCapabilityGrant | MaterializedAuthoritySurfaceGrant | MaterializedAuthorityNatsGrant;
375
391
  export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
376
392
  deploymentId: Type.TString;
377
393
  desiredVersion: Type.TString;
@@ -385,28 +401,29 @@ export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
385
401
  createdAt: Type.TString;
386
402
  updatedAt: Type.TString;
387
403
  }>>;
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<{
404
+ grants: Type.TObject<{
405
+ capabilities: Type.TArray<Type.TObject<{
406
+ capability: Type.TString;
407
+ }>>;
408
+ surfaces: Type.TArray<Type.TObject<{
402
409
  contractId: Type.TString;
403
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
410
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
404
411
  name: Type.TString;
405
412
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
406
413
  }>>;
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
- }>]>>;
414
+ nats: Type.TArray<Type.TObject<{
415
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
416
+ subject: Type.TString;
417
+ surface: Type.TOptional<Type.TObject<{
418
+ contractId: Type.TString;
419
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
420
+ name: Type.TString;
421
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
422
+ }>>;
423
+ requiredCapabilities: Type.TArray<Type.TString>;
424
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
425
+ }>>;
426
+ }>;
410
427
  reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
411
428
  error: Type.TOptional<Type.TString>;
412
429
  }>;
@@ -430,33 +447,29 @@ export declare const DeploymentAuthorityUpdateSchema: Type.TObject<{
430
447
  contractId: Type.TString;
431
448
  contractDigest: Type.TString;
432
449
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
433
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
434
- kind: Type.TLiteral<"contract">;
435
- contractId: Type.TString;
436
- required: Type.TBoolean;
437
- }>, Type.TObject<{
438
- kind: Type.TLiteral<"surface">;
439
- surface: Type.TObject<{
450
+ requestedNeeds: Type.TObject<{
451
+ contracts: Type.TArray<Type.TObject<{
452
+ contractId: Type.TString;
453
+ required: Type.TBoolean;
454
+ }>>;
455
+ surfaces: Type.TArray<Type.TObject<{
440
456
  contractId: Type.TString;
441
457
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
442
458
  name: Type.TString;
443
459
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
444
- }>;
445
- required: Type.TBoolean;
446
- }>, Type.TObject<{
447
- kind: Type.TLiteral<"capability">;
448
- capability: Type.TString;
449
- required: Type.TBoolean;
450
- }>, Type.TObject<{
451
- kind: Type.TLiteral<"resource">;
452
- resource: Type.TObject<{
460
+ required: Type.TBoolean;
461
+ }>>;
462
+ capabilities: Type.TArray<Type.TObject<{
463
+ capability: Type.TString;
464
+ required: Type.TBoolean;
465
+ }>>;
466
+ resources: Type.TArray<Type.TObject<{
453
467
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
454
468
  alias: Type.TString;
455
469
  required: Type.TBoolean;
456
470
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
457
- }>;
458
- required: Type.TBoolean;
459
- }>]>>;
471
+ }>>;
472
+ }>;
460
473
  providedSurfaces: Type.TArray<Type.TObject<{
461
474
  contractId: Type.TString;
462
475
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -487,33 +500,29 @@ export declare const DeploymentAuthorityMigrationSchema: Type.TObject<{
487
500
  contractId: Type.TString;
488
501
  contractDigest: Type.TString;
489
502
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
490
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
491
- kind: Type.TLiteral<"contract">;
492
- contractId: Type.TString;
493
- required: Type.TBoolean;
494
- }>, Type.TObject<{
495
- kind: Type.TLiteral<"surface">;
496
- surface: Type.TObject<{
503
+ requestedNeeds: Type.TObject<{
504
+ contracts: Type.TArray<Type.TObject<{
505
+ contractId: Type.TString;
506
+ required: Type.TBoolean;
507
+ }>>;
508
+ surfaces: Type.TArray<Type.TObject<{
497
509
  contractId: Type.TString;
498
510
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
499
511
  name: Type.TString;
500
512
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
501
- }>;
502
- required: Type.TBoolean;
503
- }>, Type.TObject<{
504
- kind: Type.TLiteral<"capability">;
505
- capability: Type.TString;
506
- required: Type.TBoolean;
507
- }>, Type.TObject<{
508
- kind: Type.TLiteral<"resource">;
509
- resource: Type.TObject<{
513
+ required: Type.TBoolean;
514
+ }>>;
515
+ capabilities: Type.TArray<Type.TObject<{
516
+ capability: Type.TString;
517
+ required: Type.TBoolean;
518
+ }>>;
519
+ resources: Type.TArray<Type.TObject<{
510
520
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
511
521
  alias: Type.TString;
512
522
  required: Type.TBoolean;
513
523
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
514
- }>;
515
- required: Type.TBoolean;
516
- }>]>>;
524
+ }>>;
525
+ }>;
517
526
  providedSurfaces: Type.TArray<Type.TObject<{
518
527
  contractId: Type.TString;
519
528
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -543,33 +552,29 @@ export declare const DeploymentAuthorityPlanSchema: Type.TUnion<[Type.TObject<{
543
552
  contractId: Type.TString;
544
553
  contractDigest: Type.TString;
545
554
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
546
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
547
- kind: Type.TLiteral<"contract">;
548
- contractId: Type.TString;
549
- required: Type.TBoolean;
550
- }>, Type.TObject<{
551
- kind: Type.TLiteral<"surface">;
552
- surface: Type.TObject<{
555
+ requestedNeeds: Type.TObject<{
556
+ contracts: Type.TArray<Type.TObject<{
557
+ contractId: Type.TString;
558
+ required: Type.TBoolean;
559
+ }>>;
560
+ surfaces: Type.TArray<Type.TObject<{
553
561
  contractId: Type.TString;
554
562
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
555
563
  name: Type.TString;
556
564
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
557
- }>;
558
- required: Type.TBoolean;
559
- }>, Type.TObject<{
560
- kind: Type.TLiteral<"capability">;
561
- capability: Type.TString;
562
- required: Type.TBoolean;
563
- }>, Type.TObject<{
564
- kind: Type.TLiteral<"resource">;
565
- resource: Type.TObject<{
565
+ required: Type.TBoolean;
566
+ }>>;
567
+ capabilities: Type.TArray<Type.TObject<{
568
+ capability: Type.TString;
569
+ required: Type.TBoolean;
570
+ }>>;
571
+ resources: Type.TArray<Type.TObject<{
566
572
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
567
573
  alias: Type.TString;
568
574
  required: Type.TBoolean;
569
575
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
570
- }>;
571
- required: Type.TBoolean;
572
- }>]>>;
576
+ }>>;
577
+ }>;
573
578
  providedSurfaces: Type.TArray<Type.TObject<{
574
579
  contractId: Type.TString;
575
580
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -598,33 +603,29 @@ export declare const DeploymentAuthorityPlanSchema: Type.TUnion<[Type.TObject<{
598
603
  contractId: Type.TString;
599
604
  contractDigest: Type.TString;
600
605
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
601
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
602
- kind: Type.TLiteral<"contract">;
603
- contractId: Type.TString;
604
- required: Type.TBoolean;
605
- }>, Type.TObject<{
606
- kind: Type.TLiteral<"surface">;
607
- surface: Type.TObject<{
606
+ requestedNeeds: Type.TObject<{
607
+ contracts: Type.TArray<Type.TObject<{
608
+ contractId: Type.TString;
609
+ required: Type.TBoolean;
610
+ }>>;
611
+ surfaces: Type.TArray<Type.TObject<{
608
612
  contractId: Type.TString;
609
613
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
610
614
  name: Type.TString;
611
615
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
612
- }>;
613
- required: Type.TBoolean;
614
- }>, Type.TObject<{
615
- kind: Type.TLiteral<"capability">;
616
- capability: Type.TString;
617
- required: Type.TBoolean;
618
- }>, Type.TObject<{
619
- kind: Type.TLiteral<"resource">;
620
- resource: Type.TObject<{
616
+ required: Type.TBoolean;
617
+ }>>;
618
+ capabilities: Type.TArray<Type.TObject<{
619
+ capability: Type.TString;
620
+ required: Type.TBoolean;
621
+ }>>;
622
+ resources: Type.TArray<Type.TObject<{
621
623
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
622
624
  alias: Type.TString;
623
625
  required: Type.TBoolean;
624
626
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
625
- }>;
626
- required: Type.TBoolean;
627
- }>]>>;
627
+ }>>;
628
+ }>;
628
629
  providedSurfaces: Type.TArray<Type.TObject<{
629
630
  contractId: Type.TString;
630
631
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -720,33 +721,29 @@ export declare const AuthDeploymentAuthorityListResponseSchema: Type.TObject<{
720
721
  kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
721
722
  disabled: Type.TBoolean;
722
723
  desiredState: Type.TObject<{
723
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
724
- kind: Type.TLiteral<"contract">;
725
- contractId: Type.TString;
726
- required: Type.TBoolean;
727
- }>, Type.TObject<{
728
- kind: Type.TLiteral<"surface">;
729
- surface: Type.TObject<{
724
+ needs: Type.TObject<{
725
+ contracts: Type.TArray<Type.TObject<{
726
+ contractId: Type.TString;
727
+ required: Type.TBoolean;
728
+ }>>;
729
+ surfaces: Type.TArray<Type.TObject<{
730
730
  contractId: Type.TString;
731
731
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
732
732
  name: Type.TString;
733
733
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
734
- }>;
735
- required: Type.TBoolean;
736
- }>, Type.TObject<{
737
- kind: Type.TLiteral<"capability">;
738
- capability: Type.TString;
739
- required: Type.TBoolean;
740
- }>, Type.TObject<{
741
- kind: Type.TLiteral<"resource">;
742
- resource: Type.TObject<{
734
+ required: Type.TBoolean;
735
+ }>>;
736
+ capabilities: Type.TArray<Type.TObject<{
737
+ capability: Type.TString;
738
+ required: Type.TBoolean;
739
+ }>>;
740
+ resources: Type.TArray<Type.TObject<{
743
741
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
744
742
  alias: Type.TString;
745
743
  required: Type.TBoolean;
746
744
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
747
- }>;
748
- required: Type.TBoolean;
749
- }>]>>;
745
+ }>>;
746
+ }>;
750
747
  capabilities: Type.TArray<Type.TString>;
751
748
  resources: Type.TArray<Type.TObject<{
752
749
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
@@ -781,33 +778,29 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: Type.TObject<{
781
778
  kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
782
779
  disabled: Type.TBoolean;
783
780
  desiredState: Type.TObject<{
784
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
785
- kind: Type.TLiteral<"contract">;
786
- contractId: Type.TString;
787
- required: Type.TBoolean;
788
- }>, Type.TObject<{
789
- kind: Type.TLiteral<"surface">;
790
- surface: Type.TObject<{
781
+ needs: Type.TObject<{
782
+ contracts: Type.TArray<Type.TObject<{
783
+ contractId: Type.TString;
784
+ required: Type.TBoolean;
785
+ }>>;
786
+ surfaces: Type.TArray<Type.TObject<{
791
787
  contractId: Type.TString;
792
788
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
793
789
  name: Type.TString;
794
790
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
795
- }>;
796
- required: Type.TBoolean;
797
- }>, Type.TObject<{
798
- kind: Type.TLiteral<"capability">;
799
- capability: Type.TString;
800
- required: Type.TBoolean;
801
- }>, Type.TObject<{
802
- kind: Type.TLiteral<"resource">;
803
- resource: Type.TObject<{
791
+ required: Type.TBoolean;
792
+ }>>;
793
+ capabilities: Type.TArray<Type.TObject<{
794
+ capability: Type.TString;
795
+ required: Type.TBoolean;
796
+ }>>;
797
+ resources: Type.TArray<Type.TObject<{
804
798
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
805
799
  alias: Type.TString;
806
800
  required: Type.TBoolean;
807
801
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
808
- }>;
809
- required: Type.TBoolean;
810
- }>]>>;
802
+ }>>;
803
+ }>;
811
804
  capabilities: Type.TArray<Type.TString>;
812
805
  resources: Type.TArray<Type.TObject<{
813
806
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
@@ -839,28 +832,29 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: Type.TObject<{
839
832
  createdAt: Type.TString;
840
833
  updatedAt: Type.TString;
841
834
  }>>;
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<{
835
+ grants: Type.TObject<{
836
+ capabilities: Type.TArray<Type.TObject<{
837
+ capability: Type.TString;
838
+ }>>;
839
+ surfaces: Type.TArray<Type.TObject<{
856
840
  contractId: Type.TString;
857
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
841
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
858
842
  name: Type.TString;
859
843
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
860
844
  }>>;
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
- }>]>>;
845
+ nats: Type.TArray<Type.TObject<{
846
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
847
+ subject: Type.TString;
848
+ surface: Type.TOptional<Type.TObject<{
849
+ contractId: Type.TString;
850
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
851
+ name: Type.TString;
852
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
853
+ }>>;
854
+ requiredCapabilities: Type.TArray<Type.TString>;
855
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
856
+ }>>;
857
+ }>;
864
858
  reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
865
859
  error: Type.TOptional<Type.TString>;
866
860
  }>, Type.TNull]>;
@@ -930,33 +924,29 @@ export declare const AuthDeploymentAuthorityPlansListResponseSchema: Type.TObjec
930
924
  contractId: Type.TString;
931
925
  contractDigest: Type.TString;
932
926
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
933
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
934
- kind: Type.TLiteral<"contract">;
935
- contractId: Type.TString;
936
- required: Type.TBoolean;
937
- }>, Type.TObject<{
938
- kind: Type.TLiteral<"surface">;
939
- surface: Type.TObject<{
927
+ requestedNeeds: Type.TObject<{
928
+ contracts: Type.TArray<Type.TObject<{
929
+ contractId: Type.TString;
930
+ required: Type.TBoolean;
931
+ }>>;
932
+ surfaces: Type.TArray<Type.TObject<{
940
933
  contractId: Type.TString;
941
934
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
942
935
  name: Type.TString;
943
936
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
944
- }>;
945
- required: Type.TBoolean;
946
- }>, Type.TObject<{
947
- kind: Type.TLiteral<"capability">;
948
- capability: Type.TString;
949
- required: Type.TBoolean;
950
- }>, Type.TObject<{
951
- kind: Type.TLiteral<"resource">;
952
- resource: Type.TObject<{
937
+ required: Type.TBoolean;
938
+ }>>;
939
+ capabilities: Type.TArray<Type.TObject<{
940
+ capability: Type.TString;
941
+ required: Type.TBoolean;
942
+ }>>;
943
+ resources: Type.TArray<Type.TObject<{
953
944
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
954
945
  alias: Type.TString;
955
946
  required: Type.TBoolean;
956
947
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
957
- }>;
958
- required: Type.TBoolean;
959
- }>]>>;
948
+ }>>;
949
+ }>;
960
950
  providedSurfaces: Type.TArray<Type.TObject<{
961
951
  contractId: Type.TString;
962
952
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -985,33 +975,29 @@ export declare const AuthDeploymentAuthorityPlansListResponseSchema: Type.TObjec
985
975
  contractId: Type.TString;
986
976
  contractDigest: Type.TString;
987
977
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
988
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
989
- kind: Type.TLiteral<"contract">;
990
- contractId: Type.TString;
991
- required: Type.TBoolean;
992
- }>, Type.TObject<{
993
- kind: Type.TLiteral<"surface">;
994
- surface: Type.TObject<{
978
+ requestedNeeds: Type.TObject<{
979
+ contracts: Type.TArray<Type.TObject<{
980
+ contractId: Type.TString;
981
+ required: Type.TBoolean;
982
+ }>>;
983
+ surfaces: Type.TArray<Type.TObject<{
995
984
  contractId: Type.TString;
996
985
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
997
986
  name: Type.TString;
998
987
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
999
- }>;
1000
- required: Type.TBoolean;
1001
- }>, Type.TObject<{
1002
- kind: Type.TLiteral<"capability">;
1003
- capability: Type.TString;
1004
- required: Type.TBoolean;
1005
- }>, Type.TObject<{
1006
- kind: Type.TLiteral<"resource">;
1007
- resource: Type.TObject<{
988
+ required: Type.TBoolean;
989
+ }>>;
990
+ capabilities: Type.TArray<Type.TObject<{
991
+ capability: Type.TString;
992
+ required: Type.TBoolean;
993
+ }>>;
994
+ resources: Type.TArray<Type.TObject<{
1008
995
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1009
996
  alias: Type.TString;
1010
997
  required: Type.TBoolean;
1011
998
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1012
- }>;
1013
- required: Type.TBoolean;
1014
- }>]>>;
999
+ }>>;
1000
+ }>;
1015
1001
  providedSurfaces: Type.TArray<Type.TObject<{
1016
1002
  contractId: Type.TString;
1017
1003
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -1051,33 +1037,29 @@ export declare const AuthDeploymentAuthorityPlansGetResponseSchema: Type.TObject
1051
1037
  contractId: Type.TString;
1052
1038
  contractDigest: Type.TString;
1053
1039
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1054
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
1055
- kind: Type.TLiteral<"contract">;
1056
- contractId: Type.TString;
1057
- required: Type.TBoolean;
1058
- }>, Type.TObject<{
1059
- kind: Type.TLiteral<"surface">;
1060
- surface: Type.TObject<{
1040
+ requestedNeeds: Type.TObject<{
1041
+ contracts: Type.TArray<Type.TObject<{
1042
+ contractId: Type.TString;
1043
+ required: Type.TBoolean;
1044
+ }>>;
1045
+ surfaces: Type.TArray<Type.TObject<{
1061
1046
  contractId: Type.TString;
1062
1047
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1063
1048
  name: Type.TString;
1064
1049
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1065
- }>;
1066
- required: Type.TBoolean;
1067
- }>, Type.TObject<{
1068
- kind: Type.TLiteral<"capability">;
1069
- capability: Type.TString;
1070
- required: Type.TBoolean;
1071
- }>, Type.TObject<{
1072
- kind: Type.TLiteral<"resource">;
1073
- resource: Type.TObject<{
1050
+ required: Type.TBoolean;
1051
+ }>>;
1052
+ capabilities: Type.TArray<Type.TObject<{
1053
+ capability: Type.TString;
1054
+ required: Type.TBoolean;
1055
+ }>>;
1056
+ resources: Type.TArray<Type.TObject<{
1074
1057
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1075
1058
  alias: Type.TString;
1076
1059
  required: Type.TBoolean;
1077
1060
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1078
- }>;
1079
- required: Type.TBoolean;
1080
- }>]>>;
1061
+ }>>;
1062
+ }>;
1081
1063
  providedSurfaces: Type.TArray<Type.TObject<{
1082
1064
  contractId: Type.TString;
1083
1065
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -1106,33 +1088,29 @@ export declare const AuthDeploymentAuthorityPlansGetResponseSchema: Type.TObject
1106
1088
  contractId: Type.TString;
1107
1089
  contractDigest: Type.TString;
1108
1090
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1109
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
1110
- kind: Type.TLiteral<"contract">;
1111
- contractId: Type.TString;
1112
- required: Type.TBoolean;
1113
- }>, Type.TObject<{
1114
- kind: Type.TLiteral<"surface">;
1115
- surface: Type.TObject<{
1091
+ requestedNeeds: Type.TObject<{
1092
+ contracts: Type.TArray<Type.TObject<{
1093
+ contractId: Type.TString;
1094
+ required: Type.TBoolean;
1095
+ }>>;
1096
+ surfaces: Type.TArray<Type.TObject<{
1116
1097
  contractId: Type.TString;
1117
1098
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1118
1099
  name: Type.TString;
1119
1100
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1120
- }>;
1121
- required: Type.TBoolean;
1122
- }>, Type.TObject<{
1123
- kind: Type.TLiteral<"capability">;
1124
- capability: Type.TString;
1125
- required: Type.TBoolean;
1126
- }>, Type.TObject<{
1127
- kind: Type.TLiteral<"resource">;
1128
- resource: Type.TObject<{
1101
+ required: Type.TBoolean;
1102
+ }>>;
1103
+ capabilities: Type.TArray<Type.TObject<{
1104
+ capability: Type.TString;
1105
+ required: Type.TBoolean;
1106
+ }>>;
1107
+ resources: Type.TArray<Type.TObject<{
1129
1108
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1130
1109
  alias: Type.TString;
1131
1110
  required: Type.TBoolean;
1132
1111
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1133
- }>;
1134
- required: Type.TBoolean;
1135
- }>]>>;
1112
+ }>>;
1113
+ }>;
1136
1114
  providedSurfaces: Type.TArray<Type.TObject<{
1137
1115
  contractId: Type.TString;
1138
1116
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -1170,33 +1148,29 @@ export declare const AuthDeploymentAuthorityPlanResponseSchema: Type.TObject<{
1170
1148
  contractId: Type.TString;
1171
1149
  contractDigest: Type.TString;
1172
1150
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1173
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
1174
- kind: Type.TLiteral<"contract">;
1175
- contractId: Type.TString;
1176
- required: Type.TBoolean;
1177
- }>, Type.TObject<{
1178
- kind: Type.TLiteral<"surface">;
1179
- surface: Type.TObject<{
1151
+ requestedNeeds: Type.TObject<{
1152
+ contracts: Type.TArray<Type.TObject<{
1153
+ contractId: Type.TString;
1154
+ required: Type.TBoolean;
1155
+ }>>;
1156
+ surfaces: Type.TArray<Type.TObject<{
1180
1157
  contractId: Type.TString;
1181
1158
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1182
1159
  name: Type.TString;
1183
1160
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1184
- }>;
1185
- required: Type.TBoolean;
1186
- }>, Type.TObject<{
1187
- kind: Type.TLiteral<"capability">;
1188
- capability: Type.TString;
1189
- required: Type.TBoolean;
1190
- }>, Type.TObject<{
1191
- kind: Type.TLiteral<"resource">;
1192
- resource: Type.TObject<{
1161
+ required: Type.TBoolean;
1162
+ }>>;
1163
+ capabilities: Type.TArray<Type.TObject<{
1164
+ capability: Type.TString;
1165
+ required: Type.TBoolean;
1166
+ }>>;
1167
+ resources: Type.TArray<Type.TObject<{
1193
1168
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1194
1169
  alias: Type.TString;
1195
1170
  required: Type.TBoolean;
1196
1171
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1197
- }>;
1198
- required: Type.TBoolean;
1199
- }>]>>;
1172
+ }>>;
1173
+ }>;
1200
1174
  providedSurfaces: Type.TArray<Type.TObject<{
1201
1175
  contractId: Type.TString;
1202
1176
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -1225,33 +1199,29 @@ export declare const AuthDeploymentAuthorityPlanResponseSchema: Type.TObject<{
1225
1199
  contractId: Type.TString;
1226
1200
  contractDigest: Type.TString;
1227
1201
  contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1228
- requestedNeeds: Type.TArray<Type.TUnion<[Type.TObject<{
1229
- kind: Type.TLiteral<"contract">;
1230
- contractId: Type.TString;
1231
- required: Type.TBoolean;
1232
- }>, Type.TObject<{
1233
- kind: Type.TLiteral<"surface">;
1234
- surface: Type.TObject<{
1202
+ requestedNeeds: Type.TObject<{
1203
+ contracts: Type.TArray<Type.TObject<{
1204
+ contractId: Type.TString;
1205
+ required: Type.TBoolean;
1206
+ }>>;
1207
+ surfaces: Type.TArray<Type.TObject<{
1235
1208
  contractId: Type.TString;
1236
1209
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1237
1210
  name: Type.TString;
1238
1211
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1239
- }>;
1240
- required: Type.TBoolean;
1241
- }>, Type.TObject<{
1242
- kind: Type.TLiteral<"capability">;
1243
- capability: Type.TString;
1244
- required: Type.TBoolean;
1245
- }>, Type.TObject<{
1246
- kind: Type.TLiteral<"resource">;
1247
- resource: Type.TObject<{
1212
+ required: Type.TBoolean;
1213
+ }>>;
1214
+ capabilities: Type.TArray<Type.TObject<{
1215
+ capability: Type.TString;
1216
+ required: Type.TBoolean;
1217
+ }>>;
1218
+ resources: Type.TArray<Type.TObject<{
1248
1219
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1249
1220
  alias: Type.TString;
1250
1221
  required: Type.TBoolean;
1251
1222
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1252
- }>;
1253
- required: Type.TBoolean;
1254
- }>]>>;
1223
+ }>>;
1224
+ }>;
1255
1225
  providedSurfaces: Type.TArray<Type.TObject<{
1256
1226
  contractId: Type.TString;
1257
1227
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
@@ -1289,33 +1259,29 @@ export declare const AuthDeploymentAuthorityAcceptResponseSchema: Type.TObject<{
1289
1259
  kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
1290
1260
  disabled: Type.TBoolean;
1291
1261
  desiredState: Type.TObject<{
1292
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
1293
- kind: Type.TLiteral<"contract">;
1294
- contractId: Type.TString;
1295
- required: Type.TBoolean;
1296
- }>, Type.TObject<{
1297
- kind: Type.TLiteral<"surface">;
1298
- surface: Type.TObject<{
1262
+ needs: Type.TObject<{
1263
+ contracts: Type.TArray<Type.TObject<{
1264
+ contractId: Type.TString;
1265
+ required: Type.TBoolean;
1266
+ }>>;
1267
+ surfaces: Type.TArray<Type.TObject<{
1299
1268
  contractId: Type.TString;
1300
1269
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1301
1270
  name: Type.TString;
1302
1271
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1303
- }>;
1304
- required: Type.TBoolean;
1305
- }>, Type.TObject<{
1306
- kind: Type.TLiteral<"capability">;
1307
- capability: Type.TString;
1308
- required: Type.TBoolean;
1309
- }>, Type.TObject<{
1310
- kind: Type.TLiteral<"resource">;
1311
- resource: Type.TObject<{
1272
+ required: Type.TBoolean;
1273
+ }>>;
1274
+ capabilities: Type.TArray<Type.TObject<{
1275
+ capability: Type.TString;
1276
+ required: Type.TBoolean;
1277
+ }>>;
1278
+ resources: Type.TArray<Type.TObject<{
1312
1279
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1313
1280
  alias: Type.TString;
1314
1281
  required: Type.TBoolean;
1315
1282
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1316
- }>;
1317
- required: Type.TBoolean;
1318
- }>]>>;
1283
+ }>>;
1284
+ }>;
1319
1285
  capabilities: Type.TArray<Type.TString>;
1320
1286
  resources: Type.TArray<Type.TObject<{
1321
1287
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
@@ -1356,33 +1322,29 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: Type.TObjec
1356
1322
  kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
1357
1323
  disabled: Type.TBoolean;
1358
1324
  desiredState: Type.TObject<{
1359
- needs: Type.TArray<Type.TUnion<[Type.TObject<{
1360
- kind: Type.TLiteral<"contract">;
1361
- contractId: Type.TString;
1362
- required: Type.TBoolean;
1363
- }>, Type.TObject<{
1364
- kind: Type.TLiteral<"surface">;
1365
- surface: Type.TObject<{
1325
+ needs: Type.TObject<{
1326
+ contracts: Type.TArray<Type.TObject<{
1327
+ contractId: Type.TString;
1328
+ required: Type.TBoolean;
1329
+ }>>;
1330
+ surfaces: Type.TArray<Type.TObject<{
1366
1331
  contractId: Type.TString;
1367
1332
  kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1368
1333
  name: Type.TString;
1369
1334
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1370
- }>;
1371
- required: Type.TBoolean;
1372
- }>, Type.TObject<{
1373
- kind: Type.TLiteral<"capability">;
1374
- capability: Type.TString;
1375
- required: Type.TBoolean;
1376
- }>, Type.TObject<{
1377
- kind: Type.TLiteral<"resource">;
1378
- resource: Type.TObject<{
1335
+ required: Type.TBoolean;
1336
+ }>>;
1337
+ capabilities: Type.TArray<Type.TObject<{
1338
+ capability: Type.TString;
1339
+ required: Type.TBoolean;
1340
+ }>>;
1341
+ resources: Type.TArray<Type.TObject<{
1379
1342
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
1380
1343
  alias: Type.TString;
1381
1344
  required: Type.TBoolean;
1382
1345
  definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
1383
- }>;
1384
- required: Type.TBoolean;
1385
- }>]>>;
1346
+ }>>;
1347
+ }>;
1386
1348
  capabilities: Type.TArray<Type.TString>;
1387
1349
  resources: Type.TArray<Type.TObject<{
1388
1350
  kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
@@ -1414,28 +1376,29 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: Type.TObjec
1414
1376
  createdAt: Type.TString;
1415
1377
  updatedAt: Type.TString;
1416
1378
  }>>;
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<{
1379
+ grants: Type.TObject<{
1380
+ capabilities: Type.TArray<Type.TObject<{
1381
+ capability: Type.TString;
1382
+ }>>;
1383
+ surfaces: Type.TArray<Type.TObject<{
1431
1384
  contractId: Type.TString;
1432
- kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1385
+ surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1433
1386
  name: Type.TString;
1434
1387
  action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1435
1388
  }>>;
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
- }>]>>;
1389
+ nats: Type.TArray<Type.TObject<{
1390
+ direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
1391
+ subject: Type.TString;
1392
+ surface: Type.TOptional<Type.TObject<{
1393
+ contractId: Type.TString;
1394
+ kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
1395
+ name: Type.TString;
1396
+ action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
1397
+ }>>;
1398
+ requiredCapabilities: Type.TArray<Type.TString>;
1399
+ grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
1400
+ }>>;
1401
+ }>;
1439
1402
  reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
1440
1403
  error: Type.TOptional<Type.TString>;
1441
1404
  }>;
@@ -2633,6 +2596,7 @@ export declare const PortalFlowStateSchema: Type.TUnion<[Type.TObject<{
2633
2596
  location: Type.TString;
2634
2597
  }>, Type.TObject<{
2635
2598
  status: Type.TLiteral<"expired">;
2599
+ returnLocation: Type.TOptional<Type.TString>;
2636
2600
  }>]>;
2637
2601
  export type PortalFlowState = StaticDecode<typeof PortalFlowStateSchema>;
2638
2602
  export type PortalFlowChooseProviderState = Extract<PortalFlowState, {