@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.
- package/esm/auth/browser/portal.d.ts.map +1 -1
- package/esm/auth/browser/portal.js +2 -0
- package/esm/auth/browser.d.ts +2 -0
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +1 -0
- package/esm/auth/browser_recovery.d.ts +22 -0
- package/esm/auth/browser_recovery.d.ts.map +1 -0
- package/esm/auth/browser_recovery.js +238 -0
- package/esm/auth/mod.d.ts +2 -2
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +2 -2
- package/esm/auth/protocol.d.ts +362 -398
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +36 -33
- package/esm/browser.d.ts +2 -2
- package/esm/browser.d.ts.map +1 -1
- package/esm/browser.js +1 -1
- package/esm/client_connect.js +1 -1
- package/esm/generated-sdk/auth/contract.d.ts +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +1236 -1079
- package/esm/generated-sdk/auth/schemas.d.ts +1428 -1578
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +725 -669
- package/esm/generated-sdk/auth/types.d.ts +239 -281
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/package.json +2 -2
- package/script/auth/browser/portal.d.ts.map +1 -1
- package/script/auth/browser/portal.js +2 -0
- package/script/auth/browser.d.ts +2 -0
- package/script/auth/browser.d.ts.map +1 -1
- package/script/auth/browser.js +4 -1
- package/script/auth/browser_recovery.d.ts +22 -0
- package/script/auth/browser_recovery.d.ts.map +1 -0
- package/script/auth/browser_recovery.js +242 -0
- package/script/auth/mod.d.ts +2 -2
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +17 -6
- package/script/auth/protocol.d.ts +362 -398
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +41 -37
- package/script/browser.d.ts +2 -2
- package/script/browser.d.ts.map +1 -1
- package/script/browser.js +4 -2
- package/script/client_connect.js +1 -1
- package/script/generated-sdk/auth/contract.d.ts +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +1236 -1079
- package/script/generated-sdk/auth/schemas.d.ts +1428 -1578
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +725 -669
- package/script/generated-sdk/auth/types.d.ts +239 -281
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/src/auth/browser/portal.ts +1 -0
- package/src/auth/browser.ts +8 -0
- package/src/auth/browser_recovery.ts +319 -0
- package/src/auth/mod.ts +25 -2
- package/src/auth/protocol.ts +73 -37
- package/src/browser.ts +4 -0
- package/src/client_connect.ts +1 -1
- package/src/sdk/_generated/auth/contract.ts +1477 -1320
- package/src/sdk/_generated/auth/schemas.ts +919 -863
- package/src/sdk/_generated/auth/types.ts +242 -304
package/esm/auth/protocol.d.ts
CHANGED
|
@@ -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
|
|
197
|
-
kind: Type.TLiteral<"contract">;
|
|
196
|
+
export declare const DeploymentAuthorityContractNeedSchema: Type.TObject<{
|
|
198
197
|
contractId: Type.TString;
|
|
199
198
|
required: Type.TBoolean;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
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
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
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
|
-
|
|
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.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
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
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
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
|
-
|
|
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.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
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
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
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
|
-
|
|
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
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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
|
-
|
|
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
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
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.
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
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
|
-
|
|
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
|
-
|
|
408
|
-
|
|
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.
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
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
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
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
|
-
|
|
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.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
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
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
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
|
-
|
|
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.
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
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
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
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
|
-
|
|
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.
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
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
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
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
|
-
|
|
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.
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
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
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
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
|
-
|
|
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.
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
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
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
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
|
-
|
|
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.
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
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
|
-
|
|
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
|
-
|
|
862
|
-
|
|
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.
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
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
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
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
|
-
|
|
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.
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
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
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
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
|
-
|
|
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.
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
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
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
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
|
-
|
|
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.
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
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
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
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
|
-
|
|
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.
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
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
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
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
|
-
|
|
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.
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
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
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
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
|
-
|
|
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.
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
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
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
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
|
-
|
|
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.
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
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
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
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
|
-
|
|
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.
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1437
|
-
|
|
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, {
|