@alexochihua/protos 1.0.29 → 1.0.32

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.
@@ -15,7 +15,39 @@ const pagination_1 = require("../../common/v1/pagination");
15
15
  const payments_methods_types_1 = require("./payments_methods_types");
16
16
  exports.protobufPackage = "kapital.payments_methods.v1";
17
17
  function createBaseGetCardInventoryRequest() {
18
- return { page_request: undefined, q: "", status: "", brand: "", card_type: "", branch_id: "", bin: "" };
18
+ return {
19
+ page_request: undefined,
20
+ q: "",
21
+ status: "",
22
+ brand: "",
23
+ card_type: "",
24
+ branch_id: "",
25
+ bin: "",
26
+ card_number: "",
27
+ product: "",
28
+ client_name: "",
29
+ customer_name: "",
30
+ creation_shipping_address: "",
31
+ status_thales: "",
32
+ manufacturer_status: "",
33
+ branch: "",
34
+ id: "",
35
+ id_long: "",
36
+ batch_id: "",
37
+ created_at_from: "",
38
+ created_at_to: "",
39
+ creation_date_from: "",
40
+ creation_date_to: "",
41
+ start_date: "",
42
+ end_date: "",
43
+ creation_date: "",
44
+ expiration_date_from: "",
45
+ expiration_date_to: "",
46
+ expiration_date: "",
47
+ updated_at_from: "",
48
+ updated_at_to: "",
49
+ status_value: "",
50
+ };
19
51
  }
