@alexochihua/protos 1.0.40 → 1.0.42

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.
Files changed (34) hide show
  1. package/dist/generated/kapital/contracts/v1/contracts.d.ts +5 -33
  2. package/dist/generated/kapital/contracts/v1/contracts.js +304 -625
  3. package/dist/generated/kapital/contracts/v1/contracts.js.map +1 -1
  4. package/dist/generated/kapital/contracts/v1/contracts_types.d.ts +5 -0
  5. package/dist/generated/kapital/contracts/v1/contracts_types.js +53 -1
  6. package/dist/generated/kapital/contracts/v1/contracts_types.js.map +1 -1
  7. package/dist/generated/kapital/payments/v1/payments.d.ts +0 -4
  8. package/dist/generated/kapital/payments/v1/payments.js +77 -132
  9. package/dist/generated/kapital/payments/v1/payments.js.map +1 -1
  10. package/dist/generated/kapital/transactions/v1/transactions.d.ts +0 -2
  11. package/dist/generated/kapital/transactions/v1/transactions.js +20 -50
  12. package/dist/generated/kapital/transactions/v1/transactions.js.map +1 -1
  13. package/package.json +1 -1
  14. package/proto/kapital/accounts/v1/accounts.proto +80 -80
  15. package/proto/kapital/accounts/v1/accounts_types.proto +31 -31
  16. package/proto/kapital/accumulates/v1/accumulates_service.proto +81 -81
  17. package/proto/kapital/accumulates/v1/accumulates_types.proto +30 -30
  18. package/proto/kapital/cards/v1/cards.proto +32 -32
  19. package/proto/kapital/cards/v1/cards_types.proto +33 -33
  20. package/proto/kapital/commissions/v1/commissions.proto +69 -69
  21. package/proto/kapital/commissions/v1/commissions_types.proto +21 -21
  22. package/proto/kapital/common/v1/error.proto +18 -18
  23. package/proto/kapital/common/v1/meta.proto +13 -13
  24. package/proto/kapital/common/v1/pagination.proto +18 -18
  25. package/proto/kapital/contracts/v1/contracts.proto +131 -163
  26. package/proto/kapital/contracts/v1/contracts_types.proto +320 -315
  27. package/proto/kapital/offers/v1/offers.proto +111 -111
  28. package/proto/kapital/offers/v1/offers_types.proto +54 -54
  29. package/proto/kapital/payments/v1/payments.proto +89 -93
  30. package/proto/kapital/payments/v1/payments_types.proto +17 -17
  31. package/proto/kapital/product_groups/v1/product_groups.proto +150 -150
  32. package/proto/kapital/product_groups/v1/product_groups_types.proto +48 -48
  33. package/proto/kapital/transactions/v1/transactions.proto +9 -11
  34. package/proto/kapital/transactions/v1/transactions_types.proto +90 -90
