@alexochihua/protos 1.0.38 → 1.0.41
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/buf.gen.yaml +2 -2
- package/dist/generated/kapital/contracts/v1/contracts.d.ts +7 -31
- package/dist/generated/kapital/contracts/v1/contracts.js +338 -615
- package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
- package/dist/generated/kapital/contracts/v1/contracts_types.d.ts +5 -0
- package/dist/generated/kapital/contracts/v1/contracts_types.js +53 -1
- package/dist/generated/kapital/contracts/v1/contracts_types.js.map +1 -1
- package/dist/generated/kapital/customers/v1/customers_types.d.ts +2 -0
- package/dist/generated/kapital/customers/v1/customers_types.js +24 -0
- package/dist/generated/kapital/customers/v1/customers_types.js.map +1 -1
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.d.ts +5 -5
- package/dist/generated/kapital/fraud_catalogs/v1/fraud_catalogs.js.map +1 -1
- package/dist/generated/kapital/payments/v1/payments.d.ts +0 -4
- package/dist/generated/kapital/payments/v1/payments.js +77 -132
- package/dist/generated/kapital/payments/v1/payments.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.d.ts +12 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js +138 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods.js.map +1 -1
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.d.ts +1 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js +12 -0
- package/dist/generated/kapital/payments_methods/v1/payments_methods_types.js.map +1 -1
- package/dist/generated/kapital/transactions/v1/transactions.d.ts +0 -2
- package/dist/generated/kapital/transactions/v1/transactions.js +20 -50
- package/dist/generated/kapital/transactions/v1/transactions.js.map +1 -1
- package/package.json +1 -1
- package/proto/kapital/accounts/v1/accounts.proto +80 -80
- package/proto/kapital/accounts/v1/accounts_types.proto +31 -31
- package/proto/kapital/accumulates/v1/accumulates_service.proto +81 -81
- package/proto/kapital/accumulates/v1/accumulates_types.proto +30 -30
- package/proto/kapital/cards/v1/cards.proto +32 -32
- package/proto/kapital/cards/v1/cards_types.proto +33 -33
- package/proto/kapital/commissions/v1/commissions.proto +69 -69
- package/proto/kapital/commissions/v1/commissions_types.proto +21 -21
- package/proto/kapital/common/v1/error.proto +18 -18
- package/proto/kapital/common/v1/meta.proto +13 -13
- package/proto/kapital/common/v1/pagination.proto +18 -18
- package/proto/kapital/contracts/v1/contracts.proto +133 -161
- package/proto/kapital/contracts/v1/contracts_types.proto +5 -0
- package/proto/kapital/customers/v1/customers_types.proto +2 -0
- package/proto/kapital/offers/v1/offers.proto +111 -111
- package/proto/kapital/offers/v1/offers_types.proto +54 -54
- package/proto/kapital/payments/v1/payments.proto +34 -38
- package/proto/kapital/payments/v1/payments_types.proto +17 -17
- package/proto/kapital/product_groups/v1/product_groups.proto +150 -150
- package/proto/kapital/product_groups/v1/product_groups_types.proto +48 -48
- package/proto/kapital/transactions/v1/transactions.proto +9 -11
- package/proto/kapital/transactions/v1/transactions_types.proto +90 -90
|
@@ -58,6 +58,8 @@ function createBaseCreateContractRequest() {
|
|
|
58
58
|
ship_zip: undefined,
|
|
59
59
|
ship_country_code: undefined,
|
|
60
60
|
business_name: undefined,
|
|
61
|
+
channel: undefined,
|
|
62
|
+
channel_value: undefined,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
exports.CreateContractRequest = {
|
|
@@ -194,6 +196,12 @@ exports.CreateContractRequest = {
|
|
|
194
196
|
if (message.business_name !== undefined) {
|
|
195
197
|
writer.uint32(354).string(message.business_name);
|
|
196
198
|
}
|
|
199
|
+
if (message.channel !== undefined) {
|
|
200
|
+
writer.uint32(362).string(message.channel);
|
|
201
|
+
}
|
|
202
|
+
if (message.channel_value !== undefined) {
|
|
203
|
+
writer.uint32(370).string(message.channel_value);
|
|
204
|
+
}
|
|
197
205
|
return writer;
|
|
198
206
|
},
|
|
199
207
|
decode(input, length) {
|
|
@@ -511,6 +519,20 @@ exports.CreateContractRequest = {
|
|
|
511
519
|
message.business_name = reader.string();
|
|
512
520
|
continue;
|
|
513
521
|
}
|
|
522
|
+
case 45: {
|
|
523
|
+
if (tag !== 362) {
|
|
524
|
+
break;
|
|
525
|
+
}
|
|
526
|
+
message.channel = reader.string();
|
|
527
|
+
continue;
|
|
528
|
+
}
|
|
529
|
+
case 46: {
|
|
530
|
+
if (tag !== 370) {
|
|
531
|
+
break;
|
|
532
|
+
}
|
|
533
|
+
message.channel_value = reader.string();
|
|
534
|
+
continue;
|
|
535
|
+
}
|
|
514
536
|
}
|
|
515
537
|
if ((tag & 7) === 4 || tag === 0) {
|
|
516
538
|
break;
|
|
@@ -568,6 +590,8 @@ exports.CreateContractRequest = {
|
|
|
568
590
|
message.ship_zip = object.ship_zip ?? undefined;
|
|
569
591
|
message.ship_country_code = object.ship_country_code ?? undefined;
|
|
570
592
|
message.business_name = object.business_name ?? undefined;
|
|
593
|
+
message.channel = object.channel ?? undefined;
|
|
594
|
+
message.channel_value = object.channel_value ?? undefined;
|
|
571
595
|
return message;
|
|
572
596
|
},
|
|
573
597
|
};
|
|
@@ -578,8 +602,8 @@ function createBaseCreateContractResponse() {
|
|
|
578
602
|
product_id: "",
|
|
579
603
|
contract_number: "",
|
|
580
604
|
cip: [],
|
|
581
|
-
|
|
582
|
-
|
|
605
|
+
card_virtual: undefined,
|
|
606
|
+
card_physical: undefined,
|
|
583
607
|
new_emboss_uuid: "",
|
|
584
608
|
expiry_date: "",
|
|
585
609
|
card_security_code: "",
|
|
@@ -604,11 +628,11 @@ exports.CreateContractResponse = {
|
|
|
604
628
|
for (const v of message.cip) {
|
|
605
629
|
contracts_types_1.CIPFull.encode(v, writer.uint32(42).fork()).join();
|
|
606
630
|
}
|
|
607
|
-
if (message.
|
|
608
|
-
writer.uint32(50).
|
|
631
|
+
if (message.card_virtual !== undefined) {
|
|
632
|
+
contracts_types_1.CardInfo.encode(message.card_virtual, writer.uint32(50).fork()).join();
|
|
609
633
|
}
|
|
610
|
-
if (message.
|
|
611
|
-
writer.uint32(58).
|
|
634
|
+
if (message.card_physical !== undefined) {
|
|
635
|
+
contracts_types_1.CardInfo.encode(message.card_physical, writer.uint32(58).fork()).join();
|
|
612
636
|
}
|
|
613
637
|
if (message.new_emboss_uuid !== "") {
|
|
614
638
|
writer.uint32(66).string(message.new_emboss_uuid);
|
|
@@ -673,14 +697,14 @@ exports.CreateContractResponse = {
|
|
|
673
697
|
if (tag !== 50) {
|
|
674
698
|
break;
|
|
675
699
|
}
|
|
676
|
-
message.
|
|
700
|
+
message.card_virtual = contracts_types_1.CardInfo.decode(reader, reader.uint32());
|
|
677
701
|
continue;
|
|
678
702
|
}
|
|
679
703
|
case 7: {
|
|
680
704
|
if (tag !== 58) {
|
|
681
705
|
break;
|
|
682
706
|
}
|
|
683
|
-
message.
|
|
707
|
+
message.card_physical = contracts_types_1.CardInfo.decode(reader, reader.uint32());
|
|
684
708
|
continue;
|
|
685
709
|
}
|
|
686
710
|
case 8: {
|
|
@@ -738,8 +762,12 @@ exports.CreateContractResponse = {
|
|
|
738
762
|
message.product_id = object.product_id ?? "";
|
|
739
763
|
message.contract_number = object.contract_number ?? "";
|
|
740
764
|
message.cip = object.cip?.map((e) => contracts_types_1.CIPFull.fromPartial(e)) || [];
|
|
741
|
-
message.
|
|
742
|
-
|
|
765
|
+
message.card_virtual = (object.card_virtual !== undefined && object.card_virtual !== null)
|
|
766
|
+
? contracts_types_1.CardInfo.fromPartial(object.card_virtual)
|
|
767
|
+
: undefined;
|
|
768
|
+
message.card_physical = (object.card_physical !== undefined && object.card_physical !== null)
|
|
769
|
+
? contracts_types_1.CardInfo.fromPartial(object.card_physical)
|
|
770
|
+
: undefined;
|
|
743
771
|
message.new_emboss_uuid = object.new_emboss_uuid ?? "";
|
|
744
772
|
message.expiry_date = object.expiry_date ?? "";
|
|
745
773
|
message.card_security_code = object.card_security_code ?? "";
|
|
@@ -794,6 +822,8 @@ function createBaseCreatePhysicalCardContractRequest() {
|
|
|
794
822
|
ship_zip: undefined,
|
|
795
823
|
ship_country_code: undefined,
|
|
796
824
|
business_name: undefined,
|
|
825
|
+
channel: undefined,
|
|
826
|
+
channel_value: undefined,
|
|
797
827
|
};
|
|
798
828
|
}
|
|
799
829
|
exports.CreatePhysicalCardContractRequest = {
|
|
@@ -930,6 +960,12 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
930
960
|
if (message.business_name !== undefined) {
|
|
931
961
|
writer.uint32(354).string(message.business_name);
|
|
932
962
|
}
|
|
963
|
+
if (message.channel !== undefined) {
|
|
964
|
+
writer.uint32(362).string(message.channel);
|
|
965
|
+
}
|
|
966
|
+
if (message.channel_value !== undefined) {
|
|
967
|
+
writer.uint32(370).string(message.channel_value);
|
|
968
|
+
}
|
|
933
969
|
return writer;
|
|
934
970
|
},
|
|
935
971
|
decode(input, length) {
|
|
@@ -1247,6 +1283,20 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
1247
1283
|
message.business_name = reader.string();
|
|
1248
1284
|
continue;
|
|
1249
1285
|
}
|
|
1286
|
+
case 45: {
|
|
1287
|
+
if (tag !== 362) {
|
|
1288
|
+
break;
|
|
1289
|
+
}
|
|
1290
|
+
message.channel = reader.string();
|
|
1291
|
+
continue;
|
|
1292
|
+
}
|
|
1293
|
+
case 46: {
|
|
1294
|
+
if (tag !== 370) {
|
|
1295
|
+
break;
|
|
1296
|
+
}
|
|
1297
|
+
message.channel_value = reader.string();
|
|
1298
|
+
continue;
|
|
1299
|
+
}
|
|
1250
1300
|
}
|
|
1251
1301
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1252
1302
|
break;
|
|
@@ -1304,6 +1354,8 @@ exports.CreatePhysicalCardContractRequest = {
|
|
|
1304
1354
|
message.ship_zip = object.ship_zip ?? undefined;
|
|
1305
1355
|
message.ship_country_code = object.ship_country_code ?? undefined;
|
|
1306
1356
|
message.business_name = object.business_name ?? undefined;
|
|
1357
|
+
message.channel = object.channel ?? undefined;
|
|
1358
|
+
message.channel_value = object.channel_value ?? undefined;
|
|
1307
1359
|
return message;
|
|
1308
1360
|
},
|
|
1309
1361
|
};
|
|
@@ -1486,8 +1538,6 @@ exports.CreatePhysicalCardContractResponse = {
|
|
|
1486
1538
|
};
|
|
1487
1539
|
function createBaseCreateVirtualCardContractRequest() {
|
|
1488
1540
|
return {
|
|
1489
|
-
provider_id: "",
|
|
1490
|
-
transaction_id: "",
|
|
1491
1541
|
prod_id: 0,
|
|
1492
1542
|
id_type: 0,
|
|
1493
1543
|
id: "",
|
|
@@ -1531,128 +1581,122 @@ function createBaseCreateVirtualCardContractRequest() {
|
|
|
1531
1581
|
}
|
|
1532
1582
|
exports.CreateVirtualCardContractRequest = {
|
|
1533
1583
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1534
|
-
if (message.provider_id !== "") {
|
|
1535
|
-
writer.uint32(10).string(message.provider_id);
|
|
1536
|
-
}
|
|
1537
|
-
if (message.transaction_id !== "") {
|
|
1538
|
-
writer.uint32(18).string(message.transaction_id);
|
|
1539
|
-
}
|
|
1540
1584
|
if (message.prod_id !== 0) {
|
|
1541
|
-
writer.uint32(
|
|
1585
|
+
writer.uint32(8).int32(message.prod_id);
|
|
1542
1586
|
}
|
|
1543
1587
|
if (message.id_type !== 0) {
|
|
1544
|
-
writer.uint32(
|
|
1588
|
+
writer.uint32(16).int32(message.id_type);
|
|
1545
1589
|
}
|
|
1546
1590
|
if (message.id !== "") {
|
|
1547
|
-
writer.uint32(
|
|
1591
|
+
writer.uint32(26).string(message.id);
|
|
1548
1592
|
}
|
|
1549
1593
|
if (message.id_type_2 !== 0) {
|
|
1550
|
-
writer.uint32(
|
|
1594
|
+
writer.uint32(32).int32(message.id_type_2);
|
|
1551
1595
|
}
|
|
1552
1596
|
if (message.id_2 !== "") {
|
|
1553
|
-
writer.uint32(
|
|
1597
|
+
writer.uint32(42).string(message.id_2);
|
|
1554
1598
|
}
|
|
1555
1599
|
if (message.locale !== "") {
|
|
1556
|
-
writer.uint32(
|
|
1600
|
+
writer.uint32(50).string(message.locale);
|
|
1557
1601
|
}
|
|
1558
1602
|
if (message.first_name !== "") {
|
|
1559
|
-
writer.uint32(
|
|
1603
|
+
writer.uint32(58).string(message.first_name);
|
|
1560
1604
|
}
|
|
1561
1605
|
if (message.middle_name !== "") {
|
|
1562
|
-
writer.uint32(
|
|
1606
|
+
writer.uint32(66).string(message.middle_name);
|
|
1563
1607
|
}
|
|
1564
1608
|
if (message.last_name !== "") {
|
|
1565
|
-
writer.uint32(
|
|
1609
|
+
writer.uint32(74).string(message.last_name);
|
|
1566
1610
|
}
|
|
1567
1611
|
if (message.date_of_birth !== "") {
|
|
1568
|
-
writer.uint32(
|
|
1612
|
+
writer.uint32(82).string(message.date_of_birth);
|
|
1569
1613
|
}
|
|
1570
1614
|
if (message.address_1 !== "") {
|
|
1571
|
-
writer.uint32(
|
|
1615
|
+
writer.uint32(90).string(message.address_1);
|
|
1572
1616
|
}
|
|
1573
1617
|
if (message.address_2 !== "") {
|
|
1574
|
-
writer.uint32(
|
|
1618
|
+
writer.uint32(98).string(message.address_2);
|
|
1575
1619
|
}
|
|
1576
1620
|
if (message.address_3 !== "") {
|
|
1577
|
-
writer.uint32(
|
|
1621
|
+
writer.uint32(106).string(message.address_3);
|
|
1578
1622
|
}
|
|
1579
1623
|
if (message.address_4 !== "") {
|
|
1580
|
-
writer.uint32(
|
|
1624
|
+
writer.uint32(114).string(message.address_4);
|
|
1581
1625
|
}
|
|
1582
1626
|
if (message.address_5 !== "") {
|
|
1583
|
-
writer.uint32(
|
|
1627
|
+
writer.uint32(122).string(message.address_5);
|
|
1584
1628
|
}
|
|
1585
1629
|
if (message.city !== "") {
|
|
1586
|
-
writer.uint32(
|
|
1630
|
+
writer.uint32(130).string(message.city);
|
|
1587
1631
|
}
|
|
1588
1632
|
if (message.state !== "") {
|
|
1589
|
-
writer.uint32(
|
|
1633
|
+
writer.uint32(138).string(message.state);
|
|
1590
1634
|
}
|
|
1591
1635
|
if (message.zip !== "") {
|
|
1592
|
-
writer.uint32(
|
|
1636
|
+
writer.uint32(146).string(message.zip);
|
|
1593
1637
|
}
|
|
1594
1638
|
if (message.country_code !== "") {
|
|
1595
|
-
writer.uint32(
|
|
1639
|
+
writer.uint32(154).string(message.country_code);
|
|
1596
1640
|
}
|
|
1597
1641
|
if (message.primary_phone !== "") {
|
|
1598
|
-
writer.uint32(
|
|
1642
|
+
writer.uint32(162).string(message.primary_phone);
|
|
1599
1643
|
}
|
|
1600
1644
|
if (message.other_phone !== "") {
|
|
1601
|
-
writer.uint32(
|
|
1645
|
+
writer.uint32(170).string(message.other_phone);
|
|
1602
1646
|
}
|
|
1603
1647
|
if (message.mobile_phone !== "") {
|
|
1604
|
-
writer.uint32(
|
|
1648
|
+
writer.uint32(178).string(message.mobile_phone);
|
|
1605
1649
|
}
|
|
1606
1650
|
if (message.mobile_carrier_id !== "") {
|
|
1607
|
-
writer.uint32(
|
|
1651
|
+
writer.uint32(186).string(message.mobile_carrier_id);
|
|
1608
1652
|
}
|
|
1609
1653
|
if (message.email !== "") {
|
|
1610
|
-
writer.uint32(
|
|
1654
|
+
writer.uint32(194).string(message.email);
|
|
1611
1655
|
}
|
|
1612
1656
|
if (message.secret_question !== "") {
|
|
1613
|
-
writer.uint32(
|
|
1657
|
+
writer.uint32(202).string(message.secret_question);
|
|
1614
1658
|
}
|
|
1615
1659
|
if (message.secret_answer !== "") {
|
|
1616
|
-
writer.uint32(
|
|
1660
|
+
writer.uint32(210).string(message.secret_answer);
|
|
1617
1661
|
}
|
|
1618
1662
|
if (message.load_amount !== 0) {
|
|
1619
|
-
writer.uint32(
|
|
1663
|
+
writer.uint32(217).double(message.load_amount);
|
|
1620
1664
|
}
|
|
1621
1665
|
if (message.load_type !== "") {
|
|
1622
|
-
writer.uint32(
|
|
1666
|
+
writer.uint32(226).string(message.load_type);
|
|
1623
1667
|
}
|
|
1624
1668
|
if (message.external_account_id !== "") {
|
|
1625
|
-
writer.uint32(
|
|
1669
|
+
writer.uint32(234).string(message.external_account_id);
|
|
1626
1670
|
}
|
|
1627
1671
|
if (message.primary_account !== "") {
|
|
1628
|
-
writer.uint32(
|
|
1672
|
+
writer.uint32(242).string(message.primary_account);
|
|
1629
1673
|
}
|
|
1630
1674
|
if (message.shared_balance !== 0) {
|
|
1631
|
-
writer.uint32(
|
|
1675
|
+
writer.uint32(248).int32(message.shared_balance);
|
|
1632
1676
|
}
|
|
1633
1677
|
if (message.user_data !== "") {
|
|
1634
|
-
writer.uint32(
|
|
1678
|
+
writer.uint32(258).string(message.user_data);
|
|
1635
1679
|
}
|
|
1636
1680
|
if (message.verify_only !== 0) {
|
|
1637
|
-
writer.uint32(
|
|
1681
|
+
writer.uint32(264).int32(message.verify_only);
|
|
1638
1682
|
}
|
|
1639
1683
|
if (message.load_from_account !== "") {
|
|
1640
|
-
writer.uint32(
|
|
1684
|
+
writer.uint32(274).string(message.load_from_account);
|
|
1641
1685
|
}
|
|
1642
1686
|
if (message.sweep_date !== "") {
|
|
1643
|
-
writer.uint32(
|
|
1687
|
+
writer.uint32(282).string(message.sweep_date);
|
|
1644
1688
|
}
|
|
1645
1689
|
if (message.credit_limit !== 0) {
|
|
1646
|
-
writer.uint32(
|
|
1690
|
+
writer.uint32(289).double(message.credit_limit);
|
|
1647
1691
|
}
|
|
1648
1692
|
if (message.single_use !== "") {
|
|
1649
|
-
writer.uint32(
|
|
1693
|
+
writer.uint32(298).string(message.single_use);
|
|
1650
1694
|
}
|
|
1651
1695
|
if (message.business_name !== "") {
|
|
1652
|
-
writer.uint32(
|
|
1696
|
+
writer.uint32(306).string(message.business_name);
|
|
1653
1697
|
}
|
|
1654
1698
|
if (message.mobile_phone_country_code !== "") {
|
|
1655
|
-
writer.uint32(
|
|
1699
|
+
writer.uint32(314).string(message.mobile_phone_country_code);
|
|
1656
1700
|
}
|
|
1657
1701
|
return writer;
|
|
1658
1702
|
},
|
|
@@ -1664,289 +1708,275 @@ exports.CreateVirtualCardContractRequest = {
|
|
|
1664
1708
|
const tag = reader.uint32();
|
|
1665
1709
|
switch (tag >>> 3) {
|
|
1666
1710
|
case 1: {
|
|
1667
|
-
if (tag !==
|
|
1711
|
+
if (tag !== 8) {
|
|
1668
1712
|
break;
|
|
1669
1713
|
}
|
|
1670
|
-
message.
|
|
1714
|
+
message.prod_id = reader.int32();
|
|
1671
1715
|
continue;
|
|
1672
1716
|
}
|
|
1673
1717
|
case 2: {
|
|
1674
|
-
if (tag !==
|
|
1718
|
+
if (tag !== 16) {
|
|
1675
1719
|
break;
|
|
1676
1720
|
}
|
|
1677
|
-
message.
|
|
1721
|
+
message.id_type = reader.int32();
|
|
1678
1722
|
continue;
|
|
1679
1723
|
}
|
|
1680
1724
|
case 3: {
|
|
1681
|
-
if (tag !==
|
|
1725
|
+
if (tag !== 26) {
|
|
1682
1726
|
break;
|
|
1683
1727
|
}
|
|
1684
|
-
message.
|
|
1728
|
+
message.id = reader.string();
|
|
1685
1729
|
continue;
|
|
1686
1730
|
}
|
|
1687
1731
|
case 4: {
|
|
1688
1732
|
if (tag !== 32) {
|
|
1689
1733
|
break;
|
|
1690
1734
|
}
|
|
1691
|
-
message.
|
|
1735
|
+
message.id_type_2 = reader.int32();
|
|
1692
1736
|
continue;
|
|
1693
1737
|
}
|
|
1694
1738
|
case 5: {
|
|
1695
1739
|
if (tag !== 42) {
|
|
1696
1740
|
break;
|
|
1697
1741
|
}
|
|
1698
|
-
message.
|
|
1742
|
+
message.id_2 = reader.string();
|
|
1699
1743
|
continue;
|
|
1700
1744
|
}
|
|
1701
1745
|
case 6: {
|
|
1702
|
-
if (tag !==
|
|
1746
|
+
if (tag !== 50) {
|
|
1703
1747
|
break;
|
|
1704
1748
|
}
|
|
1705
|
-
message.
|
|
1749
|
+
message.locale = reader.string();
|
|
1706
1750
|
continue;
|
|
1707
1751
|
}
|
|
1708
1752
|
case 7: {
|
|
1709
1753
|
if (tag !== 58) {
|
|
1710
1754
|
break;
|
|
1711
1755
|
}
|
|
1712
|
-
message.
|
|
1756
|
+
message.first_name = reader.string();
|
|
1713
1757
|
continue;
|
|
1714
1758
|
}
|
|
1715
1759
|
case 8: {
|
|
1716
1760
|
if (tag !== 66) {
|
|
1717
1761
|
break;
|
|
1718
1762
|
}
|
|
1719
|
-
message.
|
|
1763
|
+
message.middle_name = reader.string();
|
|
1720
1764
|
continue;
|
|
1721
1765
|
}
|
|
1722
1766
|
case 9: {
|
|
1723
1767
|
if (tag !== 74) {
|
|
1724
1768
|
break;
|
|
1725
1769
|
}
|
|
1726
|
-
message.
|
|
1770
|
+
message.last_name = reader.string();
|
|
1727
1771
|
continue;
|
|
1728
1772
|
}
|
|
1729
1773
|
case 10: {
|
|
1730
1774
|
if (tag !== 82) {
|
|
1731
1775
|
break;
|
|
1732
1776
|
}
|
|
1733
|
-
message.
|
|
1777
|
+
message.date_of_birth = reader.string();
|
|
1734
1778
|
continue;
|
|
1735
1779
|
}
|
|
1736
1780
|
case 11: {
|
|
1737
1781
|
if (tag !== 90) {
|
|
1738
1782
|
break;
|
|
1739
1783
|
}
|
|
1740
|
-
message.
|
|
1784
|
+
message.address_1 = reader.string();
|
|
1741
1785
|
continue;
|
|
1742
1786
|
}
|
|
1743
1787
|
case 12: {
|
|
1744
1788
|
if (tag !== 98) {
|
|
1745
1789
|
break;
|
|
1746
1790
|
}
|
|
1747
|
-
message.
|
|
1791
|
+
message.address_2 = reader.string();
|
|
1748
1792
|
continue;
|
|
1749
1793
|
}
|
|
1750
1794
|
case 13: {
|
|
1751
1795
|
if (tag !== 106) {
|
|
1752
1796
|
break;
|
|
1753
1797
|
}
|
|
1754
|
-
message.
|
|
1798
|
+
message.address_3 = reader.string();
|
|
1755
1799
|
continue;
|
|
1756
1800
|
}
|
|
1757
1801
|
case 14: {
|
|
1758
1802
|
if (tag !== 114) {
|
|
1759
1803
|
break;
|
|
1760
1804
|
}
|
|
1761
|
-
message.
|
|
1805
|
+
message.address_4 = reader.string();
|
|
1762
1806
|
continue;
|
|
1763
1807
|
}
|
|
1764
1808
|
case 15: {
|
|
1765
1809
|
if (tag !== 122) {
|
|
1766
1810
|
break;
|
|
1767
1811
|
}
|
|
1768
|
-
message.
|
|
1812
|
+
message.address_5 = reader.string();
|
|
1769
1813
|
continue;
|
|
1770
1814
|
}
|
|
1771
1815
|
case 16: {
|
|
1772
1816
|
if (tag !== 130) {
|
|
1773
1817
|
break;
|
|
1774
1818
|
}
|
|
1775
|
-
message.
|
|
1819
|
+
message.city = reader.string();
|
|
1776
1820
|
continue;
|
|
1777
1821
|
}
|
|
1778
1822
|
case 17: {
|
|
1779
1823
|
if (tag !== 138) {
|
|
1780
1824
|
break;
|
|
1781
1825
|
}
|
|
1782
|
-
message.
|
|
1826
|
+
message.state = reader.string();
|
|
1783
1827
|
continue;
|
|
1784
1828
|
}
|
|
1785
1829
|
case 18: {
|
|
1786
1830
|
if (tag !== 146) {
|
|
1787
1831
|
break;
|
|
1788
1832
|
}
|
|
1789
|
-
message.
|
|
1833
|
+
message.zip = reader.string();
|
|
1790
1834
|
continue;
|
|
1791
1835
|
}
|
|
1792
1836
|
case 19: {
|
|
1793
1837
|
if (tag !== 154) {
|
|
1794
1838
|
break;
|
|
1795
1839
|
}
|
|
1796
|
-
message.
|
|
1840
|
+
message.country_code = reader.string();
|
|
1797
1841
|
continue;
|
|
1798
1842
|
}
|
|
1799
1843
|
case 20: {
|
|
1800
1844
|
if (tag !== 162) {
|
|
1801
1845
|
break;
|
|
1802
1846
|
}
|
|
1803
|
-
message.
|
|
1847
|
+
message.primary_phone = reader.string();
|
|
1804
1848
|
continue;
|
|
1805
1849
|
}
|
|
1806
1850
|
case 21: {
|
|
1807
1851
|
if (tag !== 170) {
|
|
1808
1852
|
break;
|
|
1809
1853
|
}
|
|
1810
|
-
message.
|
|
1854
|
+
message.other_phone = reader.string();
|
|
1811
1855
|
continue;
|
|
1812
1856
|
}
|
|
1813
1857
|
case 22: {
|
|
1814
1858
|
if (tag !== 178) {
|
|
1815
1859
|
break;
|
|
1816
1860
|
}
|
|
1817
|
-
message.
|
|
1861
|
+
message.mobile_phone = reader.string();
|
|
1818
1862
|
continue;
|
|
1819
1863
|
}
|
|
1820
1864
|
case 23: {
|
|
1821
1865
|
if (tag !== 186) {
|
|
1822
1866
|
break;
|
|
1823
1867
|
}
|
|
1824
|
-
message.
|
|
1868
|
+
message.mobile_carrier_id = reader.string();
|
|
1825
1869
|
continue;
|
|
1826
1870
|
}
|
|
1827
1871
|
case 24: {
|
|
1828
1872
|
if (tag !== 194) {
|
|
1829
1873
|
break;
|
|
1830
1874
|
}
|
|
1831
|
-
message.
|
|
1875
|
+
message.email = reader.string();
|
|
1832
1876
|
continue;
|
|
1833
1877
|
}
|
|
1834
1878
|
case 25: {
|
|
1835
1879
|
if (tag !== 202) {
|
|
1836
1880
|
break;
|
|
1837
1881
|
}
|
|
1838
|
-
message.
|
|
1882
|
+
message.secret_question = reader.string();
|
|
1839
1883
|
continue;
|
|
1840
1884
|
}
|
|
1841
1885
|
case 26: {
|
|
1842
1886
|
if (tag !== 210) {
|
|
1843
1887
|
break;
|
|
1844
1888
|
}
|
|
1845
|
-
message.
|
|
1889
|
+
message.secret_answer = reader.string();
|
|
1846
1890
|
continue;
|
|
1847
1891
|
}
|
|
1848
1892
|
case 27: {
|
|
1849
|
-
if (tag !==
|
|
1893
|
+
if (tag !== 217) {
|
|
1850
1894
|
break;
|
|
1851
1895
|
}
|
|
1852
|
-
message.
|
|
1896
|
+
message.load_amount = reader.double();
|
|
1853
1897
|
continue;
|
|
1854
1898
|
}
|
|
1855
1899
|
case 28: {
|
|
1856
1900
|
if (tag !== 226) {
|
|
1857
1901
|
break;
|
|
1858
1902
|
}
|
|
1859
|
-
message.
|
|
1903
|
+
message.load_type = reader.string();
|
|
1860
1904
|
continue;
|
|
1861
1905
|
}
|
|
1862
1906
|
case 29: {
|
|
1863
|
-
if (tag !==
|
|
1907
|
+
if (tag !== 234) {
|
|
1864
1908
|
break;
|
|
1865
1909
|
}
|
|
1866
|
-
message.
|
|
1910
|
+
message.external_account_id = reader.string();
|
|
1867
1911
|
continue;
|
|
1868
1912
|
}
|
|
1869
1913
|
case 30: {
|
|
1870
1914
|
if (tag !== 242) {
|
|
1871
1915
|
break;
|
|
1872
1916
|
}
|
|
1873
|
-
message.
|
|
1917
|
+
message.primary_account = reader.string();
|
|
1874
1918
|
continue;
|
|
1875
1919
|
}
|
|
1876
1920
|
case 31: {
|
|
1877
|
-
if (tag !==
|
|
1921
|
+
if (tag !== 248) {
|
|
1878
1922
|
break;
|
|
1879
1923
|
}
|
|
1880
|
-
message.
|
|
1924
|
+
message.shared_balance = reader.int32();
|
|
1881
1925
|
continue;
|
|
1882
1926
|
}
|
|
1883
1927
|
case 32: {
|
|
1884
1928
|
if (tag !== 258) {
|
|
1885
1929
|
break;
|
|
1886
1930
|
}
|
|
1887
|
-
message.
|
|
1931
|
+
message.user_data = reader.string();
|
|
1888
1932
|
continue;
|
|
1889
1933
|
}
|
|
1890
1934
|
case 33: {
|
|
1891
1935
|
if (tag !== 264) {
|
|
1892
1936
|
break;
|
|
1893
1937
|
}
|
|
1894
|
-
message.
|
|
1938
|
+
message.verify_only = reader.int32();
|
|
1895
1939
|
continue;
|
|
1896
1940
|
}
|
|
1897
1941
|
case 34: {
|
|
1898
1942
|
if (tag !== 274) {
|
|
1899
1943
|
break;
|
|
1900
1944
|
}
|
|
1901
|
-
message.
|
|
1945
|
+
message.load_from_account = reader.string();
|
|
1902
1946
|
continue;
|
|
1903
1947
|
}
|
|
1904
1948
|
case 35: {
|
|
1905
|
-
if (tag !==
|
|
1949
|
+
if (tag !== 282) {
|
|
1906
1950
|
break;
|
|
1907
1951
|
}
|
|
1908
|
-
message.
|
|
1952
|
+
message.sweep_date = reader.string();
|
|
1909
1953
|
continue;
|
|
1910
1954
|
}
|
|
1911
1955
|
case 36: {
|
|
1912
|
-
if (tag !==
|
|
1956
|
+
if (tag !== 289) {
|
|
1913
1957
|
break;
|
|
1914
1958
|
}
|
|
1915
|
-
message.
|
|
1959
|
+
message.credit_limit = reader.double();
|
|
1916
1960
|
continue;
|
|
1917
1961
|
}
|
|
1918
1962
|
case 37: {
|
|
1919
1963
|
if (tag !== 298) {
|
|
1920
1964
|
break;
|
|
1921
1965
|
}
|
|
1922
|
-
message.
|
|
1966
|
+
message.single_use = reader.string();
|
|
1923
1967
|
continue;
|
|
1924
1968
|
}
|
|
1925
1969
|
case 38: {
|
|
1926
|
-
if (tag !==
|
|
1970
|
+
if (tag !== 306) {
|
|
1927
1971
|
break;
|
|
1928
1972
|
}
|
|
1929
|
-
message.
|
|
1973
|
+
message.business_name = reader.string();
|
|
1930
1974
|
continue;
|
|
1931
1975
|
}
|
|
1932
1976
|
case 39: {
|
|
1933
1977
|
if (tag !== 314) {
|
|
1934
1978
|
break;
|
|
1935
1979
|
}
|
|
1936
|
-
message.single_use = reader.string();
|
|
1937
|
-
continue;
|
|
1938
|
-
}
|
|
1939
|
-
case 40: {
|
|
1940
|
-
if (tag !== 322) {
|
|
1941
|
-
break;
|
|
1942
|
-
}
|
|
1943
|
-
message.business_name = reader.string();
|
|
1944
|
-
continue;
|
|
1945
|
-
}
|
|
1946
|
-
case 41: {
|
|
1947
|
-
if (tag !== 330) {
|
|
1948
|
-
break;
|
|
1949
|
-
}
|
|
1950
1980
|
message.mobile_phone_country_code = reader.string();
|
|
1951
1981
|
continue;
|
|
1952
1982
|
}
|
|
@@ -1963,8 +1993,6 @@ exports.CreateVirtualCardContractRequest = {
|
|
|
1963
1993
|
},
|
|
1964
1994
|
fromPartial(object) {
|
|
1965
1995
|
const message = createBaseCreateVirtualCardContractRequest();
|
|
1966
|
-
message.provider_id = object.provider_id ?? "";
|
|
1967
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
1968
1996
|
message.prod_id = object.prod_id ?? 0;
|
|
1969
1997
|
message.id_type = object.id_type ?? 0;
|
|
1970
1998
|
message.id = object.id ?? "";
|
|
@@ -2772,8 +2800,6 @@ exports.GetCustomerIdByContractIdResponse = {
|
|
|
2772
2800
|
function createBaseUpdateContractRequest() {
|
|
2773
2801
|
return {
|
|
2774
2802
|
contract_id: "",
|
|
2775
|
-
provider_id: "",
|
|
2776
|
-
transaction_id: "",
|
|
2777
2803
|
id_type: 0,
|
|
2778
2804
|
id: "",
|
|
2779
2805
|
id_type_2: 0,
|
|
@@ -2831,161 +2857,155 @@ exports.UpdateContractRequest = {
|
|
|
2831
2857
|
if (message.contract_id !== "") {
|
|
2832
2858
|
writer.uint32(10).string(message.contract_id);
|
|
2833
2859
|
}
|
|
2834
|
-
if (message.provider_id !== "") {
|
|
2835
|
-
writer.uint32(18).string(message.provider_id);
|
|
2836
|
-
}
|
|
2837
|
-
if (message.transaction_id !== "") {
|
|
2838
|
-
writer.uint32(26).string(message.transaction_id);
|
|
2839
|
-
}
|
|
2840
2860
|
if (message.id_type !== 0) {
|
|
2841
|
-
writer.uint32(
|
|
2861
|
+
writer.uint32(16).int32(message.id_type);
|
|
2842
2862
|
}
|
|
2843
2863
|
if (message.id !== "") {
|
|
2844
|
-
writer.uint32(
|
|
2864
|
+
writer.uint32(26).string(message.id);
|
|
2845
2865
|
}
|
|
2846
2866
|
if (message.id_type_2 !== 0) {
|
|
2847
|
-
writer.uint32(
|
|
2867
|
+
writer.uint32(32).int32(message.id_type_2);
|
|
2848
2868
|
}
|
|
2849
2869
|
if (message.id_2 !== "") {
|
|
2850
|
-
writer.uint32(
|
|
2870
|
+
writer.uint32(42).string(message.id_2);
|
|
2851
2871
|
}
|
|
2852
2872
|
if (message.id_type_3 !== 0) {
|
|
2853
|
-
writer.uint32(
|
|
2873
|
+
writer.uint32(48).int32(message.id_type_3);
|
|
2854
2874
|
}
|
|
2855
2875
|
if (message.id_3 !== "") {
|
|
2856
|
-
writer.uint32(
|
|
2876
|
+
writer.uint32(58).string(message.id_3);
|
|
2857
2877
|
}
|
|
2858
2878
|
if (message.location_type !== 0) {
|
|
2859
|
-
writer.uint32(
|
|
2879
|
+
writer.uint32(64).int32(message.location_type);
|
|
2860
2880
|
}
|
|
2861
2881
|
if (message.location !== "") {
|
|
2862
|
-
writer.uint32(
|
|
2882
|
+
writer.uint32(74).string(message.location);
|
|
2863
2883
|
}
|
|
2864
2884
|
if (message.locale !== "") {
|
|
2865
|
-
writer.uint32(
|
|
2885
|
+
writer.uint32(82).string(message.locale);
|
|
2866
2886
|
}
|
|
2867
2887
|
if (message.external_account_id !== "") {
|
|
2868
|
-
writer.uint32(
|
|
2888
|
+
writer.uint32(90).string(message.external_account_id);
|
|
2869
2889
|
}
|
|
2870
2890
|
if (message.first_name !== "") {
|
|
2871
|
-
writer.uint32(
|
|
2891
|
+
writer.uint32(98).string(message.first_name);
|
|
2872
2892
|
}
|
|
2873
2893
|
if (message.middle_name !== "") {
|
|
2874
|
-
writer.uint32(
|
|
2894
|
+
writer.uint32(106).string(message.middle_name);
|
|
2875
2895
|
}
|
|
2876
2896
|
if (message.last_name !== "") {
|
|
2877
|
-
writer.uint32(
|
|
2897
|
+
writer.uint32(114).string(message.last_name);
|
|
2878
2898
|
}
|
|
2879
2899
|
if (message.date_of_birth !== "") {
|
|
2880
|
-
writer.uint32(
|
|
2900
|
+
writer.uint32(122).string(message.date_of_birth);
|
|
2881
2901
|
}
|
|
2882
2902
|
if (message.address_1 !== "") {
|
|
2883
|
-
writer.uint32(
|
|
2903
|
+
writer.uint32(130).string(message.address_1);
|
|
2884
2904
|
}
|
|
2885
2905
|
if (message.address_2 !== "") {
|
|
2886
|
-
writer.uint32(
|
|
2906
|
+
writer.uint32(138).string(message.address_2);
|
|
2887
2907
|
}
|
|
2888
2908
|
if (message.address_3 !== "") {
|
|
2889
|
-
writer.uint32(
|
|
2909
|
+
writer.uint32(146).string(message.address_3);
|
|
2890
2910
|
}
|
|
2891
2911
|
if (message.address_4 !== "") {
|
|
2892
|
-
writer.uint32(
|
|
2912
|
+
writer.uint32(154).string(message.address_4);
|
|
2893
2913
|
}
|
|
2894
2914
|
if (message.address_5 !== "") {
|
|
2895
|
-
writer.uint32(
|
|
2915
|
+
writer.uint32(162).string(message.address_5);
|
|
2896
2916
|
}
|
|
2897
2917
|
if (message.city !== "") {
|
|
2898
|
-
writer.uint32(
|
|
2918
|
+
writer.uint32(170).string(message.city);
|
|
2899
2919
|
}
|
|
2900
2920
|
if (message.state !== "") {
|
|
2901
|
-
writer.uint32(
|
|
2921
|
+
writer.uint32(178).string(message.state);
|
|
2902
2922
|
}
|
|
2903
2923
|
if (message.zip !== "") {
|
|
2904
|
-
writer.uint32(
|
|
2924
|
+
writer.uint32(186).string(message.zip);
|
|
2905
2925
|
}
|
|
2906
2926
|
if (message.country_code !== "") {
|
|
2907
|
-
writer.uint32(
|
|
2927
|
+
writer.uint32(194).string(message.country_code);
|
|
2908
2928
|
}
|
|
2909
2929
|
if (message.primary_phone !== "") {
|
|
2910
|
-
writer.uint32(
|
|
2930
|
+
writer.uint32(202).string(message.primary_phone);
|
|
2911
2931
|
}
|
|
2912
2932
|
if (message.other_phone !== "") {
|
|
2913
|
-
writer.uint32(
|
|
2933
|
+
writer.uint32(210).string(message.other_phone);
|
|
2914
2934
|
}
|
|
2915
2935
|
if (message.mobile_phone !== "") {
|
|
2916
|
-
writer.uint32(
|
|
2936
|
+
writer.uint32(218).string(message.mobile_phone);
|
|
2917
2937
|
}
|
|
2918
2938
|
if (message.mobile_carrier_id !== "") {
|
|
2919
|
-
writer.uint32(
|
|
2939
|
+
writer.uint32(226).string(message.mobile_carrier_id);
|
|
2920
2940
|
}
|
|
2921
2941
|
if (message.email !== "") {
|
|
2922
|
-
writer.uint32(
|
|
2942
|
+
writer.uint32(234).string(message.email);
|
|
2923
2943
|
}
|
|
2924
2944
|
if (message.secret_question !== "") {
|
|
2925
|
-
writer.uint32(
|
|
2945
|
+
writer.uint32(242).string(message.secret_question);
|
|
2926
2946
|
}
|
|
2927
2947
|
if (message.secret_answer !== "") {
|
|
2928
|
-
writer.uint32(
|
|
2948
|
+
writer.uint32(250).string(message.secret_answer);
|
|
2929
2949
|
}
|
|
2930
2950
|
if (message.income_source !== "") {
|
|
2931
|
-
writer.uint32(
|
|
2951
|
+
writer.uint32(258).string(message.income_source);
|
|
2932
2952
|
}
|
|
2933
2953
|
if (message.occupation !== "") {
|
|
2934
|
-
writer.uint32(
|
|
2954
|
+
writer.uint32(266).string(message.occupation);
|
|
2935
2955
|
}
|
|
2936
2956
|
if (message.nationality !== "") {
|
|
2937
|
-
writer.uint32(
|
|
2957
|
+
writer.uint32(274).string(message.nationality);
|
|
2938
2958
|
}
|
|
2939
2959
|
if (message.place_of_birth !== "") {
|
|
2940
|
-
writer.uint32(
|
|
2960
|
+
writer.uint32(282).string(message.place_of_birth);
|
|
2941
2961
|
}
|
|
2942
2962
|
if (message.curp !== "") {
|
|
2943
|
-
writer.uint32(
|
|
2963
|
+
writer.uint32(290).string(message.curp);
|
|
2944
2964
|
}
|
|
2945
2965
|
if (message.political_affiliation !== 0) {
|
|
2946
|
-
writer.uint32(
|
|
2966
|
+
writer.uint32(296).int32(message.political_affiliation);
|
|
2947
2967
|
}
|
|
2948
2968
|
if (message.key_ref_number !== "") {
|
|
2949
|
-
writer.uint32(
|
|
2969
|
+
writer.uint32(306).string(message.key_ref_number);
|
|
2950
2970
|
}
|
|
2951
2971
|
if (message.monthly_income !== 0) {
|
|
2952
|
-
writer.uint32(
|
|
2972
|
+
writer.uint32(313).double(message.monthly_income);
|
|
2953
2973
|
}
|
|
2954
2974
|
if (message.external_customer_id !== "") {
|
|
2955
|
-
writer.uint32(
|
|
2975
|
+
writer.uint32(322).string(message.external_customer_id);
|
|
2956
2976
|
}
|
|
2957
2977
|
if (message.mail_bounced !== "") {
|
|
2958
|
-
writer.uint32(
|
|
2978
|
+
writer.uint32(330).string(message.mail_bounced);
|
|
2959
2979
|
}
|
|
2960
2980
|
if (message.shipping_address_1 !== "") {
|
|
2961
|
-
writer.uint32(
|
|
2981
|
+
writer.uint32(338).string(message.shipping_address_1);
|
|
2962
2982
|
}
|
|
2963
2983
|
if (message.shipping_address_2 !== "") {
|
|
2964
|
-
writer.uint32(
|
|
2984
|
+
writer.uint32(346).string(message.shipping_address_2);
|
|
2965
2985
|
}
|
|
2966
2986
|
if (message.shipping_city !== "") {
|
|
2967
|
-
writer.uint32(
|
|
2987
|
+
writer.uint32(354).string(message.shipping_city);
|
|
2968
2988
|
}
|
|
2969
2989
|
if (message.shipping_state !== "") {
|
|
2970
|
-
writer.uint32(
|
|
2990
|
+
writer.uint32(362).string(message.shipping_state);
|
|
2971
2991
|
}
|
|
2972
2992
|
if (message.shipping_zip !== "") {
|
|
2973
|
-
writer.uint32(
|
|
2993
|
+
writer.uint32(370).string(message.shipping_zip);
|
|
2974
2994
|
}
|
|
2975
2995
|
if (message.shipping_country_code !== "") {
|
|
2976
|
-
writer.uint32(
|
|
2996
|
+
writer.uint32(378).string(message.shipping_country_code);
|
|
2977
2997
|
}
|
|
2978
2998
|
if (message.shipping_address_permanent !== "") {
|
|
2979
|
-
writer.uint32(
|
|
2999
|
+
writer.uint32(386).string(message.shipping_address_permanent);
|
|
2980
3000
|
}
|
|
2981
3001
|
if (message.emboss_line_2 !== "") {
|
|
2982
|
-
writer.uint32(
|
|
3002
|
+
writer.uint32(394).string(message.emboss_line_2);
|
|
2983
3003
|
}
|
|
2984
3004
|
if (message.business_name !== "") {
|
|
2985
|
-
writer.uint32(
|
|
3005
|
+
writer.uint32(402).string(message.business_name);
|
|
2986
3006
|
}
|
|
2987
3007
|
if (message.mobile_phone_country_code !== "") {
|
|
2988
|
-
writer.uint32(
|
|
3008
|
+
writer.uint32(410).string(message.mobile_phone_country_code);
|
|
2989
3009
|
}
|
|
2990
3010
|
return writer;
|
|
2991
3011
|
},
|
|
@@ -3004,366 +3024,352 @@ exports.UpdateContractRequest = {
|
|
|
3004
3024
|
continue;
|
|
3005
3025
|
}
|
|
3006
3026
|
case 2: {
|
|
3007
|
-
if (tag !==
|
|
3027
|
+
if (tag !== 16) {
|
|
3008
3028
|
break;
|
|
3009
3029
|
}
|
|
3010
|
-
message.
|
|
3030
|
+
message.id_type = reader.int32();
|
|
3011
3031
|
continue;
|
|
3012
3032
|
}
|
|
3013
3033
|
case 3: {
|
|
3014
3034
|
if (tag !== 26) {
|
|
3015
3035
|
break;
|
|
3016
3036
|
}
|
|
3017
|
-
message.
|
|
3037
|
+
message.id = reader.string();
|
|
3018
3038
|
continue;
|
|
3019
3039
|
}
|
|
3020
3040
|
case 4: {
|
|
3021
3041
|
if (tag !== 32) {
|
|
3022
3042
|
break;
|
|
3023
3043
|
}
|
|
3024
|
-
message.
|
|
3044
|
+
message.id_type_2 = reader.int32();
|
|
3025
3045
|
continue;
|
|
3026
3046
|
}
|
|
3027
3047
|
case 5: {
|
|
3028
3048
|
if (tag !== 42) {
|
|
3029
3049
|
break;
|
|
3030
3050
|
}
|
|
3031
|
-
message.
|
|
3051
|
+
message.id_2 = reader.string();
|
|
3032
3052
|
continue;
|
|
3033
3053
|
}
|
|
3034
3054
|
case 6: {
|
|
3035
3055
|
if (tag !== 48) {
|
|
3036
3056
|
break;
|
|
3037
3057
|
}
|
|
3038
|
-
message.
|
|
3058
|
+
message.id_type_3 = reader.int32();
|
|
3039
3059
|
continue;
|
|
3040
3060
|
}
|
|
3041
3061
|
case 7: {
|
|
3042
3062
|
if (tag !== 58) {
|
|
3043
3063
|
break;
|
|
3044
3064
|
}
|
|
3045
|
-
message.
|
|
3065
|
+
message.id_3 = reader.string();
|
|
3046
3066
|
continue;
|
|
3047
3067
|
}
|
|
3048
3068
|
case 8: {
|
|
3049
3069
|
if (tag !== 64) {
|
|
3050
3070
|
break;
|
|
3051
3071
|
}
|
|
3052
|
-
message.
|
|
3072
|
+
message.location_type = reader.int32();
|
|
3053
3073
|
continue;
|
|
3054
3074
|
}
|
|
3055
3075
|
case 9: {
|
|
3056
3076
|
if (tag !== 74) {
|
|
3057
3077
|
break;
|
|
3058
3078
|
}
|
|
3059
|
-
message.
|
|
3079
|
+
message.location = reader.string();
|
|
3060
3080
|
continue;
|
|
3061
3081
|
}
|
|
3062
3082
|
case 10: {
|
|
3063
|
-
if (tag !==
|
|
3083
|
+
if (tag !== 82) {
|
|
3064
3084
|
break;
|
|
3065
3085
|
}
|
|
3066
|
-
message.
|
|
3086
|
+
message.locale = reader.string();
|
|
3067
3087
|
continue;
|
|
3068
3088
|
}
|
|
3069
3089
|
case 11: {
|
|
3070
3090
|
if (tag !== 90) {
|
|
3071
3091
|
break;
|
|
3072
3092
|
}
|
|
3073
|
-
message.
|
|
3093
|
+
message.external_account_id = reader.string();
|
|
3074
3094
|
continue;
|
|
3075
3095
|
}
|
|
3076
3096
|
case 12: {
|
|
3077
3097
|
if (tag !== 98) {
|
|
3078
3098
|
break;
|
|
3079
3099
|
}
|
|
3080
|
-
message.
|
|
3100
|
+
message.first_name = reader.string();
|
|
3081
3101
|
continue;
|
|
3082
3102
|
}
|
|
3083
3103
|
case 13: {
|
|
3084
3104
|
if (tag !== 106) {
|
|
3085
3105
|
break;
|
|
3086
3106
|
}
|
|
3087
|
-
message.
|
|
3107
|
+
message.middle_name = reader.string();
|
|
3088
3108
|
continue;
|
|
3089
3109
|
}
|
|
3090
3110
|
case 14: {
|
|
3091
3111
|
if (tag !== 114) {
|
|
3092
3112
|
break;
|
|
3093
3113
|
}
|
|
3094
|
-
message.
|
|
3114
|
+
message.last_name = reader.string();
|
|
3095
3115
|
continue;
|
|
3096
3116
|
}
|
|
3097
3117
|
case 15: {
|
|
3098
3118
|
if (tag !== 122) {
|
|
3099
3119
|
break;
|
|
3100
3120
|
}
|
|
3101
|
-
message.
|
|
3121
|
+
message.date_of_birth = reader.string();
|
|
3102
3122
|
continue;
|
|
3103
3123
|
}
|
|
3104
3124
|
case 16: {
|
|
3105
3125
|
if (tag !== 130) {
|
|
3106
3126
|
break;
|
|
3107
3127
|
}
|
|
3108
|
-
message.
|
|
3128
|
+
message.address_1 = reader.string();
|
|
3109
3129
|
continue;
|
|
3110
3130
|
}
|
|
3111
3131
|
case 17: {
|
|
3112
3132
|
if (tag !== 138) {
|
|
3113
3133
|
break;
|
|
3114
3134
|
}
|
|
3115
|
-
message.
|
|
3135
|
+
message.address_2 = reader.string();
|
|
3116
3136
|
continue;
|
|
3117
3137
|
}
|
|
3118
3138
|
case 18: {
|
|
3119
3139
|
if (tag !== 146) {
|
|
3120
3140
|
break;
|
|
3121
3141
|
}
|
|
3122
|
-
message.
|
|
3142
|
+
message.address_3 = reader.string();
|
|
3123
3143
|
continue;
|
|
3124
3144
|
}
|
|
3125
3145
|
case 19: {
|
|
3126
3146
|
if (tag !== 154) {
|
|
3127
3147
|
break;
|
|
3128
3148
|
}
|
|
3129
|
-
message.
|
|
3149
|
+
message.address_4 = reader.string();
|
|
3130
3150
|
continue;
|
|
3131
3151
|
}
|
|
3132
3152
|
case 20: {
|
|
3133
3153
|
if (tag !== 162) {
|
|
3134
3154
|
break;
|
|
3135
3155
|
}
|
|
3136
|
-
message.
|
|
3156
|
+
message.address_5 = reader.string();
|
|
3137
3157
|
continue;
|
|
3138
3158
|
}
|
|
3139
3159
|
case 21: {
|
|
3140
3160
|
if (tag !== 170) {
|
|
3141
3161
|
break;
|
|
3142
3162
|
}
|
|
3143
|
-
message.
|
|
3163
|
+
message.city = reader.string();
|
|
3144
3164
|
continue;
|
|
3145
3165
|
}
|
|
3146
3166
|
case 22: {
|
|
3147
3167
|
if (tag !== 178) {
|
|
3148
3168
|
break;
|
|
3149
3169
|
}
|
|
3150
|
-
message.
|
|
3170
|
+
message.state = reader.string();
|
|
3151
3171
|
continue;
|
|
3152
3172
|
}
|
|
3153
3173
|
case 23: {
|
|
3154
3174
|
if (tag !== 186) {
|
|
3155
3175
|
break;
|
|
3156
3176
|
}
|
|
3157
|
-
message.
|
|
3177
|
+
message.zip = reader.string();
|
|
3158
3178
|
continue;
|
|
3159
3179
|
}
|
|
3160
3180
|
case 24: {
|
|
3161
3181
|
if (tag !== 194) {
|
|
3162
3182
|
break;
|
|
3163
3183
|
}
|
|
3164
|
-
message.
|
|
3184
|
+
message.country_code = reader.string();
|
|
3165
3185
|
continue;
|
|
3166
3186
|
}
|
|
3167
3187
|
case 25: {
|
|
3168
3188
|
if (tag !== 202) {
|
|
3169
3189
|
break;
|
|
3170
3190
|
}
|
|
3171
|
-
message.
|
|
3191
|
+
message.primary_phone = reader.string();
|
|
3172
3192
|
continue;
|
|
3173
3193
|
}
|
|
3174
3194
|
case 26: {
|
|
3175
3195
|
if (tag !== 210) {
|
|
3176
3196
|
break;
|
|
3177
3197
|
}
|
|
3178
|
-
message.
|
|
3198
|
+
message.other_phone = reader.string();
|
|
3179
3199
|
continue;
|
|
3180
3200
|
}
|
|
3181
3201
|
case 27: {
|
|
3182
3202
|
if (tag !== 218) {
|
|
3183
3203
|
break;
|
|
3184
3204
|
}
|
|
3185
|
-
message.
|
|
3205
|
+
message.mobile_phone = reader.string();
|
|
3186
3206
|
continue;
|
|
3187
3207
|
}
|
|
3188
3208
|
case 28: {
|
|
3189
3209
|
if (tag !== 226) {
|
|
3190
3210
|
break;
|
|
3191
3211
|
}
|
|
3192
|
-
message.
|
|
3212
|
+
message.mobile_carrier_id = reader.string();
|
|
3193
3213
|
continue;
|
|
3194
3214
|
}
|
|
3195
3215
|
case 29: {
|
|
3196
3216
|
if (tag !== 234) {
|
|
3197
3217
|
break;
|
|
3198
3218
|
}
|
|
3199
|
-
message.
|
|
3219
|
+
message.email = reader.string();
|
|
3200
3220
|
continue;
|
|
3201
3221
|
}
|
|
3202
3222
|
case 30: {
|
|
3203
3223
|
if (tag !== 242) {
|
|
3204
3224
|
break;
|
|
3205
3225
|
}
|
|
3206
|
-
message.
|
|
3226
|
+
message.secret_question = reader.string();
|
|
3207
3227
|
continue;
|
|
3208
3228
|
}
|
|
3209
3229
|
case 31: {
|
|
3210
3230
|
if (tag !== 250) {
|
|
3211
3231
|
break;
|
|
3212
3232
|
}
|
|
3213
|
-
message.
|
|
3233
|
+
message.secret_answer = reader.string();
|
|
3214
3234
|
continue;
|
|
3215
3235
|
}
|
|
3216
3236
|
case 32: {
|
|
3217
3237
|
if (tag !== 258) {
|
|
3218
3238
|
break;
|
|
3219
3239
|
}
|
|
3220
|
-
message.
|
|
3240
|
+
message.income_source = reader.string();
|
|
3221
3241
|
continue;
|
|
3222
3242
|
}
|
|
3223
3243
|
case 33: {
|
|
3224
3244
|
if (tag !== 266) {
|
|
3225
3245
|
break;
|
|
3226
3246
|
}
|
|
3227
|
-
message.
|
|
3247
|
+
message.occupation = reader.string();
|
|
3228
3248
|
continue;
|
|
3229
3249
|
}
|
|
3230
3250
|
case 34: {
|
|
3231
3251
|
if (tag !== 274) {
|
|
3232
3252
|
break;
|
|
3233
3253
|
}
|
|
3234
|
-
message.
|
|
3254
|
+
message.nationality = reader.string();
|
|
3235
3255
|
continue;
|
|
3236
3256
|
}
|
|
3237
3257
|
case 35: {
|
|
3238
3258
|
if (tag !== 282) {
|
|
3239
3259
|
break;
|
|
3240
3260
|
}
|
|
3241
|
-
message.
|
|
3261
|
+
message.place_of_birth = reader.string();
|
|
3242
3262
|
continue;
|
|
3243
3263
|
}
|
|
3244
3264
|
case 36: {
|
|
3245
3265
|
if (tag !== 290) {
|
|
3246
3266
|
break;
|
|
3247
3267
|
}
|
|
3248
|
-
message.
|
|
3268
|
+
message.curp = reader.string();
|
|
3249
3269
|
continue;
|
|
3250
3270
|
}
|
|
3251
3271
|
case 37: {
|
|
3252
|
-
if (tag !==
|
|
3272
|
+
if (tag !== 296) {
|
|
3253
3273
|
break;
|
|
3254
3274
|
}
|
|
3255
|
-
message.
|
|
3275
|
+
message.political_affiliation = reader.int32();
|
|
3256
3276
|
continue;
|
|
3257
3277
|
}
|
|
3258
3278
|
case 38: {
|
|
3259
3279
|
if (tag !== 306) {
|
|
3260
3280
|
break;
|
|
3261
3281
|
}
|
|
3262
|
-
message.
|
|
3282
|
+
message.key_ref_number = reader.string();
|
|
3263
3283
|
continue;
|
|
3264
3284
|
}
|
|
3265
3285
|
case 39: {
|
|
3266
|
-
if (tag !==
|
|
3286
|
+
if (tag !== 313) {
|
|
3267
3287
|
break;
|
|
3268
3288
|
}
|
|
3269
|
-
message.
|
|
3289
|
+
message.monthly_income = reader.double();
|
|
3270
3290
|
continue;
|
|
3271
3291
|
}
|
|
3272
3292
|
case 40: {
|
|
3273
3293
|
if (tag !== 322) {
|
|
3274
3294
|
break;
|
|
3275
3295
|
}
|
|
3276
|
-
message.
|
|
3296
|
+
message.external_customer_id = reader.string();
|
|
3277
3297
|
continue;
|
|
3278
3298
|
}
|
|
3279
3299
|
case 41: {
|
|
3280
|
-
if (tag !==
|
|
3300
|
+
if (tag !== 330) {
|
|
3281
3301
|
break;
|
|
3282
3302
|
}
|
|
3283
|
-
message.
|
|
3303
|
+
message.mail_bounced = reader.string();
|
|
3284
3304
|
continue;
|
|
3285
3305
|
}
|
|
3286
3306
|
case 42: {
|
|
3287
3307
|
if (tag !== 338) {
|
|
3288
3308
|
break;
|
|
3289
3309
|
}
|
|
3290
|
-
message.
|
|
3310
|
+
message.shipping_address_1 = reader.string();
|
|
3291
3311
|
continue;
|
|
3292
3312
|
}
|
|
3293
3313
|
case 43: {
|
|
3294
3314
|
if (tag !== 346) {
|
|
3295
3315
|
break;
|
|
3296
3316
|
}
|
|
3297
|
-
message.
|
|
3317
|
+
message.shipping_address_2 = reader.string();
|
|
3298
3318
|
continue;
|
|
3299
3319
|
}
|
|
3300
3320
|
case 44: {
|
|
3301
3321
|
if (tag !== 354) {
|
|
3302
3322
|
break;
|
|
3303
3323
|
}
|
|
3304
|
-
message.
|
|
3324
|
+
message.shipping_city = reader.string();
|
|
3305
3325
|
continue;
|
|
3306
3326
|
}
|
|
3307
3327
|
case 45: {
|
|
3308
3328
|
if (tag !== 362) {
|
|
3309
3329
|
break;
|
|
3310
3330
|
}
|
|
3311
|
-
message.
|
|
3331
|
+
message.shipping_state = reader.string();
|
|
3312
3332
|
continue;
|
|
3313
3333
|
}
|
|
3314
3334
|
case 46: {
|
|
3315
3335
|
if (tag !== 370) {
|
|
3316
3336
|
break;
|
|
3317
3337
|
}
|
|
3318
|
-
message.
|
|
3338
|
+
message.shipping_zip = reader.string();
|
|
3319
3339
|
continue;
|
|
3320
3340
|
}
|
|
3321
3341
|
case 47: {
|
|
3322
3342
|
if (tag !== 378) {
|
|
3323
3343
|
break;
|
|
3324
3344
|
}
|
|
3325
|
-
message.
|
|
3345
|
+
message.shipping_country_code = reader.string();
|
|
3326
3346
|
continue;
|
|
3327
3347
|
}
|
|
3328
3348
|
case 48: {
|
|
3329
3349
|
if (tag !== 386) {
|
|
3330
3350
|
break;
|
|
3331
3351
|
}
|
|
3332
|
-
message.
|
|
3352
|
+
message.shipping_address_permanent = reader.string();
|
|
3333
3353
|
continue;
|
|
3334
3354
|
}
|
|
3335
3355
|
case 49: {
|
|
3336
3356
|
if (tag !== 394) {
|
|
3337
3357
|
break;
|
|
3338
3358
|
}
|
|
3339
|
-
message.
|
|
3359
|
+
message.emboss_line_2 = reader.string();
|
|
3340
3360
|
continue;
|
|
3341
3361
|
}
|
|
3342
3362
|
case 50: {
|
|
3343
3363
|
if (tag !== 402) {
|
|
3344
3364
|
break;
|
|
3345
3365
|
}
|
|
3346
|
-
message.
|
|
3366
|
+
message.business_name = reader.string();
|
|
3347
3367
|
continue;
|
|
3348
3368
|
}
|
|
3349
3369
|
case 51: {
|
|
3350
3370
|
if (tag !== 410) {
|
|
3351
3371
|
break;
|
|
3352
3372
|
}
|
|
3353
|
-
message.emboss_line_2 = reader.string();
|
|
3354
|
-
continue;
|
|
3355
|
-
}
|
|
3356
|
-
case 52: {
|
|
3357
|
-
if (tag !== 418) {
|
|
3358
|
-
break;
|
|
3359
|
-
}
|
|
3360
|
-
message.business_name = reader.string();
|
|
3361
|
-
continue;
|
|
3362
|
-
}
|
|
3363
|
-
case 53: {
|
|
3364
|
-
if (tag !== 426) {
|
|
3365
|
-
break;
|
|
3366
|
-
}
|
|
3367
3373
|
message.mobile_phone_country_code = reader.string();
|
|
3368
3374
|
continue;
|
|
3369
3375
|
}
|
|
@@ -3381,8 +3387,6 @@ exports.UpdateContractRequest = {
|
|
|
3381
3387
|
fromPartial(object) {
|
|
3382
3388
|
const message = createBaseUpdateContractRequest();
|
|
3383
3389
|
message.contract_id = object.contract_id ?? "";
|
|
3384
|
-
message.provider_id = object.provider_id ?? "";
|
|
3385
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
3386
3390
|
message.id_type = object.id_type ?? 0;
|
|
3387
3391
|
message.id = object.id ?? "";
|
|
3388
3392
|
message.id_type_2 = object.id_type_2 ?? 0;
|
|
@@ -3599,24 +3603,18 @@ exports.GetExistsCustomerResponse = {
|
|
|
3599
3603
|
},
|
|
3600
3604
|
};
|
|
3601
3605
|
function createBaseGetContractByIdRequest() {
|
|
3602
|
-
return { customer_id: "",
|
|
3606
|
+
return { customer_id: "", id_type: 0, external_customer_id: "" };
|
|
3603
3607
|
}
|
|
3604
3608
|
exports.GetContractByIdRequest = {
|
|
3605
3609
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3606
3610
|
if (message.customer_id !== "") {
|
|
3607
3611
|
writer.uint32(10).string(message.customer_id);
|
|
3608
3612
|
}
|
|
3609
|
-
if (message.provider_id !== "") {
|
|
3610
|
-
writer.uint32(18).string(message.provider_id);
|
|
3611
|
-
}
|
|
3612
|
-
if (message.transaction_id !== "") {
|
|
3613
|
-
writer.uint32(26).string(message.transaction_id);
|
|
3614
|
-
}
|
|
3615
3613
|
if (message.id_type !== 0) {
|
|
3616
|
-
writer.uint32(
|
|
3614
|
+
writer.uint32(16).int32(message.id_type);
|
|
3617
3615
|
}
|
|
3618
3616
|
if (message.external_customer_id !== "") {
|
|
3619
|
-
writer.uint32(
|
|
3617
|
+
writer.uint32(26).string(message.external_customer_id);
|
|
3620
3618
|
}
|
|
3621
3619
|
return writer;
|
|
3622
3620
|
},
|
|
@@ -3635,30 +3633,16 @@ exports.GetContractByIdRequest = {
|
|
|
3635
3633
|
continue;
|
|
3636
3634
|
}
|
|
3637
3635
|
case 2: {
|
|
3638
|
-
if (tag !==
|
|
3636
|
+
if (tag !== 16) {
|
|
3639
3637
|
break;
|
|
3640
3638
|
}
|
|
3641
|
-
message.
|
|
3639
|
+
message.id_type = reader.int32();
|
|
3642
3640
|
continue;
|
|
3643
3641
|
}
|
|
3644
3642
|
case 3: {
|
|
3645
3643
|
if (tag !== 26) {
|
|
3646
3644
|
break;
|
|
3647
3645
|
}
|
|
3648
|
-
message.transaction_id = reader.string();
|
|
3649
|
-
continue;
|
|
3650
|
-
}
|
|
3651
|
-
case 4: {
|
|
3652
|
-
if (tag !== 32) {
|
|
3653
|
-
break;
|
|
3654
|
-
}
|
|
3655
|
-
message.id_type = reader.int32();
|
|
3656
|
-
continue;
|
|
3657
|
-
}
|
|
3658
|
-
case 5: {
|
|
3659
|
-
if (tag !== 42) {
|
|
3660
|
-
break;
|
|
3661
|
-
}
|
|
3662
3646
|
message.external_customer_id = reader.string();
|
|
3663
3647
|
continue;
|
|
3664
3648
|
}
|
|
@@ -3676,8 +3660,6 @@ exports.GetContractByIdRequest = {
|
|
|
3676
3660
|
fromPartial(object) {
|
|
3677
3661
|
const message = createBaseGetContractByIdRequest();
|
|
3678
3662
|
message.customer_id = object.customer_id ?? "";
|
|
3679
|
-
message.provider_id = object.provider_id ?? "";
|
|
3680
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
3681
3663
|
message.id_type = object.id_type ?? 0;
|
|
3682
3664
|
message.external_customer_id = object.external_customer_id ?? "";
|
|
3683
3665
|
return message;
|
|
@@ -3738,19 +3720,13 @@ exports.GetContractByIdResponse = {
|
|
|
3738
3720
|
},
|
|
3739
3721
|
};
|
|
3740
3722
|
function createBaseGetRelatedContractsRequest() {
|
|
3741
|
-
return { contract_id: ""
|
|
3723
|
+
return { contract_id: "" };
|
|
3742
3724
|
}
|
|
3743
3725
|
exports.GetRelatedContractsRequest = {
|
|
3744
3726
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3745
3727
|
if (message.contract_id !== "") {
|
|
3746
3728
|
writer.uint32(10).string(message.contract_id);
|
|
3747
3729
|
}
|
|
3748
|
-
if (message.provider_id !== "") {
|
|
3749
|
-
writer.uint32(18).string(message.provider_id);
|
|
3750
|
-
}
|
|
3751
|
-
if (message.transaction_id !== "") {
|
|
3752
|
-
writer.uint32(26).string(message.transaction_id);
|
|
3753
|
-
}
|
|
3754
3730
|
return writer;
|
|
3755
3731
|
},
|
|
3756
3732
|
decode(input, length) {
|
|
@@ -3767,20 +3743,6 @@ exports.GetRelatedContractsRequest = {
|
|
|
3767
3743
|
message.contract_id = reader.string();
|
|
3768
3744
|
continue;
|
|
3769
3745
|
}
|
|
3770
|
-
case 2: {
|
|
3771
|
-
if (tag !== 18) {
|
|
3772
|
-
break;
|
|
3773
|
-
}
|
|
3774
|
-
message.provider_id = reader.string();
|
|
3775
|
-
continue;
|
|
3776
|
-
}
|
|
3777
|
-
case 3: {
|
|
3778
|
-
if (tag !== 26) {
|
|
3779
|
-
break;
|
|
3780
|
-
}
|
|
3781
|
-
message.transaction_id = reader.string();
|
|
3782
|
-
continue;
|
|
3783
|
-
}
|
|
3784
3746
|
}
|
|
3785
3747
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3786
3748
|
break;
|
|
@@ -3795,8 +3757,6 @@ exports.GetRelatedContractsRequest = {
|
|
|
3795
3757
|
fromPartial(object) {
|
|
3796
3758
|
const message = createBaseGetRelatedContractsRequest();
|
|
3797
3759
|
message.contract_id = object.contract_id ?? "";
|
|
3798
|
-
message.provider_id = object.provider_id ?? "";
|
|
3799
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
3800
3760
|
return message;
|
|
3801
3761
|
},
|
|
3802
3762
|
};
|
|
@@ -3888,24 +3848,18 @@ exports.GetRelatedContractsResponse = {
|
|
|
3888
3848
|
},
|
|
3889
3849
|
};
|
|
3890
3850
|
function createBaseVerifyContractRequest() {
|
|
3891
|
-
return { contract_id: "",
|
|
3851
|
+
return { contract_id: "", load_type: "", included_related: 0 };
|
|
3892
3852
|
}
|
|
3893
3853
|
exports.VerifyContractRequest = {
|
|
3894
3854
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3895
3855
|
if (message.contract_id !== "") {
|
|
3896
3856
|
writer.uint32(10).string(message.contract_id);
|
|
3897
3857
|
}
|
|
3898
|
-
if (message.provider_id !== "") {
|
|
3899
|
-
writer.uint32(18).string(message.provider_id);
|
|
3900
|
-
}
|
|
3901
|
-
if (message.transaction_id !== "") {
|
|
3902
|
-
writer.uint32(26).string(message.transaction_id);
|
|
3903
|
-
}
|
|
3904
3858
|
if (message.load_type !== "") {
|
|
3905
|
-
writer.uint32(
|
|
3859
|
+
writer.uint32(18).string(message.load_type);
|
|
3906
3860
|
}
|
|
3907
3861
|
if (message.included_related !== 0) {
|
|
3908
|
-
writer.uint32(
|
|
3862
|
+
writer.uint32(24).int32(message.included_related);
|
|
3909
3863
|
}
|
|
3910
3864
|
return writer;
|
|
3911
3865
|
},
|
|
@@ -3927,25 +3881,11 @@ exports.VerifyContractRequest = {
|
|
|
3927
3881
|
if (tag !== 18) {
|
|
3928
3882
|
break;
|
|
3929
3883
|
}
|
|
3930
|
-
message.provider_id = reader.string();
|
|
3931
|
-
continue;
|
|
3932
|
-
}
|
|
3933
|
-
case 3: {
|
|
3934
|
-
if (tag !== 26) {
|
|
3935
|
-
break;
|
|
3936
|
-
}
|
|
3937
|
-
message.transaction_id = reader.string();
|
|
3938
|
-
continue;
|
|
3939
|
-
}
|
|
3940
|
-
case 4: {
|
|
3941
|
-
if (tag !== 34) {
|
|
3942
|
-
break;
|
|
3943
|
-
}
|
|
3944
3884
|
message.load_type = reader.string();
|
|
3945
3885
|
continue;
|
|
3946
3886
|
}
|
|
3947
|
-
case
|
|
3948
|
-
if (tag !==
|
|
3887
|
+
case 3: {
|
|
3888
|
+
if (tag !== 24) {
|
|
3949
3889
|
break;
|
|
3950
3890
|
}
|
|
3951
3891
|
message.included_related = reader.int32();
|
|
@@ -3965,8 +3905,6 @@ exports.VerifyContractRequest = {
|
|
|
3965
3905
|
fromPartial(object) {
|
|
3966
3906
|
const message = createBaseVerifyContractRequest();
|
|
3967
3907
|
message.contract_id = object.contract_id ?? "";
|
|
3968
|
-
message.provider_id = object.provider_id ?? "";
|
|
3969
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
3970
3908
|
message.load_type = object.load_type ?? "";
|
|
3971
3909
|
message.included_related = object.included_related ?? 0;
|
|
3972
3910
|
return message;
|
|
@@ -4029,42 +3967,27 @@ exports.VerifyContractResponse = {
|
|
|
4029
3967
|
},
|
|
4030
3968
|
};
|
|
4031
3969
|
function createBaseAddContractRequest() {
|
|
4032
|
-
return {
|
|
4033
|
-
contract_id: "",
|
|
4034
|
-
provider_id: "",
|
|
4035
|
-
transaction_id: "",
|
|
4036
|
-
prod_id: 0,
|
|
4037
|
-
location: "",
|
|
4038
|
-
location_type: 0,
|
|
4039
|
-
shared_balance: 0,
|
|
4040
|
-
funding_account_number: "",
|
|
4041
|
-
};
|
|
3970
|
+
return { contract_id: "", prod_id: 0, location: "", location_type: 0, shared_balance: 0, funding_account_number: "" };
|
|
4042
3971
|
}
|
|
4043
3972
|
exports.AddContractRequest = {
|
|
4044
3973
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4045
3974
|
if (message.contract_id !== "") {
|
|
4046
3975
|
writer.uint32(10).string(message.contract_id);
|
|
4047
3976
|
}
|
|
4048
|
-
if (message.provider_id !== "") {
|
|
4049
|
-
writer.uint32(18).string(message.provider_id);
|
|
4050
|
-
}
|
|
4051
|
-
if (message.transaction_id !== "") {
|
|
4052
|
-
writer.uint32(26).string(message.transaction_id);
|
|
4053
|
-
}
|
|
4054
3977
|
if (message.prod_id !== 0) {
|
|
4055
|
-
writer.uint32(
|
|
3978
|
+
writer.uint32(16).int32(message.prod_id);
|
|
4056
3979
|
}
|
|
4057
3980
|
if (message.location !== "") {
|
|
4058
|
-
writer.uint32(
|
|
3981
|
+
writer.uint32(26).string(message.location);
|
|
4059
3982
|
}
|
|
4060
3983
|
if (message.location_type !== 0) {
|
|
4061
|
-
writer.uint32(
|
|
3984
|
+
writer.uint32(32).int32(message.location_type);
|
|
4062
3985
|
}
|
|
4063
3986
|
if (message.shared_balance !== 0) {
|
|
4064
|
-
writer.uint32(
|
|
3987
|
+
writer.uint32(40).int32(message.shared_balance);
|
|
4065
3988
|
}
|
|
4066
3989
|
if (message.funding_account_number !== "") {
|
|
4067
|
-
writer.uint32(
|
|
3990
|
+
writer.uint32(50).string(message.funding_account_number);
|
|
4068
3991
|
}
|
|
4069
3992
|
return writer;
|
|
4070
3993
|
},
|
|
@@ -4083,49 +4006,35 @@ exports.AddContractRequest = {
|
|
|
4083
4006
|
continue;
|
|
4084
4007
|
}
|
|
4085
4008
|
case 2: {
|
|
4086
|
-
if (tag !==
|
|
4009
|
+
if (tag !== 16) {
|
|
4087
4010
|
break;
|
|
4088
4011
|
}
|
|
4089
|
-
message.
|
|
4012
|
+
message.prod_id = reader.int32();
|
|
4090
4013
|
continue;
|
|
4091
4014
|
}
|
|
4092
4015
|
case 3: {
|
|
4093
4016
|
if (tag !== 26) {
|
|
4094
4017
|
break;
|
|
4095
4018
|
}
|
|
4096
|
-
message.
|
|
4019
|
+
message.location = reader.string();
|
|
4097
4020
|
continue;
|
|
4098
4021
|
}
|
|
4099
4022
|
case 4: {
|
|
4100
4023
|
if (tag !== 32) {
|
|
4101
4024
|
break;
|
|
4102
4025
|
}
|
|
4103
|
-
message.prod_id = reader.int32();
|
|
4104
|
-
continue;
|
|
4105
|
-
}
|
|
4106
|
-
case 5: {
|
|
4107
|
-
if (tag !== 42) {
|
|
4108
|
-
break;
|
|
4109
|
-
}
|
|
4110
|
-
message.location = reader.string();
|
|
4111
|
-
continue;
|
|
4112
|
-
}
|
|
4113
|
-
case 6: {
|
|
4114
|
-
if (tag !== 48) {
|
|
4115
|
-
break;
|
|
4116
|
-
}
|
|
4117
4026
|
message.location_type = reader.int32();
|
|
4118
4027
|
continue;
|
|
4119
4028
|
}
|
|
4120
|
-
case
|
|
4121
|
-
if (tag !==
|
|
4029
|
+
case 5: {
|
|
4030
|
+
if (tag !== 40) {
|
|
4122
4031
|
break;
|
|
4123
4032
|
}
|
|
4124
4033
|
message.shared_balance = reader.int32();
|
|
4125
4034
|
continue;
|
|
4126
4035
|
}
|
|
4127
|
-
case
|
|
4128
|
-
if (tag !==
|
|
4036
|
+
case 6: {
|
|
4037
|
+
if (tag !== 50) {
|
|
4129
4038
|
break;
|
|
4130
4039
|
}
|
|
4131
4040
|
message.funding_account_number = reader.string();
|
|
@@ -4145,8 +4054,6 @@ exports.AddContractRequest = {
|
|
|
4145
4054
|
fromPartial(object) {
|
|
4146
4055
|
const message = createBaseAddContractRequest();
|
|
4147
4056
|
message.contract_id = object.contract_id ?? "";
|
|
4148
|
-
message.provider_id = object.provider_id ?? "";
|
|
4149
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
4150
4057
|
message.prod_id = object.prod_id ?? 0;
|
|
4151
4058
|
message.location = object.location ?? "";
|
|
4152
4059
|
message.location_type = object.location_type ?? 0;
|
|
@@ -4310,8 +4217,6 @@ exports.AddContractResponse = {
|
|
|
4310
4217
|
};
|
|
4311
4218
|
function createBaseSearchContractsRequest() {
|
|
4312
4219
|
return {
|
|
4313
|
-
provider_id: "",
|
|
4314
|
-
transaction_id: "",
|
|
4315
4220
|
account_number: undefined,
|
|
4316
4221
|
first_name: undefined,
|
|
4317
4222
|
middle_name: undefined,
|
|
@@ -4331,56 +4236,50 @@ function createBaseSearchContractsRequest() {
|
|
|
4331
4236
|
}
|
|
4332
4237
|
exports.SearchContractsRequest = {
|
|
4333
4238
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4334
|
-
if (message.provider_id !== "") {
|
|
4335
|
-
writer.uint32(10).string(message.provider_id);
|
|
4336
|
-
}
|
|
4337
|
-
if (message.transaction_id !== "") {
|
|
4338
|
-
writer.uint32(18).string(message.transaction_id);
|
|
4339
|
-
}
|
|
4340
4239
|
if (message.account_number !== undefined) {
|
|
4341
|
-
writer.uint32(
|
|
4240
|
+
writer.uint32(10).string(message.account_number);
|
|
4342
4241
|
}
|
|
4343
4242
|
if (message.first_name !== undefined) {
|
|
4344
|
-
writer.uint32(
|
|
4243
|
+
writer.uint32(18).string(message.first_name);
|
|
4345
4244
|
}
|
|
4346
4245
|
if (message.middle_name !== undefined) {
|
|
4347
|
-
writer.uint32(
|
|
4246
|
+
writer.uint32(26).string(message.middle_name);
|
|
4348
4247
|
}
|
|
4349
4248
|
if (message.last_name !== undefined) {
|
|
4350
|
-
writer.uint32(
|
|
4249
|
+
writer.uint32(34).string(message.last_name);
|
|
4351
4250
|
}
|
|
4352
4251
|
if (message.date_of_birth !== undefined) {
|
|
4353
|
-
writer.uint32(
|
|
4252
|
+
writer.uint32(42).string(message.date_of_birth);
|
|
4354
4253
|
}
|
|
4355
4254
|
if (message.zip !== undefined) {
|
|
4356
|
-
writer.uint32(
|
|
4255
|
+
writer.uint32(50).string(message.zip);
|
|
4357
4256
|
}
|
|
4358
4257
|
if (message.primary_phone !== undefined) {
|
|
4359
|
-
writer.uint32(
|
|
4258
|
+
writer.uint32(58).string(message.primary_phone);
|
|
4360
4259
|
}
|
|
4361
4260
|
if (message.other_phone !== undefined) {
|
|
4362
|
-
writer.uint32(
|
|
4261
|
+
writer.uint32(66).string(message.other_phone);
|
|
4363
4262
|
}
|
|
4364
4263
|
if (message.mobile_phone !== undefined) {
|
|
4365
|
-
writer.uint32(
|
|
4264
|
+
writer.uint32(74).string(message.mobile_phone);
|
|
4366
4265
|
}
|
|
4367
4266
|
if (message.email !== undefined) {
|
|
4368
|
-
writer.uint32(
|
|
4267
|
+
writer.uint32(82).string(message.email);
|
|
4369
4268
|
}
|
|
4370
4269
|
if (message.user_data !== undefined) {
|
|
4371
|
-
writer.uint32(
|
|
4270
|
+
writer.uint32(90).string(message.user_data);
|
|
4372
4271
|
}
|
|
4373
4272
|
if (message.eext_id !== undefined) {
|
|
4374
|
-
writer.uint32(
|
|
4273
|
+
writer.uint32(98).string(message.eext_id);
|
|
4375
4274
|
}
|
|
4376
4275
|
if (message.record_cnt !== undefined) {
|
|
4377
|
-
writer.uint32(
|
|
4276
|
+
writer.uint32(104).int32(message.record_cnt);
|
|
4378
4277
|
}
|
|
4379
4278
|
if (message.page !== undefined) {
|
|
4380
|
-
writer.uint32(
|
|
4279
|
+
writer.uint32(112).int32(message.page);
|
|
4381
4280
|
}
|
|
4382
4281
|
if (message.mobile_phone_country_code !== undefined) {
|
|
4383
|
-
writer.uint32(
|
|
4282
|
+
writer.uint32(122).string(message.mobile_phone_country_code);
|
|
4384
4283
|
}
|
|
4385
4284
|
return writer;
|
|
4386
4285
|
},
|
|
@@ -4395,116 +4294,102 @@ exports.SearchContractsRequest = {
|
|
|
4395
4294
|
if (tag !== 10) {
|
|
4396
4295
|
break;
|
|
4397
4296
|
}
|
|
4398
|
-
message.
|
|
4297
|
+
message.account_number = reader.string();
|
|
4399
4298
|
continue;
|
|
4400
4299
|
}
|
|
4401
4300
|
case 2: {
|
|
4402
4301
|
if (tag !== 18) {
|
|
4403
4302
|
break;
|
|
4404
4303
|
}
|
|
4405
|
-
message.
|
|
4304
|
+
message.first_name = reader.string();
|
|
4406
4305
|
continue;
|
|
4407
4306
|
}
|
|
4408
4307
|
case 3: {
|
|
4409
4308
|
if (tag !== 26) {
|
|
4410
4309
|
break;
|
|
4411
4310
|
}
|
|
4412
|
-
message.
|
|
4311
|
+
message.middle_name = reader.string();
|
|
4413
4312
|
continue;
|
|
4414
4313
|
}
|
|
4415
4314
|
case 4: {
|
|
4416
4315
|
if (tag !== 34) {
|
|
4417
4316
|
break;
|
|
4418
4317
|
}
|
|
4419
|
-
message.
|
|
4318
|
+
message.last_name = reader.string();
|
|
4420
4319
|
continue;
|
|
4421
4320
|
}
|
|
4422
4321
|
case 5: {
|
|
4423
4322
|
if (tag !== 42) {
|
|
4424
4323
|
break;
|
|
4425
4324
|
}
|
|
4426
|
-
message.
|
|
4325
|
+
message.date_of_birth = reader.string();
|
|
4427
4326
|
continue;
|
|
4428
4327
|
}
|
|
4429
4328
|
case 6: {
|
|
4430
4329
|
if (tag !== 50) {
|
|
4431
4330
|
break;
|
|
4432
4331
|
}
|
|
4433
|
-
message.
|
|
4332
|
+
message.zip = reader.string();
|
|
4434
4333
|
continue;
|
|
4435
4334
|
}
|
|
4436
4335
|
case 7: {
|
|
4437
4336
|
if (tag !== 58) {
|
|
4438
4337
|
break;
|
|
4439
4338
|
}
|
|
4440
|
-
message.
|
|
4339
|
+
message.primary_phone = reader.string();
|
|
4441
4340
|
continue;
|
|
4442
4341
|
}
|
|
4443
4342
|
case 8: {
|
|
4444
4343
|
if (tag !== 66) {
|
|
4445
4344
|
break;
|
|
4446
4345
|
}
|
|
4447
|
-
message.
|
|
4346
|
+
message.other_phone = reader.string();
|
|
4448
4347
|
continue;
|
|
4449
4348
|
}
|
|
4450
4349
|
case 9: {
|
|
4451
4350
|
if (tag !== 74) {
|
|
4452
4351
|
break;
|
|
4453
4352
|
}
|
|
4454
|
-
message.
|
|
4353
|
+
message.mobile_phone = reader.string();
|
|
4455
4354
|
continue;
|
|
4456
4355
|
}
|
|
4457
4356
|
case 10: {
|
|
4458
4357
|
if (tag !== 82) {
|
|
4459
4358
|
break;
|
|
4460
4359
|
}
|
|
4461
|
-
message.
|
|
4360
|
+
message.email = reader.string();
|
|
4462
4361
|
continue;
|
|
4463
4362
|
}
|
|
4464
4363
|
case 11: {
|
|
4465
4364
|
if (tag !== 90) {
|
|
4466
4365
|
break;
|
|
4467
4366
|
}
|
|
4468
|
-
message.
|
|
4367
|
+
message.user_data = reader.string();
|
|
4469
4368
|
continue;
|
|
4470
4369
|
}
|
|
4471
4370
|
case 12: {
|
|
4472
4371
|
if (tag !== 98) {
|
|
4473
4372
|
break;
|
|
4474
4373
|
}
|
|
4475
|
-
message.email = reader.string();
|
|
4476
|
-
continue;
|
|
4477
|
-
}
|
|
4478
|
-
case 13: {
|
|
4479
|
-
if (tag !== 106) {
|
|
4480
|
-
break;
|
|
4481
|
-
}
|
|
4482
|
-
message.user_data = reader.string();
|
|
4483
|
-
continue;
|
|
4484
|
-
}
|
|
4485
|
-
case 14: {
|
|
4486
|
-
if (tag !== 114) {
|
|
4487
|
-
break;
|
|
4488
|
-
}
|
|
4489
4374
|
message.eext_id = reader.string();
|
|
4490
4375
|
continue;
|
|
4491
4376
|
}
|
|
4492
|
-
case
|
|
4493
|
-
if (tag !==
|
|
4377
|
+
case 13: {
|
|
4378
|
+
if (tag !== 104) {
|
|
4494
4379
|
break;
|
|
4495
4380
|
}
|
|
4496
4381
|
message.record_cnt = reader.int32();
|
|
4497
4382
|
continue;
|
|
4498
4383
|
}
|
|
4499
|
-
case
|
|
4500
|
-
if (tag !==
|
|
4384
|
+
case 14: {
|
|
4385
|
+
if (tag !== 112) {
|
|
4501
4386
|
break;
|
|
4502
4387
|
}
|
|
4503
4388
|
message.page = reader.int32();
|
|
4504
4389
|
continue;
|
|
4505
4390
|
}
|
|
4506
|
-
case
|
|
4507
|
-
if (tag !==
|
|
4391
|
+
case 15: {
|
|
4392
|
+
if (tag !== 122) {
|
|
4508
4393
|
break;
|
|
4509
4394
|
}
|
|
4510
4395
|
message.mobile_phone_country_code = reader.string();
|
|
@@ -4523,8 +4408,6 @@ exports.SearchContractsRequest = {
|
|
|
4523
4408
|
},
|
|
4524
4409
|
fromPartial(object) {
|
|
4525
4410
|
const message = createBaseSearchContractsRequest();
|
|
4526
|
-
message.provider_id = object.provider_id ?? "";
|
|
4527
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
4528
4411
|
message.account_number = object.account_number ?? undefined;
|
|
4529
4412
|
message.first_name = object.first_name ?? undefined;
|
|
4530
4413
|
message.middle_name = object.middle_name ?? undefined;
|
|
@@ -4631,30 +4514,18 @@ exports.SearchContractsResponse = {
|
|
|
4631
4514
|
},
|
|
4632
4515
|
};
|
|
4633
4516
|
function createBaseChargeOffContractRequest() {
|
|
4634
|
-
return {
|
|
4635
|
-
contract_id: "",
|
|
4636
|
-
provider_id: "",
|
|
4637
|
-
transaction_id: "",
|
|
4638
|
-
charge_off_details: "",
|
|
4639
|
-
close_associated_accounts: undefined,
|
|
4640
|
-
};
|
|
4517
|
+
return { contract_id: "", charge_off_details: "", close_associated_accounts: undefined };
|
|
4641
4518
|
}
|
|
4642
4519
|
exports.ChargeOffContractRequest = {
|
|
4643
4520
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4644
4521
|
if (message.contract_id !== "") {
|
|
4645
4522
|
writer.uint32(10).string(message.contract_id);
|
|
4646
4523
|
}
|
|
4647
|
-
if (message.provider_id !== "") {
|
|
4648
|
-
writer.uint32(18).string(message.provider_id);
|
|
4649
|
-
}
|
|
4650
|
-
if (message.transaction_id !== "") {
|
|
4651
|
-
writer.uint32(26).string(message.transaction_id);
|
|
4652
|
-
}
|
|
4653
4524
|
if (message.charge_off_details !== "") {
|
|
4654
|
-
writer.uint32(
|
|
4525
|
+
writer.uint32(18).string(message.charge_off_details);
|
|
4655
4526
|
}
|
|
4656
4527
|
if (message.close_associated_accounts !== undefined) {
|
|
4657
|
-
writer.uint32(
|
|
4528
|
+
writer.uint32(24).int32(message.close_associated_accounts);
|
|
4658
4529
|
}
|
|
4659
4530
|
return writer;
|
|
4660
4531
|
},
|
|
@@ -4676,25 +4547,11 @@ exports.ChargeOffContractRequest = {
|
|
|
4676
4547
|
if (tag !== 18) {
|
|
4677
4548
|
break;
|
|
4678
4549
|
}
|
|
4679
|
-
message.provider_id = reader.string();
|
|
4680
|
-
continue;
|
|
4681
|
-
}
|
|
4682
|
-
case 3: {
|
|
4683
|
-
if (tag !== 26) {
|
|
4684
|
-
break;
|
|
4685
|
-
}
|
|
4686
|
-
message.transaction_id = reader.string();
|
|
4687
|
-
continue;
|
|
4688
|
-
}
|
|
4689
|
-
case 4: {
|
|
4690
|
-
if (tag !== 34) {
|
|
4691
|
-
break;
|
|
4692
|
-
}
|
|
4693
4550
|
message.charge_off_details = reader.string();
|
|
4694
4551
|
continue;
|
|
4695
4552
|
}
|
|
4696
|
-
case
|
|
4697
|
-
if (tag !==
|
|
4553
|
+
case 3: {
|
|
4554
|
+
if (tag !== 24) {
|
|
4698
4555
|
break;
|
|
4699
4556
|
}
|
|
4700
4557
|
message.close_associated_accounts = reader.int32();
|
|
@@ -4714,8 +4571,6 @@ exports.ChargeOffContractRequest = {
|
|
|
4714
4571
|
fromPartial(object) {
|
|
4715
4572
|
const message = createBaseChargeOffContractRequest();
|
|
4716
4573
|
message.contract_id = object.contract_id ?? "";
|
|
4717
|
-
message.provider_id = object.provider_id ?? "";
|
|
4718
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
4719
4574
|
message.charge_off_details = object.charge_off_details ?? "";
|
|
4720
4575
|
message.close_associated_accounts = object.close_associated_accounts ?? undefined;
|
|
4721
4576
|
return message;
|
|
@@ -4776,24 +4631,18 @@ exports.ChargeOffContractResponse = {
|
|
|
4776
4631
|
},
|
|
4777
4632
|
};
|
|
4778
4633
|
function createBaseGetContractDataRequest() {
|
|
4779
|
-
return { contract_id: "",
|
|
4634
|
+
return { contract_id: "", start_date: undefined, end_date: undefined };
|
|
4780
4635
|
}
|
|
4781
4636
|
exports.GetContractDataRequest = {
|
|
4782
4637
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
4783
4638
|
if (message.contract_id !== "") {
|
|
4784
4639
|
writer.uint32(10).string(message.contract_id);
|
|
4785
4640
|
}
|
|
4786
|
-
if (message.provider_id !== "") {
|
|
4787
|
-
writer.uint32(18).string(message.provider_id);
|
|
4788
|
-
}
|
|
4789
|
-
if (message.transaction_id !== "") {
|
|
4790
|
-
writer.uint32(26).string(message.transaction_id);
|
|
4791
|
-
}
|
|
4792
4641
|
if (message.start_date !== undefined) {
|
|
4793
|
-
writer.uint32(
|
|
4642
|
+
writer.uint32(18).string(message.start_date);
|
|
4794
4643
|
}
|
|
4795
4644
|
if (message.end_date !== undefined) {
|
|
4796
|
-
writer.uint32(
|
|
4645
|
+
writer.uint32(26).string(message.end_date);
|
|
4797
4646
|
}
|
|
4798
4647
|
return writer;
|
|
4799
4648
|
},
|
|
@@ -4815,27 +4664,13 @@ exports.GetContractDataRequest = {
|
|
|
4815
4664
|
if (tag !== 18) {
|
|
4816
4665
|
break;
|
|
4817
4666
|
}
|
|
4818
|
-
message.
|
|
4667
|
+
message.start_date = reader.string();
|
|
4819
4668
|
continue;
|
|
4820
4669
|
}
|
|
4821
4670
|
case 3: {
|
|
4822
4671
|
if (tag !== 26) {
|
|
4823
4672
|
break;
|
|
4824
4673
|
}
|
|
4825
|
-
message.transaction_id = reader.string();
|
|
4826
|
-
continue;
|
|
4827
|
-
}
|
|
4828
|
-
case 4: {
|
|
4829
|
-
if (tag !== 34) {
|
|
4830
|
-
break;
|
|
4831
|
-
}
|
|
4832
|
-
message.start_date = reader.string();
|
|
4833
|
-
continue;
|
|
4834
|
-
}
|
|
4835
|
-
case 5: {
|
|
4836
|
-
if (tag !== 42) {
|
|
4837
|
-
break;
|
|
4838
|
-
}
|
|
4839
4674
|
message.end_date = reader.string();
|
|
4840
4675
|
continue;
|
|
4841
4676
|
}
|
|
@@ -4853,8 +4688,6 @@ exports.GetContractDataRequest = {
|
|
|
4853
4688
|
fromPartial(object) {
|
|
4854
4689
|
const message = createBaseGetContractDataRequest();
|
|
4855
4690
|
message.contract_id = object.contract_id ?? "";
|
|
4856
|
-
message.provider_id = object.provider_id ?? "";
|
|
4857
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
4858
4691
|
message.start_date = object.start_date ?? undefined;
|
|
4859
4692
|
message.end_date = object.end_date ?? undefined;
|
|
4860
4693
|
return message;
|
|
@@ -5014,24 +4847,18 @@ exports.GetCustomerProfileResponse = {
|
|
|
5014
4847
|
},
|
|
5015
4848
|
};
|
|
5016
4849
|
function createBaseGetTransactionsRequest() {
|
|
5017
|
-
return { contract_id: "",
|
|
4850
|
+
return { contract_id: "", start_date: undefined, end_date: undefined };
|
|
5018
4851
|
}
|
|
5019
4852
|
exports.GetTransactionsRequest = {
|
|
5020
4853
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5021
4854
|
if (message.contract_id !== "") {
|
|
5022
4855
|
writer.uint32(10).string(message.contract_id);
|
|
5023
4856
|
}
|
|
5024
|
-
if (message.provider_id !== "") {
|
|
5025
|
-
writer.uint32(18).string(message.provider_id);
|
|
5026
|
-
}
|
|
5027
|
-
if (message.transaction_id !== "") {
|
|
5028
|
-
writer.uint32(26).string(message.transaction_id);
|
|
5029
|
-
}
|
|
5030
4857
|
if (message.start_date !== undefined) {
|
|
5031
|
-
writer.uint32(
|
|
4858
|
+
writer.uint32(18).string(message.start_date);
|
|
5032
4859
|
}
|
|
5033
4860
|
if (message.end_date !== undefined) {
|
|
5034
|
-
writer.uint32(
|
|
4861
|
+
writer.uint32(26).string(message.end_date);
|
|
5035
4862
|
}
|
|
5036
4863
|
return writer;
|
|
5037
4864
|
},
|
|
@@ -5053,27 +4880,13 @@ exports.GetTransactionsRequest = {
|
|
|
5053
4880
|
if (tag !== 18) {
|
|
5054
4881
|
break;
|
|
5055
4882
|
}
|
|
5056
|
-
message.
|
|
4883
|
+
message.start_date = reader.string();
|
|
5057
4884
|
continue;
|
|
5058
4885
|
}
|
|
5059
4886
|
case 3: {
|
|
5060
4887
|
if (tag !== 26) {
|
|
5061
4888
|
break;
|
|
5062
4889
|
}
|
|
5063
|
-
message.transaction_id = reader.string();
|
|
5064
|
-
continue;
|
|
5065
|
-
}
|
|
5066
|
-
case 4: {
|
|
5067
|
-
if (tag !== 34) {
|
|
5068
|
-
break;
|
|
5069
|
-
}
|
|
5070
|
-
message.start_date = reader.string();
|
|
5071
|
-
continue;
|
|
5072
|
-
}
|
|
5073
|
-
case 5: {
|
|
5074
|
-
if (tag !== 42) {
|
|
5075
|
-
break;
|
|
5076
|
-
}
|
|
5077
4890
|
message.end_date = reader.string();
|
|
5078
4891
|
continue;
|
|
5079
4892
|
}
|
|
@@ -5091,8 +4904,6 @@ exports.GetTransactionsRequest = {
|
|
|
5091
4904
|
fromPartial(object) {
|
|
5092
4905
|
const message = createBaseGetTransactionsRequest();
|
|
5093
4906
|
message.contract_id = object.contract_id ?? "";
|
|
5094
|
-
message.provider_id = object.provider_id ?? "";
|
|
5095
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
5096
4907
|
message.start_date = object.start_date ?? undefined;
|
|
5097
4908
|
message.end_date = object.end_date ?? undefined;
|
|
5098
4909
|
return message;
|
|
@@ -5153,24 +4964,18 @@ exports.GetTransactionsResponse = {
|
|
|
5153
4964
|
},
|
|
5154
4965
|
};
|
|
5155
4966
|
function createBaseGetAuthorizationsRequest() {
|
|
5156
|
-
return { contract_id: "",
|
|
4967
|
+
return { contract_id: "", start_date: undefined, end_date: undefined };
|
|
5157
4968
|
}
|
|
5158
4969
|
exports.GetAuthorizationsRequest = {
|
|
5159
4970
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5160
4971
|
if (message.contract_id !== "") {
|
|
5161
4972
|
writer.uint32(10).string(message.contract_id);
|
|
5162
4973
|
}
|
|
5163
|
-
if (message.provider_id !== "") {
|
|
5164
|
-
writer.uint32(18).string(message.provider_id);
|
|
5165
|
-
}
|
|
5166
|
-
if (message.transaction_id !== "") {
|
|
5167
|
-
writer.uint32(26).string(message.transaction_id);
|
|
5168
|
-
}
|
|
5169
4974
|
if (message.start_date !== undefined) {
|
|
5170
|
-
writer.uint32(
|
|
4975
|
+
writer.uint32(18).string(message.start_date);
|
|
5171
4976
|
}
|
|
5172
4977
|
if (message.end_date !== undefined) {
|
|
5173
|
-
writer.uint32(
|
|
4978
|
+
writer.uint32(26).string(message.end_date);
|
|
5174
4979
|
}
|
|
5175
4980
|
return writer;
|
|
5176
4981
|
},
|
|
@@ -5192,27 +4997,13 @@ exports.GetAuthorizationsRequest = {
|
|
|
5192
4997
|
if (tag !== 18) {
|
|
5193
4998
|
break;
|
|
5194
4999
|
}
|
|
5195
|
-
message.
|
|
5000
|
+
message.start_date = reader.string();
|
|
5196
5001
|
continue;
|
|
5197
5002
|
}
|
|
5198
5003
|
case 3: {
|
|
5199
5004
|
if (tag !== 26) {
|
|
5200
5005
|
break;
|
|
5201
5006
|
}
|
|
5202
|
-
message.transaction_id = reader.string();
|
|
5203
|
-
continue;
|
|
5204
|
-
}
|
|
5205
|
-
case 4: {
|
|
5206
|
-
if (tag !== 34) {
|
|
5207
|
-
break;
|
|
5208
|
-
}
|
|
5209
|
-
message.start_date = reader.string();
|
|
5210
|
-
continue;
|
|
5211
|
-
}
|
|
5212
|
-
case 5: {
|
|
5213
|
-
if (tag !== 42) {
|
|
5214
|
-
break;
|
|
5215
|
-
}
|
|
5216
5007
|
message.end_date = reader.string();
|
|
5217
5008
|
continue;
|
|
5218
5009
|
}
|
|
@@ -5230,8 +5021,6 @@ exports.GetAuthorizationsRequest = {
|
|
|
5230
5021
|
fromPartial(object) {
|
|
5231
5022
|
const message = createBaseGetAuthorizationsRequest();
|
|
5232
5023
|
message.contract_id = object.contract_id ?? "";
|
|
5233
|
-
message.provider_id = object.provider_id ?? "";
|
|
5234
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
5235
5024
|
message.start_date = object.start_date ?? undefined;
|
|
5236
5025
|
message.end_date = object.end_date ?? undefined;
|
|
5237
5026
|
return message;
|
|
@@ -5292,24 +5081,18 @@ exports.GetAuthorizationsResponse = {
|
|
|
5292
5081
|
},
|
|
5293
5082
|
};
|
|
5294
5083
|
function createBaseGetPendingFeesRequest() {
|
|
5295
|
-
return { contract_id: "",
|
|
5084
|
+
return { contract_id: "", start_date: undefined, end_date: undefined };
|
|
5296
5085
|
}
|
|
5297
5086
|
exports.GetPendingFeesRequest = {
|
|
5298
5087
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5299
5088
|
if (message.contract_id !== "") {
|
|
5300
5089
|
writer.uint32(10).string(message.contract_id);
|
|
5301
5090
|
}
|
|
5302
|
-
if (message.provider_id !== "") {
|
|
5303
|
-
writer.uint32(18).string(message.provider_id);
|
|
5304
|
-
}
|
|
5305
|
-
if (message.transaction_id !== "") {
|
|
5306
|
-
writer.uint32(26).string(message.transaction_id);
|
|
5307
|
-
}
|
|
5308
5091
|
if (message.start_date !== undefined) {
|
|
5309
|
-
writer.uint32(
|
|
5092
|
+
writer.uint32(18).string(message.start_date);
|
|
5310
5093
|
}
|
|
5311
5094
|
if (message.end_date !== undefined) {
|
|
5312
|
-
writer.uint32(
|
|
5095
|
+
writer.uint32(26).string(message.end_date);
|
|
5313
5096
|
}
|
|
5314
5097
|
return writer;
|
|
5315
5098
|
},
|
|
@@ -5331,27 +5114,13 @@ exports.GetPendingFeesRequest = {
|
|
|
5331
5114
|
if (tag !== 18) {
|
|
5332
5115
|
break;
|
|
5333
5116
|
}
|
|
5334
|
-
message.
|
|
5117
|
+
message.start_date = reader.string();
|
|
5335
5118
|
continue;
|
|
5336
5119
|
}
|
|
5337
5120
|
case 3: {
|
|
5338
5121
|
if (tag !== 26) {
|
|
5339
5122
|
break;
|
|
5340
5123
|
}
|
|
5341
|
-
message.transaction_id = reader.string();
|
|
5342
|
-
continue;
|
|
5343
|
-
}
|
|
5344
|
-
case 4: {
|
|
5345
|
-
if (tag !== 34) {
|
|
5346
|
-
break;
|
|
5347
|
-
}
|
|
5348
|
-
message.start_date = reader.string();
|
|
5349
|
-
continue;
|
|
5350
|
-
}
|
|
5351
|
-
case 5: {
|
|
5352
|
-
if (tag !== 42) {
|
|
5353
|
-
break;
|
|
5354
|
-
}
|
|
5355
5124
|
message.end_date = reader.string();
|
|
5356
5125
|
continue;
|
|
5357
5126
|
}
|
|
@@ -5369,8 +5138,6 @@ exports.GetPendingFeesRequest = {
|
|
|
5369
5138
|
fromPartial(object) {
|
|
5370
5139
|
const message = createBaseGetPendingFeesRequest();
|
|
5371
5140
|
message.contract_id = object.contract_id ?? "";
|
|
5372
|
-
message.provider_id = object.provider_id ?? "";
|
|
5373
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
5374
5141
|
message.start_date = object.start_date ?? undefined;
|
|
5375
5142
|
message.end_date = object.end_date ?? undefined;
|
|
5376
5143
|
return message;
|
|
@@ -5431,24 +5198,18 @@ exports.GetPendingFeesResponse = {
|
|
|
5431
5198
|
},
|
|
5432
5199
|
};
|
|
5433
5200
|
function createBaseGetSavingsInterestRequest() {
|
|
5434
|
-
return { contract_id: "",
|
|
5201
|
+
return { contract_id: "", start_date: undefined, end_date: undefined };
|
|
5435
5202
|
}
|
|
5436
5203
|
exports.GetSavingsInterestRequest = {
|
|
5437
5204
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5438
5205
|
if (message.contract_id !== "") {
|
|
5439
5206
|
writer.uint32(10).string(message.contract_id);
|
|
5440
5207
|
}
|
|
5441
|
-
if (message.provider_id !== "") {
|
|
5442
|
-
writer.uint32(18).string(message.provider_id);
|
|
5443
|
-
}
|
|
5444
|
-
if (message.transaction_id !== "") {
|
|
5445
|
-
writer.uint32(26).string(message.transaction_id);
|
|
5446
|
-
}
|
|
5447
5208
|
if (message.start_date !== undefined) {
|
|
5448
|
-
writer.uint32(
|
|
5209
|
+
writer.uint32(18).string(message.start_date);
|
|
5449
5210
|
}
|
|
5450
5211
|
if (message.end_date !== undefined) {
|
|
5451
|
-
writer.uint32(
|
|
5212
|
+
writer.uint32(26).string(message.end_date);
|
|
5452
5213
|
}
|
|
5453
5214
|
return writer;
|
|
5454
5215
|
},
|
|
@@ -5470,27 +5231,13 @@ exports.GetSavingsInterestRequest = {
|
|
|
5470
5231
|
if (tag !== 18) {
|
|
5471
5232
|
break;
|
|
5472
5233
|
}
|
|
5473
|
-
message.
|
|
5234
|
+
message.start_date = reader.string();
|
|
5474
5235
|
continue;
|
|
5475
5236
|
}
|
|
5476
5237
|
case 3: {
|
|
5477
5238
|
if (tag !== 26) {
|
|
5478
5239
|
break;
|
|
5479
5240
|
}
|
|
5480
|
-
message.transaction_id = reader.string();
|
|
5481
|
-
continue;
|
|
5482
|
-
}
|
|
5483
|
-
case 4: {
|
|
5484
|
-
if (tag !== 34) {
|
|
5485
|
-
break;
|
|
5486
|
-
}
|
|
5487
|
-
message.start_date = reader.string();
|
|
5488
|
-
continue;
|
|
5489
|
-
}
|
|
5490
|
-
case 5: {
|
|
5491
|
-
if (tag !== 42) {
|
|
5492
|
-
break;
|
|
5493
|
-
}
|
|
5494
5241
|
message.end_date = reader.string();
|
|
5495
5242
|
continue;
|
|
5496
5243
|
}
|
|
@@ -5508,8 +5255,6 @@ exports.GetSavingsInterestRequest = {
|
|
|
5508
5255
|
fromPartial(object) {
|
|
5509
5256
|
const message = createBaseGetSavingsInterestRequest();
|
|
5510
5257
|
message.contract_id = object.contract_id ?? "";
|
|
5511
|
-
message.provider_id = object.provider_id ?? "";
|
|
5512
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
5513
5258
|
message.start_date = object.start_date ?? undefined;
|
|
5514
5259
|
message.end_date = object.end_date ?? undefined;
|
|
5515
5260
|
return message;
|
|
@@ -5572,24 +5317,18 @@ exports.GetSavingsInterestResponse = {
|
|
|
5572
5317
|
},
|
|
5573
5318
|
};
|
|
5574
5319
|
function createBaseGetHoldsRequest() {
|
|
5575
|
-
return { contract_id: "",
|
|
5320
|
+
return { contract_id: "", start_date: undefined, end_date: undefined };
|
|
5576
5321
|
}
|
|
5577
5322
|
exports.GetHoldsRequest = {
|
|
5578
5323
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
5579
5324
|
if (message.contract_id !== "") {
|
|
5580
5325
|
writer.uint32(10).string(message.contract_id);
|
|
5581
5326
|
}
|
|
5582
|
-
if (message.provider_id !== "") {
|
|
5583
|
-
writer.uint32(18).string(message.provider_id);
|
|
5584
|
-
}
|
|
5585
|
-
if (message.transaction_id !== "") {
|
|
5586
|
-
writer.uint32(26).string(message.transaction_id);
|
|
5587
|
-
}
|
|
5588
5327
|
if (message.start_date !== undefined) {
|
|
5589
|
-
writer.uint32(
|
|
5328
|
+
writer.uint32(18).string(message.start_date);
|
|
5590
5329
|
}
|
|
5591
5330
|
if (message.end_date !== undefined) {
|
|
5592
|
-
writer.uint32(
|
|
5331
|
+
writer.uint32(26).string(message.end_date);
|
|
5593
5332
|
}
|
|
5594
5333
|
return writer;
|
|
5595
5334
|
},
|
|
@@ -5611,27 +5350,13 @@ exports.GetHoldsRequest = {
|
|
|
5611
5350
|
if (tag !== 18) {
|
|
5612
5351
|
break;
|
|
5613
5352
|
}
|
|
5614
|
-
message.
|
|
5353
|
+
message.start_date = reader.string();
|
|
5615
5354
|
continue;
|
|
5616
5355
|
}
|
|
5617
5356
|
case 3: {
|
|
5618
5357
|
if (tag !== 26) {
|
|
5619
5358
|
break;
|
|
5620
5359
|
}
|
|
5621
|
-
message.transaction_id = reader.string();
|
|
5622
|
-
continue;
|
|
5623
|
-
}
|
|
5624
|
-
case 4: {
|
|
5625
|
-
if (tag !== 34) {
|
|
5626
|
-
break;
|
|
5627
|
-
}
|
|
5628
|
-
message.start_date = reader.string();
|
|
5629
|
-
continue;
|
|
5630
|
-
}
|
|
5631
|
-
case 5: {
|
|
5632
|
-
if (tag !== 42) {
|
|
5633
|
-
break;
|
|
5634
|
-
}
|
|
5635
5360
|
message.end_date = reader.string();
|
|
5636
5361
|
continue;
|
|
5637
5362
|
}
|
|
@@ -5649,8 +5374,6 @@ exports.GetHoldsRequest = {
|
|
|
5649
5374
|
fromPartial(object) {
|
|
5650
5375
|
const message = createBaseGetHoldsRequest();
|
|
5651
5376
|
message.contract_id = object.contract_id ?? "";
|
|
5652
|
-
message.provider_id = object.provider_id ?? "";
|
|
5653
|
-
message.transaction_id = object.transaction_id ?? "";
|
|
5654
5377
|
message.start_date = object.start_date ?? undefined;
|
|
5655
5378
|
message.end_date = object.end_date ?? undefined;
|
|
5656
5379
|
return message;
|