@qlever-llc/trellis 0.10.9 → 0.10.11
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/client.d.ts +2 -0
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +2 -0
- package/esm/client_connect.d.ts +3 -2
- package/esm/client_connect.d.ts.map +1 -1
- package/esm/client_connect.js +4 -1
- package/esm/generated-sdk/auth/api.d.ts.map +1 -1
- package/esm/generated-sdk/auth/client.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +9590 -7
- package/esm/generated-sdk/auth/mod.d.ts +3 -3
- package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
- package/esm/generated-sdk/auth/mod.js +1 -1
- package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/auth/owned_api.js +305 -62
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +6492 -139
- package/esm/generated-sdk/auth/types.d.ts +254 -254
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/health/api.d.ts.map +1 -1
- package/esm/generated-sdk/health/client.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.js +117 -7
- package/esm/generated-sdk/health/mod.d.ts +2 -2
- package/esm/generated-sdk/health/mod.d.ts.map +1 -1
- package/esm/generated-sdk/health/mod.js +1 -1
- package/esm/generated-sdk/health/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/health/schemas.js +79 -1
- package/esm/generated-sdk/health/types.d.ts +4 -4
- package/esm/generated-sdk/health/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/api.js +12 -4
- package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.js +1080 -7
- package/esm/generated-sdk/jobs/mod.d.ts +2 -2
- package/esm/generated-sdk/jobs/mod.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/mod.js +1 -1
- package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/owned_api.js +26 -6
- package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/schemas.js +768 -18
- package/esm/generated-sdk/jobs/types.d.ts +14 -14
- package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
- package/esm/generated-sdk/state/api.d.ts.map +1 -1
- package/esm/generated-sdk/state/api.js +3 -1
- package/esm/generated-sdk/state/client.d.ts.map +1 -1
- package/esm/generated-sdk/state/contract.d.ts.map +1 -1
- package/esm/generated-sdk/state/contract.js +638 -7
- package/esm/generated-sdk/state/mod.d.ts +2 -2
- package/esm/generated-sdk/state/mod.d.ts.map +1 -1
- package/esm/generated-sdk/state/mod.js +1 -1
- package/esm/generated-sdk/state/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/state/owned_api.js +36 -8
- package/esm/generated-sdk/state/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/state/schemas.js +441 -14
- package/esm/generated-sdk/state/types.d.ts +15 -15
- package/esm/generated-sdk/state/types.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.js +744 -7
- package/esm/generated-sdk/trellis-core/mod.d.ts +2 -2
- package/esm/generated-sdk/trellis-core/mod.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/mod.js +1 -1
- package/esm/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/owned_api.js +1 -1
- package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/schemas.js +626 -8
- package/esm/generated-sdk/trellis-core/types.d.ts +14 -14
- package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/esm/server/health.d.ts.map +1 -1
- package/esm/server/health.js +34 -3
- package/esm/server/service.d.ts +35 -13
- package/esm/server/service.d.ts.map +1 -1
- package/esm/server/service.js +33 -3
- package/esm/server.d.ts.map +1 -1
- package/esm/server.js +49 -8
- package/esm/service/deno.d.ts +1 -1
- package/esm/service/deno.d.ts.map +1 -1
- package/esm/service/mod.d.ts +1 -1
- package/esm/service/mod.d.ts.map +1 -1
- package/esm/service/node.d.ts +1 -1
- package/esm/service/node.d.ts.map +1 -1
- package/esm/trellis.d.ts +28 -4
- package/esm/trellis.d.ts.map +1 -1
- package/esm/trellis.js +117 -26
- package/package.json +2 -2
- package/script/client.d.ts +2 -0
- package/script/client.d.ts.map +1 -1
- package/script/client.js +2 -0
- package/script/client_connect.d.ts +3 -2
- package/script/client_connect.d.ts.map +1 -1
- package/script/client_connect.js +4 -1
- package/script/generated-sdk/auth/api.d.ts.map +1 -1
- package/script/generated-sdk/auth/client.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +9590 -7
- package/script/generated-sdk/auth/mod.d.ts +3 -3
- package/script/generated-sdk/auth/mod.d.ts.map +1 -1
- package/script/generated-sdk/auth/mod.js +2 -2
- package/script/generated-sdk/auth/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/auth/owned_api.js +304 -61
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +6492 -139
- package/script/generated-sdk/auth/types.d.ts +254 -254
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/health/api.d.ts.map +1 -1
- package/script/generated-sdk/health/client.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.js +117 -7
- package/script/generated-sdk/health/mod.d.ts +2 -2
- package/script/generated-sdk/health/mod.d.ts.map +1 -1
- package/script/generated-sdk/health/mod.js +2 -2
- package/script/generated-sdk/health/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/health/schemas.d.ts.map +1 -1
- package/script/generated-sdk/health/schemas.js +79 -1
- package/script/generated-sdk/health/types.d.ts +4 -4
- package/script/generated-sdk/health/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/api.js +12 -4
- package/script/generated-sdk/jobs/client.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.js +1080 -7
- package/script/generated-sdk/jobs/mod.d.ts +2 -2
- package/script/generated-sdk/jobs/mod.d.ts.map +1 -1
- package/script/generated-sdk/jobs/mod.js +2 -2
- package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/owned_api.js +25 -5
- package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/script/generated-sdk/jobs/schemas.js +768 -18
- package/script/generated-sdk/jobs/types.d.ts +14 -14
- package/script/generated-sdk/jobs/types.d.ts.map +1 -1
- package/script/generated-sdk/state/api.d.ts.map +1 -1
- package/script/generated-sdk/state/api.js +3 -1
- package/script/generated-sdk/state/client.d.ts.map +1 -1
- package/script/generated-sdk/state/contract.d.ts.map +1 -1
- package/script/generated-sdk/state/contract.js +638 -7
- package/script/generated-sdk/state/mod.d.ts +2 -2
- package/script/generated-sdk/state/mod.d.ts.map +1 -1
- package/script/generated-sdk/state/mod.js +2 -2
- package/script/generated-sdk/state/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/state/owned_api.js +35 -7
- package/script/generated-sdk/state/schemas.d.ts.map +1 -1
- package/script/generated-sdk/state/schemas.js +441 -14
- package/script/generated-sdk/state/types.d.ts +15 -15
- package/script/generated-sdk/state/types.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.js +744 -7
- package/script/generated-sdk/trellis-core/mod.d.ts +2 -2
- package/script/generated-sdk/trellis-core/mod.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/mod.js +2 -2
- package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/schemas.js +626 -8
- package/script/generated-sdk/trellis-core/types.d.ts +14 -14
- package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/script/server/health.d.ts.map +1 -1
- package/script/server/health.js +34 -3
- package/script/server/service.d.ts +35 -13
- package/script/server/service.d.ts.map +1 -1
- package/script/server/service.js +32 -2
- package/script/server.d.ts.map +1 -1
- package/script/server.js +48 -7
- package/script/service/deno.d.ts +1 -1
- package/script/service/deno.d.ts.map +1 -1
- package/script/service/mod.d.ts +1 -1
- package/script/service/mod.d.ts.map +1 -1
- package/script/service/node.d.ts +1 -1
- package/script/service/node.d.ts.map +1 -1
- package/script/trellis.d.ts +28 -4
- package/script/trellis.d.ts.map +1 -1
- package/script/trellis.js +118 -26
- package/src/client.ts +4 -0
- package/src/client_connect.ts +11 -9
- package/src/sdk/_generated/auth/api.ts +10 -21
- package/src/sdk/_generated/auth/client.ts +1178 -160
- package/src/sdk/_generated/auth/contract.ts +9637 -13
- package/src/sdk/_generated/auth/mod.ts +22 -3
- package/src/sdk/_generated/auth/owned_api.ts +897 -264
- package/src/sdk/_generated/auth/schemas.ts +6630 -278
- package/src/sdk/_generated/auth/types.ts +2950 -359
- package/src/sdk/_generated/core/api.ts +10 -21
- package/src/sdk/_generated/core/client.ts +105 -12
- package/src/sdk/_generated/core/contract.ts +774 -13
- package/src/sdk/_generated/core/mod.ts +17 -2
- package/src/sdk/_generated/core/owned_api.ts +40 -24
- package/src/sdk/_generated/core/schemas.ts +626 -9
- package/src/sdk/_generated/core/types.ts +233 -18
- package/src/sdk/_generated/health/api.ts +10 -21
- package/src/sdk/_generated/health/client.ts +104 -8
- package/src/sdk/_generated/health/contract.ts +144 -13
- package/src/sdk/_generated/health/mod.ts +17 -2
- package/src/sdk/_generated/health/owned_api.ts +4 -9
- package/src/sdk/_generated/health/schemas.ts +79 -2
- package/src/sdk/_generated/health/types.ts +31 -4
- package/src/sdk/_generated/jobs/api.ts +20 -18
- package/src/sdk/_generated/jobs/client.ts +199 -28
- package/src/sdk/_generated/jobs/contract.ts +1119 -13
- package/src/sdk/_generated/jobs/mod.ts +17 -2
- package/src/sdk/_generated/jobs/owned_api.ts +64 -27
- package/src/sdk/_generated/jobs/schemas.ts +776 -20
- package/src/sdk/_generated/jobs/types.ts +407 -34
- package/src/sdk/_generated/state/api.ts +11 -18
- package/src/sdk/_generated/state/client.ts +169 -22
- package/src/sdk/_generated/state/contract.ts +670 -13
- package/src/sdk/_generated/state/mod.ts +17 -2
- package/src/sdk/_generated/state/owned_api.ts +65 -25
- package/src/sdk/_generated/state/schemas.ts +441 -15
- package/src/sdk/_generated/state/types.ts +229 -26
- package/src/server/health.ts +41 -3
- package/src/server/service.ts +140 -18
- package/src/server.ts +62 -7
- package/src/service/deno.ts +4 -0
- package/src/service/mod.ts +4 -0
- package/src/service/node.ts +4 -0
- package/src/trellis.ts +167 -55
|
@@ -1,31 +1,117 @@
|
|
|
1
1
|
// Generated from ./generated/contracts/manifests/trellis.auth@v1.json
|
|
2
|
-
import type {
|
|
2
|
+
import type {
|
|
3
|
+
AcceptedOperation,
|
|
4
|
+
AsyncResult,
|
|
5
|
+
BaseError,
|
|
6
|
+
EventListenerContext,
|
|
7
|
+
EventOpts,
|
|
8
|
+
FeedSubscribeOpts,
|
|
9
|
+
FeedSubscription,
|
|
10
|
+
HandlerTrellis,
|
|
11
|
+
MapStateStoreClient,
|
|
12
|
+
MaybeAsync,
|
|
13
|
+
OperationInputBuilder,
|
|
14
|
+
OperationObserverCallbacks,
|
|
15
|
+
OperationRef,
|
|
16
|
+
OperationRefData,
|
|
17
|
+
OperationRuntimeHandle,
|
|
18
|
+
OperationTransferHandle,
|
|
19
|
+
PreparedTrellisEvent,
|
|
20
|
+
ReceiveTransferGrant,
|
|
21
|
+
ReceiveTransferHandle,
|
|
22
|
+
RequestOpts,
|
|
23
|
+
Result,
|
|
24
|
+
RpcHandlerContext,
|
|
25
|
+
SendTransferGrant,
|
|
26
|
+
SendTransferHandle,
|
|
27
|
+
TerminalOperation,
|
|
28
|
+
TransferCapableOperationInputBuilder,
|
|
29
|
+
TrellisConnection,
|
|
30
|
+
UnexpectedError,
|
|
31
|
+
ValidationError,
|
|
32
|
+
ValueStateStoreClient,
|
|
33
|
+
} from "../../../index.js";
|
|
3
34
|
import type { API, Api } from "./api.js";
|
|
4
35
|
import type * as Types from "./types.js";
|
|
5
36
|
|
|
6
37
|
type WithDeps<TDeps> = [TDeps] extends [undefined] ? {} : { deps: TDeps };
|
|
7
38
|
|
|
8
39
|
type EventCallback<TMessage> = {
|
|
9
|
-
bivarianceHack(
|
|
40
|
+
bivarianceHack(
|
|
41
|
+
message: TMessage,
|
|
42
|
+
context: EventListenerContext,
|
|
43
|
+
): MaybeAsync<void, BaseError>;
|
|
10
44
|
}["bivarianceHack"];
|
|
11
45
|
|
|
12
|
-
type ServiceEventHandler<TEvent, TDeps = undefined> = (
|
|
46
|
+
type ServiceEventHandler<TEvent, TDeps = undefined> = (
|
|
47
|
+
args:
|
|
48
|
+
& { event: TEvent; context: EventListenerContext; client: HandlerClient }
|
|
49
|
+
& WithDeps<TDeps>,
|
|
50
|
+
) => MaybeAsync<void, BaseError>;
|
|
13
51
|
|
|
14
|
-
type RpcHandler<TInput, TOutput, TDeps = undefined> = (
|
|
52
|
+
type RpcHandler<TInput, TOutput, TDeps = undefined> = (
|
|
53
|
+
args:
|
|
54
|
+
& { input: TInput; context: RpcHandlerContext; client: HandlerClient }
|
|
55
|
+
& WithDeps<TDeps>,
|
|
56
|
+
) => MaybeAsync<TOutput, BaseError>;
|
|
15
57
|
|
|
16
|
-
type FeedHandler<TInput, TEvent, TDeps = undefined> = (
|
|
58
|
+
type FeedHandler<TInput, TEvent, TDeps = undefined> = (
|
|
59
|
+
context: {
|
|
60
|
+
input: TInput;
|
|
61
|
+
caller: unknown;
|
|
62
|
+
signal: AbortSignal;
|
|
63
|
+
emit(event: TEvent): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
64
|
+
client: HandlerClient;
|
|
65
|
+
} & WithDeps<TDeps>,
|
|
66
|
+
) => unknown | Promise<unknown>;
|
|
17
67
|
|
|
18
|
-
type OperationHandler<
|
|
68
|
+
type OperationHandler<
|
|
69
|
+
TInput,
|
|
70
|
+
TProgress,
|
|
71
|
+
TOutput,
|
|
72
|
+
TTransfer,
|
|
73
|
+
TDeps = undefined,
|
|
74
|
+
> = (
|
|
75
|
+
context:
|
|
76
|
+
& {
|
|
77
|
+
input: TInput;
|
|
78
|
+
op: OperationRuntimeHandle<TProgress, TOutput>;
|
|
79
|
+
caller: unknown;
|
|
80
|
+
client: HandlerClient;
|
|
81
|
+
}
|
|
82
|
+
& TTransfer
|
|
83
|
+
& WithDeps<TDeps>,
|
|
84
|
+
) => unknown | Promise<unknown>;
|
|
19
85
|
|
|
20
86
|
export type TrellisAuthState = {};
|
|
21
87
|
|
|
22
|
-
type AuthDeviceUserAuthoritiesResolveOperationDesc =
|
|
23
|
-
|
|
24
|
-
export type
|
|
88
|
+
type AuthDeviceUserAuthoritiesResolveOperationDesc =
|
|
89
|
+
typeof API.owned.operations["Auth.DeviceUserAuthorities.Resolve"];
|
|
90
|
+
export type AuthDeviceUserAuthoritiesResolveOperationRef = OperationRef<
|
|
91
|
+
AuthDeviceUserAuthoritiesResolveOperationDesc,
|
|
92
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
93
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput
|
|
94
|
+
>;
|
|
95
|
+
export type AuthDeviceUserAuthoritiesResolveTerminal = TerminalOperation<
|
|
96
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
97
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput
|
|
98
|
+
>;
|
|
25
99
|
export interface AuthDeviceUserAuthoritiesResolveOperation {
|
|
26
100
|
resume(ref: OperationRefData): AuthDeviceUserAuthoritiesResolveOperationRef;
|
|
27
|
-
start(
|
|
28
|
-
|
|
101
|
+
start(
|
|
102
|
+
input: Types.AuthDeviceUserAuthoritiesResolveInput,
|
|
103
|
+
opts?: OperationObserverCallbacks<
|
|
104
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
105
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput
|
|
106
|
+
>,
|
|
107
|
+
): AsyncResult<AuthDeviceUserAuthoritiesResolveOperationRef, BaseError>;
|
|
108
|
+
input(
|
|
109
|
+
input: Types.AuthDeviceUserAuthoritiesResolveInput,
|
|
110
|
+
): OperationInputBuilder<
|
|
111
|
+
AuthDeviceUserAuthoritiesResolveOperationDesc,
|
|
112
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
113
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput
|
|
114
|
+
>;
|
|
29
115
|
}
|
|
30
116
|
|
|
31
117
|
export interface TrellisAuthClient {
|
|
@@ -39,84 +125,445 @@ export interface TrellisAuthClient {
|
|
|
39
125
|
transfer(grant: ReceiveTransferGrant): ReceiveTransferHandle;
|
|
40
126
|
readonly rpc: {
|
|
41
127
|
readonly auth: {
|
|
42
|
-
capabilitiesList(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
128
|
+
capabilitiesList(
|
|
129
|
+
input: Types.AuthCapabilitiesListInput,
|
|
130
|
+
opts?: RequestOpts,
|
|
131
|
+
): AsyncResult<Types.AuthCapabilitiesListOutput, BaseError>;
|
|
132
|
+
capabilityGroupsDelete(
|
|
133
|
+
input: Types.AuthCapabilityGroupsDeleteInput,
|
|
134
|
+
opts?: RequestOpts,
|
|
135
|
+
): AsyncResult<Types.AuthCapabilityGroupsDeleteOutput, BaseError>;
|
|
136
|
+
capabilityGroupsGet(
|
|
137
|
+
input: Types.AuthCapabilityGroupsGetInput,
|
|
138
|
+
opts?: RequestOpts,
|
|
139
|
+
): AsyncResult<Types.AuthCapabilityGroupsGetOutput, BaseError>;
|
|
140
|
+
capabilityGroupsList(
|
|
141
|
+
input: Types.AuthCapabilityGroupsListInput,
|
|
142
|
+
opts?: RequestOpts,
|
|
143
|
+
): AsyncResult<Types.AuthCapabilityGroupsListOutput, BaseError>;
|
|
144
|
+
capabilityGroupsPut(
|
|
145
|
+
input: Types.AuthCapabilityGroupsPutInput,
|
|
146
|
+
opts?: RequestOpts,
|
|
147
|
+
): AsyncResult<Types.AuthCapabilityGroupsPutOutput, BaseError>;
|
|
148
|
+
catalogIssuesResolve(
|
|
149
|
+
input: Types.AuthCatalogIssuesResolveInput,
|
|
150
|
+
opts?: RequestOpts,
|
|
151
|
+
): AsyncResult<Types.AuthCatalogIssuesResolveOutput, BaseError>;
|
|
152
|
+
connectionsKick(
|
|
153
|
+
input: Types.AuthConnectionsKickInput,
|
|
154
|
+
opts?: RequestOpts,
|
|
155
|
+
): AsyncResult<Types.AuthConnectionsKickOutput, BaseError>;
|
|
156
|
+
connectionsList(
|
|
157
|
+
input: Types.AuthConnectionsListInput,
|
|
158
|
+
opts?: RequestOpts,
|
|
159
|
+
): AsyncResult<Types.AuthConnectionsListOutput, BaseError>;
|
|
160
|
+
deploymentAuthorityAcceptMigration(
|
|
161
|
+
input: Types.AuthDeploymentAuthorityAcceptMigrationInput,
|
|
162
|
+
opts?: RequestOpts,
|
|
163
|
+
): AsyncResult<
|
|
164
|
+
Types.AuthDeploymentAuthorityAcceptMigrationOutput,
|
|
165
|
+
BaseError
|
|
166
|
+
>;
|
|
167
|
+
deploymentAuthorityAcceptUpdate(
|
|
168
|
+
input: Types.AuthDeploymentAuthorityAcceptUpdateInput,
|
|
169
|
+
opts?: RequestOpts,
|
|
170
|
+
): AsyncResult<
|
|
171
|
+
Types.AuthDeploymentAuthorityAcceptUpdateOutput,
|
|
172
|
+
BaseError
|
|
173
|
+
>;
|
|
174
|
+
deploymentAuthorityGet(
|
|
175
|
+
input: Types.AuthDeploymentAuthorityGetInput,
|
|
176
|
+
opts?: RequestOpts,
|
|
177
|
+
): AsyncResult<Types.AuthDeploymentAuthorityGetOutput, BaseError>;
|
|
178
|
+
deploymentAuthorityGrantOverridesList(
|
|
179
|
+
input: Types.AuthDeploymentAuthorityGrantOverridesListInput,
|
|
180
|
+
opts?: RequestOpts,
|
|
181
|
+
): AsyncResult<
|
|
182
|
+
Types.AuthDeploymentAuthorityGrantOverridesListOutput,
|
|
183
|
+
BaseError
|
|
184
|
+
>;
|
|
185
|
+
deploymentAuthorityGrantOverridesPut(
|
|
186
|
+
input: Types.AuthDeploymentAuthorityGrantOverridesPutInput,
|
|
187
|
+
opts?: RequestOpts,
|
|
188
|
+
): AsyncResult<
|
|
189
|
+
Types.AuthDeploymentAuthorityGrantOverridesPutOutput,
|
|
190
|
+
BaseError
|
|
191
|
+
>;
|
|
192
|
+
deploymentAuthorityGrantOverridesRemove(
|
|
193
|
+
input: Types.AuthDeploymentAuthorityGrantOverridesRemoveInput,
|
|
194
|
+
opts?: RequestOpts,
|
|
195
|
+
): AsyncResult<
|
|
196
|
+
Types.AuthDeploymentAuthorityGrantOverridesRemoveOutput,
|
|
197
|
+
BaseError
|
|
198
|
+
>;
|
|
199
|
+
deploymentAuthorityList(
|
|
200
|
+
input: Types.AuthDeploymentAuthorityListInput,
|
|
201
|
+
opts?: RequestOpts,
|
|
202
|
+
): AsyncResult<Types.AuthDeploymentAuthorityListOutput, BaseError>;
|
|
203
|
+
deploymentAuthorityPlan(
|
|
204
|
+
input: Types.AuthDeploymentAuthorityPlanInput,
|
|
205
|
+
opts?: RequestOpts,
|
|
206
|
+
): AsyncResult<Types.AuthDeploymentAuthorityPlanOutput, BaseError>;
|
|
207
|
+
deploymentAuthorityPlansGet(
|
|
208
|
+
input: Types.AuthDeploymentAuthorityPlansGetInput,
|
|
209
|
+
opts?: RequestOpts,
|
|
210
|
+
): AsyncResult<Types.AuthDeploymentAuthorityPlansGetOutput, BaseError>;
|
|
211
|
+
deploymentAuthorityPlansList(
|
|
212
|
+
input: Types.AuthDeploymentAuthorityPlansListInput,
|
|
213
|
+
opts?: RequestOpts,
|
|
214
|
+
): AsyncResult<Types.AuthDeploymentAuthorityPlansListOutput, BaseError>;
|
|
215
|
+
deploymentAuthorityReconcile(
|
|
216
|
+
input: Types.AuthDeploymentAuthorityReconcileInput,
|
|
217
|
+
opts?: RequestOpts,
|
|
218
|
+
): AsyncResult<Types.AuthDeploymentAuthorityReconcileOutput, BaseError>;
|
|
219
|
+
deploymentAuthorityReject(
|
|
220
|
+
input: Types.AuthDeploymentAuthorityRejectInput,
|
|
221
|
+
opts?: RequestOpts,
|
|
222
|
+
): AsyncResult<Types.AuthDeploymentAuthorityRejectOutput, BaseError>;
|
|
223
|
+
deploymentsCreate(
|
|
224
|
+
input: Types.AuthDeploymentsCreateInput,
|
|
225
|
+
opts?: RequestOpts,
|
|
226
|
+
): AsyncResult<Types.AuthDeploymentsCreateOutput, BaseError>;
|
|
227
|
+
deploymentsDisable(
|
|
228
|
+
input: Types.AuthDeploymentsDisableInput,
|
|
229
|
+
opts?: RequestOpts,
|
|
230
|
+
): AsyncResult<Types.AuthDeploymentsDisableOutput, BaseError>;
|
|
231
|
+
deploymentsEnable(
|
|
232
|
+
input: Types.AuthDeploymentsEnableInput,
|
|
233
|
+
opts?: RequestOpts,
|
|
234
|
+
): AsyncResult<Types.AuthDeploymentsEnableOutput, BaseError>;
|
|
235
|
+
deploymentsList(
|
|
236
|
+
input: Types.AuthDeploymentsListInput,
|
|
237
|
+
opts?: RequestOpts,
|
|
238
|
+
): AsyncResult<Types.AuthDeploymentsListOutput, BaseError>;
|
|
239
|
+
deploymentsRemove(
|
|
240
|
+
input: Types.AuthDeploymentsRemoveInput,
|
|
241
|
+
opts?: RequestOpts,
|
|
242
|
+
): AsyncResult<Types.AuthDeploymentsRemoveOutput, BaseError>;
|
|
243
|
+
deviceUserAuthoritiesList(
|
|
244
|
+
input: Types.AuthDeviceUserAuthoritiesListInput,
|
|
245
|
+
opts?: RequestOpts,
|
|
246
|
+
): AsyncResult<Types.AuthDeviceUserAuthoritiesListOutput, BaseError>;
|
|
247
|
+
deviceUserAuthoritiesReviewsDecide(
|
|
248
|
+
input: Types.AuthDeviceUserAuthoritiesReviewsDecideInput,
|
|
249
|
+
opts?: RequestOpts,
|
|
250
|
+
): AsyncResult<
|
|
251
|
+
Types.AuthDeviceUserAuthoritiesReviewsDecideOutput,
|
|
252
|
+
BaseError
|
|
253
|
+
>;
|
|
254
|
+
deviceUserAuthoritiesReviewsList(
|
|
255
|
+
input: Types.AuthDeviceUserAuthoritiesReviewsListInput,
|
|
256
|
+
opts?: RequestOpts,
|
|
257
|
+
): AsyncResult<
|
|
258
|
+
Types.AuthDeviceUserAuthoritiesReviewsListOutput,
|
|
259
|
+
BaseError
|
|
260
|
+
>;
|
|
261
|
+
deviceUserAuthoritiesRevoke(
|
|
262
|
+
input: Types.AuthDeviceUserAuthoritiesRevokeInput,
|
|
263
|
+
opts?: RequestOpts,
|
|
264
|
+
): AsyncResult<Types.AuthDeviceUserAuthoritiesRevokeOutput, BaseError>;
|
|
265
|
+
devicesConnectInfoGet(
|
|
266
|
+
input: Types.AuthDevicesConnectInfoGetInput,
|
|
267
|
+
opts?: RequestOpts,
|
|
268
|
+
): AsyncResult<Types.AuthDevicesConnectInfoGetOutput, BaseError>;
|
|
269
|
+
devicesDisable(
|
|
270
|
+
input: Types.AuthDevicesDisableInput,
|
|
271
|
+
opts?: RequestOpts,
|
|
272
|
+
): AsyncResult<Types.AuthDevicesDisableOutput, BaseError>;
|
|
273
|
+
devicesEnable(
|
|
274
|
+
input: Types.AuthDevicesEnableInput,
|
|
275
|
+
opts?: RequestOpts,
|
|
276
|
+
): AsyncResult<Types.AuthDevicesEnableOutput, BaseError>;
|
|
277
|
+
devicesList(
|
|
278
|
+
input: Types.AuthDevicesListInput,
|
|
279
|
+
opts?: RequestOpts,
|
|
280
|
+
): AsyncResult<Types.AuthDevicesListOutput, BaseError>;
|
|
281
|
+
devicesProvision(
|
|
282
|
+
input: Types.AuthDevicesProvisionInput,
|
|
283
|
+
opts?: RequestOpts,
|
|
284
|
+
): AsyncResult<Types.AuthDevicesProvisionOutput, BaseError>;
|
|
285
|
+
devicesRemove(
|
|
286
|
+
input: Types.AuthDevicesRemoveInput,
|
|
287
|
+
opts?: RequestOpts,
|
|
288
|
+
): AsyncResult<Types.AuthDevicesRemoveOutput, BaseError>;
|
|
289
|
+
health(
|
|
290
|
+
input: Types.AuthHealthInput,
|
|
291
|
+
opts?: RequestOpts,
|
|
292
|
+
): AsyncResult<Types.AuthHealthOutput, BaseError>;
|
|
293
|
+
identitiesList(
|
|
294
|
+
input: Types.AuthIdentitiesListInput,
|
|
295
|
+
opts?: RequestOpts,
|
|
296
|
+
): AsyncResult<Types.AuthIdentitiesListOutput, BaseError>;
|
|
297
|
+
identityGrantsList(
|
|
298
|
+
input: Types.AuthIdentityGrantsListInput,
|
|
299
|
+
opts?: RequestOpts,
|
|
300
|
+
): AsyncResult<Types.AuthIdentityGrantsListOutput, BaseError>;
|
|
301
|
+
identityGrantsRevoke(
|
|
302
|
+
input: Types.AuthIdentityGrantsRevokeInput,
|
|
303
|
+
opts?: RequestOpts,
|
|
304
|
+
): AsyncResult<Types.AuthIdentityGrantsRevokeOutput, BaseError>;
|
|
305
|
+
portalsGet(
|
|
306
|
+
input: Types.AuthPortalsGetInput,
|
|
307
|
+
opts?: RequestOpts,
|
|
308
|
+
): AsyncResult<Types.AuthPortalsGetOutput, BaseError>;
|
|
309
|
+
portalsList(
|
|
310
|
+
input: Types.AuthPortalsListInput,
|
|
311
|
+
opts?: RequestOpts,
|
|
312
|
+
): AsyncResult<Types.AuthPortalsListOutput, BaseError>;
|
|
313
|
+
portalsLoginSettingsGet(
|
|
314
|
+
input: Types.AuthPortalsLoginSettingsGetInput,
|
|
315
|
+
opts?: RequestOpts,
|
|
316
|
+
): AsyncResult<Types.AuthPortalsLoginSettingsGetOutput, BaseError>;
|
|
317
|
+
portalsLoginSettingsUpdate(
|
|
318
|
+
input: Types.AuthPortalsLoginSettingsUpdateInput,
|
|
319
|
+
opts?: RequestOpts,
|
|
320
|
+
): AsyncResult<Types.AuthPortalsLoginSettingsUpdateOutput, BaseError>;
|
|
321
|
+
portalsPut(
|
|
322
|
+
input: Types.AuthPortalsPutInput,
|
|
323
|
+
opts?: RequestOpts,
|
|
324
|
+
): AsyncResult<Types.AuthPortalsPutOutput, BaseError>;
|
|
325
|
+
portalsRemove(
|
|
326
|
+
input: Types.AuthPortalsRemoveInput,
|
|
327
|
+
opts?: RequestOpts,
|
|
328
|
+
): AsyncResult<Types.AuthPortalsRemoveOutput, BaseError>;
|
|
329
|
+
portalsRoutesPut(
|
|
330
|
+
input: Types.AuthPortalsRoutesPutInput,
|
|
331
|
+
opts?: RequestOpts,
|
|
332
|
+
): AsyncResult<Types.AuthPortalsRoutesPutOutput, BaseError>;
|
|
333
|
+
portalsRoutesRemove(
|
|
334
|
+
input: Types.AuthPortalsRoutesRemoveInput,
|
|
335
|
+
opts?: RequestOpts,
|
|
336
|
+
): AsyncResult<Types.AuthPortalsRoutesRemoveOutput, BaseError>;
|
|
337
|
+
requestsValidate(
|
|
338
|
+
input: Types.AuthRequestsValidateInput,
|
|
339
|
+
opts?: RequestOpts,
|
|
340
|
+
): AsyncResult<Types.AuthRequestsValidateOutput, BaseError>;
|
|
341
|
+
serviceInstancesDisable(
|
|
342
|
+
input: Types.AuthServiceInstancesDisableInput,
|
|
343
|
+
opts?: RequestOpts,
|
|
344
|
+
): AsyncResult<Types.AuthServiceInstancesDisableOutput, BaseError>;
|
|
345
|
+
serviceInstancesEnable(
|
|
346
|
+
input: Types.AuthServiceInstancesEnableInput,
|
|
347
|
+
opts?: RequestOpts,
|
|
348
|
+
): AsyncResult<Types.AuthServiceInstancesEnableOutput, BaseError>;
|
|
349
|
+
serviceInstancesList(
|
|
350
|
+
input: Types.AuthServiceInstancesListInput,
|
|
351
|
+
opts?: RequestOpts,
|
|
352
|
+
): AsyncResult<Types.AuthServiceInstancesListOutput, BaseError>;
|
|
353
|
+
serviceInstancesProvision(
|
|
354
|
+
input: Types.AuthServiceInstancesProvisionInput,
|
|
355
|
+
opts?: RequestOpts,
|
|
356
|
+
): AsyncResult<Types.AuthServiceInstancesProvisionOutput, BaseError>;
|
|
357
|
+
serviceInstancesRemove(
|
|
358
|
+
input: Types.AuthServiceInstancesRemoveInput,
|
|
359
|
+
opts?: RequestOpts,
|
|
360
|
+
): AsyncResult<Types.AuthServiceInstancesRemoveOutput, BaseError>;
|
|
361
|
+
sessionsList(
|
|
362
|
+
input: Types.AuthSessionsListInput,
|
|
363
|
+
opts?: RequestOpts,
|
|
364
|
+
): AsyncResult<Types.AuthSessionsListOutput, BaseError>;
|
|
365
|
+
sessionsLogout(
|
|
366
|
+
input: Types.AuthSessionsLogoutInput,
|
|
367
|
+
opts?: RequestOpts,
|
|
368
|
+
): AsyncResult<Types.AuthSessionsLogoutOutput, BaseError>;
|
|
369
|
+
sessionsMe(
|
|
370
|
+
input: Types.AuthSessionsMeInput,
|
|
371
|
+
opts?: RequestOpts,
|
|
372
|
+
): AsyncResult<Types.AuthSessionsMeOutput, BaseError>;
|
|
373
|
+
sessionsRevoke(
|
|
374
|
+
input: Types.AuthSessionsRevokeInput,
|
|
375
|
+
opts?: RequestOpts,
|
|
376
|
+
): AsyncResult<Types.AuthSessionsRevokeOutput, BaseError>;
|
|
377
|
+
userIdentitiesList(
|
|
378
|
+
input: Types.AuthUserIdentitiesListInput,
|
|
379
|
+
opts?: RequestOpts,
|
|
380
|
+
): AsyncResult<Types.AuthUserIdentitiesListOutput, BaseError>;
|
|
381
|
+
userIdentitiesUnlink(
|
|
382
|
+
input: Types.AuthUserIdentitiesUnlinkInput,
|
|
383
|
+
opts?: RequestOpts,
|
|
384
|
+
): AsyncResult<Types.AuthUserIdentitiesUnlinkOutput, BaseError>;
|
|
385
|
+
usersCreate(
|
|
386
|
+
input: Types.AuthUsersCreateInput,
|
|
387
|
+
opts?: RequestOpts,
|
|
388
|
+
): AsyncResult<Types.AuthUsersCreateOutput, BaseError>;
|
|
389
|
+
usersGet(
|
|
390
|
+
input: Types.AuthUsersGetInput,
|
|
391
|
+
opts?: RequestOpts,
|
|
392
|
+
): AsyncResult<Types.AuthUsersGetOutput, BaseError>;
|
|
393
|
+
usersIdentityLinkCreate(
|
|
394
|
+
input: Types.AuthUsersIdentityLinkCreateInput,
|
|
395
|
+
opts?: RequestOpts,
|
|
396
|
+
): AsyncResult<Types.AuthUsersIdentityLinkCreateOutput, BaseError>;
|
|
397
|
+
usersList(
|
|
398
|
+
input: Types.AuthUsersListInput,
|
|
399
|
+
opts?: RequestOpts,
|
|
400
|
+
): AsyncResult<Types.AuthUsersListOutput, BaseError>;
|
|
401
|
+
usersPasswordChange(
|
|
402
|
+
input: Types.AuthUsersPasswordChangeInput,
|
|
403
|
+
opts?: RequestOpts,
|
|
404
|
+
): AsyncResult<Types.AuthUsersPasswordChangeOutput, BaseError>;
|
|
405
|
+
usersPasswordResetCreate(
|
|
406
|
+
input: Types.AuthUsersPasswordResetCreateInput,
|
|
407
|
+
opts?: RequestOpts,
|
|
408
|
+
): AsyncResult<Types.AuthUsersPasswordResetCreateOutput, BaseError>;
|
|
409
|
+
usersUpdate(
|
|
410
|
+
input: Types.AuthUsersUpdateInput,
|
|
411
|
+
opts?: RequestOpts,
|
|
412
|
+
): AsyncResult<Types.AuthUsersUpdateOutput, BaseError>;
|
|
108
413
|
};
|
|
109
414
|
};
|
|
110
415
|
readonly event: {
|
|
111
416
|
readonly auth: {
|
|
112
|
-
connectionsClosed: {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
417
|
+
connectionsClosed: {
|
|
418
|
+
publish(
|
|
419
|
+
event: Omit<Types.AuthConnectionsClosedEvent, "header">,
|
|
420
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
421
|
+
prepare(
|
|
422
|
+
event: Omit<Types.AuthConnectionsClosedEvent, "header">,
|
|
423
|
+
): Result<
|
|
424
|
+
PreparedTrellisEvent<
|
|
425
|
+
Omit<Types.AuthConnectionsClosedEvent, "header">
|
|
426
|
+
>,
|
|
427
|
+
ValidationError | UnexpectedError
|
|
428
|
+
>;
|
|
429
|
+
listen(
|
|
430
|
+
handler: EventCallback<Types.AuthConnectionsClosedEvent>,
|
|
431
|
+
subjectData?: Record<string, unknown>,
|
|
432
|
+
opts?: EventOpts,
|
|
433
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
434
|
+
};
|
|
435
|
+
connectionsKicked: {
|
|
436
|
+
publish(
|
|
437
|
+
event: Omit<Types.AuthConnectionsKickedEvent, "header">,
|
|
438
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
439
|
+
prepare(
|
|
440
|
+
event: Omit<Types.AuthConnectionsKickedEvent, "header">,
|
|
441
|
+
): Result<
|
|
442
|
+
PreparedTrellisEvent<
|
|
443
|
+
Omit<Types.AuthConnectionsKickedEvent, "header">
|
|
444
|
+
>,
|
|
445
|
+
ValidationError | UnexpectedError
|
|
446
|
+
>;
|
|
447
|
+
listen(
|
|
448
|
+
handler: EventCallback<Types.AuthConnectionsKickedEvent>,
|
|
449
|
+
subjectData?: Record<string, unknown>,
|
|
450
|
+
opts?: EventOpts,
|
|
451
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
452
|
+
};
|
|
453
|
+
connectionsOpened: {
|
|
454
|
+
publish(
|
|
455
|
+
event: Omit<Types.AuthConnectionsOpenedEvent, "header">,
|
|
456
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
457
|
+
prepare(
|
|
458
|
+
event: Omit<Types.AuthConnectionsOpenedEvent, "header">,
|
|
459
|
+
): Result<
|
|
460
|
+
PreparedTrellisEvent<
|
|
461
|
+
Omit<Types.AuthConnectionsOpenedEvent, "header">
|
|
462
|
+
>,
|
|
463
|
+
ValidationError | UnexpectedError
|
|
464
|
+
>;
|
|
465
|
+
listen(
|
|
466
|
+
handler: EventCallback<Types.AuthConnectionsOpenedEvent>,
|
|
467
|
+
subjectData?: Record<string, unknown>,
|
|
468
|
+
opts?: EventOpts,
|
|
469
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
470
|
+
};
|
|
471
|
+
deviceUserAuthoritiesApproved: {
|
|
472
|
+
publish(
|
|
473
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesApprovedEvent, "header">,
|
|
474
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
475
|
+
prepare(
|
|
476
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesApprovedEvent, "header">,
|
|
477
|
+
): Result<
|
|
478
|
+
PreparedTrellisEvent<
|
|
479
|
+
Omit<Types.AuthDeviceUserAuthoritiesApprovedEvent, "header">
|
|
480
|
+
>,
|
|
481
|
+
ValidationError | UnexpectedError
|
|
482
|
+
>;
|
|
483
|
+
listen(
|
|
484
|
+
handler: EventCallback<Types.AuthDeviceUserAuthoritiesApprovedEvent>,
|
|
485
|
+
subjectData?: Record<string, unknown>,
|
|
486
|
+
opts?: EventOpts,
|
|
487
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
488
|
+
};
|
|
489
|
+
deviceUserAuthoritiesRequested: {
|
|
490
|
+
publish(
|
|
491
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesRequestedEvent, "header">,
|
|
492
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
493
|
+
prepare(
|
|
494
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesRequestedEvent, "header">,
|
|
495
|
+
): Result<
|
|
496
|
+
PreparedTrellisEvent<
|
|
497
|
+
Omit<Types.AuthDeviceUserAuthoritiesRequestedEvent, "header">
|
|
498
|
+
>,
|
|
499
|
+
ValidationError | UnexpectedError
|
|
500
|
+
>;
|
|
501
|
+
listen(
|
|
502
|
+
handler: EventCallback<Types.AuthDeviceUserAuthoritiesRequestedEvent>,
|
|
503
|
+
subjectData?: Record<string, unknown>,
|
|
504
|
+
opts?: EventOpts,
|
|
505
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
506
|
+
};
|
|
507
|
+
deviceUserAuthoritiesResolved: {
|
|
508
|
+
publish(
|
|
509
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesResolvedEvent, "header">,
|
|
510
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
511
|
+
prepare(
|
|
512
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesResolvedEvent, "header">,
|
|
513
|
+
): Result<
|
|
514
|
+
PreparedTrellisEvent<
|
|
515
|
+
Omit<Types.AuthDeviceUserAuthoritiesResolvedEvent, "header">
|
|
516
|
+
>,
|
|
517
|
+
ValidationError | UnexpectedError
|
|
518
|
+
>;
|
|
519
|
+
listen(
|
|
520
|
+
handler: EventCallback<Types.AuthDeviceUserAuthoritiesResolvedEvent>,
|
|
521
|
+
subjectData?: Record<string, unknown>,
|
|
522
|
+
opts?: EventOpts,
|
|
523
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
524
|
+
};
|
|
525
|
+
deviceUserAuthoritiesReviewRequested: {
|
|
526
|
+
publish(
|
|
527
|
+
event: Omit<
|
|
528
|
+
Types.AuthDeviceUserAuthoritiesReviewRequestedEvent,
|
|
529
|
+
"header"
|
|
530
|
+
>,
|
|
531
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
532
|
+
prepare(
|
|
533
|
+
event: Omit<
|
|
534
|
+
Types.AuthDeviceUserAuthoritiesReviewRequestedEvent,
|
|
535
|
+
"header"
|
|
536
|
+
>,
|
|
537
|
+
): Result<
|
|
538
|
+
PreparedTrellisEvent<
|
|
539
|
+
Omit<Types.AuthDeviceUserAuthoritiesReviewRequestedEvent, "header">
|
|
540
|
+
>,
|
|
541
|
+
ValidationError | UnexpectedError
|
|
542
|
+
>;
|
|
543
|
+
listen(
|
|
544
|
+
handler: EventCallback<
|
|
545
|
+
Types.AuthDeviceUserAuthoritiesReviewRequestedEvent
|
|
546
|
+
>,
|
|
547
|
+
subjectData?: Record<string, unknown>,
|
|
548
|
+
opts?: EventOpts,
|
|
549
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
550
|
+
};
|
|
551
|
+
sessionsRevoked: {
|
|
552
|
+
publish(
|
|
553
|
+
event: Omit<Types.AuthSessionsRevokedEvent, "header">,
|
|
554
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
555
|
+
prepare(
|
|
556
|
+
event: Omit<Types.AuthSessionsRevokedEvent, "header">,
|
|
557
|
+
): Result<
|
|
558
|
+
PreparedTrellisEvent<Omit<Types.AuthSessionsRevokedEvent, "header">>,
|
|
559
|
+
ValidationError | UnexpectedError
|
|
560
|
+
>;
|
|
561
|
+
listen(
|
|
562
|
+
handler: EventCallback<Types.AuthSessionsRevokedEvent>,
|
|
563
|
+
subjectData?: Record<string, unknown>,
|
|
564
|
+
opts?: EventOpts,
|
|
565
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
566
|
+
};
|
|
120
567
|
};
|
|
121
568
|
};
|
|
122
569
|
readonly feed: {};
|
|
@@ -141,92 +588,663 @@ export type ServiceWithDeps<TDeps> = Omit<TrellisAuthClient, "event"> & {
|
|
|
141
588
|
|
|
142
589
|
export interface ServiceEventSurface<TDeps> {
|
|
143
590
|
readonly auth: {
|
|
144
|
-
connectionsClosed: {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
591
|
+
connectionsClosed: {
|
|
592
|
+
publish(
|
|
593
|
+
event: Omit<Types.AuthConnectionsClosedEvent, "header">,
|
|
594
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
595
|
+
prepare(
|
|
596
|
+
event: Omit<Types.AuthConnectionsClosedEvent, "header">,
|
|
597
|
+
): Result<
|
|
598
|
+
PreparedTrellisEvent<Omit<Types.AuthConnectionsClosedEvent, "header">>,
|
|
599
|
+
ValidationError | UnexpectedError
|
|
600
|
+
>;
|
|
601
|
+
listen(
|
|
602
|
+
handler: ServiceEventHandler<Types.AuthConnectionsClosedEvent, TDeps>,
|
|
603
|
+
subjectData?: Record<string, unknown>,
|
|
604
|
+
opts?: EventOpts,
|
|
605
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
606
|
+
};
|
|
607
|
+
connectionsKicked: {
|
|
608
|
+
publish(
|
|
609
|
+
event: Omit<Types.AuthConnectionsKickedEvent, "header">,
|
|
610
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
611
|
+
prepare(
|
|
612
|
+
event: Omit<Types.AuthConnectionsKickedEvent, "header">,
|
|
613
|
+
): Result<
|
|
614
|
+
PreparedTrellisEvent<Omit<Types.AuthConnectionsKickedEvent, "header">>,
|
|
615
|
+
ValidationError | UnexpectedError
|
|
616
|
+
>;
|
|
617
|
+
listen(
|
|
618
|
+
handler: ServiceEventHandler<Types.AuthConnectionsKickedEvent, TDeps>,
|
|
619
|
+
subjectData?: Record<string, unknown>,
|
|
620
|
+
opts?: EventOpts,
|
|
621
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
622
|
+
};
|
|
623
|
+
connectionsOpened: {
|
|
624
|
+
publish(
|
|
625
|
+
event: Omit<Types.AuthConnectionsOpenedEvent, "header">,
|
|
626
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
627
|
+
prepare(
|
|
628
|
+
event: Omit<Types.AuthConnectionsOpenedEvent, "header">,
|
|
629
|
+
): Result<
|
|
630
|
+
PreparedTrellisEvent<Omit<Types.AuthConnectionsOpenedEvent, "header">>,
|
|
631
|
+
ValidationError | UnexpectedError
|
|
632
|
+
>;
|
|
633
|
+
listen(
|
|
634
|
+
handler: ServiceEventHandler<Types.AuthConnectionsOpenedEvent, TDeps>,
|
|
635
|
+
subjectData?: Record<string, unknown>,
|
|
636
|
+
opts?: EventOpts,
|
|
637
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
638
|
+
};
|
|
639
|
+
deviceUserAuthoritiesApproved: {
|
|
640
|
+
publish(
|
|
641
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesApprovedEvent, "header">,
|
|
642
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
643
|
+
prepare(
|
|
644
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesApprovedEvent, "header">,
|
|
645
|
+
): Result<
|
|
646
|
+
PreparedTrellisEvent<
|
|
647
|
+
Omit<Types.AuthDeviceUserAuthoritiesApprovedEvent, "header">
|
|
648
|
+
>,
|
|
649
|
+
ValidationError | UnexpectedError
|
|
650
|
+
>;
|
|
651
|
+
listen(
|
|
652
|
+
handler: ServiceEventHandler<
|
|
653
|
+
Types.AuthDeviceUserAuthoritiesApprovedEvent,
|
|
654
|
+
TDeps
|
|
655
|
+
>,
|
|
656
|
+
subjectData?: Record<string, unknown>,
|
|
657
|
+
opts?: EventOpts,
|
|
658
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
659
|
+
};
|
|
660
|
+
deviceUserAuthoritiesRequested: {
|
|
661
|
+
publish(
|
|
662
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesRequestedEvent, "header">,
|
|
663
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
664
|
+
prepare(
|
|
665
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesRequestedEvent, "header">,
|
|
666
|
+
): Result<
|
|
667
|
+
PreparedTrellisEvent<
|
|
668
|
+
Omit<Types.AuthDeviceUserAuthoritiesRequestedEvent, "header">
|
|
669
|
+
>,
|
|
670
|
+
ValidationError | UnexpectedError
|
|
671
|
+
>;
|
|
672
|
+
listen(
|
|
673
|
+
handler: ServiceEventHandler<
|
|
674
|
+
Types.AuthDeviceUserAuthoritiesRequestedEvent,
|
|
675
|
+
TDeps
|
|
676
|
+
>,
|
|
677
|
+
subjectData?: Record<string, unknown>,
|
|
678
|
+
opts?: EventOpts,
|
|
679
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
680
|
+
};
|
|
681
|
+
deviceUserAuthoritiesResolved: {
|
|
682
|
+
publish(
|
|
683
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesResolvedEvent, "header">,
|
|
684
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
685
|
+
prepare(
|
|
686
|
+
event: Omit<Types.AuthDeviceUserAuthoritiesResolvedEvent, "header">,
|
|
687
|
+
): Result<
|
|
688
|
+
PreparedTrellisEvent<
|
|
689
|
+
Omit<Types.AuthDeviceUserAuthoritiesResolvedEvent, "header">
|
|
690
|
+
>,
|
|
691
|
+
ValidationError | UnexpectedError
|
|
692
|
+
>;
|
|
693
|
+
listen(
|
|
694
|
+
handler: ServiceEventHandler<
|
|
695
|
+
Types.AuthDeviceUserAuthoritiesResolvedEvent,
|
|
696
|
+
TDeps
|
|
697
|
+
>,
|
|
698
|
+
subjectData?: Record<string, unknown>,
|
|
699
|
+
opts?: EventOpts,
|
|
700
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
701
|
+
};
|
|
702
|
+
deviceUserAuthoritiesReviewRequested: {
|
|
703
|
+
publish(
|
|
704
|
+
event: Omit<
|
|
705
|
+
Types.AuthDeviceUserAuthoritiesReviewRequestedEvent,
|
|
706
|
+
"header"
|
|
707
|
+
>,
|
|
708
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
709
|
+
prepare(
|
|
710
|
+
event: Omit<
|
|
711
|
+
Types.AuthDeviceUserAuthoritiesReviewRequestedEvent,
|
|
712
|
+
"header"
|
|
713
|
+
>,
|
|
714
|
+
): Result<
|
|
715
|
+
PreparedTrellisEvent<
|
|
716
|
+
Omit<Types.AuthDeviceUserAuthoritiesReviewRequestedEvent, "header">
|
|
717
|
+
>,
|
|
718
|
+
ValidationError | UnexpectedError
|
|
719
|
+
>;
|
|
720
|
+
listen(
|
|
721
|
+
handler: ServiceEventHandler<
|
|
722
|
+
Types.AuthDeviceUserAuthoritiesReviewRequestedEvent,
|
|
723
|
+
TDeps
|
|
724
|
+
>,
|
|
725
|
+
subjectData?: Record<string, unknown>,
|
|
726
|
+
opts?: EventOpts,
|
|
727
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
728
|
+
};
|
|
729
|
+
sessionsRevoked: {
|
|
730
|
+
publish(
|
|
731
|
+
event: Omit<Types.AuthSessionsRevokedEvent, "header">,
|
|
732
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
733
|
+
prepare(
|
|
734
|
+
event: Omit<Types.AuthSessionsRevokedEvent, "header">,
|
|
735
|
+
): Result<
|
|
736
|
+
PreparedTrellisEvent<Omit<Types.AuthSessionsRevokedEvent, "header">>,
|
|
737
|
+
ValidationError | UnexpectedError
|
|
738
|
+
>;
|
|
739
|
+
listen(
|
|
740
|
+
handler: ServiceEventHandler<Types.AuthSessionsRevokedEvent, TDeps>,
|
|
741
|
+
subjectData?: Record<string, unknown>,
|
|
742
|
+
opts?: EventOpts,
|
|
743
|
+
): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
744
|
+
};
|
|
152
745
|
};
|
|
153
746
|
}
|
|
154
747
|
|
|
155
748
|
export interface ServiceHandle<TDeps = undefined> {
|
|
156
749
|
readonly rpc: {
|
|
157
750
|
readonly auth: {
|
|
158
|
-
capabilitiesList(
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
751
|
+
capabilitiesList(
|
|
752
|
+
handler: RpcHandler<
|
|
753
|
+
Types.AuthCapabilitiesListInput,
|
|
754
|
+
Types.AuthCapabilitiesListOutput,
|
|
755
|
+
TDeps
|
|
756
|
+
>,
|
|
757
|
+
): Promise<void>;
|
|
758
|
+
capabilityGroupsDelete(
|
|
759
|
+
handler: RpcHandler<
|
|
760
|
+
Types.AuthCapabilityGroupsDeleteInput,
|
|
761
|
+
Types.AuthCapabilityGroupsDeleteOutput,
|
|
762
|
+
TDeps
|
|
763
|
+
>,
|
|
764
|
+
): Promise<void>;
|
|
765
|
+
capabilityGroupsGet(
|
|
766
|
+
handler: RpcHandler<
|
|
767
|
+
Types.AuthCapabilityGroupsGetInput,
|
|
768
|
+
Types.AuthCapabilityGroupsGetOutput,
|
|
769
|
+
TDeps
|
|
770
|
+
>,
|
|
771
|
+
): Promise<void>;
|
|
772
|
+
capabilityGroupsList(
|
|
773
|
+
handler: RpcHandler<
|
|
774
|
+
Types.AuthCapabilityGroupsListInput,
|
|
775
|
+
Types.AuthCapabilityGroupsListOutput,
|
|
776
|
+
TDeps
|
|
777
|
+
>,
|
|
778
|
+
): Promise<void>;
|
|
779
|
+
capabilityGroupsPut(
|
|
780
|
+
handler: RpcHandler<
|
|
781
|
+
Types.AuthCapabilityGroupsPutInput,
|
|
782
|
+
Types.AuthCapabilityGroupsPutOutput,
|
|
783
|
+
TDeps
|
|
784
|
+
>,
|
|
785
|
+
): Promise<void>;
|
|
786
|
+
catalogIssuesResolve(
|
|
787
|
+
handler: RpcHandler<
|
|
788
|
+
Types.AuthCatalogIssuesResolveInput,
|
|
789
|
+
Types.AuthCatalogIssuesResolveOutput,
|
|
790
|
+
TDeps
|
|
791
|
+
>,
|
|
792
|
+
): Promise<void>;
|
|
793
|
+
connectionsKick(
|
|
794
|
+
handler: RpcHandler<
|
|
795
|
+
Types.AuthConnectionsKickInput,
|
|
796
|
+
Types.AuthConnectionsKickOutput,
|
|
797
|
+
TDeps
|
|
798
|
+
>,
|
|
799
|
+
): Promise<void>;
|
|
800
|
+
connectionsList(
|
|
801
|
+
handler: RpcHandler<
|
|
802
|
+
Types.AuthConnectionsListInput,
|
|
803
|
+
Types.AuthConnectionsListOutput,
|
|
804
|
+
TDeps
|
|
805
|
+
>,
|
|
806
|
+
): Promise<void>;
|
|
807
|
+
deploymentAuthorityAcceptMigration(
|
|
808
|
+
handler: RpcHandler<
|
|
809
|
+
Types.AuthDeploymentAuthorityAcceptMigrationInput,
|
|
810
|
+
Types.AuthDeploymentAuthorityAcceptMigrationOutput,
|
|
811
|
+
TDeps
|
|
812
|
+
>,
|
|
813
|
+
): Promise<void>;
|
|
814
|
+
deploymentAuthorityAcceptUpdate(
|
|
815
|
+
handler: RpcHandler<
|
|
816
|
+
Types.AuthDeploymentAuthorityAcceptUpdateInput,
|
|
817
|
+
Types.AuthDeploymentAuthorityAcceptUpdateOutput,
|
|
818
|
+
TDeps
|
|
819
|
+
>,
|
|
820
|
+
): Promise<void>;
|
|
821
|
+
deploymentAuthorityGet(
|
|
822
|
+
handler: RpcHandler<
|
|
823
|
+
Types.AuthDeploymentAuthorityGetInput,
|
|
824
|
+
Types.AuthDeploymentAuthorityGetOutput,
|
|
825
|
+
TDeps
|
|
826
|
+
>,
|
|
827
|
+
): Promise<void>;
|
|
828
|
+
deploymentAuthorityGrantOverridesList(
|
|
829
|
+
handler: RpcHandler<
|
|
830
|
+
Types.AuthDeploymentAuthorityGrantOverridesListInput,
|
|
831
|
+
Types.AuthDeploymentAuthorityGrantOverridesListOutput,
|
|
832
|
+
TDeps
|
|
833
|
+
>,
|
|
834
|
+
): Promise<void>;
|
|
835
|
+
deploymentAuthorityGrantOverridesPut(
|
|
836
|
+
handler: RpcHandler<
|
|
837
|
+
Types.AuthDeploymentAuthorityGrantOverridesPutInput,
|
|
838
|
+
Types.AuthDeploymentAuthorityGrantOverridesPutOutput,
|
|
839
|
+
TDeps
|
|
840
|
+
>,
|
|
841
|
+
): Promise<void>;
|
|
842
|
+
deploymentAuthorityGrantOverridesRemove(
|
|
843
|
+
handler: RpcHandler<
|
|
844
|
+
Types.AuthDeploymentAuthorityGrantOverridesRemoveInput,
|
|
845
|
+
Types.AuthDeploymentAuthorityGrantOverridesRemoveOutput,
|
|
846
|
+
TDeps
|
|
847
|
+
>,
|
|
848
|
+
): Promise<void>;
|
|
849
|
+
deploymentAuthorityList(
|
|
850
|
+
handler: RpcHandler<
|
|
851
|
+
Types.AuthDeploymentAuthorityListInput,
|
|
852
|
+
Types.AuthDeploymentAuthorityListOutput,
|
|
853
|
+
TDeps
|
|
854
|
+
>,
|
|
855
|
+
): Promise<void>;
|
|
856
|
+
deploymentAuthorityPlan(
|
|
857
|
+
handler: RpcHandler<
|
|
858
|
+
Types.AuthDeploymentAuthorityPlanInput,
|
|
859
|
+
Types.AuthDeploymentAuthorityPlanOutput,
|
|
860
|
+
TDeps
|
|
861
|
+
>,
|
|
862
|
+
): Promise<void>;
|
|
863
|
+
deploymentAuthorityPlansGet(
|
|
864
|
+
handler: RpcHandler<
|
|
865
|
+
Types.AuthDeploymentAuthorityPlansGetInput,
|
|
866
|
+
Types.AuthDeploymentAuthorityPlansGetOutput,
|
|
867
|
+
TDeps
|
|
868
|
+
>,
|
|
869
|
+
): Promise<void>;
|
|
870
|
+
deploymentAuthorityPlansList(
|
|
871
|
+
handler: RpcHandler<
|
|
872
|
+
Types.AuthDeploymentAuthorityPlansListInput,
|
|
873
|
+
Types.AuthDeploymentAuthorityPlansListOutput,
|
|
874
|
+
TDeps
|
|
875
|
+
>,
|
|
876
|
+
): Promise<void>;
|
|
877
|
+
deploymentAuthorityReconcile(
|
|
878
|
+
handler: RpcHandler<
|
|
879
|
+
Types.AuthDeploymentAuthorityReconcileInput,
|
|
880
|
+
Types.AuthDeploymentAuthorityReconcileOutput,
|
|
881
|
+
TDeps
|
|
882
|
+
>,
|
|
883
|
+
): Promise<void>;
|
|
884
|
+
deploymentAuthorityReject(
|
|
885
|
+
handler: RpcHandler<
|
|
886
|
+
Types.AuthDeploymentAuthorityRejectInput,
|
|
887
|
+
Types.AuthDeploymentAuthorityRejectOutput,
|
|
888
|
+
TDeps
|
|
889
|
+
>,
|
|
890
|
+
): Promise<void>;
|
|
891
|
+
deploymentsCreate(
|
|
892
|
+
handler: RpcHandler<
|
|
893
|
+
Types.AuthDeploymentsCreateInput,
|
|
894
|
+
Types.AuthDeploymentsCreateOutput,
|
|
895
|
+
TDeps
|
|
896
|
+
>,
|
|
897
|
+
): Promise<void>;
|
|
898
|
+
deploymentsDisable(
|
|
899
|
+
handler: RpcHandler<
|
|
900
|
+
Types.AuthDeploymentsDisableInput,
|
|
901
|
+
Types.AuthDeploymentsDisableOutput,
|
|
902
|
+
TDeps
|
|
903
|
+
>,
|
|
904
|
+
): Promise<void>;
|
|
905
|
+
deploymentsEnable(
|
|
906
|
+
handler: RpcHandler<
|
|
907
|
+
Types.AuthDeploymentsEnableInput,
|
|
908
|
+
Types.AuthDeploymentsEnableOutput,
|
|
909
|
+
TDeps
|
|
910
|
+
>,
|
|
911
|
+
): Promise<void>;
|
|
912
|
+
deploymentsList(
|
|
913
|
+
handler: RpcHandler<
|
|
914
|
+
Types.AuthDeploymentsListInput,
|
|
915
|
+
Types.AuthDeploymentsListOutput,
|
|
916
|
+
TDeps
|
|
917
|
+
>,
|
|
918
|
+
): Promise<void>;
|
|
919
|
+
deploymentsRemove(
|
|
920
|
+
handler: RpcHandler<
|
|
921
|
+
Types.AuthDeploymentsRemoveInput,
|
|
922
|
+
Types.AuthDeploymentsRemoveOutput,
|
|
923
|
+
TDeps
|
|
924
|
+
>,
|
|
925
|
+
): Promise<void>;
|
|
926
|
+
deviceUserAuthoritiesList(
|
|
927
|
+
handler: RpcHandler<
|
|
928
|
+
Types.AuthDeviceUserAuthoritiesListInput,
|
|
929
|
+
Types.AuthDeviceUserAuthoritiesListOutput,
|
|
930
|
+
TDeps
|
|
931
|
+
>,
|
|
932
|
+
): Promise<void>;
|
|
933
|
+
deviceUserAuthoritiesReviewsDecide(
|
|
934
|
+
handler: RpcHandler<
|
|
935
|
+
Types.AuthDeviceUserAuthoritiesReviewsDecideInput,
|
|
936
|
+
Types.AuthDeviceUserAuthoritiesReviewsDecideOutput,
|
|
937
|
+
TDeps
|
|
938
|
+
>,
|
|
939
|
+
): Promise<void>;
|
|
940
|
+
deviceUserAuthoritiesReviewsList(
|
|
941
|
+
handler: RpcHandler<
|
|
942
|
+
Types.AuthDeviceUserAuthoritiesReviewsListInput,
|
|
943
|
+
Types.AuthDeviceUserAuthoritiesReviewsListOutput,
|
|
944
|
+
TDeps
|
|
945
|
+
>,
|
|
946
|
+
): Promise<void>;
|
|
947
|
+
deviceUserAuthoritiesRevoke(
|
|
948
|
+
handler: RpcHandler<
|
|
949
|
+
Types.AuthDeviceUserAuthoritiesRevokeInput,
|
|
950
|
+
Types.AuthDeviceUserAuthoritiesRevokeOutput,
|
|
951
|
+
TDeps
|
|
952
|
+
>,
|
|
953
|
+
): Promise<void>;
|
|
954
|
+
devicesConnectInfoGet(
|
|
955
|
+
handler: RpcHandler<
|
|
956
|
+
Types.AuthDevicesConnectInfoGetInput,
|
|
957
|
+
Types.AuthDevicesConnectInfoGetOutput,
|
|
958
|
+
TDeps
|
|
959
|
+
>,
|
|
960
|
+
): Promise<void>;
|
|
961
|
+
devicesDisable(
|
|
962
|
+
handler: RpcHandler<
|
|
963
|
+
Types.AuthDevicesDisableInput,
|
|
964
|
+
Types.AuthDevicesDisableOutput,
|
|
965
|
+
TDeps
|
|
966
|
+
>,
|
|
967
|
+
): Promise<void>;
|
|
968
|
+
devicesEnable(
|
|
969
|
+
handler: RpcHandler<
|
|
970
|
+
Types.AuthDevicesEnableInput,
|
|
971
|
+
Types.AuthDevicesEnableOutput,
|
|
972
|
+
TDeps
|
|
973
|
+
>,
|
|
974
|
+
): Promise<void>;
|
|
975
|
+
devicesList(
|
|
976
|
+
handler: RpcHandler<
|
|
977
|
+
Types.AuthDevicesListInput,
|
|
978
|
+
Types.AuthDevicesListOutput,
|
|
979
|
+
TDeps
|
|
980
|
+
>,
|
|
981
|
+
): Promise<void>;
|
|
982
|
+
devicesProvision(
|
|
983
|
+
handler: RpcHandler<
|
|
984
|
+
Types.AuthDevicesProvisionInput,
|
|
985
|
+
Types.AuthDevicesProvisionOutput,
|
|
986
|
+
TDeps
|
|
987
|
+
>,
|
|
988
|
+
): Promise<void>;
|
|
989
|
+
devicesRemove(
|
|
990
|
+
handler: RpcHandler<
|
|
991
|
+
Types.AuthDevicesRemoveInput,
|
|
992
|
+
Types.AuthDevicesRemoveOutput,
|
|
993
|
+
TDeps
|
|
994
|
+
>,
|
|
995
|
+
): Promise<void>;
|
|
996
|
+
health(
|
|
997
|
+
handler: RpcHandler<
|
|
998
|
+
Types.AuthHealthInput,
|
|
999
|
+
Types.AuthHealthOutput,
|
|
1000
|
+
TDeps
|
|
1001
|
+
>,
|
|
1002
|
+
): Promise<void>;
|
|
1003
|
+
identitiesList(
|
|
1004
|
+
handler: RpcHandler<
|
|
1005
|
+
Types.AuthIdentitiesListInput,
|
|
1006
|
+
Types.AuthIdentitiesListOutput,
|
|
1007
|
+
TDeps
|
|
1008
|
+
>,
|
|
1009
|
+
): Promise<void>;
|
|
1010
|
+
identityGrantsList(
|
|
1011
|
+
handler: RpcHandler<
|
|
1012
|
+
Types.AuthIdentityGrantsListInput,
|
|
1013
|
+
Types.AuthIdentityGrantsListOutput,
|
|
1014
|
+
TDeps
|
|
1015
|
+
>,
|
|
1016
|
+
): Promise<void>;
|
|
1017
|
+
identityGrantsRevoke(
|
|
1018
|
+
handler: RpcHandler<
|
|
1019
|
+
Types.AuthIdentityGrantsRevokeInput,
|
|
1020
|
+
Types.AuthIdentityGrantsRevokeOutput,
|
|
1021
|
+
TDeps
|
|
1022
|
+
>,
|
|
1023
|
+
): Promise<void>;
|
|
1024
|
+
portalsGet(
|
|
1025
|
+
handler: RpcHandler<
|
|
1026
|
+
Types.AuthPortalsGetInput,
|
|
1027
|
+
Types.AuthPortalsGetOutput,
|
|
1028
|
+
TDeps
|
|
1029
|
+
>,
|
|
1030
|
+
): Promise<void>;
|
|
1031
|
+
portalsList(
|
|
1032
|
+
handler: RpcHandler<
|
|
1033
|
+
Types.AuthPortalsListInput,
|
|
1034
|
+
Types.AuthPortalsListOutput,
|
|
1035
|
+
TDeps
|
|
1036
|
+
>,
|
|
1037
|
+
): Promise<void>;
|
|
1038
|
+
portalsLoginSettingsGet(
|
|
1039
|
+
handler: RpcHandler<
|
|
1040
|
+
Types.AuthPortalsLoginSettingsGetInput,
|
|
1041
|
+
Types.AuthPortalsLoginSettingsGetOutput,
|
|
1042
|
+
TDeps
|
|
1043
|
+
>,
|
|
1044
|
+
): Promise<void>;
|
|
1045
|
+
portalsLoginSettingsUpdate(
|
|
1046
|
+
handler: RpcHandler<
|
|
1047
|
+
Types.AuthPortalsLoginSettingsUpdateInput,
|
|
1048
|
+
Types.AuthPortalsLoginSettingsUpdateOutput,
|
|
1049
|
+
TDeps
|
|
1050
|
+
>,
|
|
1051
|
+
): Promise<void>;
|
|
1052
|
+
portalsPut(
|
|
1053
|
+
handler: RpcHandler<
|
|
1054
|
+
Types.AuthPortalsPutInput,
|
|
1055
|
+
Types.AuthPortalsPutOutput,
|
|
1056
|
+
TDeps
|
|
1057
|
+
>,
|
|
1058
|
+
): Promise<void>;
|
|
1059
|
+
portalsRemove(
|
|
1060
|
+
handler: RpcHandler<
|
|
1061
|
+
Types.AuthPortalsRemoveInput,
|
|
1062
|
+
Types.AuthPortalsRemoveOutput,
|
|
1063
|
+
TDeps
|
|
1064
|
+
>,
|
|
1065
|
+
): Promise<void>;
|
|
1066
|
+
portalsRoutesPut(
|
|
1067
|
+
handler: RpcHandler<
|
|
1068
|
+
Types.AuthPortalsRoutesPutInput,
|
|
1069
|
+
Types.AuthPortalsRoutesPutOutput,
|
|
1070
|
+
TDeps
|
|
1071
|
+
>,
|
|
1072
|
+
): Promise<void>;
|
|
1073
|
+
portalsRoutesRemove(
|
|
1074
|
+
handler: RpcHandler<
|
|
1075
|
+
Types.AuthPortalsRoutesRemoveInput,
|
|
1076
|
+
Types.AuthPortalsRoutesRemoveOutput,
|
|
1077
|
+
TDeps
|
|
1078
|
+
>,
|
|
1079
|
+
): Promise<void>;
|
|
1080
|
+
requestsValidate(
|
|
1081
|
+
handler: RpcHandler<
|
|
1082
|
+
Types.AuthRequestsValidateInput,
|
|
1083
|
+
Types.AuthRequestsValidateOutput,
|
|
1084
|
+
TDeps
|
|
1085
|
+
>,
|
|
1086
|
+
): Promise<void>;
|
|
1087
|
+
serviceInstancesDisable(
|
|
1088
|
+
handler: RpcHandler<
|
|
1089
|
+
Types.AuthServiceInstancesDisableInput,
|
|
1090
|
+
Types.AuthServiceInstancesDisableOutput,
|
|
1091
|
+
TDeps
|
|
1092
|
+
>,
|
|
1093
|
+
): Promise<void>;
|
|
1094
|
+
serviceInstancesEnable(
|
|
1095
|
+
handler: RpcHandler<
|
|
1096
|
+
Types.AuthServiceInstancesEnableInput,
|
|
1097
|
+
Types.AuthServiceInstancesEnableOutput,
|
|
1098
|
+
TDeps
|
|
1099
|
+
>,
|
|
1100
|
+
): Promise<void>;
|
|
1101
|
+
serviceInstancesList(
|
|
1102
|
+
handler: RpcHandler<
|
|
1103
|
+
Types.AuthServiceInstancesListInput,
|
|
1104
|
+
Types.AuthServiceInstancesListOutput,
|
|
1105
|
+
TDeps
|
|
1106
|
+
>,
|
|
1107
|
+
): Promise<void>;
|
|
1108
|
+
serviceInstancesProvision(
|
|
1109
|
+
handler: RpcHandler<
|
|
1110
|
+
Types.AuthServiceInstancesProvisionInput,
|
|
1111
|
+
Types.AuthServiceInstancesProvisionOutput,
|
|
1112
|
+
TDeps
|
|
1113
|
+
>,
|
|
1114
|
+
): Promise<void>;
|
|
1115
|
+
serviceInstancesRemove(
|
|
1116
|
+
handler: RpcHandler<
|
|
1117
|
+
Types.AuthServiceInstancesRemoveInput,
|
|
1118
|
+
Types.AuthServiceInstancesRemoveOutput,
|
|
1119
|
+
TDeps
|
|
1120
|
+
>,
|
|
1121
|
+
): Promise<void>;
|
|
1122
|
+
sessionsList(
|
|
1123
|
+
handler: RpcHandler<
|
|
1124
|
+
Types.AuthSessionsListInput,
|
|
1125
|
+
Types.AuthSessionsListOutput,
|
|
1126
|
+
TDeps
|
|
1127
|
+
>,
|
|
1128
|
+
): Promise<void>;
|
|
1129
|
+
sessionsLogout(
|
|
1130
|
+
handler: RpcHandler<
|
|
1131
|
+
Types.AuthSessionsLogoutInput,
|
|
1132
|
+
Types.AuthSessionsLogoutOutput,
|
|
1133
|
+
TDeps
|
|
1134
|
+
>,
|
|
1135
|
+
): Promise<void>;
|
|
1136
|
+
sessionsMe(
|
|
1137
|
+
handler: RpcHandler<
|
|
1138
|
+
Types.AuthSessionsMeInput,
|
|
1139
|
+
Types.AuthSessionsMeOutput,
|
|
1140
|
+
TDeps
|
|
1141
|
+
>,
|
|
1142
|
+
): Promise<void>;
|
|
1143
|
+
sessionsRevoke(
|
|
1144
|
+
handler: RpcHandler<
|
|
1145
|
+
Types.AuthSessionsRevokeInput,
|
|
1146
|
+
Types.AuthSessionsRevokeOutput,
|
|
1147
|
+
TDeps
|
|
1148
|
+
>,
|
|
1149
|
+
): Promise<void>;
|
|
1150
|
+
userIdentitiesList(
|
|
1151
|
+
handler: RpcHandler<
|
|
1152
|
+
Types.AuthUserIdentitiesListInput,
|
|
1153
|
+
Types.AuthUserIdentitiesListOutput,
|
|
1154
|
+
TDeps
|
|
1155
|
+
>,
|
|
1156
|
+
): Promise<void>;
|
|
1157
|
+
userIdentitiesUnlink(
|
|
1158
|
+
handler: RpcHandler<
|
|
1159
|
+
Types.AuthUserIdentitiesUnlinkInput,
|
|
1160
|
+
Types.AuthUserIdentitiesUnlinkOutput,
|
|
1161
|
+
TDeps
|
|
1162
|
+
>,
|
|
1163
|
+
): Promise<void>;
|
|
1164
|
+
usersCreate(
|
|
1165
|
+
handler: RpcHandler<
|
|
1166
|
+
Types.AuthUsersCreateInput,
|
|
1167
|
+
Types.AuthUsersCreateOutput,
|
|
1168
|
+
TDeps
|
|
1169
|
+
>,
|
|
1170
|
+
): Promise<void>;
|
|
1171
|
+
usersGet(
|
|
1172
|
+
handler: RpcHandler<
|
|
1173
|
+
Types.AuthUsersGetInput,
|
|
1174
|
+
Types.AuthUsersGetOutput,
|
|
1175
|
+
TDeps
|
|
1176
|
+
>,
|
|
1177
|
+
): Promise<void>;
|
|
1178
|
+
usersIdentityLinkCreate(
|
|
1179
|
+
handler: RpcHandler<
|
|
1180
|
+
Types.AuthUsersIdentityLinkCreateInput,
|
|
1181
|
+
Types.AuthUsersIdentityLinkCreateOutput,
|
|
1182
|
+
TDeps
|
|
1183
|
+
>,
|
|
1184
|
+
): Promise<void>;
|
|
1185
|
+
usersList(
|
|
1186
|
+
handler: RpcHandler<
|
|
1187
|
+
Types.AuthUsersListInput,
|
|
1188
|
+
Types.AuthUsersListOutput,
|
|
1189
|
+
TDeps
|
|
1190
|
+
>,
|
|
1191
|
+
): Promise<void>;
|
|
1192
|
+
usersPasswordChange(
|
|
1193
|
+
handler: RpcHandler<
|
|
1194
|
+
Types.AuthUsersPasswordChangeInput,
|
|
1195
|
+
Types.AuthUsersPasswordChangeOutput,
|
|
1196
|
+
TDeps
|
|
1197
|
+
>,
|
|
1198
|
+
): Promise<void>;
|
|
1199
|
+
usersPasswordResetCreate(
|
|
1200
|
+
handler: RpcHandler<
|
|
1201
|
+
Types.AuthUsersPasswordResetCreateInput,
|
|
1202
|
+
Types.AuthUsersPasswordResetCreateOutput,
|
|
1203
|
+
TDeps
|
|
1204
|
+
>,
|
|
1205
|
+
): Promise<void>;
|
|
1206
|
+
usersUpdate(
|
|
1207
|
+
handler: RpcHandler<
|
|
1208
|
+
Types.AuthUsersUpdateInput,
|
|
1209
|
+
Types.AuthUsersUpdateOutput,
|
|
1210
|
+
TDeps
|
|
1211
|
+
>,
|
|
1212
|
+
): Promise<void>;
|
|
224
1213
|
};
|
|
225
1214
|
};
|
|
226
1215
|
readonly feed: {};
|
|
227
1216
|
readonly operation: {
|
|
228
1217
|
readonly auth: {
|
|
229
|
-
deviceUserAuthoritiesResolve:
|
|
1218
|
+
deviceUserAuthoritiesResolve:
|
|
1219
|
+
& ((
|
|
1220
|
+
handler: OperationHandler<
|
|
1221
|
+
Types.AuthDeviceUserAuthoritiesResolveInput,
|
|
1222
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
1223
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput,
|
|
1224
|
+
{},
|
|
1225
|
+
TDeps
|
|
1226
|
+
>,
|
|
1227
|
+
) => Promise<void>)
|
|
1228
|
+
& {
|
|
1229
|
+
accept(
|
|
1230
|
+
args: { sessionKey: string },
|
|
1231
|
+
): AsyncResult<
|
|
1232
|
+
AcceptedOperation<
|
|
1233
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
1234
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput
|
|
1235
|
+
>,
|
|
1236
|
+
UnexpectedError
|
|
1237
|
+
>;
|
|
1238
|
+
control(
|
|
1239
|
+
operationId: string,
|
|
1240
|
+
): AsyncResult<
|
|
1241
|
+
OperationRuntimeHandle<
|
|
1242
|
+
Types.AuthDeviceUserAuthoritiesResolveProgress,
|
|
1243
|
+
Types.AuthDeviceUserAuthoritiesResolveOutput
|
|
1244
|
+
>,
|
|
1245
|
+
BaseError
|
|
1246
|
+
>;
|
|
1247
|
+
};
|
|
230
1248
|
};
|
|
231
1249
|
};
|
|
232
1250
|
}
|