@aldiokta/protocgen 1.0.22 → 1.0.24
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/package.json
CHANGED
|
@@ -73,6 +73,17 @@ function deserialize_CreateUserPayload(buffer_arg) {
|
|
|
73
73
|
return prisca_v1_core_auth_auth_pb.CreateUserPayload.deserializeBinary(new Uint8Array(buffer_arg));
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
function serialize_ForgotPassworReq(arg) {
|
|
77
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.ForgotPassworReq)) {
|
|
78
|
+
throw new Error('Expected argument of type ForgotPassworReq');
|
|
79
|
+
}
|
|
80
|
+
return Buffer.from(arg.serializeBinary());
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function deserialize_ForgotPassworReq(buffer_arg) {
|
|
84
|
+
return prisca_v1_core_auth_auth_pb.ForgotPassworReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
85
|
+
}
|
|
86
|
+
|
|
76
87
|
function serialize_GetAccessByIdPayload(arg) {
|
|
77
88
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.GetAccessByIdPayload)) {
|
|
78
89
|
throw new Error('Expected argument of type GetAccessByIdPayload');
|
|
@@ -117,6 +128,28 @@ function deserialize_LoginRequest(buffer_arg) {
|
|
|
117
128
|
return prisca_v1_core_auth_auth_pb.LoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
118
129
|
}
|
|
119
130
|
|
|
131
|
+
function serialize_RequestForgotPasswordReq(arg) {
|
|
132
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RequestForgotPasswordReq)) {
|
|
133
|
+
throw new Error('Expected argument of type RequestForgotPasswordReq');
|
|
134
|
+
}
|
|
135
|
+
return Buffer.from(arg.serializeBinary());
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
function deserialize_RequestForgotPasswordReq(buffer_arg) {
|
|
139
|
+
return prisca_v1_core_auth_auth_pb.RequestForgotPasswordReq.deserializeBinary(new Uint8Array(buffer_arg));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function serialize_RequestForgotResponse(arg) {
|
|
143
|
+
if (!(arg instanceof prisca_v1_core_auth_auth_pb.RequestForgotResponse)) {
|
|
144
|
+
throw new Error('Expected argument of type RequestForgotResponse');
|
|
145
|
+
}
|
|
146
|
+
return Buffer.from(arg.serializeBinary());
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function deserialize_RequestForgotResponse(buffer_arg) {
|
|
150
|
+
return prisca_v1_core_auth_auth_pb.RequestForgotResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
151
|
+
}
|
|
152
|
+
|
|
120
153
|
function serialize_UpdateAccessPayload(arg) {
|
|
121
154
|
if (!(arg instanceof prisca_v1_core_auth_auth_pb.UpdateAccessPayload)) {
|
|
122
155
|
throw new Error('Expected argument of type UpdateAccessPayload');
|
|
@@ -251,6 +284,28 @@ var AuthServiceService = exports.AuthServiceService = {
|
|
|
251
284
|
responseSerialize: serialize_AccessResponse,
|
|
252
285
|
responseDeserialize: deserialize_AccessResponse,
|
|
253
286
|
},
|
|
287
|
+
requestForgotPassword: {
|
|
288
|
+
path: '/AuthService/RequestForgotPassword',
|
|
289
|
+
requestStream: false,
|
|
290
|
+
responseStream: false,
|
|
291
|
+
requestType: prisca_v1_core_auth_auth_pb.RequestForgotPasswordReq,
|
|
292
|
+
responseType: prisca_v1_core_auth_auth_pb.RequestForgotResponse,
|
|
293
|
+
requestSerialize: serialize_RequestForgotPasswordReq,
|
|
294
|
+
requestDeserialize: deserialize_RequestForgotPasswordReq,
|
|
295
|
+
responseSerialize: serialize_RequestForgotResponse,
|
|
296
|
+
responseDeserialize: deserialize_RequestForgotResponse,
|
|
297
|
+
},
|
|
298
|
+
forgotPassword: {
|
|
299
|
+
path: '/AuthService/ForgotPassword',
|
|
300
|
+
requestStream: false,
|
|
301
|
+
responseStream: false,
|
|
302
|
+
requestType: prisca_v1_core_auth_auth_pb.ForgotPassworReq,
|
|
303
|
+
responseType: prisca_v1_core_auth_auth_pb.UserResponse,
|
|
304
|
+
requestSerialize: serialize_ForgotPassworReq,
|
|
305
|
+
requestDeserialize: deserialize_ForgotPassworReq,
|
|
306
|
+
responseSerialize: serialize_UserResponse,
|
|
307
|
+
responseDeserialize: deserialize_UserResponse,
|
|
308
|
+
},
|
|
254
309
|
};
|
|
255
310
|
|
|
256
311
|
exports.AuthServiceClient = grpc.makeGenericClientConstructor(AuthServiceService);
|