@qlever-llc/trellis 0.10.17 → 0.19.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/auth/mod.d.ts +1 -1
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +1 -1
- package/esm/auth/protocol.d.ts +416 -398
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +35 -33
- package/esm/codec.d.ts +1 -0
- package/esm/codec.d.ts.map +1 -1
- package/esm/codec.js +1 -0
- package/esm/contract_support/canonical.d.ts +3 -0
- package/esm/contract_support/canonical.d.ts.map +1 -1
- package/esm/contract_support/canonical.js +3 -0
- package/esm/contract_support/mod.d.ts +28 -4
- package/esm/contract_support/mod.d.ts.map +1 -1
- package/esm/contract_support/mod.js +85 -4
- package/esm/contract_support/protocol.d.ts +92 -7
- package/esm/contract_support/protocol.d.ts.map +1 -1
- package/esm/contract_support/protocol.js +40 -6
- package/esm/errors/index.d.ts +9 -9
- package/esm/generated-sdk/auth/api.d.ts +4 -1
- package/esm/generated-sdk/auth/api.d.ts.map +1 -1
- package/esm/generated-sdk/auth/api.js +6 -1
- package/esm/generated-sdk/auth/client.d.ts +47 -32
- package/esm/generated-sdk/auth/client.d.ts.map +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 +1570 -1202
- package/esm/generated-sdk/auth/schemas.d.ts +1757 -1759
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +963 -768
- package/esm/generated-sdk/auth/types.d.ts +292 -302
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/esm/generated-sdk/health/client.d.ts +4 -4
- package/esm/generated-sdk/health/client.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.d.ts +1 -1
- package/esm/generated-sdk/health/contract.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.js +2 -10
- package/esm/generated-sdk/health/schemas.d.ts +1 -14
- package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/health/schemas.js +1 -9
- package/esm/generated-sdk/health/types.d.ts +3 -5
- package/esm/generated-sdk/health/types.d.ts.map +1 -1
- package/esm/generated-sdk/health/types.js +1 -2
- package/esm/generated-sdk/jobs/api.d.ts +13 -0
- package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/client.d.ts +6 -4
- package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts +14 -1
- package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.js +268 -1
- package/esm/generated-sdk/jobs/owned_api.d.ts +13 -0
- package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/owned_api.js +20 -1
- package/esm/generated-sdk/jobs/schemas.d.ts +437 -0
- package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/schemas.js +211 -0
- package/esm/generated-sdk/jobs/types.d.ts +123 -1
- package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/types.js +1 -1
- package/esm/generated-sdk/state/client.d.ts +4 -4
- package/esm/generated-sdk/state/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.d.ts +4 -1
- package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.js +6 -1
- package/esm/generated-sdk/trellis-core/client.d.ts +28 -3
- package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.js +91 -1
- package/esm/generated-sdk/trellis-core/schemas.d.ts +113 -0
- package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/schemas.js +81 -0
- package/esm/generated-sdk/trellis-core/types.d.ts +23 -1
- package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/types.js +1 -1
- package/esm/health.d.ts +1 -1
- package/esm/health.d.ts.map +1 -1
- package/esm/health.js +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/jobs.d.ts +69 -3
- package/esm/jobs.d.ts.map +1 -1
- package/esm/jobs.js +92 -3
- package/esm/server/health.d.ts +2 -6
- package/esm/server/health.d.ts.map +1 -1
- package/esm/server/health_schemas.d.ts +0 -8
- package/esm/server/health_schemas.d.ts.map +1 -1
- package/esm/server/health_schemas.js +0 -5
- package/esm/server/internal_jobs/bindings.d.ts +11 -0
- package/esm/server/internal_jobs/bindings.d.ts.map +1 -1
- package/esm/server/internal_jobs/job-manager.d.ts +44 -1
- package/esm/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/esm/server/internal_jobs/job-manager.js +361 -51
- package/esm/server/internal_jobs/key-coordinator.d.ts +260 -0
- package/esm/server/internal_jobs/key-coordinator.d.ts.map +1 -0
- package/esm/server/internal_jobs/key-coordinator.js +580 -0
- package/esm/server/internal_jobs/projection.d.ts.map +1 -1
- package/esm/server/internal_jobs/projection.js +2 -0
- package/esm/server/internal_jobs/runtime-worker.d.ts +5 -1
- package/esm/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/esm/server/internal_jobs/runtime-worker.js +14 -2
- package/esm/server/internal_jobs/types.d.ts +5 -5
- package/esm/server/internal_jobs/types.d.ts.map +1 -1
- package/esm/server/internal_jobs/types.js +6 -0
- package/esm/server/service.d.ts +8 -3
- package/esm/server/service.d.ts.map +1 -1
- package/esm/server/service.js +127 -6
- package/esm/service/drizzle.d.ts +27 -0
- package/esm/service/drizzle.d.ts.map +1 -0
- package/esm/service/drizzle.js +84 -0
- package/esm/service/mod.d.ts +1 -1
- package/esm/service/mod.d.ts.map +1 -1
- package/esm/service/mod.js +1 -1
- package/esm/service/outbox_inbox.d.ts.map +1 -1
- package/esm/service/outbox_inbox.js +13 -2
- package/esm/trellis.d.ts +24 -8
- package/esm/trellis.d.ts.map +1 -1
- package/esm/trellis.js +44 -22
- package/package.json +14 -2
- package/script/auth/mod.d.ts +1 -1
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +22 -6
- package/script/auth/protocol.d.ts +416 -398
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +40 -37
- package/script/codec.d.ts +1 -0
- package/script/codec.d.ts.map +1 -1
- package/script/codec.js +1 -0
- package/script/contract_support/canonical.d.ts +3 -0
- package/script/contract_support/canonical.d.ts.map +1 -1
- package/script/contract_support/canonical.js +3 -0
- package/script/contract_support/mod.d.ts +28 -4
- package/script/contract_support/mod.d.ts.map +1 -1
- package/script/contract_support/mod.js +90 -4
- package/script/contract_support/protocol.d.ts +92 -7
- package/script/contract_support/protocol.d.ts.map +1 -1
- package/script/contract_support/protocol.js +41 -7
- package/script/errors/index.d.ts +9 -9
- package/script/generated-sdk/auth/api.d.ts +4 -1
- package/script/generated-sdk/auth/api.d.ts.map +1 -1
- package/script/generated-sdk/auth/api.js +6 -1
- package/script/generated-sdk/auth/client.d.ts +47 -32
- package/script/generated-sdk/auth/client.d.ts.map +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 +1570 -1202
- package/script/generated-sdk/auth/schemas.d.ts +1757 -1759
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +963 -768
- package/script/generated-sdk/auth/types.d.ts +292 -302
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/script/generated-sdk/health/client.d.ts +4 -4
- package/script/generated-sdk/health/client.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.d.ts +1 -1
- package/script/generated-sdk/health/contract.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.js +2 -10
- package/script/generated-sdk/health/schemas.d.ts +1 -14
- package/script/generated-sdk/health/schemas.d.ts.map +1 -1
- package/script/generated-sdk/health/schemas.js +1 -9
- package/script/generated-sdk/health/types.d.ts +3 -5
- package/script/generated-sdk/health/types.d.ts.map +1 -1
- package/script/generated-sdk/health/types.js +1 -2
- package/script/generated-sdk/jobs/api.d.ts +13 -0
- package/script/generated-sdk/jobs/api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/client.d.ts +6 -4
- package/script/generated-sdk/jobs/client.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.d.ts +14 -1
- package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.js +268 -1
- package/script/generated-sdk/jobs/owned_api.d.ts +13 -0
- package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/owned_api.js +19 -0
- package/script/generated-sdk/jobs/schemas.d.ts +437 -0
- package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/script/generated-sdk/jobs/schemas.js +212 -1
- package/script/generated-sdk/jobs/types.d.ts +123 -1
- package/script/generated-sdk/jobs/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/types.js +1 -1
- package/script/generated-sdk/state/client.d.ts +4 -4
- package/script/generated-sdk/state/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.d.ts +4 -1
- package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.js +6 -1
- package/script/generated-sdk/trellis-core/client.d.ts +28 -3
- package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.js +91 -1
- package/script/generated-sdk/trellis-core/schemas.d.ts +113 -0
- package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/schemas.js +81 -0
- package/script/generated-sdk/trellis-core/types.d.ts +23 -1
- package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/types.js +1 -1
- package/script/health.d.ts +1 -1
- package/script/health.d.ts.map +1 -1
- package/script/health.js +1 -2
- package/script/index.d.ts +2 -2
- package/script/index.d.ts.map +1 -1
- package/script/index.js +2 -3
- package/script/jobs.d.ts +69 -3
- package/script/jobs.d.ts.map +1 -1
- package/script/jobs.js +93 -3
- package/script/server/health.d.ts +2 -6
- package/script/server/health.d.ts.map +1 -1
- package/script/server/health_schemas.d.ts +0 -8
- package/script/server/health_schemas.d.ts.map +1 -1
- package/script/server/health_schemas.js +1 -6
- package/script/server/internal_jobs/bindings.d.ts +11 -0
- package/script/server/internal_jobs/bindings.d.ts.map +1 -1
- package/script/server/internal_jobs/job-manager.d.ts +44 -1
- package/script/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/script/server/internal_jobs/job-manager.js +361 -51
- package/script/server/internal_jobs/key-coordinator.d.ts +260 -0
- package/script/server/internal_jobs/key-coordinator.d.ts.map +1 -0
- package/script/server/internal_jobs/key-coordinator.js +593 -0
- package/script/server/internal_jobs/projection.d.ts.map +1 -1
- package/script/server/internal_jobs/projection.js +2 -0
- package/script/server/internal_jobs/runtime-worker.d.ts +5 -1
- package/script/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/script/server/internal_jobs/runtime-worker.js +14 -2
- package/script/server/internal_jobs/types.d.ts +5 -5
- package/script/server/internal_jobs/types.d.ts.map +1 -1
- package/script/server/internal_jobs/types.js +6 -0
- package/script/server/service.d.ts +8 -3
- package/script/server/service.d.ts.map +1 -1
- package/script/server/service.js +126 -5
- package/script/service/drizzle.d.ts +27 -0
- package/script/service/drizzle.d.ts.map +1 -0
- package/script/service/drizzle.js +88 -0
- package/script/service/mod.d.ts +1 -1
- package/script/service/mod.d.ts.map +1 -1
- package/script/service/mod.js +1 -2
- package/script/service/outbox_inbox.d.ts.map +1 -1
- package/script/service/outbox_inbox.js +13 -2
- package/script/trellis.d.ts +24 -8
- package/script/trellis.d.ts.map +1 -1
- package/script/trellis.js +44 -22
- package/src/auth/mod.ts +28 -2
- package/src/auth/protocol.ts +72 -37
- package/src/codec.ts +1 -0
- package/src/contract_support/canonical.ts +3 -0
- package/src/contract_support/mod.ts +158 -5
- package/src/contract_support/protocol.ts +56 -9
- package/src/health.ts +0 -1
- package/src/index.ts +2 -1
- package/src/jobs.ts +138 -1
- package/src/sdk/_generated/auth/api.ts +9 -2
- package/src/sdk/_generated/auth/client.ts +85 -78
- package/src/sdk/_generated/auth/contract.ts +1803 -1435
- package/src/sdk/_generated/auth/schemas.ts +1166 -971
- package/src/sdk/_generated/auth/types.ts +330 -314
- package/src/sdk/_generated/core/api.ts +9 -2
- package/src/sdk/_generated/core/client.ts +41 -2
- package/src/sdk/_generated/core/contract.ts +91 -1
- package/src/sdk/_generated/core/schemas.ts +81 -0
- package/src/sdk/_generated/core/types.ts +23 -1
- package/src/sdk/_generated/health/client.ts +6 -6
- package/src/sdk/_generated/health/contract.ts +2 -10
- package/src/sdk/_generated/health/schemas.ts +1 -9
- package/src/sdk/_generated/health/types.ts +6 -2
- package/src/sdk/_generated/jobs/client.ts +17 -6
- package/src/sdk/_generated/jobs/contract.ts +269 -1
- package/src/sdk/_generated/jobs/owned_api.ts +21 -0
- package/src/sdk/_generated/jobs/schemas.ts +213 -0
- package/src/sdk/_generated/jobs/types.ts +116 -1
- package/src/sdk/_generated/state/client.ts +6 -6
- package/src/server/health.ts +2 -6
- package/src/server/health_schemas.ts +0 -6
- package/src/server/internal_jobs/bindings.ts +11 -0
- package/src/server/internal_jobs/job-manager.ts +436 -16
- package/src/server/internal_jobs/key-coordinator.ts +955 -0
- package/src/server/internal_jobs/projection.ts +2 -0
- package/src/server/internal_jobs/runtime-worker.ts +17 -1
- package/src/server/internal_jobs/types.ts +6 -0
- package/src/server/service.ts +168 -9
- package/src/service/drizzle.ts +125 -0
- package/src/service/mod.ts +0 -1
- package/src/service/outbox_inbox.ts +16 -6
- package/src/trellis.ts +76 -27
package/esm/auth/protocol.d.ts
CHANGED
|
@@ -51,6 +51,17 @@ export declare const ServiceInstanceSchema: Type.TObject<{
|
|
|
51
51
|
logs: Type.TBoolean;
|
|
52
52
|
dlq: Type.TBoolean;
|
|
53
53
|
concurrency: Type.TInteger;
|
|
54
|
+
keyConcurrency: Type.TOptional<Type.TObject<{
|
|
55
|
+
key: Type.TArray<Type.TString>;
|
|
56
|
+
maxActive: Type.TInteger;
|
|
57
|
+
heartbeatIntervalMs: Type.TInteger;
|
|
58
|
+
heartbeatTtlMs: Type.TInteger;
|
|
59
|
+
stalePolicy: Type.TUnion<[Type.TLiteral<"fail-stale">, Type.TLiteral<"block">]>;
|
|
60
|
+
}>>;
|
|
61
|
+
queue: Type.TOptional<Type.TObject<{
|
|
62
|
+
maxQueuedPerKey: Type.TInteger;
|
|
63
|
+
whenFull: Type.TUnion<[Type.TLiteral<"reject">, Type.TLiteral<"coalesce">, Type.TLiteral<"replace-oldest">]>;
|
|
64
|
+
}>>;
|
|
54
65
|
}>>;
|
|
55
66
|
}>>;
|
|
56
67
|
eventConsumers: Type.TOptional<Type.TRecord<"^.*$", Type.TObject<{
|
|
@@ -193,66 +204,83 @@ export declare const DeploymentAuthorityResourceSchema: Type.TObject<{
|
|
|
193
204
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
194
205
|
}>;
|
|
195
206
|
export type DeploymentAuthorityResource = StaticDecode<typeof DeploymentAuthorityResourceSchema>;
|
|
196
|
-
export declare const
|
|
197
|
-
kind: Type.TLiteral<"contract">;
|
|
207
|
+
export declare const DeploymentAuthorityContractNeedSchema: Type.TObject<{
|
|
198
208
|
contractId: Type.TString;
|
|
199
209
|
required: Type.TBoolean;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
|
|
210
|
+
}>;
|
|
211
|
+
export type DeploymentAuthorityContractNeed = StaticDecode<typeof DeploymentAuthorityContractNeedSchema>;
|
|
212
|
+
export declare const DeploymentAuthoritySurfaceNeedSchema: Type.TObject<{
|
|
213
|
+
contractId: Type.TString;
|
|
214
|
+
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
215
|
+
name: Type.TString;
|
|
216
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
217
|
+
required: Type.TBoolean;
|
|
218
|
+
}>;
|
|
219
|
+
export type DeploymentAuthoritySurfaceNeed = StaticDecode<typeof DeploymentAuthoritySurfaceNeedSchema>;
|
|
220
|
+
export declare const DeploymentAuthorityCapabilityNeedSchema: Type.TObject<{
|
|
221
|
+
capability: Type.TString;
|
|
222
|
+
required: Type.TBoolean;
|
|
223
|
+
}>;
|
|
224
|
+
export type DeploymentAuthorityCapabilityNeed = StaticDecode<typeof DeploymentAuthorityCapabilityNeedSchema>;
|
|
225
|
+
export declare const DeploymentAuthorityResourceNeedSchema: Type.TObject<{
|
|
226
|
+
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
227
|
+
alias: Type.TString;
|
|
228
|
+
required: Type.TBoolean;
|
|
229
|
+
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
230
|
+
}>;
|
|
231
|
+
export type DeploymentAuthorityResourceNeed = StaticDecode<typeof DeploymentAuthorityResourceNeedSchema>;
|
|
232
|
+
export declare const DeploymentAuthorityNeedsSchema: Type.TObject<{
|
|
233
|
+
contracts: Type.TArray<Type.TObject<{
|
|
234
|
+
contractId: Type.TString;
|
|
235
|
+
required: Type.TBoolean;
|
|
236
|
+
}>>;
|
|
237
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
203
238
|
contractId: Type.TString;
|
|
204
239
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
205
240
|
name: Type.TString;
|
|
206
241
|
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<{
|
|
242
|
+
required: Type.TBoolean;
|
|
243
|
+
}>>;
|
|
244
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
245
|
+
capability: Type.TString;
|
|
246
|
+
required: Type.TBoolean;
|
|
247
|
+
}>>;
|
|
248
|
+
resources: Type.TArray<Type.TObject<{
|
|
216
249
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
217
250
|
alias: Type.TString;
|
|
218
251
|
required: Type.TBoolean;
|
|
219
252
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
export type DeploymentAuthorityNeed = StaticDecode<typeof DeploymentAuthorityNeedSchema>;
|
|
253
|
+
}>>;
|
|
254
|
+
}>;
|
|
255
|
+
export type DeploymentAuthorityNeeds = StaticDecode<typeof DeploymentAuthorityNeedsSchema>;
|
|
224
256
|
export declare const DeploymentAuthoritySchema: Type.TObject<{
|
|
225
257
|
deploymentId: Type.TString;
|
|
226
258
|
kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
|
|
227
259
|
disabled: Type.TBoolean;
|
|
228
260
|
desiredState: Type.TObject<{
|
|
229
|
-
needs: Type.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
surface: Type.TObject<{
|
|
261
|
+
needs: Type.TObject<{
|
|
262
|
+
contracts: Type.TArray<Type.TObject<{
|
|
263
|
+
contractId: Type.TString;
|
|
264
|
+
required: Type.TBoolean;
|
|
265
|
+
}>>;
|
|
266
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
236
267
|
contractId: Type.TString;
|
|
237
268
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
238
269
|
name: Type.TString;
|
|
239
270
|
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<{
|
|
271
|
+
required: Type.TBoolean;
|
|
272
|
+
}>>;
|
|
273
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
274
|
+
capability: Type.TString;
|
|
275
|
+
required: Type.TBoolean;
|
|
276
|
+
}>>;
|
|
277
|
+
resources: Type.TArray<Type.TObject<{
|
|
249
278
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
250
279
|
alias: Type.TString;
|
|
251
280
|
required: Type.TBoolean;
|
|
252
281
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
}>]>>;
|
|
282
|
+
}>>;
|
|
283
|
+
}>;
|
|
256
284
|
capabilities: Type.TArray<Type.TString>;
|
|
257
285
|
resources: Type.TArray<Type.TObject<{
|
|
258
286
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
@@ -278,33 +306,29 @@ export declare const DeploymentAuthorityProposalSchema: Type.TObject<{
|
|
|
278
306
|
contractId: Type.TString;
|
|
279
307
|
contractDigest: Type.TString;
|
|
280
308
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
281
|
-
requestedNeeds: Type.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
surface: Type.TObject<{
|
|
309
|
+
requestedNeeds: Type.TObject<{
|
|
310
|
+
contracts: Type.TArray<Type.TObject<{
|
|
311
|
+
contractId: Type.TString;
|
|
312
|
+
required: Type.TBoolean;
|
|
313
|
+
}>>;
|
|
314
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
288
315
|
contractId: Type.TString;
|
|
289
316
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
290
317
|
name: Type.TString;
|
|
291
318
|
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<{
|
|
319
|
+
required: Type.TBoolean;
|
|
320
|
+
}>>;
|
|
321
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
322
|
+
capability: Type.TString;
|
|
323
|
+
required: Type.TBoolean;
|
|
324
|
+
}>>;
|
|
325
|
+
resources: Type.TArray<Type.TObject<{
|
|
301
326
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
302
327
|
alias: Type.TString;
|
|
303
328
|
required: Type.TBoolean;
|
|
304
329
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
}>]>>;
|
|
330
|
+
}>>;
|
|
331
|
+
}>;
|
|
308
332
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
309
333
|
contractId: Type.TString;
|
|
310
334
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -325,19 +349,19 @@ export declare const DeploymentResourceBindingSchema: Type.TObject<{
|
|
|
325
349
|
}>;
|
|
326
350
|
export type DeploymentResourceBinding = StaticDecode<typeof DeploymentResourceBindingSchema>;
|
|
327
351
|
export declare const MaterializedAuthoritySurfaceGrantSchema: Type.TObject<{
|
|
328
|
-
kind: Type.TLiteral<"surface">;
|
|
329
352
|
contractId: Type.TString;
|
|
330
353
|
surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
331
354
|
name: Type.TString;
|
|
332
355
|
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
333
356
|
}>;
|
|
357
|
+
export type MaterializedAuthoritySurfaceGrant = StaticDecode<typeof MaterializedAuthoritySurfaceGrantSchema>;
|
|
334
358
|
export declare const MaterializedAuthorityCapabilityGrantSchema: Type.TObject<{
|
|
335
|
-
kind: Type.TLiteral<"capability">;
|
|
336
359
|
capability: Type.TString;
|
|
337
360
|
}>;
|
|
361
|
+
export type MaterializedAuthorityCapabilityGrant = StaticDecode<typeof MaterializedAuthorityCapabilityGrantSchema>;
|
|
338
362
|
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">]>;
|
|
363
|
+
export type MaterializedAuthorityNatsGrantSource = StaticDecode<typeof MaterializedAuthorityNatsGrantSourceSchema>;
|
|
339
364
|
export declare const MaterializedAuthorityNatsGrantSchema: Type.TObject<{
|
|
340
|
-
kind: Type.TLiteral<"nats">;
|
|
341
365
|
direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
|
|
342
366
|
subject: Type.TString;
|
|
343
367
|
surface: Type.TOptional<Type.TObject<{
|
|
@@ -349,29 +373,32 @@ export declare const MaterializedAuthorityNatsGrantSchema: Type.TObject<{
|
|
|
349
373
|
requiredCapabilities: Type.TArray<Type.TString>;
|
|
350
374
|
grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
|
|
351
375
|
}>;
|
|
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<{
|
|
376
|
+
export type MaterializedAuthorityNatsGrant = StaticDecode<typeof MaterializedAuthorityNatsGrantSchema>;
|
|
377
|
+
export declare const MaterializedAuthorityGrantsSchema: Type.TObject<{
|
|
378
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
379
|
+
capability: Type.TString;
|
|
380
|
+
}>>;
|
|
381
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
366
382
|
contractId: Type.TString;
|
|
367
|
-
|
|
383
|
+
surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
368
384
|
name: Type.TString;
|
|
369
385
|
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
370
386
|
}>>;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
387
|
+
nats: Type.TArray<Type.TObject<{
|
|
388
|
+
direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
|
|
389
|
+
subject: Type.TString;
|
|
390
|
+
surface: Type.TOptional<Type.TObject<{
|
|
391
|
+
contractId: Type.TString;
|
|
392
|
+
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
393
|
+
name: Type.TString;
|
|
394
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
395
|
+
}>>;
|
|
396
|
+
requiredCapabilities: Type.TArray<Type.TString>;
|
|
397
|
+
grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
|
|
398
|
+
}>>;
|
|
399
|
+
}>;
|
|
400
|
+
export type MaterializedAuthorityGrants = StaticDecode<typeof MaterializedAuthorityGrantsSchema>;
|
|
401
|
+
export type MaterializedAuthorityGrant = MaterializedAuthorityCapabilityGrant | MaterializedAuthoritySurfaceGrant | MaterializedAuthorityNatsGrant;
|
|
375
402
|
export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
|
|
376
403
|
deploymentId: Type.TString;
|
|
377
404
|
desiredVersion: Type.TString;
|
|
@@ -385,28 +412,29 @@ export declare const DeploymentAuthorityMaterializationSchema: Type.TObject<{
|
|
|
385
412
|
createdAt: Type.TString;
|
|
386
413
|
updatedAt: Type.TString;
|
|
387
414
|
}>>;
|
|
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<{
|
|
415
|
+
grants: Type.TObject<{
|
|
416
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
417
|
+
capability: Type.TString;
|
|
418
|
+
}>>;
|
|
419
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
402
420
|
contractId: Type.TString;
|
|
403
|
-
|
|
421
|
+
surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
404
422
|
name: Type.TString;
|
|
405
423
|
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
406
424
|
}>>;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
425
|
+
nats: Type.TArray<Type.TObject<{
|
|
426
|
+
direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
|
|
427
|
+
subject: Type.TString;
|
|
428
|
+
surface: Type.TOptional<Type.TObject<{
|
|
429
|
+
contractId: Type.TString;
|
|
430
|
+
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
431
|
+
name: Type.TString;
|
|
432
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
433
|
+
}>>;
|
|
434
|
+
requiredCapabilities: Type.TArray<Type.TString>;
|
|
435
|
+
grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
|
|
436
|
+
}>>;
|
|
437
|
+
}>;
|
|
410
438
|
reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
411
439
|
error: Type.TOptional<Type.TString>;
|
|
412
440
|
}>;
|
|
@@ -430,33 +458,29 @@ export declare const DeploymentAuthorityUpdateSchema: Type.TObject<{
|
|
|
430
458
|
contractId: Type.TString;
|
|
431
459
|
contractDigest: Type.TString;
|
|
432
460
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
433
|
-
requestedNeeds: Type.
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
surface: Type.TObject<{
|
|
461
|
+
requestedNeeds: Type.TObject<{
|
|
462
|
+
contracts: Type.TArray<Type.TObject<{
|
|
463
|
+
contractId: Type.TString;
|
|
464
|
+
required: Type.TBoolean;
|
|
465
|
+
}>>;
|
|
466
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
440
467
|
contractId: Type.TString;
|
|
441
468
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
442
469
|
name: Type.TString;
|
|
443
470
|
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<{
|
|
471
|
+
required: Type.TBoolean;
|
|
472
|
+
}>>;
|
|
473
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
474
|
+
capability: Type.TString;
|
|
475
|
+
required: Type.TBoolean;
|
|
476
|
+
}>>;
|
|
477
|
+
resources: Type.TArray<Type.TObject<{
|
|
453
478
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
454
479
|
alias: Type.TString;
|
|
455
480
|
required: Type.TBoolean;
|
|
456
481
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
}>]>>;
|
|
482
|
+
}>>;
|
|
483
|
+
}>;
|
|
460
484
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
461
485
|
contractId: Type.TString;
|
|
462
486
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -487,33 +511,29 @@ export declare const DeploymentAuthorityMigrationSchema: Type.TObject<{
|
|
|
487
511
|
contractId: Type.TString;
|
|
488
512
|
contractDigest: Type.TString;
|
|
489
513
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
490
|
-
requestedNeeds: Type.
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
surface: Type.TObject<{
|
|
514
|
+
requestedNeeds: Type.TObject<{
|
|
515
|
+
contracts: Type.TArray<Type.TObject<{
|
|
516
|
+
contractId: Type.TString;
|
|
517
|
+
required: Type.TBoolean;
|
|
518
|
+
}>>;
|
|
519
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
497
520
|
contractId: Type.TString;
|
|
498
521
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
499
522
|
name: Type.TString;
|
|
500
523
|
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<{
|
|
524
|
+
required: Type.TBoolean;
|
|
525
|
+
}>>;
|
|
526
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
527
|
+
capability: Type.TString;
|
|
528
|
+
required: Type.TBoolean;
|
|
529
|
+
}>>;
|
|
530
|
+
resources: Type.TArray<Type.TObject<{
|
|
510
531
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
511
532
|
alias: Type.TString;
|
|
512
533
|
required: Type.TBoolean;
|
|
513
534
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
}>]>>;
|
|
535
|
+
}>>;
|
|
536
|
+
}>;
|
|
517
537
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
518
538
|
contractId: Type.TString;
|
|
519
539
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -543,33 +563,29 @@ export declare const DeploymentAuthorityPlanSchema: Type.TUnion<[Type.TObject<{
|
|
|
543
563
|
contractId: Type.TString;
|
|
544
564
|
contractDigest: Type.TString;
|
|
545
565
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
546
|
-
requestedNeeds: Type.
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
surface: Type.TObject<{
|
|
566
|
+
requestedNeeds: Type.TObject<{
|
|
567
|
+
contracts: Type.TArray<Type.TObject<{
|
|
568
|
+
contractId: Type.TString;
|
|
569
|
+
required: Type.TBoolean;
|
|
570
|
+
}>>;
|
|
571
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
553
572
|
contractId: Type.TString;
|
|
554
573
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
555
574
|
name: Type.TString;
|
|
556
575
|
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<{
|
|
576
|
+
required: Type.TBoolean;
|
|
577
|
+
}>>;
|
|
578
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
579
|
+
capability: Type.TString;
|
|
580
|
+
required: Type.TBoolean;
|
|
581
|
+
}>>;
|
|
582
|
+
resources: Type.TArray<Type.TObject<{
|
|
566
583
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
567
584
|
alias: Type.TString;
|
|
568
585
|
required: Type.TBoolean;
|
|
569
586
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
}>]>>;
|
|
587
|
+
}>>;
|
|
588
|
+
}>;
|
|
573
589
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
574
590
|
contractId: Type.TString;
|
|
575
591
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -598,33 +614,29 @@ export declare const DeploymentAuthorityPlanSchema: Type.TUnion<[Type.TObject<{
|
|
|
598
614
|
contractId: Type.TString;
|
|
599
615
|
contractDigest: Type.TString;
|
|
600
616
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
601
|
-
requestedNeeds: Type.
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
surface: Type.TObject<{
|
|
617
|
+
requestedNeeds: Type.TObject<{
|
|
618
|
+
contracts: Type.TArray<Type.TObject<{
|
|
619
|
+
contractId: Type.TString;
|
|
620
|
+
required: Type.TBoolean;
|
|
621
|
+
}>>;
|
|
622
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
608
623
|
contractId: Type.TString;
|
|
609
624
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
610
625
|
name: Type.TString;
|
|
611
626
|
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<{
|
|
627
|
+
required: Type.TBoolean;
|
|
628
|
+
}>>;
|
|
629
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
630
|
+
capability: Type.TString;
|
|
631
|
+
required: Type.TBoolean;
|
|
632
|
+
}>>;
|
|
633
|
+
resources: Type.TArray<Type.TObject<{
|
|
621
634
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
622
635
|
alias: Type.TString;
|
|
623
636
|
required: Type.TBoolean;
|
|
624
637
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
}>]>>;
|
|
638
|
+
}>>;
|
|
639
|
+
}>;
|
|
628
640
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
629
641
|
contractId: Type.TString;
|
|
630
642
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -720,33 +732,29 @@ export declare const AuthDeploymentAuthorityListResponseSchema: Type.TObject<{
|
|
|
720
732
|
kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
|
|
721
733
|
disabled: Type.TBoolean;
|
|
722
734
|
desiredState: Type.TObject<{
|
|
723
|
-
needs: Type.
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
surface: Type.TObject<{
|
|
735
|
+
needs: Type.TObject<{
|
|
736
|
+
contracts: Type.TArray<Type.TObject<{
|
|
737
|
+
contractId: Type.TString;
|
|
738
|
+
required: Type.TBoolean;
|
|
739
|
+
}>>;
|
|
740
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
730
741
|
contractId: Type.TString;
|
|
731
742
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
732
743
|
name: Type.TString;
|
|
733
744
|
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<{
|
|
745
|
+
required: Type.TBoolean;
|
|
746
|
+
}>>;
|
|
747
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
748
|
+
capability: Type.TString;
|
|
749
|
+
required: Type.TBoolean;
|
|
750
|
+
}>>;
|
|
751
|
+
resources: Type.TArray<Type.TObject<{
|
|
743
752
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
744
753
|
alias: Type.TString;
|
|
745
754
|
required: Type.TBoolean;
|
|
746
755
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
}>]>>;
|
|
756
|
+
}>>;
|
|
757
|
+
}>;
|
|
750
758
|
capabilities: Type.TArray<Type.TString>;
|
|
751
759
|
resources: Type.TArray<Type.TObject<{
|
|
752
760
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
@@ -781,33 +789,29 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: Type.TObject<{
|
|
|
781
789
|
kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
|
|
782
790
|
disabled: Type.TBoolean;
|
|
783
791
|
desiredState: Type.TObject<{
|
|
784
|
-
needs: Type.
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
surface: Type.TObject<{
|
|
792
|
+
needs: Type.TObject<{
|
|
793
|
+
contracts: Type.TArray<Type.TObject<{
|
|
794
|
+
contractId: Type.TString;
|
|
795
|
+
required: Type.TBoolean;
|
|
796
|
+
}>>;
|
|
797
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
791
798
|
contractId: Type.TString;
|
|
792
799
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
793
800
|
name: Type.TString;
|
|
794
801
|
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<{
|
|
802
|
+
required: Type.TBoolean;
|
|
803
|
+
}>>;
|
|
804
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
805
|
+
capability: Type.TString;
|
|
806
|
+
required: Type.TBoolean;
|
|
807
|
+
}>>;
|
|
808
|
+
resources: Type.TArray<Type.TObject<{
|
|
804
809
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
805
810
|
alias: Type.TString;
|
|
806
811
|
required: Type.TBoolean;
|
|
807
812
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
}>]>>;
|
|
813
|
+
}>>;
|
|
814
|
+
}>;
|
|
811
815
|
capabilities: Type.TArray<Type.TString>;
|
|
812
816
|
resources: Type.TArray<Type.TObject<{
|
|
813
817
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
@@ -839,28 +843,29 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: Type.TObject<{
|
|
|
839
843
|
createdAt: Type.TString;
|
|
840
844
|
updatedAt: Type.TString;
|
|
841
845
|
}>>;
|
|
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<{
|
|
846
|
+
grants: Type.TObject<{
|
|
847
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
848
|
+
capability: Type.TString;
|
|
849
|
+
}>>;
|
|
850
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
856
851
|
contractId: Type.TString;
|
|
857
|
-
|
|
852
|
+
surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
858
853
|
name: Type.TString;
|
|
859
854
|
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
860
855
|
}>>;
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
856
|
+
nats: Type.TArray<Type.TObject<{
|
|
857
|
+
direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
|
|
858
|
+
subject: Type.TString;
|
|
859
|
+
surface: Type.TOptional<Type.TObject<{
|
|
860
|
+
contractId: Type.TString;
|
|
861
|
+
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
862
|
+
name: Type.TString;
|
|
863
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
864
|
+
}>>;
|
|
865
|
+
requiredCapabilities: Type.TArray<Type.TString>;
|
|
866
|
+
grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
|
|
867
|
+
}>>;
|
|
868
|
+
}>;
|
|
864
869
|
reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
865
870
|
error: Type.TOptional<Type.TString>;
|
|
866
871
|
}>, Type.TNull]>;
|
|
@@ -930,33 +935,29 @@ export declare const AuthDeploymentAuthorityPlansListResponseSchema: Type.TObjec
|
|
|
930
935
|
contractId: Type.TString;
|
|
931
936
|
contractDigest: Type.TString;
|
|
932
937
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
933
|
-
requestedNeeds: Type.
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
surface: Type.TObject<{
|
|
938
|
+
requestedNeeds: Type.TObject<{
|
|
939
|
+
contracts: Type.TArray<Type.TObject<{
|
|
940
|
+
contractId: Type.TString;
|
|
941
|
+
required: Type.TBoolean;
|
|
942
|
+
}>>;
|
|
943
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
940
944
|
contractId: Type.TString;
|
|
941
945
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
942
946
|
name: Type.TString;
|
|
943
947
|
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<{
|
|
948
|
+
required: Type.TBoolean;
|
|
949
|
+
}>>;
|
|
950
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
951
|
+
capability: Type.TString;
|
|
952
|
+
required: Type.TBoolean;
|
|
953
|
+
}>>;
|
|
954
|
+
resources: Type.TArray<Type.TObject<{
|
|
953
955
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
954
956
|
alias: Type.TString;
|
|
955
957
|
required: Type.TBoolean;
|
|
956
958
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
}>]>>;
|
|
959
|
+
}>>;
|
|
960
|
+
}>;
|
|
960
961
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
961
962
|
contractId: Type.TString;
|
|
962
963
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -985,33 +986,29 @@ export declare const AuthDeploymentAuthorityPlansListResponseSchema: Type.TObjec
|
|
|
985
986
|
contractId: Type.TString;
|
|
986
987
|
contractDigest: Type.TString;
|
|
987
988
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
988
|
-
requestedNeeds: Type.
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
surface: Type.TObject<{
|
|
989
|
+
requestedNeeds: Type.TObject<{
|
|
990
|
+
contracts: Type.TArray<Type.TObject<{
|
|
991
|
+
contractId: Type.TString;
|
|
992
|
+
required: Type.TBoolean;
|
|
993
|
+
}>>;
|
|
994
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
995
995
|
contractId: Type.TString;
|
|
996
996
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
997
997
|
name: Type.TString;
|
|
998
998
|
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<{
|
|
999
|
+
required: Type.TBoolean;
|
|
1000
|
+
}>>;
|
|
1001
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1002
|
+
capability: Type.TString;
|
|
1003
|
+
required: Type.TBoolean;
|
|
1004
|
+
}>>;
|
|
1005
|
+
resources: Type.TArray<Type.TObject<{
|
|
1008
1006
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1009
1007
|
alias: Type.TString;
|
|
1010
1008
|
required: Type.TBoolean;
|
|
1011
1009
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
}>]>>;
|
|
1010
|
+
}>>;
|
|
1011
|
+
}>;
|
|
1015
1012
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
1016
1013
|
contractId: Type.TString;
|
|
1017
1014
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -1051,33 +1048,29 @@ export declare const AuthDeploymentAuthorityPlansGetResponseSchema: Type.TObject
|
|
|
1051
1048
|
contractId: Type.TString;
|
|
1052
1049
|
contractDigest: Type.TString;
|
|
1053
1050
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1054
|
-
requestedNeeds: Type.
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
surface: Type.TObject<{
|
|
1051
|
+
requestedNeeds: Type.TObject<{
|
|
1052
|
+
contracts: Type.TArray<Type.TObject<{
|
|
1053
|
+
contractId: Type.TString;
|
|
1054
|
+
required: Type.TBoolean;
|
|
1055
|
+
}>>;
|
|
1056
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1061
1057
|
contractId: Type.TString;
|
|
1062
1058
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1063
1059
|
name: Type.TString;
|
|
1064
1060
|
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<{
|
|
1061
|
+
required: Type.TBoolean;
|
|
1062
|
+
}>>;
|
|
1063
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1064
|
+
capability: Type.TString;
|
|
1065
|
+
required: Type.TBoolean;
|
|
1066
|
+
}>>;
|
|
1067
|
+
resources: Type.TArray<Type.TObject<{
|
|
1074
1068
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1075
1069
|
alias: Type.TString;
|
|
1076
1070
|
required: Type.TBoolean;
|
|
1077
1071
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
}>]>>;
|
|
1072
|
+
}>>;
|
|
1073
|
+
}>;
|
|
1081
1074
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
1082
1075
|
contractId: Type.TString;
|
|
1083
1076
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -1106,33 +1099,29 @@ export declare const AuthDeploymentAuthorityPlansGetResponseSchema: Type.TObject
|
|
|
1106
1099
|
contractId: Type.TString;
|
|
1107
1100
|
contractDigest: Type.TString;
|
|
1108
1101
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1109
|
-
requestedNeeds: Type.
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
surface: Type.TObject<{
|
|
1102
|
+
requestedNeeds: Type.TObject<{
|
|
1103
|
+
contracts: Type.TArray<Type.TObject<{
|
|
1104
|
+
contractId: Type.TString;
|
|
1105
|
+
required: Type.TBoolean;
|
|
1106
|
+
}>>;
|
|
1107
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1116
1108
|
contractId: Type.TString;
|
|
1117
1109
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1118
1110
|
name: Type.TString;
|
|
1119
1111
|
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<{
|
|
1112
|
+
required: Type.TBoolean;
|
|
1113
|
+
}>>;
|
|
1114
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1115
|
+
capability: Type.TString;
|
|
1116
|
+
required: Type.TBoolean;
|
|
1117
|
+
}>>;
|
|
1118
|
+
resources: Type.TArray<Type.TObject<{
|
|
1129
1119
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1130
1120
|
alias: Type.TString;
|
|
1131
1121
|
required: Type.TBoolean;
|
|
1132
1122
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
}>]>>;
|
|
1123
|
+
}>>;
|
|
1124
|
+
}>;
|
|
1136
1125
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
1137
1126
|
contractId: Type.TString;
|
|
1138
1127
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -1170,33 +1159,29 @@ export declare const AuthDeploymentAuthorityPlanResponseSchema: Type.TObject<{
|
|
|
1170
1159
|
contractId: Type.TString;
|
|
1171
1160
|
contractDigest: Type.TString;
|
|
1172
1161
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1173
|
-
requestedNeeds: Type.
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
surface: Type.TObject<{
|
|
1162
|
+
requestedNeeds: Type.TObject<{
|
|
1163
|
+
contracts: Type.TArray<Type.TObject<{
|
|
1164
|
+
contractId: Type.TString;
|
|
1165
|
+
required: Type.TBoolean;
|
|
1166
|
+
}>>;
|
|
1167
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1180
1168
|
contractId: Type.TString;
|
|
1181
1169
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1182
1170
|
name: Type.TString;
|
|
1183
1171
|
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<{
|
|
1172
|
+
required: Type.TBoolean;
|
|
1173
|
+
}>>;
|
|
1174
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1175
|
+
capability: Type.TString;
|
|
1176
|
+
required: Type.TBoolean;
|
|
1177
|
+
}>>;
|
|
1178
|
+
resources: Type.TArray<Type.TObject<{
|
|
1193
1179
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1194
1180
|
alias: Type.TString;
|
|
1195
1181
|
required: Type.TBoolean;
|
|
1196
1182
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
}>]>>;
|
|
1183
|
+
}>>;
|
|
1184
|
+
}>;
|
|
1200
1185
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
1201
1186
|
contractId: Type.TString;
|
|
1202
1187
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -1225,33 +1210,29 @@ export declare const AuthDeploymentAuthorityPlanResponseSchema: Type.TObject<{
|
|
|
1225
1210
|
contractId: Type.TString;
|
|
1226
1211
|
contractDigest: Type.TString;
|
|
1227
1212
|
contract: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1228
|
-
requestedNeeds: Type.
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
surface: Type.TObject<{
|
|
1213
|
+
requestedNeeds: Type.TObject<{
|
|
1214
|
+
contracts: Type.TArray<Type.TObject<{
|
|
1215
|
+
contractId: Type.TString;
|
|
1216
|
+
required: Type.TBoolean;
|
|
1217
|
+
}>>;
|
|
1218
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1235
1219
|
contractId: Type.TString;
|
|
1236
1220
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1237
1221
|
name: Type.TString;
|
|
1238
1222
|
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<{
|
|
1223
|
+
required: Type.TBoolean;
|
|
1224
|
+
}>>;
|
|
1225
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1226
|
+
capability: Type.TString;
|
|
1227
|
+
required: Type.TBoolean;
|
|
1228
|
+
}>>;
|
|
1229
|
+
resources: Type.TArray<Type.TObject<{
|
|
1248
1230
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1249
1231
|
alias: Type.TString;
|
|
1250
1232
|
required: Type.TBoolean;
|
|
1251
1233
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
}>]>>;
|
|
1234
|
+
}>>;
|
|
1235
|
+
}>;
|
|
1255
1236
|
providedSurfaces: Type.TArray<Type.TObject<{
|
|
1256
1237
|
contractId: Type.TString;
|
|
1257
1238
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
@@ -1289,33 +1270,29 @@ export declare const AuthDeploymentAuthorityAcceptResponseSchema: Type.TObject<{
|
|
|
1289
1270
|
kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
|
|
1290
1271
|
disabled: Type.TBoolean;
|
|
1291
1272
|
desiredState: Type.TObject<{
|
|
1292
|
-
needs: Type.
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
surface: Type.TObject<{
|
|
1273
|
+
needs: Type.TObject<{
|
|
1274
|
+
contracts: Type.TArray<Type.TObject<{
|
|
1275
|
+
contractId: Type.TString;
|
|
1276
|
+
required: Type.TBoolean;
|
|
1277
|
+
}>>;
|
|
1278
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1299
1279
|
contractId: Type.TString;
|
|
1300
1280
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1301
1281
|
name: Type.TString;
|
|
1302
1282
|
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<{
|
|
1283
|
+
required: Type.TBoolean;
|
|
1284
|
+
}>>;
|
|
1285
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1286
|
+
capability: Type.TString;
|
|
1287
|
+
required: Type.TBoolean;
|
|
1288
|
+
}>>;
|
|
1289
|
+
resources: Type.TArray<Type.TObject<{
|
|
1312
1290
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1313
1291
|
alias: Type.TString;
|
|
1314
1292
|
required: Type.TBoolean;
|
|
1315
1293
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
}>]>>;
|
|
1294
|
+
}>>;
|
|
1295
|
+
}>;
|
|
1319
1296
|
capabilities: Type.TArray<Type.TString>;
|
|
1320
1297
|
resources: Type.TArray<Type.TObject<{
|
|
1321
1298
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
@@ -1356,33 +1333,29 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: Type.TObjec
|
|
|
1356
1333
|
kind: Type.TUnion<[Type.TLiteral<"service">, Type.TLiteral<"device">, Type.TLiteral<"app">, Type.TLiteral<"cli">, Type.TLiteral<"native">, Type.TLiteral<"device-user">]>;
|
|
1357
1334
|
disabled: Type.TBoolean;
|
|
1358
1335
|
desiredState: Type.TObject<{
|
|
1359
|
-
needs: Type.
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
surface: Type.TObject<{
|
|
1336
|
+
needs: Type.TObject<{
|
|
1337
|
+
contracts: Type.TArray<Type.TObject<{
|
|
1338
|
+
contractId: Type.TString;
|
|
1339
|
+
required: Type.TBoolean;
|
|
1340
|
+
}>>;
|
|
1341
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1366
1342
|
contractId: Type.TString;
|
|
1367
1343
|
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1368
1344
|
name: Type.TString;
|
|
1369
1345
|
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<{
|
|
1346
|
+
required: Type.TBoolean;
|
|
1347
|
+
}>>;
|
|
1348
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1349
|
+
capability: Type.TString;
|
|
1350
|
+
required: Type.TBoolean;
|
|
1351
|
+
}>>;
|
|
1352
|
+
resources: Type.TArray<Type.TObject<{
|
|
1379
1353
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
1380
1354
|
alias: Type.TString;
|
|
1381
1355
|
required: Type.TBoolean;
|
|
1382
1356
|
definition: Type.TOptional<Type.TUnsafe<Record<string, unknown>>>;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
}>]>>;
|
|
1357
|
+
}>>;
|
|
1358
|
+
}>;
|
|
1386
1359
|
capabilities: Type.TArray<Type.TString>;
|
|
1387
1360
|
resources: Type.TArray<Type.TObject<{
|
|
1388
1361
|
kind: Type.TUnion<[Type.TLiteral<"kv">, Type.TLiteral<"store">, Type.TLiteral<"jobs">, Type.TLiteral<"event-consumer">, Type.TLiteral<"transfer">]>;
|
|
@@ -1414,28 +1387,29 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: Type.TObjec
|
|
|
1414
1387
|
createdAt: Type.TString;
|
|
1415
1388
|
updatedAt: Type.TString;
|
|
1416
1389
|
}>>;
|
|
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<{
|
|
1390
|
+
grants: Type.TObject<{
|
|
1391
|
+
capabilities: Type.TArray<Type.TObject<{
|
|
1392
|
+
capability: Type.TString;
|
|
1393
|
+
}>>;
|
|
1394
|
+
surfaces: Type.TArray<Type.TObject<{
|
|
1431
1395
|
contractId: Type.TString;
|
|
1432
|
-
|
|
1396
|
+
surfaceKind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1433
1397
|
name: Type.TString;
|
|
1434
1398
|
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
1435
1399
|
}>>;
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1400
|
+
nats: Type.TArray<Type.TObject<{
|
|
1401
|
+
direction: Type.TUnion<[Type.TLiteral<"publish">, Type.TLiteral<"subscribe">]>;
|
|
1402
|
+
subject: Type.TString;
|
|
1403
|
+
surface: Type.TOptional<Type.TObject<{
|
|
1404
|
+
contractId: Type.TString;
|
|
1405
|
+
kind: Type.TUnion<[Type.TLiteral<"rpc">, Type.TLiteral<"operation">, Type.TLiteral<"event">, Type.TLiteral<"feed">]>;
|
|
1406
|
+
name: Type.TString;
|
|
1407
|
+
action: Type.TOptional<Type.TUnion<[Type.TLiteral<"call">, Type.TLiteral<"publish">, Type.TLiteral<"subscribe">, Type.TLiteral<"observe">, Type.TLiteral<"cancel">]>>;
|
|
1408
|
+
}>>;
|
|
1409
|
+
requiredCapabilities: Type.TArray<Type.TString>;
|
|
1410
|
+
grantSource: Type.TUnion<[Type.TLiteral<"owned-surface">, Type.TLiteral<"used-surface">, Type.TLiteral<"resource-binding">, Type.TLiteral<"platform-service">, Type.TLiteral<"transfer">]>;
|
|
1411
|
+
}>>;
|
|
1412
|
+
}>;
|
|
1439
1413
|
reconciledAt: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
1440
1414
|
error: Type.TOptional<Type.TString>;
|
|
1441
1415
|
}>;
|
|
@@ -1666,6 +1640,17 @@ export declare const AuthServiceInstancesProvisionResponseSchema: Type.TObject<{
|
|
|
1666
1640
|
logs: Type.TBoolean;
|
|
1667
1641
|
dlq: Type.TBoolean;
|
|
1668
1642
|
concurrency: Type.TInteger;
|
|
1643
|
+
keyConcurrency: Type.TOptional<Type.TObject<{
|
|
1644
|
+
key: Type.TArray<Type.TString>;
|
|
1645
|
+
maxActive: Type.TInteger;
|
|
1646
|
+
heartbeatIntervalMs: Type.TInteger;
|
|
1647
|
+
heartbeatTtlMs: Type.TInteger;
|
|
1648
|
+
stalePolicy: Type.TUnion<[Type.TLiteral<"fail-stale">, Type.TLiteral<"block">]>;
|
|
1649
|
+
}>>;
|
|
1650
|
+
queue: Type.TOptional<Type.TObject<{
|
|
1651
|
+
maxQueuedPerKey: Type.TInteger;
|
|
1652
|
+
whenFull: Type.TUnion<[Type.TLiteral<"reject">, Type.TLiteral<"coalesce">, Type.TLiteral<"replace-oldest">]>;
|
|
1653
|
+
}>>;
|
|
1669
1654
|
}>>;
|
|
1670
1655
|
}>>;
|
|
1671
1656
|
eventConsumers: Type.TOptional<Type.TRecord<"^.*$", Type.TObject<{
|
|
@@ -1731,6 +1716,17 @@ export declare const AuthServiceInstancesListResponseSchema: Type.TObject<{
|
|
|
1731
1716
|
logs: Type.TBoolean;
|
|
1732
1717
|
dlq: Type.TBoolean;
|
|
1733
1718
|
concurrency: Type.TInteger;
|
|
1719
|
+
keyConcurrency: Type.TOptional<Type.TObject<{
|
|
1720
|
+
key: Type.TArray<Type.TString>;
|
|
1721
|
+
maxActive: Type.TInteger;
|
|
1722
|
+
heartbeatIntervalMs: Type.TInteger;
|
|
1723
|
+
heartbeatTtlMs: Type.TInteger;
|
|
1724
|
+
stalePolicy: Type.TUnion<[Type.TLiteral<"fail-stale">, Type.TLiteral<"block">]>;
|
|
1725
|
+
}>>;
|
|
1726
|
+
queue: Type.TOptional<Type.TObject<{
|
|
1727
|
+
maxQueuedPerKey: Type.TInteger;
|
|
1728
|
+
whenFull: Type.TUnion<[Type.TLiteral<"reject">, Type.TLiteral<"coalesce">, Type.TLiteral<"replace-oldest">]>;
|
|
1729
|
+
}>>;
|
|
1734
1730
|
}>>;
|
|
1735
1731
|
}>>;
|
|
1736
1732
|
eventConsumers: Type.TOptional<Type.TRecord<"^.*$", Type.TObject<{
|
|
@@ -1797,6 +1793,17 @@ export declare const AuthServiceInstancesDisableResponseSchema: Type.TObject<{
|
|
|
1797
1793
|
logs: Type.TBoolean;
|
|
1798
1794
|
dlq: Type.TBoolean;
|
|
1799
1795
|
concurrency: Type.TInteger;
|
|
1796
|
+
keyConcurrency: Type.TOptional<Type.TObject<{
|
|
1797
|
+
key: Type.TArray<Type.TString>;
|
|
1798
|
+
maxActive: Type.TInteger;
|
|
1799
|
+
heartbeatIntervalMs: Type.TInteger;
|
|
1800
|
+
heartbeatTtlMs: Type.TInteger;
|
|
1801
|
+
stalePolicy: Type.TUnion<[Type.TLiteral<"fail-stale">, Type.TLiteral<"block">]>;
|
|
1802
|
+
}>>;
|
|
1803
|
+
queue: Type.TOptional<Type.TObject<{
|
|
1804
|
+
maxQueuedPerKey: Type.TInteger;
|
|
1805
|
+
whenFull: Type.TUnion<[Type.TLiteral<"reject">, Type.TLiteral<"coalesce">, Type.TLiteral<"replace-oldest">]>;
|
|
1806
|
+
}>>;
|
|
1800
1807
|
}>>;
|
|
1801
1808
|
}>>;
|
|
1802
1809
|
eventConsumers: Type.TOptional<Type.TRecord<"^.*$", Type.TObject<{
|
|
@@ -1859,6 +1866,17 @@ export declare const AuthServiceInstancesEnableResponseSchema: Type.TObject<{
|
|
|
1859
1866
|
logs: Type.TBoolean;
|
|
1860
1867
|
dlq: Type.TBoolean;
|
|
1861
1868
|
concurrency: Type.TInteger;
|
|
1869
|
+
keyConcurrency: Type.TOptional<Type.TObject<{
|
|
1870
|
+
key: Type.TArray<Type.TString>;
|
|
1871
|
+
maxActive: Type.TInteger;
|
|
1872
|
+
heartbeatIntervalMs: Type.TInteger;
|
|
1873
|
+
heartbeatTtlMs: Type.TInteger;
|
|
1874
|
+
stalePolicy: Type.TUnion<[Type.TLiteral<"fail-stale">, Type.TLiteral<"block">]>;
|
|
1875
|
+
}>>;
|
|
1876
|
+
queue: Type.TOptional<Type.TObject<{
|
|
1877
|
+
maxQueuedPerKey: Type.TInteger;
|
|
1878
|
+
whenFull: Type.TUnion<[Type.TLiteral<"reject">, Type.TLiteral<"coalesce">, Type.TLiteral<"replace-oldest">]>;
|
|
1879
|
+
}>>;
|
|
1862
1880
|
}>>;
|
|
1863
1881
|
}>>;
|
|
1864
1882
|
eventConsumers: Type.TOptional<Type.TRecord<"^.*$", Type.TObject<{
|