20
52
  exports.GetCardInventoryRequest = {
21
53
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -40,6 +72,78 @@ exports.GetCardInventoryRequest = {
40
72
  if (message.bin !== "") {
41
73
  writer.uint32(58).string(message.bin);
42
74
  }
75
+ if (message.card_number !== "") {
76
+ writer.uint32(66).string(message.card_number);
77
+ }
78
+ if (message.product !== "") {
79
+ writer.uint32(74).string(message.product);
80
+ }
81
+ if (message.client_name !== "") {
82
+ writer.uint32(82).string(message.client_name);
83
+ }
84
+ if (message.customer_name !== "") {
85
+ writer.uint32(90).string(message.customer_name);
86
+ }
87
+ if (message.creation_shipping_address !== "") {
88
+ writer.uint32(98).string(message.creation_shipping_address);
89
+ }
90
+ if (message.status_thales !== "") {
91
+ writer.uint32(106).string(message.status_thales);
92
+ }
93
+ if (message.manufacturer_status !== "") {
94
+ writer.uint32(114).string(message.manufacturer_status);
95
+ }
96
+ if (message.branch !== "") {
97
+ writer.uint32(122).string(message.branch);
98
+ }
99
+ if (message.id !== "") {
100
+ writer.uint32(130).string(message.id);
101
+ }
102
+ if (message.id_long !== "") {
103
+ writer.uint32(138).string(message.id_long);
104
+ }
105
+ if (message.batch_id !== "") {
106
+ writer.uint32(146).string(message.batch_id);
107
+ }
108
+ if (message.created_at_from !== "") {
109
+ writer.uint32(154).string(message.created_at_from);
110
+ }
111
+ if (message.created_at_to !== "") {
112
+ writer.uint32(162).string(message.created_at_to);
113
+ }
114
+ if (message.creation_date_from !== "") {
115
+ writer.uint32(170).string(message.creation_date_from);
116
+ }
117
+ if (message.creation_date_to !== "") {
118
+ writer.uint32(178).string(message.creation_date_to);
119
+ }
120
+ if (message.start_date !== "") {
121
+ writer.uint32(186).string(message.start_date);
122
+ }
123
+ if (message.end_date !== "") {
124
+ writer.uint32(194).string(message.end_date);
125
+ }
126
+ if (message.creation_date !== "") {
127
+ writer.uint32(202).string(message.creation_date);
128
+ }
129
+ if (message.expiration_date_from !== "") {
130
+ writer.uint32(210).string(message.expiration_date_from);
131
+ }
132
+ if (message.expiration_date_to !== "") {
133
+ writer.uint32(218).string(message.expiration_date_to);
134
+ }
135
+ if (message.expiration_date !== "") {
136
+ writer.uint32(226).string(message.expiration_date);
137
+ }
138
+ if (message.updated_at_from !== "") {
139
+ writer.uint32(234).string(message.updated_at_from);
140
+ }
141
+ if (message.updated_at_to !== "") {
142
+ writer.uint32(242).string(message.updated_at_to);
143
+ }
144
+ if (message.status_value !== "") {
145
+ writer.uint32(250).string(message.status_value);
146
+ }
43
147
  return writer;
44
148
  },
45
149
  decode(input, length) {
@@ -98,6 +202,174 @@ exports.GetCardInventoryRequest = {
98
202
  message.bin = reader.string();
99
203
  continue;
100
204
  }
205
+ case 8: {
206
+ if (tag !== 66) {
207
+ break;
208
+ }
209
+ message.card_number = reader.string();
210
+ continue;
211
+ }
212
+ case 9: {
213
+ if (tag !== 74) {
214
+ break;
215
+ }
216
+ message.product = reader.string();
217
+ continue;
218
+ }
219
+ case 10: {
220
+ if (tag !== 82) {
221
+ break;
222
+ }
223
+ message.client_name = reader.string();
224
+ continue;
225
+ }
226
+ case 11: {
227
+ if (tag !== 90) {
228
+ break;
229
+ }
230
+ message.customer_name = reader.string();
231
+ continue;
232
+ }
233
+ case 12: {
234
+ if (tag !== 98) {
235
+ break;
236
+ }
237
+ message.creation_shipping_address = reader.string();
238
+ continue;
239
+ }
240
+ case 13: {
241
+ if (tag !== 106) {
242
+ break;
243
+ }
244
+ message.status_thales = reader.string();
245
+ continue;
246
+ }
247
+ case 14: {
248
+ if (tag !== 114) {
249
+ break;
250
+ }
251
+ message.manufacturer_status = reader.string();
252
+ continue;
253
+ }
254
+ case 15: {
255
+ if (tag !== 122) {
256
+ break;
257
+ }
258
+ message.branch = reader.string();
259
+ continue;
260
+ }
261
+ case 16: {
262
+ if (tag !== 130) {
263
+ break;
264
+ }
265
+ message.id = reader.string();
266
+ continue;
267
+ }
268
+ case 17: {
269
+ if (tag !== 138) {
270
+ break;
271
+ }
272
+ message.id_long = reader.string();
273
+ continue;
274
+ }
275
+ case 18: {
276
+ if (tag !== 146) {
277
+ break;
278
+ }
279
+ message.batch_id = reader.string();
280
+ continue;
281
+ }
282
+ case 19: {
283
+ if (tag !== 154) {
284
+ break;
285
+ }
286
+ message.created_at_from = reader.string();
287
+ continue;
288
+ }
289
+ case 20: {
290
+ if (tag !== 162) {
291
+ break;
292
+ }
293
+ message.created_at_to = reader.string();
294
+ continue;
295
+ }
296
+ case 21: {
297
+ if (tag !== 170) {
298
+ break;
299
+ }
300
+ message.creation_date_from = reader.string();
301
+ continue;
302
+ }
303
+ case 22: {
304
+ if (tag !== 178) {
305
+ break;
306
+ }
307
+ message.creation_date_to = reader.string();
308
+ continue;
309
+ }
310
+ case 23: {
311
+ if (tag !== 186) {
312
+ break;
313
+ }
314
+ message.start_date = reader.string();
315
+ continue;
316
+ }
317
+ case 24: {
318
+ if (tag !== 194) {
319
+ break;
320
+ }
321
+ message.end_date = reader.string();
322
+ continue;
323
+ }
324
+ case 25: {
325
+ if (tag !== 202) {
326
+ break;
327
+ }
328
+ message.creation_date = reader.string();
329
+ continue;
330
+ }
331
+ case 26: {
332
+ if (tag !== 210) {
333
+ break;
334
+ }
335
+ message.expiration_date_from = reader.string();
336
+ continue;
337
+ }
338
+ case 27: {
339
+ if (tag !== 218) {
340
+ break;
341
+ }
342
+ message.expiration_date_to = reader.string();
343
+ continue;
344
+ }
345
+ case 28: {
346
+ if (tag !== 226) {
347
+ break;
348
+ }
349
+ message.expiration_date = reader.string();
350
+ continue;
351
+ }
352
+ case 29: {
353
+ if (tag !== 234) {
354
+ break;
355
+ }
356
+ message.updated_at_from = reader.string();
357
+ continue;
358
+ }
359
+ case 30: {
360
+ if (tag !== 242) {
361
+ break;
362
+ }
363
+ message.updated_at_to = reader.string();
364
+ continue;
365
+ }
366
+ case 31: {
367
+ if (tag !== 250) {
368
+ break;
369
+ }
370
+ message.status_value = reader.string();
371
+ continue;
372
+ }
101
373
  }
102
374
  if ((tag & 7) === 4 || tag === 0) {
103
375
  break;
@@ -120,6 +392,30 @@ exports.GetCardInventoryRequest = {
120
392
  message.card_type = object.card_type ?? "";
121
393
  message.branch_id = object.branch_id ?? "";
122
394
  message.bin = object.bin ?? "";
395
+ message.card_number = object.card_number ?? "";
396
+ message.product = object.product ?? "";
397
+ message.client_name = object.client_name ?? "";
398
+ message.customer_name = object.customer_name ?? "";
399
+ message.creation_shipping_address = object.creation_shipping_address ?? "";
400
+ message.status_thales = object.status_thales ?? "";
401
+ message.manufacturer_status = object.manufacturer_status ?? "";
402
+ message.branch = object.branch ?? "";
403
+ message.id = object.id ?? "";
404
+ message.id_long = object.id_long ?? "";
405
+ message.batch_id = object.batch_id ?? "";
406
+ message.created_at_from = object.created_at_from ?? "";
407
+ message.created_at_to = object.created_at_to ?? "";
408
+ message.creation_date_from = object.creation_date_from ?? "";
409
+ message.creation_date_to = object.creation_date_to ?? "";
410
+ message.start_date = object.start_date ?? "";
411
+ message.end_date = object.end_date ?? "";
412
+ message.creation_date = object.creation_date ?? "";
413
+ message.expiration_date_from = object.expiration_date_from ?? "";
414
+ message.expiration_date_to = object.expiration_date_to ?? "";
415
+ message.expiration_date = object.expiration_date ?? "";
416
+ message.updated_at_from = object.updated_at_from ?? "";
417
+ message.updated_at_to = object.updated_at_to ?? "";
418
+ message.status_value = object.status_value ?? "";
123
419
  return message;
124
420
  },
125
421
  };
@@ -763,6 +1059,19 @@ function createBaseGetManufacturingBatchesRequest() {
763
1059
  client: "",
764
1060
  generation_date: "",
765
1061
  id_batch: "",
1062
+ generation_date_from: "",
1063
+ generation_date_to: "",
1064
+ initial_bin: "",
1065
+ final_bin: "",
1066
+ created_from: "",
1067
+ created_to: "",
1068
+ quantity: 0,
1069
+ batch_status: "",
1070
+ status_value: "",
1071
+ status_label: "",
1072
+ id: "",
1073
+ priority_label: "",
1074
+ priority_value: "",
766
1075
  };
767
1076
  }
