geniebox-shared-lib 1.0.58 → 1.0.59

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.
@@ -111,6 +111,7 @@ export interface AuthServiceClient {
111
111
  resetPassword(request: ResetPasswordRequest, metadata?: Metadata): Observable<Empty>;
112
112
  confirmEmail(request: ConfirmEmailRequest, metadata?: Metadata): Observable<ConfirmEmailResponse>;
113
113
  confirmEmailByCode(request: ConfirmEmailByCodeRequest, metadata?: Metadata): Observable<AuthResponse>;
114
+ resendConfirmationCode(request: GetByIdRequest, metadata?: Metadata): Observable<Empty>;
114
115
  checkEmailVerified(request: CheckEmailVerifiedRequest, metadata?: Metadata): Observable<CheckEmailVerifiedResponse>;
115
116
  }
116
117
  export interface AuthServiceController {
@@ -123,6 +124,7 @@ export interface AuthServiceController {
123
124
  resetPassword(request: ResetPasswordRequest, metadata?: Metadata): void;
124
125
  confirmEmail(request: ConfirmEmailRequest, metadata?: Metadata): Promise<ConfirmEmailResponse> | Observable<ConfirmEmailResponse> | ConfirmEmailResponse;
125
126
  confirmEmailByCode(request: ConfirmEmailByCodeRequest, metadata?: Metadata): Promise<AuthResponse> | Observable<AuthResponse> | AuthResponse;
127
+ resendConfirmationCode(request: GetByIdRequest, metadata?: Metadata): void;
126
128
  checkEmailVerified(request: CheckEmailVerifiedRequest, metadata?: Metadata): Promise<CheckEmailVerifiedResponse> | Observable<CheckEmailVerifiedResponse> | CheckEmailVerifiedResponse;
127
129
  }
128
130
  export declare function AuthServiceControllerMethods(): (constructor: Function) => void;
@@ -210,6 +212,15 @@ export declare const AuthServiceService: {
210
212
  readonly responseSerialize: (value: AuthResponse) => Buffer;
211
213
  readonly responseDeserialize: (value: Buffer) => AuthResponse;
212
214
  };
215
+ readonly resendConfirmationCode: {
216
+ readonly path: "/auth.AuthService/resendConfirmationCode";
217
+ readonly requestStream: false;
218
+ readonly responseStream: false;
219
+ readonly requestSerialize: (value: GetByIdRequest) => Buffer;
220
+ readonly requestDeserialize: (value: Buffer) => GetByIdRequest;
221
+ readonly responseSerialize: (value: Empty) => Buffer;
222
+ readonly responseDeserialize: (value: Buffer) => Empty;
223
+ };
213
224
  readonly checkEmailVerified: {
214
225
  readonly path: "/auth.AuthService/checkEmailVerified";
215
226
  readonly requestStream: false;
@@ -230,6 +241,7 @@ export interface AuthServiceServer extends UntypedServiceImplementation {
230
241
  resetPassword: handleUnaryCall<ResetPasswordRequest, Empty>;
231
242
  confirmEmail: handleUnaryCall<ConfirmEmailRequest, ConfirmEmailResponse>;
232
243
  confirmEmailByCode: handleUnaryCall<ConfirmEmailByCodeRequest, AuthResponse>;
244
+ resendConfirmationCode: handleUnaryCall<GetByIdRequest, Empty>;
233
245
  checkEmailVerified: handleUnaryCall<CheckEmailVerifiedRequest, CheckEmailVerifiedResponse>;
234
246
  }
235
247
  export interface MessageFns<T> {
@@ -876,6 +876,7 @@ function AuthServiceControllerMethods() {
876
876
  "resetPassword",
877
877
  "confirmEmail",
878
878
  "confirmEmailByCode",
879
+ "resendConfirmationCode",
879
880
  "checkEmailVerified",
880
881
  ];
881
882
  for (const method of grpcMethods) {
@@ -972,6 +973,15 @@ exports.AuthServiceService = {
972
973
  responseSerialize: (value) => Buffer.from(exports.AuthResponse.encode(value).finish()),
973
974
  responseDeserialize: (value) => exports.AuthResponse.decode(value),
974
975
  },
976
+ resendConfirmationCode: {
977
+ path: "/auth.AuthService/resendConfirmationCode",
978
+ requestStream: false,
979
+ responseStream: false,
980
+ requestSerialize: (value) => Buffer.from(exports.GetByIdRequest.encode(value).finish()),
981
+ requestDeserialize: (value) => exports.GetByIdRequest.decode(value),
982
+ responseSerialize: (value) => Buffer.from(empty_interface_1.Empty.encode(value).finish()),
983
+ responseDeserialize: (value) => empty_interface_1.Empty.decode(value),
984
+ },
975
985
  checkEmailVerified: {
976
986
  path: "/auth.AuthService/checkEmailVerified",
977
987
  requestStream: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",