@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,10 +1,10 @@
|
|
|
1
1
|
// Generated from ./generated/contracts/manifests/trellis.auth@v1.json
|
|
2
|
-
import type { RpcHandlerFn } from "../../../index.js";
|
|
2
|
+
import type { RpcHandlerFn, TrellisEventMessage } from "../../../index.js";
|
|
3
3
|
import type { API } from "./api.js";
|
|
4
4
|
|
|
5
5
|
export const CONTRACT_ID = "trellis.auth@v1" as const;
|
|
6
6
|
export const CONTRACT_DIGEST =
|
|
7
|
-
"
|
|
7
|
+
"OehMFuEyTKjYpQHhyrijgsZZs1YlG2qkxd8bKffgydc" as const;
|
|
8
8
|
|
|
9
9
|
export type AuthCapabilitiesListInput = { limit: number; offset?: number };
|
|
10
10
|
export type AuthCapabilitiesListOutput = {
|
|
@@ -186,32 +186,27 @@ export type AuthDeploymentAuthorityAcceptMigrationOutput = {
|
|
|
186
186
|
deploymentId: string;
|
|
187
187
|
desiredState: {
|
|
188
188
|
capabilities: Array<string>;
|
|
189
|
-
needs:
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
189
|
+
needs: {
|
|
190
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
191
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
192
|
+
resources: Array<
|
|
193
|
+
{
|
|
194
|
+
alias: string;
|
|
195
|
+
definition?: {};
|
|
196
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
194
197
|
required: boolean;
|
|
195
|
-
surface: {
|
|
196
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
197
|
-
contractId: string;
|
|
198
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
199
|
-
name: string;
|
|
200
|
-
};
|
|
201
198
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
>;
|
|
200
|
+
surfaces: Array<
|
|
201
|
+
{
|
|
202
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
203
|
+
contractId: string;
|
|
204
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
205
|
+
name: string;
|
|
205
206
|
required: boolean;
|
|
206
|
-
resource: {
|
|
207
|
-
alias: string;
|
|
208
|
-
definition?: {};
|
|
209
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
210
|
-
required: boolean;
|
|
211
|
-
};
|
|
212
207
|
}
|
|
213
|
-
|
|
214
|
-
|
|
208
|
+
>;
|
|
209
|
+
};
|
|
215
210
|
resources: Array<
|
|
216
211
|
{
|
|
217
212
|
alias: string;
|
|
@@ -246,32 +241,27 @@ export type AuthDeploymentAuthorityAcceptUpdateOutput = {
|
|
|
246
241
|
deploymentId: string;
|
|
247
242
|
desiredState: {
|
|
248
243
|
capabilities: Array<string>;
|
|
249
|
-
needs:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
244
|
+
needs: {
|
|
245
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
246
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
247
|
+
resources: Array<
|
|
248
|
+
{
|
|
249
|
+
alias: string;
|
|
250
|
+
definition?: {};
|
|
251
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
254
252
|
required: boolean;
|
|
255
|
-
surface: {
|
|
256
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
257
|
-
contractId: string;
|
|
258
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
259
|
-
name: string;
|
|
260
|
-
};
|
|
261
253
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
254
|
+
>;
|
|
255
|
+
surfaces: Array<
|
|
256
|
+
{
|
|
257
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
258
|
+
contractId: string;
|
|
259
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
260
|
+
name: string;
|
|
265
261
|
required: boolean;
|
|
266
|
-
resource: {
|
|
267
|
-
alias: string;
|
|
268
|
-
definition?: {};
|
|
269
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
270
|
-
required: boolean;
|
|
271
|
-
};
|
|
272
262
|
}
|
|
273
|
-
|
|
274
|
-
|
|
263
|
+
>;
|
|
264
|
+
};
|
|
275
265
|
resources: Array<
|
|
276
266
|
{
|
|
277
267
|
alias: string;
|
|
@@ -303,32 +293,27 @@ export type AuthDeploymentAuthorityGetOutput = {
|
|
|
303
293
|
deploymentId: string;
|
|
304
294
|
desiredState: {
|
|
305
295
|
capabilities: Array<string>;
|
|
306
|
-
needs:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
296
|
+
needs: {
|
|
297
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
298
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
299
|
+
resources: Array<
|
|
300
|
+
{
|
|
301
|
+
alias: string;
|
|
302
|
+
definition?: {};
|
|
303
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
311
304
|
required: boolean;
|
|
312
|
-
surface: {
|
|
313
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
314
|
-
contractId: string;
|
|
315
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
316
|
-
name: string;
|
|
317
|
-
};
|
|
318
305
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
306
|
+
>;
|
|
307
|
+
surfaces: Array<
|
|
308
|
+
{
|
|
309
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
310
|
+
contractId: string;
|
|
311
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
312
|
+
name: string;
|
|
322
313
|
required: boolean;
|
|
323
|
-
resource: {
|
|
324
|
-
alias: string;
|
|
325
|
-
definition?: {};
|
|
326
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
327
|
-
required: boolean;
|
|
328
|
-
};
|
|
329
314
|
}
|
|
330
|
-
|
|
331
|
-
|
|
315
|
+
>;
|
|
316
|
+
};
|
|
332
317
|
resources: Array<
|
|
333
318
|
{
|
|
334
319
|
alias: string;
|
|
@@ -394,32 +379,36 @@ export type AuthDeploymentAuthorityGetOutput = {
|
|
|
394
379
|
deploymentId: string;
|
|
395
380
|
desiredVersion: string;
|
|
396
381
|
error?: string;
|
|
397
|
-
grants:
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
382
|
+
grants: {
|
|
383
|
+
capabilities: Array<{ capability: string }>;
|
|
384
|
+
nats: Array<
|
|
385
|
+
{
|
|
386
|
+
direction: "publish" | "subscribe";
|
|
387
|
+
grantSource:
|
|
388
|
+
| "owned-surface"
|
|
389
|
+
| "used-surface"
|
|
390
|
+
| "resource-binding"
|
|
391
|
+
| "platform-service"
|
|
392
|
+
| "transfer";
|
|
393
|
+
requiredCapabilities: Array<string>;
|
|
394
|
+
subject: string;
|
|
395
|
+
surface?: {
|
|
396
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
397
|
+
contractId: string;
|
|
398
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
399
|
+
name: string;
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
>;
|
|
403
|
+
surfaces: Array<
|
|
404
|
+
{
|
|
416
405
|
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
417
406
|
contractId: string;
|
|
418
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
419
407
|
name: string;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
408
|
+
surfaceKind: "rpc" | "operation" | "event" | "feed";
|
|
409
|
+
}
|
|
410
|
+
>;
|
|
411
|
+
};
|
|
423
412
|
reconciledAt: string | null;
|
|
424
413
|
resourceBindings: Array<
|
|
425
414
|
{
|
|
@@ -675,37 +664,27 @@ export type AuthDeploymentAuthorityListOutput = {
|
|
|
675
664
|
deploymentId: string;
|
|
676
665
|
desiredState: {
|
|
677
666
|
capabilities: Array<string>;
|
|
678
|
-
needs:
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
667
|
+
needs: {
|
|
668
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
669
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
670
|
+
resources: Array<
|
|
671
|
+
{
|
|
672
|
+
alias: string;
|
|
673
|
+
definition?: {};
|
|
674
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
683
675
|
required: boolean;
|
|
684
|
-
surface: {
|
|
685
|
-
action?:
|
|
686
|
-
| "call"
|
|
687
|
-
| "publish"
|
|
688
|
-
| "subscribe"
|
|
689
|
-
| "observe"
|
|
690
|
-
| "cancel";
|
|
691
|
-
contractId: string;
|
|
692
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
693
|
-
name: string;
|
|
694
|
-
};
|
|
695
676
|
}
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
677
|
+
>;
|
|
678
|
+
surfaces: Array<
|
|
679
|
+
{
|
|
680
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
681
|
+
contractId: string;
|
|
682
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
683
|
+
name: string;
|
|
699
684
|
required: boolean;
|
|
700
|
-
resource: {
|
|
701
|
-
alias: string;
|
|
702
|
-
definition?: {};
|
|
703
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
704
|
-
required: boolean;
|
|
705
|
-
};
|
|
706
685
|
}
|
|
707
|
-
|
|
708
|
-
|
|
686
|
+
>;
|
|
687
|
+
};
|
|
709
688
|
resources: Array<
|
|
710
689
|
{
|
|
711
690
|
alias: string;
|
|
@@ -765,32 +744,27 @@ export type AuthDeploymentAuthorityPlanOutput = {
|
|
|
765
744
|
name: string;
|
|
766
745
|
}
|
|
767
746
|
>;
|
|
768
|
-
requestedNeeds:
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
747
|
+
requestedNeeds: {
|
|
748
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
749
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
750
|
+
resources: Array<
|
|
751
|
+
{
|
|
752
|
+
alias: string;
|
|
753
|
+
definition?: {};
|
|
754
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
773
755
|
required: boolean;
|
|
774
|
-
surface: {
|
|
775
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
776
|
-
contractId: string;
|
|
777
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
778
|
-
name: string;
|
|
779
|
-
};
|
|
780
756
|
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
757
|
+
>;
|
|
758
|
+
surfaces: Array<
|
|
759
|
+
{
|
|
760
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
761
|
+
contractId: string;
|
|
762
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
763
|
+
name: string;
|
|
784
764
|
required: boolean;
|
|
785
|
-
resource: {
|
|
786
|
-
alias: string;
|
|
787
|
-
definition?: {};
|
|
788
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
789
|
-
required: boolean;
|
|
790
|
-
};
|
|
791
765
|
}
|
|
792
|
-
|
|
793
|
-
|
|
766
|
+
>;
|
|
767
|
+
};
|
|
794
768
|
summary?: {};
|
|
795
769
|
};
|
|
796
770
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -821,32 +795,27 @@ export type AuthDeploymentAuthorityPlanOutput = {
|
|
|
821
795
|
name: string;
|
|
822
796
|
}
|
|
823
797
|
>;
|
|
824
|
-
requestedNeeds:
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
798
|
+
requestedNeeds: {
|
|
799
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
800
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
801
|
+
resources: Array<
|
|
802
|
+
{
|
|
803
|
+
alias: string;
|
|
804
|
+
definition?: {};
|
|
805
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
829
806
|
required: boolean;
|
|
830
|
-
surface: {
|
|
831
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
832
|
-
contractId: string;
|
|
833
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
834
|
-
name: string;
|
|
835
|
-
};
|
|
836
807
|
}
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
808
|
+
>;
|
|
809
|
+
surfaces: Array<
|
|
810
|
+
{
|
|
811
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
812
|
+
contractId: string;
|
|
813
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
814
|
+
name: string;
|
|
840
815
|
required: boolean;
|
|
841
|
-
resource: {
|
|
842
|
-
alias: string;
|
|
843
|
-
definition?: {};
|
|
844
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
845
|
-
required: boolean;
|
|
846
|
-
};
|
|
847
816
|
}
|
|
848
|
-
|
|
849
|
-
|
|
817
|
+
>;
|
|
818
|
+
};
|
|
850
819
|
summary?: {};
|
|
851
820
|
};
|
|
852
821
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -881,32 +850,27 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
|
|
|
881
850
|
name: string;
|
|
882
851
|
}
|
|
883
852
|
>;
|
|
884
|
-
requestedNeeds:
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
853
|
+
requestedNeeds: {
|
|
854
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
855
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
856
|
+
resources: Array<
|
|
857
|
+
{
|
|
858
|
+
alias: string;
|
|
859
|
+
definition?: {};
|
|
860
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
889
861
|
required: boolean;
|
|
890
|
-
surface: {
|
|
891
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
892
|
-
contractId: string;
|
|
893
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
894
|
-
name: string;
|
|
895
|
-
};
|
|
896
862
|
}
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
863
|
+
>;
|
|
864
|
+
surfaces: Array<
|
|
865
|
+
{
|
|
866
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
867
|
+
contractId: string;
|
|
868
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
869
|
+
name: string;
|
|
900
870
|
required: boolean;
|
|
901
|
-
resource: {
|
|
902
|
-
alias: string;
|
|
903
|
-
definition?: {};
|
|
904
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
905
|
-
required: boolean;
|
|
906
|
-
};
|
|
907
871
|
}
|
|
908
|
-
|
|
909
|
-
|
|
872
|
+
>;
|
|
873
|
+
};
|
|
910
874
|
summary?: {};
|
|
911
875
|
};
|
|
912
876
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -937,32 +901,27 @@ export type AuthDeploymentAuthorityPlansGetOutput = {
|
|
|
937
901
|
name: string;
|
|
938
902
|
}
|
|
939
903
|
>;
|
|
940
|
-
requestedNeeds:
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
904
|
+
requestedNeeds: {
|
|
905
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
906
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
907
|
+
resources: Array<
|
|
908
|
+
{
|
|
909
|
+
alias: string;
|
|
910
|
+
definition?: {};
|
|
911
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
945
912
|
required: boolean;
|
|
946
|
-
surface: {
|
|
947
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
948
|
-
contractId: string;
|
|
949
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
950
|
-
name: string;
|
|
951
|
-
};
|
|
952
913
|
}
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
914
|
+
>;
|
|
915
|
+
surfaces: Array<
|
|
916
|
+
{
|
|
917
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
918
|
+
contractId: string;
|
|
919
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
920
|
+
name: string;
|
|
956
921
|
required: boolean;
|
|
957
|
-
resource: {
|
|
958
|
-
alias: string;
|
|
959
|
-
definition?: {};
|
|
960
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
961
|
-
required: boolean;
|
|
962
|
-
};
|
|
963
922
|
}
|
|
964
|
-
|
|
965
|
-
|
|
923
|
+
>;
|
|
924
|
+
};
|
|
966
925
|
summary?: {};
|
|
967
926
|
};
|
|
968
927
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -1006,37 +965,27 @@ export type AuthDeploymentAuthorityPlansListOutput = {
|
|
|
1006
965
|
name: string;
|
|
1007
966
|
}
|
|
1008
967
|
>;
|
|
1009
|
-
requestedNeeds:
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
968
|
+
requestedNeeds: {
|
|
969
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
970
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
971
|
+
resources: Array<
|
|
972
|
+
{
|
|
973
|
+
alias: string;
|
|
974
|
+
definition?: {};
|
|
975
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1014
976
|
required: boolean;
|
|
1015
|
-
surface: {
|
|
1016
|
-
action?:
|
|
1017
|
-
| "call"
|
|
1018
|
-
| "publish"
|
|
1019
|
-
| "subscribe"
|
|
1020
|
-
| "observe"
|
|
1021
|
-
| "cancel";
|
|
1022
|
-
contractId: string;
|
|
1023
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
1024
|
-
name: string;
|
|
1025
|
-
};
|
|
1026
977
|
}
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
978
|
+
>;
|
|
979
|
+
surfaces: Array<
|
|
980
|
+
{
|
|
981
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
982
|
+
contractId: string;
|
|
983
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
984
|
+
name: string;
|
|
1030
985
|
required: boolean;
|
|
1031
|
-
resource: {
|
|
1032
|
-
alias: string;
|
|
1033
|
-
definition?: {};
|
|
1034
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1035
|
-
required: boolean;
|
|
1036
|
-
};
|
|
1037
986
|
}
|
|
1038
|
-
|
|
1039
|
-
|
|
987
|
+
>;
|
|
988
|
+
};
|
|
1040
989
|
summary?: {};
|
|
1041
990
|
};
|
|
1042
991
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -1067,37 +1016,27 @@ export type AuthDeploymentAuthorityPlansListOutput = {
|
|
|
1067
1016
|
name: string;
|
|
1068
1017
|
}
|
|
1069
1018
|
>;
|
|
1070
|
-
requestedNeeds:
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1019
|
+
requestedNeeds: {
|
|
1020
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
1021
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
1022
|
+
resources: Array<
|
|
1023
|
+
{
|
|
1024
|
+
alias: string;
|
|
1025
|
+
definition?: {};
|
|
1026
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1075
1027
|
required: boolean;
|
|
1076
|
-
surface: {
|
|
1077
|
-
action?:
|
|
1078
|
-
| "call"
|
|
1079
|
-
| "publish"
|
|
1080
|
-
| "subscribe"
|
|
1081
|
-
| "observe"
|
|
1082
|
-
| "cancel";
|
|
1083
|
-
contractId: string;
|
|
1084
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
1085
|
-
name: string;
|
|
1086
|
-
};
|
|
1087
1028
|
}
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1029
|
+
>;
|
|
1030
|
+
surfaces: Array<
|
|
1031
|
+
{
|
|
1032
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1033
|
+
contractId: string;
|
|
1034
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
1035
|
+
name: string;
|
|
1091
1036
|
required: boolean;
|
|
1092
|
-
resource: {
|
|
1093
|
-
alias: string;
|
|
1094
|
-
definition?: {};
|
|
1095
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1096
|
-
required: boolean;
|
|
1097
|
-
};
|
|
1098
1037
|
}
|
|
1099
|
-
|
|
1100
|
-
|
|
1038
|
+
>;
|
|
1039
|
+
};
|
|
1101
1040
|
summary?: {};
|
|
1102
1041
|
};
|
|
1103
1042
|
state?: "pending" | "accepted" | "rejected" | "expired";
|
|
@@ -1119,32 +1058,27 @@ export type AuthDeploymentAuthorityReconcileOutput = {
|
|
|
1119
1058
|
deploymentId: string;
|
|
1120
1059
|
desiredState: {
|
|
1121
1060
|
capabilities: Array<string>;
|
|
1122
|
-
needs:
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1061
|
+
needs: {
|
|
1062
|
+
capabilities: Array<{ capability: string; required: boolean }>;
|
|
1063
|
+
contracts: Array<{ contractId: string; required: boolean }>;
|
|
1064
|
+
resources: Array<
|
|
1065
|
+
{
|
|
1066
|
+
alias: string;
|
|
1067
|
+
definition?: {};
|
|
1068
|
+
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1127
1069
|
required: boolean;
|
|
1128
|
-
surface: {
|
|
1129
|
-
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1130
|
-
contractId: string;
|
|
1131
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
1132
|
-
name: string;
|
|
1133
|
-
};
|
|
1134
1070
|
}
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1071
|
+
>;
|
|
1072
|
+
surfaces: Array<
|
|
1073
|
+
{
|
|
1074
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1075
|
+
contractId: string;
|
|
1076
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
1077
|
+
name: string;
|
|
1138
1078
|
required: boolean;
|
|
1139
|
-
resource: {
|
|
1140
|
-
alias: string;
|
|
1141
|
-
definition?: {};
|
|
1142
|
-
kind: "kv" | "store" | "jobs" | "event-consumer" | "transfer";
|
|
1143
|
-
required: boolean;
|
|
1144
|
-
};
|
|
1145
1079
|
}
|
|
1146
|
-
|
|
1147
|
-
|
|
1080
|
+
>;
|
|
1081
|
+
};
|
|
1148
1082
|
resources: Array<
|
|
1149
1083
|
{
|
|
1150
1084
|
alias: string;
|
|
@@ -1171,32 +1105,36 @@ export type AuthDeploymentAuthorityReconcileOutput = {
|
|
|
1171
1105
|
deploymentId: string;
|
|
1172
1106
|
desiredVersion: string;
|
|
1173
1107
|
error?: string;
|
|
1174
|
-
grants:
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1108
|
+
grants: {
|
|
1109
|
+
capabilities: Array<{ capability: string }>;
|
|
1110
|
+
nats: Array<
|
|
1111
|
+
{
|
|
1112
|
+
direction: "publish" | "subscribe";
|
|
1113
|
+
grantSource:
|
|
1114
|
+
| "owned-surface"
|
|
1115
|
+
| "used-surface"
|
|
1116
|
+
| "resource-binding"
|
|
1117
|
+
| "platform-service"
|
|
1118
|
+
| "transfer";
|
|
1119
|
+
requiredCapabilities: Array<string>;
|
|
1120
|
+
subject: string;
|
|
1121
|
+
surface?: {
|
|
1122
|
+
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1123
|
+
contractId: string;
|
|
1124
|
+
kind: "rpc" | "operation" | "event" | "feed";
|
|
1125
|
+
name: string;
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
>;
|
|
1129
|
+
surfaces: Array<
|
|
1130
|
+
{
|
|
1193
1131
|
action?: "call" | "publish" | "subscribe" | "observe" | "cancel";
|
|
1194
1132
|
contractId: string;
|
|
1195
|
-
kind: "rpc" | "operation" | "event" | "feed";
|
|
1196
1133
|
name: string;
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1134
|
+
surfaceKind: "rpc" | "operation" | "event" | "feed";
|
|
1135
|
+
}
|
|
1136
|
+
>;
|
|
1137
|
+
};
|
|
1200
1138
|
reconciledAt: string | null;
|
|
1201
1139
|
resourceBindings: Array<
|
|
1202
1140
|
{
|
|
@@ -1830,11 +1768,22 @@ export type AuthServiceInstancesDisableOutput = {
|
|
|
1830
1768
|
consumerName: string;
|
|
1831
1769
|
defaultDeadlineMs?: number;
|
|
1832
1770
|
dlq: boolean;
|
|
1771
|
+
keyConcurrency?: {
|
|
1772
|
+
heartbeatIntervalMs: number;
|
|
1773
|
+
heartbeatTtlMs: number;
|
|
1774
|
+
key: Array<string>;
|
|
1775
|
+
maxActive: number;
|
|
1776
|
+
stalePolicy: "fail-stale" | "block";
|
|
1777
|
+
};
|
|
1833
1778
|
logs: boolean;
|
|
1834
1779
|
maxDeliver: number;
|
|
1835
1780
|
payload: { schema: string };
|
|
1836
1781
|
progress: boolean;
|
|
1837
1782
|
publishPrefix: string;
|
|
1783
|
+
queue?: {
|
|
1784
|
+
maxQueuedPerKey: number;
|
|
1785
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
1786
|
+
};
|
|
1838
1787
|
queueType: string;
|
|
1839
1788
|
result?: { schema: string };
|
|
1840
1789
|
workSubject: string;
|
|
@@ -1895,11 +1844,22 @@ export type AuthServiceInstancesEnableOutput = {
|
|
|
1895
1844
|
consumerName: string;
|
|
1896
1845
|
defaultDeadlineMs?: number;
|
|
1897
1846
|
dlq: boolean;
|
|
1847
|
+
keyConcurrency?: {
|
|
1848
|
+
heartbeatIntervalMs: number;
|
|
1849
|
+
heartbeatTtlMs: number;
|
|
1850
|
+
key: Array<string>;
|
|
1851
|
+
maxActive: number;
|
|
1852
|
+
stalePolicy: "fail-stale" | "block";
|
|
1853
|
+
};
|
|
1898
1854
|
logs: boolean;
|
|
1899
1855
|
maxDeliver: number;
|
|
1900
1856
|
payload: { schema: string };
|
|
1901
1857
|
progress: boolean;
|
|
1902
1858
|
publishPrefix: string;
|
|
1859
|
+
queue?: {
|
|
1860
|
+
maxQueuedPerKey: number;
|
|
1861
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
1862
|
+
};
|
|
1903
1863
|
queueType: string;
|
|
1904
1864
|
result?: { schema: string };
|
|
1905
1865
|
workSubject: string;
|
|
@@ -1967,11 +1927,22 @@ export type AuthServiceInstancesListOutput = {
|
|
|
1967
1927
|
consumerName: string;
|
|
1968
1928
|
defaultDeadlineMs?: number;
|
|
1969
1929
|
dlq: boolean;
|
|
1930
|
+
keyConcurrency?: {
|
|
1931
|
+
heartbeatIntervalMs: number;
|
|
1932
|
+
heartbeatTtlMs: number;
|
|
1933
|
+
key: Array<string>;
|
|
1934
|
+
maxActive: number;
|
|
1935
|
+
stalePolicy: "fail-stale" | "block";
|
|
1936
|
+
};
|
|
1970
1937
|
logs: boolean;
|
|
1971
1938
|
maxDeliver: number;
|
|
1972
1939
|
payload: { schema: string };
|
|
1973
1940
|
progress: boolean;
|
|
1974
1941
|
publishPrefix: string;
|
|
1942
|
+
queue?: {
|
|
1943
|
+
maxQueuedPerKey: number;
|
|
1944
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
1945
|
+
};
|
|
1975
1946
|
queueType: string;
|
|
1976
1947
|
result?: { schema: string };
|
|
1977
1948
|
workSubject: string;
|
|
@@ -2039,11 +2010,22 @@ export type AuthServiceInstancesProvisionOutput = {
|
|
|
2039
2010
|
consumerName: string;
|
|
2040
2011
|
defaultDeadlineMs?: number;
|
|
2041
2012
|
dlq: boolean;
|
|
2013
|
+
keyConcurrency?: {
|
|
2014
|
+
heartbeatIntervalMs: number;
|
|
2015
|
+
heartbeatTtlMs: number;
|
|
2016
|
+
key: Array<string>;
|
|
2017
|
+
maxActive: number;
|
|
2018
|
+
stalePolicy: "fail-stale" | "block";
|
|
2019
|
+
};
|
|
2042
2020
|
logs: boolean;
|
|
2043
2021
|
maxDeliver: number;
|
|
2044
2022
|
payload: { schema: string };
|
|
2045
2023
|
progress: boolean;
|
|
2046
2024
|
publishPrefix: string;
|
|
2025
|
+
queue?: {
|
|
2026
|
+
maxQueuedPerKey: number;
|
|
2027
|
+
whenFull: "reject" | "coalesce" | "replace-oldest";
|
|
2028
|
+
};
|
|
2047
2029
|
queueType: string;
|
|
2048
2030
|
result?: { schema: string };
|
|
2049
2031
|
workSubject: string;
|
|
@@ -2347,16 +2329,34 @@ export type AuthDeviceUserAuthoritiesResolveOutput = {
|
|
|
2347
2329
|
} | { reason?: string; status: "rejected" };
|
|
2348
2330
|
|
|
2349
2331
|
export type AuthConnectionsClosedEvent = {
|
|
2350
|
-
|
|
2351
|
-
|
|
2332
|
+
id: string;
|
|
2333
|
+
origin: string;
|
|
2334
|
+
sessionKey: string;
|
|
2335
|
+
userNkey: string;
|
|
2336
|
+
};
|
|
2337
|
+
export type AuthConnectionsClosedEventMessage = TrellisEventMessage<
|
|
2338
|
+
AuthConnectionsClosedEvent
|
|
2339
|
+
>;
|
|
2352
2340
|
|
|
2353
2341
|
export type AuthConnectionsKickedEvent = {
|
|
2354
|
-
|
|
2355
|
-
|
|
2342
|
+
id: string;
|
|
2343
|
+
kickedBy: string;
|
|
2344
|
+
origin: string;
|
|
2345
|
+
userNkey: string;
|
|
2346
|
+
};
|
|
2347
|
+
export type AuthConnectionsKickedEventMessage = TrellisEventMessage<
|
|
2348
|
+
AuthConnectionsKickedEvent
|
|
2349
|
+
>;
|
|
2356
2350
|
|
|
2357
2351
|
export type AuthConnectionsOpenedEvent = {
|
|
2358
|
-
|
|
2359
|
-
|
|
2352
|
+
id: string;
|
|
2353
|
+
origin: string;
|
|
2354
|
+
sessionKey: string;
|
|
2355
|
+
userNkey: string;
|
|
2356
|
+
};
|
|
2357
|
+
export type AuthConnectionsOpenedEventMessage = TrellisEventMessage<
|
|
2358
|
+
AuthConnectionsOpenedEvent
|
|
2359
|
+
>;
|
|
2360
2360
|
|
|
2361
2361
|
export type AuthDeviceUserAuthoritiesApprovedEvent = {
|
|
2362
2362
|
approvedAt: string;
|
|
@@ -2377,6 +2377,9 @@ export type AuthDeviceUserAuthoritiesApprovedEvent = {
|
|
|
2377
2377
|
};
|
|
2378
2378
|
reviewId: string;
|
|
2379
2379
|
};
|
|
2380
|
+
export type AuthDeviceUserAuthoritiesApprovedEventMessage = TrellisEventMessage<
|
|
2381
|
+
AuthDeviceUserAuthoritiesApprovedEvent
|
|
2382
|
+
>;
|
|
2380
2383
|
|
|
2381
2384
|
export type AuthDeviceUserAuthoritiesRequestedEvent = {
|
|
2382
2385
|
deploymentId: string;
|
|
@@ -2390,6 +2393,8 @@ export type AuthDeviceUserAuthoritiesRequestedEvent = {
|
|
|
2390
2393
|
userId: string;
|
|
2391
2394
|
};
|
|
2392
2395
|
};
|
|
2396
|
+
export type AuthDeviceUserAuthoritiesRequestedEventMessage =
|
|
2397
|
+
TrellisEventMessage<AuthDeviceUserAuthoritiesRequestedEvent>;
|
|
2393
2398
|
|
|
2394
2399
|
export type AuthDeviceUserAuthoritiesResolvedEvent = {
|
|
2395
2400
|
deploymentId: string;
|
|
@@ -2404,6 +2409,9 @@ export type AuthDeviceUserAuthoritiesResolvedEvent = {
|
|
|
2404
2409
|
};
|
|
2405
2410
|
reviewId?: string;
|
|
2406
2411
|
};
|
|
2412
|
+
export type AuthDeviceUserAuthoritiesResolvedEventMessage = TrellisEventMessage<
|
|
2413
|
+
AuthDeviceUserAuthoritiesResolvedEvent
|
|
2414
|
+
>;
|
|
2407
2415
|
|
|
2408
2416
|
export type AuthDeviceUserAuthoritiesReviewRequestedEvent = {
|
|
2409
2417
|
deploymentId: string;
|
|
@@ -2418,10 +2426,18 @@ export type AuthDeviceUserAuthoritiesReviewRequestedEvent = {
|
|
|
2418
2426
|
};
|
|
2419
2427
|
reviewId: string;
|
|
2420
2428
|
};
|
|
2429
|
+
export type AuthDeviceUserAuthoritiesReviewRequestedEventMessage =
|
|
2430
|
+
TrellisEventMessage<AuthDeviceUserAuthoritiesReviewRequestedEvent>;
|
|
2421
2431
|
|
|
2422
|
-
export type AuthSessionsRevokedEvent =
|
|
2423
|
-
|
|
2424
|
-
|
|
2432
|
+
export type AuthSessionsRevokedEvent = {
|
|
2433
|
+
id: string;
|
|
2434
|
+
origin: string;
|
|
2435
|
+
revokedBy: string;
|
|
2436
|
+
sessionKey: string;
|
|
2437
|
+
};
|
|
2438
|
+
export type AuthSessionsRevokedEventMessage = TrellisEventMessage<
|
|
2439
|
+
AuthSessionsRevokedEvent
|
|
2440
|
+
>;
|
|
2425
2441
|
|
|
2426
2442
|
export interface RpcMap {
|
|
2427
2443
|
"Auth.Capabilities.List": {
|