768
1077
  exports.GetManufacturingBatchesRequest = {
@@ -800,6 +1109,45 @@ exports.GetManufacturingBatchesRequest = {
800
1109
  if (message.id_batch !== "") {
801
1110
  writer.uint32(90).string(message.id_batch);
802
1111
  }
1112
+ if (message.generation_date_from !== "") {
1113
+ writer.uint32(98).string(message.generation_date_from);
1114
+ }
1115
+ if (message.generation_date_to !== "") {
1116
+ writer.uint32(106).string(message.generation_date_to);
1117
+ }
1118
+ if (message.initial_bin !== "") {
1119
+ writer.uint32(114).string(message.initial_bin);
1120
+ }
1121
+ if (message.final_bin !== "") {
1122
+ writer.uint32(122).string(message.final_bin);
1123
+ }
1124
+ if (message.created_from !== "") {
1125
+ writer.uint32(130).string(message.created_from);
1126
+ }
1127
+ if (message.created_to !== "") {
1128
+ writer.uint32(138).string(message.created_to);
1129
+ }
1130
+ if (message.quantity !== 0) {
1131
+ writer.uint32(144).int32(message.quantity);
1132
+ }
1133
+ if (message.batch_status !== "") {
1134
+ writer.uint32(154).string(message.batch_status);
1135
+ }
1136
+ if (message.status_value !== "") {
1137
+ writer.uint32(162).string(message.status_value);
1138
+ }
1139
+ if (message.status_label !== "") {
1140
+ writer.uint32(170).string(message.status_label);
1141
+ }
1142
+ if (message.id !== "") {
1143
+ writer.uint32(178).string(message.id);
1144
+ }
1145
+ if (message.priority_label !== "") {
1146
+ writer.uint32(186).string(message.priority_label);
1147
+ }
1148
+ if (message.priority_value !== "") {
1149
+ writer.uint32(194).string(message.priority_value);
1150
+ }
803
1151
  return writer;
804
1152
  },
805
1153
  decode(input, length) {
@@ -886,6 +1234,97 @@ exports.GetManufacturingBatchesRequest = {
886
1234
  message.id_batch = reader.string();
887
1235
  continue;
888
1236
  }
1237
+ case 12: {
1238
+ if (tag !== 98) {
1239
+ break;
1240
+ }
1241
+ message.generation_date_from = reader.string();
1242
+ continue;
1243
+ }
1244
+ case 13: {
1245
+ if (tag !== 106) {
1246
+ break;
1247
+ }
1248
+ message.generation_date_to = reader.string();
1249
+ continue;
1250
+ }
1251
+ case 14: {
1252
+ if (tag !== 114) {
1253
+ break;
1254
+ }
1255
+ message.initial_bin = reader.string();
1256
+ continue;
1257
+ }
1258
+ case 15: {
1259
+ if (tag !== 122) {
1260
+ break;
1261
+ }
1262
+ message.final_bin = reader.string();
1263
+ continue;
1264
+ }
1265
+ case 16: {
1266
+ if (tag !== 130) {
1267
+ break;
1268
+ }
1269
+ message.created_from = reader.string();
1270
+ continue;
1271
+ }
1272
+ case 17: {
1273
+ if (tag !== 138) {
1274
+ break;
1275
+ }
1276
+ message.created_to = reader.string();
1277
+ continue;
1278
+ }
1279
+ case 18: {
1280
+ if (tag !== 144) {
1281
+ break;
1282
+ }
1283
+ message.quantity = reader.int32();
1284
+ continue;
1285
+ }
1286
+ case 19: {
1287
+ if (tag !== 154) {
1288
+ break;
1289
+ }
1290
+ message.batch_status = reader.string();
1291
+ continue;
1292
+ }
1293
+ case 20: {
1294
+ if (tag !== 162) {
1295
+ break;
1296
+ }
1297
+ message.status_value = reader.string();
1298
+ continue;
1299
+ }
1300
+ case 21: {
1301
+ if (tag !== 170) {
1302
+ break;
1303
+ }
1304
+ message.status_label = reader.string();
1305
+ continue;
1306
+ }
1307
+ case 22: {
1308
+ if (tag !== 178) {
1309
+ break;
1310
+ }
1311
+ message.id = reader.string();
1312
+ continue;
1313
+ }
1314
+ case 23: {
1315
+ if (tag !== 186) {
1316
+ break;
1317
+ }
1318
+ message.priority_label = reader.string();
1319
+ continue;
1320
+ }
1321
+ case 24: {
1322
+ if (tag !== 194) {
1323
+ break;
1324
+ }
1325
+ message.priority_value = reader.string();
1326
+ continue;
1327
+ }
889
1328
  }
890
1329
  if ((tag & 7) === 4 || tag === 0) {
891
1330
  break;
@@ -912,6 +1351,19 @@ exports.GetManufacturingBatchesRequest = {
912
1351
  message.client = object.client ?? "";
913
1352
  message.generation_date = object.generation_date ?? "";
914
1353
  message.id_batch = object.id_batch ?? "";
1354
+ message.generation_date_from = object.generation_date_from ?? "";
1355
+ message.generation_date_to = object.generation_date_to ?? "";
1356
+ message.initial_bin = object.initial_bin ?? "";
1357
+ message.final_bin = object.final_bin ?? "";
1358
+ message.created_from = object.created_from ?? "";
1359
+ message.created_to = object.created_to ?? "";
1360
+ message.quantity = object.quantity ?? 0;
1361
+ message.batch_status = object.batch_status ?? "";
1362
+ message.status_value = object.status_value ?? "";
1363
+ message.status_label = object.status_label ?? "";
1364
+ message.id = object.id ?? "";
1365
+ message.priority_label = object.priority_label ?? "";
1366
+ message.priority_value = object.priority_value ?? "";
915
1367
  return message;
916
1368
  },
917
1369
  };