@stashfin/grpc 1.2.388 → 1.2.390

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": "@stashfin/grpc",
3
- "version": "1.2.388",
3
+ "version": "1.2.390",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -10,6 +10,7 @@ export interface request {
10
10
  customer_bank_details: request_bank_details[];
11
11
  loan_id?: string | undefined;
12
12
  mode: string;
13
+ transfer_destination?: string | undefined;
13
14
  }
14
15
  export interface request_bank_details {
15
16
  account_no: string;
@@ -23,6 +23,7 @@ function createBaserequest() {
23
23
  customer_bank_details: [],
24
24
  loan_id: undefined,
25
25
  mode: "",
26
+ transfer_destination: undefined,
26
27
  };
27
28
  }
28
29
  exports.request = {
@@ -54,6 +55,9 @@ exports.request = {
54
55
  if (message.mode !== "") {
55
56
  writer.uint32(74).string(message.mode);
56
57
  }
58
+ if (message.transfer_destination !== undefined) {
59
+ writer.uint32(82).string(message.transfer_destination);
60
+ }
57
61
  return writer;
58
62
  },
59
63
  decode(input, length) {
@@ -117,6 +121,12 @@ exports.request = {
117
121
  }
118
122
  message.mode = reader.string();
119
123
  continue;
124
+ case 10:
125
+ if (tag !== 82) {
126
+ break;
127
+ }
128
+ message.transfer_destination = reader.string();
129
+ continue;
120
130
  }
121
131
  if ((tag & 7) === 4 || tag === 0) {
122
132
  break;
@@ -138,6 +148,9 @@ exports.request = {
138
148
  : [],
139
149
  loan_id: isSet(object.loan_id) ? globalThis.String(object.loan_id) : undefined,
140
150
  mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
151
+ transfer_destination: isSet(object.transfer_destination)
152
+ ? globalThis.String(object.transfer_destination)
153
+ : undefined,
141
154
  };
142
155
  },
143
156
  toJSON(message) {
@@ -169,6 +182,9 @@ exports.request = {
169
182
  if (message.mode !== "") {
170
183
  obj.mode = message.mode;
171
184
  }
185
+ if (message.transfer_destination !== undefined) {
186
+ obj.transfer_destination = message.transfer_destination;
187
+ }
172
188
  return obj;
173
189
  },
174
190
  create(base) {
@@ -185,6 +201,7 @@ exports.request = {
185
201
  message.customer_bank_details = object.customer_bank_details?.map((e) => exports.request_bank_details.fromPartial(e)) || [];
186
202
  message.loan_id = object.loan_id ?? undefined;
187
203
  message.mode = object.mode ?? "";
204
+ message.transfer_destination = object.transfer_destination ?? undefined;
188
205
  return message;
189
206
  },
190
207
  };