@alexochihua/protos 1.0.29 → 1.0.30

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.
@@ -12,6 +12,30 @@ export interface GetCardInventoryRequest {
12
12
  card_type: string;
13
13
  branch_id: string;
14
14
  bin: string;
15
+ card_number: string;
16
+ product: string;
17
+ client_name: string;
18
+ customer_name: string;
19
+ creation_shipping_address: string;
20
+ status_thales: string;
21
+ manufacturer_status: string;
22
+ branch: string;
23
+ id: string;
24
+ id_long: string;
25
+ batch_id: string;
26
+ created_at_from: string;
27
+ created_at_to: string;
28
+ creation_date_from: string;
29
+ creation_date_to: string;
30
+ start_date: string;
31
+ end_date: string;
32
+ creation_date: string;
33
+ expiration_date_from: string;
34
+ expiration_date_to: string;
35
+ expiration_date: string;
36
+ updated_at_from: string;
37
+ updated_at_to: string;
38
+ status_value: string;
15
39
  }
16
40
  export interface GetCardInventoryResponse {
17
41
  meta: ResponseMeta | undefined;
@@ -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
  };