@alexochihua/protos 1.0.30 → 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.
- package/dist/generated/kapital/contracts/v1/contracts.d.ts +0 -4
- package/dist/generated/kapital/contracts/v1/contracts.js +110 -158
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/customers/v1/customers.d.ts +2 -0
- package/dist/generated/kapital/customers/v1/customers.js +24 -0
- package/dist/generated/kapital/customers/v1/customers.js.map +1 -1
- package/dist/generated/kapital/customers/v1/customers_types.d.ts +25 -16
- package/dist/generated/kapital/customers/v1/customers_types.js +172 -97
- package/dist/generated/kapital/customers/v1/customers_types.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.d.ts +13 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js +156 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js.map +1 -1
- package/package.json +1 -1
- package/proto/kapital/contracts/v1/contracts.proto +50 -56
- package/proto/kapital/customers/v1/customers.proto +2 -0
- package/proto/kapital/customers/v1/customers_types.proto +28 -18
- package/proto/kapital/payments_methods/v1/payments_methods.proto +13 -0
|
@@ -33,13 +33,11 @@ function createBaseCreateContractRequest() {
|
|
|
33
33
|
income_source: "",
|
|
34
34
|
curp: "",
|
|
35
35
|
rfc: "",
|
|
36
|
-
external_customer_id: undefined,
|
|
37
36
|
product_key: "",
|
|
38
37
|
product_type: "",
|
|
39
38
|
load_amount: "",
|
|
40
39
|
load_amount_physical: undefined,
|
|
41
40
|
load_type: undefined,
|
|
42
|
-
primary_account: undefined,
|
|
43
41
|
funding_account_number: undefined,
|
|
44
42
|
shared_balance: undefined,
|
|
45
43
|
authorized_user: undefined,
|
|
@@ -121,86 +119,80 @@ exports.CreateContractRequest = {
|
|
|
121
119
|
if (message.rfc !== "") {
|
|
122
120
|
writer.uint32(154).string(message.rfc);
|
|
123
121
|
}
|
|
124
|
-
if (message.external_customer_id !== undefined) {
|
|
125
|
-
writer.uint32(162).string(message.external_customer_id);
|
|
126
|
-
}
|
|
127
122
|
if (message.product_key !== "") {
|
|
128
|
-
writer.uint32(
|
|
123
|
+
writer.uint32(162).string(message.product_key);
|
|
129
124
|
}
|
|
130
125
|
if (message.product_type !== "") {
|
|
131
|
-
writer.uint32(
|
|
126
|
+
writer.uint32(170).string(message.product_type);
|
|
132
127
|
}
|
|
133
128
|
if (message.load_amount !== "") {
|
|
134
|
-
writer.uint32(
|
|
129
|
+
writer.uint32(178).string(message.load_amount);
|
|
135
130
|
}
|
|
136
131
|
if (message.load_amount_physical !== undefined) {
|
|
137
|
-
writer.uint32(
|
|
132
|
+
writer.uint32(186).string(message.load_amount_physical);
|
|
138
133
|
}
|
|
139
134
|
if (message.load_type !== undefined) {
|
|
140
|
-
writer.uint32(
|
|
141
|
-
}
|
|
142
|
-
if (message.primary_account !== undefined) {
|
|
143
|
-
writer.uint32(210).string(message.primary_account);
|
|
135
|
+
writer.uint32(194).string(message.load_type);
|
|
144
136
|
}
|
|
145
137
|
if (message.funding_account_number !== undefined) {
|
|
146
|
-
writer.uint32(
|
|
138
|
+
writer.uint32(202).string(message.funding_account_number);
|
|
147
139
|
}
|
|
148
140
|
if (message.shared_balance !== undefined) {
|
|
149
|
-
writer.uint32(
|
|
141
|
+
writer.uint32(208).int32(message.shared_balance);
|
|
150
142
|
}
|
|
151
143
|
if (message.authorized_user !== undefined) {
|
|
152
|
-
writer.uint32(
|
|
144
|
+
writer.uint32(218).string(message.authorized_user);
|
|
153
145
|
}
|
|
154
146
|
if (message.user_data !== undefined) {
|
|
155
|
-
writer.uint32(
|
|
147
|
+
writer.uint32(226).string(message.user_data);
|
|
156
148
|
}
|
|
157
149
|
if (message.offline !== undefined) {
|
|
158
|
-
writer.uint32(
|
|
150
|
+
writer.uint32(234).string(message.offline);
|
|
159
151
|
}
|
|
160
152
|
if (message.verify_only !== undefined) {
|
|
161
|
-
writer.uint32(
|
|
153
|
+
writer.uint32(240).int32(message.verify_only);
|
|
162
154
|
}
|
|
163
155
|
if (message.cip_status !== undefined) {
|
|
164
|
-
writer.uint32(
|
|
156
|
+
writer.uint32(250).string(message.cip_status);
|
|
165
157
|
}
|
|
166
158
|
if (message.emboss_line_2 !== undefined) {
|
|
167
|
-
writer.uint32(
|
|
159
|
+
writer.uint32(258).string(message.emboss_line_2);
|
|
168
160
|
}
|
|
169
161
|
if (message.provider_assessed_fee !== undefined) {
|
|
170
|
-
writer.uint32(
|
|
162
|
+
writer.uint32(265).double(message.provider_assessed_fee);
|
|
171
163
|
}
|
|
172
164
|
if (message.load_from_account !== undefined) {
|
|
173
|
-
writer.uint32(
|
|
165
|
+
writer.uint32(274).string(message.load_from_account);
|
|
174
166
|
}
|
|
175
167
|
if (message.sweep_date !== undefined) {
|
|
176
|
-
writer.uint32(
|
|
168
|
+
writer.uint32(282).string(message.sweep_date);
|
|
177
169
|
}
|
|
178
170
|
if (message.express_mail !== undefined) {
|
|
179
|
-
writer.uint32(
|
|
171
|
+
writer.uint32(290).string(message.express_mail);
|
|
180
172
|
}
|
|
181
173
|
if (message.ship_adress_permanent !== undefined) {
|
|
182
|
-
writer.uint32(
|
|
174
|
+
writer.uint32(298).string(message.ship_adress_permanent);
|
|
183
175
|
}
|
|
184
176
|
if (message.ship_adress_1 !== undefined) {
|
|
185
|
-
writer.uint32(
|
|
177
|
+
writer.uint32(306).string(message.ship_adress_1);
|
|
186
178
|
}
|
|
187
179
|
if (message.ship_adress_2 !== undefined) {
|
|
188
|
-
writer.uint32(
|
|
180
|
+
writer.uint32(314).string(message.ship_adress_2);
|
|
189
181
|
}
|
|
190
182
|
if (message.shitp_city !== undefined) {
|
|
191
|
-
writer.uint32(
|
|
183
|
+
writer.uint32(322).string(message.shitp_city);
|
|
192
184
|
}
|
|
193
185
|
if (message.ship_state !== undefined) {
|
|
194
|
-
writer.uint32(
|
|
186
|
+
writer.uint32(330).string(message.ship_state);
|
|
195
187
|
}
|
|
196
188
|
if (message.ship_zip !== undefined) {
|
|
197
|
-
writer.uint32(
|
|
189
|
+
writer.uint32(338).string(message.ship_zip);
|
|
198
190
|
}
|
|
199
191
|
if (message.ship_country_code !== undefined) {
|
|
200
|
-
writer.uint32(
|
|
192
|
+
writer.uint32(346).string(message.ship_country_code);
|
|
201
193
|
}
|
|
202
194
|
if (message.business_name !== undefined) {
|
|
203
|
-
writer.uint32(
|
|
195
|
+
writer.uint32(354).string(message.business_name);
|
|
204
196
|
}
|
|
205
197
|
return writer;
|
|
206
198
|
},
|
|
@@ -348,188 +340,174 @@ exports.CreateContractRequest = {
|
|
|
348
340
|
if (tag !== 162) {
|
|
349
341
|
break;
|
|
350
342
|
}
|
|
351
|
-
message.
|
|
343
|
+
message.product_key = reader.string();
|
|
352
344
|
continue;
|
|
353
345
|
}
|
|
354
346
|
case 21: {
|
|
355
347
|
if (tag !== 170) {
|
|
356
348
|
break;
|
|
357
349
|
}
|
|
358
|
-
message.
|
|
350
|
+
message.product_type = reader.string();
|
|
359
351
|
continue;
|
|
360
352
|
}
|
|
361
353
|
case 22: {
|
|
362
354
|
if (tag !== 178) {
|
|
363
355
|
break;
|
|
364
356
|
}
|
|
365
|
-
message.
|
|
357
|
+
message.load_amount = reader.string();
|
|
366
358
|
continue;
|
|
367
359
|
}
|
|
368
360
|
case 23: {
|
|
369
361
|
if (tag !== 186) {
|
|
370
362
|
break;
|
|
371
363
|
}
|
|
372
|
-
message.
|
|
364
|
+
message.load_amount_physical = reader.string();
|
|
373
365
|
continue;
|
|
374
366
|
}
|
|
375
367
|
case 24: {
|
|
376
368
|
if (tag !== 194) {
|
|
377
369
|
break;
|
|
378
370
|
}
|
|
379
|
-
message.
|
|
371
|
+
message.load_type = reader.string();
|
|
380
372
|
continue;
|
|
381
373
|
}
|
|
382
374
|
case 25: {
|
|
383
375
|
if (tag !== 202) {
|
|
384
376
|
break;
|
|
385
377
|
}
|
|
386
|
-
message.
|
|
378
|
+
message.funding_account_number = reader.string();
|
|
387
379
|
continue;
|
|
388
380
|
}
|
|
389
381
|
case 26: {
|
|
390
|
-
if (tag !==
|
|
382
|
+
if (tag !== 208) {
|
|
391
383
|
break;
|
|
392
384
|
}
|
|
393
|
-
message.
|
|
385
|
+
message.shared_balance = reader.int32();
|
|
394
386
|
continue;
|
|
395
387
|
}
|
|
396
388
|
case 27: {
|
|
397
389
|
if (tag !== 218) {
|
|
398
390
|
break;
|
|
399
391
|
}
|
|
400
|
-
message.
|
|
392
|
+
message.authorized_user = reader.string();
|
|
401
393
|
continue;
|
|
402
394
|
}
|
|
403
395
|
case 28: {
|
|
404
|
-
if (tag !==
|
|
396
|
+
if (tag !== 226) {
|
|
405
397
|
break;
|
|
406
398
|
}
|
|
407
|
-
message.
|
|
399
|
+
message.user_data = reader.string();
|
|
408
400
|
continue;
|
|
409
401
|
}
|
|
410
402
|
case 29: {
|
|
411
403
|
if (tag !== 234) {
|
|
412
404
|
break;
|
|
413
405
|
}
|
|
414
|
-
message.
|
|
406
|
+
message.offline = reader.string();
|
|
415
407
|
continue;
|
|
416
408
|
}
|
|
417
409
|
case 30: {
|
|
418
|
-
if (tag !==
|
|
410
|
+
if (tag !== 240) {
|
|
419
411
|
break;
|
|
420
412
|
}
|
|
421
|
-
message.
|
|
413
|
+
message.verify_only = reader.int32();
|
|
422
414
|
continue;
|
|
423
415
|
}
|
|
424
416
|
case 31: {
|
|
425
417
|
if (tag !== 250) {
|
|
426
418
|
break;
|
|
427
419
|
}
|
|
428
|
-
message.
|
|
420
|
+
message.cip_status = reader.string();
|
|
429
421
|
continue;
|
|
430
422
|
}
|
|
431
423
|
case 32: {
|
|
432
|
-
if (tag !==
|
|
424
|
+
if (tag !== 258) {
|
|
433
425
|
break;
|
|
434
426
|
}
|
|
435
|
-
message.
|
|
427
|
+
message.emboss_line_2 = reader.string();
|
|
436
428
|
continue;
|
|
437
429
|
}
|
|
438
430
|
case 33: {
|
|
439
|
-
if (tag !==
|
|
431
|
+
if (tag !== 265) {
|
|
440
432
|
break;
|
|
441
433
|
}
|
|
442
|
-
message.
|
|
434
|
+
message.provider_assessed_fee = reader.double();
|
|
443
435
|
continue;
|
|
444
436
|
}
|
|
445
437
|
case 34: {
|
|
446
438
|
if (tag !== 274) {
|
|
447
439
|
break;
|
|
448
440
|
}
|
|
449
|
-
message.
|
|
441
|
+
message.load_from_account = reader.string();
|
|
450
442
|
continue;
|
|
451
443
|
}
|
|
452
444
|
case 35: {
|
|
453
|
-
if (tag !==
|
|
445
|
+
if (tag !== 282) {
|
|
454
446
|
break;
|
|
455
447
|
}
|
|
456
|
-
message.
|
|
448
|
+
message.sweep_date = reader.string();
|
|
457
449
|
continue;
|
|
458
450
|
}
|
|
459
451
|
case 36: {
|
|
460
452
|
if (tag !== 290) {
|
|
461
453
|
break;
|
|
462
454
|
}
|
|
463
|
-
message.
|
|
455
|
+
message.express_mail = reader.string();
|
|
464
456
|
continue;
|
|
465
457
|
}
|
|
466
458
|
case 37: {
|
|
467
459
|
if (tag !== 298) {
|
|
468
460
|
break;
|
|
469
461
|
}
|
|
470
|
-
message.
|
|
462
|
+
message.ship_adress_permanent = reader.string();
|
|
471
463
|
continue;
|
|
472
464
|
}
|
|
473
465
|
case 38: {
|
|
474
466
|
if (tag !== 306) {
|
|
475
467
|
break;
|
|
476
468
|
}
|
|
477
|
-
message.
|
|
469
|
+
message.ship_adress_1 = reader.string();
|
|
478
470
|
continue;
|
|
479
471
|
}
|
|
480
472
|
case 39: {
|
|
481
473
|
if (tag !== 314) {
|
|
482
474
|
break;
|
|
483
475
|
}
|
|
484
|
-
message.
|
|
476
|
+
message.ship_adress_2 = reader.string();
|
|
485
477
|
continue;
|
|
486
478
|
}
|
|
487
479
|
case 40: {
|
|
488
480
|
if (tag !== 322) {
|
|
489
481
|
break;
|
|
490
482
|
}
|
|
491
|
-
message.
|
|
483
|
+
message.shitp_city = reader.string();
|
|
492
484
|
continue;
|
|
493
485
|
}
|
|
494
486
|
case 41: {
|
|
495
487
|
if (tag !== 330) {
|
|
496
488
|
break;
|
|
497
489
|
}
|
|
498
|
-
message.
|
|
490
|
+
message.ship_state = reader.string();
|
|
499
491
|
continue;
|
|
500
492
|
}
|
|
501
493
|
case 42: {
|
|
502
494
|
if (tag !== 338) {
|
|
503
495
|
break;
|
|
504
496
|
}
|
|
505
|
-
message.
|
|
497
|
+
message.ship_zip = reader.string();
|
|
506
498
|
continue;
|
|
507
499
|
}
|
|
508
500
|
case 43: {
|
|
509
501
|
if (tag !== 346) {
|
|
510
502
|
break;
|
|
511
503
|
}
|
|
512
|
-
message.
|
|
504
|
+
message.ship_country_code = reader.string();
|
|
513
505
|
continue;
|
|
514
506
|
}
|
|
515
507
|
case 44: {
|
|
516
508
|
if (tag !== 354) {
|
|
517
509
|
break;
|
|
518
510
|
}
|
|
519
|
-
message.ship_zip = reader.string();
|
|
520
|
-
continue;
|
|
521
|
-
}
|
|
522
|
-
case 45: {
|
|
523
|
-
if (tag !== 362) {
|
|
524
|
-
break;
|
|
525
|
-
}
|
|
526
|
-
message.ship_country_code = reader.string();
|
|
527
|
-
continue;
|
|
528
|
-
}
|
|
529
|
-
case 46: {
|
|
530
|
-
if (tag !== 370) {
|
|
531
|
-
break;
|
|
532
|
-
}
|
|
533
511
|
message.business_name = reader.string();
|
|
534
512
|
continue;
|
|
535
513
|
}
|
|
@@ -565,13 +543,11 @@ exports.CreateContractRequest = {
|
|
|
565
543
|
message.income_source = object.income_source ?? "";
|
|
566
544
|
message.curp = object.curp ?? "";
|
|
567
545
|
message.rfc = object.rfc ?? "";
|
|
568
|
-
message.external_customer_id = object.external_customer_id ?? undefined;
|
|
569
546
|
message.product_key = object.product_key ?? "";
|
|
570
547
|
message.product_type = object.product_type ?? "";
|
|
571
548
|
message.load_amount = object.load_amount ?? "";
|
|
572
549
|
message.load_amount_physical = object.load_amount_physical ?? undefined;
|
|
573
550
|
message.load_type = object.load_type ?? undefined;
|
|
574
|
-
message.primary_account = object.primary_account ?? undefined;
|
|
575
551
|
message.funding_account_number = object.funding_account_number ?? undefined;
|
|
576
552
|
message.shared_balance = object.shared_balance ?? undefined;
|
|
577
553
|
message.authorized_user = object.authorized_user ?? undefined;
|
|
@@ -793,13 +769,11 @@ function createBaseCreatePhysicalCardContractRequest() {
|
|
|
793
769
|
income_source: "",
|
|
794
770
|
curp: "",
|
|
795
771
|
rfc: "",
|
|
796
|
-
external_customer_id: undefined,
|
|
797
772
|
product_key: "",
|
|
798
773
|
product_type: "",
|
|
799
774
|
load_amount: "",
|
|
800
775
|
load_amount_physical: undefined,
|
|
801
776
|
load_type: undefined,
|
|
802
|
-
primary_account: undefined,
|
|
803
777
|
funding_account_number: undefined,
|
|
804
778
|
shared_balance: undefined,
|
|
805
779
|
authorized_user: undefined,
|
|
@@ -881,86 +855,80 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
881
855
|
if (message.rfc !== "") {
|
|
882
856
|
writer.uint32(154).string(message.rfc);
|
|
883
857
|
}
|
|
884
|
-
if (message.external_customer_id !== undefined) {
|
|
885
|
-
writer.uint32(162).string(message.external_customer_id);
|
|
886
|
-
}
|
|
887
858
|
if (message.product_key !== "") {
|
|
888
|
-
writer.uint32(
|
|
859
|
+
writer.uint32(162).string(message.product_key);
|
|
889
860
|
}
|
|
890
861
|
if (message.product_type !== "") {
|
|
891
|
-
writer.uint32(
|
|
862
|
+
writer.uint32(170).string(message.product_type);
|
|
892
863
|
}
|
|
893
864
|
if (message.load_amount !== "") {
|
|
894
|
-
writer.uint32(
|
|
865
|
+
writer.uint32(178).string(message.load_amount);
|
|
895
866
|
}
|
|
896
867
|
if (message.load_amount_physical !== undefined) {
|
|
897
|
-
writer.uint32(
|
|
868
|
+
writer.uint32(186).string(message.load_amount_physical);
|
|
898
869
|
}
|
|
899
870
|
if (message.load_type !== undefined) {
|
|
900
|
-
writer.uint32(
|
|
901
|
-
}
|
|
902
|
-
if (message.primary_account !== undefined) {
|
|
903
|
-
writer.uint32(210).string(message.primary_account);
|
|
871
|
+
writer.uint32(194).string(message.load_type);
|
|
904
872
|
}
|
|
905
873
|
if (message.funding_account_number !== undefined) {
|
|
906
|
-
writer.uint32(
|
|
874
|
+
writer.uint32(202).string(message.funding_account_number);
|
|
907
875
|
}
|
|
908
876
|
if (message.shared_balance !== undefined) {
|
|
909
|
-
writer.uint32(
|
|
877
|
+
writer.uint32(208).int32(message.shared_balance);
|
|
910
878
|
}
|
|
911
879
|
if (message.authorized_user !== undefined) {
|
|
912
|
-
writer.uint32(
|
|
880
|
+
writer.uint32(218).string(message.authorized_user);
|
|
913
881
|
}
|
|
914
882
|
if (message.user_data !== undefined) {
|
|
915
|
-
writer.uint32(
|
|
883
|
+
writer.uint32(226).string(message.user_data);
|
|
916
884
|
}
|
|
917
885
|
if (message.offline !== undefined) {
|
|
918
|
-
writer.uint32(
|
|
886
|
+
writer.uint32(234).string(message.offline);
|
|
919
887
|
}
|
|
920
888
|
if (message.verify_only !== undefined) {
|
|
921
|
-
writer.uint32(
|
|
889
|
+
writer.uint32(240).int32(message.verify_only);
|
|
922
890
|
}
|
|
923
891
|
if (message.cip_status !== undefined) {
|
|
924
|
-
writer.uint32(
|
|
892
|
+
writer.uint32(250).string(message.cip_status);
|
|
925
893
|
}
|
|
926
894
|
if (message.emboss_line_2 !== undefined) {
|
|
927
|
-
writer.uint32(
|
|
895
|
+
writer.uint32(258).string(message.emboss_line_2);
|
|
928
896
|
}
|
|
929
897
|
if (message.provider_assessed_fee !== undefined) {
|
|
930
|
-
writer.uint32(
|
|
898
|
+
writer.uint32(265).double(message.provider_assessed_fee);
|
|
931
899
|
}
|
|
932
900
|
if (message.load_from_account !== undefined) {
|
|
933
|
-
writer.uint32(
|
|
901
|
+
writer.uint32(274).string(message.load_from_account);
|
|
934
902
|
}
|
|
935
903
|
if (message.sweep_date !== undefined) {
|
|
936
|
-
writer.uint32(
|
|
904
|
+
writer.uint32(282).string(message.sweep_date);
|
|
937
905
|
}
|
|
938
906
|
if (message.express_mail !== undefined) {
|
|
939
|
-
writer.uint32(
|
|
907
|
+
writer.uint32(290).string(message.express_mail);
|
|
940
908
|
}
|
|
941
909
|
if (message.ship_adress_permanent !== undefined) {
|
|
942
|
-
writer.uint32(
|
|
910
|
+
writer.uint32(298).string(message.ship_adress_permanent);
|
|
943
911
|
}
|
|
944
912
|
if (message.ship_adress_1 !== undefined) {
|
|
945
|
-
writer.uint32(
|
|
913
|
+
writer.uint32(306).string(message.ship_adress_1);
|
|
946
914
|
}
|
|
947
915
|
if (message.ship_adress_2 !== undefined) {
|
|
948
|
-
writer.uint32(
|
|
916
|
+
writer.uint32(314).string(message.ship_adress_2);
|
|
949
917
|
}
|
|
950
918
|
if (message.shitp_city !== undefined) {
|
|
951
|
-
writer.uint32(
|
|
919
|
+
writer.uint32(322).string(message.shitp_city);
|
|
952
920
|
}
|
|
953
921
|
if (message.ship_state !== undefined) {
|
|
954
|
-
writer.uint32(
|
|
922
|
+
writer.uint32(330).string(message.ship_state);
|
|
955
923
|
}
|
|
956
924
|
if (message.ship_zip !== undefined) {
|
|
957
|
-
writer.uint32(
|
|
925
|
+
writer.uint32(338).string(message.ship_zip);
|
|
958
926
|
}
|
|
959
927
|
if (message.ship_country_code !== undefined) {
|
|
960
|
-
writer.uint32(
|
|
928
|
+
writer.uint32(346).string(message.ship_country_code);
|
|
961
929
|
}
|
|
962
930
|
if (message.business_name !== undefined) {
|
|
963
|
-
writer.uint32(
|
|
931
|
+
writer.uint32(354).string(message.business_name);
|
|
964
932
|
}
|
|
965
933
|
return writer;
|
|
966
934
|
},
|
|
@@ -1108,188 +1076,174 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
1108
1076
|
if (tag !== 162) {
|
|
1109
1077
|
break;
|
|
1110
1078
|
}
|
|
1111
|
-
message.
|
|
1079
|
+
message.product_key = reader.string();
|
|
1112
1080
|
continue;
|
|
1113
1081
|
}
|
|
1114
1082
|
case 21: {
|
|
1115
1083
|
if (tag !== 170) {
|
|
1116
1084
|
break;
|
|
1117
1085
|
}
|
|
1118
|
-
message.
|
|
1086
|
+
message.product_type = reader.string();
|
|
1119
1087
|
continue;
|
|
1120
1088
|
}
|
|
1121
1089
|
case 22: {
|
|
1122
1090
|
if (tag !== 178) {
|
|
1123
1091
|
break;
|
|
1124
1092
|
}
|
|
1125
|
-
message.
|
|
1093
|
+
message.load_amount = reader.string();
|
|
1126
1094
|
continue;
|
|
1127
1095
|
}
|
|
1128
1096
|
case 23: {
|
|
1129
1097
|
if (tag !== 186) {
|
|
1130
1098
|
break;
|
|
1131
1099
|
}
|
|
1132
|
-
message.
|
|
1100
|
+
message.load_amount_physical = reader.string();
|
|
1133
1101
|
continue;
|
|
1134
1102
|
}
|
|
1135
1103
|
case 24: {
|
|
1136
1104
|
if (tag !== 194) {
|
|
1137
1105
|
break;
|
|
1138
1106
|
}
|
|
1139
|
-
message.
|
|
1107
|
+
message.load_type = reader.string();
|
|
1140
1108
|
continue;
|
|
1141
1109
|
}
|
|
1142
1110
|
case 25: {
|
|
1143
1111
|
if (tag !== 202) {
|
|
1144
1112
|
break;
|
|
1145
1113
|
}
|
|
1146
|
-
message.
|
|
1114
|
+
message.funding_account_number = reader.string();
|
|
1147
1115
|
continue;
|
|
1148
1116
|
}
|
|
1149
1117
|
case 26: {
|
|
1150
|
-
if (tag !==
|
|
1118
|
+
if (tag !== 208) {
|
|
1151
1119
|
break;
|
|
1152
1120
|
}
|
|
1153
|
-
message.
|
|
1121
|
+
message.shared_balance = reader.int32();
|
|
1154
1122
|
continue;
|
|
1155
1123
|
}
|
|
1156
1124
|
case 27: {
|
|
1157
1125
|
if (tag !== 218) {
|
|
1158
1126
|
break;
|
|
1159
1127
|
}
|
|
1160
|
-
message.
|
|
1128
|
+
message.authorized_user = reader.string();
|
|
1161
1129
|
continue;
|
|
1162
1130
|
}
|
|
1163
1131
|
case 28: {
|
|
1164
|
-
if (tag !==
|
|
1132
|
+
if (tag !== 226) {
|
|
1165
1133
|
break;
|
|
1166
1134
|
}
|
|
1167
|
-
message.
|
|
1135
|
+
message.user_data = reader.string();
|
|
1168
1136
|
continue;
|
|
1169
1137
|
}
|
|
1170
1138
|
case 29: {
|
|
1171
1139
|
if (tag !== 234) {
|
|
1172
1140
|
break;
|
|
1173
1141
|
}
|
|
1174
|
-
message.
|
|
1142
|
+
message.offline = reader.string();
|
|
1175
1143
|
continue;
|
|
1176
1144
|
}
|
|
1177
1145
|
case 30: {
|
|
1178
|
-
if (tag !==
|
|
1146
|
+
if (tag !== 240) {
|
|
1179
1147
|
break;
|
|
1180
1148
|
}
|
|
1181
|
-
message.
|
|
1149
|
+
message.verify_only = reader.int32();
|
|
1182
1150
|
continue;
|
|
1183
1151
|
}
|
|
1184
1152
|
case 31: {
|
|
1185
1153
|
if (tag !== 250) {
|
|
1186
1154
|
break;
|
|
1187
1155
|
}
|
|
1188
|
-
message.
|
|
1156
|
+
message.cip_status = reader.string();
|
|
1189
1157
|
continue;
|
|
1190
1158
|
}
|
|
1191
1159
|
case 32: {
|
|
1192
|
-
if (tag !==
|
|
1160
|
+
if (tag !== 258) {
|
|
1193
1161
|
break;
|
|
1194
1162
|
}
|
|
1195
|
-
message.
|
|
1163
|
+
message.emboss_line_2 = reader.string();
|
|
1196
1164
|
continue;
|
|
1197
1165
|
}
|
|
1198
1166
|
case 33: {
|
|
1199
|
-
if (tag !==
|
|
1167
|
+
if (tag !== 265) {
|
|
1200
1168
|
break;
|
|
1201
1169
|
}
|
|
1202
|
-
message.
|
|
1170
|
+
message.provider_assessed_fee = reader.double();
|
|
1203
1171
|
continue;
|
|
1204
1172
|
}
|
|
1205
1173
|
case 34: {
|
|
1206
1174
|
if (tag !== 274) {
|
|
1207
1175
|
break;
|
|
1208
1176
|
}
|
|
1209
|
-
message.
|
|
1177
|
+
message.load_from_account = reader.string();
|
|
1210
1178
|
continue;
|
|
1211
1179
|
}
|
|
1212
1180
|
case 35: {
|
|
1213
|
-
if (tag !==
|
|
1181
|
+
if (tag !== 282) {
|
|
1214
1182
|
break;
|
|
1215
1183
|
}
|
|
1216
|
-
message.
|
|
1184
|
+
message.sweep_date = reader.string();
|
|
1217
1185
|
continue;
|
|
1218
1186
|
}
|
|
1219
1187
|
case 36: {
|
|
1220
1188
|
if (tag !== 290) {
|
|
1221
1189
|
break;
|
|
1222
1190
|
}
|
|
1223
|
-
message.
|
|
1191
|
+
message.express_mail = reader.string();
|
|
1224
1192
|
continue;
|
|
1225
1193
|
}
|
|
1226
1194
|
case 37: {
|
|
1227
1195
|
if (tag !== 298) {
|
|
1228
1196
|
break;
|
|
1229
1197
|
}
|
|
1230
|
-
message.
|
|
1198
|
+
message.ship_adress_permanent = reader.string();
|
|
1231
1199
|
continue;
|
|
1232
1200
|
}
|
|
1233
1201
|
case 38: {
|
|
1234
1202
|
if (tag !== 306) {
|
|
1235
1203
|
break;
|
|
1236
1204
|
}
|
|
1237
|
-
message.
|
|
1205
|
+
message.ship_adress_1 = reader.string();
|
|
1238
1206
|
continue;
|
|
1239
1207
|
}
|
|
1240
1208
|
case 39: {
|
|
1241
1209
|
if (tag !== 314) {
|
|
1242
1210
|
break;
|
|
1243
1211
|
}
|
|
1244
|
-
message.
|
|
1212
|
+
message.ship_adress_2 = reader.string();
|
|
1245
1213
|
continue;
|
|
1246
1214
|
}
|
|
1247
1215
|
case 40: {
|
|
1248
1216
|
if (tag !== 322) {
|
|
1249
1217
|
break;
|
|
1250
1218
|
}
|
|
1251
|
-
message.
|
|
1219
|
+
message.shitp_city = reader.string();
|
|
1252
1220
|
continue;
|
|
1253
1221
|
}
|
|
1254
1222
|
case 41: {
|
|
1255
1223
|
if (tag !== 330) {
|
|
1256
1224
|
break;
|
|
1257
1225
|
}
|
|
1258
|
-
message.
|
|
1226
|
+
message.ship_state = reader.string();
|
|
1259
1227
|
continue;
|
|
1260
1228
|
}
|
|
1261
1229
|
case 42: {
|
|
1262
1230
|
if (tag !== 338) {
|
|
1263
1231
|
break;
|
|
1264
1232
|
}
|
|
1265
|
-
message.
|
|
1233
|
+
message.ship_zip = reader.string();
|
|
1266
1234
|
continue;
|
|
1267
1235
|
}
|
|
1268
1236
|
case 43: {
|
|
1269
1237
|
if (tag !== 346) {
|
|
1270
1238
|
break;
|
|
1271
1239
|
}
|
|
1272
|
-
message.
|
|
1240
|
+
message.ship_country_code = reader.string();
|
|
1273
1241
|
continue;
|
|
1274
1242
|
}
|
|
1275
1243
|
case 44: {
|
|
1276
1244
|
if (tag !== 354) {
|
|
1277
1245
|
break;
|
|
1278
1246
|
}
|
|
1279
|
-
message.ship_zip = reader.string();
|
|
1280
|
-
continue;
|
|
1281
|
-
}
|
|
1282
|
-
case 45: {
|
|
1283
|
-
if (tag !== 362) {
|
|
1284
|
-
break;
|
|
1285
|
-
}
|
|
1286
|
-
message.ship_country_code = reader.string();
|
|
1287
|
-
continue;
|
|
1288
|
-
}
|
|
1289
|
-
case 46: {
|
|
1290
|
-
if (tag !== 370) {
|
|
1291
|
-
break;
|
|
1292
|
-
}
|
|
1293
1247
|
message.business_name = reader.string();
|
|
1294
1248
|
continue;
|
|
1295
1249
|
}
|
|
@@ -1325,13 +1279,11 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
1325
1279
|
message.income_source = object.income_source ?? "";
|
|
1326
1280
|
message.curp = object.curp ?? "";
|
|
1327
1281
|
message.rfc = object.rfc ?? "";
|
|
1328
|
-
message.external_customer_id = object.external_customer_id ?? undefined;
|
|
1329
1282
|
message.product_key = object.product_key ?? "";
|
|
1330
1283
|
message.product_type = object.product_type ?? "";
|
|
1331
1284
|
message.load_amount = object.load_amount ?? "";
|
|
1332
1285
|
message.load_amount_physical = object.load_amount_physical ?? undefined;
|
|
1333
1286
|
message.load_type = object.load_type ?? undefined;
|
|
1334
|
-
message.primary_account = object.primary_account ?? undefined;
|
|
1335
1287
|
message.funding_account_number = object.funding_account_number ?? undefined;
|
|
1336
1288
|
message.shared_balance = object.shared_balance ?? undefined;
|
|
1337
1289
|
message.authorized_user = object.authorized_user ?? undefined;
|