@@ -602,8 +602,8 @@ function createBaseCreateContractResponse() {
602
602
  product_id: "",
603
603
  contract_number: "",
604
604
  cip: [],
605
- card_number_virtual: "",
606
- card_number_physical: "",
605
+ card_virtual: undefined,
606
+ card_physical: undefined,
607
607
  new_emboss_uuid: "",
608
608
  expiry_date: "",
609
609
  card_security_code: "",
@@ -628,11 +628,11 @@ exports.CreateContractResponse = {
628
628
  for (const v of message.cip) {
629
629
  contracts_types_1.CIPFull.encode(v, writer.uint32(42).fork()).join();
630
630
  }
631
- if (message.card_number_virtual !== "") {
632
- writer.uint32(50).string(message.card_number_virtual);
631
+ if (message.card_virtual !== undefined) {
632
+ contracts_types_1.CardInfo.encode(message.card_virtual, writer.uint32(50).fork()).join();
633
633
  }
634
- if (message.card_number_physical !== "") {
635
- writer.uint32(58).string(message.card_number_physical);
634
+ if (message.card_physical !== undefined) {
635
+ contracts_types_1.CardInfo.encode(message.card_physical, writer.uint32(58).fork()).join();
636
636
  }
637
637
  if (message.new_emboss_uuid !== "") {
638
638
  writer.uint32(66).string(message.new_emboss_uuid);
@@ -697,14 +697,14 @@ exports.CreateContractResponse = {
697
697
  if (tag !== 50) {
698
698
  break;
699
699
  }
700
- message.card_number_virtual = reader.string();
700
+ message.card_virtual = contracts_types_1.CardInfo.decode(reader, reader.uint32());
701
701
  continue;
702
702
  }
703
703
  case 7: {
704
704
  if (tag !== 58) {
705
705
  break;
706
706
  }
707
- message.card_number_physical = reader.string();
707
+ message.card_physical = contracts_types_1.CardInfo.decode(reader, reader.uint32());
708
708
  continue;
709
709
  }
710
710
  case 8: {
@@ -762,8 +762,12 @@ exports.CreateContractResponse = {
762
762
  message.product_id = object.product_id ?? "";
763
763
  message.contract_number = object.contract_number ?? "";
764
764
  message.cip = object.cip?.map((e) => contracts_types_1.CIPFull.fromPartial(e)) || [];
765
- message.card_number_virtual = object.card_number_virtual ?? "";
766
- message.card_number_physical = object.card_number_physical ?? "";
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;
767
771
  message.new_emboss_uuid = object.new_emboss_uuid ?? "";
768
772
  message.expiry_date = object.expiry_date ?? "";
769
773
  message.card_security_code = object.card_security_code ?? "";
@@ -1362,8 +1366,8 @@ function createBaseCreatePhysicalCardContractResponse() {
1362
1366
  product_id: "",
1363
1367
  contract_number: "",
1364
1368
  cip: [],
1365
- card_number_virtual: "",
1366
- card_number_physical: "",
1369
+ card_virtual: undefined,
1370
+ card_physical: undefined,
1367
1371
  new_emboss_uuid: "",
1368
1372
  expiry_date: "",
1369
1373
  card_security_code: "",
@@ -1388,11 +1392,11 @@ exports.CreatePhysicalCardContractResponse = {
1388
1392
  for (const v of message.cip) {
1389
1393
  contracts_types_1.CIPFull.encode(v, writer.uint32(42).fork()).join();
1390
1394
  }
1391
- if (message.card_number_virtual !== "") {
1392
- writer.uint32(50).string(message.card_number_virtual);
1395
+ if (message.card_virtual !== undefined) {
1396
+ contracts_types_1.CardInfo.encode(message.card_virtual, writer.uint32(50).fork()).join();
1393
1397
  }
1394
- if (message.card_number_physical !== "") {
1395
- writer.uint32(58).string(message.card_number_physical);
1398
+ if (message.card_physical !== undefined) {
1399
+ contracts_types_1.CardInfo.encode(message.card_physical, writer.uint32(58).fork()).join();
1396
1400
  }
1397
1401
  if (message.new_emboss_uuid !== "") {
1398
1402
  writer.uint32(66).string(message.new_emboss_uuid);
@@ -1457,14 +1461,14 @@ exports.CreatePhysicalCardContractResponse = {
1457
1461
  if (tag !== 50) {
1458
1462
  break;
1459
1463
  }
1460
- message.card_number_virtual = reader.string();
1464
+ message.card_virtual = contracts_types_1.CardInfo.decode(reader, reader.uint32());
1461
1465
  continue;
1462
1466
  }
1463
1467
  case 7: {
1464
1468
  if (tag !== 58) {
1465
1469
  break;
1466
1470
  }
1467
- message.card_number_physical = reader.string();
1471
+ message.card_physical = contracts_types_1.CardInfo.decode(reader, reader.uint32());
1468
1472
  continue;
1469
1473
  }
1470
1474
  case 8: {
@@ -1522,8 +1526,12 @@ exports.CreatePhysicalCardContractResponse = {
1522
1526
  message.product_id = object.product_id ?? "";
1523
1527
  message.contract_number = object.contract_number ?? "";
1524
1528
  message.cip = object.cip?.map((e) => contracts_types_1.CIPFull.fromPartial(e)) || [];
1525
- message.card_number_virtual = object.card_number_virtual ?? "";
1526
- message.card_number_physical = object.card_number_physical ?? "";
1529
+ message.card_virtual = (object.card_virtual !== undefined && object.card_virtual !== null)
1530
+ ? contracts_types_1.CardInfo.fromPartial(object.card_virtual)
1531
+ : undefined;
1532
+ message.card_physical = (object.card_physical !== undefined && object.card_physical !== null)
1533
+ ? contracts_types_1.CardInfo.fromPartial(object.card_physical)
1534
+ : undefined;
1527
1535
  message.new_emboss_uuid = object.new_emboss_uuid ?? "";
1528
1536
  message.expiry_date = object.expiry_date ?? "";
1529
1537
  message.card_security_code = object.card_security_code ?? "";
@@ -1534,8 +1542,6 @@ exports.CreatePhysicalCardContractResponse = {
1534
1542
  };
1535
1543
  function createBaseCreateVirtualCardContractRequest() {
1536
1544
  return {
1537
- provider_id: "",
1538
- transaction_id: "",
1539
1545
  prod_id: 0,
1540
1546
  id_type: 0,
1541
1547
  id: "",
@@ -1579,128 +1585,122 @@ function createBaseCreateVirtualCardContractRequest() {
1579
1585
  }
1580
1586
  exports.CreateVirtualCardContractRequest = {
1581
1587
  encode(message, writer = new wire_1.BinaryWriter()) {
1582
- if (message.provider_id !== "") {
1583
- writer.uint32(10).string(message.provider_id);
1584
- }
1585
- if (message.transaction_id !== "") {
1586
- writer.uint32(18).string(message.transaction_id);
1587
- }
1588
1588
  if (message.prod_id !== 0) {
1589
- writer.uint32(24).int32(message.prod_id);
1589
+ writer.uint32(8).int32(message.prod_id);
1590
1590
  }
1591
1591
  if (message.id_type !== 0) {
1592
- writer.uint32(32).int32(message.id_type);
1592
+ writer.uint32(16).int32(message.id_type);
1593
1593
  }
1594
1594
  if (message.id !== "") {
1595
- writer.uint32(42).string(message.id);
1595
+ writer.uint32(26).string(message.id);
1596
1596
  }
1597
1597
  if (message.id_type_2 !== 0) {
1598
- writer.uint32(48).int32(message.id_type_2);
1598
+ writer.uint32(32).int32(message.id_type_2);
1599
1599
  }
1600
1600
  if (message.id_2 !== "") {
1601
- writer.uint32(58).string(message.id_2);
1601
+ writer.uint32(42).string(message.id_2);
1602
1602
  }
1603
1603
  if (message.locale !== "") {
1604
- writer.uint32(66).string(message.locale);
1604
+ writer.uint32(50).string(message.locale);
1605
1605
  }
1606
1606
  if (message.first_name !== "") {
1607
- writer.uint32(74).string(message.first_name);
1607
+ writer.uint32(58).string(message.first_name);
1608
1608
  }
1609
1609
  if (message.middle_name !== "") {
1610
- writer.uint32(82).string(message.middle_name);
1610
+ writer.uint32(66).string(message.middle_name);
1611
1611
  }
1612
1612
  if (message.last_name !== "") {
1613
- writer.uint32(90).string(message.last_name);
1613
+ writer.uint32(74).string(message.last_name);
1614
1614
  }
1615
1615
  if (message.date_of_birth !== "") {
1616
- writer.uint32(98).string(message.date_of_birth);
1616
+ writer.uint32(82).string(message.date_of_birth);
1617
1617
  }
1618
1618
  if (message.address_1 !== "") {
1619
- writer.uint32(106).string(message.address_1);
1619
+ writer.uint32(90).string(message.address_1);
1620
1620
  }
1621
1621
  if (message.address_2 !== "") {
1622
- writer.uint32(114).string(message.address_2);
1622
+ writer.uint32(98).string(message.address_2);
1623
1623
  }
1624
1624
  if (message.address_3 !== "") {
1625
- writer.uint32(122).string(message.address_3);
1625
+ writer.uint32(106).string(message.address_3);
1626
1626
  }
1627
1627
  if (message.address_4 !== "") {
1628
- writer.uint32(130).string(message.address_4);
1628
+ writer.uint32(114).string(message.address_4);
1629
1629
  }
1630
1630
  if (message.address_5 !== "") {
1631
- writer.uint32(138).string(message.address_5);
1631
+ writer.uint32(122).string(message.address_5);
1632
1632
  }
1633
1633
  if (message.city !== "") {
1634
- writer.uint32(146).string(message.city);
1634
+ writer.uint32(130).string(message.city);
1635
1635
  }
1636
1636
  if (message.state !== "") {
1637
- writer.uint32(154).string(message.state);
1637
+ writer.uint32(138).string(message.state);
1638
1638
  }
1639
1639
  if (message.zip !== "") {
1640
- writer.uint32(162).string(message.zip);
1640
+ writer.uint32(146).string(message.zip);
1641
1641
  }
1642
1642
  if (message.country_code !== "") {
1643
- writer.uint32(170).string(message.country_code);
1643
+ writer.uint32(154).string(message.country_code);
1644
1644
  }
1645
1645
  if (message.primary_phone !== "") {
1646
- writer.uint32(178).string(message.primary_phone);
1646
+ writer.uint32(162).string(message.primary_phone);
1647
1647
  }
1648
1648
  if (message.other_phone !== "") {
1649
- writer.uint32(186).string(message.other_phone);
1649
+ writer.uint32(170).string(message.other_phone);
1650
1650
  }
1651
1651
  if (message.mobile_phone !== "") {
1652
- writer.uint32(194).string(message.mobile_phone);
1652
+ writer.uint32(178).string(message.mobile_phone);
1653
1653
  }
1654
1654
  if (message.mobile_carrier_id !== "") {
1655
- writer.uint32(202).string(message.mobile_carrier_id);
1655
+ writer.uint32(186).string(message.mobile_carrier_id);
1656
1656
  }
1657
1657
  if (message.email !== "") {
1658
- writer.uint32(210).string(message.email);
1658
+ writer.uint32(194).string(message.email);
1659
1659
  }
1660
1660
  if (message.secret_question !== "") {
1661
- writer.uint32(218).string(message.secret_question);
1661
+ writer.uint32(202).string(message.secret_question);
1662
1662
  }
1663
1663
  if (message.secret_answer !== "") {
1664
- writer.uint32(226).string(message.secret_answer);
1664
+ writer.uint32(210).string(message.secret_answer);
1665
1665
  }
1666
1666
  if (message.load_amount !== 0) {
1667
- writer.uint32(233).double(message.load_amount);
1667
+ writer.uint32(217).double(message.load_amount);
1668
1668
  }
1669
1669
  if (message.load_type !== "") {
1670
- writer.uint32(242).string(message.load_type);
1670
+ writer.uint32(226).string(message.load_type);
1671
1671
  }
1672
1672
  if (message.external_account_id !== "") {
1673
- writer.uint32(250).string(message.external_account_id);
1673
+ writer.uint32(234).string(message.external_account_id);
1674
1674
  }
1675
1675
  if (message.primary_account !== "") {
1676
- writer.uint32(258).string(message.primary_account);
1676
+ writer.uint32(242).string(message.primary_account);
1677
1677
  }
1678
1678
  if (message.shared_balance !== 0) {
1679
- writer.uint32(264).int32(message.shared_balance);
1679
+ writer.uint32(248).int32(message.shared_balance);
1680
1680
  }
1681
1681
  if (message.user_data !== "") {
1682
- writer.uint32(274).string(message.user_data);
1682
+ writer.uint32(258).string(message.user_data);
1683
1683
  }
1684
1684
  if (message.verify_only !== 0) {
1685
- writer.uint32(280).int32(message.verify_only);
1685
+ writer.uint32(264).int32(message.verify_only);
1686
1686
  }
1687
1687
  if (message.load_from_account !== "") {
1688
- writer.uint32(290).string(message.load_from_account);
1688
+ writer.uint32(274).string(message.load_from_account);
1689
1689
  }
1690
1690
  if (message.sweep_date !== "") {
1691
- writer.uint32(298).string(message.sweep_date);
1691
+ writer.uint32(282).string(message.sweep_date);
1692
1692
  }
1693
1693
  if (message.credit_limit !== 0) {
1694
- writer.uint32(305).double(message.credit_limit);
1694
+ writer.uint32(289).double(message.credit_limit);
1695
1695
  }
1696
1696
  if (message.single_use !== "") {
1697
- writer.uint32(314).string(message.single_use);
1697
+ writer.uint32(298).string(message.single_use);
1698
1698
  }
1699
1699
  if (message.business_name !== "") {
1700
- writer.uint32(322).string(message.business_name);
1700
+ writer.uint32(306).string(message.business_name);
1701
1701
  }
1702
1702
  if (message.mobile_phone_country_code !== "") {
1703
- writer.uint32(330).string(message.mobile_phone_country_code);
1703
+ writer.uint32(314).string(message.mobile_phone_country_code);
1704
1704
  }
1705
1705
  return writer;
1706
1706
  },
@@ -1712,289 +1712,275 @@ exports.CreateVirtualCardContractRequest = {
1712
1712
  const tag = reader.uint32();
1713
1713
  switch (tag >>> 3) {
1714
1714
  case 1: {
1715
- if (tag !== 10) {
1715
+ if (tag !== 8) {
1716
1716
  break;
1717
1717
  }
1718
- message.provider_id = reader.string();
1718
+ message.prod_id = reader.int32();
1719
1719
  continue;
1720
1720
  }
1721
1721
  case 2: {
1722
- if (tag !== 18) {
1722
+ if (tag !== 16) {
1723
1723
  break;
1724
1724
  }
1725
- message.transaction_id = reader.string();
1725
+ message.id_type = reader.int32();
1726
1726
  continue;
1727
1727
  }
1728
1728
  case 3: {
1729
- if (tag !== 24) {
1729
+ if (tag !== 26) {
1730
1730
  break;
1731
1731
  }
1732
- message.prod_id = reader.int32();
1732
+ message.id = reader.string();
1733
1733
  continue;
1734
1734
  }
1735
1735
  case 4: {
1736
1736
  if (tag !== 32) {
1737
1737
  break;
1738
1738
  }
1739
- message.id_type = reader.int32();
1739
+ message.id_type_2 = reader.int32();
1740
1740
  continue;
1741
1741
  }
1742
1742
  case 5: {
1743
1743
  if (tag !== 42) {
1744
1744
  break;
1745
1745
  }
1746
- message.id = reader.string();
1746
+ message.id_2 = reader.string();
1747
1747
  continue;
1748
1748
  }
1749
1749
  case 6: {
1750
- if (tag !== 48) {
1750
+ if (tag !== 50) {
1751
1751
  break;
1752
1752
  }
1753
- message.id_type_2 = reader.int32();
1753
+ message.locale = reader.string();
1754
1754
  continue;
1755
1755
  }
1756
1756
  case 7: {
1757
1757
  if (tag !== 58) {
1758
1758
  break;
1759
1759
  }
1760
- message.id_2 = reader.string();
1760
+ message.first_name = reader.string();
1761
1761
  continue;
1762
1762
  }
1763
1763
  case 8: {
1764
1764
  if (tag !== 66) {
1765
1765
  break;
1766
1766
  }
1767
- message.locale = reader.string();
1767
+ message.middle_name = reader.string();
1768
1768
  continue;
1769
1769
  }
1770
1770
  case 9: {
1771
1771
  if (tag !== 74) {
1772
1772
  break;
1773
1773
  }
1774
- message.first_name = reader.string();
1774
+ message.last_name = reader.string();
1775
1775
  continue;
1776
1776
  }
1777
1777
  case 10: {
1778
1778
  if (tag !== 82) {
1779
1779
  break;
1780
1780
  }
1781
- message.middle_name = reader.string();
1781
+ message.date_of_birth = reader.string();
1782
1782
  continue;
1783
1783
  }
1784
1784
  case 11: {
1785
1785
  if (tag !== 90) {
1786
1786
  break;
1787
1787
  }
1788
- message.last_name = reader.string();
1788
+ message.address_1 = reader.string();
1789
1789
  continue;
1790
1790
  }
1791
1791
  case 12: {
1792
1792
  if (tag !== 98) {
1793
1793
  break;
1794
1794
  }
1795
- message.date_of_birth = reader.string();
1795
+ message.address_2 = reader.string();
1796
1796
  continue;
1797
1797
  }
1798
1798
  case 13: {
1799
1799
  if (tag !== 106) {
1800
1800
  break;
1801
1801
  }
1802
- message.address_1 = reader.string();
1802
+ message.address_3 = reader.string();
1803
1803
  continue;
1804
1804
  }
1805
1805
  case 14: {
1806
1806
  if (tag !== 114) {
1807
1807
  break;
1808
1808
  }
1809
- message.address_2 = reader.string();
1809
+ message.address_4 = reader.string();
1810
1810
  continue;
1811
1811
  }
1812
1812
  case 15: {
1813
1813
  if (tag !== 122) {
1814
1814
  break;
1815
1815
  }
1816
- message.address_3 = reader.string();
1816
+ message.address_5 = reader.string();
1817
1817
  continue;
1818
1818
  }
1819
1819
  case 16: {
1820
1820
  if (tag !== 130) {
1821
1821
  break;
1822
1822
  }
1823
- message.address_4 = reader.string();
1823
+ message.city = reader.string();
1824
1824
  continue;
1825
1825
  }
1826
1826
  case 17: {
1827
1827
  if (tag !== 138) {
1828
1828
  break;
1829
1829
  }
1830
- message.address_5 = reader.string();
1830
+ message.state = reader.string();
1831
1831
  continue;
1832
1832
  }
1833
1833
  case 18: {
1834
1834
  if (tag !== 146) {
1835
1835
  break;
1836
1836
  }
1837
- message.city = reader.string();
1837
+ message.zip = reader.string();
1838
1838
  continue;
1839
1839
  }
1840
1840
  case 19: {
1841
1841
  if (tag !== 154) {
1842
1842
  break;
1843
1843
  }
1844
- message.state = reader.string();
1844
+ message.country_code = reader.string();
1845
1845
  continue;
1846
1846
  }
1847
1847
  case 20: {
1848
1848
  if (tag !== 162) {
1849
1849
  break;
1850
1850
  }
1851
- message.zip = reader.string();
1851
+ message.primary_phone = reader.string();
1852
1852
  continue;
1853
1853
  }
1854
1854
  case 21: {
1855
1855
  if (tag !== 170) {
1856
1856
  break;
1857
1857
  }
1858
- message.country_code = reader.string();
1858
+ message.other_phone = reader.string();
1859
1859
  continue;
1860
1860
  }
1861
1861
  case 22: {
1862
1862
  if (tag !== 178) {
1863
1863
  break;
1864
1864
  }
1865
- message.primary_phone = reader.string();
1865
+ message.mobile_phone = reader.string();
1866
1866
  continue;
1867
1867
  }
1868
1868
  case 23: {
1869
1869
  if (tag !== 186) {
1870
1870
  break;
1871
1871
  }
1872
- message.other_phone = reader.string();
1872
+ message.mobile_carrier_id = reader.string();
1873
1873
  continue;
1874
1874
  }
1875
1875
  case 24: {
1876
1876
  if (tag !== 194) {
1877
1877
  break;
1878
1878
  }
1879
- message.mobile_phone = reader.string();
1879
+ message.email = reader.string();
1880
1880
  continue;
1881
1881
  }
1882
1882
  case 25: {
1883
1883
  if (tag !== 202) {
1884
1884
  break;
1885
1885
  }
1886
- message.mobile_carrier_id = reader.string();
1886
+ message.secret_question = reader.string();
1887
1887
  continue;
1888
1888
  }
1889
1889
  case 26: {
1890
1890
  if (tag !== 210) {
1891
1891
  break;
1892
1892
  }
1893
- message.email = reader.string();
1893
+ message.secret_answer = reader.string();
1894
1894
  continue;
1895
1895
  }
1896
1896
  case 27: {
1897
- if (tag !== 218) {
1897
+ if (tag !== 217) {
1898
1898
  break;
1899
1899
  }
1900
- message.secret_question = reader.string();
1900
+ message.load_amount = reader.double();
1901
1901
  continue;
1902
1902
  }
1903
1903
  case 28: {
1904
1904
  if (tag !== 226) {
1905
1905
  break;
1906
1906
  }
1907
- message.secret_answer = reader.string();
1907
+ message.load_type = reader.string();
1908
1908
  continue;
1909
1909
  }
1910
1910
  case 29: {
1911
- if (tag !== 233) {
1911
+ if (tag !== 234) {
1912
1912
  break;
1913
1913
  }
1914
- message.load_amount = reader.double();
1914
+ message.external_account_id = reader.string();
1915
1915
  continue;
1916
1916
  }
1917
1917
  case 30: {
1918
1918
  if (tag !== 242) {
1919
1919
  break;
1920
1920
  }
1921
- message.load_type = reader.string();
1921
+ message.primary_account = reader.string();
1922
1922
  continue;
1923
1923
  }
1924
1924
  case 31: {
1925
- if (tag !== 250) {
1925
+ if (tag !== 248) {
1926
1926
  break;
1927
1927
  }
1928
- message.external_account_id = reader.string();
1928
+ message.shared_balance = reader.int32();
1929
1929
  continue;
1930
1930
  }
1931
1931
  case 32: {
1932
1932
  if (tag !== 258) {
1933
1933
  break;
1934
1934
  }
1935
- message.primary_account = reader.string();
1935
+ message.user_data = reader.string();
1936
1936
  continue;
1937
1937
  }
1938
1938
  case 33: {
1939
1939
  if (tag !== 264) {
1940
1940
  break;
1941
1941
  }
1942
- message.shared_balance = reader.int32();
1942
+ message.verify_only = reader.int32();
1943
1943
  continue;
1944
1944
  }
1945
1945
  case 34: {
1946
1946
  if (tag !== 274) {
1947
1947
  break;
1948
1948
  }
1949
- message.user_data = reader.string();
1949
+ message.load_from_account = reader.string();
1950
1950
  continue;
1951
1951
  }
1952
1952
  case 35: {
1953
- if (tag !== 280) {
1953
+ if (tag !== 282) {
1954
1954
  break;
1955
1955
  }
1956
- message.verify_only = reader.int32();
1956
+ message.sweep_date = reader.string();
1957
1957
  continue;
1958
1958
  }
1959
1959
  case 36: {
1960
- if (tag !== 290) {
1960
+ if (tag !== 289) {
1961
1961
  break;
1962
1962
  }
1963
- message.load_from_account = reader.string();
1963
+ message.credit_limit = reader.double();
1964
1964
  continue;
1965
1965
  }
1966
1966
  case 37: {
1967
1967
  if (tag !== 298) {
1968
1968
  break;
1969
1969
  }
1970
- message.sweep_date = reader.string();
1970
+ message.single_use = reader.string();
1971
1971
  continue;
1972
1972
  }
1973
1973
  case 38: {
1974
- if (tag !== 305) {
1974
+ if (tag !== 306) {
1975
1975
  break;
1976
1976
  }
1977
- message.credit_limit = reader.double();
1977
+ message.business_name = reader.string();
1978
1978
  continue;
1979
1979
  }
1980
1980
  case 39: {
1981
1981
  if (tag !== 314) {
1982
1982
  break;
1983
1983
  }
1984
- message.single_use = reader.string();
1985
- continue;
1986
- }
1987
- case 40: {
1988
- if (tag !== 322) {
1989
- break;
1990
- }
1991
- message.business_name = reader.string();
1992
- continue;
1993
- }
1994
- case 41: {
1995
- if (tag !== 330) {
1996
- break;
1997
- }
1998
1984
  message.mobile_phone_country_code = reader.string();
1999
1985
  continue;
2000
1986
  }
@@ -2011,8 +1997,6 @@ exports.CreateVirtualCardContractRequest = {
2011
1997
  },
2012
1998
  fromPartial(object) {
2013
1999
  const message = createBaseCreateVirtualCardContractRequest();
2014
- message.provider_id = object.provider_id ?? "";
2015
- message.transaction_id = object.transaction_id ?? "";
2016
2000
  message.prod_id = object.prod_id ?? 0;
2017
2001
  message.id_type = object.id_type ?? 0;
2018
2002
  message.id = object.id ?? "";
@@ -2820,8 +2804,6 @@ exports.GetCustomerIdByContractIdResponse = {
2820
2804
  function createBaseUpdateContractRequest() {
2821
2805
  return {
2822
2806
  contract_id: "",
2823
- provider_id: "",
2824
- transaction_id: "",
2825
2807
  id_type: 0,
2826
2808
  id: "",
2827
2809
  id_type_2: 0,
@@ -2879,161 +2861,155 @@ exports.UpdateContractRequest = {
2879
2861
  if (message.contract_id !== "") {
2880
2862
  writer.uint32(10).string(message.contract_id);
2881
2863
  }
2882
- if (message.provider_id !== "") {
2883
- writer.uint32(18).string(message.provider_id);
2884
- }
2885
- if (message.transaction_id !== "") {
2886
- writer.uint32(26).string(message.transaction_id);
2887
- }
2888
2864
  if (message.id_type !== 0) {
2889
- writer.uint32(32).int32(message.id_type);
2865
+ writer.uint32(16).int32(message.id_type);
2890
2866
  }
2891
2867
  if (message.id !== "") {
2892
- writer.uint32(42).string(message.id);
2868
+ writer.uint32(26).string(message.id);
2893
2869
  }
2894
2870
  if (message.id_type_2 !== 0) {
2895
- writer.uint32(48).int32(message.id_type_2);
2871
+ writer.uint32(32).int32(message.id_type_2);
2896
2872
  }
2897
2873
  if (message.id_2 !== "") {
2898
- writer.uint32(58).string(message.id_2);
2874
+ writer.uint32(42).string(message.id_2);
2899
2875
  }
2900
2876
  if (message.id_type_3 !== 0) {
2901
- writer.uint32(64).int32(message.id_type_3);
2877
+ writer.uint32(48).int32(message.id_type_3);
2902
2878
  }
2903
2879
  if (message.id_3 !== "") {
2904
- writer.uint32(74).string(message.id_3);
2880
+ writer.uint32(58).string(message.id_3);
2905
2881
  }
2906
2882
  if (message.location_type !== 0) {
2907
- writer.uint32(80).int32(message.location_type);
2883
+ writer.uint32(64).int32(message.location_type);
2908
2884
  }
2909
2885
  if (message.location !== "") {
2910
- writer.uint32(90).string(message.location);
2886
+ writer.uint32(74).string(message.location);
2911
2887
  }
2912
2888
  if (message.locale !== "") {
2913
- writer.uint32(98).string(message.locale);
2889
+ writer.uint32(82).string(message.locale);
2914
2890
  }
2915
2891
  if (message.external_account_id !== "") {
2916
- writer.uint32(106).string(message.external_account_id);
2892
+ writer.uint32(90).string(message.external_account_id);
2917
2893
  }
2918
2894
  if (message.first_name !== "") {
2919
- writer.uint32(114).string(message.first_name);
2895
+ writer.uint32(98).string(message.first_name);
2920
2896
  }
2921
2897
  if (message.middle_name !== "") {
2922
- writer.uint32(122).string(message.middle_name);
2898
+ writer.uint32(106).string(message.middle_name);
2923
2899
  }
2924
2900
  if (message.last_name !== "") {
2925
- writer.uint32(130).string(message.last_name);
2901
+ writer.uint32(114).string(message.last_name);
2926
2902
  }
2927
2903
  if (message.date_of_birth !== "") {
2928
- writer.uint32(138).string(message.date_of_birth);
2904
+ writer.uint32(122).string(message.date_of_birth);
2929
2905
  }
2930
2906
  if (message.address_1 !== "") {
2931
- writer.uint32(146).string(message.address_1);
2907
+ writer.uint32(130).string(message.address_1);
2932
2908
  }
2933
2909
  if (message.address_2 !== "") {
2934
- writer.uint32(154).string(message.address_2);
2910
+ writer.uint32(138).string(message.address_2);
2935
2911
  }
2936
2912
  if (message.address_3 !== "") {
2937
- writer.uint32(162).string(message.address_3);
2913
+ writer.uint32(146).string(message.address_3);
2938
2914
  }
2939
2915
  if (message.address_4 !== "") {
2940
- writer.uint32(170).string(message.address_4);
2916
+ writer.uint32(154).string(message.address_4);
2941
2917
  }
2942
2918
  if (message.address_5 !== "") {
2943
- writer.uint32(178).string(message.address_5);
2919
+ writer.uint32(162).string(message.address_5);
2944
2920
  }
2945
2921
  if (message.city !== "") {
2946
- writer.uint32(186).string(message.city);
2922
+ writer.uint32(170).string(message.city);
2947
2923
  }
2948
2924
  if (message.state !== "") {
2949
- writer.uint32(194).string(message.state);
2925
+ writer.uint32(178).string(message.state);
2950
2926
  }
2951
2927
  if (message.zip !== "") {
2952
- writer.uint32(202).string(message.zip);
2928
+ writer.uint32(186).string(message.zip);
2953
2929
  }
2954
2930
  if (message.country_code !== "") {
2955
- writer.uint32(210).string(message.country_code);
2931
+ writer.uint32(194).string(message.country_code);
2956
2932
  }
2957
2933
  if (message.primary_phone !== "") {
2958
- writer.uint32(218).string(message.primary_phone);
2934
+ writer.uint32(202).string(message.primary_phone);
2959
2935
  }
2960
2936
  if (message.other_phone !== "") {
2961
- writer.uint32(226).string(message.other_phone);
2937
+ writer.uint32(210).string(message.other_phone);
2962
2938
  }
2963
2939
  if (message.mobile_phone !== "") {
2964
- writer.uint32(234).string(message.mobile_phone);
2940
+ writer.uint32(218).string(message.mobile_phone);
2965
2941
  }
2966
2942
  if (message.mobile_carrier_id !== "") {
2967
- writer.uint32(242).string(message.mobile_carrier_id);
2943
+ writer.uint32(226).string(message.mobile_carrier_id);
2968
2944
  }
2969
2945
  if (message.email !== "") {
2970
- writer.uint32(250).string(message.email);
2946
+ writer.uint32(234).string(message.email);
2971
2947
  }
2972
2948
  if (message.secret_question !== "") {
2973
- writer.uint32(258).string(message.secret_question);
2949
+ writer.uint32(242).string(message.secret_question);
2974
2950
  }
2975
2951
  if (message.secret_answer !== "") {
2976
- writer.uint32(266).string(message.secret_answer);
2952
+ writer.uint32(250).string(message.secret_answer);
2977
2953
  }
2978
2954
  if (message.income_source !== "") {
2979
- writer.uint32(274).string(message.income_source);
2955
+ writer.uint32(258).string(message.income_source);
2980
2956
  }
2981
2957
  if (message.occupation !== "") {
2982
- writer.uint32(282).string(message.occupation);
2958
+ writer.uint32(266).string(message.occupation);
2983
2959
  }
2984
2960
  if (message.nationality !== "") {
2985
- writer.uint32(290).string(message.nationality);
2961
+ writer.uint32(274).string(message.nationality);
2986
2962
  }
2987
2963
  if (message.place_of_birth !== "") {
2988
- writer.uint32(298).string(message.place_of_birth);
2964
+ writer.uint32(282).string(message.place_of_birth);
2989
2965
  }
2990
2966
  if (message.curp !== "") {
2991
- writer.uint32(306).string(message.curp);
2967
+ writer.uint32(290).string(message.curp);
2992
2968
  }
2993
2969
  if (message.political_affiliation !== 0) {
2994
- writer.uint32(312).int32(message.political_affiliation);
2970
+ writer.uint32(296).int32(message.political_affiliation);
2995
2971
  }
2996
2972
  if (message.key_ref_number !== "") {
2997
- writer.uint32(322).string(message.key_ref_number);
2973
+ writer.uint32(306).string(message.key_ref_number);
2998
2974
  }
2999
2975
  if (message.monthly_income !== 0) {
3000
- writer.uint32(329).double(message.monthly_income);
2976
+ writer.uint32(313).double(message.monthly_income);
3001
2977
  }
3002
2978
  if (message.external_customer_id !== "") {
3003
- writer.uint32(338).string(message.external_customer_id);
2979
+ writer.uint32(322).string(message.external_customer_id);
3004
2980
  }
3005
2981
  if (message.mail_bounced !== "") {
3006
- writer.uint32(346).string(message.mail_bounced);
2982
+ writer.uint32(330).string(message.mail_bounced);
3007
2983
  }
3008
2984
  if (message.shipping_address_1 !== "") {
3009
- writer.uint32(354).string(message.shipping_address_1);
2985
+ writer.uint32(338).string(message.shipping_address_1);
3010
2986
  }
3011
2987
  if (message.shipping_address_2 !== "") {
3012
- writer.uint32(362).string(message.shipping_address_2);
2988
+ writer.uint32(346).string(message.shipping_address_2);
3013
2989
  }
3014
2990
  if (message.shipping_city !== "") {
3015
- writer.uint32(370).string(message.shipping_city);
2991
+ writer.uint32(354).string(message.shipping_city);
3016
2992
  }
3017
2993
  if (message.shipping_state !== "") {
3018
- writer.uint32(378).string(message.shipping_state);
2994
+ writer.uint32(362).string(message.shipping_state);
3019
2995
  }
3020
2996
  if (message.shipping_zip !== "") {
3021
- writer.uint32(386).string(message.shipping_zip);
2997
+ writer.uint32(370).string(message.shipping_zip);
3022
2998
  }
3023
2999
  if (message.shipping_country_code !== "") {
3024
- writer.uint32(394).string(message.shipping_country_code);
3000
+ writer.uint32(378).string(message.shipping_country_code);
3025
3001
  }
3026
3002
  if (message.shipping_address_permanent !== "") {
3027
- writer.uint32(402).string(message.shipping_address_permanent);
3003
+ writer.uint32(386).string(message.shipping_address_permanent);
3028
3004
  }
3029
3005
  if (message.emboss_line_2 !== "") {
3030
- writer.uint32(410).string(message.emboss_line_2);
3006
+ writer.uint32(394).string(message.emboss_line_2);
3031
3007
  }
3032
3008
  if (message.business_name !== "") {
3033
- writer.uint32(418).string(message.business_name);
3009
+ writer.uint32(402).string(message.business_name);
3034
3010
  }
3035
3011
  if (message.mobile_phone_country_code !== "") {
3036
- writer.uint32(426).string(message.mobile_phone_country_code);
3012
+ writer.uint32(410).string(message.mobile_phone_country_code);
3037
3013
  }
3038
3014
  return writer;
3039
3015
  },
@@ -3052,366 +3028,352 @@ exports.UpdateContractRequest = {
3052
3028
  continue;
3053
3029
  }
3054
3030
  case 2: {
3055
- if (tag !== 18) {
3031
+ if (tag !== 16) {
3056
3032
  break;
3057
3033
  }
3058
- message.provider_id = reader.string();
3034
+ message.id_type = reader.int32();
3059
3035
  continue;
3060
3036
  }
3061
3037
  case 3: {
3062
3038
  if (tag !== 26) {
3063
3039
  break;
3064
3040
  }
3065
- message.transaction_id = reader.string();
3041
+ message.id = reader.string();
3066
3042
  continue;
3067
3043
  }
3068
3044
  case 4: {
3069
3045
  if (tag !== 32) {
3070
3046
  break;
3071
3047
  }
3072
- message.id_type = reader.int32();
3048
+ message.id_type_2 = reader.int32();
3073
3049
  continue;
3074
3050
  }
3075
3051
  case 5: {
3076
3052
  if (tag !== 42) {
3077
3053
  break;
3078
3054
  }
3079
- message.id = reader.string();
3055
+ message.id_2 = reader.string();
3080
3056
  continue;
3081
3057
  }
3082
3058
  case 6: {
3083
3059
  if (tag !== 48) {
3084
3060
  break;
3085
3061
  }
3086
- message.id_type_2 = reader.int32();
3062
+ message.id_type_3 = reader.int32();
3087
3063
  continue;
3088
3064
  }
3089
3065
  case 7: {
3090
3066
  if (tag !== 58) {
3091
3067
  break;
3092
3068
  }
3093
- message.id_2 = reader.string();
3069
+ message.id_3 = reader.string();
3094
3070
  continue;
3095
3071
  }
3096
3072
  case 8: {
3097
3073
  if (tag !== 64) {
3098
3074
  break;
3099
3075
  }
3100
- message.id_type_3 = reader.int32();
3076
+ message.location_type = reader.int32();
3101
3077
  continue;
3102
3078
  }
3103
3079
  case 9: {
3104
3080
  if (tag !== 74) {
3105
3081
  break;
3106
3082
  }
3107
- message.id_3 = reader.string();
3083
+ message.location = reader.string();
3108
3084
  continue;
3109
3085
  }
3110
3086
  case 10: {
3111
- if (tag !== 80) {
3087
+ if (tag !== 82) {
3112
3088
  break;
3113
3089
  }
3114
- message.location_type = reader.int32();
3090
+ message.locale = reader.string();
3115
3091
  continue;
3116
3092
  }
3117
3093
  case 11: {
3118
3094
  if (tag !== 90) {
3119
3095
  break;
3120
3096
  }
3121
- message.location = reader.string();
3097
+ message.external_account_id = reader.string();
3122
3098
  continue;
3123
3099
  }
3124
3100
  case 12: {
3125
3101
  if (tag !== 98) {
3126
3102
  break;
3127
3103
  }
3128
- message.locale = reader.string();
3104
+ message.first_name = reader.string();
3129
3105
  continue;
3130
3106
  }
3131
3107
  case 13: {
3132
3108
  if (tag !== 106) {
3133
3109
  break;
3134
3110
  }
3135
- message.external_account_id = reader.string();
3111
+ message.middle_name = reader.string();
3136
3112
  continue;
3137
3113
  }
3138
3114
  case 14: {
3139
3115
  if (tag !== 114) {
3140
3116
  break;
3141
3117
  }
3142
- message.first_name = reader.string();
3118
+ message.last_name = reader.string();
3143
3119
  continue;
3144
3120
  }
3145
3121
  case 15: {
3146
3122
  if (tag !== 122) {
3147
3123
  break;
3148
3124
  }
3149
- message.middle_name = reader.string();
3125
+ message.date_of_birth = reader.string();
3150
3126
  continue;
3151
3127
  }
3152
3128
  case 16: {
3153
3129
  if (tag !== 130) {
3154
3130
  break;
3155
3131
  }
3156
- message.last_name = reader.string();
3132
+ message.address_1 = reader.string();
3157
3133
  continue;
3158
3134
  }
3159
3135
  case 17: {
3160
3136
  if (tag !== 138) {
3161
3137
  break;
3162
3138
  }
3163
- message.date_of_birth = reader.string();
3139
+ message.address_2 = reader.string();
3164
3140
  continue;
3165
3141
  }
3166
3142
  case 18: {
3167
3143
  if (tag !== 146) {
3168
3144
  break;
3169
3145
  }
3170
- message.address_1 = reader.string();
3146
+ message.address_3 = reader.string();
3171
3147
  continue;
3172
3148
  }
3173
3149
  case 19: {
3174
3150
  if (tag !== 154) {
3175
3151
  break;
3176
3152
  }
3177
- message.address_2 = reader.string();
3153
+ message.address_4 = reader.string();
3178
3154
  continue;
3179
3155
  }
3180
3156
  case 20: {
3181
3157
  if (tag !== 162) {
3182
3158
  break;
3183
3159
  }
3184
- message.address_3 = reader.string();
3160
+ message.address_5 = reader.string();
3185
3161
  continue;
3186
3162
  }
3187
3163
  case 21: {
3188
3164
  if (tag !== 170) {
3189
3165
  break;
3190
3166
  }
3191
- message.address_4 = reader.string();
3167
+ message.city = reader.string();
3192
3168
  continue;
3193
3169
  }
3194
3170
  case 22: {
3195
3171
  if (tag !== 178) {
3196
3172
  break;
3197
3173
  }
3198
- message.address_5 = reader.string();
3174
+ message.state = reader.string();
3199
3175
  continue;
3200
3176
  }
3201
3177
  case 23: {
3202
3178
  if (tag !== 186) {
3203
3179
  break;
3204
3180
  }
3205
- message.city = reader.string();
3181
+ message.zip = reader.string();
3206
3182
  continue;
3207
3183
  }
3208
3184
  case 24: {
3209
3185
  if (tag !== 194) {
3210
3186
  break;
3211
3187
  }
3212
- message.state = reader.string();
3188
+ message.country_code = reader.string();
3213
3189
  continue;
3214
3190
  }
3215
3191
  case 25: {
3216
3192
  if (tag !== 202) {
3217
3193
  break;
3218
3194
  }
3219
- message.zip = reader.string();
3195
+ message.primary_phone = reader.string();
3220
3196
  continue;
3221
3197
  }
3222
3198
  case 26: {
3223
3199
  if (tag !== 210) {
3224
3200
  break;
3225
3201
  }
3226
- message.country_code = reader.string();
3202
+ message.other_phone = reader.string();
3227
3203
  continue;
3228
3204
  }
3229
3205
  case 27: {
3230
3206
  if (tag !== 218) {
3231
3207
  break;
3232
3208
  }
3233
- message.primary_phone = reader.string();
3209
+ message.mobile_phone = reader.string();
3234
3210
  continue;
3235
3211
  }
3236
3212
  case 28: {
3237
3213
  if (tag !== 226) {
3238
3214
  break;
3239
3215
  }
3240
- message.other_phone = reader.string();
3216
+ message.mobile_carrier_id = reader.string();
3241
3217
  continue;
3242
3218
  }
3243
3219
  case 29: {
3244
3220
  if (tag !== 234) {
3245
3221
  break;
3246
3222
  }
3247
- message.mobile_phone = reader.string();
3223
+ message.email = reader.string();
3248
3224
  continue;
3249
3225
  }
3250
3226
  case 30: {
3251
3227
  if (tag !== 242) {
3252
3228
  break;
3253
3229
  }
3254
- message.mobile_carrier_id = reader.string();
3230
+ message.secret_question = reader.string();
3255
3231
  continue;
3256
3232
  }
3257
3233
  case 31: {
3258
3234
  if (tag !== 250) {
3259
3235
  break;
3260
3236
  }
3261
- message.email = reader.string();
3237
+ message.secret_answer = reader.string();
3262
3238
  continue;
3263
3239
  }
3264
3240
  case 32: {
3265
3241
  if (tag !== 258) {
3266
3242
  break;
3267
3243
  }
3268
- message.secret_question = reader.string();
3244
+ message.income_source = reader.string();
3269
3245
  continue;
3270
3246
  }
3271
3247
  case 33: {
3272
3248
  if (tag !== 266) {
3273
3249
  break;
3274
3250
  }
3275
- message.secret_answer = reader.string();
3251
+ message.occupation = reader.string();
3276
3252
  continue;
3277
3253
  }
3278
3254
  case 34: {
3279
3255
  if (tag !== 274) {
3280
3256
  break;
3281
3257
  }
3282
- message.income_source = reader.string();
3258
+ message.nationality = reader.string();
3283
3259
  continue;
3284
3260
  }
3285
3261
  case 35: {
3286
3262
  if (tag !== 282) {
3287
3263
  break;
3288
3264
  }
3289
- message.occupation = reader.string();
3265
+ message.place_of_birth = reader.string();
3290
3266
  continue;
3291
3267
  }
3292
3268
  case 36: {
3293
3269
  if (tag !== 290) {
3294
3270
  break;
3295
3271
  }
3296
- message.nationality = reader.string();
3272
+ message.curp = reader.string();
3297
3273
  continue;
3298
3274
  }
3299
3275
  case 37: {
3300
- if (tag !== 298) {
3276
+ if (tag !== 296) {
3301
3277
  break;
3302
3278
  }
3303
- message.place_of_birth = reader.string();
3279
+ message.political_affiliation = reader.int32();
3304
3280
  continue;
3305
3281
  }
3306
3282
  case 38: {
3307
3283
  if (tag !== 306) {
3308
3284
  break;
3309
3285
  }
3310
- message.curp = reader.string();
3286
+ message.key_ref_number = reader.string();
3311
3287
  continue;
3312
3288
  }
3313
3289
  case 39: {
3314
- if (tag !== 312) {
3290
+ if (tag !== 313) {
3315
3291
  break;
3316
3292
  }
3317
- message.political_affiliation = reader.int32();
3293
+ message.monthly_income = reader.double();
3318
3294
  continue;
3319
3295
  }
3320
3296
  case 40: {
3321
3297
  if (tag !== 322) {
3322
3298
  break;
3323
3299
  }
3324
- message.key_ref_number = reader.string();
3300
+ message.external_customer_id = reader.string();
3325
3301
  continue;
3326
3302
  }
3327
3303
  case 41: {
3328
- if (tag !== 329) {
3304
+ if (tag !== 330) {
3329
3305
  break;
3330
3306
  }
3331
- message.monthly_income = reader.double();
3307
+ message.mail_bounced = reader.string();
3332
3308
  continue;
3333
3309
  }
3334
3310
  case 42: {
3335
3311
  if (tag !== 338) {
3336
3312
  break;
3337
3313
  }
3338
- message.external_customer_id = reader.string();
3314
+ message.shipping_address_1 = reader.string();
3339
3315
  continue;
3340
3316
  }
3341
3317
  case 43: {
3342
3318
  if (tag !== 346) {
3343
3319
  break;
3344
3320
  }
3345
- message.mail_bounced = reader.string();
3321
+ message.shipping_address_2 = reader.string();
3346
3322
  continue;
3347
3323
  }
3348
3324
  case 44: {
3349
3325
  if (tag !== 354) {
3350
3326
  break;
3351
3327
  }
3352
- message.shipping_address_1 = reader.string();
3328
+ message.shipping_city = reader.string();
3353
3329
  continue;
3354
3330
  }
3355
3331
  case 45: {
3356
3332
  if (tag !== 362) {
3357
3333
  break;
3358
3334
  }
3359
- message.shipping_address_2 = reader.string();
3335
+ message.shipping_state = reader.string();
3360
3336
  continue;
3361
3337
  }
3362
3338
  case 46: {
3363
3339
  if (tag !== 370) {
3364
3340
  break;
3365
3341
  }
3366
- message.shipping_city = reader.string();
3342
+ message.shipping_zip = reader.string();
3367
3343
  continue;
3368
3344
  }
3369
3345
  case 47: {
3370
3346
  if (tag !== 378) {
3371
3347
  break;
3372
3348
  }
3373
- message.shipping_state = reader.string();
3349
+ message.shipping_country_code = reader.string();
3374
3350
  continue;
3375
3351
  }
3376
3352
  case 48: {
3377
3353
  if (tag !== 386) {
3378
3354
  break;
3379
3355
  }
3380
- message.shipping_zip = reader.string();
3356
+ message.shipping_address_permanent = reader.string();
3381
3357
  continue;
3382
3358
  }
3383
3359
  case 49: {
3384
3360
  if (tag !== 394) {
3385
3361
  break;
3386
3362
  }
3387
- message.shipping_country_code = reader.string();
3363
+ message.emboss_line_2 = reader.string();
3388
3364
  continue;
3389
3365
  }
3390
3366
  case 50: {
3391
3367
  if (tag !== 402) {
3392
3368
  break;
3393
3369
  }
3394
- message.shipping_address_permanent = reader.string();
3370
+ message.business_name = reader.string();
3395
3371
  continue;
3396
3372
  }
3397
3373
  case 51: {
3398
3374
  if (tag !== 410) {
3399
3375
  break;
3400
3376
  }
3401
- message.emboss_line_2 = reader.string();
3402
- continue;
3403
- }
3404
- case 52: {
3405
- if (tag !== 418) {
3406
- break;
3407
- }
3408
- message.business_name = reader.string();
3409
- continue;
3410
- }
3411
- case 53: {
3412
- if (tag !== 426) {
3413
- break;
3414
- }
3415
3377
  message.mobile_phone_country_code = reader.string();
3416
3378
  continue;
3417
3379
  }
@@ -3429,8 +3391,6 @@ exports.UpdateContractRequest = {
3429
3391
  fromPartial(object) {
3430
3392
  const message = createBaseUpdateContractRequest();
3431
3393
  message.contract_id = object.contract_id ?? "";
3432
- message.provider_id = object.provider_id ?? "";
3433
- message.transaction_id = object.transaction_id ?? "";
3434
3394
  message.id_type = object.id_type ?? 0;
3435
3395
  message.id = object.id ?? "";
3436
3396
  message.id_type_2 = object.id_type_2 ?? 0;
@@ -3647,24 +3607,18 @@ exports.GetExistsCustomerResponse = {
3647
3607
  },
3648
3608
  };
3649
3609
  function createBaseGetContractByIdRequest() {
3650
- return { customer_id: "", provider_id: "", transaction_id: "", id_type: 0, external_customer_id: "" };
3610
+ return { customer_id: "", id_type: 0, external_customer_id: "" };
3651
3611
  }
3652
3612
  exports.GetContractByIdRequest = {
3653
3613
  encode(message, writer = new wire_1.BinaryWriter()) {
3654
3614
  if (message.customer_id !== "") {
3655
3615
  writer.uint32(10).string(message.customer_id);
3656
3616
  }
3657
- if (message.provider_id !== "") {
3658
- writer.uint32(18).string(message.provider_id);
3659
- }
3660
- if (message.transaction_id !== "") {
3661
- writer.uint32(26).string(message.transaction_id);
3662
- }
3663
3617
  if (message.id_type !== 0) {
3664
- writer.uint32(32).int32(message.id_type);
3618
+ writer.uint32(16).int32(message.id_type);
3665
3619
  }
3666
3620
  if (message.external_customer_id !== "") {
3667
- writer.uint32(42).string(message.external_customer_id);
3621
+ writer.uint32(26).string(message.external_customer_id);
3668
3622
  }
3669
3623
  return writer;
3670
3624
  },
@@ -3683,30 +3637,16 @@ exports.GetContractByIdRequest = {
3683
3637
  continue;
3684
3638
  }
3685
3639
  case 2: {
3686
- if (tag !== 18) {
3640
+ if (tag !== 16) {
3687
3641
  break;
3688
3642
  }
3689
- message.provider_id = reader.string();
3643
+ message.id_type = reader.int32();
3690
3644
  continue;
3691
3645
  }
3692
3646
  case 3: {
3693
3647
  if (tag !== 26) {
3694
3648
  break;
3695
3649
  }
3696
- message.transaction_id = reader.string();
3697
- continue;
3698
- }
3699
- case 4: {
3700
- if (tag !== 32) {
3701
- break;
3702
- }
3703
- message.id_type = reader.int32();
3704
- continue;
3705
- }
3706
- case 5: {
3707
- if (tag !== 42) {
3708
- break;
3709
- }
3710
3650
  message.external_customer_id = reader.string();
3711
3651
  continue;
3712
3652
  }
@@ -3724,8 +3664,6 @@ exports.GetContractByIdRequest = {
3724
3664
  fromPartial(object) {
3725
3665
  const message = createBaseGetContractByIdRequest();
3726
3666
  message.customer_id = object.customer_id ?? "";
3727
- message.provider_id = object.provider_id ?? "";
3728
- message.transaction_id = object.transaction_id ?? "";
3729
3667
  message.id_type = object.id_type ?? 0;
3730
3668
  message.external_customer_id = object.external_customer_id ?? "";
3731
3669
  return message;
@@ -3786,19 +3724,13 @@ exports.GetContractByIdResponse = {
3786
3724
  },
3787
3725
  };
3788
3726
  function createBaseGetRelatedContractsRequest() {
3789
- return { contract_id: "", provider_id: "", transaction_id: "" };
3727
+ return { contract_id: "" };
3790
3728
  }
3791
3729
  exports.GetRelatedContractsRequest = {
3792
3730
  encode(message, writer = new wire_1.BinaryWriter()) {
3793
3731
  if (message.contract_id !== "") {
3794
3732
  writer.uint32(10).string(message.contract_id);
3795
3733
  }
3796
- if (message.provider_id !== "") {
3797
- writer.uint32(18).string(message.provider_id);
3798
- }
3799
- if (message.transaction_id !== "") {
3800
- writer.uint32(26).string(message.transaction_id);
3801
- }
3802
3734
  return writer;
3803
3735
  },
3804
3736
  decode(input, length) {
@@ -3815,20 +3747,6 @@ exports.GetRelatedContractsRequest = {
3815
3747
  message.contract_id = reader.string();
3816
3748
  continue;
3817
3749
  }
3818
- case 2: {
3819
- if (tag !== 18) {
3820
- break;
3821
- }
3822
- message.provider_id = reader.string();
3823
- continue;
3824
- }
3825
- case 3: {
3826
- if (tag !== 26) {
3827
- break;
3828
- }
3829
- message.transaction_id = reader.string();
3830
- continue;
3831
- }
3832
3750
  }
3833
3751
  if ((tag & 7) === 4 || tag === 0) {
3834
3752
  break;
@@ -3843,8 +3761,6 @@ exports.GetRelatedContractsRequest = {
3843
3761
  fromPartial(object) {
3844
3762
  const message = createBaseGetRelatedContractsRequest();
3845
3763
  message.contract_id = object.contract_id ?? "";
3846
- message.provider_id = object.provider_id ?? "";
3847
- message.transaction_id = object.transaction_id ?? "";
3848
3764
  return message;
3849
3765
  },
3850
3766
  };
@@ -3936,24 +3852,18 @@ exports.GetRelatedContractsResponse = {
3936
3852
  },
3937
3853
  };
3938
3854
  function createBaseVerifyContractRequest() {
3939
- return { contract_id: "", provider_id: "", transaction_id: "", load_type: "", included_related: 0 };
3855
+ return { contract_id: "", load_type: "", included_related: 0 };
3940
3856
  }
3941
3857
  exports.VerifyContractRequest = {
3942
3858
  encode(message, writer = new wire_1.BinaryWriter()) {
3943
3859
  if (message.contract_id !== "") {
3944
3860
  writer.uint32(10).string(message.contract_id);
3945
3861
  }
3946
- if (message.provider_id !== "") {
3947
- writer.uint32(18).string(message.provider_id);
3948
- }
3949
- if (message.transaction_id !== "") {
3950
- writer.uint32(26).string(message.transaction_id);
3951
- }
3952
3862
  if (message.load_type !== "") {
3953
- writer.uint32(34).string(message.load_type);
3863
+ writer.uint32(18).string(message.load_type);
3954
3864
  }
3955
3865
  if (message.included_related !== 0) {
3956
- writer.uint32(40).int32(message.included_related);
3866
+ writer.uint32(24).int32(message.included_related);
3957
3867
  }
3958
3868
  return writer;
3959
3869
  },
@@ -3975,25 +3885,11 @@ exports.VerifyContractRequest = {
3975
3885
  if (tag !== 18) {
3976
3886
  break;
3977
3887
  }
3978
- message.provider_id = reader.string();
3979
- continue;
3980
- }
3981
- case 3: {
3982
- if (tag !== 26) {
3983
- break;
3984
- }
3985
- message.transaction_id = reader.string();
3986
- continue;
3987
- }
3988
- case 4: {
3989
- if (tag !== 34) {
3990
- break;
3991
- }
3992
3888
  message.load_type = reader.string();
3993
3889
  continue;
3994
3890
  }
3995
- case 5: {
3996
- if (tag !== 40) {
3891
+ case 3: {
3892
+ if (tag !== 24) {
3997
3893
  break;
3998
3894
  }
3999
3895
  message.included_related = reader.int32();
@@ -4013,8 +3909,6 @@ exports.VerifyContractRequest = {
4013
3909
  fromPartial(object) {
4014
3910
  const message = createBaseVerifyContractRequest();
4015
3911
  message.contract_id = object.contract_id ?? "";
4016
- message.provider_id = object.provider_id ?? "";
4017
- message.transaction_id = object.transaction_id ?? "";
4018
3912
  message.load_type = object.load_type ?? "";
4019
3913
  message.included_related = object.included_related ?? 0;
4020
3914
  return message;
@@ -4077,42 +3971,27 @@ exports.VerifyContractResponse = {
4077
3971
  },
4078
3972
  };
4079
3973
  function createBaseAddContractRequest() {
4080
- return {
4081
- contract_id: "",
4082
- provider_id: "",
4083
- transaction_id: "",
4084
- prod_id: 0,
4085
- location: "",
4086
- location_type: 0,
4087
- shared_balance: 0,
4088
- funding_account_number: "",
4089
- };
3974
+ return { contract_id: "", prod_id: 0, location: "", location_type: 0, shared_balance: 0, funding_account_number: "" };
4090
3975
  }
4091
3976
  exports.AddContractRequest = {
4092
3977
  encode(message, writer = new wire_1.BinaryWriter()) {
4093
3978
  if (message.contract_id !== "") {
4094
3979
  writer.uint32(10).string(message.contract_id);
4095
3980
  }
4096
- if (message.provider_id !== "") {
4097
- writer.uint32(18).string(message.provider_id);
4098
- }
4099
- if (message.transaction_id !== "") {
4100
- writer.uint32(26).string(message.transaction_id);
4101
- }
4102
3981
  if (message.prod_id !== 0) {
4103
- writer.uint32(32).int32(message.prod_id);
3982
+ writer.uint32(16).int32(message.prod_id);
4104
3983
  }
4105
3984
  if (message.location !== "") {
4106
- writer.uint32(42).string(message.location);
3985
+ writer.uint32(26).string(message.location);
4107
3986
  }
4108
3987
  if (message.location_type !== 0) {
4109
- writer.uint32(48).int32(message.location_type);
3988
+ writer.uint32(32).int32(message.location_type);
4110
3989
  }
4111
3990
  if (message.shared_balance !== 0) {
4112
- writer.uint32(56).int32(message.shared_balance);
3991
+ writer.uint32(40).int32(message.shared_balance);
4113
3992
  }
4114
3993
  if (message.funding_account_number !== "") {
4115
- writer.uint32(66).string(message.funding_account_number);
3994
+ writer.uint32(50).string(message.funding_account_number);
4116
3995
  }
4117
3996
  return writer;
4118
3997
  },
@@ -4131,49 +4010,35 @@ exports.AddContractRequest = {
4131
4010
  continue;
4132
4011
  }
4133
4012
  case 2: {
4134
- if (tag !== 18) {
4013
+ if (tag !== 16) {
4135
4014
  break;
4136
4015
  }
4137
- message.provider_id = reader.string();
4016
+ message.prod_id = reader.int32();
4138
4017
  continue;
4139
4018
  }
4140
4019
  case 3: {
4141
4020
  if (tag !== 26) {
4142
4021
  break;
4143
4022
  }
4144
- message.transaction_id = reader.string();
4023
+ message.location = reader.string();
4145
4024
  continue;
4146
4025
  }
4147
4026
  case 4: {
4148
4027
  if (tag !== 32) {
4149
4028
  break;
4150
4029
  }
4151
- message.prod_id = reader.int32();
4152
- continue;
4153
- }
4154
- case 5: {
4155
- if (tag !== 42) {
4156
- break;
4157
- }
4158
- message.location = reader.string();
4159
- continue;
4160
- }
4161
- case 6: {
4162
- if (tag !== 48) {
4163
- break;
4164
- }
4165
4030
  message.location_type = reader.int32();
4166
4031
  continue;
4167
4032
  }
4168
- case 7: {
4169
- if (tag !== 56) {
4033
+ case 5: {
4034
+ if (tag !== 40) {
4170
4035
  break;
4171
4036
  }
4172
4037
  message.shared_balance = reader.int32();
4173
4038
  continue;
4174
4039
  }
4175
- case 8: {
4176
- if (tag !== 66) {
4040
+ case 6: {
4041
+ if (tag !== 50) {
4177
4042
  break;
4178
4043
  }
4179
4044
  message.funding_account_number = reader.string();
@@ -4193,8 +4058,6 @@ exports.AddContractRequest = {
4193
4058
  fromPartial(object) {
4194
4059
  const message = createBaseAddContractRequest();
4195
4060
  message.contract_id = object.contract_id ?? "";
4196
- message.provider_id = object.provider_id ?? "";
4197
- message.transaction_id = object.transaction_id ?? "";
4198
4061
  message.prod_id = object.prod_id ?? 0;
4199
4062
  message.location = object.location ?? "";
4200
4063
  message.location_type = object.location_type ?? 0;
@@ -4358,8 +4221,6 @@ exports.AddContractResponse = {
4358
4221
  };
4359
4222
  function createBaseSearchContractsRequest() {
4360
4223
  return {
4361
- provider_id: "",
4362
- transaction_id: "",
4363
4224
  account_number: undefined,
4364
4225
  first_name: undefined,
4365
4226
  middle_name: undefined,
@@ -4379,56 +4240,50 @@ function createBaseSearchContractsRequest() {
4379
4240
  }
4380
4241
  exports.SearchContractsRequest = {
4381
4242
  encode(message, writer = new wire_1.BinaryWriter()) {
4382
- if (message.provider_id !== "") {
4383
- writer.uint32(10).string(message.provider_id);
4384
- }
4385
- if (message.transaction_id !== "") {
4386
- writer.uint32(18).string(message.transaction_id);
4387
- }
4388
4243
  if (message.account_number !== undefined) {
4389
- writer.uint32(26).string(message.account_number);
4244
+ writer.uint32(10).string(message.account_number);
4390
4245
  }
4391
4246
  if (message.first_name !== undefined) {
4392
- writer.uint32(34).string(message.first_name);
4247
+ writer.uint32(18).string(message.first_name);
4393
4248
  }
4394
4249
  if (message.middle_name !== undefined) {
4395
- writer.uint32(42).string(message.middle_name);
4250
+ writer.uint32(26).string(message.middle_name);
4396
4251
  }
4397
4252
  if (message.last_name !== undefined) {
4398
- writer.uint32(50).string(message.last_name);
4253
+ writer.uint32(34).string(message.last_name);
4399
4254
  }
4400
4255
  if (message.date_of_birth !== undefined) {
4401
- writer.uint32(58).string(message.date_of_birth);
4256
+ writer.uint32(42).string(message.date_of_birth);
4402
4257
  }
4403
4258
  if (message.zip !== undefined) {
4404
- writer.uint32(66).string(message.zip);
4259
+ writer.uint32(50).string(message.zip);
4405
4260
  }
4406
4261
  if (message.primary_phone !== undefined) {
4407
- writer.uint32(74).string(message.primary_phone);
4262
+ writer.uint32(58).string(message.primary_phone);
4408
4263
  }
4409
4264
  if (message.other_phone !== undefined) {
4410
- writer.uint32(82).string(message.other_phone);
4265
+ writer.uint32(66).string(message.other_phone);
4411
4266
  }
4412
4267
  if (message.mobile_phone !== undefined) {
4413
- writer.uint32(90).string(message.mobile_phone);
4268
+ writer.uint32(74).string(message.mobile_phone);
4414
4269
  }
4415
4270
  if (message.email !== undefined) {
4416
- writer.uint32(98).string(message.email);
4271
+ writer.uint32(82).string(message.email);
4417
4272
  }
4418
4273
  if (message.user_data !== undefined) {
4419
- writer.uint32(106).string(message.user_data);
4274
+ writer.uint32(90).string(message.user_data);
4420
4275
  }
4421
4276
  if (message.eext_id !== undefined) {
4422
- writer.uint32(114).string(message.eext_id);
4277
+ writer.uint32(98).string(message.eext_id);
4423
4278
  }
4424
4279
  if (message.record_cnt !== undefined) {
4425
- writer.uint32(120).int32(message.record_cnt);
4280
+ writer.uint32(104).int32(message.record_cnt);
4426
4281
  }
4427
4282
  if (message.page !== undefined) {
4428
- writer.uint32(128).int32(message.page);
4283
+ writer.uint32(112).int32(message.page);
4429
4284
  }
4430
4285
  if (message.mobile_phone_country_code !== undefined) {
4431
- writer.uint32(138).string(message.mobile_phone_country_code);
4286
+ writer.uint32(122).string(message.mobile_phone_country_code);
4432
4287
  }
4433
4288
  return writer;
4434
4289
  },
@@ -4443,116 +4298,102 @@ exports.SearchContractsRequest = {
4443
4298
  if (tag !== 10) {
4444
4299
  break;
4445
4300
  }
4446
- message.provider_id = reader.string();
4301
+ message.account_number = reader.string();
4447
4302
  continue;
4448
4303
  }
4449
4304
  case 2: {
4450
4305
  if (tag !== 18) {
4451
4306
  break;
4452
4307
  }
4453
- message.transaction_id = reader.string();
4308
+ message.first_name = reader.string();
4454
4309
  continue;
4455
4310
  }
4456
4311
  case 3: {
4457
4312
  if (tag !== 26) {
4458
4313
  break;
4459
4314
  }
4460
- message.account_number = reader.string();
4315
+ message.middle_name = reader.string();
4461
4316
  continue;
4462
4317
  }
4463
4318
  case 4: {
4464
4319
  if (tag !== 34) {
4465
4320
  break;
4466
4321
  }
4467
- message.first_name = reader.string();
4322
+ message.last_name = reader.string();
4468
4323
  continue;
4469
4324
  }
4470
4325
  case 5: {
4471
4326
  if (tag !== 42) {
4472
4327
  break;
4473
4328
  }
4474
- message.middle_name = reader.string();
4329
+ message.date_of_birth = reader.string();
4475
4330
  continue;
4476
4331
  }
4477
4332
  case 6: {
4478
4333
  if (tag !== 50) {
4479
4334
  break;
4480
4335
  }
4481
- message.last_name = reader.string();
4336
+ message.zip = reader.string();
4482
4337
  continue;
4483
4338
  }
4484
4339
  case 7: {
4485
4340
  if (tag !== 58) {
4486
4341
  break;
4487
4342
  }
4488
- message.date_of_birth = reader.string();
4343
+ message.primary_phone = reader.string();
4489
4344
  continue;
4490
4345
  }
4491
4346
  case 8: {
4492
4347
  if (tag !== 66) {
4493
4348
  break;
4494
4349
  }
4495
- message.zip = reader.string();
4350
+ message.other_phone = reader.string();
4496
4351
  continue;
4497
4352
  }
4498
4353
  case 9: {
4499
4354
  if (tag !== 74) {
4500
4355
  break;
4501
4356
  }
4502
- message.primary_phone = reader.string();
4357
+ message.mobile_phone = reader.string();
4503
4358
  continue;
4504
4359
  }
4505
4360
  case 10: {
4506
4361
  if (tag !== 82) {
4507
4362
  break;
4508
4363
  }
4509
- message.other_phone = reader.string();
4364
+ message.email = reader.string();
4510
4365
  continue;
4511
4366
  }
4512
4367
  case 11: {
4513
4368
  if (tag !== 90) {
4514
4369
  break;
4515
4370
  }
4516
- message.mobile_phone = reader.string();
4371
+ message.user_data = reader.string();
4517
4372
  continue;
4518
4373
  }
4519
4374
  case 12: {
4520
4375
  if (tag !== 98) {
4521
4376
  break;
4522
4377
  }
4523
- message.email = reader.string();
4524
- continue;
4525
- }
4526
- case 13: {
4527
- if (tag !== 106) {
4528
- break;
4529
- }
4530
- message.user_data = reader.string();
4531
- continue;
4532
- }
4533
- case 14: {
4534
- if (tag !== 114) {
4535
- break;
4536
- }
4537
4378
  message.eext_id = reader.string();
4538
4379
  continue;
4539
4380
  }
4540
- case 15: {
4541
- if (tag !== 120) {
4381
+ case 13: {
4382
+ if (tag !== 104) {
4542
4383
  break;
4543
4384
  }
4544
4385
  message.record_cnt = reader.int32();
4545
4386
  continue;
4546
4387
  }
4547
- case 16: {
4548
- if (tag !== 128) {
4388
+ case 14: {
4389
+ if (tag !== 112) {
4549
4390
  break;
4550
4391
  }
4551
4392
  message.page = reader.int32();
4552
4393
  continue;
4553
4394
  }
4554
- case 17: {
4555
- if (tag !== 138) {
4395
+ case 15: {
4396
+ if (tag !== 122) {
4556
4397
  break;
4557
4398
  }
4558
4399
  message.mobile_phone_country_code = reader.string();
@@ -4571,8 +4412,6 @@ exports.SearchContractsRequest = {
4571
4412
  },
4572
4413
  fromPartial(object) {
4573
4414
  const message = createBaseSearchContractsRequest();
4574
- message.provider_id = object.provider_id ?? "";
4575
- message.transaction_id = object.transaction_id ?? "";
4576
4415
  message.account_number = object.account_number ?? undefined;
4577
4416
  message.first_name = object.first_name ?? undefined;
4578
4417
  message.middle_name = object.middle_name ?? undefined;
@@ -4679,30 +4518,18 @@ exports.SearchContractsResponse = {
4679
4518
  },
4680
4519
  };
4681
4520
  function createBaseChargeOffContractRequest() {
4682
- return {
4683
- contract_id: "",
4684
- provider_id: "",
4685
- transaction_id: "",
4686
- charge_off_details: "",
4687
- close_associated_accounts: undefined,
4688
- };
4521
+ return { contract_id: "", charge_off_details: "", close_associated_accounts: undefined };
4689
4522
  }
4690
4523
  exports.ChargeOffContractRequest = {
4691
4524
  encode(message, writer = new wire_1.BinaryWriter()) {
4692
4525
  if (message.contract_id !== "") {
4693
4526
  writer.uint32(10).string(message.contract_id);
4694
4527
  }
4695
- if (message.provider_id !== "") {
4696
- writer.uint32(18).string(message.provider_id);
4697
- }
4698
- if (message.transaction_id !== "") {
4699
- writer.uint32(26).string(message.transaction_id);
4700
- }
4701
4528
  if (message.charge_off_details !== "") {
4702
- writer.uint32(34).string(message.charge_off_details);
4529
+ writer.uint32(18).string(message.charge_off_details);
4703
4530
  }
4704
4531
  if (message.close_associated_accounts !== undefined) {
4705
- writer.uint32(40).int32(message.close_associated_accounts);
4532
+ writer.uint32(24).int32(message.close_associated_accounts);
4706
4533
  }
4707
4534
  return writer;
4708
4535
  },
@@ -4724,25 +4551,11 @@ exports.ChargeOffContractRequest = {
4724
4551
  if (tag !== 18) {
4725
4552
  break;
4726
4553
  }
4727
- message.provider_id = reader.string();
4728
- continue;
4729
- }
4730
- case 3: {
4731
- if (tag !== 26) {
4732
- break;
4733
- }
4734
- message.transaction_id = reader.string();
4735
- continue;
4736
- }
4737
- case 4: {
4738
- if (tag !== 34) {
4739
- break;
4740
- }
4741
4554
  message.charge_off_details = reader.string();
4742
4555
  continue;
4743
4556
  }
4744
- case 5: {
4745
- if (tag !== 40) {
4557
+ case 3: {
4558
+ if (tag !== 24) {
4746
4559
  break;
4747
4560
  }
4748
4561
  message.close_associated_accounts = reader.int32();
@@ -4762,8 +4575,6 @@ exports.ChargeOffContractRequest = {
4762
4575
  fromPartial(object) {
4763
4576
  const message = createBaseChargeOffContractRequest();
4764
4577
  message.contract_id = object.contract_id ?? "";
4765
- message.provider_id = object.provider_id ?? "";
4766
- message.transaction_id = object.transaction_id ?? "";
4767
4578
  message.charge_off_details = object.charge_off_details ?? "";
4768
4579
  message.close_associated_accounts = object.close_associated_accounts ?? undefined;
4769
4580
  return message;
@@ -4824,24 +4635,18 @@ exports.ChargeOffContractResponse = {
4824
4635
  },
4825
4636
  };
4826
4637
  function createBaseGetContractDataRequest() {
4827
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
4638
+ return { contract_id: "", start_date: undefined, end_date: undefined };
4828
4639
  }
4829
4640
  exports.GetContractDataRequest = {
4830
4641
  encode(message, writer = new wire_1.BinaryWriter()) {
4831
4642
  if (message.contract_id !== "") {
4832
4643
  writer.uint32(10).string(message.contract_id);
4833
4644
  }
4834
- if (message.provider_id !== "") {
4835
- writer.uint32(18).string(message.provider_id);
4836
- }
4837
- if (message.transaction_id !== "") {
4838
- writer.uint32(26).string(message.transaction_id);
4839
- }
4840
4645
  if (message.start_date !== undefined) {
4841
- writer.uint32(34).string(message.start_date);
4646
+ writer.uint32(18).string(message.start_date);
4842
4647
  }
4843
4648
  if (message.end_date !== undefined) {
4844
- writer.uint32(42).string(message.end_date);
4649
+ writer.uint32(26).string(message.end_date);
4845
4650
  }
4846
4651
  return writer;
4847
4652
  },
@@ -4863,27 +4668,13 @@ exports.GetContractDataRequest = {
4863
4668
  if (tag !== 18) {
4864
4669
  break;
4865
4670
  }
4866
- message.provider_id = reader.string();
4671
+ message.start_date = reader.string();
4867
4672
  continue;
4868
4673
  }
4869
4674
  case 3: {
4870
4675
  if (tag !== 26) {
4871
4676
  break;
4872
4677
  }
4873
- message.transaction_id = reader.string();
4874
- continue;
4875
- }
4876
- case 4: {
4877
- if (tag !== 34) {
4878
- break;
4879
- }
4880
- message.start_date = reader.string();
4881
- continue;
4882
- }
4883
- case 5: {
4884
- if (tag !== 42) {
4885
- break;
4886
- }
4887
4678
  message.end_date = reader.string();
4888
4679
  continue;
4889
4680
  }
@@ -4901,8 +4692,6 @@ exports.GetContractDataRequest = {
4901
4692
  fromPartial(object) {
4902
4693
  const message = createBaseGetContractDataRequest();
4903
4694
  message.contract_id = object.contract_id ?? "";
4904
- message.provider_id = object.provider_id ?? "";
4905
- message.transaction_id = object.transaction_id ?? "";
4906
4695
  message.start_date = object.start_date ?? undefined;
4907
4696
  message.end_date = object.end_date ?? undefined;
4908
4697
  return message;
@@ -5062,24 +4851,18 @@ exports.GetCustomerProfileResponse = {
5062
4851
  },
5063
4852
  };
5064
4853
  function createBaseGetTransactionsRequest() {
5065
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
4854
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5066
4855
  }
5067
4856
  exports.GetTransactionsRequest = {
5068
4857
  encode(message, writer = new wire_1.BinaryWriter()) {
5069
4858
  if (message.contract_id !== "") {
5070
4859
  writer.uint32(10).string(message.contract_id);
5071
4860
  }
5072
- if (message.provider_id !== "") {
5073
- writer.uint32(18).string(message.provider_id);
5074
- }
5075
- if (message.transaction_id !== "") {
5076
- writer.uint32(26).string(message.transaction_id);
5077
- }
5078
4861
  if (message.start_date !== undefined) {
5079
- writer.uint32(34).string(message.start_date);
4862
+ writer.uint32(18).string(message.start_date);
5080
4863
  }
5081
4864
  if (message.end_date !== undefined) {
5082
- writer.uint32(42).string(message.end_date);
4865
+ writer.uint32(26).string(message.end_date);
5083
4866
  }
5084
4867
  return writer;
5085
4868
  },
@@ -5101,27 +4884,13 @@ exports.GetTransactionsRequest = {
5101
4884
  if (tag !== 18) {
5102
4885
  break;
5103
4886
  }
5104
- message.provider_id = reader.string();
4887
+ message.start_date = reader.string();
5105
4888
  continue;
5106
4889
  }
5107
4890
  case 3: {
5108
4891
  if (tag !== 26) {
5109
4892
  break;
5110
4893
  }
5111
- message.transaction_id = reader.string();
5112
- continue;
5113
- }
5114
- case 4: {
5115
- if (tag !== 34) {
5116
- break;
5117
- }
5118
- message.start_date = reader.string();
5119
- continue;
5120
- }
5121
- case 5: {
5122
- if (tag !== 42) {
5123
- break;
5124
- }
5125
4894
  message.end_date = reader.string();
5126
4895
  continue;
5127
4896
  }
@@ -5139,8 +4908,6 @@ exports.GetTransactionsRequest = {
5139
4908
  fromPartial(object) {
5140
4909
  const message = createBaseGetTransactionsRequest();
5141
4910
  message.contract_id = object.contract_id ?? "";
5142
- message.provider_id = object.provider_id ?? "";
5143
- message.transaction_id = object.transaction_id ?? "";
5144
4911
  message.start_date = object.start_date ?? undefined;
5145
4912
  message.end_date = object.end_date ?? undefined;
5146
4913
  return message;
@@ -5201,24 +4968,18 @@ exports.GetTransactionsResponse = {
5201
4968
  },
5202
4969
  };
5203
4970
  function createBaseGetAuthorizationsRequest() {
5204
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
4971
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5205
4972
  }
5206
4973
  exports.GetAuthorizationsRequest = {
5207
4974
  encode(message, writer = new wire_1.BinaryWriter()) {
5208
4975
  if (message.contract_id !== "") {
5209
4976
  writer.uint32(10).string(message.contract_id);
5210
4977
  }
5211
- if (message.provider_id !== "") {
5212
- writer.uint32(18).string(message.provider_id);
5213
- }
5214
- if (message.transaction_id !== "") {
5215
- writer.uint32(26).string(message.transaction_id);
5216
- }
5217
4978
  if (message.start_date !== undefined) {
5218
- writer.uint32(34).string(message.start_date);
4979
+ writer.uint32(18).string(message.start_date);
5219
4980
  }
5220
4981
  if (message.end_date !== undefined) {
5221
- writer.uint32(42).string(message.end_date);
4982
+ writer.uint32(26).string(message.end_date);
5222
4983
  }
5223
4984
  return writer;
5224
4985
  },
@@ -5240,27 +5001,13 @@ exports.GetAuthorizationsRequest = {
5240
5001
  if (tag !== 18) {
5241
5002
  break;
5242
5003
  }
5243
- message.provider_id = reader.string();
5004
+ message.start_date = reader.string();
5244
5005
  continue;
5245
5006
  }
5246
5007
  case 3: {
5247
5008
  if (tag !== 26) {
5248
5009
  break;
5249
5010
  }
5250
- message.transaction_id = reader.string();
5251
- continue;
5252
- }
5253
- case 4: {
5254
- if (tag !== 34) {
5255
- break;
5256
- }
5257
- message.start_date = reader.string();
5258
- continue;
5259
- }
5260
- case 5: {
5261
- if (tag !== 42) {
5262
- break;
5263
- }
5264
5011
  message.end_date = reader.string();
5265
5012
  continue;
5266
5013
  }
@@ -5278,8 +5025,6 @@ exports.GetAuthorizationsRequest = {
5278
5025
  fromPartial(object) {
5279
5026
  const message = createBaseGetAuthorizationsRequest();
5280
5027
  message.contract_id = object.contract_id ?? "";
5281
- message.provider_id = object.provider_id ?? "";
5282
- message.transaction_id = object.transaction_id ?? "";
5283
5028
  message.start_date = object.start_date ?? undefined;
5284
5029
  message.end_date = object.end_date ?? undefined;
5285
5030
  return message;
@@ -5340,24 +5085,18 @@ exports.GetAuthorizationsResponse = {
5340
5085
  },
5341
5086
  };
5342
5087
  function createBaseGetPendingFeesRequest() {
5343
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
5088
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5344
5089
  }
5345
5090
  exports.GetPendingFeesRequest = {
5346
5091
  encode(message, writer = new wire_1.BinaryWriter()) {
5347
5092
  if (message.contract_id !== "") {
5348
5093
  writer.uint32(10).string(message.contract_id);
5349
5094
  }
5350
- if (message.provider_id !== "") {
5351
- writer.uint32(18).string(message.provider_id);
5352
- }
5353
- if (message.transaction_id !== "") {
5354
- writer.uint32(26).string(message.transaction_id);
5355
- }
5356
5095
  if (message.start_date !== undefined) {
5357
- writer.uint32(34).string(message.start_date);
5096
+ writer.uint32(18).string(message.start_date);
5358
5097
  }
5359
5098
  if (message.end_date !== undefined) {
5360
- writer.uint32(42).string(message.end_date);
5099
+ writer.uint32(26).string(message.end_date);
5361
5100
  }
5362
5101
  return writer;
5363
5102
  },
@@ -5379,27 +5118,13 @@ exports.GetPendingFeesRequest = {
5379
5118
  if (tag !== 18) {
5380
5119
  break;
5381
5120
  }
5382
- message.provider_id = reader.string();
5121
+ message.start_date = reader.string();
5383
5122
  continue;
5384
5123
  }
5385
5124
  case 3: {
5386
5125
  if (tag !== 26) {
5387
5126
  break;
5388
5127
  }
5389
- message.transaction_id = reader.string();
5390
- continue;
5391
- }
5392
- case 4: {
5393
- if (tag !== 34) {
5394
- break;
5395
- }
5396
- message.start_date = reader.string();
5397
- continue;
5398
- }
5399
- case 5: {
5400
- if (tag !== 42) {
5401
- break;
5402
- }
5403
5128
  message.end_date = reader.string();
5404
5129
  continue;
5405
5130
  }
@@ -5417,8 +5142,6 @@ exports.GetPendingFeesRequest = {
5417
5142
  fromPartial(object) {
5418
5143
  const message = createBaseGetPendingFeesRequest();
5419
5144
  message.contract_id = object.contract_id ?? "";
5420
- message.provider_id = object.provider_id ?? "";
5421
- message.transaction_id = object.transaction_id ?? "";
5422
5145
  message.start_date = object.start_date ?? undefined;
5423
5146
  message.end_date = object.end_date ?? undefined;
5424
5147
  return message;
@@ -5479,24 +5202,18 @@ exports.GetPendingFeesResponse = {
5479
5202
  },
5480
5203
  };
5481
5204
  function createBaseGetSavingsInterestRequest() {
5482
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
5205
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5483
5206
  }
5484
5207
  exports.GetSavingsInterestRequest = {
5485
5208
  encode(message, writer = new wire_1.BinaryWriter()) {
5486
5209
  if (message.contract_id !== "") {
5487
5210
  writer.uint32(10).string(message.contract_id);
5488
5211
  }
5489
- if (message.provider_id !== "") {
5490
- writer.uint32(18).string(message.provider_id);
5491
- }
5492
- if (message.transaction_id !== "") {
5493
- writer.uint32(26).string(message.transaction_id);
5494
- }
5495
5212
  if (message.start_date !== undefined) {
5496
- writer.uint32(34).string(message.start_date);
5213
+ writer.uint32(18).string(message.start_date);
5497
5214
  }
5498
5215
  if (message.end_date !== undefined) {
5499
- writer.uint32(42).string(message.end_date);
5216
+ writer.uint32(26).string(message.end_date);
5500
5217
  }
5501
5218
  return writer;
5502
5219
  },
@@ -5518,27 +5235,13 @@ exports.GetSavingsInterestRequest = {
5518
5235
  if (tag !== 18) {
5519
5236
  break;
5520
5237
  }
5521
- message.provider_id = reader.string();
5238
+ message.start_date = reader.string();
5522
5239
  continue;
5523
5240
  }
5524
5241
  case 3: {
5525
5242
  if (tag !== 26) {
5526
5243
  break;
5527
5244
  }
5528
- message.transaction_id = reader.string();
5529
- continue;
5530
- }
5531
- case 4: {
5532
- if (tag !== 34) {
5533
- break;
5534
- }
5535
- message.start_date = reader.string();
5536
- continue;
5537
- }
5538
- case 5: {
5539
- if (tag !== 42) {
5540
- break;
5541
- }
5542
5245
  message.end_date = reader.string();
5543
5246
  continue;
5544
5247
  }
@@ -5556,8 +5259,6 @@ exports.GetSavingsInterestRequest = {
5556
5259
  fromPartial(object) {
5557
5260
  const message = createBaseGetSavingsInterestRequest();
5558
5261
  message.contract_id = object.contract_id ?? "";
5559
- message.provider_id = object.provider_id ?? "";
5560
- message.transaction_id = object.transaction_id ?? "";
5561
5262
  message.start_date = object.start_date ?? undefined;
5562
5263
  message.end_date = object.end_date ?? undefined;
5563
5264
  return message;
@@ -5620,24 +5321,18 @@ exports.GetSavingsInterestResponse = {
5620
5321
  },
5621
5322
  };
5622
5323
  function createBaseGetHoldsRequest() {
5623
- return { contract_id: "", provider_id: "", transaction_id: "", start_date: undefined, end_date: undefined };
5324
+ return { contract_id: "", start_date: undefined, end_date: undefined };
5624
5325
  }
5625
5326
  exports.GetHoldsRequest = {
5626
5327
  encode(message, writer = new wire_1.BinaryWriter()) {
5627
5328
  if (message.contract_id !== "") {
5628
5329
  writer.uint32(10).string(message.contract_id);
5629
5330
  }
5630
- if (message.provider_id !== "") {
5631
- writer.uint32(18).string(message.provider_id);
5632
- }
5633
- if (message.transaction_id !== "") {
5634
- writer.uint32(26).string(message.transaction_id);
5635
- }
5636
5331
  if (message.start_date !== undefined) {
5637
- writer.uint32(34).string(message.start_date);
5332
+ writer.uint32(18).string(message.start_date);
5638
5333
  }
5639
5334
  if (message.end_date !== undefined) {
5640
- writer.uint32(42).string(message.end_date);
5335
+ writer.uint32(26).string(message.end_date);
5641
5336
  }
5642
5337
  return writer;
5643
5338
  },
@@ -5659,27 +5354,13 @@ exports.GetHoldsRequest = {
5659
5354
  if (tag !== 18) {
5660
5355
  break;
5661
5356
  }
5662
- message.provider_id = reader.string();
5357
+ message.start_date = reader.string();
5663
5358
  continue;
5664
5359
  }
5665
5360
  case 3: {
5666
5361
  if (tag !== 26) {
5667
5362
  break;
5668
5363
  }
5669
- message.transaction_id = reader.string();
5670
- continue;
5671
- }
5672
- case 4: {
5673
- if (tag !== 34) {
5674
- break;
5675
- }
5676
- message.start_date = reader.string();
5677
- continue;
5678
- }
5679
- case 5: {
5680
- if (tag !== 42) {
5681
- break;
5682
- }
5683
5364
  message.end_date = reader.string();
5684
5365
  continue;
5685
5366
  }
@@ -5697,8 +5378,6 @@ exports.GetHoldsRequest = {
5697
5378
  fromPartial(object) {
5698
5379
  const message = createBaseGetHoldsRequest();
5699
5380
  message.contract_id = object.contract_id ?? "";
5700
- message.provider_id = object.provider_id ?? "";
5701
- message.transaction_id = object.transaction_id ?? "";
5702
5381
  message.start_date = object.start_date ?? undefined;
5703
5382
  message.end_date = object.end_date ?? undefined;
5704
5383
  return message;