@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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { RpcHandlerFn } from "@qlever-llc/trellis";
|
|
1
|
+
import type { RpcHandlerFn, TrellisEventMessage } from "@qlever-llc/trellis";
|
|
2
2
|
import type { API } from "./api.js";
|
|
3
3
|
export declare const CONTRACT_ID: "trellis.auth@v1";
|
|
4
|
-
export declare const CONTRACT_DIGEST: "
|
|
4
|
+
export declare const CONTRACT_DIGEST: "OehMFuEyTKjYpQHhyrijgsZZs1YlG2qkxd8bKffgydc";
|
|
5
5
|
export type AuthCapabilitiesListInput = {
|
|
6
6
|
limit: number;
|
|
7
7
|
offset?: number;
|
|
@@ -192,33 +192,29 @@ export type AuthDeploymentAuthorityAcceptMigrationOutput = {
|
|
|
192
192
|
deploymentId: string;
|
|
193
193
|
desiredState: {
|
|
194
194
|
capabilities: Array<string>;
|
|
195
|
-
needs:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
required: boolean;
|
|
202
|
-
surface: {
|
|
203
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
195
|
+
needs: {
|
|
196
|
+
capabilities: Array<{
|
|
197
|
+
capability: string;
|
|
198
|
+
required: boolean;
|
|
199
|
+
}>;
|
|
200
|
+
contracts: Array<{
|
|
204
201
|
contractId: string;
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
} | {
|
|
209
|
-
capability: string;
|
|
210
|
-
kind: "capability";
|
|
211
|
-
required: boolean;
|
|
212
|
-
} | {
|
|
213
|
-
kind: "resource";
|
|
214
|
-
required: boolean;
|
|
215
|
-
resource: {
|
|
202
|
+
required: boolean;
|
|
203
|
+
}>;
|
|
204
|
+
resources: Array<{
|
|
216
205
|
alias: string;
|
|
217
206
|
definition?: {};
|
|
218
207
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
219
208
|
required: boolean;
|
|
220
|
-
}
|
|
221
|
-
|
|
209
|
+
}>;
|
|
210
|
+
surfaces: Array<{
|
|
211
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
212
|
+
contractId: string;
|
|
213
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
214
|
+
name: string;
|
|
215
|
+
required: boolean;
|
|
216
|
+
}>;
|
|
217
|
+
};
|
|
222
218
|
resources: Array<{
|
|
223
219
|
alias: string;
|
|
224
220
|
definition?: {};
|
|
@@ -248,33 +244,29 @@ export type AuthDeploymentAuthorityAcceptUpdateOutput = {
|
|
|
248
244
|
deploymentId: string;
|
|
249
245
|
desiredState: {
|
|
250
246
|
capabilities: Array<string>;
|
|
251
|
-
needs:
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
required: boolean;
|
|
258
|
-
surface: {
|
|
259
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
247
|
+
needs: {
|
|
248
|
+
capabilities: Array<{
|
|
249
|
+
capability: string;
|
|
250
|
+
required: boolean;
|
|
251
|
+
}>;
|
|
252
|
+
contracts: Array<{
|
|
260
253
|
contractId: string;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
} | {
|
|
265
|
-
capability: string;
|
|
266
|
-
kind: "capability";
|
|
267
|
-
required: boolean;
|
|
268
|
-
} | {
|
|
269
|
-
kind: "resource";
|
|
270
|
-
required: boolean;
|
|
271
|
-
resource: {
|
|
254
|
+
required: boolean;
|
|
255
|
+
}>;
|
|
256
|
+
resources: Array<{
|
|
272
257
|
alias: string;
|
|
273
258
|
definition?: {};
|
|
274
259
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
275
260
|
required: boolean;
|
|
276
|
-
}
|
|
277
|
-
|
|
261
|
+
}>;
|
|
262
|
+
surfaces: Array<{
|
|
263
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
264
|
+
contractId: string;
|
|
265
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
266
|
+
name: string;
|
|
267
|
+
required: boolean;
|
|
268
|
+
}>;
|
|
269
|
+
};
|
|
278
270
|
resources: Array<{
|
|
279
271
|
alias: string;
|
|
280
272
|
definition?: {};
|
|
@@ -303,33 +295,29 @@ export type AuthDeploymentAuthorityGetOutput = {
|
|
|
303
295
|
deploymentId: string;
|
|
304
296
|
desiredState: {
|
|
305
297
|
capabilities: Array<string>;
|
|
306
|
-
needs:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
required: boolean;
|
|
313
|
-
surface: {
|
|
314
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
298
|
+
needs: {
|
|
299
|
+
capabilities: Array<{
|
|
300
|
+
capability: string;
|
|
301
|
+
required: boolean;
|
|
302
|
+
}>;
|
|
303
|
+
contracts: Array<{
|
|
315
304
|
contractId: string;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
} | {
|
|
320
|
-
capability: string;
|
|
321
|
-
kind: "capability";
|
|
322
|
-
required: boolean;
|
|
323
|
-
} | {
|
|
324
|
-
kind: "resource";
|
|
325
|
-
required: boolean;
|
|
326
|
-
resource: {
|
|
305
|
+
required: boolean;
|
|
306
|
+
}>;
|
|
307
|
+
resources: Array<{
|
|
327
308
|
alias: string;
|
|
328
309
|
definition?: {};
|
|
329
310
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
330
311
|
required: boolean;
|
|
331
|
-
}
|
|
332
|
-
|
|
312
|
+
}>;
|
|
313
|
+
surfaces: Array<{
|
|
314
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
315
|
+
contractId: string;
|
|
316
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
317
|
+
name: string;
|
|
318
|
+
required: boolean;
|
|
319
|
+
}>;
|
|
320
|
+
};
|
|
333
321
|
resources: Array<{
|
|
334
322
|
alias: string;
|
|
335
323
|
definition?: {};
|
|
@@ -389,28 +377,29 @@ export type AuthDeploymentAuthorityGetOutput = {
|
|
|
389
377
|
deploymentId: string;
|
|
390
378
|
desiredVersion: string;
|
|
391
379
|
error?: string;
|
|
392
|
-
grants:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
380
|
+
grants: {
|
|
381
|
+
capabilities: Array<{
|
|
382
|
+
capability: string;
|
|
383
|
+
}>;
|
|
384
|
+
nats: Array<{
|
|
385
|
+
direction: "publish" | "subscribe";
|
|
386
|
+
grantSource: "owned-surface" | "used-surface" | "resource-binding" | "platform-service" | "transfer";
|
|
387
|
+
requiredCapabilities: Array<string>;
|
|
388
|
+
subject: string;
|
|
389
|
+
surface?: {
|
|
390
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
391
|
+
contractId: string;
|
|
392
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
393
|
+
name: string;
|
|
394
|
+
};
|
|
395
|
+
}>;
|
|
396
|
+
surfaces: Array<{
|
|
408
397
|
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
409
398
|
contractId: string;
|
|
410
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
411
399
|
name: string;
|
|
412
|
-
|
|
413
|
-
|
|
400
|
+
surfaceKind: "rpc" | "operation" | "event" | "feed";
|
|
401
|
+
}>;
|
|
402
|
+
};
|
|
414
403
|
reconciledAt: string | null;
|
|
415
404
|
resourceBindings: Array<{
|
|
416
405
|
alias: string;
|
|
@@ -653,33 +642,29 @@ export type AuthDeploymentAuthorityListOutput = {
|
|
|
653
642
|
deploymentId: string;
|
|
654
643
|
desiredState: {
|
|
655
644
|
capabilities: Array<string>;
|
|
656
|
-
needs:
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
required: boolean;
|
|
663
|
-
surface: {
|
|
664
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
645
|
+
needs: {
|
|
646
|
+
capabilities: Array<{
|
|
647
|
+
capability: string;
|
|
648
|
+
required: boolean;
|
|
649
|
+
}>;
|
|
650
|
+
contracts: Array<{
|
|
665
651
|
contractId: string;
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
} | {
|
|
670
|
-
capability: string;
|
|
671
|
-
kind: "capability";
|
|
672
|
-
required: boolean;
|
|
673
|
-
} | {
|
|
674
|
-
kind: "resource";
|
|
675
|
-
required: boolean;
|
|
676
|
-
resource: {
|
|
652
|
+
required: boolean;
|
|
653
|
+
}>;
|
|
654
|
+
resources: Array<{
|
|
677
655
|
alias: string;
|
|
678
656
|
definition?: {};
|
|
679
657
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
680
658
|
required: boolean;
|
|
681
|
-
}
|
|
682
|
-
|
|
659
|
+
}>;
|
|
660
|
+
surfaces: Array<{
|
|
661
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
662
|
+
contractId: string;
|
|
663
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
664
|
+
name: string;
|
|
665
|
+
required: boolean;
|
|
666
|
+
}>;
|
|
667
|
+
};
|
|
683
668
|
resources: Array<{
|
|
684
669
|
alias: string;
|
|
685
670
|
definition?: {};
|
|
@@ -733,33 +718,29 @@ export type AuthDeploymentAuthorityPlanOutput = {
|
|
|
733
718
|
kind: "rpc" | "operation" | "event" | "feed";
|
|
734
719
|
name: string;
|
|
735
720
|
}>;
|
|
736
|
-
requestedNeeds:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
required: boolean;
|
|
743
|
-
surface: {
|
|
744
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
721
|
+
requestedNeeds: {
|
|
722
|
+
capabilities: Array<{
|
|
723
|
+
capability: string;
|
|
724
|
+
required: boolean;
|
|
725
|
+
}>;
|
|
726
|
+
contracts: Array<{
|
|
745
727
|
contractId: string;
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
} | {
|
|
750
|
-
capability: string;
|
|
751
|
-
kind: "capability";
|
|
752
|
-
required: boolean;
|
|
753
|
-
} | {
|
|
754
|
-
kind: "resource";
|
|
755
|
-
required: boolean;
|
|
756
|
-
resource: {
|
|
728
|
+
required: boolean;
|
|
729
|
+
}>;
|
|
730
|
+
resources: Array<{
|
|
757
731
|
alias: string;
|
|
758
732
|
definition?: {};
|
|
759
733
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
760
734
|
required: boolean;
|
|
761
|
-
}
|
|
762
|
-
|
|
735
|
+
}>;
|
|
736
|
+
surfaces: Array<{
|
|
737
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
738
|
+
contractId: string;
|
|
739
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
740
|
+
name: string;
|
|
741
|
+
required: boolean;
|
|
742
|
+
}>;
|
|
743
|
+
};
|
|
763
744
|
summary?: {};
|
|
764
745
|
};
|
|
765
746
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -790,33 +771,29 @@ export type AuthDeploymentAuthorityPlanOutput = {
|
|
|
790
771
|
kind: "rpc" | "operation" | "event" | "feed";
|
|
791
772
|
name: string;
|
|
792
773
|
}>;
|
|
793
|
-
requestedNeeds:
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
required: boolean;
|
|
800
|
-
surface: {
|
|
801
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
774
|
+
requestedNeeds: {
|
|
775
|
+
capabilities: Array<{
|
|
776
|
+
capability: string;
|
|
777
|
+
required: boolean;
|
|
778
|
+
}>;
|
|
779
|
+
contracts: Array<{
|
|
802
780
|
contractId: string;
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
} | {
|
|
807
|
-
capability: string;
|
|
808
|
-
kind: "capability";
|
|
809
|
-
required: boolean;
|
|
810
|
-
} | {
|
|
811
|
-
kind: "resource";
|
|
812
|
-
required: boolean;
|
|
813
|
-
resource: {
|
|
781
|
+
required: boolean;
|
|
782
|
+
}>;
|
|
783
|
+
resources: Array<{
|
|
814
784
|
alias: string;
|
|
815
785
|
definition?: {};
|
|
816
786
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
817
787
|
required: boolean;
|
|
818
|
-
}
|
|
819
|
-
|
|
788
|
+
}>;
|
|
789
|
+
surfaces: Array<{
|
|
790
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
791
|
+
contractId: string;
|
|
792
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
793
|
+
name: string;
|
|
794
|
+
required: boolean;
|
|
795
|
+
}>;
|
|
796
|
+
};
|
|
820
797
|
summary?: {};
|
|
821
798
|
};
|
|
822
799
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -852,33 +829,29 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
|
|
|
852
829
|
kind: "rpc" | "operation" | "event" | "feed";
|
|
853
830
|
name: string;
|
|
854
831
|
}>;
|
|
855
|
-
requestedNeeds:
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
required: boolean;
|
|
862
|
-
surface: {
|
|
863
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
832
|
+
requestedNeeds: {
|
|
833
|
+
capabilities: Array<{
|
|
834
|
+
capability: string;
|
|
835
|
+
required: boolean;
|
|
836
|
+
}>;
|
|
837
|
+
contracts: Array<{
|
|
864
838
|
contractId: string;
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
} | {
|
|
869
|
-
capability: string;
|
|
870
|
-
kind: "capability";
|
|
871
|
-
required: boolean;
|
|
872
|
-
} | {
|
|
873
|
-
kind: "resource";
|
|
874
|
-
required: boolean;
|
|
875
|
-
resource: {
|
|
839
|
+
required: boolean;
|
|
840
|
+
}>;
|
|
841
|
+
resources: Array<{
|
|
876
842
|
alias: string;
|
|
877
843
|
definition?: {};
|
|
878
844
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
879
845
|
required: boolean;
|
|
880
|
-
}
|
|
881
|
-
|
|
846
|
+
}>;
|
|
847
|
+
surfaces: Array<{
|
|
848
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
849
|
+
contractId: string;
|
|
850
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
851
|
+
name: string;
|
|
852
|
+
required: boolean;
|
|
853
|
+
}>;
|
|
854
|
+
};
|
|
882
855
|
summary?: {};
|
|
883
856
|
};
|
|
884
857
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -909,33 +882,29 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
|
|
|
909
882
|
kind: "rpc" | "operation" | "event" | "feed";
|
|
910
883
|
name: string;
|
|
911
884
|
}>;
|
|
912
|
-
requestedNeeds:
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
required: boolean;
|
|
919
|
-
surface: {
|
|
920
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
885
|
+
requestedNeeds: {
|
|
886
|
+
capabilities: Array<{
|
|
887
|
+
capability: string;
|
|
888
|
+
required: boolean;
|
|
889
|
+
}>;
|
|
890
|
+
contracts: Array<{
|
|
921
891
|
contractId: string;
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
} | {
|
|
926
|
-
capability: string;
|
|
927
|
-
kind: "capability";
|
|
928
|
-
required: boolean;
|
|
929
|
-
} | {
|
|
930
|
-
kind: "resource";
|
|
931
|
-
required: boolean;
|
|
932
|
-
resource: {
|
|
892
|
+
required: boolean;
|
|
893
|
+
}>;
|
|
894
|
+
resources: Array<{
|
|
933
895
|
alias: string;
|
|
934
896
|
definition?: {};
|
|
935
897
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
936
898
|
required: boolean;
|
|
937
|
-
}
|
|
938
|
-
|
|
899
|
+
}>;
|
|
900
|
+
surfaces: Array<{
|
|
901
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
902
|
+
contractId: string;
|
|
903
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
904
|
+
name: string;
|
|
905
|
+
required: boolean;
|
|
906
|
+
}>;
|
|
907
|
+
};
|
|
939
908
|
summary?: {};
|
|
940
909
|
};
|
|
941
910
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -977,33 +946,29 @@ export type AuthDeploymentAuthorityPlansListOutput = {
|
|
|
977
946
|
kind: "rpc" | "operation" | "event" | "feed";
|
|
978
947
|
name: string;
|
|
979
948
|
}>;
|
|
980
|
-
requestedNeeds:
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
required: boolean;
|
|
987
|
-
surface: {
|
|
988
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
949
|
+
requestedNeeds: {
|
|
950
|
+
capabilities: Array<{
|
|
951
|
+
capability: string;
|
|
952
|
+
required: boolean;
|
|
953
|
+
}>;
|
|
954
|
+
contracts: Array<{
|
|
989
955
|
contractId: string;
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
} | {
|
|
994
|
-
capability: string;
|
|
995
|
-
kind: "capability";
|
|
996
|
-
required: boolean;
|
|
997
|
-
} | {
|
|
998
|
-
kind: "resource";
|
|
999
|
-
required: boolean;
|
|
1000
|
-
resource: {
|
|
956
|
+
required: boolean;
|
|
957
|
+
}>;
|
|
958
|
+
resources: Array<{
|
|
1001
959
|
alias: string;
|
|
1002
960
|
definition?: {};
|
|
1003
961
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1004
962
|
required: boolean;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
963
|
+
}>;
|
|
964
|
+
surfaces: Array<{
|
|
965
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
966
|
+
contractId: string;
|
|
967
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
968
|
+
name: string;
|
|
969
|
+
required: boolean;
|
|
970
|
+
}>;
|
|
971
|
+
};
|
|
1007
972
|
summary?: {};
|
|
1008
973
|
};
|
|
1009
974
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -1034,33 +999,29 @@ export type AuthDeploymentAuthorityPlansListOutput = {
|
|
|
1034
999
|
kind: "rpc" | "operation" | "event" | "feed";
|
|
1035
1000
|
name: string;
|
|
1036
1001
|
}>;
|
|
1037
|
-
requestedNeeds:
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
required: boolean;
|
|
1044
|
-
surface: {
|
|
1045
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1002
|
+
requestedNeeds: {
|
|
1003
|
+
capabilities: Array<{
|
|
1004
|
+
capability: string;
|
|
1005
|
+
required: boolean;
|
|
1006
|
+
}>;
|
|
1007
|
+
contracts: Array<{
|
|
1046
1008
|
contractId: string;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
} | {
|
|
1051
|
-
capability: string;
|
|
1052
|
-
kind: "capability";
|
|
1053
|
-
required: boolean;
|
|
1054
|
-
} | {
|
|
1055
|
-
kind: "resource";
|
|
1056
|
-
required: boolean;
|
|
1057
|
-
resource: {
|
|
1009
|
+
required: boolean;
|
|
1010
|
+
}>;
|
|
1011
|
+
resources: Array<{
|
|
1058
1012
|
alias: string;
|
|
1059
1013
|
definition?: {};
|
|
1060
1014
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1061
1015
|
required: boolean;
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1016
|
+
}>;
|
|
1017
|
+
surfaces: Array<{
|
|
1018
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1019
|
+
contractId: string;
|
|
1020
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
1021
|
+
name: string;
|
|
1022
|
+
required: boolean;
|
|
1023
|
+
}>;
|
|
1024
|
+
};
|
|
1064
1025
|
summary?: {};
|
|
1065
1026
|
};
|
|
1066
1027
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -1080,33 +1041,29 @@ export type AuthDeploymentAuthorityReconcileOutput = {
|
|
|
1080
1041
|
deploymentId: string;
|
|
1081
1042
|
desiredState: {
|
|
1082
1043
|
capabilities: Array<string>;
|
|
1083
|
-
needs:
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
required: boolean;
|
|
1090
|
-
surface: {
|
|
1091
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1044
|
+
needs: {
|
|
1045
|
+
capabilities: Array<{
|
|
1046
|
+
capability: string;
|
|
1047
|
+
required: boolean;
|
|
1048
|
+
}>;
|
|
1049
|
+
contracts: Array<{
|
|
1092
1050
|
contractId: string;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
} | {
|
|
1097
|
-
capability: string;
|
|
1098
|
-
kind: "capability";
|
|
1099
|
-
required: boolean;
|
|
1100
|
-
} | {
|
|
1101
|
-
kind: "resource";
|
|
1102
|
-
required: boolean;
|
|
1103
|
-
resource: {
|
|
1051
|
+
required: boolean;
|
|
1052
|
+
}>;
|
|
1053
|
+
resources: Array<{
|
|
1104
1054
|
alias: string;
|
|
1105
1055
|
definition?: {};
|
|
1106
1056
|
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1107
1057
|
required: boolean;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1058
|
+
}>;
|
|
1059
|
+
surfaces: Array<{
|
|
1060
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1061
|
+
contractId: string;
|
|
1062
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
1063
|
+
name: string;
|
|
1064
|
+
required: boolean;
|
|
1065
|
+
}>;
|
|
1066
|
+
};
|
|
1110
1067
|
resources: Array<{
|
|
1111
1068
|
alias: string;
|
|
1112
1069
|
definition?: {};
|
|
@@ -1129,28 +1086,29 @@ export type AuthDeploymentAuthorityReconcileOutput = {
|
|
|
1129
1086
|
deploymentId: string;
|
|
1130
1087
|
desiredVersion: string;
|
|
1131
1088
|
error?: string;
|
|
1132
|
-
grants:
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1089
|
+
grants: {
|
|
1090
|
+
capabilities: Array<{
|
|
1091
|
+
capability: string;
|
|
1092
|
+
}>;
|
|
1093
|
+
nats: Array<{
|
|
1094
|
+
direction: "publish" | "subscribe";
|
|
1095
|
+
grantSource: "owned-surface" | "used-surface" | "resource-binding" | "platform-service" | "transfer";
|
|
1096
|
+
requiredCapabilities: Array<string>;
|
|
1097
|
+
subject: string;
|
|
1098
|
+
surface?: {
|
|
1099
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1100
|
+
contractId: string;
|
|
1101
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
1102
|
+
name: string;
|
|
1103
|
+
};
|
|
1104
|
+
}>;
|
|
1105
|
+
surfaces: Array<{
|
|
1148
1106
|
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1149
1107
|
contractId: string;
|
|
1150
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
1151
1108
|
name: string;
|
|
1152
|
-
|
|
1153
|
-
|
|
1109
|
+
surfaceKind: "rpc" | "operation" | "event" | "feed";
|
|
1110
|
+
}>;
|
|
1111
|
+
};
|
|
1154
1112
|
reconciledAt: string | null;
|
|
1155
1113
|
resourceBindings: Array<{
|
|
1156
1114
|
alias: string;
|
|
@@ -1850,6 +1808,13 @@ export type AuthServiceInstancesDisableOutput = {
|
|
|
1850
1808
|
consumerName: string;
|
|
1851
1809
|
defaultDeadlineMs?: number;
|
|
1852
1810
|
dlq: boolean;
|
|
1811
|
+
keyConcurrency?: {
|
|
1812
|
+
heartbeatIntervalMs: number;
|
|
1813
|
+
heartbeatTtlMs: number;
|
|
1814
|
+
key: Array<string>;
|
|
1815
|
+
maxActive: number;
|
|
1816
|
+
stalePolicy: "fail-stale" | "block";
|
|
1817
|
+
};
|
|
1853
1818
|
logs: boolean;
|
|
1854
1819
|
maxDeliver: number;
|
|
1855
1820
|
payload: {
|
|
@@ -1857,6 +1822,10 @@ export type AuthServiceInstancesDisableOutput = {
|
|
|
1857
1822
|
};
|
|
1858
1823
|
progress: boolean;
|
|
1859
1824
|
publishPrefix: string;
|
|
1825
|
+
queue?: {
|
|
1826
|
+
maxQueuedPerKey: number;
|
|
1827
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
1828
|
+
};
|
|
1860
1829
|
queueType: string;
|
|
1861
1830
|
result?: {
|
|
1862
1831
|
schema: string;
|
|
@@ -1920,6 +1889,13 @@ export type AuthServiceInstancesEnableOutput = {
|
|
|
1920
1889
|
consumerName: string;
|
|
1921
1890
|
defaultDeadlineMs?: number;
|
|
1922
1891
|
dlq: boolean;
|
|
1892
|
+
keyConcurrency?: {
|
|
1893
|
+
heartbeatIntervalMs: number;
|
|
1894
|
+
heartbeatTtlMs: number;
|
|
1895
|
+
key: Array<string>;
|
|
1896
|
+
maxActive: number;
|
|
1897
|
+
stalePolicy: "fail-stale" | "block";
|
|
1898
|
+
};
|
|
1923
1899
|
logs: boolean;
|
|
1924
1900
|
maxDeliver: number;
|
|
1925
1901
|
payload: {
|
|
@@ -1927,6 +1903,10 @@ export type AuthServiceInstancesEnableOutput = {
|
|
|
1927
1903
|
};
|
|
1928
1904
|
progress: boolean;
|
|
1929
1905
|
publishPrefix: string;
|
|
1906
|
+
queue?: {
|
|
1907
|
+
maxQueuedPerKey: number;
|
|
1908
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
1909
|
+
};
|
|
1930
1910
|
queueType: string;
|
|
1931
1911
|
result?: {
|
|
1932
1912
|
schema: string;
|
|
@@ -1994,6 +1974,13 @@ export type AuthServiceInstancesListOutput = {
|
|
|
1994
1974
|
consumerName: string;
|
|
1995
1975
|
defaultDeadlineMs?: number;
|
|
1996
1976
|
dlq: boolean;
|
|
1977
|
+
keyConcurrency?: {
|
|
1978
|
+
heartbeatIntervalMs: number;
|
|
1979
|
+
heartbeatTtlMs: number;
|
|
1980
|
+
key: Array<string>;
|
|
1981
|
+
maxActive: number;
|
|
1982
|
+
stalePolicy: "fail-stale" | "block";
|
|
1983
|
+
};
|
|
1997
1984
|
logs: boolean;
|
|
1998
1985
|
maxDeliver: number;
|
|
1999
1986
|
payload: {
|
|
@@ -2001,6 +1988,10 @@ export type AuthServiceInstancesListOutput = {
|
|
|
2001
1988
|
};
|
|
2002
1989
|
progress: boolean;
|
|
2003
1990
|
publishPrefix: string;
|
|
1991
|
+
queue?: {
|
|
1992
|
+
maxQueuedPerKey: number;
|
|
1993
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
1994
|
+
};
|
|
2004
1995
|
queueType: string;
|
|
2005
1996
|
result?: {
|
|
2006
1997
|
schema: string;
|
|
@@ -2068,6 +2059,13 @@ export type AuthServiceInstancesProvisionOutput = {
|
|
|
2068
2059
|
consumerName: string;
|
|
2069
2060
|
defaultDeadlineMs?: number;
|
|
2070
2061
|
dlq: boolean;
|
|
2062
|
+
keyConcurrency?: {
|
|
2063
|
+
heartbeatIntervalMs: number;
|
|
2064
|
+
heartbeatTtlMs: number;
|
|
2065
|
+
key: Array<string>;
|
|
2066
|
+
maxActive: number;
|
|
2067
|
+
stalePolicy: "fail-stale" | "block";
|
|
2068
|
+
};
|
|
2071
2069
|
logs: boolean;
|
|
2072
2070
|
maxDeliver: number;
|
|
2073
2071
|
payload: {
|
|
@@ -2075,6 +2073,10 @@ export type AuthServiceInstancesProvisionOutput = {
|
|
|
2075
2073
|
};
|
|
2076
2074
|
progress: boolean;
|
|
2077
2075
|
publishPrefix: string;
|
|
2076
|
+
queue?: {
|
|
2077
|
+
maxQueuedPerKey: number;
|
|
2078
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
2079
|
+
};
|
|
2078
2080
|
queueType: string;
|
|
2079
2081
|
result?: {
|
|
2080
2082
|
schema: string;
|
|
@@ -2392,38 +2394,26 @@ export type AuthDeviceUserAuthoritiesResolveOutput = {
|
|
|
2392
2394
|
status: "rejected";
|
|
2393
2395
|
};
|
|
2394
2396
|
export type AuthConnectionsClosedEvent = {
|
|
2395
|
-
header: {
|
|
2396
|
-
id: string;
|
|
2397
|
-
time: string;
|
|
2398
|
-
};
|
|
2399
|
-
} & {
|
|
2400
2397
|
id: string;
|
|
2401
2398
|
origin: string;
|
|
2402
2399
|
sessionKey: string;
|
|
2403
2400
|
userNkey: string;
|
|
2404
2401
|
};
|
|
2402
|
+
export type AuthConnectionsClosedEventMessage = TrellisEventMessage<AuthConnectionsClosedEvent>;
|
|
2405
2403
|
export type AuthConnectionsKickedEvent = {
|
|
2406
|
-
header: {
|
|
2407
|
-
id: string;
|
|
2408
|
-
time: string;
|
|
2409
|
-
};
|
|
2410
|
-
} & {
|
|
2411
2404
|
id: string;
|
|
2412
2405
|
kickedBy: string;
|
|
2413
2406
|
origin: string;
|
|
2414
2407
|
userNkey: string;
|
|
2415
2408
|
};
|
|
2409
|
+
export type AuthConnectionsKickedEventMessage = TrellisEventMessage<AuthConnectionsKickedEvent>;
|
|
2416
2410
|
export type AuthConnectionsOpenedEvent = {
|
|
2417
|
-
header: {
|
|
2418
|
-
id: string;
|
|
2419
|
-
time: string;
|
|
2420
|
-
};
|
|
2421
|
-
} & {
|
|
2422
2411
|
id: string;
|
|
2423
2412
|
origin: string;
|
|
2424
2413
|
sessionKey: string;
|
|
2425
2414
|
userNkey: string;
|
|
2426
2415
|
};
|
|
2416
|
+
export type AuthConnectionsOpenedEventMessage = TrellisEventMessage<AuthConnectionsOpenedEvent>;
|
|
2427
2417
|
export type AuthDeviceUserAuthoritiesApprovedEvent = {
|
|
2428
2418
|
approvedAt: string;
|
|
2429
2419
|
approvedBy: {
|
|
@@ -2451,6 +2441,7 @@ export type AuthDeviceUserAuthoritiesApprovedEvent = {
|
|
|
2451
2441
|
};
|
|
2452
2442
|
reviewId: string;
|
|
2453
2443
|
};
|
|
2444
|
+
export type AuthDeviceUserAuthoritiesApprovedEventMessage = TrellisEventMessage<AuthDeviceUserAuthoritiesApprovedEvent>;
|
|
2454
2445
|
export type AuthDeviceUserAuthoritiesRequestedEvent = {
|
|
2455
2446
|
deploymentId: string;
|
|
2456
2447
|
flowId: string;
|
|
@@ -2467,6 +2458,7 @@ export type AuthDeviceUserAuthoritiesRequestedEvent = {
|
|
|
2467
2458
|
userId: string;
|
|
2468
2459
|
};
|
|
2469
2460
|
};
|
|
2461
|
+
export type AuthDeviceUserAuthoritiesRequestedEventMessage = TrellisEventMessage<AuthDeviceUserAuthoritiesRequestedEvent>;
|
|
2470
2462
|
export type AuthDeviceUserAuthoritiesResolvedEvent = {
|
|
2471
2463
|
deploymentId: string;
|
|
2472
2464
|
flowId?: string;
|
|
@@ -2484,6 +2476,7 @@ export type AuthDeviceUserAuthoritiesResolvedEvent = {
|
|
|
2484
2476
|
};
|
|
2485
2477
|
reviewId?: string;
|
|
2486
2478
|
};
|
|
2479
|
+
export type AuthDeviceUserAuthoritiesResolvedEventMessage = TrellisEventMessage<AuthDeviceUserAuthoritiesResolvedEvent>;
|
|
2487
2480
|
export type AuthDeviceUserAuthoritiesReviewRequestedEvent = {
|
|
2488
2481
|
deploymentId: string;
|
|
2489
2482
|
flowId: string;
|
|
@@ -2501,17 +2494,14 @@ export type AuthDeviceUserAuthoritiesReviewRequestedEvent = {
|
|
|
2501
2494
|
};
|
|
2502
2495
|
reviewId: string;
|
|
2503
2496
|
};
|
|
2497
|
+
export type AuthDeviceUserAuthoritiesReviewRequestedEventMessage = TrellisEventMessage<AuthDeviceUserAuthoritiesReviewRequestedEvent>;
|
|
2504
2498
|
export type AuthSessionsRevokedEvent = {
|
|
2505
|
-
header: {
|
|
2506
|
-
id: string;
|
|
2507
|
-
time: string;
|
|
2508
|
-
};
|
|
2509
|
-
} & {
|
|
2510
2499
|
id: string;
|
|
2511
2500
|
origin: string;
|
|
2512
2501
|
revokedBy: string;
|
|
2513
2502
|
sessionKey: string;
|
|
2514
2503
|
};
|
|
2504
|
+
export type AuthSessionsRevokedEventMessage = TrellisEventMessage<AuthSessionsRevokedEvent>;
|
|
2515
2505
|
export interface RpcMap {
|
|
2516
2506
|
"Auth.Capabilities.List": {
|
|
2517
2507
|
input: AuthCapabilitiesListInput;
|