@aldiokta/protocgen 1.1.65 → 1.1.66

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.
@@ -342,6 +342,17 @@ function deserialize_RevokeRefreshTokenResponse(buffer_arg) {
342
342
  return prisca_v1_core_auth_auth_pb.RevokeRefreshTokenResponse.deserializeBinary(new Uint8Array(buffer_arg));
343
343
  }
344
344
 
345
+ function serialize_SetUserStatusRequest(arg) {
346
+ if (!(arg instanceof prisca_v1_core_auth_auth_pb.SetUserStatusRequest)) {
347
+ throw new Error('Expected argument of type SetUserStatusRequest');
348
+ }
349
+ return Buffer.from(arg.serializeBinary());
350
+ }
351
+
352
+ function deserialize_SetUserStatusRequest(buffer_arg) {
353
+ return prisca_v1_core_auth_auth_pb.SetUserStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
354
+ }
355
+
345
356
  function serialize_UpdateAccessPayload(arg) {
346
357
  if (!(arg instanceof prisca_v1_core_auth_auth_pb.UpdateAccessPayload)) {
347
358
  throw new Error('Expected argument of type UpdateAccessPayload');
@@ -498,6 +509,30 @@ var AuthServiceService = exports.AuthServiceService = {
498
509
  responseSerialize: serialize_GetListUserResponse,
499
510
  responseDeserialize: deserialize_GetListUserResponse,
500
511
  },
512
+ // PRISCA-97: nonaktifkan/aktifkan user (bukan soft-delete). ActivateUser
513
+ // menjalankan pre-flight kuota lebih dulu (reaktivasi memakan seat).
514
+ deactivateUser: {
515
+ path: '/AuthService/DeactivateUser',
516
+ requestStream: false,
517
+ responseStream: false,
518
+ requestType: prisca_v1_core_auth_auth_pb.SetUserStatusRequest,
519
+ responseType: prisca_v1_core_auth_auth_pb.UserResponse,
520
+ requestSerialize: serialize_SetUserStatusRequest,
521
+ requestDeserialize: deserialize_SetUserStatusRequest,
522
+ responseSerialize: serialize_UserResponse,
523
+ responseDeserialize: deserialize_UserResponse,
524
+ },
525
+ activateUser: {
526
+ path: '/AuthService/ActivateUser',
527
+ requestStream: false,
528
+ responseStream: false,
529
+ requestType: prisca_v1_core_auth_auth_pb.SetUserStatusRequest,
530
+ responseType: prisca_v1_core_auth_auth_pb.UserResponse,
531
+ requestSerialize: serialize_SetUserStatusRequest,
532
+ requestDeserialize: deserialize_SetUserStatusRequest,
533
+ responseSerialize: serialize_UserResponse,
534
+ responseDeserialize: deserialize_UserResponse,
535
+ },
501
536
  verifyAuthorization: {
502
537
  path: '/AuthService/VerifyAuthorization',
503
538
  requestStream: false,
@@ -55,6 +55,7 @@ goog.exportSymbol('proto.RequestRegisterVendorReq', null, global);
55
55
  goog.exportSymbol('proto.RequestRegisterVendorResponse', null, global);
56
56
  goog.exportSymbol('proto.RevokeRefreshTokenRequest', null, global);
57
57
  goog.exportSymbol('proto.RevokeRefreshTokenResponse', null, global);
58
+ goog.exportSymbol('proto.SetUserStatusRequest', null, global);
58
59
  goog.exportSymbol('proto.UpdateAccessPayload', null, global);
59
60
  goog.exportSymbol('proto.UpdateUserPayload', null, global);
60
61
  goog.exportSymbol('proto.UserResponse', null, global);
@@ -606,6 +607,27 @@ if (goog.DEBUG && !COMPILED) {
606
607
  */
607
608
  proto.UserResponse.displayName = 'proto.UserResponse';
608
609
  }
610
+ /**
611
+ * Generated by JsPbCodeGenerator.
612
+ * @param {Array=} opt_data Optional initial data array, typically from a
613
+ * server response, or constructed directly in Javascript. The array is used
614
+ * in place and becomes part of the constructed object. It is not cloned.
615
+ * If no data is provided, the constructed object will be empty, but still
616
+ * valid.
617
+ * @extends {jspb.Message}
618
+ * @constructor
619
+ */
620
+ proto.SetUserStatusRequest = function(opt_data) {
621
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
622
+ };
623
+ goog.inherits(proto.SetUserStatusRequest, jspb.Message);
624
+ if (goog.DEBUG && !COMPILED) {
625
+ /**
626
+ * @public
627
+ * @override
628
+ */
629
+ proto.SetUserStatusRequest.displayName = 'proto.SetUserStatusRequest';
630
+ }
609
631
  /**
610
632
  * Generated by JsPbCodeGenerator.
611
633
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5021,7 +5043,9 @@ statementsList: jspb.Message.toObjectList(msg.getStatementsList(),
5021
5043
  prisca_v1_core_access_manager_access_manager_pb.Statement.toObject, includeInstance),
5022
5044
  companiesList: jspb.Message.toObjectList(msg.getCompaniesList(),
5023
5045
  prisca_v1_core_company_company_pb.Company.toObject, includeInstance),
5024
- avatar: jspb.Message.getFieldWithDefault(msg, 9, "")
5046
+ avatar: jspb.Message.getFieldWithDefault(msg, 9, ""),
5047
+ status: jspb.Message.getFieldWithDefault(msg, 10, ""),
5048
+ statusReason: jspb.Message.getFieldWithDefault(msg, 11, "")
5025
5049
  };
5026
5050
 
5027
5051
  if (includeInstance) {
@@ -5097,6 +5121,14 @@ proto.UserResponse.deserializeBinaryFromReader = function(msg, reader) {
5097
5121
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
5098
5122
  msg.setAvatar(value);
5099
5123
  break;
5124
+ case 10:
5125
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5126
+ msg.setStatus(value);
5127
+ break;
5128
+ case 11:
5129
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5130
+ msg.setStatusReason(value);
5131
+ break;
5100
5132
  default:
5101
5133
  reader.skipField();
5102
5134
  break;
@@ -5192,6 +5224,20 @@ proto.UserResponse.serializeBinaryToWriter = function(message, writer) {
5192
5224
  f
5193
5225
  );
5194
5226
  }
5227
+ f = message.getStatus();
5228
+ if (f.length > 0) {
5229
+ writer.writeString(
5230
+ 10,
5231
+ f
5232
+ );
5233
+ }
5234
+ f = message.getStatusReason();
5235
+ if (f.length > 0) {
5236
+ writer.writeString(
5237
+ 11,
5238
+ f
5239
+ );
5240
+ }
5195
5241
  };
5196
5242
 
5197
5243
 
@@ -5417,6 +5463,172 @@ proto.UserResponse.prototype.setAvatar = function(value) {
5417
5463
  };
5418
5464
 
5419
5465
 
5466
+ /**
5467
+ * optional string status = 10;
5468
+ * @return {string}
5469
+ */
5470
+ proto.UserResponse.prototype.getStatus = function() {
5471
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
5472
+ };
5473
+
5474
+
5475
+ /**
5476
+ * @param {string} value
5477
+ * @return {!proto.UserResponse} returns this
5478
+ */
5479
+ proto.UserResponse.prototype.setStatus = function(value) {
5480
+ return jspb.Message.setProto3StringField(this, 10, value);
5481
+ };
5482
+
5483
+
5484
+ /**
5485
+ * optional string status_reason = 11;
5486
+ * @return {string}
5487
+ */
5488
+ proto.UserResponse.prototype.getStatusReason = function() {
5489
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5490
+ };
5491
+
5492
+
5493
+ /**
5494
+ * @param {string} value
5495
+ * @return {!proto.UserResponse} returns this
5496
+ */
5497
+ proto.UserResponse.prototype.setStatusReason = function(value) {
5498
+ return jspb.Message.setProto3StringField(this, 11, value);
5499
+ };
5500
+
5501
+
5502
+
5503
+
5504
+
5505
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5506
+ /**
5507
+ * Creates an object representation of this proto.
5508
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5509
+ * Optional fields that are not set will be set to undefined.
5510
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5511
+ * For the list of reserved names please see:
5512
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5513
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5514
+ * JSPB instance for transitional soy proto support:
5515
+ * http://goto/soy-param-migration
5516
+ * @return {!Object}
5517
+ */
5518
+ proto.SetUserStatusRequest.prototype.toObject = function(opt_includeInstance) {
5519
+ return proto.SetUserStatusRequest.toObject(opt_includeInstance, this);
5520
+ };
5521
+
5522
+
5523
+ /**
5524
+ * Static version of the {@see toObject} method.
5525
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5526
+ * the JSPB instance for transitional soy proto support:
5527
+ * http://goto/soy-param-migration
5528
+ * @param {!proto.SetUserStatusRequest} msg The msg instance to transform.
5529
+ * @return {!Object}
5530
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5531
+ */
5532
+ proto.SetUserStatusRequest.toObject = function(includeInstance, msg) {
5533
+ var f, obj = {
5534
+ referencesId: jspb.Message.getFieldWithDefault(msg, 1, "")
5535
+ };
5536
+
5537
+ if (includeInstance) {
5538
+ obj.$jspbMessageInstance = msg;
5539
+ }
5540
+ return obj;
5541
+ };
5542
+ }
5543
+
5544
+
5545
+ /**
5546
+ * Deserializes binary data (in protobuf wire format).
5547
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5548
+ * @return {!proto.SetUserStatusRequest}
5549
+ */
5550
+ proto.SetUserStatusRequest.deserializeBinary = function(bytes) {
5551
+ var reader = new jspb.BinaryReader(bytes);
5552
+ var msg = new proto.SetUserStatusRequest;
5553
+ return proto.SetUserStatusRequest.deserializeBinaryFromReader(msg, reader);
5554
+ };
5555
+
5556
+
5557
+ /**
5558
+ * Deserializes binary data (in protobuf wire format) from the
5559
+ * given reader into the given message object.
5560
+ * @param {!proto.SetUserStatusRequest} msg The message object to deserialize into.
5561
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5562
+ * @return {!proto.SetUserStatusRequest}
5563
+ */
5564
+ proto.SetUserStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
5565
+ while (reader.nextField()) {
5566
+ if (reader.isEndGroup()) {
5567
+ break;
5568
+ }
5569
+ var field = reader.getFieldNumber();
5570
+ switch (field) {
5571
+ case 1:
5572
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5573
+ msg.setReferencesId(value);
5574
+ break;
5575
+ default:
5576
+ reader.skipField();
5577
+ break;
5578
+ }
5579
+ }
5580
+ return msg;
5581
+ };
5582
+
5583
+
5584
+ /**
5585
+ * Serializes the message to binary data (in protobuf wire format).
5586
+ * @return {!Uint8Array}
5587
+ */
5588
+ proto.SetUserStatusRequest.prototype.serializeBinary = function() {
5589
+ var writer = new jspb.BinaryWriter();
5590
+ proto.SetUserStatusRequest.serializeBinaryToWriter(this, writer);
5591
+ return writer.getResultBuffer();
5592
+ };
5593
+
5594
+
5595
+ /**
5596
+ * Serializes the given message to binary data (in protobuf wire
5597
+ * format), writing to the given BinaryWriter.
5598
+ * @param {!proto.SetUserStatusRequest} message
5599
+ * @param {!jspb.BinaryWriter} writer
5600
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5601
+ */
5602
+ proto.SetUserStatusRequest.serializeBinaryToWriter = function(message, writer) {
5603
+ var f = undefined;
5604
+ f = message.getReferencesId();
5605
+ if (f.length > 0) {
5606
+ writer.writeString(
5607
+ 1,
5608
+ f
5609
+ );
5610
+ }
5611
+ };
5612
+
5613
+
5614
+ /**
5615
+ * optional string references_id = 1;
5616
+ * @return {string}
5617
+ */
5618
+ proto.SetUserStatusRequest.prototype.getReferencesId = function() {
5619
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5620
+ };
5621
+
5622
+
5623
+ /**
5624
+ * @param {string} value
5625
+ * @return {!proto.SetUserStatusRequest} returns this
5626
+ */
5627
+ proto.SetUserStatusRequest.prototype.setReferencesId = function(value) {
5628
+ return jspb.Message.setProto3StringField(this, 1, value);
5629
+ };
5630
+
5631
+
5420
5632
 
5421
5633
  /**
5422
5634
  * List of repeated fields within this message type.
@@ -0,0 +1,180 @@
1
+ // GENERATED CODE -- DO NOT EDIT!
2
+
3
+ 'use strict';
4
+ var grpc = require('@grpc/grpc-js');
5
+ var prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb = require('../../../../prisca/v1/core/currency_exchange_rate/currency_exchange_rate_pb.js');
6
+ var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
7
+
8
+ function serialize_CreateCurrencyExchangeRateRequest(arg) {
9
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.CreateCurrencyExchangeRateRequest)) {
10
+ throw new Error('Expected argument of type CreateCurrencyExchangeRateRequest');
11
+ }
12
+ return Buffer.from(arg.serializeBinary());
13
+ }
14
+
15
+ function deserialize_CreateCurrencyExchangeRateRequest(buffer_arg) {
16
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.CreateCurrencyExchangeRateRequest.deserializeBinary(new Uint8Array(buffer_arg));
17
+ }
18
+
19
+ function serialize_CreateCurrencyExchangeRateResponse(arg) {
20
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.CreateCurrencyExchangeRateResponse)) {
21
+ throw new Error('Expected argument of type CreateCurrencyExchangeRateResponse');
22
+ }
23
+ return Buffer.from(arg.serializeBinary());
24
+ }
25
+
26
+ function deserialize_CreateCurrencyExchangeRateResponse(buffer_arg) {
27
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.CreateCurrencyExchangeRateResponse.deserializeBinary(new Uint8Array(buffer_arg));
28
+ }
29
+
30
+ function serialize_DeleteCurrencyExchangeRateRequest(arg) {
31
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.DeleteCurrencyExchangeRateRequest)) {
32
+ throw new Error('Expected argument of type DeleteCurrencyExchangeRateRequest');
33
+ }
34
+ return Buffer.from(arg.serializeBinary());
35
+ }
36
+
37
+ function deserialize_DeleteCurrencyExchangeRateRequest(buffer_arg) {
38
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.DeleteCurrencyExchangeRateRequest.deserializeBinary(new Uint8Array(buffer_arg));
39
+ }
40
+
41
+ function serialize_DeleteCurrencyExchangeRateResponse(arg) {
42
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.DeleteCurrencyExchangeRateResponse)) {
43
+ throw new Error('Expected argument of type DeleteCurrencyExchangeRateResponse');
44
+ }
45
+ return Buffer.from(arg.serializeBinary());
46
+ }
47
+
48
+ function deserialize_DeleteCurrencyExchangeRateResponse(buffer_arg) {
49
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.DeleteCurrencyExchangeRateResponse.deserializeBinary(new Uint8Array(buffer_arg));
50
+ }
51
+
52
+ function serialize_GetCurrencyExchangeRateByIdRequest(arg) {
53
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetCurrencyExchangeRateByIdRequest)) {
54
+ throw new Error('Expected argument of type GetCurrencyExchangeRateByIdRequest');
55
+ }
56
+ return Buffer.from(arg.serializeBinary());
57
+ }
58
+
59
+ function deserialize_GetCurrencyExchangeRateByIdRequest(buffer_arg) {
60
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetCurrencyExchangeRateByIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
61
+ }
62
+
63
+ function serialize_GetCurrencyExchangeRateByIdResponse(arg) {
64
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetCurrencyExchangeRateByIdResponse)) {
65
+ throw new Error('Expected argument of type GetCurrencyExchangeRateByIdResponse');
66
+ }
67
+ return Buffer.from(arg.serializeBinary());
68
+ }
69
+
70
+ function deserialize_GetCurrencyExchangeRateByIdResponse(buffer_arg) {
71
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetCurrencyExchangeRateByIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
72
+ }
73
+
74
+ function serialize_GetListCurrencyExchangeRateRequest(arg) {
75
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetListCurrencyExchangeRateRequest)) {
76
+ throw new Error('Expected argument of type GetListCurrencyExchangeRateRequest');
77
+ }
78
+ return Buffer.from(arg.serializeBinary());
79
+ }
80
+
81
+ function deserialize_GetListCurrencyExchangeRateRequest(buffer_arg) {
82
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetListCurrencyExchangeRateRequest.deserializeBinary(new Uint8Array(buffer_arg));
83
+ }
84
+
85
+ function serialize_GetListCurrencyExchangeRateResponse(arg) {
86
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetListCurrencyExchangeRateResponse)) {
87
+ throw new Error('Expected argument of type GetListCurrencyExchangeRateResponse');
88
+ }
89
+ return Buffer.from(arg.serializeBinary());
90
+ }
91
+
92
+ function deserialize_GetListCurrencyExchangeRateResponse(buffer_arg) {
93
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetListCurrencyExchangeRateResponse.deserializeBinary(new Uint8Array(buffer_arg));
94
+ }
95
+
96
+ function serialize_UpdateCurrencyExchangeRateRequest(arg) {
97
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.UpdateCurrencyExchangeRateRequest)) {
98
+ throw new Error('Expected argument of type UpdateCurrencyExchangeRateRequest');
99
+ }
100
+ return Buffer.from(arg.serializeBinary());
101
+ }
102
+
103
+ function deserialize_UpdateCurrencyExchangeRateRequest(buffer_arg) {
104
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.UpdateCurrencyExchangeRateRequest.deserializeBinary(new Uint8Array(buffer_arg));
105
+ }
106
+
107
+ function serialize_UpdateCurrencyExchangeRateResponse(arg) {
108
+ if (!(arg instanceof prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.UpdateCurrencyExchangeRateResponse)) {
109
+ throw new Error('Expected argument of type UpdateCurrencyExchangeRateResponse');
110
+ }
111
+ return Buffer.from(arg.serializeBinary());
112
+ }
113
+
114
+ function deserialize_UpdateCurrencyExchangeRateResponse(buffer_arg) {
115
+ return prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.UpdateCurrencyExchangeRateResponse.deserializeBinary(new Uint8Array(buffer_arg));
116
+ }
117
+
118
+
119
+ // CurrencyExchangeRate master data (PRISCA-68): manual FX rate per currency
120
+ // terhadap IDR, dipakai untuk konversi TotalNetAmount sebelum evaluasi criteria
121
+ // approval by total-net-amount. Rate efektif = valid_from terbaru <= waktu evaluasi.
122
+ var CurrencyExchangeRateServiceService = exports.CurrencyExchangeRateServiceService = {
123
+ createCurrencyExchangeRate: {
124
+ path: '/CurrencyExchangeRateService/CreateCurrencyExchangeRate',
125
+ requestStream: false,
126
+ responseStream: false,
127
+ requestType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.CreateCurrencyExchangeRateRequest,
128
+ responseType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.CreateCurrencyExchangeRateResponse,
129
+ requestSerialize: serialize_CreateCurrencyExchangeRateRequest,
130
+ requestDeserialize: deserialize_CreateCurrencyExchangeRateRequest,
131
+ responseSerialize: serialize_CreateCurrencyExchangeRateResponse,
132
+ responseDeserialize: deserialize_CreateCurrencyExchangeRateResponse,
133
+ },
134
+ getCurrencyExchangeRateById: {
135
+ path: '/CurrencyExchangeRateService/GetCurrencyExchangeRateById',
136
+ requestStream: false,
137
+ responseStream: false,
138
+ requestType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetCurrencyExchangeRateByIdRequest,
139
+ responseType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetCurrencyExchangeRateByIdResponse,
140
+ requestSerialize: serialize_GetCurrencyExchangeRateByIdRequest,
141
+ requestDeserialize: deserialize_GetCurrencyExchangeRateByIdRequest,
142
+ responseSerialize: serialize_GetCurrencyExchangeRateByIdResponse,
143
+ responseDeserialize: deserialize_GetCurrencyExchangeRateByIdResponse,
144
+ },
145
+ updateCurrencyExchangeRate: {
146
+ path: '/CurrencyExchangeRateService/UpdateCurrencyExchangeRate',
147
+ requestStream: false,
148
+ responseStream: false,
149
+ requestType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.UpdateCurrencyExchangeRateRequest,
150
+ responseType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.UpdateCurrencyExchangeRateResponse,
151
+ requestSerialize: serialize_UpdateCurrencyExchangeRateRequest,
152
+ requestDeserialize: deserialize_UpdateCurrencyExchangeRateRequest,
153
+ responseSerialize: serialize_UpdateCurrencyExchangeRateResponse,
154
+ responseDeserialize: deserialize_UpdateCurrencyExchangeRateResponse,
155
+ },
156
+ deleteCurrencyExchangeRate: {
157
+ path: '/CurrencyExchangeRateService/DeleteCurrencyExchangeRate',
158
+ requestStream: false,
159
+ responseStream: false,
160
+ requestType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.DeleteCurrencyExchangeRateRequest,
161
+ responseType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.DeleteCurrencyExchangeRateResponse,
162
+ requestSerialize: serialize_DeleteCurrencyExchangeRateRequest,
163
+ requestDeserialize: deserialize_DeleteCurrencyExchangeRateRequest,
164
+ responseSerialize: serialize_DeleteCurrencyExchangeRateResponse,
165
+ responseDeserialize: deserialize_DeleteCurrencyExchangeRateResponse,
166
+ },
167
+ getListCurrencyExchangeRate: {
168
+ path: '/CurrencyExchangeRateService/GetListCurrencyExchangeRate',
169
+ requestStream: false,
170
+ responseStream: false,
171
+ requestType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetListCurrencyExchangeRateRequest,
172
+ responseType: prisca_v1_core_currency_exchange_rate_currency_exchange_rate_pb.GetListCurrencyExchangeRateResponse,
173
+ requestSerialize: serialize_GetListCurrencyExchangeRateRequest,
174
+ requestDeserialize: deserialize_GetListCurrencyExchangeRateRequest,
175
+ responseSerialize: serialize_GetListCurrencyExchangeRateResponse,
176
+ responseDeserialize: deserialize_GetListCurrencyExchangeRateResponse,
177
+ },
178
+ };
179
+
180
+ exports.CurrencyExchangeRateServiceClient = grpc.makeGenericClientConstructor(CurrencyExchangeRateServiceService, 'CurrencyExchangeRateService');