@conduitplatform/grpc-sdk 0.16.11 → 0.16.12
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConduitModule } from '../../classes/index.js';
|
|
2
|
-
import { AuthenticationDefinition, TeamDeleteResponse, UserCreateResponse, UserDeleteResponse, UserLoginResponse, Team, ValidateAccessTokenResponse } from '../../protoUtils/index.js';
|
|
2
|
+
import { AuthenticationDefinition, TeamDeleteResponse, UserCreateResponse, UserDeleteResponse, UserLoginResponse, Team, ValidateAccessTokenResponse, UserModifyStatusResponse } from '../../protoUtils/index.js';
|
|
3
3
|
export declare class Authentication extends ConduitModule<typeof AuthenticationDefinition> {
|
|
4
4
|
private readonly moduleName;
|
|
5
5
|
constructor(moduleName: string, url: string, grpcToken?: string);
|
|
@@ -14,4 +14,5 @@ export declare class Authentication extends ConduitModule<typeof AuthenticationD
|
|
|
14
14
|
addTeamMembers(teamId: string, memberIds: string[]): Promise<import("../../protoUtils/google/protobuf/empty.js").Empty>;
|
|
15
15
|
removeTeamMembers(teamId: string, memberIds: string[]): Promise<import("../../protoUtils/google/protobuf/empty.js").Empty>;
|
|
16
16
|
validateAccessToken(accessToken: string, path?: string): Promise<ValidateAccessTokenResponse>;
|
|
17
|
+
userModifyStatus(userId: string, active: boolean): Promise<UserModifyStatusResponse>;
|
|
17
18
|
}
|
|
@@ -249,6 +249,28 @@ export declare const AuthenticationDefinition: {
|
|
|
249
249
|
readonly responseStream: false;
|
|
250
250
|
readonly options: {};
|
|
251
251
|
};
|
|
252
|
+
readonly userCreate: {
|
|
253
|
+
readonly name: "UserCreate";
|
|
254
|
+
readonly requestType: {
|
|
255
|
+
encode(message: UserCreateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
256
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UserCreateRequest;
|
|
257
|
+
fromJSON(object: any): UserCreateRequest;
|
|
258
|
+
toJSON(message: UserCreateRequest): unknown;
|
|
259
|
+
create(base?: DeepPartial<UserCreateRequest>): UserCreateRequest;
|
|
260
|
+
fromPartial(object: DeepPartial<UserCreateRequest>): UserCreateRequest;
|
|
261
|
+
};
|
|
262
|
+
readonly requestStream: false;
|
|
263
|
+
readonly responseType: {
|
|
264
|
+
encode(message: UserCreateResponse, writer?: _m0.Writer): _m0.Writer;
|
|
265
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): UserCreateResponse;
|
|
266
|
+
fromJSON(object: any): UserCreateResponse;
|
|
267
|
+
toJSON(message: UserCreateResponse): unknown;
|
|
268
|
+
create(base?: DeepPartial<UserCreateResponse>): UserCreateResponse;
|
|
269
|
+
fromPartial(object: DeepPartial<UserCreateResponse>): UserCreateResponse;
|
|
270
|
+
};
|
|
271
|
+
readonly responseStream: false;
|
|
272
|
+
readonly options: {};
|
|
273
|
+
};
|
|
252
274
|
readonly userModifyStatus: {
|
|
253
275
|
readonly name: "UserModifyStatus";
|
|
254
276
|
readonly requestType: {
|