@aldiokta/protocgen 1.1.64 → 1.1.65

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -67,6 +67,28 @@ function deserialize_AuthVerifyToken(buffer_arg) {
67
67
  return prisca_v1_core_auth_auth_pb.AuthVerifyToken.deserializeBinary(new Uint8Array(buffer_arg));
68
68
  }
69
69
 
70
+ function serialize_BlastSetPasswordEmailRequest(arg) {
71
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailRequest)) {
72
+ throw new Error('Expected argument of type BlastSetPasswordEmailRequest');
73
+ }
74
+ return Buffer.from(arg.serializeBinary());
75
+ }
76
+
77
+ function deserialize_BlastSetPasswordEmailRequest(buffer_arg) {
78
+ return prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailRequest.deserializeBinary(new Uint8Array(buffer_arg));
79
+ }
80
+
81
+ function serialize_BlastSetPasswordEmailResponse(arg) {
82
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailResponse)) {
83
+ throw new Error('Expected argument of type BlastSetPasswordEmailResponse');
84
+ }
85
+ return Buffer.from(arg.serializeBinary());
86
+ }
87
+
88
+ function deserialize_BlastSetPasswordEmailResponse(buffer_arg) {
89
+ return prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailResponse.deserializeBinary(new Uint8Array(buffer_arg));
90
+ }
91
+
70
92
  function serialize_ChangePasswordRequest(arg) {
71
93
  if (!(arg instanceof prisca_v1_core_auth_auth_pb.ChangePasswordRequest)) {
72
94
  throw new Error('Expected argument of type ChangePasswordRequest');
@@ -232,6 +254,28 @@ function deserialize_LoginRequestVendor(buffer_arg) {
232
254
  return prisca_v1_core_auth_auth_pb.LoginRequestVendor.deserializeBinary(new Uint8Array(buffer_arg));
233
255
  }
234
256
 
257
+ function serialize_RefreshTokenRequest(arg) {
258
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.RefreshTokenRequest)) {
259
+ throw new Error('Expected argument of type RefreshTokenRequest');
260
+ }
261
+ return Buffer.from(arg.serializeBinary());
262
+ }
263
+
264
+ function deserialize_RefreshTokenRequest(buffer_arg) {
265
+ return prisca_v1_core_auth_auth_pb.RefreshTokenRequest.deserializeBinary(new Uint8Array(buffer_arg));
266
+ }
267
+
268
+ function serialize_RefreshTokenResponse(arg) {
269
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.RefreshTokenResponse)) {
270
+ throw new Error('Expected argument of type RefreshTokenResponse');
271
+ }
272
+ return Buffer.from(arg.serializeBinary());
273
+ }
274
+
275
+ function deserialize_RefreshTokenResponse(buffer_arg) {
276
+ return prisca_v1_core_auth_auth_pb.RefreshTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
277
+ }
278
+
235
279
  function serialize_RequestForgotPasswordReq(arg) {
236
280
  if (!(arg instanceof prisca_v1_core_auth_auth_pb.RequestForgotPasswordReq)) {
237
281
  throw new Error('Expected argument of type RequestForgotPasswordReq');
@@ -276,6 +320,28 @@ function deserialize_RequestRegisterVendorResponse(buffer_arg) {
276
320
  return prisca_v1_core_auth_auth_pb.RequestRegisterVendorResponse.deserializeBinary(new Uint8Array(buffer_arg));
277
321
  }
278
322
 
323
+ function serialize_RevokeRefreshTokenRequest(arg) {
324
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest)) {
325
+ throw new Error('Expected argument of type RevokeRefreshTokenRequest');
326
+ }
327
+ return Buffer.from(arg.serializeBinary());
328
+ }
329
+
330
+ function deserialize_RevokeRefreshTokenRequest(buffer_arg) {
331
+ return prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest.deserializeBinary(new Uint8Array(buffer_arg));
332
+ }
333
+
334
+ function serialize_RevokeRefreshTokenResponse(arg) {
335
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse)) {
336
+ throw new Error('Expected argument of type RevokeRefreshTokenResponse');
337
+ }
338
+ return Buffer.from(arg.serializeBinary());
339
+ }
340
+
341
+ function deserialize_RevokeRefreshTokenResponse(buffer_arg) {
342
+ return prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
343
+ }
344
+
279
345
  function serialize_UpdateAccessPayload(arg) {
280
346
  if (!(arg instanceof prisca_v1_core_auth_auth_pb.UpdateAccessPayload)) {
281
347
  throw new Error('Expected argument of type UpdateAccessPayload');
@@ -498,6 +564,28 @@ var AuthServiceService = exports.AuthServiceService = {
498
564
  responseSerialize: serialize_CheckCompaniesResponse,
499
565
  responseDeserialize: deserialize_CheckCompaniesResponse,
500
566
  },
567
+ refreshToken: {
568
+ path: '/AuthService/RefreshToken',
569
+ requestStream: false,
570
+ responseStream: false,
571
+ requestType: prisca_v1_core_auth_auth_pb.RefreshTokenRequest,
572
+ responseType: prisca_v1_core_auth_auth_pb.RefreshTokenResponse,
573
+ requestSerialize: serialize_RefreshTokenRequest,
574
+ requestDeserialize: deserialize_RefreshTokenRequest,
575
+ responseSerialize: serialize_RefreshTokenResponse,
576
+ responseDeserialize: deserialize_RefreshTokenResponse,
577
+ },
578
+ revokeRefreshToken: {
579
+ path: '/AuthService/RevokeRefreshToken',
580
+ requestStream: false,
581
+ responseStream: false,
582
+ requestType: prisca_v1_core_auth_auth_pb.RevokeRefreshTokenRequest,
583
+ responseType: prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse,
584
+ requestSerialize: serialize_RevokeRefreshTokenRequest,
585
+ requestDeserialize: deserialize_RevokeRefreshTokenRequest,
586
+ responseSerialize: serialize_RevokeRefreshTokenResponse,
587
+ responseDeserialize: deserialize_RevokeRefreshTokenResponse,
588
+ },
501
589
  requestRegisterVendor: {
502
590
  path: '/AuthService/RequestRegisterVendor',
503
591
  requestStream: false,
@@ -542,6 +630,17 @@ var AuthServiceService = exports.AuthServiceService = {
542
630
  responseSerialize: serialize_ChangePasswordResponse,
543
631
  responseDeserialize: deserialize_ChangePasswordResponse,
544
632
  },
633
+ blastSetPasswordEmail: {
634
+ path: '/AuthService/BlastSetPasswordEmail',
635
+ requestStream: false,
636
+ responseStream: false,
637
+ requestType: prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailRequest,
638
+ responseType: prisca_v1_core_auth_auth_pb.BlastSetPasswordEmailResponse,
639
+ requestSerialize: serialize_BlastSetPasswordEmailRequest,
640
+ requestDeserialize: deserialize_BlastSetPasswordEmailRequest,
641
+ responseSerialize: serialize_BlastSetPasswordEmailResponse,
642
+ responseDeserialize: deserialize_BlastSetPasswordEmailResponse,
643
+ },
545
644
  };
546
645
 
547
646
  exports.AuthServiceClient = grpc.makeGenericClientConstructor(AuthServiceService, 'AuthService');